From 4cc2b1511df14fcb8902bdd1fe58e03e7c3199b7 Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Tue, 1 Oct 2024 23:02:01 +0800 Subject: [PATCH] deploy to pages --- 404.html | 8 +- acknowledgments/index.html | 8 +- api/index.html | 8 +- api/master/index.html | 8 +- api/v3.10.2/index.html | 8 +- api/v3.11.2/index.html | 8 +- api/v3.5.0/index.html | 8 +- api/v3.6.0/index.html | 8 +- api/v3.7.0/index.html | 8 +- api/v3.8.1/index.html | 8 +- api/v3.9.0/index.html | 8 +- assets/js/160ef12c.9e10baaf.js | 1 + assets/js/2afe0a8a.cdb47dc1.js | 1 + assets/js/31476475.e11b178d.js | 1 + assets/js/45619582.eb54f194.js | 1 + assets/js/5f66efcf.88c711be.js | 1 + assets/js/8c04f4a8.783feee8.js | 1 + assets/js/91b3e92a.ee3a6d9d.js | 1 + assets/js/9abfe212.39023eea.js | 1 + assets/js/9c4c7084.027ae975.js | 1 + assets/js/b3c5e4a8.2c201907.js | 1 + assets/js/b5447c11.5ad098ff.js | 1 + assets/js/c2d6a9b4.075648f7.js | 1 + assets/js/c9092f3a.1704c942.js | 1 + assets/js/ccbc8b8d.58690dee.js | 1 + assets/js/da3b0d6f.0d3ae9bf.js | 1 + assets/js/e4b9cb97.9814d761.js | 1 + assets/js/f8858d8f.973c78b1.js | 1 + assets/js/f9676efd.9187e912.js | 1 + assets/js/main.ab2b8a48.js | 2 + assets/js/main.ab2b8a48.js.LICENSE.txt | 53 ++ assets/js/runtime~main.7d8e79d9.js | 1 + blog/archive/index.html | 8 +- blog/index.html | 8 +- blog/tags/index.html | 8 +- blog/tags/x-charts/index.html | 8 +- .../index.html" | 8 +- blog/xcharts3.0_released/index.html | 8 +- community/index.html | 8 +- contact-us/index.html | 8 +- docs/about/index.html | 8 +- docs/api/index.html | 467 +++++++++++++++++- docs/bar3d/index.html | 14 +- docs/changelog/index.html | 11 +- docs/configuration/index.html | 10 +- docs/extra/index.html | 8 +- docs/faq/index.html | 8 +- docs/funnel/index.html | 11 +- docs/gantt/index.html | 14 +- docs/gauge/index.html | 25 +- docs/graph/index.html | 13 +- docs/index.html | 8 +- docs/inputsystem/index.html | 8 +- docs/lang/articles/ui/ui_statistic/index.html | 8 +- docs/lang/articles/ui/ui_table/index.html | 8 +- docs/line3d/index.html | 11 +- docs/liquid/index.html | 16 +- docs/master/about/index.html | 8 +- docs/master/api/index.html | 8 +- docs/master/bar3d/index.html | 8 +- docs/master/changelog/index.html | 8 +- docs/master/configuration/index.html | 8 +- docs/master/extra/index.html | 8 +- docs/master/faq/index.html | 8 +- docs/master/funnel/index.html | 8 +- docs/master/gantt/index.html | 8 +- docs/master/gauge/index.html | 8 +- docs/master/graph/index.html | 8 +- docs/master/inputsystem/index.html | 8 +- .../lang/articles/ui/ui_statistic/index.html | 8 +- .../lang/articles/ui/ui_table/index.html | 8 +- docs/master/line3d/index.html | 8 +- docs/master/liquid/index.html | 8 +- docs/master/pictorialbar/index.html | 8 +- docs/master/pie3d/index.html | 8 +- docs/master/pyramid/index.html | 8 +- docs/master/sankey/index.html | 8 +- docs/master/support/index.html | 8 +- docs/master/treemap/index.html | 8 +- docs/master/tutorial01/index.html | 8 +- docs/master/tutorial02/index.html | 8 +- docs/master/tutorial03/index.html | 8 +- docs/master/ui/index.html | 8 +- docs/pictorialbar/index.html | 10 +- docs/pie3d/index.html | 21 +- docs/pyramid/index.html | 11 +- docs/sankey/index.html | 11 +- docs/support/index.html | 8 +- docs/treemap/index.html | 18 +- docs/tutorial01/index.html | 18 +- docs/tutorial02/index.html | 8 +- docs/tutorial03/index.html | 8 +- docs/ui/index.html | 10 +- docs/v3.10.2/about/index.html | 8 +- docs/v3.10.2/api/index.html | 8 +- docs/v3.10.2/bar3d/index.html | 8 +- docs/v3.10.2/changelog/index.html | 8 +- docs/v3.10.2/configuration/index.html | 8 +- docs/v3.10.2/extra/index.html | 8 +- docs/v3.10.2/faq/index.html | 8 +- docs/v3.10.2/funnel/index.html | 8 +- docs/v3.10.2/gantt/index.html | 8 +- docs/v3.10.2/gauge/index.html | 8 +- docs/v3.10.2/inputsystem/index.html | 8 +- .../lang/articles/ui/ui_statistic/index.html | 8 +- .../lang/articles/ui/ui_table/index.html | 8 +- docs/v3.10.2/liquid/index.html | 8 +- docs/v3.10.2/pictorialbar/index.html | 8 +- docs/v3.10.2/pie3d/index.html | 8 +- docs/v3.10.2/pyramid/index.html | 8 +- docs/v3.10.2/sankey/index.html | 8 +- docs/v3.10.2/support/index.html | 8 +- docs/v3.10.2/treemap/index.html | 8 +- docs/v3.10.2/tutorial01/index.html | 8 +- docs/v3.10.2/tutorial02/index.html | 8 +- docs/v3.10.2/tutorial03/index.html | 8 +- docs/v3.10.2/ui/index.html | 8 +- docs/v3.11.2/about/index.html | 8 +- docs/v3.11.2/api/index.html | 8 +- docs/v3.11.2/bar3d/index.html | 8 +- docs/v3.11.2/changelog/index.html | 8 +- docs/v3.11.2/configuration/index.html | 8 +- docs/v3.11.2/extra/index.html | 8 +- docs/v3.11.2/faq/index.html | 8 +- docs/v3.11.2/funnel/index.html | 8 +- docs/v3.11.2/gantt/index.html | 8 +- docs/v3.11.2/gauge/index.html | 8 +- docs/v3.11.2/graph/index.html | 8 +- docs/v3.11.2/inputsystem/index.html | 8 +- .../lang/articles/ui/ui_statistic/index.html | 8 +- .../lang/articles/ui/ui_table/index.html | 8 +- docs/v3.11.2/line3d/index.html | 8 +- docs/v3.11.2/liquid/index.html | 8 +- docs/v3.11.2/pictorialbar/index.html | 8 +- docs/v3.11.2/pie3d/index.html | 8 +- docs/v3.11.2/pyramid/index.html | 8 +- docs/v3.11.2/sankey/index.html | 8 +- docs/v3.11.2/support/index.html | 8 +- docs/v3.11.2/treemap/index.html | 8 +- docs/v3.11.2/tutorial01/index.html | 8 +- docs/v3.11.2/tutorial02/index.html | 8 +- docs/v3.11.2/tutorial03/index.html | 8 +- docs/v3.11.2/ui/index.html | 8 +- docs/v3.5.0/about/index.html | 8 +- docs/v3.5.0/api/index.html | 8 +- docs/v3.5.0/bar3d/index.html | 8 +- docs/v3.5.0/changelog/index.html | 8 +- docs/v3.5.0/configuration/index.html | 8 +- docs/v3.5.0/faq/index.html | 8 +- docs/v3.5.0/funnel/index.html | 8 +- docs/v3.5.0/gantt/index.html | 8 +- docs/v3.5.0/gauge/index.html | 8 +- docs/v3.5.0/liquid/index.html | 8 +- docs/v3.5.0/pictorialbar/index.html | 8 +- docs/v3.5.0/pie3d/index.html | 8 +- docs/v3.5.0/pyramid/index.html | 8 +- docs/v3.5.0/support/index.html | 8 +- docs/v3.5.0/treemap/index.html | 8 +- docs/v3.5.0/tutorial01/index.html | 8 +- docs/v3.5.0/tutorial02/index.html | 8 +- docs/v3.5.0/tutorial03/index.html | 8 +- docs/v3.6.0/about/index.html | 8 +- docs/v3.6.0/api/index.html | 8 +- docs/v3.6.0/bar3d/index.html | 8 +- docs/v3.6.0/changelog/index.html | 8 +- docs/v3.6.0/configuration/index.html | 8 +- docs/v3.6.0/extra/index.html | 8 +- docs/v3.6.0/faq/index.html | 8 +- docs/v3.6.0/funnel/index.html | 8 +- docs/v3.6.0/gantt/index.html | 8 +- docs/v3.6.0/gauge/index.html | 8 +- docs/v3.6.0/inputsystem/index.html | 8 +- .../lang/articles/ui/ui_statistic/index.html | 8 +- .../lang/articles/ui/ui_table/index.html | 8 +- docs/v3.6.0/liquid/index.html | 8 +- docs/v3.6.0/pictorialbar/index.html | 8 +- docs/v3.6.0/pie3d/index.html | 8 +- docs/v3.6.0/pyramid/index.html | 8 +- docs/v3.6.0/support/index.html | 8 +- docs/v3.6.0/treemap/index.html | 8 +- docs/v3.6.0/tutorial01/index.html | 8 +- docs/v3.6.0/tutorial02/index.html | 8 +- docs/v3.6.0/tutorial03/index.html | 8 +- docs/v3.6.0/ui/index.html | 8 +- docs/v3.7.0/about/index.html | 8 +- docs/v3.7.0/api/index.html | 8 +- docs/v3.7.0/bar3d/index.html | 8 +- docs/v3.7.0/changelog/index.html | 8 +- docs/v3.7.0/configuration/index.html | 8 +- docs/v3.7.0/extra/index.html | 8 +- docs/v3.7.0/faq/index.html | 8 +- docs/v3.7.0/funnel/index.html | 8 +- docs/v3.7.0/gantt/index.html | 8 +- docs/v3.7.0/gauge/index.html | 8 +- docs/v3.7.0/inputsystem/index.html | 8 +- .../lang/articles/ui/ui_statistic/index.html | 8 +- .../lang/articles/ui/ui_table/index.html | 8 +- docs/v3.7.0/liquid/index.html | 8 +- docs/v3.7.0/pictorialbar/index.html | 8 +- docs/v3.7.0/pie3d/index.html | 8 +- docs/v3.7.0/pyramid/index.html | 8 +- docs/v3.7.0/support/index.html | 8 +- docs/v3.7.0/treemap/index.html | 8 +- docs/v3.7.0/tutorial01/index.html | 8 +- docs/v3.7.0/tutorial02/index.html | 8 +- docs/v3.7.0/tutorial03/index.html | 8 +- docs/v3.7.0/ui/index.html | 8 +- docs/v3.8.1/about/index.html | 8 +- docs/v3.8.1/api/index.html | 8 +- docs/v3.8.1/bar3d/index.html | 8 +- docs/v3.8.1/changelog/index.html | 8 +- docs/v3.8.1/configuration/index.html | 8 +- docs/v3.8.1/extra/index.html | 8 +- docs/v3.8.1/faq/index.html | 8 +- docs/v3.8.1/funnel/index.html | 8 +- docs/v3.8.1/gantt/index.html | 8 +- docs/v3.8.1/gauge/index.html | 8 +- docs/v3.8.1/inputsystem/index.html | 8 +- .../lang/articles/ui/ui_statistic/index.html | 8 +- .../lang/articles/ui/ui_table/index.html | 8 +- docs/v3.8.1/liquid/index.html | 8 +- docs/v3.8.1/pictorialbar/index.html | 8 +- docs/v3.8.1/pie3d/index.html | 8 +- docs/v3.8.1/pyramid/index.html | 8 +- docs/v3.8.1/support/index.html | 8 +- docs/v3.8.1/treemap/index.html | 8 +- docs/v3.8.1/tutorial01/index.html | 8 +- docs/v3.8.1/tutorial02/index.html | 8 +- docs/v3.8.1/tutorial03/index.html | 8 +- docs/v3.8.1/ui/index.html | 8 +- docs/v3.9.0/about/index.html | 8 +- docs/v3.9.0/api/index.html | 8 +- docs/v3.9.0/bar3d/index.html | 8 +- docs/v3.9.0/changelog/index.html | 8 +- docs/v3.9.0/configuration/index.html | 8 +- docs/v3.9.0/extra/index.html | 8 +- docs/v3.9.0/faq/index.html | 8 +- docs/v3.9.0/funnel/index.html | 8 +- docs/v3.9.0/gantt/index.html | 8 +- docs/v3.9.0/gauge/index.html | 8 +- docs/v3.9.0/inputsystem/index.html | 8 +- .../lang/articles/ui/ui_statistic/index.html | 8 +- .../lang/articles/ui/ui_table/index.html | 8 +- docs/v3.9.0/liquid/index.html | 8 +- docs/v3.9.0/pictorialbar/index.html | 8 +- docs/v3.9.0/pie3d/index.html | 8 +- docs/v3.9.0/pyramid/index.html | 8 +- docs/v3.9.0/sankey/index.html | 8 +- docs/v3.9.0/support/index.html | 8 +- docs/v3.9.0/treemap/index.html | 8 +- docs/v3.9.0/tutorial01/index.html | 8 +- docs/v3.9.0/tutorial02/index.html | 8 +- docs/v3.9.0/tutorial03/index.html | 8 +- docs/v3.9.0/ui/index.html | 8 +- en/404.html | 8 +- en/acknowledgments/index.html | 8 +- en/api/index.html | 8 +- en/api/master/index.html | 8 +- en/api/v3.10.2/index.html | 8 +- en/api/v3.11.2/index.html | 8 +- en/api/v3.5.0/index.html | 8 +- en/api/v3.6.0/index.html | 8 +- en/api/v3.7.0/index.html | 8 +- en/api/v3.8.1/index.html | 8 +- en/api/v3.9.0/index.html | 8 +- en/assets/js/160ef12c.918de38a.js | 1 + en/assets/js/2afe0a8a.2c8e6cae.js | 1 + en/assets/js/31476475.1108af1a.js | 1 + en/assets/js/45619582.9fd73e90.js | 1 + en/assets/js/5f66efcf.7be79be8.js | 1 + en/assets/js/8c04f4a8.78949fff.js | 1 + en/assets/js/91b3e92a.00df94e4.js | 1 + en/assets/js/9abfe212.83e51c92.js | 1 + en/assets/js/9c4c7084.eebeb9cd.js | 1 + en/assets/js/b3c5e4a8.aadd87f8.js | 1 + en/assets/js/b5447c11.a05661f3.js | 1 + en/assets/js/c2d6a9b4.c596b9b5.js | 1 + en/assets/js/c9092f3a.ff73e4b1.js | 1 + en/assets/js/ccbc8b8d.d44d47b0.js | 1 + en/assets/js/da3b0d6f.b2cf8927.js | 1 + en/assets/js/e4b9cb97.45a76857.js | 1 + en/assets/js/f8858d8f.89c06897.js | 1 + en/assets/js/f9676efd.eebbacd7.js | 1 + en/assets/js/main.442a8566.js | 2 + en/assets/js/main.442a8566.js.LICENSE.txt | 53 ++ en/assets/js/runtime~main.51215255.js | 1 + en/blog/archive/index.html | 8 +- en/blog/blog-en-1/index.html | 8 +- en/blog/index.html | 8 +- en/blog/tags/advanced/index.html | 8 +- en/blog/tags/beginner/index.html | 8 +- en/blog/tags/image-processing/index.html | 8 +- en/blog/tags/index.html | 8 +- en/blog/tags/tutorial/index.html | 8 +- en/community/index.html | 8 +- en/contact-us/index.html | 8 +- en/docs/about/index.html | 8 +- en/docs/api/index.html | 467 +++++++++++++++++- en/docs/bar3d/index.html | 14 +- en/docs/changelog/index.html | 11 +- en/docs/configuration/index.html | 10 +- en/docs/extra/index.html | 8 +- en/docs/faq/index.html | 8 +- en/docs/funnel/index.html | 11 +- en/docs/gantt/index.html | 14 +- en/docs/gauge/index.html | 25 +- en/docs/graph/index.html | 13 +- en/docs/index.html | 8 +- en/docs/inputsystem/index.html | 8 +- .../lang/articles/ui/ui_statistic/index.html | 8 +- en/docs/lang/articles/ui/ui_table/index.html | 8 +- en/docs/line3d/index.html | 11 +- en/docs/liquid/index.html | 16 +- en/docs/master/about/index.html | 8 +- en/docs/master/api/index.html | 8 +- en/docs/master/bar3d/index.html | 8 +- en/docs/master/changelog/index.html | 8 +- en/docs/master/configuration/index.html | 8 +- en/docs/master/extra/index.html | 8 +- en/docs/master/faq/index.html | 8 +- en/docs/master/funnel/index.html | 8 +- en/docs/master/gantt/index.html | 8 +- en/docs/master/gauge/index.html | 8 +- en/docs/master/graph/index.html | 8 +- en/docs/master/inputsystem/index.html | 8 +- .../lang/articles/ui/ui_statistic/index.html | 8 +- .../lang/articles/ui/ui_table/index.html | 8 +- en/docs/master/line3d/index.html | 8 +- en/docs/master/liquid/index.html | 8 +- en/docs/master/pictorialbar/index.html | 8 +- en/docs/master/pie3d/index.html | 8 +- en/docs/master/pyramid/index.html | 8 +- en/docs/master/sankey/index.html | 8 +- en/docs/master/support/index.html | 8 +- en/docs/master/treemap/index.html | 8 +- en/docs/master/tutorial01/index.html | 8 +- en/docs/master/tutorial02/index.html | 8 +- en/docs/master/tutorial03/index.html | 8 +- en/docs/master/ui/index.html | 8 +- en/docs/pictorialbar/index.html | 10 +- en/docs/pie3d/index.html | 21 +- en/docs/pyramid/index.html | 11 +- en/docs/sankey/index.html | 11 +- en/docs/support/index.html | 8 +- en/docs/treemap/index.html | 18 +- en/docs/tutorial01/index.html | 18 +- en/docs/tutorial02/index.html | 8 +- en/docs/tutorial03/index.html | 8 +- en/docs/ui/index.html | 10 +- en/docs/v3.10.2/about/index.html | 8 +- en/docs/v3.10.2/api/index.html | 8 +- en/docs/v3.10.2/bar3d/index.html | 8 +- en/docs/v3.10.2/changelog/index.html | 8 +- en/docs/v3.10.2/configuration/index.html | 8 +- en/docs/v3.10.2/extra/index.html | 8 +- en/docs/v3.10.2/faq/index.html | 8 +- en/docs/v3.10.2/funnel/index.html | 8 +- en/docs/v3.10.2/gantt/index.html | 8 +- en/docs/v3.10.2/gauge/index.html | 8 +- en/docs/v3.10.2/inputsystem/index.html | 8 +- .../lang/articles/ui/ui_statistic/index.html | 8 +- .../lang/articles/ui/ui_table/index.html | 8 +- en/docs/v3.10.2/liquid/index.html | 8 +- en/docs/v3.10.2/pictorialbar/index.html | 8 +- en/docs/v3.10.2/pie3d/index.html | 8 +- en/docs/v3.10.2/pyramid/index.html | 8 +- en/docs/v3.10.2/sankey/index.html | 8 +- en/docs/v3.10.2/support/index.html | 8 +- en/docs/v3.10.2/treemap/index.html | 8 +- en/docs/v3.10.2/tutorial01/index.html | 8 +- en/docs/v3.10.2/tutorial02/index.html | 8 +- en/docs/v3.10.2/tutorial03/index.html | 8 +- en/docs/v3.10.2/ui/index.html | 8 +- en/docs/v3.11.2/about/index.html | 8 +- en/docs/v3.11.2/api/index.html | 8 +- en/docs/v3.11.2/bar3d/index.html | 8 +- en/docs/v3.11.2/changelog/index.html | 8 +- en/docs/v3.11.2/configuration/index.html | 8 +- en/docs/v3.11.2/extra/index.html | 8 +- en/docs/v3.11.2/faq/index.html | 8 +- en/docs/v3.11.2/funnel/index.html | 8 +- en/docs/v3.11.2/gantt/index.html | 8 +- en/docs/v3.11.2/gauge/index.html | 8 +- en/docs/v3.11.2/graph/index.html | 8 +- en/docs/v3.11.2/inputsystem/index.html | 8 +- .../lang/articles/ui/ui_statistic/index.html | 8 +- .../lang/articles/ui/ui_table/index.html | 8 +- en/docs/v3.11.2/line3d/index.html | 8 +- en/docs/v3.11.2/liquid/index.html | 8 +- en/docs/v3.11.2/pictorialbar/index.html | 8 +- en/docs/v3.11.2/pie3d/index.html | 8 +- en/docs/v3.11.2/pyramid/index.html | 8 +- en/docs/v3.11.2/sankey/index.html | 8 +- en/docs/v3.11.2/support/index.html | 8 +- en/docs/v3.11.2/treemap/index.html | 8 +- en/docs/v3.11.2/tutorial01/index.html | 8 +- en/docs/v3.11.2/tutorial02/index.html | 8 +- en/docs/v3.11.2/tutorial03/index.html | 8 +- en/docs/v3.11.2/ui/index.html | 8 +- en/docs/v3.5.0/about/index.html | 8 +- en/docs/v3.5.0/api/index.html | 8 +- en/docs/v3.5.0/bar3d/index.html | 8 +- en/docs/v3.5.0/changelog/index.html | 8 +- en/docs/v3.5.0/configuration/index.html | 8 +- en/docs/v3.5.0/faq/index.html | 8 +- en/docs/v3.5.0/funnel/index.html | 8 +- en/docs/v3.5.0/gantt/index.html | 8 +- en/docs/v3.5.0/gauge/index.html | 8 +- en/docs/v3.5.0/liquid/index.html | 8 +- en/docs/v3.5.0/pictorialbar/index.html | 8 +- en/docs/v3.5.0/pie3d/index.html | 8 +- en/docs/v3.5.0/pyramid/index.html | 8 +- en/docs/v3.5.0/support/index.html | 8 +- en/docs/v3.5.0/treemap/index.html | 8 +- en/docs/v3.5.0/tutorial01/index.html | 8 +- en/docs/v3.5.0/tutorial02/index.html | 8 +- en/docs/v3.5.0/tutorial03/index.html | 8 +- en/docs/v3.6.0/about/index.html | 8 +- en/docs/v3.6.0/api/index.html | 8 +- en/docs/v3.6.0/bar3d/index.html | 8 +- en/docs/v3.6.0/changelog/index.html | 8 +- en/docs/v3.6.0/configuration/index.html | 8 +- en/docs/v3.6.0/extra/index.html | 8 +- en/docs/v3.6.0/faq/index.html | 8 +- en/docs/v3.6.0/funnel/index.html | 8 +- en/docs/v3.6.0/gantt/index.html | 8 +- en/docs/v3.6.0/gauge/index.html | 8 +- en/docs/v3.6.0/inputsystem/index.html | 8 +- .../lang/articles/ui/ui_statistic/index.html | 8 +- .../lang/articles/ui/ui_table/index.html | 8 +- en/docs/v3.6.0/liquid/index.html | 8 +- en/docs/v3.6.0/pictorialbar/index.html | 8 +- en/docs/v3.6.0/pie3d/index.html | 8 +- en/docs/v3.6.0/pyramid/index.html | 8 +- en/docs/v3.6.0/support/index.html | 8 +- en/docs/v3.6.0/treemap/index.html | 8 +- en/docs/v3.6.0/tutorial01/index.html | 8 +- en/docs/v3.6.0/tutorial02/index.html | 8 +- en/docs/v3.6.0/tutorial03/index.html | 8 +- en/docs/v3.6.0/ui/index.html | 8 +- en/docs/v3.7.0/about/index.html | 8 +- en/docs/v3.7.0/api/index.html | 8 +- en/docs/v3.7.0/bar3d/index.html | 8 +- en/docs/v3.7.0/changelog/index.html | 8 +- en/docs/v3.7.0/configuration/index.html | 8 +- en/docs/v3.7.0/extra/index.html | 8 +- en/docs/v3.7.0/faq/index.html | 8 +- en/docs/v3.7.0/funnel/index.html | 8 +- en/docs/v3.7.0/gantt/index.html | 8 +- en/docs/v3.7.0/gauge/index.html | 8 +- en/docs/v3.7.0/inputsystem/index.html | 8 +- .../lang/articles/ui/ui_statistic/index.html | 8 +- .../lang/articles/ui/ui_table/index.html | 8 +- en/docs/v3.7.0/liquid/index.html | 8 +- en/docs/v3.7.0/pictorialbar/index.html | 8 +- en/docs/v3.7.0/pie3d/index.html | 8 +- en/docs/v3.7.0/pyramid/index.html | 8 +- en/docs/v3.7.0/support/index.html | 8 +- en/docs/v3.7.0/treemap/index.html | 8 +- en/docs/v3.7.0/tutorial01/index.html | 8 +- en/docs/v3.7.0/tutorial02/index.html | 8 +- en/docs/v3.7.0/tutorial03/index.html | 8 +- en/docs/v3.7.0/ui/index.html | 8 +- en/docs/v3.8.1/about/index.html | 8 +- en/docs/v3.8.1/api/index.html | 8 +- en/docs/v3.8.1/bar3d/index.html | 8 +- en/docs/v3.8.1/changelog/index.html | 8 +- en/docs/v3.8.1/configuration/index.html | 8 +- en/docs/v3.8.1/extra/index.html | 8 +- en/docs/v3.8.1/faq/index.html | 8 +- en/docs/v3.8.1/funnel/index.html | 8 +- en/docs/v3.8.1/gantt/index.html | 8 +- en/docs/v3.8.1/gauge/index.html | 8 +- en/docs/v3.8.1/inputsystem/index.html | 8 +- .../lang/articles/ui/ui_statistic/index.html | 8 +- .../lang/articles/ui/ui_table/index.html | 8 +- en/docs/v3.8.1/liquid/index.html | 8 +- en/docs/v3.8.1/pictorialbar/index.html | 8 +- en/docs/v3.8.1/pie3d/index.html | 8 +- en/docs/v3.8.1/pyramid/index.html | 8 +- en/docs/v3.8.1/support/index.html | 8 +- en/docs/v3.8.1/treemap/index.html | 8 +- en/docs/v3.8.1/tutorial01/index.html | 8 +- en/docs/v3.8.1/tutorial02/index.html | 8 +- en/docs/v3.8.1/tutorial03/index.html | 8 +- en/docs/v3.8.1/ui/index.html | 8 +- en/docs/v3.9.0/about/index.html | 8 +- en/docs/v3.9.0/api/index.html | 8 +- en/docs/v3.9.0/bar3d/index.html | 8 +- en/docs/v3.9.0/changelog/index.html | 8 +- en/docs/v3.9.0/configuration/index.html | 8 +- en/docs/v3.9.0/extra/index.html | 8 +- en/docs/v3.9.0/faq/index.html | 8 +- en/docs/v3.9.0/funnel/index.html | 8 +- en/docs/v3.9.0/gantt/index.html | 8 +- en/docs/v3.9.0/gauge/index.html | 8 +- en/docs/v3.9.0/inputsystem/index.html | 8 +- .../lang/articles/ui/ui_statistic/index.html | 8 +- .../lang/articles/ui/ui_table/index.html | 8 +- en/docs/v3.9.0/liquid/index.html | 8 +- en/docs/v3.9.0/pictorialbar/index.html | 8 +- en/docs/v3.9.0/pie3d/index.html | 8 +- en/docs/v3.9.0/pyramid/index.html | 8 +- en/docs/v3.9.0/sankey/index.html | 8 +- en/docs/v3.9.0/support/index.html | 8 +- en/docs/v3.9.0/treemap/index.html | 8 +- en/docs/v3.9.0/tutorial01/index.html | 8 +- en/docs/v3.9.0/tutorial02/index.html | 8 +- en/docs/v3.9.0/tutorial03/index.html | 8 +- en/docs/v3.9.0/ui/index.html | 8 +- en/examples/index.html | 8 +- en/help-us-translate/index.html | 8 +- en/index.html | 8 +- .../2022/12/newsletter2212/index.html | 8 +- en/newsletter/archive/index.html | 8 +- en/newsletter/index.html | 8 +- en/search/index.html | 8 +- en/user-stories/index.html | 8 +- examples/index.html | 8 +- help-us-translate/index.html | 8 +- index.html | 8 +- newsletter/2022/12/newsletter12/index.html | 8 +- newsletter/archive/index.html | 8 +- newsletter/index.html | 8 +- search/index.html | 8 +- user-stories/index.html | 8 +- 526 files changed, 3152 insertions(+), 1978 deletions(-) create mode 100644 assets/js/160ef12c.9e10baaf.js create mode 100644 assets/js/2afe0a8a.cdb47dc1.js create mode 100644 assets/js/31476475.e11b178d.js create mode 100644 assets/js/45619582.eb54f194.js create mode 100644 assets/js/5f66efcf.88c711be.js create mode 100644 assets/js/8c04f4a8.783feee8.js create mode 100644 assets/js/91b3e92a.ee3a6d9d.js create mode 100644 assets/js/9abfe212.39023eea.js create mode 100644 assets/js/9c4c7084.027ae975.js create mode 100644 assets/js/b3c5e4a8.2c201907.js create mode 100644 assets/js/b5447c11.5ad098ff.js create mode 100644 assets/js/c2d6a9b4.075648f7.js create mode 100644 assets/js/c9092f3a.1704c942.js create mode 100644 assets/js/ccbc8b8d.58690dee.js create mode 100644 assets/js/da3b0d6f.0d3ae9bf.js create mode 100644 assets/js/e4b9cb97.9814d761.js create mode 100644 assets/js/f8858d8f.973c78b1.js create mode 100644 assets/js/f9676efd.9187e912.js create mode 100644 assets/js/main.ab2b8a48.js create mode 100644 assets/js/main.ab2b8a48.js.LICENSE.txt create mode 100644 assets/js/runtime~main.7d8e79d9.js create mode 100644 en/assets/js/160ef12c.918de38a.js create mode 100644 en/assets/js/2afe0a8a.2c8e6cae.js create mode 100644 en/assets/js/31476475.1108af1a.js create mode 100644 en/assets/js/45619582.9fd73e90.js create mode 100644 en/assets/js/5f66efcf.7be79be8.js create mode 100644 en/assets/js/8c04f4a8.78949fff.js create mode 100644 en/assets/js/91b3e92a.00df94e4.js create mode 100644 en/assets/js/9abfe212.83e51c92.js create mode 100644 en/assets/js/9c4c7084.eebeb9cd.js create mode 100644 en/assets/js/b3c5e4a8.aadd87f8.js create mode 100644 en/assets/js/b5447c11.a05661f3.js create mode 100644 en/assets/js/c2d6a9b4.c596b9b5.js create mode 100644 en/assets/js/c9092f3a.ff73e4b1.js create mode 100644 en/assets/js/ccbc8b8d.d44d47b0.js create mode 100644 en/assets/js/da3b0d6f.b2cf8927.js create mode 100644 en/assets/js/e4b9cb97.45a76857.js create mode 100644 en/assets/js/f8858d8f.89c06897.js create mode 100644 en/assets/js/f9676efd.eebbacd7.js create mode 100644 en/assets/js/main.442a8566.js create mode 100644 en/assets/js/main.442a8566.js.LICENSE.txt create mode 100644 en/assets/js/runtime~main.51215255.js diff --git a/404.html b/404.html index 63774a2b..dee40779 100644 --- a/404.html +++ b/404.html @@ -14,13 +14,13 @@ 找不到页面 | XCharts - - + +
跳到主要内容

Page not found.

Refresh the page or get back later
- - + + \ No newline at end of file diff --git a/acknowledgments/index.html b/acknowledgments/index.html index 1b4c56e4..6d9e59b7 100644 --- a/acknowledgments/index.html +++ b/acknowledgments/index.html @@ -14,13 +14,13 @@ Acknowledgments | XCharts - - + +
跳到主要内容

Acknowledgments

- - + + \ No newline at end of file diff --git a/api/index.html b/api/index.html index d528f0aa..d7ce2220 100644 --- a/api/index.html +++ b/api/index.html @@ -14,13 +14,13 @@ - - + +
跳到主要内容
Was this helpful?
- - + + \ No newline at end of file diff --git a/api/master/index.html b/api/master/index.html index 3c5b1884..020bfaab 100644 --- a/api/master/index.html +++ b/api/master/index.html @@ -14,13 +14,13 @@ - - + +
跳到主要内容
Was this helpful?
- - + + \ No newline at end of file diff --git a/api/v3.10.2/index.html b/api/v3.10.2/index.html index 06ca7e3c..5ee15ca4 100644 --- a/api/v3.10.2/index.html +++ b/api/v3.10.2/index.html @@ -14,13 +14,13 @@ - - + +
跳到主要内容
Was this helpful?
- - + + \ No newline at end of file diff --git a/api/v3.11.2/index.html b/api/v3.11.2/index.html index 77c2bbcf..2959a880 100644 --- a/api/v3.11.2/index.html +++ b/api/v3.11.2/index.html @@ -14,13 +14,13 @@ - - + +
跳到主要内容
Was this helpful?
- - + + \ No newline at end of file diff --git a/api/v3.5.0/index.html b/api/v3.5.0/index.html index 8755247a..cb324c98 100644 --- a/api/v3.5.0/index.html +++ b/api/v3.5.0/index.html @@ -14,13 +14,13 @@ - - + +
跳到主要内容
Was this helpful?
- - + + \ No newline at end of file diff --git a/api/v3.6.0/index.html b/api/v3.6.0/index.html index 3461ef42..983f2bae 100644 --- a/api/v3.6.0/index.html +++ b/api/v3.6.0/index.html @@ -14,13 +14,13 @@ - - + +
跳到主要内容
Was this helpful?
- - + + \ No newline at end of file diff --git a/api/v3.7.0/index.html b/api/v3.7.0/index.html index 42042f20..18bc2f1b 100644 --- a/api/v3.7.0/index.html +++ b/api/v3.7.0/index.html @@ -14,13 +14,13 @@ - - + +
跳到主要内容
Was this helpful?
- - + + \ No newline at end of file diff --git a/api/v3.8.1/index.html b/api/v3.8.1/index.html index 9817d89a..35306dc4 100644 --- a/api/v3.8.1/index.html +++ b/api/v3.8.1/index.html @@ -14,13 +14,13 @@ - - + +
跳到主要内容
Was this helpful?
- - + + \ No newline at end of file diff --git a/api/v3.9.0/index.html b/api/v3.9.0/index.html index 3346bacc..02510bc2 100644 --- a/api/v3.9.0/index.html +++ b/api/v3.9.0/index.html @@ -14,13 +14,13 @@ - - + +
跳到主要内容
Was this helpful?
- - + + \ No newline at end of file diff --git a/assets/js/160ef12c.9e10baaf.js b/assets/js/160ef12c.9e10baaf.js new file mode 100644 index 00000000..0352d41c --- /dev/null +++ b/assets/js/160ef12c.9e10baaf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2089],{3905:function(e,t,l){l.d(t,{Zo:function(){return s},kt:function(){return c}});var i=l(67294);function a(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}function n(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,i)}return l}function r(e){for(var t=1;t=0||(a[l]=e[l]);return a}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(a[l]=e[l])}return a}var d=i.createContext({}),p=function(e){var t=i.useContext(d),l=t;return e&&(l="function"==typeof e?e(t):r(r({},t),e)),l},s=function(e){var t=p(e.components);return i.createElement(d.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},h=i.forwardRef((function(e,t){var l=e.components,a=e.mdxType,n=e.originalType,d=e.parentName,s=o(e,["components","mdxType","originalType","parentName"]),h=p(l),c=a,m=h["".concat(d,".").concat(c)]||h[c]||u[c]||n;return l?i.createElement(m,r(r({ref:t},s),{},{components:l})):i.createElement(m,r({ref:t},s))}));function c(e,t){var l=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var n=l.length,r=new Array(n);r[0]=h;var o={};for(var d in t)hasOwnProperty.call(t,d)&&(o[d]=t[d]);o.originalType=e,o.mdxType="string"==typeof e?e:a,r[1]=o;for(var p=2;p")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axishelper"},"AxisHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axislabel"},"AxisLabel")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axisline"},"AxisLine")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axisminorsplitline"},"AxisMinorSplitLine")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axisminortick"},"AxisMinorTick")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axisname"},"AxisName")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axissplitarea"},"AxisSplitArea")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axissplitline"},"AxisSplitLine")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axistheme"},"AxisTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axistick"},"AxisTick")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#background"},"Background")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#bar"},"Bar")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#barchart"},"BarChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#bartype"},"BarType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#basechart"},"BaseChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#basegraph"},"BaseGraph")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#baseline"},"BaseLine")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#basescatter"},"BaseScatter")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#baseserie"},"BaseSerie")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#blurstyle"},"BlurStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#borderstyle"},"BorderStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#calendarcoord"},"CalendarCoord")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#candlestick"},"Candlestick")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#candlestickchart"},"CandlestickChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#chartcached"},"ChartCached")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#chartconst"},"ChartConst")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#chartdrawer"},"ChartDrawer")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#charthelper"},"ChartHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#chartlabel"},"ChartLabel")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#chartobject"},"ChartObject")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#charttext"},"ChartText")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#checkhelper"},"CheckHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#colorutil"},"ColorUtil")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#comment"},"Comment")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#commentitem"},"CommentItem")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#commentmarkstyle"},"CommentMarkStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#componenthandlerattribute"},"ComponentHandlerAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#componenthelper"},"ComponentHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#coordoptionsattribute"},"CoordOptionsAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#coordsystem"},"CoordSystem")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#datahelper"},"DataHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#datazoom"},"DataZoom")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#datazoomfiltermode"},"DataZoom.FilterMode")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#datazoomrangemode"},"DataZoom.RangeMode")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#datazoomcontext"},"DataZoomContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#datazoomhelper"},"DataZoomHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#datazoomtheme"},"DataZoomTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#datetimeutil"},"DateTimeUtil")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#debuginfo"},"DebugInfo")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#defaultanimationattribute"},"DefaultAnimationAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#defaulttooltipattribute"},"DefaultTooltipAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#definesymbolsutil"},"DefineSymbolsUtil")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#effectscatter"},"EffectScatter")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#emphasisstyle"},"EmphasisStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#emphasisstyleblurscope"},"EmphasisStyle.BlurScope")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#emphasisstylefocustype"},"EmphasisStyle.FocusType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#endlabelstyle"},"EndLabelStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#formatterhelper"},"FormatterHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#graphdata"},"GraphData")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#graphedge"},"GraphEdge")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#graphnode"},"GraphNode")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#gridcoord"},"GridCoord")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#gridcoord3d"},"GridCoord3D")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#gridcoord3dcontext"},"GridCoord3DContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#gridcoordcontext"},"GridCoordContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#gridlayout"},"GridLayout")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#gridlayoutcontext"},"GridLayoutContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#heatmap"},"Heatmap")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#heatmapchart"},"HeatmapChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#heatmaptype"},"HeatmapType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#iconstyle"},"IconStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#iconstylelayer"},"IconStyle.Layer")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#ignoredoc"},"IgnoreDoc")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#imagestyle"},"ImageStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#indicator"},"Indicator")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#inputhelper"},"InputHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#interactdata"},"InteractData")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#ipropertychanged"},"IPropertyChanged")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#iseriecomponent"},"ISerieComponent")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#isimplifiedserie"},"ISimplifiedSerie")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#itemstyle"},"ItemStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#iupdateruntimedata"},"IUpdateRuntimeData")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#jsonutil"},"JsonUtil")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#labelline"},"LabelLine")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#labellinelinetype"},"LabelLine.LineType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#labelstyleposition"},"LabelStyle.Position")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#lang"},"Lang")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#langcandlestick"},"LangCandlestick")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#langtime"},"LangTime")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#layerhelper"},"LayerHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#legend"},"Legend")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#legendselectedmode"},"Legend.SelectedMode")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#legendtype"},"Legend.Type")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#legendcontext"},"LegendContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#legendhelper"},"LegendHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#legenditem"},"LegendItem")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#legendtheme"},"LegendTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#level"},"Level")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#levelstyle"},"LevelStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#line"},"Line")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#linearrow"},"LineArrow")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#linearrowposition"},"LineArrow.Position")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#linechart"},"LineChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#linehelper"},"LineHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#linestyle"},"LineStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#linestyletype"},"LineStyle.Type")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#linetype"},"LineType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#listfor"},"ListFor")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#listforcomponent"},"ListForComponent")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#listforserie"},"ListForSerie")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#listpoolt"},"ListPool","<","T",">")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#location"},"Location")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#locationalign"},"Location.Align")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#maincomponent"},"MainComponent")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#maincomponenthandler"},"MainComponentHandler")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#maincomponenthandlert"},"MainComponentHandler","<","T",">")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#markarea"},"MarkArea")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#markareadata"},"MarkAreaData")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#markareatype"},"MarkAreaType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#markline"},"MarkLine")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#marklinedata"},"MarkLineData")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#marklinetype"},"MarkLineType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#marqueestyle"},"MarqueeStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#mathutil"},"MathUtil")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#mlvalue"},"MLValue")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#mlvaluetype"},"MLValue.Type")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#monobehaviour"},"MonoBehaviour")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#orient"},"Orient")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#padding"},"Padding")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#painter"},"Painter")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#paintertype"},"Painter.Type")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#parallel"},"Parallel")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#parallelaxis"},"ParallelAxis")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#parallelchart"},"ParallelChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#parallelcoord"},"ParallelCoord")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#parallelcoordcontext"},"ParallelCoordContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#pie"},"Pie")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#piechart"},"PieChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#polaraxistheme"},"PolarAxisTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#polarchart"},"PolarChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#polarcoord"},"PolarCoord")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#polarcoordcontext"},"PolarCoordContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#propertyutil"},"PropertyUtil")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radar"},"Radar")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radaraxistheme"},"RadarAxisTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radarchart"},"RadarChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radarcoord"},"RadarCoord")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radarcoordpositiontype"},"RadarCoord.PositionType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radarcoordshape"},"RadarCoord.Shape")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radarcoordcontext"},"RadarCoordContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radartype"},"RadarType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radiusaxis"},"RadiusAxis")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radiusaxistheme"},"RadiusAxisTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#reflectionutil"},"ReflectionUtil")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#requirechartcomponentattribute"},"RequireChartComponentAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#ring"},"Ring")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#ringchart"},"RingChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#rosetype"},"RoseType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#runtimeutil"},"RuntimeUtil")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#sampletype"},"SampleType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#scatter"},"Scatter")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#scatterchart"},"ScatterChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#selectstyle"},"SelectStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#serie"},"Serie")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriecolorby"},"SerieColorBy")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriecomponentattribute"},"SerieComponentAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriecontext"},"SerieContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#serieconvertattribute"},"SerieConvertAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriedata"},"SerieData")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriedatacomponentattribute"},"SerieDataComponentAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriedatacontext"},"SerieDataContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriedataextrafieldattribute"},"SerieDataExtraFieldAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriedatalink"},"SerieDataLink")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriedatasorttype"},"SerieDataSortType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#serieeventdata"},"SerieEventData")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#serieeventdatapool"},"SerieEventDataPool")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriehandler"},"SerieHandler")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriehandlert"},"SerieHandler","<","T",">")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriehandlerattribute"},"SerieHandlerAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriehelper"},"SerieHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#serielabelhelper"},"SerieLabelHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#serielabelpool"},"SerieLabelPool")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#serieparams"},"SerieParams")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#serieshelper"},"SeriesHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriestate"},"SerieState")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriesymbol"},"SerieSymbol")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#serietheme"},"SerieTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#settings"},"Settings")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#simplifiedbar"},"SimplifiedBar")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#simplifiedbarchart"},"SimplifiedBarChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#simplifiedcandlestick"},"SimplifiedCandlestick")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#simplifiedcandlestickchart"},"SimplifiedCandlestickChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#simplifiedline"},"SimplifiedLine")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#simplifiedlinechart"},"SimplifiedLineChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#since"},"Since")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#singleaxis"},"SingleAxis")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#singleaxiscoord"},"SingleAxisCoord")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#stagecolor"},"StageColor")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#statestyle"},"StateStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#subtitletheme"},"SubTitleTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#svg"},"SVG")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#svgpath"},"SVGPath")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#svgpathseg"},"SVGPathSeg")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#svgpathsegtype"},"SVGPathSegType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#symbolsizetype"},"SymbolSizeType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#symbolstyle"},"SymbolStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#symboltype"},"SymbolType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#textlimit"},"TextLimit")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#textpadding"},"TextPadding")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#textstyle"},"TextStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#theme"},"Theme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#themestyle"},"ThemeStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#themetype"},"ThemeType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#title"},"Title")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#titlestyle"},"TitleStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#titletheme"},"TitleTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltip"},"Tooltip")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltipposition"},"Tooltip.Position")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltiptrigger"},"Tooltip.Trigger")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltiptriggeron"},"Tooltip.TriggerOn")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltiptype"},"Tooltip.Type")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltipcontext"},"TooltipContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltipdata"},"TooltipData")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltiphelper"},"TooltipHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltiptheme"},"TooltipTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltipview"},"TooltipView")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltipviewitem"},"TooltipViewItem")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#ugl"},"UGL")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#ugldirection"},"UGL.Direction")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#uglexample"},"UGLExample")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#uglhelper"},"UGLHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#uicomponent"},"UIComponent")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#uicomponenttheme"},"UIComponentTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#uihelper"},"UIHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#viewcontrol"},"ViewControl")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#visualmap"},"VisualMap")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#visualmapselectedmode"},"VisualMap.SelectedMode")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#visualmaptype"},"VisualMap.Type")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#visualmapcontext"},"VisualMapContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#visualmaphelper"},"VisualMapHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#visualmaprange"},"VisualMapRange")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#visualmaptheme"},"VisualMapTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#wrappert"},"Wrapper","<","T",">")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xaxis"},"XAxis")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xaxis3d"},"XAxis3D")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xchartsmgr"},"XChartsMgr")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xcresourceimporterwindow"},"XCResourceImporterWindow")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xcresourcesimporter"},"XCResourcesImporter")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xcsettings"},"XCSettings")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xcthememgr"},"XCThemeMgr")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xlog"},"XLog")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#yaxis"},"YAxis")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#yaxis3d"},"YAxis3D")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#zaxis3d"},"ZAxis3D"))),(0,n.kt)("h2",{id:"align"},"Align"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Center"),": \u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Left"),": \u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Right"),": \u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002")),(0,n.kt)("h2",{id:"angleaxis"},"AngleAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("p",null,"\u6781\u5750\u6807\u7cfb\u7684\u89d2\u5ea6\u8f74\u3002"),(0,n.kt)("h3",{id:"angleaxisgetvalueangle"},"AngleAxis.GetValueAngle"),(0,n.kt)("p",null,"public float GetValueAngle(double value) "),(0,n.kt)("h3",{id:"angleaxissetdefaultvalue"},"AngleAxis.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue() "),(0,n.kt)("h2",{id:"angleaxistheme"},"AngleAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h3",{id:"angleaxisthemebasetheme"},"AngleAxisTheme.base(theme)"),(0,n.kt)("p",null,"public AngleAxisTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h3",{id:"angleaxisthemeangleaxistheme"},"AngleAxisTheme.AngleAxisTheme"),(0,n.kt)("p",null,"public AngleAxisTheme(ThemeType theme) : base(theme) { } "),(0,n.kt)("h2",{id:"animationaddition"},"AnimationAddition"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6570\u636e\u65b0\u589e\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationchange"},"AnimationChange"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6570\u636e\u53d8\u66f4\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationeasing"},"AnimationEasing"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Linear"),": ")),(0,n.kt)("h2",{id:"animationfadein"},"AnimationFadeIn"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6de1\u5165\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationfadeout"},"AnimationFadeOut"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6de1\u51fa\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationhiding"},"AnimationHiding"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6570\u636e\u9690\u85cf\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationinfo"},"AnimationInfo"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#animationfadein"},"AnimationFadeIn"),",",(0,n.kt)("a",{parentName:"p",href:"#animationfadeout"},"AnimationFadeOut"),",",(0,n.kt)("a",{parentName:"p",href:"#animationchange"},"AnimationChange"),",",(0,n.kt)("a",{parentName:"p",href:"#animationaddition"},"AnimationAddition"),",",(0,n.kt)("a",{parentName:"p",href:"#animationhiding"},"AnimationHiding"),",",(0,n.kt)("a",{parentName:"p",href:"#animationinteraction"},"AnimationInteraction")," "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u52a8\u753b\u914d\u7f6e\u53c2\u6570\u3002"),(0,n.kt)("h3",{id:"animationinfodelay"},"AnimationInfo.delay"),(0,n.kt)("p",null,"public float delay",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u5f00\u59cb\u524d\u7684\u5ef6\u8fdf\u65f6\u95f4\u3002"),(0,n.kt)("h3",{id:"animationinfodelayfunction"},"AnimationInfo.delayFunction"),(0,n.kt)("p",null,"public AnimationDelayFunction delayFunction",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u5ef6\u8fdf\u7684\u59d4\u6258\u51fd\u6570\u3002"),(0,n.kt)("h3",{id:"animationinfoduration"},"AnimationInfo.duration"),(0,n.kt)("p",null,"public float duration",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u7684\u65f6\u957f\u3002"),(0,n.kt)("h3",{id:"animationinfodurationfunction"},"AnimationInfo.durationFunction"),(0,n.kt)("p",null,"public AnimationDurationFunction durationFunction",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u65f6\u957f\u7684\u59d4\u6258\u51fd\u6570\u3002"),(0,n.kt)("h3",{id:"animationinfoenable"},"AnimationInfo.enable"),(0,n.kt)("p",null,"public bool enable",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u5f00\u542f\u52a8\u753b\u6548\u679c\u3002"),(0,n.kt)("h3",{id:"animationinfoonanimationend"},"AnimationInfo.OnAnimationEnd"),(0,n.kt)("p",null,"public Action OnAnimationEnd",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u7ed3\u675f\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"animationinfoonanimationstart"},"AnimationInfo.OnAnimationStart"),(0,n.kt)("p",null,"public Action OnAnimationStart",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u5f00\u59cb\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"animationinforeverse"},"AnimationInfo.reverse"),(0,n.kt)("p",null,"public bool reverse",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u5f00\u542f\u53cd\u5411\u52a8\u753b\u6548\u679c\u3002"),(0,n.kt)("h3",{id:"animationinfoend"},"AnimationInfo.End"),(0,n.kt)("p",null,"public void End()",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed3\u675f\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationinfogetindexdelay"},"AnimationInfo.GetIndexDelay"),(0,n.kt)("p",null,"public float GetIndexDelay(int dataIndex)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u53d6\u52a8\u753b\u5ef6\u8fdf\u3002"),(0,n.kt)("h3",{id:"animationinfoinit"},"AnimationInfo.Init"),(0,n.kt)("p",null,"public bool Init(float curr, float dest, int totalPointIndex)",(0,n.kt)("br",{parentName:"p"}),"\n","\u521d\u59cb\u5316\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationinfoisfinish"},"AnimationInfo.IsFinish"),(0,n.kt)("p",null,"public bool IsFinish()",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u662f\u5426\u7ed3\u675f\u3002"),(0,n.kt)("h3",{id:"animationinfoisindelay"},"AnimationInfo.IsInDelay"),(0,n.kt)("p",null,"public bool IsInDelay()",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u662f\u5426\u5728\u5ef6\u8fdf\u4e2d\u3002"),(0,n.kt)("h3",{id:"animationinfoisinindexdelay"},"AnimationInfo.IsInIndexDelay"),(0,n.kt)("p",null,"public bool IsInIndexDelay(int dataIndex)",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u662f\u5426\u5728\u7d22\u5f15\u5ef6\u8fdf\u4e2d\u3002"),(0,n.kt)("h3",{id:"animationinfopause"},"AnimationInfo.Pause"),(0,n.kt)("p",null,"public void Pause()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6682\u505c\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationinforeset"},"AnimationInfo.Reset"),(0,n.kt)("p",null,"public void Reset()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u7f6e\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationinforesume"},"AnimationInfo.Resume"),(0,n.kt)("p",null,"public void Resume()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6062\u590d\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationinfostart"},"AnimationInfo.Start"),(0,n.kt)("p",null,"public void Start(bool reset = true)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f00\u59cb\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationinfocontext"},"AnimationInfoContext"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"animationinteraction"},"AnimationInteraction"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u4ea4\u4e92\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationinteractionoffset"},"AnimationInteraction.offset"),(0,n.kt)("p",null,"public MLValue offset",(0,n.kt)("br",{parentName:"p"}),"\n","\u4ea4\u4e92\u7684\u591a\u6837\u5f0f\u6570\u503c\u3002\u5982\u997c\u56fe\u7684\u6247\u5f62\u9009\u4e2d\u65f6\u7684\u504f\u79fb\u3002"),(0,n.kt)("h3",{id:"animationinteractionradius"},"AnimationInteraction.radius"),(0,n.kt)("p",null,"public MLValue radius",(0,n.kt)("br",{parentName:"p"}),"\n","\u534a\u5f84\u7684\u591a\u6837\u5f0f\u6570\u503c\u3002"),(0,n.kt)("h3",{id:"animationinteractionwidth"},"AnimationInteraction.width"),(0,n.kt)("p",null,"public MLValue width",(0,n.kt)("br",{parentName:"p"}),"\n","\u5bbd\u5ea6\u7684\u591a\u6837\u5f0f\u6570\u503c\u3002"),(0,n.kt)("h3",{id:"animationinteractiongetoffset"},"AnimationInteraction.GetOffset"),(0,n.kt)("p",null,"public float GetOffset() "),(0,n.kt)("h3",{id:"animationinteractiongetradius"},"AnimationInteraction.GetRadius"),(0,n.kt)("p",null,"public float GetRadius(float radius) "),(0,n.kt)("h3",{id:"animationinteractiongetwidth"},"AnimationInteraction.GetWidth"),(0,n.kt)("p",null,"public float GetWidth(float width) "),(0,n.kt)("h2",{id:"animationstyle"},"AnimationStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u52a8\u753b\u7ec4\u4ef6\uff0c\u7528\u4e8e\u63a7\u5236\u56fe\u8868\u7684\u52a8\u753b\u64ad\u653e\u3002\u652f\u6301\u914d\u7f6e\u4e94\u79cd\u52a8\u753b\u8868\u73b0\uff1aFadeIn\uff08\u6e10\u5165\u52a8\u753b\uff09\uff0cFadeOut\uff08\u6e10\u51fa\u52a8\u753b\uff09\uff0cChange\uff08\u53d8\u66f4\u52a8\u753b\uff09\uff0cAddition\uff08\u65b0\u589e\u52a8\u753b\uff09\uff0cInteraction\uff08\u4ea4\u4e92\u52a8\u753b\uff09\u3002 \u6309\u4f5c\u7528\u7684\u5bf9\u8c61\u53ef\u4ee5\u5206\u4e3a\u4e24\u7c7b\uff1aSerieAnimation\uff08\u7cfb\u5217\u52a8\u753b\uff09\u548cDataAnimation\uff08\u6570\u636e\u52a8\u753b\uff09\u3002"),(0,n.kt)("h3",{id:"animationstyleaddition"},"AnimationStyle.addition"),(0,n.kt)("p",null,"public AnimationAddition addition",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u65b0\u589e\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstylechange"},"AnimationStyle.change"),(0,n.kt)("p",null,"public AnimationChange change",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u53d8\u66f4\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstyleenable"},"AnimationStyle.enable"),(0,n.kt)("p",null,"public bool enable",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u5f00\u542f\u52a8\u753b\u6548\u679c\u3002"),(0,n.kt)("h3",{id:"animationstylefadein"},"AnimationStyle.fadeIn"),(0,n.kt)("p",null,"public AnimationFadeIn fadeIn",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e10\u5165\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstylefadeinfinishcallback"},"AnimationStyle.fadeInFinishCallback"),(0,n.kt)("p",null,"public Action fadeInFinishCallback "),(0,n.kt)("h3",{id:"animationstylefadeout"},"AnimationStyle.fadeOut"),(0,n.kt)("p",null,"public AnimationFadeOut fadeOut",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e10\u51fa\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstylefadeoutfinishcallback"},"AnimationStyle.fadeOutFinishCallback"),(0,n.kt)("p",null,"public Action fadeOutFinishCallback "),(0,n.kt)("h3",{id:"animationstylehiding"},"AnimationStyle.hiding"),(0,n.kt)("p",null,"public AnimationHiding hiding",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9690\u85cf\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstyleinteraction"},"AnimationStyle.interaction"),(0,n.kt)("p",null,"public AnimationInteraction interaction",(0,n.kt)("br",{parentName:"p"}),"\n","\u4ea4\u4e92\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstylethreshold"},"AnimationStyle.threshold"),(0,n.kt)("p",null,"public int threshold",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u5f00\u542f\u52a8\u753b\u7684\u9608\u503c\uff0c\u5f53\u5355\u4e2a\u7cfb\u5217\u663e\u793a\u7684\u56fe\u5f62\u6570\u91cf\u5927\u4e8e\u8fd9\u4e2a\u9608\u503c\u65f6\u4f1a\u5173\u95ed\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationstyleunscaledtime"},"AnimationStyle.unscaledTime"),(0,n.kt)("p",null,"public bool unscaledTime",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u662f\u5426\u53d7TimeScaled\u7684\u5f71\u54cd\u3002\u9ed8\u8ba4\u4e3a false \u53d7TimeScaled\u7684\u5f71\u54cd\u3002"),(0,n.kt)("h3",{id:"animationstyleaddition-1"},"AnimationStyle.Addition"),(0,n.kt)("p",null,"public void Addition()",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f00\u59cb\u6570\u636e\u65b0\u589e\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationstylecancheckinteract"},"AnimationStyle.CanCheckInteract"),(0,n.kt)("p",null,"public bool CanCheckInteract() "),(0,n.kt)("h3",{id:"animationstylecheckdetailbreak"},"AnimationStyle.CheckDetailBreak"),(0,n.kt)("p",null,"public bool CheckDetailBreak(Vector3 pos, bool isYAxis) "),(0,n.kt)("h3",{id:"animationstylecheckprogress"},"AnimationStyle.CheckProgress"),(0,n.kt)("p",null,"public void CheckProgress(double total) "),(0,n.kt)("h3",{id:"animationstylechecksymbol"},"AnimationStyle.CheckSymbol"),(0,n.kt)("p",null,"public void CheckSymbol(float dest) "),(0,n.kt)("h3",{id:"animationstylefadein-1"},"AnimationStyle.FadeIn"),(0,n.kt)("p",null,"public void FadeIn()",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f00\u59cb\u6e10\u5165\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationstylefadeout-1"},"AnimationStyle.FadeOut"),(0,n.kt)("p",null,"public void FadeOut()",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f00\u59cb\u6e10\u51fa\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationstylegetadditionduration"},"AnimationStyle.GetAdditionDuration"),(0,n.kt)("p",null,"public float GetAdditionDuration() "),(0,n.kt)("h3",{id:"animationstylegetchangeduration"},"AnimationStyle.GetChangeDuration"),(0,n.kt)("p",null,"public float GetChangeDuration() "),(0,n.kt)("h3",{id:"animationstylegetcurrdetail"},"AnimationStyle.GetCurrDetail"),(0,n.kt)("p",null,"public float GetCurrDetail() "),(0,n.kt)("h3",{id:"animationstylegetcurrindex"},"AnimationStyle.GetCurrIndex"),(0,n.kt)("p",null,"public int GetCurrIndex() "),(0,n.kt)("h3",{id:"animationstylegetcurrrate"},"AnimationStyle.GetCurrRate"),(0,n.kt)("p",null,"public float GetCurrRate() "),(0,n.kt)("h3",{id:"animationstylegetinteractionduration"},"AnimationStyle.GetInteractionDuration"),(0,n.kt)("p",null,"public float GetInteractionDuration() "),(0,n.kt)("h3",{id:"animationstylegetinteractionradius"},"AnimationStyle.GetInteractionRadius"),(0,n.kt)("p",null,"public float GetInteractionRadius(float radius) "),(0,n.kt)("h3",{id:"animationstylegetsysmbolsize"},"AnimationStyle.GetSysmbolSize"),(0,n.kt)("p",null,"public float GetSysmbolSize(float dest) "),(0,n.kt)("h3",{id:"animationstylehasfadeout"},"AnimationStyle.HasFadeOut"),(0,n.kt)("p",null,"public bool HasFadeOut() "),(0,n.kt)("h3",{id:"animationstyleinitprogress"},"AnimationStyle.InitProgress"),(0,n.kt)("p",null,"public void InitProgress(List","<","Vector3",">"," paths, bool isY)",(0,n.kt)("br",{parentName:"p"}),"\n","\u521d\u59cb\u5316\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstyleisdataanimation"},"AnimationStyle.IsDataAnimation"),(0,n.kt)("p",null,"public bool IsDataAnimation()",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u4e3a\u6570\u636e\u52a8\u753b\u3002BottomToTop\u548cInsideOut\u7c7b\u578b\u7684\u4e3a\u6570\u636e\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationstyleisend"},"AnimationStyle.IsEnd"),(0,n.kt)("p",null,"public bool IsEnd() "),(0,n.kt)("h3",{id:"animationstyleisfadein"},"AnimationStyle.IsFadeIn"),(0,n.kt)("p",null,"public bool IsFadeIn() "),(0,n.kt)("h3",{id:"animationstyleisfadeout"},"AnimationStyle.IsFadeOut"),(0,n.kt)("p",null,"public bool IsFadeOut() "),(0,n.kt)("h3",{id:"animationstyleisfinish"},"AnimationStyle.IsFinish"),(0,n.kt)("p",null,"public bool IsFinish() "),(0,n.kt)("h3",{id:"animationstyleisindelay"},"AnimationStyle.IsInDelay"),(0,n.kt)("p",null,"public bool IsInDelay() "),(0,n.kt)("h3",{id:"animationstyleisserieanimation"},"AnimationStyle.IsSerieAnimation"),(0,n.kt)("p",null,"public bool IsSerieAnimation()",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u4e3a\u7cfb\u5217\u52a8\u753b\u3002LeftToRight\u3001AlongPath\u548cClockwise\u7c7b\u578b\u7684\u4e3a\u7cfb\u5217\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationstylepause"},"AnimationStyle.Pause"),(0,n.kt)("p",null,"public void Pause()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6682\u505c\u6240\u6709\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationstylereset"},"AnimationStyle.Reset"),(0,n.kt)("p",null,"public void Reset()",(0,n.kt)("br",{parentName:"p"}),"\n","Reset all animations."),(0,n.kt)("h3",{id:"animationstylerestart"},"AnimationStyle.Restart"),(0,n.kt)("p",null,"public void Restart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u542f\u5f53\u524d\u6fc0\u6d3b\u7684\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationstyleresume"},"AnimationStyle.Resume"),(0,n.kt)("p",null,"public void Resume()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6062\u590d\u6240\u6709\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationstylehelper"},"AnimationStyleHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"animationstylehelpercheckdataanimation"},"AnimationStyleHelper.CheckDataAnimation"),(0,n.kt)("p",null,"public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0) "),(0,n.kt)("h3",{id:"animationstylehelpergetanimationposition"},"AnimationStyleHelper.GetAnimationPosition"),(0,n.kt)("p",null,"public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip, ref float rate) "),(0,n.kt)("h3",{id:"animationstylehelperupdateanimationtype"},"AnimationStyleHelper.UpdateAnimationType"),(0,n.kt)("p",null,"public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType, bool enableSerieDataAnimation) "),(0,n.kt)("h3",{id:"animationstylehelperupdateserieanimation"},"AnimationStyleHelper.UpdateSerieAnimation"),(0,n.kt)("p",null,"public static void UpdateSerieAnimation(Serie serie) "),(0,n.kt)("h2",{id:"animationtype"},"AnimationType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Default"),": \u9ed8\u8ba4\u3002\u5185\u90e8\u4f1a\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u9009\u62e9\u4e00\u79cd\u52a8\u753b\u64ad\u653e\u65b9\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"LeftToRight"),": \u4ece\u5de6\u5f80\u53f3\u64ad\u653e\u52a8\u753b\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BottomToTop"),": \u4ece\u4e0b\u5f80\u4e0a\u64ad\u653e\u52a8\u753b\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"InsideOut"),": \u7531\u5185\u5230\u5916\u64ad\u653e\u52a8\u753b\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"AlongPath"),": \u6cbf\u7740\u8def\u5f84\u64ad\u653e\u52a8\u753b\u3002\u5f53\u6298\u7ebf\u56fe\u4ece\u5de6\u5230\u53f3\u65e0\u5e8f\u6216\u6709\u6298\u8fd4\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u8be5\u6a21\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Clockwise"),": \u987a\u65f6\u9488\u64ad\u653e\u52a8\u753b\u3002")),(0,n.kt)("h2",{id:"areastyle"},"AreaStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u533a\u57df\u586b\u5145\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"areastylegetcolor"},"AreaStyle.GetColor"),(0,n.kt)("p",null,"public Color32 GetColor(Color32 themeColor) "),(0,n.kt)("h2",{id:"areastyleareaorigin"},"AreaStyle.AreaOrigin"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u56fe\u5f62\u533a\u57df\u7684\u8d77\u59cb\u4f4d\u7f6e\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u56fe\u5f62\u4f1a\u4ece\u5750\u6807\u8f74\u8f74\u7ebf\u5230\u6570\u636e\u95f4\u8fdb\u884c\u586b\u5145\u3002\u5982\u679c\u9700\u8981\u586b\u5145\u7684\u533a\u57df\u662f\u5750\u6807\u8f74\u6700\u5927\u503c\u5230\u6570\u636e\u95f4\uff0c\u6216\u8005\u5750\u6807\u8f74\u6700\u5c0f\u503c\u5230\u6570\u636e\u95f4\uff0c\u5219\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e2a\u914d\u7f6e\u9879\u8fdb\u884c\u8bbe\u7f6e\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u586b\u5145\u5750\u6807\u8f74\u8f74\u7ebf\u5230\u6570\u636e\u95f4\u7684\u533a\u57df\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Start"),": \u586b\u5145\u5750\u6807\u8f74\u5e95\u90e8\u5230\u6570\u636e\u95f4\u7684\u533a\u57df\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"End"),": \u586b\u5145\u5750\u6807\u8f74\u9876\u90e8\u5230\u6570\u636e\u95f4\u7684\u533a\u57df\u3002")),(0,n.kt)("h2",{id:"arrowstyle"},"ArrowStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"arrowstyleclone"},"ArrowStyle.Clone"),(0,n.kt)("p",null,"public ArrowStyle Clone() "),(0,n.kt)("h3",{id:"arrowstylecopy"},"ArrowStyle.Copy"),(0,n.kt)("p",null,"public void Copy(ArrowStyle arrow) "),(0,n.kt)("h3",{id:"arrowstylegetcolor"},"ArrowStyle.GetColor"),(0,n.kt)("p",null,"public Color32 GetColor(Color32 defaultColor) "),(0,n.kt)("h2",{id:"axis"},"Axis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#angleaxis"},"AngleAxis"),",",(0,n.kt)("a",{parentName:"p",href:"#parallelaxis"},"ParallelAxis"),",",(0,n.kt)("a",{parentName:"p",href:"#radiusaxis"},"RadiusAxis"),",",(0,n.kt)("a",{parentName:"p",href:"#singleaxis"},"SingleAxis"),",",(0,n.kt)("a",{parentName:"p",href:"#xaxis"},"XAxis"),",",(0,n.kt)("a",{parentName:"p",href:"#xaxis3d"},"XAxis3D"),",",(0,n.kt)("a",{parentName:"p",href:"#yaxis"},"YAxis"),",",(0,n.kt)("a",{parentName:"p",href:"#yaxis3d"},"YAxis3D"),",",(0,n.kt)("a",{parentName:"p",href:"#zaxis3d"},"ZAxis3D")," "),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb\u7684\u5750\u6807\u8f74\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"axisadddata"},"Axis.AddData"),(0,n.kt)("p",null,"public void AddData(string category)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4e00\u4e2a\u7c7b\u76ee\u5230\u7c7b\u76ee\u6570\u636e\u5217\u8868"),(0,n.kt)("h3",{id:"axisaddicon"},"Axis.AddIcon"),(0,n.kt)("p",null,"public void AddIcon(Sprite icon)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u56fe\u6807"),(0,n.kt)("h3",{id:"axisclearcomponentdirty"},"Axis.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h3",{id:"axiscleardata"},"Axis.ClearData"),(0,n.kt)("p",null,"public override void ClearData()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e05\u7a7a\u7c7b\u76ee\u6570\u636e"),(0,n.kt)("h3",{id:"axisclearverticesdirty"},"Axis.ClearVerticesDirty"),(0,n.kt)("p",null,"public override void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"axisclone"},"Axis.Clone"),(0,n.kt)("p",null,"public Axis Clone() "),(0,n.kt)("h3",{id:"axiscopy"},"Axis.Copy"),(0,n.kt)("p",null,"public void Copy(Axis axis) "),(0,n.kt)("h3",{id:"axisgetaddeddatacount"},"Axis.GetAddedDataCount"),(0,n.kt)("p",null,"public int GetAddedDataCount()",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6dfb\u52a0\u8fc7\u7684\u5386\u53f2\u6570\u636e\u603b\u6570"),(0,n.kt)("h3",{id:"axisgetcategoryposition"},"Axis.GetCategoryPosition"),(0,n.kt)("p",null,"public Vector3 GetCategoryPosition(int categoryIndex, int dataCount = 0) "),(0,n.kt)("h3",{id:"axisgetdata"},"Axis.GetData"),(0,n.kt)("p",null,"public string GetData(int index, DataZoom dataZoom)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u5728dataZoom\u8303\u56f4\u5185\u6307\u5b9a\u7d22\u5f15\u7684\u7c7b\u76ee\u6570\u636e"),(0,n.kt)("h3",{id:"axisgetdistance"},"Axis.GetDistance"),(0,n.kt)("p",null,"public float GetDistance(double value, float axisLength = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u503c\u5728\u5750\u6807\u8f74\u4e0a\u7684\u8ddd\u79bb"),(0,n.kt)("h3",{id:"axisgeticon"},"Axis.GetIcon"),(0,n.kt)("p",null,"public Sprite GetIcon(int index) "),(0,n.kt)("h3",{id:"axisgetlabelvalue"},"Axis.GetLabelValue"),(0,n.kt)("p",null,"public double GetLabelValue(int index) "),(0,n.kt)("h3",{id:"axisgetlastlabelvalue"},"Axis.GetLastLabelValue"),(0,n.kt)("p",null,"public double GetLastLabelValue() "),(0,n.kt)("h3",{id:"axisgetlogmaxindex"},"Axis.GetLogMaxIndex"),(0,n.kt)("p",null,"public double GetLogMaxIndex() "),(0,n.kt)("h3",{id:"axisgetlogminindex"},"Axis.GetLogMinIndex"),(0,n.kt)("p",null,"public double GetLogMinIndex() "),(0,n.kt)("h3",{id:"axisgetlogvalue"},"Axis.GetLogValue"),(0,n.kt)("p",null,"public float GetLogValue(double value) "),(0,n.kt)("h3",{id:"axisgetvaluelength"},"Axis.GetValueLength"),(0,n.kt)("p",null,"public float GetValueLength(double value, float axisLength) "),(0,n.kt)("h3",{id:"axisisbottom"},"Axis.IsBottom"),(0,n.kt)("p",null,"public bool IsBottom() "),(0,n.kt)("h3",{id:"axisiscategory"},"Axis.IsCategory"),(0,n.kt)("p",null,"public bool IsCategory()",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u4e3a\u7c7b\u76ee\u8f74\u3002"),(0,n.kt)("h3",{id:"axisisleft"},"Axis.IsLeft"),(0,n.kt)("p",null,"public bool IsLeft() "),(0,n.kt)("h3",{id:"axisislog"},"Axis.IsLog"),(0,n.kt)("p",null,"public bool IsLog()",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u4e3a\u5bf9\u6570\u8f74\u3002"),(0,n.kt)("h3",{id:"axisisneedshowlabel"},"Axis.IsNeedShowLabel"),(0,n.kt)("p",null,"public bool IsNeedShowLabel(int index, int total = 0) "),(0,n.kt)("h3",{id:"axisisright"},"Axis.IsRight"),(0,n.kt)("p",null,"public bool IsRight() "),(0,n.kt)("h3",{id:"axisistime"},"Axis.IsTime"),(0,n.kt)("p",null,"public bool IsTime()",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u4e3a\u65f6\u95f4\u8f74\u3002"),(0,n.kt)("h3",{id:"axisistop"},"Axis.IsTop"),(0,n.kt)("p",null,"public bool IsTop() "),(0,n.kt)("h3",{id:"axisisvalue"},"Axis.IsValue"),(0,n.kt)("p",null,"public bool IsValue()",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u4e3a\u6570\u503c\u8f74\u3002"),(0,n.kt)("h3",{id:"axisremovedata"},"Axis.RemoveData"),(0,n.kt)("p",null,"public void RemoveData(int dataIndex) "),(0,n.kt)("h3",{id:"axisresetstatus"},"Axis.ResetStatus"),(0,n.kt)("p",null,"public override void ResetStatus()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u7f6e\u72b6\u6001\u3002"),(0,n.kt)("h3",{id:"axissetcomponentdirty"},"Axis.SetComponentDirty"),(0,n.kt)("p",null,"public override void SetComponentDirty() "),(0,n.kt)("h3",{id:"axissetneedupdatefilterdata"},"Axis.SetNeedUpdateFilterData"),(0,n.kt)("p",null,"public void SetNeedUpdateFilterData() "),(0,n.kt)("h3",{id:"axisupdatedata"},"Axis.UpdateData"),(0,n.kt)("p",null,"public void UpdateData(int index, string category)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u7c7b\u76ee\u6570\u636e"),(0,n.kt)("h3",{id:"axisupdateicon"},"Axis.UpdateIcon"),(0,n.kt)("p",null,"public void UpdateIcon(int index, Sprite icon)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u56fe\u6807"),(0,n.kt)("h3",{id:"axisupdatezerooffset"},"Axis.UpdateZeroOffset"),(0,n.kt)("p",null,"public void UpdateZeroOffset(float axisLength) "),(0,n.kt)("h2",{id:"axisaxisminmaxtype"},"Axis.AxisMinMaxType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u6700\u5927\u6700\u5c0f\u523b\u5ea6\u663e\u793a\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Default"),": 0-\u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"MinMax"),": \u6700\u5c0f\u503c-\u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u6700\u5c0f\u503c\u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"MinMaxAuto"),": ",'[since("v3.7.0")]',"\u6700\u5c0f\u503c-\u6700\u5927\u503c\u3002\u81ea\u52a8\u8ba1\u7b97\u5408\u9002\u7684\u503c\u3002")),(0,n.kt)("h2",{id:"axisaxisposition"},"Axis.AxisPosition"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Left"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Right"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Bottom"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Top"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Center"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e")),(0,n.kt)("h2",{id:"axisaxistype"},"Axis.AxisType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Value"),": \u6570\u503c\u8f74\u3002\u9002\u7528\u4e8e\u8fde\u7eed\u6570\u636e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Category"),": \u7c7b\u76ee\u8f74\u3002\u9002\u7528\u4e8e\u79bb\u6563\u7684\u7c7b\u76ee\u6570\u636e\uff0c\u4e3a\u8be5\u7c7b\u578b\u65f6\u5fc5\u987b\u901a\u8fc7 data \u8bbe\u7f6e\u7c7b\u76ee\u6570\u636e\u3002serie\u7684\u6570\u636e\u7b2c0\u7ef4\u6570\u636e\u5bf9\u5e94\u5750\u6807\u8f74data\u7684index\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Log"),": \u5bf9\u6570\u8f74\u3002\u9002\u7528\u4e8e\u5bf9\u6570\u6570\u636e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Time"),": \u65f6\u95f4\u8f74\u3002\u9002\u7528\u4e8e\u8fde\u7eed\u7684\u65f6\u5e8f\u6570\u636e\u3002")),(0,n.kt)("h2",{id:"axis3dhelper"},"Axis3DHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"axis3dhelperget3dgridposition"},"Axis3DHelper.Get3DGridPosition"),(0,n.kt)("p",null,"public static Vector3 Get3DGridPosition(GridCoord3D grid, XAxis3D xAxis, YAxis3D yAxis, double xValue, double yValue) "),(0,n.kt)("h3",{id:"axis3dhelpergetlabelposition"},"Axis3DHelper.GetLabelPosition"),(0,n.kt)("p",null,"public static Vector3 GetLabelPosition(int i, Axis axis, Axis relativedAxis, AxisTheme theme, float scaleWid) "),(0,n.kt)("h2",{id:"axisanimation"},"AxisAnimation"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.9.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"axisanimationclone"},"AxisAnimation.Clone"),(0,n.kt)("p",null,"public AxisAnimation Clone() "),(0,n.kt)("h3",{id:"axisanimationcopy"},"AxisAnimation.Copy"),(0,n.kt)("p",null,"public void Copy(AxisAnimation animation) "),(0,n.kt)("h2",{id:"axiscontext"},"AxisContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h3",{id:"axiscontextdestmaxvalue"},"AxisContext.destMaxValue"),(0,n.kt)("p",null,"public double destMaxValue "),(0,n.kt)("h3",{id:"axiscontextdestminvalue"},"AxisContext.destMinValue"),(0,n.kt)("p",null,"public double destMinValue "),(0,n.kt)("h3",{id:"axiscontextlabelobjectlist"},"AxisContext.labelObjectList"),(0,n.kt)("p",null,"public List","<","ChartLabel",">"," labelObjectList "),(0,n.kt)("h3",{id:"axiscontextlabelvaluelist"},"AxisContext.labelValueList"),(0,n.kt)("p",null,"public List","<","double",">"," labelValueList "),(0,n.kt)("h3",{id:"axiscontextlastmaxvalue"},"AxisContext.lastMaxValue"),(0,n.kt)("p",null,"public double lastMaxValue",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f53\u524d\u6700\u5927\u503c\u3002"),(0,n.kt)("h3",{id:"axiscontextlastminvalue"},"AxisContext.lastMinValue"),(0,n.kt)("p",null,"public double lastMinValue",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f53\u524d\u6700\u5c0f\u503c\u3002"),(0,n.kt)("h3",{id:"axiscontextneedanimation"},"AxisContext.needAnimation"),(0,n.kt)("p",null,"public bool needAnimation "),(0,n.kt)("h3",{id:"axiscontextruntimedata"},"AxisContext.runtimeData"),(0,n.kt)("p",null,"public List","<","string",">"," runtimeData",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u503c\u8f74\u65f6\u6bcf\u4e2atick\u7684\u6570\u503c\u3002"),(0,n.kt)("h2",{id:"axishandlert"},"AxisHandler","<","T",">"),(0,n.kt)("p",null,"class in XCharts / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponenthandler"},"MainComponentHandler")),(0,n.kt)("h3",{id:"axishandlertcomponent"},"AxisHandler","<","T",">",".component"),(0,n.kt)("p",null,"public T component "),(0,n.kt)("h2",{id:"axishelper"},"AxisHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"axishelperadjustcirclelabelpos"},"AxisHelper.AdjustCircleLabelPos"),(0,n.kt)("p",null,"public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset) "),(0,n.kt)("h3",{id:"axishelperadjustminmaxvalue"},"AxisHelper.AdjustMinMaxValue"),(0,n.kt)("p",null,"public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8c03\u6574\u6700\u5927\u6700\u5c0f\u503c"),(0,n.kt)("h3",{id:"axishelperadjustradiusaxislabelpos"},"AxisHelper.AdjustRadiusAxisLabelPos"),(0,n.kt)("p",null,"public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset) "),(0,n.kt)("h3",{id:"axishelpergetaxislinearrowoffset"},"AxisHelper.GetAxisLineArrowOffset"),(0,n.kt)("p",null,"public static float GetAxisLineArrowOffset(Axis axis)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5305\u542b\u7bad\u5934\u504f\u79fb\u7684\u8f74\u7ebf\u957f\u5ea6"),(0,n.kt)("h3",{id:"axishelpergetaxisposition"},"AxisHelper.GetAxisPosition"),(0,n.kt)("p",null,"public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"axishelpergetaxispositionvalue"},"AxisHelper.GetAxisPositionValue"),(0,n.kt)("p",null,"public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset) "),(0,n.kt)("h3",{id:"axishelpergetaxisvaluedistance"},"AxisHelper.GetAxisValueDistance"),(0,n.kt)("p",null,"public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6570\u503cvalue\u5728\u5750\u6807\u8f74\u4e0a\u76f8\u5bf9\u8d77\u70b9\u7684\u8ddd\u79bb"),(0,n.kt)("h3",{id:"axishelpergetaxisvaluelength"},"AxisHelper.GetAxisValueLength"),(0,n.kt)("p",null,"public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6570\u503cvalue\u5728\u5750\u6807\u8f74\u4e0a\u5bf9\u5e94\u7684\u957f\u5ea6"),(0,n.kt)("h3",{id:"axishelpergetaxisvalueposition"},"AxisHelper.GetAxisValuePosition"),(0,n.kt)("p",null,"public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6570\u503cvalue\u5728\u5750\u6807\u8f74\u4e0a\u7684\u5750\u6807\u4f4d\u7f6e"),(0,n.kt)("h3",{id:"axishelpergetaxisvaluesplitindex"},"AxisHelper.GetAxisValueSplitIndex"),(0,n.kt)("p",null,"public static int GetAxisValueSplitIndex(Axis axis, double value, bool checkMaxCache, int totalSplitNumber = -1)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6570\u503cvalue\u5728\u5750\u6807\u8f74\u4e0a\u5bf9\u5e94\u7684split\u7d22\u5f15"),(0,n.kt)("h3",{id:"axishelpergetaxisxory"},"AxisHelper.GetAxisXOrY"),(0,n.kt)("p",null,"public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis) "),(0,n.kt)("h3",{id:"axishelpergetdatawidth"},"AxisHelper.GetDataWidth"),(0,n.kt)("p",null,"public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u4e00\u4e2a\u7c7b\u76ee\u6570\u636e\u5728\u5750\u6807\u7cfb\u4e2d\u4ee3\u8868\u7684\u5bbd\u5ea6"),(0,n.kt)("h3",{id:"axishelpergeteachwidth"},"AxisHelper.GetEachWidth"),(0,n.kt)("p",null,"public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"axishelpergetscalenumber"},"AxisHelper.GetScaleNumber"),(0,n.kt)("p",null,"public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u5206\u5272\u7ebf\u6761\u6570"),(0,n.kt)("h3",{id:"axishelpergetscalewidth"},"AxisHelper.GetScaleWidth"),(0,n.kt)("p",null,"public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u5206\u5272\u6bb5\u5bbd\u5ea6"),(0,n.kt)("h3",{id:"axishelpergetsplitnumber"},"AxisHelper.GetSplitNumber"),(0,n.kt)("p",null,"public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u5206\u5272\u6bb5\u6570"),(0,n.kt)("h3",{id:"axishelpergettotalsplitgridnum"},"AxisHelper.GetTotalSplitGridNum"),(0,n.kt)("p",null,"public static int GetTotalSplitGridNum(Axis axis)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u5206\u5272\u7f51\u683c\u4e2a\u6570\uff0c\u5305\u542b\u6b21\u523b\u5ea6"),(0,n.kt)("h3",{id:"axishelpergetxaxisxory"},"AxisHelper.GetXAxisXOrY"),(0,n.kt)("p",null,"public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis) "),(0,n.kt)("h3",{id:"axishelpergetyaxisxory"},"AxisHelper.GetYAxisXOrY"),(0,n.kt)("p",null,"public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis) "),(0,n.kt)("h3",{id:"axishelperneedshowsplit"},"AxisHelper.NeedShowSplit"),(0,n.kt)("p",null,"public static bool NeedShowSplit(Axis axis) "),(0,n.kt)("h2",{id:"axislabel"},"AxisLabel"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u523b\u5ea6\u6807\u7b7e\u7684\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"axislabelcomponentdirty"},"AxisLabel.componentDirty"),(0,n.kt)("p",null,"public override bool componentDirty "),(0,n.kt)("h3",{id:"axislabelclearcomponentdirty"},"AxisLabel.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h3",{id:"axislabelclone"},"AxisLabel.Clone"),(0,n.kt)("p",null,"public new AxisLabel Clone() "),(0,n.kt)("h3",{id:"axislabelcopy"},"AxisLabel.Copy"),(0,n.kt)("p",null,"public void Copy(AxisLabel axisLabel) "),(0,n.kt)("h3",{id:"axislabelgetformattercontent"},"AxisLabel.GetFormatterContent"),(0,n.kt)("p",null,"public override string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false) "),(0,n.kt)("h3",{id:"axislabelisneedshowlabel"},"AxisLabel.IsNeedShowLabel"),(0,n.kt)("p",null,"public bool IsNeedShowLabel(int index, int total) "),(0,n.kt)("h3",{id:"axislabelsetrelatedtext"},"AxisLabel.SetRelatedText"),(0,n.kt)("p",null,"public void SetRelatedText(ChartText txt, float labelWidth) "),(0,n.kt)("h2",{id:"axisline"},"AxisLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u8f74\u7ebf\u3002"),(0,n.kt)("h3",{id:"axislineclone"},"AxisLine.Clone"),(0,n.kt)("p",null,"public AxisLine Clone() "),(0,n.kt)("h3",{id:"axislinecopy"},"AxisLine.Copy"),(0,n.kt)("p",null,"public void Copy(AxisLine axisLine) "),(0,n.kt)("h2",{id:"axisminorsplitline"},"AxisMinorSplitLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5728 grid \u533a\u57df\u4e2d\u7684\u6b21\u5206\u9694\u7ebf\u3002\u6b21\u5206\u5272\u7ebf\u4f1a\u5bf9\u9f50\u6b21\u523b\u5ea6\u7ebf minorTick\u3002"),(0,n.kt)("h3",{id:"axisminorsplitlineautocolor"},"AxisMinorSplitLine.autoColor"),(0,n.kt)("p",null,"public bool autoColor",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u52a8\u8bbe\u7f6e\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"axisminorsplitlinedistance"},"AxisMinorSplitLine.distance"),(0,n.kt)("p",null,"public float distance",(0,n.kt)("br",{parentName:"p"}),"\n","\u523b\u5ea6\u7ebf\u4e0e\u8f74\u7ebf\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"axisminorsplitlinevertsdirty"},"AxisMinorSplitLine.vertsDirty"),(0,n.kt)("p",null,"public override bool vertsDirty "),(0,n.kt)("h3",{id:"axisminorsplitlineclearverticesdirty"},"AxisMinorSplitLine.ClearVerticesDirty"),(0,n.kt)("p",null,"public override void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"axisminorsplitlineclone"},"AxisMinorSplitLine.Clone"),(0,n.kt)("p",null,"public AxisMinorSplitLine Clone() "),(0,n.kt)("h3",{id:"axisminorsplitlinecopy"},"AxisMinorSplitLine.Copy"),(0,n.kt)("p",null,"public void Copy(AxisMinorSplitLine splitLine) "),(0,n.kt)("h2",{id:"axisminortick"},"AxisMinorTick"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u6b21\u523b\u5ea6\u76f8\u5173\u8bbe\u7f6e\u3002\u6ce8\u610f\uff1a\u6b21\u523b\u5ea6\u65e0\u6cd5\u5728\u7c7b\u76ee\u8f74\u4e2d\u4f7f\u7528\u3002"),(0,n.kt)("h3",{id:"axisminortickautocolor"},"AxisMinorTick.autoColor"),(0,n.kt)("p",null,"public bool autoColor "),(0,n.kt)("h3",{id:"axisminortickvertsdirty"},"AxisMinorTick.vertsDirty"),(0,n.kt)("p",null,"public override bool vertsDirty "),(0,n.kt)("h3",{id:"axisminortickclearverticesdirty"},"AxisMinorTick.ClearVerticesDirty"),(0,n.kt)("p",null,"public override void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"axisminortickclone"},"AxisMinorTick.Clone"),(0,n.kt)("p",null,"public AxisMinorTick Clone() "),(0,n.kt)("h3",{id:"axisminortickcopy"},"AxisMinorTick.Copy"),(0,n.kt)("p",null,"public void Copy(AxisMinorTick axisTick) "),(0,n.kt)("h2",{id:"axisname"},"AxisName"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"axisnameclone"},"AxisName.Clone"),(0,n.kt)("p",null,"public AxisName Clone() "),(0,n.kt)("h3",{id:"axisnamecopy"},"AxisName.Copy"),(0,n.kt)("p",null,"public void Copy(AxisName axisName) "),(0,n.kt)("h2",{id:"axissplitarea"},"AxisSplitArea"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5728 grid \u533a\u57df\u4e2d\u7684\u5206\u9694\u533a\u57df\uff0c\u9ed8\u8ba4\u4e0d\u663e\u793a\u3002"),(0,n.kt)("h3",{id:"axissplitareaclone"},"AxisSplitArea.Clone"),(0,n.kt)("p",null,"public AxisSplitArea Clone() "),(0,n.kt)("h3",{id:"axissplitareacopy"},"AxisSplitArea.Copy"),(0,n.kt)("p",null,"public void Copy(AxisSplitArea splitArea) "),(0,n.kt)("h3",{id:"axissplitareagetcolor"},"AxisSplitArea.GetColor"),(0,n.kt)("p",null,"public Color32 GetColor(int index, BaseAxisTheme theme) "),(0,n.kt)("h2",{id:"axissplitline"},"AxisSplitLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5728 grid \u533a\u57df\u4e2d\u7684\u5206\u9694\u7ebf\u3002"),(0,n.kt)("h3",{id:"axissplitlineautocolor"},"AxisSplitLine.autoColor"),(0,n.kt)("p",null,"public bool autoColor",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u52a8\u8bbe\u7f6e\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"axissplitlinedistance"},"AxisSplitLine.distance"),(0,n.kt)("p",null,"public float distance",(0,n.kt)("br",{parentName:"p"}),"\n","\u523b\u5ea6\u7ebf\u4e0e\u8f74\u7ebf\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"axissplitlinevertsdirty"},"AxisSplitLine.vertsDirty"),(0,n.kt)("p",null,"public override bool vertsDirty "),(0,n.kt)("h3",{id:"axissplitlineclearverticesdirty"},"AxisSplitLine.ClearVerticesDirty"),(0,n.kt)("p",null,"public override void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"axissplitlineclone"},"AxisSplitLine.Clone"),(0,n.kt)("p",null,"public AxisSplitLine Clone() "),(0,n.kt)("h3",{id:"axissplitlinecopy"},"AxisSplitLine.Copy"),(0,n.kt)("p",null,"public void Copy(AxisSplitLine splitLine) "),(0,n.kt)("h2",{id:"axistheme"},"AxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h3",{id:"axisthemebasetheme"},"AxisTheme.base(theme)"),(0,n.kt)("p",null,"public AxisTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h3",{id:"axisthemeaxistheme"},"AxisTheme.AxisTheme"),(0,n.kt)("p",null,"public AxisTheme(ThemeType theme) : base(theme) { } "),(0,n.kt)("h2",{id:"axistick"},"AxisTick"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u523b\u5ea6\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"axistickautocolor"},"AxisTick.autoColor"),(0,n.kt)("p",null,"public bool autoColor "),(0,n.kt)("h3",{id:"axistickdistance"},"AxisTick.distance"),(0,n.kt)("p",null,"public float distance",(0,n.kt)("br",{parentName:"p"}),"\n","\u523b\u5ea6\u7ebf\u4e0e\u8f74\u7ebf\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"axistickclone"},"AxisTick.Clone"),(0,n.kt)("p",null,"public AxisTick Clone() "),(0,n.kt)("h3",{id:"axistickcopy"},"AxisTick.Copy"),(0,n.kt)("p",null,"public void Copy(AxisTick axisTick) "),(0,n.kt)("h2",{id:"background"},"Background"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u80cc\u666f\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"backgroundsetdefaultvalue"},"Background.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue() "),(0,n.kt)("h2",{id:"bar"},"Bar"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h3",{id:"barcontainerindex"},"Bar.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"barcontainterinstanceid"},"Bar.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h3",{id:"baradddefaultserie"},"Bar.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h3",{id:"barconvertserie"},"Bar.ConvertSerie"),(0,n.kt)("p",null,"public static Bar ConvertSerie(Serie serie) "),(0,n.kt)("h2",{id:"barchart"},"BarChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u67f1\u72b6\u56fe\uff08\u6216\u79f0\u6761\u5f62\u56fe\uff09\u662f\u4e00\u79cd\u901a\u8fc7\u67f1\u5f62\u7684\u9ad8\u5ea6\uff08\u6a2a\u5411\u7684\u60c5\u51b5\u4e0b\u5219\u662f\u5bbd\u5ea6\uff09\u6765\u8868\u73b0\u6570\u636e\u5927\u5c0f\u7684\u4e00\u79cd\u5e38\u7528\u56fe\u8868\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"barchartdefaultbarchart"},"BarChart.DefaultBarChart"),(0,n.kt)("p",null,"public void DefaultBarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u6761\u5f62\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultcapsulebarchart"},"BarChart.DefaultCapsuleBarChart"),(0,n.kt)("p",null,"public void DefaultCapsuleBarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u80f6\u56ca\u6761\u5f62\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultcapsulecolumnchart"},"BarChart.DefaultCapsuleColumnChart"),(0,n.kt)("p",null,"public void DefaultCapsuleColumnChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u80f6\u56ca\u67f1\u72b6\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultgroupedbarchart"},"BarChart.DefaultGroupedBarChart"),(0,n.kt)("p",null,"public void DefaultGroupedBarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5206\u7ec4\u6761\u5f62\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultgroupedcolumnchart"},"BarChart.DefaultGroupedColumnChart"),(0,n.kt)("p",null,"public void DefaultGroupedColumnChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5206\u7ec4\u67f1\u72b6\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultpercentbarchart"},"BarChart.DefaultPercentBarChart"),(0,n.kt)("p",null,"public void DefaultPercentBarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u767e\u5206\u6bd4\u6761\u5f62\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultpercentcolumnchart"},"BarChart.DefaultPercentColumnChart"),(0,n.kt)("p",null,"public void DefaultPercentColumnChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u767e\u5206\u6bd4\u67f1\u72b6\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultstackedbarchart"},"BarChart.DefaultStackedBarChart"),(0,n.kt)("p",null,"public void DefaultStackedBarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5806\u53e0\u6761\u5f62\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultstackedcolumnchart"},"BarChart.DefaultStackedColumnChart"),(0,n.kt)("p",null,"public void DefaultStackedColumnChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5806\u53e0\u5206\u7ec4\u67f1\u72b6\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultzebrabarchart"},"BarChart.DefaultZebraBarChart"),(0,n.kt)("p",null,"public void DefaultZebraBarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u6591\u9a6c\u6761\u5f62\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultzebracolumnchart"},"BarChart.DefaultZebraColumnChart"),(0,n.kt)("p",null,"public void DefaultZebraColumnChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6591\u9a6c\u67f1\u72b6\u56fe\u3002"),(0,n.kt)("h2",{id:"bartype"},"BarType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u67f1\u72b6\u56fe\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Normal"),": \u666e\u901a\u67f1\u5f62\u56fe\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Zebra"),": \u6591\u9a6c\u67f1\u5f62\u56fe\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Capsule"),": \u80f6\u56ca\u67f1\u5f62\u56fe\u3002")),(0,n.kt)("h2",{id:"baseaxistheme"},"BaseAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axistheme"},"AxisTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#radiusaxistheme"},"RadiusAxisTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#angleaxistheme"},"AngleAxisTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#polaraxistheme"},"PolarAxisTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#radaraxistheme"},"RadarAxisTheme")," "),(0,n.kt)("h3",{id:"baseaxisthemebaseaxistheme"},"BaseAxisTheme.BaseAxisTheme"),(0,n.kt)("p",null,"public BaseAxisTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h3",{id:"baseaxisthemecopy"},"BaseAxisTheme.Copy"),(0,n.kt)("p",null,"public void Copy(BaseAxisTheme theme) "),(0,n.kt)("h2",{id:"basechart"},"BaseChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basegraph"},"BaseGraph"),",",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=iserializationcallbackreceiver"},"ISerializationCallbackReceiver")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#barchart"},"BarChart"),",",(0,n.kt)("a",{parentName:"p",href:"#candlestickchart"},"CandlestickChart"),",",(0,n.kt)("a",{parentName:"p",href:"#heatmapchart"},"HeatmapChart"),",",(0,n.kt)("a",{parentName:"p",href:"#linechart"},"LineChart"),",",(0,n.kt)("a",{parentName:"p",href:"#parallelchart"},"ParallelChart"),",",(0,n.kt)("a",{parentName:"p",href:"#piechart"},"PieChart"),",",(0,n.kt)("a",{parentName:"p",href:"#polarchart"},"PolarChart"),",",(0,n.kt)("a",{parentName:"p",href:"#radarchart"},"RadarChart"),",",(0,n.kt)("a",{parentName:"p",href:"#ringchart"},"RingChart"),",",(0,n.kt)("a",{parentName:"p",href:"#scatterchart"},"ScatterChart"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedbarchart"},"SimplifiedBarChart"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedcandlestickchart"},"SimplifiedCandlestickChart"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedlinechart"},"SimplifiedLineChart")," "),(0,n.kt)("h3",{id:"basechartaxis"},"BaseChart.axis)"),(0,n.kt)("p",null,"public virtual void InitAxisRuntimeData(Axis axis) "),(0,n.kt)("h3",{id:"basechartchartheight"},"BaseChart.chartHeight"),(0,n.kt)("p",null,"public float chartHeight",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u7684\u9ad8"),(0,n.kt)("h3",{id:"basechartcharthideflags"},"BaseChart.chartHideFlags"),(0,n.kt)("p",null,"public override HideFlags chartHideFlags "),(0,n.kt)("h3",{id:"basechartchartmaxanchor"},"BaseChart.chartMaxAnchor"),(0,n.kt)("p",null,"public Vector2 chartMaxAnchor "),(0,n.kt)("h3",{id:"basechartchartminanchor"},"BaseChart.chartMinAnchor"),(0,n.kt)("p",null,"public Vector2 chartMinAnchor "),(0,n.kt)("h3",{id:"basechartchartpivot"},"BaseChart.chartPivot"),(0,n.kt)("p",null,"public Vector2 chartPivot "),(0,n.kt)("h3",{id:"basechartchartposition"},"BaseChart.chartPosition"),(0,n.kt)("p",null,"public Vector3 chartPosition",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u7684\u5de6\u4e0b\u89d2\u8d77\u59cb\u5750\u6807\u3002"),(0,n.kt)("h3",{id:"basechartchartrect"},"BaseChart.chartRect"),(0,n.kt)("p",null,"public Rect chartRect "),(0,n.kt)("h3",{id:"basechartchartsizedelta"},"BaseChart.chartSizeDelta"),(0,n.kt)("p",null,"public Vector2 chartSizeDelta "),(0,n.kt)("h3",{id:"basechartchartwidth"},"BaseChart.chartWidth"),(0,n.kt)("p",null,"public float chartWidth",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u7684\u5bbd"),(0,n.kt)("h3",{id:"basechartchartx"},"BaseChart.chartX"),(0,n.kt)("p",null,"public float chartX",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u7684X"),(0,n.kt)("h3",{id:"basechartcharty"},"BaseChart.chartY"),(0,n.kt)("p",null,"public float chartY",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u7684Y"),(0,n.kt)("h3",{id:"basechartcomponents"},"BaseChart.components"),(0,n.kt)("p",null,"public List","<","MainComponent",">"," components "),(0,n.kt)("h3",{id:"basechartcustomdrawgaugepointerfunction"},"BaseChart.customDrawGaugePointerFunction"),(0,n.kt)("p",null,"public CustomDrawGaugePointerFunction customDrawGaugePointerFunction",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49\u4eea\u8868\u76d8\u6307\u9488\u7ed8\u5236\u59d4\u6258\u3002"),(0,n.kt)("h3",{id:"basechartdebug"},"BaseChart.debug"),(0,n.kt)("p",null,"public DebugInfo debug "),(0,n.kt)("h3",{id:"basechartonaxispointervaluechanged"},"BaseChart.onAxisPointerValueChanged"),(0,n.kt)("p",null,"public Action","<","Axis, double",">"," onAxisPointerValueChanged",(0,n.kt)("br",{parentName:"p"}),"\n","\u5750\u6807\u8f74\u53d8\u66f4\u6570\u636e\u7d22\u5f15\u65f6\u56de\u8c03\u3002\u53c2\u6570\uff1aaxis, dataIndex/dataValue"),(0,n.kt)("h3",{id:"basechartondraw"},"BaseChart.onDraw"),(0,n.kt)("p",null,"public Action","<","VertexHelper",">"," onDraw",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49\u7ed8\u5236\u56de\u8c03\u3002\u5728\u7ed8\u5236Serie\u524d\u8c03\u7528\u3002"),(0,n.kt)("h3",{id:"basechartondrawafterserie"},"BaseChart.onDrawAfterSerie"),(0,n.kt)("p",null,"public Action","<","VertexHelper, Serie",">"," onDrawAfterSerie",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49Serie\u7ed8\u5236\u56de\u8c03\u3002\u5728\u6bcf\u4e2aSerie\u7ed8\u5236\u5b8c\u540e\u8c03\u7528\u3002"),(0,n.kt)("h3",{id:"basechartondrawbeforeserie"},"BaseChart.onDrawBeforeSerie"),(0,n.kt)("p",null,"public Action","<","VertexHelper, Serie",">"," onDrawBeforeSerie",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49Serie\u7ed8\u5236\u56de\u8c03\u3002\u5728\u6bcf\u4e2aSerie\u7ed8\u5236\u5b8c\u524d\u8c03\u7528\u3002"),(0,n.kt)("h3",{id:"basechartondrawtop"},"BaseChart.onDrawTop"),(0,n.kt)("p",null,"public Action","<","VertexHelper",">"," onDrawTop",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49Top\u5c42\u7ed8\u5236\u56de\u8c03\u3002\u5728\u7ed8\u5236Tooltip\u524d\u8c03\u7528\u3002"),(0,n.kt)("h3",{id:"basechartondrawupper"},"BaseChart.onDrawUpper"),(0,n.kt)("p",null,"public Action","<","VertexHelper",">"," onDrawUpper",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49Upper\u5c42\u7ed8\u5236\u56de\u8c03\u3002\u5728\u7ed8\u5236Tooltip\u524d\u8c03\u7528\u3002"),(0,n.kt)("h3",{id:"basechartoninit"},"BaseChart.onInit"),(0,n.kt)("p",null,"public Action onInit",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u7684\u521d\u59cb\u5316\u5b8c\u6210\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basechartonlegendclick"},"BaseChart.onLegendClick"),(0,n.kt)("p",null,"public Action","<","Legend, int, string, bool",">"," onLegendClick",(0,n.kt)("br",{parentName:"p"}),"\n","\u70b9\u51fb\u56fe\u4f8b\u6309\u94ae\u56de\u8c03\u3002\u53c2\u6570\uff1alegendIndex, legendName, show"),(0,n.kt)("h3",{id:"basechartonlegendenter"},"BaseChart.onLegendEnter"),(0,n.kt)("p",null,"public Action","<","Legend, int, string",">"," onLegendEnter",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u8fdb\u5165\u56fe\u4f8b\u56de\u8c03\u3002\u53c2\u6570\uff1alegendIndex, legendName"),(0,n.kt)("h3",{id:"basechartonlegendexit"},"BaseChart.onLegendExit"),(0,n.kt)("p",null,"public Action","<","Legend, int, string",">"," onLegendExit",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u9000\u51fa\u56fe\u4f8b\u56de\u8c03\u3002\u53c2\u6570\uff1alegendIndex, legendName"),(0,n.kt)("h3",{id:"basechartonpointerclickbar"},"BaseChart.onPointerClickBar"),(0,n.kt)("p",null,"public Action","<","PointerEventData, int",">"," onPointerClickBar",(0,n.kt)("br",{parentName:"p"}),"\n","\u70b9\u51fb\u67f1\u5f62\u56fe\u67f1\u6761\u56de\u8c03\u3002\u53c2\u6570\uff1aeventData, dataIndex"),(0,n.kt)("h3",{id:"basechartonpointerclickpie"},"BaseChart.onPointerClickPie"),(0,n.kt)("p",null,"public Action","<","PointerEventData, int, int",">"," onPointerClickPie",(0,n.kt)("br",{parentName:"p"}),"\n","\u70b9\u51fb\u997c\u56fe\u533a\u57df\u56de\u8c03\u3002\u53c2\u6570\uff1aPointerEventData\uff0cSerieIndex\uff0cSerieDataIndex"),(0,n.kt)("h3",{id:"basechartonpointerenterpie"},"BaseChart.onPointerEnterPie"),(0,n.kt)("p",null,"public Action","<","int, int",">"," onPointerEnterPie",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u8fdb\u5165\u548c\u79bb\u5f00\u997c\u56fe\u533a\u57df\u56de\u8c03\uff0cSerieDataIndex\u4e3a-1\u65f6\u8868\u793a\u79bb\u5f00\u3002\u53c2\u6570\uff1aPointerEventData\uff0cSerieIndex\uff0cSerieDataIndex"),(0,n.kt)("h3",{id:"basechartonserieclick"},"BaseChart.onSerieClick"),(0,n.kt)("p",null,"public Action","<","SerieEventData",">"," onSerieClick "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u9f20\u6807\u70b9\u51fbSerie\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basechartonseriedown"},"BaseChart.onSerieDown"),(0,n.kt)("p",null,"public Action","<","SerieEventData",">"," onSerieDown "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u9f20\u6807\u6309\u4e0bSerie\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basechartonserieenter"},"BaseChart.onSerieEnter"),(0,n.kt)("p",null,"public Action","<","SerieEventData",">"," onSerieEnter "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u9f20\u6807\u8fdb\u5165Serie\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basechartonserieexit"},"BaseChart.onSerieExit"),(0,n.kt)("p",null,"public Action","<","SerieEventData",">"," onSerieExit "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u9f20\u6807\u79bb\u5f00Serie\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basechartonupdate"},"BaseChart.onUpdate"),(0,n.kt)("p",null,"public Action onUpdate",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u7684Update\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basechartseries"},"BaseChart.series"),(0,n.kt)("p",null,"public List","<","Serie",">"," series "),(0,n.kt)("h3",{id:"basechartsettings"},"BaseChart.settings"),(0,n.kt)("p",null,"public Settings settings",(0,n.kt)("br",{parentName:"p"}),"\n","\u5168\u5c40\u8bbe\u7f6e\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"basecharttheme"},"BaseChart.theme"),(0,n.kt)("p",null,"public ThemeStyle theme "),(0,n.kt)("h3",{id:"basecharttypelistforcomponent"},"BaseChart.typeListForComponent"),(0,n.kt)("p",null,"public Dictionary","<","Type, FieldInfo",">"," typeListForComponent "),(0,n.kt)("h3",{id:"basecharttypelistforserie"},"BaseChart.typeListForSerie"),(0,n.kt)("p",null,"public Dictionary","<","Type, FieldInfo",">"," typeListForSerie "),(0,n.kt)("h3",{id:"basechartaddchartcomponent"},"BaseChart.AddChartComponent"),(0,n.kt)("p",null,"public MainComponent AddChartComponent(Type type) "),(0,n.kt)("h3",{id:"basechartaddchartcomponentt"},"BaseChart.AddChartComponent","<","T",">"),(0,n.kt)("p",null,"public T AddChartComponent","<","T",">","() where T : MainComponent "),(0,n.kt)("h3",{id:"basechartaddchartcomponentwhennoexistt"},"BaseChart.AddChartComponentWhenNoExist","<","T",">"),(0,n.kt)("p",null,"public T AddChartComponentWhenNoExist","<","T",">","() where T : MainComponent "),(0,n.kt)("h3",{id:"basechartadddata"},"BaseChart.AddData"),(0,n.kt)("p",null,"public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\uff08time,y\uff09\u6570\u636e\u5230\u6307\u5b9a\u7684\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("p",null,"public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4e00\u4e2a\u6570\u636e\u5230\u6307\u5b9a\u7684\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("p",null,"public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null) "),(0,n.kt)("p",null,"public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\uff08x,y\uff09\u6570\u636e\u5230\u6307\u5b9a\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("p",null,"public SerieData AddData(int serieIndex, List","<","double",">"," multidimensionalData, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u591a\u7ef4\u6570\u636e\uff08x,y,z...\uff09\u5230\u6307\u5b9a\u7684\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("p",null,"public SerieData AddData(int serieIndex, params double[] multidimensionalData)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u591a\u7ef4\u6570\u636e\uff08x,y,z...\uff09\u5230\u6307\u5b9a\u7684\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("p",null,"public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\uff08time,y\uff09\u6570\u636e\u5230\u6307\u5b9a\u7684\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("p",null,"public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null) "),(0,n.kt)("p",null,"public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\uff08x,y\uff09\u6570\u636e\u5230\u6307\u5b9a\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("p",null,"public SerieData AddData(string serieName, List","<","double",">"," multidimensionalData, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u591a\u7ef4\u6570\u636e\uff08x,y,z...\uff09\u5230\u6307\u5b9a\u7684\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("p",null,"public SerieData AddData(string serieName, params double[] multidimensionalData)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u591a\u7ef4\u6570\u636e\uff08x,y,z...\uff09\u5230\u6307\u5b9a\u7684\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("h3",{id:"basechartaddlink"},"BaseChart.AddLink"),(0,n.kt)("p",null,"public SerieDataLink AddLink(int serieIndex, string sourceId, string targetId, double value = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4e00\u4e2a\u5173\u7cfb\u56fe\u7684\u5173\u7cfb\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"basechartaddseriet"},"BaseChart.AddSerie","<","T",">"),(0,n.kt)("p",null,"public T AddSerie","<","T",">","(string serieName = null, bool show = true, bool addToHead = false) where T : Serie "),(0,n.kt)("h3",{id:"basechartaddxaxisdata"},"BaseChart.AddXAxisData"),(0,n.kt)("p",null,"public void AddXAxisData(string category, int xAxisIndex = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4e00\u4e2a\u7c7b\u76ee\u6570\u636e\u5230\u6307\u5b9a\u7684x\u8f74\u3002"),(0,n.kt)("h3",{id:"basechartaddxaxisicon"},"BaseChart.AddXAxisIcon"),(0,n.kt)("p",null,"public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4e00\u4e2a\u56fe\u6807\u5230\u6307\u5b9a\u7684x\u8f74\u3002"),(0,n.kt)("h3",{id:"basechartaddyaxisdata"},"BaseChart.AddYAxisData"),(0,n.kt)("p",null,"public void AddYAxisData(string category, int yAxisIndex = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4e00\u4e2a\u7c7b\u76ee\u6570\u636e\u5230\u6307\u5b9a\u7684y\u8f74\u3002"),(0,n.kt)("h3",{id:"basechartaddyaxisicon"},"BaseChart.AddYAxisIcon"),(0,n.kt)("p",null,"public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4e00\u4e2a\u56fe\u6807\u5230\u6307\u5b9a\u7684y\u8f74\u3002"),(0,n.kt)("h3",{id:"basechartanimationenable"},"BaseChart.AnimationEnable"),(0,n.kt)("p",null,"public void AnimationEnable(bool flag)",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u542f\u7528Serie\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"basechartanimationfadein"},"BaseChart.AnimationFadeIn"),(0,n.kt)("p",null,"public void AnimationFadeIn(bool reset = true)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f00\u59cb\u6240\u6709Serie\u7684\u6e10\u5165\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"basechartanimationfadeout"},"BaseChart.AnimationFadeOut"),(0,n.kt)("p",null,"public void AnimationFadeOut()",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f00\u59cb\u6240\u6709Serie\u7684\u6e10\u51fa\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"basechartanimationpause"},"BaseChart.AnimationPause"),(0,n.kt)("p",null,"public void AnimationPause()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6682\u505c\u6240\u6709Serie\u7684\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"basechartanimationreset"},"BaseChart.AnimationReset"),(0,n.kt)("p",null,"public void AnimationReset()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u7f6e\u6240\u6709Serie\u7684\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"basechartanimationresume"},"BaseChart.AnimationResume"),(0,n.kt)("p",null,"public void AnimationResume()",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ee7\u7eed\u6240\u6709Serie\u7684\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"basechartcanaddchartcomponent"},"BaseChart.CanAddChartComponent"),(0,n.kt)("p",null,"public bool CanAddChartComponent(Type type) "),(0,n.kt)("h3",{id:"basechartcanaddserie"},"BaseChart.CanAddSerie"),(0,n.kt)("p",null,"public bool CanAddSerie(Type type) "),(0,n.kt)("h3",{id:"basechartcanaddseriet"},"BaseChart.CanAddSerie","<","T",">"),(0,n.kt)("p",null,"public bool CanAddSerie","<","T",">","() where T : Serie "),(0,n.kt)("h3",{id:"basechartcanceltooltip"},"BaseChart.CancelTooltip"),(0,n.kt)("p",null,"public void CancelTooltip() "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u53d6\u6d88Tooltip."),(0,n.kt)("h3",{id:"basechartcanmultiplecomponent"},"BaseChart.CanMultipleComponent"),(0,n.kt)("p",null,"public bool CanMultipleComponent(Type type) "),(0,n.kt)("h3",{id:"basechartclampinchart"},"BaseChart.ClampInChart"),(0,n.kt)("p",null,"public void ClampInChart(ref Vector3 pos) "),(0,n.kt)("h3",{id:"basechartclampingrid"},"BaseChart.ClampInGrid"),(0,n.kt)("p",null,"public Vector3 ClampInGrid(GridCoord grid, Vector3 pos) "),(0,n.kt)("h3",{id:"basechartclearcomponentdata"},"BaseChart.ClearComponentData"),(0,n.kt)("p",null,"public virtual void ClearComponentData() "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.4.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6e05\u7a7a\u6240\u6709\u7ec4\u4ef6\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"basechartcleardata"},"BaseChart.ClearData"),(0,n.kt)("p",null,"public virtual void ClearData()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e05\u7a7a\u6240\u6709\u7ec4\u4ef6\u548cSerie\u7684\u6570\u636e\u3002\u6ce8\u610f\uff1aSerie\u53ea\u662f\u6e05\u7a7a\u6570\u636e\uff0c\u4e0d\u4f1a\u79fb\u9664Serie\u3002"),(0,n.kt)("h3",{id:"basechartclearseriedata"},"BaseChart.ClearSerieData"),(0,n.kt)("p",null,"public virtual void ClearSerieData() "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.4.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6e05\u7a7a\u6240\u6709serie\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"basechartclearserielinks"},"BaseChart.ClearSerieLinks"),(0,n.kt)("p",null,"public virtual void ClearSerieLinks() "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6e05\u7a7a\u6240\u6709serie\u7684link\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"basechartclicklegendbutton"},"BaseChart.ClickLegendButton"),(0,n.kt)("p",null,"public void ClickLegendButton(int legendIndex, string legendName, bool show)",(0,n.kt)("br",{parentName:"p"}),"\n","\u70b9\u51fb\u56fe\u4f8b\u6309\u94ae"),(0,n.kt)("h3",{id:"basechartconvertserie"},"BaseChart.ConvertSerie"),(0,n.kt)("p",null,"public bool ConvertSerie(Serie serie, Type type) "),(0,n.kt)("h3",{id:"basechartconvertseriet"},"BaseChart.ConvertSerie","<","T",">"),(0,n.kt)("p",null,"public bool ConvertSerie","<","T",">","(Serie serie) where T : Serie "),(0,n.kt)("h3",{id:"basechartconvertxyaxis"},"BaseChart.ConvertXYAxis"),(0,n.kt)("p",null,"public void ConvertXYAxis(int index)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8f6c\u6362X\u8f74\u548cY\u8f74\u7684\u914d\u7f6e"),(0,n.kt)("h3",{id:"basechartensurechartcomponentt"},"BaseChart.EnsureChartComponent","<","T",">"),(0,n.kt)("p",null,"public T EnsureChartComponent","<","T",">","() where T : MainComponent "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u786e\u4fdd\u56fe\u8868\u6709\u8be5\u7ec4\u4ef6\uff0c\u5982\u679c\u6ca1\u6709\u5219\u6dfb\u52a0\u3002\u6ce8\u610f\uff1a\u6709\u53ef\u80fd\u6dfb\u52a0\u4e0d\u6210\u529f\u3002"),(0,n.kt)("h3",{id:"basechartgeneratedefaultseriename"},"BaseChart.GenerateDefaultSerieName"),(0,n.kt)("p",null,"public string GenerateDefaultSerieName() "),(0,n.kt)("h3",{id:"basechartgetallseriedatacount"},"BaseChart.GetAllSerieDataCount"),(0,n.kt)("p",null,"public int GetAllSerieDataCount() "),(0,n.kt)("h3",{id:"basechartgetchartbackgroundcolor"},"BaseChart.GetChartBackgroundColor"),(0,n.kt)("p",null,"public Color32 GetChartBackgroundColor() "),(0,n.kt)("h3",{id:"basechartgetchartcomponentt"},"BaseChart.GetChartComponent","<","T",">"),(0,n.kt)("p",null,"public T GetChartComponent","<","T",">","(int index = 0) where T : MainComponent "),(0,n.kt)("h3",{id:"basechartgetchartcomponentnum"},"BaseChart.GetChartComponentNum"),(0,n.kt)("p",null,"public int GetChartComponentNum(Type type) "),(0,n.kt)("h3",{id:"basechartgetchartcomponentnumt"},"BaseChart.GetChartComponentNum","<","T",">"),(0,n.kt)("p",null,"public int GetChartComponentNum","<","T",">","() where T : MainComponent "),(0,n.kt)("h3",{id:"basechartgetchartcomponentst"},"BaseChart.GetChartComponents","<","T",">"),(0,n.kt)("p",null,"public List","<","MainComponent",">"," GetChartComponents","<","T",">","() where T : MainComponent "),(0,n.kt)("h3",{id:"basechartgetdata"},"BaseChart.GetData"),(0,n.kt)("p",null,"public double GetData(int serieIndex, int dataIndex, int dimension = 1) "),(0,n.kt)("h3",{id:"basechartgetdatazoomofaxis"},"BaseChart.GetDataZoomOfAxis"),(0,n.kt)("p",null,"public DataZoom GetDataZoomOfAxis(Axis axis) "),(0,n.kt)("h3",{id:"basechartgetdatazoomofserie"},"BaseChart.GetDataZoomOfSerie"),(0,n.kt)("p",null,"public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom) "),(0,n.kt)("h3",{id:"basechartgetgrid"},"BaseChart.GetGrid"),(0,n.kt)("p",null,"public GridCoord GetGrid(Vector2 local) "),(0,n.kt)("h3",{id:"basechartgetgridofdatazoom"},"BaseChart.GetGridOfDataZoom"),(0,n.kt)("p",null,"public GridCoord GetGridOfDataZoom(DataZoom dataZoom) "),(0,n.kt)("h3",{id:"basechartgetitemcolor"},"BaseChart.GetItemColor"),(0,n.kt)("p",null,"public Color32 GetItemColor(Serie serie) "),(0,n.kt)("p",null,"public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex) "),(0,n.kt)("h3",{id:"basechartgetlegendrealshownamecolor"},"BaseChart.GetLegendRealShowNameColor"),(0,n.kt)("p",null,"public Color32 GetLegendRealShowNameColor(string name) "),(0,n.kt)("h3",{id:"basechartgetlegendrealshownameindex"},"BaseChart.GetLegendRealShowNameIndex"),(0,n.kt)("p",null,"public int GetLegendRealShowNameIndex(string name) "),(0,n.kt)("h3",{id:"basechartgetmarkcolor"},"BaseChart.GetMarkColor"),(0,n.kt)("p",null,"public Color32 GetMarkColor(Serie serie, SerieData serieData) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.4.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u83b7\u5f97Serie\u7684\u6807\u8bc6\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"basechartgetoraddchartcomponentt"},"BaseChart.GetOrAddChartComponent","<","T",">"),(0,n.kt)("p",null,"public T GetOrAddChartComponent","<","T",">","() where T : MainComponent "),(0,n.kt)("h3",{id:"basechartgetpainter"},"BaseChart.GetPainter"),(0,n.kt)("p",null,"public Painter GetPainter(int index) "),(0,n.kt)("h3",{id:"basechartgetserie"},"BaseChart.GetSerie"),(0,n.kt)("p",null,"public Serie GetSerie(int serieIndex) "),(0,n.kt)("h3",{id:"basechartgetseriet"},"BaseChart.GetSerie","<","T",">"),(0,n.kt)("p",null,"public T GetSerie","<","T",">","(int serieIndex) where T : Serie "),(0,n.kt)("h3",{id:"basechartgetseriebargapt"},"BaseChart.GetSerieBarGap","<","T",">"),(0,n.kt)("p",null,"public float GetSerieBarGap","<","T",">","() where T : Serie "),(0,n.kt)("h3",{id:"basechartgetseriebarrealcountt"},"BaseChart.GetSerieBarRealCount","<","T",">"),(0,n.kt)("p",null,"public int GetSerieBarRealCount","<","T",">","() where T : Serie "),(0,n.kt)("h3",{id:"basechartgetserieindexifstackt"},"BaseChart.GetSerieIndexIfStack","<","T",">"),(0,n.kt)("p",null,"public int GetSerieIndexIfStack","<","T",">","(Serie currSerie) where T : Serie "),(0,n.kt)("h3",{id:"basechartgetseriesamestacktotalvaluet"},"BaseChart.GetSerieSameStackTotalValue","<","T",">"),(0,n.kt)("p",null,"public double GetSerieSameStackTotalValue","<","T",">","(string stack, int dataIndex) where T : Serie "),(0,n.kt)("h3",{id:"basechartgetseriesminmaxvalue"},"BaseChart.GetSeriesMinMaxValue"),(0,n.kt)("p",null,"public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue) "),(0,n.kt)("h3",{id:"basechartgetserietotalgapt"},"BaseChart.GetSerieTotalGap","<","T",">"),(0,n.kt)("p",null,"public float GetSerieTotalGap","<","T",">","(float categoryWidth, float gap, int index) where T : Serie "),(0,n.kt)("h3",{id:"basechartgetserietotalwidtht"},"BaseChart.GetSerieTotalWidth","<","T",">"),(0,n.kt)("p",null,"public float GetSerieTotalWidth","<","T",">","(float categoryWidth, float gap, int realBarCount) where T : Serie "),(0,n.kt)("h3",{id:"basechartgettitleposition"},"BaseChart.GetTitlePosition"),(0,n.kt)("p",null,"public Vector3 GetTitlePosition(Title title) "),(0,n.kt)("h3",{id:"basechartgetvisualmapofserie"},"BaseChart.GetVisualMapOfSerie"),(0,n.kt)("p",null,"public VisualMap GetVisualMapOfSerie(Serie serie) "),(0,n.kt)("h3",{id:"basechartgetxdatazoomofserie"},"BaseChart.GetXDataZoomOfSerie"),(0,n.kt)("p",null,"public DataZoom GetXDataZoomOfSerie(Serie serie) "),(0,n.kt)("h3",{id:"basechartgetxlerpcolor"},"BaseChart.GetXLerpColor"),(0,n.kt)("p",null,"public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid) "),(0,n.kt)("h3",{id:"basechartgetylerpcolor"},"BaseChart.GetYLerpColor"),(0,n.kt)("p",null,"public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid) "),(0,n.kt)("h3",{id:"basecharthaschartcomponent"},"BaseChart.HasChartComponent"),(0,n.kt)("p",null,"public bool HasChartComponent(Type type) "),(0,n.kt)("h3",{id:"basecharthaschartcomponentt"},"BaseChart.HasChartComponent","<","T",">"),(0,n.kt)("p",null,"public bool HasChartComponent","<","T",">","() "),(0,n.kt)("h3",{id:"basecharthasserie"},"BaseChart.HasSerie"),(0,n.kt)("p",null,"public bool HasSerie(Type type) "),(0,n.kt)("h3",{id:"basecharthasseriet"},"BaseChart.HasSerie","<","T",">"),(0,n.kt)("p",null,"public bool HasSerie","<","T",">","() where T : Serie "),(0,n.kt)("h3",{id:"basechartinit"},"BaseChart.Init"),(0,n.kt)("p",null,"public void Init(bool defaultChart = true) "),(0,n.kt)("h3",{id:"basechartinitaxisruntimedata"},"BaseChart.InitAxisRuntimeData"),(0,n.kt)("p",null,"public virtual void InitAxisRuntimeData(Axis axis) { } "),(0,n.kt)("h3",{id:"basechartinsertserie"},"BaseChart.InsertSerie"),(0,n.kt)("p",null,"public void InsertSerie(Serie serie, int index = -1, bool addToHead = false) "),(0,n.kt)("h3",{id:"basechartinsertseriet"},"BaseChart.InsertSerie","<","T",">"),(0,n.kt)("p",null,"public T InsertSerie","<","T",">","(int index, string serieName = null, bool show = true) where T : Serie "),(0,n.kt)("h3",{id:"basechartinternal_checkanimation"},"BaseChart.Internal_CheckAnimation"),(0,n.kt)("p",null,"public void Internal_CheckAnimation() "),(0,n.kt)("h3",{id:"basechartisactivebylegend"},"BaseChart.IsActiveByLegend"),(0,n.kt)("p",null,"public virtual bool IsActiveByLegend(string legendName)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6307\u5b9a\u56fe\u4f8b\u540d\u5b57\u7684\u7cfb\u5217\u662f\u5426\u663e\u793a\u3002"),(0,n.kt)("h3",{id:"basechartisallaxiscategory"},"BaseChart.IsAllAxisCategory"),(0,n.kt)("p",null,"public bool IsAllAxisCategory()",(0,n.kt)("br",{parentName:"p"}),"\n","\u7eaf\u7c7b\u76ee\u8f74\u3002"),(0,n.kt)("h3",{id:"basechartisallaxisvalue"},"BaseChart.IsAllAxisValue"),(0,n.kt)("p",null,"public bool IsAllAxisValue()",(0,n.kt)("br",{parentName:"p"}),"\n","\u7eaf\u6570\u503c\u5750\u6807\u8f74\uff08\u6570\u503c\u8f74\u6216\u5bf9\u6570\u8f74\uff09\u3002"),(0,n.kt)("h3",{id:"basechartisinanygrid"},"BaseChart.IsInAnyGrid"),(0,n.kt)("p",null,"public bool IsInAnyGrid(Vector2 local) "),(0,n.kt)("h3",{id:"basechartisinchart"},"BaseChart.IsInChart"),(0,n.kt)("p",null,"public bool IsInChart(float x, float y) "),(0,n.kt)("h3",{id:"basechartisseriename"},"BaseChart.IsSerieName"),(0,n.kt)("p",null,"public bool IsSerieName(string name) "),(0,n.kt)("h3",{id:"basechartmovedownserie"},"BaseChart.MoveDownSerie"),(0,n.kt)("p",null,"public bool MoveDownSerie(int serieIndex) "),(0,n.kt)("h3",{id:"basechartmoveupserie"},"BaseChart.MoveUpSerie"),(0,n.kt)("p",null,"public bool MoveUpSerie(int serieIndex) "),(0,n.kt)("h3",{id:"basechartonafterdeserialize"},"BaseChart.OnAfterDeserialize"),(0,n.kt)("p",null,"public void OnAfterDeserialize() "),(0,n.kt)("h3",{id:"basechartonbeforeserialize"},"BaseChart.OnBeforeSerialize"),(0,n.kt)("p",null,"public void OnBeforeSerialize() "),(0,n.kt)("h3",{id:"basechartonbegindrag"},"BaseChart.OnBeginDrag"),(0,n.kt)("p",null,"public override void OnBeginDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basechartondatazoomrangechanged"},"BaseChart.OnDataZoomRangeChanged"),(0,n.kt)("p",null,"public virtual void OnDataZoomRangeChanged(DataZoom dataZoom) "),(0,n.kt)("h3",{id:"basechartondrag"},"BaseChart.OnDrag"),(0,n.kt)("p",null,"public override void OnDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basechartonenddrag"},"BaseChart.OnEndDrag"),(0,n.kt)("p",null,"public override void OnEndDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basechartonlegendbuttonclick"},"BaseChart.OnLegendButtonClick"),(0,n.kt)("p",null,"public virtual void OnLegendButtonClick(int index, string legendName, bool show) "),(0,n.kt)("h3",{id:"basechartonlegendbuttonenter"},"BaseChart.OnLegendButtonEnter"),(0,n.kt)("p",null,"public virtual void OnLegendButtonEnter(int index, string legendName) "),(0,n.kt)("h3",{id:"basechartonlegendbuttonexit"},"BaseChart.OnLegendButtonExit"),(0,n.kt)("p",null,"public virtual void OnLegendButtonExit(int index, string legendName) "),(0,n.kt)("h3",{id:"basechartonpointerclick"},"BaseChart.OnPointerClick"),(0,n.kt)("p",null,"public override void OnPointerClick(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basechartonpointerdown"},"BaseChart.OnPointerDown"),(0,n.kt)("p",null,"public override void OnPointerDown(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basechartonpointerenter"},"BaseChart.OnPointerEnter"),(0,n.kt)("p",null,"public override void OnPointerEnter(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basechartonpointerexit"},"BaseChart.OnPointerExit"),(0,n.kt)("p",null,"public override void OnPointerExit(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basechartonpointerup"},"BaseChart.OnPointerUp"),(0,n.kt)("p",null,"public override void OnPointerUp(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basechartonscroll"},"BaseChart.OnScroll"),(0,n.kt)("p",null,"public override void OnScroll(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basechartrefreshbasepainter"},"BaseChart.RefreshBasePainter"),(0,n.kt)("p",null,"public void RefreshBasePainter() "),(0,n.kt)("h3",{id:"basechartrefreshchart"},"BaseChart.RefreshChart"),(0,n.kt)("p",null,"public void RefreshChart(int serieIndex)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5728\u4e0b\u4e00\u5e27\u5237\u65b0\u56fe\u8868\u7684\u6307\u5b9aserie\u3002"),(0,n.kt)("p",null,"public void RefreshChart(Serie serie)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5728\u4e0b\u4e00\u5e27\u5237\u65b0\u56fe\u8868\u7684\u6307\u5b9aserie\u3002"),(0,n.kt)("h3",{id:"basechartrefreshdatazoom"},"BaseChart.RefreshDataZoom"),(0,n.kt)("p",null,"public void RefreshDataZoom()",(0,n.kt)("br",{parentName:"p"}),"\n","\u5728\u4e0b\u4e00\u5e27\u5237\u65b0DataZoom"),(0,n.kt)("h3",{id:"basechartrefreshgraph"},"BaseChart.RefreshGraph"),(0,n.kt)("p",null,"public override void RefreshGraph() "),(0,n.kt)("h3",{id:"basechartrefreshpainter"},"BaseChart.RefreshPainter"),(0,n.kt)("p",null,"public void RefreshPainter(Serie serie) "),(0,n.kt)("h3",{id:"basechartrefreshtoppainter"},"BaseChart.RefreshTopPainter"),(0,n.kt)("p",null,"public void RefreshTopPainter() "),(0,n.kt)("h3",{id:"basechartrefreshupperpainter"},"BaseChart.RefreshUpperPainter"),(0,n.kt)("p",null,"public void RefreshUpperPainter() "),(0,n.kt)("h3",{id:"basechartremoveallchartcomponent"},"BaseChart.RemoveAllChartComponent"),(0,n.kt)("p",null,"public void RemoveAllChartComponent() "),(0,n.kt)("h3",{id:"basechartremoveallserie"},"BaseChart.RemoveAllSerie"),(0,n.kt)("p",null,"public virtual void RemoveAllSerie() "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u79fb\u9664\u6240\u6709\u7684Serie\u3002\u5f53\u786e\u8ba4\u53ea\u9700\u8981\u79fb\u9664Serie\u65f6\u4f7f\u7528\u8be5\u63a5\u53e3\uff0c\u5176\u4ed6\u60c5\u51b5\u4e0b\u4e00\u822c\u7528RemoveData()\u3002"),(0,n.kt)("h3",{id:"basechartremovechartcomponent"},"BaseChart.RemoveChartComponent"),(0,n.kt)("p",null,"public bool RemoveChartComponent(MainComponent component) "),(0,n.kt)("h3",{id:"basechartremovechartcomponentt"},"BaseChart.RemoveChartComponent","<","T",">"),(0,n.kt)("p",null,"public bool RemoveChartComponent","<","T",">","(int index = 0) "),(0,n.kt)("h3",{id:"basechartremovechartcomponents"},"BaseChart.RemoveChartComponents"),(0,n.kt)("p",null,"public int RemoveChartComponents(Type type) "),(0,n.kt)("h3",{id:"basechartremovechartcomponentst"},"BaseChart.RemoveChartComponents","<","T",">"),(0,n.kt)("p",null,"public int RemoveChartComponents","<","T",">","() "),(0,n.kt)("h3",{id:"basechartremovedata"},"BaseChart.RemoveData"),(0,n.kt)("p",null,"public virtual void RemoveData(string serieName)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e05\u9664\u6307\u5b9a\u7cfb\u5217\u540d\u79f0\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"basechartremoveserie"},"BaseChart.RemoveSerie"),(0,n.kt)("p",null,"public void RemoveSerie(int serieIndex) "),(0,n.kt)("p",null,"public void RemoveSerie(Serie serie) "),(0,n.kt)("h3",{id:"basechartremoveseriet"},"BaseChart.RemoveSerie","<","T",">"),(0,n.kt)("p",null,"public void RemoveSerie","<","T",">","() where T : Serie "),(0,n.kt)("h3",{id:"basechartreplaceserie"},"BaseChart.ReplaceSerie"),(0,n.kt)("p",null,"public bool ReplaceSerie(Serie oldSerie, Serie newSerie) "),(0,n.kt)("h3",{id:"basechartresetchartstatus"},"BaseChart.ResetChartStatus"),(0,n.kt)("p",null,"public void ResetChartStatus() "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u91cd\u7f6e\u56fe\u8868\u72b6\u6001\u3002\u5f53\u8bbe\u7f6e\u67d0\u4e9b\u53c2\u6570\u540e\uff0c\u7531\u4e8e\u52a8\u753b\u5f71\u54cd\uff0c\u53ef\u80fd\u5bfc\u81f4\u56fe\u8868\u72b6\u6001\u4e0d\u6b63\u786e\uff0c\u6b64\u65f6\u53ef\u4ee5\u8c03\u7528\u8be5\u63a5\u53e3\u91cd\u7f6e\u56fe\u8868\u72b6\u6001\u3002"),(0,n.kt)("h3",{id:"basechartresetdataindex"},"BaseChart.ResetDataIndex"),(0,n.kt)("p",null,"public bool ResetDataIndex(int serieIndex)",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u7f6eserie\u7684\u6570\u636e\u9879\u7d22\u5f15\u3002\u907f\u514d\u6570\u636e\u9879\u7d22\u5f15\u5f02\u5e38\u3002"),(0,n.kt)("h3",{id:"basechartsetbasepaintermaterial"},"BaseChart.SetBasePainterMaterial"),(0,n.kt)("p",null,"public void SetBasePainterMaterial(Material material)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6eBase Painter\u7684\u6750\u8d28\u7403"),(0,n.kt)("h3",{id:"basechartsetinsertdatatohead"},"BaseChart.SetInsertDataToHead"),(0,n.kt)("p",null,"public void SetInsertDataToHead(bool insertDataToHead) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u8bbe\u7f6e\u6570\u636e\u63d2\u5165\u5230\u5934\u90e8\u3002"),(0,n.kt)("h3",{id:"basechartsetmaxcache"},"BaseChart.SetMaxCache"),(0,n.kt)("p",null,"public void SetMaxCache(int maxCache)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6e\u53ef\u7f13\u5b58\u7684\u6700\u5927\u6570\u636e\u91cf\u3002\u5f53\u6570\u636e\u91cf\u8d85\u8fc7\u8be5\u503c\u65f6\uff0c\u4f1a\u81ea\u52a8\u5220\u9664\u7b2c\u4e00\u4e2a\u503c\u518d\u52a0\u5165\u6700\u65b0\u503c\u3002"),(0,n.kt)("h3",{id:"basechartsetpainteractive"},"BaseChart.SetPainterActive"),(0,n.kt)("p",null,"public void SetPainterActive(int index, bool flag) "),(0,n.kt)("h3",{id:"basechartsetserieactive"},"BaseChart.SetSerieActive"),(0,n.kt)("p",null,"public void SetSerieActive(int serieIndex, bool active)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6e\u6307\u5b9a\u7cfb\u5217\u662f\u5426\u663e\u793a\u3002"),(0,n.kt)("p",null,"public void SetSerieActive(Serie serie, bool active) "),(0,n.kt)("h3",{id:"basechartsetseriepaintermaterial"},"BaseChart.SetSeriePainterMaterial"),(0,n.kt)("p",null,"public void SetSeriePainterMaterial(Material material)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6eSerie Painter\u7684\u6750\u8d28\u7403"),(0,n.kt)("h3",{id:"basechartsettoppaintermaterial"},"BaseChart.SetTopPainterMaterial"),(0,n.kt)("p",null,"public void SetTopPainterMaterial(Material material)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6eTop Painter\u7684\u6750\u8d28\u7403"),(0,n.kt)("h3",{id:"basechartsetupperpaintermaterial"},"BaseChart.SetUpperPainterMaterial"),(0,n.kt)("p",null,"public void SetUpperPainterMaterial(Material material)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6eUpper Painter\u7684\u6750\u8d28\u7403"),(0,n.kt)("h3",{id:"basecharttriggertooltip"},"BaseChart.TriggerTooltip"),(0,n.kt)("p",null,"public bool TriggerTooltip(Vector3 localPosition) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5728\u6307\u5b9a\u7684\u4f4d\u7f6e\u5c1d\u8bd5\u89e6\u53d1Tooltip."),(0,n.kt)("h3",{id:"basecharttryaddchartcomponent"},"BaseChart.TryAddChartComponent"),(0,n.kt)("p",null,"public bool TryAddChartComponent(Type type) "),(0,n.kt)("h3",{id:"basecharttryaddchartcomponentt"},"BaseChart.TryAddChartComponent","<","T",">"),(0,n.kt)("p",null,"public bool TryAddChartComponent","<","T",">","(out T component) where T : MainComponent "),(0,n.kt)("h3",{id:"basecharttrygetchartcomponentt"},"BaseChart.TryGetChartComponent","<","T",">"),(0,n.kt)("p",null,"public bool TryGetChartComponent","<","T",">","(out T component, int index = 0) "),(0,n.kt)("h3",{id:"basechartupdatedata"},"BaseChart.UpdateData"),(0,n.kt)("p",null,"public bool UpdateData(int serieIndex, int dataIndex, double value)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u5b9a\u7cfb\u5217\u4e2d\u7684\u6307\u5b9a\u7d22\u5f15\u6570\u636e\u3002"),(0,n.kt)("p",null,"public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u5b9a\u7cfb\u5217\u6307\u5b9a\u7d22\u5f15\u6307\u5b9a\u7ef4\u6570\u7684\u6570\u636e\u3002\u7ef4\u6570\u4ece0\u5f00\u59cb\u3002"),(0,n.kt)("p",null,"public bool UpdateData(int serieIndex, int dataIndex, List","<","double",">"," multidimensionalData)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u5b9a\u7cfb\u5217\u6307\u5b9a\u7d22\u5f15\u7684\u6570\u636e\u9879\u7684\u591a\u7ef4\u6570\u636e\u3002"),(0,n.kt)("p",null,"public bool UpdateData(string serieName, int dataIndex, int dimension, double value)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u5b9a\u7cfb\u5217\u6307\u5b9a\u7d22\u5f15\u6307\u5b9a\u7ef4\u6570\u7684\u6570\u636e\u3002\u7ef4\u6570\u4ece0\u5f00\u59cb\u3002"),(0,n.kt)("p",null,"public bool UpdateData(string serieName, int dataIndex, List","<","double",">"," multidimensionalData)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u5b9a\u7cfb\u5217\u6307\u5b9a\u7d22\u5f15\u7684\u6570\u636e\u9879\u7684\u591a\u7ef4\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"basechartupdatedataname"},"BaseChart.UpdateDataName"),(0,n.kt)("p",null,"public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u5b9a\u7cfb\u5217\u4e2d\u7684\u6307\u5b9a\u7d22\u5f15\u6570\u636e\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"basechartupdatelegendcolor"},"BaseChart.UpdateLegendColor"),(0,n.kt)("p",null,"public virtual void UpdateLegendColor(string legendName, bool active) "),(0,n.kt)("h3",{id:"basechartupdatetheme"},"BaseChart.UpdateTheme"),(0,n.kt)("p",null,"public void UpdateTheme(Theme theme)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5207\u6362\u56fe\u8868\u4e3b\u9898\u3002"),(0,n.kt)("h3",{id:"basechartupdatexaxisdata"},"BaseChart.UpdateXAxisData"),(0,n.kt)("p",null,"public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0X\u8f74\u7c7b\u76ee\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"basechartupdatexaxisicon"},"BaseChart.UpdateXAxisIcon"),(0,n.kt)("p",null,"public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0X\u8f74\u56fe\u6807\u3002"),(0,n.kt)("h3",{id:"basechartupdateyaxisdata"},"BaseChart.UpdateYAxisData"),(0,n.kt)("p",null,"public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0Y\u8f74\u7c7b\u76ee\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"basechartupdateyaxisicon"},"BaseChart.UpdateYAxisIcon"),(0,n.kt)("p",null,"public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0Y\u8f74\u56fe\u6807\u3002"),(0,n.kt)("h2",{id:"basegraph"},"BaseGraph"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=maskablegraphic"},"MaskableGraphic"),",",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=ipointerdownhandler"},"IPointerDownHandler"),",",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=ipointeruphandler"},"IPointerUpHandler"),",",(0,n.kt)("a",{parentName:"p",href:"#"})," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart"),",",(0,n.kt)("a",{parentName:"p",href:"#uicomponent"},"UIComponent")," "),(0,n.kt)("h3",{id:"basegraphcharthideflags"},"BaseGraph.chartHideFlags"),(0,n.kt)("p",null,"public virtual HideFlags chartHideFlags "),(0,n.kt)("h3",{id:"basegraphclickpos"},"BaseGraph.clickPos"),(0,n.kt)("p",null,"public Vector2 clickPos "),(0,n.kt)("h3",{id:"basegraphforceopenraycasttarget"},"BaseGraph.forceOpenRaycastTarget"),(0,n.kt)("p",null,"public bool forceOpenRaycastTarget",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f3a\u5236\u5f00\u542f\u9f20\u6807\u4e8b\u4ef6\u68c0\u6d4b\u3002"),(0,n.kt)("h3",{id:"basegraphgraphanchoredposition"},"BaseGraph.graphAnchoredPosition"),(0,n.kt)("p",null,"public Vector2 graphAnchoredPosition "),(0,n.kt)("h3",{id:"basegraphgraphheight"},"BaseGraph.graphHeight"),(0,n.kt)("p",null,"public float graphHeight",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u5f62\u7684\u9ad8"),(0,n.kt)("h3",{id:"basegraphgraphmaxanchor"},"BaseGraph.graphMaxAnchor"),(0,n.kt)("p",null,"public Vector2 graphMaxAnchor "),(0,n.kt)("h3",{id:"basegraphgraphminanchor"},"BaseGraph.graphMinAnchor"),(0,n.kt)("p",null,"public Vector2 graphMinAnchor "),(0,n.kt)("h3",{id:"basegraphgraphpivot"},"BaseGraph.graphPivot"),(0,n.kt)("p",null,"public Vector2 graphPivot "),(0,n.kt)("h3",{id:"basegraphgraphposition"},"BaseGraph.graphPosition"),(0,n.kt)("p",null,"public Vector3 graphPosition",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u5f62\u7684\u5de6\u4e0b\u89d2\u8d77\u59cb\u5750\u6807\u3002"),(0,n.kt)("h3",{id:"basegraphgraphrect"},"BaseGraph.graphRect"),(0,n.kt)("p",null,"public Rect graphRect "),(0,n.kt)("h3",{id:"basegraphgraphsizedelta"},"BaseGraph.graphSizeDelta"),(0,n.kt)("p",null,"public Vector2 graphSizeDelta "),(0,n.kt)("h3",{id:"basegraphgraphwidth"},"BaseGraph.graphWidth"),(0,n.kt)("p",null,"public float graphWidth",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u5f62\u7684\u5bbd"),(0,n.kt)("h3",{id:"basegraphgraphx"},"BaseGraph.graphX"),(0,n.kt)("p",null,"public float graphX",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u5f62\u7684X"),(0,n.kt)("h3",{id:"basegraphgraphy"},"BaseGraph.graphY"),(0,n.kt)("p",null,"public float graphY",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u5f62\u7684Y"),(0,n.kt)("h3",{id:"basegraphispointerclick"},"BaseGraph.isPointerClick"),(0,n.kt)("p",null,"public bool isPointerClick",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u662f\u5426\u70b9\u51fb\u4e86\u56fe\u8868\u3002"),(0,n.kt)("h3",{id:"basegraphispointerinchart"},"BaseGraph.isPointerInChart"),(0,n.kt)("p",null,"public bool isPointerInChart",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u662f\u5426\u5728\u56fe\u8868\u5185\u3002"),(0,n.kt)("h3",{id:"basegraphonbegindrag"},"BaseGraph.onBeginDrag"),(0,n.kt)("p",null,"public Action","<","PointerEventData, BaseGraph",">"," onBeginDrag",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u5f00\u59cb\u62d6\u62fd\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basegraphondrag"},"BaseGraph.onDrag"),(0,n.kt)("p",null,"public Action","<","PointerEventData, BaseGraph",">"," onDrag",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u62d6\u62fd\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basegraphonenddrag"},"BaseGraph.onEndDrag"),(0,n.kt)("p",null,"public Action","<","PointerEventData, BaseGraph",">"," onEndDrag",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u7ed3\u675f\u62d6\u62fd\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basegraphonpointerclick"},"BaseGraph.onPointerClick"),(0,n.kt)("p",null,"public Action","<","PointerEventData, BaseGraph",">"," onPointerClick",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u70b9\u51fb\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basegraphonpointerdown"},"BaseGraph.onPointerDown"),(0,n.kt)("p",null,"public Action","<","PointerEventData, BaseGraph",">"," onPointerDown",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u6309\u4e0b\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basegraphonpointerenter"},"BaseGraph.onPointerEnter"),(0,n.kt)("p",null,"public Action","<","PointerEventData, BaseGraph",">"," onPointerEnter",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u8fdb\u5165\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basegraphonpointerexit"},"BaseGraph.onPointerExit"),(0,n.kt)("p",null,"public Action","<","PointerEventData, BaseGraph",">"," onPointerExit",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u9000\u51fa\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basegraphonpointerup"},"BaseGraph.onPointerUp"),(0,n.kt)("p",null,"public Action","<","PointerEventData, BaseGraph",">"," onPointerUp",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u5f39\u8d77\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basegraphonscroll"},"BaseGraph.onScroll"),(0,n.kt)("p",null,"public Action","<","PointerEventData, BaseGraph",">"," onScroll",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u6eda\u52a8\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basegraphpainter"},"BaseGraph.painter"),(0,n.kt)("p",null,"public Painter painter "),(0,n.kt)("h3",{id:"basegraphpointerpos"},"BaseGraph.pointerPos"),(0,n.kt)("p",null,"public Vector2 pointerPos",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"basegraphwarninginfo"},"BaseGraph.warningInfo"),(0,n.kt)("p",null,"public string warningInfo",(0,n.kt)("br",{parentName:"p"}),"\n","\u8b66\u544a\u4fe1\u606f\u3002"),(0,n.kt)("h3",{id:"basegraphcheckwarning"},"BaseGraph.CheckWarning"),(0,n.kt)("p",null,"public string CheckWarning()",(0,n.kt)("br",{parentName:"p"}),"\n","\u68c0\u6d4b\u8b66\u544a\u4fe1\u606f\u3002"),(0,n.kt)("h3",{id:"basegraphlocalpointtoscreenpoint"},"BaseGraph.LocalPointToScreenPoint"),(0,n.kt)("p",null,"public Vector2 LocalPointToScreenPoint(Vector2 localPoint) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u56fe\u8868\u5185\u5750\u6807\u8f6c\u5c4f\u5e55\u5750\u6807\u3002"),(0,n.kt)("h3",{id:"basegraphlocalpointtoworldpoint"},"BaseGraph.LocalPointToWorldPoint"),(0,n.kt)("p",null,"public Vector2 LocalPointToWorldPoint(Vector2 localPoint) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u56fe\u8868\u5185\u5750\u6807\u8f6c\u4e16\u754c\u5750\u6807\u3002"),(0,n.kt)("h3",{id:"basegraphonbegindrag-1"},"BaseGraph.OnBeginDrag"),(0,n.kt)("p",null,"public virtual void OnBeginDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basegraphondrag-1"},"BaseGraph.OnDrag"),(0,n.kt)("p",null,"public virtual void OnDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basegraphonenddrag-1"},"BaseGraph.OnEndDrag"),(0,n.kt)("p",null,"public virtual void OnEndDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basegraphonpointerclick-1"},"BaseGraph.OnPointerClick"),(0,n.kt)("p",null,"public virtual void OnPointerClick(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basegraphonpointerdown-1"},"BaseGraph.OnPointerDown"),(0,n.kt)("p",null,"public virtual void OnPointerDown(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basegraphonpointerenter-1"},"BaseGraph.OnPointerEnter"),(0,n.kt)("p",null,"public virtual void OnPointerEnter(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basegraphonpointerexit-1"},"BaseGraph.OnPointerExit"),(0,n.kt)("p",null,"public virtual void OnPointerExit(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basegraphonpointerup-1"},"BaseGraph.OnPointerUp"),(0,n.kt)("p",null,"public virtual void OnPointerUp(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basegraphonscroll-1"},"BaseGraph.OnScroll"),(0,n.kt)("p",null,"public virtual void OnScroll(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basegraphrebuildchartobject"},"BaseGraph.RebuildChartObject"),(0,n.kt)("p",null,"public void RebuildChartObject()",(0,n.kt)("br",{parentName:"p"}),"\n","\u79fb\u9664\u5e76\u91cd\u65b0\u521b\u5efa\u6240\u6709\u56fe\u8868\u7684Object\u3002"),(0,n.kt)("h3",{id:"basegraphrefreshallcomponent"},"BaseGraph.RefreshAllComponent"),(0,n.kt)("p",null,"public void RefreshAllComponent() "),(0,n.kt)("h3",{id:"basegraphrefreshgraph"},"BaseGraph.RefreshGraph"),(0,n.kt)("p",null,"public virtual void RefreshGraph()",(0,n.kt)("br",{parentName:"p"}),"\n","\u5728\u4e0b\u4e00\u5e27\u5237\u65b0\u56fe\u5f62\u3002"),(0,n.kt)("h3",{id:"basegraphsaveasimage"},"BaseGraph.SaveAsImage"),(0,n.kt)("p",null,'public void SaveAsImage(string imageType = "png", string savePath = "")',(0,n.kt)("br",{parentName:"p"}),"\n","\u4fdd\u5b58\u56fe\u8868\u4e3a\u56fe\u7247\u3002"),(0,n.kt)("h3",{id:"basegraphscreenpointtochartpoint"},"BaseGraph.ScreenPointToChartPoint"),(0,n.kt)("p",null,"public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint) "),(0,n.kt)("h3",{id:"basegraphsetpainterdirty"},"BaseGraph.SetPainterDirty"),(0,n.kt)("p",null,"public void SetPainterDirty()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u65b0\u521d\u59cb\u5316Painter"),(0,n.kt)("h3",{id:"basegraphsetsize"},"BaseGraph.SetSize"),(0,n.kt)("p",null,"public virtual void SetSize(float width, float height)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6e\u56fe\u5f62\u7684\u5bbd\u9ad8\uff08\u5728\u975estretch pivot\u4e0b\u624d\u6709\u6548\uff0c\u5176\u4ed6\u60c5\u51b5\u9700\u8981\u81ea\u5df1\u8c03\u6574RectTransform\uff09"),(0,n.kt)("h2",{id:"baseline"},"BaseLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axisline"},"AxisLine"),",",(0,n.kt)("a",{parentName:"p",href:"#axisminorsplitline"},"AxisMinorSplitLine"),",",(0,n.kt)("a",{parentName:"p",href:"#axisminortick"},"AxisMinorTick"),",",(0,n.kt)("a",{parentName:"p",href:"#axissplitline"},"AxisSplitLine"),",",(0,n.kt)("a",{parentName:"p",href:"#axistick"},"AxisTick")," "),(0,n.kt)("p",null,"\u7ebf\u6761\u57fa\u7840\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"baselinebaseline"},"BaseLine.BaseLine"),(0,n.kt)("p",null,"public BaseLine(bool show) : base() "),(0,n.kt)("h3",{id:"baselinecopy"},"BaseLine.Copy"),(0,n.kt)("p",null,"public void Copy(BaseLine axisLine) "),(0,n.kt)("h3",{id:"baselinegetcolor"},"BaseLine.GetColor"),(0,n.kt)("p",null,"public Color32 GetColor(Color32 themeColor) "),(0,n.kt)("h3",{id:"baselinegetlength"},"BaseLine.GetLength"),(0,n.kt)("p",null,"public float GetLength(float themeLength) "),(0,n.kt)("h3",{id:"baselinegettype"},"BaseLine.GetType"),(0,n.kt)("p",null,"public LineStyle.Type GetType(LineStyle.Type themeType) "),(0,n.kt)("h3",{id:"baselinegetwidth"},"BaseLine.GetWidth"),(0,n.kt)("p",null,"public float GetWidth(float themeWidth) "),(0,n.kt)("h2",{id:"basescatter"},"BaseScatter"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#effectscatter"},"EffectScatter"),",",(0,n.kt)("a",{parentName:"p",href:"#scatter"},"Scatter")," "),(0,n.kt)("h3",{id:"basescattercontainerindex"},"BaseScatter.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"basescattercontainterinstanceid"},"BaseScatter.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h2",{id:"baseserie"},"BaseSerie"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie")," "),(0,n.kt)("h3",{id:"baseserieanydirty"},"BaseSerie.anyDirty"),(0,n.kt)("p",null,"public bool anyDirty "),(0,n.kt)("h3",{id:"baseseriecleardata"},"BaseSerie.ClearData()"),(0,n.kt)("p",null,"public virtual void ClearData() "),(0,n.kt)("h3",{id:"baseseriecomponentdirty"},"BaseSerie.componentDirty"),(0,n.kt)("p",null,"public virtual bool componentDirty "),(0,n.kt)("h3",{id:"baseseriedefaultcolorby"},"BaseSerie.defaultColorBy"),(0,n.kt)("p",null,"public virtual SerieColorBy defaultColorBy "),(0,n.kt)("h3",{id:"baseseriegameobject"},"BaseSerie.gameObject"),(0,n.kt)("p",null,"public GameObject gameObject "),(0,n.kt)("h3",{id:"baseseriehandler"},"BaseSerie.handler"),(0,n.kt)("p",null,"public SerieHandler handler "),(0,n.kt)("h3",{id:"baseseriemultidimensionlabel"},"BaseSerie.multiDimensionLabel"),(0,n.kt)("p",null,"public virtual bool multiDimensionLabel "),(0,n.kt)("h3",{id:"baseserieonbeforeserialize"},"BaseSerie.OnBeforeSerialize()"),(0,n.kt)("p",null,"public virtual void OnBeforeSerialize() "),(0,n.kt)("h3",{id:"baseserieondataupdate"},"BaseSerie.OnDataUpdate()"),(0,n.kt)("p",null,"public virtual void OnDataUpdate() "),(0,n.kt)("h3",{id:"baseseriepainter"},"BaseSerie.painter"),(0,n.kt)("p",null,"public Painter painter "),(0,n.kt)("h3",{id:"baseserierefreshcomponent"},"BaseSerie.refreshComponent"),(0,n.kt)("p",null,"public Action refreshComponent "),(0,n.kt)("h3",{id:"baseserietitlejustforserie"},"BaseSerie.titleJustForSerie"),(0,n.kt)("p",null,"public virtual bool titleJustForSerie "),(0,n.kt)("h3",{id:"baseserieusesortdata"},"BaseSerie.useSortData"),(0,n.kt)("p",null,"public virtual bool useSortData "),(0,n.kt)("h3",{id:"baseserievertsdirty"},"BaseSerie.vertsDirty"),(0,n.kt)("p",null,"public virtual bool vertsDirty "),(0,n.kt)("h3",{id:"baseserieclearcomponentdirty"},"BaseSerie.ClearComponentDirty"),(0,n.kt)("p",null,"public virtual void ClearComponentDirty() "),(0,n.kt)("h3",{id:"baseseriecleardata-1"},"BaseSerie.ClearData"),(0,n.kt)("p",null,"public virtual void ClearData() { } "),(0,n.kt)("h3",{id:"baseseriecleardirty"},"BaseSerie.ClearDirty"),(0,n.kt)("p",null,"public virtual void ClearDirty() "),(0,n.kt)("h3",{id:"baseserieclearverticesdirty"},"BaseSerie.ClearVerticesDirty"),(0,n.kt)("p",null,"public virtual void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"baseserieiscomponentdirty"},"BaseSerie.IsComponentDirty"),(0,n.kt)("p",null,"public static bool IsComponentDirty(ChildComponent component) "),(0,n.kt)("h3",{id:"baseserieisvertsdirty"},"BaseSerie.IsVertsDirty"),(0,n.kt)("p",null,"public static bool IsVertsDirty(ChildComponent component) "),(0,n.kt)("h3",{id:"baseserieonafterdeserialize"},"BaseSerie.OnAfterDeserialize"),(0,n.kt)("p",null,"public virtual void OnAfterDeserialize() "),(0,n.kt)("h3",{id:"baseserieonbeforeserialize-1"},"BaseSerie.OnBeforeSerialize"),(0,n.kt)("p",null,"public virtual void OnBeforeSerialize() { } "),(0,n.kt)("h3",{id:"baseserieondataupdate-1"},"BaseSerie.OnDataUpdate"),(0,n.kt)("p",null,"public virtual void OnDataUpdate() { } "),(0,n.kt)("h3",{id:"baseserieonremove"},"BaseSerie.OnRemove"),(0,n.kt)("p",null,"public virtual void OnRemove() "),(0,n.kt)("h3",{id:"baseserierefreshlabel"},"BaseSerie.RefreshLabel"),(0,n.kt)("p",null,"public void RefreshLabel() "),(0,n.kt)("h3",{id:"baseseriesetalldirty"},"BaseSerie.SetAllDirty"),(0,n.kt)("p",null,"public virtual void SetAllDirty() "),(0,n.kt)("h3",{id:"baseseriesetcomponentdirty"},"BaseSerie.SetComponentDirty"),(0,n.kt)("p",null,"public virtual void SetComponentDirty() "),(0,n.kt)("h3",{id:"baseseriesetverticesdirty"},"BaseSerie.SetVerticesDirty"),(0,n.kt)("p",null,"public virtual void SetVerticesDirty() "),(0,n.kt)("h2",{id:"blurstyle"},"BlurStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#statestyle"},"StateStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6de1\u51fa\u72b6\u6001\u6837\u5f0f\u3002"),(0,n.kt)("h2",{id:"borderstyle"},"BorderStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u8fb9\u6846\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"borderstylegetruntimebordercolor"},"BorderStyle.GetRuntimeBorderColor"),(0,n.kt)("p",null,"public Color32 GetRuntimeBorderColor() "),(0,n.kt)("h3",{id:"borderstylegetruntimeborderwidth"},"BorderStyle.GetRuntimeBorderWidth"),(0,n.kt)("p",null,"public float GetRuntimeBorderWidth() "),(0,n.kt)("h3",{id:"borderstylegetruntimecornerradius"},"BorderStyle.GetRuntimeCornerRadius"),(0,n.kt)("p",null,"public float[] GetRuntimeCornerRadius() "),(0,n.kt)("h2",{id:"calendarcoord"},"CalendarCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),",",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("h3",{id:"calendarcoordispointerenter"},"CalendarCoord.IsPointerEnter"),(0,n.kt)("p",null,"public bool IsPointerEnter() "),(0,n.kt)("h3",{id:"calendarcoordupdateruntimedata"},"CalendarCoord.UpdateRuntimeData"),(0,n.kt)("p",null,"public void UpdateRuntimeData(BaseChart chart) "),(0,n.kt)("h2",{id:"candlestick"},"Candlestick"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h3",{id:"candlestickcontainerindex"},"Candlestick.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"candlestickcontainterinstanceid"},"Candlestick.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h3",{id:"candlestickadddefaultserie"},"Candlestick.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h2",{id:"candlestickchart"},"CandlestickChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u8721\u70db\u56fe\uff0c\u4e5f\u53ebK\u7ebf\u56fe\uff0c\u7528\u4e8e\u63cf\u8ff0\u8bc1\u5238\u3001\u884d\u751f\u54c1\u6216\u8d27\u5e01\u7684\u4ef7\u683c\u8d70\u52bf\u7684\u4e00\u79cd\u91d1\u878d\u56fe\u8868\u6837\u5f0f\u3002"),(0,n.kt)("h2",{id:"chartcached"},"ChartCached"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"chartcachedcolortodotstr"},"ChartCached.ColorToDotStr"),(0,n.kt)("p",null,"public static string ColorToDotStr(Color color) "),(0,n.kt)("h3",{id:"chartcachedcolortostr"},"ChartCached.ColorToStr"),(0,n.kt)("p",null,"public static string ColorToStr(Color color) "),(0,n.kt)("h3",{id:"chartcachedfloattostr"},"ChartCached.FloatToStr"),(0,n.kt)("p",null,'public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0) '),(0,n.kt)("h3",{id:"chartcachedgetserielabelname"},"ChartCached.GetSerieLabelName"),(0,n.kt)("p",null,"public static string GetSerieLabelName(string prefix, int i, int j) "),(0,n.kt)("h3",{id:"chartcachedgetstring"},"ChartCached.GetString"),(0,n.kt)("p",null,"public static string GetString(string prefix, int suffix) "),(0,n.kt)("h3",{id:"chartcachedinttostr"},"ChartCached.IntToStr"),(0,n.kt)("p",null,'public static string IntToStr(int value, string numericFormatter = "") '),(0,n.kt)("h3",{id:"chartcachednumbertodatestr"},"ChartCached.NumberToDateStr"),(0,n.kt)("p",null,"public static string NumberToDateStr(double timestamp, string formatter) "),(0,n.kt)("h3",{id:"chartcachednumbertodatetime"},"ChartCached.NumberToDateTime"),(0,n.kt)("p",null,"public static DateTime NumberToDateTime(double timestamp) "),(0,n.kt)("h3",{id:"chartcachednumbertostr"},"ChartCached.NumberToStr"),(0,n.kt)("p",null,"public static string NumberToStr(double value, string formatter) "),(0,n.kt)("h3",{id:"chartcachednumbertotimespan"},"ChartCached.NumberToTimeSpan"),(0,n.kt)("p",null,"public static TimeSpan NumberToTimeSpan(double timestamp) "),(0,n.kt)("h3",{id:"chartcachednumbertotimestr"},"ChartCached.NumberToTimeStr"),(0,n.kt)("p",null,"public static string NumberToTimeStr(double timestamp, string formatter) "),(0,n.kt)("h2",{id:"chartconst"},"ChartConst"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"chartdrawer"},"ChartDrawer"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"charthelper"},"ChartHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"charthelperignorevector3"},"ChartHelper.ignoreVector3"),(0,n.kt)("p",null,"public static Vector3 ignoreVector3 "),(0,n.kt)("h3",{id:"charthelpersb"},"ChartHelper.sb"),(0,n.kt)("p",null,"public static StringBuilder sb "),(0,n.kt)("h3",{id:"charthelperactiveallobject"},"ChartHelper.ActiveAllObject"),(0,n.kt)("p",null,"public static void ActiveAllObject(Transform parent, bool active, string match = null) "),(0,n.kt)("h3",{id:"charthelperaddicon"},"ChartHelper.AddIcon"),(0,n.kt)("p",null,"public static Image AddIcon(string name, Transform parent, IconStyle iconStyle) "),(0,n.kt)("h3",{id:"charthelpercancat"},"ChartHelper.Cancat"),(0,n.kt)("p",null,"public static string Cancat(string str1, int i) "),(0,n.kt)("h3",{id:"charthelpercleareventlistener"},"ChartHelper.ClearEventListener"),(0,n.kt)("p",null,"public static void ClearEventListener(GameObject obj) "),(0,n.kt)("h3",{id:"charthelpercopyarrayt"},"ChartHelper.CopyArray","<","T",">"),(0,n.kt)("p",null,"public static bool CopyArray","<","T",">","(T[] toList, T[] fromList) "),(0,n.kt)("h3",{id:"charthelpercopylistt"},"ChartHelper.CopyList","<","T",">"),(0,n.kt)("p",null,"public static bool CopyList","<","T",">","(List","<","T",">"," toList, List","<","T",">"," fromList) "),(0,n.kt)("h3",{id:"charthelperdestorygameobject"},"ChartHelper.DestoryGameObject"),(0,n.kt)("p",null,"public static void DestoryGameObject(GameObject go) "),(0,n.kt)("h3",{id:"charthelperdestorygameobjectbymatch"},"ChartHelper.DestoryGameObjectByMatch"),(0,n.kt)("p",null,"public static void DestoryGameObjectByMatch(Transform parent, string containString) "),(0,n.kt)("h3",{id:"charthelperdestroyallchildren"},"ChartHelper.DestroyAllChildren"),(0,n.kt)("p",null,"public static void DestroyAllChildren(Transform parent) "),(0,n.kt)("h3",{id:"charthelperensurecomponentt"},"ChartHelper.EnsureComponent","<","T",">"),(0,n.kt)("p",null,"public static T EnsureComponent","<","T",">","(GameObject gameObject) where T : Component",(0,n.kt)("br",{parentName:"p"}),"\n","\u786e\u4fdd\u5bf9\u8c61\u6709\u6307\u5b9a\u7684\u7ec4\u4ef6\uff0c\u5982\u679c\u6ca1\u6709\u5219\u6dfb\u52a0\u3002"),(0,n.kt)("h3",{id:"charthelpergetactualvalue"},"ChartHelper.GetActualValue"),(0,n.kt)("p",null,"public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f) "),(0,n.kt)("h3",{id:"charthelpergetangle360"},"ChartHelper.GetAngle360"),(0,n.kt)("p",null,"public static float GetAngle360(Vector2 from, Vector2 to)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f970-360\u7684\u89d2\u5ea6\uff0812\u70b9\u949f\u65b9\u5411\u4e3a0\u5ea6\uff09"),(0,n.kt)("h3",{id:"charthelpergetblurcolor"},"ChartHelper.GetBlurColor"),(0,n.kt)("p",null,"public static Color32 GetBlurColor(Color32 color, float a = 0.3f) "),(0,n.kt)("h3",{id:"charthelpergetcolor"},"ChartHelper.GetColor"),(0,n.kt)("p",null,"public static Color32 GetColor(string hexColorStr) "),(0,n.kt)("h3",{id:"charthelpergetdire"},"ChartHelper.GetDire"),(0,n.kt)("p",null,"public static Vector3 GetDire(float angle, bool isDegree = false) "),(0,n.kt)("h3",{id:"charthelpergetfullname"},"ChartHelper.GetFullName"),(0,n.kt)("p",null,"public static string GetFullName(Transform transform) "),(0,n.kt)("h3",{id:"charthelpergethighlightcolor"},"ChartHelper.GetHighlightColor"),(0,n.kt)("p",null,"public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f) "),(0,n.kt)("h3",{id:"charthelpergetlastvalue"},"ChartHelper.GetLastValue"),(0,n.kt)("p",null,"public static Vector3 GetLastValue(List","<","Vector3",">"," list) "),(0,n.kt)("h3",{id:"charthelpergetmaxceilrate"},"ChartHelper.GetMaxCeilRate"),(0,n.kt)("p",null,"public static double GetMaxCeilRate(double value, double ceilRate) "),(0,n.kt)("h3",{id:"charthelpergetmaxdivisiblevalue"},"ChartHelper.GetMaxDivisibleValue"),(0,n.kt)("p",null,"public static double GetMaxDivisibleValue(double max, double ceilRate) "),(0,n.kt)("h3",{id:"charthelpergetmaxlogvalue"},"ChartHelper.GetMaxLogValue"),(0,n.kt)("p",null,"public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber) "),(0,n.kt)("h3",{id:"charthelpergetminceilrate"},"ChartHelper.GetMinCeilRate"),(0,n.kt)("p",null,"public static double GetMinCeilRate(double value, double ceilRate) "),(0,n.kt)("h3",{id:"charthelpergetmindivisiblevalue"},"ChartHelper.GetMinDivisibleValue"),(0,n.kt)("p",null,"public static double GetMinDivisibleValue(double min, double ceilRate) "),(0,n.kt)("h3",{id:"charthelpergetminlogvalue"},"ChartHelper.GetMinLogValue"),(0,n.kt)("p",null,"public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber) "),(0,n.kt)("h3",{id:"charthelpergetoraddcomponentt"},"ChartHelper.GetOrAddComponent","<","T",">"),(0,n.kt)("p",null,"public static T GetOrAddComponent","<","T",">","(GameObject gameObject) where T : Component "),(0,n.kt)("h3",{id:"charthelpergetpointlist"},"ChartHelper.GetPointList"),(0,n.kt)("p",null,"public static void GetPointList(ref List","<","Vector3",">"," posList, Vector3 sp, Vector3 ep, float k = 30f) "),(0,n.kt)("h3",{id:"charthelpergetpos"},"ChartHelper.GetPos"),(0,n.kt)("p",null,"public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false) "),(0,n.kt)("h3",{id:"charthelpergetposition"},"ChartHelper.GetPosition"),(0,n.kt)("p",null,"public static Vector3 GetPosition(Vector3 center, float angle, float radius) "),(0,n.kt)("h3",{id:"charthelpergetselectcolor"},"ChartHelper.GetSelectColor"),(0,n.kt)("p",null,"public static Color32 GetSelectColor(Color32 color, float rate = 0.8f) "),(0,n.kt)("h3",{id:"charthelpergetvertialdire"},"ChartHelper.GetVertialDire"),(0,n.kt)("p",null,"public static Vector3 GetVertialDire(Vector3 dire) "),(0,n.kt)("h3",{id:"charthelperhideallobject"},"ChartHelper.HideAllObject"),(0,n.kt)("p",null,"public static void HideAllObject(Transform parent, string match = null) "),(0,n.kt)("h3",{id:"charthelperisactivebyscale"},"ChartHelper.IsActiveByScale"),(0,n.kt)("p",null,"public static bool IsActiveByScale(Image image) "),(0,n.kt)("p",null,"public static bool IsActiveByScale(Transform transform) "),(0,n.kt)("h3",{id:"charthelperisclearcolor"},"ChartHelper.IsClearColor"),(0,n.kt)("p",null,"public static bool IsClearColor(Color color) "),(0,n.kt)("h3",{id:"charthelperiscoloralphazero"},"ChartHelper.IsColorAlphaZero"),(0,n.kt)("p",null,"public static bool IsColorAlphaZero(Color color) "),(0,n.kt)("h3",{id:"charthelperisequals"},"ChartHelper.IsEquals"),(0,n.kt)("p",null,"public static bool IsEquals(float d1, float d2) "),(0,n.kt)("h3",{id:"charthelperisingore"},"ChartHelper.IsIngore"),(0,n.kt)("p",null,"public static bool IsIngore(Vector3 pos) "),(0,n.kt)("h3",{id:"charthelperisinrect"},"ChartHelper.IsInRect"),(0,n.kt)("p",null,"public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax) "),(0,n.kt)("h3",{id:"charthelperispointinquadrilateral"},"ChartHelper.IsPointInQuadrilateral"),(0,n.kt)("p",null,"public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D) "),(0,n.kt)("h3",{id:"charthelperisvalueequalscolor"},"ChartHelper.IsValueEqualsColor"),(0,n.kt)("p",null,"public static bool IsValueEqualsColor(Color color1, Color color2) "),(0,n.kt)("h3",{id:"charthelperisvalueequalslistt"},"ChartHelper.IsValueEqualsList","<","T",">"),(0,n.kt)("p",null,"public static bool IsValueEqualsList","<","T",">","(List","<","T",">"," list1, List","<","T",">"," list2) "),(0,n.kt)("h3",{id:"charthelperisvalueequalsstring"},"ChartHelper.IsValueEqualsString"),(0,n.kt)("p",null,"public static bool IsValueEqualsString(string str1, string str2) "),(0,n.kt)("h3",{id:"charthelperisvalueequalsvector2"},"ChartHelper.IsValueEqualsVector2"),(0,n.kt)("p",null,"public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2) "),(0,n.kt)("h3",{id:"charthelperisvalueequalsvector3"},"ChartHelper.IsValueEqualsVector3"),(0,n.kt)("p",null,"public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2) "),(0,n.kt)("h3",{id:"charthelperiszerovector"},"ChartHelper.IsZeroVector"),(0,n.kt)("p",null,"public static bool IsZeroVector(Vector3 pos) "),(0,n.kt)("h3",{id:"charthelperparsefloatfromstring"},"ChartHelper.ParseFloatFromString"),(0,n.kt)("p",null,"public static List","<","float",">"," ParseFloatFromString(string jsonData) "),(0,n.kt)("h3",{id:"charthelperparsestringfromstring"},"ChartHelper.ParseStringFromString"),(0,n.kt)("p",null,"public static List","<","string",">"," ParseStringFromString(string jsonData) "),(0,n.kt)("h3",{id:"charthelperremovecomponentt"},"ChartHelper.RemoveComponent","<","T",">"),(0,n.kt)("p",null,"public static void RemoveComponent","<","T",">","(GameObject gameObject) "),(0,n.kt)("h3",{id:"charthelperrotateround"},"ChartHelper.RotateRound"),(0,n.kt)("p",null,"public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle) "),(0,n.kt)("h3",{id:"charthelpersaveasimage"},"ChartHelper.SaveAsImage"),(0,n.kt)("p",null,'public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "") '),(0,n.kt)("h3",{id:"charthelpersetactive"},"ChartHelper.SetActive"),(0,n.kt)("p",null,"public static bool SetActive(Image image, bool active) "),(0,n.kt)("p",null,"public static bool SetActive(Text text, bool active) "),(0,n.kt)("p",null,"public static bool SetActive(Transform transform, bool active)",(0,n.kt)("br",{parentName:"p"}),"\n","\u901a\u8fc7\u8bbe\u7f6escale\u5b9e\u73b0\u662f\u5426\u663e\u793a\uff0c\u4f18\u5316\u6027\u80fd\uff0c\u51cf\u5c11GC"),(0,n.kt)("h3",{id:"charthelpersetbackground"},"ChartHelper.SetBackground"),(0,n.kt)("p",null,"public static void SetBackground(Image background, Background imageStyle) "),(0,n.kt)("h3",{id:"charthelpersetcoloropacity"},"ChartHelper.SetColorOpacity"),(0,n.kt)("p",null,"public static void SetColorOpacity(ref Color32 color, float opacity) "),(0,n.kt)("h2",{id:"chartlabel"},"ChartLabel"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=image"},"Image")),(0,n.kt)("h3",{id:"chartlabelhideiconiftextempty"},"ChartLabel.hideIconIfTextEmpty"),(0,n.kt)("p",null,"public bool hideIconIfTextEmpty "),(0,n.kt)("h3",{id:"chartlabelisanimationend"},"ChartLabel.isAnimationEnd"),(0,n.kt)("p",null,"public bool isAnimationEnd "),(0,n.kt)("h3",{id:"chartlabelisiconactive"},"ChartLabel.isIconActive"),(0,n.kt)("p",null,"public bool isIconActive "),(0,n.kt)("h3",{id:"chartlabelrect"},"ChartLabel.rect"),(0,n.kt)("p",null,"public Rect rect "),(0,n.kt)("h3",{id:"chartlabelgetheight"},"ChartLabel.GetHeight"),(0,n.kt)("p",null,"public float GetHeight() "),(0,n.kt)("h3",{id:"chartlabelgetposition"},"ChartLabel.GetPosition"),(0,n.kt)("p",null,"public Vector3 GetPosition() "),(0,n.kt)("h3",{id:"chartlabelgettextheight"},"ChartLabel.GetTextHeight"),(0,n.kt)("p",null,"public float GetTextHeight() "),(0,n.kt)("h3",{id:"chartlabelgettextwidth"},"ChartLabel.GetTextWidth"),(0,n.kt)("p",null,"public float GetTextWidth() "),(0,n.kt)("h3",{id:"chartlabelgetwidth"},"ChartLabel.GetWidth"),(0,n.kt)("p",null,"public float GetWidth() "),(0,n.kt)("h3",{id:"chartlabelisactivebyscale"},"ChartLabel.IsActiveByScale"),(0,n.kt)("p",null,"public bool IsActiveByScale() "),(0,n.kt)("h3",{id:"chartlabelsetactive"},"ChartLabel.SetActive"),(0,n.kt)("p",null,"public void SetActive(bool flag, bool force = false) "),(0,n.kt)("h3",{id:"chartlabelseticon"},"ChartLabel.SetIcon"),(0,n.kt)("p",null,"public void SetIcon(Image image) "),(0,n.kt)("h3",{id:"chartlabelseticonactive"},"ChartLabel.SetIconActive"),(0,n.kt)("p",null,"public void SetIconActive(bool flag) "),(0,n.kt)("h3",{id:"chartlabelseticonsize"},"ChartLabel.SetIconSize"),(0,n.kt)("p",null,"public void SetIconSize(float width, float height) "),(0,n.kt)("h3",{id:"chartlabelseticonsprite"},"ChartLabel.SetIconSprite"),(0,n.kt)("p",null,"public void SetIconSprite(Sprite sprite) "),(0,n.kt)("h3",{id:"chartlabelsetpadding"},"ChartLabel.SetPadding"),(0,n.kt)("p",null,"public void SetPadding(float[] padding) "),(0,n.kt)("h3",{id:"chartlabelsetposition"},"ChartLabel.SetPosition"),(0,n.kt)("p",null,"public void SetPosition(Vector3 position) "),(0,n.kt)("h3",{id:"chartlabelsetrectposition"},"ChartLabel.SetRectPosition"),(0,n.kt)("p",null,"public void SetRectPosition(Vector3 position) "),(0,n.kt)("h3",{id:"chartlabelsetrotate"},"ChartLabel.SetRotate"),(0,n.kt)("p",null,"public void SetRotate(float rotate) "),(0,n.kt)("h3",{id:"chartlabelsetsize"},"ChartLabel.SetSize"),(0,n.kt)("p",null,"public void SetSize(float width, float height) "),(0,n.kt)("h3",{id:"chartlabelsettext"},"ChartLabel.SetText"),(0,n.kt)("p",null,"public bool SetText(string text) "),(0,n.kt)("h3",{id:"chartlabelsettextactive"},"ChartLabel.SetTextActive"),(0,n.kt)("p",null,"public void SetTextActive(bool flag) "),(0,n.kt)("h3",{id:"chartlabelsettextcolor"},"ChartLabel.SetTextColor"),(0,n.kt)("p",null,"public void SetTextColor(Color color) "),(0,n.kt)("h3",{id:"chartlabelsettextpadding"},"ChartLabel.SetTextPadding"),(0,n.kt)("p",null,"public void SetTextPadding(TextPadding padding) "),(0,n.kt)("h3",{id:"chartlabelsettextrotate"},"ChartLabel.SetTextRotate"),(0,n.kt)("p",null,"public void SetTextRotate(float rotate) "),(0,n.kt)("h3",{id:"chartlabelupdateicon"},"ChartLabel.UpdateIcon"),(0,n.kt)("p",null,"public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null, Color color = default(Color)) "),(0,n.kt)("h2",{id:"chartobject"},"ChartObject"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"chartobjectdestroy"},"ChartObject.Destroy"),(0,n.kt)("p",null,"public virtual void Destroy() "),(0,n.kt)("h2",{id:"charttext"},"ChartText"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"charttexttmptext"},"ChartText.tmpText"),(0,n.kt)("p",null,"public TextMeshProUGUI tmpText "),(0,n.kt)("h3",{id:"charttextcharttext"},"ChartText.ChartText"),(0,n.kt)("p",null,"public ChartText(GameObject textParent) "),(0,n.kt)("h3",{id:"charttextgetcolor"},"ChartText.GetColor"),(0,n.kt)("p",null,"public Color GetColor() "),(0,n.kt)("h3",{id:"charttextgetpreferredheight"},"ChartText.GetPreferredHeight"),(0,n.kt)("p",null,"public float GetPreferredHeight() "),(0,n.kt)("h3",{id:"charttextgetpreferredtext"},"ChartText.GetPreferredText"),(0,n.kt)("p",null,"public string GetPreferredText(string content, string suffix, float maxWidth) "),(0,n.kt)("h3",{id:"charttextgetpreferredwidth"},"ChartText.GetPreferredWidth"),(0,n.kt)("p",null,"public float GetPreferredWidth() "),(0,n.kt)("h3",{id:"charttextgettext"},"ChartText.GetText"),(0,n.kt)("p",null,"public string GetText() "),(0,n.kt)("h3",{id:"charttextsetactive"},"ChartText.SetActive"),(0,n.kt)("p",null,"public void SetActive(bool flag) "),(0,n.kt)("h3",{id:"charttextsetalignment"},"ChartText.SetAlignment"),(0,n.kt)("p",null,"public void SetAlignment(TextAnchor alignment) "),(0,n.kt)("h3",{id:"charttextsetcolor"},"ChartText.SetColor"),(0,n.kt)("p",null,"public void SetColor(Color color) "),(0,n.kt)("h3",{id:"charttextsetfont"},"ChartText.SetFont"),(0,n.kt)("p",null,"public void SetFont(TMP_FontAsset font) "),(0,n.kt)("h3",{id:"charttextsetfontandsizeandstyle"},"ChartText.SetFontAndSizeAndStyle"),(0,n.kt)("p",null,"public void SetFontAndSizeAndStyle(TextStyle textStyle, ComponentTheme theme) "),(0,n.kt)("h3",{id:"charttextsetfontsize"},"ChartText.SetFontSize"),(0,n.kt)("p",null,"public void SetFontSize(float fontSize) "),(0,n.kt)("h3",{id:"charttextsetfontstyle"},"ChartText.SetFontStyle"),(0,n.kt)("p",null,"public void SetFontStyle(FontStyle fontStyle) "),(0,n.kt)("h3",{id:"charttextsetlinespacing"},"ChartText.SetLineSpacing"),(0,n.kt)("p",null,"public void SetLineSpacing(float lineSpacing) "),(0,n.kt)("h3",{id:"charttextsetlocaleulerangles"},"ChartText.SetLocalEulerAngles"),(0,n.kt)("p",null,"public void SetLocalEulerAngles(Vector3 position) "),(0,n.kt)("h3",{id:"charttextsetlocalposition"},"ChartText.SetLocalPosition"),(0,n.kt)("p",null,"public void SetLocalPosition(Vector3 position) "),(0,n.kt)("h3",{id:"charttextsetrectposition"},"ChartText.SetRectPosition"),(0,n.kt)("p",null,"public void SetRectPosition(Vector3 position) "),(0,n.kt)("h3",{id:"charttextsetsizedelta"},"ChartText.SetSizeDelta"),(0,n.kt)("p",null,"public void SetSizeDelta(Vector2 sizeDelta) "),(0,n.kt)("h3",{id:"charttextsettext"},"ChartText.SetText"),(0,n.kt)("p",null,"public void SetText(string text) "),(0,n.kt)("h2",{id:"checkhelper"},"CheckHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"checkhelpercheckchart"},"CheckHelper.CheckChart"),(0,n.kt)("p",null,"public static string CheckChart(BaseChart chart) "),(0,n.kt)("h2",{id:"childcomponent"},"ChildComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#animationstyle"},"AnimationStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#axisanimation"},"AxisAnimation"),",",(0,n.kt)("a",{parentName:"p",href:"#axisname"},"AxisName"),",",(0,n.kt)("a",{parentName:"p",href:"#axissplitarea"},"AxisSplitArea"),",",(0,n.kt)("a",{parentName:"p",href:"#areastyle"},"AreaStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#arrowstyle"},"ArrowStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine"),",",(0,n.kt)("a",{parentName:"p",href:"#borderstyle"},"BorderStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#iconstyle"},"IconStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#imagestyle"},"ImageStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#itemstyle"},"ItemStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#level"},"Level"),",",(0,n.kt)("a",{parentName:"p",href:"#levelstyle"},"LevelStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#linearrow"},"LineArrow"),",",(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#location"},"Location"),",",(0,n.kt)("a",{parentName:"p",href:"#mlvalue"},"MLValue"),",",(0,n.kt)("a",{parentName:"p",href:"#marqueestyle"},"MarqueeStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#padding"},"Padding"),",",(0,n.kt)("a",{parentName:"p",href:"#stagecolor"},"StageColor"),",",(0,n.kt)("a",{parentName:"p",href:"#symbolstyle"},"SymbolStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#textlimit"},"TextLimit"),",",(0,n.kt)("a",{parentName:"p",href:"#textstyle"},"TextStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#commentitem"},"CommentItem"),",",(0,n.kt)("a",{parentName:"p",href:"#commentmarkstyle"},"CommentMarkStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#labelline"},"LabelLine"),",",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#markareadata"},"MarkAreaData"),",",(0,n.kt)("a",{parentName:"p",href:"#marklinedata"},"MarkLineData"),",",(0,n.kt)("a",{parentName:"p",href:"#statestyle"},"StateStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#visualmaprange"},"VisualMapRange"),",",(0,n.kt)("a",{parentName:"p",href:"#viewcontrol"},"ViewControl"),",",(0,n.kt)("a",{parentName:"p",href:"#uicomponenttheme"},"UIComponentTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#seriedata"},"SerieData"),",",(0,n.kt)("a",{parentName:"p",href:"#seriedatalink"},"SerieDataLink"),",",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#serietheme"},"SerieTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#themestyle"},"ThemeStyle")," "),(0,n.kt)("h3",{id:"childcomponentanydirty"},"ChildComponent.anyDirty"),(0,n.kt)("p",null,"public bool anyDirty",(0,n.kt)("br",{parentName:"p"}),"\n","\u9700\u8981\u91cd\u7ed8\u56fe\u8868\u6216\u91cd\u65b0\u521d\u59cb\u5316\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"childcomponentcomponentdirty"},"ChildComponent.componentDirty"),(0,n.kt)("p",null,"public virtual bool componentDirty",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ec4\u4ef6\u91cd\u65b0\u521d\u59cb\u5316\u6807\u8bb0\u3002"),(0,n.kt)("h3",{id:"childcomponentgameobject"},"ChildComponent.gameObject"),(0,n.kt)("p",null,"public GameObject gameObject "),(0,n.kt)("h3",{id:"childcomponentindex"},"ChildComponent.index"),(0,n.kt)("p",null,"public virtual int index "),(0,n.kt)("h3",{id:"childcomponentpainter"},"ChildComponent.painter"),(0,n.kt)("p",null,"public Painter painter "),(0,n.kt)("h3",{id:"childcomponentrefreshcomponent"},"ChildComponent.refreshComponent"),(0,n.kt)("p",null,"public Action refreshComponent "),(0,n.kt)("h3",{id:"childcomponentvertsdirty"},"ChildComponent.vertsDirty"),(0,n.kt)("p",null,"public virtual bool vertsDirty",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u91cd\u7ed8\u6807\u8bb0\u3002"),(0,n.kt)("h3",{id:"childcomponentclearcomponentdirty"},"ChildComponent.ClearComponentDirty"),(0,n.kt)("p",null,"public virtual void ClearComponentDirty() "),(0,n.kt)("h3",{id:"childcomponentcleardirty"},"ChildComponent.ClearDirty"),(0,n.kt)("p",null,"public virtual void ClearDirty() "),(0,n.kt)("h3",{id:"childcomponentclearverticesdirty"},"ChildComponent.ClearVerticesDirty"),(0,n.kt)("p",null,"public virtual void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"childcomponentiscomponentdirty"},"ChildComponent.IsComponentDirty"),(0,n.kt)("p",null,"public static bool IsComponentDirty(ChildComponent component) "),(0,n.kt)("h3",{id:"childcomponentisvertsdirty"},"ChildComponent.IsVertsDirty"),(0,n.kt)("p",null,"public static bool IsVertsDirty(ChildComponent component) "),(0,n.kt)("h3",{id:"childcomponentsetalldirty"},"ChildComponent.SetAllDirty"),(0,n.kt)("p",null,"public virtual void SetAllDirty() "),(0,n.kt)("h3",{id:"childcomponentsetcomponentdirty"},"ChildComponent.SetComponentDirty"),(0,n.kt)("p",null,"public virtual void SetComponentDirty() "),(0,n.kt)("h3",{id:"childcomponentsetverticesdirty"},"ChildComponent.SetVerticesDirty"),(0,n.kt)("p",null,"public virtual void SetVerticesDirty() "),(0,n.kt)("h2",{id:"colorutil"},"ColorUtil"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"colorutilgetcolor"},"ColorUtil.GetColor"),(0,n.kt)("p",null,"public static Color32 GetColor(string hexColorStr)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5c06\u5b57\u7b26\u4e32\u989c\u8272\u503c\u8f6c\u6210Color\u3002"),(0,n.kt)("h2",{id:"comment"},"Comment"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#ipropertychanged"},"IPropertyChanged")),(0,n.kt)("p",null,"\u56fe\u8868\u6ce8\u89e3\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"commentitems"},"Comment.items"),(0,n.kt)("p",null,"public List","<","CommentItem",">"," items",(0,n.kt)("br",{parentName:"p"}),"\n","\u6ce8\u89e3\u9879\u3002\u6bcf\u4e2a\u6ce8\u89e3\u7ec4\u4ef6\u53ef\u4ee5\u8bbe\u7f6e\u591a\u4e2a\u6ce8\u89e3\u9879\u3002"),(0,n.kt)("h3",{id:"commentshow"},"Comment.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793a\u6ce8\u89e3\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"commentgetlabelstyle"},"Comment.GetLabelStyle"),(0,n.kt)("p",null,"public LabelStyle GetLabelStyle(int index) "),(0,n.kt)("h3",{id:"commentgetmarkstyle"},"Comment.GetMarkStyle"),(0,n.kt)("p",null,"public CommentMarkStyle GetMarkStyle(int index) "),(0,n.kt)("h3",{id:"commentonchanged"},"Comment.OnChanged"),(0,n.kt)("p",null,"public void OnChanged()",(0,n.kt)("br",{parentName:"p"}),"\n","\u53c2\u6570\u53d8\u66f4\u65f6\u7684\u56de\u8c03\u5904\u7406\u3002"),(0,n.kt)("h2",{id:"commentitem"},"CommentItem"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6ce8\u89e3\u9879\u3002"),(0,n.kt)("h3",{id:"commentitemcontent"},"CommentItem.content"),(0,n.kt)("p",null,"public string content",(0,n.kt)("br",{parentName:"p"}),"\n","\u6ce8\u89e3\u7684\u6587\u672c\u5185\u5bb9\u3002\u652f\u6301\u6a21\u677f\u53c2\u6570\uff0c\u53ef\u4ee5\u53c2\u8003Tooltip\u7684itemFormatter\u3002"),(0,n.kt)("h3",{id:"commentitemmarkrect"},"CommentItem.markRect"),(0,n.kt)("p",null,"public Rect markRect",(0,n.kt)("br",{parentName:"p"}),"\n","\u6ce8\u89e3\u533a\u57df\u3002"),(0,n.kt)("h3",{id:"commentitemmarkstyle"},"CommentItem.markStyle"),(0,n.kt)("p",null,"public CommentMarkStyle markStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u6ce8\u89e3\u6807\u8bb0\u533a\u57df\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"commentitemshow"},"CommentItem.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793a\u5f53\u524d\u6ce8\u89e3\u9879\u3002"),(0,n.kt)("h2",{id:"commentmarkstyle"},"CommentMarkStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6ce8\u89e3\u9879\u533a\u57df\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"commentmarkstylelinestyle"},"CommentMarkStyle.lineStyle"),(0,n.kt)("p",null,"public LineStyle lineStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ebf\u6761\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"commentmarkstyleshow"},"CommentMarkStyle.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793a\u5f53\u524d\u6ce8\u89e3\u9879\u3002"),(0,n.kt)("h2",{id:"componenthandlerattribute"},"ComponentHandlerAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("h3",{id:"componenthandlerattributecomponenthandlerattribute"},"ComponentHandlerAttribute.ComponentHandlerAttribute"),(0,n.kt)("p",null,"public ComponentHandlerAttribute(Type handler, bool allowMultiple, int order = 3) "),(0,n.kt)("h2",{id:"componenthelper"},"ComponentHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"componenthelpergetangleaxis"},"ComponentHelper.GetAngleAxis"),(0,n.kt)("p",null,"public static AngleAxis GetAngleAxis(List","<","MainComponent",">"," components, int polarIndex) "),(0,n.kt)("h3",{id:"componenthelpergetradiusaxis"},"ComponentHelper.GetRadiusAxis"),(0,n.kt)("p",null,"public static RadiusAxis GetRadiusAxis(List","<","MainComponent",">"," components, int polarIndex) "),(0,n.kt)("h3",{id:"componenthelpergetxaxisonzerooffset"},"ComponentHelper.GetXAxisOnZeroOffset"),(0,n.kt)("p",null,"public static float GetXAxisOnZeroOffset(List","<","MainComponent",">"," components, XAxis axis) "),(0,n.kt)("h3",{id:"componenthelpergetyaxisonzerooffset"},"ComponentHelper.GetYAxisOnZeroOffset"),(0,n.kt)("p",null,"public static float GetYAxisOnZeroOffset(List","<","MainComponent",">"," components, YAxis axis) "),(0,n.kt)("h3",{id:"componenthelperisanycategoryofyaxis"},"ComponentHelper.IsAnyCategoryOfYAxis"),(0,n.kt)("p",null,"public static bool IsAnyCategoryOfYAxis(List","<","MainComponent",">"," components) "),(0,n.kt)("h2",{id:"componenttheme"},"ComponentTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#datazoomtheme"},"DataZoomTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#legendtheme"},"LegendTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#subtitletheme"},"SubTitleTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#titletheme"},"TitleTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#tooltiptheme"},"TooltipTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#visualmaptheme"},"VisualMapTheme")," "),(0,n.kt)("h3",{id:"componentthemecomponenttheme"},"ComponentTheme.ComponentTheme"),(0,n.kt)("p",null,"public ComponentTheme(ThemeType theme) "),(0,n.kt)("h3",{id:"componentthemecopy"},"ComponentTheme.Copy"),(0,n.kt)("p",null,"public virtual void Copy(ComponentTheme theme) "),(0,n.kt)("h3",{id:"componentthemereset"},"ComponentTheme.Reset"),(0,n.kt)("p",null,"public virtual void Reset(ComponentTheme defaultTheme) "),(0,n.kt)("h2",{id:"coordoptionsattribute"},"CoordOptionsAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("h3",{id:"coordoptionsattributecontainst"},"CoordOptionsAttribute.Contains","<","T",">"),(0,n.kt)("p",null,"public bool Contains","<","T",">","() where T : CoordSystem "),(0,n.kt)("h3",{id:"coordoptionsattributecoordoptionsattribute"},"CoordOptionsAttribute.CoordOptionsAttribute"),(0,n.kt)("p",null,"public CoordOptionsAttribute(Type coord, Type coord2) "),(0,n.kt)("p",null,"public CoordOptionsAttribute(Type coord, Type coord2, Type coord3) "),(0,n.kt)("p",null,"public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4) "),(0,n.kt)("h2",{id:"coordsystem"},"CoordSystem"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#radarcoord"},"RadarCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#calendarcoord"},"CalendarCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#gridcoord"},"GridCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#gridcoord3d"},"GridCoord3D"),",",(0,n.kt)("a",{parentName:"p",href:"#parallelcoord"},"ParallelCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#polarcoord"},"PolarCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#singleaxiscoord"},"SingleAxisCoord")," "),(0,n.kt)("p",null,"\u5750\u6807\u7cfb\u7cfb\u7edf\u3002"),(0,n.kt)("h2",{id:"datahelper"},"DataHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"datazoom"},"DataZoom"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData")),(0,n.kt)("p",null,"DataZoom \u7ec4\u4ef6 \u7528\u4e8e\u533a\u57df\u7f29\u653e\uff0c\u4ece\u800c\u80fd\u81ea\u7531\u5173\u6ce8\u7ec6\u8282\u7684\u6570\u636e\u4fe1\u606f\uff0c\u6216\u8005\u6982\u89c8\u6570\u636e\u6574\u4f53\uff0c\u6216\u8005\u53bb\u9664\u79bb\u7fa4\u70b9\u7684\u5f71\u54cd\u3002"),(0,n.kt)("h3",{id:"datazoomrealtime"},"DataZoom.realtime"),(0,n.kt)("p",null,"public bool realtime",(0,n.kt)("br",{parentName:"p"}),"\n","\u62d6\u52a8\u65f6\uff0c\u662f\u5426\u5b9e\u65f6\u66f4\u65b0\u7cfb\u5217\u7684\u89c6\u56fe\u3002\u5982\u679c\u8bbe\u7f6e\u4e3a false\uff0c\u5219\u53ea\u5728\u62d6\u62fd\u7ed3\u675f\u7684\u65f6\u5019\u66f4\u65b0\u3002\u9ed8\u8ba4\u4e3atrue\uff0c\u6682\u4e0d\u652f\u6301\u4fee\u6539\u3002"),(0,n.kt)("h3",{id:"datazoomstartendfunction"},"DataZoom.startEndFunction"),(0,n.kt)("p",null,"public CustomDataZoomStartEndFunction startEndFunction",(0,n.kt)("br",{parentName:"p"}),"\n","start\u548cend\u53d8\u66f4\u59d4\u6258\u3002"),(0,n.kt)("h3",{id:"datazoomgetbackgroundcolor"},"DataZoom.GetBackgroundColor"),(0,n.kt)("p",null,"public Color32 GetBackgroundColor(Color32 themeColor) "),(0,n.kt)("h3",{id:"datazoomgetbordercolor"},"DataZoom.GetBorderColor"),(0,n.kt)("p",null,"public Color32 GetBorderColor(Color32 themeColor) "),(0,n.kt)("h3",{id:"datazoomgetfillercolor"},"DataZoom.GetFillerColor"),(0,n.kt)("p",null,"public Color32 GetFillerColor(Color32 themeColor) "),(0,n.kt)("h3",{id:"datazoomiscontainsaxis"},"DataZoom.IsContainsAxis"),(0,n.kt)("p",null,"public bool IsContainsAxis(Axis axis) "),(0,n.kt)("h3",{id:"datazoomiscontainsxaxis"},"DataZoom.IsContainsXAxis"),(0,n.kt)("p",null,"public bool IsContainsXAxis(int index) "),(0,n.kt)("h3",{id:"datazoomiscontainsyaxis"},"DataZoom.IsContainsYAxis"),(0,n.kt)("p",null,"public bool IsContainsYAxis(int index) "),(0,n.kt)("h3",{id:"datazoomisinendzoom"},"DataZoom.IsInEndZoom"),(0,n.kt)("p",null,"public bool IsInEndZoom(Vector2 pos)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed9\u5b9a\u7684\u5750\u6807\u662f\u5426\u5728\u7ed3\u675f\u6d3b\u52a8\u6761\u89e6\u53d1\u533a\u57df\u5185"),(0,n.kt)("h3",{id:"datazoomisinmarqueearea"},"DataZoom.IsInMarqueeArea"),(0,n.kt)("p",null,"public bool IsInMarqueeArea(Vector2 pos) "),(0,n.kt)("h3",{id:"datazoomisinselectedzoom"},"DataZoom.IsInSelectedZoom"),(0,n.kt)("p",null,"public bool IsInSelectedZoom(int totalIndex, int index, bool invert) "),(0,n.kt)("h3",{id:"datazoomisinstartzoom"},"DataZoom.IsInStartZoom"),(0,n.kt)("p",null,"public bool IsInStartZoom(Vector2 pos)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed9\u5b9a\u7684\u5750\u6807\u662f\u5426\u5728\u5f00\u59cb\u6d3b\u52a8\u6761\u89e6\u53d1\u533a\u57df\u5185"),(0,n.kt)("h3",{id:"datazoomisinzoom"},"DataZoom.IsInZoom"),(0,n.kt)("p",null,"public bool IsInZoom(Vector2 pos)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed9\u5b9a\u7684\u5750\u6807\u662f\u5426\u5728\u7f29\u653e\u533a\u57df\u5185"),(0,n.kt)("h3",{id:"datazoomsetdefaultvalue"},"DataZoom.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue() "),(0,n.kt)("h3",{id:"datazoomupdateruntimedata"},"DataZoom.UpdateRuntimeData"),(0,n.kt)("p",null,"public void UpdateRuntimeData(BaseChart chart) "),(0,n.kt)("h2",{id:"datazoomfiltermode"},"DataZoom.FilterMode"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"dataZoom \u7684\u8fd0\u884c\u539f\u7406\u662f\u901a\u8fc7 \u6570\u636e\u8fc7\u6ee4 \u6765\u8fbe\u5230 \u6570\u636e\u7a97\u53e3\u7f29\u653e \u7684\u6548\u679c\u3002\u6570\u636e\u8fc7\u6ee4\u6a21\u5f0f\u7684\u8bbe\u7f6e\u4e0d\u540c\uff0c\u6548\u679c\u4e5f\u4e0d\u540c\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Filter"),": \u5f53\u524d\u6570\u636e\u7a97\u53e3\u5916\u7684\u6570\u636e\uff0c\u88ab \u8fc7\u6ee4\u6389\u3002\u5373 \u4f1a \u5f71\u54cd\u5176\u4ed6\u8f74\u7684\u6570\u636e\u8303\u56f4\u3002\u6bcf\u4e2a\u6570\u636e\u9879\uff0c\u53ea\u8981\u6709\u4e00\u4e2a\u7ef4\u5ea6\u5728\u6570\u636e\u7a97\u53e3\u5916\uff0c\u6574\u4e2a\u6570\u636e\u9879\u5c31\u4f1a\u88ab\u8fc7\u6ee4\u6389\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"WeakFilter"),": \u5f53\u524d\u6570\u636e\u7a97\u53e3\u5916\u7684\u6570\u636e\uff0c\u88ab \u8fc7\u6ee4\u6389\u3002\u5373 \u4f1a \u5f71\u54cd\u5176\u4ed6\u8f74\u7684\u6570\u636e\u8303\u56f4\u3002\u6bcf\u4e2a\u6570\u636e\u9879\uff0c\u53ea\u6709\u5f53\u5168\u90e8\u7ef4\u5ea6\u90fd\u5728\u6570\u636e\u7a97\u53e3\u540c\u4fa7\u5916\u90e8\uff0c\u6574\u4e2a\u6570\u636e\u9879\u624d\u4f1a\u88ab\u8fc7\u6ee4\u6389\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Empty"),": \u5f53\u524d\u6570\u636e\u7a97\u53e3\u5916\u7684\u6570\u636e\uff0c\u88ab \u8bbe\u7f6e\u4e3a\u7a7a\u3002\u5373 \u4e0d\u4f1a \u5f71\u54cd\u5176\u4ed6\u8f74\u7684\u6570\u636e\u8303\u56f4\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4e0d\u8fc7\u6ee4\u6570\u636e\uff0c\u53ea\u6539\u53d8\u6570\u8f74\u8303\u56f4\u3002")),(0,n.kt)("h2",{id:"datazoomrangemode"},"DataZoom.RangeMode"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"The value type of start and end.\u53d6\u503c\u7c7b\u578b"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"//Value"),": The value type of start and end.\u53d6\u503c\u7c7b\u578b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Percent"),": \u767e\u5206\u6bd4\u3002")),(0,n.kt)("h2",{id:"datazoomcontext"},"DataZoomContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h3",{id:"datazoomcontextendvalue"},"DataZoomContext.endValue"),(0,n.kt)("p",null,"public double endValue",(0,n.kt)("br",{parentName:"p"}),"\n","\u8fd0\u884c\u65f6\u5b9e\u9645\u8303\u56f4\u7684\u7ed3\u675f\u503c"),(0,n.kt)("h3",{id:"datazoomcontextheight"},"DataZoomContext.height"),(0,n.kt)("p",null,"public float height "),(0,n.kt)("h3",{id:"datazoomcontextinvert"},"DataZoomContext.invert"),(0,n.kt)("p",null,"public bool invert "),(0,n.kt)("h3",{id:"datazoomcontextiscoordinatedrag"},"DataZoomContext.isCoordinateDrag"),(0,n.kt)("p",null,"public bool isCoordinateDrag "),(0,n.kt)("h3",{id:"datazoomcontextisdrag"},"DataZoomContext.isDrag"),(0,n.kt)("p",null,"public bool isDrag "),(0,n.kt)("h3",{id:"datazoomcontextisenddrag"},"DataZoomContext.isEndDrag"),(0,n.kt)("p",null,"public bool isEndDrag "),(0,n.kt)("h3",{id:"datazoomcontextismarqueedrag"},"DataZoomContext.isMarqueeDrag"),(0,n.kt)("p",null,"public bool isMarqueeDrag "),(0,n.kt)("h3",{id:"datazoomcontextisstartdrag"},"DataZoomContext.isStartDrag"),(0,n.kt)("p",null,"public bool isStartDrag "),(0,n.kt)("h3",{id:"datazoomcontextmarqueeendpos"},"DataZoomContext.marqueeEndPos"),(0,n.kt)("p",null,"public Vector3 marqueeEndPos "),(0,n.kt)("h3",{id:"datazoomcontextmarqueerect"},"DataZoomContext.marqueeRect"),(0,n.kt)("p",null,"public Rect marqueeRect "),(0,n.kt)("h3",{id:"datazoomcontextmarqueestartpos"},"DataZoomContext.marqueeStartPos"),(0,n.kt)("p",null,"public Vector3 marqueeStartPos "),(0,n.kt)("h3",{id:"datazoomcontextstartvalue"},"DataZoomContext.startValue"),(0,n.kt)("p",null,"public double startValue",(0,n.kt)("br",{parentName:"p"}),"\n","\u8fd0\u884c\u65f6\u5b9e\u9645\u8303\u56f4\u7684\u5f00\u59cb\u503c"),(0,n.kt)("h3",{id:"datazoomcontextwidth"},"DataZoomContext.width"),(0,n.kt)("p",null,"public float width "),(0,n.kt)("h3",{id:"datazoomcontextx"},"DataZoomContext.x"),(0,n.kt)("p",null,"public float x "),(0,n.kt)("h3",{id:"datazoomcontexty"},"DataZoomContext.y"),(0,n.kt)("p",null,"public float y "),(0,n.kt)("h2",{id:"datazoomhelper"},"DataZoomHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"datazoomhelperupdatedatazoomruntimestartendvalue"},"DataZoomHelper.UpdateDataZoomRuntimeStartEndValue"),(0,n.kt)("p",null,"public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie) "),(0,n.kt)("h3",{id:"datazoomhelperupdatedatazoomruntimestartendvaluet"},"DataZoomHelper.UpdateDataZoomRuntimeStartEndValue","<","T",">"),(0,n.kt)("p",null,"public static void UpdateDataZoomRuntimeStartEndValue","<","T",">","(BaseChart chart) where T : Serie "),(0,n.kt)("h2",{id:"datazoomtheme"},"DataZoomTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"datazoomthemecopy"},"DataZoomTheme.Copy"),(0,n.kt)("p",null,"public void Copy(DataZoomTheme theme) "),(0,n.kt)("h3",{id:"datazoomthemedatazoomtheme"},"DataZoomTheme.DataZoomTheme"),(0,n.kt)("p",null,"public DataZoomTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h2",{id:"datetimeutil"},"DateTimeUtil"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"datetimeutilgetdatetime"},"DateTimeUtil.GetDateTime"),(0,n.kt)("p",null,"public static DateTime GetDateTime(double timestamp, bool local = true) "),(0,n.kt)("h3",{id:"datetimeutilgetdefaultdatetimestring"},"DateTimeUtil.GetDefaultDateTimeString"),(0,n.kt)("p",null,"public static string GetDefaultDateTimeString(int timestamp, double range = 0) "),(0,n.kt)("h3",{id:"datetimeutilgettimestamp"},"DateTimeUtil.GetTimestamp"),(0,n.kt)("p",null,"public static int GetTimestamp(DateTime time, bool local = false) "),(0,n.kt)("p",null,"public static int GetTimestamp(string dateTime, bool local = false) "),(0,n.kt)("h3",{id:"datetimeutilisdateortimeregex"},"DateTimeUtil.IsDateOrTimeRegex"),(0,n.kt)("p",null,"public static bool IsDateOrTimeRegex(string regex, ref bool date, ref string formatter) "),(0,n.kt)("h2",{id:"debuginfo"},"DebugInfo"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"debuginfoavgfps"},"DebugInfo.avgFps"),(0,n.kt)("p",null,"public float avgFps",(0,n.kt)("br",{parentName:"p"}),"\n","\u5e73\u5747\u5e27\u7387\u3002"),(0,n.kt)("h3",{id:"debuginfofoldseries"},"DebugInfo.foldSeries"),(0,n.kt)("p",null,"public bool foldSeries",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u5728Inspector\u4e0a\u6298\u53e0Serie\u3002"),(0,n.kt)("h3",{id:"debuginfofps"},"DebugInfo.fps"),(0,n.kt)("p",null,"public float fps",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f53\u524d\u5e27\u7387\u3002"),(0,n.kt)("h3",{id:"debuginforefreshcount"},"DebugInfo.refreshCount"),(0,n.kt)("p",null,"public int refreshCount",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u6bcf\u79d2\u5237\u65b0\u6b21\u6570\u3002"),(0,n.kt)("h3",{id:"debuginfoshow"},"DebugInfo.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793aDebug\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"debuginfoshowallchartobject"},"DebugInfo.showAllChartObject"),(0,n.kt)("p",null,"public bool showAllChartObject",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u5728Hierarchy\u8bd5\u56fe\u663e\u793a\u6240\u6709chart\u4e0b\u7684\u8282\u70b9\u3002"),(0,n.kt)("h3",{id:"debuginfoinit"},"DebugInfo.Init"),(0,n.kt)("p",null,"public void Init(BaseChart chart) "),(0,n.kt)("h3",{id:"debuginfoupdate"},"DebugInfo.Update"),(0,n.kt)("p",null,"public void Update() "),(0,n.kt)("h2",{id:"defaultanimationattribute"},"DefaultAnimationAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("h3",{id:"defaultanimationattributedefaultanimationattribute"},"DefaultAnimationAttribute.DefaultAnimationAttribute"),(0,n.kt)("p",null,"public DefaultAnimationAttribute(AnimationType handler, bool enableSerieDataAddedAnimation) "),(0,n.kt)("h2",{id:"defaulttooltipattribute"},"DefaultTooltipAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("h3",{id:"defaulttooltipattributedefaulttooltipattribute"},"DefaultTooltipAttribute.DefaultTooltipAttribute"),(0,n.kt)("p",null,"public DefaultTooltipAttribute(Tooltip.Type type, Tooltip.Trigger trigger) "),(0,n.kt)("h2",{id:"definesymbolsutil"},"DefineSymbolsUtil"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"definesymbolsutiladdglobaldefine"},"DefineSymbolsUtil.AddGlobalDefine"),(0,n.kt)("p",null,"public static void AddGlobalDefine(string symbol) "),(0,n.kt)("h3",{id:"definesymbolsutilremoveglobaldefine"},"DefineSymbolsUtil.RemoveGlobalDefine"),(0,n.kt)("p",null,"public static void RemoveGlobalDefine(string symbol) "),(0,n.kt)("h2",{id:"effectscatter"},"EffectScatter"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basescatter"},"BaseScatter")),(0,n.kt)("h3",{id:"effectscatteradddefaultserie"},"EffectScatter.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h2",{id:"emphasisstyle"},"EmphasisStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#statestyle"},"StateStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u9ad8\u4eae\u72b6\u6001\u6837\u5f0f\u3002"),(0,n.kt)("h2",{id:"emphasisstyleblurscope"},"EmphasisStyle.BlurScope"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6de1\u51fa\u8303\u56f4\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"GridCoord"),": \u6de1\u51fa\u8303\u56f4\u4e3a\u5750\u6807\u7cfb\uff0c\u9ed8\u8ba4\u4f7f\u7528\u8be5\u914d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Series"),": \u6de1\u51fa\u8303\u56f4\u4e3a\u7cfb\u5217\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Global"),": \u6de1\u51fa\u8303\u56f4\u4e3a\u5168\u5c40\u3002")),(0,n.kt)("h2",{id:"emphasisstylefocustype"},"EmphasisStyle.FocusType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u805a\u7126\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4e0d\u6de1\u51fa\u5176\u5b83\u56fe\u5f62\uff0c\u9ed8\u8ba4\u4f7f\u7528\u8be5\u914d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Self"),": \u53ea\u805a\u7126\uff08\u4e0d\u6de1\u51fa\uff09\u5f53\u524d\u9ad8\u4eae\u7684\u6570\u636e\u7684\u56fe\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Series"),": \u805a\u7126\u5f53\u524d\u9ad8\u4eae\u7684\u6570\u636e\u6240\u5728\u7684\u7cfb\u5217\u7684\u6240\u6709\u56fe\u5f62\u3002")),(0,n.kt)("h2",{id:"endlabelstyle"},"EndLabelStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("h3",{id:"endlabelstyleendlabelstyle"},"EndLabelStyle.EndLabelStyle"),(0,n.kt)("p",null,"public EndLabelStyle() "),(0,n.kt)("h2",{id:"formatterhelper"},"FormatterHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"formatterhelperneedformat"},"FormatterHelper.NeedFormat"),(0,n.kt)("p",null,"public static bool NeedFormat(string content) "),(0,n.kt)("h3",{id:"formatterhelperreplaceaxislabelcontent"},"FormatterHelper.ReplaceAxisLabelContent"),(0,n.kt)("p",null,"public static void ReplaceAxisLabelContent(ref string content, string value) "),(0,n.kt)("h3",{id:"formatterhelpertrimandreplaceline"},"FormatterHelper.TrimAndReplaceLine"),(0,n.kt)("p",null,"public static string TrimAndReplaceLine(string content) "),(0,n.kt)("h2",{id:"graphdata"},"GraphData"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6570\u636e\u7ed3\u6784-\u56fe\u3002"),(0,n.kt)("h3",{id:"graphdataaddedge"},"GraphData.AddEdge"),(0,n.kt)("p",null,"public GraphEdge AddEdge(string nodeId1, string nodeId2, double value) "),(0,n.kt)("h3",{id:"graphdataaddnode"},"GraphData.AddNode"),(0,n.kt)("p",null,"public GraphNode AddNode(string nodeId, string nodeName, int dataIndex, double value) "),(0,n.kt)("h3",{id:"graphdatabreadthfirsttraverse"},"GraphData.BreadthFirstTraverse"),(0,n.kt)("p",null,"public void BreadthFirstTraverse(GraphNode startNode, System.Action","<","GraphNode",">"," onTraverse) "),(0,n.kt)("h3",{id:"graphdataclear"},"GraphData.Clear"),(0,n.kt)("p",null,"public void Clear() "),(0,n.kt)("h3",{id:"graphdatadeepfirsttraverse"},"GraphData.DeepFirstTraverse"),(0,n.kt)("p",null,"public void DeepFirstTraverse(GraphNode startNode, System.Action","<","GraphNode",">"," onTraverse) "),(0,n.kt)("h3",{id:"graphdataeachnode"},"GraphData.EachNode"),(0,n.kt)("p",null,"public void EachNode(System.Action","<","GraphNode",">"," onEach) "),(0,n.kt)("h3",{id:"graphdataexpandallnodes"},"GraphData.ExpandAllNodes"),(0,n.kt)("p",null,"public void ExpandAllNodes(bool flag, int level = -1) "),(0,n.kt)("h3",{id:"graphdataexpandnode"},"GraphData.ExpandNode"),(0,n.kt)("p",null,"public void ExpandNode(string nodeId, bool flag) "),(0,n.kt)("h3",{id:"graphdatagetdepthnodes"},"GraphData.GetDepthNodes"),(0,n.kt)("p",null,"public List","<","List","<","GraphNode",">",">"," GetDepthNodes() "),(0,n.kt)("h3",{id:"graphdatagetedge"},"GraphData.GetEdge"),(0,n.kt)("p",null,"public GraphEdge GetEdge(string nodeId1, string nodeId2) "),(0,n.kt)("h3",{id:"graphdatagetexpandednodescount"},"GraphData.GetExpandedNodesCount"),(0,n.kt)("p",null,"public static int GetExpandedNodesCount(List","<","GraphNode",">"," nodes) "),(0,n.kt)("h3",{id:"graphdatagetmaxdepth"},"GraphData.GetMaxDepth"),(0,n.kt)("p",null,"public int GetMaxDepth() "),(0,n.kt)("h3",{id:"graphdatagetnode"},"GraphData.GetNode"),(0,n.kt)("p",null,"public GraphNode GetNode(string nodeId) "),(0,n.kt)("h3",{id:"graphdatagetnodedepth"},"GraphData.GetNodeDepth"),(0,n.kt)("p",null,"// public void GetNodeDepth(GraphNode node, ref int depth, int recursiveCount = 0) "),(0,n.kt)("p",null,"public int GetNodeDepth(GraphNode node, int recursiveCount = 0) "),(0,n.kt)("h3",{id:"graphdatagetnodestotalvalue"},"GraphData.GetNodesTotalValue"),(0,n.kt)("p",null,"public static double GetNodesTotalValue(List","<","GraphNode",">"," nodes) "),(0,n.kt)("h3",{id:"graphdatagetrootnodes"},"GraphData.GetRootNodes"),(0,n.kt)("p",null,"public List","<","GraphNode",">"," GetRootNodes() "),(0,n.kt)("h3",{id:"graphdatagraphdata"},"GraphData.GraphData"),(0,n.kt)("p",null,"public GraphData(bool directed) "),(0,n.kt)("h3",{id:"graphdataisallnodeinzeroposition"},"GraphData.IsAllNodeInZeroPosition"),(0,n.kt)("p",null,"public bool IsAllNodeInZeroPosition() "),(0,n.kt)("h3",{id:"graphdatarefresh"},"GraphData.Refresh"),(0,n.kt)("p",null,"public void Refresh() "),(0,n.kt)("h2",{id:"graphedge"},"GraphEdge"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u56fe\u7684\u8fb9\u3002"),(0,n.kt)("h3",{id:"graphedgegraphedge"},"GraphEdge.GraphEdge"),(0,n.kt)("p",null,"public GraphEdge(GraphNode node1, GraphNode node2, double value) "),(0,n.kt)("h3",{id:"graphedgeispointinedge"},"GraphEdge.IsPointInEdge"),(0,n.kt)("p",null,"public bool IsPointInEdge(Vector2 point) "),(0,n.kt)("h2",{id:"graphnode"},"GraphNode"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u56fe\u7684\u8282\u70b9\u3002"),(0,n.kt)("h3",{id:"graphnodedegree"},"GraphNode.degree"),(0,n.kt)("p",null,"public int degree "),(0,n.kt)("h3",{id:"graphnodeindegree"},"GraphNode.inDegree"),(0,n.kt)("p",null,"public int inDegree "),(0,n.kt)("h3",{id:"graphnodeoutdegree"},"GraphNode.outDegree"),(0,n.kt)("p",null,"public int outDegree "),(0,n.kt)("h3",{id:"graphnodeexpand"},"GraphNode.Expand"),(0,n.kt)("p",null,"public void Expand(bool flag) "),(0,n.kt)("h3",{id:"graphnodegraphnode"},"GraphNode.GraphNode"),(0,n.kt)("p",null,"public GraphNode(string id, string name, int dataIndex) "),(0,n.kt)("h3",{id:"graphnodeisallinedgescollapsed"},"GraphNode.IsAllInEdgesCollapsed"),(0,n.kt)("p",null,"public bool IsAllInEdgesCollapsed() "),(0,n.kt)("h3",{id:"graphnodeisanyinedgesexpanded"},"GraphNode.IsAnyInEdgesExpanded"),(0,n.kt)("p",null,"public bool IsAnyInEdgesExpanded() "),(0,n.kt)("h3",{id:"graphnodetostring"},"GraphNode.ToString"),(0,n.kt)("p",null,"public override string ToString() "),(0,n.kt)("h2",{id:"gridcoord"},"GridCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),",",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("p",null,"Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid."),(0,n.kt)("h3",{id:"gridcoordboundarypoint"},"GridCoord.BoundaryPoint"),(0,n.kt)("p",null,"public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref List","<","Vector3",">"," point)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed9\u5b9a\u7684\u7ebf\u6bb5\u548cGrid\u8fb9\u754c\u7684\u4ea4\u70b9"),(0,n.kt)("h3",{id:"gridcoordclamp"},"GridCoord.Clamp"),(0,n.kt)("p",null,"public void Clamp(ref Vector3 pos) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5c06\u4f4d\u7f6e\u9650\u5236\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoordclampx"},"GridCoord.ClampX"),(0,n.kt)("p",null,"public void ClampX(ref Vector3 pos) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5c06\u4f4d\u7f6e\u7684X\u9650\u5236\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoordclampy"},"GridCoord.ClampY"),(0,n.kt)("p",null,"public void ClampY(ref Vector3 pos) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5c06\u4f4d\u7f6e\u7684Y\u9650\u5236\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoordcontains"},"GridCoord.Contains"),(0,n.kt)("p",null,"public bool Contains(float x, float y)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed9\u5b9a\u7684\u4f4d\u7f6e\u662f\u5426\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("p",null,"public bool Contains(Vector3 pos, bool isYAxis) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u7ed9\u5b9a\u7684\u4f4d\u7f6e\u662f\u5426\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoordcontainsx"},"GridCoord.ContainsX"),(0,n.kt)("p",null,"public bool ContainsX(float x) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u7ed9\u5b9a\u7684x\u662f\u5426\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoordcontainsy"},"GridCoord.ContainsY"),(0,n.kt)("p",null,"public bool ContainsY(float y) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u7ed9\u5b9a\u7684y\u662f\u5426\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoordispointerenter"},"GridCoord.IsPointerEnter"),(0,n.kt)("p",null,"public bool IsPointerEnter()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6307\u9488\u662f\u5426\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoordnotanyintersect"},"GridCoord.NotAnyIntersect"),(0,n.kt)("p",null,"public bool NotAnyIntersect(Vector3 sp, Vector3 ep) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5224\u65ad\u7ed9\u5b9a\u7684\u7ebf\u6bb5\u662f\u5426\u4e0eGrid\u8fb9\u754c\u662f\u5426\u5b8c\u5168\u4e0d\u4f1a\u76f8\u4ea4\u3002"),(0,n.kt)("h3",{id:"gridcoordupdateruntimedata"},"GridCoord.UpdateRuntimeData"),(0,n.kt)("p",null,"public void UpdateRuntimeData(BaseChart chart) "),(0,n.kt)("h2",{id:"gridcoord3d"},"GridCoord3D"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),",",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid."),(0,n.kt)("h3",{id:"gridcoord3dclamp"},"GridCoord3D.Clamp"),(0,n.kt)("p",null,"public void Clamp(ref Vector3 pos)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5c06\u4f4d\u7f6e\u9650\u5236\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoord3dcontains"},"GridCoord3D.Contains"),(0,n.kt)("p",null,"public bool Contains(Vector3 pos)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed9\u5b9a\u7684\u4f4d\u7f6e\u662f\u5426\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoord3disleft"},"GridCoord3D.IsLeft"),(0,n.kt)("p",null,"public bool IsLeft()",(0,n.kt)("br",{parentName:"p"}),"\n","The opening of the coordinate system faces to the left. \u5750\u6807\u7cfb\u5f00\u53e3\u671d\u5411\u5de6\u8fb9\u3002"),(0,n.kt)("h3",{id:"gridcoord3dispointerenter"},"GridCoord3D.IsPointerEnter"),(0,n.kt)("p",null,"public bool IsPointerEnter()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6307\u9488\u662f\u5426\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoord3dnotanyintersect"},"GridCoord3D.NotAnyIntersect"),(0,n.kt)("p",null,"public bool NotAnyIntersect(Vector3 sp, Vector3 ep)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5224\u65ad\u7ed9\u5b9a\u7684\u7ebf\u6bb5\u662f\u5426\u4e0eGrid\u8fb9\u754c\u662f\u5426\u5b8c\u5168\u4e0d\u4f1a\u76f8\u4ea4\u3002"),(0,n.kt)("h3",{id:"gridcoord3dupdateruntimedata"},"GridCoord3D.UpdateRuntimeData"),(0,n.kt)("p",null,"public void UpdateRuntimeData(BaseChart chart) "),(0,n.kt)("h2",{id:"gridcoord3dcontext"},"GridCoord3DContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h2",{id:"gridcoordcontext"},"GridCoordContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h2",{id:"gridlayout"},"GridLayout"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u7f51\u683c\u5e03\u5c40\u7ec4\u4ef6\u3002\u7528\u4e8e\u7ba1\u7406\u591a\u4e2a",(0,n.kt)("inlineCode",{parentName:"p"},"GridCoord"),"\u7684\u5e03\u5c40\uff0c\u53ef\u4ee5\u901a\u8fc7",(0,n.kt)("inlineCode",{parentName:"p"},"row"),"\u548c",(0,n.kt)("inlineCode",{parentName:"p"},"column"),"\u6765\u63a7\u5236\u7f51\u683c\u7684\u884c\u5217\u6570\u3002"),(0,n.kt)("h3",{id:"gridlayoutupdateruntimedata"},"GridLayout.UpdateRuntimeData"),(0,n.kt)("p",null,"public void UpdateRuntimeData(BaseChart chart) "),(0,n.kt)("h2",{id:"gridlayoutcontext"},"GridLayoutContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h2",{id:"heatmap"},"Heatmap"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h3",{id:"heatmapcontainerindex"},"Heatmap.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"heatmapcontainterinstanceid"},"Heatmap.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h3",{id:"heatmapadddefaultserie"},"Heatmap.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h2",{id:"heatmapchart"},"HeatmapChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u70ed\u529b\u56fe\u4e3b\u8981\u901a\u8fc7\u989c\u8272\u53bb\u8868\u73b0\u6570\u503c\u7684\u5927\u5c0f\uff0c\u5fc5\u987b\u8981\u914d\u5408 visualMap \u7ec4\u4ef6\u4f7f\u7528\u3002 \u53ef\u4ee5\u5e94\u7528\u5728\u76f4\u89d2\u5750\u6807\u7cfb\u4ee5\u53ca\u5730\u7406\u5750\u6807\u7cfb\u4e0a\uff0c\u8fd9\u4e24\u4e2a\u5750\u6807\u7cfb\u4e0a\u7684\u8868\u73b0\u5f62\u5f0f\u76f8\u5dee\u5f88\u5927\uff0c\u76f4\u89d2\u5750\u6807\u7cfb\u4e0a\u5fc5\u987b\u8981\u4f7f\u7528\u4e24\u4e2a\u7c7b\u76ee\u8f74\u3002"),(0,n.kt)("h3",{id:"heatmapchartdefaultcountheatmapchart"},"HeatmapChart.DefaultCountHeatmapChart"),(0,n.kt)("p",null,"public void DefaultCountHeatmapChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u8ba1\u6570\u70ed\u529b\u56fe\u3002"),(0,n.kt)("h2",{id:"heatmaptype"},"HeatmapType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u70ed\u529b\u56fe\u7c7b\u578b\u3002\u901a\u8fc7\u989c\u8272\u6620\u5c04\u5212\u5206\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Data"),": \u6570\u636e\u6620\u5c04\u578b\u3002\u9ed8\u8ba4\u7528\u7b2c2\u7ef4\u6570\u636e\u4f5c\u4e3a\u989c\u8272\u6620\u5c04\u3002\u8981\u6c42\u6570\u636e\u81f3\u5c11\u67093\u4e2a\u7ef4\u5ea6\u6570\u636e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Count"),": \u4e2a\u6570\u6620\u5c04\u578b\u3002\u7edf\u8ba1\u6570\u636e\u5728\u5212\u5206\u7684\u683c\u5b50\u4e2d\u51fa\u73b0\u7684\u6b21\u6570\uff0c\u4f5c\u4e3a\u989c\u8272\u6620\u5c04\u3002\u8981\u6c42\u6570\u636e\u81f3\u5c11\u67092\u4e2a\u7ef4\u5ea6\u6570\u636e\u3002")),(0,n.kt)("h2",{id:"iconstyle"},"IconStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"iconstylealign"},"IconStyle.align"),(0,n.kt)("p",null,"public Align align",(0,n.kt)("br",{parentName:"p"}),"\n","\u6c34\u5e73\u65b9\u5411\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("h3",{id:"iconstyleautohidewhenlabelempty"},"IconStyle.autoHideWhenLabelEmpty"),(0,n.kt)("p",null,"public bool autoHideWhenLabelEmpty",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f53label\u5185\u5bb9\u4e3a\u7a7a\u65f6\u662f\u5426\u81ea\u52a8\u9690\u85cf\u56fe\u6807"),(0,n.kt)("h3",{id:"iconstylecolor"},"IconStyle.color"),(0,n.kt)("p",null,"public Color color",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u6807\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"iconstyleheight"},"IconStyle.height"),(0,n.kt)("p",null,"public float height",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u6807\u9ad8\u3002"),(0,n.kt)("h3",{id:"iconstylelayer"},"IconStyle.layer"),(0,n.kt)("p",null,"public Layer layer",(0,n.kt)("br",{parentName:"p"}),"\n","\u663e\u793a\u5728\u4e0a\u5c42\u8fd8\u662f\u5728\u4e0b\u5c42\u3002"),(0,n.kt)("h3",{id:"iconstyleoffset"},"IconStyle.offset"),(0,n.kt)("p",null,"public Vector3 offset",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u6807\u504f\u79fb\u3002"),(0,n.kt)("h3",{id:"iconstyleshow"},"IconStyle.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793a\u56fe\u6807\u3002"),(0,n.kt)("h3",{id:"iconstylesprite"},"IconStyle.sprite"),(0,n.kt)("p",null,"public Sprite sprite",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u6807\u7684\u56fe\u7247\u3002"),(0,n.kt)("h3",{id:"iconstyletype"},"IconStyle.type"),(0,n.kt)("p",null,"public Image.Type type",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u7247\u7684\u663e\u793a\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"iconstylewidth"},"IconStyle.width"),(0,n.kt)("p",null,"public float width",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u6807\u5bbd\u3002"),(0,n.kt)("h3",{id:"iconstyleclone"},"IconStyle.Clone"),(0,n.kt)("p",null,"public IconStyle Clone() "),(0,n.kt)("h3",{id:"iconstylecopy"},"IconStyle.Copy"),(0,n.kt)("p",null,"public void Copy(IconStyle iconStyle) "),(0,n.kt)("h3",{id:"iconstylereset"},"IconStyle.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h2",{id:"iconstylelayer-1"},"IconStyle.Layer"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"UnderText"),": The icon is display under the label text. \u56fe\u6807\u5728\u6807\u7b7e\u6587\u5b57\u4e0b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"AboveText"),": The icon is display above the label text. \u56fe\u6807\u5728\u6807\u7b7e\u6587\u5b57\u4e0a")),(0,n.kt)("h2",{id:"ignoredoc"},"IgnoreDoc"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("h3",{id:"ignoredocignoredoc"},"IgnoreDoc.IgnoreDoc"),(0,n.kt)("p",null,"public IgnoreDoc() "),(0,n.kt)("h2",{id:"imagestyle"},"ImageStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("h3",{id:"imagestyleautocolor"},"ImageStyle.autoColor"),(0,n.kt)("p",null,"public bool autoColor",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u81ea\u52a8\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"imagestylecolor"},"ImageStyle.color"),(0,n.kt)("p",null,"public Color color",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u6807\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"imagestyleheight"},"ImageStyle.height"),(0,n.kt)("p",null,"public float height",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u6807\u9ad8\u3002"),(0,n.kt)("h3",{id:"imagestyleshow"},"ImageStyle.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793a\u56fe\u6807\u3002"),(0,n.kt)("h3",{id:"imagestylesprite"},"ImageStyle.sprite"),(0,n.kt)("p",null,"public Sprite sprite",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u6807\u7684\u56fe\u7247\u3002"),(0,n.kt)("h3",{id:"imagestyletype"},"ImageStyle.type"),(0,n.kt)("p",null,"public Image.Type type",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u7247\u7684\u663e\u793a\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"imagestylewidth"},"ImageStyle.width"),(0,n.kt)("p",null,"public float width",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u6807\u5bbd\u3002"),(0,n.kt)("h3",{id:"imagestyleclone"},"ImageStyle.Clone"),(0,n.kt)("p",null,"public ImageStyle Clone() "),(0,n.kt)("h3",{id:"imagestylecopy"},"ImageStyle.Copy"),(0,n.kt)("p",null,"public void Copy(ImageStyle imageStyle) "),(0,n.kt)("h3",{id:"imagestylereset"},"ImageStyle.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h2",{id:"indicator"},"Indicator"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u7684\u6307\u793a\u5668\uff0c\u7528\u6765\u6307\u5b9a\u96f7\u8fbe\u56fe\u4e2d\u7684\u591a\u4e2a\u53d8\u91cf\uff08\u7ef4\u5ea6\uff09\u3002"),(0,n.kt)("h3",{id:"indicatorindicatorlist"},"Indicator.indicatorList"),(0,n.kt)("p",null,"public List","<","Indicator",">"," indicatorList",(0,n.kt)("br",{parentName:"p"}),"\n","\u6307\u793a\u5668\u5217\u8868\u3002"),(0,n.kt)("h3",{id:"indicatormax"},"Indicator.max"),(0,n.kt)("p",null,"public double max",(0,n.kt)("br",{parentName:"p"}),"\n","\u6307\u793a\u5668\u7684\u6700\u5927\u503c\uff0c\u9ed8\u8ba4\u4e3a 0 \u65e0\u9650\u5236\u3002"),(0,n.kt)("h3",{id:"indicatormin"},"Indicator.min"),(0,n.kt)("p",null,"public double min",(0,n.kt)("br",{parentName:"p"}),"\n","\u6307\u793a\u5668\u7684\u6700\u5c0f\u503c\uff0c\u9ed8\u8ba4\u4e3a 0 \u65e0\u9650\u5236\u3002"),(0,n.kt)("h3",{id:"indicatorname"},"Indicator.name"),(0,n.kt)("p",null,"public string name",(0,n.kt)("br",{parentName:"p"}),"\n","\u6307\u793a\u5668\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"indicatorshow"},"Indicator.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793a\u96f7\u8fbe\u5750\u6807\u7cfb\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"indicatortext"},"Indicator.text"),(0,n.kt)("p",null,"public Text text",(0,n.kt)("br",{parentName:"p"}),"\n","\u6307\u793a\u5668\u7684\u6587\u672c\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"indicatoraddindicator"},"Indicator.AddIndicator"),(0,n.kt)("p",null,"public RadarCoord.Indicator AddIndicator(string name, double min, double max) "),(0,n.kt)("h3",{id:"indicatoraddindicatorlist"},"Indicator.AddIndicatorList"),(0,n.kt)("p",null,"public void AddIndicatorList(List","<","string",">"," nameList, double min = 0, double max = 0) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.3.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("h3",{id:"indicatorcleardata"},"Indicator.ClearData"),(0,n.kt)("p",null,"public override void ClearData() "),(0,n.kt)("h3",{id:"indicatorgetformatterindicatorcontent"},"Indicator.GetFormatterIndicatorContent"),(0,n.kt)("p",null,"public string GetFormatterIndicatorContent(string indicatorName) "),(0,n.kt)("h3",{id:"indicatorgetindicator"},"Indicator.GetIndicator"),(0,n.kt)("p",null,"public RadarCoord.Indicator GetIndicator(int indicatorIndex) "),(0,n.kt)("h3",{id:"indicatorgetindicatormax"},"Indicator.GetIndicatorMax"),(0,n.kt)("p",null,"public double GetIndicatorMax(int index) "),(0,n.kt)("h3",{id:"indicatorgetindicatormin"},"Indicator.GetIndicatorMin"),(0,n.kt)("p",null,"public double GetIndicatorMin(int index) "),(0,n.kt)("h3",{id:"indicatorgetindicatorname"},"Indicator.GetIndicatorName"),(0,n.kt)("p",null,"public string GetIndicatorName(int indicatorIndex) "),(0,n.kt)("h3",{id:"indicatorgetindicatorposition"},"Indicator.GetIndicatorPosition"),(0,n.kt)("p",null,"public Vector3 GetIndicatorPosition(int index) "),(0,n.kt)("h3",{id:"indicatorisinindicatorrange"},"Indicator.IsInIndicatorRange"),(0,n.kt)("p",null,"public bool IsInIndicatorRange(int index, double value) "),(0,n.kt)("h3",{id:"indicatorisinrange"},"Indicator.IsInRange"),(0,n.kt)("p",null,"public bool IsInRange(double value) "),(0,n.kt)("h3",{id:"indicatorispointerenter"},"Indicator.IsPointerEnter"),(0,n.kt)("p",null,"public bool IsPointerEnter() "),(0,n.kt)("h3",{id:"indicatorsetdefaultvalue"},"Indicator.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue() "),(0,n.kt)("h3",{id:"indicatorupdateindicator"},"Indicator.UpdateIndicator"),(0,n.kt)("p",null,"public bool UpdateIndicator(int indicatorIndex, string name, double min, double max) "),(0,n.kt)("h2",{id:"ineedseriecontainer"},"INeedSerieContainer"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#bar"},"Bar"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedbar"},"SimplifiedBar"),",",(0,n.kt)("a",{parentName:"p",href:"#candlestick"},"Candlestick"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedcandlestick"},"SimplifiedCandlestick"),",",(0,n.kt)("a",{parentName:"p",href:"#heatmap"},"Heatmap"),",",(0,n.kt)("a",{parentName:"p",href:"#line"},"Line"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedline"},"SimplifiedLine"),",",(0,n.kt)("a",{parentName:"p",href:"#parallel"},"Parallel"),",",(0,n.kt)("a",{parentName:"p",href:"#radar"},"Radar"),",",(0,n.kt)("a",{parentName:"p",href:"#basescatter"},"BaseScatter")," "),(0,n.kt)("h2",{id:"inputhelper"},"InputHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"inputhelpergetkeydown"},"InputHelper.GetKeyDown"),(0,n.kt)("p",null,"public static bool GetKeyDown(KeyCode keyCode) "),(0,n.kt)("h3",{id:"inputhelpergettouch"},"InputHelper.GetTouch"),(0,n.kt)("p",null,"public static Touch GetTouch(int v) "),(0,n.kt)("h2",{id:"interactdata"},"InteractData"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"interactdatareset"},"InteractData.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h3",{id:"interactdatasetcolor"},"InteractData.SetColor"),(0,n.kt)("p",null,"public void SetColor(ref bool needInteract, Color32 color, Color32 toColor) "),(0,n.kt)("h3",{id:"interactdatasetposition"},"InteractData.SetPosition"),(0,n.kt)("p",null,"public void SetPosition(ref bool needInteract, Vector3 pos) "),(0,n.kt)("h3",{id:"interactdatasetvalue"},"InteractData.SetValue"),(0,n.kt)("p",null,"public void SetValue(ref bool needInteract, float value, bool previousValueZero = false) "),(0,n.kt)("h3",{id:"interactdatasetvalueandcolor"},"InteractData.SetValueAndColor"),(0,n.kt)("p",null,"public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor) "),(0,n.kt)("h3",{id:"interactdatatostring"},"InteractData.ToString"),(0,n.kt)("p",null,"public override string ToString() "),(0,n.kt)("h3",{id:"interactdatatrygetcolor"},"InteractData.TryGetColor"),(0,n.kt)("p",null,"public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250) "),(0,n.kt)("h3",{id:"interactdatatrygetposition"},"InteractData.TryGetPosition"),(0,n.kt)("p",null,"public bool TryGetPosition(ref Vector3 pos, ref bool interacting, float animationDuration = 250) "),(0,n.kt)("h3",{id:"interactdatatrygetvalue"},"InteractData.TryGetValue"),(0,n.kt)("p",null,"public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250) "),(0,n.kt)("h3",{id:"interactdatatrygetvalueandcolor"},"InteractData.TryGetValueAndColor"),(0,n.kt)("p",null,"public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref bool interacting, float animationDuration = 250) "),(0,n.kt)("p",null,"public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250) "),(0,n.kt)("h2",{id:"ipropertychanged"},"IPropertyChanged"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#location"},"Location"),",",(0,n.kt)("a",{parentName:"p",href:"#comment"},"Comment"),",",(0,n.kt)("a",{parentName:"p",href:"#legend"},"Legend"),",",(0,n.kt)("a",{parentName:"p",href:"#title"},"Title")," "),(0,n.kt)("p",null,"\u5c5e\u6027\u53d8\u66f4\u63a5\u53e3"),(0,n.kt)("h2",{id:"iseriecomponent"},"ISerieComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#areastyle"},"AreaStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#imagestyle"},"ImageStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#linearrow"},"LineArrow"),",",(0,n.kt)("a",{parentName:"p",href:"#labelline"},"LabelLine"),",",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#blurstyle"},"BlurStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#emphasisstyle"},"EmphasisStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#selectstyle"},"SelectStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#titlestyle"},"TitleStyle")," "),(0,n.kt)("p",null,"\u53ef\u7528\u4e8eSerie\u7684\u7ec4\u4ef6\u3002"),(0,n.kt)("h2",{id:"iseriecontainer"},"ISerieContainer"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#radarcoord"},"RadarCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#calendarcoord"},"CalendarCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#gridcoord"},"GridCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#gridcoord3d"},"GridCoord3D"),",",(0,n.kt)("a",{parentName:"p",href:"#parallelcoord"},"ParallelCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#polarcoord"},"PolarCoord")," "),(0,n.kt)("h2",{id:"iseriedatacomponent"},"ISerieDataComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#areastyle"},"AreaStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#imagestyle"},"ImageStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#itemstyle"},"ItemStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#seriesymbol"},"SerieSymbol"),",",(0,n.kt)("a",{parentName:"p",href:"#labelline"},"LabelLine"),",",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#blurstyle"},"BlurStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#emphasisstyle"},"EmphasisStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#selectstyle"},"SelectStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#titlestyle"},"TitleStyle")," "),(0,n.kt)("p",null,"\u53ef\u7528\u4e8eSerieData\u7684\u7ec4\u4ef6\u3002"),(0,n.kt)("h2",{id:"isimplifiedserie"},"ISimplifiedSerie"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedbar"},"SimplifiedBar"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedcandlestick"},"SimplifiedCandlestick"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedline"},"SimplifiedLine")," "),(0,n.kt)("h2",{id:"itemstyle"},"ItemStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u56fe\u5f62\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"itemstylegetbordercolor"},"ItemStyle.GetBorderColor"),(0,n.kt)("p",null,"public Color32 GetBorderColor(Color32 defaultColor) "),(0,n.kt)("h3",{id:"itemstylegetbordercolor0"},"ItemStyle.GetBorderColor0"),(0,n.kt)("p",null,"public Color32 GetBorderColor0(Color32 defaultColor) "),(0,n.kt)("h3",{id:"itemstylegetcolor"},"ItemStyle.GetColor"),(0,n.kt)("p",null,"public Color32 GetColor(Color32 defaultColor) "),(0,n.kt)("h3",{id:"itemstylegetcolor0"},"ItemStyle.GetColor0"),(0,n.kt)("p",null,"public Color32 GetColor0(Color32 defaultColor) "),(0,n.kt)("h3",{id:"itemstylegetgradientcolor"},"ItemStyle.GetGradientColor"),(0,n.kt)("p",null,"public Color32 GetGradientColor(float value, Color32 defaultColor) "),(0,n.kt)("h3",{id:"itemstylegettocolor"},"ItemStyle.GetToColor"),(0,n.kt)("p",null,"public Color32 GetToColor() "),(0,n.kt)("h3",{id:"itemstyleisneedcorner"},"ItemStyle.IsNeedCorner"),(0,n.kt)("p",null,"public bool IsNeedCorner() "),(0,n.kt)("h3",{id:"itemstyleisneedgradient"},"ItemStyle.IsNeedGradient"),(0,n.kt)("p",null,"public bool IsNeedGradient() "),(0,n.kt)("h3",{id:"itemstylereset"},"ItemStyle.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h2",{id:"iupdateruntimedata"},"IUpdateRuntimeData"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#singleaxis"},"SingleAxis"),",",(0,n.kt)("a",{parentName:"p",href:"#datazoom"},"DataZoom"),",",(0,n.kt)("a",{parentName:"p",href:"#calendarcoord"},"CalendarCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#gridcoord"},"GridCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#gridlayout"},"GridLayout"),",",(0,n.kt)("a",{parentName:"p",href:"#gridcoord3d"},"GridCoord3D"),",",(0,n.kt)("a",{parentName:"p",href:"#parallelcoord"},"ParallelCoord")," "),(0,n.kt)("h2",{id:"jsonutil"},"JsonUtil"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"jsonutilgetjsonarrayt"},"JsonUtil.GetJsonArray","<","T",">"),(0,n.kt)("p",null,"public static T[] GetJsonArray","<","T",">","(string json) "),(0,n.kt)("h3",{id:"jsonutilgetjsonobjectt"},"JsonUtil.GetJsonObject","<","T",">"),(0,n.kt)("p",null,"public static T GetJsonObject","<","T",">","(string json) "),(0,n.kt)("h3",{id:"jsonutilgetwebjsont"},"JsonUtil.GetWebJson","<","T",">"),(0,n.kt)("p",null,"public static IEnumerator GetWebJson","<","T",">","(string url, Action","<","T",">"," callback) "),(0,n.kt)("h2",{id:"labelline"},"LabelLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u6807\u7b7e\u7684\u5f15\u5bfc\u7ebf"),(0,n.kt)("h3",{id:"labellinegetendsymboloffset"},"LabelLine.GetEndSymbolOffset"),(0,n.kt)("p",null,"public Vector3 GetEndSymbolOffset() "),(0,n.kt)("h3",{id:"labellinegetstartsymboloffset"},"LabelLine.GetStartSymbolOffset"),(0,n.kt)("p",null,"public Vector3 GetStartSymbolOffset() "),(0,n.kt)("h3",{id:"labellinereset"},"LabelLine.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h2",{id:"labellinelinetype"},"LabelLine.LineType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6807\u7b7e\u89c6\u89c9\u5f15\u5bfc\u7ebf\u7c7b\u578b"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BrokenLine"),": \u6298\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Curves"),": \u66f2\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"HorizontalLine"),": \u6c34\u5e73\u7ebf")),(0,n.kt)("h2",{id:"labelstyle"},"LabelStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axislabel"},"AxisLabel"),",",(0,n.kt)("a",{parentName:"p",href:"#endlabelstyle"},"EndLabelStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#titlestyle"},"TitleStyle")," "),(0,n.kt)("p",null,"\u56fe\u5f62\u4e0a\u7684\u6587\u672c\u6807\u7b7e\uff0c\u53ef\u7528\u4e8e\u8bf4\u660e\u56fe\u5f62\u7684\u4e00\u4e9b\u6570\u636e\u4fe1\u606f\uff0c\u6bd4\u5982\u503c\uff0c\u540d\u79f0\u7b49\u3002"),(0,n.kt)("h3",{id:"labelstyleclone"},"LabelStyle.Clone"),(0,n.kt)("p",null,"public virtual LabelStyle Clone() "),(0,n.kt)("h3",{id:"labelstylecopy"},"LabelStyle.Copy"),(0,n.kt)("p",null,"public virtual void Copy(LabelStyle label) "),(0,n.kt)("h3",{id:"labelstylegetcolor"},"LabelStyle.GetColor"),(0,n.kt)("p",null,"public Color GetColor(Color defaultColor) "),(0,n.kt)("h3",{id:"labelstylegetformattercontent"},"LabelStyle.GetFormatterContent"),(0,n.kt)("p",null,"public virtual string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false) "),(0,n.kt)("h3",{id:"labelstylegetformatterdatetime"},"LabelStyle.GetFormatterDateTime"),(0,n.kt)("p",null,"public string GetFormatterDateTime(int labelIndex, double value, double minValue, double maxValue) "),(0,n.kt)("h3",{id:"labelstylegetoffset"},"LabelStyle.GetOffset"),(0,n.kt)("p",null,"public Vector3 GetOffset(float radius) "),(0,n.kt)("h3",{id:"labelstyleisautosize"},"LabelStyle.IsAutoSize"),(0,n.kt)("p",null,"public bool IsAutoSize() "),(0,n.kt)("h3",{id:"labelstyleisdefaultposition"},"LabelStyle.IsDefaultPosition"),(0,n.kt)("p",null,"public bool IsDefaultPosition(Position position) "),(0,n.kt)("h3",{id:"labelstyleisinside"},"LabelStyle.IsInside"),(0,n.kt)("p",null,"public bool IsInside()",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u5728\u5185\u90e8\u3002"),(0,n.kt)("h3",{id:"labelstylereset"},"LabelStyle.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h2",{id:"labelstyleposition"},"LabelStyle.Position"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6807\u7b7e\u7684\u4f4d\u7f6e\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Default"),": \u6807\u7b7e\u7684\u4f4d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Outside"),": \u997c\u56fe\u6247\u533a\u5916\u4fa7\uff0c\u901a\u8fc7\u89c6\u89c9\u5f15\u5bfc\u7ebf\u8fde\u5230\u76f8\u5e94\u7684\u6247\u533a\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Inside"),": \u997c\u56fe\u6247\u533a\u5185\u90e8\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Center"),": \u5728\u997c\u56fe\u4e2d\u5fc3\u4f4d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Top"),": \u56fe\u5f62\u6807\u5fd7\u7684\u9876\u90e8\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Bottom"),": \u56fe\u5f62\u6807\u5fd7\u7684\u5e95\u90e8\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Left"),": \u56fe\u5f62\u6807\u5fd7\u7684\u5de6\u8fb9\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Right"),": \u56fe\u5f62\u6807\u5fd7\u7684\u53f3\u8fb9\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Start"),": \u7ebf\u7684\u8d77\u59cb\u70b9\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Middle"),": \u7ebf\u7684\u4e2d\u70b9\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"End"),": \u7ebf\u7684\u7ed3\u675f\u70b9\u3002")),(0,n.kt)("h2",{id:"lang"},"Lang"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=scriptableobject"},"ScriptableObject")),(0,n.kt)("p",null,"\u56fd\u9645\u5316\u8bed\u8a00\u8868\u3002"),(0,n.kt)("h3",{id:"langgetcandlestickdimensionname"},"Lang.GetCandlestickDimensionName"),(0,n.kt)("p",null,"public string GetCandlestickDimensionName(int i) "),(0,n.kt)("h3",{id:"langgetday"},"Lang.GetDay"),(0,n.kt)("p",null,"public string GetDay(int day) "),(0,n.kt)("h3",{id:"langgetmonthabbr"},"Lang.GetMonthAbbr"),(0,n.kt)("p",null,"public string GetMonthAbbr(int month) "),(0,n.kt)("h2",{id:"langcandlestick"},"LangCandlestick"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"langcandlestickliststring"},"LangCandlestick.List","<","string",">","()"),(0,n.kt)("p",null,"public List","<","string",">"," dimensionNames = new List","<","string",">","() "),(0,n.kt)("h2",{id:"langtime"},"LangTime"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"langtimeliststring"},"LangTime.List","<","string",">"),(0,n.kt)("p",null,"public List","<","string",">"," dayOfMonth = new List","<","string",">","() "),(0,n.kt)("p",null,"public List","<","string",">"," dayOfWeek = new List","<","string",">","() "),(0,n.kt)("p",null,"public List","<","string",">"," dayOfWeekAbbr = new List","<","string",">","() "),(0,n.kt)("p",null,"public List","<","string",">"," monthAbbr = new List","<","string",">","() "),(0,n.kt)("h2",{id:"layerhelper"},"LayerHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"layerhelperisfixedwidthheight"},"LayerHelper.IsFixedWidthHeight"),(0,n.kt)("p",null,"public static bool IsFixedWidthHeight(RectTransform rt) "),(0,n.kt)("h3",{id:"layerhelperisstretchpivot"},"LayerHelper.IsStretchPivot"),(0,n.kt)("p",null,"public static bool IsStretchPivot(RectTransform rt) "),(0,n.kt)("h2",{id:"legend"},"Legend"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#ipropertychanged"},"IPropertyChanged")),(0,n.kt)("p",null,"\u56fe\u4f8b\u7ec4\u4ef6\u3002 \u56fe\u4f8b\u7ec4\u4ef6\u5c55\u73b0\u4e86\u4e0d\u540c\u7cfb\u5217\u7684\u6807\u8bb0\uff0c\u989c\u8272\u548c\u540d\u5b57\u3002\u53ef\u4ee5\u901a\u8fc7\u70b9\u51fb\u56fe\u4f8b\u63a7\u5236\u54ea\u4e9b\u7cfb\u5217\u4e0d\u663e\u793a\u3002"),(0,n.kt)("h3",{id:"legendvertsdirty"},"Legend.vertsDirty"),(0,n.kt)("p",null,"public override bool vertsDirty",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u662f\u5426\u9700\u8981\u5237\u65b0\uff08\u56fe\u4f8b\u7ec4\u4ef6\u4e0d\u9700\u8981\u5237\u65b0\u56fe\u8868\uff09"),(0,n.kt)("h3",{id:"legendadddata"},"Legend.AddData"),(0,n.kt)("p",null,"public void AddData(string name)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u56fe\u4f8b\u3002"),(0,n.kt)("h3",{id:"legendclearcomponentdirty"},"Legend.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h3",{id:"legendcleardata"},"Legend.ClearData"),(0,n.kt)("p",null,"public override void ClearData()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e05\u7a7a\u3002"),(0,n.kt)("h3",{id:"legendcontainsdata"},"Legend.ContainsData"),(0,n.kt)("p",null,"public bool ContainsData(string name)",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u5305\u62ec\u7531\u6307\u5b9a\u540d\u5b57\u7684\u56fe\u4f8b"),(0,n.kt)("h3",{id:"legendgetcolor"},"Legend.GetColor"),(0,n.kt)("p",null,"public Color GetColor(int index) "),(0,n.kt)("h3",{id:"legendgetdata"},"Legend.GetData"),(0,n.kt)("p",null,"public string GetData(int index)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6307\u5b9a\u7d22\u5f15\u7684\u56fe\u4f8b\u3002"),(0,n.kt)("h3",{id:"legendgeticon"},"Legend.GetIcon"),(0,n.kt)("p",null,"public Sprite GetIcon(int index)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6307\u5b9a\u7d22\u5f15\u7684\u56fe\u4f8b\u6309\u94ae\u3002"),(0,n.kt)("h3",{id:"legendgetindex"},"Legend.GetIndex"),(0,n.kt)("p",null,"public int GetIndex(string legendName)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6307\u5b9a\u56fe\u4f8b\u7684\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"legendgetposition"},"Legend.GetPosition"),(0,n.kt)("p",null,"public Vector3 GetPosition(int index, Vector3 defaultPos) "),(0,n.kt)("h3",{id:"legendonchanged"},"Legend.OnChanged"),(0,n.kt)("p",null,"public void OnChanged()",(0,n.kt)("br",{parentName:"p"}),"\n","\u53c2\u6570\u53d8\u66f4\u65f6\u7684\u56de\u8c03\u5904\u7406\u3002"),(0,n.kt)("h3",{id:"legendremovebutton"},"Legend.RemoveButton"),(0,n.kt)("p",null,"public void RemoveButton()",(0,n.kt)("br",{parentName:"p"}),"\n","\u79fb\u9664\u6240\u6709\u56fe\u4f8b\u6309\u94ae\u3002"),(0,n.kt)("h3",{id:"legendremovedata"},"Legend.RemoveData"),(0,n.kt)("p",null,"public void RemoveData(string name)",(0,n.kt)("br",{parentName:"p"}),"\n","\u79fb\u9664\u6307\u5b9a\u540d\u5b57\u7684\u56fe\u4f8b\u3002"),(0,n.kt)("h3",{id:"legendsetbutton"},"Legend.SetButton"),(0,n.kt)("p",null,"public void SetButton(string name, LegendItem item, int total)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed9\u56fe\u4f8b\u7ed1\u5b9a\u6309\u94ae\u3002"),(0,n.kt)("h3",{id:"legendupdatebuttoncolor"},"Legend.UpdateButtonColor"),(0,n.kt)("p",null,"public void UpdateButtonColor(string name, Color color)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u56fe\u4f8b\u6309\u94ae\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"legendupdatecontentcolor"},"Legend.UpdateContentColor"),(0,n.kt)("p",null,"public void UpdateContentColor(string name, Color color)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u56fe\u4f8b\u6587\u5b57\u989c\u8272\u3002"),(0,n.kt)("h2",{id:"legendselectedmode"},"Legend.SelectedMode"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u56fe\u4f8b\u9009\u62e9\u7684\u6a21\u5f0f\uff0c\u63a7\u5236\u662f\u5426\u53ef\u4ee5\u901a\u8fc7\u70b9\u51fb\u56fe\u4f8b\u6539\u53d8\u7cfb\u5217\u7684\u663e\u793a\u72b6\u6001\u3002\u9ed8\u8ba4\u5f00\u542f\u56fe\u4f8b\u9009\u62e9\uff0c\u53ef\u4ee5\u8bbe\u6210 None \u5173\u95ed\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Multiple"),": \u591a\u9009\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Single"),": \u5355\u9009\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u65e0\u6cd5\u9009\u62e9\u3002")),(0,n.kt)("h2",{id:"legendtype"},"Legend.Type"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u56fe\u4f8b\u7ec4\u4ef6\u3002 \u56fe\u4f8b\u7ec4\u4ef6\u5c55\u73b0\u4e86\u4e0d\u540c\u7cfb\u5217\u7684\u6807\u8bb0\uff0c\u989c\u8272\u548c\u540d\u5b57\u3002\u53ef\u4ee5\u901a\u8fc7\u70b9\u51fb\u56fe\u4f8b\u63a7\u5236\u54ea\u4e9b\u7cfb\u5217\u4e0d\u663e\u793a\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u81ea\u52a8\u5339\u914d\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u56fe\u6807\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyCircle"),": \u7a7a\u5fc3\u5706\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Circle"),": \u5706\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Rect"),": \u6b63\u65b9\u5f62\u3002\u53ef\u901a\u8fc7Setting\u7684legendIconCornerRadius\u53c2\u6570\u8c03\u6574\u5706\u89d2\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Triangle"),": \u4e09\u89d2\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Diamond"),": \u83f1\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Candlestick"),": \u70db\u53f0\uff08\u53ef\u7528\u4e8eK\u7ebf\u56fe\uff09\u3002")),(0,n.kt)("h2",{id:"legendcontext"},"LegendContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h3",{id:"legendcontextbackground"},"LegendContext.background"),(0,n.kt)("p",null,"public Image background "),(0,n.kt)("h3",{id:"legendcontextcenter"},"LegendContext.center"),(0,n.kt)("p",null,"public Vector2 center "),(0,n.kt)("h3",{id:"legendcontextheight"},"LegendContext.height"),(0,n.kt)("p",null,"public float height",(0,n.kt)("br",{parentName:"p"}),"\n","\u8fd0\u884c\u65f6\u56fe\u4f8b\u7684\u603b\u9ad8\u5ea6"),(0,n.kt)("h3",{id:"legendcontextwidth"},"LegendContext.width"),(0,n.kt)("p",null,"public float width",(0,n.kt)("br",{parentName:"p"}),"\n","\u8fd0\u884c\u65f6\u56fe\u4f8b\u7684\u603b\u5bbd\u5ea6"),(0,n.kt)("h2",{id:"legendhelper"},"LegendHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"legendhelpercheckdatahighlighted"},"LegendHelper.CheckDataHighlighted"),(0,n.kt)("p",null,"public static int CheckDataHighlighted(Serie serie, string legendName, bool heighlight) "),(0,n.kt)("h3",{id:"legendhelpercheckdatashow"},"LegendHelper.CheckDataShow"),(0,n.kt)("p",null,"public static bool CheckDataShow(Serie serie, string legendName, bool show) "),(0,n.kt)("h3",{id:"legendhelpergetcontentcolor"},"LegendHelper.GetContentColor"),(0,n.kt)("p",null,"public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active) "),(0,n.kt)("h3",{id:"legendhelpergeticoncolor"},"LegendHelper.GetIconColor"),(0,n.kt)("p",null,"public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active) "),(0,n.kt)("h3",{id:"legendhelperresetitemposition"},"LegendHelper.ResetItemPosition"),(0,n.kt)("p",null,"public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight) "),(0,n.kt)("h3",{id:"legendhelpersetlegendbackground"},"LegendHelper.SetLegendBackground"),(0,n.kt)("p",null,"public static void SetLegendBackground(Legend legend, ImageStyle style) "),(0,n.kt)("h2",{id:"legenditem"},"LegendItem"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"legenditembutton"},"LegendItem.button"),(0,n.kt)("p",null,"public Button button "),(0,n.kt)("h3",{id:"legenditemgameobject"},"LegendItem.gameObject"),(0,n.kt)("p",null,"public GameObject gameObject "),(0,n.kt)("h3",{id:"legenditemindex"},"LegendItem.index"),(0,n.kt)("p",null,"public int index "),(0,n.kt)("h3",{id:"legenditemlegendname"},"LegendItem.legendName"),(0,n.kt)("p",null,"public string legendName "),(0,n.kt)("h3",{id:"legenditemname"},"LegendItem.name"),(0,n.kt)("p",null,"public string name "),(0,n.kt)("h3",{id:"legenditemtext"},"LegendItem.text"),(0,n.kt)("p",null,"public ChartText text "),(0,n.kt)("h3",{id:"legenditemgeticoncolor"},"LegendItem.GetIconColor"),(0,n.kt)("p",null,"public Color GetIconColor() "),(0,n.kt)("h3",{id:"legenditemgeticonrect"},"LegendItem.GetIconRect"),(0,n.kt)("p",null,"public Rect GetIconRect() "),(0,n.kt)("h3",{id:"legenditemsetactive"},"LegendItem.SetActive"),(0,n.kt)("p",null,"public void SetActive(bool active) "),(0,n.kt)("h3",{id:"legenditemsetbackground"},"LegendItem.SetBackground"),(0,n.kt)("p",null,"public void SetBackground(ImageStyle imageStyle) "),(0,n.kt)("h3",{id:"legenditemsetbutton"},"LegendItem.SetButton"),(0,n.kt)("p",null,"public void SetButton(Button button) "),(0,n.kt)("h3",{id:"legenditemsetcontent"},"LegendItem.SetContent"),(0,n.kt)("p",null,"public bool SetContent(string content) "),(0,n.kt)("h3",{id:"legenditemsetcontentbackgroundcolor"},"LegendItem.SetContentBackgroundColor"),(0,n.kt)("p",null,"public void SetContentBackgroundColor(Color color) "),(0,n.kt)("h3",{id:"legenditemsetcontentcolor"},"LegendItem.SetContentColor"),(0,n.kt)("p",null,"public void SetContentColor(Color color) "),(0,n.kt)("h3",{id:"legenditemsetcontentposition"},"LegendItem.SetContentPosition"),(0,n.kt)("p",null,"public void SetContentPosition(Vector3 offset) "),(0,n.kt)("h3",{id:"legenditemseticon"},"LegendItem.SetIcon"),(0,n.kt)("p",null,"public void SetIcon(Image icon) "),(0,n.kt)("h3",{id:"legenditemseticonactive"},"LegendItem.SetIconActive"),(0,n.kt)("p",null,"public void SetIconActive(bool active) "),(0,n.kt)("h3",{id:"legenditemseticoncolor"},"LegendItem.SetIconColor"),(0,n.kt)("p",null,"public void SetIconColor(Color color) "),(0,n.kt)("h3",{id:"legenditemseticonimage"},"LegendItem.SetIconImage"),(0,n.kt)("p",null,"public void SetIconImage(Sprite image) "),(0,n.kt)("h3",{id:"legenditemseticonsize"},"LegendItem.SetIconSize"),(0,n.kt)("p",null,"public void SetIconSize(float width, float height) "),(0,n.kt)("h3",{id:"legenditemsetobject"},"LegendItem.SetObject"),(0,n.kt)("p",null,"public void SetObject(GameObject obj) "),(0,n.kt)("h3",{id:"legenditemsetposition"},"LegendItem.SetPosition"),(0,n.kt)("p",null,"public void SetPosition(Vector3 position) "),(0,n.kt)("h3",{id:"legenditemsettext"},"LegendItem.SetText"),(0,n.kt)("p",null,"public void SetText(ChartText text) "),(0,n.kt)("h3",{id:"legenditemsettextbackground"},"LegendItem.SetTextBackground"),(0,n.kt)("p",null,"public void SetTextBackground(Image image) "),(0,n.kt)("h2",{id:"legendtheme"},"LegendTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"legendthemecopy"},"LegendTheme.Copy"),(0,n.kt)("p",null,"public void Copy(LegendTheme theme) "),(0,n.kt)("h3",{id:"legendthemelegendtheme"},"LegendTheme.LegendTheme"),(0,n.kt)("p",null,"public LegendTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h2",{id:"level"},"Level"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"leveldepth"},"Level.depth"),(0,n.kt)("p",null,"public int depth",(0,n.kt)("br",{parentName:"p"}),"\n","\u5c42\u7ea7\u6df1\u5ea6\u3002"),(0,n.kt)("h3",{id:"levelitemstyle"},"Level.itemStyle"),(0,n.kt)("p",null,"public ItemStyle itemStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9879\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"levellabel"},"Level.label"),(0,n.kt)("p",null,"public LabelStyle label",(0,n.kt)("br",{parentName:"p"}),"\n","\u6587\u672c\u6807\u7b7e\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"levellinestyle"},"Level.lineStyle"),(0,n.kt)("p",null,"public LineStyle lineStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ebf\u6761\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"levelupperlabel"},"Level.upperLabel"),(0,n.kt)("p",null,"public LabelStyle upperLabel",(0,n.kt)("br",{parentName:"p"}),"\n","\u4e0a\u65b9\u7684\u6587\u672c\u6807\u7b7e\u6837\u5f0f\u3002"),(0,n.kt)("h2",{id:"levelstyle"},"LevelStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("h3",{id:"levelstylelevels"},"LevelStyle.levels"),(0,n.kt)("p",null,"public List","<","Level",">"," levels",(0,n.kt)("br",{parentName:"p"}),"\n","\u5404\u5c42\u8282\u70b9\u5bf9\u5e94\u7684\u914d\u7f6e\u3002\u5f53enableLevels\u4e3atrue\u65f6\u751f\u6548\uff0clevels","[0]","\u5bf9\u5e94\u7684\u7b2c\u4e00\u5c42\u7684\u914d\u7f6e\uff0clevels","[1]","\u5bf9\u5e94\u7b2c\u4e8c\u5c42\uff0c\u4f9d\u6b21\u7c7b\u63a8\u3002\u5f53levels\u4e2d\u6ca1\u6709\u5bf9\u5e94\u5c42\u65f6\u7528\u9ed8\u8ba4\u7684\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"levelstyleshow"},"LevelStyle.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u542f\u7528LevelStyle"),(0,n.kt)("h2",{id:"line"},"Line"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h3",{id:"linecontainerindex"},"Line.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"linecontainterinstanceid"},"Line.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h3",{id:"lineadddefaultserie"},"Line.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h3",{id:"lineconvertserie"},"Line.ConvertSerie"),(0,n.kt)("p",null,"public static Line ConvertSerie(Serie serie) "),(0,n.kt)("h2",{id:"linearrow"},"LineArrow"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent")),(0,n.kt)("h2",{id:"linearrowposition"},"LineArrow.Position"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"End"),": \u672b\u7aef\u7bad\u5934"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Start"),": \u5934\u7aef\u7bad\u5934")),(0,n.kt)("h2",{id:"linechart"},"LineChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u6298\u7ebf\u56fe\u662f\u7528\u6298\u7ebf\u5c06\u5404\u4e2a\u6570\u636e\u70b9\u6807\u5fd7\u8fde\u63a5\u8d77\u6765\u7684\u56fe\u8868\uff0c\u7528\u4e8e\u5c55\u73b0\u6570\u636e\u7684\u53d8\u5316\u8d8b\u52bf\u3002\u53ef\u7528\u4e8e\u76f4\u89d2\u5750\u6807\u7cfb\u548c\u6781\u5750\u6807\u7cfb\u4e0a\u3002 \u8bbe\u7f6e areaStyle \u540e\u53ef\u4ee5\u7ed8\u5236\u9762\u79ef\u56fe\u3002"),(0,n.kt)("h3",{id:"linechartdefaultarealinechart"},"LineChart.DefaultAreaLineChart"),(0,n.kt)("p",null,"public void DefaultAreaLineChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u9762\u79ef\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h3",{id:"linechartdefaultdashlinechart"},"LineChart.DefaultDashLineChart"),(0,n.kt)("p",null,"public void DefaultDashLineChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u865a\u7ebf\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h3",{id:"linechartdefaultloglinechart"},"LineChart.DefaultLogLineChart"),(0,n.kt)("p",null,"public void DefaultLogLineChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5bf9\u6570\u8f74\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h3",{id:"linechartdefaultsmootharealinechart"},"LineChart.DefaultSmoothAreaLineChart"),(0,n.kt)("p",null,"public void DefaultSmoothAreaLineChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5e73\u6ed1\u9762\u79ef\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h3",{id:"linechartdefaultsmoothlinechart"},"LineChart.DefaultSmoothLineChart"),(0,n.kt)("p",null,"public void DefaultSmoothLineChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5e73\u6ed1\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h3",{id:"linechartdefaultstackarealinechart"},"LineChart.DefaultStackAreaLineChart"),(0,n.kt)("p",null,"public void DefaultStackAreaLineChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5806\u53e0\u9762\u79ef\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h3",{id:"linechartdefaultstacklinechart"},"LineChart.DefaultStackLineChart"),(0,n.kt)("p",null,"public void DefaultStackLineChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5806\u53e0\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h3",{id:"linechartdefaultsteplinechart"},"LineChart.DefaultStepLineChart"),(0,n.kt)("p",null,"public void DefaultStepLineChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u9636\u68af\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h3",{id:"linechartdefaulttimelinechart"},"LineChart.DefaultTimeLineChart"),(0,n.kt)("p",null,"public void DefaultTimeLineChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u65f6\u95f4\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h2",{id:"linehelper"},"LineHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"linehelpergetdataaveragerate"},"LineHelper.GetDataAverageRate"),(0,n.kt)("p",null,"public static int GetDataAverageRate(Serie serie, float axisLength, int maxCount, bool isYAxis) "),(0,n.kt)("h3",{id:"linehelpergetlinewidth"},"LineHelper.GetLineWidth"),(0,n.kt)("p",null,"public static float GetLineWidth(ref bool interacting, Serie serie, float defaultWidth) "),(0,n.kt)("h2",{id:"linestyle"},"LineStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u7ebf\u6761\u6837\u5f0f\u3002 \u6ce8\uff1a \u4fee\u6539 lineStyle \u4e2d\u7684\u989c\u8272\u4e0d\u4f1a\u5f71\u54cd\u56fe\u4f8b\u989c\u8272\uff0c\u5982\u679c\u9700\u8981\u56fe\u4f8b\u989c\u8272\u548c\u6298\u7ebf\u56fe\u989c\u8272\u4e00\u81f4\uff0c\u9700\u4fee\u6539 itemStyle.color\uff0c\u7ebf\u6761\u989c\u8272\u9ed8\u8ba4\u4e5f\u4f1a\u53d6\u8be5\u989c\u8272\u3002 toColor\uff0ctoColor2\u53ef\u8bbe\u7f6e\u6c34\u5e73\u65b9\u5411\u7684\u6e10\u53d8\uff0c\u5982\u9700\u8981\u8bbe\u7f6e\u5782\u76f4\u65b9\u5411\u7684\u6e10\u53d8\uff0c\u53ef\u4f7f\u7528VisualMap\u3002"),(0,n.kt)("h3",{id:"linestyleclone"},"LineStyle.Clone"),(0,n.kt)("p",null,"public LineStyle Clone() "),(0,n.kt)("h3",{id:"linestylecopy"},"LineStyle.Copy"),(0,n.kt)("p",null,"public void Copy(LineStyle lineStyle) "),(0,n.kt)("h3",{id:"linestylegetcolor"},"LineStyle.GetColor"),(0,n.kt)("p",null,"public Color32 GetColor(Color32 themeColor) "),(0,n.kt)("h3",{id:"linestylegetgradientcolor"},"LineStyle.GetGradientColor"),(0,n.kt)("p",null,"public Color32 GetGradientColor(float value, Color32 defaultColor) "),(0,n.kt)("h3",{id:"linestylegetlength"},"LineStyle.GetLength"),(0,n.kt)("p",null,"public float GetLength(float themeLength) "),(0,n.kt)("h3",{id:"linestylegettype"},"LineStyle.GetType"),(0,n.kt)("p",null,"public Type GetType(Type themeType) "),(0,n.kt)("h3",{id:"linestylegetwidth"},"LineStyle.GetWidth"),(0,n.kt)("p",null,"public float GetWidth(float themeWidth) "),(0,n.kt)("h3",{id:"linestyleisneedgradient"},"LineStyle.IsNeedGradient"),(0,n.kt)("p",null,"public bool IsNeedGradient() "),(0,n.kt)("h3",{id:"linestyleisnotsolidline"},"LineStyle.IsNotSolidLine"),(0,n.kt)("p",null,"public bool IsNotSolidLine() "),(0,n.kt)("h3",{id:"linestylelinestyle"},"LineStyle.LineStyle"),(0,n.kt)("p",null,"public LineStyle(float width) "),(0,n.kt)("p",null,"public LineStyle(LineStyle.Type type) "),(0,n.kt)("p",null,"public LineStyle(LineStyle.Type type, float width) "),(0,n.kt)("h2",{id:"linestyletype"},"LineStyle.Type"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u7ebf\u7684\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Solid"),": \u5b9e\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dashed"),": \u865a\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dotted"),": \u70b9\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDot"),": \u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDotDot"),": \u53cc\u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u53cc\u70b9\u5212\u7ebf")),(0,n.kt)("h2",{id:"linetype"},"LineType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6298\u7ebf\u56fe\u6837\u5f0f\u7c7b\u578b"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Normal"),": \u666e\u901a\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Smooth"),": \u5e73\u6ed1\u66f2\u7ebf\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"StepStart"),": \u9636\u68af\u7ebf\u56fe\uff1a\u5f53\u524d\u70b9\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"StepMiddle"),": \u9636\u68af\u7ebf\u56fe\uff1a\u5f53\u524d\u70b9\u548c\u4e0b\u4e00\u4e2a\u70b9\u7684\u4e2d\u95f4\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"StepEnd"),": \u9636\u68af\u7ebf\u56fe\uff1a\u4e0b\u4e00\u4e2a\u62d0\u70b9\u3002")),(0,n.kt)("h2",{id:"listfor"},"ListFor"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#listforcomponent"},"ListForComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#listforserie"},"ListForSerie")," "),(0,n.kt)("h3",{id:"listforlistfor"},"ListFor.ListFor"),(0,n.kt)("p",null,"public ListFor(Type type) "),(0,n.kt)("h2",{id:"listforcomponent"},"ListForComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#listfor"},"ListFor")),(0,n.kt)("h3",{id:"listforcomponentlistforcomponent"},"ListForComponent.ListForComponent"),(0,n.kt)("p",null,"public ListForComponent(Type type) : base(type) "),(0,n.kt)("h2",{id:"listforserie"},"ListForSerie"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#listfor"},"ListFor")),(0,n.kt)("h3",{id:"listforserielistforserie"},"ListForSerie.ListForSerie"),(0,n.kt)("p",null,"public ListForSerie(Type type) : base(type) "),(0,n.kt)("h2",{id:"listpoolt"},"ListPool","<","T",">"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"listpooltclearall"},"ListPool","<","T",">",".ClearAll"),(0,n.kt)("p",null,"public static void ClearAll() "),(0,n.kt)("h3",{id:"listpooltget"},"ListPool","<","T",">",".Get"),(0,n.kt)("p",null,"public static List","<","T",">"," Get() "),(0,n.kt)("h3",{id:"listpooltrelease"},"ListPool","<","T",">",".Release"),(0,n.kt)("p",null,"public static void Release(List","<","T",">"," toRelease) "),(0,n.kt)("h2",{id:"location"},"Location"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#ipropertychanged"},"IPropertyChanged")),(0,n.kt)("p",null,"\u4f4d\u7f6e\u7c7b\u578b\u3002\u901a\u8fc7Align\u5feb\u901f\u8bbe\u7f6e\u5927\u4f53\u4f4d\u7f6e\uff0c\u518d\u901a\u8fc7left\uff0cright\uff0ctop\uff0cbottom\u5fae\u8c03\u5177\u4f53\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"locationruntimeanchormax"},"Location.runtimeAnchorMax"),(0,n.kt)("p",null,"public Vector2 runtimeAnchorMax "),(0,n.kt)("h3",{id:"locationruntimeanchormin"},"Location.runtimeAnchorMin"),(0,n.kt)("p",null,"public Vector2 runtimeAnchorMin",(0,n.kt)("br",{parentName:"p"}),"\n","Location\u5bf9\u5e94\u7684anchorMin\u3002"),(0,n.kt)("h3",{id:"locationruntimebottom"},"Location.runtimeBottom"),(0,n.kt)("p",null,"public float runtimeBottom "),(0,n.kt)("h3",{id:"locationruntimeleft"},"Location.runtimeLeft"),(0,n.kt)("p",null,"public float runtimeLeft "),(0,n.kt)("h3",{id:"locationruntimepivot"},"Location.runtimePivot"),(0,n.kt)("p",null,"public Vector2 runtimePivot",(0,n.kt)("br",{parentName:"p"}),"\n","Loation\u5bf9\u5e94\u7684\u4e2d\u5fc3\u70b9\u3002"),(0,n.kt)("h3",{id:"locationruntimeright"},"Location.runtimeRight"),(0,n.kt)("p",null,"public float runtimeRight "),(0,n.kt)("h3",{id:"locationruntimetextalignment"},"Location.runtimeTextAlignment"),(0,n.kt)("p",null,"public TextAnchor runtimeTextAlignment",(0,n.kt)("br",{parentName:"p"}),"\n","Location\u5bf9\u5e94\u7684Anchor\u951a\u70b9"),(0,n.kt)("h3",{id:"locationruntimetmptextalignment"},"Location.runtimeTMPTextAlignment"),(0,n.kt)("p",null,"public TextAlignmentOptions runtimeTMPTextAlignment "),(0,n.kt)("h3",{id:"locationruntimetop"},"Location.runtimeTop"),(0,n.kt)("p",null,"public float runtimeTop "),(0,n.kt)("h3",{id:"locationgetposition"},"Location.GetPosition"),(0,n.kt)("p",null,"public Vector3 GetPosition(float chartWidth, float chartHeight)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8fd4\u56de\u5728\u5750\u6807\u7cfb\u4e2d\u7684\u5177\u4f53\u4f4d\u7f6e"),(0,n.kt)("h3",{id:"locationisbottom"},"Location.IsBottom"),(0,n.kt)("p",null,"public bool IsBottom() "),(0,n.kt)("h3",{id:"locationiscenter"},"Location.IsCenter"),(0,n.kt)("p",null,"public bool IsCenter() "),(0,n.kt)("h3",{id:"locationistop"},"Location.IsTop"),(0,n.kt)("p",null,"public bool IsTop() "),(0,n.kt)("h3",{id:"locationonchanged"},"Location.OnChanged"),(0,n.kt)("p",null,"public void OnChanged()",(0,n.kt)("br",{parentName:"p"}),"\n","\u5c5e\u6027\u53d8\u66f4\u65f6\u66f4\u65b0textAnchor,minAnchor,maxAnchor,pivot"),(0,n.kt)("h3",{id:"locationupdateruntimedata"},"Location.UpdateRuntimeData"),(0,n.kt)("p",null,"public void UpdateRuntimeData(float chartWidth, float chartHeight) "),(0,n.kt)("h2",{id:"locationalign"},"Location.Align"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"TopLeft"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"TopRight"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"TopCenter"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BottomLeft"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BottomRight"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BottomCenter"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Center"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"CenterLeft"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"CenterRight"),": \u5bf9\u9f50\u65b9\u5f0f")),(0,n.kt)("h2",{id:"maincomponent"},"MainComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=icomparable"},"IComparable")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis"),",",(0,n.kt)("a",{parentName:"p",href:"#background"},"Background"),",",(0,n.kt)("a",{parentName:"p",href:"#comment"},"Comment"),",",(0,n.kt)("a",{parentName:"p",href:"#datazoom"},"DataZoom"),",",(0,n.kt)("a",{parentName:"p",href:"#legend"},"Legend"),",",(0,n.kt)("a",{parentName:"p",href:"#markarea"},"MarkArea"),",",(0,n.kt)("a",{parentName:"p",href:"#markline"},"MarkLine"),",",(0,n.kt)("a",{parentName:"p",href:"#settings"},"Settings"),",",(0,n.kt)("a",{parentName:"p",href:"#title"},"Title"),",",(0,n.kt)("a",{parentName:"p",href:"#tooltip"},"Tooltip"),",",(0,n.kt)("a",{parentName:"p",href:"#visualmap"},"VisualMap"),",",(0,n.kt)("a",{parentName:"p",href:"#gridlayout"},"GridLayout"),",",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem")," "),(0,n.kt)("h3",{id:"maincomponentanydirty"},"MainComponent.anyDirty"),(0,n.kt)("p",null,"public bool anyDirty",(0,n.kt)("br",{parentName:"p"}),"\n","\u9700\u8981\u91cd\u7ed8\u56fe\u8868\u6216\u91cd\u65b0\u521d\u59cb\u5316\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"maincomponentcleardata"},"MainComponent.ClearData()"),(0,n.kt)("p",null,"public virtual void ClearData() "),(0,n.kt)("h3",{id:"maincomponentcomponentdirty"},"MainComponent.componentDirty"),(0,n.kt)("p",null,"public virtual bool componentDirty",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ec4\u4ef6\u91cd\u65b0\u521d\u59cb\u5316\u6807\u8bb0\u3002"),(0,n.kt)("h3",{id:"maincomponentgameobject"},"MainComponent.gameObject"),(0,n.kt)("p",null,"public GameObject gameObject "),(0,n.kt)("h3",{id:"maincomponentindex"},"MainComponent.index"),(0,n.kt)("p",null,"public int index "),(0,n.kt)("h3",{id:"maincomponentinstanceid"},"MainComponent.instanceId"),(0,n.kt)("p",null,"public int instanceId "),(0,n.kt)("h3",{id:"maincomponentpainter"},"MainComponent.painter"),(0,n.kt)("p",null,"public Painter painter "),(0,n.kt)("h3",{id:"maincomponentrefreshcomponent"},"MainComponent.refreshComponent"),(0,n.kt)("p",null,"public Action refreshComponent "),(0,n.kt)("h3",{id:"maincomponentreset"},"MainComponent.Reset()"),(0,n.kt)("p",null,"public virtual void Reset() "),(0,n.kt)("h3",{id:"maincomponentresetstatus"},"MainComponent.ResetStatus()"),(0,n.kt)("p",null,"public virtual void ResetStatus() "),(0,n.kt)("h3",{id:"maincomponentsetdefaultvalue"},"MainComponent.SetDefaultValue()"),(0,n.kt)("p",null,"public virtual void SetDefaultValue() "),(0,n.kt)("h3",{id:"maincomponentvertsdirty"},"MainComponent.vertsDirty"),(0,n.kt)("p",null,"public virtual bool vertsDirty",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u91cd\u7ed8\u6807\u8bb0\u3002"),(0,n.kt)("h3",{id:"maincomponentclearcomponentdirty"},"MainComponent.ClearComponentDirty"),(0,n.kt)("p",null,"public virtual void ClearComponentDirty() "),(0,n.kt)("h3",{id:"maincomponentcleardata-1"},"MainComponent.ClearData"),(0,n.kt)("p",null,"public virtual void ClearData() { } "),(0,n.kt)("h3",{id:"maincomponentcleardirty"},"MainComponent.ClearDirty"),(0,n.kt)("p",null,"public virtual void ClearDirty() "),(0,n.kt)("h3",{id:"maincomponentclearverticesdirty"},"MainComponent.ClearVerticesDirty"),(0,n.kt)("p",null,"public virtual void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"maincomponentcompareto"},"MainComponent.CompareTo"),(0,n.kt)("p",null,"public int CompareTo(object obj) "),(0,n.kt)("h3",{id:"maincomponentonremove"},"MainComponent.OnRemove"),(0,n.kt)("p",null,"public virtual void OnRemove() "),(0,n.kt)("h3",{id:"maincomponentreset-1"},"MainComponent.Reset"),(0,n.kt)("p",null,"public virtual void Reset() { } "),(0,n.kt)("h3",{id:"maincomponentresetstatus-1"},"MainComponent.ResetStatus"),(0,n.kt)("p",null,"public virtual void ResetStatus() { } "),(0,n.kt)("h3",{id:"maincomponentsetalldirty"},"MainComponent.SetAllDirty"),(0,n.kt)("p",null,"public virtual void SetAllDirty() "),(0,n.kt)("h3",{id:"maincomponentsetcomponentdirty"},"MainComponent.SetComponentDirty"),(0,n.kt)("p",null,"public virtual void SetComponentDirty() "),(0,n.kt)("h3",{id:"maincomponentsetdefaultvalue-1"},"MainComponent.SetDefaultValue"),(0,n.kt)("p",null,"public virtual void SetDefaultValue() { } "),(0,n.kt)("h3",{id:"maincomponentsetverticesdirty"},"MainComponent.SetVerticesDirty"),(0,n.kt)("p",null,"public virtual void SetVerticesDirty() "),(0,n.kt)("h2",{id:"maincomponentcontext"},"MainComponentContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axiscontext"},"AxisContext"),",",(0,n.kt)("a",{parentName:"p",href:"#datazoomcontext"},"DataZoomContext"),",",(0,n.kt)("a",{parentName:"p",href:"#legendcontext"},"LegendContext"),",",(0,n.kt)("a",{parentName:"p",href:"#radarcoordcontext"},"RadarCoordContext"),",",(0,n.kt)("a",{parentName:"p",href:"#visualmapcontext"},"VisualMapContext"),",",(0,n.kt)("a",{parentName:"p",href:"#gridcoordcontext"},"GridCoordContext"),",",(0,n.kt)("a",{parentName:"p",href:"#gridlayoutcontext"},"GridLayoutContext"),",",(0,n.kt)("a",{parentName:"p",href:"#gridcoord3dcontext"},"GridCoord3DContext"),",",(0,n.kt)("a",{parentName:"p",href:"#parallelcoordcontext"},"ParallelCoordContext"),",",(0,n.kt)("a",{parentName:"p",href:"#polarcoordcontext"},"PolarCoordContext")," "),(0,n.kt)("h2",{id:"maincomponenthandler"},"MainComponentHandler"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axishandlert"},"AxisHandler","<","T",">"),",",(0,n.kt)("a",{parentName:"p",href:"#maincomponenthandlert"},"MainComponentHandler","<","T",">")," "),(0,n.kt)("h3",{id:"maincomponenthandlerattribute"},"MainComponentHandler.attribute"),(0,n.kt)("p",null,"public ComponentHandlerAttribute attribute "),(0,n.kt)("h3",{id:"maincomponenthandlerbeforceserieupdate"},"MainComponentHandler.BeforceSerieUpdate()"),(0,n.kt)("p",null,"public virtual void BeforceSerieUpdate() "),(0,n.kt)("h3",{id:"maincomponenthandlerchart"},"MainComponentHandler.chart"),(0,n.kt)("p",null,"public BaseChart chart "),(0,n.kt)("h3",{id:"maincomponenthandlereventdata"},"MainComponentHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnBeginDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"maincomponenthandlereventdata-1"},"MainComponentHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"maincomponenthandlereventdata-2"},"MainComponentHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnEndDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"maincomponenthandlereventdata-3"},"MainComponentHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerClick(PointerEventData eventData) "),(0,n.kt)("h3",{id:"maincomponenthandlereventdata-4"},"MainComponentHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerDown(PointerEventData eventData) "),(0,n.kt)("h3",{id:"maincomponenthandlereventdata-5"},"MainComponentHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerEnter(PointerEventData eventData) "),(0,n.kt)("h3",{id:"maincomponenthandlereventdata-6"},"MainComponentHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerExit(PointerEventData eventData) "),(0,n.kt)("h3",{id:"maincomponenthandlereventdata-7"},"MainComponentHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerUp(PointerEventData eventData) "),(0,n.kt)("h3",{id:"maincomponenthandlereventdata-8"},"MainComponentHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnScroll(PointerEventData eventData) "),(0,n.kt)("h3",{id:"maincomponenthandlerinitcomponent"},"MainComponentHandler.InitComponent()"),(0,n.kt)("p",null,"public virtual void InitComponent() "),(0,n.kt)("h3",{id:"maincomponenthandlerinited"},"MainComponentHandler.inited"),(0,n.kt)("p",null,"public bool inited "),(0,n.kt)("h3",{id:"maincomponenthandlerorder"},"MainComponentHandler.order"),(0,n.kt)("p",null,"public int order "),(0,n.kt)("h3",{id:"maincomponenthandlerremovecomponent"},"MainComponentHandler.RemoveComponent()"),(0,n.kt)("p",null,"public virtual void RemoveComponent() "),(0,n.kt)("h3",{id:"maincomponenthandlersb"},"MainComponentHandler.sb)"),(0,n.kt)("p",null,"public virtual void CheckComponent(StringBuilder sb) "),(0,n.kt)("h3",{id:"maincomponenthandlerserieindex"},"MainComponentHandler.serieIndex)"),(0,n.kt)("p",null,"public virtual void OnSerieDataUpdate(int serieIndex) "),(0,n.kt)("h3",{id:"maincomponenthandlerupdate"},"MainComponentHandler.Update()"),(0,n.kt)("p",null,"public virtual void Update() "),(0,n.kt)("h3",{id:"maincomponenthandlervh"},"MainComponentHandler.vh)"),(0,n.kt)("p",null,"public virtual void DrawBase(VertexHelper vh) "),(0,n.kt)("h3",{id:"maincomponenthandlervh-1"},"MainComponentHandler.vh)"),(0,n.kt)("p",null,"public virtual void DrawTop(VertexHelper vh) "),(0,n.kt)("h3",{id:"maincomponenthandlervh-2"},"MainComponentHandler.vh)"),(0,n.kt)("p",null,"public virtual void DrawUpper(VertexHelper vh) "),(0,n.kt)("h3",{id:"maincomponenthandlerbeforceserieupdate-1"},"MainComponentHandler.BeforceSerieUpdate"),(0,n.kt)("p",null,"public virtual void BeforceSerieUpdate() { } "),(0,n.kt)("h3",{id:"maincomponenthandlercheckcomponent"},"MainComponentHandler.CheckComponent"),(0,n.kt)("p",null,"public virtual void CheckComponent(StringBuilder sb) { } "),(0,n.kt)("h3",{id:"maincomponenthandlerdrawbase"},"MainComponentHandler.DrawBase"),(0,n.kt)("p",null,"public virtual void DrawBase(VertexHelper vh) { } "),(0,n.kt)("h3",{id:"maincomponenthandlerdrawtop"},"MainComponentHandler.DrawTop"),(0,n.kt)("p",null,"public virtual void DrawTop(VertexHelper vh) { } "),(0,n.kt)("h3",{id:"maincomponenthandlerdrawupper"},"MainComponentHandler.DrawUpper"),(0,n.kt)("p",null,"public virtual void DrawUpper(VertexHelper vh) { } "),(0,n.kt)("h3",{id:"maincomponenthandlerinitcomponent-1"},"MainComponentHandler.InitComponent"),(0,n.kt)("p",null,"public virtual void InitComponent() { } "),(0,n.kt)("h3",{id:"maincomponenthandleronbegindrag"},"MainComponentHandler.OnBeginDrag"),(0,n.kt)("p",null,"public virtual void OnBeginDrag(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"maincomponenthandlerondrag"},"MainComponentHandler.OnDrag"),(0,n.kt)("p",null,"public virtual void OnDrag(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"maincomponenthandleronenddrag"},"MainComponentHandler.OnEndDrag"),(0,n.kt)("p",null,"public virtual void OnEndDrag(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"maincomponenthandleronpointerclick"},"MainComponentHandler.OnPointerClick"),(0,n.kt)("p",null,"public virtual void OnPointerClick(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"maincomponenthandleronpointerdown"},"MainComponentHandler.OnPointerDown"),(0,n.kt)("p",null,"public virtual void OnPointerDown(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"maincomponenthandleronpointerenter"},"MainComponentHandler.OnPointerEnter"),(0,n.kt)("p",null,"public virtual void OnPointerEnter(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"maincomponenthandleronpointerexit"},"MainComponentHandler.OnPointerExit"),(0,n.kt)("p",null,"public virtual void OnPointerExit(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"maincomponenthandleronpointerup"},"MainComponentHandler.OnPointerUp"),(0,n.kt)("p",null,"public virtual void OnPointerUp(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"maincomponenthandleronscroll"},"MainComponentHandler.OnScroll"),(0,n.kt)("p",null,"public virtual void OnScroll(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"maincomponenthandleronseriedataupdate"},"MainComponentHandler.OnSerieDataUpdate"),(0,n.kt)("p",null,"public virtual void OnSerieDataUpdate(int serieIndex) { } "),(0,n.kt)("h3",{id:"maincomponenthandlerremovecomponent-1"},"MainComponentHandler.RemoveComponent"),(0,n.kt)("p",null,"public virtual void RemoveComponent() { } "),(0,n.kt)("h3",{id:"maincomponenthandlerupdate-1"},"MainComponentHandler.Update"),(0,n.kt)("p",null,"public virtual void Update() { } "),(0,n.kt)("h2",{id:"maincomponenthandlert"},"MainComponentHandler","<","T",">"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponenthandler"},"MainComponentHandler")),(0,n.kt)("h3",{id:"maincomponenthandlertcomponent"},"MainComponentHandler","<","T",">",".component"),(0,n.kt)("p",null,"public T component "),(0,n.kt)("h2",{id:"markarea"},"MarkArea"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u56fe\u8868\u6807\u57df\uff0c\u5e38\u7528\u4e8e\u6807\u8bb0\u56fe\u8868\u4e2d\u67d0\u4e2a\u8303\u56f4\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"markarearuntimelabel"},"MarkArea.runtimeLabel"),(0,n.kt)("p",null,"public ChartLabel runtimeLabel",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u6807\u57df\uff0c\u5e38\u7528\u4e8e\u6807\u8bb0\u56fe\u8868\u4e2d\u67d0\u4e2a\u8303\u56f4\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"markarearuntimelabelposition"},"MarkArea.runtimeLabelPosition"),(0,n.kt)("p",null,"public Vector3 runtimeLabelPosition "),(0,n.kt)("h3",{id:"markarearuntimerect"},"MarkArea.runtimeRect"),(0,n.kt)("p",null,"public Rect runtimeRect "),(0,n.kt)("h3",{id:"markareasetdefaultvalue"},"MarkArea.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue() "),(0,n.kt)("h2",{id:"markareadata"},"MarkAreaData"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6807\u57df\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"markareadataruntimevalue"},"MarkAreaData.runtimeValue"),(0,n.kt)("p",null,"public double runtimeValue",(0,n.kt)("br",{parentName:"p"}),"\n","\u6807\u57df\u7684\u6570\u636e\u3002"),(0,n.kt)("h2",{id:"markareatype"},"MarkAreaType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6807\u57df\u7c7b\u578b"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u6807\u57df\u7c7b\u578b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Min"),": \u6700\u5c0f\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Max"),": \u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Average"),": \u5e73\u5747\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Median"),": \u4e2d\u4f4d\u6570\u3002")),(0,n.kt)("h2",{id:"markline"},"MarkLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u56fe\u8868\u6807\u7ebf\u3002"),(0,n.kt)("h3",{id:"marklinesetdefaultvalue"},"MarkLine.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue() "),(0,n.kt)("h2",{id:"marklinedata"},"MarkLineData"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.9.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u56fe\u8868\u6807\u7ebf\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"marklinedataruntimecurrentendposition"},"MarkLineData.runtimeCurrentEndPosition"),(0,n.kt)("p",null,"public Vector3 runtimeCurrentEndPosition "),(0,n.kt)("h3",{id:"marklinedataruntimeendposition"},"MarkLineData.runtimeEndPosition"),(0,n.kt)("p",null,"public Vector3 runtimeEndPosition "),(0,n.kt)("h3",{id:"marklinedataruntimeingrid"},"MarkLineData.runtimeInGrid"),(0,n.kt)("p",null,"public bool runtimeInGrid "),(0,n.kt)("h3",{id:"marklinedataruntimelabel"},"MarkLineData.runtimeLabel"),(0,n.kt)("p",null,"public ChartLabel runtimeLabel "),(0,n.kt)("h3",{id:"marklinedataruntimestartposition"},"MarkLineData.runtimeStartPosition"),(0,n.kt)("p",null,"public Vector3 runtimeStartPosition "),(0,n.kt)("h3",{id:"marklinedataruntimevalue"},"MarkLineData.runtimeValue"),(0,n.kt)("p",null,"public double runtimeValue "),(0,n.kt)("h2",{id:"marklinetype"},"MarkLineType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6807\u7ebf\u7c7b\u578b"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u6807\u7ebf\u7c7b\u578b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Min"),": \u6700\u5c0f\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Max"),": \u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Average"),": \u5e73\u5747\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Median"),": \u4e2d\u4f4d\u6570\u3002")),(0,n.kt)("h2",{id:"marqueestyle"},"MarqueeStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.5.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"Marquee style. It can be used for the DataZoom component. \u9009\u53d6\u6846\u6837\u5f0f\u3002\u53ef\u7528\u4e8eDataZoom\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"marqueestyleapply"},"MarqueeStyle.apply"),(0,n.kt)("p",null,"public bool apply",(0,n.kt)("br",{parentName:"p"}),"\n","\u9009\u53d6\u6846\u8303\u56f4\u662f\u5426\u5e94\u7528\u5230DataZoom\u4e0a\u3002\u5f53\u4e3atrue\u65f6\uff0c\u6846\u9009\u7ed3\u675f\u540e\u7684\u8303\u56f4\u5373\u4e3aDataZoom\u7684\u9009\u62e9\u8303\u56f4\u3002"),(0,n.kt)("h3",{id:"marqueestyleareastyle"},"MarqueeStyle.areaStyle"),(0,n.kt)("p",null,"public AreaStyle areaStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u9009\u53d6\u6846\u533a\u57df\u586b\u5145\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"marqueestylelinestyle"},"MarqueeStyle.lineStyle"),(0,n.kt)("p",null,"public LineStyle lineStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u9009\u53d6\u6846\u533a\u57df\u8fb9\u6846\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"marqueestyleonend"},"MarqueeStyle.onEnd"),(0,n.kt)("p",null,"public Action","<","DataZoom",">"," onEnd",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49\u9009\u53d6\u6846\u7ed3\u675f\u9009\u53d6\u65f6\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"marqueestyleongoing"},"MarqueeStyle.onGoing"),(0,n.kt)("p",null,"public Action","<","DataZoom",">"," onGoing",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49\u9009\u53d6\u6846\u9009\u53d6\u8fdb\u884c\u65f6\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"marqueestyleonstart"},"MarqueeStyle.onStart"),(0,n.kt)("p",null,"public Action","<","DataZoom",">"," onStart",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49\u9009\u53d6\u6846\u5f00\u59cb\u9009\u53d6\u65f6\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"marqueestylerealrect"},"MarqueeStyle.realRect"),(0,n.kt)("p",null,"public bool realRect",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u9009\u53d6\u5b9e\u9645\u6846\u9009\u533a\u57df\u3002\u5f53\u4e3atrue\u65f6\uff0c\u4ee5\u9f20\u6807\u7684\u5176\u5b9e\u70b9\u548c\u7ed3\u675f\u70b9\u95f4\u7684\u5b9e\u9645\u8303\u56f4\u4f5c\u4e3a\u6846\u9009\u533a\u57df\u3002"),(0,n.kt)("h2",{id:"mathutil"},"MathUtil"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"mathutilabs"},"MathUtil.Abs"),(0,n.kt)("p",null,"public static double Abs(double d) "),(0,n.kt)("h3",{id:"mathutilapproximately"},"MathUtil.Approximately"),(0,n.kt)("p",null,"public static bool Approximately(double a, double b) "),(0,n.kt)("h3",{id:"mathutilclamp"},"MathUtil.Clamp"),(0,n.kt)("p",null,"public static double Clamp(double d, double min, double max) "),(0,n.kt)("h3",{id:"mathutilclamp01"},"MathUtil.Clamp01"),(0,n.kt)("p",null,"public static double Clamp01(double value) "),(0,n.kt)("h3",{id:"mathutilgetprecision"},"MathUtil.GetPrecision"),(0,n.kt)("p",null,"public static int GetPrecision(double value) "),(0,n.kt)("h3",{id:"mathutilisinteger"},"MathUtil.IsInteger"),(0,n.kt)("p",null,"public static bool IsInteger(double value) "),(0,n.kt)("h3",{id:"mathutillerp"},"MathUtil.Lerp"),(0,n.kt)("p",null,"public static double Lerp(double a, double b, double t) "),(0,n.kt)("h2",{id:"mlvalue"},"MLValue"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u591a\u6837\u5f0f\u6570\u503c\u3002"),(0,n.kt)("h3",{id:"mlvaluetype"},"MLValue.type"),(0,n.kt)("p",null,"public Type type "),(0,n.kt)("h3",{id:"mlvaluevalue"},"MLValue.value"),(0,n.kt)("p",null,"public float value "),(0,n.kt)("h3",{id:"mlvaluegetvalue"},"MLValue.GetValue"),(0,n.kt)("p",null,"public float GetValue(float total)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6839\u636e\u7c7b\u578b\u83b7\u53d6\u503c\u3002"),(0,n.kt)("h3",{id:"mlvaluemlvalue"},"MLValue.MLValue"),(0,n.kt)("p",null,"public MLValue(Type type, float value) "),(0,n.kt)("h2",{id:"mlvaluetype-1"},"MLValue.Type"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6570\u503c\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Percent"),": \u767e\u5206\u6bd4\u5f62\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Absolute"),": \u7edd\u5bf9\u503c\u5f62\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Extra"),": \u989d\u5916\u5f62\u5f0f\u3002")),(0,n.kt)("h2",{id:"monobehaviour"},"MonoBehaviour"),(0,n.kt)("p",null,"class in / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#xlog"},"XLog")," "),(0,n.kt)("h2",{id:"objectpoolt-where-t"},"ObjectPool","<","T",">"," where T"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#new()"},"new()")),(0,n.kt)("h3",{id:"objectpoolt-where-tcountactive"},"ObjectPool","<","T",">"," where T.countActive"),(0,n.kt)("p",null,"public int countActive "),(0,n.kt)("h3",{id:"objectpoolt-where-tcountall"},"ObjectPool","<","T",">"," where T.countAll"),(0,n.kt)("p",null,"public int countAll "),(0,n.kt)("h3",{id:"objectpoolt-where-tcountinactive"},"ObjectPool","<","T",">"," where T.countInactive"),(0,n.kt)("p",null,"public int countInactive "),(0,n.kt)("h3",{id:"objectpoolt-where-tclearall"},"ObjectPool","<","T",">"," where T.ClearAll"),(0,n.kt)("p",null,"public void ClearAll() "),(0,n.kt)("h3",{id:"objectpoolt-where-tget"},"ObjectPool","<","T",">"," where T.Get"),(0,n.kt)("p",null,"public T Get() "),(0,n.kt)("h3",{id:"objectpoolt-where-tnew"},"ObjectPool","<","T",">"," where T.new"),(0,n.kt)("p",null,"public class ObjectPool","<","T",">"," where T : new() "),(0,n.kt)("h3",{id:"objectpoolt-where-tobjectpool"},"ObjectPool","<","T",">"," where T.ObjectPool"),(0,n.kt)("p",null,"public ObjectPool(UnityAction","<","T",">"," actionOnGet, UnityAction","<","T",">"," actionOnRelease, bool newIfEmpty = true) "),(0,n.kt)("h3",{id:"objectpoolt-where-trelease"},"ObjectPool","<","T",">"," where T.Release"),(0,n.kt)("p",null,"public void Release(T element) "),(0,n.kt)("h2",{id:"orient"},"Orient"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u5782\u76f4\u8fd8\u662f\u6c34\u5e73\u5e03\u5c40\u65b9\u5f0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Horizonal"),": \u6c34\u5e73"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Vertical"),": \u5782\u76f4")),(0,n.kt)("h2",{id:"padding"},"Padding"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#textpadding"},"TextPadding")," "),(0,n.kt)("p",null,"\u8fb9\u8ddd\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"paddingpadding"},"Padding.Padding()"),(0,n.kt)("p",null,"public Padding() "),(0,n.kt)("h3",{id:"paddingpadding-1"},"Padding.Padding"),(0,n.kt)("p",null,"public Padding(float top, float right, float bottom, float left) "),(0,n.kt)("h3",{id:"paddingsetpadding"},"Padding.SetPadding"),(0,n.kt)("p",null,"public void SetPadding(float top, float right, float bottom, float left) "),(0,n.kt)("h2",{id:"painter"},"Painter"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=maskablegraphic"},"MaskableGraphic")),(0,n.kt)("h3",{id:"painterindex"},"Painter.index"),(0,n.kt)("p",null,"public int index "),(0,n.kt)("h3",{id:"painteronpopulatemesh"},"Painter.onPopulateMesh"),(0,n.kt)("p",null,"public Action","<","VertexHelper, Painter",">"," onPopulateMesh "),(0,n.kt)("h3",{id:"paintertype"},"Painter.type"),(0,n.kt)("p",null,"public Type type "),(0,n.kt)("h3",{id:"paintercheckrefresh"},"Painter.CheckRefresh"),(0,n.kt)("p",null,"public void CheckRefresh() "),(0,n.kt)("h3",{id:"painterinit"},"Painter.Init"),(0,n.kt)("p",null,"public void Init() "),(0,n.kt)("h3",{id:"painterrefresh"},"Painter.Refresh"),(0,n.kt)("p",null,"public void Refresh() "),(0,n.kt)("h3",{id:"paintersetactive"},"Painter.SetActive"),(0,n.kt)("p",null,"public void SetActive(bool flag, bool isDebugMode = false) "),(0,n.kt)("h2",{id:"paintertype-1"},"Painter.Type"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Base"),": "),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Serie"),": "),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Top"),": ")),(0,n.kt)("h2",{id:"parallel"},"Parallel"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h3",{id:"parallelcontainerindex"},"Parallel.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"parallelcontainterinstanceid"},"Parallel.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h3",{id:"paralleladddefaultserie"},"Parallel.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h2",{id:"parallelaxis"},"ParallelAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("h3",{id:"parallelaxissetdefaultvalue"},"ParallelAxis.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue() "),(0,n.kt)("h2",{id:"parallelchart"},"ParallelChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u5e73\u884c\u5750\u6807\u7cfb\uff0c\u901a\u8fc7\u7ed8\u5236\u5782\u76f4\u4e8e\u5750\u6807\u8f74\u7684\u5e73\u884c\u7ebf\u6765\u663e\u793a\u6570\u636e\u7684\u4e00\u79cd\u53ef\u89c6\u5316\u56fe\u8868\u3002"),(0,n.kt)("h2",{id:"parallelcoord"},"ParallelCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),",",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("p",null,"Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid."),(0,n.kt)("h3",{id:"parallelcoordcontains"},"ParallelCoord.Contains"),(0,n.kt)("p",null,"public bool Contains(float x, float y) "),(0,n.kt)("h3",{id:"parallelcoordispointerenter"},"ParallelCoord.IsPointerEnter"),(0,n.kt)("p",null,"public bool IsPointerEnter() "),(0,n.kt)("h3",{id:"parallelcoordupdateruntimedata"},"ParallelCoord.UpdateRuntimeData"),(0,n.kt)("p",null,"public void UpdateRuntimeData(BaseChart chart) "),(0,n.kt)("h2",{id:"parallelcoordcontext"},"ParallelCoordContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h2",{id:"pie"},"Pie"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie")),(0,n.kt)("h3",{id:"piedefaultcolorby"},"Pie.defaultColorBy"),(0,n.kt)("p",null,"public override SerieColorBy defaultColorBy "),(0,n.kt)("h3",{id:"pietitlejustforserie"},"Pie.titleJustForSerie"),(0,n.kt)("p",null,"public override bool titleJustForSerie "),(0,n.kt)("h3",{id:"pieadddefaultserie"},"Pie.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h3",{id:"pieconvertserie"},"Pie.ConvertSerie"),(0,n.kt)("p",null,"public static Pie ConvertSerie(Serie serie) "),(0,n.kt)("h2",{id:"piechart"},"PieChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u997c\u56fe\u4e3b\u8981\u7528\u4e8e\u663e\u793a\u4e0d\u540c\u7c7b\u76ee\u5360\u6bd4\u7684\u60c5\u51b5\uff0c\u901a\u8fc7\u5f27\u957f\u6765\u53cd\u6620\u6570\u636e\u7684\u5927\u5c0f\u5360\u6bd4\u3002"),(0,n.kt)("h3",{id:"piechartdefaultarearosepiechart"},"PieChart.DefaultAreaRosePieChart"),(0,n.kt)("p",null,"public void DefaultAreaRosePieChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u9762\u79ef\u73ab\u7470\u997c\u56fe\u3002"),(0,n.kt)("h3",{id:"piechartdefaultdonutpiechart"},"PieChart.DefaultDonutPieChart"),(0,n.kt)("p",null,"public void DefaultDonutPieChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u751c\u751c\u5708\u997c\u56fe\u3002"),(0,n.kt)("h3",{id:"piechartdefaultlabeldonutpiechart"},"PieChart.DefaultLabelDonutPieChart"),(0,n.kt)("p",null,"public void DefaultLabelDonutPieChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5e26\u6807\u7b7e\u751c\u751c\u5708\u997c\u56fe\u3002"),(0,n.kt)("h3",{id:"piechartdefaultlabelpiechart"},"PieChart.DefaultLabelPieChart"),(0,n.kt)("p",null,"public void DefaultLabelPieChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5e26\u6807\u7b7e\u997c\u56fe\u3002"),(0,n.kt)("h3",{id:"piechartdefaultradiusrosepiechart"},"PieChart.DefaultRadiusRosePieChart"),(0,n.kt)("p",null,"public void DefaultRadiusRosePieChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u73ab\u7470\u997c\u56fe\u3002"),(0,n.kt)("h2",{id:"polaraxistheme"},"PolarAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h3",{id:"polaraxisthemebasetheme"},"PolarAxisTheme.base(theme)"),(0,n.kt)("p",null,"public PolarAxisTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h3",{id:"polaraxisthemepolaraxistheme"},"PolarAxisTheme.PolarAxisTheme"),(0,n.kt)("p",null,"public PolarAxisTheme(ThemeType theme) : base(theme) { } "),(0,n.kt)("h2",{id:"polarchart"},"PolarChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u6781\u5750\u6807\u7cfb\uff0c\u53ef\u4ee5\u7528\u4e8e\u6563\u70b9\u56fe\u548c\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h3",{id:"polarchartdefaultheatmappolarchart"},"PolarChart.DefaultHeatmapPolarChart"),(0,n.kt)("p",null,"public void DefaultHeatmapPolarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u6781\u5750\u6807\u8272\u5757\u56fe\u3002"),(0,n.kt)("h3",{id:"polarchartdefaultradialbarpolarchart"},"PolarChart.DefaultRadialBarPolarChart"),(0,n.kt)("p",null,"public void DefaultRadialBarPolarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5f84\u5411\u67f1\u72b6\u6781\u5750\u6807\u56fe\u3002"),(0,n.kt)("h3",{id:"polarchartdefaulttangentialbarpolarchart"},"PolarChart.DefaultTangentialBarPolarChart"),(0,n.kt)("p",null,"public void DefaultTangentialBarPolarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5207\u5411\u67f1\u72b6\u6781\u5750\u6807\u56fe\u3002"),(0,n.kt)("h2",{id:"polarcoord"},"PolarCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("p",null,"\u6781\u5750\u6807\u7cfb\u7ec4\u4ef6\u3002 \u6781\u5750\u6807\u7cfb\uff0c\u53ef\u4ee5\u7528\u4e8e\u6563\u70b9\u56fe\u548c\u6298\u7ebf\u56fe\u3002\u6bcf\u4e2a\u6781\u5750\u6807\u7cfb\u62e5\u6709\u4e00\u4e2a\u89d2\u5ea6\u8f74\u548c\u4e00\u4e2a\u534a\u5f84\u8f74\u3002"),(0,n.kt)("h3",{id:"polarcoordcontains"},"PolarCoord.Contains"),(0,n.kt)("p",null,"public bool Contains(Vector3 pos) "),(0,n.kt)("h3",{id:"polarcoordispointerenter"},"PolarCoord.IsPointerEnter"),(0,n.kt)("p",null,"public bool IsPointerEnter() "),(0,n.kt)("h2",{id:"polarcoordcontext"},"PolarCoordContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h2",{id:"propertyutil"},"PropertyUtil"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"propertyutilsetclasst"},"PropertyUtil.SetClass","<","T",">"),(0,n.kt)("p",null,"public static bool SetClass","<","T",">","(ref T currentValue, T newValue, bool notNull = false) where T : class "),(0,n.kt)("h3",{id:"propertyutilsetcolor"},"PropertyUtil.SetColor"),(0,n.kt)("p",null,"public static bool SetColor(ref Color32 currentValue, Color32 newValue) "),(0,n.kt)("h3",{id:"propertyutilsetstructt"},"PropertyUtil.SetStruct","<","T",">"),(0,n.kt)("p",null,"public static bool SetStruct","<","T",">","(ref T currentValue, T newValue) where T : struct "),(0,n.kt)("h2",{id:"radar"},"Radar"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h3",{id:"radarcontainerindex"},"Radar.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"radarcontainterinstanceid"},"Radar.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h3",{id:"radardefaultcolorby"},"Radar.defaultColorBy"),(0,n.kt)("p",null,"public override SerieColorBy defaultColorBy "),(0,n.kt)("h3",{id:"radarmultidimensionlabel"},"Radar.multiDimensionLabel"),(0,n.kt)("p",null,"public override bool multiDimensionLabel "),(0,n.kt)("h3",{id:"radaradddefaultserie"},"Radar.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h2",{id:"radaraxistheme"},"RadarAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h3",{id:"radaraxisthemeradaraxistheme"},"RadarAxisTheme.RadarAxisTheme"),(0,n.kt)("p",null,"public RadarAxisTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h2",{id:"radarchart"},"RadarChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u4e3b\u8981\u7528\u4e8e\u663e\u793a\u591a\u53d8\u91cf\u7684\u6570\u636e\uff0c\u4f8b\u5982\u8db3\u7403\u8fd0\u52a8\u5458\u7684\u5404\u9879\u5c5e\u6027\u5206\u6790\u3002\u4f9d\u8d56\u96f7\u8fbe\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"radarchartdefaultcircleradarchart"},"RadarChart.DefaultCircleRadarChart"),(0,n.kt)("p",null,"public void DefaultCircleRadarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5706\u5f62\u96f7\u8fbe\u56fe\u3002"),(0,n.kt)("h2",{id:"radarcoord"},"RadarCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("p",null,"Radar coordinate conponnet for radar charts. \u96f7\u8fbe\u56fe\u5750\u6807\u7cfb\u7ec4\u4ef6\uff0c\u53ea\u9002\u7528\u4e8e\u96f7\u8fbe\u56fe\u3002"),(0,n.kt)("h2",{id:"radarcoordpositiontype"},"RadarCoord.PositionType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u663e\u793a\u4f4d\u7f6e\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Vertice"),": \u663e\u793a\u5728\u9876\u70b9\u5904\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Between"),": \u663e\u793a\u5728\u4e24\u8005\u4e4b\u95f4\u3002")),(0,n.kt)("h2",{id:"radarcoordshape"},"RadarCoord.Shape"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u7ed8\u5236\u7c7b\u578b\uff0c\u652f\u6301 'Polygon' \u548c 'Circle'\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Polygon"),": \u96f7\u8fbe\u56fe\u7ed8\u5236\u7c7b\u578b\uff0c\u652f\u6301 'Polygon' \u548c 'Circle'\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Circle"),": \u96f7\u8fbe\u56fe\u7ed8\u5236\u7c7b\u578b\uff0c\u652f\u6301 'Polygon' \u548c 'Circle'\u3002")),(0,n.kt)("h2",{id:"radarcoordcontext"},"RadarCoordContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h3",{id:"radarcoordcontextcenter"},"RadarCoordContext.center"),(0,n.kt)("p",null,"public Vector3 center",(0,n.kt)("br",{parentName:"p"}),"\n","\u96f7\u8fbe\u56fe\u5728\u5bb9\u5668\u4e2d\u7684\u5177\u4f53\u4e2d\u5fc3\u70b9\u3002"),(0,n.kt)("h3",{id:"radarcoordcontextdataradius"},"RadarCoordContext.dataRadius"),(0,n.kt)("p",null,"public float dataRadius "),(0,n.kt)("h3",{id:"radarcoordcontextispointerenter"},"RadarCoordContext.isPointerEnter"),(0,n.kt)("p",null,"public bool isPointerEnter "),(0,n.kt)("h3",{id:"radarcoordcontextradius"},"RadarCoordContext.radius"),(0,n.kt)("p",null,"public float radius",(0,n.kt)("br",{parentName:"p"}),"\n","\u96f7\u8fbe\u56fe\u7684\u8fd0\u884c\u65f6\u5b9e\u9645\u534a\u5f84\u3002"),(0,n.kt)("h2",{id:"radartype"},"RadarType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Multiple"),": \u591a\u5708\u96f7\u8fbe\u56fe\u3002\u6b64\u65f6\u53ef\u4e00\u4e2a\u96f7\u8fbe\u91cc\u7ed8\u5236\u591a\u4e2a\u5708\uff0c\u4e00\u4e2aserieData\u5c31\u53ef\u7ec4\u6210\u4e00\u4e2a\u5708\uff08\u591a\u7ef4\u6570\u636e\uff09\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Single"),": \u5355\u5708\u96f7\u8fbe\u56fe\u3002\u6b64\u65f6\u4e00\u4e2a\u96f7\u8fbe\u53ea\u80fd\u7ed8\u5236\u4e00\u4e2a\u5708\uff0c\u591a\u4e2aserieData\u7ec4\u6210\u4e00\u4e2a\u5708\uff0c\u6570\u636e\u53d6\u81ea",(0,n.kt)("inlineCode",{parentName:"li"},"data[1]"),"\u3002")),(0,n.kt)("h2",{id:"radiusaxis"},"RadiusAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("p",null,"\u6781\u5750\u6807\u7cfb\u7684\u5f84\u5411\u8f74\u3002"),(0,n.kt)("h3",{id:"radiusaxissetdefaultvalue"},"RadiusAxis.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6781\u5750\u6807\u7cfb\u7684\u5f84\u5411\u8f74\u3002"),(0,n.kt)("h2",{id:"radiusaxistheme"},"RadiusAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h3",{id:"radiusaxisthemebasetheme"},"RadiusAxisTheme.base(theme)"),(0,n.kt)("p",null,"public RadiusAxisTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h3",{id:"radiusaxisthemeradiusaxistheme"},"RadiusAxisTheme.RadiusAxisTheme"),(0,n.kt)("p",null,"public RadiusAxisTheme(ThemeType theme) : base(theme) { } "),(0,n.kt)("h2",{id:"reflectionutil"},"ReflectionUtil"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"reflectionutildeepcloneserializefield"},"ReflectionUtil.DeepCloneSerializeField"),(0,n.kt)("p",null,"public static object DeepCloneSerializeField(object obj) "),(0,n.kt)("h3",{id:"reflectionutilinvokelistadd"},"ReflectionUtil.InvokeListAdd"),(0,n.kt)("p",null,"public static void InvokeListAdd(object obj, FieldInfo field, object item) "),(0,n.kt)("h3",{id:"reflectionutilinvokelistaddtot"},"ReflectionUtil.InvokeListAddTo","<","T",">"),(0,n.kt)("p",null,"public static void InvokeListAddTo","<","T",">","(object obj, FieldInfo field, Action","<","T",">"," callback) "),(0,n.kt)("h3",{id:"reflectionutilinvokelistclear"},"ReflectionUtil.InvokeListClear"),(0,n.kt)("p",null,"public static void InvokeListClear(object obj, FieldInfo field) "),(0,n.kt)("h3",{id:"reflectionutilinvokelistcount"},"ReflectionUtil.InvokeListCount"),(0,n.kt)("p",null,"public static int InvokeListCount(object obj, FieldInfo field) "),(0,n.kt)("h3",{id:"reflectionutilinvokelistgett"},"ReflectionUtil.InvokeListGet","<","T",">"),(0,n.kt)("p",null,"public static T InvokeListGet","<","T",">","(object obj, FieldInfo field, int i) "),(0,n.kt)("h2",{id:"requirechartcomponentattribute"},"RequireChartComponentAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("h3",{id:"requirechartcomponentattributerequirechartcomponentattribute"},"RequireChartComponentAttribute.RequireChartComponentAttribute"),(0,n.kt)("p",null,"public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2) "),(0,n.kt)("p",null,"public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3) "),(0,n.kt)("h2",{id:"ring"},"Ring"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie")),(0,n.kt)("h3",{id:"ringdefaultcolorby"},"Ring.defaultColorBy"),(0,n.kt)("p",null,"public override SerieColorBy defaultColorBy "),(0,n.kt)("h3",{id:"ringadddefaultserie"},"Ring.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h3",{id:"ringgetdatatotal"},"Ring.GetDataTotal"),(0,n.kt)("p",null,"public override double GetDataTotal(int dimension, SerieData serieData = null) "),(0,n.kt)("h2",{id:"ringchart"},"RingChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u73af\u5f62\u56fe\u4e3b\u8981\u7528\u4e8e\u663e\u793a\u6bcf\u4e00\u9879\u7684\u6bd4\u4f8b\u4ee5\u53ca\u5404\u9879\u4e4b\u95f4\u7684\u5173\u7cfb\u3002"),(0,n.kt)("h3",{id:"ringchartdefaultmultipleringchart"},"RingChart.DefaultMultipleRingChart"),(0,n.kt)("p",null,"public void DefaultMultipleRingChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u591a\u5706\u73af\u56fe\u3002"),(0,n.kt)("h2",{id:"rosetype"},"RoseType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u662f\u5426\u5c55\u793a\u6210\u5357\u4e01\u683c\u5c14\u56fe\uff0c\u901a\u8fc7\u534a\u5f84\u533a\u5206\u6570\u636e\u5927\u5c0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4e0d\u5c55\u793a\u6210\u5357\u4e01\u683c\u5c14\u73ab\u7470\u56fe\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Radius"),": \u6247\u533a\u5706\u5fc3\u89d2\u5c55\u73b0\u6570\u636e\u7684\u767e\u5206\u6bd4\uff0c\u534a\u5f84\u5c55\u73b0\u6570\u636e\u7684\u5927\u5c0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Area"),": \u6240\u6709\u6247\u533a\u5706\u5fc3\u89d2\u76f8\u540c\uff0c\u4ec5\u901a\u8fc7\u534a\u5f84\u5c55\u73b0\u6570\u636e\u5927\u5c0f\u3002")),(0,n.kt)("h2",{id:"runtimeutil"},"RuntimeUtil"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"runtimeutilgetallassemblytypes"},"RuntimeUtil.GetAllAssemblyTypes"),(0,n.kt)("p",null,"public static IEnumerable","<","Type",">"," GetAllAssemblyTypes() "),(0,n.kt)("h3",{id:"runtimeutilgetalltypesderivedfrom"},"RuntimeUtil.GetAllTypesDerivedFrom"),(0,n.kt)("p",null,"public static IEnumerable","<","Type",">"," GetAllTypesDerivedFrom(Type type) "),(0,n.kt)("h3",{id:"runtimeutilgetalltypesderivedfromt"},"RuntimeUtil.GetAllTypesDerivedFrom","<","T",">"),(0,n.kt)("p",null,"public static IEnumerable","<","Type",">"," GetAllTypesDerivedFrom","<","T",">","() "),(0,n.kt)("h3",{id:"runtimeutilgetattributet"},"RuntimeUtil.GetAttribute","<","T",">"),(0,n.kt)("p",null,"public static T GetAttribute","<","T",">","(this MemberInfo type, bool check = true) where T : Attribute "),(0,n.kt)("h3",{id:"runtimeutilhassubclass"},"RuntimeUtil.HasSubclass"),(0,n.kt)("p",null,"public static bool HasSubclass(Type type) "),(0,n.kt)("h2",{id:"sampletype"},"SampleType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u91c7\u6837\u7c7b\u578b\uff0c\u4e00\u822c\u7528\u4e8e\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Peak"),": \u53d6\u5cf0\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Average"),": \u53d6\u8fc7\u6ee4\u70b9\u7684\u5e73\u5747\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Max"),": \u53d6\u8fc7\u6ee4\u70b9\u7684\u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Min"),": \u53d6\u8fc7\u6ee4\u70b9\u7684\u6700\u5c0f\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Sum"),": \u53d6\u8fc7\u6ee4\u70b9\u7684\u548c\u3002")),(0,n.kt)("h2",{id:"scatter"},"Scatter"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basescatter"},"BaseScatter")),(0,n.kt)("h3",{id:"scatteradddefaultserie"},"Scatter.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h2",{id:"scatterchart"},"ScatterChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u6563\u70b9\u56fe\u4e3b\u8981\u7528\u4e8e\u5c55\u73b0\u4e24\u4e2a\u6570\u636e\u7ef4\u5ea6\u4e4b\u95f4\u7684\u5173\u7cfb\u3002"),(0,n.kt)("h3",{id:"scatterchartdefaultbubblechart"},"ScatterChart.DefaultBubbleChart"),(0,n.kt)("p",null,"public void DefaultBubbleChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u6c14\u6ce1\u56fe\u3002"),(0,n.kt)("h2",{id:"selectstyle"},"SelectStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#statestyle"},"StateStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u9009\u4e2d\u72b6\u6001\u6837\u5f0f\u3002"),(0,n.kt)("h2",{id:"serie"},"Serie"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseserie"},"BaseSerie"),",",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=icomparable"},"IComparable")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#seriehandlert"},"SerieHandler","<","T",">"),",",(0,n.kt)("a",{parentName:"p",href:"#bar"},"Bar"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedbar"},"SimplifiedBar"),",",(0,n.kt)("a",{parentName:"p",href:"#candlestick"},"Candlestick"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedcandlestick"},"SimplifiedCandlestick"),",",(0,n.kt)("a",{parentName:"p",href:"#heatmap"},"Heatmap"),",",(0,n.kt)("a",{parentName:"p",href:"#line"},"Line"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedline"},"SimplifiedLine"),",",(0,n.kt)("a",{parentName:"p",href:"#parallel"},"Parallel"),",",(0,n.kt)("a",{parentName:"p",href:"#pie"},"Pie"),",",(0,n.kt)("a",{parentName:"p",href:"#radar"},"Radar"),",",(0,n.kt)("a",{parentName:"p",href:"#ring"},"Ring"),",",(0,n.kt)("a",{parentName:"p",href:"#basescatter"},"BaseScatter")," "),(0,n.kt)("p",null,"\u7cfb\u5217\u3002\u7cfb\u5217\u4e00\u822c\u7531\u6570\u636e\u548c\u914d\u7f6e\u7ec4\u6210\uff0c\u7528\u6765\u8868\u793a\u5177\u4f53\u7684\u56fe\u8868\u56fe\u5f62\uff0c\u5982\u6298\u7ebf\u56fe\u7684\u4e00\u6761\u6298\u7ebf\uff0c\u67f1\u56fe\u7684\u4e00\u7ec4\u67f1\u5b50\u7b49\u3002\u4e00\u4e2a\u56fe\u8868\u4e2d\u53ef\u4ee5\u5305\u542b\u591a\u4e2a\u4e0d\u540c\u7c7b\u578b\u7684\u7cfb\u5217\u3002"),(0,n.kt)("h3",{id:"serieareastyle"},"Serie.areaStyle"),(0,n.kt)("p",null,"public AreaStyle areaStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u533a\u57df\u586b\u5145\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"serieblurstyle"},"Serie.blurStyle"),(0,n.kt)("p",null,"public BlurStyle blurStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u6de1\u51fa\u72b6\u6001\u7684\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"seriecolorbydata"},"Serie.colorByData"),(0,n.kt)("p",null,"public bool colorByData",(0,n.kt)("br",{parentName:"p"}),"\n","\u53d6\u8272\u7b56\u7565\u662f\u5426\u4e3a\u6309\u6570\u636e\u9879\u5206\u914d\u3002"),(0,n.kt)("h3",{id:"seriedata"},"Serie.data"),(0,n.kt)("p",null,"public List","<","SerieData",">"," data",(0,n.kt)("br",{parentName:"p"}),"\n","\u7cfb\u5217\u4e2d\u7684\u6570\u636e\u5185\u5bb9\u6570\u7ec4\u3002SerieData\u53ef\u4ee5\u8bbe\u7f6e1\u5230n\u7ef4\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"seriedatacount"},"Serie.dataCount"),(0,n.kt)("p",null,"public int dataCount",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9879\u4e2a\u6570\u3002"),(0,n.kt)("h3",{id:"seriedatadirty"},"Serie.dataDirty"),(0,n.kt)("p",null,"public bool dataDirty "),(0,n.kt)("h3",{id:"serieemphasisstyle"},"Serie.emphasisStyle"),(0,n.kt)("p",null,"public EmphasisStyle emphasisStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ad8\u4eae\u72b6\u6001\u7684\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"serieendlabel"},"Serie.endLabel"),(0,n.kt)("p",null,"public LabelStyle endLabel "),(0,n.kt)("h3",{id:"seriehighlight"},"Serie.highlight"),(0,n.kt)("p",null,"public bool highlight",(0,n.kt)("br",{parentName:"p"}),"\n","\u8be5\u7cfb\u5217\u662f\u5426\u9ad8\u4eae\uff0c\u4e00\u822c\u7531\u56fe\u4f8b\u60ac\u505c\u89e6\u53d1\u3002"),(0,n.kt)("h3",{id:"serieindex"},"Serie.index"),(0,n.kt)("p",null,"public int index",(0,n.kt)("br",{parentName:"p"}),"\n","\u7cfb\u5217\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"serieinteractdirty"},"Serie.interactDirty"),(0,n.kt)("p",null,"public bool interactDirty "),(0,n.kt)("h3",{id:"serielabel"},"Serie.label"),(0,n.kt)("p",null,"public LabelStyle label",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u5f62\u4e0a\u7684\u6587\u672c\u6807\u7b7e\uff0c\u53ef\u7528\u4e8e\u8bf4\u660e\u56fe\u5f62\u7684\u4e00\u4e9b\u6570\u636e\u4fe1\u606f\uff0c\u6bd4\u5982\u503c\uff0c\u540d\u79f0\u7b49\u3002"),(0,n.kt)("h3",{id:"serielabeldirty"},"Serie.labelDirty"),(0,n.kt)("p",null,"public bool labelDirty "),(0,n.kt)("h3",{id:"serielabelline"},"Serie.labelLine"),(0,n.kt)("p",null,"public LabelLine labelLine",(0,n.kt)("br",{parentName:"p"}),"\n","\u6807\u7b7e\u4e0a\u7684\u89c6\u89c9\u5f15\u5bfc\u7ebf\u3002"),(0,n.kt)("h3",{id:"serielegendname"},"Serie.legendName"),(0,n.kt)("p",null,"public string legendName",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u4f8b\u540d\u79f0\u3002\u5f53\u7cfb\u5217\u540d\u79f0\u4e0d\u4e3a\u7a7a\u65f6\uff0c\u56fe\u4f8b\u540d\u79f0\u5373\u4e3a\u7cfb\u5217\u540d\u79f0\uff1b\u53cd\u4e4b\u5219\u4e3a\u7d22\u5f15index\u3002"),(0,n.kt)("h3",{id:"serielinearrow"},"Serie.lineArrow"),(0,n.kt)("p",null,"public LineArrow lineArrow",(0,n.kt)("br",{parentName:"p"}),"\n","\u6298\u7ebf\u56fe\u7684\u7bad\u5934\u3002"),(0,n.kt)("h3",{id:"serielinks"},"Serie.links"),(0,n.kt)("p",null,"public List","<","SerieDataLink",">"," links",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u8282\u70b9\u7684\u8fb9\u3002"),(0,n.kt)("h3",{id:"serienamedirty"},"Serie.nameDirty"),(0,n.kt)("p",null,"public bool nameDirty "),(0,n.kt)("h3",{id:"serieonclick"},"Serie.onClick"),(0,n.kt)("p",null,"public Action","<","SerieEventData",">"," onClick",(0,n.kt)("br",{parentName:"p"}),"\n","\u70b9\u51fb\u7cfb\u5217\u65f6\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"serieondown"},"Serie.onDown"),(0,n.kt)("p",null,"public Action","<","SerieEventData",">"," onDown",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u6309\u4e0b\u65f6\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"serieonenter"},"Serie.onEnter"),(0,n.kt)("p",null,"public Action","<","SerieEventData",">"," onEnter",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u8fdb\u5165\u65f6\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"serieonexit"},"Serie.onExit"),(0,n.kt)("p",null,"public Action","<","SerieEventData",">"," onExit",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u79bb\u5f00\u65f6\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"serieselectstyle"},"Serie.selectStyle"),(0,n.kt)("p",null,"public SelectStyle selectStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u9009\u4e2d\u72b6\u6001\u7684\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"serieshowdatadimension"},"Serie.showDataDimension"),(0,n.kt)("p",null,"public int showDataDimension",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9879\u91cc\u7684\u6570\u636e\u7ef4\u6570\u3002"),(0,n.kt)("h3",{id:"serieshowdataname"},"Serie.showDataName"),(0,n.kt)("p",null,"public bool showDataName",(0,n.kt)("br",{parentName:"p"}),"\n","\u5728Editor\u7684inpsector\u4e0a\u662f\u5426\u663e\u793aname\u53c2\u6570"),(0,n.kt)("h3",{id:"serietitledirty"},"Serie.titleDirty"),(0,n.kt)("p",null,"public bool titleDirty "),(0,n.kt)("h3",{id:"serietitlestyle"},"Serie.titleStyle"),(0,n.kt)("p",null,"public TitleStyle titleStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9879\u6807\u9898\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"serieaddchilddata"},"Serie.AddChildData"),(0,n.kt)("p",null,"public SerieData AddChildData(SerieData parent, List","<","double",">"," value, string name, string id) "),(0,n.kt)("p",null,"public void AddChildData(SerieData parent, SerieData serieData) "),(0,n.kt)("h3",{id:"serieadddata"},"Serie.AddData"),(0,n.kt)("p",null,"public SerieData AddData(List","<","double",">"," valueList, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5c06\u4e00\u7ec4\u6570\u636e\u6dfb\u52a0\u5230\u7cfb\u5217\u4e2d\u3002 \u5982\u679c\u6570\u636e\u53ea\u6709\u4e00\u4e2a\uff0c\u9ed8\u8ba4\u6dfb\u52a0\u5230\u7ef4\u5ea6Y\u4e2d\u3002"),(0,n.kt)("p",null,"public SerieData AddData(params double[] values)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4efb\u610f\u7ef4\u6570\u636e\u5230\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("h3",{id:"serieaddextracomponentt"},"Serie.AddExtraComponent","<","T",">"),(0,n.kt)("p",null,"public T AddExtraComponent","<","T",">","() where T : ChildComponent, ISerieComponent "),(0,n.kt)("h3",{id:"serieaddlink"},"Serie.AddLink"),(0,n.kt)("p",null,"public virtual SerieDataLink AddLink(string sourceId, string targetId, double value = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4e00\u4e2a\u5173\u7cfb\u56fe\u7684\u5173\u7cfb\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"serieaddseriedata"},"Serie.AddSerieData"),(0,n.kt)("p",null,"public virtual void AddSerieData(SerieData serieData) "),(0,n.kt)("h3",{id:"serieaddxydata"},"Serie.AddXYData"),(0,n.kt)("p",null,"public SerieData AddXYData(double xValue, double yValue, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\uff08x\uff0cy\uff09\u6570\u636e\u5230\u7ef4\u5ea6X\u548c\u7ef4\u5ea6Y"),(0,n.kt)("h3",{id:"serieaddydata"},"Serie.AddYData"),(0,n.kt)("p",null,"public SerieData AddYData(double value, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4e00\u4e2a\u6570\u636e\u5230\u7ef4\u5ea6Y\uff08\u6b64\u65f6\u7ef4\u5ea6X\u5bf9\u5e94\u7684\u6570\u636e\u662f\u7d22\u5f15\uff09"),(0,n.kt)("h3",{id:"serieanimationenable"},"Serie.AnimationEnable"),(0,n.kt)("p",null,"public void AnimationEnable(bool flag)",(0,n.kt)("br",{parentName:"p"}),"\n","\u542f\u7528\u6216\u53d6\u6d88\u521d\u59cb\u52a8\u753b"),(0,n.kt)("h3",{id:"serieanimationfadein"},"Serie.AnimationFadeIn"),(0,n.kt)("p",null,"public void AnimationFadeIn()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e10\u5165\u52a8\u753b"),(0,n.kt)("h3",{id:"serieanimationfadeout"},"Serie.AnimationFadeOut"),(0,n.kt)("p",null,"public void AnimationFadeOut()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e10\u51fa\u52a8\u753b"),(0,n.kt)("h3",{id:"serieanimationpause"},"Serie.AnimationPause"),(0,n.kt)("p",null,"public void AnimationPause()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6682\u505c\u52a8\u753b"),(0,n.kt)("h3",{id:"serieanimationreset"},"Serie.AnimationReset"),(0,n.kt)("p",null,"public void AnimationReset()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u7f6e\u52a8\u753b"),(0,n.kt)("h3",{id:"serieanimationrestart"},"Serie.AnimationRestart"),(0,n.kt)("p",null,"public void AnimationRestart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u7f6e\u52a8\u753b"),(0,n.kt)("h3",{id:"serieanimationresume"},"Serie.AnimationResume"),(0,n.kt)("p",null,"public void AnimationResume()",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ee7\u7eed\u52a8\u753b"),(0,n.kt)("h3",{id:"seriecanaddcomponent"},"Serie.CanAddComponent"),(0,n.kt)("p",null,"public bool CanAddComponent(Type type) "),(0,n.kt)("h3",{id:"seriecanaddcomponentt"},"Serie.CanAddComponent","<","T",">"),(0,n.kt)("p",null,"public bool CanAddComponent","<","T",">","() where T : ChildComponent, ISerieComponent "),(0,n.kt)("h3",{id:"serieclearcomponentdirty"},"Serie.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h3",{id:"seriecleardata"},"Serie.ClearData"),(0,n.kt)("p",null,"public override void ClearData()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e05\u7a7a\u6240\u6709\u6570\u636e"),(0,n.kt)("h3",{id:"seriecleardirty"},"Serie.ClearDirty"),(0,n.kt)("p",null,"public override void ClearDirty() "),(0,n.kt)("h3",{id:"serieclearhighlight"},"Serie.ClearHighlight"),(0,n.kt)("p",null,"public void ClearHighlight()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e05\u9664\u6240\u6709\u6570\u636e\u7684\u9ad8\u4eae\u6807\u5fd7"),(0,n.kt)("h3",{id:"serieclearlinks"},"Serie.ClearLinks"),(0,n.kt)("p",null,"public void ClearLinks()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e05\u7a7a\u6240\u6709Link\u6570\u636e"),(0,n.kt)("h3",{id:"serieclearserienamedirty"},"Serie.ClearSerieNameDirty"),(0,n.kt)("p",null,"public void ClearSerieNameDirty() "),(0,n.kt)("h3",{id:"serieclearverticesdirty"},"Serie.ClearVerticesDirty"),(0,n.kt)("p",null,"public override void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"serieclone"},"Serie.Clone"),(0,n.kt)("p",null,"public Serie Clone() "),(0,n.kt)("h3",{id:"serieclonet"},"Serie.Clone","<","T",">"),(0,n.kt)("p",null,"public T Clone","<","T",">","() where T : Serie "),(0,n.kt)("h3",{id:"seriecompareto"},"Serie.CompareTo"),(0,n.kt)("p",null,"public int CompareTo(object obj) "),(0,n.kt)("h3",{id:"serieensurecomponent"},"Serie.EnsureComponent"),(0,n.kt)("p",null,"public ISerieComponent EnsureComponent(Type type) "),(0,n.kt)("h3",{id:"serieensurecomponentt"},"Serie.EnsureComponent","<","T",">"),(0,n.kt)("p",null,"public T EnsureComponent","<","T",">","() where T : ChildComponent, ISerieComponent",(0,n.kt)("br",{parentName:"p"}),"\n","\u786e\u4fdd\u7cfb\u5217\u6709\u8be5\u7ec4\u4ef6\u3002\u5982\u679c\u6ca1\u6709\uff0c\u5219\u6dfb\u52a0\u3002"),(0,n.kt)("h3",{id:"seriegetbarwidth"},"Serie.GetBarWidth"),(0,n.kt)("p",null,"public float GetBarWidth(float categoryWidth, int barCount = 0, float defaultRate = 0.6f) "),(0,n.kt)("h3",{id:"seriegetcomponent"},"Serie.GetComponent"),(0,n.kt)("p",null,"public ISerieComponent GetComponent(Type type) "),(0,n.kt)("h3",{id:"seriegetcomponentt"},"Serie.GetComponent","<","T",">"),(0,n.kt)("p",null,"public T GetComponent","<","T",">","() where T : ChildComponent, ISerieComponent "),(0,n.kt)("h3",{id:"seriegetdata"},"Serie.GetData"),(0,n.kt)("p",null,"public double GetData(int index, int dimension, DataZoom dataZoom = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6307\u5b9aindex\u6307\u5b9a\u7ef4\u6570\u7684\u6570\u636e"),(0,n.kt)("h3",{id:"seriegetdatalist"},"Serie.GetDataList"),(0,n.kt)("p",null,"public List","<","SerieData",">"," GetDataList(DataZoom dataZoom = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u7cfb\u5217\u7684\u6570\u636e\u5217\u8868"),(0,n.kt)("h3",{id:"seriegetdatatotal"},"Serie.GetDataTotal"),(0,n.kt)("p",null,"public virtual double GetDataTotal(int dimension, SerieData serieData = null) "),(0,n.kt)("h3",{id:"seriegetseriedata"},"Serie.GetSerieData"),(0,n.kt)("p",null,"public SerieData GetSerieData(SerieData parent, string id) "),(0,n.kt)("p",null,"public SerieData GetSerieData(string id, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"seriegetxydata"},"Serie.GetXYData"),(0,n.kt)("p",null,"public void GetXYData(int index, DataZoom dataZoom, out double xValue, out double yVlaue)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6307\u5b9a\u7d22\u5f15\u7684\u7ef4\u5ea6X\u548c\u7ef4\u5ea6Y\u7684\u6570\u636e"),(0,n.kt)("h3",{id:"seriegetycurrdata"},"Serie.GetYCurrData"),(0,n.kt)("p",null,"public double GetYCurrData(int index, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"seriegetydata"},"Serie.GetYData"),(0,n.kt)("p",null,"public void GetYData(int index, out double yData, out string dataName, DataZoom dataZoom = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u7ef4\u5ea6Y\u7d22\u5f15\u5bf9\u5e94\u7684\u6570\u636e\u548c\u6570\u636e\u540d"),(0,n.kt)("h3",{id:"serieisignoreindex"},"Serie.IsIgnoreIndex"),(0,n.kt)("p",null,"public bool IsIgnoreIndex(int index, int dimension = 1) "),(0,n.kt)("h3",{id:"serieisignorepoint"},"Serie.IsIgnorePoint"),(0,n.kt)("p",null,"public bool IsIgnorePoint(int index) "),(0,n.kt)("h3",{id:"serieisignorevalue"},"Serie.IsIgnoreValue"),(0,n.kt)("p",null,"public bool IsIgnoreValue(double value) "),(0,n.kt)("p",null,"public bool IsIgnoreValue(SerieData serieData, double value) "),(0,n.kt)("h3",{id:"serieislegendname"},"Serie.IsLegendName"),(0,n.kt)("p",null,"public bool IsLegendName(string legendName) "),(0,n.kt)("h3",{id:"serieisminshowlabelvalue"},"Serie.IsMinShowLabelValue"),(0,n.kt)("p",null,"public bool IsMinShowLabelValue(double value) "),(0,n.kt)("p",null,"public bool IsMinShowLabelValue(SerieData serieData, int dimension = 1) "),(0,n.kt)("h3",{id:"serieisperformancemode"},"Serie.IsPerformanceMode"),(0,n.kt)("p",null,"public bool IsPerformanceMode()",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u4e3a\u6027\u80fd\u6a21\u5f0f\u3002\u6027\u80fd\u6a21\u5f0f\u4e0b\u4e0d\u7ed8\u5236Symbol\uff0c\u4e0d\u5237\u65b0Label\uff0c\u4e0d\u5355\u72ec\u8bbe\u7f6e\u6570\u636e\u9879\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"serieisseriet"},"Serie.IsSerie","<","T",">"),(0,n.kt)("p",null,"public bool IsSerie","<","T",">","() where T : Serie "),(0,n.kt)("h3",{id:"serieisseriedatalegendname"},"Serie.IsSerieDataLegendName"),(0,n.kt)("p",null,"public bool IsSerieDataLegendName(string legendName) "),(0,n.kt)("h3",{id:"serieisserielegendname"},"Serie.IsSerieLegendName"),(0,n.kt)("p",null,"public bool IsSerieLegendName(string legendName) "),(0,n.kt)("h3",{id:"serieisusecoordt"},"Serie.IsUseCoord","<","T",">"),(0,n.kt)("p",null,"public bool IsUseCoord","<","T",">","() where T : CoordSystem "),(0,n.kt)("h3",{id:"serieremoveallcomponents"},"Serie.RemoveAllComponents"),(0,n.kt)("p",null,"public void RemoveAllComponents()",(0,n.kt)("br",{parentName:"p"}),"\n","\u79fb\u9664\u6240\u6709\u989d\u5916\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"serieremovecomponent"},"Serie.RemoveComponent"),(0,n.kt)("p",null,"public void RemoveComponent(Type type) "),(0,n.kt)("h3",{id:"serieremovecomponentt"},"Serie.RemoveComponent","<","T",">"),(0,n.kt)("p",null,"public void RemoveComponent","<","T",">","() where T : ISerieComponent "),(0,n.kt)("h3",{id:"serieremovedata"},"Serie.RemoveData"),(0,n.kt)("p",null,"public void RemoveData(int index)",(0,n.kt)("br",{parentName:"p"}),"\n","\u79fb\u9664\u6307\u5b9a\u7d22\u5f15\u7684\u6570\u636e"),(0,n.kt)("h3",{id:"serieresetdataindex"},"Serie.ResetDataIndex"),(0,n.kt)("p",null,"public bool ResetDataIndex()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u7f6e\u6570\u636e\u9879\u7d22\u5f15\u3002\u907f\u514d\u90e8\u5206\u6570\u636e\u9879\u7684\u7d22\u5f15\u5f02\u5e38\u3002"),(0,n.kt)("h3",{id:"serieresetinteract"},"Serie.ResetInteract"),(0,n.kt)("p",null,"public void ResetInteract() "),(0,n.kt)("h3",{id:"seriesetalldirty"},"Serie.SetAllDirty"),(0,n.kt)("p",null,"public override void SetAllDirty() "),(0,n.kt)("h3",{id:"seriesetcoordt"},"Serie.SetCoord","<","T",">"),(0,n.kt)("p",null,"public bool SetCoord","<","T",">","() where T : CoordSystem "),(0,n.kt)("h3",{id:"seriesethighlight"},"Serie.SetHighlight"),(0,n.kt)("p",null,"public void SetHighlight(int index, bool flag)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6e\u6307\u5b9a\u7d22\u5f15\u7684\u6570\u636e\u4e3a\u9ad8\u4eae\u72b6\u6001"),(0,n.kt)("h3",{id:"seriesetverticesdirty"},"Serie.SetVerticesDirty"),(0,n.kt)("p",null,"public override void SetVerticesDirty() "),(0,n.kt)("h3",{id:"serieupdatedata"},"Serie.UpdateData"),(0,n.kt)("p",null,"public bool UpdateData(int index, List","<","double",">"," values)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u5b9a\u7d22\u5f15\u7684\u6570\u636e\u9879\u6570\u636e\u5217\u8868"),(0,n.kt)("h3",{id:"serieupdatedataname"},"Serie.UpdateDataName"),(0,n.kt)("p",null,"public bool UpdateDataName(int index, string name) "),(0,n.kt)("h3",{id:"serieupdatexydata"},"Serie.UpdateXYData"),(0,n.kt)("p",null,"public bool UpdateXYData(int index, double xValue, double yValue)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u5b9a\u7d22\u5f15\u7684\u7ef4\u5ea6X\u548c\u7ef4\u5ea6Y\u7684\u6570\u636e"),(0,n.kt)("h3",{id:"serieupdateydata"},"Serie.UpdateYData"),(0,n.kt)("p",null,"public bool UpdateYData(int index, double value)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u5b9a\u7d22\u5f15\u7684\u7ef4\u5ea6Y\u6570\u636e"),(0,n.kt)("h2",{id:"seriecolorby"},"SerieColorBy"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u4ece\u4e3b\u9898\u4e2d\u53d6\u8272\u7b56\u7565\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Default"),": \u9ed8\u8ba4\u7b56\u7565\u3002\u6bcf\u79cdSerie\u90fd\u6709\u81ea\u5df1\u7684\u9ed8\u8ba4\u7684\u53d6\u989c\u8272\u7b56\u7565\u3002\u6bd4\u5982Line\u9ed8\u8ba4\u662fSeries\u7b56\u7565\uff0cPie\u9ed8\u8ba4\u662fData\u7b56\u7565\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Serie"),": \u6309\u7167\u7cfb\u5217\u5206\u914d\u8c03\u8272\u76d8\u4e2d\u7684\u989c\u8272\uff0c\u540c\u4e00\u7cfb\u5217\u4e2d\u7684\u6240\u6709\u6570\u636e\u90fd\u662f\u7528\u76f8\u540c\u7684\u989c\u8272\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Data"),": \u6309\u7167\u6570\u636e\u9879\u5206\u914d\u8c03\u8272\u76d8\u4e2d\u7684\u989c\u8272\uff0c\u6bcf\u4e2a\u6570\u636e\u9879\u90fd\u4f7f\u7528\u4e0d\u540c\u7684\u989c\u8272\u3002")),(0,n.kt)("h2",{id:"seriecomponentattribute"},"SerieComponentAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("p",null,"\u53ef\u6dfb\u52a0\u5230Serie\u7684\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"seriecomponentattributecontains"},"SerieComponentAttribute.Contains"),(0,n.kt)("p",null,"public bool Contains(Type type) "),(0,n.kt)("h3",{id:"seriecomponentattributecontainst"},"SerieComponentAttribute.Contains","<","T",">"),(0,n.kt)("p",null,"public bool Contains","<","T",">","() where T : ISerieComponent "),(0,n.kt)("h3",{id:"seriecomponentattributeseriecomponentattribute"},"SerieComponentAttribute.SerieComponentAttribute"),(0,n.kt)("p",null,"public SerieComponentAttribute(Type type1) "),(0,n.kt)("p",null,"public SerieComponentAttribute(Type type1, Type type2) "),(0,n.kt)("p",null,"public SerieComponentAttribute(Type type1, Type type2, Type type3) "),(0,n.kt)("p",null,"public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4) "),(0,n.kt)("p",null,"public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5) "),(0,n.kt)("p",null,"public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6) "),(0,n.kt)("p",null,"public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7) "),(0,n.kt)("h2",{id:"seriecontext"},"SerieContext"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"seriecontexttitleobject"},"SerieContext.titleObject"),(0,n.kt)("p",null,"public ChartLabel titleObject",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed8\u5236\u70b9"),(0,n.kt)("h2",{id:"serieconvertattribute"},"SerieConvertAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("p",null,"\u53ef\u8f6c\u5316\u4e3a\u54ea\u4e9bSerie\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"serieconvertattributecontains"},"SerieConvertAttribute.Contains"),(0,n.kt)("p",null,"public bool Contains(Type type) "),(0,n.kt)("h3",{id:"serieconvertattributecontainst"},"SerieConvertAttribute.Contains","<","T",">"),(0,n.kt)("p",null,"public bool Contains","<","T",">","() where T : Serie "),(0,n.kt)("h3",{id:"serieconvertattributeserieconvertattribute"},"SerieConvertAttribute.SerieConvertAttribute"),(0,n.kt)("p",null,"public SerieConvertAttribute(Type serie, Type serie2) "),(0,n.kt)("p",null,"public SerieConvertAttribute(Type serie, Type serie2, Type serie3) "),(0,n.kt)("p",null,"public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4) "),(0,n.kt)("h2",{id:"seriedata-1"},"SerieData"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u7cfb\u5217\u4e2d\u7684\u4e00\u4e2a\u6570\u636e\u9879\u3002\u53ef\u5b58\u50a8\u6570\u636e\u540d\u548c1-n\u7ef4\u4e2a\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"seriedataareastyle"},"SerieData.areaStyle"),(0,n.kt)("p",null,"public AreaStyle areaStyle "),(0,n.kt)("h3",{id:"seriedatablurstyle"},"SerieData.blurStyle"),(0,n.kt)("p",null,"public BlurStyle blurStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u6de1\u51fa\u72b6\u6001\u7684\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"seriedatadata"},"SerieData.data"),(0,n.kt)("p",null,"public List","<","double",">"," data",(0,n.kt)("br",{parentName:"p"}),"\n","\u53ef\u6307\u5b9a\u4efb\u610f\u7ef4\u6570\u7684\u6570\u503c\u5217\u8868\u3002"),(0,n.kt)("h3",{id:"seriedataemphasisstyle"},"SerieData.emphasisStyle"),(0,n.kt)("p",null,"public EmphasisStyle emphasisStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ad8\u4eae\u72b6\u6001\u7684\u6837\u5f0f"),(0,n.kt)("h3",{id:"seriedataid"},"SerieData.id"),(0,n.kt)("p",null,"public string id",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9879\u7684\u552f\u4e00id\u3002\u552f\u4e00id\u4e0d\u662f\u5fc5\u987b\u8bbe\u7f6e\u7684\u3002"),(0,n.kt)("h3",{id:"seriedataindex"},"SerieData.index"),(0,n.kt)("p",null,"public override int index",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9879\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"seriedataitemstyle"},"SerieData.itemStyle"),(0,n.kt)("p",null,"public ItemStyle itemStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u5355\u4e2a\u6570\u636e\u9879\u7684\u6837\u5f0f\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"seriedatalabelline"},"SerieData.labelLine"),(0,n.kt)("p",null,"public LabelLine labelLine "),(0,n.kt)("h3",{id:"seriedatalabelobject"},"SerieData.labelObject"),(0,n.kt)("p",null,"public ChartLabel labelObject "),(0,n.kt)("h3",{id:"seriedatalabelstyle"},"SerieData.labelStyle"),(0,n.kt)("p",null,"public LabelStyle labelStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u5355\u4e2a\u6570\u636e\u9879\u7684\u6807\u7b7e\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"seriedatalegendname"},"SerieData.legendName"),(0,n.kt)("p",null,"public string legendName",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9879\u56fe\u4f8b\u540d\u79f0\u3002\u5f53\u6570\u636e\u9879\u540d\u79f0\u4e0d\u4e3a\u7a7a\u65f6\uff0c\u56fe\u4f8b\u540d\u79f0\u5373\u4e3a\u7cfb\u5217\u540d\u79f0\uff1b\u53cd\u4e4b\u5219\u4e3a\u7d22\u5f15index\u3002"),(0,n.kt)("h3",{id:"seriedatalinestyle"},"SerieData.lineStyle"),(0,n.kt)("p",null,"public LineStyle lineStyle "),(0,n.kt)("h3",{id:"seriedataname"},"SerieData.name"),(0,n.kt)("p",null,"public string name",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9879\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"seriedataparentid"},"SerieData.parentId"),(0,n.kt)("p",null,"public string parentId",(0,n.kt)("br",{parentName:"p"}),"\n","\u7236\u8282\u70b9id\u3002\u7236\u8282\u70b9id\u4e0d\u662f\u5fc5\u987b\u8bbe\u7f6e\u7684\u3002"),(0,n.kt)("h3",{id:"seriedataradius"},"SerieData.radius"),(0,n.kt)("p",null,"public float radius",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49\u534a\u5f84\u3002\u53ef\u7528\u5728\u997c\u56fe\u4e2d\u81ea\u5b9a\u4e49\u67d0\u4e2a\u6570\u636e\u9879\u7684\u534a\u5f84\u3002"),(0,n.kt)("h3",{id:"seriedataselected"},"SerieData.selected"),(0,n.kt)("p",null,"public bool selected",(0,n.kt)("br",{parentName:"p"}),"\n","\u8be5\u6570\u636e\u9879\u662f\u5426\u88ab\u9009\u4e2d\u3002"),(0,n.kt)("h3",{id:"seriedataselectstyle"},"SerieData.selectStyle"),(0,n.kt)("p",null,"public SelectStyle selectStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u9009\u4e2d\u72b6\u6001\u7684\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"seriedatashow"},"SerieData.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u8be5\u6570\u636e\u9879\u662f\u5426\u8981\u663e\u793a\u3002"),(0,n.kt)("h3",{id:"seriedatastate"},"SerieData.state"),(0,n.kt)("p",null,"public SerieState state",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9879\u7684\u9ed8\u8ba4\u72b6\u6001\u3002"),(0,n.kt)("h3",{id:"seriedatasymbol"},"SerieData.symbol"),(0,n.kt)("p",null,"public SerieSymbol symbol",(0,n.kt)("br",{parentName:"p"}),"\n","\u5355\u4e2a\u6570\u636e\u9879\u7684\u6807\u8bb0\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"seriedatatitleobject"},"SerieData.titleObject"),(0,n.kt)("p",null,"public ChartLabel titleObject "),(0,n.kt)("h3",{id:"seriedatatitlestyle"},"SerieData.titleStyle"),(0,n.kt)("p",null,"public TitleStyle titleStyle "),(0,n.kt)("h3",{id:"seriedataclearcomponentdirty"},"SerieData.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h3",{id:"seriedataclearverticesdirty"},"SerieData.ClearVerticesDirty"),(0,n.kt)("p",null,"public override void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"seriedataensurecomponent"},"SerieData.EnsureComponent"),(0,n.kt)("p",null,"public ISerieDataComponent EnsureComponent(Type type) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u786e\u4fdd\u6570\u636e\u9879\u6709\u6307\u5b9a\u7c7b\u578b\u7684\u7ec4\u4ef6\uff0c\u5982\u679c\u6ca1\u6709\u5219\u6dfb\u52a0\u3002"),(0,n.kt)("h3",{id:"seriedataensurecomponentt"},"SerieData.EnsureComponent","<","T",">"),(0,n.kt)("p",null,"public T EnsureComponent","<","T",">","() where T : ChildComponent, ISerieDataComponent "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u786e\u4fdd\u6570\u636e\u9879\u6709\u6307\u5b9a\u7c7b\u578b\u7684\u7ec4\u4ef6\uff0c\u5982\u679c\u6ca1\u6709\u5219\u6dfb\u52a0\u3002"),(0,n.kt)("h3",{id:"seriedatagetaddanimationdata"},"SerieData.GetAddAnimationData"),(0,n.kt)("p",null,"public double GetAddAnimationData(double min, double max, float animationDuration = 500f, bool unscaledTime = false) "),(0,n.kt)("h3",{id:"seriedatagetcomponentt"},"SerieData.GetComponent","<","T",">"),(0,n.kt)("p",null,"public T GetComponent","<","T",">","() where T : ChildComponent, ISerieDataComponent",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u53d6\u6570\u636e\u9879\u7684\u6307\u5b9a\u7c7b\u578b\u7684\u7ec4\u4ef6\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u5219\u8fd4\u56denull\u3002"),(0,n.kt)("h3",{id:"seriedatagetcurrdata"},"SerieData.GetCurrData"),(0,n.kt)("p",null,"public double GetCurrData(int index, AnimationStyle animation, bool inverse, double min, double max, bool loop = false) "),(0,n.kt)("p",null,"public double GetCurrData(int index, float dataAddDuration = 500f, float animationDuration = 500f, bool unscaledTime = false, bool inverse = false) "),(0,n.kt)("p",null,"public double GetCurrData(int index, float dataAddDuration, float animationDuration, bool inverse, double min, double max, bool unscaledTime, bool loop = false) "),(0,n.kt)("h3",{id:"seriedatagetdata"},"SerieData.GetData"),(0,n.kt)("p",null,"public double GetData(int index, double min, double max) "),(0,n.kt)("h3",{id:"seriedatagetfirstdata"},"SerieData.GetFirstData"),(0,n.kt)("p",null,"public double GetFirstData(bool unscaledTime, float animationDuration = 500f) "),(0,n.kt)("h3",{id:"seriedatagetlabelheight"},"SerieData.GetLabelHeight"),(0,n.kt)("p",null,"public float GetLabelHeight() "),(0,n.kt)("h3",{id:"seriedatagetlabelwidth"},"SerieData.GetLabelWidth"),(0,n.kt)("p",null,"public float GetLabelWidth() "),(0,n.kt)("h3",{id:"seriedatagetlastdata"},"SerieData.GetLastData"),(0,n.kt)("p",null,"public double GetLastData() "),(0,n.kt)("h3",{id:"seriedatagetmaxdata"},"SerieData.GetMaxData"),(0,n.kt)("p",null,"public double GetMaxData(bool inverse = false)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6700\u5927\u503c\u3002"),(0,n.kt)("h3",{id:"seriedatagetmindata"},"SerieData.GetMinData"),(0,n.kt)("p",null,"public double GetMinData(bool inverse = false)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6700\u5c0f\u503c\u3002"),(0,n.kt)("h3",{id:"seriedatagetminmaxdata"},"SerieData.GetMinMaxData"),(0,n.kt)("p",null,"public void GetMinMaxData(int startDimensionIndex, bool inverse, out double min, out double max) "),(0,n.kt)("h3",{id:"seriedatagetoraddcomponentt"},"SerieData.GetOrAddComponent","<","T",">"),(0,n.kt)("p",null,"public T GetOrAddComponent","<","T",">","() where T : ChildComponent, ISerieDataComponent "),(0,n.kt)("h3",{id:"seriedatagetpreviousdata"},"SerieData.GetPreviousData"),(0,n.kt)("p",null,"public double GetPreviousData(int index, bool inverse = false) "),(0,n.kt)("h3",{id:"seriedatagettotaldata"},"SerieData.GetTotalData"),(0,n.kt)("p",null,"public double GetTotalData() "),(0,n.kt)("h3",{id:"seriedataisdatachanged"},"SerieData.IsDataChanged"),(0,n.kt)("p",null,"public bool IsDataChanged() "),(0,n.kt)("h3",{id:"seriedataisinpolygon"},"SerieData.IsInPolygon"),(0,n.kt)("p",null,"public bool IsInPolygon(Vector2 p) "),(0,n.kt)("h3",{id:"seriedataliststring"},"SerieData.List","<","string",">"),(0,n.kt)("p",null,"public static List","<","string",">"," extraFieldList = new List","<","string",">","()",(0,n.kt)("br",{parentName:"p"}),"\n","\u7cfb\u5217\u4e2d\u7684\u4e00\u4e2a\u6570\u636e\u9879\u3002\u53ef\u5b58\u50a8\u6570\u636e\u540d\u548c1-n\u7ef4\u4e2a\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"seriedataonadd"},"SerieData.OnAdd"),(0,n.kt)("p",null,"public void OnAdd(AnimationStyle animation, double startValue = 0) "),(0,n.kt)("h3",{id:"seriedataremoveallcomponent"},"SerieData.RemoveAllComponent"),(0,n.kt)("p",null,"public void RemoveAllComponent() "),(0,n.kt)("h3",{id:"seriedataremovecomponent"},"SerieData.RemoveComponent"),(0,n.kt)("p",null,"public void RemoveComponent(Type type) "),(0,n.kt)("h3",{id:"seriedataremovecomponentt"},"SerieData.RemoveComponent","<","T",">"),(0,n.kt)("p",null,"public void RemoveComponent","<","T",">","() where T : ISerieDataComponent "),(0,n.kt)("h3",{id:"seriedatareset"},"SerieData.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h3",{id:"seriedataseticonactive"},"SerieData.SetIconActive"),(0,n.kt)("p",null,"public void SetIconActive(bool flag) "),(0,n.kt)("h3",{id:"seriedatasetlabelactive"},"SerieData.SetLabelActive"),(0,n.kt)("p",null,"public void SetLabelActive(bool flag) "),(0,n.kt)("h3",{id:"seriedatasetpolygon"},"SerieData.SetPolygon"),(0,n.kt)("p",null,"public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4) "),(0,n.kt)("p",null,"public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5) "),(0,n.kt)("h3",{id:"seriedataupdatedata"},"SerieData.UpdateData"),(0,n.kt)("p",null,"public bool UpdateData(int dimension, double value) "),(0,n.kt)("h2",{id:"seriedatacomponentattribute"},"SerieDataComponentAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("p",null,"\u53ef\u6dfb\u52a0\u5230SerieData\u7684\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"seriedatacomponentattributecontains"},"SerieDataComponentAttribute.Contains"),(0,n.kt)("p",null,"public bool Contains(Type type) "),(0,n.kt)("h3",{id:"seriedatacomponentattributecontainst"},"SerieDataComponentAttribute.Contains","<","T",">"),(0,n.kt)("p",null,"public bool Contains","<","T",">","() where T : ISerieComponent "),(0,n.kt)("h3",{id:"seriedatacomponentattributeseriedatacomponentattribute"},"SerieDataComponentAttribute.SerieDataComponentAttribute"),(0,n.kt)("p",null,"public SerieDataComponentAttribute(Type type1) "),(0,n.kt)("p",null,"public SerieDataComponentAttribute(Type type1, Type type2) "),(0,n.kt)("p",null,"public SerieDataComponentAttribute(Type type1, Type type2, Type type3) "),(0,n.kt)("p",null,"public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4) "),(0,n.kt)("p",null,"public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5) "),(0,n.kt)("p",null,"public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6) "),(0,n.kt)("p",null,"public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7) "),(0,n.kt)("h2",{id:"seriedatacontext"},"SerieDataContext"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"seriedatacontextreset"},"SerieDataContext.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h2",{id:"seriedataextrafieldattribute"},"SerieDataExtraFieldAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("h3",{id:"seriedataextrafieldattributecontains"},"SerieDataExtraFieldAttribute.Contains"),(0,n.kt)("p",null,"public bool Contains(string field) "),(0,n.kt)("h3",{id:"seriedataextrafieldattributeseriedataextrafieldattribute"},"SerieDataExtraFieldAttribute.SerieDataExtraFieldAttribute"),(0,n.kt)("p",null,"public SerieDataExtraFieldAttribute(string field1) "),(0,n.kt)("p",null,"public SerieDataExtraFieldAttribute(string field1, string field2) "),(0,n.kt)("p",null,"public SerieDataExtraFieldAttribute(string field1, string field2, string field3) "),(0,n.kt)("p",null,"public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4) "),(0,n.kt)("p",null,"public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5) "),(0,n.kt)("p",null,"public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6) "),(0,n.kt)("p",null,"public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7) "),(0,n.kt)("h2",{id:"seriedatalink"},"SerieDataLink"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6570\u636e\u8282\u70b9\u4e4b\u95f4\u7684\u8fde\u7ebf\u3002\u53ef\u7528\u4e8e\u6851\u57fa\u56fe\u7b49\uff0c\u6851\u57fa\u56fe\u53ea\u652f\u6301\u6709\u5411\u65e0\u73af\u56fe\uff0c\u8bf7\u4fdd\u8bc1\u6570\u636e\u7684\u8fde\u7ebf\u662f\u6709\u5411\u65e0\u73af\u56fe\u3002"),(0,n.kt)("h2",{id:"seriedatasorttype"},"SerieDataSortType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6570\u636e\u6392\u5e8f\u65b9\u5f0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u6309\u6570\u636e\u7684\u987a\u5e8f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Ascending"),": \u5347\u5e8f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Descending"),": \u964d\u5e8f\u3002")),(0,n.kt)("h2",{id:"serieeventdata"},"SerieEventData"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"serie\u4e8b\u4ef6\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"serieeventdatadataindex"},"SerieEventData.dataIndex"),(0,n.kt)("p",null,"public int dataIndex",(0,n.kt)("br",{parentName:"p"}),"\n","\u5728serie.data\u4e2d\u7684\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"serieeventdatadimension"},"SerieEventData.dimension"),(0,n.kt)("p",null,"public int dimension",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u7684\u7ef4\u5ea6\u3002"),(0,n.kt)("h3",{id:"serieeventdatapointerpos"},"SerieEventData.pointerPos"),(0,n.kt)("p",null,"public Vector3 pointerPos",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u5728chart\u4e2d\u7684\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"serieeventdataserieindex"},"SerieEventData.serieIndex"),(0,n.kt)("p",null,"public int serieIndex",(0,n.kt)("br",{parentName:"p"}),"\n","\u5728chart.series\u4e2d\u7684\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"serieeventdatavalue"},"SerieEventData.value"),(0,n.kt)("p",null,"public double value",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u7684\u503c\u3002"),(0,n.kt)("h3",{id:"serieeventdatareset"},"SerieEventData.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h2",{id:"serieeventdatapool"},"SerieEventDataPool"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"serieeventdatapoolget"},"SerieEventDataPool.Get"),(0,n.kt)("p",null,"public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value) "),(0,n.kt)("h3",{id:"serieeventdatapoolrelease"},"SerieEventDataPool.Release"),(0,n.kt)("p",null,"public static void Release(SerieEventData toRelease) "),(0,n.kt)("h2",{id:"seriehandler"},"SerieHandler"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"seriehandlerafterupdate"},"SerieHandler.AfterUpdate()"),(0,n.kt)("p",null,"public virtual void AfterUpdate() "),(0,n.kt)("h3",{id:"seriehandlerattribute"},"SerieHandler.attribute"),(0,n.kt)("p",null,"public SerieHandlerAttribute attribute "),(0,n.kt)("h3",{id:"seriehandlerbeforeupdate"},"SerieHandler.BeforeUpdate()"),(0,n.kt)("p",null,"public virtual void BeforeUpdate() "),(0,n.kt)("h3",{id:"seriehandlerchart"},"SerieHandler.chart"),(0,n.kt)("p",null,"public BaseChart chart "),(0,n.kt)("h3",{id:"seriehandlerdefaultdimension"},"SerieHandler.defaultDimension"),(0,n.kt)("p",null,"public virtual int defaultDimension "),(0,n.kt)("h3",{id:"seriehandlereventdata"},"SerieHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnBeginDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlereventdata-1"},"SerieHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlereventdata-2"},"SerieHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnEndDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlereventdata-3"},"SerieHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerClick(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlereventdata-4"},"SerieHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerDown(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlereventdata-5"},"SerieHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerEnter(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlereventdata-6"},"SerieHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerExit(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlereventdata-7"},"SerieHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerUp(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlereventdata-8"},"SerieHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnScroll(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlerforceupdateseriecontext"},"SerieHandler.ForceUpdateSerieContext()"),(0,n.kt)("p",null,"public virtual void ForceUpdateSerieContext() "),(0,n.kt)("h3",{id:"seriehandlergetpointeritemdatadimension"},"SerieHandler.GetPointerItemDataDimension()"),(0,n.kt)("p",null,"public virtual int GetPointerItemDataDimension() "),(0,n.kt)("h3",{id:"seriehandlergetpointeritemdataindex"},"SerieHandler.GetPointerItemDataIndex()"),(0,n.kt)("p",null,"public virtual int GetPointerItemDataIndex() "),(0,n.kt)("h3",{id:"seriehandlerinitcomponent"},"SerieHandler.InitComponent()"),(0,n.kt)("p",null,"public virtual void InitComponent() "),(0,n.kt)("h3",{id:"seriehandlerinited"},"SerieHandler.inited"),(0,n.kt)("p",null,"public bool inited "),(0,n.kt)("h3",{id:"seriehandlerlegendname"},"SerieHandler.legendName)"),(0,n.kt)("p",null,"public virtual void OnLegendButtonEnter(int index, string legendName) "),(0,n.kt)("h3",{id:"seriehandlerlegendname-1"},"SerieHandler.legendName)"),(0,n.kt)("p",null,"public virtual void OnLegendButtonExit(int index, string legendName) "),(0,n.kt)("h3",{id:"seriehandlerondataupdate"},"SerieHandler.OnDataUpdate()"),(0,n.kt)("p",null,"public virtual void OnDataUpdate() "),(0,n.kt)("h3",{id:"seriehandlerrefreshlabelinternal"},"SerieHandler.RefreshLabelInternal()"),(0,n.kt)("p",null,"public virtual void RefreshLabelInternal() "),(0,n.kt)("h3",{id:"seriehandlerrefreshlabelnextframe"},"SerieHandler.RefreshLabelNextFrame()"),(0,n.kt)("p",null,"public virtual void RefreshLabelNextFrame() "),(0,n.kt)("h3",{id:"seriehandlerremovecomponent"},"SerieHandler.RemoveComponent()"),(0,n.kt)("p",null,"public virtual void RemoveComponent() "),(0,n.kt)("h3",{id:"seriehandlersb"},"SerieHandler.sb)"),(0,n.kt)("p",null,"public virtual void CheckComponent(StringBuilder sb) "),(0,n.kt)("h3",{id:"seriehandlershow"},"SerieHandler.show)"),(0,n.kt)("p",null,"public virtual void OnLegendButtonClick(int index, string legendName, bool show) "),(0,n.kt)("h3",{id:"seriehandlerupdate"},"SerieHandler.Update()"),(0,n.kt)("p",null,"public virtual void Update() "),(0,n.kt)("h3",{id:"seriehandlerupdateseriecontext"},"SerieHandler.UpdateSerieContext()"),(0,n.kt)("p",null,"public virtual void UpdateSerieContext() "),(0,n.kt)("h3",{id:"seriehandlervh"},"SerieHandler.vh)"),(0,n.kt)("p",null,"public virtual void DrawBase(VertexHelper vh) "),(0,n.kt)("h3",{id:"seriehandlervh-1"},"SerieHandler.vh)"),(0,n.kt)("p",null,"public virtual void DrawSerie(VertexHelper vh) "),(0,n.kt)("h3",{id:"seriehandlervh-2"},"SerieHandler.vh)"),(0,n.kt)("p",null,"public virtual void DrawTop(VertexHelper vh) "),(0,n.kt)("h3",{id:"seriehandlervh-3"},"SerieHandler.vh)"),(0,n.kt)("p",null,"public virtual void DrawUpper(VertexHelper vh) "),(0,n.kt)("h3",{id:"seriehandlerafterupdate-1"},"SerieHandler.AfterUpdate"),(0,n.kt)("p",null,"public virtual void AfterUpdate() { } "),(0,n.kt)("h3",{id:"seriehandlerbeforeupdate-1"},"SerieHandler.BeforeUpdate"),(0,n.kt)("p",null,"public virtual void BeforeUpdate() { } "),(0,n.kt)("h3",{id:"seriehandlercheckcomponent"},"SerieHandler.CheckComponent"),(0,n.kt)("p",null,"public virtual void CheckComponent(StringBuilder sb) { } "),(0,n.kt)("h3",{id:"seriehandlerdrawbase"},"SerieHandler.DrawBase"),(0,n.kt)("p",null,"public virtual void DrawBase(VertexHelper vh) { } "),(0,n.kt)("h3",{id:"seriehandlerdrawserie"},"SerieHandler.DrawSerie"),(0,n.kt)("p",null,"public virtual void DrawSerie(VertexHelper vh) { } "),(0,n.kt)("h3",{id:"seriehandlerdrawtop"},"SerieHandler.DrawTop"),(0,n.kt)("p",null,"public virtual void DrawTop(VertexHelper vh) { } "),(0,n.kt)("h3",{id:"seriehandlerdrawupper"},"SerieHandler.DrawUpper"),(0,n.kt)("p",null,"public virtual void DrawUpper(VertexHelper vh) { } "),(0,n.kt)("h3",{id:"seriehandlerforceupdateseriecontext-1"},"SerieHandler.ForceUpdateSerieContext"),(0,n.kt)("p",null,"public virtual void ForceUpdateSerieContext() { } "),(0,n.kt)("h3",{id:"seriehandlerinitcomponent-1"},"SerieHandler.InitComponent"),(0,n.kt)("p",null,"public virtual void InitComponent() { } "),(0,n.kt)("h3",{id:"seriehandleronbegindrag"},"SerieHandler.OnBeginDrag"),(0,n.kt)("p",null,"public virtual void OnBeginDrag(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"seriehandlerondataupdate-1"},"SerieHandler.OnDataUpdate"),(0,n.kt)("p",null,"public virtual void OnDataUpdate() { } "),(0,n.kt)("h3",{id:"seriehandlerondrag"},"SerieHandler.OnDrag"),(0,n.kt)("p",null,"public virtual void OnDrag(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"seriehandleronenddrag"},"SerieHandler.OnEndDrag"),(0,n.kt)("p",null,"public virtual void OnEndDrag(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"seriehandleronlegendbuttonclick"},"SerieHandler.OnLegendButtonClick"),(0,n.kt)("p",null,"public virtual void OnLegendButtonClick(int index, string legendName, bool show) { } "),(0,n.kt)("h3",{id:"seriehandleronlegendbuttonenter"},"SerieHandler.OnLegendButtonEnter"),(0,n.kt)("p",null,"public virtual void OnLegendButtonEnter(int index, string legendName) { } "),(0,n.kt)("h3",{id:"seriehandleronlegendbuttonexit"},"SerieHandler.OnLegendButtonExit"),(0,n.kt)("p",null,"public virtual void OnLegendButtonExit(int index, string legendName) { } "),(0,n.kt)("h3",{id:"seriehandleronpointerclick"},"SerieHandler.OnPointerClick"),(0,n.kt)("p",null,"public virtual void OnPointerClick(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"seriehandleronpointerdown"},"SerieHandler.OnPointerDown"),(0,n.kt)("p",null,"public virtual void OnPointerDown(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"seriehandleronpointerenter"},"SerieHandler.OnPointerEnter"),(0,n.kt)("p",null,"public virtual void OnPointerEnter(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"seriehandleronpointerexit"},"SerieHandler.OnPointerExit"),(0,n.kt)("p",null,"public virtual void OnPointerExit(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"seriehandleronpointerup"},"SerieHandler.OnPointerUp"),(0,n.kt)("p",null,"public virtual void OnPointerUp(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"seriehandleronscroll"},"SerieHandler.OnScroll"),(0,n.kt)("p",null,"public virtual void OnScroll(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"seriehandlerrefreshlabelinternal-1"},"SerieHandler.RefreshLabelInternal"),(0,n.kt)("p",null,"public virtual void RefreshLabelInternal() { } "),(0,n.kt)("h3",{id:"seriehandlerrefreshlabelnextframe-1"},"SerieHandler.RefreshLabelNextFrame"),(0,n.kt)("p",null,"public virtual void RefreshLabelNextFrame() { } "),(0,n.kt)("h3",{id:"seriehandlerremovecomponent-1"},"SerieHandler.RemoveComponent"),(0,n.kt)("p",null,"public virtual void RemoveComponent() { } "),(0,n.kt)("h3",{id:"seriehandlerupdate-1"},"SerieHandler.Update"),(0,n.kt)("p",null,"public virtual void Update() { } "),(0,n.kt)("h3",{id:"seriehandlerupdateseriecontext-1"},"SerieHandler.UpdateSerieContext"),(0,n.kt)("p",null,"public virtual void UpdateSerieContext() { } "),(0,n.kt)("h2",{id:"seriehandler-where-t"},"SerieHandler where T"),(0,n.kt)("p",null,"class in / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#seriehandlert"},"SerieHandler","<","T",">")," "),(0,n.kt)("h2",{id:"seriehandlert"},"SerieHandler","<","T",">"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ","[SerieHandler where T]","(#seriehandler where t),",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie")),(0,n.kt)("h3",{id:"seriehandlertlabelobject"},"SerieHandler","<","T",">",".labelObject"),(0,n.kt)("p",null,"public GameObject labelObject "),(0,n.kt)("h3",{id:"seriehandlertserie"},"SerieHandler","<","T",">",".serie"),(0,n.kt)("p",null,"public T serie "),(0,n.kt)("h3",{id:"seriehandlertafterupdate"},"SerieHandler","<","T",">",".AfterUpdate"),(0,n.kt)("p",null,"public override void AfterUpdate() "),(0,n.kt)("h3",{id:"seriehandlertbeforeupdate"},"SerieHandler","<","T",">",".BeforeUpdate"),(0,n.kt)("p",null,"public override void BeforeUpdate() "),(0,n.kt)("h3",{id:"seriehandlertdrawlabellinesymbol"},"SerieHandler","<","T",">",".DrawLabelLineSymbol"),(0,n.kt)("p",null,"public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor) "),(0,n.kt)("h3",{id:"seriehandlertforceupdateseriecontext"},"SerieHandler","<","T",">",".ForceUpdateSerieContext"),(0,n.kt)("p",null,"public override void ForceUpdateSerieContext() "),(0,n.kt)("h3",{id:"seriehandlertgetpointeritemdatadimension"},"SerieHandler","<","T",">",".GetPointerItemDataDimension"),(0,n.kt)("p",null,"public override int GetPointerItemDataDimension() "),(0,n.kt)("h3",{id:"seriehandlertgetpointeritemdataindex"},"SerieHandler","<","T",">",".GetPointerItemDataIndex"),(0,n.kt)("p",null,"public override int GetPointerItemDataIndex() "),(0,n.kt)("h3",{id:"seriehandlertgetseriedataautocolor"},"SerieHandler","<","T",">",".GetSerieDataAutoColor"),(0,n.kt)("p",null,"public virtual Color GetSerieDataAutoColor(SerieData serieData) "),(0,n.kt)("h3",{id:"seriehandlertgetseriedatalabeloffset"},"SerieHandler","<","T",">",".GetSerieDataLabelOffset"),(0,n.kt)("p",null,"public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label) "),(0,n.kt)("h3",{id:"seriehandlertgetseriedatalabelposition"},"SerieHandler","<","T",">",".GetSerieDataLabelPosition"),(0,n.kt)("p",null,"public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label) "),(0,n.kt)("h3",{id:"seriehandlertgetseriedatatitleposition"},"SerieHandler","<","T",">",".GetSerieDataTitlePosition"),(0,n.kt)("p",null,"public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle) "),(0,n.kt)("h3",{id:"seriehandlertinitcomponent"},"SerieHandler","<","T",">",".InitComponent"),(0,n.kt)("p",null,"public override void InitComponent() "),(0,n.kt)("h3",{id:"seriehandlertonlegendbuttonclick"},"SerieHandler","<","T",">",".OnLegendButtonClick"),(0,n.kt)("p",null,"public override void OnLegendButtonClick(int index, string legendName, bool show) "),(0,n.kt)("h3",{id:"seriehandlertonlegendbuttonenter"},"SerieHandler","<","T",">",".OnLegendButtonEnter"),(0,n.kt)("p",null,"public override void OnLegendButtonEnter(int index, string legendName) "),(0,n.kt)("h3",{id:"seriehandlertonlegendbuttonexit"},"SerieHandler","<","T",">",".OnLegendButtonExit"),(0,n.kt)("p",null,"public override void OnLegendButtonExit(int index, string legendName) "),(0,n.kt)("h3",{id:"seriehandlertonpointerclick"},"SerieHandler","<","T",">",".OnPointerClick"),(0,n.kt)("p",null,"public override void OnPointerClick(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlertonpointerdown"},"SerieHandler","<","T",">",".OnPointerDown"),(0,n.kt)("p",null,"public override void OnPointerDown(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlertrefreshendlabelinternal"},"SerieHandler","<","T",">",".RefreshEndLabelInternal"),(0,n.kt)("p",null,"public virtual void RefreshEndLabelInternal() "),(0,n.kt)("h3",{id:"seriehandlertrefreshlabelinternal"},"SerieHandler","<","T",">",".RefreshLabelInternal"),(0,n.kt)("p",null,"public override void RefreshLabelInternal() "),(0,n.kt)("h3",{id:"seriehandlertrefreshlabelnextframe"},"SerieHandler","<","T",">",".RefreshLabelNextFrame"),(0,n.kt)("p",null,"public override void RefreshLabelNextFrame() "),(0,n.kt)("h3",{id:"seriehandlertremovecomponent"},"SerieHandler","<","T",">",".RemoveComponent"),(0,n.kt)("p",null,"public override void RemoveComponent() "),(0,n.kt)("h3",{id:"seriehandlertupdate"},"SerieHandler","<","T",">",".Update"),(0,n.kt)("p",null,"public override void Update() "),(0,n.kt)("h2",{id:"seriehandlerattribute-1"},"SerieHandlerAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("h3",{id:"seriehandlerattributeseriehandlerattribute"},"SerieHandlerAttribute.SerieHandlerAttribute"),(0,n.kt)("p",null,"public SerieHandlerAttribute(Type handler, bool allowMultiple) "),(0,n.kt)("h2",{id:"seriehelper"},"SerieHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"seriehelpercloneseriet"},"SerieHelper.CloneSerie","<","T",">"),(0,n.kt)("p",null,"public static T CloneSerie","<","T",">","(Serie serie) where T : Serie "),(0,n.kt)("h3",{id:"seriehelpercopyserie"},"SerieHelper.CopySerie"),(0,n.kt)("p",null,"public static void CopySerie(Serie oldSerie, Serie newSerie) "),(0,n.kt)("h3",{id:"seriehelpergetallminmaxdata"},"SerieHelper.GetAllMinMaxData"),(0,n.kt)("p",null,"public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"seriehelpergetareastyle"},"SerieHelper.GetAreaStyle"),(0,n.kt)("p",null,"public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData) "),(0,n.kt)("h3",{id:"seriehelpergetaveragedata"},"SerieHelper.GetAverageData"),(0,n.kt)("p",null,"public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"seriehelpergetblurstyle"},"SerieHelper.GetBlurStyle"),(0,n.kt)("p",null,"public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData) "),(0,n.kt)("h3",{id:"seriehelpergetemphasisstyle"},"SerieHelper.GetEmphasisStyle"),(0,n.kt)("p",null,"public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData) "),(0,n.kt)("h3",{id:"seriehelpergetitemcolor"},"SerieHelper.GetItemColor"),(0,n.kt)("p",null,"public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true) "),(0,n.kt)("h3",{id:"seriehelpergetitemformatter"},"SerieHelper.GetItemFormatter"),(0,n.kt)("p",null,"public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null) "),(0,n.kt)("h3",{id:"seriehelpergetitemmarker"},"SerieHelper.GetItemMarker"),(0,n.kt)("p",null,"public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null) "),(0,n.kt)("h3",{id:"seriehelpergetitemstyle"},"SerieHelper.GetItemStyle"),(0,n.kt)("p",null,"public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto) "),(0,n.kt)("h3",{id:"seriehelpergetlinecolor"},"SerieHelper.GetLineColor"),(0,n.kt)("p",null,"public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto) "),(0,n.kt)("h3",{id:"seriehelpergetlinestyle"},"SerieHelper.GetLineStyle"),(0,n.kt)("p",null,"public static LineStyle GetLineStyle(Serie serie, SerieData serieData) "),(0,n.kt)("h3",{id:"seriehelpergetmaxdata"},"SerieHelper.GetMaxData"),(0,n.kt)("p",null,"public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"seriehelpergetmaxseriedata"},"SerieHelper.GetMaxSerieData"),(0,n.kt)("p",null,"public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"seriehelpergetmediandata"},"SerieHelper.GetMedianData"),(0,n.kt)("p",null,"public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"seriehelpergetmindata"},"SerieHelper.GetMinData"),(0,n.kt)("p",null,"public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"seriehelpergetminmaxdata"},"SerieHelper.GetMinMaxData"),(0,n.kt)("p",null,"public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u7cfb\u5217\u6240\u6709\u6570\u636e\u7684\u6700\u5927\u6700\u5c0f\u503c\u3002"),(0,n.kt)("h3",{id:"seriehelpergetminseriedata"},"SerieHelper.GetMinSerieData"),(0,n.kt)("p",null,"public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"seriehelpergetnumericformatter"},"SerieHelper.GetNumericFormatter"),(0,n.kt)("p",null,"public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null) "),(0,n.kt)("h3",{id:"seriehelpergetselectstyle"},"SerieHelper.GetSelectStyle"),(0,n.kt)("p",null,"public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData) "),(0,n.kt)("h3",{id:"seriehelpergetserielabel"},"SerieHelper.GetSerieLabel"),(0,n.kt)("p",null,"public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto) "),(0,n.kt)("h3",{id:"seriehelpergetserielabelline"},"SerieHelper.GetSerieLabelLine"),(0,n.kt)("p",null,"public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto) "),(0,n.kt)("h3",{id:"seriehelpergetseriestate"},"SerieHelper.GetSerieState"),(0,n.kt)("p",null,"public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false) "),(0,n.kt)("p",null,"public static SerieState GetSerieState(SerieData serieData) "),(0,n.kt)("h3",{id:"seriehelpergetseriesymbol"},"SerieHelper.GetSerieSymbol"),(0,n.kt)("p",null,"public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto) "),(0,n.kt)("h3",{id:"seriehelpergetstatestyle"},"SerieHelper.GetStateStyle"),(0,n.kt)("p",null,"public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state) "),(0,n.kt)("h3",{id:"seriehelpergetsysmbolsize"},"SerieHelper.GetSysmbolSize"),(0,n.kt)("p",null,"public static float GetSysmbolSize(Serie serie, SerieData serieData, float defaultSize, SerieState state = SerieState.Auto, bool checkAnimation = false) "),(0,n.kt)("h3",{id:"seriehelpergettitlestyle"},"SerieHelper.GetTitleStyle"),(0,n.kt)("p",null,"public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData) "),(0,n.kt)("h3",{id:"seriehelperisallzerovalue"},"SerieHelper.IsAllZeroValue"),(0,n.kt)("p",null,"public static bool IsAllZeroValue(Serie serie, int dimension = 1)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7cfb\u5217\u6307\u5b9a\u7ef4\u6570\u7684\u6570\u636e\u662f\u5426\u5168\u90e8\u4e3a0\u3002"),(0,n.kt)("h3",{id:"seriehelperisdownpoint"},"SerieHelper.IsDownPoint"),(0,n.kt)("p",null,"public static bool IsDownPoint(Serie serie, int index) "),(0,n.kt)("h3",{id:"seriehelperupdatecenter"},"SerieHelper.UpdateCenter"),(0,n.kt)("p",null,"public static void UpdateCenter(Serie serie, BaseChart chart)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u8fd0\u884c\u65f6\u4e2d\u5fc3\u70b9\u548c\u534a\u5f84"),(0,n.kt)("h3",{id:"seriehelperupdatefilterdata"},"SerieHelper.UpdateFilterData"),(0,n.kt)("p",null,"public static void UpdateFilterData(Serie serie, DataZoom dataZoom)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6839\u636edataZoom\u66f4\u65b0\u6570\u636e\u5217\u8868\u7f13\u5b58"),(0,n.kt)("h3",{id:"seriehelperupdateminmaxdata"},"SerieHelper.UpdateMinMaxData"),(0,n.kt)("p",null,"public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6307\u5b9a\u7ef4\u6570\u7684\u6700\u5927\u6700\u5c0f\u503c"),(0,n.kt)("h3",{id:"seriehelperupdaterect"},"SerieHelper.UpdateRect"),(0,n.kt)("p",null,"public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight) "),(0,n.kt)("h3",{id:"seriehelperupdateserieruntimefilterdata"},"SerieHelper.UpdateSerieRuntimeFilterData"),(0,n.kt)("p",null,"public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true) "),(0,n.kt)("h2",{id:"serielabelhelper"},"SerieLabelHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"serielabelhelpercanshowlabel"},"SerieLabelHelper.CanShowLabel"),(0,n.kt)("p",null,"public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion) "),(0,n.kt)("h3",{id:"serielabelhelpergetlabelcolor"},"SerieLabelHelper.GetLabelColor"),(0,n.kt)("p",null,"public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index) "),(0,n.kt)("h3",{id:"serielabelhelpersetgaugelabeltext"},"SerieLabelHelper.SetGaugeLabelText"),(0,n.kt)("p",null,"public static void SetGaugeLabelText(Serie serie) "),(0,n.kt)("h2",{id:"serielabelpool"},"SerieLabelPool"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"serielabelpoolclearall"},"SerieLabelPool.ClearAll"),(0,n.kt)("p",null,"public static void ClearAll() "),(0,n.kt)("h3",{id:"serielabelpoolrelease"},"SerieLabelPool.Release"),(0,n.kt)("p",null,"public static void Release(GameObject element) "),(0,n.kt)("h3",{id:"serielabelpoolreleaseall"},"SerieLabelPool.ReleaseAll"),(0,n.kt)("p",null,"public static void ReleaseAll(Transform parent) "),(0,n.kt)("h2",{id:"serieparams"},"SerieParams"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"serieshelper"},"SeriesHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"serieshelpergetlaststackserie"},"SeriesHelper.GetLastStackSerie"),(0,n.kt)("p",null,"public static Serie GetLastStackSerie(List","<","Serie",">"," series, Serie serie)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u4e0a\u4e00\u4e2a\u540c\u5806\u53e0\u4e14\u663e\u793a\u7684serie\u3002"),(0,n.kt)("h3",{id:"serieshelpergetlegalserienamelist"},"SeriesHelper.GetLegalSerieNameList"),(0,n.kt)("p",null,"public static List","<","string",">"," GetLegalSerieNameList(List","<","Serie",">"," series) "),(0,n.kt)("h3",{id:"serieshelpergetmaxseriedatacount"},"SeriesHelper.GetMaxSerieDataCount"),(0,n.kt)("p",null,"public static int GetMaxSerieDataCount(List","<","Serie",">"," series) "),(0,n.kt)("h3",{id:"serieshelpergetminanimationduration"},"SeriesHelper.GetMinAnimationDuration"),(0,n.kt)("p",null,"public static float GetMinAnimationDuration(List","<","Serie",">"," series) "),(0,n.kt)("h3",{id:"serieshelpergetnamecolor"},"SeriesHelper.GetNameColor"),(0,n.kt)("p",null,"public static Color GetNameColor(BaseChart chart, int index, string name) "),(0,n.kt)("h3",{id:"serieshelpergetstackseries"},"SeriesHelper.GetStackSeries"),(0,n.kt)("p",null,"public static void GetStackSeries(List","<","Serie",">"," series, ref Dictionary","<","int, List","<","Serie",">",">"," stackSeries)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u5806\u53e0\u7cfb\u5217\u5217\u8868"),(0,n.kt)("h3",{id:"serieshelperisanyclipserie"},"SeriesHelper.IsAnyClipSerie"),(0,n.kt)("p",null,"public static bool IsAnyClipSerie(List","<","Serie",">"," series)",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u6709\u9700\u88c1\u526a\u7684serie\u3002"),(0,n.kt)("h3",{id:"serieshelperisanycolorbydataserie"},"SeriesHelper.IsAnyColorByDataSerie"),(0,n.kt)("p",null,"public static bool IsAnyColorByDataSerie(List","<","Serie",">"," series)",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u6709\u4efb\u4f55\u4e00\u4e2a\u7cfb\u5217\u662f\u6309\u6570\u636e\u989c\u8272\u7684\u3002"),(0,n.kt)("h3",{id:"serieshelperislegallegendname"},"SeriesHelper.IsLegalLegendName"),(0,n.kt)("p",null,"public static bool IsLegalLegendName(string name) "),(0,n.kt)("h3",{id:"serieshelperispercentstackt"},"SeriesHelper.IsPercentStack","<","T",">"),(0,n.kt)("p",null,"public static bool IsPercentStack","<","T",">","(List","<","Serie",">"," series, string stackName) where T : Serie",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u65f6\u767e\u5206\u6bd4\u5806\u53e0"),(0,n.kt)("h3",{id:"serieshelperisstack"},"SeriesHelper.IsStack"),(0,n.kt)("p",null,"public static bool IsStack(List","<","Serie",">"," series)",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u7531\u6570\u636e\u5806\u53e0"),(0,n.kt)("h3",{id:"serieshelperisstackt"},"SeriesHelper.IsStack","<","T",">"),(0,n.kt)("p",null,"public static bool IsStack","<","T",">","(List","<","Serie",">"," series, string stackName) where T : Serie",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u5806\u53e0"),(0,n.kt)("h3",{id:"serieshelperupdateserienamelist"},"SeriesHelper.UpdateSerieNameList"),(0,n.kt)("p",null,"public static void UpdateSerieNameList(BaseChart chart, ref List","<","string",">"," serieNameList)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6240\u6709\u7cfb\u5217\u540d\uff0c\u4e0d\u5305\u542b\u7a7a\u540d\u5b57\u3002"),(0,n.kt)("h3",{id:"serieshelperupdatestackdatalist"},"SeriesHelper.UpdateStackDataList"),(0,n.kt)("p",null,"public static void UpdateStackDataList(List","<","Serie",">"," series, Serie currSerie, DataZoom dataZoom, List","<","List","<","SerieData",">",">"," dataList) "),(0,n.kt)("h2",{id:"seriestate"},"SerieState"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"Serie\u72b6\u6001\u3002\u652f\u6301\u6b63\u5e38\u3001\u9ad8\u4eae\u3001\u6de1\u51fa\u3001\u9009\u4e2d\u56db\u79cd\u72b6\u6001\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Normal"),": \u6b63\u5e38\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Emphasis"),": \u9ad8\u4eae\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Blur"),": \u6de1\u51fa\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Select"),": \u9009\u4e2d\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u81ea\u52a8\u4fdd\u6301\u548c\u7236\u8282\u70b9\u4e00\u81f4\u3002\u4e00\u822c\u7528\u5728SerieData\u3002")),(0,n.kt)("h2",{id:"seriesymbol"},"SerieSymbol"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#symbolstyle"},"SymbolStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u7cfb\u5217\u6570\u636e\u9879\u7684\u6807\u8bb0\u7684\u56fe\u5f62"),(0,n.kt)("h3",{id:"seriesymbolgetsize"},"SerieSymbol.GetSize"),(0,n.kt)("p",null,"public float GetSize(List","<","double",">"," data, float themeSize)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6839\u636e\u6307\u5b9a\u7684sizeType\u83b7\u5f97\u6807\u8bb0\u7684\u5927\u5c0f"),(0,n.kt)("h3",{id:"seriesymbolreset"},"SerieSymbol.Reset"),(0,n.kt)("p",null,"public override void Reset() "),(0,n.kt)("h3",{id:"seriesymbolshowsymbol"},"SerieSymbol.ShowSymbol"),(0,n.kt)("p",null,"public bool ShowSymbol(int dataIndex, int dataCount) "),(0,n.kt)("h2",{id:"serietheme"},"SerieTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"seriethemecopy"},"SerieTheme.Copy"),(0,n.kt)("p",null,"public void Copy(SerieTheme theme) "),(0,n.kt)("h3",{id:"seriethemeserietheme"},"SerieTheme.SerieTheme"),(0,n.kt)("p",null,"public SerieTheme(ThemeType theme) "),(0,n.kt)("h2",{id:"settings"},"Settings"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u5168\u5c40\u53c2\u6570\u8bbe\u7f6e\u7ec4\u4ef6\u3002\u4e00\u822c\u60c5\u51b5\u4e0b\u53ef\u4f7f\u7528\u9ed8\u8ba4\u503c\uff0c\u5f53\u6709\u9700\u8981\u65f6\u53ef\u8fdb\u884c\u8c03\u6574\u3002"),(0,n.kt)("h3",{id:"settingsshow"},"Settings.show"),(0,n.kt)("p",null,"public bool show "),(0,n.kt)("h3",{id:"settingscopy"},"Settings.Copy"),(0,n.kt)("p",null,"public void Copy(Settings settings) "),(0,n.kt)("h3",{id:"settingsreset"},"Settings.Reset"),(0,n.kt)("p",null,"public override void Reset() "),(0,n.kt)("h2",{id:"simplifiedbar"},"SimplifiedBar"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer"),",",(0,n.kt)("a",{parentName:"p",href:"#isimplifiedserie"},"ISimplifiedSerie")),(0,n.kt)("h3",{id:"simplifiedbarcontainerindex"},"SimplifiedBar.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"simplifiedbarcontainterinstanceid"},"SimplifiedBar.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h3",{id:"simplifiedbaradddefaultserie"},"SimplifiedBar.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h3",{id:"simplifiedbarconvertserie"},"SimplifiedBar.ConvertSerie"),(0,n.kt)("p",null,"public static SimplifiedBar ConvertSerie(Serie serie) "),(0,n.kt)("h2",{id:"simplifiedbarchart"},"SimplifiedBarChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u7b80\u5316\u67f1\u72b6\u56fe\u662f\u67f1\u72b6\u56fe\u7684\u7b80\u5316\u6a21\u5f0f\uff0c\u901a\u8fc7\u7b80\u5316\u7ec4\u4ef6\u548c\u914d\u7f6e\uff0c\u62e5\u6709\u66f4\u597d\u7684\u6027\u80fd\u3002"),(0,n.kt)("h2",{id:"simplifiedcandlestick"},"SimplifiedCandlestick"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer"),",",(0,n.kt)("a",{parentName:"p",href:"#isimplifiedserie"},"ISimplifiedSerie")),(0,n.kt)("h3",{id:"simplifiedcandlestickcontainerindex"},"SimplifiedCandlestick.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"simplifiedcandlestickcontainterinstanceid"},"SimplifiedCandlestick.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h3",{id:"simplifiedcandlestickadddefaultserie"},"SimplifiedCandlestick.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h3",{id:"simplifiedcandlestickconvertserie"},"SimplifiedCandlestick.ConvertSerie"),(0,n.kt)("p",null,"public static SimplifiedCandlestick ConvertSerie(Serie serie) "),(0,n.kt)("h2",{id:"simplifiedcandlestickchart"},"SimplifiedCandlestickChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u7b80\u5316K\u7ebf\u56fe\u662fK\u7ebf\u56fe\u7684\u7b80\u5316\u6a21\u5f0f\uff0c\u901a\u8fc7\u7b80\u5316\u7ec4\u4ef6\u548c\u914d\u7f6e\uff0c\u62e5\u6709\u66f4\u597d\u7684\u6027\u80fd\u3002"),(0,n.kt)("h2",{id:"simplifiedline"},"SimplifiedLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer"),",",(0,n.kt)("a",{parentName:"p",href:"#isimplifiedserie"},"ISimplifiedSerie")),(0,n.kt)("h3",{id:"simplifiedlinecontainerindex"},"SimplifiedLine.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"simplifiedlinecontainterinstanceid"},"SimplifiedLine.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h3",{id:"simplifiedlineadddefaultserie"},"SimplifiedLine.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h3",{id:"simplifiedlineconvertserie"},"SimplifiedLine.ConvertSerie"),(0,n.kt)("p",null,"public static SimplifiedLine ConvertSerie(Serie serie) "),(0,n.kt)("h2",{id:"simplifiedlinechart"},"SimplifiedLineChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u7b80\u5316\u6298\u7ebf\u56fe\u662f\u6298\u7ebf\u56fe\u7684\u7b80\u5316\u6a21\u5f0f\uff0c\u901a\u8fc7\u7b80\u5316\u7ec4\u4ef6\u548c\u914d\u7f6e\uff0c\u62e5\u6709\u66f4\u597d\u7684\u6027\u80fd\u3002"),(0,n.kt)("h2",{id:"since"},"Since"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("h3",{id:"sincesince"},"Since.Since"),(0,n.kt)("p",null,"public Since(string version) "),(0,n.kt)("h2",{id:"singleaxis"},"SingleAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis"),",",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData")),(0,n.kt)("p",null,"\u5355\u8f74\u3002"),(0,n.kt)("h3",{id:"singleaxissetdefaultvalue"},"SingleAxis.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue() "),(0,n.kt)("h3",{id:"singleaxisupdateruntimedata"},"SingleAxis.UpdateRuntimeData"),(0,n.kt)("p",null,"public void UpdateRuntimeData(BaseChart chart) "),(0,n.kt)("h2",{id:"singleaxiscoord"},"SingleAxisCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem")),(0,n.kt)("h2",{id:"stagecolor"},"StageColor"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"stagecolorcolor"},"StageColor.color"),(0,n.kt)("p",null,"public Color32 color",(0,n.kt)("br",{parentName:"p"}),"\n","\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"stagecolorpercent"},"StageColor.percent"),(0,n.kt)("p",null,"public float percent",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed3\u675f\u4f4d\u7f6e\u767e\u5206\u6bd4\u3002"),(0,n.kt)("h3",{id:"stagecolorstagecolor"},"StageColor.StageColor"),(0,n.kt)("p",null,"public StageColor(float percent, Color32 color) "),(0,n.kt)("h2",{id:"statestyle"},"StateStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#blurstyle"},"BlurStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#emphasisstyle"},"EmphasisStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#selectstyle"},"SelectStyle")," "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"Serie\u7684\u72b6\u6001\u6837\u5f0f\u3002Serie\u7684\u72b6\u6001\u6709\u6b63\u5e38\uff0c\u9ad8\u4eae\uff0c\u6de1\u51fa\uff0c\u9009\u4e2d\u56db\u79cd\u72b6\u6001\u3002"),(0,n.kt)("h3",{id:"statestyleclearcomponentdirty"},"StateStyle.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h3",{id:"statestyleclearverticesdirty"},"StateStyle.ClearVerticesDirty"),(0,n.kt)("p",null,"public override void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"statestylereset"},"StateStyle.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h2",{id:"subtitletheme"},"SubTitleTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"subtitlethemesubtitletheme"},"SubTitleTheme.SubTitleTheme"),(0,n.kt)("p",null,"public SubTitleTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h2",{id:"svg"},"SVG"),(0,n.kt)("p",null,"class in XUGL"),(0,n.kt)("h3",{id:"svgdrawpath"},"SVG.DrawPath"),(0,n.kt)("p",null,"public static void DrawPath(VertexHelper vh, SVGPath path) "),(0,n.kt)("h3",{id:"svgtest"},"SVG.Test"),(0,n.kt)("p",null,"public static void Test(VertexHelper vh) "),(0,n.kt)("h2",{id:"svgpath"},"SVGPath"),(0,n.kt)("p",null,"class in XUGL"),(0,n.kt)("h3",{id:"svgpathaddsegment"},"SVGPath.AddSegment"),(0,n.kt)("p",null,"public void AddSegment(SVGPathSeg seg) "),(0,n.kt)("h3",{id:"svgpathdraw"},"SVGPath.Draw"),(0,n.kt)("p",null,"public void Draw(VertexHelper vh) "),(0,n.kt)("h3",{id:"svgpathparse"},"SVGPath.Parse"),(0,n.kt)("p",null,"public static SVGPath Parse(string path) "),(0,n.kt)("h2",{id:"svgpathseg"},"SVGPathSeg"),(0,n.kt)("p",null,"class in XUGL"),(0,n.kt)("h3",{id:"svgpathsegp1"},"SVGPathSeg.p1"),(0,n.kt)("p",null,"public Vector2 p1 "),(0,n.kt)("h3",{id:"svgpathsegp2"},"SVGPathSeg.p2"),(0,n.kt)("p",null,"public Vector2 p2 "),(0,n.kt)("h3",{id:"svgpathsegp3"},"SVGPathSeg.p3"),(0,n.kt)("p",null,"public Vector2 p3 "),(0,n.kt)("h3",{id:"svgpathsegx"},"SVGPathSeg.x"),(0,n.kt)("p",null,"public float x "),(0,n.kt)("h3",{id:"svgpathsegy"},"SVGPathSeg.y"),(0,n.kt)("p",null,"public float y "),(0,n.kt)("h3",{id:"svgpathsegsvgpathseg"},"SVGPathSeg.SVGPathSeg"),(0,n.kt)("p",null,"public SVGPathSeg(SVGPathSegType type) "),(0,n.kt)("h2",{id:"svgpathsegtype"},"SVGPathSegType"),(0,n.kt)("p",null,"class in XUGL"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"M"),": move to"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"L"),": line to"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"H"),": horizontal line to"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"V"),": vertial line to"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"C"),": curve to"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"S"),": smooth curve to"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Q"),": quadratic bezier curve"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"T"),": smooth quadratic bezier curve to"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"A"),": elliptical Arc"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Z"),": close path")),(0,n.kt)("h2",{id:"symbolsizetype"},"SymbolSizeType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u83b7\u53d6\u6807\u8bb0\u56fe\u5f62\u5927\u5c0f\u7684\u65b9\u5f0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u5927\u5c0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"FromData"),": \u901a\u8fc7 dataIndex \u4ece\u6570\u636e\u4e2d\u83b7\u53d6\uff0c\u518d\u4e58\u4ee5\u4e00\u4e2a\u6bd4\u4f8b\u7cfb\u6570 dataScale \u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Function"),": \u901a\u8fc7\u59d4\u6258\u51fd\u6570\u83b7\u53d6\u3002")),(0,n.kt)("h2",{id:"symbolstyle"},"SymbolStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#seriesymbol"},"SerieSymbol")," "),(0,n.kt)("p",null,"\u7cfb\u5217\u6570\u636e\u9879\u7684\u6807\u8bb0\u7684\u56fe\u5f62"),(0,n.kt)("h3",{id:"symbolstyleanimationsize"},"SymbolStyle.animationSize"),(0,n.kt)("p",null,"public List","<","float",">"," animationSize",(0,n.kt)("br",{parentName:"p"}),"\n","\u5e26\u6709\u6d9f\u6f2a\u7279\u6548\u52a8\u753b\u7684\u6563\u70b9\u56fe\u7684\u52a8\u753b\u53c2\u6570\u3002"),(0,n.kt)("h3",{id:"symbolstyleoffset3"},"SymbolStyle.offset3"),(0,n.kt)("p",null,"public Vector3 offset3 "),(0,n.kt)("h3",{id:"symbolstylegetcolor"},"SymbolStyle.GetColor"),(0,n.kt)("p",null,"public Color32 GetColor(Color32 defaultColor) "),(0,n.kt)("h3",{id:"symbolstylereset"},"SymbolStyle.Reset"),(0,n.kt)("p",null,"public virtual void Reset() "),(0,n.kt)("h2",{id:"symboltype"},"SymbolType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6807\u8bb0\u56fe\u5f62\u7684\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4e0d\u663e\u793a\u6807\u8bb0\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u6807\u8bb0\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Circle"),": \u5706\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyCircle"),": \u7a7a\u5fc3\u5706\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Rect"),": \u6b63\u65b9\u5f62\u3002\u53ef\u901a\u8fc7\u8bbe\u7f6e",(0,n.kt)("inlineCode",{parentName:"li"},"itemStyle"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"cornerRadius"),"\u53d8\u6210\u5706\u89d2\u77e9\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyRect"),": \u7a7a\u5fc3\u6b63\u65b9\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Triangle"),": \u4e09\u89d2\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyTriangle"),": \u7a7a\u5fc3\u4e09\u89d2\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Diamond"),": \u83f1\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyDiamond"),": \u7a7a\u5fc3\u83f1\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Arrow"),": \u7bad\u5934\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyArrow"),": \u7a7a\u5fc3\u7bad\u5934\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Plus"),": \u52a0\u53f7\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Minus"),": \u51cf\u53f7\u3002")),(0,n.kt)("h2",{id:"textlimit"},"TextLimit"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6587\u672c\u5b57\u7b26\u9650\u5236\u548c\u81ea\u9002\u5e94\u3002\u5f53\u6587\u672c\u957f\u5ea6\u8d85\u8fc7\u8bbe\u5b9a\u7684\u957f\u5ea6\u65f6\u8fdb\u884c\u88c1\u526a\uff0c\u5e76\u5c06\u540e\u7f00\u9644\u52a0\u5728\u6700\u540e\u3002 \u53ea\u5728\u7c7b\u76ee\u8f74\u4e2d\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"textlimitclone"},"TextLimit.Clone"),(0,n.kt)("p",null,"public TextLimit Clone() "),(0,n.kt)("h3",{id:"textlimitcopy"},"TextLimit.Copy"),(0,n.kt)("p",null,"public void Copy(TextLimit textLimit) "),(0,n.kt)("h3",{id:"textlimitgetlimitcontent"},"TextLimit.GetLimitContent"),(0,n.kt)("p",null,"public string GetLimitContent(string content) "),(0,n.kt)("h3",{id:"textlimitsetrelatedtext"},"TextLimit.SetRelatedText"),(0,n.kt)("p",null,"public void SetRelatedText(ChartText txt, float labelWidth) "),(0,n.kt)("h2",{id:"textpadding"},"TextPadding"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#padding"},"Padding")),(0,n.kt)("p",null,"\u6587\u672c\u7684\u5185\u8fb9\u8ddd\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"textpaddingtextpadding"},"TextPadding.TextPadding()"),(0,n.kt)("p",null,"public TextPadding()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6587\u672c\u7684\u5185\u8fb9\u8ddd\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"textpaddingtextpadding-1"},"TextPadding.TextPadding"),(0,n.kt)("p",null,"public TextPadding(float top, float right, float bottom, float left) "),(0,n.kt)("h2",{id:"textstyle"},"TextStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6587\u672c\u7684\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"textstyletextstyle"},"TextStyle.TextStyle()"),(0,n.kt)("p",null,"public TextStyle() "),(0,n.kt)("h3",{id:"textstylecopy"},"TextStyle.Copy"),(0,n.kt)("p",null,"public void Copy(TextStyle textStyle) "),(0,n.kt)("h3",{id:"textstylegetalignment"},"TextStyle.GetAlignment"),(0,n.kt)("p",null,"public TextAnchor GetAlignment(TextAnchor defaultAlignment) "),(0,n.kt)("h3",{id:"textstylegetcolor"},"TextStyle.GetColor"),(0,n.kt)("p",null,"public Color GetColor(Color defaultColor) "),(0,n.kt)("h3",{id:"textstylegetfontsize"},"TextStyle.GetFontSize"),(0,n.kt)("p",null,"public int GetFontSize(ComponentTheme defaultTheme) "),(0,n.kt)("h3",{id:"textstyletextstyle-1"},"TextStyle.TextStyle"),(0,n.kt)("p",null,"public TextStyle(int fontSize) "),(0,n.kt)("p",null,"public TextStyle(int fontSize, FontStyle fontStyle) "),(0,n.kt)("p",null,"public TextStyle(int fontSize, FontStyle fontStyle, Color color) "),(0,n.kt)("p",null,"public TextStyle(int fontSize, FontStyle fontStyle, Color color, int rorate) "),(0,n.kt)("h3",{id:"textstyleupdatealignmentbylocation"},"TextStyle.UpdateAlignmentByLocation"),(0,n.kt)("p",null,"public void UpdateAlignmentByLocation(Location location) "),(0,n.kt)("h2",{id:"theme"},"Theme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=scriptableobject"},"ScriptableObject")),(0,n.kt)("p",null,"\u4e3b\u9898\u76f8\u5173\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"themeaxis"},"Theme.axis"),(0,n.kt)("p",null,"public AxisTheme axis "),(0,n.kt)("h3",{id:"themecolorpalette"},"Theme.colorPalette"),(0,n.kt)("p",null,"public List","<","Color32",">"," colorPalette",(0,n.kt)("br",{parentName:"p"}),"\n","\u8c03\u8272\u76d8\u989c\u8272\u5217\u8868\u3002\u5982\u679c\u7cfb\u5217\u6ca1\u6709\u8bbe\u7f6e\u989c\u8272\uff0c\u5219\u4f1a\u4f9d\u6b21\u5faa\u73af\u4ece\u8be5\u5217\u8868\u4e2d\u53d6\u989c\u8272\u4f5c\u4e3a\u7cfb\u5217\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"themecommon"},"Theme.common"),(0,n.kt)("p",null,"public ComponentTheme common "),(0,n.kt)("h3",{id:"themedatazoom"},"Theme.dataZoom"),(0,n.kt)("p",null,"public DataZoomTheme dataZoom "),(0,n.kt)("h3",{id:"themelegend"},"Theme.legend"),(0,n.kt)("p",null,"public LegendTheme legend "),(0,n.kt)("h3",{id:"themeserie"},"Theme.serie"),(0,n.kt)("p",null,"public SerieTheme serie "),(0,n.kt)("h3",{id:"themesubtitle"},"Theme.subTitle"),(0,n.kt)("p",null,"public SubTitleTheme subTitle "),(0,n.kt)("h3",{id:"themetitle"},"Theme.title"),(0,n.kt)("p",null,"public TitleTheme title "),(0,n.kt)("h3",{id:"themetooltip"},"Theme.tooltip"),(0,n.kt)("p",null,"public TooltipTheme tooltip "),(0,n.kt)("h3",{id:"themevisualmap"},"Theme.visualMap"),(0,n.kt)("p",null,"public VisualMapTheme visualMap "),(0,n.kt)("h3",{id:"themecheckwarning"},"Theme.CheckWarning"),(0,n.kt)("p",null,"public void CheckWarning(StringBuilder sb) "),(0,n.kt)("h3",{id:"themeclonetheme"},"Theme.CloneTheme"),(0,n.kt)("p",null,"public Theme CloneTheme()",(0,n.kt)("br",{parentName:"p"}),"\n","\u514b\u9686\u4e3b\u9898\u3002"),(0,n.kt)("h3",{id:"themecopytheme"},"Theme.CopyTheme"),(0,n.kt)("p",null,"public void CopyTheme(Theme theme)",(0,n.kt)("br",{parentName:"p"}),"\n","\u590d\u5236\u4e3b\u9898\u7684\u6240\u6709\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"themegetcolor"},"Theme.GetColor"),(0,n.kt)("p",null,"public static Color32 GetColor(string hexColorStr)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5c06\u5b57\u7b26\u4e32\u989c\u8272\u503c\u8f6c\u6210Color\u3002"),(0,n.kt)("h3",{id:"themegetcolorstr"},"Theme.GetColorStr"),(0,n.kt)("p",null,"public string GetColorStr(int index)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6307\u5b9a\u7d22\u5f15\u7684\u5341\u516d\u8fdb\u5236\u989c\u8272\u503c\u5b57\u7b26\u4e32\u3002"),(0,n.kt)("h3",{id:"themegethashcode"},"Theme.GetHashCode"),(0,n.kt)("p",null,"public override int GetHashCode() "),(0,n.kt)("h3",{id:"themeresettheme"},"Theme.ResetTheme"),(0,n.kt)("p",null,"public bool ResetTheme()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u7f6e\uff0c\u6e05\u9664\u6240\u6709\u81ea\u5b9a\u4e49\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"themeresettodarktheme"},"Theme.ResetToDarkTheme"),(0,n.kt)("p",null,"public static void ResetToDarkTheme(Theme theme)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6697\u4e3b\u9898\u3002"),(0,n.kt)("h3",{id:"themeresettodefaulttheme"},"Theme.ResetToDefaultTheme"),(0,n.kt)("p",null,"public static void ResetToDefaultTheme(Theme theme)",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u4e3b\u9898\u3002"),(0,n.kt)("h3",{id:"themesetcolorpalette"},"Theme.SetColorPalette"),(0,n.kt)("p",null,"public void SetColorPalette(List","<","string",">"," hexColorStringList) "),(0,n.kt)("h3",{id:"themesetdefaultfont"},"Theme.SetDefaultFont"),(0,n.kt)("p",null,"public void SetDefaultFont() "),(0,n.kt)("h3",{id:"themesyncfonttosubcomponent"},"Theme.SyncFontToSubComponent"),(0,n.kt)("p",null,"public void SyncFontToSubComponent() "),(0,n.kt)("h3",{id:"themesynctmpfonttosubcomponent"},"Theme.SyncTMPFontToSubComponent"),(0,n.kt)("p",null,"public void SyncTMPFontToSubComponent() "),(0,n.kt)("h2",{id:"themestyle"},"ThemeStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u4e3b\u9898\u76f8\u5173\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"themestyleaxis"},"ThemeStyle.axis"),(0,n.kt)("p",null,"public AxisTheme axis "),(0,n.kt)("h3",{id:"themestylecommon"},"ThemeStyle.common"),(0,n.kt)("p",null,"public ComponentTheme common "),(0,n.kt)("h3",{id:"themestylecustomcolorpalette"},"ThemeStyle.customColorPalette"),(0,n.kt)("p",null,"public List","<","Color32",">"," customColorPalette "),(0,n.kt)("h3",{id:"themestyledatazoom"},"ThemeStyle.dataZoom"),(0,n.kt)("p",null,"public DataZoomTheme dataZoom "),(0,n.kt)("h3",{id:"themestylelegend"},"ThemeStyle.legend"),(0,n.kt)("p",null,"public LegendTheme legend "),(0,n.kt)("h3",{id:"themestyleserie"},"ThemeStyle.serie"),(0,n.kt)("p",null,"public SerieTheme serie "),(0,n.kt)("h3",{id:"themestyleshow"},"ThemeStyle.show"),(0,n.kt)("p",null,"public bool show "),(0,n.kt)("h3",{id:"themestylesubtitle"},"ThemeStyle.subTitle"),(0,n.kt)("p",null,"public SubTitleTheme subTitle "),(0,n.kt)("h3",{id:"themestyletitle"},"ThemeStyle.title"),(0,n.kt)("p",null,"public TitleTheme title "),(0,n.kt)("h3",{id:"themestyletooltip"},"ThemeStyle.tooltip"),(0,n.kt)("p",null,"public TooltipTheme tooltip "),(0,n.kt)("h3",{id:"themestylevisualmap"},"ThemeStyle.visualMap"),(0,n.kt)("p",null,"public VisualMapTheme visualMap "),(0,n.kt)("h3",{id:"themestylecheckwarning"},"ThemeStyle.CheckWarning"),(0,n.kt)("p",null,"public void CheckWarning(StringBuilder sb) "),(0,n.kt)("h3",{id:"themestylegetbackgroundcolor"},"ThemeStyle.GetBackgroundColor"),(0,n.kt)("p",null,"public Color32 GetBackgroundColor(Background background) "),(0,n.kt)("h3",{id:"themestylegetcolor"},"ThemeStyle.GetColor"),(0,n.kt)("p",null,"public static Color32 GetColor(string hexColorStr)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5c06\u5b57\u7b26\u4e32\u989c\u8272\u503c\u8f6c\u6210Color\u3002"),(0,n.kt)("h3",{id:"themestylegetcolorstr"},"ThemeStyle.GetColorStr"),(0,n.kt)("p",null,"public string GetColorStr(int index)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6307\u5b9a\u7d22\u5f15\u7684\u5341\u516d\u8fdb\u5236\u989c\u8272\u503c\u5b57\u7b26\u4e32\u3002"),(0,n.kt)("h3",{id:"themestylesyncsharedthemecolortocustom"},"ThemeStyle.SyncSharedThemeColorToCustom"),(0,n.kt)("p",null,"public void SyncSharedThemeColorToCustom() "),(0,n.kt)("h2",{id:"themetype"},"ThemeType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u4e3b\u9898"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Default"),": \u9ed8\u8ba4\u4e3b\u9898\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Light"),": \u4eae\u4e3b\u9898\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dark"),": \u6697\u4e3b\u9898\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u4e3b\u9898\u3002")),(0,n.kt)("h2",{id:"title"},"Title"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#ipropertychanged"},"IPropertyChanged")),(0,n.kt)("p",null,"\u6807\u9898\u7ec4\u4ef6\uff0c\u5305\u542b\u4e3b\u6807\u9898\u548c\u526f\u6807\u9898\u3002"),(0,n.kt)("h3",{id:"titleshow"},"Title.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793a\u6807\u9898\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"titletext"},"Title.text"),(0,n.kt)("p",null,"public string text",(0,n.kt)("br",{parentName:"p"}),"\n","\u4e3b\u6807\u9898\u6587\u672c\uff0c\u652f\u6301\u4f7f\u7528 \\n \u6362\u884c\u3002"),(0,n.kt)("h3",{id:"titlevertsdirty"},"Title.vertsDirty"),(0,n.kt)("p",null,"public override bool vertsDirty "),(0,n.kt)("h3",{id:"titleclearcomponentdirty"},"Title.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h3",{id:"titleonchanged"},"Title.OnChanged"),(0,n.kt)("p",null,"public void OnChanged() "),(0,n.kt)("h2",{id:"titlestyle"},"TitleStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent")),(0,n.kt)("p",null,"\u6807\u9898\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h2",{id:"titletheme"},"TitleTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"titlethemetitletheme"},"TitleTheme.TitleTheme"),(0,n.kt)("p",null,"public TitleTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h2",{id:"tooltip"},"Tooltip"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"tooltipalwayshowcontent"},"Tooltip.alwayShowContent"),(0,n.kt)("p",null,"public bool alwayShowContent",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u89e6\u53d1\u540e\u4e00\u76f4\u663e\u793a\u63d0\u793a\u6846\u6d6e\u5c42\u3002"),(0,n.kt)("h3",{id:"tooltipbackgroundcolor"},"Tooltip.backgroundColor"),(0,n.kt)("p",null,"public Color backgroundColor",(0,n.kt)("br",{parentName:"p"}),"\n","\u63d0\u793a\u6846\u7684\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"tooltipbackgroundimage"},"Tooltip.backgroundImage"),(0,n.kt)("p",null,"public Sprite backgroundImage",(0,n.kt)("br",{parentName:"p"}),"\n","\u63d0\u793a\u6846\u7684\u80cc\u666f\u56fe\u7247\u3002"),(0,n.kt)("h3",{id:"tooltipbackgroundtype"},"Tooltip.backgroundType"),(0,n.kt)("p",null,"public Image.Type backgroundType",(0,n.kt)("br",{parentName:"p"}),"\n","\u63d0\u793a\u6846\u7684\u80cc\u666f\u56fe\u7247\u663e\u793a\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"tooltipfixedheight"},"Tooltip.fixedHeight"),(0,n.kt)("p",null,"public float fixedHeight",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fa\u5b9a\u9ad8\u5ea6\u3002\u6bd4 minHeight \u4f18\u5148\u3002"),(0,n.kt)("h3",{id:"tooltipfixedwidth"},"Tooltip.fixedWidth"),(0,n.kt)("p",null,"public float fixedWidth",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fa\u5b9a\u5bbd\u5ea6\u3002\u6bd4 minWidth \u4f18\u5148\u3002"),(0,n.kt)("h3",{id:"tooltipignoredatadefaultcontent"},"Tooltip.ignoreDataDefaultContent"),(0,n.kt)("p",null,"public string ignoreDataDefaultContent",(0,n.kt)("br",{parentName:"p"}),"\n","\u88ab\u5ffd\u7565\u6570\u636e\u7684\u9ed8\u8ba4\u663e\u793a\u5b57\u7b26\u4fe1\u606f\u3002\u5982\u679c\u8bbe\u7f6e\u4e3a\u7a7a\uff0c\u5219\u8868\u793a\u5b8c\u5168\u4e0d\u663e\u793a\u5ffd\u7565\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"tooltipignoredatashow"},"Tooltip.ignoreDataShow"),(0,n.kt)("p",null,"public bool ignoreDataShow",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793a\u5ffd\u7565\u6570\u636e\u5728tooltip\u4e0a\u3002"),(0,n.kt)("h3",{id:"tooltipitemformatter"},"Tooltip.itemFormatter"),(0,n.kt)("p",null,"public string itemFormatter",(0,n.kt)("br",{parentName:"p"}),"\n","\u63d0\u793a\u6846\u5355\u4e2aserie\u6216\u6570\u636e\u9879\u5185\u5bb9\u7684\u5b57\u7b26\u4e32\u6a21\u7248\u683c\u5f0f\u5668\u3002\u652f\u6301\u7528 \\n \u6362\u884c\u3002\u7528|\u6765\u8868\u793a\u591a\u4e2a\u5217\u7684\u5206\u9694\u3002 \u6a21\u677f\u53d8\u91cf\u6709{.}\u3001{a}\u3001{b}\u3001{c}\u3001{d}\u3001{e}\u3001{f}\u3001{g}\u3002",(0,n.kt)("br",null)," {i}\u6216-\u8868\u793a\u5ffd\u7565\u5f53\u524d\u9879\u3002 {.}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684\u5bf9\u5e94\u989c\u8272\u7684\u5706\u70b9\u3002",(0,n.kt)("br",null)," {a}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684\u7cfb\u5217\u540dname\u3002",(0,n.kt)("br",null)," {b}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684\u6570\u636e\u9879serieData\u7684name\uff0c\u6216\u8005\u7c7b\u76ee\u503c\uff08\u5982\u6298\u7ebf\u56fe\u7684X\u8f74\uff09\u3002",(0,n.kt)("br",null)," {c}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684y\u7ef4\uff08dimesion\u4e3a1\uff09\u7684\u6570\u503c\u3002",(0,n.kt)("br",null)," {d}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684y\u7ef4\uff08dimesion\u4e3a1\uff09\u767e\u5206\u6bd4\u503c\uff0c\u6ce8\u610f\u4e0d\u5e26%\u53f7\u3002",(0,n.kt)("br",null)," {e}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684\u6570\u636e\u9879serieData\u7684name\u3002",(0,n.kt)("br",null)," {f}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u7684\u9ed8\u8ba4\u7ef4\u5ea6\u7684\u6570\u636e\u603b\u548c\u3002",(0,n.kt)("br",null)," {g}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u7684\u6570\u636e\u603b\u4e2a\u6570\u3002",(0,n.kt)("br",null)," {h}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u7684\u5341\u516d\u8fdb\u5236\u989c\u8272\u503c\u3002",(0,n.kt)("br",null)," {y}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u7684y\u8f74\u7684\u7c7b\u76ee\u503c\u3002",(0,n.kt)("br",null)," {c0}\u8868\u793a\u5f53\u524d\u6570\u636e\u9879\u7ef4\u5ea6\u4e3a0\u7684\u6570\u636e\u3002",(0,n.kt)("br",null)," {c1}\u8868\u793a\u5f53\u524d\u6570\u636e\u9879\u7ef4\u5ea6\u4e3a1\u7684\u6570\u636e\u3002",(0,n.kt)("br",null)," {d3}\u8868\u793a\u7ef4\u5ea63\u7684\u6570\u636e\u7684\u767e\u5206\u6bd4\u3002\u5b83\u7684\u5206\u6bcd\u662f\u9ed8\u8ba4\u7ef4\u5ea6\uff08\u4e00\u822c\u662f1\u7ef4\u5ea6\uff09\u6570\u636e\u3002",(0,n.kt)("br",null)," |\u8868\u793a\u591a\u4e2a\u5217\u7684\u5206\u9694\u3002",(0,n.kt)("br",null),' \u793a\u4f8b\uff1a"{i}", "{.}|{a}|{c}", "{.}|{b}|{c2:f2}", "{.}|{b}|{y}"'),(0,n.kt)("h3",{id:"tooltipmarker"},"Tooltip.marker"),(0,n.kt)("p",null,"public string marker",(0,n.kt)("br",{parentName:"p"}),"\n","serie\u7684\u7b26\u53f7\u6807\u5fd7\u3002"),(0,n.kt)("h3",{id:"tooltipminheight"},"Tooltip.minHeight"),(0,n.kt)("p",null,"public float minHeight",(0,n.kt)("br",{parentName:"p"}),"\n","\u6700\u5c0f\u9ad8\u5ea6\u3002\u5982\u82e5 fixedHeight \u8bbe\u6709\u503c\uff0c\u4f18\u5148\u53d6 fixedHeight\u3002"),(0,n.kt)("h3",{id:"tooltipminwidth"},"Tooltip.minWidth"),(0,n.kt)("p",null,"public float minWidth",(0,n.kt)("br",{parentName:"p"}),"\n","\u6700\u5c0f\u5bbd\u5ea6\u3002\u5982\u82e5 fixedWidth \u8bbe\u6709\u503c\uff0c\u4f18\u5148\u53d6 fixedWidth\u3002"),(0,n.kt)("h3",{id:"tooltipoffset"},"Tooltip.offset"),(0,n.kt)("p",null,"public Vector2 offset",(0,n.kt)("br",{parentName:"p"}),"\n","\u63d0\u793a\u6846\u76f8\u5bf9\u4e8e\u9f20\u6807\u4f4d\u7f6e\u7684\u504f\u79fb\u3002"),(0,n.kt)("h3",{id:"tooltiponclickindex"},"Tooltip.onClickIndex"),(0,n.kt)("p",null,"public System.Action","<","int",">"," onClickIndex",(0,n.kt)("br",{parentName:"p"}),"\n","Tooltip\u4e3aClick\u89e6\u53d1\u65f6\uff0c\u70b9\u51fb\u7684X\u8f74\u7d22\u5f15\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"tooltippaddingleftright"},"Tooltip.paddingLeftRight"),(0,n.kt)("p",null,"public int paddingLeftRight",(0,n.kt)("br",{parentName:"p"}),"\n","\u5de6\u53f3\u8fb9\u8ddd\u3002"),(0,n.kt)("h3",{id:"tooltippaddingtopbottom"},"Tooltip.paddingTopBottom"),(0,n.kt)("p",null,"public int paddingTopBottom",(0,n.kt)("br",{parentName:"p"}),"\n","\u4e0a\u4e0b\u8fb9\u8ddd\u3002"),(0,n.kt)("h3",{id:"tooltipruntimedataindex"},"Tooltip.runtimeDataIndex"),(0,n.kt)("p",null,"public List","<","int",">"," runtimeDataIndex",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f53\u524d\u63d0\u793a\u6846\u6240\u6307\u793a\u7684\u6570\u636e\u9879\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"tooltipshowcontent"},"Tooltip.showContent"),(0,n.kt)("p",null,"public bool showContent",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793a\u63d0\u793a\u6846\u6d6e\u5c42\uff0c\u9ed8\u8ba4\u663e\u793a\u3002\u53ea\u9700tooltip\u89e6\u53d1\u4e8b\u4ef6\u6216\u663e\u793aaxisPointer\u800c\u4e0d\u9700\u8981\u663e\u793a\u5185\u5bb9\u65f6\u53ef\u914d\u7f6e\u8be5\u9879\u4e3afalse\u3002"),(0,n.kt)("h3",{id:"tooltiptitleformatter"},"Tooltip.titleFormatter"),(0,n.kt)("p",null,"public string titleFormatter",(0,n.kt)("br",{parentName:"p"}),"\n","\u63d0\u793a\u6846\u6807\u9898\u5185\u5bb9\u7684\u5b57\u7b26\u4e32\u6a21\u7248\u683c\u5f0f\u5668\u3002\u652f\u6301\u7528 \\n \u6362\u884c\u3002\u53ef\u4ee5\u5355\u72ec\u8bbe\u7f6e\u5360\u4f4d\u7b26{i}\u8868\u793a\u5ffd\u7565\u4e0d\u663e\u793atitle\u3002 \u6a21\u677f\u53d8\u91cf\u6709{.}\u3001{a}\u3001{b}\u3001{c}\u3001{d}\u3001{e}\u3001{f}\u3001{g}\u3002",(0,n.kt)("br",null)," {.}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u5bf9\u5e94\u989c\u8272\u7684\u5706\u70b9\u3002",(0,n.kt)("br",null)," {a}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u7cfb\u5217\u540dname\u3002",(0,n.kt)("br",null)," {b}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u6570\u636e\u9879serieData\u7684name\uff0c\u6216\u8005\u7c7b\u76ee\u503c\uff08\u5982\u6298\u7ebf\u56fe\u7684X\u8f74\uff09\u3002",(0,n.kt)("br",null)," {c}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684y\u7ef4\uff08dimesion\u4e3a1\uff09\u7684\u6570\u503c\u3002",(0,n.kt)("br",null)," {d}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684y\u7ef4\uff08dimesion\u4e3a1\uff09\u767e\u5206\u6bd4\u503c\uff0c\u6ce8\u610f\u4e0d\u5e26%\u53f7\u3002",(0,n.kt)("br",null)," {e}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u6570\u636e\u9879serieData\u7684name\u3002",(0,n.kt)("br",null)," {h}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u6570\u636e\u9879serieData\u7684\u5341\u516d\u8fdb\u5236\u989c\u8272\u503c\u3002",(0,n.kt)("br",null)," {f}\u4e3a\u6570\u636e\u603b\u548c\u3002",(0,n.kt)("br",null)," {g}\u4e3a\u6570\u636e\u603b\u4e2a\u6570\u3002",(0,n.kt)("br",null)," {y}\u4e3avalue\u6240\u5bf9\u5e94\u7684y\u8f74\u7684\u7c7b\u76ee\u503c\u3002",(0,n.kt)("br",null)," {.1}\u8868\u793a\u6307\u5b9aindex\u4e3a1\u7684serie\u5bf9\u5e94\u989c\u8272\u7684\u5706\u70b9\u3002",(0,n.kt)("br",null)," {a1}\u3001{b1}\u3001{c1}\u4e2d\u76841\u8868\u793a\u6307\u5b9aindex\u4e3a1\u7684serie\u3002",(0,n.kt)("br",null)," {c1:2}\u8868\u793a\u7d22\u5f15\u4e3a1\u7684serie\u7684\u5f53\u524d\u6307\u793a\u6570\u636e\u9879\u7684\u7b2c3\u4e2a\u6570\u636e\uff08\u4e00\u4e2a\u6570\u636e\u9879\u6709\u591a\u4e2a\u6570\u636e\uff0cindex\u4e3a2\u8868\u793a\u7b2c3\u4e2a\u6570\u636e\uff09\u3002",(0,n.kt)("br",null)," {c1:2-2}\u8868\u793a\u7d22\u5f15\u4e3a1\u7684serie\u7684\u7b2c3\u4e2a\u6570\u636e\u9879\u7684\u7b2c3\u4e2a\u6570\u636e\uff08\u4e5f\u5c31\u662f\u8981\u6307\u5b9a\u7b2c\u51e0\u4e2a\u6570\u636e\u9879\u65f6\u5fc5\u987b\u8981\u6307\u5b9a\u7b2c\u51e0\u4e2a\u6570\u636e\uff09\u3002",(0,n.kt)("br",null)," {d1:2:f2}\u8868\u793a\u5355\u72ec\u6307\u5b9a\u4e86\u6570\u503c\u7684\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u4e3af2\uff08\u4e0d\u6307\u5b9a\u65f6\u7528numericFormatter\uff09\u3002",(0,n.kt)("br",null),' {d:0.##} \u8868\u793a\u5355\u72ec\u6307\u5b9a\u4e86\u6570\u503c\u7684\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u4e3a 0.## \uff08\u7528\u4e8e\u767e\u5206\u6bd4\uff0c\u4fdd\u75592\u4f4d\u6709\u6548\u6570\u540c\u65f6\u53c8\u80fd\u907f\u514d\u4f7f\u7528 f2 \u800c\u51fa\u73b0\u7684\u7c7b\u4f3c\u4e8e"100.00%"\u7684\u60c5\u51b5 \uff09\u3002',(0,n.kt)("br",null),' \u793a\u4f8b\uff1a"{a}:{c}"\u3001"{a1}:{c1:f1}"\u3001"{a1}:{c1:0:f1}"\u3001"{a1}:{c1:1-1:f1}"'),(0,n.kt)("h3",{id:"tooltipaddseriedataindex"},"Tooltip.AddSerieDataIndex"),(0,n.kt)("p",null,"public void AddSerieDataIndex(int serieIndex, int dataIndex) "),(0,n.kt)("h3",{id:"tooltipclearcomponentdirty"},"Tooltip.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h3",{id:"tooltipcleardata"},"Tooltip.ClearData"),(0,n.kt)("p",null,"public override void ClearData() "),(0,n.kt)("h3",{id:"tooltipclearseriedataindex"},"Tooltip.ClearSerieDataIndex"),(0,n.kt)("p",null,"public void ClearSerieDataIndex() "),(0,n.kt)("h3",{id:"tooltipgetcontentlabelstyle"},"Tooltip.GetContentLabelStyle"),(0,n.kt)("p",null,"public LabelStyle GetContentLabelStyle(int index) "),(0,n.kt)("h3",{id:"tooltipisactive"},"Tooltip.IsActive"),(0,n.kt)("p",null,"public bool IsActive()",(0,n.kt)("br",{parentName:"p"}),"\n","\u63d0\u793a\u6846\u662f\u5426\u663e\u793a"),(0,n.kt)("h3",{id:"tooltipisanyseriedataindex"},"Tooltip.isAnySerieDataIndex"),(0,n.kt)("p",null,"public bool isAnySerieDataIndex() "),(0,n.kt)("h3",{id:"tooltipisselected"},"Tooltip.IsSelected"),(0,n.kt)("p",null,"public bool IsSelected(int index)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6307\u5b9a\u7d22\u5f15\u7684\u6570\u636e\u9879\u662f\u5426\u88ab\u63d0\u793a\u6846\u9009\u4e2d"),(0,n.kt)("h3",{id:"tooltipistriggeraxis"},"Tooltip.IsTriggerAxis"),(0,n.kt)("p",null,"public bool IsTriggerAxis() "),(0,n.kt)("h3",{id:"tooltipistriggeritem"},"Tooltip.IsTriggerItem"),(0,n.kt)("p",null,"public bool IsTriggerItem() "),(0,n.kt)("h3",{id:"tooltipkeeptop"},"Tooltip.KeepTop"),(0,n.kt)("p",null,"public void KeepTop()",(0,n.kt)("br",{parentName:"p"}),"\n","\u4fdd\u6301Tooltiop\u663e\u793a\u5728\u6700\u9876\u4e0a"),(0,n.kt)("h3",{id:"tooltipsetactive"},"Tooltip.SetActive"),(0,n.kt)("p",null,"public void SetActive(bool flag)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6eTooltip\u7ec4\u4ef6\u662f\u5426\u663e\u793a"),(0,n.kt)("h3",{id:"tooltipsetcontentactive"},"Tooltip.SetContentActive"),(0,n.kt)("p",null,"public void SetContentActive(bool flag)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6e\u6587\u672c\u6846\u662f\u5426\u663e\u793a"),(0,n.kt)("h3",{id:"tooltipupdatecontentpos"},"Tooltip.UpdateContentPos"),(0,n.kt)("p",null,"public void UpdateContentPos(Vector2 pos, float width, float height)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6587\u672c\u6846\u4f4d\u7f6e"),(0,n.kt)("h2",{id:"tooltipposition"},"Tooltip.Position"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u5750\u6807\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u81ea\u9002\u5e94\u3002\u79fb\u52a8\u5e73\u53f0\u9760\u9876\u90e8\u663e\u793a\uff0c\u975e\u79fb\u52a8\u5e73\u53f0\u8ddf\u968f\u9f20\u6807\u4f4d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u3002\u5b8c\u5168\u81ea\u5b9a\u4e49\u663e\u793a\u4f4d\u7f6e(x,y)\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"FixedX"),": \u53ea\u56fa\u5b9a\u5750\u6807X\u3002Y\u8ddf\u968f\u9f20\u6807\u4f4d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"FixedY"),": ")),(0,n.kt)("h2",{id:"tooltiptrigger"},"Tooltip.Trigger"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u89e6\u53d1\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Item"),": \u6570\u636e\u9879\u56fe\u5f62\u89e6\u53d1\uff0c\u4e3b\u8981\u5728\u6563\u70b9\u56fe\uff0c\u997c\u56fe\u7b49\u65e0\u7c7b\u76ee\u8f74\u7684\u56fe\u8868\u4e2d\u4f7f\u7528\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Axis"),": \u5750\u6807\u8f74\u89e6\u53d1\uff0c\u4e3b\u8981\u5728\u67f1\u72b6\u56fe\uff0c\u6298\u7ebf\u56fe\u7b49\u4f1a\u4f7f\u7528\u7c7b\u76ee\u8f74\u7684\u56fe\u8868\u4e2d\u4f7f\u7528\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4ec0\u4e48\u90fd\u4e0d\u89e6\u53d1\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u6839\u636eserie\u7684\u7c7b\u578b\u81ea\u52a8\u9009\u62e9\u89e6\u53d1\u7c7b\u578b\u3002")),(0,n.kt)("h2",{id:"tooltiptriggeron"},"Tooltip.TriggerOn"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u89e6\u53d1\u6761\u4ef6\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"MouseMove"),": \u9f20\u6807\u79fb\u52a8\u65f6\u89e6\u53d1\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Click"),": \u9f20\u6807\u70b9\u51fb\u65f6\u89e6\u53d1\u3002")),(0,n.kt)("h2",{id:"tooltiptype"},"Tooltip.Type"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6307\u793a\u5668\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Line"),": \u76f4\u7ebf\u6307\u793a\u5668"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Shadow"),": \u9634\u5f71\u6307\u793a\u5668"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u65e0\u6307\u793a\u5668"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Cross"),": \u5341\u5b57\u51c6\u661f\u6307\u793a\u5668\u3002\u5750\u6807\u8f74\u663e\u793aLabel\u548c\u4ea4\u53c9\u7ebf\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u6839\u636eserie\u7684\u7c7b\u578b\u81ea\u52a8\u9009\u62e9\u663e\u793a\u6307\u793a\u5668\u3002")),(0,n.kt)("h2",{id:"tooltipcontext"},"TooltipContext"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"tooltipdata"},"TooltipData"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"tooltiphelper"},"TooltipHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"tooltiphelpergetitemnumericformatter"},"TooltipHelper.GetItemNumericFormatter"),(0,n.kt)("p",null,"public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData) "),(0,n.kt)("h3",{id:"tooltiphelpergetlinecolor"},"TooltipHelper.GetLineColor"),(0,n.kt)("p",null,"public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor) "),(0,n.kt)("h3",{id:"tooltiphelperisignoreformatter"},"TooltipHelper.IsIgnoreFormatter"),(0,n.kt)("p",null,"public static bool IsIgnoreFormatter(string itemFormatter) "),(0,n.kt)("h3",{id:"tooltiphelperlimitinrect"},"TooltipHelper.LimitInRect"),(0,n.kt)("p",null,"public static void LimitInRect(Tooltip tooltip, Rect chartRect) "),(0,n.kt)("h2",{id:"tooltiptheme"},"TooltipTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"tooltipthemecopy"},"TooltipTheme.Copy"),(0,n.kt)("p",null,"public void Copy(TooltipTheme theme) "),(0,n.kt)("h3",{id:"tooltipthemetooltiptheme"},"TooltipTheme.TooltipTheme"),(0,n.kt)("p",null,"public TooltipTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h2",{id:"tooltipview"},"TooltipView"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"tooltipviewcreateview"},"TooltipView.CreateView"),(0,n.kt)("p",null,"public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent) "),(0,n.kt)("h3",{id:"tooltipviewgetcurrentpos"},"TooltipView.GetCurrentPos"),(0,n.kt)("p",null,"public Vector3 GetCurrentPos() "),(0,n.kt)("h3",{id:"tooltipviewgettargetpos"},"TooltipView.GetTargetPos"),(0,n.kt)("p",null,"public Vector3 GetTargetPos() "),(0,n.kt)("h3",{id:"tooltipviewrefresh"},"TooltipView.Refresh"),(0,n.kt)("p",null,"public void Refresh() "),(0,n.kt)("h3",{id:"tooltipviewsetactive"},"TooltipView.SetActive"),(0,n.kt)("p",null,"public void SetActive(bool flag) "),(0,n.kt)("h3",{id:"tooltipviewupdate"},"TooltipView.Update"),(0,n.kt)("p",null,"public void Update() "),(0,n.kt)("h3",{id:"tooltipviewupdateposition"},"TooltipView.UpdatePosition"),(0,n.kt)("p",null,"public void UpdatePosition(Vector3 pos) "),(0,n.kt)("h2",{id:"tooltipviewitem"},"TooltipViewItem"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"ugl"},"UGL"),(0,n.kt)("p",null,"class in XUGL"),(0,n.kt)("p",null,"UGUI \u56fe\u5f62\u5e93"),(0,n.kt)("h3",{id:"ugldrawdiamond"},"UGL.DrawDiamond"),(0,n.kt)("p",null,"public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)",(0,n.kt)("br",{parentName:"p"}),"\n","Draw a diamond. \u753b\u83f1\u5f62\uff08\u94bb\u77f3\u5f62\u72b6\uff09"),(0,n.kt)("p",null,"public static void DrawDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, Color32 color, Color32 toColor) "),(0,n.kt)("h3",{id:"ugldrawellipse"},"UGL.DrawEllipse"),(0,n.kt)("p",null,"public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1) "),(0,n.kt)("h3",{id:"ugldrawemptydiamond"},"UGL.DrawEmptyDiamond"),(0,n.kt)("p",null,"public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color, Color32 emptyColor) "),(0,n.kt)("h3",{id:"ugldrawemptytriangle"},"UGL.DrawEmptyTriangle"),(0,n.kt)("p",null,"public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color, Color32 backgroundColor) "),(0,n.kt)("h3",{id:"ugldrawline"},"UGL.DrawLine"),(0,n.kt)("p",null,"public static void DrawLine(VertexHelper vh, List","<","Vector3",">"," points, float width, Color32 color, bool smooth, bool closepath = false) "),(0,n.kt)("p",null,"public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)",(0,n.kt)("br",{parentName:"p"}),"\n","Draw a line. \u753b\u76f4\u7ebf"),(0,n.kt)("h3",{id:"ugldrawminus"},"UGL.DrawMinus"),(0,n.kt)("p",null,"public static void DrawMinus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed8\u5236\u51cf\u53f7"),(0,n.kt)("h3",{id:"ugldrawplus"},"UGL.DrawPlus"),(0,n.kt)("p",null,"public static void DrawPlus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed8\u5236\u52a0\u53f7"),(0,n.kt)("h3",{id:"ugldrawpolygon"},"UGL.DrawPolygon"),(0,n.kt)("p",null,"public static void DrawPolygon(VertexHelper vh, List","<","Vector3",">"," points, Color32 color)",(0,n.kt)("br",{parentName:"p"}),"\n","\u586b\u5145\u4efb\u610f\u591a\u8fb9\u5f62\uff08\u76ee\u524d\u53ea\u652f\u6301\u51f8\u591a\u8fb9\u5f62\uff09"),(0,n.kt)("h3",{id:"ugldrawrectangle"},"UGL.DrawRectangle"),(0,n.kt)("p",null,"public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color) "),(0,n.kt)("p",null,"public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor) "),(0,n.kt)("p",null,"public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color) "),(0,n.kt)("p",null,"public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor) "),(0,n.kt)("h3",{id:"ugldrawsquare"},"UGL.DrawSquare"),(0,n.kt)("p",null,"public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)",(0,n.kt)("br",{parentName:"p"}),"\n","Draw a square. \u753b\u6b63\u65b9\u5f62"),(0,n.kt)("h3",{id:"ugldrawsvgpath"},"UGL.DrawSvgPath"),(0,n.kt)("p",null,"public static void DrawSvgPath(VertexHelper vh, string path) "),(0,n.kt)("h3",{id:"ugldrawtriangle"},"UGL.DrawTriangle"),(0,n.kt)("p",null,"public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor) "),(0,n.kt)("h2",{id:"ugldirection"},"UGL.Direction"),(0,n.kt)("p",null,"class in XUGL"),(0,n.kt)("p",null,"\u66f2\u7ebf\u65b9\u5411"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"XAxis"),": \u6cbfX\u8f74\u65b9\u5411"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"YAxis"),": \u6cbfY\u8f74\u65b9\u5411"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Random"),": \u968f\u673a\u65e0\u5e8f\u7684\u3002\u5982\u4e00\u4e2a\u95ed\u5408\u7684\u73af\u72b6\u66f2\u7ebf\u3002")),(0,n.kt)("h2",{id:"uglexample"},"UGLExample"),(0,n.kt)("p",null,"class in XUGL / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=maskablegraphic"},"MaskableGraphic")),(0,n.kt)("h2",{id:"uglhelper"},"UGLHelper"),(0,n.kt)("p",null,"class in XUGL"),(0,n.kt)("h3",{id:"uglhelpergetangle360"},"UGLHelper.GetAngle360"),(0,n.kt)("p",null,"public static float GetAngle360(Vector2 from, Vector2 to)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f970-360\u7684\u89d2\u5ea6\uff0812\u70b9\u949f\u65b9\u5411\u4e3a0\u5ea6\uff09"),(0,n.kt)("h3",{id:"uglhelpergetbezier"},"UGLHelper.GetBezier"),(0,n.kt)("p",null,"public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep) "),(0,n.kt)("h3",{id:"uglhelpergetbezier2"},"UGLHelper.GetBezier2"),(0,n.kt)("p",null,"public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep) "),(0,n.kt)("h3",{id:"uglhelpergetbezierlist"},"UGLHelper.GetBezierList"),(0,n.kt)("p",null,"public static List","<","Vector3",">"," GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp) "),(0,n.kt)("h3",{id:"uglhelpergetdire"},"UGLHelper.GetDire"),(0,n.kt)("p",null,"public static Vector3 GetDire(float angle, bool isDegree = false) "),(0,n.kt)("h3",{id:"uglhelpergetintersection"},"UGLHelper.GetIntersection"),(0,n.kt)("p",null,"public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref List","<","Vector3",">"," intersection)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u4e24\u76f4\u7ebf\u7684\u4ea4\u70b9"),(0,n.kt)("h3",{id:"uglhelpergetpos"},"UGLHelper.GetPos"),(0,n.kt)("p",null,"public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false) "),(0,n.kt)("h3",{id:"uglhelpergetvertialdire"},"UGLHelper.GetVertialDire"),(0,n.kt)("p",null,"public static Vector3 GetVertialDire(Vector3 dire) "),(0,n.kt)("h3",{id:"uglhelperisclearcolor"},"UGLHelper.IsClearColor"),(0,n.kt)("p",null,"public static bool IsClearColor(Color color) "),(0,n.kt)("h3",{id:"uglhelperispointinpolygon"},"UGLHelper.IsPointInPolygon"),(0,n.kt)("p",null,"public static bool IsPointInPolygon(Vector3 p, List","<","Vector2",">"," polyons) "),(0,n.kt)("p",null,"public static bool IsPointInPolygon(Vector3 p, params Vector3[] polyons) "),(0,n.kt)("h3",{id:"uglhelperispointintriangle"},"UGLHelper.IsPointInTriangle"),(0,n.kt)("p",null,"public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check) "),(0,n.kt)("h3",{id:"uglhelperisvalueequalscolor"},"UGLHelper.IsValueEqualsColor"),(0,n.kt)("p",null,"public static bool IsValueEqualsColor(Color color1, Color color2) "),(0,n.kt)("h3",{id:"uglhelperisvalueequalslistt"},"UGLHelper.IsValueEqualsList","<","T",">"),(0,n.kt)("p",null,"public static bool IsValueEqualsList","<","T",">","(List","<","T",">"," list1, List","<","T",">"," list2) "),(0,n.kt)("h3",{id:"uglhelperisvalueequalsstring"},"UGLHelper.IsValueEqualsString"),(0,n.kt)("p",null,"public static bool IsValueEqualsString(string str1, string str2) "),(0,n.kt)("h3",{id:"uglhelperisvalueequalsvector2"},"UGLHelper.IsValueEqualsVector2"),(0,n.kt)("p",null,"public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2) "),(0,n.kt)("h3",{id:"uglhelperisvalueequalsvector3"},"UGLHelper.IsValueEqualsVector3"),(0,n.kt)("p",null,"public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2) "),(0,n.kt)("h3",{id:"uglhelperiszerovector"},"UGLHelper.IsZeroVector"),(0,n.kt)("p",null,"public static bool IsZeroVector(Vector3 pos) "),(0,n.kt)("h3",{id:"uglhelperrotateround"},"UGLHelper.RotateRound"),(0,n.kt)("p",null,"public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle) "),(0,n.kt)("h2",{id:"uicomponent"},"UIComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basegraph"},"BaseGraph")),(0,n.kt)("p",null,"UI\u7ec4\u4ef6\u57fa\u7c7b\u3002"),(0,n.kt)("h3",{id:"uicomponentbackground"},"UIComponent.background"),(0,n.kt)("p",null,"public Background background",(0,n.kt)("br",{parentName:"p"}),"\n","\u80cc\u666f\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"uicomponentcharthideflags"},"UIComponent.chartHideFlags"),(0,n.kt)("p",null,"public override HideFlags chartHideFlags "),(0,n.kt)("h3",{id:"uicomponenttheme"},"UIComponent.theme"),(0,n.kt)("p",null,"public UIComponentTheme theme "),(0,n.kt)("h3",{id:"uicomponentsetalldirty"},"UIComponent.SetAllDirty"),(0,n.kt)("p",null,"public override void SetAllDirty() "),(0,n.kt)("h3",{id:"uicomponentsetdatadirty"},"UIComponent.SetDataDirty"),(0,n.kt)("p",null,"public void SetDataDirty() "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.9.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("h3",{id:"uicomponentsetverticesdirty"},"UIComponent.SetVerticesDirty"),(0,n.kt)("p",null,"public override void SetVerticesDirty() "),(0,n.kt)("h3",{id:"uicomponentupdatetheme"},"UIComponent.UpdateTheme"),(0,n.kt)("p",null,"public bool UpdateTheme(ThemeType theme)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5207\u6362\u5185\u7f6e\u4e3b\u9898\u3002"),(0,n.kt)("h2",{id:"uicomponenttheme-1"},"UIComponentTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"uicomponentthemeshow"},"UIComponentTheme.show"),(0,n.kt)("p",null,"public bool show "),(0,n.kt)("h3",{id:"uicomponentthemegetbackgroundcolor"},"UIComponentTheme.GetBackgroundColor"),(0,n.kt)("p",null,"public Color32 GetBackgroundColor(Background background) "),(0,n.kt)("h2",{id:"uihelper"},"UIHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"UI\u5e2e\u52a9\u7c7b\u3002"),(0,n.kt)("h2",{id:"viewcontrol"},"ViewControl"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"3D\u89c6\u89d2\u63a7\u5236\u7ec4\u4ef6\u3002"),(0,n.kt)("h2",{id:"visualmap"},"VisualMap"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u89c6\u89c9\u6620\u5c04\u7ec4\u4ef6\u3002\u7528\u4e8e\u8fdb\u884c\u300e\u89c6\u89c9\u7f16\u7801\u300f\uff0c\u4e5f\u5c31\u662f\u5c06\u6570\u636e\u6620\u5c04\u5230\u89c6\u89c9\u5143\u7d20\uff08\u89c6\u89c9\u901a\u9053\uff09\u3002"),(0,n.kt)("h3",{id:"visualmaprange"},"VisualMap.range"),(0,n.kt)("p",null,"public double[] range",(0,n.kt)("br",{parentName:"p"}),"\n","\u6307\u5b9a\u624b\u67c4\u5bf9\u5e94\u6570\u503c\u7684\u4f4d\u7f6e\u3002range \u5e94\u5728","[min,max]","\u8303\u56f4\u5185\u3002"),(0,n.kt)("h3",{id:"visualmapruntimerangemaxheight"},"VisualMap.runtimeRangeMaxHeight"),(0,n.kt)("p",null,"public float runtimeRangeMaxHeight "),(0,n.kt)("h3",{id:"visualmapruntimerangeminheight"},"VisualMap.runtimeRangeMinHeight"),(0,n.kt)("p",null,"public float runtimeRangeMinHeight "),(0,n.kt)("h3",{id:"visualmaptext"},"VisualMap.text"),(0,n.kt)("p",null,"public string[] text",(0,n.kt)("br",{parentName:"p"}),"\n","\u4e24\u7aef\u7684\u6587\u672c\uff0c\u5982 ","['High', 'Low']","\u3002"),(0,n.kt)("h3",{id:"visualmaptextgap"},"VisualMap.textGap"),(0,n.kt)("p",null,"public float[] textGap",(0,n.kt)("br",{parentName:"p"}),"\n","\u4e24\u7aef\u6587\u5b57\u4e3b\u4f53\u4e4b\u95f4\u7684\u8ddd\u79bb\uff0c\u5355\u4f4d\u4e3apx\u3002"),(0,n.kt)("h3",{id:"visualmapvertsdirty"},"VisualMap.vertsDirty"),(0,n.kt)("p",null,"public override bool vertsDirty "),(0,n.kt)("h3",{id:"visualmapaddcolors"},"VisualMap.AddColors"),(0,n.kt)("p",null,"public void AddColors(List","<","string",">"," colors) "),(0,n.kt)("h3",{id:"visualmapclearcomponentdirty"},"VisualMap.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h3",{id:"visualmapclearverticesdirty"},"VisualMap.ClearVerticesDirty"),(0,n.kt)("p",null,"public override void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"visualmapgetcolor"},"VisualMap.GetColor"),(0,n.kt)("p",null,"public Color32 GetColor(double value) "),(0,n.kt)("h3",{id:"visualmapgetindex"},"VisualMap.GetIndex"),(0,n.kt)("p",null,"public int GetIndex(double value) "),(0,n.kt)("h3",{id:"visualmapgetvalue"},"VisualMap.GetValue"),(0,n.kt)("p",null,"public double GetValue(Vector3 pos, Rect chartRect) "),(0,n.kt)("h3",{id:"visualmapisinrangemaxrect"},"VisualMap.IsInRangeMaxRect"),(0,n.kt)("p",null,"public bool IsInRangeMaxRect(Vector3 local, Rect chartRect, float triangleLen) "),(0,n.kt)("h3",{id:"visualmapisinrangeminrect"},"VisualMap.IsInRangeMinRect"),(0,n.kt)("p",null,"public bool IsInRangeMinRect(Vector3 local, Rect chartRect, float triangleLen) "),(0,n.kt)("h3",{id:"visualmapisinrangerect"},"VisualMap.IsInRangeRect"),(0,n.kt)("p",null,"public bool IsInRangeRect(Vector3 local, Rect chartRect) "),(0,n.kt)("h3",{id:"visualmapisinrect"},"VisualMap.IsInRect"),(0,n.kt)("p",null,"public bool IsInRect(Vector3 local, Rect chartRect, float triangleLen = 20) "),(0,n.kt)("h3",{id:"visualmapisinselectedvalue"},"VisualMap.IsInSelectedValue"),(0,n.kt)("p",null,"public bool IsInSelectedValue(double value) "),(0,n.kt)("h3",{id:"visualmapispiecewise"},"VisualMap.IsPiecewise"),(0,n.kt)("p",null,"public bool IsPiecewise() "),(0,n.kt)("h2",{id:"visualmapselectedmode"},"VisualMap.SelectedMode"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u9009\u62e9\u6a21\u5f0f"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Multiple"),": \u591a\u9009\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Single"),": \u5355\u9009\u3002")),(0,n.kt)("h2",{id:"visualmaptype"},"VisualMap.Type"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u7c7b\u578b\u3002\u5206\u4e3a\u8fde\u7eed\u578b\u548c\u5206\u6bb5\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Continuous"),": \u8fde\u7eed\u578b\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Piecewise"),": \u5206\u6bb5\u578b\u3002")),(0,n.kt)("h2",{id:"visualmapcontext"},"VisualMapContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h3",{id:"visualmapcontextmax"},"VisualMapContext.max"),(0,n.kt)("p",null,"public double max "),(0,n.kt)("h3",{id:"visualmapcontextmaxdrag"},"VisualMapContext.maxDrag"),(0,n.kt)("p",null,"public bool maxDrag "),(0,n.kt)("h3",{id:"visualmapcontextmin"},"VisualMapContext.min"),(0,n.kt)("p",null,"public double min "),(0,n.kt)("h3",{id:"visualmapcontextmindrag"},"VisualMapContext.minDrag"),(0,n.kt)("p",null,"public bool minDrag "),(0,n.kt)("h3",{id:"visualmapcontextpointerindex"},"VisualMapContext.pointerIndex"),(0,n.kt)("p",null,"public int pointerIndex",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u60ac\u505c\u9009\u4e2d\u7684index"),(0,n.kt)("h3",{id:"visualmapcontextpointervalue"},"VisualMapContext.pointerValue"),(0,n.kt)("p",null,"public double pointerValue "),(0,n.kt)("h2",{id:"visualmaphelper"},"VisualMapHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"visualmaphelperautosetlineminmax"},"VisualMapHelper.AutoSetLineMinMax"),(0,n.kt)("p",null,"public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis) "),(0,n.kt)("h3",{id:"visualmaphelpergetdimension"},"VisualMapHelper.GetDimension"),(0,n.kt)("p",null,"public static int GetDimension(VisualMap visualMap, int defaultDimension) "),(0,n.kt)("h3",{id:"visualmaphelperisneedareagradient"},"VisualMapHelper.IsNeedAreaGradient"),(0,n.kt)("p",null,"public static bool IsNeedAreaGradient(VisualMap visualMap) "),(0,n.kt)("h3",{id:"visualmaphelperisneedgradient"},"VisualMapHelper.IsNeedGradient"),(0,n.kt)("p",null,"public static bool IsNeedGradient(VisualMap visualMap) "),(0,n.kt)("h3",{id:"visualmaphelperisneedlinegradient"},"VisualMapHelper.IsNeedLineGradient"),(0,n.kt)("p",null,"public static bool IsNeedLineGradient(VisualMap visualMap) "),(0,n.kt)("h3",{id:"visualmaphelpersetminmax"},"VisualMapHelper.SetMinMax"),(0,n.kt)("p",null,"public static void SetMinMax(VisualMap visualMap, double min, double max) "),(0,n.kt)("h2",{id:"visualmaprange-1"},"VisualMapRange"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"visualmaprangecolor"},"VisualMapRange.color"),(0,n.kt)("p",null,"public Color32 color",(0,n.kt)("br",{parentName:"p"}),"\n","\u989c\u8272"),(0,n.kt)("h3",{id:"visualmaprangelabel"},"VisualMapRange.label"),(0,n.kt)("p",null,"public string label",(0,n.kt)("br",{parentName:"p"}),"\n","\u6587\u5b57\u63cf\u8ff0"),(0,n.kt)("h3",{id:"visualmaprangemax"},"VisualMapRange.max"),(0,n.kt)("p",null,"public double max",(0,n.kt)("br",{parentName:"p"}),"\n","\u8303\u56f4\u6700\u5927\u503c"),(0,n.kt)("h3",{id:"visualmaprangemin"},"VisualMapRange.min"),(0,n.kt)("p",null,"public double min",(0,n.kt)("br",{parentName:"p"}),"\n","\u8303\u56f4\u6700\u5c0f\u503c"),(0,n.kt)("h3",{id:"visualmaprangecontains"},"VisualMapRange.Contains"),(0,n.kt)("p",null,"public bool Contains(double value, double minMaxRange) "),(0,n.kt)("h2",{id:"visualmaptheme"},"VisualMapTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"visualmapthemecopy"},"VisualMapTheme.Copy"),(0,n.kt)("p",null,"public void Copy(VisualMapTheme theme) "),(0,n.kt)("h3",{id:"visualmapthemevisualmaptheme"},"VisualMapTheme.VisualMapTheme"),(0,n.kt)("p",null,"public VisualMapTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h2",{id:"wrappert"},"Wrapper","<","T",">"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"xaxis"},"XAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 x \u8f74\u3002"),(0,n.kt)("h3",{id:"xaxissetdefaultvalue"},"XAxis.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue()",(0,n.kt)("br",{parentName:"p"}),"\n","\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 x \u8f74\u3002"),(0,n.kt)("h2",{id:"xaxis3d"},"XAxis3D"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 x \u8f74\u3002"),(0,n.kt)("h3",{id:"xaxis3dsetdefaultvalue"},"XAxis3D.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue()",(0,n.kt)("br",{parentName:"p"}),"\n","\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 x \u8f74\u3002"),(0,n.kt)("h2",{id:"xchartsmgr"},"XChartsMgr"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"xchartsmgrfullversion"},"XChartsMgr.fullVersion"),(0,n.kt)("p",null,"public static string fullVersion "),(0,n.kt)("h3",{id:"xchartsmgraddchart"},"XChartsMgr.AddChart"),(0,n.kt)("p",null,"public static void AddChart(BaseChart chart) "),(0,n.kt)("h3",{id:"xchartsmgrcontainschart"},"XChartsMgr.ContainsChart"),(0,n.kt)("p",null,"public static bool ContainsChart(BaseChart chart) "),(0,n.kt)("h3",{id:"xchartsmgrgetchart"},"XChartsMgr.GetChart"),(0,n.kt)("p",null,"public static BaseChart GetChart(string chartName) "),(0,n.kt)("h3",{id:"xchartsmgrgetcharts"},"XChartsMgr.GetCharts"),(0,n.kt)("p",null,"public static List","<","BaseChart",">"," GetCharts(string chartName) "),(0,n.kt)("h3",{id:"xchartsmgrgetpackagefullpath"},"XChartsMgr.GetPackageFullPath"),(0,n.kt)("p",null,"public static string GetPackageFullPath() "),(0,n.kt)("h3",{id:"xchartsmgrgetrepeatchartnameinfo"},"XChartsMgr.GetRepeatChartNameInfo"),(0,n.kt)("p",null,"public static string GetRepeatChartNameInfo(BaseChart chart, string chartName) "),(0,n.kt)("h3",{id:"xchartsmgrisrepeatchartname"},"XChartsMgr.IsRepeatChartName"),(0,n.kt)("p",null,"public static bool IsRepeatChartName(BaseChart chart, string chartName = null) "),(0,n.kt)("h3",{id:"xchartsmgrremoveallchartobject"},"XChartsMgr.RemoveAllChartObject"),(0,n.kt)("p",null,"public static void RemoveAllChartObject() "),(0,n.kt)("h3",{id:"xchartsmgrremovechart"},"XChartsMgr.RemoveChart"),(0,n.kt)("p",null,"public static void RemoveChart(string chartName) "),(0,n.kt)("h2",{id:"xcresourceimporterwindow"},"XCResourceImporterWindow"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=unityeditoreditorwindow"},"UnityEditor.EditorWindow")),(0,n.kt)("h3",{id:"xcresourceimporterwindowshowpackageimporterwindow"},"XCResourceImporterWindow.ShowPackageImporterWindow"),(0,n.kt)("p",null,"public static void ShowPackageImporterWindow() "),(0,n.kt)("h2",{id:"xcresourcesimporter"},"XCResourcesImporter"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"xcresourcesimporterondestroy"},"XCResourcesImporter.OnDestroy()"),(0,n.kt)("p",null,"public void OnDestroy() "),(0,n.kt)("h3",{id:"xcresourcesimporterxcresourcesimporter"},"XCResourcesImporter.XCResourcesImporter()"),(0,n.kt)("p",null,"public XCResourcesImporter() "),(0,n.kt)("h3",{id:"xcresourcesimporterondestroy-1"},"XCResourcesImporter.OnDestroy"),(0,n.kt)("p",null,"public void OnDestroy() { } "),(0,n.kt)("h3",{id:"xcresourcesimporterongui"},"XCResourcesImporter.OnGUI"),(0,n.kt)("p",null,"public void OnGUI() "),(0,n.kt)("h3",{id:"xcresourcesimporterxcresourcesimporter-1"},"XCResourcesImporter.XCResourcesImporter"),(0,n.kt)("p",null,"public XCResourcesImporter() { } "),(0,n.kt)("h2",{id:"xcsettings"},"XCSettings"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=scriptableobject"},"ScriptableObject")),(0,n.kt)("h3",{id:"xcsettingsaxislinetype"},"XCSettings.axisLineType"),(0,n.kt)("p",null,"public static LineStyle.Type axisLineType "),(0,n.kt)("h3",{id:"xcsettingsaxislinewidth"},"XCSettings.axisLineWidth"),(0,n.kt)("p",null,"public static float axisLineWidth "),(0,n.kt)("h3",{id:"xcsettingsaxissplitlinetype"},"XCSettings.axisSplitLineType"),(0,n.kt)("p",null,"public static LineStyle.Type axisSplitLineType "),(0,n.kt)("h3",{id:"xcsettingsaxissplitlinewidth"},"XCSettings.axisSplitLineWidth"),(0,n.kt)("p",null,"public static float axisSplitLineWidth "),(0,n.kt)("h3",{id:"xcsettingsaxisticklength"},"XCSettings.axisTickLength"),(0,n.kt)("p",null,"public static float axisTickLength "),(0,n.kt)("h3",{id:"xcsettingsaxistickwidth"},"XCSettings.axisTickWidth"),(0,n.kt)("p",null,"public static float axisTickWidth "),(0,n.kt)("h3",{id:"xcsettingsciclesmoothness"},"XCSettings.cicleSmoothness"),(0,n.kt)("p",null,"public static float cicleSmoothness "),(0,n.kt)("h3",{id:"xcsettingscustomthemes"},"XCSettings.customThemes"),(0,n.kt)("p",null,"public static List","<","Theme",">"," customThemes "),(0,n.kt)("h3",{id:"xcsettingsdatazoomborderwidth"},"XCSettings.dataZoomBorderWidth"),(0,n.kt)("p",null,"public static float dataZoomBorderWidth "),(0,n.kt)("h3",{id:"xcsettingsdatazoomdatalinewidth"},"XCSettings.dataZoomDataLineWidth"),(0,n.kt)("p",null,"public static float dataZoomDataLineWidth "),(0,n.kt)("h3",{id:"xcsettingseditorshowalllistdata"},"XCSettings.editorShowAllListData"),(0,n.kt)("p",null,"public static bool editorShowAllListData "),(0,n.kt)("h3",{id:"xcsettingsfont"},"XCSettings.font"),(0,n.kt)("p",null,"public static Font font "),(0,n.kt)("h3",{id:"xcsettingsfontsizelv1"},"XCSettings.fontSizeLv1"),(0,n.kt)("p",null,"public static int fontSizeLv1",(0,n.kt)("br",{parentName:"p"}),"\n","\u4e00\u7ea7\u5b57\u4f53\u5927\u5c0f\u3002"),(0,n.kt)("h3",{id:"xcsettingsfontsizelv2"},"XCSettings.fontSizeLv2"),(0,n.kt)("p",null,"public static int fontSizeLv2 "),(0,n.kt)("h3",{id:"xcsettingsfontsizelv3"},"XCSettings.fontSizeLv3"),(0,n.kt)("p",null,"public static int fontSizeLv3 "),(0,n.kt)("h3",{id:"xcsettingsfontsizelv4"},"XCSettings.fontSizeLv4"),(0,n.kt)("p",null,"public static int fontSizeLv4 "),(0,n.kt)("h3",{id:"xcsettingsgaugeaxislinewidth"},"XCSettings.gaugeAxisLineWidth"),(0,n.kt)("p",null,"public static float gaugeAxisLineWidth "),(0,n.kt)("h3",{id:"xcsettingsgaugeaxissplitlinelength"},"XCSettings.gaugeAxisSplitLineLength"),(0,n.kt)("p",null,"public static float gaugeAxisSplitLineLength "),(0,n.kt)("h3",{id:"xcsettingsgaugeaxissplitlinewidth"},"XCSettings.gaugeAxisSplitLineWidth"),(0,n.kt)("p",null,"public static float gaugeAxisSplitLineWidth "),(0,n.kt)("h3",{id:"xcsettingsgaugeaxisticklength"},"XCSettings.gaugeAxisTickLength"),(0,n.kt)("p",null,"public static float gaugeAxisTickLength "),(0,n.kt)("h3",{id:"xcsettingsgaugeaxistickwidth"},"XCSettings.gaugeAxisTickWidth"),(0,n.kt)("p",null,"public static float gaugeAxisTickWidth "),(0,n.kt)("h3",{id:"xcsettingslang"},"XCSettings.lang"),(0,n.kt)("p",null,"public static Lang lang "),(0,n.kt)("h3",{id:"xcsettingslinesegmentdistance"},"XCSettings.lineSegmentDistance"),(0,n.kt)("p",null,"public static float lineSegmentDistance "),(0,n.kt)("h3",{id:"xcsettingslinesmoothness"},"XCSettings.lineSmoothness"),(0,n.kt)("p",null,"public static float lineSmoothness "),(0,n.kt)("h3",{id:"xcsettingslinesmoothstyle"},"XCSettings.lineSmoothStyle"),(0,n.kt)("p",null,"public static float lineSmoothStyle "),(0,n.kt)("h3",{id:"xcsettingsmaxpainter"},"XCSettings.maxPainter"),(0,n.kt)("p",null,"public static int maxPainter "),(0,n.kt)("h3",{id:"xcsettingsseriecandlestickborderwidth"},"XCSettings.serieCandlestickBorderWidth"),(0,n.kt)("p",null,"public static float serieCandlestickBorderWidth "),(0,n.kt)("h3",{id:"xcsettingsserielinesymbolsize"},"XCSettings.serieLineSymbolSize"),(0,n.kt)("p",null,"public static float serieLineSymbolSize "),(0,n.kt)("h3",{id:"xcsettingsserielinewidth"},"XCSettings.serieLineWidth"),(0,n.kt)("p",null,"public static float serieLineWidth "),(0,n.kt)("h3",{id:"xcsettingsseriescattersymbolsize"},"XCSettings.serieScatterSymbolSize"),(0,n.kt)("p",null,"public static float serieScatterSymbolSize "),(0,n.kt)("h3",{id:"xcsettingsserieselectedrate"},"XCSettings.serieSelectedRate"),(0,n.kt)("p",null,"public static float serieSelectedRate "),(0,n.kt)("h3",{id:"xcsettingstmpfont"},"XCSettings.tmpFont"),(0,n.kt)("p",null,"public static TMP_FontAsset tmpFont "),(0,n.kt)("h3",{id:"xcsettingstootiplinewidth"},"XCSettings.tootipLineWidth"),(0,n.kt)("p",null,"public static float tootipLineWidth "),(0,n.kt)("h3",{id:"xcsettingsvisualmapborderwidth"},"XCSettings.visualMapBorderWidth"),(0,n.kt)("p",null,"public static float visualMapBorderWidth "),(0,n.kt)("h3",{id:"xcsettingsvisualmaptriangelen"},"XCSettings.visualMapTriangeLen"),(0,n.kt)("p",null,"public static float visualMapTriangeLen "),(0,n.kt)("h3",{id:"xcsettingsaddcustomtheme"},"XCSettings.AddCustomTheme"),(0,n.kt)("p",null,"public static bool AddCustomTheme(Theme theme) "),(0,n.kt)("h3",{id:"xcsettingsexistassetfile"},"XCSettings.ExistAssetFile"),(0,n.kt)("p",null,"public static bool ExistAssetFile() "),(0,n.kt)("h3",{id:"xcsettingsgetsettingassetpath"},"XCSettings.GetSettingAssetPath"),(0,n.kt)("p",null,"public static string GetSettingAssetPath() "),(0,n.kt)("h2",{id:"xcthememgr"},"XCThemeMgr"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"xcthememgraddtheme"},"XCThemeMgr.AddTheme"),(0,n.kt)("p",null,"public static void AddTheme(Theme theme) "),(0,n.kt)("h3",{id:"xcthememgrcheckreloadtheme"},"XCThemeMgr.CheckReloadTheme"),(0,n.kt)("p",null,"public static void CheckReloadTheme() "),(0,n.kt)("h3",{id:"xcthememgrcontainstheme"},"XCThemeMgr.ContainsTheme"),(0,n.kt)("p",null,"public static bool ContainsTheme(string themeName) "),(0,n.kt)("h3",{id:"xcthememgrexporttheme"},"XCThemeMgr.ExportTheme"),(0,n.kt)("p",null,"public static bool ExportTheme(Theme theme) "),(0,n.kt)("h3",{id:"xcthememgrgetallthemenames"},"XCThemeMgr.GetAllThemeNames"),(0,n.kt)("p",null,"public static List","<","string",">"," GetAllThemeNames() "),(0,n.kt)("h3",{id:"xcthememgrgettheme"},"XCThemeMgr.GetTheme"),(0,n.kt)("p",null,"public static Theme GetTheme(string themeName) "),(0,n.kt)("h3",{id:"xcthememgrgetthemeassetpath"},"XCThemeMgr.GetThemeAssetPath"),(0,n.kt)("p",null,"public static string GetThemeAssetPath(string themeName) "),(0,n.kt)("h3",{id:"xcthememgrgetthemelist"},"XCThemeMgr.GetThemeList"),(0,n.kt)("p",null,"public static List","<","Theme",">"," GetThemeList() "),(0,n.kt)("h3",{id:"xcthememgrloadtheme"},"XCThemeMgr.LoadTheme"),(0,n.kt)("p",null,"public static Theme LoadTheme(string themeName) "),(0,n.kt)("h3",{id:"xcthememgrreloadthemelist"},"XCThemeMgr.ReloadThemeList"),(0,n.kt)("p",null,"public static void ReloadThemeList()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u65b0\u52a0\u8f7d\u4e3b\u9898\u5217\u8868"),(0,n.kt)("h3",{id:"xcthememgrswitchtheme"},"XCThemeMgr.SwitchTheme"),(0,n.kt)("p",null,"public static void SwitchTheme(BaseChart chart, string themeName) "),(0,n.kt)("h2",{id:"xlog"},"XLog"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#monobehaviour"},"MonoBehaviour")),(0,n.kt)("p",null,"\u65e5\u5fd7\u7cfb\u7edf\u3002\u7528\u4e8e\u8f93\u51fa\u5e26\u65e5\u671f\u548c\u65e5\u5fd7\u7c7b\u578b\u7684\u65e5\u5fd7\uff0c\u652f\u6301\u8f93\u51fa\u5230\u6587\u4ef6\uff0c\u652f\u6301\u81ea\u5b9a\u4e49\u8f93\u51fa\u7684\u65e5\u5fd7\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"xlogcanlog"},"XLog.CanLog"),(0,n.kt)("p",null,"public static bool CanLog(int level) "),(0,n.kt)("h3",{id:"xlogclearalllog"},"XLog.ClearAllLog"),(0,n.kt)("p",null,"public static void ClearAllLog() "),(0,n.kt)("h3",{id:"xlogdebug"},"XLog.Debug"),(0,n.kt)("p",null,"public static void Debug(string log) "),(0,n.kt)("h3",{id:"xlogenablelog"},"XLog.EnableLog"),(0,n.kt)("p",null,"public static void EnableLog(int logType) "),(0,n.kt)("h3",{id:"xlogerror"},"XLog.Error"),(0,n.kt)("p",null,"public static void Error(string log) "),(0,n.kt)("h3",{id:"xlogflushlog"},"XLog.FlushLog"),(0,n.kt)("p",null,"public static void FlushLog() "),(0,n.kt)("h3",{id:"xloggetnowtime"},"XLog.GetNowTime"),(0,n.kt)("p",null,"public static string GetNowTime(string formatter = null) "),(0,n.kt)("h3",{id:"xloggettimestamp"},"XLog.GetTimestamp"),(0,n.kt)("p",null,"public static ulong GetTimestamp() "),(0,n.kt)("h3",{id:"xloginfo"},"XLog.Info"),(0,n.kt)("p",null,"public static void Info(string log) "),(0,n.kt)("h3",{id:"xloglog"},"XLog.Log"),(0,n.kt)("p",null,"public static void Log(string log) "),(0,n.kt)("h3",{id:"xloglogerror"},"XLog.LogError"),(0,n.kt)("p",null,"public static void LogError(string log) "),(0,n.kt)("h3",{id:"xloglogwarning"},"XLog.LogWarning"),(0,n.kt)("p",null,"public static void LogWarning(string log) "),(0,n.kt)("h3",{id:"xlogproto"},"XLog.Proto"),(0,n.kt)("p",null,"public static void Proto(string log) "),(0,n.kt)("h3",{id:"xlogvital"},"XLog.Vital"),(0,n.kt)("p",null,"public static void Vital(string log) "),(0,n.kt)("h3",{id:"xlogwarning"},"XLog.Warning"),(0,n.kt)("p",null,"public static void Warning(string log) "),(0,n.kt)("h2",{id:"yaxis"},"YAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 y \u8f74\u3002"),(0,n.kt)("h3",{id:"yaxissetdefaultvalue"},"YAxis.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue()",(0,n.kt)("br",{parentName:"p"}),"\n","\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 y \u8f74\u3002"),(0,n.kt)("h2",{id:"yaxis3d"},"YAxis3D"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 y \u8f74\u3002"),(0,n.kt)("h3",{id:"yaxis3dsetdefaultvalue"},"YAxis3D.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue()",(0,n.kt)("br",{parentName:"p"}),"\n","\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 y \u8f74\u3002"),(0,n.kt)("h2",{id:"zaxis3d"},"ZAxis3D"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 y \u8f74\u3002"),(0,n.kt)("h3",{id:"zaxis3dsetdefaultvalue"},"ZAxis3D.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue()",(0,n.kt)("br",{parentName:"p"}),"\n","\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 y \u8f74\u3002"))}h.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/2afe0a8a.cdb47dc1.js b/assets/js/2afe0a8a.cdb47dc1.js new file mode 100644 index 00000000..4c78bb1f --- /dev/null +++ b/assets/js/2afe0a8a.cdb47dc1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4871],{3905:function(e,t,l){l.d(t,{Zo:function(){return k},kt:function(){return u}});var i=l(67294);function a(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}function n(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,i)}return l}function r(e){for(var t=1;t=0||(a[l]=e[l]);return a}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(a[l]=e[l])}return a}var p=i.createContext({}),d=function(e){var t=i.useContext(p),l=t;return e&&(l="function"==typeof e?e(t):r(r({},t),e)),l},k=function(e){var t=d(e.components);return i.createElement(p.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},s=i.forwardRef((function(e,t){var l=e.components,a=e.mdxType,n=e.originalType,p=e.parentName,k=o(e,["components","mdxType","originalType","parentName"]),s=d(l),u=a,h=s["".concat(p,".").concat(u)]||s[u]||m[u]||n;return l?i.createElement(h,r(r({ref:t},k),{},{components:l})):i.createElement(h,r({ref:t},k))}));function u(e,t){var l=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var n=l.length,r=new Array(n);r[0]=s;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o.mdxType="string"==typeof e?e:a,r[1]=o;for(var d=2;d")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xcresourcesimporter"},"XCResourcesImporter")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xcsettings"},"XCSettings"))),(0,n.kt)("h2",{id:"angleaxis"},"AngleAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("p",null,"\u6781\u5750\u6807\u7cfb\u7684\u89d2\u5ea6\u8f74\u3002"),(0,n.kt)("h3",{id:"angleaxisstartangle"},"AngleAxis.startAngle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u8d77\u59cb\u523b\u5ea6\u7684\u89d2\u5ea6\uff0c\u9ed8\u8ba4\u4e3a 0 \u5ea6\uff0c\u5373\u5706\u5fc3\u7684\u6b63\u53f3\u65b9\u3002"),(0,n.kt)("h2",{id:"angleaxistheme"},"AngleAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h2",{id:"animationaddition"},"AnimationAddition"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6570\u636e\u65b0\u589e\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationchange"},"AnimationChange"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6570\u636e\u53d8\u66f4\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationfadein"},"AnimationFadeIn"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6de1\u5165\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationfadeout"},"AnimationFadeOut"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6de1\u51fa\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationhiding"},"AnimationHiding"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6570\u636e\u9690\u85cf\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationinfo"},"AnimationInfo"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#animationfadein"},"AnimationFadeIn"),", ",(0,n.kt)("a",{parentName:"p",href:"#animationfadeout"},"AnimationFadeOut"),", ",(0,n.kt)("a",{parentName:"p",href:"#animationchange"},"AnimationChange"),", ",(0,n.kt)("a",{parentName:"p",href:"#animationaddition"},"AnimationAddition"),", ",(0,n.kt)("a",{parentName:"p",href:"#animationhiding"},"AnimationHiding"),", ",(0,n.kt)("a",{parentName:"p",href:"#animationinteraction"},"AnimationInteraction")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u52a8\u753b\u914d\u7f6e\u53c2\u6570\u3002"),(0,n.kt)("h3",{id:"animationinfodelay"},"AnimationInfo.delay"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u52a8\u753b\u5f00\u59cb\u524d\u7684\u5ef6\u8fdf\u65f6\u95f4\u3002"),(0,n.kt)("h3",{id:"animationinfoduration"},"AnimationInfo.duration"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1000")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u52a8\u753b\u7684\u65f6\u957f\u3002"),(0,n.kt)("h3",{id:"animationinfoenable"},"AnimationInfo.enable"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u52a8\u753b\u6548\u679c\u3002"),(0,n.kt)("h3",{id:"animationinforeverse"},"AnimationInfo.reverse"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u53cd\u5411\u52a8\u753b\u6548\u679c\u3002"),(0,n.kt)("h2",{id:"animationinteraction"},"AnimationInteraction"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u4ea4\u4e92\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationinteractionoffset"},"AnimationInteraction.offset"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#mlvalue"},"MLValue")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u4ea4\u4e92\u7684\u591a\u6837\u5f0f\u6570\u503c\u3002\u5982\u997c\u56fe\u7684\u6247\u5f62\u9009\u4e2d\u65f6\u7684\u504f\u79fb\u3002"),(0,n.kt)("h3",{id:"animationinteractionradius"},"AnimationInteraction.radius"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#mlvalue"},"MLValue")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u534a\u5f84\u7684\u591a\u6837\u5f0f\u6570\u503c\u3002"),(0,n.kt)("h3",{id:"animationinteractionwidth"},"AnimationInteraction.width"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#mlvalue"},"MLValue")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u5bbd\u5ea6\u7684\u591a\u6837\u5f0f\u6570\u503c\u3002"),(0,n.kt)("h2",{id:"animationstyle"},"AnimationStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u52a8\u753b\u7ec4\u4ef6\uff0c\u7528\u4e8e\u63a7\u5236\u56fe\u8868\u7684\u52a8\u753b\u64ad\u653e\u3002\u652f\u6301\u914d\u7f6e\u4e94\u79cd\u52a8\u753b\u8868\u73b0\uff1aFadeIn\uff08\u6e10\u5165\u52a8\u753b\uff09\uff0cFadeOut\uff08\u6e10\u51fa\u52a8\u753b\uff09\uff0cChange\uff08\u53d8\u66f4\u52a8\u753b\uff09\uff0cAddition\uff08\u65b0\u589e\u52a8\u753b\uff09\uff0cInteraction\uff08\u4ea4\u4e92\u52a8\u753b\uff09\u3002 \u6309\u4f5c\u7528\u7684\u5bf9\u8c61\u53ef\u4ee5\u5206\u4e3a\u4e24\u7c7b\uff1aSerieAnimation\uff08\u7cfb\u5217\u52a8\u753b\uff09\u548cDataAnimation\uff08\u6570\u636e\u52a8\u753b\uff09\u3002"),(0,n.kt)("h3",{id:"animationstyleaddition"},"AnimationStyle.addition"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationaddition"},"AnimationAddition")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u6570\u636e\u65b0\u589e\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstylechange"},"AnimationStyle.change"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationchange"},"AnimationChange")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u6570\u636e\u53d8\u66f4\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstyleeasting"},"AnimationStyle.easting"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationeasing"},"AnimationEasing")),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Linear"),": ")),(0,n.kt)("h3",{id:"animationstyleenable"},"AnimationStyle.enable"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u52a8\u753b\u6548\u679c\u3002"),(0,n.kt)("h3",{id:"animationstylefadein"},"AnimationStyle.fadeIn"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationfadein"},"AnimationFadeIn")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u6e10\u5165\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstylefadeout"},"AnimationStyle.fadeOut"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationfadeout"},"AnimationFadeOut")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u6e10\u51fa\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstylehiding"},"AnimationStyle.hiding"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationhiding"},"AnimationHiding")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u6570\u636e\u9690\u85cf\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstyleinteraction"},"AnimationStyle.interaction"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationinteraction"},"AnimationInteraction")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u4ea4\u4e92\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstylethreshold"},"AnimationStyle.threshold"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2000")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u52a8\u753b\u7684\u9608\u503c\uff0c\u5f53\u5355\u4e2a\u7cfb\u5217\u663e\u793a\u7684\u56fe\u5f62\u6570\u91cf\u5927\u4e8e\u8fd9\u4e2a\u9608\u503c\u65f6\u4f1a\u5173\u95ed\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationstyletype"},"AnimationStyle.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationtype"},"AnimationType")),(0,n.kt)("p",null,"\u52a8\u753b\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Default"),": \u9ed8\u8ba4\u3002\u5185\u90e8\u4f1a\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u9009\u62e9\u4e00\u79cd\u52a8\u753b\u64ad\u653e\u65b9\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"LeftToRight"),": \u4ece\u5de6\u5f80\u53f3\u64ad\u653e\u52a8\u753b\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BottomToTop"),": \u4ece\u4e0b\u5f80\u4e0a\u64ad\u653e\u52a8\u753b\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"InsideOut"),": \u7531\u5185\u5230\u5916\u64ad\u653e\u52a8\u753b\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"AlongPath"),": \u6cbf\u7740\u8def\u5f84\u64ad\u653e\u52a8\u753b\u3002\u5f53\u6298\u7ebf\u56fe\u4ece\u5de6\u5230\u53f3\u65e0\u5e8f\u6216\u6709\u6298\u8fd4\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u8be5\u6a21\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Clockwise"),": \u987a\u65f6\u9488\u64ad\u653e\u52a8\u753b\u3002")),(0,n.kt)("h3",{id:"animationstyleunscaledtime"},"AnimationStyle.unscaledTime"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.4.0")),(0,n.kt)("p",null,"\u52a8\u753b\u662f\u5426\u53d7TimeScaled\u7684\u5f71\u54cd\u3002\u9ed8\u8ba4\u4e3a false \u53d7TimeScaled\u7684\u5f71\u54cd\u3002"),(0,n.kt)("h2",{id:"areastyle"},"AreaStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u533a\u57df\u586b\u5145\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"areastylecolor"},"AreaStyle.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u533a\u57df\u586b\u5145\u7684\u989c\u8272\uff0c\u5982\u679ctoColor\u4e0d\u662f\u9ed8\u8ba4\u503c\uff0c\u5219\u8868\u793a\u6e10\u53d8\u8272\u7684\u8d77\u70b9\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"areastyleinnerfill"},"AreaStyle.innerFill"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")),(0,n.kt)("p",null,"\u662f\u5426\u53ea\u586b\u5145\u591a\u8fb9\u5f62\u533a\u57df\u3002\u76ee\u524d\u53ea\u652f\u6301\u51f8\u591a\u8fb9\u5f62\u3002"),(0,n.kt)("h3",{id:"areastyleopacity"},"AreaStyle.opacity"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.6f")),(0,n.kt)("p",null,"\u56fe\u5f62\u900f\u660e\u5ea6\u3002\u652f\u6301\u4ece 0 \u5230 1 \u7684\u6570\u5b57\uff0c\u4e3a 0 \u65f6\u4e0d\u7ed8\u5236\u8be5\u56fe\u5f62\u3002"),(0,n.kt)("h3",{id:"areastyleorigin"},"AreaStyle.origin"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#areastyleareaorigin"},"AreaStyle.AreaOrigin")),(0,n.kt)("p",null,"\u533a\u57df\u586b\u5145\u7684\u8d77\u59cb\u4f4d\u7f6e\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u586b\u5145\u5750\u6807\u8f74\u8f74\u7ebf\u5230\u6570\u636e\u95f4\u7684\u533a\u57df\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Start"),": \u586b\u5145\u5750\u6807\u8f74\u5e95\u90e8\u5230\u6570\u636e\u95f4\u7684\u533a\u57df\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"End"),": \u586b\u5145\u5750\u6807\u8f74\u9876\u90e8\u5230\u6570\u636e\u95f4\u7684\u533a\u57df\u3002")),(0,n.kt)("h3",{id:"areastyleshow"},"AreaStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u533a\u57df\u586b\u5145\u3002"),(0,n.kt)("h3",{id:"areastyletocolor"},"AreaStyle.toColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6e10\u53d8\u8272\u7684\u7ec8\u70b9\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"areastyletotop"},"AreaStyle.toTop"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("p",null,"\u6e10\u53d8\u8272\u662f\u5230\u9876\u90e8\u8fd8\u662f\u5230\u5b9e\u9645\u4f4d\u7f6e\u3002\u9ed8\u8ba4\u4e3atrue\u5230\u9876\u90e8\u3002"),(0,n.kt)("h2",{id:"arrowstyle"},"ArrowStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"arrowstylecolor"},"ArrowStyle.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Color.clear")),(0,n.kt)("p",null,"\u7bad\u5934\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"arrowstyledent"},"ArrowStyle.dent"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"3")),(0,n.kt)("p",null,"\u7bad\u5934\u7684\u51f9\u5ea6\u3002"),(0,n.kt)("h3",{id:"arrowstyleheight"},"ArrowStyle.height"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"15")),(0,n.kt)("p",null,"\u7bad\u5934\u9ad8\u3002"),(0,n.kt)("h3",{id:"arrowstyleoffset"},"ArrowStyle.offset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u7bad\u5934\u504f\u79fb\u3002"),(0,n.kt)("h3",{id:"arrowstylewidth"},"ArrowStyle.width"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"10")),(0,n.kt)("p",null,"\u7bad\u5934\u5bbd\u3002"),(0,n.kt)("h2",{id:"axis"},"Axis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#angleaxis"},"AngleAxis"),", ",(0,n.kt)("a",{parentName:"p",href:"#parallelaxis"},"ParallelAxis"),", ",(0,n.kt)("a",{parentName:"p",href:"#radiusaxis"},"RadiusAxis"),", ",(0,n.kt)("a",{parentName:"p",href:"#singleaxis"},"SingleAxis"),", ",(0,n.kt)("a",{parentName:"p",href:"#xaxis"},"XAxis"),", ",(0,n.kt)("a",{parentName:"p",href:"#xaxis3d"},"XAxis3D"),", ",(0,n.kt)("a",{parentName:"p",href:"#yaxis"},"YAxis"),", ",(0,n.kt)("a",{parentName:"p",href:"#yaxis3d"},"YAxis3D"),", ",(0,n.kt)("a",{parentName:"p",href:"#zaxis3d"},"ZAxis3D")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb\u7684\u5750\u6807\u8f74\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"axisanimation"},"Axis.animation"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisanimation"},"AxisAnimation")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"axisaxislabel"},"Axis.axisLabel"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axislabel"},"AxisLabel")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u523b\u5ea6\u6807\u7b7e\u3002"),(0,n.kt)("h3",{id:"axisaxisline"},"Axis.axisLine"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisline"},"AxisLine")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u8f74\u7ebf\u3002"),(0,n.kt)("h3",{id:"axisaxisname"},"Axis.axisName"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisname"},"AxisName")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"axisaxistick"},"Axis.axisTick"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axistick"},"AxisTick")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u523b\u5ea6\u3002"),(0,n.kt)("h3",{id:"axisboundarygap"},"Axis.boundaryGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u4e24\u8fb9\u662f\u5426\u7559\u767d\u3002\u53ea\u5bf9\u7c7b\u76ee\u8f74\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"axisceilrate"},"Axis.ceilRate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6700\u5927\u6700\u5c0f\u503c\u5411\u4e0a\u53d6\u6574\u7684\u500d\u7387\u3002\u9ed8\u8ba4\u4e3a0\u65f6\u81ea\u52a8\u8ba1\u7b97\u3002"),(0,n.kt)("h3",{id:"axisclockwise"},"Axis.clockwise"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u523b\u5ea6\u589e\u957f\u662f\u5426\u6309\u987a\u65f6\u9488\uff0c\u9ed8\u8ba4\u987a\u65f6\u9488\u3002"),(0,n.kt)("h3",{id:"axisdata"},"Axis.data"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u7c7b\u76ee\u6570\u636e\uff0c\u5728\u7c7b\u76ee\u8f74\uff08type: 'category'\uff09\u4e2d\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"axisgridindex"},"Axis.gridIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u6240\u5728\u7684 grid \u7684\u7d22\u5f15\uff0c\u9ed8\u8ba4\u4f4d\u4e8e\u7b2c\u4e00\u4e2a grid\u3002"),(0,n.kt)("h3",{id:"axisicons"},"Axis.icons"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u7c7b\u76ee\u6570\u636e\u5bf9\u5e94\u7684\u56fe\u6807\u3002"),(0,n.kt)("h3",{id:"axisindicatorlabel"},"Axis.indicatorLabel"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.4.0")),(0,n.kt)("p",null,"\u6307\u793a\u5668\u6587\u672c\u7684\u6837\u5f0f\u3002Tooltip\u4e3aCross\u65f6\u4f7f\u7528\u3002"),(0,n.kt)("h3",{id:"axisinsertdatatohead"},"Axis.insertDataToHead"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u6dfb\u52a0\u65b0\u6570\u636e\u65f6\u662f\u5728\u5217\u8868\u7684\u5934\u90e8\u8fd8\u662f\u5c3e\u90e8\u52a0\u5165\u3002"),(0,n.kt)("h3",{id:"axisinterval"},"Axis.interval"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u5f3a\u5236\u8bbe\u7f6e\u5750\u6807\u8f74\u5206\u5272\u95f4\u9694\u3002\u65e0\u6cd5\u5728\u7c7b\u76ee\u8f74\u4e2d\u4f7f\u7528\u3002"),(0,n.kt)("h3",{id:"axisinverse"},"Axis.inverse"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u53cd\u5411\u5750\u6807\u8f74\u3002\u5728\u7c7b\u76ee\u8f74\u4e2d\u65e0\u6548\u3002"),(0,n.kt)("h3",{id:"axislogbase"},"Axis.logBase"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"10")),(0,n.kt)("p",null,"\u5bf9\u6570\u8f74\u7684\u5e95\u6570\uff0c\u53ea\u5728\u5bf9\u6570\u8f74\uff08type:'Log'\uff09\u4e2d\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"axislogbasee"},"Axis.logBaseE"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u5bf9\u6570\u8f74\u662f\u5426\u4ee5\u81ea\u7136\u6570 e \u4e3a\u5e95\u6570\uff0c\u4e3a true \u65f6 logBase \u5931\u6548\u3002"),(0,n.kt)("h3",{id:"axismax"},"Axis.max"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"\u8bbe\u5b9a\u7684\u5750\u6807\u8f74\u523b\u5ea6\u6700\u5927\u503c\uff0c\u5f53minMaxType\u4e3aCustom\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"axismaxcache"},"Axis.maxCache"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"The first data will be remove when the size of axis data is larger then maxCache."),(0,n.kt)("h3",{id:"axismin"},"Axis.min"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"\u8bbe\u5b9a\u7684\u5750\u6807\u8f74\u523b\u5ea6\u6700\u5c0f\u503c\uff0c\u5f53minMaxType\u4e3aCustom\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"axismincategoryspacing"},"Axis.minCategorySpacing"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")),(0,n.kt)("p",null,"\u7c7b\u76ee\u4e4b\u95f4\u7684\u6700\u5c0f\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"axisminmaxtype"},"Axis.minMaxType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisaxisminmaxtype"},"Axis.AxisMinMaxType")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u523b\u5ea6\u6700\u5927\u6700\u5c0f\u503c\u663e\u793a\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Default"),": 0-\u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"MinMax"),": \u6700\u5c0f\u503c-\u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u6700\u5c0f\u503c\u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"MinMaxAuto"),": ",'[since("v3.7.0")]',"\u6700\u5c0f\u503c-\u6700\u5927\u503c\u3002\u81ea\u52a8\u8ba1\u7b97\u5408\u9002\u7684\u503c\u3002")),(0,n.kt)("h3",{id:"axisminorsplitline"},"Axis.minorSplitLine"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisminorsplitline"},"AxisMinorSplitLine")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u6b21\u5206\u5272\u7ebf\u3002"),(0,n.kt)("h3",{id:"axisminortick"},"Axis.minorTick"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisminortick"},"AxisMinorTick")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u6b21\u523b\u5ea6\u3002"),(0,n.kt)("h3",{id:"axisoffset"},"Axis.offset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u76f8\u5bf9\u9ed8\u8ba4\u4f4d\u7f6e\u7684\u504f\u79fb\u3002\u5728\u76f8\u540cposition\u6709\u591a\u4e2a\u5750\u6807\u8f74\u65f6\u6709\u7528\u3002"),(0,n.kt)("h3",{id:"axisparallelindex"},"Axis.parallelIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u6240\u5728\u7684 parallel \u7684\u7d22\u5f15\uff0c\u9ed8\u8ba4\u4f4d\u4e8e\u7b2c\u4e00\u4e2a parallel\u3002"),(0,n.kt)("h3",{id:"axispolarindex"},"Axis.polarIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u6240\u5728\u7684 ploar \u7684\u7d22\u5f15\uff0c\u9ed8\u8ba4\u4f4d\u4e8e\u7b2c\u4e00\u4e2a polar\u3002"),(0,n.kt)("h3",{id:"axisposition"},"Axis.position"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisaxisposition"},"Axis.AxisPosition")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Left"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Right"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Bottom"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Top"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Center"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e")),(0,n.kt)("h3",{id:"axisshow"},"Axis.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u5750\u6807\u8f74\u3002"),(0,n.kt)("h3",{id:"axissplitarea"},"Axis.splitArea"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axissplitarea"},"AxisSplitArea")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5206\u5272\u533a\u57df\u3002"),(0,n.kt)("h3",{id:"axissplitline"},"Axis.splitLine"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axissplitline"},"AxisSplitLine")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5206\u5272\u7ebf\u3002"),(0,n.kt)("h3",{id:"axissplitnumber"},"Axis.splitNumber"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u7684\u671f\u671b\u7684\u5206\u5272\u6bb5\u6570\u3002\u9ed8\u8ba4\u4e3a0\u8868\u793a\u81ea\u52a8\u5206\u5272\u3002"),(0,n.kt)("h3",{id:"axistype"},"Axis.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisaxistype"},"Axis.AxisType")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Value"),": \u6570\u503c\u8f74\u3002\u9002\u7528\u4e8e\u8fde\u7eed\u6570\u636e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Category"),": \u7c7b\u76ee\u8f74\u3002\u9002\u7528\u4e8e\u79bb\u6563\u7684\u7c7b\u76ee\u6570\u636e\uff0c\u4e3a\u8be5\u7c7b\u578b\u65f6\u5fc5\u987b\u901a\u8fc7 data \u8bbe\u7f6e\u7c7b\u76ee\u6570\u636e\u3002serie\u7684\u6570\u636e\u7b2c0\u7ef4\u6570\u636e\u5bf9\u5e94\u5750\u6807\u8f74data\u7684index\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Log"),": \u5bf9\u6570\u8f74\u3002\u9002\u7528\u4e8e\u5bf9\u6570\u6570\u636e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Time"),": \u65f6\u95f4\u8f74\u3002\u9002\u7528\u4e8e\u8fde\u7eed\u7684\u65f6\u5e8f\u6570\u636e\u3002")),(0,n.kt)("h2",{id:"axisanimation-1"},"AxisAnimation"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.9.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"axisanimationduration"},"AxisAnimation.duration"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u52a8\u753b\u65f6\u957f(ms)\u3002 \u9ed8\u8ba4\u8bbe\u7f6e\u4e3a0\u65f6\uff0c\u4f1a\u81ea\u52a8\u83b7\u53d6serie\u7684\u52a8\u753b\u65f6\u957f\u3002"),(0,n.kt)("h3",{id:"axisanimationshow"},"AxisAnimation.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"axisanimationunscaledtime"},"AxisAnimation.unscaledTime"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u52a8\u753b\u662f\u5426\u53d7TimeScaled\u7684\u5f71\u54cd\u3002\u9ed8\u8ba4\u4e3a false \u53d7TimeScaled\u7684\u5f71\u54cd\u3002"),(0,n.kt)("h2",{id:"axislabel"},"AxisLabel"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u523b\u5ea6\u6807\u7b7e\u7684\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"axislabelinside"},"AxisLabel.inside"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u523b\u5ea6\u6807\u7b7e\u662f\u5426\u671d\u5185\uff0c\u9ed8\u8ba4\u671d\u5916\u3002"),(0,n.kt)("h3",{id:"axislabelinterval"},"AxisLabel.interval"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u523b\u5ea6\u6807\u7b7e\u7684\u663e\u793a\u95f4\u9694\uff0c\u5728\u7c7b\u76ee\u8f74\u4e2d\u6709\u6548\u30020\u8868\u793a\u663e\u793a\u6240\u6709\u6807\u7b7e\uff0c1\u8868\u793a\u9694\u4e00\u4e2a\u9694\u663e\u793a\u4e00\u4e2a\u6807\u7b7e\uff0c\u4ee5\u6b64\u7c7b\u63a8\u3002"),(0,n.kt)("h3",{id:"axislabelonzero"},"AxisLabel.onZero"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u523b\u5ea6\u6807\u7b7e\u663e\u793a\u57280\u523b\u5ea6\u4e0a\u3002"),(0,n.kt)("h3",{id:"axislabelshowaspositivenumber"},"AxisLabel.showAsPositiveNumber"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u5c06\u8d1f\u6570\u6570\u503c\u663e\u793a\u4e3a\u6b63\u6570\u3002\u4e00\u822c\u548c",(0,n.kt)("inlineCode",{parentName:"p"},"Serie"),"\u7684",(0,n.kt)("inlineCode",{parentName:"p"},"showAsPositiveNumber"),"\u914d\u5408\u4f7f\u7528\u3002"),(0,n.kt)("h3",{id:"axislabelshowendlabel"},"AxisLabel.showEndLabel"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6700\u540e\u4e00\u4e2a\u6587\u672c\u3002"),(0,n.kt)("h3",{id:"axislabelshowstartlabel"},"AxisLabel.showStartLabel"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7b2c\u4e00\u4e2a\u6587\u672c\u3002"),(0,n.kt)("h3",{id:"axislabeltextlimit"},"AxisLabel.textLimit"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#textlimit"},"TextLimit")),(0,n.kt)("p",null,"\u6587\u672c\u9650\u5236\u3002"),(0,n.kt)("h2",{id:"axisline"},"AxisLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u8f74\u7ebf\u3002"),(0,n.kt)("h3",{id:"axislinearrow"},"AxisLine.arrow"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#arrowstyle"},"ArrowStyle")),(0,n.kt)("p",null,"\u8f74\u7ebf\u7bad\u5934\u3002"),(0,n.kt)("h3",{id:"axislineonzero"},"AxisLine.onZero"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"X \u8f74\u6216\u8005 Y \u8f74\u7684\u8f74\u7ebf\u662f\u5426\u5728\u53e6\u4e00\u4e2a\u8f74\u7684 0 \u523b\u5ea6\u4e0a\uff0c\u53ea\u6709\u5728\u53e6\u4e00\u4e2a\u8f74\u4e3a\u6570\u503c\u8f74\u4e14\u5305\u542b 0 \u523b\u5ea6\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"axislineshowarrow"},"AxisLine.showArrow"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7bad\u5934\u3002"),(0,n.kt)("h2",{id:"axisminorsplitline-1"},"AxisMinorSplitLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5728 grid \u533a\u57df\u4e2d\u7684\u6b21\u5206\u9694\u7ebf\u3002\u6b21\u5206\u5272\u7ebf\u4f1a\u5bf9\u9f50\u6b21\u523b\u5ea6\u7ebf minorTick\u3002"),(0,n.kt)("h3",{id:"axisminorsplitlineautocolor"},"AxisMinorSplitLine.autoColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u81ea\u52a8\u8bbe\u7f6e\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"axisminorsplitlinedistance"},"AxisMinorSplitLine.distance"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u523b\u5ea6\u7ebf\u4e0e\u8f74\u7ebf\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h2",{id:"axisminortick-1"},"AxisMinorTick"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u6b21\u523b\u5ea6\u76f8\u5173\u8bbe\u7f6e\u3002\u6ce8\u610f\uff1a\u6b21\u523b\u5ea6\u65e0\u6cd5\u5728\u7c7b\u76ee\u8f74\u4e2d\u4f7f\u7528\u3002"),(0,n.kt)("h3",{id:"axisminortickautocolor"},"AxisMinorTick.autoColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("h3",{id:"axisminorticksplitnumber"},"AxisMinorTick.splitNumber"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"5")),(0,n.kt)("p",null,"\u5206\u9694\u7ebf\u4e4b\u95f4\u5206\u5272\u7684\u523b\u5ea6\u6570\u3002"),(0,n.kt)("h2",{id:"axisname"},"AxisName"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"axisnamelabelstyle"},"AxisName.labelStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"axisnamename"},"AxisName.name"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"axisnameonzero"},"AxisName.onZero"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.1.0")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u540d\u79f0\u7684\u4f4d\u7f6e\u662f\u5426\u4fdd\u6301\u548cY\u8f740\u523b\u5ea6\u4e00\u81f4\u3002"),(0,n.kt)("h3",{id:"axisnameshow"},"AxisName.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u5750\u6807\u8f74\u540d\u79f0\u3002"),(0,n.kt)("h2",{id:"axissplitarea-1"},"AxisSplitArea"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5728 grid \u533a\u57df\u4e2d\u7684\u5206\u9694\u533a\u57df\uff0c\u9ed8\u8ba4\u4e0d\u663e\u793a\u3002"),(0,n.kt)("h3",{id:"axissplitareacolor"},"AxisSplitArea.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u5206\u9694\u533a\u57df\u989c\u8272\u3002\u5206\u9694\u533a\u57df\u4f1a\u6309\u6570\u7ec4\u4e2d\u989c\u8272\u7684\u987a\u5e8f\u4f9d\u6b21\u5faa\u73af\u8bbe\u7f6e\u989c\u8272\u3002\u9ed8\u8ba4\u662f\u4e00\u4e2a\u6df1\u6d45\u7684\u95f4\u9694\u8272\u3002"),(0,n.kt)("h3",{id:"axissplitareashow"},"AxisSplitArea.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u5206\u9694\u533a\u57df\u3002"),(0,n.kt)("h2",{id:"axissplitline-1"},"AxisSplitLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5728 grid \u533a\u57df\u4e2d\u7684\u5206\u9694\u7ebf\u3002"),(0,n.kt)("h3",{id:"axissplitlineautocolor"},"AxisSplitLine.autoColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u81ea\u52a8\u8bbe\u7f6e\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"axissplitlinedistance"},"AxisSplitLine.distance"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u523b\u5ea6\u7ebf\u4e0e\u8f74\u7ebf\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"axissplitlineinterval"},"AxisSplitLine.interval"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5206\u9694\u7ebf\u7684\u663e\u793a\u95f4\u9694\u3002"),(0,n.kt)("h3",{id:"axissplitlineshowendline"},"AxisSplitLine.showEndLine"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.3.0")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6700\u540e\u4e00\u6761\u5206\u5272\u7ebf\u3002"),(0,n.kt)("h3",{id:"axissplitlineshowstartline"},"AxisSplitLine.showStartLine"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.3.0")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7b2c\u4e00\u6761\u5206\u5272\u7ebf\u3002"),(0,n.kt)("h3",{id:"axissplitlineshowzline"},"AxisSplitLine.showZLine"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793aZ\u8f74\u90e8\u5206\u5206\u5272\u7ebf\u3002\u4e00\u822c\u7528\u4e8e3D\u5750\u6807\u7cfb\u3002"),(0,n.kt)("h2",{id:"axistheme"},"AxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h2",{id:"axistick"},"AxisTick"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u523b\u5ea6\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"axistickalignwithlabel"},"AxisTick.alignWithLabel"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u7c7b\u76ee\u8f74\u4e2d\u5728 boundaryGap \u4e3a true \u7684\u65f6\u5019\u6709\u6548\uff0c\u53ef\u4ee5\u4fdd\u8bc1\u523b\u5ea6\u7ebf\u548c\u6807\u7b7e\u5bf9\u9f50\u3002"),(0,n.kt)("h3",{id:"axistickautocolor"},"AxisTick.autoColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("h3",{id:"axistickdistance"},"AxisTick.distance"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u523b\u5ea6\u7ebf\u4e0e\u8f74\u7ebf\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"axistickinside"},"AxisTick.inside"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u523b\u5ea6\u662f\u5426\u671d\u5185\uff0c\u9ed8\u8ba4\u671d\u5916\u3002"),(0,n.kt)("h3",{id:"axistickshowendtick"},"AxisTick.showEndTick"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6700\u540e\u4e00\u4e2a\u523b\u5ea6\u3002"),(0,n.kt)("h3",{id:"axistickshowstarttick"},"AxisTick.showStartTick"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7b2c\u4e00\u4e2a\u523b\u5ea6\u3002"),(0,n.kt)("h3",{id:"axisticksplitnumber"},"AxisTick.splitNumber"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u5206\u9694\u7ebf\u4e4b\u95f4\u5206\u5272\u7684\u523b\u5ea6\u6570\u3002"),(0,n.kt)("h2",{id:"background"},"Background"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u80cc\u666f\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"backgroundautocolor"},"Background.autoColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u5f53background\u7ec4\u4ef6\u5f00\u542f\u65f6\uff0c\u662f\u5426\u81ea\u52a8\u4f7f\u7528\u4e3b\u9898\u80cc\u666f\u8272\u4f5c\u4e3abackgrounnd\u7ec4\u4ef6\u7684\u989c\u8272\u3002\u5f53\u8bbe\u7f6e\u4e3afalse\u65f6\uff0c\u7528imageColor\u4f5c\u4e3a\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"backgroundborderstyle"},"Background.borderStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#borderstyle"},"BorderStyle")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u80cc\u666f\u8fb9\u6846\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"backgroundimage"},"Background.image"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Sprite")),(0,n.kt)("p",null,"\u80cc\u666f\u56fe\u3002"),(0,n.kt)("h3",{id:"backgroundimagecolor"},"Background.imageColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u80cc\u666f\u56fe\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"backgroundimageheight"},"Background.imageHeight"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u80cc\u666f\u56fe\u9ad8\u5ea6\u3002"),(0,n.kt)("h3",{id:"backgroundimagetype"},"Background.imageType"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Image.Type")),(0,n.kt)("p",null,"\u80cc\u666f\u56fe\u586b\u5145\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"backgroundimagewidth"},"Background.imageWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u80cc\u666f\u56fe\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"backgroundshow"},"Background.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u542f\u7528\u80cc\u666f\u7ec4\u4ef6\u3002"),(0,n.kt)("h2",{id:"bar"},"Bar"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h2",{id:"baseaxistheme"},"BaseAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axistheme"},"AxisTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#radiusaxistheme"},"RadiusAxisTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#angleaxistheme"},"AngleAxisTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#polaraxistheme"},"PolarAxisTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#radaraxistheme"},"RadarAxisTheme")),(0,n.kt)("h3",{id:"baseaxisthemelinecolor"},"BaseAxisTheme.lineColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u7ebf\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"baseaxisthemelinelength"},"BaseAxisTheme.lineLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u7ebf\u957f\u3002"),(0,n.kt)("h3",{id:"baseaxisthemelinetype"},"BaseAxisTheme.lineType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyletype"},"LineStyle.Type")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u7ebf\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Solid"),": \u5b9e\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dashed"),": \u865a\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dotted"),": \u70b9\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDot"),": \u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDotDot"),": \u53cc\u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u53cc\u70b9\u5212\u7ebf")),(0,n.kt)("h3",{id:"baseaxisthemelinewidth"},"BaseAxisTheme.lineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1f")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u7ebf\u5bbd\u3002"),(0,n.kt)("h3",{id:"baseaxisthememinorsplitlinecolor"},"BaseAxisTheme.minorSplitLineColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6b21\u5206\u5272\u7ebf\u7ebf\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"baseaxisthemesplitareacolors"},"BaseAxisTheme.splitAreaColors"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5206\u9694\u533a\u57df\u7684\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"baseaxisthemesplitlinecolor"},"BaseAxisTheme.splitLineColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u5206\u5272\u7ebf\u7ebf\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"baseaxisthemesplitlinelength"},"BaseAxisTheme.splitLineLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u5206\u5272\u7ebf\u7ebf\u957f\u3002"),(0,n.kt)("h3",{id:"baseaxisthemesplitlinetype"},"BaseAxisTheme.splitLineType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyletype"},"LineStyle.Type")),(0,n.kt)("p",null,"\u5206\u5272\u7ebf\u7ebf\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Solid"),": \u5b9e\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dashed"),": \u865a\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dotted"),": \u70b9\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDot"),": \u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDotDot"),": \u53cc\u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u53cc\u70b9\u5212\u7ebf")),(0,n.kt)("h3",{id:"baseaxisthemesplitlinewidth"},"BaseAxisTheme.splitLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1f")),(0,n.kt)("p",null,"\u5206\u5272\u7ebf\u7ebf\u5bbd\u3002"),(0,n.kt)("h3",{id:"baseaxisthemetickcolor"},"BaseAxisTheme.tickColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u7ebf\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"baseaxisthemeticklength"},"BaseAxisTheme.tickLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"5f")),(0,n.kt)("p",null,"\u523b\u5ea6\u7ebf\u7ebf\u957f\u3002"),(0,n.kt)("h3",{id:"baseaxisthemetickwidth"},"BaseAxisTheme.tickWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1f")),(0,n.kt)("p",null,"\u523b\u5ea6\u7ebf\u7ebf\u5bbd\u3002"),(0,n.kt)("h2",{id:"baseline"},"BaseLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axisline"},"AxisLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#axisminorsplitline"},"AxisMinorSplitLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#axisminortick"},"AxisMinorTick"),", ",(0,n.kt)("a",{parentName:"p",href:"#axissplitline"},"AxisSplitLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#axistick"},"AxisTick")),(0,n.kt)("p",null,"\u7ebf\u6761\u57fa\u7840\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"baselinelinestyle"},"BaseLine.lineStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle")),(0,n.kt)("p",null,"\u7ebf\u6761\u6837\u5f0f"),(0,n.kt)("h3",{id:"baselineshow"},"BaseLine.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u5750\u6807\u8f74\u8f74\u7ebf\u3002"),(0,n.kt)("h2",{id:"basescatter"},"BaseScatter"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#effectscatter"},"EffectScatter"),", ",(0,n.kt)("a",{parentName:"p",href:"#scatter"},"Scatter")),(0,n.kt)("h2",{id:"baseserie"},"BaseSerie"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie")),(0,n.kt)("h2",{id:"blurstyle"},"BlurStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#statestyle"},"StateStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6de1\u51fa\u72b6\u6001\u6837\u5f0f\u3002"),(0,n.kt)("h2",{id:"borderstyle"},"BorderStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u8fb9\u6846\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"borderstylebordercolor"},"BorderStyle.borderColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u8fb9\u6846\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"borderstyleborderwidth"},"BorderStyle.borderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u8fb9\u6846\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"borderstylecornerradius"},"BorderStyle.cornerRadius"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u5706\u89d2\u534a\u5f84\u3002\u7528\u6570\u7ec4\u5206\u522b\u6307\u5b9a4\u4e2a\u5706\u89d2\u534a\u5f84\uff08\u987a\u65f6\u9488\u5de6\u4e0a\uff0c\u53f3\u4e0a\uff0c\u53f3\u4e0b\uff0c\u5de6\u4e0b\uff09\u3002\u5f53\u4e3a(1,1,1,1)\u65f6\u4e3a\u5168\u5706\u89d2\u3002"),(0,n.kt)("h3",{id:"borderstyleroundedcorner"},"BorderStyle.roundedCorner"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u5706\u89d2\u3002"),(0,n.kt)("h3",{id:"borderstyleshow"},"BorderStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u8fb9\u6846\u3002"),(0,n.kt)("h2",{id:"calendarcoord"},"CalendarCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),", ",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("h2",{id:"candlestick"},"Candlestick"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h2",{id:"charttext"},"ChartText"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"childcomponent"},"ChildComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#animationstyle"},"AnimationStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#axisanimation"},"AxisAnimation"),", ",(0,n.kt)("a",{parentName:"p",href:"#axisname"},"AxisName"),", ",(0,n.kt)("a",{parentName:"p",href:"#axissplitarea"},"AxisSplitArea"),", ",(0,n.kt)("a",{parentName:"p",href:"#areastyle"},"AreaStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#arrowstyle"},"ArrowStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#borderstyle"},"BorderStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#iconstyle"},"IconStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#imagestyle"},"ImageStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#itemstyle"},"ItemStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#level"},"Level"),", ",(0,n.kt)("a",{parentName:"p",href:"#levelstyle"},"LevelStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#linearrow"},"LineArrow"),", ",(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#location"},"Location"),", ",(0,n.kt)("a",{parentName:"p",href:"#mlvalue"},"MLValue"),", ",(0,n.kt)("a",{parentName:"p",href:"#marqueestyle"},"MarqueeStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#padding"},"Padding"),", ",(0,n.kt)("a",{parentName:"p",href:"#stagecolor"},"StageColor"),", ",(0,n.kt)("a",{parentName:"p",href:"#symbolstyle"},"SymbolStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#textlimit"},"TextLimit"),", ",(0,n.kt)("a",{parentName:"p",href:"#textstyle"},"TextStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#commentitem"},"CommentItem"),", ",(0,n.kt)("a",{parentName:"p",href:"#commentmarkstyle"},"CommentMarkStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#labelline"},"LabelLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#markareadata"},"MarkAreaData"),", ",(0,n.kt)("a",{parentName:"p",href:"#marklinedata"},"MarkLineData"),", ",(0,n.kt)("a",{parentName:"p",href:"#statestyle"},"StateStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#visualmaprange"},"VisualMapRange"),", ",(0,n.kt)("a",{parentName:"p",href:"#viewcontrol"},"ViewControl"),", ",(0,n.kt)("a",{parentName:"p",href:"#uicomponenttheme"},"UIComponentTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#seriedata"},"SerieData"),", ",(0,n.kt)("a",{parentName:"p",href:"#seriedatalink"},"SerieDataLink"),", ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#serietheme"},"SerieTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#themestyle"},"ThemeStyle")),(0,n.kt)("h2",{id:"comment"},"Comment"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#ipropertychanged"},"IPropertyChanged")),(0,n.kt)("p",null,"\u56fe\u8868\u6ce8\u89e3\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"commentitems"},"Comment.items"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u6ce8\u89e3\u9879\u3002\u6bcf\u4e2a\u6ce8\u89e3\u7ec4\u4ef6\u53ef\u4ee5\u8bbe\u7f6e\u591a\u4e2a\u6ce8\u89e3\u9879\u3002"),(0,n.kt)("h3",{id:"commentlabelstyle"},"Comment.labelStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u6240\u6709\u7ec4\u4ef6\u7684\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"commentmarkstyle"},"Comment.markStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#commentmarkstyle"},"CommentMarkStyle")),(0,n.kt)("p",null,"\u6240\u6709\u7ec4\u4ef6\u7684\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"commentshow"},"Comment.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6ce8\u89e3\u7ec4\u4ef6\u3002"),(0,n.kt)("h2",{id:"commentitem"},"CommentItem"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6ce8\u89e3\u9879\u3002"),(0,n.kt)("h3",{id:"commentitemcontent"},"CommentItem.content"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6ce8\u89e3\u7684\u6587\u672c\u5185\u5bb9\u3002\u652f\u6301\u6a21\u677f\u53c2\u6570\uff0c\u53ef\u4ee5\u53c2\u8003Tooltip\u7684itemFormatter\u3002"),(0,n.kt)("h3",{id:"commentitemlabelstyle"},"CommentItem.labelStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u6ce8\u89e3\u9879\u7684\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"commentitemlocation"},"CommentItem.location"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#location"},"Location")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.5.0")),(0,n.kt)("p",null,"Comment\u663e\u793a\u7684\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"commentitemmarkrect"},"CommentItem.markRect"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Rect")),(0,n.kt)("p",null,"\u6ce8\u89e3\u533a\u57df\u3002"),(0,n.kt)("h3",{id:"commentitemmarkstyle"},"CommentItem.markStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#commentmarkstyle"},"CommentMarkStyle")),(0,n.kt)("p",null,"\u6ce8\u89e3\u6807\u8bb0\u533a\u57df\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"commentitemshow"},"CommentItem.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u5f53\u524d\u6ce8\u89e3\u9879\u3002"),(0,n.kt)("h2",{id:"commentmarkstyle-1"},"CommentMarkStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6ce8\u89e3\u9879\u533a\u57df\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"commentmarkstylelinestyle"},"CommentMarkStyle.lineStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle")),(0,n.kt)("p",null,"\u7ebf\u6761\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"commentmarkstyleshow"},"CommentMarkStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u5f53\u524d\u6ce8\u89e3\u9879\u3002"),(0,n.kt)("h2",{id:"componenttheme"},"ComponentTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#datazoomtheme"},"DataZoomTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#legendtheme"},"LegendTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#subtitletheme"},"SubTitleTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#titletheme"},"TitleTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#tooltiptheme"},"TooltipTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#visualmaptheme"},"VisualMapTheme")),(0,n.kt)("h3",{id:"componentthemefont"},"ComponentTheme.font"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Font")),(0,n.kt)("p",null,"\u5b57\u4f53\u3002"),(0,n.kt)("h3",{id:"componentthemefontsize"},"ComponentTheme.fontSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"18")),(0,n.kt)("p",null,"\u6587\u672c\u5b57\u4f53\u5927\u5c0f\u3002"),(0,n.kt)("h3",{id:"componentthemetextbackgroundcolor"},"ComponentTheme.textBackgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u6587\u672c\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"componentthemetextcolor"},"ComponentTheme.textColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u6587\u672c\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"componentthemetmpfont"},"ComponentTheme.tMPFont"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"TMP_FontAsset")),(0,n.kt)("p",null,"\u5b57\u4f53\u3002"),(0,n.kt)("h2",{id:"coordsystem"},"CoordSystem"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#radarcoord"},"RadarCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#calendarcoord"},"CalendarCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#gridcoord"},"GridCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#gridcoord3d"},"GridCoord3D"),", ",(0,n.kt)("a",{parentName:"p",href:"#parallelcoord"},"ParallelCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#polarcoord"},"PolarCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#singleaxiscoord"},"SingleAxisCoord")),(0,n.kt)("p",null,"\u5750\u6807\u7cfb\u7cfb\u7edf\u3002"),(0,n.kt)("h2",{id:"datazoom"},"DataZoom"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData")),(0,n.kt)("p",null,"DataZoom \u7ec4\u4ef6 \u7528\u4e8e\u533a\u57df\u7f29\u653e\uff0c\u4ece\u800c\u80fd\u81ea\u7531\u5173\u6ce8\u7ec6\u8282\u7684\u6570\u636e\u4fe1\u606f\uff0c\u6216\u8005\u6982\u89c8\u6570\u636e\u6574\u4f53\uff0c\u6216\u8005\u53bb\u9664\u79bb\u7fa4\u70b9\u7684\u5f71\u54cd\u3002"),(0,n.kt)("h3",{id:"datazoomareastyle"},"DataZoom.areaStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#areastyle"},"AreaStyle")),(0,n.kt)("p",null,"\u9634\u5f71\u586b\u5145\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"datazoombackgroundcolor"},"DataZoom.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u7684\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"datazoombordercolor"},"DataZoom.borderColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u8fb9\u6846\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"datazoomborderwidth"},"DataZoom.borderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u8fb9\u6846\u5bbd\u3002"),(0,n.kt)("h3",{id:"datazoombottom"},"DataZoom.bottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0b\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"datazoomenable"},"DataZoom.enable"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7f29\u653e\u533a\u57df\u3002"),(0,n.kt)("h3",{id:"datazoomend"},"DataZoom.end"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6570\u636e\u7a97\u53e3\u8303\u56f4\u7684\u7ed3\u675f\u767e\u5206\u6bd4\u3002\u8303\u56f4\u662f\uff1a0 ~ 100\u3002"),(0,n.kt)("h3",{id:"datazoomendlock"},"DataZoom.endLock"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("p",null,"\u56fa\u5b9a\u7ed3\u675f\u503c\uff0c\u4e0d\u8ba9\u6539\u53d8\u3002"),(0,n.kt)("h3",{id:"datazoomfillercolor"},"DataZoom.fillerColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6570\u636e\u533a\u57df\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"datazoomfiltermode"},"DataZoom.filterMode"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#datazoomfiltermode"},"DataZoom.FilterMode")),(0,n.kt)("p",null,"\u6570\u636e\u8fc7\u6ee4\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Filter"),": \u5f53\u524d\u6570\u636e\u7a97\u53e3\u5916\u7684\u6570\u636e\uff0c\u88ab \u8fc7\u6ee4\u6389\u3002\u5373 \u4f1a \u5f71\u54cd\u5176\u4ed6\u8f74\u7684\u6570\u636e\u8303\u56f4\u3002\u6bcf\u4e2a\u6570\u636e\u9879\uff0c\u53ea\u8981\u6709\u4e00\u4e2a\u7ef4\u5ea6\u5728\u6570\u636e\u7a97\u53e3\u5916\uff0c\u6574\u4e2a\u6570\u636e\u9879\u5c31\u4f1a\u88ab\u8fc7\u6ee4\u6389\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"WeakFilter"),": \u5f53\u524d\u6570\u636e\u7a97\u53e3\u5916\u7684\u6570\u636e\uff0c\u88ab \u8fc7\u6ee4\u6389\u3002\u5373 \u4f1a \u5f71\u54cd\u5176\u4ed6\u8f74\u7684\u6570\u636e\u8303\u56f4\u3002\u6bcf\u4e2a\u6570\u636e\u9879\uff0c\u53ea\u6709\u5f53\u5168\u90e8\u7ef4\u5ea6\u90fd\u5728\u6570\u636e\u7a97\u53e3\u540c\u4fa7\u5916\u90e8\uff0c\u6574\u4e2a\u6570\u636e\u9879\u624d\u4f1a\u88ab\u8fc7\u6ee4\u6389\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Empty"),": \u5f53\u524d\u6570\u636e\u7a97\u53e3\u5916\u7684\u6570\u636e\uff0c\u88ab \u8bbe\u7f6e\u4e3a\u7a7a\u3002\u5373 \u4e0d\u4f1a \u5f71\u54cd\u5176\u4ed6\u8f74\u7684\u6570\u636e\u8303\u56f4\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4e0d\u8fc7\u6ee4\u6570\u636e\uff0c\u53ea\u6539\u53d8\u6570\u8f74\u8303\u56f4\u3002")),(0,n.kt)("h3",{id:"datazoomlabelstyle"},"DataZoom.labelStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u6587\u672c\u6807\u7b7e\u683c\u5f0f\u3002"),(0,n.kt)("h3",{id:"datazoomleft"},"DataZoom.left"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u5de6\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"datazoomlinestyle"},"DataZoom.lineStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle")),(0,n.kt)("p",null,"\u9634\u5f71\u7ebf\u6761\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"datazoommarqueestyle"},"DataZoom.marqueeStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#marqueestyle"},"MarqueeStyle")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.5.0")),(0,n.kt)("p",null,"\u9009\u53d6\u6846\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"datazoomminshownum"},"DataZoom.minShowNum"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2")),(0,n.kt)("p",null,"\u6700\u5c0f\u663e\u793a\u6570\u636e\u4e2a\u6570\u3002\u5f53DataZoom\u653e\u5927\u5230\u6700\u5927\u65f6\uff0c\u6700\u5c0f\u663e\u793a\u7684\u6570\u636e\u4e2a\u6570\u3002"),(0,n.kt)("h3",{id:"datazoomorient"},"DataZoom.orient"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#orient"},"Orient")),(0,n.kt)("p",null,"\u5e03\u5c40\u65b9\u5f0f\u662f\u6a2a\u8fd8\u662f\u7ad6\u3002\u4e0d\u4ec5\u662f\u5e03\u5c40\u65b9\u5f0f\uff0c\u5bf9\u4e8e\u76f4\u89d2\u5750\u6807\u7cfb\u800c\u8a00\uff0c\u4e5f\u51b3\u5b9a\u4e86\uff0c\u7f3a\u7701\u60c5\u51b5\u63a7\u5236\u6a2a\u5411\u6570\u8f74\u8fd8\u662f\u7eb5\u5411\u6570\u8f74\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Horizonal"),": \u6c34\u5e73"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Vertical"),": \u5782\u76f4")),(0,n.kt)("h3",{id:"datazoomrangemode"},"DataZoom.rangeMode"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#datazoomrangemode"},"DataZoom.RangeMode")),(0,n.kt)("p",null,"\u53d6\u7edd\u5bf9\u503c\u8fd8\u662f\u767e\u5206\u6bd4\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"//Value"),": The value type of start and end.\u53d6\u503c\u7c7b\u578b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Percent"),": \u767e\u5206\u6bd4\u3002")),(0,n.kt)("h3",{id:"datazoomright"},"DataZoom.right"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u53f3\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"datazoomscrollsensitivity"},"DataZoom.scrollSensitivity"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1.1f")),(0,n.kt)("p",null,"\u7f29\u653e\u533a\u57df\u7ec4\u4ef6\u7684\u654f\u611f\u5ea6\u3002\u503c\u8d8a\u9ad8\u6bcf\u6b21\u7f29\u653e\u6240\u4ee3\u8868\u7684\u6570\u636e\u8d8a\u591a\u3002"),(0,n.kt)("h3",{id:"datazoomshowdatashadow"},"DataZoom.showDataShadow"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6570\u636e\u9634\u5f71\u3002\u6570\u636e\u9634\u5f71\u53ef\u4ee5\u7b80\u5355\u5730\u53cd\u5e94\u6570\u636e\u8d70\u52bf\u3002"),(0,n.kt)("h3",{id:"datazoomshowdetail"},"DataZoom.showDetail"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793adetail\uff0c\u5373\u62d6\u62fd\u65f6\u5019\u663e\u793a\u8be6\u7ec6\u6570\u503c\u4fe1\u606f\u3002"),(0,n.kt)("h3",{id:"datazoomstart"},"DataZoom.start"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6570\u636e\u7a97\u53e3\u8303\u56f4\u7684\u8d77\u59cb\u767e\u5206\u6bd4\u3002\u8303\u56f4\u662f\uff1a0 ~ 100\u3002"),(0,n.kt)("h3",{id:"datazoomstartlock"},"DataZoom.startLock"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("p",null,"\u56fa\u5b9a\u8d77\u59cb\u503c\uff0c\u4e0d\u8ba9\u6539\u53d8\u3002"),(0,n.kt)("h3",{id:"datazoomsupportinside"},"DataZoom.supportInside"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u652f\u6301\u5185\u7f6e\u3002\u5185\u7f6e\u4e8e\u5750\u6807\u7cfb\u4e2d\uff0c\u4f7f\u7528\u6237\u53ef\u4ee5\u5728\u5750\u6807\u7cfb\u4e0a\u901a\u8fc7\u9f20\u6807\u62d6\u62fd\u3001\u9f20\u6807\u6eda\u8f6e\u3001\u624b\u6307\u6ed1\u52a8\uff08\u89e6\u5c4f\u4e0a\uff09\u6765\u7f29\u653e\u6216\u6f2b\u6e38\u5750\u6807\u7cfb\u3002"),(0,n.kt)("h3",{id:"datazoomsupportinsidedrag"},"DataZoom.supportInsideDrag"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u652f\u6301\u5750\u6807\u7cfb\u5185\u62d6\u62fd"),(0,n.kt)("h3",{id:"datazoomsupportinsidescroll"},"DataZoom.supportInsideScroll"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u652f\u6301\u5750\u6807\u7cfb\u5185\u6eda\u52a8"),(0,n.kt)("h3",{id:"datazoomsupportmarquee"},"DataZoom.supportMarquee"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u652f\u6301\u6846\u9009\u3002\u63d0\u4f9b\u4e00\u4e2a\u9009\u6846\u8fdb\u884c\u6570\u636e\u533a\u57df\u7f29\u653e\u3002"),(0,n.kt)("h3",{id:"datazoomsupportslider"},"DataZoom.supportSlider"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u652f\u6301\u6ed1\u52a8\u6761\u3002\u6709\u5355\u72ec\u7684\u6ed1\u52a8\u6761\uff0c\u7528\u6237\u5728\u6ed1\u52a8\u6761\u4e0a\u8fdb\u884c\u7f29\u653e\u6216\u6f2b\u6e38\u3002"),(0,n.kt)("h3",{id:"datazoomtop"},"DataZoom.top"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0a\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"datazoomxaxisindexs"},"DataZoom.xAxisIndexs"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u63a7\u5236\u7684 x \u8f74\u7d22\u5f15\u5217\u8868\u3002"),(0,n.kt)("h3",{id:"datazoomyaxisindexs"},"DataZoom.yAxisIndexs"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u63a7\u5236\u7684 y \u8f74\u7d22\u5f15\u5217\u8868\u3002"),(0,n.kt)("h3",{id:"datazoomzoomlock"},"DataZoom.zoomLock"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u9501\u5b9a\u9009\u62e9\u533a\u57df\uff08\u6216\u53eb\u505a\u6570\u636e\u7a97\u53e3\uff09\u7684\u5927\u5c0f\u3002 \u5982\u679c\u8bbe\u7f6e\u4e3a true \u5219\u9501\u5b9a\u9009\u62e9\u533a\u57df\u7684\u5927\u5c0f\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u53ea\u80fd\u5e73\u79fb\uff0c\u4e0d\u80fd\u7f29\u653e\u3002"),(0,n.kt)("h2",{id:"datazoomtheme"},"DataZoomTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"datazoomthemebackgroundcolor"},"DataZoomTheme.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"datazoomthemebordercolor"},"DataZoomTheme.borderColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u8fb9\u6846\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"datazoomthemeborderwidth"},"DataZoomTheme.borderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u8fb9\u6846\u7ebf\u5bbd\u3002"),(0,n.kt)("h3",{id:"datazoomthemedataareacolor"},"DataZoomTheme.dataAreaColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6570\u636e\u9634\u5f71\u7684\u586b\u5145\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"datazoomthemedatalinecolor"},"DataZoomTheme.dataLineColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6570\u636e\u9634\u5f71\u7684\u7ebf\u6761\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"datazoomthemedatalinewidth"},"DataZoomTheme.dataLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6570\u636e\u9634\u5f71\u7ebf\u5bbd\u3002"),(0,n.kt)("h3",{id:"datazoomthemefillercolor"},"DataZoomTheme.fillerColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6570\u636e\u533a\u57df\u989c\u8272\u3002"),(0,n.kt)("h2",{id:"debuginfo"},"DebugInfo"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"debuginfofoldseries"},"DebugInfo.foldSeries"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u5728Inspector\u4e0a\u6298\u53e0Serie\u3002"),(0,n.kt)("h3",{id:"debuginfolabelstyle"},"DebugInfo.labelStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("h3",{id:"debuginfoshow"},"DebugInfo.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793aDebug\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"debuginfoshowallchartobject"},"DebugInfo.showAllChartObject"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u5728Hierarchy\u8bd5\u56fe\u663e\u793a\u6240\u6709chart\u4e0b\u7684\u8282\u70b9\u3002"),(0,n.kt)("h3",{id:"debuginfoshowdebuginfo"},"DebugInfo.showDebugInfo"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("h2",{id:"effectscatter"},"EffectScatter"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basescatter"},"BaseScatter")),(0,n.kt)("h2",{id:"emphasisstyle"},"EmphasisStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#statestyle"},"StateStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u9ad8\u4eae\u72b6\u6001\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"emphasisstyleblurscope"},"EmphasisStyle.blurScope"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#emphasisstyleblurscope"},"EmphasisStyle.BlurScope")),(0,n.kt)("p",null,"\u5728\u5f00\u542ffocus\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u901a\u8fc7blurScope\u914d\u7f6e\u6de1\u51fa\u7684\u8303\u56f4\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"GridCoord"),": \u6de1\u51fa\u8303\u56f4\u4e3a\u5750\u6807\u7cfb\uff0c\u9ed8\u8ba4\u4f7f\u7528\u8be5\u914d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Series"),": \u6de1\u51fa\u8303\u56f4\u4e3a\u7cfb\u5217\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Global"),": \u6de1\u51fa\u8303\u56f4\u4e3a\u5168\u5c40\u3002")),(0,n.kt)("h3",{id:"emphasisstylefocus"},"EmphasisStyle.focus"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#emphasisstylefocustype"},"EmphasisStyle.FocusType")),(0,n.kt)("p",null,"\u5728\u9ad8\u4eae\u56fe\u5f62\u65f6\uff0c\u662f\u5426\u6de1\u51fa\u5176\u5b83\u6570\u636e\u7684\u56fe\u5f62\u5df2\u8fbe\u5230\u805a\u7126\u7684\u6548\u679c\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4e0d\u6de1\u51fa\u5176\u5b83\u56fe\u5f62\uff0c\u9ed8\u8ba4\u4f7f\u7528\u8be5\u914d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Self"),": \u53ea\u805a\u7126\uff08\u4e0d\u6de1\u51fa\uff09\u5f53\u524d\u9ad8\u4eae\u7684\u6570\u636e\u7684\u56fe\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Series"),": \u805a\u7126\u5f53\u524d\u9ad8\u4eae\u7684\u6570\u636e\u6240\u5728\u7684\u7cfb\u5217\u7684\u6240\u6709\u56fe\u5f62\u3002")),(0,n.kt)("h3",{id:"emphasisstylescale"},"EmphasisStyle.scale"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1.1f")),(0,n.kt)("p",null,"\u9ad8\u4eae\u65f6\u7684\u7f29\u653e\u500d\u6570\u3002"),(0,n.kt)("h2",{id:"endlabelstyle"},"EndLabelStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("h2",{id:"gridcoord"},"GridCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),", ",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("p",null,"Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid."),(0,n.kt)("h3",{id:"gridcoordbackgroundcolor"},"GridCoord.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u7f51\u683c\u80cc\u666f\u8272\uff0c\u9ed8\u8ba4\u900f\u660e\u3002"),(0,n.kt)("h3",{id:"gridcoordbordercolor"},"GridCoord.borderColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u7f51\u683c\u8fb9\u6846\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"gridcoordborderwidth"},"GridCoord.borderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u7f51\u683c\u8fb9\u6846\u5bbd\u3002"),(0,n.kt)("h3",{id:"gridcoordbottom"},"GridCoord.bottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.14f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0b\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridcoordlayoutindex"},"GridCoord.layoutIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"-1")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u7f51\u683c\u6240\u5c5e\u7684\u7f51\u683c\u5e03\u5c40\u7ec4\u4ef6\u7684\u7d22\u5f15\u3002\u9ed8\u8ba4\u4e3a-1\uff0c\u8868\u793a\u4e0d\u5c5e\u4e8e\u4efb\u4f55\u7f51\u683c\u5e03\u5c40\u7ec4\u4ef6\u3002\u5f53\u8bbe\u7f6e\u4e86\u8be5\u503c\u65f6\uff0cleft\u3001right\u3001top\u3001bottom\u5c5e\u6027\u5c06\u5931\u6548\u3002"),(0,n.kt)("h3",{id:"gridcoordleft"},"GridCoord.left"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.11f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u5de6\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridcoordright"},"GridCoord.right"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.08f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u53f3\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridcoordshow"},"GridCoord.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u76f4\u89d2\u5750\u6807\u7cfb\u7f51\u683c\u3002"),(0,n.kt)("h3",{id:"gridcoordshowborder"},"GridCoord.showBorder"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7f51\u683c\u8fb9\u6846\u3002"),(0,n.kt)("h3",{id:"gridcoordtop"},"GridCoord.top"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.22f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0a\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h2",{id:"gridcoord3d"},"GridCoord3D"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),", ",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid."),(0,n.kt)("h3",{id:"gridcoord3dbottom"},"GridCoord3D.bottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.15f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0b\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridcoord3dboxdepth"},"GridCoord3D.boxDepth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.2f")),(0,n.kt)("p",null,"\u5750\u6807\u7cfb\u7684\u6df1\u5ea6\u3002"),(0,n.kt)("h3",{id:"gridcoord3dboxheight"},"GridCoord3D.boxHeight"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.4f")),(0,n.kt)("p",null,"\u5750\u6807\u7cfb\u7684\u9ad8\u5ea6\u3002"),(0,n.kt)("h3",{id:"gridcoord3dboxwidth"},"GridCoord3D.boxWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.55f")),(0,n.kt)("p",null,"\u5750\u6807\u7cfb\u7684\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"gridcoord3dleft"},"GridCoord3D.left"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.15f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u5de6\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridcoord3dright"},"GridCoord3D.right"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.2f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u53f3\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridcoord3dshow"},"GridCoord3D.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u76f4\u89d2\u5750\u6807\u7cfb\u7f51\u683c\u3002"),(0,n.kt)("h3",{id:"gridcoord3dshowborder"},"GridCoord3D.showBorder"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7f51\u683c\u8fb9\u6846\u3002"),(0,n.kt)("h3",{id:"gridcoord3dtop"},"GridCoord3D.top"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.3f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0a\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridcoord3dviewcontrol"},"GridCoord3D.viewControl"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#viewcontrol"},"ViewControl")),(0,n.kt)("p",null,"3D\u89c6\u89d2\u63a7\u5236\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"gridcoord3dxyexchanged"},"GridCoord3D.xYExchanged"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("h2",{id:"gridlayout"},"GridLayout"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u7f51\u683c\u5e03\u5c40\u7ec4\u4ef6\u3002\u7528\u4e8e\u7ba1\u7406\u591a\u4e2a",(0,n.kt)("inlineCode",{parentName:"p"},"GridCoord"),"\u7684\u5e03\u5c40\uff0c\u53ef\u4ee5\u901a\u8fc7",(0,n.kt)("inlineCode",{parentName:"p"},"row"),"\u548c",(0,n.kt)("inlineCode",{parentName:"p"},"column"),"\u6765\u63a7\u5236\u7f51\u683c\u7684\u884c\u5217\u6570\u3002"),(0,n.kt)("h3",{id:"gridlayoutbottom"},"GridLayout.bottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.12f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0b\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridlayoutcolumn"},"GridLayout.column"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2")),(0,n.kt)("p",null,"\u7f51\u683c\u5e03\u5c40\u7684\u5217\u6570\u3002"),(0,n.kt)("h3",{id:"gridlayoutinverse"},"GridLayout.inverse"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u53cd\u8f6c\u7f51\u683c\u5e03\u5c40\u3002"),(0,n.kt)("h3",{id:"gridlayoutleft"},"GridLayout.left"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.1f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u5de6\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridlayoutright"},"GridLayout.right"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.08f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u53f3\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridlayoutrow"},"GridLayout.row"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2")),(0,n.kt)("p",null,"\u7f51\u683c\u5e03\u5c40\u7684\u884c\u6570\u3002"),(0,n.kt)("h3",{id:"gridlayoutshow"},"GridLayout.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u76f4\u89d2\u5750\u6807\u7cfb\u7f51\u683c\u3002"),(0,n.kt)("h3",{id:"gridlayoutspacing"},"GridLayout.spacing"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Vector2")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Vector2.zero")),(0,n.kt)("p",null,"\u7f51\u683c\u5e03\u5c40\u7684\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"gridlayouttop"},"GridLayout.top"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.22f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0a\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h2",{id:"heatmap"},"Heatmap"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h3",{id:"heatmapheatmaptype"},"Heatmap.heatmapType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#heatmaptype"},"HeatmapType")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.3.0")),(0,n.kt)("p",null,"\u70ed\u529b\u56fe\u7c7b\u578b\u3002\u901a\u8fc7\u989c\u8272\u6620\u5c04\u5212\u5206\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Data"),": \u6570\u636e\u6620\u5c04\u578b\u3002\u9ed8\u8ba4\u7528\u7b2c2\u7ef4\u6570\u636e\u4f5c\u4e3a\u989c\u8272\u6620\u5c04\u3002\u8981\u6c42\u6570\u636e\u81f3\u5c11\u67093\u4e2a\u7ef4\u5ea6\u6570\u636e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Count"),": \u4e2a\u6570\u6620\u5c04\u578b\u3002\u7edf\u8ba1\u6570\u636e\u5728\u5212\u5206\u7684\u683c\u5b50\u4e2d\u51fa\u73b0\u7684\u6b21\u6570\uff0c\u4f5c\u4e3a\u989c\u8272\u6620\u5c04\u3002\u8981\u6c42\u6570\u636e\u81f3\u5c11\u67092\u4e2a\u7ef4\u5ea6\u6570\u636e\u3002")),(0,n.kt)("h2",{id:"iconstyle"},"IconStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"iconstylealign"},"IconStyle.align"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#align"},"Align")),(0,n.kt)("p",null,"\u6c34\u5e73\u65b9\u5411\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Center"),": \u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Left"),": \u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Right"),": \u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002")),(0,n.kt)("h3",{id:"iconstyleautohidewhenlabelempty"},"IconStyle.autoHideWhenLabelEmpty"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u5f53label\u5185\u5bb9\u4e3a\u7a7a\u65f6\u662f\u5426\u81ea\u52a8\u9690\u85cf\u56fe\u6807"),(0,n.kt)("h3",{id:"iconstylecolor"},"IconStyle.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u56fe\u6807\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"iconstyleheight"},"IconStyle.height"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"20")),(0,n.kt)("p",null,"\u56fe\u6807\u9ad8\u3002"),(0,n.kt)("h3",{id:"iconstylelayer"},"IconStyle.layer"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#iconstylelayer"},"IconStyle.Layer")),(0,n.kt)("p",null,"\u663e\u793a\u5728\u4e0a\u5c42\u8fd8\u662f\u5728\u4e0b\u5c42\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"UnderText"),": The icon is display under the label text. \u56fe\u6807\u5728\u6807\u7b7e\u6587\u5b57\u4e0b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"AboveText"),": The icon is display above the label text. \u56fe\u6807\u5728\u6807\u7b7e\u6587\u5b57\u4e0a")),(0,n.kt)("h3",{id:"iconstyleoffset"},"IconStyle.offset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Vector3")),(0,n.kt)("p",null,"\u56fe\u6807\u504f\u79fb\u3002"),(0,n.kt)("h3",{id:"iconstyleshow"},"IconStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u56fe\u6807\u3002"),(0,n.kt)("h3",{id:"iconstylesprite"},"IconStyle.sprite"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Sprite")),(0,n.kt)("p",null,"\u56fe\u6807\u7684\u56fe\u7247\u3002"),(0,n.kt)("h3",{id:"iconstyletype"},"IconStyle.type"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Image.Type")),(0,n.kt)("p",null,"\u56fe\u7247\u7684\u663e\u793a\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"iconstylewidth"},"IconStyle.width"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"20")),(0,n.kt)("p",null,"\u56fe\u6807\u5bbd\u3002"),(0,n.kt)("h2",{id:"imagestyle"},"ImageStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("h3",{id:"imagestyleautocolor"},"ImageStyle.autoColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u81ea\u52a8\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"imagestylecolor"},"ImageStyle.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u56fe\u6807\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"imagestyleheight"},"ImageStyle.height"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u56fe\u6807\u9ad8\u3002"),(0,n.kt)("h3",{id:"imagestyleshow"},"ImageStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u56fe\u6807\u3002"),(0,n.kt)("h3",{id:"imagestylesprite"},"ImageStyle.sprite"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Sprite")),(0,n.kt)("p",null,"\u56fe\u6807\u7684\u56fe\u7247\u3002"),(0,n.kt)("h3",{id:"imagestyletype"},"ImageStyle.type"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Image.Type")),(0,n.kt)("p",null,"\u56fe\u7247\u7684\u663e\u793a\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"imagestylewidth"},"ImageStyle.width"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u56fe\u6807\u5bbd\u3002"),(0,n.kt)("h2",{id:"indicator"},"Indicator"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u7684\u6307\u793a\u5668\uff0c\u7528\u6765\u6307\u5b9a\u96f7\u8fbe\u56fe\u4e2d\u7684\u591a\u4e2a\u53d8\u91cf\uff08\u7ef4\u5ea6\uff09\u3002"),(0,n.kt)("h3",{id:"indicatoraxisline"},"Indicator.axisLine"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisline"},"AxisLine")),(0,n.kt)("p",null,"\u8f74\u7ebf\u3002"),(0,n.kt)("h3",{id:"indicatoraxisname"},"Indicator.axisName"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisname"},"AxisName")),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u6bcf\u4e2a\u6307\u793a\u5668\u540d\u79f0\u7684\u914d\u7f6e\u9879\u3002"),(0,n.kt)("h3",{id:"indicatorceilrate"},"Indicator.ceilRate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6700\u5927\u6700\u5c0f\u503c\u5411\u4e0a\u53d6\u6574\u7684\u500d\u7387\u3002\u9ed8\u8ba4\u4e3a0\u65f6\u81ea\u52a8\u8ba1\u7b97\u3002"),(0,n.kt)("h3",{id:"indicatorcenter"},"Indicator.center"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u7684\u4e2d\u5fc3\u70b9\u3002\u6570\u7ec4\u7684\u7b2c\u4e00\u9879\u662f\u6a2a\u5750\u6807\uff0c\u7b2c\u4e8c\u9879\u662f\u7eb5\u5750\u6807\u3002 \u5f53\u503c\u4e3a0-1\u4e4b\u95f4\u65f6\u8868\u793a\u767e\u5206\u6bd4\uff0c\u8bbe\u7f6e\u6210\u767e\u5206\u6bd4\u65f6\u7b2c\u4e00\u9879\u662f\u76f8\u5bf9\u4e8e\u5bb9\u5668\u5bbd\u5ea6\uff0c\u7b2c\u4e8c\u9879\u662f\u76f8\u5bf9\u4e8e\u5bb9\u5668\u9ad8\u5ea6\u3002"),(0,n.kt)("h3",{id:"indicatorconnectcenter"},"Indicator.connectCenter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u6570\u503c\u662f\u5426\u8fde\u7ebf\u5230\u4e2d\u5fc3\u70b9\u3002"),(0,n.kt)("h3",{id:"indicatorgridindex"},"Indicator.gridIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"-1")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u6240\u4f7f\u7528\u7684 layout \u7ec4\u4ef6\u7684 index\u3002 \u9ed8\u8ba4\u4e3a-1\u4e0d\u6307\u5b9aindex, \u5f53\u4e3a\u5927\u4e8e\u6216\u7b49\u4e8e0\u65f6, \u4e3a\u7b2c\u4e00\u4e2alayout\u7ec4\u4ef6\u7684\u7b2cindex\u4e2a\u683c\u5b50\u3002"),(0,n.kt)("h3",{id:"indicatorindicator"},"Indicator.indicator"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6307\u793a\u5668\u3002"),(0,n.kt)("h3",{id:"indicatorindicatorgap"},"Indicator.indicatorGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"10")),(0,n.kt)("p",null,"\u6307\u793a\u5668\u548c\u96f7\u8fbe\u7684\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"indicatorindicatorlist"},"Indicator.indicatorList"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u6307\u793a\u5668\u5217\u8868\u3002"),(0,n.kt)("h3",{id:"indicatorisaxistooltip"},"Indicator.isAxisTooltip"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426Tooltip\u663e\u793a\u8f74\u7ebf\u4e0a\u7684\u6240\u6709\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"indicatorlinegradient"},"Indicator.lineGradient"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u6570\u503c\u7ebf\u6bb5\u662f\u5426\u9700\u8981\u6e10\u53d8\u3002"),(0,n.kt)("h3",{id:"indicatormax"},"Indicator.max"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"\u6307\u793a\u5668\u7684\u6700\u5927\u503c\uff0c\u9ed8\u8ba4\u4e3a 0 \u65e0\u9650\u5236\u3002"),(0,n.kt)("h3",{id:"indicatormin"},"Indicator.min"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"\u6307\u793a\u5668\u7684\u6700\u5c0f\u503c\uff0c\u9ed8\u8ba4\u4e3a 0 \u65e0\u9650\u5236\u3002"),(0,n.kt)("h3",{id:"indicatorname"},"Indicator.name"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6307\u793a\u5668\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"indicatoroutrangecolor"},"Indicator.outRangeColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Color.red")),(0,n.kt)("p",null,"\u6570\u503c\u8d85\u51fa\u8303\u56f4\u65f6\u663e\u793a\u7684\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"indicatorpositiontype"},"Indicator.positionType"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"PositionType")),(0,n.kt)("p",null,"\u663e\u793a\u4f4d\u7f6e\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"indicatorradius"},"Indicator.radius"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"100")),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u7684\u534a\u5f84\u3002"),(0,n.kt)("h3",{id:"indicatorrange"},"Indicator.range"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double[]")),(0,n.kt)("p",null,"\u6b63\u5e38\u503c\u8303\u56f4\u3002\u5f53\u6570\u503c\u4e0d\u5728\u8fd9\u4e2a\u8303\u56f4\u65f6\uff0c\u4f1a\u81ea\u52a8\u53d8\u66f4\u663e\u793a\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"indicatorshape"},"Indicator.shape"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Shape")),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u7ed8\u5236\u7c7b\u578b\uff0c\u652f\u6301 'Polygon' \u548c 'Circle'\u3002"),(0,n.kt)("h3",{id:"indicatorshow"},"Indicator.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u96f7\u8fbe\u5750\u6807\u7cfb\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"indicatorsplitarea"},"Indicator.splitArea"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axissplitarea"},"AxisSplitArea")),(0,n.kt)("p",null,"\u5206\u5272\u533a\u57df\u3002"),(0,n.kt)("h3",{id:"indicatorsplitline"},"Indicator.splitLine"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axissplitline"},"AxisSplitLine")),(0,n.kt)("p",null,"\u5206\u5272\u7ebf\u3002"),(0,n.kt)("h3",{id:"indicatorsplitnumber"},"Indicator.splitNumber"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"5")),(0,n.kt)("p",null,"\u6307\u793a\u5668\u8f74\u7684\u5206\u5272\u6bb5\u6570\u3002"),(0,n.kt)("h3",{id:"indicatorstartangle"},"Indicator.startAngle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.4.0")),(0,n.kt)("p",null,"\u8d77\u59cb\u89d2\u5ea6\u3002\u548c\u65f6\u949f\u4e00\u6837\uff0c12\u70b9\u949f\u4f4d\u7f6e\u662f0\u5ea6\uff0c\u987a\u65f6\u9488\u5230360\u5ea6\u3002"),(0,n.kt)("h2",{id:"ineedseriecontainer"},"INeedSerieContainer"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#bar"},"Bar"),", ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedbar"},"SimplifiedBar"),", ",(0,n.kt)("a",{parentName:"p",href:"#candlestick"},"Candlestick"),", ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedcandlestick"},"SimplifiedCandlestick"),", ",(0,n.kt)("a",{parentName:"p",href:"#heatmap"},"Heatmap"),", ",(0,n.kt)("a",{parentName:"p",href:"#line"},"Line"),", ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedline"},"SimplifiedLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#parallel"},"Parallel"),", ",(0,n.kt)("a",{parentName:"p",href:"#radar"},"Radar"),", ",(0,n.kt)("a",{parentName:"p",href:"#basescatter"},"BaseScatter")),(0,n.kt)("h2",{id:"ipropertychanged"},"IPropertyChanged"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#location"},"Location"),", ",(0,n.kt)("a",{parentName:"p",href:"#comment"},"Comment"),", ",(0,n.kt)("a",{parentName:"p",href:"#legend"},"Legend"),", ",(0,n.kt)("a",{parentName:"p",href:"#title"},"Title")),(0,n.kt)("p",null,"\u5c5e\u6027\u53d8\u66f4\u63a5\u53e3"),(0,n.kt)("h2",{id:"iseriecomponent"},"ISerieComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#areastyle"},"AreaStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#imagestyle"},"ImageStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#linearrow"},"LineArrow"),", ",(0,n.kt)("a",{parentName:"p",href:"#labelline"},"LabelLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#blurstyle"},"BlurStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#emphasisstyle"},"EmphasisStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#selectstyle"},"SelectStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#titlestyle"},"TitleStyle")),(0,n.kt)("p",null,"\u53ef\u7528\u4e8eSerie\u7684\u7ec4\u4ef6\u3002"),(0,n.kt)("h2",{id:"iseriecontainer"},"ISerieContainer"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#radarcoord"},"RadarCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#calendarcoord"},"CalendarCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#gridcoord"},"GridCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#gridcoord3d"},"GridCoord3D"),", ",(0,n.kt)("a",{parentName:"p",href:"#parallelcoord"},"ParallelCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#polarcoord"},"PolarCoord")),(0,n.kt)("h2",{id:"iseriedatacomponent"},"ISerieDataComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#areastyle"},"AreaStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#imagestyle"},"ImageStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#itemstyle"},"ItemStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#seriesymbol"},"SerieSymbol"),", ",(0,n.kt)("a",{parentName:"p",href:"#labelline"},"LabelLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#blurstyle"},"BlurStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#emphasisstyle"},"EmphasisStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#selectstyle"},"SelectStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#titlestyle"},"TitleStyle")),(0,n.kt)("p",null,"\u53ef\u7528\u4e8eSerieData\u7684\u7ec4\u4ef6\u3002"),(0,n.kt)("h2",{id:"isimplifiedserie"},"ISimplifiedSerie"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedbar"},"SimplifiedBar"),", ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedcandlestick"},"SimplifiedCandlestick"),", ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedline"},"SimplifiedLine")),(0,n.kt)("h2",{id:"itemstyle"},"ItemStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u56fe\u5f62\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"itemstylebackgroundcolor"},"ItemStyle.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"itemstylebackgroundwidth"},"ItemStyle.backgroundWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u80cc\u666f\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"itemstylebordercolor"},"ItemStyle.borderColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u8fb9\u6846\u7684\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"itemstylebordercolor0"},"ItemStyle.borderColor0"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u8fb9\u6846\u7684\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"itemstylebordergap"},"ItemStyle.borderGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u8fb9\u6846\u95f4\u9699\u3002"),(0,n.kt)("h3",{id:"itemstylebordertocolor"},"ItemStyle.borderToColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u8fb9\u6846\u7684\u6e10\u53d8\u8272\u3002"),(0,n.kt)("h3",{id:"itemstyleborderwidth"},"ItemStyle.borderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u8fb9\u6846\u5bbd\u3002"),(0,n.kt)("h3",{id:"itemstylecentercolor"},"ItemStyle.centerColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u4e2d\u5fc3\u533a\u57df\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"itemstylecentergap"},"ItemStyle.centerGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u4e2d\u5fc3\u533a\u57df\u95f4\u9699\u3002"),(0,n.kt)("h3",{id:"itemstylecolor"},"ItemStyle.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"itemstylecolor0"},"ItemStyle.color0"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"itemstylecornerradius"},"ItemStyle.cornerRadius"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u5706\u89d2\u534a\u5f84\u3002\u7528\u6570\u7ec4\u5206\u522b\u6307\u5b9a4\u4e2a\u5706\u89d2\u534a\u5f84\uff08\u987a\u65f6\u9488\u5de6\u4e0a\uff0c\u53f3\u4e0a\uff0c\u53f3\u4e0b\uff0c\u5de6\u4e0b\uff09\u3002"),(0,n.kt)("h3",{id:"itemstyleitemformatter"},"ItemStyle.itemFormatter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u5355\u9879\u7684\u5b57\u7b26\u4e32\u6a21\u7248\u683c\u5f0f\u5668\u3002\u5177\u4f53\u914d\u7f6e\u53c2\u8003",(0,n.kt)("inlineCode",{parentName:"p"},"Tooltip"),"\u7684",(0,n.kt)("inlineCode",{parentName:"p"},"formatter")),(0,n.kt)("h3",{id:"itemstyleitemmarker"},"ItemStyle.itemMarker"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u5355\u9879\u7684\u5b57\u7b26\u6807\u5fd7\u3002\u7528\u5728Tooltip\u4e2d\u3002"),(0,n.kt)("h3",{id:"itemstylemarkcolor"},"ItemStyle.markColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("p",null,"Serie\u7684\u6807\u8bc6\u989c\u8272\u3002\u4ec5\u7528\u4e8eLegend\u548cTooltip\u7684\u5c55\u793a\uff0c\u4e0d\u5f71\u54cd\u7ed8\u5236\u989c\u8272\uff0c\u9ed8\u8ba4\u4e3aclear\u3002"),(0,n.kt)("h3",{id:"itemstylenumericformatter"},"ItemStyle.numericFormatter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6807\u51c6\u6570\u5b57\u548c\u65e5\u671f\u683c\u5f0f\u5b57\u7b26\u4e32\u3002\u7528\u4e8e\u5c06Double\u6570\u503c\u6216DateTime\u65e5\u671f\u683c\u5f0f\u5316\u663e\u793a\u4e3a\u5b57\u7b26\u4e32\u3002numericFormatter\u7528\u6765\u4f5c\u4e3aDouble.ToString()\u6216DateTime.ToString()\u7684\u53c2\u6570\u3002",(0,n.kt)("br",null)," \u6570\u5b57\u683c\u5f0f\u4f7f\u7528Axx\u7684\u5f62\u5f0f\uff1aA\u662f\u683c\u5f0f\u8bf4\u660e\u7b26\u7684\u5355\u5b57\u7b26\uff0c\u652f\u6301C\u8d27\u5e01\u3001D\u5341\u8fdb\u5236\u3001E\u6307\u6570\u3001F\u5b9a\u70b9\u6570\u3001G\u5e38\u89c4\u3001N\u6570\u5b57\u3001P\u767e\u5206\u6bd4\u3001R\u5f80\u8fd4\u3001X\u5341\u516d\u8fdb\u5236\u7684\u3002xx\u662f\u7cbe\u5ea6\u8bf4\u660e\uff0c\u4ece0-99\u3002\u5982\uff1aF1, E2",(0,n.kt)("br",null)," \u65e5\u671f\u683c\u5f0f\uff1a\u4ee5",(0,n.kt)("inlineCode",{parentName:"p"},"date"),"\u5f00\u5934\uff0c\u7528\u6765\u683c\u5f0f\u5316DateTime\uff0c\u5e38\u89c1\u683c\u5f0f\u6709\uff1ayyyy\u5e74\uff0cMM\u6708\uff0cdd\u65e5\uff0cHH\u65f6\uff0cmm\u5206\uff0css\u79d2\uff0cfff\u6beb\u79d2\u3002\u5982\uff1adate:yyyy-MM-dd HH:mm:ss",(0,n.kt)("br",null)," \u65f6\u95f4\u683c\u5f0f\uff1a\u4ee5",(0,n.kt)("inlineCode",{parentName:"p"},"time"),"\u5f00\u5934\uff0c\u7528\u6765\u683c\u5f0f\u5316TimeSpan\uff0c\u5e38\u89c1\u683c\u5f0f\u6709\uff1ad\u65e5\uff0cHH\u65f6\uff0cmm\u5206\uff0css\u79d2\uff0cfffffff\u5c0f\u6570\u90e8\u5206\u3002 \u9700\u8981Unity2018\u4ee5\u4e0a\u7248\u672c\u624d\u652f\u6301\u683c\u5f0f\u5316\uff0c\u5e76\u4e14\u91cc\u9762\u7684\u5b57\u7b26\u8981\u8f6c\u4e49\u3002\u5982\uff1atime:d",".","HH\\:mm\\:ss",(0,n.kt)("br",null)," \u6570\u503c\u683c\u5f0f\u5316\u53c2\u8003\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings"},"https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings")," ",(0,n.kt)("br",null)," \u65e5\u671f\u683c\u5f0f\u5316\u53c2\u8003\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings"},"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings")," ",(0,n.kt)("br",null)," \u65f6\u95f4\u683c\u5f0f\u5316\u53c2\u8003\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings"},"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings")," ",(0,n.kt)("br",null)," \u6ce8\u610f\uff1adate\u548ctime\u683c\u5f0f\u9700\u8981",(0,n.kt)("inlineCode",{parentName:"p"},"v3.12.0"),"\u4ee5\u4e0a\u7248\u672c\u624d\u652f\u6301\u3002"),(0,n.kt)("h3",{id:"itemstyleopacity"},"ItemStyle.opacity"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1")),(0,n.kt)("p",null,"\u900f\u660e\u5ea6\u3002\u652f\u6301\u4ece 0 \u5230 1 \u7684\u6570\u5b57\uff0c\u4e3a 0 \u65f6\u4e0d\u7ed8\u5236\u8be5\u56fe\u5f62\u3002"),(0,n.kt)("h3",{id:"itemstyleshow"},"ItemStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u542f\u7528\u3002"),(0,n.kt)("h3",{id:"itemstyletocolor"},"ItemStyle.toColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6e10\u53d8\u8272\u7684\u989c\u82721\u3002"),(0,n.kt)("h3",{id:"itemstyletocolor2"},"ItemStyle.toColor2"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6e10\u53d8\u8272\u7684\u989c\u82722\u3002\u53ea\u5728\u6298\u7ebf\u56fe\u4e2d\u6709\u6548\u3002"),(0,n.kt)("h2",{id:"iupdateruntimedata"},"IUpdateRuntimeData"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#singleaxis"},"SingleAxis"),", ",(0,n.kt)("a",{parentName:"p",href:"#datazoom"},"DataZoom"),", ",(0,n.kt)("a",{parentName:"p",href:"#calendarcoord"},"CalendarCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#gridcoord"},"GridCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#gridlayout"},"GridLayout"),", ",(0,n.kt)("a",{parentName:"p",href:"#gridcoord3d"},"GridCoord3D"),", ",(0,n.kt)("a",{parentName:"p",href:"#parallelcoord"},"ParallelCoord")),(0,n.kt)("h2",{id:"labelline"},"LabelLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u6807\u7b7e\u7684\u5f15\u5bfc\u7ebf"),(0,n.kt)("h3",{id:"labellineendsymbol"},"LabelLine.endSymbol"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#symbolstyle"},"SymbolStyle")),(0,n.kt)("p",null,"\u7ed3\u675f\u70b9\u7684\u56fe\u5f62\u6807\u8bb0\u3002"),(0,n.kt)("h3",{id:"labellinelineangle"},"LabelLine.lineAngle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"60")),(0,n.kt)("p",null,"\u89c6\u89c9\u5f15\u5bfc\u7ebf\u7684\u56fa\u5b9a\u89d2\u5ea6\u3002\u5bf9\u6298\u7ebf\u548c\u66f2\u7ebf\u6709\u6548\u3002\u5728Pie\u4e2d\u65e0\u6548\u3002"),(0,n.kt)("h3",{id:"labellinelinecolor"},"LabelLine.lineColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Color32(0,0,0,0)")),(0,n.kt)("p",null,"\u89c6\u89c9\u5f15\u5bfc\u7ebf\u989c\u8272\u3002\u9ed8\u8ba4\u548cserie\u4e00\u81f4\u53d6\u81ea\u8c03\u8272\u677f\u3002"),(0,n.kt)("h3",{id:"labellinelineendx"},"LabelLine.lineEndX"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u89c6\u89c9\u5f15\u5bfc\u7ebf\u7ed3\u675f\u70b9\u7684\u56fa\u5b9ax\u4f4d\u7f6e\u3002\u5f53\u4e0d\u4e3a0\u65f6\uff0c\u4f1a\u4ee3\u66fflineLength2\u8bbe\u5b9a\u5f15\u5bfc\u7ebf\u7684x\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"labellinelinegap"},"LabelLine.lineGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1.0f")),(0,n.kt)("p",null,"\u89c6\u89c9\u5f15\u5bfc\u7ebf\u548c\u5bb9\u5668\u7684\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"labellinelinelength1"},"LabelLine.lineLength1"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"25f")),(0,n.kt)("p",null,"\u89c6\u89c9\u5f15\u5bfc\u7ebf\u7b2c\u4e00\u6bb5\u7684\u957f\u5ea6\u3002"),(0,n.kt)("h3",{id:"labellinelinelength2"},"LabelLine.lineLength2"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"15f")),(0,n.kt)("p",null,"\u89c6\u89c9\u5f15\u5bfc\u7ebf\u7b2c\u4e8c\u6bb5\u7684\u957f\u5ea6\u3002"),(0,n.kt)("h3",{id:"labellinelinetype"},"LabelLine.lineType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labellinelinetype"},"LabelLine.LineType")),(0,n.kt)("p",null,"\u89c6\u89c9\u5f15\u5bfc\u7ebf\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BrokenLine"),": \u6298\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Curves"),": \u66f2\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"HorizontalLine"),": \u6c34\u5e73\u7ebf")),(0,n.kt)("h3",{id:"labellinelinewidth"},"LabelLine.lineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1.0f")),(0,n.kt)("p",null,"\u89c6\u89c9\u5f15\u5bfc\u7ebf\u7684\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"labellineshow"},"LabelLine.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u89c6\u89c9\u5f15\u5bfc\u7ebf\u3002"),(0,n.kt)("h3",{id:"labellinestartsymbol"},"LabelLine.startSymbol"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#symbolstyle"},"SymbolStyle")),(0,n.kt)("p",null,"\u8d77\u59cb\u70b9\u7684\u56fe\u5f62\u6807\u8bb0\u3002"),(0,n.kt)("h2",{id:"labelstyle"},"LabelStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axislabel"},"AxisLabel"),", ",(0,n.kt)("a",{parentName:"p",href:"#endlabelstyle"},"EndLabelStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#titlestyle"},"TitleStyle")),(0,n.kt)("p",null,"\u56fe\u5f62\u4e0a\u7684\u6587\u672c\u6807\u7b7e\uff0c\u53ef\u7528\u4e8e\u8bf4\u660e\u56fe\u5f62\u7684\u4e00\u4e9b\u6570\u636e\u4fe1\u606f\uff0c\u6bd4\u5982\u503c\uff0c\u540d\u79f0\u7b49\u3002"),(0,n.kt)("h3",{id:"labelstyleautooffset"},"LabelStyle.autoOffset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u81ea\u52a8\u504f\u79fb\u3002\u5f53\u5f00\u542f\u65f6\uff0cY\u7684\u504f\u79fb\u4f1a\u81ea\u52a8\u5224\u65ad\u66f2\u7ebf\u7684\u5f00\u53e3\u6765\u51b3\u5b9a\u5411\u4e0a\u8fd8\u662f\u5411\u4e0b\u504f\u79fb\u3002"),(0,n.kt)("h3",{id:"labelstyleautorotate"},"LabelStyle.autoRotate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("p",null,"\u662f\u5426\u81ea\u52a8\u65cb\u8f6c\u3002"),(0,n.kt)("h3",{id:"labelstylebackground"},"LabelStyle.background"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#imagestyle"},"ImageStyle")),(0,n.kt)("p",null,"\u80cc\u666f\u56fe\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"labelstyledistance"},"LabelStyle.distance"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u8ddd\u79bb\u8f74\u7ebf\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"labelstyleformatter"},"LabelStyle.formatter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6807\u7b7e\u5185\u5bb9\u5b57\u7b26\u4e32\u6a21\u7248\u683c\u5f0f\u5668\u3002\u652f\u6301\u7528 \\n \u6362\u884c\u3002\u90e8\u5206\u7ec4\u4ef6\u7684\u683c\u5f0f\u5668\u4f1a\u4e0d\u751f\u6548\u3002",(0,n.kt)("br",null)," \u6a21\u677f\u901a\u914d\u7b26\u6709\u4ee5\u4e0b\u8fd9\u4e9b\uff0c\u90e8\u5206\u53ea\u9002\u7528\u4e8e\u56fa\u5b9a\u7684\u7ec4\u4ef6\uff1a",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{.}"),"\uff1a\u5706\u70b9\u6807\u8bb0\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{a}"),"\uff1a\u7cfb\u5217\u540d\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{b}"),"\uff1aX\u8f74\u7c7b\u76ee\u540d\u6216\u6570\u636e\u540d\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{c}"),"\uff1a\u6570\u636e\u503c\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{d}"),"\uff1a\u767e\u5206\u6bd4\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{e}"),"\uff1a\u6570\u636e\u540d\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{f}"),"\uff1a\u6570\u636e\u548c\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{g}"),"\uff1a\u6570\u636e\u603b\u4e2a\u6570\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{h}"),"\uff1a\u5341\u516d\u8fdb\u5236\u989c\u8272\u503c\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{y}"),"\uff1aY\u8f74\u7684\u7c7b\u76ee\u540d\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{value}"),"\uff1a\u5750\u6807\u8f74\u6216\u56fe\u4f8b\u7684\u503c\u3002",(0,n.kt)("br",null)," \u4ee5\u4e0b\u901a\u914d\u7b26\u9002\u7528UITable\u7ec4\u4ef6\uff1a",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{name}"),"\uff1a \u8868\u683c\u7684\u884c\u540d\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{index}"),"\uff1a\u8868\u683c\u7684\u884c\u53f7\u3002",(0,n.kt)("br",null)," \u4ee5\u4e0b\u901a\u914d\u7b26\u9002\u7528UIStatistc\u7ec4\u4ef6\uff1a",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{title}"),"\uff1a\u6807\u9898\u6587\u672c\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{dd}"),"\uff1a\u5929\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{hh}"),"\uff1a\u5c0f\u65f6\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{mm}"),"\uff1a\u5206\u949f\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{ss}"),"\uff1a\u79d2\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{fff}"),"\uff1a\u6beb\u79d2\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{d}"),"\uff1a\u5929\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{h}"),"\uff1a\u5c0f\u65f6\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{m}"),"\uff1a\u5206\u949f\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{s}"),"\uff1a\u79d2\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{f}"),"\uff1a\u6beb\u79d2\u3002",(0,n.kt)("br",null)," \u793a\u4f8b\uff1a\u201c{b}:{c}\u201d"),(0,n.kt)("h3",{id:"labelstyleheight"},"LabelStyle.height"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6807\u7b7e\u7684\u9ad8\u5ea6\u3002\u4e00\u822c\u4e0d\u7528\u6307\u5b9a\uff0c\u4e0d\u6307\u5b9a\u65f6\u5219\u81ea\u52a8\u662f\u6587\u5b57\u7684\u9ad8\u5ea6\u3002"),(0,n.kt)("h3",{id:"labelstyleicon"},"LabelStyle.icon"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#iconstyle"},"IconStyle")),(0,n.kt)("p",null,"\u56fe\u6807\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"labelstylenumericformatter"},"LabelStyle.numericFormatter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6807\u51c6\u6570\u5b57\u548c\u65e5\u671f\u683c\u5f0f\u5b57\u7b26\u4e32\u3002\u7528\u4e8e\u5c06Double\u6570\u503c\u6216DateTime\u65e5\u671f\u683c\u5f0f\u5316\u663e\u793a\u4e3a\u5b57\u7b26\u4e32\u3002numericFormatter\u7528\u6765\u4f5c\u4e3aDouble.ToString()\u6216DateTime.ToString()\u7684\u53c2\u6570\u3002",(0,n.kt)("br",null)," \u6570\u5b57\u683c\u5f0f\u4f7f\u7528Axx\u7684\u5f62\u5f0f\uff1aA\u662f\u683c\u5f0f\u8bf4\u660e\u7b26\u7684\u5355\u5b57\u7b26\uff0c\u652f\u6301C\u8d27\u5e01\u3001D\u5341\u8fdb\u5236\u3001E\u6307\u6570\u3001F\u5b9a\u70b9\u6570\u3001G\u5e38\u89c4\u3001N\u6570\u5b57\u3001P\u767e\u5206\u6bd4\u3001R\u5f80\u8fd4\u3001X\u5341\u516d\u8fdb\u5236\u7684\u3002xx\u662f\u7cbe\u5ea6\u8bf4\u660e\uff0c\u4ece0-99\u3002\u5982\uff1aF1, E2",(0,n.kt)("br",null)," \u65e5\u671f\u683c\u5f0f\uff1a\u4ee5",(0,n.kt)("inlineCode",{parentName:"p"},"date"),"\u5f00\u5934\uff0c\u7528\u6765\u683c\u5f0f\u5316DateTime\uff0c\u5e38\u89c1\u683c\u5f0f\u6709\uff1ayyyy\u5e74\uff0cMM\u6708\uff0cdd\u65e5\uff0cHH\u65f6\uff0cmm\u5206\uff0css\u79d2\uff0cfff\u6beb\u79d2\u3002\u5982\uff1adate:yyyy-MM-dd HH:mm:ss",(0,n.kt)("br",null)," \u65f6\u95f4\u683c\u5f0f\uff1a\u4ee5",(0,n.kt)("inlineCode",{parentName:"p"},"time"),"\u5f00\u5934\uff0c\u7528\u6765\u683c\u5f0f\u5316TimeSpan\uff0c\u5e38\u89c1\u683c\u5f0f\u6709\uff1ad\u65e5\uff0cHH\u65f6\uff0cmm\u5206\uff0css\u79d2\uff0cfffffff\u5c0f\u6570\u90e8\u5206\u3002 \u9700\u8981Unity2018\u4ee5\u4e0a\u7248\u672c\u624d\u652f\u6301\u683c\u5f0f\u5316\uff0c\u5e76\u4e14\u91cc\u9762\u7684\u5b57\u7b26\u8981\u8f6c\u4e49\u3002\u5982\uff1atime:d",".","HH\\:mm\\:ss",(0,n.kt)("br",null)," \u6570\u503c\u683c\u5f0f\u5316\u53c2\u8003\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings"},"https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings")," ",(0,n.kt)("br",null)," \u65e5\u671f\u683c\u5f0f\u5316\u53c2\u8003\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings"},"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings")," ",(0,n.kt)("br",null)," \u65f6\u95f4\u683c\u5f0f\u5316\u53c2\u8003\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings"},"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings")," ",(0,n.kt)("br",null)," \u6ce8\u610f\uff1adate\u548ctime\u683c\u5f0f\u9700\u8981",(0,n.kt)("inlineCode",{parentName:"p"},"v3.12.0"),"\u4ee5\u4e0a\u7248\u672c\u624d\u652f\u6301\u3002"),(0,n.kt)("h3",{id:"labelstyleoffset"},"LabelStyle.offset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Vector3")),(0,n.kt)("p",null,"\u8ddd\u79bb\u56fe\u5f62\u5143\u7d20\u7684\u504f\u79fb"),(0,n.kt)("h3",{id:"labelstyleposition"},"LabelStyle.Position"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"[SerializeField]")),(0,n.kt)("p",null,"\u6807\u7b7e\u7684\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"labelstylerotate"},"LabelStyle.rotate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6587\u672c\u7684\u65cb\u8f6c\u3002"),(0,n.kt)("h3",{id:"labelstyleshow"},"LabelStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6587\u672c\u6807\u7b7e\u3002"),(0,n.kt)("h3",{id:"labelstyletextpadding"},"LabelStyle.textPadding"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#textpadding"},"TextPadding")),(0,n.kt)("p",null,"\u6587\u672c\u7684\u8fb9\u8ddd\u3002"),(0,n.kt)("h3",{id:"labelstyletextstyle"},"LabelStyle.textStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#textstyle"},"TextStyle")),(0,n.kt)("p",null,"\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"labelstylewidth"},"LabelStyle.width"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6807\u7b7e\u7684\u5bbd\u5ea6\u3002\u4e00\u822c\u4e0d\u7528\u6307\u5b9a\uff0c\u4e0d\u6307\u5b9a\u65f6\u5219\u81ea\u52a8\u662f\u6587\u5b57\u7684\u5bbd\u5ea6\u3002"),(0,n.kt)("h2",{id:"lang"},"Lang"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=ScriptableObject"},"ScriptableObject")),(0,n.kt)("p",null,"\u56fd\u9645\u5316\u8bed\u8a00\u8868\u3002"),(0,n.kt)("h2",{id:"langcandlestick"},"LangCandlestick"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"langtime"},"LangTime"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"legend"},"Legend"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#ipropertychanged"},"IPropertyChanged")),(0,n.kt)("p",null,"\u56fe\u4f8b\u7ec4\u4ef6\u3002 \u56fe\u4f8b\u7ec4\u4ef6\u5c55\u73b0\u4e86\u4e0d\u540c\u7cfb\u5217\u7684\u6807\u8bb0\uff0c\u989c\u8272\u548c\u540d\u5b57\u3002\u53ef\u4ee5\u901a\u8fc7\u70b9\u51fb\u56fe\u4f8b\u63a7\u5236\u54ea\u4e9b\u7cfb\u5217\u4e0d\u663e\u793a\u3002"),(0,n.kt)("h3",{id:"legendbackground"},"Legend.background"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#imagestyle"},"ImageStyle")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.1.0")),(0,n.kt)("p",null,"\u80cc\u666f\u56fe\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"legendcolors"},"Legend.colors"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u56fe\u4f8b\u6807\u8bb0\u7684\u989c\u8272\u5217\u8868\u3002"),(0,n.kt)("h3",{id:"legenddata"},"Legend.data"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u56fe\u4f8b\u7684\u6570\u636e\u6570\u7ec4\u3002\u6570\u7ec4\u9879\u901a\u5e38\u4e3a\u4e00\u4e2a\u5b57\u7b26\u4e32\uff0c\u6bcf\u4e00\u9879\u4ee3\u8868\u4e00\u4e2a\u7cfb\u5217\u7684 name\uff08\u5982\u679c\u662f\u997c\u56fe\uff0c\u4e5f\u53ef\u4ee5\u662f\u997c\u56fe\u5355\u4e2a\u6570\u636e\u7684 name\uff09\u3002 \u5982\u679c data \u6ca1\u6709\u88ab\u6307\u5b9a\uff0c\u4f1a\u81ea\u52a8\u4ece\u5f53\u524d\u7cfb\u5217\u4e2d\u83b7\u53d6\u3002\u6307\u5b9adata\u65f6\u91cc\u9762\u7684\u6570\u636e\u9879\u548cserie\u5339\u914d\u65f6\u624d\u4f1a\u751f\u6548\u3002"),(0,n.kt)("h3",{id:"legendformatter"},"Legend.formatter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u4e0d\u518d\u4f7f\u7528\uff0c\u4f7f\u7528LabelStyle.formatter\u4ee3\u66ff\u3002"),(0,n.kt)("h3",{id:"legendicons"},"Legend.icons"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u81ea\u5b9a\u4e49\u7684\u56fe\u4f8b\u6807\u8bb0\u56fe\u5f62\u3002"),(0,n.kt)("h3",{id:"legendicontype"},"Legend.iconType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#legendtype"},"Legend.Type")),(0,n.kt)("p",null,"\u56fe\u4f8b\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u81ea\u52a8\u5339\u914d\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u56fe\u6807\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyCircle"),": \u7a7a\u5fc3\u5706\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Circle"),": \u5706\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Rect"),": \u6b63\u65b9\u5f62\u3002\u53ef\u901a\u8fc7Setting\u7684legendIconCornerRadius\u53c2\u6570\u8c03\u6574\u5706\u89d2\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Triangle"),": \u4e09\u89d2\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Diamond"),": \u83f1\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Candlestick"),": \u70db\u53f0\uff08\u53ef\u7528\u4e8eK\u7ebf\u56fe\uff09\u3002")),(0,n.kt)("h3",{id:"legenditemautocolor"},"Legend.itemAutoColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u56fe\u4f8b\u6807\u8bb0\u7684\u56fe\u5f62\u662f\u5426\u81ea\u52a8\u5339\u914d\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"legenditemgap"},"Legend.itemGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"10f")),(0,n.kt)("p",null,"\u56fe\u4f8b\u6bcf\u9879\u4e4b\u95f4\u7684\u95f4\u9694\u3002\u6a2a\u5411\u5e03\u5c40\u65f6\u4e3a\u6c34\u5e73\u95f4\u9694\uff0c\u7eb5\u5411\u5e03\u5c40\u65f6\u4e3a\u7eb5\u5411\u95f4\u9694\u3002"),(0,n.kt)("h3",{id:"legenditemheight"},"Legend.itemHeight"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"12.0f")),(0,n.kt)("p",null,"\u56fe\u4f8b\u6807\u8bb0\u7684\u56fe\u5f62\u9ad8\u5ea6\u3002"),(0,n.kt)("h3",{id:"legenditemopacity"},"Legend.itemOpacity"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1")),(0,n.kt)("p",null,"\u56fe\u4f8b\u6807\u8bb0\u7684\u56fe\u5f62\u7684\u989c\u8272\u900f\u660e\u5ea6\u3002"),(0,n.kt)("h3",{id:"legenditemwidth"},"Legend.itemWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"25.0f")),(0,n.kt)("p",null,"\u56fe\u4f8b\u6807\u8bb0\u7684\u56fe\u5f62\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"legendlabelstyle"},"Legend.labelStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"legendlocation"},"Legend.location"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#location"},"Location")),(0,n.kt)("p",null,"\u56fe\u4f8b\u663e\u793a\u7684\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"legendorient"},"Legend.orient"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#orient"},"Orient")),(0,n.kt)("p",null,"\u5e03\u5c40\u65b9\u5f0f\u662f\u6a2a\u8fd8\u662f\u7ad6\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Horizonal"),": \u6c34\u5e73"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Vertical"),": \u5782\u76f4")),(0,n.kt)("h3",{id:"legendpadding"},"Legend.padding"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#padding"},"Padding")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.1.0")),(0,n.kt)("p",null,"\u56fe\u4f8b\u6807\u8bb0\u548c\u80cc\u666f\u7684\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"legendpositions"},"Legend.positions"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("p",null,"\u56fe\u4f8b\u6807\u8bb0\u7684\u81ea\u5b9a\u4e49\u4f4d\u7f6e\u5217\u8868\u3002"),(0,n.kt)("h3",{id:"legendselectedmode"},"Legend.selectedMode"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#legendselectedmode"},"Legend.SelectedMode")),(0,n.kt)("p",null,"\u9009\u62e9\u6a21\u5f0f\u3002\u63a7\u5236\u662f\u5426\u53ef\u4ee5\u901a\u8fc7\u70b9\u51fb\u56fe\u4f8b\u6539\u53d8\u7cfb\u5217\u7684\u663e\u793a\u72b6\u6001\u3002\u9ed8\u8ba4\u5f00\u542f\u56fe\u4f8b\u9009\u62e9\uff0c\u53ef\u4ee5\u8bbe\u6210 None \u5173\u95ed\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Multiple"),": \u591a\u9009\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Single"),": \u5355\u9009\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u65e0\u6cd5\u9009\u62e9\u3002")),(0,n.kt)("h3",{id:"legendshow"},"Legend.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u56fe\u4f8b\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"legendtextlimit"},"Legend.textLimit"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#textlimit"},"TextLimit")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u6587\u672c\u9650\u5236\u3002"),(0,n.kt)("h2",{id:"legendtheme"},"LegendTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"legendthemeunablecolor"},"LegendTheme.unableColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u6587\u672c\u989c\u8272\u3002"),(0,n.kt)("h2",{id:"level"},"Level"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"leveldepth"},"Level.depth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u5c42\u7ea7\u6df1\u5ea6\u3002"),(0,n.kt)("h3",{id:"levelitemstyle"},"Level.itemStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#itemstyle"},"ItemStyle")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"levellabel"},"Level.label"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u6587\u672c\u6807\u7b7e\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"levellinestyle"},"Level.lineStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u7ebf\u6761\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"levelupperlabel"},"Level.upperLabel"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u4e0a\u65b9\u7684\u6587\u672c\u6807\u7b7e\u6837\u5f0f\u3002"),(0,n.kt)("h2",{id:"levelstyle"},"LevelStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("h3",{id:"levelstylelevels"},"LevelStyle.levels"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u5404\u5c42\u8282\u70b9\u5bf9\u5e94\u7684\u914d\u7f6e\u3002\u5f53enableLevels\u4e3atrue\u65f6\u751f\u6548\uff0clevels","[0]","\u5bf9\u5e94\u7684\u7b2c\u4e00\u5c42\u7684\u914d\u7f6e\uff0clevels","[1]","\u5bf9\u5e94\u7b2c\u4e8c\u5c42\uff0c\u4f9d\u6b21\u7c7b\u63a8\u3002\u5f53levels\u4e2d\u6ca1\u6709\u5bf9\u5e94\u5c42\u65f6\u7528\u9ed8\u8ba4\u7684\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"levelstyleshow"},"LevelStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u542f\u7528LevelStyle"),(0,n.kt)("h2",{id:"line"},"Line"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h2",{id:"linearrow"},"LineArrow"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent")),(0,n.kt)("h3",{id:"linearrowarrow"},"LineArrow.arrow"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#arrowstyle"},"ArrowStyle")),(0,n.kt)("p",null,"\u7bad\u5934\u3002"),(0,n.kt)("h3",{id:"linearrowposition"},"LineArrow.position"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linearrowposition"},"LineArrow.Position")),(0,n.kt)("p",null,"\u7bad\u5934\u4f4d\u7f6e\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"End"),": \u672b\u7aef\u7bad\u5934"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Start"),": \u5934\u7aef\u7bad\u5934")),(0,n.kt)("h3",{id:"linearrowshow"},"LineArrow.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7bad\u5934\u3002"),(0,n.kt)("h2",{id:"linestyle"},"LineStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u7ebf\u6761\u6837\u5f0f\u3002 \u6ce8\uff1a \u4fee\u6539 lineStyle \u4e2d\u7684\u989c\u8272\u4e0d\u4f1a\u5f71\u54cd\u56fe\u4f8b\u989c\u8272\uff0c\u5982\u679c\u9700\u8981\u56fe\u4f8b\u989c\u8272\u548c\u6298\u7ebf\u56fe\u989c\u8272\u4e00\u81f4\uff0c\u9700\u4fee\u6539 itemStyle.color\uff0c\u7ebf\u6761\u989c\u8272\u9ed8\u8ba4\u4e5f\u4f1a\u53d6\u8be5\u989c\u8272\u3002 toColor\uff0ctoColor2\u53ef\u8bbe\u7f6e\u6c34\u5e73\u65b9\u5411\u7684\u6e10\u53d8\uff0c\u5982\u9700\u8981\u8bbe\u7f6e\u5782\u76f4\u65b9\u5411\u7684\u6e10\u53d8\uff0c\u53ef\u4f7f\u7528VisualMap\u3002"),(0,n.kt)("h3",{id:"linestylecolor"},"LineStyle.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u7ebf\u7684\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"linestyledashlength"},"LineStyle.dashLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"4")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.1")),(0,n.kt)("p",null,"\u865a\u7ebf\u7684\u957f\u5ea6\u3002\u9ed8\u8ba40\u65f6\u4e3a\u7ebf\u6761\u5bbd\u5ea6\u768412\u500d\u3002\u5728\u6298\u7ebf\u56fe\u4e2d\u4ee3\u8868\u5206\u5272\u6bb5\u6570\u7684\u500d\u6570\u3002"),(0,n.kt)("h3",{id:"linestyledotlength"},"LineStyle.dotLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.1")),(0,n.kt)("p",null,"\u70b9\u7ebf\u7684\u957f\u5ea6\u3002\u9ed8\u8ba40\u65f6\u4e3a\u7ebf\u6761\u5bbd\u5ea6\u76843\u500d\u3002\u5728\u6298\u7ebf\u56fe\u4e2d\u4ee3\u8868\u5206\u5272\u6bb5\u6570\u7684\u500d\u6570\u3002"),(0,n.kt)("h3",{id:"linestylegaplength"},"LineStyle.gapLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.1")),(0,n.kt)("p",null,"\u70b9\u7ebf\u7684\u957f\u5ea6\u3002\u9ed8\u8ba40\u65f6\u4e3a\u7ebf\u6761\u5bbd\u5ea6\u76843\u500d\u3002\u5728\u6298\u7ebf\u56fe\u4e2d\u4ee3\u8868\u5206\u5272\u6bb5\u6570\u7684\u500d\u6570\u3002"),(0,n.kt)("h3",{id:"linestylelength"},"LineStyle.length"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u7ebf\u957f\u3002"),(0,n.kt)("h3",{id:"linestyleopacity"},"LineStyle.opacity"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1")),(0,n.kt)("p",null,"\u7ebf\u7684\u900f\u660e\u5ea6\u3002\u652f\u6301\u4ece 0 \u5230 1 \u7684\u6570\u5b57\uff0c\u4e3a 0 \u65f6\u4e0d\u7ed8\u5236\u8be5\u56fe\u5f62\u3002"),(0,n.kt)("h3",{id:"linestyleshow"},"LineStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7ebf\u6761\u3002\u5f53\u4f5c\u4e3a\u5b50\u7ec4\u4ef6\uff0c\u5b83\u7684\u7236\u7ec4\u4ef6\u6709\u53c2\u6570\u63a7\u5236\u662f\u5426\u663e\u793a\u65f6\uff0c\u6539\u53c2\u6570\u65e0\u6548\u3002"),(0,n.kt)("h3",{id:"linestyletocolor"},"LineStyle.toColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u7ebf\u7684\u6e10\u53d8\u989c\u8272\uff08\u9700\u8981\u6c34\u5e73\u65b9\u5411\u6e10\u53d8\u65f6\uff09\u3002"),(0,n.kt)("h3",{id:"linestyletocolor2"},"LineStyle.toColor2"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u7ebf\u7684\u6e10\u53d8\u989c\u82722\uff08\u9700\u8981\u6c34\u5e73\u65b9\u5411\u4e09\u4e2a\u6e10\u53d8\u8272\u7684\u6e10\u53d8\u65f6\uff09\u3002"),(0,n.kt)("h3",{id:"linestyletype"},"LineStyle.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyletype"},"LineStyle.Type")),(0,n.kt)("p",null,"\u7ebf\u7684\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Solid"),": \u5b9e\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dashed"),": \u865a\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dotted"),": \u70b9\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDot"),": \u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDotDot"),": \u53cc\u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u53cc\u70b9\u5212\u7ebf")),(0,n.kt)("h3",{id:"linestylewidth"},"LineStyle.width"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u7ebf\u5bbd\u3002"),(0,n.kt)("h2",{id:"location"},"Location"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#ipropertychanged"},"IPropertyChanged")),(0,n.kt)("p",null,"\u4f4d\u7f6e\u7c7b\u578b\u3002\u901a\u8fc7Align\u5feb\u901f\u8bbe\u7f6e\u5927\u4f53\u4f4d\u7f6e\uff0c\u518d\u901a\u8fc7left\uff0cright\uff0ctop\uff0cbottom\u5fae\u8c03\u5177\u4f53\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"locationalign"},"Location.align"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#locationalign"},"Location.Align")),(0,n.kt)("p",null,"\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"TopLeft"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"TopRight"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"TopCenter"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BottomLeft"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BottomRight"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BottomCenter"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Center"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"CenterLeft"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"CenterRight"),": \u5bf9\u9f50\u65b9\u5f0f")),(0,n.kt)("h3",{id:"locationbottom"},"Location.bottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u79bb\u5bb9\u5668\u4e0b\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"locationleft"},"Location.left"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u79bb\u5bb9\u5668\u5de6\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"locationright"},"Location.right"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u79bb\u5bb9\u5668\u53f3\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"locationtop"},"Location.top"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u79bb\u5bb9\u5668\u4e0a\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h2",{id:"maincomponent"},"MainComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=IComparable"},"IComparable")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis"),", ",(0,n.kt)("a",{parentName:"p",href:"#background"},"Background"),", ",(0,n.kt)("a",{parentName:"p",href:"#comment"},"Comment"),", ",(0,n.kt)("a",{parentName:"p",href:"#datazoom"},"DataZoom"),", ",(0,n.kt)("a",{parentName:"p",href:"#legend"},"Legend"),", ",(0,n.kt)("a",{parentName:"p",href:"#markarea"},"MarkArea"),", ",(0,n.kt)("a",{parentName:"p",href:"#markline"},"MarkLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#settings"},"Settings"),", ",(0,n.kt)("a",{parentName:"p",href:"#title"},"Title"),", ",(0,n.kt)("a",{parentName:"p",href:"#tooltip"},"Tooltip"),", ",(0,n.kt)("a",{parentName:"p",href:"#visualmap"},"VisualMap"),", ",(0,n.kt)("a",{parentName:"p",href:"#gridlayout"},"GridLayout"),", ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem")),(0,n.kt)("h2",{id:"markarea"},"MarkArea"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u56fe\u8868\u6807\u57df\uff0c\u5e38\u7528\u4e8e\u6807\u8bb0\u56fe\u8868\u4e2d\u67d0\u4e2a\u8303\u56f4\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"markareaend"},"MarkArea.end"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#markareadata"},"MarkAreaData")),(0,n.kt)("p",null,"\u6807\u57df\u8303\u56f4\u7684\u7ed3\u675f\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"markareaitemstyle"},"MarkArea.itemStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#itemstyle"},"ItemStyle")),(0,n.kt)("p",null,"\u6807\u57df\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"markarealabel"},"MarkArea.label"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u6807\u57df\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"markareaserieindex"},"MarkArea.serieIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"Serie index of markArea. \u6807\u57df\u5f71\u54cd\u7684Serie\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"markareashow"},"MarkArea.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6807\u57df\u3002"),(0,n.kt)("h3",{id:"markareastart"},"MarkArea.start"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#markareadata"},"MarkAreaData")),(0,n.kt)("p",null,"\u6807\u57df\u8303\u56f4\u7684\u8d77\u59cb\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"markareatext"},"MarkArea.text"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"The text of markArea. \u6807\u57df\u663e\u793a\u7684\u6587\u672c\u3002"),(0,n.kt)("h2",{id:"markareadata"},"MarkAreaData"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6807\u57df\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"markareadatadimension"},"MarkAreaData.dimension"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1")),(0,n.kt)("p",null,"\u4ece\u54ea\u4e2a\u7ef4\u5ea6\u7684\u6570\u636e\u8ba1\u7b97\u6700\u5927\u6700\u5c0f\u503c\u7b49\u3002"),(0,n.kt)("h3",{id:"markareadataname"},"MarkAreaData.name"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6807\u6ce8\u540d\u79f0\u3002\u4f1a\u4f5c\u4e3a\u6587\u5b57\u663e\u793a\u3002"),(0,n.kt)("h3",{id:"markareadatatype"},"MarkAreaData.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#markareatype"},"MarkAreaType")),(0,n.kt)("p",null,"\u7279\u6b8a\u7684\u6807\u57df\u7c7b\u578b\uff0c\u7528\u4e8e\u6807\u6ce8\u6700\u5927\u503c\u6700\u5c0f\u503c\u7b49\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u6807\u57df\u7c7b\u578b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Min"),": \u6700\u5c0f\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Max"),": \u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Average"),": \u5e73\u5747\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Median"),": \u4e2d\u4f4d\u6570\u3002")),(0,n.kt)("h3",{id:"markareadataxposition"},"MarkAreaData.xPosition"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u76f8\u5bf9\u539f\u70b9\u7684 x \u5750\u6807\uff0c\u5355\u4f4d\u50cf\u7d20\u3002\u5f53type\u4e3aNone\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"markareadataxvalue"},"MarkAreaData.xValue"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"X\u8f74\u4e0a\u7684\u6307\u5b9a\u503c\u3002\u5f53X\u8f74\u4e3a\u7c7b\u76ee\u8f74\u65f6\u6307\u5b9a\u503c\u8868\u793a\u7c7b\u76ee\u8f74\u6570\u636e\u7684\u7d22\u5f15\uff0c\u5426\u5219\u4e3a\u5177\u4f53\u7684\u503c\u3002\u5f53type\u4e3aNone\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"markareadatayposition"},"MarkAreaData.yPosition"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u76f8\u5bf9\u539f\u70b9\u7684 y \u5750\u6807\uff0c\u5355\u4f4d\u50cf\u7d20\u3002\u5f53type\u4e3aNone\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"markareadatayvalue"},"MarkAreaData.yValue"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"Y\u8f74\u4e0a\u7684\u6307\u5b9a\u503c\u3002\u5f53Y\u8f74\u4e3a\u7c7b\u76ee\u8f74\u65f6\u6307\u5b9a\u503c\u8868\u793a\u7c7b\u76ee\u8f74\u6570\u636e\u7684\u7d22\u5f15\uff0c\u5426\u5219\u4e3a\u5177\u4f53\u7684\u503c\u3002\u5f53type\u4e3aNone\u65f6\u6709\u6548\u3002"),(0,n.kt)("h2",{id:"markline"},"MarkLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u56fe\u8868\u6807\u7ebf\u3002"),(0,n.kt)("h3",{id:"marklineanimation"},"MarkLine.animation"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationstyle"},"AnimationStyle")),(0,n.kt)("p",null,"\u6807\u7ebf\u7684\u52a8\u753b\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"marklinedata"},"MarkLine.data"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u6807\u7ebf\u7684\u6570\u636e\u5217\u8868\u3002\u5f53\u6570\u636e\u9879\u7684group\u4e3a0\u65f6\uff0c\u6bcf\u4e2a\u6570\u636e\u9879\u8868\u793a\u4e00\u6761\u6807\u7ebf\uff1b\u5f53group\u4e0d\u4e3a0\u65f6\uff0c\u76f8\u540cgroup\u7684\u4e24\u4e2a\u6570\u636e\u9879\u5206\u522b\u8868 \u793a\u6807\u7ebf\u7684\u8d77\u59cb\u70b9\u548c\u7ec8\u6b62\u70b9\u6765\u7ec4\u6210\u4e00\u6761\u6807\u7ebf\uff0c\u6b64\u65f6\u6807\u7ebf\u7684\u76f8\u5173\u6837\u5f0f\u53c2\u6570\u53d6\u8d77\u59cb\u70b9\u7684\u53c2\u6570\u3002"),(0,n.kt)("h3",{id:"marklineontop"},"MarkLine.onTop"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.9.0")),(0,n.kt)("p",null,"\u662f\u5426\u5728\u6700\u4e0a\u5c42\u3002"),(0,n.kt)("h3",{id:"marklineserieindex"},"MarkLine.serieIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6807\u7ebf\u5f71\u54cd\u7684Serie\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"marklineshow"},"MarkLine.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6807\u7ebf\u3002"),(0,n.kt)("h2",{id:"marklinedata-1"},"MarkLineData"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.9.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u56fe\u8868\u6807\u7ebf\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"marklinedatadimension"},"MarkLineData.dimension"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1")),(0,n.kt)("p",null,"\u4ece\u54ea\u4e2a\u7ef4\u5ea6\u7684\u6570\u636e\u8ba1\u7b97\u6700\u5927\u6700\u5c0f\u503c\u7b49\u3002"),(0,n.kt)("h3",{id:"marklinedataendsymbol"},"MarkLineData.endSymbol"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#symbolstyle"},"SymbolStyle")),(0,n.kt)("p",null,"\u7ed3\u675f\u70b9\u7684\u56fe\u5f62\u6807\u8bb0\u3002"),(0,n.kt)("h3",{id:"marklinedatagroup"},"MarkLineData.group"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u5206\u7ec4\u3002\u5f53group\u4e0d\u4e3a0\u65f6\uff0c\u8868\u793a\u8fd9\u4e2adata\u662f\u6807\u7ebf\u7684\u8d77\u70b9\u6216\u7ec8\u70b9\uff0cgroup\u4e00\u81f4\u7684data\u7ec4\u6210\u4e00\u6761\u6807\u7ebf\u3002"),(0,n.kt)("h3",{id:"marklinedatalabel"},"MarkLineData.label"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u6587\u672c\u6837\u5f0f\u3002\u53ef\u8bbe\u7f6eposition\u4e3aStart\u3001Middle\u548cEnd\u5728\u4e0d\u540c\u7684\u4f4d\u7f6e\u663e\u793a\u6587\u672c\u3002"),(0,n.kt)("h3",{id:"marklinedatalinestyle"},"MarkLineData.lineStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle")),(0,n.kt)("p",null,"\u6807\u7ebf\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"marklinedataname"},"MarkLineData.name"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6807\u7ebf\u540d\u79f0\uff0c\u5c06\u4f1a\u4f5c\u4e3a\u6587\u5b57\u663e\u793a\u3002label\u7684formatter\u53ef\u901a\u8fc7{b}\u663e\u793a\u540d\u79f0\uff0c\u901a\u8fc7{c}\u663e\u793a\u6570\u503c\u3002"),(0,n.kt)("h3",{id:"marklinedatastartsymbol"},"MarkLineData.startSymbol"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#symbolstyle"},"SymbolStyle")),(0,n.kt)("p",null,"\u8d77\u59cb\u70b9\u7684\u56fe\u5f62\u6807\u8bb0\u3002"),(0,n.kt)("h3",{id:"marklinedatatype"},"MarkLineData.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#marklinetype"},"MarkLineType")),(0,n.kt)("p",null,"\u7279\u6b8a\u7684\u6807\u7ebf\u7c7b\u578b\uff0c\u7528\u4e8e\u6807\u6ce8\u6700\u5927\u503c\u6700\u5c0f\u503c\u7b49\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u6807\u7ebf\u7c7b\u578b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Min"),": \u6700\u5c0f\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Max"),": \u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Average"),": \u5e73\u5747\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Median"),": \u4e2d\u4f4d\u6570\u3002")),(0,n.kt)("h3",{id:"marklinedataxposition"},"MarkLineData.xPosition"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u76f8\u5bf9\u539f\u70b9\u7684 x \u5750\u6807\uff0c\u5355\u4f4d\u50cf\u7d20\u3002\u5f53type\u4e3aNone\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"marklinedataxvalue"},"MarkLineData.xValue"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"X\u8f74\u4e0a\u7684\u6307\u5b9a\u503c\u3002\u5f53X\u8f74\u4e3a\u7c7b\u76ee\u8f74\u65f6\u6307\u5b9a\u503c\u8868\u793a\u7c7b\u76ee\u8f74\u6570\u636e\u7684\u7d22\u5f15\uff0c\u5426\u5219\u4e3a\u5177\u4f53\u7684\u503c\u3002\u5f53type\u4e3aNone\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"marklinedatayposition"},"MarkLineData.yPosition"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u76f8\u5bf9\u539f\u70b9\u7684 y \u5750\u6807\uff0c\u5355\u4f4d\u50cf\u7d20\u3002\u5f53type\u4e3aNone\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"marklinedatayvalue"},"MarkLineData.yValue"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"Y\u8f74\u4e0a\u7684\u6307\u5b9a\u503c\u3002\u5f53Y\u8f74\u4e3a\u7c7b\u76ee\u8f74\u65f6\u6307\u5b9a\u503c\u8868\u793a\u7c7b\u76ee\u8f74\u6570\u636e\u7684\u7d22\u5f15\uff0c\u5426\u5219\u4e3a\u5177\u4f53\u7684\u503c\u3002\u5f53type\u4e3aNone\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"marklinedatazeroposition"},"MarkLineData.zeroPosition"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u4e3a\u5750\u6807\u7cfb\u539f\u70b9\u3002"),(0,n.kt)("h2",{id:"marqueestyle"},"MarqueeStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.5.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"Marquee style. It can be used for the DataZoom component. \u9009\u53d6\u6846\u6837\u5f0f\u3002\u53ef\u7528\u4e8eDataZoom\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"marqueestyleapply"},"MarqueeStyle.apply"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.5.0")),(0,n.kt)("p",null,"\u9009\u53d6\u6846\u8303\u56f4\u662f\u5426\u5e94\u7528\u5230DataZoom\u4e0a\u3002\u5f53\u4e3atrue\u65f6\uff0c\u6846\u9009\u7ed3\u675f\u540e\u7684\u8303\u56f4\u5373\u4e3aDataZoom\u7684\u9009\u62e9\u8303\u56f4\u3002"),(0,n.kt)("h3",{id:"marqueestyleareastyle"},"MarqueeStyle.areaStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#areastyle"},"AreaStyle")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.5.0")),(0,n.kt)("p",null,"\u9009\u53d6\u6846\u533a\u57df\u586b\u5145\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"marqueestylelinestyle"},"MarqueeStyle.lineStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.5.0")),(0,n.kt)("p",null,"\u9009\u53d6\u6846\u533a\u57df\u8fb9\u6846\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"marqueestylerealrect"},"MarqueeStyle.realRect"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.5.0")),(0,n.kt)("p",null,"\u662f\u5426\u9009\u53d6\u5b9e\u9645\u6846\u9009\u533a\u57df\u3002\u5f53\u4e3atrue\u65f6\uff0c\u4ee5\u9f20\u6807\u7684\u5176\u5b9e\u70b9\u548c\u7ed3\u675f\u70b9\u95f4\u7684\u5b9e\u9645\u8303\u56f4\u4f5c\u4e3a\u6846\u9009\u533a\u57df\u3002"),(0,n.kt)("h2",{id:"mlvalue"},"MLValue"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u591a\u6837\u5f0f\u6570\u503c\u3002"),(0,n.kt)("h3",{id:"mlvaluetype"},"MLValue.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#mlvaluetype"},"MLValue.Type")),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Percent"),": \u767e\u5206\u6bd4\u5f62\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Absolute"),": \u7edd\u5bf9\u503c\u5f62\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Extra"),": \u989d\u5916\u5f62\u5f0f\u3002")),(0,n.kt)("h3",{id:"mlvaluevalue"},"MLValue.value"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("h2",{id:"padding"},"Padding"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#textpadding"},"TextPadding")),(0,n.kt)("p",null,"\u8fb9\u8ddd\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"paddingbottom"},"Padding.bottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u5e95\u90e8\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"paddingleft"},"Padding.left"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2f")),(0,n.kt)("p",null,"\u5de6\u8fb9\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"paddingright"},"Padding.right"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2f")),(0,n.kt)("p",null,"\u53f3\u90e8\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"paddingshow"},"Padding.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"show padding. \u662f\u5426\u663e\u793a\u3002"),(0,n.kt)("h3",{id:"paddingtop"},"Padding.top"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u9876\u90e8\u95f4\u8ddd\u3002"),(0,n.kt)("h2",{id:"parallel"},"Parallel"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h2",{id:"parallelaxis"},"ParallelAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("h2",{id:"parallelcoord"},"ParallelCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),", ",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("p",null,"Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid."),(0,n.kt)("h3",{id:"parallelcoordbackgroundcolor"},"ParallelCoord.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u7f51\u683c\u80cc\u666f\u8272\uff0c\u9ed8\u8ba4\u900f\u660e\u3002"),(0,n.kt)("h3",{id:"parallelcoordbottom"},"ParallelCoord.bottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.12f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0b\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"parallelcoordleft"},"ParallelCoord.left"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.1f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u5de6\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"parallelcoordorient"},"ParallelCoord.orient"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#orient"},"Orient")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u671d\u5411\u3002\u9ed8\u8ba4\u4e3a\u5782\u76f4\u671d\u5411\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Horizonal"),": \u6c34\u5e73"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Vertical"),": \u5782\u76f4")),(0,n.kt)("h3",{id:"parallelcoordright"},"ParallelCoord.right"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.08f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u53f3\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"parallelcoordshow"},"ParallelCoord.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u76f4\u89d2\u5750\u6807\u7cfb\u7f51\u683c\u3002"),(0,n.kt)("h3",{id:"parallelcoordtop"},"ParallelCoord.top"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.22f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0a\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h2",{id:"pie"},"Pie"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie")),(0,n.kt)("h3",{id:"pieradiusgradient"},"Pie.radiusGradient"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.1")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u534a\u5f84\u65b9\u5411\u7684\u6e10\u53d8\u6548\u679c\u3002"),(0,n.kt)("h2",{id:"polaraxistheme"},"PolarAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h2",{id:"polarcoord"},"PolarCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("p",null,"\u6781\u5750\u6807\u7cfb\u7ec4\u4ef6\u3002 \u6781\u5750\u6807\u7cfb\uff0c\u53ef\u4ee5\u7528\u4e8e\u6563\u70b9\u56fe\u548c\u6298\u7ebf\u56fe\u3002\u6bcf\u4e2a\u6781\u5750\u6807\u7cfb\u62e5\u6709\u4e00\u4e2a\u89d2\u5ea6\u8f74\u548c\u4e00\u4e2a\u534a\u5f84\u8f74\u3002"),(0,n.kt)("h3",{id:"polarcoordbackgroundcolor"},"PolarCoord.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u6781\u5750\u6807\u7684\u80cc\u666f\u8272\uff0c\u9ed8\u8ba4\u900f\u660e\u3002"),(0,n.kt)("h3",{id:"polarcoordcenter"},"PolarCoord.center"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u6781\u5750\u6807\u7684\u4e2d\u5fc3\u70b9\u3002\u6570\u7ec4\u7684\u7b2c\u4e00\u9879\u662f\u6a2a\u5750\u6807\uff0c\u7b2c\u4e8c\u9879\u662f\u7eb5\u5750\u6807\u3002 \u5f53\u503c\u4e3a0-1\u4e4b\u95f4\u65f6\u8868\u793a\u767e\u5206\u6bd4\uff0c\u8bbe\u7f6e\u6210\u767e\u5206\u6bd4\u65f6\u7b2c\u4e00\u9879\u662f\u76f8\u5bf9\u4e8e\u5bb9\u5668\u5bbd\u5ea6\uff0c\u7b2c\u4e8c\u9879\u662f\u76f8\u5bf9\u4e8e\u5bb9\u5668\u9ad8\u5ea6\u3002"),(0,n.kt)("h3",{id:"polarcoordindicatorlabeloffset"},"PolarCoord.indicatorLabelOffset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"30f")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u6307\u793a\u5668\u6807\u7b7e\u7684\u504f\u79fb\u91cf\u3002"),(0,n.kt)("h3",{id:"polarcoordradius"},"PolarCoord.radius"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u534a\u5f84\u3002radius","[0]","\u8868\u793a\u5185\u5f84\uff0cradius","[1]","\u8868\u793a\u5916\u5f84\u3002"),(0,n.kt)("h3",{id:"polarcoordshow"},"PolarCoord.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6781\u5750\u6807\u3002"),(0,n.kt)("h2",{id:"radar"},"Radar"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h3",{id:"radarsmooth"},"Radar.smooth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")),(0,n.kt)("p",null,"\u662f\u5426\u5e73\u6ed1\u66f2\u7ebf\u3002\u5e73\u6ed1\u66f2\u7ebf\u65f6\u4e0d\u652f\u6301\u533a\u57df\u586b\u5145\u989c\u8272\u3002"),(0,n.kt)("h2",{id:"radaraxistheme"},"RadarAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h2",{id:"radarcoord"},"RadarCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("p",null,"Radar coordinate conponnet for radar charts. \u96f7\u8fbe\u56fe\u5750\u6807\u7cfb\u7ec4\u4ef6\uff0c\u53ea\u9002\u7528\u4e8e\u96f7\u8fbe\u56fe\u3002"),(0,n.kt)("h2",{id:"radiusaxis"},"RadiusAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("p",null,"\u6781\u5750\u6807\u7cfb\u7684\u5f84\u5411\u8f74\u3002"),(0,n.kt)("h2",{id:"radiusaxistheme"},"RadiusAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h2",{id:"ring"},"Ring"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie")),(0,n.kt)("h3",{id:"ringradiusgradient"},"Ring.radiusGradient"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.12.0")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u534a\u5f84\u65b9\u5411\u7684\u6e10\u53d8\u6548\u679c\u3002"),(0,n.kt)("h2",{id:"scatter"},"Scatter"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basescatter"},"BaseScatter")),(0,n.kt)("h2",{id:"selectstyle"},"SelectStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#statestyle"},"StateStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u9009\u4e2d\u72b6\u6001\u6837\u5f0f\u3002"),(0,n.kt)("h2",{id:"serie"},"Serie"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseserie"},"BaseSerie"),", ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=IComparable"},"IComparable")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#seriehandlert"},"SerieHandler","<","T",">"),", ",(0,n.kt)("a",{parentName:"p",href:"#bar"},"Bar"),", ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedbar"},"SimplifiedBar"),", ",(0,n.kt)("a",{parentName:"p",href:"#candlestick"},"Candlestick"),", ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedcandlestick"},"SimplifiedCandlestick"),", ",(0,n.kt)("a",{parentName:"p",href:"#heatmap"},"Heatmap"),", ",(0,n.kt)("a",{parentName:"p",href:"#line"},"Line"),", ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedline"},"SimplifiedLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#parallel"},"Parallel"),", ",(0,n.kt)("a",{parentName:"p",href:"#pie"},"Pie"),", ",(0,n.kt)("a",{parentName:"p",href:"#radar"},"Radar"),", ",(0,n.kt)("a",{parentName:"p",href:"#ring"},"Ring"),", ",(0,n.kt)("a",{parentName:"p",href:"#basescatter"},"BaseScatter")),(0,n.kt)("p",null,"\u7cfb\u5217\u3002\u7cfb\u5217\u4e00\u822c\u7531\u6570\u636e\u548c\u914d\u7f6e\u7ec4\u6210\uff0c\u7528\u6765\u8868\u793a\u5177\u4f53\u7684\u56fe\u8868\u56fe\u5f62\uff0c\u5982\u6298\u7ebf\u56fe\u7684\u4e00\u6761\u6298\u7ebf\uff0c\u67f1\u56fe\u7684\u4e00\u7ec4\u67f1\u5b50\u7b49\u3002\u4e00\u4e2a\u56fe\u8868\u4e2d\u53ef\u4ee5\u5305\u542b\u591a\u4e2a\u4e0d\u540c\u7c7b\u578b\u7684\u7cfb\u5217\u3002"),(0,n.kt)("h3",{id:"seriealign"},"Serie.align"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#align"},"Align")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u6c34\u5e73\u65b9\u5411\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Center"),": \u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Left"),": \u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Right"),": \u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002")),(0,n.kt)("h3",{id:"serieanimation"},"Serie.animation"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationstyle"},"AnimationStyle")),(0,n.kt)("p",null,"\u8d77\u59cb\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"serieavoidlabeloverlap"},"Serie.avoidLabelOverlap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u5728\u997c\u56fe\u4e14\u6807\u7b7e\u5916\u90e8\u663e\u793a\u7684\u60c5\u51b5\u4e0b\uff0c\u662f\u5426\u542f\u7528\u9632\u6b62\u6807\u7b7e\u91cd\u53e0\u7b56\u7565\uff0c\u9ed8\u8ba4\u5173\u95ed\uff0c\u5728\u6807\u7b7e\u62e5\u6324\u91cd\u53e0\u7684\u60c5\u51b5\u4e0b\u4f1a\u632a\u52a8\u5404\u4e2a\u6807\u7b7e\u7684\u4f4d\u7f6e\uff0c\u9632\u6b62\u6807\u7b7e\u95f4\u7684\u91cd\u53e0\u3002"),(0,n.kt)("h3",{id:"seriebargap"},"Serie.barGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.1f")),(0,n.kt)("p",null,"\u4e0d\u540c\u7cfb\u5217\u7684\u67f1\u95f4\u8ddd\u79bb\u3002\u4e3a\u767e\u5206\u6bd4\uff08\u5982 '0.3f'\uff0c\u8868\u793a\u67f1\u5b50\u5bbd\u5ea6\u7684 30%\uff09 \u5982\u679c\u60f3\u8981\u4e24\u4e2a\u7cfb\u5217\u7684\u67f1\u5b50\u91cd\u53e0\uff0c\u53ef\u4ee5\u8bbe\u7f6e barGap \u4e3a '-1f'\u3002\u8fd9\u5728\u7528\u67f1\u5b50\u505a\u80cc\u666f\u7684\u65f6\u5019\u6709\u7528\u3002 \u5728\u540c\u4e00\u5750\u6807\u7cfb\u4e0a\uff0c\u6b64\u5c5e\u6027\u4f1a\u88ab\u591a\u4e2a 'bar' \u7cfb\u5217\u5171\u4eab\u3002\u6b64\u5c5e\u6027\u5e94\u8bbe\u7f6e\u4e8e\u6b64\u5750\u6807\u7cfb\u4e2d\u6700\u540e\u4e00\u4e2a 'bar' \u7cfb\u5217\u4e0a\u624d\u4f1a\u751f\u6548\uff0c\u5e76\u4e14\u662f\u5bf9\u6b64\u5750\u6807\u7cfb\u4e2d\u6240\u6709 'bar' \u7cfb\u5217\u751f\u6548\u3002"),(0,n.kt)("h3",{id:"seriebarmaxwidth"},"Serie.barMaxWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.5.0")),(0,n.kt)("p",null,"\u67f1\u6761\u7684\u6700\u5927\u5bbd\u5ea6\uff0c\u9ed8\u8ba4\u4e3a0\u4e3a\u4e0d\u9650\u5236\u6700\u5927\u5bbd\u5ea6\u3002\u652f\u6301\u8bbe\u7f6e\u6210\u76f8\u5bf9\u4e8e\u7c7b\u76ee\u5bbd\u5ea6\u7684\u767e\u5206\u6bd4\u3002"),(0,n.kt)("h3",{id:"seriebarpercentstack"},"Serie.barPercentStack"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u67f1\u5f62\u56fe\u662f\u5426\u4e3a\u767e\u5206\u6bd4\u5806\u79ef\u3002\u76f8\u540cstack\u7684serie\u53ea\u8981\u6709\u4e00\u4e2abarPercentStack\u4e3atrue\uff0c\u5219\u5c31\u663e\u793a\u6210\u767e\u5206\u6bd4\u5806\u53e0\u67f1\u72b6\u56fe\u3002"),(0,n.kt)("h3",{id:"seriebartype"},"Serie.barType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#bartype"},"BarType")),(0,n.kt)("p",null,"\u67f1\u5f62\u56fe\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Normal"),": \u666e\u901a\u67f1\u5f62\u56fe\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Zebra"),": \u6591\u9a6c\u67f1\u5f62\u56fe\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Capsule"),": \u80f6\u56ca\u67f1\u5f62\u56fe\u3002")),(0,n.kt)("h3",{id:"seriebarwidth"},"Serie.barWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u67f1\u6761\u7684\u5bbd\u5ea6\uff0c\u4e0d\u8bbe\u65f6\u81ea\u9002\u5e94\u3002\u652f\u6301\u8bbe\u7f6e\u6210\u76f8\u5bf9\u4e8e\u7c7b\u76ee\u5bbd\u5ea6\u7684\u767e\u5206\u6bd4\u3002"),(0,n.kt)("h3",{id:"seriebarzebragap"},"Serie.barZebraGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2f")),(0,n.kt)("p",null,"\u6591\u9a6c\u7ebf\u7684\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"seriebarzebrawidth"},"Serie.barZebraWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"4f")),(0,n.kt)("p",null,"\u6591\u9a6c\u7ebf\u7684\u7c97\u7ec6\u3002"),(0,n.kt)("h3",{id:"seriebottom"},"Serie.bottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0b\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"seriecenter"},"Serie.center"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u4e2d\u5fc3\u70b9\u3002"),(0,n.kt)("h3",{id:"serieclickoffset"},"Serie.clickOffset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u9f20\u6807\u70b9\u51fb\u65f6\u662f\u5426\u5f00\u542f\u504f\u79fb\uff0c\u4e00\u822c\u7528\u5728PieChart\u56fe\u8868\u4e2d\u3002"),(0,n.kt)("h3",{id:"serieclip"},"Serie.clip"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u88c1\u526a\u8d85\u51fa\u5750\u6807\u7cfb\u90e8\u5206\u7684\u56fe\u5f62\u3002"),(0,n.kt)("h3",{id:"serieclockwise"},"Serie.clockwise"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u987a\u65f6\u9488\u3002"),(0,n.kt)("h3",{id:"seriecolorby"},"Serie.colorBy"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#seriecolorby"},"SerieColorBy")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")),(0,n.kt)("p",null,"\u4ece\u4e3b\u9898\u4e2d\u53d6\u8272\u7684\u7b56\u7565\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Default"),": \u9ed8\u8ba4\u7b56\u7565\u3002\u6bcf\u79cdSerie\u90fd\u6709\u81ea\u5df1\u7684\u9ed8\u8ba4\u7684\u53d6\u989c\u8272\u7b56\u7565\u3002\u6bd4\u5982Line\u9ed8\u8ba4\u662fSeries\u7b56\u7565\uff0cPie\u9ed8\u8ba4\u662fData\u7b56\u7565\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Serie"),": \u6309\u7167\u7cfb\u5217\u5206\u914d\u8c03\u8272\u76d8\u4e2d\u7684\u989c\u8272\uff0c\u540c\u4e00\u7cfb\u5217\u4e2d\u7684\u6240\u6709\u6570\u636e\u90fd\u662f\u7528\u76f8\u540c\u7684\u989c\u8272\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Data"),": \u6309\u7167\u6570\u636e\u9879\u5206\u914d\u8c03\u8272\u76d8\u4e2d\u7684\u989c\u8272\uff0c\u6bcf\u4e2a\u6570\u636e\u9879\u90fd\u4f7f\u7528\u4e0d\u540c\u7684\u989c\u8272\u3002")),(0,n.kt)("h3",{id:"seriecoordsystem"},"Serie.coordSystem"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u4f7f\u7528\u7684\u5750\u6807\u7cfb\u3002"),(0,n.kt)("h3",{id:"seriedata"},"Serie.data"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u7cfb\u5217\u4e2d\u7684\u6570\u636e\u5185\u5bb9\u6570\u7ec4\u3002SerieData\u53ef\u4ee5\u8bbe\u7f6e1\u5230n\u7ef4\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"seriedatasorttype"},"Serie.dataSortType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#seriedatasorttype"},"SerieDataSortType")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u7684\u6570\u636e\u6392\u5e8f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u6309\u6570\u636e\u7684\u987a\u5e8f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Ascending"),": \u5347\u5e8f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Descending"),": \u964d\u5e8f\u3002")),(0,n.kt)("h3",{id:"serieendangle"},"Serie.endAngle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ed3\u675f\u89d2\u5ea6\u3002\u548c\u65f6\u949f\u4e00\u6837\uff0c12\u70b9\u949f\u4f4d\u7f6e\u662f0\u5ea6\uff0c\u987a\u65f6\u9488\u5230360\u5ea6\u3002"),(0,n.kt)("h3",{id:"seriegap"},"Serie.gap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"seriegridindex"},"Serie.gridIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"-1")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u6240\u4f7f\u7528\u7684 layout \u7ec4\u4ef6\u7684 index\u3002 \u9ed8\u8ba4\u4e3a-1\u4e0d\u6307\u5b9aindex, \u5f53\u4e3a\u5927\u4e8e\u6216\u7b49\u4e8e0\u65f6, \u4e3a\u7b2c\u4e00\u4e2alayout\u7ec4\u4ef6\u7684\u7b2cindex\u4e2a\u683c\u5b50\u3002"),(0,n.kt)("h3",{id:"serieignore"},"Serie.ignore"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u5ffd\u7565\u6570\u636e\u3002\u5f53\u4e3a true \u65f6\uff0c\u6570\u636e\u503c\u4e3a ignoreValue \u65f6\u4e0d\u8fdb\u884c\u7ed8\u5236\u3002"),(0,n.kt)("h3",{id:"serieignorelinebreak"},"Serie.ignoreLineBreak"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u5ffd\u7565\u6570\u636e\u65f6\u6298\u7ebf\u662f\u65ad\u5f00\u8fd8\u662f\u8fde\u63a5\u3002\u9ed8\u8ba4false\u4e3a\u8fde\u63a5\u3002"),(0,n.kt)("h3",{id:"serieignorevalue"},"Serie.ignoreValue"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u5ffd\u7565\u6570\u636e\u7684\u9ed8\u8ba4\u503c\u3002\u5f53ignore\u4e3atrue\u624d\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"serieindex"},"Serie.index"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u7cfb\u5217\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"serieinsertdatatohead"},"Serie.insertDataToHead"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u6dfb\u52a0\u65b0\u6570\u636e\u65f6\u662f\u5728\u5217\u8868\u7684\u5934\u90e8\u8fd8\u662f\u5c3e\u90e8\u52a0\u5165\u3002"),(0,n.kt)("h3",{id:"serieitemstyle"},"Serie.itemStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#itemstyle"},"ItemStyle")),(0,n.kt)("p",null,"\u56fe\u5f62\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"serielarge"},"Serie.large"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u5927\u6570\u636e\u91cf\u4f18\u5316\uff0c\u5728\u6570\u636e\u56fe\u5f62\u7279\u522b\u591a\u800c\u51fa\u73b0\u5361\u987f\u65f6\u5019\u53ef\u4ee5\u5f00\u542f\u3002 \u5f00\u542f\u540e\u914d\u5408 largeThreshold \u5728\u6570\u636e\u91cf\u5927\u4e8e\u6307\u5b9a\u9608\u503c\u7684\u65f6\u5019\u5bf9\u7ed8\u5236\u8fdb\u884c\u4f18\u5316\u3002 \u7f3a\u70b9\uff1a\u4f18\u5316\u540e\u4e0d\u80fd\u81ea\u5b9a\u4e49\u8bbe\u7f6e\u5355\u4e2a\u6570\u636e\u9879\u7684\u6837\u5f0f\uff0c\u4e0d\u80fd\u663e\u793aLabel\u3002"),(0,n.kt)("h3",{id:"serielargethreshold"},"Serie.largeThreshold"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"200")),(0,n.kt)("p",null,"\u5f00\u542f\u5927\u6570\u91cf\u4f18\u5316\u7684\u9608\u503c\u3002\u53ea\u6709\u5f53\u5f00\u542f\u4e86large\u5e76\u4e14\u6570\u636e\u91cf\u5927\u4e8e\u8be5\u9600\u503c\u65f6\u624d\u8fdb\u5165\u6027\u80fd\u6a21\u5f0f\u3002"),(0,n.kt)("h3",{id:"serieleft"},"Serie.left"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u5de6\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"serielinestyle"},"Serie.lineStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle")),(0,n.kt)("p",null,"\u7ebf\u6761\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"serielinetype"},"Serie.lineType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linetype"},"LineType")),(0,n.kt)("p",null,"\u6298\u7ebf\u56fe\u6837\u5f0f\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Normal"),": \u666e\u901a\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Smooth"),": \u5e73\u6ed1\u66f2\u7ebf\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"StepStart"),": \u9636\u68af\u7ebf\u56fe\uff1a\u5f53\u524d\u70b9\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"StepMiddle"),": \u9636\u68af\u7ebf\u56fe\uff1a\u5f53\u524d\u70b9\u548c\u4e0b\u4e00\u4e2a\u70b9\u7684\u4e2d\u95f4\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"StepEnd"),": \u9636\u68af\u7ebf\u56fe\uff1a\u4e0b\u4e00\u4e2a\u62d0\u70b9\u3002")),(0,n.kt)("h3",{id:"serielinks"},"Serie.links"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u6570\u636e\u8282\u70b9\u7684\u8fb9\u3002"),(0,n.kt)("h3",{id:"seriemax"},"Serie.max"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6700\u5927\u503c\u3002"),(0,n.kt)("h3",{id:"seriemaxcache"},"Serie.maxCache"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u7cfb\u5217\u4e2d\u53ef\u7f13\u5b58\u7684\u6700\u5927\u6570\u636e\u91cf\u3002\u9ed8\u8ba4\u4e3a0\u6ca1\u6709\u9650\u5236\uff0c\u5927\u4e8e0\u65f6\u8d85\u8fc7\u6307\u5b9a\u503c\u4f1a\u79fb\u9664\u65e7\u6570\u636e\u518d\u63d2\u5165\u65b0\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"seriemaxshow"},"Serie.maxShow"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u7cfb\u5217\u6240\u663e\u793a\u6570\u636e\u7684\u6700\u5927\u7d22\u5f15"),(0,n.kt)("h3",{id:"seriemaxsize"},"Serie.maxSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1f")),(0,n.kt)("p",null,"\u6570\u636e\u6700\u5927\u503c max \u6620\u5c04\u7684\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"seriemin"},"Serie.min"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6700\u5c0f\u503c\u3002"),(0,n.kt)("h3",{id:"serieminangle"},"Serie.minAngle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6700\u5c0f\u7684\u6247\u533a\u89d2\u5ea6\uff080-360\uff09\u3002\u7528\u4e8e\u9632\u6b62\u67d0\u4e2a\u503c\u8fc7\u5c0f\u5bfc\u81f4\u6247\u533a\u592a\u5c0f\u5f71\u54cd\u4ea4\u4e92\u3002"),(0,n.kt)("h3",{id:"serieminradius"},"Serie.minRadius"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u6700\u5c0f\u534a\u5f84\u3002\u53ef\u7528\u4e8e\u9650\u5236\u73ab\u7470\u56fe\u7684\u6700\u5c0f\u534a\u5f84\u3002"),(0,n.kt)("h3",{id:"serieminshow"},"Serie.minShow"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u7cfb\u5217\u6240\u663e\u793a\u6570\u636e\u7684\u6700\u5c0f\u7d22\u5f15"),(0,n.kt)("h3",{id:"serieminshowlabel"},"Serie.minShowLabel"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u503c\u5c0f\u4e8e\u6307\u5b9a\u503c",(0,n.kt)("inlineCode",{parentName:"p"},"minShowLabelValue"),"\u65f6\u4e0d\u663e\u793a\u6807\u7b7e\u3002"),(0,n.kt)("h3",{id:"serieminshowlabelvalue"},"Serie.minShowLabelValue"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u5f53\u5f00\u542f",(0,n.kt)("inlineCode",{parentName:"p"},"minShowLabel"),"\u65f6\uff0c\u503c\u5c0f\u4e8e\u8be5\u503c\u65f6\u4e0d\u663e\u793a\u6807\u7b7e\u3002"),(0,n.kt)("h3",{id:"serieminsize"},"Serie.minSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u6570\u636e\u6700\u5c0f\u503c min \u6620\u5c04\u7684\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"serieorient"},"Serie.orient"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#orient"},"Orient")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u7684\u671d\u5411\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Horizonal"),": \u6c34\u5e73"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Vertical"),": \u5782\u76f4")),(0,n.kt)("h3",{id:"serieparallelindex"},"Serie.parallelIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6240\u4f7f\u7528\u7684 parallel coord \u7ec4\u4ef6\u7684 index\u3002"),(0,n.kt)("h3",{id:"serieplaceholder"},"Serie.placeHolder"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u5360\u4f4d\u6a21\u5f0f\u3002\u5360\u4f4d\u6a21\u5f0f\u65f6\uff0c\u6570\u636e\u6709\u6548\u4f46\u4e0d\u53c2\u4e0e\u6e32\u67d3\u548c\u663e\u793a\u3002"),(0,n.kt)("h3",{id:"seriepolarindex"},"Serie.polarIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6240\u4f7f\u7528\u7684 polar \u7ec4\u4ef6\u7684 index\u3002"),(0,n.kt)("h3",{id:"serieradarindex"},"Serie.radarIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u6240\u4f7f\u7528\u7684 radar \u7ec4\u4ef6\u7684 index\u3002"),(0,n.kt)("h3",{id:"serieradartype"},"Serie.radarType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#radartype"},"RadarType")),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Multiple"),": \u591a\u5708\u96f7\u8fbe\u56fe\u3002\u6b64\u65f6\u53ef\u4e00\u4e2a\u96f7\u8fbe\u91cc\u7ed8\u5236\u591a\u4e2a\u5708\uff0c\u4e00\u4e2aserieData\u5c31\u53ef\u7ec4\u6210\u4e00\u4e2a\u5708\uff08\u591a\u7ef4\u6570\u636e\uff09\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Single"),": \u5355\u5708\u96f7\u8fbe\u56fe\u3002\u6b64\u65f6\u4e00\u4e2a\u96f7\u8fbe\u53ea\u80fd\u7ed8\u5236\u4e00\u4e2a\u5708\uff0c\u591a\u4e2aserieData\u7ec4\u6210\u4e00\u4e2a\u5708\uff0c\u6570\u636e\u53d6\u81ea",(0,n.kt)("inlineCode",{parentName:"li"},"data[1]"),"\u3002")),(0,n.kt)("h3",{id:"serieradius"},"Serie.radius"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u534a\u5f84\u3002radius","[0]","\u8868\u793a\u5185\u5f84\uff0cradius","[1]","\u8868\u793a\u5916\u5f84\u3002"),(0,n.kt)("h3",{id:"serieright"},"Serie.right"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u53f3\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"serierosetype"},"Serie.roseType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#rosetype"},"RoseType")),(0,n.kt)("p",null,"\u662f\u5426\u5c55\u793a\u6210\u5357\u4e01\u683c\u5c14\u56fe\uff0c\u901a\u8fc7\u534a\u5f84\u533a\u5206\u6570\u636e\u5927\u5c0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4e0d\u5c55\u793a\u6210\u5357\u4e01\u683c\u5c14\u73ab\u7470\u56fe\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Radius"),": \u6247\u533a\u5706\u5fc3\u89d2\u5c55\u73b0\u6570\u636e\u7684\u767e\u5206\u6bd4\uff0c\u534a\u5f84\u5c55\u73b0\u6570\u636e\u7684\u5927\u5c0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Area"),": \u6240\u6709\u6247\u533a\u5706\u5fc3\u89d2\u76f8\u540c\uff0c\u4ec5\u901a\u8fc7\u534a\u5f84\u5c55\u73b0\u6570\u636e\u5927\u5c0f\u3002")),(0,n.kt)("h3",{id:"serieroundcap"},"Serie.roundCap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u5706\u5f27\u6548\u679c\u3002"),(0,n.kt)("h3",{id:"seriesampleaverage"},"Serie.sampleAverage"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u8bbe\u5b9a\u7684\u91c7\u6837\u5e73\u5747\u503c\u3002\u5f53sampleType \u4e3a Peak \u65f6\uff0c\u7528\u4e8e\u548c\u8fc7\u6ee4\u6570\u636e\u7684\u5e73\u5747\u503c\u505a\u5bf9\u6bd4\u662f\u53d6\u6700\u5927\u503c\u8fd8\u662f\u6700\u5c0f\u503c\u3002\u9ed8\u8ba4\u4e3a0\u65f6\u4f1a\u5b9e\u65f6\u8ba1\u7b97\u6240\u6709\u6570\u636e\u7684\u5e73\u5747\u503c\u3002"),(0,n.kt)("h3",{id:"seriesampledist"},"Serie.sampleDist"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u91c7\u6837\u7684\u6700\u5c0f\u50cf\u7d20\u8ddd\u79bb\uff0c\u9ed8\u8ba4\u4e3a0\u65f6\u4e0d\u91c7\u6837\u3002\u5f53\u4e24\u4e2a\u6570\u636e\u70b9\u95f4\u7684\u6c34\u5e73\u8ddd\u79bb\u5c0f\u4e8e\u6539\u503c\u65f6\uff0c\u5f00\u542f\u91c7\u6837\uff0c\u4fdd\u8bc1\u4e24\u70b9\u95f4\u7684\u6c34\u5e73\u8ddd\u79bb\u4e0d\u5c0f\u4e8e\u6539\u503c\u3002"),(0,n.kt)("h3",{id:"seriesampletype"},"Serie.sampleType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#sampletype"},"SampleType")),(0,n.kt)("p",null,"\u91c7\u6837\u7c7b\u578b\u3002\u5f53sampleDist\u5927\u4e8e0\u65f6\u6709\u6548\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Peak"),": \u53d6\u5cf0\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Average"),": \u53d6\u8fc7\u6ee4\u70b9\u7684\u5e73\u5747\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Max"),": \u53d6\u8fc7\u6ee4\u70b9\u7684\u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Min"),": \u53d6\u8fc7\u6ee4\u70b9\u7684\u6700\u5c0f\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Sum"),": \u53d6\u8fc7\u6ee4\u70b9\u7684\u548c\u3002")),(0,n.kt)("h3",{id:"serieseriename"},"Serie.serieName"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u7cfb\u5217\u540d\u79f0\uff0c\u7528\u4e8e tooltip \u7684\u663e\u793a\uff0clegend \u7684\u56fe\u4f8b\u7b5b\u9009\u3002"),(0,n.kt)("h3",{id:"serieserietype"},"Serie.serieType"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u7cfb\u5217\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"serieshow"},"Serie.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u7cfb\u5217\u662f\u5426\u663e\u793a\u5728\u56fe\u8868\u4e0a\u3002"),(0,n.kt)("h3",{id:"serieshowaspositivenumber"},"Serie.showAsPositiveNumber"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u5c06\u8d1f\u6570\u6570\u503c\u663e\u793a\u4e3a\u6b63\u6570\u3002\u4e00\u822c\u548c",(0,n.kt)("inlineCode",{parentName:"p"},"AxisLabel"),"\u7684",(0,n.kt)("inlineCode",{parentName:"p"},"showAsPositiveNumber"),"\u914d\u5408\u4f7f\u7528\u3002\u4ec5\u5728\u6298\u7ebf\u56fe\u548c\u67f1\u72b6\u56fe\u4e2d\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"serieshowdatadimension"},"Serie.showDataDimension"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u91cc\u7684\u6570\u636e\u7ef4\u6570\u3002"),(0,n.kt)("h3",{id:"serieshowdataname"},"Serie.showDataName"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u5728Editor\u7684inpsector\u4e0a\u662f\u5426\u663e\u793aname\u53c2\u6570"),(0,n.kt)("h3",{id:"seriesingleaxisindex"},"Serie.singleAxisIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6240\u4f7f\u7528\u7684 singleAxis \u7ec4\u4ef6\u7684 index\u3002"),(0,n.kt)("h3",{id:"seriesmoothlimit"},"Serie.smoothLimit"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.4.0")),(0,n.kt)("p",null,"\u662f\u5426\u9650\u5236\u66f2\u7ebf\u3002\u5f53\u4e3atrue\u65f6\uff0c\u4e24\u4e2a\u8fde\u7eed\u76f8\u540c\u6570\u503c\u7684\u6570\u636e\u95f4\u7684\u66f2\u7ebf\u4f1a\u9650\u5236\u4e3a\u4e0d\u8d85\u51fa\u6570\u636e\u70b9\uff0c\u548c\u6570\u636e\u70b9\u662f\u5e73\u76f4\u7684\u3002"),(0,n.kt)("h3",{id:"seriesplitnumber"},"Serie.splitNumber"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u523b\u5ea6\u5206\u5272\u6bb5\u6570\u3002\u6700\u5927\u53ef\u8bbe\u7f6e36\u3002"),(0,n.kt)("h3",{id:"seriestack"},"Serie.stack"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6570\u636e\u5806\u53e0\uff0c\u540c\u4e2a\u7c7b\u76ee\u8f74\u4e0a\u7cfb\u5217\u914d\u7f6e\u76f8\u540c\u7684stack\u503c\u540e\uff0c\u540e\u4e00\u4e2a\u7cfb\u5217\u7684\u503c\u4f1a\u5728\u524d\u4e00\u4e2a\u7cfb\u5217\u7684\u503c\u4e0a\u76f8\u52a0\u3002"),(0,n.kt)("h3",{id:"seriestartangle"},"Serie.startAngle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u8d77\u59cb\u89d2\u5ea6\u3002\u548c\u65f6\u949f\u4e00\u6837\uff0c12\u70b9\u949f\u4f4d\u7f6e\u662f0\u5ea6\uff0c\u987a\u65f6\u9488\u5230360\u5ea6\u3002"),(0,n.kt)("h3",{id:"seriestate"},"Serie.state"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#seriestate"},"SerieState")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")),(0,n.kt)("p",null,"\u7cfb\u5217\u7684\u9ed8\u8ba4\u72b6\u6001\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Normal"),": \u6b63\u5e38\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Emphasis"),": \u9ad8\u4eae\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Blur"),": \u6de1\u51fa\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Select"),": \u9009\u4e2d\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u81ea\u52a8\u4fdd\u6301\u548c\u7236\u8282\u70b9\u4e00\u81f4\u3002\u4e00\u822c\u7528\u5728SerieData\u3002")),(0,n.kt)("h3",{id:"seriesymbol"},"Serie.symbol"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#seriesymbol"},"SerieSymbol")),(0,n.kt)("p",null,"\u6807\u8bb0\u7684\u56fe\u5f62\u3002"),(0,n.kt)("h3",{id:"serietop"},"Serie.top"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0a\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"serievesselindex"},"Serie.vesselIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6c34\u4f4d\u56fe\u6240\u4f7f\u7528\u7684 vessel \u7ec4\u4ef6\u7684 index\u3002"),(0,n.kt)("h3",{id:"seriexaxisindex"},"Serie.xAxisIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u4f7f\u7528X\u8f74\u7684index\u3002"),(0,n.kt)("h3",{id:"serieyaxisindex"},"Serie.yAxisIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u4f7f\u7528Y\u8f74\u7684index\u3002"),(0,n.kt)("h2",{id:"seriedata-1"},"SerieData"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u7cfb\u5217\u4e2d\u7684\u4e00\u4e2a\u6570\u636e\u9879\u3002\u53ef\u5b58\u50a8\u6570\u636e\u540d\u548c1-n\u7ef4\u4e2a\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"seriedatadata"},"SerieData.data"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u53ef\u6307\u5b9a\u4efb\u610f\u7ef4\u6570\u7684\u6570\u503c\u5217\u8868\u3002"),(0,n.kt)("h3",{id:"seriedataid"},"SerieData.id"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u7684\u552f\u4e00id\u3002\u552f\u4e00id\u4e0d\u662f\u5fc5\u987b\u8bbe\u7f6e\u7684\u3002"),(0,n.kt)("h3",{id:"seriedataignore"},"SerieData.ignore"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u5ffd\u7565\u6570\u636e\u3002\u5f53\u4e3a true \u65f6\uff0c\u6570\u636e\u4e0d\u8fdb\u884c\u7ed8\u5236\u3002"),(0,n.kt)("h3",{id:"seriedataindex"},"SerieData.index"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"seriedataname"},"SerieData.name"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"seriedataparentid"},"SerieData.parentId"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u7236\u8282\u70b9id\u3002\u7236\u8282\u70b9id\u4e0d\u662f\u5fc5\u987b\u8bbe\u7f6e\u7684\u3002"),(0,n.kt)("h3",{id:"seriedataradius"},"SerieData.radius"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u81ea\u5b9a\u4e49\u534a\u5f84\u3002\u53ef\u7528\u5728\u997c\u56fe\u4e2d\u81ea\u5b9a\u4e49\u67d0\u4e2a\u6570\u636e\u9879\u7684\u534a\u5f84\u3002"),(0,n.kt)("h3",{id:"seriedataselected"},"SerieData.selected"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u8be5\u6570\u636e\u9879\u662f\u5426\u88ab\u9009\u4e2d\u3002"),(0,n.kt)("h3",{id:"seriedatastate"},"SerieData.state"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#seriestate"},"SerieState")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u7684\u9ed8\u8ba4\u72b6\u6001\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Normal"),": \u6b63\u5e38\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Emphasis"),": \u9ad8\u4eae\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Blur"),": \u6de1\u51fa\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Select"),": \u9009\u4e2d\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u81ea\u52a8\u4fdd\u6301\u548c\u7236\u8282\u70b9\u4e00\u81f4\u3002\u4e00\u822c\u7528\u5728SerieData\u3002")),(0,n.kt)("h2",{id:"seriedatalink"},"SerieDataLink"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6570\u636e\u8282\u70b9\u4e4b\u95f4\u7684\u8fde\u7ebf\u3002\u53ef\u7528\u4e8e\u6851\u57fa\u56fe\u7b49\uff0c\u6851\u57fa\u56fe\u53ea\u652f\u6301\u6709\u5411\u65e0\u73af\u56fe\uff0c\u8bf7\u4fdd\u8bc1\u6570\u636e\u7684\u8fde\u7ebf\u662f\u6709\u5411\u65e0\u73af\u56fe\u3002"),(0,n.kt)("h3",{id:"seriedatalinksource"},"SerieDataLink.source"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u8fb9\u7684\u6e90\u8282\u70b9\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"seriedatalinktarget"},"SerieDataLink.target"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u8fb9\u7684\u76ee\u6807\u8282\u70b9\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"seriedatalinkvalue"},"SerieDataLink.value"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"\u8fb9\u7684\u503c\u3002\u51b3\u5b9a\u8fb9\u7684\u5bbd\u5ea6\u3002"),(0,n.kt)("h2",{id:"seriesymbol-1"},"SerieSymbol"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#symbolstyle"},"SymbolStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u7cfb\u5217\u6570\u636e\u9879\u7684\u6807\u8bb0\u7684\u56fe\u5f62"),(0,n.kt)("h3",{id:"seriesymboldataindex"},"SerieSymbol.dataIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1")),(0,n.kt)("p",null,"\u5f53sizeType\u6307\u5b9a\u4e3aFromData\u65f6\uff0c\u6307\u5b9a\u7684\u6570\u636e\u6e90\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"seriesymboldatascale"},"SerieSymbol.dataScale"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1")),(0,n.kt)("p",null,"\u5f53sizeType\u6307\u5b9a\u4e3aFromData\u65f6\uff0c\u6307\u5b9a\u7684\u500d\u6570\u7cfb\u6570\u3002"),(0,n.kt)("h3",{id:"seriesymbolforceshowlast"},"SerieSymbol.forceShowLast"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u5f3a\u5236\u663e\u793a\u6700\u540e\u4e00\u4e2a\u56fe\u5f62\u6807\u8bb0\u3002"),(0,n.kt)("h3",{id:"seriesymbolinterval"},"SerieSymbol.interval"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u663e\u793a\u56fe\u5f62\u6807\u8bb0\u7684\u95f4\u9694\u30020\u8868\u793a\u663e\u793a\u6240\u6709\u6807\u7b7e\uff0c1\u8868\u793a\u9694\u4e00\u4e2a\u9694\u663e\u793a\u4e00\u4e2a\u6807\u7b7e\uff0c\u4ee5\u6b64\u7c7b\u63a8\u3002"),(0,n.kt)("h3",{id:"seriesymbolmaxsize"},"SerieSymbol.maxSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.3.0")),(0,n.kt)("p",null,"\u56fe\u5f62\u6700\u5927\u5c3a\u5bf8\u3002\u53ea\u5728sizeType\u4e3aSymbolSizeType.FromData\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"seriesymbolminsize"},"SerieSymbol.minSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.3.0")),(0,n.kt)("p",null,"\u56fe\u5f62\u6700\u5c0f\u5c3a\u5bf8\u3002\u53ea\u5728sizeType\u4e3aSymbolSizeType.FromData\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"seriesymbolrepeat"},"SerieSymbol.repeat"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u56fe\u5f62\u662f\u5426\u91cd\u590d\u3002"),(0,n.kt)("h3",{id:"seriesymbolsizefunction"},"SerieSymbol.sizeFunction"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"SymbolSizeFunction")),(0,n.kt)("p",null,"\u5f53sizeType\u6307\u5b9a\u4e3aFunction\u65f6\uff0c\u6307\u5b9a\u7684\u59d4\u6258\u51fd\u6570\u3002"),(0,n.kt)("h3",{id:"seriesymbolsizetype"},"SerieSymbol.sizeType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#symbolsizetype"},"SymbolSizeType")),(0,n.kt)("p",null,"\u6807\u8bb0\u56fe\u5f62\u7684\u5927\u5c0f\u83b7\u53d6\u65b9\u5f0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u5927\u5c0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"FromData"),": \u901a\u8fc7 dataIndex \u4ece\u6570\u636e\u4e2d\u83b7\u53d6\uff0c\u518d\u4e58\u4ee5\u4e00\u4e2a\u6bd4\u4f8b\u7cfb\u6570 dataScale \u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Function"),": \u901a\u8fc7\u59d4\u6258\u51fd\u6570\u83b7\u53d6\u3002")),(0,n.kt)("h3",{id:"seriesymbolstartindex"},"SerieSymbol.startIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u5f00\u59cb\u663e\u793a\u56fe\u5f62\u6807\u8bb0\u7684\u7d22\u5f15\u3002"),(0,n.kt)("h2",{id:"serietheme"},"SerieTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"seriethemecandlestickbordercolor"},"SerieTheme.candlestickBorderColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Color32(235, 84, 84, 255)")),(0,n.kt)("p",null,"K\u7ebf\u56fe\u9633\u7ebf\uff08\u8dcc\uff09\u8fb9\u6846\u8272"),(0,n.kt)("h3",{id:"seriethemecandlestickbordercolor0"},"SerieTheme.candlestickBorderColor0"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Color32(71, 178, 98, 255)")),(0,n.kt)("p",null,"K\u7ebf\u56fe\u9634\u7ebf\uff08\u8dcc\uff09\u8fb9\u6846\u8272"),(0,n.kt)("h3",{id:"seriethemecandlestickborderwidth"},"SerieTheme.candlestickBorderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1")),(0,n.kt)("p",null,"K\u7ebf\u56fe\u8fb9\u6846\u5bbd\u5ea6"),(0,n.kt)("h3",{id:"seriethemecandlestickcolor"},"SerieTheme.candlestickColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Color32(235, 84, 84, 255)")),(0,n.kt)("p",null,"K\u7ebf\u56fe\u9633\u7ebf\uff08\u6da8\uff09\u586b\u5145\u8272"),(0,n.kt)("h3",{id:"seriethemecandlestickcolor0"},"SerieTheme.candlestickColor0"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Color32(71, 178, 98, 255)")),(0,n.kt)("p",null,"K\u7ebf\u56fe\u9634\u7ebf\uff08\u8dcc\uff09\u586b\u5145\u8272"),(0,n.kt)("h3",{id:"seriethemelinesymbolsize"},"SerieTheme.lineSymbolSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6298\u7ebf\u56fe\u7684Symbol\u5927\u5c0f\u3002"),(0,n.kt)("h3",{id:"seriethemelinewidth"},"SerieTheme.lineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6587\u672c\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"seriethemescattersymbolsize"},"SerieTheme.scatterSymbolSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6563\u70b9\u56fe\u7684Symbol\u5927\u5c0f\u3002"),(0,n.kt)("h2",{id:"settings"},"Settings"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u5168\u5c40\u53c2\u6570\u8bbe\u7f6e\u7ec4\u4ef6\u3002\u4e00\u822c\u60c5\u51b5\u4e0b\u53ef\u4f7f\u7528\u9ed8\u8ba4\u503c\uff0c\u5f53\u6709\u9700\u8981\u65f6\u53ef\u8fdb\u884c\u8c03\u6574\u3002"),(0,n.kt)("h3",{id:"settingsaxismaxsplitnumber"},"Settings.axisMaxSplitNumber"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"50")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.1.0")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u6700\u5927\u5206\u9694\u6bb5\u6570\u3002\u6bb5\u6570\u8fc7\u5927\u65f6\u53ef\u80fd\u4f1a\u751f\u6210\u8f83\u591a\u7684label\u8282\u70b9\u3002"),(0,n.kt)("h3",{id:"settingsbasepaintermaterial"},"Settings.basePainterMaterial"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Material")),(0,n.kt)("p",null,"Base Pointer \u6750\u8d28\u7403\uff0c\u8bbe\u7f6e\u540e\u4f1a\u5f71\u54cdAxis\u7b49\u3002"),(0,n.kt)("h3",{id:"settingsciclesmoothness"},"Settings.cicleSmoothness"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2f")),(0,n.kt)("p",null,"\u5706\u5f62\u7684\u5e73\u6ed1\u5ea6\u3002\u6570\u8d8a\u5c0f\u5706\u8d8a\u5e73\u6ed1\uff0c\u4f46\u9876\u70b9\u6570\u4e5f\u4f1a\u968f\u4e4b\u589e\u52a0\u3002"),(0,n.kt)("h3",{id:"settingslegendiconcornerradius"},"Settings.legendIconCornerRadius"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u56fe\u4f8b\u5706\u89d2\u534a\u5f84\u3002\u7528\u6570\u7ec4\u5206\u522b\u6307\u5b9a4\u4e2a\u5706\u89d2\u534a\u5f84\uff08\u987a\u65f6\u9488\u5de6\u4e0a\uff0c\u53f3\u4e0a\uff0c\u53f3\u4e0b\uff0c\u5de6\u4e0b\uff09\u3002"),(0,n.kt)("h3",{id:"settingslegendiconlinewidth"},"Settings.legendIconLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2")),(0,n.kt)("p",null,"Line\u7c7b\u578b\u56fe\u4f8b\u56fe\u6807\u7684\u7ebf\u6761\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"settingslinesegmentdistance"},"Settings.lineSegmentDistance"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"3f")),(0,n.kt)("p",null,"\u7ebf\u6bb5\u7684\u5206\u5272\u8ddd\u79bb\u3002\u666e\u901a\u6298\u7ebf\u56fe\u7684\u7ebf\u662f\u7531\u5f88\u591a\u7ebf\u6bb5\u7ec4\u6210\uff0c\u6bb5\u6570\u7531\u8be5\u6570\u503c\u51b3\u5b9a\u3002\u503c\u8d8a\u5c0f\u6bb5\u6570\u8d8a\u591a\uff0c\u4f46\u9876\u70b9\u6570\u4e5f\u4f1a\u968f\u4e4b\u589e\u52a0\u3002\u5f53\u5f00\u542f\u6709\u6e10\u53d8\u7684\u533a\u57df\u586b\u5145\u65f6\uff0c\u6570\u503c\u8d8a\u5927\u6e10\u53d8\u8fc7\u6e21\u6548\u679c\u8d8a\u5dee\u3002"),(0,n.kt)("h3",{id:"settingslinesmoothness"},"Settings.lineSmoothness"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2f")),(0,n.kt)("p",null,"When the area with gradient is filled, the larger the value, the worse the transition effect."),(0,n.kt)("h3",{id:"settingslinesmoothstyle"},"Settings.lineSmoothStyle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2.5f")),(0,n.kt)("p",null,"\u66f2\u7ebf\u5e73\u6ed1\u7cfb\u6570\u3002\u901a\u8fc7\u8c03\u6574\u5e73\u6ed1\u7cfb\u6570\u53ef\u4ee5\u6539\u53d8\u66f2\u7ebf\u7684\u66f2\u7387\uff0c\u5f97\u5230\u5916\u89c2\u7a0d\u5fae\u6709\u53d8\u5316\u7684\u4e0d\u540c\u66f2\u7ebf\u3002"),(0,n.kt)("h3",{id:"settingsmaxpainter"},"Settings.maxPainter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"10")),(0,n.kt)("p",null,"\u8bbe\u5b9a\u7684painter\u6570\u91cf\u3002"),(0,n.kt)("h3",{id:"settingsreversepainter"},"Settings.reversePainter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"Painter\u662f\u5426\u9006\u5e8f\u3002\u9006\u5e8f\u65f6index\u5927\u7684serie\u6700\u5148\u7ed8\u5236\u3002"),(0,n.kt)("h3",{id:"settingsseriepaintermaterial"},"Settings.seriePainterMaterial"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Material")),(0,n.kt)("p",null,"Serie Pointer \u6750\u8d28\u7403\uff0c\u8bbe\u7f6e\u540e\u4f1a\u5f71\u54cd\u6240\u6709Serie\u3002"),(0,n.kt)("h3",{id:"settingsshow"},"Settings.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("h3",{id:"settingstoppaintermaterial"},"Settings.topPainterMaterial"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Material")),(0,n.kt)("p",null,"Top Pointer \u6750\u8d28\u7403\u3002"),(0,n.kt)("h3",{id:"settingsupperpaintermaterial"},"Settings.upperPainterMaterial"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Material")),(0,n.kt)("p",null,"Upper Pointer \u6750\u8d28\u7403\u3002"),(0,n.kt)("h2",{id:"simplifiedbar"},"SimplifiedBar"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer"),", ",(0,n.kt)("a",{parentName:"p",href:"#isimplifiedserie"},"ISimplifiedSerie")),(0,n.kt)("h2",{id:"simplifiedcandlestick"},"SimplifiedCandlestick"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer"),", ",(0,n.kt)("a",{parentName:"p",href:"#isimplifiedserie"},"ISimplifiedSerie")),(0,n.kt)("h2",{id:"simplifiedline"},"SimplifiedLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer"),", ",(0,n.kt)("a",{parentName:"p",href:"#isimplifiedserie"},"ISimplifiedSerie")),(0,n.kt)("h2",{id:"singleaxis"},"SingleAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis"),", ",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData")),(0,n.kt)("p",null,"\u5355\u8f74\u3002"),(0,n.kt)("h3",{id:"singleaxisbottom"},"SingleAxis.bottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.2f")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0b\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"singleaxisheight"},"SingleAxis.height"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"50")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u9ad8\u3002"),(0,n.kt)("h3",{id:"singleaxisleft"},"SingleAxis.left"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.1f")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u5de6\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"singleaxisorient"},"SingleAxis.orient"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#orient"},"Orient")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u671d\u5411\u3002\u9ed8\u8ba4\u4e3a\u6c34\u5e73\u671d\u5411\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Horizonal"),": \u6c34\u5e73"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Vertical"),": \u5782\u76f4")),(0,n.kt)("h3",{id:"singleaxisright"},"SingleAxis.right"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.1f")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u53f3\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"singleaxistop"},"SingleAxis.top"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0a\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"singleaxiswidth"},"SingleAxis.width"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5bbd\u3002"),(0,n.kt)("h2",{id:"singleaxiscoord"},"SingleAxisCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem")),(0,n.kt)("h2",{id:"stagecolor"},"StageColor"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"stagecolorcolor"},"StageColor.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"stagecolorpercent"},"StageColor.percent"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ed3\u675f\u4f4d\u7f6e\u767e\u5206\u6bd4\u3002"),(0,n.kt)("h2",{id:"statestyle"},"StateStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#blurstyle"},"BlurStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#emphasisstyle"},"EmphasisStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#selectstyle"},"SelectStyle")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"Serie\u7684\u72b6\u6001\u6837\u5f0f\u3002Serie\u7684\u72b6\u6001\u6709\u6b63\u5e38\uff0c\u9ad8\u4eae\uff0c\u6de1\u51fa\uff0c\u9009\u4e2d\u56db\u79cd\u72b6\u6001\u3002"),(0,n.kt)("h3",{id:"statestyleareastyle"},"StateStyle.areaStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#areastyle"},"AreaStyle")),(0,n.kt)("p",null,"\u533a\u57df\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"statestyleitemstyle"},"StateStyle.itemStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#itemstyle"},"ItemStyle")),(0,n.kt)("p",null,"\u56fe\u5f62\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"statestylelabel"},"StateStyle.label"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u56fe\u5f62\u6587\u672c\u6807\u7b7e\u3002"),(0,n.kt)("h3",{id:"statestylelabelline"},"StateStyle.labelLine"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelline"},"LabelLine")),(0,n.kt)("p",null,"\u56fe\u5f62\u6587\u672c\u5f15\u5bfc\u7ebf\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"statestylelinestyle"},"StateStyle.lineStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle")),(0,n.kt)("p",null,"\u6298\u7ebf\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"statestyleshow"},"StateStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u542f\u7528\u9ad8\u4eae\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"statestylesymbol"},"StateStyle.symbol"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#seriesymbol"},"SerieSymbol")),(0,n.kt)("p",null,"\u6807\u8bb0\u6837\u5f0f\u3002"),(0,n.kt)("h2",{id:"subtitletheme"},"SubTitleTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h2",{id:"symbolstyle"},"SymbolStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#seriesymbol"},"SerieSymbol")),(0,n.kt)("p",null,"\u7cfb\u5217\u6570\u636e\u9879\u7684\u6807\u8bb0\u7684\u56fe\u5f62"),(0,n.kt)("h3",{id:"symbolstylecolor"},"SymbolStyle.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u56fe\u5f62\u7684\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"symbolstylegap"},"SymbolStyle.gap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u56fe\u5f62\u6807\u8bb0\u548c\u7ebf\u6761\u7684\u95f4\u9699\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"symbolstyleheight"},"SymbolStyle.height"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u56fe\u5f62\u7684\u9ad8\u3002"),(0,n.kt)("h3",{id:"symbolstyleimage"},"SymbolStyle.image"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Sprite")),(0,n.kt)("p",null,"\u81ea\u5b9a\u4e49\u7684\u6807\u8bb0\u56fe\u5f62\u3002"),(0,n.kt)("h3",{id:"symbolstyleimagetype"},"SymbolStyle.imageType"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Image.Type")),(0,n.kt)("p",null,"\u56fe\u5f62\u586b\u5145\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"symbolstyleoffset"},"SymbolStyle.offset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Vector2")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Vector2.zero")),(0,n.kt)("p",null,"\u56fe\u5f62\u7684\u504f\u79fb\u3002"),(0,n.kt)("h3",{id:"symbolstyleshow"},"SymbolStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6807\u8bb0\u3002"),(0,n.kt)("h3",{id:"symbolstylesize"},"SymbolStyle.size"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u6807\u8bb0\u7684\u5927\u5c0f\u3002"),(0,n.kt)("h3",{id:"symbolstyletype"},"SymbolStyle.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#symboltype"},"SymbolType")),(0,n.kt)("p",null,"\u6807\u8bb0\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4e0d\u663e\u793a\u6807\u8bb0\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u6807\u8bb0\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Circle"),": \u5706\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyCircle"),": \u7a7a\u5fc3\u5706\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Rect"),": \u6b63\u65b9\u5f62\u3002\u53ef\u901a\u8fc7\u8bbe\u7f6e",(0,n.kt)("inlineCode",{parentName:"li"},"itemStyle"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"cornerRadius"),"\u53d8\u6210\u5706\u89d2\u77e9\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyRect"),": \u7a7a\u5fc3\u6b63\u65b9\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Triangle"),": \u4e09\u89d2\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyTriangle"),": \u7a7a\u5fc3\u4e09\u89d2\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Diamond"),": \u83f1\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyDiamond"),": \u7a7a\u5fc3\u83f1\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Arrow"),": \u7bad\u5934\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyArrow"),": \u7a7a\u5fc3\u7bad\u5934\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Plus"),": \u52a0\u53f7\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Minus"),": \u51cf\u53f7\u3002")),(0,n.kt)("h3",{id:"symbolstylewidth"},"SymbolStyle.width"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u56fe\u5f62\u7684\u5bbd\u3002"),(0,n.kt)("h2",{id:"textlimit"},"TextLimit"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6587\u672c\u5b57\u7b26\u9650\u5236\u548c\u81ea\u9002\u5e94\u3002\u5f53\u6587\u672c\u957f\u5ea6\u8d85\u8fc7\u8bbe\u5b9a\u7684\u957f\u5ea6\u65f6\u8fdb\u884c\u88c1\u526a\uff0c\u5e76\u5c06\u540e\u7f00\u9644\u52a0\u5728\u6700\u540e\u3002 \u53ea\u5728\u7c7b\u76ee\u8f74\u4e2d\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"textlimitenable"},"TextLimit.enable"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u542f\u7528\u6587\u672c\u81ea\u9002\u5e94\u3002 ","[default:true]"),(0,n.kt)("h3",{id:"textlimitgap"},"TextLimit.gap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1")),(0,n.kt)("p",null,"\u4e24\u8fb9\u7559\u767d\u50cf\u7d20\u8ddd\u79bb\u3002 ","[default:10f]"),(0,n.kt)("h3",{id:"textlimitmaxwidth"},"TextLimit.maxWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"Clipping occurs when the width of the text is greater than this value."),(0,n.kt)("h3",{id:"textlimitsuffix"},"TextLimit.suffix"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u957f\u5ea6\u8d85\u51fa\u65f6\u7684\u540e\u7f00\u3002 ",'[default: "..."]'),(0,n.kt)("h2",{id:"textpadding"},"TextPadding"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#padding"},"Padding")),(0,n.kt)("p",null,"\u6587\u672c\u7684\u5185\u8fb9\u8ddd\u8bbe\u7f6e\u3002"),(0,n.kt)("h2",{id:"textstyle"},"TextStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6587\u672c\u7684\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"textstylealignment"},"TextStyle.alignment"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"TextAnchor")),(0,n.kt)("p",null,"\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("h3",{id:"textstyleautoalign"},"TextStyle.autoAlign"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u6587\u672c\u662f\u5426\u8ba9\u7cfb\u7edf\u81ea\u52a8\u9009\u5bf9\u9f50\u65b9\u5f0f\u3002\u4e3afalse\u65f6\u624d\u4f1a\u7528alignment\u3002"),(0,n.kt)("h3",{id:"textstyleautocolor"},"TextStyle.autoColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u81ea\u52a8\u989c\u8272\u3002\u5f53\u5f00\u542f\u65f6\uff0c\u4f1a\u81ea\u52a8\u8bbe\u7f6e\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"textstyleautowrap"},"TextStyle.autoWrap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u81ea\u52a8\u6362\u884c\u3002"),(0,n.kt)("h3",{id:"textstylecolor"},"TextStyle.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u6587\u672c\u7684\u989c\u8272\u3002 ","[default: ",(0,n.kt)("inlineCode",{parentName:"p"},"Color.clear"),"]"),(0,n.kt)("h3",{id:"textstylefont"},"TextStyle.font"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Font")),(0,n.kt)("p",null,"\u6587\u672c\u5b57\u4f53\u3002 ","[default: null]"),(0,n.kt)("h3",{id:"textstylefontsize"},"TextStyle.fontSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6587\u672c\u5b57\u4f53\u5927\u5c0f\u3002 ","[default: 18]"),(0,n.kt)("h3",{id:"textstylefontstyle"},"TextStyle.fontStyle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"FontStyle")),(0,n.kt)("p",null,"\u6587\u672c\u5b57\u4f53\u7684\u98ce\u683c\u3002 ","[default: FontStyle.Normal]"),(0,n.kt)("h3",{id:"textstylelinespacing"},"TextStyle.lineSpacing"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1f")),(0,n.kt)("p",null,"\u884c\u95f4\u8ddd\u3002 ","[default: 1f]"),(0,n.kt)("h3",{id:"textstylerotate"},"TextStyle.rotate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6587\u672c\u7684\u65cb\u8f6c\u3002 ","[default: ",(0,n.kt)("inlineCode",{parentName:"p"},"0f"),"]"),(0,n.kt)("h3",{id:"textstyleshow"},"TextStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u6587\u672c\u7684\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"textstyletmpalignment"},"TextStyle.tMPAlignment"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"TextAlignmentOptions")),(0,n.kt)("h3",{id:"textstyletmpfont"},"TextStyle.tMPFont"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"TMP_FontAsset")),(0,n.kt)("p",null,"TextMeshPro\u5b57\u4f53\u3002"),(0,n.kt)("h3",{id:"textstyletmpfontstyle"},"TextStyle.tMPFontStyle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"FontStyles")),(0,n.kt)("h3",{id:"textstyletmpspriteasset"},"TextStyle.tMPSpriteAsset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"TMP_SpriteAsset")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.1.0")),(0,n.kt)("h2",{id:"theme"},"Theme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=ScriptableObject"},"ScriptableObject")),(0,n.kt)("p",null,"\u4e3b\u9898\u76f8\u5173\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"themeaxis"},"Theme.axis"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axistheme"},"AxisTheme")),(0,n.kt)("h3",{id:"themebackgroundcolor"},"Theme.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"themecolorpalette"},"Theme.colorPalette"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u8c03\u8272\u76d8\u989c\u8272\u5217\u8868\u3002\u5982\u679c\u7cfb\u5217\u6ca1\u6709\u8bbe\u7f6e\u989c\u8272\uff0c\u5219\u4f1a\u4f9d\u6b21\u5faa\u73af\u4ece\u8be5\u5217\u8868\u4e2d\u53d6\u989c\u8272\u4f5c\u4e3a\u7cfb\u5217\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"themecommon"},"Theme.common"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"themecontrastcolor"},"Theme.contrastColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u5bf9\u6bd4\u8272\u3002"),(0,n.kt)("h3",{id:"themedatazoom"},"Theme.dataZoom"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#datazoomtheme"},"DataZoomTheme")),(0,n.kt)("h3",{id:"themefont"},"Theme.font"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Font")),(0,n.kt)("p",null,"\u4e3b\u9898\u5b57\u4f53\u3002"),(0,n.kt)("h3",{id:"themelegend"},"Theme.legend"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#legendtheme"},"LegendTheme")),(0,n.kt)("h3",{id:"themeserie"},"Theme.serie"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#serietheme"},"SerieTheme")),(0,n.kt)("h3",{id:"themesubtitle"},"Theme.subTitle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#subtitletheme"},"SubTitleTheme")),(0,n.kt)("h3",{id:"themethemename"},"Theme.themeName"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u4e3b\u9898\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"themethemetype"},"Theme.themeType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#themetype"},"ThemeType")),(0,n.kt)("p",null,"\u4e3b\u9898\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Default"),": \u9ed8\u8ba4\u4e3b\u9898\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Light"),": \u4eae\u4e3b\u9898\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dark"),": \u6697\u4e3b\u9898\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u4e3b\u9898\u3002")),(0,n.kt)("h3",{id:"themetitle"},"Theme.title"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#titletheme"},"TitleTheme")),(0,n.kt)("h3",{id:"themetmpfont"},"Theme.tMPFont"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"TMP_FontAsset")),(0,n.kt)("p",null,"\u4e3b\u9898\u5b57\u4f53\u3002"),(0,n.kt)("h3",{id:"themetooltip"},"Theme.tooltip"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#tooltiptheme"},"TooltipTheme")),(0,n.kt)("h3",{id:"themevisualmap"},"Theme.visualMap"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#visualmaptheme"},"VisualMapTheme")),(0,n.kt)("h2",{id:"themestyle"},"ThemeStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u4e3b\u9898\u76f8\u5173\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"themestylecustombackgroundcolor"},"ThemeStyle.customBackgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u81ea\u5b9a\u4e49\u7684\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"themestylecustomcolorpalette"},"ThemeStyle.customColorPalette"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("h3",{id:"themestylecustomfont"},"ThemeStyle.customFont"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Font")),(0,n.kt)("h3",{id:"themestyleenablecustomtheme"},"ThemeStyle.enableCustomTheme"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u81ea\u5b9a\u4e49\u4e3b\u9898\u989c\u8272\u3002\u5f53\u8bbe\u7f6e\u4e3atrue\u65f6\uff0c\u53ef\u4ee5\u7528\u2018sync color to custom\u2019\u540c\u6b65\u4e3b\u9898\u7684\u989c\u8272\u5230\u81ea\u5b9a\u4e49\u989c\u8272\u3002\u4e5f\u53ef\u4ee5\u624b\u52a8\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"themestylesharedtheme"},"ThemeStyle.sharedTheme"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#theme"},"Theme")),(0,n.kt)("p",null,"\u4e3b\u9898\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"themestyleshow"},"ThemeStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("h3",{id:"themestyletransparentbackground"},"ThemeStyle.transparentBackground"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u900f\u660e\u80cc\u666f\u989c\u8272\u3002\u5f53\u8bbe\u7f6e\u4e3atrue\u65f6\uff0c\u4e0d\u7ed8\u5236\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h2",{id:"title"},"Title"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#ipropertychanged"},"IPropertyChanged")),(0,n.kt)("p",null,"\u6807\u9898\u7ec4\u4ef6\uff0c\u5305\u542b\u4e3b\u6807\u9898\u548c\u526f\u6807\u9898\u3002"),(0,n.kt)("h3",{id:"titleitemgap"},"Title.itemGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u4e3b\u526f\u6807\u9898\u4e4b\u95f4\u7684\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"titlelabelstyle"},"Title.labelStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u4e3b\u6807\u9898\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"titlelocation"},"Title.location"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#location"},"Location")),(0,n.kt)("p",null,"\u6807\u9898\u663e\u793a\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"titleshow"},"Title.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6807\u9898\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"titlesublabelstyle"},"Title.subLabelStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u526f\u6807\u9898\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"titlesubtext"},"Title.subText"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u526f\u6807\u9898\u6587\u672c\uff0c\u652f\u6301\u4f7f\u7528 \\n \u6362\u884c\u3002"),(0,n.kt)("h3",{id:"titletext"},"Title.text"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u4e3b\u6807\u9898\u6587\u672c\uff0c\u652f\u6301\u4f7f\u7528 \\n \u6362\u884c\u3002"),(0,n.kt)("h2",{id:"titlestyle"},"TitleStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent")),(0,n.kt)("p",null,"\u6807\u9898\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h2",{id:"titletheme"},"TitleTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h2",{id:"tooltip"},"Tooltip"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"tooltipalwayshowcontent"},"Tooltip.alwayShowContent"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u89e6\u53d1\u540e\u4e00\u76f4\u663e\u793a\u63d0\u793a\u6846\u6d6e\u5c42\u3002"),(0,n.kt)("h3",{id:"tooltipbackgroundcolor"},"Tooltip.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u7684\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"tooltipbackgroundimage"},"Tooltip.backgroundImage"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Sprite")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u7684\u80cc\u666f\u56fe\u7247\u3002"),(0,n.kt)("h3",{id:"tooltipbackgroundtype"},"Tooltip.backgroundType"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Image.Type")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u7684\u80cc\u666f\u56fe\u7247\u663e\u793a\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"tooltipbordercolor"},"Tooltip.borderColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Color32(230, 230, 230, 255)")),(0,n.kt)("p",null,"\u8fb9\u6846\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"tooltipborderwidth"},"Tooltip.borderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2f")),(0,n.kt)("p",null,"\u8fb9\u6846\u7ebf\u5bbd\u3002"),(0,n.kt)("h3",{id:"tooltipcontentlabelstyles"},"Tooltip.contentLabelStyles"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u5185\u5bb9\u90e8\u5206\u7684\u6587\u672c\u6837\u5f0f\u5217\u8868\u3002\u548c\u5217\u4e00\u4e00\u5bf9\u5e94\u3002"),(0,n.kt)("h3",{id:"tooltipfixedheight"},"Tooltip.fixedHeight"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u56fa\u5b9a\u9ad8\u5ea6\u3002\u6bd4 minHeight \u4f18\u5148\u3002"),(0,n.kt)("h3",{id:"tooltipfixedwidth"},"Tooltip.fixedWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u56fa\u5b9a\u5bbd\u5ea6\u3002\u6bd4 minWidth \u4f18\u5148\u3002"),(0,n.kt)("h3",{id:"tooltipfixedx"},"Tooltip.fixedX"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u56fa\u5b9aX\u4f4d\u7f6e\u7684\u5750\u6807\u3002"),(0,n.kt)("h3",{id:"tooltipfixedy"},"Tooltip.fixedY"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.7f")),(0,n.kt)("p",null,"\u56fa\u5b9aY\u4f4d\u7f6e\u7684\u5750\u6807\u3002"),(0,n.kt)("h3",{id:"tooltipignoredatadefaultcontent"},"Tooltip.ignoreDataDefaultContent"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u88ab\u5ffd\u7565\u6570\u636e\u7684\u9ed8\u8ba4\u663e\u793a\u5b57\u7b26\u4fe1\u606f\u3002\u5982\u679c\u8bbe\u7f6e\u4e3a\u7a7a\uff0c\u5219\u8868\u793a\u5b8c\u5168\u4e0d\u663e\u793a\u5ffd\u7565\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"tooltipignoredatashow"},"Tooltip.ignoreDataShow"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u5ffd\u7565\u6570\u636e\u5728tooltip\u4e0a\u3002"),(0,n.kt)("h3",{id:"tooltipitemformatter"},"Tooltip.itemFormatter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u5355\u4e2aserie\u6216\u6570\u636e\u9879\u5185\u5bb9\u7684\u5b57\u7b26\u4e32\u6a21\u7248\u683c\u5f0f\u5668\u3002\u652f\u6301\u7528 \\n \u6362\u884c\u3002\u7528|\u6765\u8868\u793a\u591a\u4e2a\u5217\u7684\u5206\u9694\u3002 \u6a21\u677f\u53d8\u91cf\u6709{.}\u3001{a}\u3001{b}\u3001{c}\u3001{d}\u3001{e}\u3001{f}\u3001{g}\u3002",(0,n.kt)("br",null)," {i}\u6216-\u8868\u793a\u5ffd\u7565\u5f53\u524d\u9879\u3002 {.}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684\u5bf9\u5e94\u989c\u8272\u7684\u5706\u70b9\u3002",(0,n.kt)("br",null)," {a}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684\u7cfb\u5217\u540dname\u3002",(0,n.kt)("br",null)," {b}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684\u6570\u636e\u9879serieData\u7684name\uff0c\u6216\u8005\u7c7b\u76ee\u503c\uff08\u5982\u6298\u7ebf\u56fe\u7684X\u8f74\uff09\u3002",(0,n.kt)("br",null)," {c}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684y\u7ef4\uff08dimesion\u4e3a1\uff09\u7684\u6570\u503c\u3002",(0,n.kt)("br",null)," {d}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684y\u7ef4\uff08dimesion\u4e3a1\uff09\u767e\u5206\u6bd4\u503c\uff0c\u6ce8\u610f\u4e0d\u5e26%\u53f7\u3002",(0,n.kt)("br",null)," {e}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684\u6570\u636e\u9879serieData\u7684name\u3002",(0,n.kt)("br",null)," {f}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u7684\u9ed8\u8ba4\u7ef4\u5ea6\u7684\u6570\u636e\u603b\u548c\u3002",(0,n.kt)("br",null)," {g}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u7684\u6570\u636e\u603b\u4e2a\u6570\u3002",(0,n.kt)("br",null)," {h}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u7684\u5341\u516d\u8fdb\u5236\u989c\u8272\u503c\u3002",(0,n.kt)("br",null)," {y}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u7684y\u8f74\u7684\u7c7b\u76ee\u503c\u3002",(0,n.kt)("br",null)," {c0}\u8868\u793a\u5f53\u524d\u6570\u636e\u9879\u7ef4\u5ea6\u4e3a0\u7684\u6570\u636e\u3002",(0,n.kt)("br",null)," {c1}\u8868\u793a\u5f53\u524d\u6570\u636e\u9879\u7ef4\u5ea6\u4e3a1\u7684\u6570\u636e\u3002",(0,n.kt)("br",null)," {d3}\u8868\u793a\u7ef4\u5ea63\u7684\u6570\u636e\u7684\u767e\u5206\u6bd4\u3002\u5b83\u7684\u5206\u6bcd\u662f\u9ed8\u8ba4\u7ef4\u5ea6\uff08\u4e00\u822c\u662f1\u7ef4\u5ea6\uff09\u6570\u636e\u3002",(0,n.kt)("br",null)," |\u8868\u793a\u591a\u4e2a\u5217\u7684\u5206\u9694\u3002",(0,n.kt)("br",null),' \u793a\u4f8b\uff1a"{i}", "{.}|{a}|{c}", "{.}|{b}|{c2:f2}", "{.}|{b}|{y}"'),(0,n.kt)("h3",{id:"tooltipitemheight"},"Tooltip.itemHeight"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"25f")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u6587\u672c\u7684\u9ad8\u3002"),(0,n.kt)("h3",{id:"tooltiplinestyle"},"Tooltip.lineStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle")),(0,n.kt)("p",null,"\u6307\u793a\u7ebf\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"tooltipmarker"},"Tooltip.marker"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"serie\u7684\u7b26\u53f7\u6807\u5fd7\u3002"),(0,n.kt)("h3",{id:"tooltipminheight"},"Tooltip.minHeight"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6700\u5c0f\u9ad8\u5ea6\u3002\u5982\u82e5 fixedHeight \u8bbe\u6709\u503c\uff0c\u4f18\u5148\u53d6 fixedHeight\u3002"),(0,n.kt)("h3",{id:"tooltipminwidth"},"Tooltip.minWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6700\u5c0f\u5bbd\u5ea6\u3002\u5982\u82e5 fixedWidth \u8bbe\u6709\u503c\uff0c\u4f18\u5148\u53d6 fixedWidth\u3002"),(0,n.kt)("h3",{id:"tooltipnumericformatter"},"Tooltip.numericFormatter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6807\u51c6\u6570\u5b57\u548c\u65e5\u671f\u683c\u5f0f\u5b57\u7b26\u4e32\u3002\u7528\u4e8e\u5c06Double\u6570\u503c\u6216DateTime\u65e5\u671f\u683c\u5f0f\u5316\u663e\u793a\u4e3a\u5b57\u7b26\u4e32\u3002numericFormatter\u7528\u6765\u4f5c\u4e3aDouble.ToString()\u6216DateTime.ToString()\u7684\u53c2\u6570\u3002",(0,n.kt)("br",null)," \u6570\u5b57\u683c\u5f0f\u4f7f\u7528Axx\u7684\u5f62\u5f0f\uff1aA\u662f\u683c\u5f0f\u8bf4\u660e\u7b26\u7684\u5355\u5b57\u7b26\uff0c\u652f\u6301C\u8d27\u5e01\u3001D\u5341\u8fdb\u5236\u3001E\u6307\u6570\u3001F\u5b9a\u70b9\u6570\u3001G\u5e38\u89c4\u3001N\u6570\u5b57\u3001P\u767e\u5206\u6bd4\u3001R\u5f80\u8fd4\u3001X\u5341\u516d\u8fdb\u5236\u7684\u3002xx\u662f\u7cbe\u5ea6\u8bf4\u660e\uff0c\u4ece0-99\u3002\u5982\uff1aF1, E2",(0,n.kt)("br",null)," \u65e5\u671f\u683c\u5f0f\uff1a\u4ee5",(0,n.kt)("inlineCode",{parentName:"p"},"date"),"\u5f00\u5934\uff0c\u7528\u6765\u683c\u5f0f\u5316DateTime\uff0c\u5e38\u89c1\u683c\u5f0f\u6709\uff1ayyyy\u5e74\uff0cMM\u6708\uff0cdd\u65e5\uff0cHH\u65f6\uff0cmm\u5206\uff0css\u79d2\uff0cfff\u6beb\u79d2\u3002\u5982\uff1adate:yyyy-MM-dd HH:mm:ss",(0,n.kt)("br",null)," \u65f6\u95f4\u683c\u5f0f\uff1a\u4ee5",(0,n.kt)("inlineCode",{parentName:"p"},"time"),"\u5f00\u5934\uff0c\u7528\u6765\u683c\u5f0f\u5316TimeSpan\uff0c\u5e38\u89c1\u683c\u5f0f\u6709\uff1ad\u65e5\uff0cHH\u65f6\uff0cmm\u5206\uff0css\u79d2\uff0cfffffff\u5c0f\u6570\u90e8\u5206\u3002 \u9700\u8981Unity2018\u4ee5\u4e0a\u7248\u672c\u624d\u652f\u6301\u683c\u5f0f\u5316\uff0c\u5e76\u4e14\u91cc\u9762\u7684\u5b57\u7b26\u8981\u8f6c\u4e49\u3002\u5982\uff1atime:d",".","HH\\:mm\\:ss",(0,n.kt)("br",null)," \u6570\u503c\u683c\u5f0f\u5316\u53c2\u8003\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings"},"https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings")," ",(0,n.kt)("br",null)," \u65e5\u671f\u683c\u5f0f\u5316\u53c2\u8003\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings"},"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings")," ",(0,n.kt)("br",null)," \u65f6\u95f4\u683c\u5f0f\u5316\u53c2\u8003\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings"},"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings")," ",(0,n.kt)("br",null)," \u6ce8\u610f\uff1adate\u548ctime\u683c\u5f0f\u9700\u8981",(0,n.kt)("inlineCode",{parentName:"p"},"v3.12.0"),"\u4ee5\u4e0a\u7248\u672c\u624d\u652f\u6301\u3002"),(0,n.kt)("h3",{id:"tooltipoffset"},"Tooltip.offset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Vector2")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Vector2(18f, -25f)")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u76f8\u5bf9\u4e8e\u9f20\u6807\u4f4d\u7f6e\u7684\u504f\u79fb\u3002"),(0,n.kt)("h3",{id:"tooltippaddingleftright"},"Tooltip.paddingLeftRight"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"10")),(0,n.kt)("p",null,"\u5de6\u53f3\u8fb9\u8ddd\u3002"),(0,n.kt)("h3",{id:"tooltippaddingtopbottom"},"Tooltip.paddingTopBottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"10")),(0,n.kt)("p",null,"\u4e0a\u4e0b\u8fb9\u8ddd\u3002"),(0,n.kt)("h3",{id:"tooltipposition"},"Tooltip.position"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#tooltipposition"},"Tooltip.Position")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.3.0")),(0,n.kt)("p",null,"\u663e\u793a\u4f4d\u7f6e\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u81ea\u9002\u5e94\u3002\u79fb\u52a8\u5e73\u53f0\u9760\u9876\u90e8\u663e\u793a\uff0c\u975e\u79fb\u52a8\u5e73\u53f0\u8ddf\u968f\u9f20\u6807\u4f4d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u3002\u5b8c\u5168\u81ea\u5b9a\u4e49\u663e\u793a\u4f4d\u7f6e(x,y)\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"FixedX"),": \u53ea\u56fa\u5b9a\u5750\u6807X\u3002Y\u8ddf\u968f\u9f20\u6807\u4f4d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"FixedY"),": ")),(0,n.kt)("h3",{id:"tooltipshow"},"Tooltip.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u63d0\u793a\u6846\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"tooltipshowcontent"},"Tooltip.showContent"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u63d0\u793a\u6846\u6d6e\u5c42\uff0c\u9ed8\u8ba4\u663e\u793a\u3002\u53ea\u9700tooltip\u89e6\u53d1\u4e8b\u4ef6\u6216\u663e\u793aaxisPointer\u800c\u4e0d\u9700\u8981\u663e\u793a\u5185\u5bb9\u65f6\u53ef\u914d\u7f6e\u8be5\u9879\u4e3afalse\u3002"),(0,n.kt)("h3",{id:"tooltiptitleformatter"},"Tooltip.titleFormatter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u6807\u9898\u5185\u5bb9\u7684\u5b57\u7b26\u4e32\u6a21\u7248\u683c\u5f0f\u5668\u3002\u652f\u6301\u7528 \\n \u6362\u884c\u3002\u53ef\u4ee5\u5355\u72ec\u8bbe\u7f6e\u5360\u4f4d\u7b26{i}\u8868\u793a\u5ffd\u7565\u4e0d\u663e\u793atitle\u3002 \u6a21\u677f\u53d8\u91cf\u6709{.}\u3001{a}\u3001{b}\u3001{c}\u3001{d}\u3001{e}\u3001{f}\u3001{g}\u3002",(0,n.kt)("br",null)," {.}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u5bf9\u5e94\u989c\u8272\u7684\u5706\u70b9\u3002",(0,n.kt)("br",null)," {a}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u7cfb\u5217\u540dname\u3002",(0,n.kt)("br",null)," {b}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u6570\u636e\u9879serieData\u7684name\uff0c\u6216\u8005\u7c7b\u76ee\u503c\uff08\u5982\u6298\u7ebf\u56fe\u7684X\u8f74\uff09\u3002",(0,n.kt)("br",null)," {c}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684y\u7ef4\uff08dimesion\u4e3a1\uff09\u7684\u6570\u503c\u3002",(0,n.kt)("br",null)," {d}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684y\u7ef4\uff08dimesion\u4e3a1\uff09\u767e\u5206\u6bd4\u503c\uff0c\u6ce8\u610f\u4e0d\u5e26%\u53f7\u3002",(0,n.kt)("br",null)," {e}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u6570\u636e\u9879serieData\u7684name\u3002",(0,n.kt)("br",null)," {h}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u6570\u636e\u9879serieData\u7684\u5341\u516d\u8fdb\u5236\u989c\u8272\u503c\u3002",(0,n.kt)("br",null)," {f}\u4e3a\u6570\u636e\u603b\u548c\u3002",(0,n.kt)("br",null)," {g}\u4e3a\u6570\u636e\u603b\u4e2a\u6570\u3002",(0,n.kt)("br",null)," {y}\u4e3avalue\u6240\u5bf9\u5e94\u7684y\u8f74\u7684\u7c7b\u76ee\u503c\u3002",(0,n.kt)("br",null)," {.1}\u8868\u793a\u6307\u5b9aindex\u4e3a1\u7684serie\u5bf9\u5e94\u989c\u8272\u7684\u5706\u70b9\u3002",(0,n.kt)("br",null)," {a1}\u3001{b1}\u3001{c1}\u4e2d\u76841\u8868\u793a\u6307\u5b9aindex\u4e3a1\u7684serie\u3002",(0,n.kt)("br",null)," {c1:2}\u8868\u793a\u7d22\u5f15\u4e3a1\u7684serie\u7684\u5f53\u524d\u6307\u793a\u6570\u636e\u9879\u7684\u7b2c3\u4e2a\u6570\u636e\uff08\u4e00\u4e2a\u6570\u636e\u9879\u6709\u591a\u4e2a\u6570\u636e\uff0cindex\u4e3a2\u8868\u793a\u7b2c3\u4e2a\u6570\u636e\uff09\u3002",(0,n.kt)("br",null)," {c1:2-2}\u8868\u793a\u7d22\u5f15\u4e3a1\u7684serie\u7684\u7b2c3\u4e2a\u6570\u636e\u9879\u7684\u7b2c3\u4e2a\u6570\u636e\uff08\u4e5f\u5c31\u662f\u8981\u6307\u5b9a\u7b2c\u51e0\u4e2a\u6570\u636e\u9879\u65f6\u5fc5\u987b\u8981\u6307\u5b9a\u7b2c\u51e0\u4e2a\u6570\u636e\uff09\u3002",(0,n.kt)("br",null)," {d1:2:f2}\u8868\u793a\u5355\u72ec\u6307\u5b9a\u4e86\u6570\u503c\u7684\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u4e3af2\uff08\u4e0d\u6307\u5b9a\u65f6\u7528numericFormatter\uff09\u3002",(0,n.kt)("br",null),' {d:0.##} \u8868\u793a\u5355\u72ec\u6307\u5b9a\u4e86\u6570\u503c\u7684\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u4e3a 0.## \uff08\u7528\u4e8e\u767e\u5206\u6bd4\uff0c\u4fdd\u75592\u4f4d\u6709\u6548\u6570\u540c\u65f6\u53c8\u80fd\u907f\u514d\u4f7f\u7528 f2 \u800c\u51fa\u73b0\u7684\u7c7b\u4f3c\u4e8e"100.00%"\u7684\u60c5\u51b5 \uff09\u3002',(0,n.kt)("br",null),' \u793a\u4f8b\uff1a"{a}:{c}"\u3001"{a1}:{c1:f1}"\u3001"{a1}:{c1:0:f1}"\u3001"{a1}:{c1:1-1:f1}"'),(0,n.kt)("h3",{id:"tooltiptitleheight"},"Tooltip.titleHeight"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"25f")),(0,n.kt)("p",null,"\u6807\u9898\u6587\u672c\u7684\u9ad8\u3002"),(0,n.kt)("h3",{id:"tooltiptitlelabelstyle"},"Tooltip.titleLabelStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u6807\u9898\u7684\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"tooltiptrigger"},"Tooltip.trigger"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#tooltiptrigger"},"Tooltip.Trigger")),(0,n.kt)("p",null,"\u89e6\u53d1\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Item"),": \u6570\u636e\u9879\u56fe\u5f62\u89e6\u53d1\uff0c\u4e3b\u8981\u5728\u6563\u70b9\u56fe\uff0c\u997c\u56fe\u7b49\u65e0\u7c7b\u76ee\u8f74\u7684\u56fe\u8868\u4e2d\u4f7f\u7528\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Axis"),": \u5750\u6807\u8f74\u89e6\u53d1\uff0c\u4e3b\u8981\u5728\u67f1\u72b6\u56fe\uff0c\u6298\u7ebf\u56fe\u7b49\u4f1a\u4f7f\u7528\u7c7b\u76ee\u8f74\u7684\u56fe\u8868\u4e2d\u4f7f\u7528\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4ec0\u4e48\u90fd\u4e0d\u89e6\u53d1\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u6839\u636eserie\u7684\u7c7b\u578b\u81ea\u52a8\u9009\u62e9\u89e6\u53d1\u7c7b\u578b\u3002")),(0,n.kt)("h3",{id:"tooltiptriggeron"},"Tooltip.triggerOn"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#tooltiptriggeron"},"Tooltip.TriggerOn")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")),(0,n.kt)("p",null,"\u89e6\u53d1\u6761\u4ef6\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"MouseMove"),": \u9f20\u6807\u79fb\u52a8\u65f6\u89e6\u53d1\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Click"),": \u9f20\u6807\u70b9\u51fb\u65f6\u89e6\u53d1\u3002")),(0,n.kt)("h3",{id:"tooltiptype"},"Tooltip.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#tooltiptype"},"Tooltip.Type")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u6307\u793a\u5668\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Line"),": \u76f4\u7ebf\u6307\u793a\u5668"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Shadow"),": \u9634\u5f71\u6307\u793a\u5668"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u65e0\u6307\u793a\u5668"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Cross"),": \u5341\u5b57\u51c6\u661f\u6307\u793a\u5668\u3002\u5750\u6807\u8f74\u663e\u793aLabel\u548c\u4ea4\u53c9\u7ebf\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u6839\u636eserie\u7684\u7c7b\u578b\u81ea\u52a8\u9009\u62e9\u663e\u793a\u6307\u793a\u5668\u3002")),(0,n.kt)("h2",{id:"tooltiptheme"},"TooltipTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"tooltipthemeareacolor"},"TooltipTheme.areaColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u533a\u57df\u6307\u793a\u7684\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"tooltipthemelabelbackgroundcolor"},"TooltipTheme.labelBackgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u5341\u5b57\u6307\u793a\u5668\u5750\u6807\u8f74\u6807\u7b7e\u7684\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"tooltipthemelabeltextcolor"},"TooltipTheme.labelTextColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u5341\u5b57\u6307\u793a\u5668\u5750\u6807\u8f74\u6807\u7b7e\u7684\u6587\u672c\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"tooltipthemelinecolor"},"TooltipTheme.lineColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6307\u793a\u7ebf\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"tooltipthemelinetype"},"TooltipTheme.lineType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyletype"},"LineStyle.Type")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u7ebf\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Solid"),": \u5b9e\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dashed"),": \u865a\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dotted"),": \u70b9\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDot"),": \u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDotDot"),": \u53cc\u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u53cc\u70b9\u5212\u7ebf")),(0,n.kt)("h3",{id:"tooltipthemelinewidth"},"TooltipTheme.lineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1f")),(0,n.kt)("p",null,"\u6307\u793a\u7ebf\u7ebf\u5bbd\u3002"),(0,n.kt)("h2",{id:"uicomponenttheme"},"UIComponentTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"uicomponentthemesharedtheme"},"UIComponentTheme.sharedTheme"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#theme"},"Theme")),(0,n.kt)("p",null,"\u4e3b\u9898\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"uicomponentthemeshow"},"UIComponentTheme.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("h3",{id:"uicomponentthemetransparentbackground"},"UIComponentTheme.transparentBackground"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("h2",{id:"viewcontrol"},"ViewControl"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"3D\u89c6\u89d2\u63a7\u5236\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"viewcontrolalpha"},"ViewControl.alpha"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"90f")),(0,n.kt)("p",null,"\u89c6\u89d2\u5728x-z\u5e73\u9762\u7684\u89d2\u5ea6\u3002"),(0,n.kt)("h3",{id:"viewcontrolbeta"},"ViewControl.beta"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"55f")),(0,n.kt)("p",null,"\u89c6\u89d2\u5728y-z\u5e73\u9762\u7684\u89d2\u5ea6\u3002"),(0,n.kt)("h2",{id:"visualmap"},"VisualMap"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u89c6\u89c9\u6620\u5c04\u7ec4\u4ef6\u3002\u7528\u4e8e\u8fdb\u884c\u300e\u89c6\u89c9\u7f16\u7801\u300f\uff0c\u4e5f\u5c31\u662f\u5c06\u6570\u636e\u6620\u5c04\u5230\u89c6\u89c9\u5143\u7d20\uff08\u89c6\u89c9\u901a\u9053\uff09\u3002"),(0,n.kt)("h3",{id:"visualmapautominmax"},"VisualMap.autoMinMax"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"Automatically set min, Max value \u81ea\u52a8\u8bbe\u7f6emin\uff0cmax\u7684\u503c"),(0,n.kt)("h3",{id:"visualmapborderwidth"},"VisualMap.borderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u8fb9\u6846\u7ebf\u5bbd\uff0c\u5355\u4f4dpx\u3002"),(0,n.kt)("h3",{id:"visualmapcalculable"},"VisualMap.calculable"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u62d6\u62fd\u7528\u7684\u624b\u67c4\uff08\u624b\u67c4\u80fd\u62d6\u62fd\u8c03\u6574\u9009\u4e2d\u8303\u56f4\uff09\u3002"),(0,n.kt)("h3",{id:"visualmapdimension"},"VisualMap.dimension"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"-1")),(0,n.kt)("p",null,"Starting at 1, the default is 0 to take the last dimension in data."),(0,n.kt)("h3",{id:"visualmaphoverlink"},"VisualMap.hoverLink"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"Conversely, when the mouse hovers over a graphic element in a diagram, the corresponding value of the visualMap component is triangulated in the corresponding position."),(0,n.kt)("h3",{id:"visualmapinrange"},"VisualMap.inRange"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u5206\u6bb5\u5f0f\u6bcf\u4e00\u6bb5\u7684\u76f8\u5173\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"visualmapitemgap"},"VisualMap.itemGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"10f")),(0,n.kt)("p",null,"\u6bcf\u4e2a\u56fe\u5143\u4e4b\u95f4\u7684\u95f4\u9694\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"visualmapitemheight"},"VisualMap.itemHeight"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"140f")),(0,n.kt)("p",null,"\u56fe\u5f62\u7684\u9ad8\u5ea6\uff0c\u5373\u989c\u8272\u6761\u7684\u9ad8\u5ea6\u3002"),(0,n.kt)("h3",{id:"visualmapitemwidth"},"VisualMap.itemWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"20f")),(0,n.kt)("p",null,"\u56fe\u5f62\u7684\u5bbd\u5ea6\uff0c\u5373\u989c\u8272\u6761\u7684\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"visualmaplocation"},"VisualMap.location"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#location"},"Location")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u663e\u793a\u7684\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"visualmapmax"},"VisualMap.max"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u8303\u56f4\u6700\u5927\u503c"),(0,n.kt)("h3",{id:"visualmapmin"},"VisualMap.min"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u8303\u56f4\u6700\u5c0f\u503c"),(0,n.kt)("h3",{id:"visualmaporient"},"VisualMap.orient"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#orient"},"Orient")),(0,n.kt)("p",null,"\u5e03\u5c40\u65b9\u5f0f\u662f\u6a2a\u8fd8\u662f\u7ad6\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Horizonal"),": \u6c34\u5e73"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Vertical"),": \u5782\u76f4")),(0,n.kt)("h3",{id:"visualmapoutofrange"},"VisualMap.outOfRange"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u5b9a\u4e49 \u5728\u9009\u4e2d\u8303\u56f4\u5916 \u7684\u89c6\u89c9\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"visualmaprange"},"VisualMap.range"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double[]")),(0,n.kt)("p",null,"\u6307\u5b9a\u624b\u67c4\u5bf9\u5e94\u6570\u503c\u7684\u4f4d\u7f6e\u3002range \u5e94\u5728","[min,max]","\u8303\u56f4\u5185\u3002"),(0,n.kt)("h3",{id:"visualmaprealtime"},"VisualMap.realtime"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u62d6\u62fd\u65f6\uff0c\u662f\u5426\u5b9e\u65f6\u66f4\u65b0\u3002"),(0,n.kt)("h3",{id:"visualmapselectedmode"},"VisualMap.selectedMode"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#visualmapselectedmode"},"VisualMap.SelectedMode")),(0,n.kt)("p",null,"\u9009\u62e9\u6a21\u5f0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Multiple"),": \u591a\u9009\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Single"),": \u5355\u9009\u3002")),(0,n.kt)("h3",{id:"visualmapserieindex"},"VisualMap.serieIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u5f71\u54cd\u7684serie\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"visualmapshow"},"VisualMap.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u662f\u5426\u751f\u6548\u3002"),(0,n.kt)("h3",{id:"visualmapshowui"},"VisualMap.showUI"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7ec4\u4ef6\u3002\u5982\u679c\u8bbe\u7f6e\u4e3a false\uff0c\u4e0d\u4f1a\u663e\u793a\uff0c\u4f46\u662f\u6570\u636e\u6620\u5c04\u7684\u529f\u80fd\u8fd8\u5b58\u5728\u3002"),(0,n.kt)("h3",{id:"visualmapsplitnumber"},"VisualMap.splitNumber"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"5")),(0,n.kt)("p",null,"\u5bf9\u4e8e\u8fde\u7eed\u578b\u6570\u636e\uff0c\u81ea\u52a8\u5e73\u5747\u5207\u5206\u6210\u51e0\u6bb5\uff0c\u9ed8\u8ba4\u4e3a0\u65f6\u81ea\u52a8\u5339\u914dinRange\u989c\u8272\u5217\u8868\u5927\u5c0f\u3002"),(0,n.kt)("h3",{id:"visualmaptext"},"VisualMap.text"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string[]")),(0,n.kt)("p",null,"\u4e24\u7aef\u7684\u6587\u672c\uff0c\u5982 ","['High', 'Low']","\u3002"),(0,n.kt)("h3",{id:"visualmaptextgap"},"VisualMap.textGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u4e24\u7aef\u6587\u5b57\u4e3b\u4f53\u4e4b\u95f4\u7684\u8ddd\u79bb\uff0c\u5355\u4f4d\u4e3apx\u3002"),(0,n.kt)("h3",{id:"visualmaptype"},"VisualMap.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#visualmaptype"},"VisualMap.Type")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Continuous"),": \u8fde\u7eed\u578b\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Piecewise"),": \u5206\u6bb5\u578b\u3002")),(0,n.kt)("h3",{id:"visualmapworkonarea"},"VisualMap.workOnArea"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u662f\u5426\u5bf9LineChart\u7684AreaStyle\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"visualmapworkonline"},"VisualMap.workOnLine"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u662f\u5426\u5bf9LineChart\u7684LineStyle\u6709\u6548\u3002"),(0,n.kt)("h2",{id:"visualmaprange-1"},"VisualMapRange"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"visualmaprangecolor"},"VisualMapRange.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u989c\u8272"),(0,n.kt)("h3",{id:"visualmaprangelabel"},"VisualMapRange.label"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6587\u5b57\u63cf\u8ff0"),(0,n.kt)("h3",{id:"visualmaprangemax"},"VisualMapRange.max"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"\u8303\u56f4\u6700\u5927\u503c"),(0,n.kt)("h3",{id:"visualmaprangemin"},"VisualMapRange.min"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"\u8303\u56f4\u6700\u5c0f\u503c"),(0,n.kt)("h2",{id:"visualmaptheme"},"VisualMapTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"visualmapthemebackgroundcolor"},"VisualMapTheme.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"visualmapthemebordercolor"},"VisualMapTheme.borderColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u8fb9\u6846\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"visualmapthemeborderwidth"},"VisualMapTheme.borderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u8fb9\u6846\u7ebf\u5bbd\u3002"),(0,n.kt)("h3",{id:"visualmapthemetriangelen"},"VisualMapTheme.triangeLen"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"20f")),(0,n.kt)("p",null,"\u53ef\u89c6\u5316\u7ec4\u4ef6\u7684\u8c03\u8282\u4e09\u89d2\u5f62\u8fb9\u957f\u3002"),(0,n.kt)("h2",{id:"wrappert"},"Wrapper","<","T",">"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"xaxis"},"XAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 x \u8f74\u3002"),(0,n.kt)("h2",{id:"xaxis3d"},"XAxis3D"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 x \u8f74\u3002"),(0,n.kt)("h2",{id:"xcresourcesimporter"},"XCResourcesImporter"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"xcsettings"},"XCSettings"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=ScriptableObject"},"ScriptableObject")),(0,n.kt)("h3",{id:"xcsettingsaxislinetype"},"XCSettings.axisLineType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyletype"},"LineStyle.Type")),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Solid"),": \u5b9e\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dashed"),": \u865a\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dotted"),": \u70b9\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDot"),": \u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDotDot"),": \u53cc\u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u53cc\u70b9\u5212\u7ebf")),(0,n.kt)("h3",{id:"xcsettingsaxislinewidth"},"XCSettings.axisLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.8f")),(0,n.kt)("h3",{id:"xcsettingsaxissplitlinetype"},"XCSettings.axisSplitLineType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyletype"},"LineStyle.Type")),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Solid"),": \u5b9e\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dashed"),": \u865a\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dotted"),": \u70b9\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDot"),": \u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDotDot"),": \u53cc\u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u53cc\u70b9\u5212\u7ebf")),(0,n.kt)("h3",{id:"xcsettingsaxissplitlinewidth"},"XCSettings.axisSplitLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.8f")),(0,n.kt)("h3",{id:"xcsettingsaxisticklength"},"XCSettings.axisTickLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"5f")),(0,n.kt)("h3",{id:"xcsettingsaxistickwidth"},"XCSettings.axisTickWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.8f")),(0,n.kt)("h3",{id:"xcsettingsciclesmoothness"},"XCSettings.cicleSmoothness"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2f")),(0,n.kt)("h3",{id:"xcsettingscustomthemes"},"XCSettings.customThemes"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("h3",{id:"xcsettingsdatazoomborderwidth"},"XCSettings.dataZoomBorderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.5f")),(0,n.kt)("h3",{id:"xcsettingsdatazoomdatalinewidth"},"XCSettings.dataZoomDataLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.5f")),(0,n.kt)("h3",{id:"xcsettingseditorshowalllistdata"},"XCSettings.editorShowAllListData"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("h3",{id:"xcsettingsfont"},"XCSettings.font"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Font")),(0,n.kt)("h3",{id:"xcsettingsfontsizelv1"},"XCSettings.fontSizeLv1"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"28")),(0,n.kt)("p",null,"\u4e00\u7ea7\u5b57\u4f53\u5927\u5c0f\u3002"),(0,n.kt)("h3",{id:"xcsettingsfontsizelv2"},"XCSettings.fontSizeLv2"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"24")),(0,n.kt)("h3",{id:"xcsettingsfontsizelv3"},"XCSettings.fontSizeLv3"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"20")),(0,n.kt)("h3",{id:"xcsettingsfontsizelv4"},"XCSettings.fontSizeLv4"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"18")),(0,n.kt)("h3",{id:"xcsettingsgaugeaxislinewidth"},"XCSettings.gaugeAxisLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"15f")),(0,n.kt)("h3",{id:"xcsettingsgaugeaxissplitlinelength"},"XCSettings.gaugeAxisSplitLineLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"15f")),(0,n.kt)("h3",{id:"xcsettingsgaugeaxissplitlinewidth"},"XCSettings.gaugeAxisSplitLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.8f")),(0,n.kt)("h3",{id:"xcsettingsgaugeaxisticklength"},"XCSettings.gaugeAxisTickLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"5f")),(0,n.kt)("h3",{id:"xcsettingsgaugeaxistickwidth"},"XCSettings.gaugeAxisTickWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.8f")),(0,n.kt)("h3",{id:"xcsettingslang"},"XCSettings.lang"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#lang"},"Lang")),(0,n.kt)("h3",{id:"xcsettingslinesegmentdistance"},"XCSettings.lineSegmentDistance"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"3f")),(0,n.kt)("h3",{id:"xcsettingslinesmoothness"},"XCSettings.lineSmoothness"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2f")),(0,n.kt)("h3",{id:"xcsettingslinesmoothstyle"},"XCSettings.lineSmoothStyle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"3f")),(0,n.kt)("h3",{id:"xcsettingsmaxpainter"},"XCSettings.maxPainter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"10")),(0,n.kt)("h3",{id:"xcsettingsseriecandlestickborderwidth"},"XCSettings.serieCandlestickBorderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1f")),(0,n.kt)("h3",{id:"xcsettingsserielinesymbolsize"},"XCSettings.serieLineSymbolSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"5f")),(0,n.kt)("h3",{id:"xcsettingsserielinewidth"},"XCSettings.serieLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1.8f")),(0,n.kt)("h3",{id:"xcsettingsseriescattersymbolsize"},"XCSettings.serieScatterSymbolSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"20f")),(0,n.kt)("h3",{id:"xcsettingsserieselectedrate"},"XCSettings.serieSelectedRate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1.3f")),(0,n.kt)("h3",{id:"xcsettingstmpfont"},"XCSettings.tMPFont"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"TMP_FontAsset")),(0,n.kt)("h3",{id:"xcsettingstootiplinewidth"},"XCSettings.tootipLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.8f")),(0,n.kt)("h3",{id:"xcsettingsvisualmapborderwidth"},"XCSettings.visualMapBorderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("h3",{id:"xcsettingsvisualmaptriangelen"},"XCSettings.visualMapTriangeLen"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"20f")),(0,n.kt)("h2",{id:"yaxis"},"YAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 y \u8f74\u3002"),(0,n.kt)("h2",{id:"yaxis3d"},"YAxis3D"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 y \u8f74\u3002"),(0,n.kt)("h2",{id:"zaxis3d"},"ZAxis3D"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 y \u8f74\u3002"))}s.isMDXComponent=!0},84597:function(e,t,l){l.d(t,{Z:function(){return p}});var i=l(67294),a=l(76775),n="apiTable_e8hp";function r(e,t){var l=e.name,n=e.children,r=function(e){for(var t=e;(0,i.isValidElement)(t);)t=i.Children.toArray(t.props.children)[0];return t}(n),o=l?l+"-"+r:r,p="#"+o,d=(0,a.k6)();return i.createElement("tr",{id:o,tabIndex:0,ref:d.location.hash===p?t:void 0,onClick:function(e){"A"===e.target.tagName.toUpperCase()||d.push(p)},onKeyDown:function(e){"Enter"===e.key&&d.push(p)}},n.props.children)}var o=i.forwardRef(r);function p(e){var t=e.children,l=e.name,a=i.Children.toArray(t.props.children),r=a[0],p=a[1],d=(0,i.useRef)(null);(0,i.useEffect)((function(){var e;null==(e=d.current)||e.focus()}),[d]);var k=i.Children.map(p.props.children,(function(e){return i.createElement(o,{name:l,ref:d},e)}));return i.createElement("table",{className:n},r,i.createElement("tbody",null,k))}}}]); \ No newline at end of file diff --git a/assets/js/31476475.e11b178d.js b/assets/js/31476475.e11b178d.js new file mode 100644 index 00000000..25696b2b --- /dev/null +++ b/assets/js/31476475.e11b178d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8952],{3905:function(e,t,r){r.d(t,{Zo:function(){return d},kt:function(){return s}});var a=r(67294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function i(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var o=a.createContext({}),c=function(e){var t=a.useContext(o),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},d=function(e){var t=c(e.components);return a.createElement(o.Provider,{value:t},e.children)},h={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},u=a.forwardRef((function(e,t){var r=e.components,l=e.mdxType,n=e.originalType,o=e.parentName,d=p(e,["components","mdxType","originalType","parentName"]),u=c(r),s=l,v=u["".concat(o,".").concat(s)]||u[s]||h[s]||n;return r?a.createElement(v,i(i({ref:t},d),{},{components:r})):a.createElement(v,i({ref:t},d))}));function s(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var n=r.length,i=new Array(n);i[0]=u;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p.mdxType="string"==typeof e?e:l,i[1]=p;for(var c=2;c=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=r.createContext({}),d=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},u=function(e){var t=d(e.components);return r.createElement(c.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},s=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,c=e.parentName,u=o(e,["components","mdxType","originalType","parentName"]),s=d(n),h=i,f=s["".concat(c,".").concat(h)]||s[h]||p[h]||a;return n?r.createElement(f,l(l({ref:t},u),{},{components:n})):r.createElement(f,l({ref:t},u))}));function h(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,l=new Array(a);l[0]=s;var o={};for(var c in t)hasOwnProperty.call(t,c)&&(o[c]=t[c]);o.originalType=e,o.mdxType="string"==typeof e?e:i,l[1]=o;for(var d=2;d=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var u=l.createContext({}),p=function(e){var t=l.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):r(r({},t),e)),n},d=function(e){var t=p(e.components);return l.createElement(u.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return l.createElement(l.Fragment,{},t)}},k=l.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,u=e.parentName,d=o(e,["components","mdxType","originalType","parentName"]),k=p(n),c=i,s=k["".concat(u,".").concat(c)]||k[c]||m[c]||a;return n?l.createElement(s,r(r({ref:t},d),{},{components:n})):l.createElement(s,r({ref:t},d))}));function c(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,r=new Array(a);r[0]=k;var o={};for(var u in t)hasOwnProperty.call(t,u)&&(o[u]=t[u]);o.originalType=e,o.mdxType="string"==typeof e?e:i,r[1]=o;for(var p=2;p=0||(n[i]=e[i]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}var s=l.createContext({}),u=function(e){var t=l.useContext(s),i=t;return e&&(i="function"==typeof e?e(t):r(r({},t),e)),i},p=function(e){var t=u(e.components);return l.createElement(s.Provider,{value:t},e.children)},o={inlineCode:"code",wrapper:function(e){var t=e.children;return l.createElement(l.Fragment,{},t)}},c=l.forwardRef((function(e,t){var i=e.components,n=e.mdxType,a=e.originalType,s=e.parentName,p=d(e,["components","mdxType","originalType","parentName"]),c=u(i),h=n,k=c["".concat(s,".").concat(h)]||c[h]||o[h]||a;return i?l.createElement(k,r(r({ref:t},p),{},{components:i})):l.createElement(k,r({ref:t},p))}));function h(e,t){var i=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=i.length,r=new Array(a);r[0]=c;var d={};for(var s in t)hasOwnProperty.call(t,s)&&(d[s]=t[s]);d.originalType=e,d.mdxType="string"==typeof e?e:n,r[1]=d;for(var u=2;u=0||(i[a]=e[a]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}var p=n.createContext({}),s=function(e){var t=n.useContext(p),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},h=function(e){var t=s(e.components);return n.createElement(p.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var a=e.components,i=e.mdxType,r=e.originalType,p=e.parentName,h=o(e,["components","mdxType","originalType","parentName"]),m=s(a),d=i,u=m["".concat(p,".").concat(d)]||m[d]||c[d]||r;return a?n.createElement(u,l(l({ref:t},h),{},{components:a})):n.createElement(u,l({ref:t},h))}));function d(e,t){var a=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var r=a.length,l=new Array(r);l[0]=m;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o.mdxType="string"==typeof e?e:i,l[1]=o;for(var s=2;sXCharts->LineChart"),"\u6216\u83dc\u5355\u680f",(0,r.kt)("inlineCode",{parentName:"p"},"XCharts"),"\u4e0b\u62c9\u9009\u62e9",(0,r.kt)("inlineCode",{parentName:"p"},"LineChart"),"\uff0c\u5373\u53ef\u5feb\u901f\u521b\u5efa\u4e00\u4e2a\u9ed8\u8ba4\u7684\u6298\u7ebf\u56fe\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"linechart1",src:a(55658).Z,width:"650",height:"324"})),(0,r.kt)("p",null,"\u5982\u9700\u5728\u67d0\u4e2a\u8282\u70b9\u4e0b\u521b\u5efa\u56fe\u8868\uff0c\u53ef\u4ee5\u9009\u4e2d\u8282\u70b9\u53f3\u952e",(0,r.kt)("inlineCode",{parentName:"p"},"UI->XCharts->LineChart"),"\u5373\u53ef\u5728\u8282\u70b9\u4e0b\u521b\u5efa\u56fe\u8868\u3002"),(0,r.kt)("h3",{id:"\u4fee\u6539\u56fe\u8868\u6570\u636e"},"\u4fee\u6539\u56fe\u8868\u6570\u636e"),(0,r.kt)("p",null,"\u521a\u521b\u5efa\u7684\u56fe\u8868\uff0c\u5b83\u7684\u6570\u636e\u53ef\u4ee5\u5728Inspector\u89c6\u56fe\u9762\u677f\u4e0a\u8fdb\u884c\u4fee\u6539\u3002"),(0,r.kt)("p",null,"\u5bf9\u4e8eX\u8f74\u6570\u636e\uff0c\u53ef\u901a\u8fc7\uff1a",(0,r.kt)("inlineCode",{parentName:"p"},"XAxis->Data"),"\u5c55\u5f00\u540e\u8fdb\u884c\u589e\u5220\u548c\u4fee\u6539\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"op_axisdata",src:a(20545).Z,width:"650",height:"637"})),(0,r.kt)("p",null,"\u5bf9\u4e8eSerie\u6570\u636e\uff0c\u53ef\u901a\u8fc7\uff1a",(0,r.kt)("inlineCode",{parentName:"p"},"Serie->Data"),"\u5c55\u5f00\u540e\u8fdb\u884c\u589e\u5220\u548c\u4fee\u6539\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"op_seriedata",src:a(50802).Z,width:"650",height:"599"})),(0,r.kt)("p",null,"Serie\u652f\u6301\u591a\u7ef4\u6570\u636e\uff0c\u4e00\u822c\u6298\u7ebf\u56fe\u53ea\u7528\u5230\u4e8c\u7ef4\u6570\u636e\uff1a\u7b2c\u4e00\u7ef4\u8868\u793aX\u8f74\u7c7b\u76ee\u6570\u636e\u7684\u7f16\u53f7\uff0c\u7b2c\u4e8c\u7ef4\u8868\u793a\u5bf9\u5e94\u7684\u6570\u503c\u3002"),(0,r.kt)("h3",{id:"\u6dfb\u52a0\u591a\u4e2aseire"},"\u6dfb\u52a0\u591a\u4e2aSeire"),(0,r.kt)("p",null,"\u5728",(0,r.kt)("inlineCode",{parentName:"p"},"Inspector"),"\u89c6\u56fe\uff0c\u627e\u5230",(0,r.kt)("inlineCode",{parentName:"p"},"LineChart"),"\u7684\u9762\u677f\uff0c\u901a\u8fc7",(0,r.kt)("inlineCode",{parentName:"p"},"Add Serie"),"\u6309\u94ae\uff0c\u53ef\u4ee5\u6dfb\u52a0\u7b2c\u4e8c\u6761",(0,r.kt)("inlineCode",{parentName:"p"},"Line"),"\u6298\u7ebf\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"op_addserie",src:a(18778).Z,width:"650",height:"864"}),"\n",(0,r.kt)("img",{alt:"linechart2",src:a(23763).Z,width:"650",height:"324"})),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"Note\uff1aSerie\u901a\u8fc7",(0,r.kt)("inlineCode",{parentName:"p"},"Add Serie"),"\u6309\u94ae\u6dfb\u52a0\u3002\u53ef\u6dfb\u52a0\u4e0d\u540c\u7c7b\u578b\u7684Serie\u3002",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie-%E7%B3%BB%E5%88%97"},"XCharts\u6709\u54ea\u4e9bSerie\uff1f"))),(0,r.kt)("h3",{id:"\u6dfb\u52a0\u5176\u4ed6\u4e3b\u7ec4\u4ef6"},"\u6dfb\u52a0\u5176\u4ed6\u4e3b\u7ec4\u4ef6"),(0,r.kt)("p",null,"\u9ed8\u8ba4\u56fe\u8868\u6ca1\u6709",(0,r.kt)("inlineCode",{parentName:"p"},"Legend"),"\uff0c\u9700\u8981",(0,r.kt)("inlineCode",{parentName:"p"},"Legend"),"\u7ec4\u4ef6\u53ef\u901a\u8fc7",(0,r.kt)("inlineCode",{parentName:"p"},"Add Component"),"\u6309\u94ae\u6dfb\u52a0\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"op_addcomponent",src:a(50730).Z,width:"650",height:"858"})),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"Note\uff1a\u4e3b\u7ec4\u4ef6\u901a\u8fc7",(0,r.kt)("inlineCode",{parentName:"p"},"Add Component"),"\u6309\u94ae\u6dfb\u52a0\u3002",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration/#maincomponent-%E4%B8%BB%E7%BB%84%E4%BB%B6"},"XCharts\u6709\u54ea\u4e9b\u4e3b\u7ec4\u4ef6\uff1f"))),(0,r.kt)("h3",{id:"\u6dfb\u52a0serie\u7ec4\u4ef6"},"\u6dfb\u52a0Serie\u7ec4\u4ef6"),(0,r.kt)("p",null,"Serie\u53ea\u81ea\u5e26\u4e86\u51e0\u4e2a\u5e38\u89c1\u7684\u7ec4\u4ef6\uff0c\u5176\u4ed6\u7ec4\u4ef6\u7528\u5230\u65f6\u9700\u989d\u5916\u6dfb\u52a0\u3002\u6bd4\u5982\uff0c\u9700\u8981\u7ed9\u6298\u7ebf\u56fe\u8fdb\u884c\u533a\u57df\u586b\u5145\u989c\u8272\uff0c\u53ef\u5355\u72ec\u7ed9",(0,r.kt)("inlineCode",{parentName:"p"},"Serie"),"\u6dfb\u52a0",(0,r.kt)("inlineCode",{parentName:"p"},"AreaStyle"),"\u7ec4\u4ef6\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"op_addseriecomponent",src:a(8526).Z,width:"650",height:"942"}),"\n",(0,r.kt)("img",{alt:"linechart3",src:a(12362).Z,width:"650",height:"323"})),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"Note\uff1aSerie\u7ec4\u4ef6\u901a\u8fc7Serie\u53f3\u8fb9\u7684\u6309\u94ae\u6dfb\u52a0\u3002",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration/#iseriecomponent-%E5%8F%AF%E6%B7%BB%E5%8A%A0%E5%88%B0serie%E7%9A%84%E7%BB%84%E4%BB%B6"},"XCharts\u6709\u54ea\u4e9bSerie\u7ec4\u4ef6\uff1f"))),(0,r.kt)("h3",{id:"\u6dfb\u52a0seriedata\u7ec4\u4ef6"},"\u6dfb\u52a0SerieData\u7ec4\u4ef6"),(0,r.kt)("p",null,"\u5982\u679c\u9700\u8981\u4e2a\u6027\u5316\u5b9a\u5236\u6bcf\u4e2a\u6570\u636e\u9879\u7684\u914d\u7f6e\uff0c\u53ef\u4ee5\u5355\u72ec\u7ed9\u6bcf\u4e2a",(0,r.kt)("inlineCode",{parentName:"p"},"SerieData"),"\u6dfb\u52a0\u7ec4\u4ef6\u3002\u6bd4\u5982\u6211\u4eec\u7ed9\u6298\u7ebf\u56fe\u7684\u7b2c\u4e8c\u4e2a\u6570\u636e\u5355\u72ec\u663e\u793a",(0,r.kt)("inlineCode",{parentName:"p"},"Label"),"\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"op_addseriedatacomponent",src:a(29253).Z,width:"650",height:"729"}),"\n",(0,r.kt)("img",{alt:"linechart4",src:a(77973).Z,width:"650",height:"325"})),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"Note\uff1aSerieData\u7ec4\u4ef6\u901a\u8fc7\u5c55\u5f00SerieData\u540eComponent\u53f3\u8fb9\u7684\u6309\u94ae\u6dfb\u52a0\u3002",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration/#iseriedatacomponent-%E5%8F%AF%E6%B7%BB%E5%8A%A0%E5%88%B0seriedata%E7%9A%84%E7%BB%84%E4%BB%B6"},"XCharts\u6709\u54ea\u4e9bSerieData\u7ec4\u4ef6\uff1f"))),(0,r.kt)("h3",{id:"\u66f4\u591a\u7ec4\u4ef6\u548c\u914d\u7f6e\u53c2\u6570"},"\u66f4\u591a\u7ec4\u4ef6\u548c\u914d\u7f6e\u53c2\u6570"),(0,r.kt)("p",null,"XCharts\u7ecf\u8fc7\u4e0d\u65ad\u7684\u8fed\u4ee3\u4f18\u5316\uff0c\u76ee\u524d\u5df2\u6709\u591a\u8fbe\u51e0\u5341\u79cd\u7684\u4e3b\u7ec4\u4ef6\u548c\u5b50\u7ec4\u4ef6\uff0c\u6bcf\u4e2a\u7ec4\u4ef6\u6709\u51e0\u4e2a\u5230\u51e0\u5341\u4e2a\u7684\u53ef\u914d\u7f6e\u53c2\u6570\uff0c\u7528\u6765\u652f\u6301\u591a\u6837\u5316\u7684\u529f\u80fd\u3002"),(0,r.kt)("p",null,"\u9996\u6b21\u4f7f\u7528XCharts\uff0c\u5efa\u8bae\u4eb2\u81ea\u53bb\u6d4b\u8bd5\u4e0b\u5404\u4e2a\u56fe\u8868\u5404\u4e2a\u7ec4\u4ef6\u7684\u5b9e\u9645\u6548\u679c\u3002",(0,r.kt)("inlineCode",{parentName:"p"},"Inspector")," \u89c6\u56fe\u53ef\u4ee5\u76f4\u63a5\u6dfb\u52a0\u5404\u79cd\u56fe\u8868\uff0c\u5404\u79cd\u7ec4\u4ef6\u4ee5\u53ca\u8c03\u6574\u5404\u4e2a\u914d\u7f6e\u53c2\u6570\uff0c",(0,r.kt)("inlineCode",{parentName:"p"},"Game")," \u89c6\u56fe\u4f1a\u5b9e\u65f6\u53cd\u9988\u8c03\u6574\u540e\u7684\u6548\u679c\u3002\u5404\u4e2a\u7ec4\u4ef6\u7684\u8be6\u7ec6\u53c2\u6570\u8bf4\u660e\u53ef\u67e5\u9605",(0,r.kt)("a",{parentName:"p",href:"/docs/configuration"},"XCharts\u914d\u7f6e\u9879\u624b\u518c"),"\u3002"),(0,r.kt)("h3",{id:"\u5982\u4f55\u5feb\u901f\u8c03\u6574\u53c2\u6570"},"\u5982\u4f55\u5feb\u901f\u8c03\u6574\u53c2\u6570"),(0,r.kt)("p",null,"XCharts\u662f\u6570\u636e\u548c\u53c2\u6570\u9a71\u52a8\u7684\u3002\u60f3\u8981\u4ec0\u4e48\u6548\u679c\uff0c\u53ea\u9700\u8981\u53bb\u8c03\u6574\u5bf9\u5e94\u7ec4\u4ef6\u4e0b\u7684\u914d\u7f6e\u53c2\u6570\u5c31\u53ef\u4ee5\uff0c\u4e0d\u80fd\u53bb\u6539",(0,r.kt)("inlineCode",{parentName:"p"},"Hierarchy"),"\u89c6\u56fe\u4e0b\u7684\u8282\u70b9\uff0c\u56e0\u4e3a\u90a3\u4e9b\u8282\u70b9\u662f\u7531XCharts\u5185\u90e8\u6839\u636e\u914d\u7f6e\u548c\u6570\u636e\u751f\u6210\u7684\uff0c\u5373\u4f7f\u6539\u4e86\u4e5f\u4f1a\u5728\u5237\u65b0\u65f6\u88ab\u8fd8\u539f\u6389\u3002"),(0,r.kt)("p",null,"\u5982\u4f55\u5feb\u901f\u5b9a\u4f4d\u4f60\u60f3\u8981\u6539\u7684\u6548\u679c\u6240\u5bf9\u5e94\u7684\u7ec4\u4ef6\uff0c\u8fd9\u5c31\u9700\u8981\u5bf9\u7ec4\u4ef6\u6709\u4e00\u5b9a\u7684\u4e86\u89e3\u3002\u6bd4\u5982\u6211\u4eec\u60f3\u8981\u8ba9X\u8f74\u7684\u8f74\u7ebf\u672b\u7aef\u663e\u793a\u7bad\u5934\uff0c\u5982\u4f55\u5b9a\u4f4d\uff1f\u7b2c\u4e00\u6b65\uff0cX\u8f74\u5b9a\u4f4d\u5230",(0,r.kt)("inlineCode",{parentName:"p"},"XAxis0"),"\uff1b\u7b2c\u4e8c\u6b65\uff0c\u8f74\u7ebf\u5b9a\u4f4d\u5230",(0,r.kt)("inlineCode",{parentName:"p"},"AxisLine"),"\uff1b\u6700\u540e\uff0c\u518d\u53bb\u770b",(0,r.kt)("inlineCode",{parentName:"p"},"AxisLine"),"\u7ec4\u4ef6\u4e0b\u6709\u6ca1\u6709\u8fd9\u6837\u7684\u53c2\u6570\u53ef\u4ee5\u5b9e\u73b0\u8fd9\u4e2a\u6548\u679c\uff0c\u5bf9\u4e8e\u4e0d\u592a\u786e\u5b9a\u7684\u53c2\u6570\u53ef\u4ee5\u67e5\u9605",(0,r.kt)("a",{parentName:"p",href:"/docs/configuration"},"XCharts\u914d\u7f6e\u9879\u624b\u518c"),"\u3002"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"XCharts"),"\u63d0\u4f9b\u4ece\u5168\u5c40",(0,r.kt)("inlineCode",{parentName:"p"},"Theme"),"\u3001\u7cfb\u5217",(0,r.kt)("inlineCode",{parentName:"p"},"Serie"),"\u3001\u5355\u4e2a\u6570\u636e\u9879",(0,r.kt)("inlineCode",{parentName:"p"},"SerieData"),"\u4e09\u65b9\u9762\u5168\u65b9\u4f4d\u7684\u53c2\u6570\u914d\u7f6e\u3002\u4f18\u5148\u7ea7\u4ece\u5927\u5230\u5c0f\u4e3a\uff1a",(0,r.kt)("inlineCode",{parentName:"p"},"SerieData"),"->",(0,r.kt)("inlineCode",{parentName:"p"},"Serie"),"->",(0,r.kt)("inlineCode",{parentName:"p"},"Theme"),"\u3002\u4ee5",(0,r.kt)("inlineCode",{parentName:"p"},"ItemStyle"),"\u7684\u989c\u8272\u4e3a\u4f8b\uff1a"),(0,r.kt)("ol",null,(0,r.kt)("li",{parentName:"ol"},"\u5982\u679c",(0,r.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684",(0,r.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u914d\u7f6e\u6709\u975e",(0,r.kt)("inlineCode",{parentName:"li"},"0000"),"\u989c\u8272\u503c\uff0c\u5219\u4f18\u5148\u7528\u8fd9\u4e2a\u989c\u8272\u503c\u3002"),(0,r.kt)("li",{parentName:"ol"},"\u5982\u679c",(0,r.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,r.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u914d\u7f6e\u6709\u975e",(0,r.kt)("inlineCode",{parentName:"li"},"0000"),"\u989c\u8272\u503c\uff0c\u5219\u4f18\u5148\u7528\u8fd9\u4e2a\u989c\u8272\u503c\u3002"),(0,r.kt)("li",{parentName:"ol"},"\u5426\u5219\u989c\u8272\u503c\u53d6\u81ea\u4e3b\u9898",(0,r.kt)("inlineCode",{parentName:"li"},"Theme"),"\u7684",(0,r.kt)("inlineCode",{parentName:"li"},"Color Palette"),"\u3002")),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"Note\uff1a\u901a\u5e38\u989c\u8272\u503c\u4e3a0000\u65f6\u8868\u793a\u7528\u4e3b\u9898\u9ed8\u8ba4\u989c\u8272\uff1b\u5176\u4ed6\u53c2\u6570\u4e3a0\u6216null\u65f6\u8868\u793a\u7528\u4e3b\u9898\u9ed8\u8ba4\u914d\u7f6e\uff1b\u8bbe\u7f6e\u989c\u8272\u65f6\u6ce8\u610f\u900f\u660e\u5ea6\u3002")),(0,r.kt)("h3",{id:"\u7528\u4ee3\u7801\u6dfb\u52a0\u6298\u7ebf\u56fe"},"\u7528\u4ee3\u7801\u6dfb\u52a0\u6298\u7ebf\u56fe"),(0,r.kt)("p",null,"\u7ed9",(0,r.kt)("inlineCode",{parentName:"p"},"gameObject"),"\u6302\u4e0a",(0,r.kt)("inlineCode",{parentName:"p"},"LineChart"),"\u811a\u672c\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},"var chart = gameObject.GetComponent();\nif (chart == null)\n{\n chart = gameObject.AddComponent();\n chart.Init();\n}\n")),(0,r.kt)("p",null,"\u8c03\u6574\u5927\u5c0f\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},"chart.SetSize(580, 300);//\u4ee3\u7801\u52a8\u6001\u8bbe\u7f6e\u5c3a\u5bf8\uff0c\u6216\u76f4\u63a5\u64cd\u4f5cchart.rectTransform\uff0c\u6216\u76f4\u63a5\u5728Inspector\u4e0a\u6539\n")),(0,r.kt)("p",null,"\u8bbe\u7f6e\u6807\u9898\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},'var title = chart.EnsureChartComponent();\ntitle.text = "Simple Line";\n')),(0,r.kt)("p",null,"\u8bbe\u7f6e\u63d0\u793a\u6846\u548c\u56fe\u4f8b\u662f\u5426\u663e\u793a\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},"var tooltip = chart.EnsureChartComponent<Tooltip>();\ntooltip.show = true;\n\nvar legend = chart.EnsureChartComponent<Legend>();\nlegend.show = false;\n")),(0,r.kt)("p",null,"\u8bbe\u7f6e\u5750\u6807\u8f74\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},"var xAxis = chart.EnsureChartComponent<XAxis>();\nxAxis.splitNumber = 10;\nxAxis.boundaryGap = true;\nxAxis.type = Axis.AxisType.Category;\n\nvar yAxis = chart.EnsureChartComponent<YAxis>();\nyAxis.type = Axis.AxisType.Value;\n")),(0,r.kt)("p",null,"\u6e05\u7a7a\u6240\u6709\u9ed8\u8ba4\u6570\u636e\uff08\u5305\u542bSerie\uff09\uff0c\u6dfb\u52a0",(0,r.kt)("inlineCode",{parentName:"p"},"Line"),"\u7c7b\u578b\u7684",(0,r.kt)("inlineCode",{parentName:"p"},"Serie"),"\u7528\u4e8e\u63a5\u6536\u6570\u636e\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},'chart.RemoveData();\nchart.AddSerie<Line>("line");\n')),(0,r.kt)("p",null,"\u5982\u679cSerie\u662f\u56fa\u5b9a\u7684\uff0c\u5efa\u8bae\u53ea\u662f\u6e05\u7a7a\u6570\u636e\uff0c\u4e0d\u7528\u628aSerie\u4e5f\u6e05\u6389\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},"chart.ClearData();\n")),(0,r.kt)("p",null,"\u8fd9\u6837\u53ef\u4ee5\u63d0\u524d\u5728UI\u4e0a\u8bbe\u7f6e\u597dSerie\u7684\u914d\u7f6e\u53c2\u6570\u3002"),(0,r.kt)("p",null,"\u6dfb\u52a010\u4e2a\u6570\u636e\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},'for (int i = 0; i < 10; i++)\n{\n chart.AddXAxisData("x" + i);\n chart.AddData(0, Random.Range(10, 20));\n}\n')),(0,r.kt)("p",null,"\u8fd9\u6837\u4e00\u4e2a\u7b80\u5355\u7684\u6298\u7ebf\u56fe\u5c31\u51fa\u6765\u4e86\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"tutorial01_linechart_simple",src:a(71938).Z,width:"650",height:"325"})),(0,r.kt)("p",null,"\u5982\u679c\u4e00\u4e2aChart\u91cc\u9762\u6709\u591a\u4e2a\u7cfb\u5217\u65f6\uff0c\u5219Axis\u7684data\u53ea\u9700\u8981\u52a0\u4e00\u6b21\uff0c\u4e0d\u8981\u591a\u4e2a\u5faa\u73af\u52a0\u91cd\u590d\u4e86\u3002"),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"\u8bb0\u4f4f\uff1aAxis\u7684\u6570\u636e\u4e2a\u6570\u8981\u548cSerie\u7684\u6570\u636e\u4e2a\u6570\u4e00\u81f4\u3002")),(0,r.kt)("p",null,"\u5b8c\u6574\u4ee3\u7801\u8bf7\u67e5\u9605",(0,r.kt)("inlineCode",{parentName:"p"},"Examples"),"\uff1a",(0,r.kt)("inlineCode",{parentName:"p"},"Example13_LineSimple.cs")," "),(0,r.kt)("p",null,"\u4f60\u8fd8\u53ef\u4ee5\u7528\u4ee3\u7801\u63a7\u5236\u66f4\u591a\u7684\u53c2\u6570\uff0c",(0,r.kt)("inlineCode",{parentName:"p"},"Examples"),"\u4e0b\u8fd8\u6709\u66f4\u591a\u7684\u5176\u4ed6\u4f8b\u5b50\uff0c\u51e1\u662f",(0,r.kt)("inlineCode",{parentName:"p"},"Inspector"),"\u4e0a\u770b\u5230\u7684\u53ef\u914d\u7f6e\u7684\u53c2\u6570\uff0c\u90fd\u53ef\u4ee5\u901a\u8fc7\u4ee3\u7801\u6765\u8bbe\u7f6e\u3002",(0,r.kt)("a",{parentName:"p",href:"/docs/configuration"},"XCharts\u914d\u7f6e\u9879\u624b\u518c"),"\u91cc\u9762\u7684\u6240\u6709\u53c2\u6570\u90fd\u662f\u53ef\u4ee5\u901a\u8fc7\u4ee3\u7801\u63a7\u5236\u7684\u3002"),(0,r.kt)("h3",{id:"\u8bbe\u7f6e\u9ed8\u8ba4\u5b57\u4f53"},"\u8bbe\u7f6e\u9ed8\u8ba4\u5b57\u4f53"),(0,r.kt)("p",null,"XCharts\u9ed8\u8ba4\u4f7f\u7528\u7684\u662fUnity\u9ed8\u8ba4\u5b57\u4f53",(0,r.kt)("inlineCode",{parentName:"p"},"Arial"),"\uff0c\u5728WebGL\u5e73\u53f0\u4e0a\u53ef\u80fd\u65e0\u6cd5\u663e\u793a\u4e2d\u6587\u3002\u5728\u5c06XCharts\u7528\u5728\u4f60\u7684\u9879\u76ee\u65f6\uff0c\u5efa\u8bae\u5148\u8bbe\u7f6e\u597d\u5b57\u4f53\uff1a"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"\u627e\u5230",(0,r.kt)("inlineCode",{parentName:"li"},"XCharts/Resources/XCSetting.asset"),"\u8d44\u6e90\uff0c\u4fee\u6539\u91cc\u9762\u7684",(0,r.kt)("inlineCode",{parentName:"li"},"Font"),"\u5e76\u4fdd\u5b58\u3002"),(0,r.kt)("li",{parentName:"ul"},"\u627e\u5230",(0,r.kt)("inlineCode",{parentName:"li"},"XCharts/Resources/XCTheme-Default.asset"),"\u548c",(0,r.kt)("inlineCode",{parentName:"li"},"XCharts/Resources/XCTheme-Default.asset"),"\u4e24\u4e2a\u5b57\u4f53\u914d\u7f6e\uff0c\u70b9\u51fb",(0,r.kt)("inlineCode",{parentName:"li"},"Sync Font from Setting"),"\u548c",(0,r.kt)("inlineCode",{parentName:"li"},"Sync Font to Sub Theme"),"\u6309\u94ae\u5c06\u5b57\u4f53\u540c\u6b65\u5230\u4e3b\u9898\u914d\u7f6e\u6587\u4ef6\u4e0a\u3002")),(0,r.kt)("p",null,"\u5b57\u4f53\u8bbe\u7f6e\u597d\u540e\uff0c\u65b0\u521b\u5efa\u7684\u56fe\u8868\u5c31\u4f1a\u7528\u65b0\u8bbe\u7f6e\u7684\u5b57\u4f53\u4e86\u3002\u5bf9\u4e8e\u65e7\u56fe\u8868\uff0c\u53ef\u4ee5\u70b9\u51fb",(0,r.kt)("inlineCode",{parentName:"p"},"Rebuild Chart Object"),"\u8fdb\u884c\u5237\u65b0\u3002"),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"Note\uff1a\u4f7f\u7528XCharts\u524d\u5efa\u8bae\u5148\u8bbe\u7f6e\u597d\u5b57\u4f53\uff1b\u66f4\u65b0XCharts\u65f6\u6ce8\u610f\u8bbe\u7f6e\u7684\u5b57\u4f53\u53ef\u80fd\u88ab\u8fd8\u539f\u7684\u95ee\u9898\u3002")),(0,r.kt)("h3",{id:"\u4f7f\u7528textmeshpro"},"\u4f7f\u7528TextMeshPro"),(0,r.kt)("p",null,"XCharts\u652f\u6301TextMeshPro\uff0c\u4f46\u9ed8\u8ba4\u662f\u4e0d\u5f00\u542f\u7684\uff0c\u9700\u8981\u81ea\u5df1\u624b\u52a8\u5207\u6362\u3002\u53ef\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u5f00\u542f\u548c\u5173\u95ed\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"textmeshpro1",src:a(67983).Z,width:"650",height:"541"})),(0,r.kt)("p",null,"\u5f00\u542f\u540e\u9700\u8981\u8bbe\u7f6e\u597dTextMeshPro\u8981\u7528\u7684\u5168\u5c40\u5b57\u4f53\uff0c\u4e5f\u53ef\u4ee5\u5728\u4e3b\u9898Theme\u91cc\u5355\u72ec\u8bbe\u7f6e\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"textmeshpro-font",src:a(78724).Z,width:"650",height:"511"})),(0,r.kt)("p",null,"\u5efa\u8bae\u5728\u9879\u76ee\u521d\u5c31\u89c4\u5212\u597d\u662f\u5426\u4f7f\u7528TextMeshPro\uff0c\u5e76\u8bbe\u7f6e\u597d\u5b57\u4f53\u3002\u5728\u5df2\u6709\u5f88\u591a\u56fe\u8868\u7684\u60c5\u51b5\u4e0b\u5207\u6362TMP\u65f6\uff0c\u53ef\u80fd\u67d0\u4e9b\u56fe\u8868\u65e0\u6cd5\u81ea\u52a8\u5237\u65b0\uff0c\u53ef\u4ee5\u624b\u52a8\u70b9\u51fb",(0,r.kt)("inlineCode",{parentName:"p"},"Rebuild Chart Object"),"\u6309\u94ae\u6765\u91cd\u5efa\u56fe\u8868\uff0c\u5373\u53ef\u6b63\u5e38\u521d\u59cb\u5316\u3002"),(0,r.kt)("p",null,"\u5f00\u542f\u4e86TMP\u9879\u76ee\u5728\u66f4\u65b0XCharts\u65f6\uff0c\u53ef\u80fd\u4f1a\u78b0\u5230\u4e22\u5931\u4e86TMP\u5f15\u7528\u800c\u65e0\u6cd5\u7f16\u8bd1\u901a\u8fc7\u7684\u95ee\u9898\uff0c\u53ef\u901a\u8fc7\u4ee5\u4e0b\u4e24\u79cd\u65b9\u5f0f\u89e3\u51b3\uff1a"),(0,r.kt)("ol",null,(0,r.kt)("li",{parentName:"ol"},"\u627e\u5230",(0,r.kt)("inlineCode",{parentName:"li"},"XCharts.Runtime.asmdef"),"\u548c",(0,r.kt)("inlineCode",{parentName:"li"},"XCharts.Editor.asmdef"),"\uff0c\u624b\u52a8\u52a0\u4e0a ",(0,r.kt)("inlineCode",{parentName:"li"},"TextMeshPro"),"\u7684\u5f15\u7528"),(0,r.kt)("li",{parentName:"ol"},"\u79fb\u9664",(0,r.kt)("inlineCode",{parentName:"li"},"PlayerSetting"),"\u4e2d",(0,r.kt)("inlineCode",{parentName:"li"},"Scripting Define Symbols"),"\u7684",(0,r.kt)("inlineCode",{parentName:"li"},"dUI_TextMeshPro"),"\u5b8f")),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"3.8.0"),"\u7248\u672c\u540e\u589e\u52a0",(0,r.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Daemon"},"XCharts-Daemon"),"\u5b88\u62a4\u7a0b\u5e8f\uff0c\u5c06XCharts-Daemon\u5bfc\u5165\u9879\u76ee\u540e\uff0c\u5728\u66f4\u65b0XCharts\u65f6\u5b88\u62a4\u7a0b\u5e8f\u4f1a\u81ea\u52a8\u6839\u636e\u672c\u5730\u5f00\u542f\u7684TMP\u60c5\u51b5\u5237\u65b0asmdef\uff0c\u786e\u4fdd\u7f16\u8bd1\u6b63\u5e38\u3002"),(0,r.kt)("h2",{id:"xcharts\u7684\u4ee3\u7801\u63a7\u5236"},"XCharts\u7684\u4ee3\u7801\u63a7\u5236"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Inspector"),"\u4e0a\u770b\u5230\u7684\u6240\u6709\u53c2\u6570\u90fd\u53ef\u4ee5\u7528\u4ee3\u7801\u6765\u4fee\u6539\uff0c\u5173\u952e\u662f\u8981\u5b9a\u4f4d\u597d\u4f60\u8981\u6539\u7684\u53c2\u6570\u662f\u5728\u7ec4\u4ef6\u4e0a\u3001\u8fd8\u662fSerie\u4e0a\u3001\u8fd8\u662f\u5728\u5177\u4f53\u7684\u6570\u636e\u9879SerieData\u4e0a\u3002"),(0,r.kt)("p",null,"\u53e6\u5916\uff0c\u9664\u975e\u5b9a\u5236\uff0c\u5efa\u8bae\u8c03\u7528",(0,r.kt)("inlineCode",{parentName:"p"},"Chart"),"\u4e0b\u63d0\u4f9b\u7684",(0,r.kt)("inlineCode",{parentName:"p"},"public"),"\u63a5\u53e3\uff0c\u7279\u522b\u662f\u6570\u636e\u76f8\u5173\u548c\u5217\u8868\u7684\u64cd\u4f5c\u3002\u8fd9\u4e9b\u63a5\u53e3\u5185\u90e8\u4f1a\u505a\u4e00\u4e9b\u5173\u8054\u5904\u7406\uff0c\u6bd4\u5982\u5237\u65b0\u56fe\u8868\u7b49\u3002\u5e38\u89c1\u7684\u63a5\u53e3\u6709\uff1a"),(0,r.kt)("ol",null,(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.ClearData()"),"\uff1a\u6e05\u7a7a\u56fe\u8868\u6570\u636e\uff08\u4e0d\u79fb\u9664Series\uff09"),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.RemoveData()"),"\uff1a\u6e05\u9664\u56fe\u8868\u6570\u636e\uff08\u4f1a\u79fb\u9664\u6240\u6709Serie\uff09"),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.AddSerie()"),"\uff1a\u6dfb\u52a0Serie"),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.AddXAxisData()"),"\uff1a\u6dfb\u52a0X\u8f74\u6570\u636e"),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.AddData()"),"\uff1a\u6dfb\u52a0Serie\u6570\u636e"),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.UpdateData()"),"\uff1a\u66f4\u65b0Serie\u6570\u636e"),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.UpdateXAxisData()"),"\uff1a\u66f4\u65b0X\u8f74\u6570\u636e"),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.UpdateDataName()"),"\uff1a\u66f4\u65b0Serie\u6570\u636e\u7684\u540d\u5b57")),(0,r.kt)("p",null,"XCharts\u5185\u90e8\u6709\u81ea\u52a8\u5237\u65b0\u673a\u5236\uff0c\u4f46\u4e5f\u662f\u5728\u4e00\u5b9a\u6761\u4ef6\u624d\u4f1a\u89e6\u53d1\u3002\u5982\u679c\u81ea\u5df1\u8c03\u7528\u4e86\u5185\u90e8\u7ec4\u4ef6\u7684\u63a5\u53e3\uff0c\u78b0\u5230\u7ec4\u4ef6\u6ca1\u6709\u5237\u65b0\uff0c\u786e\u5b9e\u627e\u4e0d\u5230\u539f\u56e0\u7684\u8bdd\uff0c\u53ef\u4ee5\u7528\u4ee5\u4e0b\u4e24\u4e2a\u63a5\u53e3\u5f3a\u5236\u5237\u65b0\uff1a"),(0,r.kt)("ol",null,(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.RefreshAllComponent()"),"\uff1a\u5237\u65b0\u56fe\u8868\u7ec4\u4ef6\uff0c\u4f1a\u91cd\u65b0\u521d\u59cb\u5316\u6240\u6709\u7ec4\u4ef6\uff0c\u4e0d\u5efa\u8bae\u9891\u7e41\u5f85\u7528\u3002"),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.RefreshChart()"),"\uff1a\u5237\u65b0\u56fe\u8868\u7ed8\u5236\uff0c\u53ea\u5237\u65b0\u7ed8\u5236\u90e8\u5206\uff0c\u4e0d\u4f1a\u5237\u65b0\u7ec4\u4ef6\u6587\u672c\uff0c\u4f4d\u7f6e\u7b49\u90e8\u5206\u3002"),(0,r.kt)("li",{parentName:"ol"},"\u5404\u4e2a\u7ec4\u4ef6\u4e5f\u53ef\u4ee5\u901a\u8fc7",(0,r.kt)("inlineCode",{parentName:"li"},"SetAllDirty()"),"\u53ea\u5237\u65b0\u81ea\u5df1\u3002")),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"Note\uff1a\u7528API\u53bb\u64cd\u4f5c\u6570\u636e\u548c\u5404\u79cdlist\uff0c\u800c\u4e0d\u662f\u76f4\u63a5\u8bbf\u95eelist\u8fdb\u884c\u5904\u7406")),(0,r.kt)("h3",{id:"\u6539\u4e3b\u7ec4\u4ef6\u4e0a\u7684\u53c2\u6570"},"\u6539\u4e3b\u7ec4\u4ef6\u4e0a\u7684\u53c2\u6570"),(0,r.kt)("p",null,"\u9700\u8981\u5148\u83b7\u53d6\u7ec4\u4ef6\uff0c\u518d\u4fee\u6539\u91cc\u9762\u7684\u53c2\u6570\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},'var title = chart.EnsureChartComponent<Title>();\ntitle.text = "Simple LineChart";\ntitle.subText = "normal line";\n\nvar xAxis = chart.EnsureChartComponent<XAxis>();\nxAxis.splitNumber = 10;\nxAxis.boundaryGap = true;\nxAxis.type = Axis.AxisType.Category;\n')),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"\u6ce8\uff1a\u4f4e\u7248\u672c\u6ca1\u6709",(0,r.kt)("inlineCode",{parentName:"p"},"EnsureChartComponent()"),"\u63a5\u53e3\u65f6\uff0c\u7528",(0,r.kt)("inlineCode",{parentName:"p"},"GetOrAddChartComponent()"))),(0,r.kt)("h3",{id:"\u6539serie\u7684\u53c2\u6570"},"\u6539Serie\u7684\u53c2\u6570"),(0,r.kt)("p",null,"\u5bf9\u4e8e\u65b0\u6dfb\u52a0\u7684Serie\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},"var serie = chart.AddSerie<Pie>();\nserie.center[0] = 0.5f;\nserie.center[1] = 0.5f;\nserie.radius[0] = 80;\nserie.radius[1] = 90;\nserie.animation.dataChangeEnable = true;\nserie.roundCap = true;\n")),(0,r.kt)("p",null,"\u5bf9\u4e8e\u5df2\u5b58\u5728\u7684Serie\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},"var serie = chart.GetSerie<Pie>();\nserie.center[0] = 0.5f;\nserie.center[1] = 0.5f;\nserie.radius[0] = 80;\nserie.radius[1] = 90;\nserie.animation.dataChangeEnable = true;\nserie.roundCap = true;\n")),(0,r.kt)("p",null,"\u7ed9Serie\u6dfb\u52a0\u989d\u5916\u7ec4\u4ef6\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},"serie.EnsureComponent<AreaStyle>();\n\nvar label = serie1.EnsureComponent<LabelStyle>();\nlabel.offset = new Vector3(0,20,0);\n")),(0,r.kt)("h3",{id:"\u6539\u6570\u636e\u9879seriedata\u4e0a\u7684\u53c2\u6570"},"\u6539\u6570\u636e\u9879SerieData\u4e0a\u7684\u53c2\u6570"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},"var serieData = chart.AddData(0, 20);\n//var serieData = serie.GetSerieData(0); //\u4ece\u5df2\u6709\u6570\u636e\u4e2d\u83b7\u53d6\nserieData.radius = 10;\n\nvar itemStyle = serieData.EnsureComponent<ItemStyle>(); //\u7ed9\u6570\u636e\u9879\u6dfb\u52a0ItemStyle\u7ec4\u4ef6\nitemStyle.color = Color.blue;\n\n")))}m.isMDXComponent=!0},50730:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_addcomponent-9561a33456bdaf451106781b971cc3b9.png"},18778:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_addserie-1cb470875bd0012232e8a2f4360b80d2.png"},8526:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_addseriecomponent-f78cc6cb3312576be35f19f0730d0e39.png"},29253:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_addseriedatacomponent-9974830b20374ab5b2e0c85b3e78387c.png"},20545:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_axisdata-e3e1f64d9afb9497d333e66828d5f75b.png"},55658:function(e,t){t.Z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAooAAAFECAMAAACXoO/nAAABfVBMVEX////6+vrs7OxOb8x8enr9/f749/jk5OT8/Pzq6ur29vbv7+/T0tL5+fnp6eng39/W1dVRcc309PRWdc9Tc855dXX7/P52cnJbetDw8/vAvr79/v+1s7Px8fFuidZYd8/My8uJhoZxbW1TTk7z9vyMiYl0jtjm6/jt8Prn5uZ4kdlefNFhftL4+f2Cf3/q7vljX1+AfHzCwcGUkZGQjY2GgoK8yezc29tng9TPzs72+PyareLi4eHP2PLI0vDa2dnFxMS9u7vb4vXY3/TL1fC4xetqhtXR0NC6uLjj6Pjg5vd9ltqhnp6YlZX5+v3U3POQpOBkgdPIx8ejoaFrZ2dbV1eInt2xrq5va2vu7u6hsuSdsOOXquJ7lNnAzO7e3d1fWlrEz++oueavvumltuWtq6uzweqTp+CMod6FnNyBmNvY19dYU1Pp6Oidm5tnY2ObmJhzb2/d5Paru+jf3t6qqKiopqanpKSlo6NVUFDi5Om8xuSyvuLR1+avvOR5YdEcAAAZNUlEQVR42uzd62/SUBzG8QcOp+O2gXVNtQED1Kl4mWWAc4oKRgUNeOEioMZhIjFqHZvRzf33tmy6uThfuIsNPp9ACumPd9+Ec6BJQURERERERERERERERERERET/C9+daBBb/PHI/mORZnfY7LujkXgI+89JEP0Vf8ZUsSUxWMA+QuvWoN3ujIYRwOgksJ/+cBlEB00x3lrE74XnBnNGtFrTzHr4TynKpp0C0UFT9ClB/F7LzvslIGMjq/nHFBdMpkgHT/FLbQpTteziSvprFg6ZaqTX3Vd+e7SMsVrbkE6Ky/WtE1CMQrFQCQLZxJdmoZsqmI2ECqKDrxWNQbqXyQxGcSBU6PT0dicxDcOclxiTEjBsvd1zRqKQH3VrTe/ZWgRle86yrPrIHGX8IDqEFM1eLRQaDvJQNjqtbHix0Cljw6xjh2GOull3RKp5y1B9U+nNipOitZFqqgnT8HMPTYeT4uo0UNI1TOk590Sok1ZWzOEvKeYVZ0TTZNioOMOomF+dFHWVa0U6zBTtLoCZ+Qw+2sVaxWHpn+rmt90p2kP3c8U1iWBQfkp91c0NJ8U8ty10qCmOt8chJ8Wq2bHGcqWaWZAYkyFVOiPjFHtSTq1YncGo7ZRatutMkY4mxfjm6p1FV0mJ2T/2IsvWUNlJ0V+08rUlvzFOscUU6WhS/DJKKwDC9Yoii52uDw6l2EnInRTjdiMMoMUU6XBS7Csun/w1xWTBXgDk+uaqRHZgJXxAv7EZ8GMnxY9mQwHu9Mz6dooomwaI/jbFLbn+rykinjGL33J2ewZAyjKt+dxgc1TCrhRDAbvQLViaWZDbKVYHdjsGor+QbMxvaanNuSiq6SaAyLcGgOW8pmuNGTjk8kpA13PrSWB7JLnekNKdKNaSxRU1XqzAoQ5zgTsgOmyRmaTENjU0E8Zevn5IwW5S5f9+RERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERORpMpouAbJUyGhdFfLTypre4p2N6fj5lgLtGBAq5qs1vQZ1Nb1Uzm1Mg+iYfcvMZ2JAeS0LX0vDorYEWdH6IDpm9Y8pPQbZnVeBBUtJaSUg3iuB6NhFnRSnWwUFWLKmjNwnYHmtCl/Sofok0V44Km6KSj2vAFUrVpsPATE9hS/pQEDLRSNEe+GouCn6NuYUIGWFFgJZYDETh7pULnczVYVoLxwVN0WZyKlAZRSsOm9Q7WXhigXiIDo2bopItUvwNdKI6U0ZTOSSTJGO3zhFtaEZ63oUylCrJTQjyBTp+GUTfQD+bn4l5QOStcbqQhhMkf4ZGZ7ePioSTJE8xeMp3nj9/OZt0P/A2yk+vCiEmH11FjT5vJ3iSyFOOo97oMnn6RRPnxIPrr0Q4h1o8nk6xatOhVeunhLnQJPP0ynishCvXjlP0OTzdIoXrouxt6DJ5+UUL7wXWy7dAk08D6d446kQz+6/ee0crp8HTTrvpvj47ayYfQvg0Tkhzl0FTTjPpiivXRKzN+F680zMvrgCmmyeTfHJGXHy3Q2MXRPi1H0JmmheTfHuAyE+XPj5XS3Es7ugiebRFM+fEeLiI/xw5bkQpz6DJpk3U3R/xrl+CzsenjkhLt4ATTBPpnj65qyzOMRuT647mxheofOdvbv/bpqK4zj+xQ8ZbDrwLlmWUNaAp0u7JrXOade1tEqfYO3ow5QifcK2o08ej7ChHhH923XdkeMDILAmuSl5/cKvbOd9uube3PudZ1ymONCg5ekf5PxJnTJ55haPKcYUaP1/V1dOAob3ttgc4y9FX04E6ir9RxgwvY/F+cVdir5sAWwcpP8KtYFwiDxzirsUiyWgcEQvIOTiYE3vMXpe8ZZiqM5gZOiF5IEG7djbAZxTvKXYm5b4EsIIULxdlznFV4qRHmDEBHqpOlDwvi7OJ65SLOcViE2VXi6qAxOVPHOIpxR9uRowDNEr+FJxYOi1OI94SrEYB2oBeiW5L0Lsk2f+cJRiUAcKUfo/DcBM+8gzb/hJMTQE0zP0vwJtwNwjz7zhJkU1KcHsyK/TrA6MvbMurnbx/ualJYFIWN/cXBf4SjFyLELsJ+h1pExgRB73Er67vnb+3joJm4/W1vYX+UoxDaBJr6lrQOqRx7U2z2/v3n58ldbvXL/26dbPCxylKKcUsBK9rkiLQYl5565ca/eHy7SwfZ121naFi7dX3+MoxWwBUj1Kr02dAGFvB9C1vli7cv/y9X2aDlb74JvL/KRYnIBNij56fcEC0CaPSy0//GRjdfWGcGXrEtHO411uUgyNGIw3XCoMxoE6edxpc3trf3vrpvB8sNp339y9e/eTLxcd9nQIaM8W38ylZyJQ/X7RYw2y0sWrqzdo4cevV6aD1b746ENaP7h58+evd5ectX4ISPmlNxXqaTB/XVnyWGGBrLSwv7F0MuPvwq21B0S7vAxWiwxEiE2B3lhiAviL5HGfi/dWL5xbuvfDyo3zN88tPfyck8FqqRqkpEpvIaSDlcrkcZ/LH1+/8nD1x5PBajd5Gazmy/rB6lF6K0EJ0L0zgG6089Vn27dXiN6/ur19ZYWL3ZbgBPBX3rbjrgl4Z11cSVhZEk7/XeFjsFpgDBSy9LbKPRFKzPtcnA+OphioAlqO3p5aZfBnyTMPnEwx0WQQBzKdQUgE/N65q7ngYIpytwbtMEJnclQDkt7XxXngYIq5AlBV6YxSGnDsLenMAedSVAvAODiDo9MalBh5XM+xFFVjRpcxqVWGmjcz2v0cStEXLQFmZUb3dntnXeaBQymqSQm1Wa0IBmtAy3t0cTtnUpT7xiyvM06bEL2zLm7nTIodDUiWZ1i2CPGYPK7mSIpBzHjGs1oFTO+ibndzIEUha4CNQzRLoRLQ9q6McDX7UxSyYUDP0mxVasDQe3RxM/tTVIcS4hWBZiynQEySx73sTzHJYFZ8NGu+PsDy5HEtu1MUjgHtmCwQaTAYFe+2O9eyOUW5w6D1ImSFYokh7D26uJa9KcpdE6yqkjUqNUgj73Jkt7I1RV/KD4SDZBEhDbAGedzJ1hQDdcCvknW6EuCCy5HlaCrqTeVyMsXQSYlHZKFIU4JUIc4FGyaUiXcRmnMpRoZAvOMjK0XHjPvb7iIlnGgHyeNMiuVDCUq+TNbKmmB1vs9ddSSYIw3SgDyOpCjnRaBKlssA6HN9IW2DsQalAUU/5Pzz+3+5M8VcDaweIOudJM/xB44v0GBod0eYEifD7FEwQB77UsyEIY0CZAO5KUHj94WxTEvBlBGXMGXo1X4n6+VoU4pFHQgXyRbREuDn9E9foONnmDJ72Vy+HscppVAa9lLvdo72pJgYAwW79od9e36Az12X4FgElORea9QsykS+SGAvnyxgikmi4u933t31RltSDLQApUu2SWtcXhmR6PgBSU/5/vNROYjXDBFTmj+ZDqqBd/CSATtSjPREiIdko74IsUN8kYtJETAbey/Zf+lXS34JU1J4fJjOzvN5WmFx54tF4eTfL3beE+xLsaNAtPkaxBZgpIgngYEOiO1cmV7GF8rEjlu6hCmlMBke547438V8G8KDOxsbjy6T8OTRxsb+BcGuFNMGxEaCbBWqAgWetjP2hhqg9KL0anIitJdqhXFKNMxSq8vlt96zub9x/drB1p2TwWq7X9o3WC0bd2KTK6MDYV5a9Ml5A2B6ml6Tmj3UNUnCKbPR34vIXC/bv6GD1Qfnlq/9RDuru8LFm3YNVgs6NAOtW4PU4OPRRc4mGZjZU+lNJNKxUbigYEosjAap4ryshQv3ru8cfPrBor2D1UJ1QKuQA2KAwsVZFzXmZxDrXZnelKBmOr1q28CU5A8PB+l5eE19Yf/j7c82Pr8mXNn6nujB41u08uTJk4PzH5yzUKjKoHXPOSFxCJiZc46rjA1ASQbf+le4V4k12iKmRNPfbg0q5yxHVlp6dPfHxRufrS4/H6z24Q+//PLLJ19ess73PUD79ZIznk4A9tslZz19ZgAIn/W/sbn5W3Kk4BRjNf+zp5estEhWWtj/5n2iL7+98Hyw2sqtg4Orj28tW2bldxFaT112SFZnaEeXHbSUGUtArRlcnoVQdlD3m4aIKaWU7GaDK8vWICtdfLi2fjJY7cattR2iax9dsPy7oi9XA6sGyTEpE1IzQI6JDsKAGE6VaWYildzxKGzilDZp5HNZ9632XPvoYOX9nx8vXdi6urT+kw2D1Y6cvoNTzsPBafpyZqQB8f4ezZYQCFY6jbofU8wslKqDI3KV9f3Vh1+dv0oL984//GnrU8sHq4X8gBEgJ8lJQEuRI3xNhYGFUzJZoZxQK/m6iFOiUpv0Ui7ambl/9c6jm0tE67fvPPrU8sFq0TYQz5CzfCUGUyX7lY+SANNiZK1ov+k3NYZT/sNsKBBxx1r4yspfg9Usfx1CbTAUco7/WqJtoB0im/nUvgIoow5ZL6F2muNwQcOU0h7m08UQPVfmY5nfwTdzEj0N2sD5X4OQi0NqJshe6boB1I4DZJNyMBs7HMVxStTHjX4uSn+SK8lqj/vTuJam6EtrwCEP+1TyQILWL5ONAh0DQGsvQTbyyeqfPSZ1TDHRKIQP83LfZJAK7pjIaVGKRQBV4kMdUIpkl+mIa8BIkjOESlVhjOE5BhRcsdxjSYpyxQALc/Mi8ggoRMkm0bwOiJM9clAo1x+HayJOlGI6wNerm3amWAyDlfhZ6gqGgYlKdpAzJQD6oEhOC6QGzboJdOkQcMXgOStSjI4k6BxduunLxcGGdrQYavoBsZQhLsihAVCoxqG54nUeC1KMJBlYjJ8SiYRjEWKeLBfUGWB0y9z87IECToxdcYxw9inKMUDj4kXBv2kAZoos5VMPAWgl5/82/02xrYjKhKv/kn0plmOAxN2Us8AE0KNkITk3lsD8eccX9f9JTffdcjhm1imWYwakIX8/fFQHSha2GDisAayVccUKHp9mnWJGBxtxeKmcL2VaudKZK0iA8Q5f7cBfisE2RwftXnAaWyArqH0F3o30fKUYqQNxTm/xirSAuBUvUsmVEgB/n4dtTjebaYqJBr8lEqkTQM/QjMnFRg0Qq5ysJbrYLFNMNCWIvD1C/k20AIRptnypsAQW7nofiTylGOlr3JyCf7FgHKjTLIWaAFDi89uxy8wsxel8IKnF9TOknNcgDmSaEV+g0gaY7oodXv7NLsWsH5hwuIzz768Q8e6sWow2DMAcZsnDVYoBvxvm1IfagD9IsxDohkWg1vG+JXKWYmAC+Pl5L+ylEjrQns1qgQYoLZXfpzS3mVGKoSqDwds9ry90pABJmc5ITuuAFM97+3y8pRjpaVAG3Ly2/SpCTAEGibOFuHdcA8SWC/4KuMhsUozVoB27okSiQFKC0T3bR2IbEMMxb6OPvxRzClDleUHxD/butTeJIAoD8NDXJda06nRXXESWYsq2wlq8F0EW5aZAFeoHjFw0ViJV4yX1EmONv12gNrGmrXQBndme5xcwyQt7Zjg7Zxf/xmhl7WIqBmi1kjANsi4xjijGVaAu0UbS3/+8SccPZwuAIUVdLJfRoxgot4GoHI3Cv2xawPqCs8U2NPBYnZ7NPcJFsfSKC9wDsadAQQc+OjpLrHDAfCpNMSKTkaOoNDTE0pIdavR2/E62Lgt1C4ilSnSWOCBaFDscMVu6Cn6hDZib7FAe2gkAeo6CuEOoKCoFQG1K9pu406RTW2LD88XXVUBvURPOeChTF48zdvzkm8x4Bqv50hbUlJQ1fDoGtA7z+lgFUM0CVYljMre6OseUzIcH196dUkaPYiBtcFQkHYv41IL2gg1HKTd1QO1IdU4gtnOXI0EWfHBtZj68OobBamUTWBO+G2cfDztAyGZDyRU5uGlL8n+SBJRTZ5Z7UVw5e4sp4xisluwCRcE7FA/gr3MY5cAQo84bANTXUtYhgpq+/uVLJDi2wWr+LpCQ4rq0fWQN4HX8r8vMmwBvU6v2GJ34fG36cSTYG6x2krGV/mC1TCZz59g9jzPJjobYjxMeidkJaM1Zz4GWuhYQ62ZnPUcKmyRlPpzx9KN4d7kXxU9n51nmzPv3l98/mnJk+nsMWurblNS2APXH1AG+bRU5oG9Jvs7DY5P0JBI5d/X6mftzg8FqKxdOM++zmZn7F2Y8jtghIOqRnHcdQNWzL3+LA3rL6zly2CS9DS+Hwxcu35j+NVjtovNaMRlfzCXAXVDIL9U51nJsb76nUUAz5LhUXSazt589y7y7cm+2N1itN2At7HiwWjLdakcr0F5JeqC4SzYKvvdCfOVOCFA71Ko9Ecd7tSLznl/+unrjqsdpFKsJ9BkCXXE8ghyH1ry0RxKfmxxa9DmdJU6GsvLIy1jwztfP844Hqy0YGHBJz14gD3Cb/Sme0gBe87vi6yYwZc7rvB2itIZirsrdcztHgwP27ngmcxZd+/CvOI+iP4FEPueiKPo3NCQ2d/29ktLBrZobamGJOKgVTWiGCd50TRVVMsEr5d+vfeCAYUv0to4rOIhiFn2GzdwiUNXBG5d2krihA3priTpk/+q/R5EtvgqFDFfVUQUOvGSBQau2AfA1ud7VcQdHR9y+Rbc17qVU6Omb+VLpYwgINWVtfJNaP4qEXeoCIWhmdHDtA7VqD4WiOBFZE9v0dbecDMiGoritaoG32q7ajcmGorgtH0IlcFNHhZFhURQnIm2hWKipwoz2P4IoitviFUBVodPzeXgUxYkIbCYA6DLeLuAWFMUd/pcbzSw14hwCRZG4E0WRCIKiSARBUSSCoCgSQVAUiSAoikQQFEUiCIoiEQRFkQiCokgEQVEkgqAoEkFQFIkgKIo/2btj1oSBMA7jl9I3iVWbEAgBSaAOGbKUWlNEEDRTHHSxQu3UqZO17SBtP34TR3e5d3h+S/IBnuHgDv5QghShBCnCAud2NuuKMfIaNF9ShC3uYznOv49GJuuy/JwJKcKSME7302FpsvU6nOYrlxRhh1TDTPz0wZ8ktfhVckWKsCTqiPHft3IXe8aEu4AUYY/MR79StcNqb+2w2j4MB0ntAOfMpU3yspBlO6wWnIbVttuvZlgNOGcubBqXgchpWG3eDqsVnreJez5wzlyULHbjjhhTJ8emyl3BWRF2SJjk8+JwEO96eZP9PGWkCDvc54/rYSNy09Hf6n7hkyLscHrLatDom+7mJa0jLv5gjZy0P32H5xBQhhShBClCCVKEEqQIJUgRSpAilCBFKEGKUIIUoQQpQglShBKkCCVIEUqQIpQgRShBilCCFKEEKUIJUoQSpAglSBFKkCKUIEUoQYpQghShBClCCVKEEqQIJUgRSpAiLJJ+FDkMq8G6//bu50VRMI7j+Mfw8UdqiSCCJGTgoYvkpIQgaKc6TJdyqU7NpVM4W1Az7X+/M+1hYc/7PIF8X6BXD8+b53nw8mXF1HXPYxqsRp4tmKZ2ntFgNfJ0pWeC+TRYjTzdn8FqNQ1WI0/G5kkDHC75Y4TQ0PNVQv4VQAC2jPU/g9X6kSx7Py6yIG4ti3LZyaKMBH7qIotSDyDA38Fq3dI056OBKcjmhynKZvJiipGn8toUxE1MUXavEMH0+k8ZrOa/QRS/ViGGdIsMCBJGEEUWk6Lq+pJyzAJKkVJ8corWwL3d3UrDNzU8QZCXGqKsPVEpaoNVAEGmU4gS3SGEU91vuYKHrh1AkN4QonRyB2Kw8UyCIKcTRCkPEMSSQAgh5H9inYZBBE0v7UKBCJJql3sGMZg+liBCp3+99vUWn4Pq+VVIH9oiyjJ54IA/qcrCMD0wCNFLVwZEuHuunBwNtJQ2iyarLgToxedCXbpD8KfK2+YQvXchgrSdRHsI4KTv+ek0btuuqJRlF8pspiwmccZ3zZTyIME5XQ/yEFDjAQM3zkIFnFxtjg3YIDbAz344ZjDMhsFOspRrirrdY6xndw5h1bYMv0kvl6XjX+aSutY3fFOUlu5CmrsLBoDZbgV+rPNPXXkdBQCCQ7hRwE83StQgjMdMjwebKd8U05XeSc96JX983s0uQ8s4n9k22wQAHM4poncO18lWAcDUKGrAUeOG88cVgL179YKBoyLebDxTcs7n3o1vitowO25CW9vW2Xs4GjhomyLapT2ISFGz5dFjsbRr6p4YeLIno9sj+ryKogAcsRevnivSPOornFOEs71cfAXXdY8F53jWum2x+/nzE0JShJG+bQGwUxyrDFwxd7LGA8trGzyp8u6AaxIdj7H30TBwlI+8GQAGwI+Hbbswsjzx3JyJSNF6GWVuyVgpRzr4Ysu3JOygP9gD5WgNjrQPr14Zs7Cu67cf9UkDP/rK3d33VjV0gHm20NAu4+nKnIaqgBTZLNzo0aozjuV1URQBAz/2z23fPbLy4jvGbaSCHzZ0/Wq3VABYnA9oZZnlL4nf/ZCHQZGmDdrF+ExMyZTvAf8UjdewYHmynf+aeJ4n+xq4abJI0ZZ17mzlaeTOLfBzdd/31oeXS/xTNLOt47xGJ3UVp0m4aNv5bKmqBWv89YKm873oWGqjQVHHndO3ssPATffQAboz/eupqsICR8HMYHAOewawDt/fzkYRMPb1wt6u8l7bSiSEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBDyGw4IjYvkNJ6pAAAAAElFTkSuQmCC"},23763:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_linechart2-ed9a9ce79a39c6b5935a636ebe3c1dc5.png"},12362:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_linechart3-ef013229d81e35b957793421cb583410.png"},77973:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_linechart4-cad5fbdbea7b1e616f1e2b4bf78de2f2.png"},71938:function(e,t){t.Z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAooAAAFFCAMAAABc/DxCAAABelBMVEX////u7u58enr09PT7+/ugn5/19fX6+vr9/f3Ix8fw8PD4+Pjy8vL39vbEOzf5+Pjpt7b++/vq6en9+fl4dnbNWlff3t749/eEgYFjYGBoZWX78PDl5OSAfX1vbGzi4eHMy8uem5vFxMR0cXHQz8+joaGUkpL99vb56+q5t7fPXlrn5+f13dy8u7uNiop2c3NeW1vMVFDHRUH//f3r6+vgmZevra367e302dm/vr6Rj4/35eXa2trx0dDqurm1s7PnrqzinpvdjYrNV1OYlpb89PTz19aHhITJTUn78vLKUEz24N/YfXrUcG3QZGHt7OzDwcHosa/TbWpUUFCxsLDlp6XjoZ/ekY9saWnptLOopqbU09Pwzs3vysmrqqrmqqnXenf24uLkpKKbmZnbiIXZgX/FPzvflZKJh4dxbm746OfX1tbux8btxMPsv77SamfISUXVdHHRZ2TQYV7ahYNbV1fy1NPWdnOlo6PDNjLswcBYVFRRTU3UgX/3MaXWAAAZ00lEQVR42uzcv4viQBwF8GecM5OYJSCSqMQf8ReEkLiFCIpgE0h5FhZiwMZGsT44uH/+RuVw0WNZ0Tt34X0a5RG+w4THpBADIiIiIiIi+uLM4unDxV9IMwwtCRQKuKZbEkSPIv0MB98MXNPb8Xbb7wLjANeclQmiRxGdMQ7aDq5lnSDL/N137Pe41q2UQPToKk6HKIVh0HUB6QSGwMGiLgCr3ILnId8sRYadGxsCzvdp1JTHKkovUgHR46pYXmBUblRqvisWjXhQGUJpLWehWQTQ22C6K6e1+rZS7ctYG0yW82MVo+W2PAhB9NAqNkqyXR+Gna4sblcSgB3Ud5VvXXmsYq0lu1VDtjrDuGPJoGOrKprLtrTjhOciPbaKEx1ZvTSu9n2/HBdwMOwG8bJ1rKLWRNhxUGp48Rrwak1VReOHurauWSB6ZBX7xyoGy2g+n2c6UIwyQFrp9ljFuodw0FRVbMYLIKw5qorzaqCu7dogekAVpfKmivudAzmfC0B8S3UpRWVyWcWJlEZNV1VsVvfq64wPaLqfWKa9Xi+yzlUsxhMj6BhQplp9tIh33mUVq4t5uoaqIvppO2pEILqbHP1UIivYIzMkSlEepVHitwQOmqNNsnaAbgvDyIIVmMjPzDhZb6IXhOM8crON3+ahSP+ILJ7LZbsSl+KVtP+k0mYR6WniFYg+g+/87ZmIiIiIiIiIiIiIiIiIiIiIiIiI6Ctw0lrZAJBLllqXb8Kip8leJ5H/OkaurkX+cg+i55BJXUJMahg3hnD7MYieQ04dAP2q6KU6MKvy32r0TE7Nd5ONANqvORA9iwzTjrAmvgBaryHga1p54uX+MItQpJW7SMTbxD4m5jmxBJTimySPg0LuMslfDpYfGGy/TeRpqRsH37yH68FK4ZTcd3POe7hzsKlfLSU/uodbb478yB5uNN1WPLwkyfFUNIFotdo2vPwfBR2KfMm/k7xIKKLwXuLioJg/K56SewafE71w0+CCOCX3DD4n7h2D313K/UJ7cE/JxeBbtNQRKCF6Wx0IqgIHhsYHNf1vWS0xoUS7PPQkBatIz+FWfvVWq9ValDqV5qyasYr0JN5kcKDZmFYa2lhnFekTyL0ArCJ9Kr/ZubNWRcE4juO/y66iEK96AYZ4oyIFobhg2CYUWARGC9VAtBfF9OqHmWGGWZpzWjT/c3w+N+fAgQPJV3l8lliKDBEsRYYIliJDBEuRIYJeijXTuoBJH3opXiypCyZ9CKa4UicBmNQhl2Ktt8spCzCpQy5FS7FynXMDTNpQS9FUPgkYO7MCmJQhlmJf6XFff2zXYFKGVIqq7vdUAHCPHQlMupBKUe/0CvhmMdqUwKQKpRQHYrP083evByZVCKVY4TdF/MBZczZcTBc6KVY2WfzK8pYqmPQgk2KhWR/gV2qrw2a604RMil0+l8dvlnyQx38g7K5LeMwqWHFgaKX4qR64+B3XF03QVxktDTP3mOnAdMGQSjGXvfIEzPfmVZBX1nASs48xYbBdSKRSzBtOgCvGcov+Q4PLrichHjNdteYGW+Okk2LeELsZXLMUNfIz3cZnLXTxmPLlMuF3+n8xJL7i46VY5e0Crls6Q+Lj+lKrVcAzwqavgSGRYtnb1PAPgs1XQNrTmyvVQtvj2aY4CilK3lZ646/+jPRjsTQ65vGsckcJSH/Kf/lYKZamsoQ3nPgZ4VeXjCk28Dy1Kx91pFzSKdam4hpvMj/3QZYkWhwiwIWz+oT8G9qfPlaKXX6dx5vc5qEMqpp8GdEoDflWuh+MCac42a5VvENobsagqZrtqYhIprjLEn7+X/OBUhQmcwPvk5xPNGfeuJ2MCBUmsj+m+Un/4cOkyJly96Ziu04IilbOEpEKW3xQQsyKuTXJ0xoJpqiu61Yetyj1xAHoqew0RKzYFltlxEoYTpZDEJRgiqFyLuI27obiTHdfbiBq+dM55qMUFW0Mi+KdnVyK7mG/wK1OikZuENWoaxxiEMw7jQxikRcKdnY+WW4NclczwRTHHX6A2w39HLX1CE3WEQu96bQLiIHUHvFnY3Axpn6b2tVMLsVi09dxB8ESib26VOqWgHiUuk5ziaiVtYNjf/+3QuDQ2yeZUIo1u3PCXcb7HUg5ygXERZCaXtdFlIq2/NmuuvjODbwWtdF3Qina/Al3WiukbuTyfIgYcaYncoiMqWX3mpvBT6r+2Sd2ii2RFDl728fdDGVCZ4Dj7s+IV7Uzz5UQhYXR8Q4r/CH0fJ3U6d4kUnSDx1a4bJnMIi03lMuIWXEoRrHBe2zulZGBv2T0s0/meiaUohAoPTxisZlR2bzSEKd5xC5sHj49u4xg+bvZsnA9UpunNL+YQIqS03PxCLW6t2nMh2UCL0T8VLetPLXB2xjN/UHNxT8IPa8NMl6fYpF//N0tpxigoOZYeI1qazsU8JDaQMx6Bt7U8wwy4++Xp1hxWtIT2/cdElMQwV7Ci3Bd+RjibgXpsnM25ru5aopN5fDrq1NsnJ8oEZBaOwK7SvS6gZfh9JnXvTeXi33oDPUi3uUO5zMiO5NfnOL4PFrgGQv+mPxdvPEFvFBpyHequMPK34q5Cm4i9Hki3/D72hRr53oDz2lvl0jYZB7itYpf2Lv3rrTNAI7jPwtHqTo00tjN7NZtLRmlswll0HJgXI6MewcrUDYZl3LZrNwZTs/Ze5+6OTxSIUDyJMjz+a/POX3Sh36LNDxJUqceSBVNnJ4mIR0X0MYt24imeGAXDjEnrhJ3QlWlbhykOcpC12rCRAfRbEzwJ22Yhqt4ooX3RZIpclk5viw7KnZ5qIjxsocg77DTK3OYIO9ne3UnphUtRjRwgpFkil5j+gDzy4tZqMjRtZugAj5pmfChLl+MRMpOzMBVjJRVv9qcYIpnoQoDGTCZWhPq8bADqIIJnoh13MZU7tT8GY7BTA58xgyD6S1mim6hb4Y8fIJ6t+kO19JQTVrsWA0YZeLtFjF2hNkd1Gv9A0xrMVN0xvs8ZGKOd3ioI1y18FDPYSzg5XBT0BcSqm7MhUtGqkcg5+lLHYD33567TzZFd68v30JtDTZtgyqSRi/UxJdvbvAuNfyJeP0Qc2ukqi6QsvpufwfAq739/f13RFN0Wywc5GPKBQpQA59izVCVqRRrl824wpS77aqTN0MG0XiLVIvrP/78+Q6ge/AD6R/QjhML5OU/HUAFOVH973pMhZCFseGcjSmcnsqYjzXBMjYQoP/698cPdoDdz9+/frFBMkW+2nZCXqXICQfi+FhWCxtZBikxNwg6S8leqHUs78SnRHbqGL58+NVFivf3Hn338S+vCaaYDcl/5Wi+W3eAMJs3ro3bw/LeRCxdbZ3k8nJPXGynOZBwmeK3n/z2zQ9/PAHw7PHjHz//VPe/tctiP9KNGVnV3xz5yIBza7qhh7iwobuSafsuS3w4y8T61VsO5QmkN4eHmmENq1LWMLQBmISMbt6JR0c2MP2Ls1k4Q6bCG1YlTDw6MmbiUj9gN82whtlS3Hqth+HNnzvAo3v39vZ2V66sX05o2Fy5MaK/PqLHua314cjm5cjGtREdLqxe/dJeq6/jgu7mxIbxE4+OGK4d6unf7KcrOgkTb82+Bt3K0CoQZ6O6eV+c4RqGE18YnXh0Ddd+U97u7phGXpzJa7gw9sV57W3bMTLxxDXMmOJDAF8+/5XMD2imYfFBEc5uNQyS8qfaeZTAQbPghjIaITsHBQ1T1P/0mx549vwFmRQbLZ8ZyggGiLZ4ELdoYjOV4hpsTMmFDlM0vHz7cuXXe69AJMUGq+CGdW8tB3Ka4gI85k0Wx4mUG4oZpoiPvv/k7d6THSIpRttFDooxV3tOkMLFilgSTLAbCoKMT1cAAinaogEjlHQQI/b9gC0naPWO4AooBYxJAyRahO0QRykhCEUFA3WQUWrZtXB2m5SoX0iaMdGipGiqs8dQljkjHIIIPzvAMmF83SSDCRYmRb+QM0FhXD1yDAKson+Z3hTPmZMWPyZZkBS9tRwDxTEJ1gXlFSNLViLAJGsVjLcQKfLRQiQJEgYhn/KVuNvbWD7JdsJqwzgLkCLfz57kQEahu81AWY5YBcvokE3lMY7WU3ScFeI+ND0gw+xj3VBWLqCFC4XJY/IptoFbaTtFh6cgRMRapTqoW0FItBeHoqIWTWxTVAHj6ITOcCttpsiYzGFv3WKs1ToZN3CcaZpASlPMMFCOrRzR1O1ZybILDQa30GCKJWs+HUuFhFRs+9AE8prtsoKH5QJZ1a9XVw9jF2794kVbKdrOK7R3LZZWv3x2yEAl/sAAirFr8alu5HB2oc7jgzSUoitXb7GRQMyfd7rCUJGrVeWgkJLow1IL54ydI3yIRlI88vqMRuNpPWM1MQzU5uxVoJBEV/3lqcuWP004MUr1FM0Ol9NeYdsRtuLVzjmOnOiBEpjt0LJsUxzjuJuyYoS6KQ4Oc9l4QrBU6o2gpt4sHEUhCgVEEzFQcBZTToxQK0Vm0PTH2EjixO5xa+T2zdeVOnErZMcUIhp7zKVKjvoWD0aokaI1XY20RdbvKzk4jZ7udShxm27Oor0HUasj3I+cYQSpFM2OMGM2c0Ff1lgTxXKSh5bZvJEGZ4a8chb6SfE/5r7R5wibMEQuxYNs0Z7sFwNCr+PzLMCpNb6YqKchq5LFC+qqh3q7Y29giFyKzgqCqW7G6y5p6gmZtwoXnMhYIaeTnvq3a9KOoJ/hvQ4MEUvRXAwmkwvwbniF2fYEQ7Ke6k7WtPEgN40wZYONshlDxFLEod2r7Y+HN7gK9qwglCAXvtVbjJ8HpAR95Sg+QANf/GlQqSh6jyALQzKi+uOKlsidSxGOXK97bIIM+Hhdo+et7qS7lyLgrFj8cjTUZJd4m6IUNMWJzE0h5MTcQqo/ymSp3MkUgWhMrIdtmAeTXe5tipPRFKXxssUG5tE8zYAai6YoCRP0R+bZfMzFIw5QY9EUJQrn2EQDs/KI2tmLuRzucIqAKXZaZmbd/lilZ7cnoSlKd5C0sEETpmfwpLTxWIwlcrdTBIKxgM+FqYV7Pnp2eyKa4lS4ZiJxiGn5WQ3uU7/j7nyKMET77SqmEzRmDaAmoClOL9fuDRhIx3Qi9JPiZDTFGTgrAZ8Dkh2LDVCT0RRnEPb2Oh5IFK62QElAU5yFyVURsxwk2WbppVVS0BRn5RECRzZJ2xSX6rEYmrFEKSJaFAsuTGQX6DZFSWiKs3PkEq2JG7yPIv4lvpviVGiK823wrmC8ikC3KUpEU5yHqRkSnRjDWkuDkoamOB9rrG3nbLiFuX8CShqa4ty8luIZbrEt0C+fpaIpzo1x+kNZ/pYbKVfopVWS0RTnF95me3l6N0VtWc4UgXDMmDaPjgYqYVAS0RTlEU5aWPfNGNMsvaBlCjRFmQSrrP0I1/GROijJaIqy4Zq9nhvXnCQW6sZpd8wypwhbtFrr438NMQ+KkI0XegD6158+/YimeCkZarkZXHJ1U6AIWfv24xeA/qvPPv7sr02a4qVgJeDjcY7xhuibIilbb/Y+3wF2v36ze//BM5rivzivJe4BwLf8ZlBE6O+9/W5/B/hhfxWGx/s0xf8wfEWsh+FhB6DI0P+y/tWDHWw9eqUHXj7foileMWwHWDFeBkXORYqrTx7pgfvPXwNfvH//2/7O2v8MOGfQr40Z0UsZwYXhwHBknomHIwpMPOibHbnw2uQ1zPgnVnoNwxGV1jBTirr/UtwBHt27t7e3u3JlfePyCJsrN0b010f0lyPrw5HNy5GNayM6XFhduTmiWxl3qLUPT7x1fcQwPJT0ibc+vIa16xNzvujA5xo38crq6KEmTTx8cUbXIH3i4RrWRw41OrGENUz74hgkrGGmFDfePdEDPz1fBZ7u7n7/4IX+ytU/CP28I7igHzMy36GUmPg4XXAv+hpU/3uYNkX88tka8OYt/W/LdTaGoTexI2SY4v23u1svfnxHU6TIGk1x893+X68+/oKmSKlo55uHAFbuf//sCwNNkdIAvYFuh6A0hqZIaQRNkdIImiKlETRFSiNoipRG0BQpjaApUhpBU6Q0gqZIaQRN8R927J3FiTAMw/DkQDIkG9LlRNaNZE237BYiCMI29m5hIStYK9b+f5OATogwxNlinuK6ihRv8X75hhsGhhBSJIQUCSFFQkiREFIkhBQJIUVCSJEQUiSEFAkhRUJIkRBSJIQUCSFFQkiREFIkhBQJIUVCSJEQUiSEFAkhRUJIkRBSJIQUCSFFQkiREFIkhBQJIUVCSJEQUiSEFAkhRUJIkRBSJIQUCSFFQkiREFIkhBQJIUVadLfYeyNF2lYutrvd7rMUadvb+ycvaBL8/DLbbD6VUqRtT8vl6uHHTIq07e7+a7G+3vaL4nW3u1rNOn+MxsVeedU5m/RPJ9PjZFRNrvqHyfhk0isOBp3zSe98cXnB4unppKyO+o/Fze/Q61QG1aT5w6nu8MLFo+E/R5WX3qHm4dQtrr9DM4fH8/7XbP/z/Pz91Xrw1/FflPNBpX+cTKrBpDxuGNRNxsXBuHbSr466fPH8OBnWLG7hDpOGd7h8cTV56eLpcTJvtrj+qCbK9c1+0+bhgxc07SrfLYZF8W05liItu119vHlc+q5I+26vt93HsRQJMJr4xE0YKRJCioSQIiGkSAgpEkKKhJAiIaRICCkSQoqEkCIhpEgIKRJCioSQIiGkSAgpEkKKhJAiIaRICCkSQoqEkCIhpEgIKRJCioSQIiGkSAgpEkKKhJAiIaRICCkSQoqEkCIhpEgIKRJCioT43a7dtCwKBWAYfrJTnqwIQkzFzzcVRDIXIhSCG6GlgS2ioE2bonUQzPz4eefjB8w5M1QznGvhTsSHG05FIkXhTYgUhTchUhTehEhReBMiReFNiBSFNyFSFN6ESFF4EyJF4U2IFIU3IVIU3oRIUXgTIkXhTYgUhTchUhReqL96FC4VKQqvNjzvexs1ESkKr+aZLkabnkhReDF6smWg2FORovBaw3NEgG3WFSkKr9WNfAJ42RSIez09q3uC8FdUBEz60ZkAg6wBfEkyvy4lTlkr8fpyl3i1hsRp3joSJ7NVX7BS+6+tNJ+BieyvCbDKJn96QB8k8NqswUvagZMlBeC0lUbgFPKvZEf8K1XgpEk3cFpJM7Cp1BlIqEKkKFJ8cYrltWiCZSxSFCm+OkWyNU2z92vbcU7AScnBq+mAV84dBcmH4DTO6QtWyv9gpS44yfkEnPo8K7kKBEEQBEH4Z00G0fpjAj7D4gYuSZjWR3Ap67SYgVO+1sDDPYVhuFPAQV6t+QaexOF3jxE4uP76NOIL4mO9Xk3wfDQ2/J5RUXA5GR/gYRnL0+UecJWYpSdT5ZyKbL544LHIrvN5OgU74mcH31iA3bief7pnCtjl2ebkOFwtxln6MHwZT0PHkx+XRqoIXdgJy7h9GSBdAmttMKYod8n3+4k/JyCpCQaTMf1xuVwIypYlKDqb0c/LECCV88VjX6k/mTzqMdiQ7s+VAicALVLmleQ+AUAH5oB9pRk9X8dIviw4VpKNB4F2DfA0s/hEaBlamnMEyjnLYakcKkoHfkMfa89hSzH3B5RWJ+VjAMC/g4EWlpQUq2GgAWXL8ljiHTqYHo6U3jYLthTH31e6hYmSFm7ZUDBQwpjSj3O+2/SbvLHAYOp7lFbFCEBi98CiDDU6KbaTet5F/iVmWWlwUJAcbpoRAF27oHgW+mGuOum66y1dwFIHDE8mRRZo84dMk+6IMUW5Vl3vHhN8mi5TMOhs1srC8Sgwje2LwvKqt+WJhLYLJSo0thTp1tjml2g2XS7t+cYjYFjpZATl9TDyo9C2ew3bSpLrZQsCkEqywCLXo258DagmRTtdn7K86nFeyD3dco0BMFqGEzyN7Gc9VcNKtYBEWlGWU2Cz3Gz6+MSaIhopvdYyPo1qswMGNHAe94IAdDC/p0MwIJVR7QcU1aWx2FKEfDbOqgbX7FluOmfKYqir+mU4irJLsLrWYDFV1/uzDKCjFgQsqLc/ZDsCxTbU+1kGA7IzdnuPEmetIG79GZ5nYt5j4EN1AUvaUjDoGEYJrhSplzkUn5R6fwMTcmgl/KTdzxQMiN76gGt6Y+3Lh8y4UrYCQAhQ7rdsQRmmi1FkKkCVDdmOrPsV33lOCTYkbG2AqmoHWnagYCDbbQ+AZ5iOY4cTPE9zNYsJbtcScJcBWLjO3qN8KW7NawLAukhHCiazh6F2QKwugEjtg8FoY0RdpFma6q20ImCQX83dBLNcBiypAgttvw8w9PUu4BkJGJCVeZ3i0/oyAptxz5A6v76x+DbTSopu1F2AuIuPfLOjeJpx7RTLgCbzAWiw1MBgpG9qqeFKMZF8W+/CknQNbKi3rPb+cKhXAHR7iN83KZztNSaDqqoebX0jLCtF15N6g7bWgNLxmFayL5Gt0HjeALExBgNX6kmbLkDNE9jQwTzeh8PmvgMQ2WOWlU7Oar4gKG6AtfTwPAvjOKrtYb/WNVevu2DQM7RETblSvNi5dj/I9Zdw8YklCkXyx4G5pb7pJcV9AQZHZ0F3cw2fWD8rxsZtFNkkUSNLu+g5GJxNN1mmcNXaOko1WGz0pryfgCQbgE2jhjPPHNC1403jjOnn4mC/JcXSQnpxXf2i4Gm0+QEoHR+J3rabKRh8ZCtg0FYcKRb3AIiNYv71u3aG31cvXVBfdWnUtveYMh086xFyPZXZUyydE1DueyivbWu7YLC9b4HB1/jHrWkHDE7ZEaiMAEejBJtItUDOqvV9pS8nlpU6dtTH1F7TqdR+3XTwEtMG/xKqWDKer8nBPzDFs9FRMgQf0oh/dQmCIAjCf+Ebu+//1hLdqlIAAAAASUVORK5CYII="},50802:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_seriedata-9eb9c58844816e1b59d51b3eda2caa97.png"},67983:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_textmeshpro-547e51c8c3f3040fc0f26e9c46b38abc.png"},78724:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_textmeshpro_font-cb5e61032da018ed1bd18e3846ea2329.png"}}]); \ No newline at end of file diff --git a/assets/js/9abfe212.39023eea.js b/assets/js/9abfe212.39023eea.js new file mode 100644 index 00000000..aac57ba3 --- /dev/null +++ b/assets/js/9abfe212.39023eea.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9578],{53709:function(a){a.exports=JSON.parse('{"pluginId":"default","version":"v3.12.0","label":"v3.12.0","banner":null,"badge":true,"className":"docs-version-v3.12.0","isLast":true,"docsSidebars":{"langSidebar":[{"type":"link","label":"\u5173\u4e8eXCharts","href":"/docs/about","docId":"lang/articles/about"},{"type":"link","label":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","href":"/docs/tutorial01","docId":"lang/articles/tutorial01"},{"type":"link","label":"\u914d\u7f6e\u9879\u624b\u518c","href":"/docs/configuration","docId":"lang/articles/configuration"},{"type":"link","label":"API\u624b\u518c","href":"/docs/api","docId":"lang/articles/api"},{"type":"link","label":"\u5e38\u89c1\u95ee\u9898","href":"/docs/faq","docId":"lang/articles/faq"},{"type":"link","label":"\u8ba2\u9605\u670d\u52a1","href":"/docs/support","docId":"lang/articles/support"},{"type":"link","label":"\u66f4\u65b0\u65e5\u5fd7","href":"/docs/changelog","docId":"lang/articles/changelog"},{"type":"category","label":"\u6269\u5c55\u7ec4\u4ef6","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"UIStatistic \u7edf\u8ba1\u6570\u503c","href":"/docs/lang/articles/ui/ui_statistic","docId":"lang/articles/ui/ui_statistic"},{"type":"link","label":"UITable \u8868\u683c","href":"/docs/lang/articles/ui/ui_table","docId":"lang/articles/ui/ui_table"}],"href":"/docs/ui"},{"type":"category","label":"\u6269\u5c55\u56fe\u8868","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Bar3DChart 3D\u67f1\u56fe","href":"/docs/bar3d","docId":"lang/articles/extra/bar3d"},{"type":"link","label":"FunnelChart \u6f0f\u6597\u56fe","href":"/docs/funnel","docId":"lang/articles/extra/funnel"},{"type":"link","label":"GanttChart \u7518\u7279\u56fe","href":"/docs/gantt","docId":"lang/articles/extra/gantt"},{"type":"link","label":"GaugeChart \u4eea\u8868\u76d8","href":"/docs/gauge","docId":"lang/articles/extra/gauge"},{"type":"link","label":"GraphChart \u5173\u7cfb\u56fe","href":"/docs/graph","docId":"lang/articles/extra/graph"},{"type":"link","label":"Line3DChart 3D\u6298\u7ebf\u56fe","href":"/docs/line3d","docId":"lang/articles/extra/line3d"},{"type":"link","label":"LiquidChart \u6c34\u4f4d\u56fe","href":"/docs/liquid","docId":"lang/articles/extra/liquid"},{"type":"link","label":"PictorialBarChart \u8c61\u5f62\u67f1\u56fe","href":"/docs/pictorialbar","docId":"lang/articles/extra/pictorialbar"},{"type":"link","label":"Pie3DChart 3D\u997c\u56fe","href":"/docs/pie3d","docId":"lang/articles/extra/pie3d"},{"type":"link","label":"PyramidChart \u91d1\u5b57\u5854","href":"/docs/pyramid","docId":"lang/articles/extra/pyramid"},{"type":"link","label":"SankeyChart \u6851\u57fa\u56fe","href":"/docs/sankey","docId":"lang/articles/extra/sankey"},{"type":"link","label":"TreemapChart \u77e9\u5f62\u6811\u56fe","href":"/docs/treemap","docId":"lang/articles/extra/treemap"}],"href":"/docs/extra"},{"type":"category","label":"\u8fdb\u9636\u6559\u7a0b","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u4ece\u6587\u4ef6\u6216\u6570\u636e\u5e93\u8bfb\u53d6\u6570\u636e\u663e\u793a\u56fe\u8868","href":"/docs/tutorial02","docId":"lang/articles/advanced/tutorial10"},{"type":"link","label":"\u5fc3\u7535\u56fe\u6548\u679c\u5b9e\u73b0","href":"/docs/tutorial03","docId":"lang/articles/advanced/tutorial11"},{"type":"link","label":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","href":"/docs/inputsystem","docId":"lang/articles/advanced/tutorial12_inputsystem"}]}]},"docs":{"lang/articles/about":{"id":"lang/articles/about","title":"\u5173\u4e8eXCharts","description":"XCharts","sidebar":"langSidebar"},"lang/articles/advanced/tutorial10":{"id":"lang/articles/advanced/tutorial10","title":"\u4ece\u6587\u4ef6\u6216\u6570\u636e\u5e93\u8bfb\u53d6\u6570\u636e\u663e\u793a\u56fe\u8868","description":"TODO","sidebar":"langSidebar"},"lang/articles/advanced/tutorial11":{"id":"lang/articles/advanced/tutorial11","title":"\u5fc3\u7535\u56fe\u6548\u679c\u5b9e\u73b0","description":"TODO","sidebar":"langSidebar"},"lang/articles/advanced/tutorial12_inputsystem":{"id":"lang/articles/advanced/tutorial12_inputsystem","title":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","description":"1. \u6309\u56fe\u793a\u4fee\u6539\u9879\u76ee\u914d\u7f6e\u4e2d\u8f93\u5165\u6a21\u5f0f\u4e3a Input System","sidebar":"langSidebar"},"lang/articles/api":{"id":"lang/articles/api","title":"API\u624b\u518c","description":"\u6240\u6709\u7c7b","sidebar":"langSidebar"},"lang/articles/changelog":{"id":"lang/articles/changelog","title":"\u66f4\u65b0\u65e5\u5fd7","description":"master","sidebar":"langSidebar"},"lang/articles/configuration":{"id":"lang/articles/configuration","title":"\u914d\u7f6e\u9879\u624b\u518c","description":"Serie \u7cfb\u5217","sidebar":"langSidebar"},"lang/articles/extra/bar3d":{"id":"lang/articles/extra/bar3d","title":"Bar3DChart 3D\u67f1\u56fe","description":"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - 3D\u67f1\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/extra/extra":{"id":"lang/articles/extra/extra","title":"\u6269\u5c55\u56fe\u8868","description":"XCharts\u7684\u6269\u5c55\u56fe\u8868\u3002","sidebar":"langSidebar"},"lang/articles/extra/funnel":{"id":"lang/articles/extra/funnel","title":"FunnelChart \u6f0f\u6597\u56fe","description":"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u6f0f\u6597\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/extra/gantt":{"id":"lang/articles/extra/gantt","title":"GanttChart \u7518\u7279\u56fe","description":"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u7518\u7279\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/extra/gauge":{"id":"lang/articles/extra/gauge","title":"GaugeChart \u4eea\u8868\u76d8","description":"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u4eea\u8868\u76d8\u3002","sidebar":"langSidebar"},"lang/articles/extra/graph":{"id":"lang/articles/extra/graph","title":"GraphChart \u5173\u7cfb\u56fe","description":"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u5173\u7cfb\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/extra/line3d":{"id":"lang/articles/extra/line3d","title":"Line3DChart 3D\u6298\u7ebf\u56fe","description":"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - 3D\u6298\u7ebf\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/extra/liquid":{"id":"lang/articles/extra/liquid","title":"LiquidChart \u6c34\u4f4d\u56fe","description":"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u6c34\u4f4d\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/extra/pictorialbar":{"id":"lang/articles/extra/pictorialbar","title":"PictorialBarChart \u8c61\u5f62\u67f1\u56fe","description":"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u8c61\u5f62\u67f1\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/extra/pie3d":{"id":"lang/articles/extra/pie3d","title":"Pie3DChart 3D\u997c\u56fe","description":"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - 3D\u997c\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/extra/pyramid":{"id":"lang/articles/extra/pyramid","title":"PyramidChart \u91d1\u5b57\u5854","description":"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u91d1\u5b57\u5854\u3002","sidebar":"langSidebar"},"lang/articles/extra/sankey":{"id":"lang/articles/extra/sankey","title":"SankeyChart \u6851\u57fa\u56fe","description":"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u6851\u57fa\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/extra/treemap":{"id":"lang/articles/extra/treemap","title":"TreemapChart \u77e9\u5f62\u6811\u56fe","description":"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u77e9\u5f62\u6811\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/faq":{"id":"lang/articles/faq","title":"\u5e38\u89c1\u95ee\u9898","description":"FAQ 1\uff1a\u5982\u4f55\u8c03\u6574\u5750\u6807\u8f74\u4e0e\u80cc\u666f\u7684\u8fb9\u8ddd\uff1f","sidebar":"langSidebar"},"lang/articles/support":{"id":"lang/articles/support","title":"\u8ba2\u9605\u670d\u52a1","description":"\u5982\u9700\u6280\u672f\u652f\u6301\u548c\u8d2d\u4e70\u6269\u5c55\u56fe\u8868\uff0c\u53ef\u8ba2\u9605VIP\u670d\u52a1\u3002\u8be6\u60c5\u53ef\u67e5\u770b\u4ee5\u4e0b\u5185\u5bb9\uff0c\u4e5f\u53ef\u4ee5\u52a0QQ3525422251\uff08XCharts\u6280\u672f\u652f\u6301\uff09\u6216\u53d1\u90ae\u4ef6\u5230monitor1394@gmail.com\u8fdb\u884c\u54a8\u8be2\u3002","sidebar":"langSidebar"},"lang/articles/tutorial01":{"id":"lang/articles/tutorial01","title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","description":"Note\uff1a\u672c\u6559\u7a0b\u4ec5\u9002\u7528XCharts 3.x\u7248\u672c\uff0c2.x\u7248\u672c\u8bf7\u770b \u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624bXCharts 2.0","sidebar":"langSidebar"},"lang/articles/ui/ui":{"id":"lang/articles/ui/ui","title":"\u6269\u5c55UI\u7ec4\u4ef6","description":"XCharts\u7684\u6269\u5c55UI\u7ec4\u4ef6\uff0cVIP\u8ba2\u9605\u7528\u6237\u4e13\u6709\u3002","sidebar":"langSidebar"},"lang/articles/ui/ui_statistic":{"id":"lang/articles/ui/ui_statistic","title":"UIStatistic \u7edf\u8ba1\u6570\u503c","description":"statistic","sidebar":"langSidebar"},"lang/articles/ui/ui_table":{"id":"lang/articles/ui/ui_table","title":"UITable \u8868\u683c","description":"table","sidebar":"langSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/9c4c7084.027ae975.js b/assets/js/9c4c7084.027ae975.js new file mode 100644 index 00000000..3e2bc1e1 --- /dev/null +++ b/assets/js/9c4c7084.027ae975.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2786],{3905:function(e,t,r){r.d(t,{Zo:function(){return p},kt:function(){return h}});var a=r(67294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t){if(null==e)return{};var r,a,i=function(e,t){if(null==e)return{};var r,a,i={},n=Object.keys(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var c=a.createContext({}),d=function(e){var t=a.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=d(e.components);return a.createElement(c.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},s=a.forwardRef((function(e,t){var r=e.components,i=e.mdxType,n=e.originalType,c=e.parentName,p=o(e,["components","mdxType","originalType","parentName"]),s=d(r),h=i,m=s["".concat(c,".").concat(h)]||s[h]||u[h]||n;return r?a.createElement(m,l(l({ref:t},p),{},{components:r})):a.createElement(m,l({ref:t},p))}));function h(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var n=r.length,l=new Array(n);l[0]=s;var o={};for(var c in t)hasOwnProperty.call(t,c)&&(o[c]=t[c]);o.originalType=e,o.mdxType="string"==typeof e?e:i,l[1]=o;for(var d=2;d<n;d++)l[d]=r[d];return a.createElement.apply(null,l)}return a.createElement.apply(null,r)}s.displayName="MDXCreateElement"},34643:function(e,t,r){r.r(t),r.d(t,{frontMatter:function(){return o},contentTitle:function(){return c},metadata:function(){return d},toc:function(){return p},default:function(){return s}});var a=r(83117),i=r(80102),n=(r(67294),r(3905)),l=(r(84597),["components"]),o={sidebar_position:0,slug:"/pictorialbar"},c="PictorialBarChart \u8c61\u5f62\u67f1\u56fe",d={unversionedId:"lang/articles/extra/pictorialbar",id:"version-v3.12.0/lang/articles/extra/pictorialbar",title:"PictorialBarChart \u8c61\u5f62\u67f1\u56fe",description:"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u8c61\u5f62\u67f1\u56fe\u3002",source:"@site/versioned_docs/version-v3.12.0/lang/articles/extra/pictorialbar.md",sourceDirName:"lang/articles/extra",slug:"/pictorialbar",permalink:"/docs/pictorialbar",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/extra/pictorialbar.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"2024/10/1",sidebarPosition:0,frontMatter:{sidebar_position:0,slug:"/pictorialbar"},sidebar:"langSidebar",previous:{title:"LiquidChart \u6c34\u4f4d\u56fe",permalink:"/docs/liquid"},next:{title:"Pie3DChart 3D\u997c\u56fe",permalink:"/docs/pie3d"}},p=[{value:"\u622a\u56fe",id:"\u622a\u56fe",children:[],level:2},{value:"\u8bb8\u53ef",id:"\u8bb8\u53ef",children:[],level:2},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",children:[],level:2},{value:"\u6559\u7a0b",id:"\u6559\u7a0b",children:[],level:2},{value:"\u6587\u6863",id:"\u6587\u6863",children:[],level:2},{value:"\u65e5\u5fd7",id:"\u65e5\u5fd7",children:[{value:"v3.12.0",id:"v3120",children:[],level:3},{value:"v3.11.0",id:"v3110",children:[],level:3},{value:"v3.10.0",id:"v3100",children:[],level:3},{value:"v3.9.0",id:"v390",children:[],level:3},{value:"v3.8.1",id:"v381",children:[],level:3},{value:"v3.8.0",id:"v380",children:[],level:3},{value:"v3.6.1",id:"v361",children:[],level:3},{value:"v3.6.0",id:"v360",children:[],level:3},{value:"v3.5.0",id:"v350",children:[],level:3},{value:"v3.4.0",id:"v340",children:[],level:3},{value:"v3.2.0",id:"v320",children:[],level:3}],level:2},{value:"API",id:"api",children:[{value:"PictorialBar",id:"pictorialbar",children:[{value:"PictorialBar.containerIndex",id:"pictorialbarcontainerindex",children:[],level:4},{value:"PictorialBar.containterInstanceId",id:"pictorialbarcontainterinstanceid",children:[],level:4},{value:"PictorialBar.AddDefaultSerie",id:"pictorialbaradddefaultserie",children:[],level:4},{value:"PictorialBar.ConvertSerie",id:"pictorialbarconvertserie",children:[],level:4}],level:3},{value:"PictorialBarChart",id:"pictorialbarchart",children:[],level:3}],level:2},{value:"\u914d\u7f6e\u9879\u624b\u518c",id:"\u914d\u7f6e\u9879\u624b\u518c",children:[{value:"PictorialBar",id:"pictorialbar-1",children:[],level:3}],level:2}],u={toc:p};function s(e){var t=e.components,o=(0,i.Z)(e,l);return(0,n.kt)("wrapper",(0,a.Z)({},u,o,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"pictorialbarchart-\u8c61\u5f62\u67f1\u56fe"},"PictorialBarChart \u8c61\u5f62\u67f1\u56fe"),(0,n.kt)("p",null,"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u8c61\u5f62\u67f1\u56fe\u3002"),(0,n.kt)("h2",{id:"\u622a\u56fe"},"\u622a\u56fe"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"PictorialBar01",src:r(50518).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"PictorialBar02",src:r(78172).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"PictorialBar03",src:r(24485).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"PictorialBar04",src:r(76937).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"})))),(0,n.kt)("h2",{id:"\u8bb8\u53ef"},"\u8bb8\u53ef"),(0,n.kt)("p",null,"\u6269\u5c55\u56fe\u8868\uff0c\u9700\u4ed8\u8d39\u8d2d\u4e70\u540e\u624d\u83b7\u5f97\u4f7f\u7528\u8bb8\u53ef\u3002"),(0,n.kt)("h2",{id:"\u793a\u4f8b"},"\u793a\u4f8b"),(0,n.kt)("p",null,"Demo\u4ed3\u5e93\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-PictorialBarChart-Demo"},"XCharts-PictorialBarChart-Demo")),(0,n.kt)("h2",{id:"\u6559\u7a0b"},"\u6559\u7a0b"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Demo"},"\u6269\u5c55\u56fe\u8868\u5982\u4f55\u5bfc\u5165Demo\u9879\u76ee\u6216\u5bfc\u5165\u81ea\u5df1\u9879\u76ee")),(0,n.kt)("h2",{id:"\u6587\u6863"},"\u6587\u6863"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#api"},"API"),(0,n.kt)("br",{parentName:"p"}),"\n",(0,n.kt)("a",{parentName:"p",href:"#%E9%85%8D%E7%BD%AE%E9%A1%B9%E6%89%8B%E5%86%8C"},"\u914d\u7f6e\u9879\u624b\u518c")," "),(0,n.kt)("h2",{id:"\u65e5\u5fd7"},"\u65e5\u5fd7"),(0,n.kt)("h3",{id:"v3120"},"v3.12.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2024.09.30) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v3110"},"v3.11.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c")),(0,n.kt)("h3",{id:"v3100"},"v3.10.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.12.19) \u8c03\u6574",(0,n.kt)("inlineCode",{parentName:"li"},"Border"),"\u76f8\u5173\u4ee3\u7801")),(0,n.kt)("h3",{id:"v390"},"v3.9.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.12.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.9.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.12.01) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v381"},"v3.8.1"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.09.26) \u4fee\u590d",(0,n.kt)("inlineCode",{parentName:"li"},"PictorialBar"),"\u52a8\u6001\u6dfb\u52a0\u6570\u636e\u65f6\u4e0d\u5237\u65b0\u7684\u95ee\u9898")),(0,n.kt)("h3",{id:"v380"},"v3.8.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.07.31) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.8.0"))),(0,n.kt)("h3",{id:"v361"},"v3.6.1"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.06.08) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.6.1"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.06.08) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v360"},"v3.6.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.04.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.6.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.09) \u652f\u6301",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieClick")," ",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieDown")," ",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieEnter"),"\u548c",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieExit"),"\u56de\u8c03"),(0,n.kt)("li",{parentName:"ul"},"(2023.02.14) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.6.0"))),(0,n.kt)("h3",{id:"v350"},"v3.5.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.12.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.5.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2022.11.29) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"barMaxWidth"),"\u7684\u652f\u6301"),(0,n.kt)("li",{parentName:"ul"},"(2022.11.27) \u8c03\u6574",(0,n.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u6587\u6863\u7ed3\u6784")),(0,n.kt)("h3",{id:"v340"},"v3.4.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.11.01) \u652f\u6301",(0,n.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"unscaledTime")),(0,n.kt)("li",{parentName:"ul"},"(2022.11.01) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.4.0"))),(0,n.kt)("h3",{id:"v320"},"v3.2.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.08.22) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.2.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2022.08.19) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.2.0")),(0,n.kt)("li",{parentName:"ul"},"(2022.08.09) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"colorBy"),"\u53c2\u6570\u652f\u6301"),(0,n.kt)("li",{parentName:"ul"},"(2022.08.09) \u4fee\u590d",(0,n.kt)("inlineCode",{parentName:"li"},"label"),"\u5f02\u5e38\u95ee\u9898 (#1)")),(0,n.kt)("h2",{id:"api"},"API"),(0,n.kt)("h3",{id:"pictorialbar"},"PictorialBar"),(0,n.kt)("p",null,"class in XCharts.Runtime.PictorialBars / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h4",{id:"pictorialbarcontainerindex"},"PictorialBar.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h4",{id:"pictorialbarcontainterinstanceid"},"PictorialBar.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h4",{id:"pictorialbaradddefaultserie"},"PictorialBar.AddDefaultSerie"),(0,n.kt)("p",null,"public static void AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h4",{id:"pictorialbarconvertserie"},"PictorialBar.ConvertSerie"),(0,n.kt)("p",null,"public static PictorialBar ConvertSerie(Serie serie) "),(0,n.kt)("h3",{id:"pictorialbarchart"},"PictorialBarChart"),(0,n.kt)("p",null,"class in XCharts.Runtime.PictorialBars / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#basechart"},"BaseChart")),(0,n.kt)("h2",{id:"\u914d\u7f6e\u9879\u624b\u518c"},"\u914d\u7f6e\u9879\u624b\u518c"),(0,n.kt)("h3",{id:"pictorialbar-1"},"PictorialBar"),(0,n.kt)("p",null,"class in XCharts.Runtime.PictorialBars / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#ineedseriecontainer"},"INeedSerieContainer")))}s.isMDXComponent=!0},84597:function(e,t,r){r.d(t,{Z:function(){return c}});var a=r(67294),i=r(76775),n="apiTable_e8hp";function l(e,t){var r=e.name,n=e.children,l=function(e){for(var t=e;(0,a.isValidElement)(t);)t=a.Children.toArray(t.props.children)[0];return t}(n),o=r?r+"-"+l:l,c="#"+o,d=(0,i.k6)();return a.createElement("tr",{id:o,tabIndex:0,ref:d.location.hash===c?t:void 0,onClick:function(e){"A"===e.target.tagName.toUpperCase()||d.push(c)},onKeyDown:function(e){"Enter"===e.key&&d.push(c)}},n.props.children)}var o=a.forwardRef(l);function c(e){var t=e.children,r=e.name,i=a.Children.toArray(t.props.children),l=i[0],c=i[1],d=(0,a.useRef)(null);(0,a.useEffect)((function(){var e;null==(e=d.current)||e.focus()}),[d]);var p=a.Children.map(c.props.children,(function(e){return a.createElement(o,{name:r,ref:d},e)}));return a.createElement("table",{className:n},l,a.createElement("tbody",null,p))}},50518:function(e,t,r){t.Z=r.p+"assets/images/PictorialBar01-e7da7496b055d4b01f4ba393ee39cdce.png"},78172:function(e,t,r){t.Z=r.p+"assets/images/PictorialBar02-5962bc2244d5839e66a0e8ef03246917.png"},24485:function(e,t,r){t.Z=r.p+"assets/images/PictorialBar03-6a5308d0f7ae994142cae22e1c0268da.png"},76937:function(e,t,r){t.Z=r.p+"assets/images/PictorialBar04-d5aa20424f36f01d6c38de08a0ded647.png"}}]); \ No newline at end of file diff --git a/assets/js/b3c5e4a8.2c201907.js b/assets/js/b3c5e4a8.2c201907.js new file mode 100644 index 00000000..65d924fe --- /dev/null +++ b/assets/js/b3c5e4a8.2c201907.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1772],{3905:function(e,t,i){i.d(t,{Zo:function(){return u},kt:function(){return h}});var l=i(67294);function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function a(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,l)}return i}function r(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?a(Object(i),!0).forEach((function(t){n(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function d(e,t){if(null==e)return{};var i,l,n=function(e,t){if(null==e)return{};var i,l,n={},a=Object.keys(e);for(l=0;l<a.length;l++)i=a[l],t.indexOf(i)>=0||(n[i]=e[i]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l<a.length;l++)i=a[l],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}var p=l.createContext({}),o=function(e){var t=l.useContext(p),i=t;return e&&(i="function"==typeof e?e(t):r(r({},t),e)),i},u=function(e){var t=o(e.components);return l.createElement(p.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return l.createElement(l.Fragment,{},t)}},s=l.forwardRef((function(e,t){var i=e.components,n=e.mdxType,a=e.originalType,p=e.parentName,u=d(e,["components","mdxType","originalType","parentName"]),s=o(i),h=n,k=s["".concat(p,".").concat(h)]||s[h]||c[h]||a;return i?l.createElement(k,r(r({ref:t},u),{},{components:i})):l.createElement(k,r({ref:t},u))}));function h(e,t){var i=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=i.length,r=new Array(a);r[0]=s;var d={};for(var p in t)hasOwnProperty.call(t,p)&&(d[p]=t[p]);d.originalType=e,d.mdxType="string"==typeof e?e:n,r[1]=d;for(var o=2;o<a;o++)r[o]=i[o];return l.createElement.apply(null,r)}return l.createElement.apply(null,i)}s.displayName="MDXCreateElement"},83975:function(e,t,i){i.r(t),i.d(t,{frontMatter:function(){return d},contentTitle:function(){return p},metadata:function(){return o},toc:function(){return u},default:function(){return s}});var l=i(83117),n=i(80102),a=(i(67294),i(3905)),r=(i(84597),["components"]),d={sidebar_position:0,slug:"/pie3d"},p="Pie3DChart 3D\u997c\u56fe",o={unversionedId:"lang/articles/extra/pie3d",id:"version-v3.12.0/lang/articles/extra/pie3d",title:"Pie3DChart 3D\u997c\u56fe",description:"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - 3D\u997c\u56fe\u3002",source:"@site/versioned_docs/version-v3.12.0/lang/articles/extra/pie3d.md",sourceDirName:"lang/articles/extra",slug:"/pie3d",permalink:"/docs/pie3d",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/extra/pie3d.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"2024/10/1",sidebarPosition:0,frontMatter:{sidebar_position:0,slug:"/pie3d"},sidebar:"langSidebar",previous:{title:"PictorialBarChart \u8c61\u5f62\u67f1\u56fe",permalink:"/docs/pictorialbar"},next:{title:"PyramidChart \u91d1\u5b57\u5854",permalink:"/docs/pyramid"}},u=[{value:"\u622a\u56fe",id:"\u622a\u56fe",children:[],level:2},{value:"\u8bb8\u53ef",id:"\u8bb8\u53ef",children:[],level:2},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",children:[],level:2},{value:"\u6559\u7a0b",id:"\u6559\u7a0b",children:[],level:2},{value:"\u6587\u6863",id:"\u6587\u6863",children:[],level:2},{value:"\u65e5\u5fd7",id:"\u65e5\u5fd7",children:[{value:"v3.12.0",id:"v3120",children:[],level:3},{value:"v3.11.0",id:"v3110",children:[],level:3},{value:"v3.10.1",id:"v3101",children:[],level:3},{value:"v3.10.0",id:"v3100",children:[],level:3},{value:"v3.9.0",id:"v390",children:[],level:3},{value:"v3.8.1",id:"v381",children:[],level:3},{value:"v3.8.0",id:"v380",children:[],level:3},{value:"v3.6.2",id:"v362",children:[],level:3},{value:"v3.6.1",id:"v361",children:[],level:3},{value:"v3.6.0",id:"v360",children:[],level:3},{value:"v3.5.0",id:"v350",children:[],level:3},{value:"v3.4.0",id:"v340",children:[],level:3},{value:"v3.3.0",id:"v330",children:[],level:3},{value:"v3.2.0",id:"v320",children:[],level:3}],level:2},{value:"API",id:"api",children:[{value:"Pie3D",id:"pie3d",children:[{value:"Pie3D.defaultColorBy",id:"pie3ddefaultcolorby",children:[],level:4},{value:"Pie3D.AddDefaultSerie",id:"pie3dadddefaultserie",children:[],level:4},{value:"Pie3D.ConvertSerie",id:"pie3dconvertserie",children:[],level:4}],level:3},{value:"Pie3DChart",id:"pie3dchart",children:[{value:"Pie3DChart.DefaultAutoHeightPie3DChart",id:"pie3dchartdefaultautoheightpie3dchart",children:[],level:4},{value:"Pie3DChart.DefaultDonutPie3DChart",id:"pie3dchartdefaultdonutpie3dchart",children:[],level:4},{value:"Pie3DChart.DefaultEllipsePie3DChart",id:"pie3dchartdefaultellipsepie3dchart",children:[],level:4}],level:3},{value:"Pie3DSlice",id:"pie3dslice",children:[{value:"Pie3DSlice.Contains",id:"pie3dslicecontains",children:[],level:4},{value:"Pie3DSlice.IsInPolygon",id:"pie3dsliceisinpolygon",children:[],level:4},{value:"Pie3DSlice.IsInSidePolygon",id:"pie3dsliceisinsidepolygon",children:[],level:4},{value:"Pie3DSlice.IsInStartOrEndSide",id:"pie3dsliceisinstartorendside",children:[],level:4},{value:"Pie3DSlice.IsInTopPolygon",id:"pie3dsliceisintoppolygon",children:[],level:4},{value:"Pie3DSlice.Pie3DSlice",id:"pie3dslicepie3dslice",children:[],level:4},{value:"Pie3DSlice.UpdateValue",id:"pie3dsliceupdatevalue",children:[],level:4}],level:3},{value:"Pie3DStyle",id:"pie3dstyle",children:[{value:"Pie3DStyle.drawSplitSide",id:"pie3dstyledrawsplitside",children:[],level:4},{value:"Pie3DStyle.ellipseMinorAxis",id:"pie3dstyleellipseminoraxis",children:[],level:4},{value:"Pie3DStyle.endSideColorRate",id:"pie3dstyleendsidecolorrate",children:[],level:4},{value:"Pie3DStyle.peripherySideColorRate",id:"pie3dstyleperipherysidecolorrate",children:[],level:4},{value:"Pie3DStyle.pieAutoHeight",id:"pie3dstylepieautoheight",children:[],level:4},{value:"Pie3DStyle.pieMaxHeight",id:"pie3dstylepiemaxheight",children:[],level:4},{value:"Pie3DStyle.selectedOffset",id:"pie3dstyleselectedoffset",children:[],level:4},{value:"Pie3DStyle.startSideColorRate",id:"pie3dstylestartsidecolorrate",children:[],level:4}],level:3}],level:2},{value:"\u914d\u7f6e\u9879\u624b\u518c",id:"\u914d\u7f6e\u9879\u624b\u518c",children:[{value:"Pie3D",id:"pie3d-1",children:[{value:"Pie3D.pie3DStyle",id:"pie3dpie3dstyle",children:[],level:4}],level:3},{value:"Pie3DStyle",id:"pie3dstyle-1",children:[{value:"Pie3DStyle.drawSplitSide",id:"pie3dstyledrawsplitside-1",children:[],level:4},{value:"Pie3DStyle.ellipseMinorAxis",id:"pie3dstyleellipseminoraxis-1",children:[],level:4},{value:"Pie3DStyle.endSideColorRate",id:"pie3dstyleendsidecolorrate-1",children:[],level:4},{value:"Pie3DStyle.peripherySideColorRate",id:"pie3dstyleperipherysidecolorrate-1",children:[],level:4},{value:"Pie3DStyle.pieAutoHeight",id:"pie3dstylepieautoheight-1",children:[],level:4},{value:"Pie3DStyle.pieMaxHeight",id:"pie3dstylepiemaxheight-1",children:[],level:4},{value:"Pie3DStyle.selectedOffset",id:"pie3dstyleselectedoffset-1",children:[],level:4},{value:"Pie3DStyle.show",id:"pie3dstyleshow",children:[],level:4},{value:"Pie3DStyle.startSideColorRate",id:"pie3dstylestartsidecolorrate-1",children:[],level:4}],level:3}],level:2}],c={toc:u};function s(e){var t=e.components,d=(0,n.Z)(e,r);return(0,a.kt)("wrapper",(0,l.Z)({},c,d,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"pie3dchart-3d\u997c\u56fe"},"Pie3DChart 3D\u997c\u56fe"),(0,a.kt)("p",null,"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - 3D\u997c\u56fe\u3002"),(0,a.kt)("h2",{id:"\u622a\u56fe"},"\u622a\u56fe"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"center"}),(0,a.kt)("th",{parentName:"tr",align:"center"}),(0,a.kt)("th",{parentName:"tr",align:"center"}),(0,a.kt)("th",{parentName:"tr",align:"center"}),(0,a.kt)("th",{parentName:"tr",align:"center"}))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"center"},(0,a.kt)("img",{alt:"Pie3D01",src:i(92994).Z,width:"577",height:"490"})),(0,a.kt)("td",{parentName:"tr",align:"center"},(0,a.kt)("img",{alt:"Pie3D02",src:i(13723).Z,width:"577",height:"490"})),(0,a.kt)("td",{parentName:"tr",align:"center"},(0,a.kt)("img",{alt:"Pie3D03",src:i(19136).Z,width:"577",height:"490"})),(0,a.kt)("td",{parentName:"tr",align:"center"},(0,a.kt)("img",{alt:"Pie3D04",src:i(51739).Z,width:"577",height:"490"})),(0,a.kt)("td",{parentName:"tr",align:"center"},(0,a.kt)("img",{alt:"Pie3D05",src:i(63059).Z,width:"577",height:"490"}))),(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"center"},(0,a.kt)("img",{alt:"Pie3D07",src:i(378).Z,width:"577",height:"490"})),(0,a.kt)("td",{parentName:"tr",align:"center"},(0,a.kt)("img",{alt:"Pie3D08",src:i(81508).Z,width:"577",height:"490"})),(0,a.kt)("td",{parentName:"tr",align:"center"}),(0,a.kt)("td",{parentName:"tr",align:"center"}),(0,a.kt)("td",{parentName:"tr",align:"center"})))),(0,a.kt)("h2",{id:"\u8bb8\u53ef"},"\u8bb8\u53ef"),(0,a.kt)("p",null,"\u6269\u5c55\u56fe\u8868\uff0c\u9700\u4ed8\u8d39\u8d2d\u4e70\u540e\u624d\u83b7\u5f97\u4f7f\u7528\u8bb8\u53ef\u3002"),(0,a.kt)("h2",{id:"\u793a\u4f8b"},"\u793a\u4f8b"),(0,a.kt)("p",null,"Demo\u4ed3\u5e93\uff1a",(0,a.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Pie3DChart-Demo"},"XCharts-Pie3DChart-Demo")),(0,a.kt)("h2",{id:"\u6559\u7a0b"},"\u6559\u7a0b"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Demo"},"\u6269\u5c55\u56fe\u8868\u5982\u4f55\u5bfc\u5165Demo\u9879\u76ee\u6216\u5bfc\u5165\u81ea\u5df1\u9879\u76ee")),(0,a.kt)("h2",{id:"\u6587\u6863"},"\u6587\u6863"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"#api"},"API"),(0,a.kt)("br",{parentName:"p"}),"\n",(0,a.kt)("a",{parentName:"p",href:"#%E9%85%8D%E7%BD%AE%E9%A1%B9%E6%89%8B%E5%86%8C"},"\u914d\u7f6e\u9879\u624b\u518c")," "),(0,a.kt)("h2",{id:"\u65e5\u5fd7"},"\u65e5\u5fd7"),(0,a.kt)("h3",{id:"v3120"},"v3.12.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,a.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,a.kt)("li",{parentName:"ul"},"(2024.09.30) \u66f4\u65b0\u6587\u6863")),(0,a.kt)("h3",{id:"v3110"},"v3.11.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,a.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c")),(0,a.kt)("h3",{id:"v3101"},"v3.10.1"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2024.02.28) \u4fee\u590d",(0,a.kt)("inlineCode",{parentName:"li"},"Pie3D"),"\u5728\u52a8\u753b\u8fc7\u7a0b\u4e2d\u53ef\u80fd\u51fa\u73b0\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898")),(0,a.kt)("h3",{id:"v3100"},"v3.10.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2024.01.16) \u589e\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"XCharts"),"\u4e0a\u7684\u66f4\u591a\u83dc\u5355\u680f\u5feb\u6377\u65b9\u5f0f\uff0c\u4e00\u952e\u521b\u5efa\u591a\u79cd3D\u997c\u56fe"),(0,a.kt)("li",{parentName:"ul"},"(2023.12.17) \u589e\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"Pie3DStyle"),"\u7684",(0,a.kt)("inlineCode",{parentName:"li"},"drawSplitSide"),"\u8bbe\u7f6e\u662f\u5426\u7ed8\u5236\u5206\u5272\u9762"),(0,a.kt)("li",{parentName:"ul"},"(2023.12.16) \u589e\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"Border"),"\u63cf\u8fb9\u652f\u6301"),(0,a.kt)("li",{parentName:"ul"},"(2023.12.15) \u589e\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,a.kt)("inlineCode",{parentName:"li"},"label"),"\u53ef\u6307\u793a\u5728\u8fb9\u7f18\u7684\u652f\u6301"),(0,a.kt)("li",{parentName:"ul"},"(2023.12.10) \u589e\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,a.kt)("inlineCode",{parentName:"li"},"minShowLabel"),"\u53ef\u9690\u85cf\u5c0f\u4e8e\u6307\u5b9a\u503c\u7684",(0,a.kt)("inlineCode",{parentName:"li"},"label"))),(0,a.kt)("h3",{id:"v390"},"v3.9.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2023.12.01) \u53d1\u5e03",(0,a.kt)("inlineCode",{parentName:"li"},"v3.9.0"),"\u7248\u672c"),(0,a.kt)("li",{parentName:"ul"},"(2023.11.30) \u4f18\u5316",(0,a.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u53ea\u6709\u4e00\u4e2a\u65f6\u4e0d\u7ed8\u5236\u4fa7\u8fb9"),(0,a.kt)("li",{parentName:"ul"},"(2023.11.30) \u589e\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u53ef\u5355\u72ec\u6dfb\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"Label"),"\u7684\u652f\u6301")),(0,a.kt)("h3",{id:"v381"},"v3.8.1"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2023.09.14) \u4fee\u590d",(0,a.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684\u6570\u636e\u4e3a\u5168\u4e3a0\u65f6\u56fe\u8868\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898"),(0,a.kt)("li",{parentName:"ul"},"(2023.09.08) \u589e\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684",(0,a.kt)("inlineCode",{parentName:"li"},"radius"),"\u53ef\u81ea\u5b9a\u4e49\u5404\u997c\u5757\u9ad8\u5ea6\u7684\u652f\u6301")),(0,a.kt)("h3",{id:"v380"},"v3.8.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2023.07.31) \u540c\u6b65",(0,a.kt)("inlineCode",{parentName:"li"},"XCharts v3.8.0"))),(0,a.kt)("h3",{id:"v362"},"v3.6.2"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2023.06.08) \u53d1\u5e03",(0,a.kt)("inlineCode",{parentName:"li"},"v3.6.1"),"\u7248\u672c"),(0,a.kt)("li",{parentName:"ul"},"(2023.06.08) \u66f4\u65b0\u6587\u6863")),(0,a.kt)("h3",{id:"v361"},"v3.6.1"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2023.05.21) \u589e\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"avoidLabelOverlap"),"\u652f\u6301")),(0,a.kt)("h3",{id:"v360"},"v3.6.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2023.04.01) \u53d1\u5e03",(0,a.kt)("inlineCode",{parentName:"li"},"v3.6.0"),"\u7248\u672c"),(0,a.kt)("li",{parentName:"ul"},"(2023.03.09) \u652f\u6301",(0,a.kt)("inlineCode",{parentName:"li"},"onSerieClick")," ",(0,a.kt)("inlineCode",{parentName:"li"},"onSerieDown")," ",(0,a.kt)("inlineCode",{parentName:"li"},"onSerieEnter"),"\u548c",(0,a.kt)("inlineCode",{parentName:"li"},"onSerieExit"),"\u56de\u8c03"),(0,a.kt)("li",{parentName:"ul"},"(2023.02.14) \u540c\u6b65",(0,a.kt)("inlineCode",{parentName:"li"},"XCharts v3.6.0"))),(0,a.kt)("h3",{id:"v350"},"v3.5.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2022.12.01) \u53d1\u5e03",(0,a.kt)("inlineCode",{parentName:"li"},"v3.5.0"),"\u7248\u672c"),(0,a.kt)("li",{parentName:"ul"},"(2022.11.27) \u8c03\u6574",(0,a.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u6587\u6863\u7ed3\u6784")),(0,a.kt)("h3",{id:"v340"},"v3.4.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2022.11.01) \u652f\u6301",(0,a.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684",(0,a.kt)("inlineCode",{parentName:"li"},"unscaledTime")),(0,a.kt)("li",{parentName:"ul"},"(2022.11.01) \u540c\u6b65",(0,a.kt)("inlineCode",{parentName:"li"},"XCharts v3.4.0"))),(0,a.kt)("h3",{id:"v330"},"v3.3.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2022.09.02) \u589e\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"onPointerEnterPie"),"\u56de\u8c03\u652f\u6301")),(0,a.kt)("h3",{id:"v320"},"v3.2.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2022.08.22) \u53d1\u5e03",(0,a.kt)("inlineCode",{parentName:"li"},"v3.2.0"),"\u7248\u672c"),(0,a.kt)("li",{parentName:"ul"},"(2022.08.19) \u540c\u6b65",(0,a.kt)("inlineCode",{parentName:"li"},"XCharts v3.2.0"))),(0,a.kt)("h2",{id:"api"},"API"),(0,a.kt)("h3",{id:"pie3d"},"Pie3D"),(0,a.kt)("p",null,"class in XCharts.Runtime.Pie3Ds / \u7ee7\u627f\u81ea: ",(0,a.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#serie"},"Serie")),(0,a.kt)("p",null,"3D\u997c\u56fe\u7cfb\u5217\u3002"),(0,a.kt)("h4",{id:"pie3ddefaultcolorby"},"Pie3D.defaultColorBy"),(0,a.kt)("p",null,"public override SerieColorBy defaultColorBy "),(0,a.kt)("h4",{id:"pie3dadddefaultserie"},"Pie3D.AddDefaultSerie"),(0,a.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,a.kt)("h4",{id:"pie3dconvertserie"},"Pie3D.ConvertSerie"),(0,a.kt)("p",null,"public static Pie3D ConvertSerie(Serie serie) "),(0,a.kt)("h3",{id:"pie3dchart"},"Pie3DChart"),(0,a.kt)("p",null,"class in XCharts.Runtime.Pie3Ds / \u7ee7\u627f\u81ea: ",(0,a.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#basechart"},"BaseChart")),(0,a.kt)("p",null,"3D\u997c\u56fe\u3002"),(0,a.kt)("h4",{id:"pie3dchartdefaultautoheightpie3dchart"},"Pie3DChart.DefaultAutoHeightPie3DChart"),(0,a.kt)("p",null,"public void DefaultAutoHeightPie3DChart()",(0,a.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba43D\u81ea\u52a8\u9ad8\u5ea6\u997c\u56fe\u3002"),(0,a.kt)("h4",{id:"pie3dchartdefaultdonutpie3dchart"},"Pie3DChart.DefaultDonutPie3DChart"),(0,a.kt)("p",null,"public void DefaultDonutPie3DChart()",(0,a.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba43D\u751c\u751c\u5708\u997c\u56fe\u3002"),(0,a.kt)("h4",{id:"pie3dchartdefaultellipsepie3dchart"},"Pie3DChart.DefaultEllipsePie3DChart"),(0,a.kt)("p",null,"public void DefaultEllipsePie3DChart()",(0,a.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba42D\u692d\u5706\u997c\u56fe\u3002"),(0,a.kt)("h3",{id:"pie3dslice"},"Pie3DSlice"),(0,a.kt)("p",null,"class in XCharts.Runtime.Pie3Ds"),(0,a.kt)("p",null,"3D\u997c\u56fe\u7684\u5207\u5757\u3002"),(0,a.kt)("h4",{id:"pie3dslicecontains"},"Pie3DSlice.Contains"),(0,a.kt)("p",null,"public bool Contains(float angle) "),(0,a.kt)("h4",{id:"pie3dsliceisinpolygon"},"Pie3DSlice.IsInPolygon"),(0,a.kt)("p",null,"public bool IsInPolygon(Vector2 p) "),(0,a.kt)("h4",{id:"pie3dsliceisinsidepolygon"},"Pie3DSlice.IsInSidePolygon"),(0,a.kt)("p",null,"public bool IsInSidePolygon(Vector2 p) "),(0,a.kt)("h4",{id:"pie3dsliceisinstartorendside"},"Pie3DSlice.IsInStartOrEndSide"),(0,a.kt)("p",null,"public bool IsInStartOrEndSide(Vector2 p) "),(0,a.kt)("h4",{id:"pie3dsliceisintoppolygon"},"Pie3DSlice.IsInTopPolygon"),(0,a.kt)("p",null,"public bool IsInTopPolygon(Vector2 p) "),(0,a.kt)("h4",{id:"pie3dslicepie3dslice"},"Pie3DSlice.Pie3DSlice"),(0,a.kt)("p",null,"public Pie3DSlice() "),(0,a.kt)("h4",{id:"pie3dsliceupdatevalue"},"Pie3DSlice.UpdateValue"),(0,a.kt)("p",null,"public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig) "),(0,a.kt)("h3",{id:"pie3dstyle"},"Pie3DStyle"),(0,a.kt)("p",null,"class in XCharts.Runtime.Pie3Ds / \u7ee7\u627f\u81ea: ",(0,a.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#childcomponent"},"ChildComponent")),(0,a.kt)("p",null,"3D\u997c\u56fe\u6837\u5f0f\u3002"),(0,a.kt)("h4",{id:"pie3dstyledrawsplitside"},"Pie3DStyle.drawSplitSide"),(0,a.kt)("p",null,"public bool drawSplitSide",(0,a.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u7ed8\u5236\u5206\u5272\u9762\u3002\u5f53pieAutoHeight\u4e3atrue\u65f6\uff0c\u8be5\u503c\u65e0\u6548\u3002"),(0,a.kt)("h4",{id:"pie3dstyleellipseminoraxis"},"Pie3DStyle.ellipseMinorAxis"),(0,a.kt)("p",null,"public float ellipseMinorAxis",(0,a.kt)("br",{parentName:"p"}),"\n","\u692d\u5706\u7684\u77ed\u8f74\u957f\u5ea6\u3002\u5f53\u4e3a0-1\u7684\u6d6e\u70b9\u6570\u65f6\u4e3a\u957f\u8f74\u7684\u767e\u5206\u6bd4\u3002"),(0,a.kt)("h4",{id:"pie3dstyleendsidecolorrate"},"Pie3DStyle.endSideColorRate"),(0,a.kt)("p",null,"public float endSideColorRate",(0,a.kt)("br",{parentName:"p"}),"\n","\u997c\u56fe\u5207\u5757\u7684\u7ed3\u675f\u9762\u989c\u8272\uff08\u987a\u65f6\u9488\uff09\u3002"),(0,a.kt)("h4",{id:"pie3dstyleperipherysidecolorrate"},"Pie3DStyle.peripherySideColorRate"),(0,a.kt)("p",null,"public float peripherySideColorRate",(0,a.kt)("br",{parentName:"p"}),"\n","\u997c\u56fe\u5207\u5757\u7684\u4fa7\u9762\u989c\u8272\u3002"),(0,a.kt)("h4",{id:"pie3dstylepieautoheight"},"Pie3DStyle.pieAutoHeight"),(0,a.kt)("p",null,"public bool pieAutoHeight",(0,a.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u81ea\u52a8\u6839\u636e\u6bd4\u4f8b\u8ba1\u7b97\u539a\u5ea6\u3002"),(0,a.kt)("h4",{id:"pie3dstylepiemaxheight"},"Pie3DStyle.pieMaxHeight"),(0,a.kt)("p",null,"public float pieMaxHeight",(0,a.kt)("br",{parentName:"p"}),"\n","\u997c\u56fe\u539a\u5ea6\u3002"),(0,a.kt)("h4",{id:"pie3dstyleselectedoffset"},"Pie3DStyle.selectedOffset"),(0,a.kt)("p",null,"public Vector2 selectedOffset",(0,a.kt)("br",{parentName:"p"}),"\n","\u88ab\u9009\u4e2d\u72b6\u6001\u7684\u997c\u56fe\u5757\u7684\u989d\u5916\u504f\u79fb\u3002"),(0,a.kt)("h4",{id:"pie3dstylestartsidecolorrate"},"Pie3DStyle.startSideColorRate"),(0,a.kt)("p",null,"public float startSideColorRate",(0,a.kt)("br",{parentName:"p"}),"\n","\u997c\u56fe\u5207\u5757\u7684\u8d77\u59cb\u9762\u989c\u8272\uff08\u987a\u65f6\u9488\uff09\u3002"),(0,a.kt)("h2",{id:"\u914d\u7f6e\u9879\u624b\u518c"},"\u914d\u7f6e\u9879\u624b\u518c"),(0,a.kt)("h3",{id:"pie3d-1"},"Pie3D"),(0,a.kt)("p",null,"class in XCharts.Runtime.Pie3Ds / \u7ee7\u627f\u81ea: ",(0,a.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie"},"Serie")),(0,a.kt)("p",null,"3D\u997c\u56fe\u7cfb\u5217\u3002"),(0,a.kt)("h4",{id:"pie3dpie3dstyle"},"Pie3D.pie3DStyle"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"#pie3dstyle"},"Pie3DStyle")),(0,a.kt)("h3",{id:"pie3dstyle-1"},"Pie3DStyle"),(0,a.kt)("p",null,"class in XCharts.Runtime.Pie3Ds / \u7ee7\u627f\u81ea: ",(0,a.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#childcomponent"},"ChildComponent")),(0,a.kt)("p",null,"3D\u997c\u56fe\u6837\u5f0f\u3002"),(0,a.kt)("h4",{id:"pie3dstyledrawsplitside-1"},"Pie3DStyle.drawSplitSide"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,a.kt)("inlineCode",{parentName:"p"},"true")," ",(0,a.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,a.kt)("p",null,"\u662f\u5426\u7ed8\u5236\u5206\u5272\u9762\u3002\u5f53pieAutoHeight\u4e3atrue\u65f6\uff0c\u8be5\u503c\u65e0\u6548\u3002"),(0,a.kt)("h4",{id:"pie3dstyleellipseminoraxis-1"},"Pie3DStyle.ellipseMinorAxis"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"float")," ",(0,a.kt)("inlineCode",{parentName:"p"},"0.65f")),(0,a.kt)("p",null,"\u692d\u5706\u7684\u77ed\u8f74\u957f\u5ea6\u3002\u5f53\u4e3a0-1\u7684\u6d6e\u70b9\u6570\u65f6\u4e3a\u957f\u8f74\u7684\u767e\u5206\u6bd4\u3002"),(0,a.kt)("h4",{id:"pie3dstyleendsidecolorrate-1"},"Pie3DStyle.endSideColorRate"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"float")," ",(0,a.kt)("inlineCode",{parentName:"p"},"0.65f")),(0,a.kt)("p",null,"\u997c\u56fe\u5207\u5757\u7684\u7ed3\u675f\u9762\u989c\u8272\uff08\u987a\u65f6\u9488\uff09\u3002"),(0,a.kt)("h4",{id:"pie3dstyleperipherysidecolorrate-1"},"Pie3DStyle.peripherySideColorRate"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"float")," ",(0,a.kt)("inlineCode",{parentName:"p"},"0.8f")),(0,a.kt)("p",null,"\u997c\u56fe\u5207\u5757\u7684\u4fa7\u9762\u989c\u8272\u3002"),(0,a.kt)("h4",{id:"pie3dstylepieautoheight-1"},"Pie3DStyle.pieAutoHeight"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,a.kt)("inlineCode",{parentName:"p"},"false")),(0,a.kt)("p",null,"\u662f\u5426\u81ea\u52a8\u6839\u636e\u6bd4\u4f8b\u8ba1\u7b97\u539a\u5ea6\u3002"),(0,a.kt)("h4",{id:"pie3dstylepiemaxheight-1"},"Pie3DStyle.pieMaxHeight"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"float")," ",(0,a.kt)("inlineCode",{parentName:"p"},"20f")),(0,a.kt)("p",null,"\u997c\u56fe\u539a\u5ea6\u3002"),(0,a.kt)("h4",{id:"pie3dstyleselectedoffset-1"},"Pie3DStyle.selectedOffset"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"Vector2")," ",(0,a.kt)("inlineCode",{parentName:"p"},"Vector2(0.1f, 0.5f)")),(0,a.kt)("p",null,"\u88ab\u9009\u4e2d\u72b6\u6001\u7684\u997c\u56fe\u5757\u7684\u989d\u5916\u504f\u79fb\u3002"),(0,a.kt)("h4",{id:"pie3dstyleshow"},"Pie3DStyle.show"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,a.kt)("inlineCode",{parentName:"p"},"true")),(0,a.kt)("h4",{id:"pie3dstylestartsidecolorrate-1"},"Pie3DStyle.startSideColorRate"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"float")," ",(0,a.kt)("inlineCode",{parentName:"p"},"0.7f")),(0,a.kt)("p",null,"\u997c\u56fe\u5207\u5757\u7684\u8d77\u59cb\u9762\u989c\u8272\uff08\u987a\u65f6\u9488\uff09\u3002"))}s.isMDXComponent=!0},84597:function(e,t,i){i.d(t,{Z:function(){return p}});var l=i(67294),n=i(76775),a="apiTable_e8hp";function r(e,t){var i=e.name,a=e.children,r=function(e){for(var t=e;(0,l.isValidElement)(t);)t=l.Children.toArray(t.props.children)[0];return t}(a),d=i?i+"-"+r:r,p="#"+d,o=(0,n.k6)();return l.createElement("tr",{id:d,tabIndex:0,ref:o.location.hash===p?t:void 0,onClick:function(e){"A"===e.target.tagName.toUpperCase()||o.push(p)},onKeyDown:function(e){"Enter"===e.key&&o.push(p)}},a.props.children)}var d=l.forwardRef(r);function p(e){var t=e.children,i=e.name,n=l.Children.toArray(t.props.children),r=n[0],p=n[1],o=(0,l.useRef)(null);(0,l.useEffect)((function(){var e;null==(e=o.current)||e.focus()}),[o]);var u=l.Children.map(p.props.children,(function(e){return l.createElement(d,{name:i,ref:o},e)}));return l.createElement("table",{className:a},r,l.createElement("tbody",null,u))}},92994:function(e,t,i){t.Z=i.p+"assets/images/Pie3D01-5eaca592332f5400619169df40fa032a.png"},13723:function(e,t,i){t.Z=i.p+"assets/images/Pie3D02-bae60515aacbe022885a5c7bf4681051.png"},19136:function(e,t,i){t.Z=i.p+"assets/images/Pie3D03-a12c0bd59eebbb0d83c986ce014c01ad.png"},51739:function(e,t,i){t.Z=i.p+"assets/images/Pie3D04-8a686d18335c1783ac4a0da75ddb2778.png"},63059:function(e,t,i){t.Z=i.p+"assets/images/Pie3D05-9c8368bbb7437511cda87c8a4662486e.png"},378:function(e,t,i){t.Z=i.p+"assets/images/Pie3D07-c3704839fb36e1d69f9476f6c5d59fcf.png"},81508:function(e,t,i){t.Z=i.p+"assets/images/Pie3D08-c6006215b8a66af6ddae45fc869429c9.png"}}]); \ No newline at end of file diff --git a/assets/js/b5447c11.5ad098ff.js b/assets/js/b5447c11.5ad098ff.js new file mode 100644 index 00000000..80324c3b --- /dev/null +++ b/assets/js/b5447c11.5ad098ff.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7529],{3905:function(t,e,a){a.d(e,{Zo:function(){return o},kt:function(){return c}});var n=a(67294);function l(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function i(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function r(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?i(Object(a),!0).forEach((function(e){l(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function d(t,e){if(null==t)return{};var a,n,l=function(t,e){if(null==t)return{};var a,n,l={},i=Object.keys(t);for(n=0;n<i.length;n++)a=i[n],e.indexOf(a)>=0||(l[a]=t[a]);return l}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)a=i[n],e.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(t,a)&&(l[a]=t[a])}return l}var u=n.createContext({}),p=function(t){var e=n.useContext(u),a=e;return t&&(a="function"==typeof t?t(e):r(r({},e),t)),a},o=function(t){var e=p(t.components);return n.createElement(u.Provider,{value:e},t.children)},h={inlineCode:"code",wrapper:function(t){var e=t.children;return n.createElement(n.Fragment,{},e)}},g=n.forwardRef((function(t,e){var a=t.components,l=t.mdxType,i=t.originalType,u=t.parentName,o=d(t,["components","mdxType","originalType","parentName"]),g=p(a),c=l,s=g["".concat(u,".").concat(c)]||g[c]||h[c]||i;return a?n.createElement(s,r(r({ref:e},o),{},{components:a})):n.createElement(s,r({ref:e},o))}));function c(t,e){var a=arguments,l=e&&e.mdxType;if("string"==typeof t||l){var i=a.length,r=new Array(i);r[0]=g;var d={};for(var u in e)hasOwnProperty.call(e,u)&&(d[u]=e[u]);d.originalType=t,d.mdxType="string"==typeof t?t:l,r[1]=d;for(var p=2;p<i;p++)r[p]=a[p];return n.createElement.apply(null,r)}return n.createElement.apply(null,a)}g.displayName="MDXCreateElement"},80675:function(t,e,a){a.r(e),a.d(e,{frontMatter:function(){return d},contentTitle:function(){return u},metadata:function(){return p},toc:function(){return o},default:function(){return g}});var n=a(83117),l=a(80102),i=(a(67294),a(3905)),r=(a(84597),["components"]),d={sidebar_position:0,slug:"/gantt"},u="GanttChart \u7518\u7279\u56fe",p={unversionedId:"lang/articles/extra/gantt",id:"version-v3.12.0/lang/articles/extra/gantt",title:"GanttChart \u7518\u7279\u56fe",description:"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u7518\u7279\u56fe\u3002",source:"@site/versioned_docs/version-v3.12.0/lang/articles/extra/gantt.md",sourceDirName:"lang/articles/extra",slug:"/gantt",permalink:"/docs/gantt",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/extra/gantt.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"2024/10/1",sidebarPosition:0,frontMatter:{sidebar_position:0,slug:"/gantt"},sidebar:"langSidebar",previous:{title:"FunnelChart \u6f0f\u6597\u56fe",permalink:"/docs/funnel"},next:{title:"GaugeChart \u4eea\u8868\u76d8",permalink:"/docs/gauge"}},o=[{value:"\u622a\u56fe",id:"\u622a\u56fe",children:[],level:2},{value:"\u8bb8\u53ef",id:"\u8bb8\u53ef",children:[],level:2},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",children:[],level:2},{value:"\u6559\u7a0b",id:"\u6559\u7a0b",children:[],level:2},{value:"\u6587\u6863",id:"\u6587\u6863",children:[],level:2},{value:"\u65e5\u5fd7",id:"\u65e5\u5fd7",children:[{value:"v3.12.0",id:"v3120",children:[],level:3},{value:"v3.11.0",id:"v3110",children:[],level:3},{value:"v3.10.0",id:"v3100",children:[],level:3},{value:"v3.9.0",id:"v390",children:[],level:3},{value:"v3.8.0",id:"v380",children:[],level:3},{value:"v3.6.1",id:"v361",children:[],level:3},{value:"v3.6.0",id:"v360",children:[],level:3},{value:"v3.5.0",id:"v350",children:[],level:3},{value:"v3.2.0",id:"v320",children:[],level:3}],level:2},{value:"API",id:"api",children:[{value:"Gantt",id:"gantt",children:[{value:"Gantt.AddDefaultCategorySerie",id:"ganttadddefaultcategoryserie",children:[],level:4},{value:"Gantt.AddDefaultSerie",id:"ganttadddefaultserie",children:[],level:4},{value:"Gantt.AddDefaultValueSerie",id:"ganttadddefaultvalueserie",children:[],level:4}],level:3},{value:"GanttChart",id:"ganttchart",children:[{value:"GanttChart.aliginingValue",id:"ganttchartaliginingvalue",children:[],level:4},{value:"GanttChart.runtimeBeginDrag",id:"ganttchartruntimebegindrag",children:[],level:4},{value:"GanttChart.runtimeDragLeft",id:"ganttchartruntimedragleft",children:[],level:4},{value:"GanttChart.runtimeDragSerie",id:"ganttchartruntimedragserie",children:[],level:4},{value:"GanttChart.runtimeDragSerieData",id:"ganttchartruntimedragseriedata",children:[],level:4},{value:"GanttChart.runtimeIsAlgining",id:"ganttchartruntimeisalgining",children:[],level:4},{value:"GanttChart.runtimeIsDragSerie",id:"ganttchartruntimeisdragserie",children:[],level:4},{value:"GanttChart.DefaultCategoryAxisGanttChart",id:"ganttchartdefaultcategoryaxisganttchart",children:[],level:4},{value:"GanttChart.DefaultMonomialGroupGanttChart",id:"ganttchartdefaultmonomialgroupganttchart",children:[],level:4},{value:"GanttChart.DefaultMultinomialGroupGanttChart",id:"ganttchartdefaultmultinomialgroupganttchart",children:[],level:4},{value:"GanttChart.DefaultValueAxisGanttChart",id:"ganttchartdefaultvalueaxisganttchart",children:[],level:4},{value:"GanttChart.GetSeriesMinMaxValue",id:"ganttchartgetseriesminmaxvalue",children:[],level:4},{value:"GanttChart.InitAxisRuntimeData",id:"ganttchartinitaxisruntimedata",children:[],level:4},{value:"GanttChart.OnBeginDrag",id:"ganttchartonbegindrag",children:[],level:4},{value:"GanttChart.OnDrag",id:"ganttchartondrag",children:[],level:4},{value:"GanttChart.OnEndDrag",id:"ganttchartonenddrag",children:[],level:4},{value:"GanttChart.OnPointerClick",id:"ganttchartonpointerclick",children:[],level:4}],level:3},{value:"GanttStyle",id:"ganttstyle",children:[],level:3},{value:"GanttType",id:"gantttype",children:[],level:3}],level:2},{value:"\u914d\u7f6e\u9879\u624b\u518c",id:"\u914d\u7f6e\u9879\u624b\u518c",children:[{value:"Gantt",id:"gantt-1",children:[{value:"Gantt.disableDrag",id:"ganttdisabledrag",children:[],level:4}],level:3},{value:"GanttStyle",id:"ganttstyle-1",children:[{value:"GanttStyle.aliginLine",id:"ganttstylealiginline",children:[],level:4},{value:"GanttStyle.alignlineDataIndex",id:"ganttstylealignlinedataindex",children:[],level:4},{value:"GanttStyle.autoAdsorbAlignline",id:"ganttstyleautoadsorbalignline",children:[],level:4},{value:"GanttStyle.dragEnable",id:"ganttstyledragenable",children:[],level:4},{value:"GanttStyle.dragRangeMax",id:"ganttstyledragrangemax",children:[],level:4},{value:"GanttStyle.dragRangeMin",id:"ganttstyledragrangemin",children:[],level:4},{value:"GanttStyle.dragSensitivity",id:"ganttstyledragsensitivity",children:[],level:4},{value:"GanttStyle.ganttType",id:"ganttstylegantttype",children:[],level:4},{value:"GanttStyle.invert",id:"ganttstyleinvert",children:[],level:4},{value:"GanttStyle.show",id:"ganttstyleshow",children:[],level:4},{value:"GanttStyle.showAlignlineRange",id:"ganttstyleshowalignlinerange",children:[],level:4},{value:"GanttStyle.splitArea",id:"ganttstylesplitarea",children:[],level:4}],level:3}],level:2}],h={toc:o};function g(t){var e=t.components,d=(0,l.Z)(t,r);return(0,i.kt)("wrapper",(0,n.Z)({},h,d,{components:e,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"ganttchart-\u7518\u7279\u56fe"},"GanttChart \u7518\u7279\u56fe"),(0,i.kt)("p",null,"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u7518\u7279\u56fe\u3002"),(0,i.kt)("h2",{id:"\u622a\u56fe"},"\u622a\u56fe"),(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:"center"}),(0,i.kt)("th",{parentName:"tr",align:"center"}),(0,i.kt)("th",{parentName:"tr",align:"center"}),(0,i.kt)("th",{parentName:"tr",align:"center"}),(0,i.kt)("th",{parentName:"tr",align:"center"}))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:"center"},(0,i.kt)("img",{alt:"Gantt01",src:a(31436).Z,width:"577",height:"490"})),(0,i.kt)("td",{parentName:"tr",align:"center"},(0,i.kt)("img",{alt:"Gantt02",src:a(41931).Z,width:"577",height:"490"})),(0,i.kt)("td",{parentName:"tr",align:"center"},(0,i.kt)("img",{alt:"Gantt03",src:a(70248).Z,width:"577",height:"490"})),(0,i.kt)("td",{parentName:"tr",align:"center"},(0,i.kt)("img",{alt:"Gantt04",src:a(42230).Z,width:"577",height:"490"})),(0,i.kt)("td",{parentName:"tr",align:"center"},(0,i.kt)("img",{alt:"Gantt05",src:a(27243).Z,width:"577",height:"490"}))),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:"center"},(0,i.kt)("img",{alt:"Gantt07",src:a(38353).Z,width:"577",height:"490"})),(0,i.kt)("td",{parentName:"tr",align:"center"}),(0,i.kt)("td",{parentName:"tr",align:"center"}),(0,i.kt)("td",{parentName:"tr",align:"center"}),(0,i.kt)("td",{parentName:"tr",align:"center"})))),(0,i.kt)("h2",{id:"\u8bb8\u53ef"},"\u8bb8\u53ef"),(0,i.kt)("p",null,"\u6269\u5c55\u56fe\u8868\uff0c\u9700\u4ed8\u8d39\u8d2d\u4e70\u540e\u624d\u83b7\u5f97\u4f7f\u7528\u8bb8\u53ef\u3002"),(0,i.kt)("h2",{id:"\u793a\u4f8b"},"\u793a\u4f8b"),(0,i.kt)("p",null,"Demo\u4ed3\u5e93\uff1a",(0,i.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-GanttChart-Demo"},"XCharts-GanttChart-Demo")),(0,i.kt)("h2",{id:"\u6559\u7a0b"},"\u6559\u7a0b"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Demo"},"\u6269\u5c55\u56fe\u8868\u5982\u4f55\u5bfc\u5165Demo\u9879\u76ee\u6216\u5bfc\u5165\u81ea\u5df1\u9879\u76ee")),(0,i.kt)("h2",{id:"\u6587\u6863"},"\u6587\u6863"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"#api"},"API"),(0,i.kt)("br",{parentName:"p"}),"\n",(0,i.kt)("a",{parentName:"p",href:"#%E9%85%8D%E7%BD%AE%E9%A1%B9%E6%89%8B%E5%86%8C"},"\u914d\u7f6e\u9879\u624b\u518c")," "),(0,i.kt)("h2",{id:"\u65e5\u5fd7"},"\u65e5\u5fd7"),(0,i.kt)("h3",{id:"v3120"},"v3.12.0"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,i.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,i.kt)("li",{parentName:"ul"},"(2024.09.30) \u66f4\u65b0\u6587\u6863")),(0,i.kt)("h3",{id:"v3110"},"v3.11.0"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,i.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c")),(0,i.kt)("h3",{id:"v3100"},"v3.10.0"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"(2024.01.21) \u589e\u52a0",(0,i.kt)("inlineCode",{parentName:"li"},"Gantt"),"\u7684\u66f4\u591a\u521b\u5efa\u9ed8\u8ba4\u56fe\u8868\u7684\u5feb\u6377\u65b9\u5f0f\u548cAPI")),(0,i.kt)("h3",{id:"v390"},"v3.9.0"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"(2023.12.01) \u53d1\u5e03",(0,i.kt)("inlineCode",{parentName:"li"},"v3.9.0"),"\u7248\u672c"),(0,i.kt)("li",{parentName:"ul"},"(2023.12.01) \u66f4\u65b0\u6587\u6863")),(0,i.kt)("h3",{id:"v380"},"v3.8.0"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"(2023.08.11) \u589e\u52a0\u9f20\u6807\u4e8b\u4ef6\u652f\u6301")),(0,i.kt)("h3",{id:"v361"},"v3.6.1"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"(2023.06.08) \u53d1\u5e03",(0,i.kt)("inlineCode",{parentName:"li"},"v3.6.1"),"\u7248\u672c"),(0,i.kt)("li",{parentName:"ul"},"(2023.06.08) \u66f4\u65b0\u6587\u6863")),(0,i.kt)("h3",{id:"v360"},"v3.6.0"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"(2023.04.01) \u53d1\u5e03",(0,i.kt)("inlineCode",{parentName:"li"},"v3.6.0"),"\u7248\u672c"),(0,i.kt)("li",{parentName:"ul"},"(2023.02.14) \u540c\u6b65",(0,i.kt)("inlineCode",{parentName:"li"},"XCharts v3.6.0"))),(0,i.kt)("h3",{id:"v350"},"v3.5.0"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"(2022.12.01) \u53d1\u5e03",(0,i.kt)("inlineCode",{parentName:"li"},"v3.5.0"),"\u7248\u672c"),(0,i.kt)("li",{parentName:"ul"},"(2022.11.27) \u8c03\u6574",(0,i.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u6587\u6863\u7ed3\u6784")),(0,i.kt)("h3",{id:"v320"},"v3.2.0"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"(2022.08.22) \u53d1\u5e03",(0,i.kt)("inlineCode",{parentName:"li"},"v3.2.0"),"\u7248\u672c"),(0,i.kt)("li",{parentName:"ul"},"(2022.08.19) \u540c\u6b65",(0,i.kt)("inlineCode",{parentName:"li"},"XCharts v3.2.0"))),(0,i.kt)("h2",{id:"api"},"API"),(0,i.kt)("h3",{id:"gantt"},"Gantt"),(0,i.kt)("p",null,"class in XCharts.Runtime.Gantts / \u7ee7\u627f\u81ea: ",(0,i.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#serie"},"Serie")),(0,i.kt)("h4",{id:"ganttadddefaultcategoryserie"},"Gantt.AddDefaultCategorySerie"),(0,i.kt)("p",null,"public static void AddDefaultCategorySerie(BaseChart chart, string serieName) "),(0,i.kt)("h4",{id:"ganttadddefaultserie"},"Gantt.AddDefaultSerie"),(0,i.kt)("p",null,"public static void AddDefaultSerie(BaseChart chart, string serieName) "),(0,i.kt)("h4",{id:"ganttadddefaultvalueserie"},"Gantt.AddDefaultValueSerie"),(0,i.kt)("p",null,"public static void AddDefaultValueSerie(BaseChart chart, string serieName) "),(0,i.kt)("h3",{id:"ganttchart"},"GanttChart"),(0,i.kt)("p",null,"class in XCharts.Runtime.Gantts / \u7ee7\u627f\u81ea: ",(0,i.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#basechart"},"BaseChart")),(0,i.kt)("h4",{id:"ganttchartaliginingvalue"},"GanttChart.aliginingValue"),(0,i.kt)("p",null,"public double aliginingValue "),(0,i.kt)("h4",{id:"ganttchartruntimebegindrag"},"GanttChart.runtimeBeginDrag"),(0,i.kt)("p",null,"public bool runtimeBeginDrag "),(0,i.kt)("h4",{id:"ganttchartruntimedragleft"},"GanttChart.runtimeDragLeft"),(0,i.kt)("p",null,"public bool runtimeDragLeft "),(0,i.kt)("h4",{id:"ganttchartruntimedragserie"},"GanttChart.runtimeDragSerie"),(0,i.kt)("p",null,"public Serie runtimeDragSerie "),(0,i.kt)("h4",{id:"ganttchartruntimedragseriedata"},"GanttChart.runtimeDragSerieData"),(0,i.kt)("p",null,"public SerieData runtimeDragSerieData "),(0,i.kt)("h4",{id:"ganttchartruntimeisalgining"},"GanttChart.runtimeIsAlgining"),(0,i.kt)("p",null,"public bool runtimeIsAlgining "),(0,i.kt)("h4",{id:"ganttchartruntimeisdragserie"},"GanttChart.runtimeIsDragSerie"),(0,i.kt)("p",null,"public bool runtimeIsDragSerie "),(0,i.kt)("h4",{id:"ganttchartdefaultcategoryaxisganttchart"},"GanttChart.DefaultCategoryAxisGanttChart"),(0,i.kt)("p",null,"public void DefaultCategoryAxisGanttChart()",(0,i.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba4\u7684\u7c7b\u76ee\u8f74\u7518\u7279\u56fe\u3002"),(0,i.kt)("h4",{id:"ganttchartdefaultmonomialgroupganttchart"},"GanttChart.DefaultMonomialGroupGanttChart"),(0,i.kt)("p",null,"public void DefaultMonomialGroupGanttChart()",(0,i.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba4\u7684\u5355\u7ef4\u5ea6\u5206\u7ec4\u7518\u7279\u56fe\u3002"),(0,i.kt)("h4",{id:"ganttchartdefaultmultinomialgroupganttchart"},"GanttChart.DefaultMultinomialGroupGanttChart"),(0,i.kt)("p",null,"public void DefaultMultinomialGroupGanttChart()",(0,i.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba4\u7684\u591a\u7ef4\u5ea6\u5206\u7ec4\u7518\u7279\u56fe\u3002"),(0,i.kt)("h4",{id:"ganttchartdefaultvalueaxisganttchart"},"GanttChart.DefaultValueAxisGanttChart"),(0,i.kt)("p",null,"public void DefaultValueAxisGanttChart()",(0,i.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba4\u7684\u6570\u503c\u8f74\u7518\u7279\u56fe\u3002"),(0,i.kt)("h4",{id:"ganttchartgetseriesminmaxvalue"},"GanttChart.GetSeriesMinMaxValue"),(0,i.kt)("p",null,"public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue) "),(0,i.kt)("h4",{id:"ganttchartinitaxisruntimedata"},"GanttChart.InitAxisRuntimeData"),(0,i.kt)("p",null,"public override void InitAxisRuntimeData(Axis axis) "),(0,i.kt)("h4",{id:"ganttchartonbegindrag"},"GanttChart.OnBeginDrag"),(0,i.kt)("p",null,"public override void OnBeginDrag(PointerEventData eventData) "),(0,i.kt)("h4",{id:"ganttchartondrag"},"GanttChart.OnDrag"),(0,i.kt)("p",null,"public override void OnDrag(PointerEventData eventData) "),(0,i.kt)("h4",{id:"ganttchartonenddrag"},"GanttChart.OnEndDrag"),(0,i.kt)("p",null,"public override void OnEndDrag(PointerEventData eventData) "),(0,i.kt)("h4",{id:"ganttchartonpointerclick"},"GanttChart.OnPointerClick"),(0,i.kt)("p",null,"public override void OnPointerClick(PointerEventData eventData) "),(0,i.kt)("h3",{id:"ganttstyle"},"GanttStyle"),(0,i.kt)("p",null,"class in XCharts.Runtime.Gantts / \u7ee7\u627f\u81ea: ",(0,i.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#maincomponent"},"MainComponent")),(0,i.kt)("h3",{id:"gantttype"},"GanttType"),(0,i.kt)("p",null,"class in XCharts.Runtime.Gantts"),(0,i.kt)("p",null,"\u53ef\u9009\uff1a"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"Monomial"),": \u5355\u9879\u7518\u7279\u56fe\u3002\u6bcf\u4e2a\u6570\u636e\u9879\u90fd\u662f\u5355\u72ec\u7684\u4e00\u6761\u8fdb\u5ea6\u3002"),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"Multinomial"),": \u591a\u9879\u7518\u7279\u56fe\u3002\u6bcf\u4e2a\u6570\u636e\u9879\u53ea\u662f\u4e00\u6761\u8fdb\u5ea6\u91cc\u7684\u4e00\u6bb5\u3002")),(0,i.kt)("h2",{id:"\u914d\u7f6e\u9879\u624b\u518c"},"\u914d\u7f6e\u9879\u624b\u518c"),(0,i.kt)("h3",{id:"gantt-1"},"Gantt"),(0,i.kt)("p",null,"class in XCharts.Runtime.Gantts / \u7ee7\u627f\u81ea: ",(0,i.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie"},"Serie")),(0,i.kt)("h4",{id:"ganttdisabledrag"},"Gantt.disableDrag"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"bool")),(0,i.kt)("h3",{id:"ganttstyle-1"},"GanttStyle"),(0,i.kt)("p",null,"class in XCharts.Runtime.Gantts / \u7ee7\u627f\u81ea: ",(0,i.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#maincomponent"},"MainComponent")),(0,i.kt)("h4",{id:"ganttstylealiginline"},"GanttStyle.aliginLine"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"LineStyle")),(0,i.kt)("p",null,"\u5bf9\u9f50\u7ebf\u6837\u5f0f\u3002"),(0,i.kt)("h4",{id:"ganttstylealignlinedataindex"},"GanttStyle.alignlineDataIndex"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"int")," ",(0,i.kt)("inlineCode",{parentName:"p"},"1")),(0,i.kt)("p",null,"\u663e\u793a\u5bf9\u9f50\u7ebf\u7684\u6570\u636e\u9879\u7d22\u5f15\u3002"),(0,i.kt)("h4",{id:"ganttstyleautoadsorbalignline"},"GanttStyle.autoAdsorbAlignline"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,i.kt)("inlineCode",{parentName:"p"},"true")),(0,i.kt)("p",null,"\u62d6\u62fd\u7ed3\u675f\u540e\u662f\u5426\u81ea\u52a8\u5438\u9644\u5230\u5bf9\u9f50\u7ebf\u3002"),(0,i.kt)("h4",{id:"ganttstyledragenable"},"GanttStyle.dragEnable"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,i.kt)("inlineCode",{parentName:"p"},"true")),(0,i.kt)("p",null,"\u662f\u5426\u53ef\u4ee5\u62d6\u62fd\u7518\u7279\u56fe\u3002"),(0,i.kt)("h4",{id:"ganttstyledragrangemax"},"GanttStyle.dragRangeMax"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"double")," ",(0,i.kt)("inlineCode",{parentName:"p"},"0")),(0,i.kt)("p",null,"\u62d6\u62fd\u6700\u5927\u503c\u9650\u5236\u3002"),(0,i.kt)("h4",{id:"ganttstyledragrangemin"},"GanttStyle.dragRangeMin"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"double")," ",(0,i.kt)("inlineCode",{parentName:"p"},"0")),(0,i.kt)("p",null,"\u62d6\u62fd\u6700\u5c0f\u503c\u9650\u5236\u3002"),(0,i.kt)("h4",{id:"ganttstyledragsensitivity"},"GanttStyle.dragSensitivity"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"float")," ",(0,i.kt)("inlineCode",{parentName:"p"},"1f")),(0,i.kt)("p",null,"\u62d6\u62fd\u7684\u7075\u654f\u5ea6\u3002"),(0,i.kt)("h4",{id:"ganttstylegantttype"},"GanttStyle.ganttType"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"#gantttype"},"GanttType")),(0,i.kt)("p",null,"\u7518\u7279\u56fe\u7c7b\u578b\u3002"),(0,i.kt)("p",null,"\u53ef\u9009\uff1a"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"Monomial"),": \u5355\u9879\u7518\u7279\u56fe\u3002\u6bcf\u4e2a\u6570\u636e\u9879\u90fd\u662f\u5355\u72ec\u7684\u4e00\u6761\u8fdb\u5ea6\u3002"),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"Multinomial"),": \u591a\u9879\u7518\u7279\u56fe\u3002\u6bcf\u4e2a\u6570\u636e\u9879\u53ea\u662f\u4e00\u6761\u8fdb\u5ea6\u91cc\u7684\u4e00\u6bb5\u3002")),(0,i.kt)("h4",{id:"ganttstyleinvert"},"GanttStyle.invert"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,i.kt)("inlineCode",{parentName:"p"},"true")),(0,i.kt)("h4",{id:"ganttstyleshow"},"GanttStyle.show"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,i.kt)("inlineCode",{parentName:"p"},"true")),(0,i.kt)("h4",{id:"ganttstyleshowalignlinerange"},"GanttStyle.showAlignlineRange"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"float")," ",(0,i.kt)("inlineCode",{parentName:"p"},"10f")),(0,i.kt)("p",null,"\u663e\u793a\u5bf9\u9f50\u7ebf\u7684\u8303\u56f4\u3002"),(0,i.kt)("h4",{id:"ganttstylesplitarea"},"GanttStyle.splitArea"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"AxisSplitArea")))}g.isMDXComponent=!0},84597:function(t,e,a){a.d(e,{Z:function(){return u}});var n=a(67294),l=a(76775),i="apiTable_e8hp";function r(t,e){var a=t.name,i=t.children,r=function(t){for(var e=t;(0,n.isValidElement)(e);)e=n.Children.toArray(e.props.children)[0];return e}(i),d=a?a+"-"+r:r,u="#"+d,p=(0,l.k6)();return n.createElement("tr",{id:d,tabIndex:0,ref:p.location.hash===u?e:void 0,onClick:function(t){"A"===t.target.tagName.toUpperCase()||p.push(u)},onKeyDown:function(t){"Enter"===t.key&&p.push(u)}},i.props.children)}var d=n.forwardRef(r);function u(t){var e=t.children,a=t.name,l=n.Children.toArray(e.props.children),r=l[0],u=l[1],p=(0,n.useRef)(null);(0,n.useEffect)((function(){var t;null==(t=p.current)||t.focus()}),[p]);var o=n.Children.map(u.props.children,(function(t){return n.createElement(d,{name:a,ref:p},t)}));return n.createElement("table",{className:i},r,n.createElement("tbody",null,o))}},31436:function(t,e,a){e.Z=a.p+"assets/images/Gantt01-68116b3750a88487ce46ef5f68ca020c.png"},41931:function(t,e,a){e.Z=a.p+"assets/images/Gantt02-1d7eba3764affa68456e6ef60d20d565.png"},70248:function(t,e,a){e.Z=a.p+"assets/images/Gantt03-0b6a974bd90d342e082442a3a745a648.png"},42230:function(t,e,a){e.Z=a.p+"assets/images/Gantt04-a3127355d4cd02f3b5ca0154bd83f6f5.png"},27243:function(t,e,a){e.Z=a.p+"assets/images/Gantt05-d1a8eaaf4f891899c8376379abe64bfa.png"},38353:function(t,e,a){e.Z=a.p+"assets/images/Gantt07-434d3382a6c4d61f7d7b4b4b8b3ec637.png"}}]); \ No newline at end of file diff --git a/assets/js/c2d6a9b4.075648f7.js b/assets/js/c2d6a9b4.075648f7.js new file mode 100644 index 00000000..22e146dc --- /dev/null +++ b/assets/js/c2d6a9b4.075648f7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6563],{3905:function(e,n,t){t.d(n,{Zo:function(){return k},kt:function(){return c}});var l=t(67294);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function r(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);n&&(l=l.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,l)}return t}function i(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?r(Object(t),!0).forEach((function(n){a(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):r(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function d(e,n){if(null==e)return{};var t,l,a=function(e,n){if(null==e)return{};var t,l,a={},r=Object.keys(e);for(l=0;l<r.length;l++)t=r[l],n.indexOf(t)>=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(l=0;l<r.length;l++)t=r[l],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var p=l.createContext({}),o=function(e){var n=l.useContext(p),t=n;return e&&(t="function"==typeof e?e(n):i(i({},n),e)),t},k=function(e){var n=o(e.components);return l.createElement(p.Provider,{value:n},e.children)},u={inlineCode:"code",wrapper:function(e){var n=e.children;return l.createElement(l.Fragment,{},n)}},s=l.forwardRef((function(e,n){var t=e.components,a=e.mdxType,r=e.originalType,p=e.parentName,k=d(e,["components","mdxType","originalType","parentName"]),s=o(t),c=a,y=s["".concat(p,".").concat(c)]||s[c]||u[c]||r;return t?l.createElement(y,i(i({ref:n},k),{},{components:t})):l.createElement(y,i({ref:n},k))}));function c(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var r=t.length,i=new Array(r);i[0]=s;var d={};for(var p in n)hasOwnProperty.call(n,p)&&(d[p]=n[p]);d.originalType=e,d.mdxType="string"==typeof e?e:a,i[1]=d;for(var o=2;o<r;o++)i[o]=t[o];return l.createElement.apply(null,i)}return l.createElement.apply(null,t)}s.displayName="MDXCreateElement"},27923:function(e,n,t){t.r(n),t.d(n,{frontMatter:function(){return d},contentTitle:function(){return p},metadata:function(){return o},toc:function(){return k},default:function(){return s}});var l=t(83117),a=t(80102),r=(t(67294),t(3905)),i=(t(84597),["components"]),d={sidebar_position:0,slug:"/sankey"},p="SankeyChart \u6851\u57fa\u56fe",o={unversionedId:"lang/articles/extra/sankey",id:"version-v3.12.0/lang/articles/extra/sankey",title:"SankeyChart \u6851\u57fa\u56fe",description:"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u6851\u57fa\u56fe\u3002",source:"@site/versioned_docs/version-v3.12.0/lang/articles/extra/sankey.md",sourceDirName:"lang/articles/extra",slug:"/sankey",permalink:"/docs/sankey",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/extra/sankey.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"2024/10/1",sidebarPosition:0,frontMatter:{sidebar_position:0,slug:"/sankey"},sidebar:"langSidebar",previous:{title:"PyramidChart \u91d1\u5b57\u5854",permalink:"/docs/pyramid"},next:{title:"TreemapChart \u77e9\u5f62\u6811\u56fe",permalink:"/docs/treemap"}},k=[{value:"\u622a\u56fe",id:"\u622a\u56fe",children:[],level:2},{value:"\u8bb8\u53ef",id:"\u8bb8\u53ef",children:[],level:2},{value:"\u6559\u7a0b",id:"\u6559\u7a0b",children:[],level:2},{value:"\u6587\u6863",id:"\u6587\u6863",children:[],level:2},{value:"\u65e5\u5fd7",id:"\u65e5\u5fd7",children:[{value:"v3.12.0",id:"v3120",children:[],level:3},{value:"v3.11.0",id:"v3110",children:[],level:3},{value:"v3.10.0",id:"v3100",children:[],level:3}],level:2},{value:"API",id:"api",children:[{value:"Sankey",id:"sankey",children:[{value:"Sankey.defaultColorBy",id:"sankeydefaultcolorby",children:[],level:4},{value:"Sankey.levelStyle",id:"sankeylevelstyle",children:[],level:4},{value:"Sankey.AddDefaultSerie",id:"sankeyadddefaultserie",children:[],level:4},{value:"Sankey.GetLevelItemStyle",id:"sankeygetlevelitemstyle",children:[],level:4},{value:"Sankey.GetLevelLabel",id:"sankeygetlevellabel",children:[],level:4},{value:"Sankey.GetLevelLineStyle",id:"sankeygetlevellinestyle",children:[],level:4}],level:3},{value:"Sankey.NodeAlign",id:"sankeynodealign",children:[],level:3},{value:"SankeyChart",id:"sankeychart",children:[],level:3}],level:2},{value:"\u914d\u7f6e\u9879\u624b\u518c",id:"\u914d\u7f6e\u9879\u624b\u518c",children:[{value:"Sankey",id:"sankey-1",children:[{value:"Sankey.collapse",id:"sankeycollapse",children:[],level:4},{value:"Sankey.collapseLevel",id:"sankeycollapselevel",children:[],level:4},{value:"Sankey.collapseMutex",id:"sankeycollapsemutex",children:[],level:4},{value:"Sankey.curveness",id:"sankeycurveness",children:[],level:4},{value:"Sankey.defaultExpandDataIndex",id:"sankeydefaultexpanddataindex",children:[],level:4},{value:"Sankey.draggable",id:"sankeydraggable",children:[],level:4},{value:"Sankey.levelStyle",id:"sankeylevelstyle-1",children:[],level:4},{value:"Sankey.lineGradient",id:"sankeylinegradient",children:[],level:4},{value:"Sankey.nodeAlign",id:"sankeynodealign-1",children:[],level:4},{value:"Sankey.nodeGap",id:"sankeynodegap",children:[],level:4},{value:"Sankey.nodeWidth",id:"sankeynodewidth",children:[],level:4}],level:3}],level:2}],u={toc:k};function s(e){var n=e.components,t=(0,a.Z)(e,i);return(0,r.kt)("wrapper",(0,l.Z)({},u,t,{components:n,mdxType:"MDXLayout"}),(0,r.kt)("h1",{id:"sankeychart-\u6851\u57fa\u56fe"},"SankeyChart \u6851\u57fa\u56fe"),(0,r.kt)("p",null,"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u6851\u57fa\u56fe\u3002"),(0,r.kt)("h2",{id:"\u622a\u56fe"},"\u622a\u56fe"),(0,r.kt)("h2",{id:"\u8bb8\u53ef"},"\u8bb8\u53ef"),(0,r.kt)("p",null,"\u6269\u5c55\u56fe\u8868\uff0c\u9700\u4ed8\u8d39\u8d2d\u4e70\u540e\u624d\u83b7\u5f97\u4f7f\u7528\u8bb8\u53ef\u3002"),(0,r.kt)("h2",{id:"\u6559\u7a0b"},"\u6559\u7a0b"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Demo"},"\u6269\u5c55\u56fe\u8868\u5982\u4f55\u5bfc\u5165Demo\u9879\u76ee\u6216\u5bfc\u5165\u81ea\u5df1\u9879\u76ee")),(0,r.kt)("h2",{id:"\u6587\u6863"},"\u6587\u6863"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"#api"},"API"),(0,r.kt)("br",{parentName:"p"}),"\n",(0,r.kt)("a",{parentName:"p",href:"#%E9%85%8D%E7%BD%AE%E9%A1%B9%E6%89%8B%E5%86%8C"},"\u914d\u7f6e\u9879\u624b\u518c")," "),(0,r.kt)("h2",{id:"\u65e5\u5fd7"},"\u65e5\u5fd7"),(0,r.kt)("h3",{id:"v3120"},"v3.12.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,r.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,r.kt)("li",{parentName:"ul"},"(2024.09.30) \u66f4\u65b0\u6587\u6863")),(0,r.kt)("h3",{id:"v3110"},"v3.11.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,r.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c"),(0,r.kt)("li",{parentName:"ul"},"(2024.03.20) \u589e\u52a0",(0,r.kt)("inlineCode",{parentName:"li"},"Sankey"),"\u7684\u5c55\u5f00\u548c\u6298\u53e0\u529f\u80fd\u652f\u6301")),(0,r.kt)("h3",{id:"v3100"},"v3.10.0"),(0,r.kt)("h2",{id:"api"},"API"),(0,r.kt)("h3",{id:"sankey"},"Sankey"),(0,r.kt)("p",null,"class in XCharts.Runtime.Sankeys / \u7ee7\u627f\u81ea: ",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#serie"},"Serie")),(0,r.kt)("p",null,"\u6851\u57fa\u56fe\u662f\u4e00\u79cd\u7279\u6b8a\u7684\u6d41\u56fe\uff08\u53ef\u4ee5\u770b\u4f5c\u662f\u6709\u5411\u65e0\u73af\u56fe\uff09\u3002 \u5b83\u4e3b\u8981\u7528\u6765\u8868\u793a\u539f\u6750\u6599\u3001\u80fd\u91cf\u7b49\u5982\u4f55\u4ece\u6700\u521d\u5f62\u5f0f\u7ecf\u8fc7\u4e2d\u95f4\u8fc7\u7a0b\u7684\u52a0\u5de5\u6216\u8f6c\u5316\u8fbe\u5230\u6700\u7ec8\u72b6\u6001\u3002"),(0,r.kt)("h4",{id:"sankeydefaultcolorby"},"Sankey.defaultColorBy"),(0,r.kt)("p",null,"public override SerieColorBy defaultColorBy "),(0,r.kt)("h4",{id:"sankeylevelstyle"},"Sankey.levelStyle"),(0,r.kt)("p",null,"public LevelStyle levelStyle",(0,r.kt)("br",{parentName:"p"}),"\n","\u5c42\u7ea7\u6837\u5f0f\u3002"),(0,r.kt)("h4",{id:"sankeyadddefaultserie"},"Sankey.AddDefaultSerie"),(0,r.kt)("p",null,"public static void AddDefaultSerie(BaseChart chart, string serieName) "),(0,r.kt)("h4",{id:"sankeygetlevelitemstyle"},"Sankey.GetLevelItemStyle"),(0,r.kt)("p",null,"public ItemStyle GetLevelItemStyle(int depth) "),(0,r.kt)("h4",{id:"sankeygetlevellabel"},"Sankey.GetLevelLabel"),(0,r.kt)("p",null,"public LabelStyle GetLevelLabel(int depth) "),(0,r.kt)("h4",{id:"sankeygetlevellinestyle"},"Sankey.GetLevelLineStyle"),(0,r.kt)("p",null,"public LineStyle GetLevelLineStyle(int depth) "),(0,r.kt)("h3",{id:"sankeynodealign"},"Sankey.NodeAlign"),(0,r.kt)("p",null,"class in XCharts.Runtime.Sankeys"),(0,r.kt)("p",null,"\u8282\u70b9\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,r.kt)("p",null,"\u53ef\u9009\uff1a"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"Top"),": \u9876\u90e8\u5bf9\u9f50"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"Center"),": \u5c45\u4e2d\u5bf9\u9f50"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"Bottom"),": \u5e95\u90e8\u5bf9\u9f50")),(0,r.kt)("h3",{id:"sankeychart"},"SankeyChart"),(0,r.kt)("p",null,"class in XCharts.Runtime.Sankeys / \u7ee7\u627f\u81ea: ",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#basechart"},"BaseChart")),(0,r.kt)("h2",{id:"\u914d\u7f6e\u9879\u624b\u518c"},"\u914d\u7f6e\u9879\u624b\u518c"),(0,r.kt)("h3",{id:"sankey-1"},"Sankey"),(0,r.kt)("p",null,"class in XCharts.Runtime.Sankeys / \u7ee7\u627f\u81ea: ",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie"},"Serie")),(0,r.kt)("p",null,"\u6851\u57fa\u56fe\u662f\u4e00\u79cd\u7279\u6b8a\u7684\u6d41\u56fe\uff08\u53ef\u4ee5\u770b\u4f5c\u662f\u6709\u5411\u65e0\u73af\u56fe\uff09\u3002 \u5b83\u4e3b\u8981\u7528\u6765\u8868\u793a\u539f\u6750\u6599\u3001\u80fd\u91cf\u7b49\u5982\u4f55\u4ece\u6700\u521d\u5f62\u5f0f\u7ecf\u8fc7\u4e2d\u95f4\u8fc7\u7a0b\u7684\u52a0\u5de5\u6216\u8f6c\u5316\u8fbe\u5230\u6700\u7ec8\u72b6\u6001\u3002"),(0,r.kt)("h4",{id:"sankeycollapse"},"Sankey.collapse"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,r.kt)("inlineCode",{parentName:"p"},"false")," ",(0,r.kt)("inlineCode",{parentName:"p"},"v3.11.0")),(0,r.kt)("p",null,"\u662f\u5426\u5f00\u542f\u6298\u53e0\u3002"),(0,r.kt)("h4",{id:"sankeycollapselevel"},"Sankey.collapseLevel"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"int")," ",(0,r.kt)("inlineCode",{parentName:"p"},"-1")," ",(0,r.kt)("inlineCode",{parentName:"p"},"v3.11.0")),(0,r.kt)("p",null,"\u6298\u53e0\u9650\u5236\u7684\u5c42\u7ea7\u3002\u5c42\u7ea7\u4ece0\u5f00\u59cb\uff0c-1\u8868\u793a\u4e0d\u9650\u5236\u3002"),(0,r.kt)("h4",{id:"sankeycollapsemutex"},"Sankey.collapseMutex"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,r.kt)("inlineCode",{parentName:"p"},"true")," ",(0,r.kt)("inlineCode",{parentName:"p"},"v3.11.0")),(0,r.kt)("p",null,"\u662f\u5426\u5f00\u542f\u6298\u53e0\u4e92\u65a5\u3002"),(0,r.kt)("h4",{id:"sankeycurveness"},"Sankey.curveness"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"float")," ",(0,r.kt)("inlineCode",{parentName:"p"},"0.5f")),(0,r.kt)("p",null,"\u7ebf\u6761\u7684\u5f2f\u66f2\u7a0b\u5ea6\u3002"),(0,r.kt)("h4",{id:"sankeydefaultexpanddataindex"},"Sankey.defaultExpandDataIndex"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"int")," ",(0,r.kt)("inlineCode",{parentName:"p"},"-1")," ",(0,r.kt)("inlineCode",{parentName:"p"},"v3.11.0")),(0,r.kt)("p",null,"\u9ed8\u8ba4\u5c55\u5f00\u7684\u6570\u636e\u7d22\u5f15\u3002"),(0,r.kt)("h4",{id:"sankeydraggable"},"Sankey.draggable"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"bool")),(0,r.kt)("p",null,"\u662f\u5426\u53ef\u62d6\u62fd\u3002"),(0,r.kt)("h4",{id:"sankeylevelstyle-1"},"Sankey.levelStyle"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"LevelStyle")),(0,r.kt)("p",null,"\u5c42\u7ea7\u6837\u5f0f\u3002"),(0,r.kt)("h4",{id:"sankeylinegradient"},"Sankey.lineGradient"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,r.kt)("inlineCode",{parentName:"p"},"true")," ",(0,r.kt)("inlineCode",{parentName:"p"},"v3.11.0")),(0,r.kt)("p",null,"\u662f\u5426\u5f00\u542f\u7ebf\u6761\u6e10\u53d8\u3002\u5f00\u542f\u540elineStyle\u7684color\u5c06\u4e0d\u751f\u6548\u3002"),(0,r.kt)("h4",{id:"sankeynodealign-1"},"Sankey.nodeAlign"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"#sankeynodealign"},"Sankey.NodeAlign")),(0,r.kt)("p",null,"\u8282\u70b9\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,r.kt)("p",null,"\u53ef\u9009\uff1a"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"Top"),": \u9876\u90e8\u5bf9\u9f50"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"Center"),": \u5c45\u4e2d\u5bf9\u9f50"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"Bottom"),": \u5e95\u90e8\u5bf9\u9f50")),(0,r.kt)("h4",{id:"sankeynodegap"},"Sankey.nodeGap"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"float")," ",(0,r.kt)("inlineCode",{parentName:"p"},"8")),(0,r.kt)("p",null,"\u8282\u70b9\u7684\u95f4\u8ddd\u3002"),(0,r.kt)("h4",{id:"sankeynodewidth"},"Sankey.nodeWidth"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"float")," ",(0,r.kt)("inlineCode",{parentName:"p"},"20")),(0,r.kt)("p",null,"\u8282\u70b9\u7684\u5bbd\u5ea6\u3002"))}s.isMDXComponent=!0},84597:function(e,n,t){t.d(n,{Z:function(){return p}});var l=t(67294),a=t(76775),r="apiTable_e8hp";function i(e,n){var t=e.name,r=e.children,i=function(e){for(var n=e;(0,l.isValidElement)(n);)n=l.Children.toArray(n.props.children)[0];return n}(r),d=t?t+"-"+i:i,p="#"+d,o=(0,a.k6)();return l.createElement("tr",{id:d,tabIndex:0,ref:o.location.hash===p?n:void 0,onClick:function(e){"A"===e.target.tagName.toUpperCase()||o.push(p)},onKeyDown:function(e){"Enter"===e.key&&o.push(p)}},r.props.children)}var d=l.forwardRef(i);function p(e){var n=e.children,t=e.name,a=l.Children.toArray(n.props.children),i=a[0],p=a[1],o=(0,l.useRef)(null);(0,l.useEffect)((function(){var e;null==(e=o.current)||e.focus()}),[o]);var k=l.Children.map(p.props.children,(function(e){return l.createElement(d,{name:t,ref:o},e)}));return l.createElement("table",{className:r},i,l.createElement("tbody",null,k))}}}]); \ No newline at end of file diff --git a/assets/js/c9092f3a.1704c942.js b/assets/js/c9092f3a.1704c942.js new file mode 100644 index 00000000..79c9267a --- /dev/null +++ b/assets/js/c9092f3a.1704c942.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6099],{3905:function(e,i,n){n.d(i,{Zo:function(){return N},kt:function(){return C}});var t=n(67294);function a(e,i,n){return i in e?Object.defineProperty(e,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[i]=n,e}function l(e,i){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);i&&(t=t.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),n.push.apply(n,t)}return n}function r(e){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?l(Object(n),!0).forEach((function(i){a(e,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))}))}return e}function p(e,i){if(null==e)return{};var n,t,a=function(e,i){if(null==e)return{};var n,t,a={},l=Object.keys(e);for(t=0;t<l.length;t++)n=l[t],i.indexOf(n)>=0||(a[n]=e[n]);return a}(e,i);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(t=0;t<l.length;t++)n=l[t],i.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var m=t.createContext({}),k=function(e){var i=t.useContext(m),n=i;return e&&(n="function"==typeof e?e(i):r(r({},i),e)),n},N=function(e){var i=k(e.components);return t.createElement(m.Provider,{value:i},e.children)},o={inlineCode:"code",wrapper:function(e){var i=e.children;return t.createElement(t.Fragment,{},i)}},d=t.forwardRef((function(e,i){var n=e.components,a=e.mdxType,l=e.originalType,m=e.parentName,N=p(e,["components","mdxType","originalType","parentName"]),d=k(n),C=a,u=d["".concat(m,".").concat(C)]||d[C]||o[C]||l;return n?t.createElement(u,r(r({ref:i},N),{},{components:n})):t.createElement(u,r({ref:i},N))}));function C(e,i){var n=arguments,a=i&&i.mdxType;if("string"==typeof e||a){var l=n.length,r=new Array(l);r[0]=d;var p={};for(var m in i)hasOwnProperty.call(i,m)&&(p[m]=i[m]);p.originalType=e,p.mdxType="string"==typeof e?e:a,r[1]=p;for(var k=2;k<l;k++)r[k]=n[k];return t.createElement.apply(null,r)}return t.createElement.apply(null,n)}d.displayName="MDXCreateElement"},5074:function(e,i,n){n.r(i),n.d(i,{frontMatter:function(){return p},contentTitle:function(){return m},metadata:function(){return k},toc:function(){return N},default:function(){return d}});var t=n(83117),a=n(80102),l=(n(67294),n(3905)),r=["components"],p={sidebar_position:61,slug:"/changelog"},m="\u66f4\u65b0\u65e5\u5fd7",k={unversionedId:"lang/articles/changelog",id:"version-v3.12.0/lang/articles/changelog",title:"\u66f4\u65b0\u65e5\u5fd7",description:"master",source:"@site/versioned_docs/version-v3.12.0/lang/articles/changelog.md",sourceDirName:"lang/articles",slug:"/changelog",permalink:"/docs/changelog",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/changelog.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"2024/10/1",sidebarPosition:61,frontMatter:{sidebar_position:61,slug:"/changelog"},sidebar:"langSidebar",previous:{title:"\u8ba2\u9605\u670d\u52a1",permalink:"/docs/support"},next:{title:"\u6269\u5c55UI\u7ec4\u4ef6",permalink:"/docs/ui"}},N=[{value:"master",id:"master",children:[],level:2},{value:"v3.12.0",id:"v3120",children:[],level:2},{value:"v3.11.2",id:"v3112",children:[],level:2},{value:"v3.11.1",id:"v3111",children:[],level:2},{value:"v3.11.0",id:"v3110",children:[],level:2},{value:"v3.10.2",id:"v3102",children:[],level:2},{value:"v3.10.1",id:"v3101",children:[],level:2},{value:"v3.10.0",id:"v3100",children:[],level:2},{value:"v3.9.0",id:"v390",children:[],level:2},{value:"v3.8.1",id:"v381",children:[],level:2},{value:"v3.8.0",id:"v380",children:[],level:2},{value:"v3.7.0",id:"v370",children:[],level:2},{value:"v3.6.0",id:"v360",children:[],level:2},{value:"v3.5.0",id:"v350",children:[],level:2},{value:"v3.4.0",id:"v340",children:[],level:2},{value:"v3.3.0",id:"v330",children:[],level:2},{value:"v3.2.0",id:"v320",children:[],level:2},{value:"v3.1.0",id:"v310",children:[],level:2},{value:"v3.0.1",id:"v301",children:[],level:2},{value:"v3.0.0",id:"v300",children:[],level:2},{value:"v3.0.0-preivew9",id:"v300-preivew9",children:[],level:2},{value:"v3.0.0-preivew8",id:"v300-preivew8",children:[],level:2},{value:"v3.0.0-preivew7",id:"v300-preivew7",children:[],level:2},{value:"v3.0.0-preivew6",id:"v300-preivew6",children:[],level:2},{value:"v3.0.0-preivew5",id:"v300-preivew5",children:[],level:2},{value:"v3.0.0-preivew4",id:"v300-preivew4",children:[],level:2},{value:"v3.0.0-preivew3",id:"v300-preivew3",children:[],level:2},{value:"v3.0.0-preivew2",id:"v300-preivew2",children:[],level:2},{value:"v3.0.0-preivew1",id:"v300-preivew1",children:[],level:2},{value:"v2.8.2",id:"v282",children:[],level:2},{value:"v2.8.1",id:"v281",children:[],level:2},{value:"v2.8.0",id:"v280",children:[],level:2},{value:"v2.7.0",id:"v270",children:[],level:2},{value:"v2.6.0",id:"v260",children:[],level:2},{value:"v2.5.0",id:"v250",children:[],level:2},{value:"v2.4.0",id:"v240",children:[],level:2},{value:"v2.3.0",id:"v230",children:[],level:2},{value:"v2.2.3",id:"v223",children:[],level:2},{value:"v2.2.2",id:"v222",children:[],level:2},{value:"v2.2.1",id:"v221",children:[],level:2},{value:"v2.2.0",id:"v220",children:[],level:2},{value:"v2.1.1",id:"v211",children:[],level:2},{value:"v2.1.0",id:"v210",children:[],level:2},{value:"v2.0.1",id:"v201",children:[],level:2},{value:"v2.0.0",id:"v200",children:[],level:2},{value:"v2.0.0-preview.2",id:"v200-preview2",children:[],level:2},{value:"v2.0.0-preview.1",id:"v200-preview1",children:[],level:2},{value:"v1.6.3",id:"v163",children:[],level:2},{value:"v1.6.1",id:"v161",children:[],level:2},{value:"v1.6.0",id:"v160",children:[],level:2},{value:"v1.5.2",id:"v152",children:[],level:2},{value:"v1.5.1",id:"v151",children:[],level:2},{value:"v1.5.0",id:"v150",children:[],level:2},{value:"v1.4.0",id:"v140",children:[],level:2},{value:"v1.3.1",id:"v131",children:[],level:2},{value:"v1.3.0",id:"v130",children:[],level:2},{value:"v1.2.0",id:"v120",children:[],level:2},{value:"v1.1.0",id:"v110",children:[],level:2},{value:"v1.0.5",id:"v105",children:[],level:2},{value:"v1.0.4",id:"v104",children:[],level:2},{value:"v1.0.3",id:"v103",children:[],level:2},{value:"v1.0.2",id:"v102",children:[],level:2},{value:"v1.0.1",id:"v101",children:[],level:2},{value:"v1.0.0",id:"v100",children:[],level:2},{value:"v0.8.3",id:"v083",children:[],level:2},{value:"v0.8.2",id:"v082",children:[],level:2},{value:"v0.8.1",id:"v081",children:[],level:2},{value:"v0.8.0",id:"v080",children:[],level:2},{value:"v0.5.0",id:"v050",children:[],level:2},{value:"v0.1.0",id:"v010",children:[],level:2}],o={toc:N};function d(e){var i=e.components,n=(0,a.Z)(e,r);return(0,l.kt)("wrapper",(0,t.Z)({},o,n,{components:i,mdxType:"MDXLayout"}),(0,l.kt)("h1",{id:"\u66f4\u65b0\u65e5\u5fd7"},"\u66f4\u65b0\u65e5\u5fd7"),(0,l.kt)("p",null,(0,l.kt)("a",{parentName:"p",href:"#master"},"master"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v3120"},"v3.12.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v3112"},"v3.11.2"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v3111"},"v3.11.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v3110"},"v3.11.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v3102"},"v3.10.2"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v3101"},"v3.10.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v3100"},"v3.10.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v390"},"v3.9.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v381"},"v3.8.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v380"},"v3.8.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v370"},"v3.7.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v360"},"v3.6.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v350"},"v3.5.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v340"},"v3.4.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v330"},"v3.3.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v320"},"v3.2.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v310"},"v3.1.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v301"},"v3.0.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300"},"v3.0.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300-preivew9"},"v3.0.0-preivew9"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300-preivew8"},"v3.0.0-preivew8"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300-preivew7"},"v3.0.0-preivew7"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300-preivew6"},"v3.0.0-preivew6"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300-preivew5"},"v3.0.0-preivew5"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300-preivew4"},"v3.0.0-preivew4"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300-preivew3"},"v3.0.0-preivew3"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300-preivew2"},"v3.0.0-preivew2"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300-preivew1"},"v3.0.0-preivew1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v281"},"v2.8.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v280"},"v2.8.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v270"},"v2.7.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v260"},"v2.6.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v250"},"v2.5.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v240"},"v2.4.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v230"},"v2.3.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v223"},"v2.2.3"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v222"},"v2.2.2"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v221"},"v2.2.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v220"},"v2.2.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v211"},"v2.1.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v210"},"v2.1.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v201"},"v2.0.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v200"},"v2.0.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v200-preview2"},"v2.0.0-preview.2"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v200-preview1"},"v2.0.0-preview.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v163"},"v1.6.3"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v161"},"v1.6.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v160"},"v1.6.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v152"},"v1.5.2"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v151"},"v1.5.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v150"},"v1.5.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v140"},"v1.4.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v131"},"v1.3.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v130"},"v1.3.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v120"},"v1.2.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v110"},"v1.1.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v105"},"v1.0.5"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v104"},"v1.0.4"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v103"},"v1.0.3"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v102"},"v1.0.2"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v101"},"v1.0.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v100"},"v1.0.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v083"},"v0.8.3"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v082"},"v0.8.2"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v081"},"v0.8.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v080"},"v0.8.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v050"},"v0.5.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v010"},"v0.1.0")," "),(0,l.kt)("h2",{id:"master"},"master"),(0,l.kt)("h2",{id:"v3120"},"v3.12.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Ring"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"radiusGradient"),"\u53c2\u6570\u8bbe\u7f6e\u6e10\u53d8\u65b9\u5411"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"numericFormatter"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"date"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"time"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"AreaStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"origin"),"\u53c2\u6570\u8bbe\u7f6e\u533a\u57df\u586b\u5145\u8d77\u59cb\u4f4d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"\u8c03\u6574\u548c\u5b8c\u5584\u6587\u6863"),(0,l.kt)("li",{parentName:"ul"},"\u5176\u4ed6\u4f18\u5316\u548c\u4fee\u590d")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2024.09.27) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"5\u5206\u949f\u6559\u7a0b")),(0,l.kt)("li",{parentName:"ul"},"(2024.09.24) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u5bf9\u591aSerie\u7684\u652f\u6301 (#332)"),(0,l.kt)("li",{parentName:"ul"},"(2024.09.22) \u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u6587\u6863\u663e\u793a\u6837\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2024.09.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"numericFormatter"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"date"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"time"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2024.09.03) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"AreaStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"origin"),"\u53c2\u6570\u8bbe\u7f6e\u533a\u57df\u586b\u5145\u8d77\u59cb\u4f4d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2024.09.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Ring"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"radiusGradient"),"\u53c2\u6570\u8bbe\u7f6e\u6e10\u53d8\u65b9\u5411"),(0,l.kt)("li",{parentName:"ul"},"(2024.09.01) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u4e3a\u65f6\u95f4\u8f74\u65f6\u9996\u4e2aLabel\u7684\u4f4d\u7f6e")),(0,l.kt)("h2",{id:"v3112"},"v3.11.2"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.08.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.11.2"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.29) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5728\u5fae\u4fe1\u5c0f\u6e38\u620f\u5e73\u53f0\u4e0a\u62a5\u9519\u7684\u517c\u5bb9\u95ee\u9898 (#326)"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.27) \u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisName"),"\u7684\u9ed8\u8ba4\u4f4d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.22) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u89e6\u53d1\u65f6\u7684\u8868\u73b0"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5728\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u65f6\u6307\u793a\u5185\u5bb9\u4e0d\u51c6\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.17) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u5728\u521d\u59cb\u5316\u65f6\u53ef\u80fd\u4f1a\u95ea\u70c1\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.16) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Time"),"\u65f6\u95f4\u8f74\u65f6\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u9ed8\u8ba4\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.15) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Time"),"\u65f6\u95f4\u8f74\u65f6\u7684\u5206\u5272\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.14) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Time"),"\u65f6\u95f4\u8f74\u65f6\u7684\u79fb\u52a8\u8868\u73b0"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.12) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u7684\u521d\u59cb\u5316\u663e\u793a\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.06) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u5728\u52a8\u6001\u521b\u5efa\u65f6\u80cc\u666f\u6ca1\u6709\u81ea\u9002\u5e94\u7684\u95ee\u9898 (#323)")),(0,l.kt)("h2",{id:"v3111"},"v3.11.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.07.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.11.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.01) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u6709\u591a\u4e2a\u65f6\u989c\u8272\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.06.23) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u5728\u521d\u59cb\u5316\u65f6\u4f1a\u5806\u79ef\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v3110"},"v3.11.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Line3DChart"),"3D\u6298\u7ebf\u56fe"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"GraphChart"),"\u5173\u7cfb\u56fe"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"3D"),"\u5750\u6807\u7cfb\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"triggerOn"),"\u8bbe\u7f6e\u89e6\u53d1\u6761\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"\u5176\u4ed6\u95ee\u9898\u4fee\u590d\u548c\u4f18\u5316")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2024.06.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Editor"),"\u4e0b",(0,l.kt)("inlineCode",{parentName:"li"},"Data"),"\u7684\u6dfb\u52a0\u3001\u5220\u9664\u3001\u4e0a\u4e0b\u79fb\u52a8\u64cd\u4f5c\u6309\u94ae"),(0,l.kt)("li",{parentName:"ul"},"(2024.06.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"IndicatorLabel"),"\u53ef\u80fd\u4f1a\u906e\u6321\u4f4f",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.06.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Cross"),"\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"IndicatorLabel"),"\u53ef\u80fd\u4e0d\u663e\u793a\u7684\u95ee\u9898 (#315)"),(0,l.kt)("li",{parentName:"ul"},"(2024.06.10) \u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Corss"),"\u91cd\u547d\u540d\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Cross")),(0,l.kt)("li",{parentName:"ul"},"(2024.06.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"minCategorySpacing"),"\u8bbe\u7f6e\u7c7b\u76ee\u8f74\u9ed8\u8ba4\u7684\u6700\u5c0f\u7c7b\u76ee\u95f4\u8ddd"),(0,l.kt)("li",{parentName:"ul"},"(2024.06.09) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Cross"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u662f\u7c7b\u76ee\u8f74\u5e76\u4e14\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7684\u60c5\u51b5\u4e0b\u6307\u793a\u4f4d\u7f6e\u4e0d\u51c6\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.06.06) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Clone"),"\u65f6\u52a8\u753b\u5f02\u5e38\u95ee\u9898 (#320)"),(0,l.kt)("li",{parentName:"ul"},"(2024.06.04) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"state"),"\u5728\u4ee3\u7801\u52a8\u6001\u8bbe\u7f6e\u65f6\u4e0d\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.05.29) \u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Hierarchy"),"\u89c6\u56fe\u4e0b\u7684\u53f3\u952e\u83dc\u5355\u5230",(0,l.kt)("inlineCode",{parentName:"li"},"UI/XCharts"),"\u4e0b"),(0,l.kt)("li",{parentName:"ul"},"(2024.05.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"3D"),"\u5750\u6807\u7cfb\u5bf9\u7c7b\u76ee\u8f74\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2024.05.19) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Editor"),"\u4e0b\u7684\u7f16\u8f91\u6027\u80fd"),(0,l.kt)("li",{parentName:"ul"},"(2024.05.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"JsonUtil"),"\u5de5\u5177\u7c7b"),(0,l.kt)("li",{parentName:"ul"},"(2024.05.01) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u6bcf\u5e27\u4ea7\u751fGC\u7684\u95ee\u9898 (#311) (by @stefanbursuc)"),(0,l.kt)("li",{parentName:"ul"},"(2024.04.23) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"ConvertXYAxis()"),"\u591a\u6b21\u8c03\u7528\u540e\u56fe\u8868\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.04.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u63a7\u5236\u591a\u4e2a\u8f74\u65f6\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"GridCoord"),"\u83b7\u53d6\u53ef\u80fd\u4e0d\u6b63\u786e\u7684\u95ee\u9898 (#317)"),(0,l.kt)("li",{parentName:"ul"},"(2024.04.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"3D"),"\u5750\u6807\u7cfb"),(0,l.kt)("li",{parentName:"ul"},"(2024.04.15) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"DateTimeUtil"),"\u65f6\u95f4\u6233\u8f6c",(0,l.kt)("inlineCode",{parentName:"li"},"DateTime"),"\u63a5\u53e3\u65f6\u533a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.04.15) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"GridCoord"),"\u5728\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"GridLayout"),"\u65f6\u4e5f\u663e\u793a",(0,l.kt)("inlineCode",{parentName:"li"},"Left")," ",(0,l.kt)("inlineCode",{parentName:"li"},"Right")," ",(0,l.kt)("inlineCode",{parentName:"li"},"Top")," ",(0,l.kt)("inlineCode",{parentName:"li"},"Bottom"),"\u53c2\u6570 (#316)"),(0,l.kt)("li",{parentName:"ul"},"(2024.04.14) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Cross"),"\u5728\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7684\u60c5\u51b5\u4e0b",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u4f4d\u7f6e\u4e0d\u6b63\u786e\u7684\u95ee\u9898 (#315)"),(0,l.kt)("li",{parentName:"ul"},"(2024.04.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Candlesticks"),"\u6548\u679c\u4e0d\u5bf9\u7684\u95ee\u9898 (#313)"),(0,l.kt)("li",{parentName:"ul"},"(2024.03.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"triggerOn"),"\u8bbe\u7f6e\u89e6\u53d1\u6761\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"(2024.03.19) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u5728\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"opacity"),"\u65f6\u989c\u8272\u4e0d\u5bf9\u7684\u95ee\u9898 (#309)")),(0,l.kt)("h2",{id:"v3102"},"v3.10.2"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.03.11) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.10.2"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2024.03.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u5728\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"{d}"),"\u901a\u914d\u7b26\u65f6\u663e\u793a\u53ef\u80fd\u4e0d\u5339\u914d\u7684\u95ee\u9898 (#304)"),(0,l.kt)("li",{parentName:"ul"},"(2024.03.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u79fb\u51fa\u5750\u6807\u7cfb\u540e\u8fd8\u663e\u793a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.03.08) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"title"),"\u4ece\u65e7\u7248\u672c\u5347\u7ea7\u540e\u53ef\u80fd\u4e0d\u663e\u793a\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v3101"},"v3.10.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.02.21) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.10.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2024.02.19) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684\u5706\u70b9\u6807\u8bb0\u4e0d\u4f1a\u81ea\u9002\u5e94\u989c\u8272\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v3100"},"v3.10.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u53cc\u7c7b\u76ee\u8f74\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u66f4\u591a\u7ec6\u5206\u5feb\u6377\u83dc\u5355\u521b\u5efa\u56fe\u8868\uff0c\u53ef\u4e00\u952e\u521b\u5efa\u51e0\u5341\u79cd\u56fe\u8868"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u56fe\u8868\u8fb9\u6846\u8bbe\u7f6e\uff0c\u652f\u6301\u5706\u89d2\u56fe\u8868"),(0,l.kt)("li",{parentName:"ul"},"\u4fee\u590d\u82e5\u5e72\u95ee\u9898")),(0,l.kt)("p",null,"\u6269\u5c55\u529f\u80fd\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SankeyChart"),"\u6851\u57fa\u56fe"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"UITable"),"\u7684\u8fb9\u6846\u8bbe\u7f6e")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.02.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.10.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.31) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5728\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"itemFormatter"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"-"),"\u540e\u6574\u4e2a\u4e0d\u663e\u793a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.27) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"TextLimit"),"\u5728\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"TextMeshPro"),"\u540e\u65e0\u6548\u7684\u95ee\u9898 (#301)"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.24) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u652f\u6301X\u8f74\u548cY\u8f74\u90fd\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Category"),"\u7c7b\u76ee\u8f74"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"{y}"),"\u901a\u914d\u7b26\u7528\u4e8e\u83b7\u53d6Y\u8f74\u7684\u7c7b\u76ee\u540d"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u652f\u6301X\u8f74\u548cY\u8f74\u90fd\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Category"),"\u7c7b\u76ee\u8f74"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.18) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"type"),"\u4ee3\u7801\u52a8\u6001\u4fee\u6539\u65e0\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.13) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u7684\u66f4\u591a\u5feb\u6377\u521b\u5efa\u56fe\u8868\u83dc\u5355"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Background"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"borderStyle"),"\uff0c\u7ed9\u56fe\u8868\u9ed8\u8ba4\u8bbe\u7f6e\u5706\u89d2"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.07) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltop"),"\u7684\u7b2c\u4e00\u4e2a",(0,l.kt)("inlineCode",{parentName:"li"},"ContentLabelStyle"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"color"),"\u65e0\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BorderStyle"),"\u8fb9\u6846\u6837\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Heatmap"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"maxCache"),"\u53c2\u6570\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.25) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"clip"),"\u65f6\u7ed8\u5236\u7684\u9876\u70b9\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Scatter"),"\u6563\u70b9\u56fe\u90e8\u5206\u8fb9\u754c\u6570\u636e\u4e0d\u663e\u793a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"TriggerTooltip()"),"\u63a5\u53e3\u5728\u6307\u5b9a0\u6216\u6700\u5927index\u65f6\u53ef\u80fd\u65e0\u6cd5\u89e6\u53d1\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.19) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"LabelStyle"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u540e\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.12) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"TextLimit"),"\u53ef\u9650\u5236\u56fe\u4f8b\u663e\u793a\u6587\u672c\u7684\u957f\u5ea6"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u6dfb\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"double.MaxValue"),"\u65f6\u5750\u6807\u7ed8\u5236\u5931\u8d25\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"minShowLabel"),"\u53ef\u9690\u85cf\u5c0f\u4e8e\u6307\u5b9a\u503c\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"label")),(0,l.kt)("li",{parentName:"ul"},"(2023.12.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LevelStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"depth"),"\u6307\u5b9a\u6240\u5c5e\u5c42\u6b21"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LevelStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"LineStyle"),"\u8bbe\u7f6e\u7ebf\u6761\u6837\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Link"),"\u53ef\u7528\u4e8e\u6851\u57fa\u56fe\u6dfb\u52a0\u8282\u70b9\u8fb9\u5173\u7cfb"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.05) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"ResetChartStatus()"),"\u53ef\u4e3b\u52a8\u91cd\u7f6e\u56fe\u8868\u72b6\u6001")),(0,l.kt)("h2",{id:"v390"},"v3.9.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\uff0c\u5b8c\u5584\u6570\u636e\u53d8\u66f4\u52a8\u753b\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u5bf9\u6570\u8f74\u5b50\u523b\u5ea6\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onTop"),"\u8bbe\u7f6e\u662f\u5426\u663e\u793a\u5728\u6700\u4e0a\u5c42"),(0,l.kt)("li",{parentName:"ul"},"\u5b8c\u5584\u4ee3\u7801\u6ce8\u91ca\u548c\u624b\u518c\u6587\u6863"),(0,l.kt)("li",{parentName:"ul"},"\u4fee\u590d\u82e5\u5e72\u95ee\u9898")),(0,l.kt)("p",null,"\u6269\u5c55\u529f\u80fd\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"UITable"),"\u589e\u52a0\u8f6e\u64ad\u529f\u80fd"),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"UITable"),"\u589e\u52a0\u6570\u636e\u64cd\u4f5c\u63a5\u53e3\u548c\u56de\u8c03\u51fd\u6570"),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"Pie3DChart"),"\u4f18\u5316\u7ed8\u5236\u8868\u73b0")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2023.12.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.9.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.01) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"titleFormatter"),"\u8bbe\u7f6e\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"{b}"),"\u540e\u663e\u793a\u4e0d\u51c6\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u53ef\u5355\u72ec\u6dfb\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.28) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5728\u5bf9\u6570\u8f74\u65f6\u6307\u793a\u4e0d\u51c6\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.24) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"UpdateData()"),"\u63a5\u53e3\u8fd4\u56de\u503c\u4e0d\u51c6\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.24) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u66f4\u65b0\u6570\u636e\u65f6\u6548\u679c\u4e0d\u987a\u7545\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u652f\u6301\u52a8\u753b\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.16) \u53d6\u6d88",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\uff0c\u7528",(0,l.kt)("inlineCode",{parentName:"li"},"LabelStyle"),"\u7684\u4ee3\u66ff"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.14) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"LabelStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u7684\u6ce8\u91ca\u548c\u6587\u6863(#291)"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u90e8\u5206\u6ce8\u91ca\u751f\u6210\u6587\u6863\u4e0d\u5b8c\u6574\u7684\u95ee\u9898 (#290)"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u5728\u6570\u636e\u53d8\u66f4\u65f6\u6ca1\u6709\u81ea\u52a8\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.05) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"SerieEventData"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"value"),"\u4e00\u76f4\u662f0\u7684\u95ee\u9898 (#287)"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.03) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u8bbe\u7f6e\u6e10\u53d8\u8272\u65f6\u9f20\u6807\u79fb\u51fa\u6548\u679c\u5f02\u5e38\u7684\u95ee\u9898 (#285)"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.02) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"ignore"),"\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u7684\u5ffd\u7565\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onTop"),"\u8bbe\u7f6e\u662f\u5426\u663e\u793a\u5728\u6700\u4e0a\u5c42"),(0,l.kt)("li",{parentName:"ul"},"(2023.10.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u67090\u6570\u636e\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u7684\u4f4d\u7f6e\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.10.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u5bf9\u6570\u8f74\u652f\u6301\u5b50\u523b\u5ea6"),(0,l.kt)("li",{parentName:"ul"},"(2023.10.19) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u8bbe\u7f6e\u73ab\u7470\u56fe\u65f6\u5f15\u5bfc\u7ebf\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.10.15) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"AlongPath"),"\u65f6\u52a8\u753b\u5f02\u5e38\u7684\u95ee\u9898 (#281)"),(0,l.kt)("li",{parentName:"ul"},"(2023.10.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u6307\u5b9a",(0,l.kt)("inlineCode",{parentName:"li"},"yValue"),"\u65f6\u5bf9\u6570\u503c\u8f74\u65e0\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.10.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"showDataDimension"),"\u8bbe\u7f6e\u65e0\u6548\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v381"},"v3.8.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2023.10.02) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.8.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2023.09.29) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u5728\u6c34\u5e73\u65b9\u5411\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u8bbe\u7f6e\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Bottom"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.09.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u7684\u5e73\u6ed1\u66f2\u7ebf\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Dash"),"\u865a\u7ebf\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.09.16) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5728\u7c7b\u76ee\u8f74\u65e0\u6570\u636e\u65f6\u5f02\u5e38\u62a5\u9519\u7684\u95ee\u9898 (#279)"),(0,l.kt)("li",{parentName:"ul"},"(2023.09.16) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u65e0\u6570\u636e\u65f6\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898 (#278)"),(0,l.kt)("li",{parentName:"ul"},"(2023.09.12) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"radiusGradient"),"\u53ef\u8bbe\u7f6e\u534a\u5f84\u65b9\u5411\u7684\u6e10\u53d8\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2023.09.05) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"LabelLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"lineEndX"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u4e2d\u7684\u8868\u73b0"),(0,l.kt)("li",{parentName:"ul"},"(2023.09.05) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"TriggerTooltip()"),"\u63a5\u53e3\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Ring"),"\u65e0\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.09.05) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u6570\u636e\u5168\u4e3a0\u65f6\u7ed8\u5236\u62a5\u9519\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v380"},"v3.8.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u91cd\u6784",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u52a8\u753b\u7cfb\u7edf\uff0c\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"\u65b0\u589e\u52a8\u753b"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"\u4ea4\u4e92\u52a8\u753b"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7684\u52a8\u753b\u4ea4\u4e92\u8868\u73b0"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"EmptyTriangle"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"EmptyDiamond"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Plus"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Minus"),"\u56db\u79cd\u65b0\u6807\u8bb0"),(0,l.kt)("li",{parentName:"ul"},"\u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u7684\u9f20\u6807\u4ea4\u4e92\u56de\u8c03"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LabelLine"),"\u53ef\u56fa\u5b9a\u6a2a\u5750\u6807\u7684\u529f\u80fd"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"GridLayout"),"\u7f51\u683c\u5e03\u5c40\u7ec4\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Auto"),"\u7c7b\u578b"),(0,l.kt)("li",{parentName:"ul"},"\u4f18\u5316\u548c\u4fee\u590d\u82e5\u5e72\u5176\u4ed6\u95ee\u9898")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2023.09.03) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.8.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2023.09.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Auto"),"\u81ea\u52a8\u8bbe\u7f6e\u663e\u793a\u7c7b\u578b\u548c\u89e6\u53d1\u7c7b\u578b"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Ring"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"gridIndex"),"\u652f\u6301\u8bbe\u7f6e\u6307\u5b9a\u7f51\u683c"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"gridIndex"),"\u652f\u6301\u8bbe\u7f6e\u6307\u5b9a\u7f51\u683c"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"gridIndex"),"\u652f\u6301\u8bbe\u7f6e\u6307\u5b9a\u7f51\u683c"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"GridLayout"),"\u7f51\u683c\u5e03\u5c40\u7ec4\u4ef6\u7528\u4e8e\u7ba1\u7406\u591a\u4e2a",(0,l.kt)("inlineCode",{parentName:"li"},"GridCoord"),"\u7684\u5e03\u5c40"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.25) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u591a\u4e2a\u65f6\u53ea\u663e\u793a\u4e00\u4e2a",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.25) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u5728\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"Clip"),"\u540e\u8fd8\u7ed8\u5236\u5728\u5750\u6807\u7cfb\u5916\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.24) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"YAxis"),"\u5728\u6570\u636e\u5168\u4e3a0\u65f6\u9ed8\u8ba4\u8bbe\u7f6e0-1\u7684\u8303\u56f4"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.23) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"YAxis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u53ef\u80fd\u4f1a\u91cd\u590d\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u663e\u793a\u9690\u85cf\u65f6\u7ed8\u5236\u8868\u73b0\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.22) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Zebra"),"\u6591\u9a6c\u67f1\u56fe\u7684\u7ed8\u5236\u8868\u73b0 (#276)"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.16) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Daemon"),"\u5b88\u62a4\u7a0b\u5e8f\uff0c\u89e3\u51b3\u672c\u5730\u5f00\u542fTMP\u540e\u66f4\u65b0\u7248\u672c\u62a5\u9519\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.15) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Data"),"\u6570\u636e\u5728-1\u52301\u4e4b\u95f4\u65f6\u5750\u6807\u8f74\u663e\u793a\u9519\u8bef\u7684\u95ee\u9898 (#273) (by @Ambitroc)"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.14) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts"),"\u672c\u5730\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"TextMeshPro"),"\u548c ",(0,l.kt)("inlineCode",{parentName:"li"},"NewInputSystem"),"\u540e\u66f4\u65b0\u7248\u672c\u4f1a\u62a5\u9519\u7684\u95ee\u9898 (#272)"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u5728\u8fd0\u884c\u65f6\u88ab\u5220\u9664\u65f6\u4f1a\u5f02\u5e38\u62a5\u9519\u7684\u95ee\u9898 (#269)"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5f00\u542f\u65f6\u53ef\u80fd\u4f1a\u5bfc\u81f4\u65e0\u6cd5\u6dfb\u52a0\u6570\u636e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u5355\u72ec\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"itemFormatter"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.10) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Trigger"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Item"),"\u65f6\u7684\u8868\u73b0"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u53ef\u901a\u8fc7\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"IconStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"color"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"clear"),"\u6765\u5b9e\u73b0\u52a8\u6001\u56fe\u6807\u989c\u8272\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.08) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"LabelLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"lineEndX"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.05) \u6574\u7406",(0,l.kt)("inlineCode",{parentName:"li"},"Examples"),"\u7684\u4ee3\u7801\uff0c\u5220\u9664\u4e0d\u5fc5\u8981\u7684\u7528\u4f8b"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LabelLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"lineEndX"),"\u53ef\u8bbe\u7f6e\u5f15\u5bfc\u7ebf\u56fa\u5b9aX\u4f4d\u7f6e\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Ring"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"avoidLabelOverlap"),"\u907f\u514d\u6587\u672c\u5806\u53e0\u7684\u652f\u6301 (#247)"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.03) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onSerieEnter"),"\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"onSerieExit"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"onSerieClick"),"\u56de\u8c03"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.02) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onSerieEnter"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"onSerieExit"),"\u56de\u8c03\u65e0\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.02) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Plus"),"\u52a0\u53f7\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Minus"),"\u51cf\u53f7\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.07.31) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"EmptyTriangle"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"EmptyDiamond"),"\u7684\u652f\u6301\uff0c\u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u8868\u73b0\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2023.07.31) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u7684\u9ed8\u8ba4\u914d\u7f6e\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2023.07.27) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"minRadius"),"\u53ef\u8bbe\u7f6e\u6700\u5c0f\u534a\u5f84"),(0,l.kt)("li",{parentName:"ul"},"(2023.07.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"MLValue"),"\u591a\u6837\u5f0f\u6570\u503c"),(0,l.kt)("li",{parentName:"ul"},"(2023.07.25) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"XLog"),"\u65e5\u5fd7\u7cfb\u7edf"),(0,l.kt)("li",{parentName:"ul"},"(2023.07.18) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u997c\u56fe\u7684\u4ea4\u4e92\u52a8\u753b\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2023.07.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Interaction"),"\u4ea4\u4e92\u52a8\u753b\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.07.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Addition"),"\u65b0\u589e\u52a8\u753b\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.07.11) \u91cd\u6784",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u52a8\u753b\u7cfb\u7edf\uff0c\u5b8c\u5584\u52a8\u753b\u4f53\u9a8c"),(0,l.kt)("li",{parentName:"ul"},"(2023.06.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PolarCood"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"indicatorLabelOffset"),"\u8bbe\u7f6e\u6307\u793a\u6587\u672c\u504f\u79fb\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.06.30) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"IndicatorLabel"),"\u7684\u80cc\u666f\u989c\u8272\u53ef\u80fd\u4e0d\u6b63\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.06.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"IndicatorLabel"),"\u53ef\u81ea\u5b9a\u4e49",(0,l.kt)("inlineCode",{parentName:"li"},"color"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.06.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatterFunction"),"\u5728\u6570\u503c\u8f74\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"value"),"\u4e0d\u5bf9\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v370"},"v3.7.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"HelpDoc"),"\u5b98\u7f51\u5e2e\u52a9\u6587\u6863\u8df3\u8f6c"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Clip"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u8303\u56f4\u8bbe\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"\u5176\u4ed6\u4f18\u5316\u548c\u4fee\u590d")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2023.06.08) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.7.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2023.06.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"HelpDoc"),"\u5e2e\u52a9\u6587\u6863\u8df3\u8f6c"),(0,l.kt)("li",{parentName:"ul"},"(2023.05.30) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684\u540d\u5b57\u5e26",(0,l.kt)("inlineCode",{parentName:"li"},"_"),"\u7ebf\u5bfc\u81f4",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u65e0\u6cd5\u89e6\u53d1\u7684\u95ee\u9898 (#259) (by @svr2kos2)"),(0,l.kt)("li",{parentName:"ul"},"(2023.05.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"MinMaxAuto"),"\u8303\u56f4\u7c7b\u578b"),(0,l.kt)("li",{parentName:"ul"},"(2023.05.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Clip"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.05.04) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u5728-1\u52301\u8303\u56f4\u65f6\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"CeilRate"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.05.04) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"MinMax"),"\u7c7b\u578b\u8303\u56f4\u8ba1\u7b97"),(0,l.kt)("li",{parentName:"ul"},"(2023.05.04) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u5728\u6570\u636e\u90fd\u662f\u5c0f\u4e8e1\u7684\u6d6e\u70b9\u6570\u65f6\u663e\u793a",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u683c\u5f0f\u4e0d\u5bf9\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.05.04) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Theme"),"\u5728\u4fee\u6539\u9ed8\u8ba4\u4e3b\u9898\u7684\u53c2\u6570\u540e\u8fd0\u884c\u88ab\u91cd\u7f6e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.05.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u9009\u62e9",(0,l.kt)("inlineCode",{parentName:"li"},"Custom"),"\u7c7b\u578b\u65f6\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Warning"),"\u63d0\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2023.04.15) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5728\u591a\u4e2a\u56fe\u8868\u65f6\u53ef\u80fd\u5f02\u5e38\u7684\u95ee\u9898 (#252)"),(0,l.kt)("li",{parentName:"ul"},"(2023.04.14) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5728\u53ea\u6709\u4e00\u4e2a\u6570\u636e\u65f6\u53ef\u80fd\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.04.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"TriggerTooltip()"),"\u63a5\u53e3\u5c1d\u8bd5\u89e6\u53d1",(0,l.kt)("inlineCode",{parentName:"li"},"ToolTip")),(0,l.kt)("li",{parentName:"ul"},"(2023.04.12) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"RadarCood"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"startAngle"),"\u65f6\u6587\u672c\u4e5f\u8ddf\u968f\u8c03\u6574\u4f4d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2023.04.12) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u5bf9\u901a\u914d\u7b26",(0,l.kt)("inlineCode",{parentName:"li"},"{b}"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.04.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Inspector"),"\u5728\u52a8\u6001\u6dfb\u52a0\u7ec4\u4ef6\u65f6\u53ef\u80fd\u5f02\u5e38\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v360"},"v3.6.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"InputSystem"),"\u652f\u6301 (by @Bian-Sh)"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u5b98\u7f51",(0,l.kt)("a",{parentName:"li",href:"https://xcharts-team.github.io/examples/"},"\u5728\u7ebf\u793a\u4f8b"),"\u591a\u7248\u672c\u652f\u6301 (by @SHL-COOL)"),(0,l.kt)("li",{parentName:"ul"},"\u5b8c\u5584\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"VR"),"\u7684\u652f\u6301 (by @Ambitroc)"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"UITable"),"\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"UIStatistic"),"\u7b49",(0,l.kt)("a",{parentName:"li",href:"https://xcharts-team.github.io/docs/ui"},"\u6269\u5c55UI\u7ec4\u4ef6")),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"MarkColor")),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u901a\u914d\u7b26",(0,l.kt)("inlineCode",{parentName:"li"},"{h}"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7b49\u7ec4\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"\u91cd\u6784\u76f8\u5173",(0,l.kt)("inlineCode",{parentName:"li"},"API"),"\u63a5\u53e3\uff0c\u5b8c\u5584\u56de\u8c03\u63a5\u53e3"),(0,l.kt)("li",{parentName:"ul"},"\u4fee\u590d\u82e5\u5e72\u95ee\u9898")),(0,l.kt)("p",null,"\u5347\u7ea7\u6ce8\u610f\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u90e8\u5206\u63a5\u53e3\u6709\u8c03\u6574\uff0c\u53ef\u6839\u636e\u63d0\u793a\u66f4\u6362\u4e0b\u63a5\u53e3\u5373\u53ef\u3002")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2023.04.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.6.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2023.03.14) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"titleFormater"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"{b}"),"\u53ef\u80fd\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.03.14) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u5728\u6570\u636e\u4e3a0\u65f6\u4e0d\u7ed8\u5236\u67f1\u6761\u80cc\u666f\u7684\u95ee\u9898 (#250) (by @Ambitroc)"),(0,l.kt)("li",{parentName:"ul"},"(2023.03.12) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LabelStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"autoRotate"),"\u53ef\u8bbe\u7f6e\u6709\u89d2\u5ea6\u7684\u7ad6\u7248\u6587\u672c\u7684\u81ea\u52a8\u65cb\u8f6c"),(0,l.kt)("li",{parentName:"ul"},"(2023.03.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"VR"),"\u7b49\u5176\u4ed6\u975e\u9f20\u6807\u8f93\u5165\u65b9\u5f0f\u7684Point\u4f4d\u7f6e\u83b7\u53d6 (#248) (by @Ambitroc)"),(0,l.kt)("li",{parentName:"ul"},"(2023.03.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onSerieClick"),"\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"onSerieDown"),"\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"onSerieEnter"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"onSerieExit"),"\u56de\u8c03"),(0,l.kt)("li",{parentName:"ul"},"(2023.03.09) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u7684\u70b9\u51fb\u9009\u4e2d\u504f\u79fb\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.03.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Positions"),"\u53ef\u81ea\u5b9a\u4e49\u56fe\u4f8b\u7684\u4f4d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2023.03.03) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u53d8\u66f4\u52a8\u753b\u53ef\u80fd\u65e0\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.28) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u70b9\u51fb\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u4e0d\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"startEndFunction"),"\u59d4\u6258"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.12) \u91cd\u6784",(0,l.kt)("inlineCode",{parentName:"li"},"Component"),"\u76f8\u5173\u4ee3\u7801\uff0c\u8c03\u6574API\u63a5\u53e3"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.10) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Log"),"\u8f74\u65f6\u67d0\u4e9b\u60c5\u51b5\u4e0b\u6700\u5c0f\u503c\u4e0d\u6b63\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.10) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u6570\u503c",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u7684\u9ed8\u8ba4\u663e\u793a\u683c\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.08) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"startLock"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"endLock"),"\u53c2\u6570\u652f\u6301\u9501\u5b9a"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.02) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5f00\u542f\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"X\u8f74"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u53ef\u80fd\u4f1a\u663e\u793a\u5728\u56fe\u8868\u5916\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.02) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ignore"),"\u8bbe\u7f6e\u65f6\u7684\u5ffd\u7565\u6570\u636e\u5224\u65ad"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.01) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"XChartsMgr.ContainsChart()"),"\u63a5\u53e3\u5f02\u5e38"),(0,l.kt)("li",{parentName:"ul"},"(2023.01.31) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"InputSystem"),"\u7684\u652f\u6301 (#242) (by @Bian-Sh)"),(0,l.kt)("li",{parentName:"ul"},"(2023.01.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Inspector"),"\u4e0a\u79fb\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"Component"),"\u540e\u56fe\u8868\u6ca1\u6709\u53ca\u65f6\u5237\u65b0\u7684\u95ee\u9898 (#241)"),(0,l.kt)("li",{parentName:"ul"},"(2023.01.06) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u5728\u6700\u540e\u7684\u51e0\u4e2a\u6570\u636e\u90fd\u4e3a0\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u663e\u793a\u4e0d\u6b63\u5e38\u7684\u95ee\u9898 (#240)"),(0,l.kt)("li",{parentName:"ul"},"(2023.01.03) \u5220\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"MarkColor"),"\uff0c\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"MarkColor")),(0,l.kt)("li",{parentName:"ul"},"(2022.12.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Editor"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"List"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"+"),"\u6dfb\u52a0\u7f16\u8f91\u529f\u80fd"),(0,l.kt)("li",{parentName:"ul"},"(2022.12.29) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"UpdateXYData()"),"\u63a5\u53e3\u5f71\u54cd\u6570\u636e\u7cbe\u5ea6\u7684\u95ee\u9898 (#238)"),(0,l.kt)("li",{parentName:"ul"},"(2022.12.28) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u53ea\u6709\u4e00\u4e2a\u6570\u636e\u65f6\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"border"),"\u540e\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898 (#237)"),(0,l.kt)("li",{parentName:"ul"},"(2022.12.22) \u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"Covert"),"\u91cd\u547d\u540d\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Convert"),"\uff0c\u6d89\u53ca\u7684\u63a5\u53e3\u6709\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"ConvertXYAxis()"),"\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"CovertSerie()"),"\u7b49"),(0,l.kt)("li",{parentName:"ul"},"(2022.12.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Convert XY Axis"),"\u540eY\u8f74\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.12.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Value"),"\u8f74\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u8ba1\u7b97\u6570\u503c\u8303\u56f4\u4e0d\u51c6\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.12.12) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"{h}"),"\u901a\u914d\u7b26"),(0,l.kt)("li",{parentName:"ul"},"(2022.12.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u8bbe\u7f6e\u4e3a\u56fa\u5b9a\u503c\u65f6\u663e\u793a\u4e0d\u6b63\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.12.08) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AreaStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"toTop"),"\u53c2\u6570\u53ef\u8bbe\u7f6e\u6298\u7ebf\u56fe\u6e10\u53d8\u8272\u662f\u5230\u9876\u90e8\u8fd8\u662f\u5230\u5b9e\u9645\u4f4d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2022.12.07) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Formatter"),"\u7684\u6587\u672c\u901a\u914d\u7b26",(0,l.kt)("inlineCode",{parentName:"li"},"{h}"),"\u652f\u6301\u8bbe\u7f6e\u5f53\u524d\u989c\u8272\u503c")),(0,l.kt)("h2",{id:"v350"},"v3.5.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u8c03\u6574\u6587\u6863\u7ed3\u6784\uff0c\u589e\u52a0",(0,l.kt)("a",{parentName:"li",href:"https://xcharts-team.github.io"},"XCharts\u5b98\u65b9\u4e3b\u9875")),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0DataZoom\u6846\u9009\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0Bar\u7684\u6700\u5927\u5bbd\u5ea6\u8bbe\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u5176\u4ed6\u4f18\u5316")),(0,l.kt)("p",null,"\u5347\u7ea7\u6ce8\u610f\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u7531\u4e8e\u8c03\u6574\u4e86\u6587\u6863\u76ee\u5f55\u7ed3\u6784\uff0c\u5347\u7ea7\u524d\u5efa\u8bae\u5148\u5907\u4efd\uff0c\u518d\u5220\u9664\u539fXCharts\u540e\u518d\u5347\u7ea7")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.12.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.5.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"barMaxWidth"),"\u53ef\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u7684\u6700\u5927\u5bbd\u5ea6"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.30) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Shadow"),"\u7ed8\u5236\u4e0d\u8d85\u51fa\u56fe\u8868\u8303\u56f4"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.29) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u6307\u793a\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u6570\u636e\u9879\u7d22\u5f15\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.27) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisName"),"\u7684\u504f\u79fb\u8bbe\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.27) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Comment"),"\u7684\u4f4d\u7f6e\uff0c\u7528",(0,l.kt)("inlineCode",{parentName:"li"},"Location\u4ee3\u66ffPosition")),(0,l.kt)("li",{parentName:"ul"},"(2022.11.27) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"LineStyle"),"\u652f\u6301\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Shadow"),"\u65f6\u7684\u989c\u8272"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.27) \u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u6587\u6863\u7ed3\u6784"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.26) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"LabelLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"symbol"),"\u9ed8\u8ba4\u4e0d\u663e\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.26) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"XY"),"\u90fd\u4e3a\u6570\u503c\u8f74\u65f6\u6dfb\u52a0\u65e0\u5e8f\u6570\u636e\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.26) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u4ece\u53f3\u5f80\u5de6\u6846\u9009\u65f6\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.20) \u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"UdpateXAxisIcon()"),"\u63a5\u53e3\u91cd\u547d\u540d\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"UpdateXAxisIcon()")," (#235)"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.12) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"LabelLine"),"\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol")),(0,l.kt)("li",{parentName:"ul"},"(2022.11.12) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"MarqueeStyle"),"\u652f\u6301\u6846\u9009\u533a\u57df"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.10) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u5728\u7c7b\u578b\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Single"),"\u65f6\u7684\u533a\u57df\u989c\u8272\u586b\u5145\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.04) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"itemFormatter"),"\u8bbe\u7f6e\u901a\u914d\u7b26",(0,l.kt)("inlineCode",{parentName:"li"},"{d}"),"\u540e\u5f02\u5e38\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v340"},"v3.4.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"indicatorLabel"),"\uff0c\u53ef\u5355\u72ec\u8bbe\u7f6e\u4e0d\u540c\u7684\u6307\u793a\u6587\u672c\u6837\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"markColor"),"\u53ef\u8bbe\u7f6e\u6807\u8bc6\u989c\u8272"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"RadarCoord"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"startAngle"),"\u53ef\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u8d77\u59cb\u89d2\u5ea6"),(0,l.kt)("li",{parentName:"ul"},"\u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u6570\u503c\u95f4\u9694\u8868\u73b0"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5bf9\u6570\u503c\u8f74\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"SmoothLimit"),"\u53ef\u63a7\u5236\u5e73\u6ed1\u66f2\u7ebf\u4e0d\u540c\u6548\u679c")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.11.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.4.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"API"),"\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"AddData()"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"ClearSerieData()"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"ClearComponentData()")),(0,l.kt)("li",{parentName:"ul"},"(2022.10.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"indicatorLabel"),"\uff0c\u79fb\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"indicatorLabelStyle")," (#226)"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"markColor"),"\u53ef\u8bbe\u7f6e\u6807\u8bc6\u989c\u8272\u7528\u4e8e",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684\u5c55\u793a (#229)"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"RadarCoord"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"startAngle"),"\u53ef\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u8d77\u59cb\u89d2\u5ea6"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u5728\u53d7",(0,l.kt)("inlineCode",{parentName:"li"},"Layout"),"\u63a7\u5236\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u663e\u793a\u4e0d\u6b63\u5e38\u7684\u95ee\u9898 (#231)"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Unity2019.2"),"\u4e0a\u7684\u517c\u5bb9\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.18) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u6570\u503c\u8868\u73b0"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.15) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5f00\u542f\u65f6\u53ef\u80fd\u663e\u793a\u4e0d\u6b63\u5e38\u7684\u95ee\u9898 (#227)"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5bf9\u6570\u503c\u8f74\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.13) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u7684\u73af\u5f62\u997c\u56fe\u8bbe\u7f6e\u8fb9\u6846\u65f6\u6548\u679c\u5f02\u5e38\u7684\u95ee\u9898 (#225)"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.13) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Download"),"\u7684\u63a5\u53e3\u9020\u6210",(0,l.kt)("inlineCode",{parentName:"li"},"iOS"),"\u5e73\u53f0\u6253\u5305\u5931\u8d25\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.12) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"UnscaledTime"),"\u652f\u6301\u8bbe\u7f6e\u52a8\u753b\u662f\u5426\u53d7TimeScale\u7684\u5f71\u54cd (#223)"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.10) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Documentation~"),"\u6587\u6863\u683c\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"SmoothLimit"),"\u53ef\u63a7\u5236\u5e73\u6ed1\u66f2\u7ebf\u4e0d\u540c\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.05) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u9690\u85cf\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u8fd8\u663e\u793a\u4fe1\u606f\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.30) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u5728\u5f88\u5c0f\u5c3a\u5bf8\u65f6\u51fa\u73b0",(0,l.kt)("inlineCode",{parentName:"li"},"DivideByZeroException"),"\u5f02\u5e38\u7684\u95ee\u9898 (#230)")),(0,l.kt)("h2",{id:"v330"},"v3.3.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u4f18\u5316\u56fe\u8868\u7ec6\u8282\uff0c\u652f\u6301\u66f4\u591a\u529f\u80fd"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u5927\u91cf\u7684Demo\u793a\u4f8b"),(0,l.kt)("li",{parentName:"ul"},"\u5b8c\u5584\u6587\u6863\uff0c\u4fee\u590d\u82e5\u5e72\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"\u65b0\u589ePolarChart\u5bf9Bar\u3001Heatmap\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u65b0\u589eHeatmapChart\u70ed\u529b\u56fe\u7c7b\u578b"),(0,l.kt)("li",{parentName:"ul"},"\u5b8c\u5584Tooltip\u663e\u793a")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.09.28) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.3.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.26) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u5728\u7c7b\u76ee\u8f74\u65f6\u7684\u9ed8\u8ba4\u5206\u5272\u6bb5\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.25) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"API"),"\u6587\u6863\u4e2d\u90e8\u5206\u63a5\u53e3\u6ca1\u6709\u5bfc\u51fa\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.24) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"FunnelChart")),(0,l.kt)("li",{parentName:"ul"},"(2022.09.23) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"ParallelChart")),(0,l.kt)("li",{parentName:"ul"},"(2022.09.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SaveAsImage()"),"\u63a5\u53e3\u4fdd\u5b58\u56fe\u8868\u5230\u56fe\u7247"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"InsertSerie()"),"\u63a5\u53e3\u4e0d\u5237\u65b0\u56fe\u8868\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.21) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"PolarChart"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u70ed\u529b\u56fe\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PolarChart"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Heatmap"),"\u70ed\u529b\u56fe\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PolarChart"),"\u5bf9\u591a\u67f1\u56fe\u548c\u5806\u53e0\u67f1\u56fe\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.16) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PolarChart"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u67f1\u56fe\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PolarCoord"),"\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"radius"),"\u8bbe\u7f6e\u73af\u5f62\u6781\u5750\u6807\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.09) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Editor"),"\u4e0b\u7f16\u8f91\u53c2\u6570\u90e8\u5206\u7ec4\u4ef6\u53ef\u80fd\u4e0d\u4f1a\u5b9e\u65f6\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.08) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"RingChart"),"\u53ef\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"LabelLine"),"\u5f15\u5bfc\u7ebf\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.06) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieSymbol"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"minSize"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"maxSize"),"\u53c2\u6570\u8bbe\u7f6e\u6700\u5927\u6700\u5c0f\u5c3a\u5bf8\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.06) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisSplitLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"showStartLine"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"showEndLine"),"\u53c2\u6570\u8bbe\u7f6e\u662f\u5426\u663e\u793a\u9996\u4f4d\u5206\u5272\u7ebf\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.06) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Heatmap"),"\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"symbol"),"\u8bbe\u7f6e\u4e0d\u540c\u7684\u56fe\u6848\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.05) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Heatmap"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"heatmapType"),"\u652f\u6301\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Data"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Count"),"\u4e24\u79cd\u4e0d\u540c\u6620\u5c04\u65b9\u5f0f\u7684\u70ed\u529b\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.05) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5728\u70ed\u529b\u56fe\u4e3a\u6570\u503c\u8f74\u65f6\u7684\u6307\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.02) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"onPointerEnterPie"),"\u56de\u8c03\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.02) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"HeatmapChart")),(0,l.kt)("li",{parentName:"ul"},"(2022.08.30) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart")),(0,l.kt)("li",{parentName:"ul"},"(2022.08.30) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u8ba1\u7b97\u8303\u56f4\u4e0d\u51c6\u786e\u7684\u95ee\u9898 (#221)"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.29) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u5728\u6570\u636e\u8fc7\u5bc6\u65f6\u7684\u9ed8\u8ba4\u8868\u73b0"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.29) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"YAxis"),"\u5728\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u65f6\u7684\u6700\u5927\u6700\u5c0f\u503c\u8ba1\u7b97"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.29) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"CandlestickChart"),"\u5927\u91cf\u6570\u636e\u7ed8\u5236"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.28) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u5728\u5806\u53e0\u548c\u81ea\u5b9a\u4e49Y\u8f74\u8303\u56f4\u7684\u60c5\u51b5\u4e0b\u663e\u793a\u4e0d\u6b63\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u65b0\u56fe\u6807\u7c7b\u578b",(0,l.kt)("inlineCode",{parentName:"li"},"Candlestick")),(0,l.kt)("li",{parentName:"ul"},"(2022.08.26) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"CandlestickChart"),"\u8868\u73b0\uff0c\u8c03\u6574\u76f8\u5173\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AddData()"),"\u63a5\u53e3\u53c2\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"position"),"\u53c2\u6570\u652f\u6301\u8bbe\u7f6e\u79fb\u52a8\u5e73\u53f0\u4e0d\u540c\u7684\u663e\u793a\u4f4d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.26) \u5220\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"fixedXEnable"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"fixedYEnable"),"\u53c2\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.25) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"EmphasisStyle"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.25) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"{d3}"),"\u6307\u5b9a\u7ef4\u5ea6\u6570\u636e\u767e\u5206\u6bd4\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.24) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"ScatterChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u4e0d\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.24) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u67d0\u4e9b\u60c5\u51b5\u4e0b\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v320"},"v3.2.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u652f\u6301\u9ad8\u4eae\uff0c\u6de1\u51fa\u548c\u9009\u4e2d\u4e09\u72b6\u6001\u914d\u7f6e\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"EmphasisStyle"),",",(0,l.kt)("inlineCode",{parentName:"li"},"BlurStyle"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"SelectStyle")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u652f\u6301\u5750\u6807\u8f74\u6b21\u523b\u5ea6\u548c\u6b21\u5206\u5272\u7ebf\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"MinorTick"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"MinorSplitLine")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u652f\u6301\u4e0d\u540c\u7684\u53d6\u8272\u7b56\u7565\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"colorBy")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u652f\u6301\u5e73\u6ed1\u66f2\u7ebf\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"smooth")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u652f\u6301\u5f53\u4f5c\u51f8\u591a\u8fb9\u5f62\u586b\u5145\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"AreaStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"innerFill")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u652f\u6301\u65f6\u95f4\u8f74"),(0,l.kt)("li",{parentName:"ul"},"\u5176\u4ed6\u4f18\u5316\u548c\u4fee\u590d")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.08.16) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.2.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.15) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Smooth"),"\u8d1d\u585e\u5c14\u66f2\u7ebf\u7b97\u6cd5"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.13) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7ec4\u4ef6\u5f00\u542f\u65f6\u56fe\u8868\u663e\u793a\u6548\u679c\u53ef\u80fd\u4e0d\u6b63\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.11) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"ignoreDataDefaultContent")),(0,l.kt)("li",{parentName:"ul"},"(2022.08.10) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u57283D\u76f8\u673a\u4e0b\u90e8\u5206\u7ec4\u4ef6\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.10) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"RemoveSerie()"),"\u63a5\u53e3\u4e0d\u751f\u6548\u7684\u95ee\u9898 (#219)"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.10) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Theme"),"\u7684\u5b57\u4f53\u540c\u6b65\u64cd\u4f5c"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.10) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u7684\u9ed8\u8ba4",(0,l.kt)("inlineCode",{parentName:"li"},"layer"),"\u8bbe\u7f6e\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"UI")),(0,l.kt)("li",{parentName:"ul"},"(2022.08.09) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Time"),"\u65f6\u95f4\u8f74\u7684\u6b21\u5206\u5272\u7ebf"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AreaStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"innerFill"),"\u53c2\u6570\u652f\u6301\u586b\u5145\u51f8\u591a\u8fb9\u5f62"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.08) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684\u6570\u636e\u9879\u7d22\u5f15\u7ef4\u62a4\uff0c\u589e\u52a0\u68c0\u6d4b\u548c\u4fee\u590d\u529f\u80fd\uff0c\u4fee\u590d\u76f8\u5173\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.29) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Unity"),"\u7248\u672c\u517c\u5bb9\uff1a\u5728\u67d0\u4e9b\u7248\u672c\u5bfc\u5165\u540e\u56fe\u8868\u521b\u5efa\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Time"),"\u65f6\u95f4\u8f74\u65f6\uff0c\u652f\u6301\u6b21\u523b\u5ea6\u548c\u6b21\u5206\u5272\u7ebf"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.28) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u96f7\u8fbe\u56fe\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.28) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"colorBy"),"\u53c2\u6570\u914d\u7f6e\u53d6\u8272\u7b56\u7565"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.27) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"StateStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u7528\u4e8e\u914d\u7f6e\u72b6\u6001\u4e0b\u7684\u6807\u8bb0\u6837\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.27) \u53bb\u6389",(0,l.kt)("inlineCode",{parentName:"li"},"SerieSymbol"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"selectedSize"),"\u53c2\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.24) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"state"),"\u8bbe\u7f6e\u9ed8\u8ba4\u72b6\u6001"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684\u4e09\u79cd\u72b6\u6001",(0,l.kt)("inlineCode",{parentName:"li"},"EmphasisStyle"),",",(0,l.kt)("inlineCode",{parentName:"li"},"BlurStyle"),",",(0,l.kt)("inlineCode",{parentName:"li"},"SelectStyle")),(0,l.kt)("li",{parentName:"ul"},"(2022.07.22) \u53bb\u6389",(0,l.kt)("inlineCode",{parentName:"li"},"AreaStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"highlightColor"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"highlightToColor"),"\u53c2\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.22) \u53bb\u6389",(0,l.kt)("inlineCode",{parentName:"li"},"Emphasis"),",",(0,l.kt)("inlineCode",{parentName:"li"},"EmphasisItemStyle"),",",(0,l.kt)("inlineCode",{parentName:"li"},"EmphasisLabelStyle"),",",(0,l.kt)("inlineCode",{parentName:"li"},"EmphasisLabelLine"),"\u7ec4\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Since"),"\u7279\u6027\u5bf9\u7c7b\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.20) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Value"),"\u8f74\u65f6\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"showStartLabel"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"showEndLabel"),"\u53c2\u6570\u8bbe\u7f6e\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"MinorSplitLine"),"\u8bbe\u7f6e\u5750\u6807\u8f74\u6b21\u5206\u5272\u7ebf"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"MinorTick"),"\u8bbe\u7f6e\u5750\u6807\u8f74\u6b21\u523b\u5ea6"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.17) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"smooth"),"\u53c2\u6570\u8bbe\u7f6e\u5e73\u6ed1\u66f2\u7ebf"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Time"),"\u65f6\u95f4\u8f74\u7684\u652f\u6301")),(0,l.kt)("h2",{id:"v310"},"v3.1.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis")),(0,l.kt)("li",{parentName:"ul"},"\u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip")),(0,l.kt)("li",{parentName:"ul"},"\u4f18\u5316\u5e73\u6ed1\u66f2\u7ebf\u7b97\u6cd5"),(0,l.kt)("li",{parentName:"ul"},"\u4f18\u5316\u4ee3\u7801\u52a8\u6001\u521b\u5efa\u56fe\u8868"),(0,l.kt)("li",{parentName:"ul"},"\u5b8c\u5584\u914d\u7f6e\u9879\u624b\u518c"),(0,l.kt)("li",{parentName:"ul"},"\u4fee\u590d\u82e5\u5e72\u95ee\u9898")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.07.12) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.1.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ignoreLineBreak"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.07) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"minMaxType"),"\u6307\u5b9a\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"MinMax"),"\u65f6\u652f\u6301\u7cbe\u786e\u5230\u5c0f\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.05) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u91cc\u6709\u591a\u4e2a\u5750\u6807\u7cfb\u65f6\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898 (#210)"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Settings"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"axisMaxSplitNumber"),"\u53c2\u6570\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u6700\u5927\u5206\u9694\u6bb5\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.04) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u5728\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"offset"),"\u540e",(0,l.kt)("inlineCode",{parentName:"li"},"Tick"),"\u7ed8\u5236\u4f4d\u7f6e\u5f02\u5e38\u7684\u95ee\u9898 (#209)"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.03) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatterFunction"),"\u81ea\u5b9a\u4e49\u59d4\u6258"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.03) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisName"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onZero"),"\u53c2\u6570\u652f\u6301\u8bbe\u7f6e\u5750\u6807\u8f74\u540d\u79f0\u4f4d\u7f6e\u662f\u5426\u548cY\u8f740\u523b\u5ea6\u4e00\u81f4 (#207)"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.02) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7528\u4ee3\u7801\u52a8\u6001\u521b\u5efa\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u4e0d\u6b63\u5e38\u7684\u95ee\u9898 (#206)"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.02) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"YAxis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"onZero"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.02) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u4ee3\u7801\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"distance"),"\u5c5e\u6027\u540e\u4e00\u76f4\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.30) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Runtime"),"\u4e0b\u4ee3\u7801\u521b\u5efa\u56fe\u8868\u65f6\u7ec4\u4ef6\u65e0\u6cd5\u521d\u59cb\u5316\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"itemFormatter"),"\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"{c0}"),"\u663e\u793a\u5404\u7ef4\u5ea6\u6570\u636e (#205)"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.28) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"avoidLabelOverlap"),"\u65f6\u7684\u6587\u672c\u8868\u73b0 (#56)"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.25) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u7684\u5e73\u6ed1\u66f2\u7ebf\u8868\u73b0 (#169)"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.25) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5f00\u542f\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u663e\u793a\u6570\u636e\u4e0d\u4e00\u81f4\u7684\u95ee\u9898 (#203)"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.25) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Toolip"),"\u5728\u7c7b\u76ee\u8f74\u65e0\u6570\u636e\u65f6\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898 (#204)"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.25) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"PlaceHolder"),"\u65f6\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u8868\u73b0"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.25) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Since"),"\u7279\u6548\u7528\u4e8e\u6807\u8bc6\u914d\u7f6e\u53c2\u6570\u4ece\u54ea\u4e2a\u7248\u672c\u5f00\u59cb\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.24) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Painter"),"\u7ed8\u5236\u5c42\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"Top"),"\u5c42\u7ec6\u5206\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Upper"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Top"),"\u5c42"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.24) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Background"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Padding"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"TextStyle"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"TextMeshPro"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Sprite Asset"),"\u652f\u6301 (#201)"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.20) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684\u8fb9\u754c\u9650\u5236 (#202)"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.20) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"TextMeshPro"),"\u5f00\u542f\u65f6\u7f16\u8bd1\u9519\u8bef"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.20) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684\u6e10\u51fa\u52a8\u753b\u4e0d\u751f\u6548\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v301"},"v3.0.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.06.16) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.16) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Inspector"),"\u4e0a\u90e8\u5206",(0,l.kt)("inlineCode",{parentName:"li"},"foldout"),"\u7bad\u5934\u70b9\u51fb\u65e0\u6cd5\u5c55\u5f00\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.15) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Doc"),"\u81ea\u52a8\u751f\u6210\uff0c\u5b8c\u5584\u4ee3\u7801\u6ce8\u91ca\u548c\u914d\u7f6e\u9879\u624b\u518c\u6587\u6863"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.14) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabelStyle"),"\uff0c\u652f\u6301\u52a8\u6001\u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"Icon")),(0,l.kt)("li",{parentName:"ul"},"(2022.06.13) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Background"),"\u80cc\u666f\u8bbe\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"autoColor")),(0,l.kt)("li",{parentName:"ul"},"(2022.06.08) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u5728\u8bbe\u7f6e\u4e0d\u663e\u793a\u65f6\u8fd8\u663e\u793a\u9996\u5c3e\u4e24\u4e2a",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v300"},"v3.0.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u66f4\u5065\u58ee\u7684\u5e95\u5c42\u6846\u67b6\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u66f4\u5f3a\u5927\u7684\u6027\u80fd\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u66f4\u5c0f\u7684\u5e8f\u5217\u5316\u6587\u4ef6\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u66f4\u597d\u7684\u4ea4\u4e92\u4f53\u9a8c\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u66f4\u591a\u7684\u7ec4\u4ef6\u652f\u6301\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u66f4\u5f3a\u5927\u7684\u6587\u672c\u81ea\u8ff0\u80fd\u529b\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u66f4\u5408\u7406\u7684\u7ec4\u4ef6\u8c03\u6574\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u66f4\u7075\u6d3b\u7684\u7ec4\u4ef6\u63d2\u62d4\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u66f4\u9ad8\u6548\u7684\u4e8c\u6b21\u5f00\u53d1\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u66f4\u4e30\u5bcc\u7684Demo\u793a\u4f8b\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Time"),"\u65f6\u95f4\u8f74\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SingleAxis"),"\u5355\u8f74\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Comment"),"\u6587\u672c\u7ec4\u4ef6\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Widgets"),"\u5c0f\u7ec4\u4ef6\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u591a\u79cd\u5750\u6807\u7cfb\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"Grid"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Polar"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"SingleAxis"),"\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u591a\u79cd\u52a8\u753b\u65b9\u5f0f\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u591a\u79cd\u56fe\u8868\u4ea4\u4e92\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u56fd\u9645\u5316\u652f\u6301\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u591a\u79cd\u6269\u5c55\u56fe\u8868\u3002")),(0,l.kt)("h2",{id:"v300-preivew9"},"v3.0.0-preivew9"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.05.06) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.0-preivew9"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.05.05) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"color"),"\u65f6\u7684\u4e00\u81f4\u6027"),(0,l.kt)("li",{parentName:"ul"},"(2022.05.05) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Dash"),",",(0,l.kt)("inlineCode",{parentName:"li"},"Dot"),"\u7b49\u7684\u652f\u6301 (#197)"),(0,l.kt)("li",{parentName:"ul"},"(2022.05.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684\u59d4\u6258\u56de\u8c03"),(0,l.kt)("li",{parentName:"ul"},"(2022.05.04) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Label")),(0,l.kt)("li",{parentName:"ul"},"(2022.05.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"clip"),"\u7684\u652f\u6301 (#196)"),(0,l.kt)("li",{parentName:"ul"},"(2022.05.01) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"RingChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u4e0d\u5237\u65b0\u7684\u95ee\u9898 (#195)"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u652f\u6301\u81ea\u5b9a\u4e49\u80cc\u666f\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.27) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u4ee3\u7801\u4fee\u6539",(0,l.kt)("inlineCode",{parentName:"li"},"color"),"\u4e0d\u5237\u65b0\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v300-preivew8"},"v3.0.0-preivew8"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.04.26) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.0-preivew8"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.23) \u79fb\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"IconStyle"),"\u7ec4\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.23) \u5f3a\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"LabelStyle"),"\uff0c\u6240\u6709\u7ec4\u4ef6\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"TextStyle"),"\u90fd\u5347\u7ea7\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"LabelStyle")),(0,l.kt)("li",{parentName:"ul"},"(2022.04.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"rotate"),"\u652f\u6301\u8bbe\u7f6e\u65cb\u8f6c"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.17) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u5728\u6570\u503c\u4e3a\u8d1f\u6570\u65f6\u52a8\u753b\u65e0\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.17) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"BorderGap"),"\u652f\u6301\u8bbe\u7f6e\u8fb9\u6846\u95f4\u8ddd"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.16) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Border"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Capsule"),"\u80f6\u56ca\u67f1\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Liquid"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Round Rect"),"\u5706\u89d2\u77e9\u5f62\u6c34\u4f4d\u56fe\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"EndLabel"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.13) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"VisualMap"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"workOnLine"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"workOnArea"),"\u652f\u6301\u6298\u7ebf\u548c\u533a\u57df\u6620\u5c04\u529f\u80fd (#191)"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.12) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"Area"),"\u533a\u57df\u89e6\u53d1",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip")),(0,l.kt)("li",{parentName:"ul"},"(2022.04.09) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"VisualMap")),(0,l.kt)("li",{parentName:"ul"},"(2022.04.09) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"))),(0,l.kt)("h2",{id:"v300-preivew7"},"v3.0.0-preivew7"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.04.07) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.0-preivew7"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.07) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u989c\u8272\u4e0d\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.03.31) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Add Main Component"),"\u6dfb\u52a0\u7ec4\u4ef6\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.03.30) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u65e0\u6cd5\u81ea\u5b9a\u4e49",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u989c\u8272\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v300-preivew6"},"v3.0.0-preivew6"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.03.30) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.0-preivew6"),"\u7248\u672c")),(0,l.kt)("h2",{id:"v300-preivew5"},"v3.0.0-preivew5"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.03.26) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.0-preivew5"),"\u7248\u672c")),(0,l.kt)("h2",{id:"v300-preivew4"},"v3.0.0-preivew4"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.03.21) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.0-preivew4"),"\u7248\u672c")),(0,l.kt)("h2",{id:"v300-preivew3"},"v3.0.0-preivew3"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.03.09) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.0-preivew3"),"\u7248\u672c")),(0,l.kt)("h2",{id:"v300-preivew2"},"v3.0.0-preivew2"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.01.08) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.0-preivew2"),"\u7248\u672c")),(0,l.kt)("h2",{id:"v300-preivew1"},"v3.0.0-preivew1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.01.07) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.0-preivew1"),"\u7248\u672c")),(0,l.kt)("h2",{id:"v282"},"v2.8.2"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.08.15) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.8.2"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"HeatmapChart"),"\u5bf9\u81ea\u5b9a\u4e49",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.13) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u5237\u65b0\u5f02\u5e38\u7684\u95ee\u9898 #215"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.30) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u8ba9",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684\u5c42\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Indicator"),"\u4e4b\u4e0a")),(0,l.kt)("h2",{id:"v281"},"v2.8.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.05.06) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.8.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.05.03) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onLegendClick"),",",(0,l.kt)("inlineCode",{parentName:"li"},"onLegendEnter"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"onLegendExit"),"\u59d4\u6258\u56de\u8c03"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"RingChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5f02\u5e38\u7684\u95ee\u9898 #192"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"minShowNum"),"\u65f6\u53ef\u80fd\u4f1a\u62a5\u9519\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v280"},"v2.8.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.04.10) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.8.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Debug"),"\u8c03\u8bd5\u4fe1\u606f\u9762\u677f"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.09) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"VisualMap"),"\u67d0\u4e9b\u60c5\u51b5\u4e0b\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.08) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts"),"\u521d\u59cb\u5316 #190"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.08) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u7684\u989c\u8272\u5f02\u5e38\u95ee\u9898 #187"),(0,l.kt)("li",{parentName:"ul"},"(2022.03.24) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u7cbe\u5ea6\u95ee\u9898 #184")),(0,l.kt)("h2",{id:"v270"},"v2.7.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.03.20) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.7.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.02.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"chartName"),"\u91cd\u590d\u68c0\u6d4b\u95ee\u9898 #183"),(0,l.kt)("li",{parentName:"ul"},"(2022.02.17) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"SplitLine"),"\u53ef\u80fd\u4f1a\u663e\u793a\u5728\u5750\u6807\u7cfb\u5916\u7684\u95ee\u9898 #181"),(0,l.kt)("li",{parentName:"ul"},"(2022.02.08) \u4fee\u590d\u6570\u636e\u51680\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"{d}"),"\u663e\u793a\u4e0d\u6b63\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.02.08) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"YAxis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onZero"),"\u53c2\u6570\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.01.06) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Zebra"),"\u6591\u9a6c\u67f1\u56fe")),(0,l.kt)("h2",{id:"v260"},"v2.6.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.12.30) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.6.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.12.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Emphasis"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.12.17) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u5728\u8fd0\u884c\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u4e0d\u81ea\u52a8\u5237\u65b0\u663e\u793a\u9690\u85cf\u7684\u95ee\u9898 #178"),(0,l.kt)("li",{parentName:"ul"},"(2021.12.10) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLine"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"SplitLine"),"\u53ef\u5355\u72ec\u63a7\u5236"),(0,l.kt)("li",{parentName:"ul"},"(2021.12.08) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u9690\u85cf\u540e",(0,l.kt)("inlineCode",{parentName:"li"},"Y"),"\u8f74\u6700\u5927\u503c\u4e0d\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.12.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u65b0\u7c7b\u578b\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"EmptyRect"),",",(0,l.kt)("inlineCode",{parentName:"li"},"EmptyTriangle"),",",(0,l.kt)("inlineCode",{parentName:"li"},"EmptyDiamond")),(0,l.kt)("li",{parentName:"ul"},"(2021.12.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Empty"),"\u533a\u57df\u989c\u8272\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"backgroundColor"),"\u8bbe\u7f6e\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2021.12.03) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Formatter"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"{c}"),"\u901a\u914d\u7b26\u4e0d\u751f\u6548\u7684\u95ee\u9898 #175"),(0,l.kt)("li",{parentName:"ul"},"(2021.12.03) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"boundaryGap"),"\u67d0\u4e9b\u60c5\u51b5\u4e0b\u663e\u793a\u7684\u95ee\u9898 #174"),(0,l.kt)("li",{parentName:"ul"},"(2021.11.30) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ignore"),"\u67d0\u4e9b\u60c5\u51b5\u4e0b\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898 #173")),(0,l.kt)("h2",{id:"v250"},"v2.5.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.11.27) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.5.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.11.27) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"positionFunction"),"\u7684\u5750\u6807\u8bbe\u7f6e\u59d4\u6258\u51fd\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2021.10.29) \u79fb\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts"),"\u9996\u6b21\u5bfc\u5165\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"TextMeshPro"),"\u7684\u76f8\u5173\u8bbe\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2021.10.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5bf9\u901a\u914d\u7b26",(0,l.kt)("inlineCode",{parentName:"li"},"{e}"),"\u7684\u652f\u6301 #170"),(0,l.kt)("li",{parentName:"ul"},"(2021.09.08) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart")),(0,l.kt)("li",{parentName:"ul"},"(2021.09.07) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u6e10\u51fa\u52a8\u753b\u7ed3\u675f\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u6ca1\u6709\u6d88\u5931\u7684\u95ee\u9898 #168"),(0,l.kt)("li",{parentName:"ul"},"(2021.09.06) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"GaugeChart"),"\u7528\u4ee3\u7801\u6539\u53d8",(0,l.kt)("inlineCode",{parentName:"li"},"splitNumber"),"\u4e0d\u4f1a\u5237\u65b0",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u7684\u95ee\u9898 #167")),(0,l.kt)("h2",{id:"v240"},"v2.4.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u6298\u7ebf\u56fe\u652f\u6301\u5ffd\u7565\u6570\u636e\u7684\u8fde\u7ebf\u662f\u65ad\u5f00\u8fd8\u662f\u8fde\u63a5"),(0,l.kt)("li",{parentName:"ul"},"\u6298\u7ebf\u56fe\u652f\u6301\u8f68\u8ff9\u5300\u901f\u52a8\u753b"),(0,l.kt)("li",{parentName:"ul"},"\u5176\u4ed6\u4f18\u5316\u548c\u95ee\u9898\u4fee\u590d")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.08.31) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.4.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.31) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"RingChart"),"\u7684\u6e10\u53d8\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.31) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u62d6\u52a8\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u4e0d\u5237\u65b0\u7684\u95ee\u9898 (#165)"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.25) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Theme"),"\u4e3b\u9898\u5207\u6362\u65e0\u6cd5\u4fdd\u6301\u5230\u573a\u666f\u4e0a\u7684\u95ee\u9898 (#166)"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.24) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"alongWithLinePath"),"\u53c2\u6570\u8bbe\u7f6e\u6298\u7ebf\u8f68\u8ff9\u5300\u901f\u52a8\u753b"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ignoreLineBreak"),"\u53c2\u6570\u8bbe\u7f6e\u5ffd\u7565\u6570\u636e\u8fde\u7ebf\u662f\u5426\u65ad\u5f00 (#164)"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5f00\u542f\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u53ef\u80fd\u4e0d\u66f4\u65b0\u7684\u95ee\u9898 (#164)"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.15) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u6587\u672c\u65cb\u8f6c\u8bbe\u7f6e\uff0c\u907f\u514d\u5728DataZoom\u5f00\u542f\u65f6\u504f\u79fb\u4e0d\u4e00\u81f4 (#163)"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"textAutoColor"),"\u8bbe\u7f6e\u6587\u672c\u989c\u8272\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u4e00\u81f4 (#163)"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.12) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Corner"),"\u65f6\u6b63\u8d1f\u67f1\u6761\u5706\u89d2\u5bf9\u79f0"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.03) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684\u6570\u636e\u5168\u4e3a0\u65f6Y\u8f74\u4e0d\u663e\u793a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.29) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"ignore"),"\u65f6\u88ab\u5ffd\u7565\u7684\u6570\u636e\u8fd8\u4f1a\u53c2\u4e0e\u8ba1\u7b97\u7684\u95ee\u9898 (#161)"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.29) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Zebra"),"\u6591\u9a6c\u67f1\u56fe\u6e10\u53d8\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.26) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"TextMeshPro Enable"),"\u65f6\u627e\u4e0d\u5230",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts"),"\u8def\u5f84\u7684\u95ee\u9898 (#160)")),(0,l.kt)("h2",{id:"v230"},"v2.3.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u6570\u636e\u5b58\u50a8\u7531",(0,l.kt)("inlineCode",{parentName:"li"},"float"),"\u5347\u7ea7\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"double")),(0,l.kt)("li",{parentName:"ul"},"\u65b0\u589e",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u6807\u7ebf"),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u4e0b\u53ef\u7528",(0,l.kt)("inlineCode",{parentName:"li"},"IconStyle"),"\u7edf\u4e00\u914d\u7f6e\u56fe\u6807"),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u652f\u6301\u7528\u4ee3\u7801\u81ea\u5b9a\u4e49\u663e\u793a\u6837\u5f0f"),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5b8c\u5584"),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u4f18\u5316"),(0,l.kt)("li",{parentName:"ul"},"\u95ee\u9898\u4fee\u590d")),(0,l.kt)("p",null,"\u5347\u7ea7\u6ce8\u610f\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u7531\u4e8e\u6570\u636e\u7c7b\u578b\u5347\u7ea7\u4e3a\u4e86",(0,l.kt)("inlineCode",{parentName:"li"},"double"),"\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"float"),"\u9690\u5f0f\u8f6c",(0,l.kt)("inlineCode",{parentName:"li"},"double"),"\u53ef\u80fd\u6709\u7cbe\u5ea6\u95ee\u9898\uff0c\u6240\u4ee5\u5efa\u8bae\u4e4b\u524d\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"float"),"\u7684\u6570\u636e\u7c7b\u578b\u90fd\u624b\u52a8\u6539\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"double"),"\u7c7b\u578b\u3002")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.07.24) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.3.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.22) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"SerieSymbol"),"\u4ee5\u652f\u6301\u8c61\u5f62\u67f1\u56fe",(0,l.kt)("inlineCode",{parentName:"li"},"PictorialBarChart"),"\u6269\u5c55"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.19) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"WdbGL"),"\u5e73\u53f0\u4e0a",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u4e0d\u663e\u793a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.18) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"iconStyle"),"\u7edf\u4e00\u914d\u7f6e\u56fe\u6807"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u6807\u7ebf (#142)"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.09) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"serieData.show"),"\u8bbe\u7f6e\u662f\u5426\u663e\u793a\u67f1\u6761"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.08) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"data"),"\u6570\u636e\u5b58\u50a8\u7c7b\u578b\u7531",(0,l.kt)("inlineCode",{parentName:"li"},"float"),"\u5168\u90e8\u8f6c\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"double")),(0,l.kt)("li",{parentName:"ul"},"(2021.07.05) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"avoidLabelOverlap"),"\u53c2\u6570\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.04) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u9009\u4e2d\u6247\u533a\u540e\u9f20\u6807\u533a\u57df\u6307\u793a\u4e0d\u51c6\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.04) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Inside"),"\u65f6\u53ef\u901a\u8fc7\u53c2\u6570",(0,l.kt)("inlineCode",{parentName:"li"},"Margin"),"\u8c03\u8282\u504f\u79fb"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"supportInsideScroll"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"supportInsideDrag"),"\u53c2\u6570\u8bbe\u7f6e\u5750\u6807\u7cfb\u5185\u662f\u5426\u652f\u6301\u6eda\u52a8\u548c\u62d6\u62fd"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.27) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"showStartLabel"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"showEndLabel"),"\u53c2\u6570\u8bbe\u7f6e\u9996\u5c3e\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u662f\u5426\u663e\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.27) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u59d4\u6258\u65b9\u6cd5 (#145)"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.27) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"orient"),"\u53c2\u6570\u8bbe\u7f6e\u6c34\u5e73\u6216\u5782\u76f4\u6837\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"IconStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"autoHideWhenLabelEmpty"),"\u53c2\u6570\u8bbe\u7f6e\u5f53",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u4e3a\u7a7a\u65f6\u662f\u5426\u81ea\u52a8\u9690\u85cf\u56fe\u6807")),(0,l.kt)("h2",{id:"v223"},"v2.2.3"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.06.20) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.2.3"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.20) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Icon"),"\u9ed8\u8ba4\u663e\u793a\u51fa\u6765\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v222"},"v2.2.2"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.06.18) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.2.2"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.18) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u4e3a\u7a7a\u65f6\u81ea\u52a8\u9690\u85cf",(0,l.kt)("inlineCode",{parentName:"li"},"Icon")),(0,l.kt)("li",{parentName:"ul"},"(2021.06.17) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"maxCache"),"\u8bbe\u7f6e\u65f6\u5b9e\u9645\u6570\u636e\u4e2a\u6570\u591a\u4e00\u4e2a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.17) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"TextMeshPro"),"\u7684\u5f00\u542f\u548c\u5173\u95ed\u4e0d\u53ca\u65f6\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.17) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts"),"\u5bfc\u5165\u65f6\u603b\u662f\u5f39\u51fa",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts Importer"),"\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v221"},"v2.2.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.06.13) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.2.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.13) \u5b8c\u5584\u5bf9\u591a\u5c4f\u5e55\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.12) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"IconStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"align"),"\u53c2\u6570\u8bbe\u7f6e\u56fe\u6807\u7684\u6c34\u5e73\u5bf9\u9f50"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.12) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"Theme"),"\u4e3b\u9898\u5bfc\u5165 (#148)"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.10) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Unity"),"\u7248\u672c\u517c\u5bb9\u95ee\u9898 (#154)"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.05) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"CandlestickChart"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"inverse"),"\u7684\u652f\u6301 (#152)"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.04) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Gauge"),"\u5728\u6700\u5c0f\u503c\u4e3a\u8d1f\u6570\u65f6\u6307\u9488\u6307\u793a\u4f4d\u7f6e\u5f02\u5e38\u7684\u95ee\u9898 (#153)")),(0,l.kt)("h2",{id:"v220"},"v2.2.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.05.30) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.2.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.25) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"TextStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"alignment"),"\u7684\u652f\u6301 (#150)"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.24) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u6570\u636e\u5168\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"0"),"\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u65e0\u6cd5\u6b63\u5e38\u663e\u793a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.24) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Add Serie"),"\u9762\u677f\u4e0a",(0,l.kt)("inlineCode",{parentName:"li"},"Serie Name"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898 (#149)"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"TextStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"autoWrap"),"\u8bbe\u7f6e\u662f\u5426\u81ea\u52a8\u6362\u884c"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"TextStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"autoAlign"),"\u8bbe\u7f6e\u662f\u5426\u8ba9\u7cfb\u7edf\u81ea\u52a8\u8bbe\u7f6e\u5bf9\u9f50\u65b9\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"width"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"height"),"\u652f\u6301\u81ea\u5b9a\u4e49\u6587\u672c\u7684\u957f\u5bbd"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"iconStyle"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"icons"),"\u652f\u6301\u8bbe\u7f6e\u5750\u6807\u8f74\u6807\u7b7e\u663e\u793a\u56fe\u6807"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"insertDataToHead"),"\u53c2\u6570\u63a7\u5236\u6570\u636e\u63d2\u5165\u5934\u90e8\u8fd8\u662f\u5c3e\u90e8"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.18) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Editor"),"\u4e0b\u7684\u56fe\u8868\u521b\u5efa #147"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.16) \u62bd\u79bb",(0,l.kt)("inlineCode",{parentName:"li"},"GanttChart"),"\u7518\u7279\u56fe\uff0c\u901a\u8fc7\u6269\u5c55\u6a21\u5757\u7684\u65b9\u5f0f\u6765\u63d0\u4f9b"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"VisualMap"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Piecewise"),"\u5206\u6bb5\u8bbe\u7f6e\u989c\u8272\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.09) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"RingChart"),"\u65e0\u6cd5\u8bbe\u7f6e\u73af\u5f62\u7684\u80cc\u666f\u8272\u7684\u95ee\u9898 #141"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.08) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LiquidChart"),"\u7684\u65b9\u5f62\u6c34\u4f4d\u56fe\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.07) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u523b\u5ea6\u8868\u73b0 #135"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Settings"),"\u4e2d\u5173\u4e8e\u5173\u4e8e\u6750\u8d28\u7403\u8bbe\u7f6e\u7684\u53c2\u6570 #140"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.01) \u4fee\u590d\u65e0\u6cd5\u6b63\u786e\u8868\u793a\u90e8\u5206\u8d85\u5927\u6216\u8d85\u5c0f\u6570\u503c\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.29) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u5207\u6362\u5230",(0,l.kt)("inlineCode",{parentName:"li"},"Circle"),"\u5f02\u5e38\u7684\u95ee\u9898 #139"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Settings"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"reversePainter"),"\u53ef\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684\u7ed8\u5236\u662f\u5426\u9006\u5e8f"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.28) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ignore"),"\u53ef\u5ffd\u7565\u5f53\u524d\u6570\u636e\u9879"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.28) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u4e0b",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u663e\u793a\u4e0d\u51c6\u786e\u7684\u95ee\u9898 #138"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.26) \u4fee\u590d\u8fd0\u884c\u65f6\u52a8\u6001\u521b\u5efa\u56fe\u8868\u4f1a\u5f02\u5e38\u7684\u95ee\u9898 #137"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u7ed8\u5236\u6e10\u53d8\u8fb9\u6846\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.23) \u589e\u52a0\u81ea\u5b9a\u4e49\u56fe\u8868\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Gauge"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u548c\u6587\u5b57\u989c\u8272\u65e0\u6cd5\u8c03\u6574\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.13) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisTick"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ShowStartTick"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"ShowEndTick"),"\u53c2\u6570\u63a7\u5236\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u523b\u5ea6\u662f\u5426\u663e\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.13) \u5b8c\u5584\u591a\u5750\u6807\u8f74\u7684\u652f\u6301 #132")),(0,l.kt)("h2",{id:"v211"},"v2.1.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.04.13) \u6574\u7406\u4ee3\u7801\uff0c\u6e05\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"Warning")),(0,l.kt)("li",{parentName:"ul"},"(2021.04.13) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Unity"),"\u7248\u672c\u517c\u5bb9\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Theme"),"\u91cd\u6784\u540e\u5f15\u8d77\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"missing class attribute 'ExtensionOfNativeClass'"),"\u7684\u95ee\u9898 #131")),(0,l.kt)("h2",{id:"v210"},"v2.1.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.04.07) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.1.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.31) \u4f18\u5316\u548c\u91cd\u6784",(0,l.kt)("inlineCode",{parentName:"li"},"Theme"),"\uff0c\u89e3\u51b3\u5f15\u7528\u76f8\u540c\u6216\u4e22\u5931\u7684\u95ee\u9898 #118"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.30) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u652f\u6301\u8bbe\u7f6e\u4e0d\u540c\u7684\u7c7b\u76ee\u8f74\u6570\u636e #129"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.29) \u4f18\u5316\u81ea\u5b9a\u4e49\u7ed8\u5236\u56de\u8c03\u63a5\u53e3\uff0c\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"onCustomDrawBeforeSerie"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"onCustomDrawAfterSerie"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"onCustomDrawTop")),(0,l.kt)("li",{parentName:"ul"},"(2021.03.25) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"GanttChart"),"\u7518\u7279\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Theme"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Unbind"),"\u6309\u94ae\u7528\u4e8e\u89e3\u7ed1\u590d\u5236\u56fe\u8868\u65f6\u7684\u4e3b\u9898 #118"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.18) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Inspector"),"\u4e0b",(0,l.kt)("inlineCode",{parentName:"li"},"Foldout"),"\u540e\u7684\u52fe\u9009\u6846\u65e0\u6cd5\u9009\u4e2d\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.18) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"0"),"\u6570\u503c\u65f6\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.14) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684\u6307\u793a\u5668\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u6307\u793a\u4f4d\u7f6e\u4e0d\u51c6\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.13) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"MultiComponentMode"),"\u5f00\u542f\u540e\u7684\u7f16\u8f91\u4f53\u9a8c\u548c\u7ec4\u4ef6\u5237\u65b0 #128"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"CandlestickChart"),"K\u7ebf\u56fe #124"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.06) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"minAngle"),"\u53c2\u6570\u652f\u6301\u8bbe\u7f6e\u6700\u5c0f\u6247\u533a\u89d2\u5ea6 #117"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.05) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u51e0\u79cd\u5185\u7f6e\u56fe\u6807\u7684\u652f\u6301 #90"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.02) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5bf9\u6570\u503c\u8f74\u7684\u652f\u6301 #71"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.02) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"TextMeshPro"),"\u517c\u5bb9\u95ee\u9898 #125"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.01) \u4fee\u590d\u9690\u85cf\u548c\u663e\u793a\u56fe\u8868\u65f6\u90e8\u5206\u5df2\u9690\u85cf\u7684\u8282\u70b9\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898 #125")),(0,l.kt)("h2",{id:"v201"},"v2.0.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.02.26) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"HeatmapChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u6307\u793a\u7684\u4f4d\u7f6e\u4e0d\u51c6\u7684\u95ee\u9898 #123"),(0,l.kt)("li",{parentName:"ul"},"(2021.02.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Unity"),"\u7248\u672c\u517c\u5bb9\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.02.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ignoreDataShow"),"\u53c2\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2021.02.19) \u4fee\u590d\u56fe\u8868\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"LayoutGroup"),"\u63a7\u5236\u4e0b\u65f6\u53ef\u80fd\u663e\u793a\u9519\u4e71\u7684\u95ee\u9898 #121"),(0,l.kt)("li",{parentName:"ul"},"(2021.02.18) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u53c2\u6570\u53d8\u66f4\u540e\u65e0\u6cd5\u81ea\u5237\u65b0\u7684\u95ee\u9898 #122")),(0,l.kt)("h2",{id:"v200"},"v2.0.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.02.05) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.0.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.02.03) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"OnZero"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"YAxis"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898 #116"),(0,l.kt)("li",{parentName:"ul"},"(2021.01.29) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Category"),"\u8f74\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"BoundaryGap"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"AlignWithLabel"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"True"),"\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Tick"),"\u663e\u793a\u6548\u679c\u4e0d\u5bf9\u7684\u95ee\u9898 #115"),(0,l.kt)("li",{parentName:"ul"},"(2021.01.25) \u4f18\u5316\u4e00\u4e9b\u7ec6\u8282"),(0,l.kt)("li",{parentName:"ul"},"(2021.01.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Inpsector"),"\u4e0a\u90e8\u5206\u5c5e\u6027\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v200-preview2"},"v2.0.0-preview.2"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.01.21) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.0.0-preview.2"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.01.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Inpsector"),"\u4e0a\u5c55\u5f00",(0,l.kt)("inlineCode",{parentName:"li"},"AxisTick"),"\u65f6\u62a5\u9519\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.01.21) \u4fee\u590d\u6253\u5305\u517c\u5bb9\u62a5\u9519\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.01.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"XChartsSettings"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"editorShowAllListData"),"\u53c2\u6570\u914d\u7f6e\u662f\u5426\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Inspector"),"\u4e2d\u663e\u793a\u5217\u8868\u7684\u6240\u6709\u6570\u636e")),(0,l.kt)("h2",{id:"v200-preview1"},"v2.0.0-preview.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.01.19) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.0.0-preview.1"),"\u7248\u672c")),(0,l.kt)("h2",{id:"v163"},"v1.6.3"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.01.02) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.6.3"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.12.18) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u4e0d\u542f\u7528\u65f6\u66f4\u65b0\u6570\u636e\u4f1a\u5bfc\u81f4\u56fe\u8868\u4e00\u76f4\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.12.01) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Unity2020"),"\u4e0a\u65b0\u521b\u5efa\u7684\u56fe\u8868\u65e0\u6cd5\u6b63\u5e38\u7ed8\u5236\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.11.22) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.6.2"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.11.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u5728\u6570\u636e\u8fc7\u4e8e\u5bc6\u96c6\u65f6\u6298\u7ebf\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898 #99"),(0,l.kt)("li",{parentName:"ul"},"(2020.11.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684\u523b\u5ea6\u4f4d\u7f6e\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"alignWithLabel"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"true"),"\u65f6\u53ef\u80fd\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.11.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Unity5"),"\u517c\u5bb9\u62a5\u9519\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.11.13) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Indicator"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"\\n"),"\u6362\u884c\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2020.11.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u5f53\u7c7b\u578b\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Smooth"),"\u65f6\u6570\u636e\u8fc7\u5bc6\u60c5\u51b5\u4e0b\u62a5\u9519\u7684\u95ee\u9898 #100"),(0,l.kt)("li",{parentName:"ul"},"(2020.10.22) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"HeatmapChart"),"\u4e2d",(0,l.kt)("inlineCode",{parentName:"li"},"VisualMap"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Piecewise"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2020.09.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u8fb9\u6846\u5927\u5c0f\u4e0d\u4e00\u81f4\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v161"},"v1.6.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2020.09.19) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.6.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.09.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Remove All Chart Object"),"\u79fb\u9664\u56fe\u8868\u4e0b\u7684\u6240\u6709\u5b50\u8282\u70b9\uff08\u4f1a\u81ea\u52a8\u91cd\u65b0\u521d\u59cb\u5316\uff09"),(0,l.kt)("li",{parentName:"ul"},"(2020.09.18) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u5728\u70b9\u51fb\u56fe\u4f8b\u9690\u85cf",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u540e\u8fd8\u663e\u793a\u7684\u95ee\u9898#94"),(0,l.kt)("li",{parentName:"ul"},"(2020.09.18) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u7c7b\u76ee\u8f74\u523b\u5ea6\u548c\u6587\u672c\u663e\u793a#93"),(0,l.kt)("li",{parentName:"ul"},"(2020.09.17) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Package"),"\u5bfc\u5165\u65f6\u7f3a\u5931",(0,l.kt)("inlineCode",{parentName:"li"},"meta"),"\u6587\u4ef6\u5bfc\u81f4\u5931\u8d25\u7684\u95ee\u9898#92"),(0,l.kt)("li",{parentName:"ul"},"(2020.09.08) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684\u989c\u8272\u53ef\u81ea\u52a8\u5339\u914d",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684\u81ea\u5b9a\u4e49\u989c\u8272#89"),(0,l.kt)("li",{parentName:"ul"},"(2020.09.05) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u5728\u4e0d\u4f7f\u7528",(0,l.kt)("inlineCode",{parentName:"li"},"XAxis1"),"\u65f6\u4e5f\u80fd\u663e\u793a",(0,l.kt)("inlineCode",{parentName:"li"},"XAxis1")),(0,l.kt)("li",{parentName:"ul"},"(2020.08.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LineStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"toColor"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"toColor2"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684\u6c34\u5e73\u6e10\u53d8\uff0c\u53d6\u6d88\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684\u6c34\u5e73\u6e10\u53d8"),(0,l.kt)("li",{parentName:"ul"},"(2020.08.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onPointerClickPie"),"\u70b9\u51fb\u6247\u5f62\u56fe\u6247\u533a\u56de\u8c03"),(0,l.kt)("li",{parentName:"ul"},"(2020.08.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onPointerClickBar"),"\u70b9\u51fb\u67f1\u5f62\u56fe\u67f1\u6761\u56de\u8c03")),(0,l.kt)("h2",{id:"v160"},"v1.6.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2020.08.24) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.6.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.08.23) \u91cd\u6784\u4ee3\u7801\uff0c\u5c06\u4e0e\u7ed8\u5236\u76f8\u5173\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Color"),"\u6539\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Color32"),"\uff0c\u51cf\u5c11\u9690\u5f0f\u8f6c\u6362\uff08\u66f4\u65b0\u540e\u4f1a\u5bfc\u81f4\u81ea\u5b9a\u4e49\u7684\u989c\u8272\u4e22\u5931\uff0c\u53ef\u53c2\u8003",(0,l.kt)("a",{parentName:"li",href:"https://github.com/XCharts-Team/XCharts/blob/master/Assets/XCharts/Documentation~/fqa.md"},"\u95ee\u7b5429"),"\u8fdb\u884c\u5347\u7ea7\uff09"),(0,l.kt)("li",{parentName:"ul"},"(2020.08.15) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7ed8\u5236\u8868\u73b0\u6548\u679c#85"),(0,l.kt)("li",{parentName:"ul"},"(2020.08.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LiquidChart"),"\u6570\u636e\u53d8\u66f4\u52a8\u753b#83"),(0,l.kt)("li",{parentName:"ul"},"(2020.08.11) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u6587\u672c\u5806\u53e0\u548c\u5f15\u7ebf\u6548\u679c#85"),(0,l.kt)("li",{parentName:"ul"},"(2020.08.08) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u5bc6\u96c6\u6570\u636e\u7684\u7ed8\u5236\u8868\u73b0\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"VisualMap"),"\u6216",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u914d\u7f6e\u6e10\u53d8#78"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.25) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u6e10\u51fa\u52a8\u753b\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898#79"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.25) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"LiquidChart"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"100%"),"\u65f6\u6e10\u53d8\u8272\u4f1a\u5931\u6548\u7684\u95ee\u9898#80"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.25) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u652f\u6301#77"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"RingChart"),"\u73af\u5f62\u6e10\u53d8\u652f\u6301#75"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u53ef\u5355\u72ec\u914d\u7f6e\u6570\u503c\u683c\u5f0f\u5316#68"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.17) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieAnimation"),"\u52a8\u753b\u5b8c\u6210\u56de\u8c03\u63a5\u53e3"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.17) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u653e\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"ScrollView"),"\u4e0b\u65f6\u4e0d\u5f71\u54cd",(0,l.kt)("inlineCode",{parentName:"li"},"ScrollView"),"\u7684\u6eda\u52a8\u548c\u62d6\u52a8"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.16) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5728\u4e0a\u5c42\u6709\u906e\u6321\u8fd8\u4f1a\u663e\u793a\u7684\u95ee\u9898#74"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.08) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Scatter"),"\u7c7b\u578b",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"Log"),"\u8f74#70"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.07) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u4f4d\u7f6e\u9519\u4e71\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.07) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"offset"),"\u53c2\u6570\u914d\u7f6e\u504f\u79fb"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.06) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LiquidChart"),"\u6c34\u4f4d\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PolarChart"),"\u6781\u5750\u6807\u56fe\u8868")),(0,l.kt)("h2",{id:"v152"},"v1.5.2"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2020.06.25) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.5.2"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.25) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u5728\u6570\u503c\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"0"),"\u65f6\u8fd8\u4f1a\u7ed8\u5236\u4e00\u5c0f\u90e8\u5206\u67f1\u6761\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.24) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u5728\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"clockwise"),"\u540e\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898#65"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.23) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u5728\u5cf0\u8c37\u5dee\u5f02\u8fc7\u5927\u65f6\u7684\u7ed8\u5236\u6548\u679c#64"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.18) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u5728\u91cd\u65b0\u6dfb\u52a0\u6570\u636e\u65f6\u53ef\u80fd\u4e0d\u663e\u793a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.17) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u53ef\u5355\u72ec\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"SerieSymbol"),"#66"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.17) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Check For Update"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Unity 2018"),"\u90e8\u5206\u7248\u672c\u62a5\u9519\u7684\u95ee\u9898#63"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.16) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"avoidLabelOverlap"),"\u53c2\u6570\u907f\u514d\u997c\u56fe\u6807\u7b7e\u5806\u53e0\u7684\u60c5\u51b5#56"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.15) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u5355\u72ec\u63a7\u5236\u663e\u793a\u65f6\u53ef\u80fd\u9519\u4e71\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Check warning"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"RingChart"),"\u5728\u6570\u636e\u5360\u6bd4\u5f88\u5c0f\u65f6\u4e0d\u663e\u793a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"titleFormatter"),"\u652f\u6301\u914d\u7f6e\u5360\u4f4d\u7b26",(0,l.kt)("inlineCode",{parentName:"li"},"{i}"),"\u8868\u793a\u5ffd\u7565\u4e0d\u663e\u793a\u6807\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.07) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"customFadeInDelay"),"\u7b49\u81ea\u5b9a\u4e49\u6570\u636e\u9879\u5ef6\u65f6\u548c\u65f6\u957f\u56de\u8c03\u51fd\u6570#58"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.07) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u5728\u6570\u636e\u5168\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"0"),"\u65f6\u7684\u663e\u793a\u4e3a\u7b49\u4efd\u7684\u6548\u679c#59"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"autoOffset"),"\u53c2\u6570\u8bbe\u7f6e\u662f\u5426\u81ea\u52a8\u5224\u65ad\u4e0a\u4e0b\u504f\u79fb"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"alwayShow"),"\u53c2\u6570\u8bbe\u7f6e\u89e6\u53d1\u540e\u4e00\u76f4\u663e\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.04) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"{.1}"),"\u901a\u914d\u7b26"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.04) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u6570\u91cf\u8fc7\u591a\u65f6\u81ea\u52a8\u6362\u884c\u663e\u793a#53")),(0,l.kt)("h2",{id:"v151"},"v1.5.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2020.06.03) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.5.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.02) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ceilRate"),"\uff0c\u8bbe\u7f6e\u6700\u5927\u6700\u5c0f\u503c\u7684\u53d6\u6574\u500d\u7387"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.02) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\uff0c\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"{c1:1-1:f1}"),"\u683c\u5f0f\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.31) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Background"),"\u7ec4\u4ef6\u7684\u751f\u6548\u6761\u4ef6\uff0c\u9700\u8981\u6709\u5355\u72ec\u7684\u7236\u8282\u70b9\uff08\u5347\u7ea7\u524d\u9700\u8981\u81ea\u5df1\u5904\u7406\u65e7\u7684\u80cc\u666f\u8282\u70b9\uff09"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.30) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u652f\u6301\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"ignoreValue"),"\u4e0d\u663e\u793a\u6307\u5b9a\u6570\u636e"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.30) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Circle"),"\u65f6\u4e0d\u7ed8\u5236",(0,l.kt)("inlineCode",{parentName:"li"},"SplitArea"),"\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.30) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart"),"\u5728\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"max"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"0"),"\u65f6\u53ef\u81ea\u52a8\u5237\u65b0\u6700\u5927\u503c"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.29) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"gap"),"\u65f6\u53ea\u6709\u4e00\u4e2a\u6570\u636e\u65f6\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.27) \u4fee\u590d\u8c03\u7528",(0,l.kt)("inlineCode",{parentName:"li"},"UpdateDataName()"),"\u63a5\u53e3\u65f6\u4e0d\u4f1a\u81ea\u52a8\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.27) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"\u67f1\u72b6\u56fe"),"\u7684\u6e10\u53d8\u8272\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.24) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u540c\u65f6\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"boundaryGap"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"alignWithLabel"),"\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Tick"),"\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.24) \u4f18\u5316\u7248\u672c\u66f4\u65b0\u68c0\u6d4b")),(0,l.kt)("h2",{id:"v150"},"v1.5.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2020.05.22) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.5.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"\u5706\u89d2\u67f1\u56fe"),"\u652f\u6301\u6e10\u53d8"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Background"),"\u80cc\u666f\u7ec4\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.19) \u9690\u85cf",(0,l.kt)("inlineCode",{parentName:"li"},"Hierarchy"),"\u8bd5\u56fe\u4e0b\u81ea\u52a8\u751f\u6210\u7684\u5b50\u8282\u70b9"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.18) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"chartName"),"\u5c5e\u6027\u53ef\u6307\u5b9a\u56fe\u8868\u7684\u522b\u79f0\uff0c\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"XChartMgr.Instance.GetChart(chartName)"),"\u83b7\u53d6\u56fe\u8868"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.16) \u589e\u52a0\u90e8\u5206\u9f20\u6807\u4e8b\u4ef6\u56de\u8c03"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.15) \u4f18\u5316\u81ea\u5e26\u4f8b\u5b50\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"Demo"),"\u6539\u540d\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Example")),(0,l.kt)("li",{parentName:"ul"},"(2020.05.13) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"large"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"largeThreshold"),"\u53c2\u6570\u914d\u7f6e\u6298\u7ebf\u56fe\u548c\u67f1\u72b6\u56fe\u7684\u6027\u80fd\u6a21\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.13) \u5b8c\u5584Demo\uff0c\u589e\u52a0\u6027\u80fd\u6f14\u793aDemo"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.13) \u4f18\u5316\u6027\u80fd\uff0c\u4f18\u5316\u5927\u6570\u636e\u7ed8\u5236\uff0c\u91cd\u6784\u4ee3\u7801"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"numericFormatter"),"\u53c2\u6570\u53ef\u914d\u7f6e\u6570\u503c\u683c\u5f0f\u5316\u663e\u793a\uff0c\u53bb\u6389",(0,l.kt)("inlineCode",{parentName:"li"},"forceENotation"),"\u53c2\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.28) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"\u81ea\u7531\u951a\u70b9"),"\u652f\u6301\uff0c\u4efb\u610f\u5bf9\u9f50\u65b9\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.23) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"ScatterChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u663e\u793a\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"{.}"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"{c:0}"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"{c1:1}"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.19) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u6298\u7ebf\u56fe\u7684\u533a\u57df\u586b\u5145\u6e10\u53d8\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onZero"),"\u53c2\u6570\u53ef\u5c06",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u663e\u793a\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"0"),"\u523b\u5ea6\u4e0a"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"showAsPositiveNumber"),"\u53c2\u6570\u5c06\u8d1f\u6570\u6570\u503c\u663e\u793a\u4e3a\u6b63\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.18) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Convert XY Axis"),"\u4e92\u6362XY\u8f74\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.17) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"inverse"),"\u53c2\u6570\u8bbe\u7f6e\u5750\u6807\u8f74\u53cd\u8f6c"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.16) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Check warning"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Unity2019.3"),"\u4e0a\u7684\u663e\u793a\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.16) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u5728\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Space"),"\u53c2\u6570\u540e\u52a8\u753b\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v140"},"v1.4.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2020.04.11) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.4.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Check warning"),"\u68c0\u6d4b\u529f\u80fd"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.09) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u521d\u59cb\u5316\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.08) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u8bbe\u7f6e\u8fb9\u6846\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ceilRate"),"\u8bbe\u7f6e\u6700\u5927\u6700\u5c0f\u503c\u7684\u53d6\u6574\u500d\u7387"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"itemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"cornerRadius"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"\u5706\u89d2\u67f1\u56fe")),(0,l.kt)("li",{parentName:"ul"},"(2020.03.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"itemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"cornerRadius"),"\u652f\u6301\u5706\u89d2\u77e9\u5f62"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.24) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Editor"),"\u53c2\u6570\u7f16\u8f91\uff0c\u517c\u5bb9",(0,l.kt)("inlineCode",{parentName:"li"},"Unity2019.3"),"\u53ca\u4ee5\u4e0a\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.24) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"inspector"),"\u4e0a\u53ef\u8fdb\u884c\u8c03\u6574\u987a\u5e8f\u3001\u6dfb\u52a0\u548c\u5220\u9664\u64cd\u4f5c"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.23) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Title"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"textStyle"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"subTextStyle"),"\u65e0\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"barType"),"\u53c2\u6570\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"\u80f6\u56ca\u67f1\u72b6\u56fe")),(0,l.kt)("li",{parentName:"ul"},"(2020.03.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"HeatmapChart"),"\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"ignore"),"\u53c2\u6570\u8bbe\u7f6e\u5ffd\u7565\u6570\u636e\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"tooltipFormatter"),"\u53c2\u6570\u53ef\u5355\u72ec\u914d\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u663e\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.20) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"X Axis 1"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Y Axis 1"),"\u914d\u7f6e\u53d8\u66f4\u65f6\u4e0d\u4f1a\u81ea\u52a8\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisTick"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"width"),"\u53c2\u6570\u53ef\u5355\u72ec\u8bbe\u7f6e\u5750\u6807\u8f74\u523b\u5ea6\u7684\u5bbd\u5ea6"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"radarType"),"\u53c2\u6570\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"\u591a\u5708"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"\u5355\u5708"),"\u96f7\u8fbe\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.17) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u53ef\u7528",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"backgroundColor"),"\u8bbe\u7f6e\u6570\u636e\u9879\u80cc\u666f\u989c\u8272"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.17) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Emphasis"),"\u53ef\u5355\u72ec\u914d\u7f6e\u6570\u636e\u9879\u6837\u5f0f\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.15) \u91cd\u6784",(0,l.kt)("inlineCode",{parentName:"li"},"EmptyCricle"),"\u7c7b\u578b\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u8fb9\u5bbd\u53d6\u81ea",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"borderWidth"),"\u53c2\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.15) \u91cd\u6784",(0,l.kt)("inlineCode",{parentName:"li"},"SerieSymbol"),"\uff0c\u53bb\u6389",(0,l.kt)("inlineCode",{parentName:"li"},"color"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"opacity"),"\u53c2\u6570\uff0c\u53d6\u81ea",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"))),(0,l.kt)("h2",{id:"v131"},"v1.3.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2020.03.14) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.3.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.14) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"ingore"),"\u65f6\u90e8\u5206\u6570\u636e\u53ef\u80fd\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.13) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u504f\u79fb\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v130"},"v1.3.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2020.03.11) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.3.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.11) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u504f\u79fb\u663e\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.11) \u4f18\u5316\u6e05\u7a7a\u5e76\u91cd\u65b0\u6dfb\u52a0\u6570\u636e\u540e\u7684\u81ea\u52a8\u5237\u65b0\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684\u666e\u901a\u6298\u7ebf\u56fe\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"ignore"),"\u53c2\u6570\u8bbe\u7f6e\u5ffd\u7565\u6570\u636e\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u914d\u7f6e\u8fb9\u6846\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.08) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"RingChart"),"\u73af\u5f62\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.05) \u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"arcShaped"),"\u53c2\u6570\u91cd\u547d\u540d\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"roundCap")),(0,l.kt)("li",{parentName:"ul"},"(2020.03.05) \u589e\u52a0\u8fd0\u884c\u65f6\u548c\u975e\u8fd0\u884c\u65f6\u53c2\u6570\u53d8\u66f4\u81ea\u52a8\u5237\u65b0\u56fe\u8868"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.26) \u91cd\u6784",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u56fe\u4f8b\uff0c\u6539\u53d8\u6837\u5f0f\uff0c\u589e\u52a0\u81ea\u5b9a\u4e49\u56fe\u6807\u7b49\u8bbe\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart.AnimationFadeOut()"),"\u6e10\u51fa\u52a8\u753b\uff0c\u91cd\u6784\u52a8\u753b\u7cfb\u7edf"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.13) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart.RefreshTooltip()"),"\u63a5\u53e3\u7acb\u5373\u91cd\u65b0\u521d\u59cb\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7ec4\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.13) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"textStyle"),"\u53c2\u6570\u914d\u7f6e\u5185\u5bb9\u6587\u672c\u6837\u5f0f\uff0c\u53bb\u6389",(0,l.kt)("inlineCode",{parentName:"li"},"fontSize"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"fontStyle"),"\u53c2\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.13) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"TextStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"lineSpacing"),"\u53c2\u6570\u914d\u7f6e\u884c\u95f4\u8ddd"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"splitLine"),"\u53c2\u6570\u914d\u7f6e\u5206\u5272\u7ebf\uff0c\u53bb\u6389",(0,l.kt)("inlineCode",{parentName:"li"},"lineStyle"),"\u53c2\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"backgroundImage"),"\u53c2\u6570\u914d\u7f6e\u80cc\u666f\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"paddingLeftRight"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"paddingTopBottom"),"\u53c2\u6570\u914d\u7f6e\u6587\u5b57\u548c\u8fb9\u6846\u7684\u95f4\u8ddd"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"lineStyle"),"\u53c2\u6570\u914d\u7f6e\u6307\u793a\u7ebf\u6837\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"splitLine"),"\u53c2\u6570\u63a7\u5236\u5206\u5272\u7ebf\uff0c\u53bb\u6389",(0,l.kt)("inlineCode",{parentName:"li"},"showSplitLine"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"splitLineType"),"\u53c2\u6570\uff08\u66f4\u65b0\u65f6\u9700\u8981\u91cd\u65b0\u8bbe\u7f6e\u5206\u5272\u7ebf\u76f8\u5173\u8bbe\u7f6e\uff09"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"clip"),"\u53c2\u6570\u63a7\u5236\u662f\u5426\u8d85\u51fa\u5750\u6807\u7cfb\u5916\u88c1\u526a\uff08\u53ea\u9002\u7528\u4e8e\u6298\u7ebf\u56fe\u3001\u67f1\u72b6\u56fe\u3001\u6563\u70b9\u56fe\uff09"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.08) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieSymbol"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"gap"),"\u53c2\u6570\u63a7\u5236\u56fe\u5f62\u6807\u8bb0\u7684\u5916\u7559\u767d\u8ddd\u79bb"),(0,l.kt)("li",{parentName:"ul"},"(2020.01.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"TextLimit"),"\u7ec4\u4ef6\u53ef\u4ee5\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684\u6587\u672c\u81ea\u9002\u5e94"),(0,l.kt)("li",{parentName:"ul"},"(2020.01.20) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"itemFormatter"),"\u65f6\u663e\u793a\u7cfb\u5217\u989c\u8272"),(0,l.kt)("li",{parentName:"ul"},"(2020.01.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u96f7\u8fbe\u56fe\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"inspector"),"\u914d\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"areaStyle"),"\u7684\u652f\u6301")),(0,l.kt)("h2",{id:"v120"},"v1.2.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2020.01.15) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.2.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.01.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u683c\u5f0f\u5316\u4e3a\u6574\u6570\u7684\u652f\u6301\uff08",(0,l.kt)("inlineCode",{parentName:"li"},"{value:f0}"),"\uff09"),(0,l.kt)("li",{parentName:"ul"},"(2020.01.15) \u589e\u52a0\u6298\u7ebf\u56fe\u5bf9\u6570\u8f74",(0,l.kt)("inlineCode",{parentName:"li"},"Log"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2020.01.09) \u4fee\u590d\u5f53\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"minShowNum"),"\u65f6\u53ef\u80fd\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.01.08) \u4fee\u590d\u5f53\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onZero"),"\u65f6\u523b\u5ea6\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.01.08) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Mask"),"\u906e\u7f69\u906e\u6321\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.12.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684\u5355\u4e2a\u6570\u636e\u9879\u548c\u6807\u9898\u7684\u5b57\u7b26\u4e32\u6a21\u7248\u683c\u5f0f\u5668"),(0,l.kt)("li",{parentName:"ul"},"(2019.12.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7684\u6700\u5c0f\u663e\u793a\u6570\u636e\u4e2a\u6570",(0,l.kt)("inlineCode",{parentName:"li"},"minShowNum")),(0,l.kt)("li",{parentName:"ul"},"(2019.12.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Demo40_Radar.cs"),"\u96f7\u8fbe\u56fe\u4ee3\u7801\u64cd\u4f5c",(0,l.kt)("inlineCode",{parentName:"li"},"Demo")),(0,l.kt)("li",{parentName:"ul"},"(2019.12.20) \u6dfb\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart"),"\u76f8\u5173API\u63a5\u53e3")),(0,l.kt)("h2",{id:"v110"},"v1.1.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.12.17) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.1.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.12.16) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Overlay"),"\u6a21\u5f0f\u4e0b\u4e0d\u663e\u793a",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.12.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Title"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"TextStyle"),"\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.12.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u90fd\u9690\u85cf\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Value\u8f74"),"\u8fd8\u663e\u793a\u6570\u503c\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.12.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Series->Data->Size"),"\u91cd\u7f6e\u4e3a0\u540e\u8bbe\u7f6e\u65e0\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.12.06) \u4fee\u590d\u6570\u636e\u8fc7\u5c0f\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u76f4\u63a5\u79d1\u5b66\u8ba1\u6570\u6cd5\u663e\u793a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.12.04) \u4f18\u5316\u548c\u5b8c\u5584\u6570\u636e\u66f4\u65b0",(0,l.kt)("inlineCode",{parentName:"li"},"UpdateData"),"\u63a5\u53e3"),(0,l.kt)("li",{parentName:"ul"},"(2019.12.03) \u589e\u52a0\u5706\u73af\u997c\u56fe\u7684\u5706\u89d2\u652f\u6301\uff0c\u53c2\u6570\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"serie.arcShaped")),(0,l.kt)("li",{parentName:"ul"},"(2019.12.03) \u589e\u52a0\u6570\u636e\u66f4\u65b0\u52a8\u753b,\u53c2\u6570\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"serie.animation.dataChangeEnable")),(0,l.kt)("li",{parentName:"ul"},"(2019.11.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"GaugeChart"),"\u4eea\u8868\u76d8"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u6e05\u7a7a\u6570\u636e\u91cd\u65b0\u8d4b\u503c\u540e",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.16) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"color"),"\u7b49\u53c2\u6570\u4e0d\u751f\u6548\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v105"},"v1.0.5"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.11.12) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.0.5"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"2018.3"),"\u4ee5\u4e0b\u7248\u672c\u6253\u5f00\u9879\u76ee\u62a5\u9519\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.12) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"IconStyle"),"\u5b50\u7ec4\u4ef6\uff0c\u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684\u56fe\u6807\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684\u56fe\u6807\u663e\u793a\u5728\u4e0a\u5c42\u906e\u6321",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.11) \u4fee\u590d\u997c\u56fe\u5f53\u6570\u636e\u8fc7\u5c0f\u65f6\u89c6\u89c9\u5f15\u5bfc\u7ebf\u4f1a\u7a7f\u900f\u7684\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.09) \u4fee\u590d\u997c\u56fe\u6dfb\u52a0\u6570\u636e\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.09) \u4f18\u5316\u7ed3\u6784\uff0c\u5206\u79bb\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"XChartsDemo"),"\u4e24\u90e8\u5206")),(0,l.kt)("h2",{id:"v104"},"v1.0.4"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.11.05) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.0.4"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.05) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u96f7\u8fbe\u7ec4\u4ef6\u6587\u672c\u6837\u5f0f\u53c2\u6570\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.04) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Unity2018.3"),"\u4ee5\u4e0b\u7248\u672c\u4ee3\u7801\u4e0d\u517c\u5bb9\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.04) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u8fc7\u591a\u65f6\u5f15\u8d77\u7684\u6027\u80fd\u95ee\u9898")),(0,l.kt)("h2",{id:"v103"},"v1.0.3"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.11.03) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.0.3"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.03) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Editor"),"\u5feb\u6377\u6dfb\u52a0\u56fe\u8868\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"Hierarchy"),"\u8bd5\u56fe\u4e0b\u53f3\u952e",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts->LineChart")),(0,l.kt)("li",{parentName:"ul"},"(2019.11.02) \u4f18\u5316\u975e\u914d\u7f6e\u53c2\u6570\u53d8\u91cf\u547d\u540d\u548c\u8bbf\u95ee\u6743\u9650\uff0c\u7b80\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"API"))),(0,l.kt)("h2",{id:"v102"},"v1.0.2"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.10.31) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.0.2"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.31) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"prefab"),"\u9884\u8bbe\u5236\u4f5c\u62a5\u9519\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.31) \u589e\u52a0\u8bbf\u95ee\u4e3b\u9898\u7ec4\u4ef6API\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart.theme"))),(0,l.kt)("h2",{id:"v101"},"v1.0.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.10.26) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.0.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.26) \u4fee\u590d\u7248\u672c\u68c0\u67e5\u529f\u80fd\u5728\u975e\u8fd0\u884c\u65f6\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.26) \u589e\u52a0\u79d1\u5b66\u8ba1\u6570\u6cd5\u663e\u793a\u6570\u503c\u7684\u652f\u6301\uff08\u67e5\u9605",(0,l.kt)("inlineCode",{parentName:"li"},"forceENotation"),"\u53c2\u6570\uff09"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7c7b\u76ee\u8f74\u6570\u636e\u4e3a\u7a7a\u65f6\u7684\u9ed8\u8ba4\u663e\u793a\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u6570\u503c\u8f74\u7684\u6700\u5927\u6700\u5c0f\u503c\u53ef\u8bbe\u7f6e\u4e3a\u5c0f\u6570\u7684\u652f\u6301\uff0c\u4f18\u5316\u6781\u5c0f\u6570\u56fe\u8868\u7684\u8868\u73b0\u6548\u679c")),(0,l.kt)("h2",{id:"v100"},"v1.0.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.10.25) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.0.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.23) \u589e\u52a0\u7248\u672c\u68c0\u6d4b\u529f\u80fd\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"Component -> XCharts -> Check For Update")),(0,l.kt)("li",{parentName:"ul"},"(2019.10.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Package Manager"),"\u5b89\u88c5\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Demo"),"\u9996\u9875",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u7684\u4ee3\u7801\u52a8\u6001\u63a7\u5236\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.18) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"barType"),"\u53c2\u6570\uff0c\u53ef\u914d\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"\u6591\u9a6c\u67f1\u72b6\u56fe")),(0,l.kt)("li",{parentName:"ul"},"(2019.10.18) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"barPercentStack"),"\u53c2\u6570\uff0c\u53ef\u914d\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"\u767e\u5206\u6bd4\u5806\u53e0\u67f1\u72b6\u56fe")),(0,l.kt)("li",{parentName:"ul"},"(2019.10.16) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Demo"),"\u9996\u9875",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684\u4ee3\u7801\u52a8\u6001\u63a7\u5236\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.15) \u79fb\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u7ec4\u4ef6\uff0c\u76f8\u5173\u53c2\u6570\u653e\u5230",(0,l.kt)("inlineCode",{parentName:"li"},"Settings"),"\u4e2d\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Demo"),"\u9996\u9875\uff0c\u5c55\u793a\u4ee3\u7801\u52a8\u6001\u63a7\u5236\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"ScatterChart"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"HeatmapChart"),"\u7684\u8d77\u59cb\u52a8\u753b\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"radius"),"\u81ea\u5b9a\u4e49\u6570\u636e\u9879\u7684\u534a\u5f84"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"HeatmapChart"),"\u70ed\u529b\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"VisualMap"),"\u89c6\u89c9\u6620\u5c04\u7ec4\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u6570\u636e\u9879\u6837\u5f0f\u7ec4\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Emphasis"),"\u9ad8\u4eae\u6837\u5f0f\u7ec4\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Settings"),"\u5168\u5c40\u53c2\u6570\u914d\u7f6e\u7ec4\u4ef6\uff0c\u5f00\u653e\u66f4\u591a\u53c2\u6570\u53ef\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AreaStyle"),"\u7684\u9ad8\u4eae\u76f8\u5173\u53c2\u6570\u914d\u7f6e\u9f20\u6807\u60ac\u6d6e\u65f6\u9ad8\u4eae\u4e4b\u524d\u533a\u57df"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.09) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7ec4\u4ef6\uff0c\u589e\u52a0\u53cc\u6307\u7f29\u653e"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.05) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"LineType"),"\u7ed9\u997c\u56fe\u914d\u7f6e\u4e0d\u540c\u7c7b\u578b\u7684\u89c6\u89c9\u5f15\u5bfc\u7ebf"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.02) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"ScatterChart"),"\u540c\u65f6\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Scatter"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u7684\u652f\u6301\uff0c\u5b9e\u73b0\u6298\u7ebf\u56fe\u548c\u6563\u70b9\u56fe\u7684\u7ec4\u5408\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.01) \u91cd\u6784\u4ee3\u7801\uff0c\u5e9f\u5f03",(0,l.kt)("inlineCode",{parentName:"li"},"Series.series"),"\u63a5\u53e3\uff0c\u7528",(0,l.kt)("inlineCode",{parentName:"li"},"Series.list"),"\u4ee3\u66ff"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"customDrawCallback"),"\u81ea\u5b9a\u4e49\u7ed8\u5236\u56de\u8c03"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SmoothDash"),"\u5e73\u6ed1\u865a\u7ebf\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u91c7\u6837\u7c7b\u578b",(0,l.kt)("inlineCode",{parentName:"li"},"sampleType"),"\u7684\u76f8\u5173\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieSymbol"),"\u5173\u4e8e\u663e\u793a\u95f4\u9694\u7684\u76f8\u5173\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.29) \u91cd\u6784\u4ee3\u7801\uff1a",(0,l.kt)("ul",{parentName:"li"},(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"sampleDist"),"\u5220\u9664\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"lineSampleDist")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"minShowDataNumber"),"\u5220\u9664\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"minShow")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"maxShowDataNumber"),"\u5220\u9664\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"maxShow")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"maxCacheDataNumber"),"\u5220\u9664\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"maxCache")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AddSerie()"),"\u63a5\u53e3\u53c2\u6570\u8c03\u6574"),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"UpdateData()"),"\u63a5\u53e3\u53c2\u6570\u8c03\u6574"),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"maxCache")))),(0,l.kt)("li",{parentName:"ul"},"(2019.09.28) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u540c\u65f6\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u7c7b\u578b",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684\u652f\u6301\uff0c\u5b9e\u73b0\u6298\u7ebf\u56fe\u548c\u67f1\u72b6\u56fe\u7684\u7ec4\u5408\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.27) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"splitNumber"),"\u8bbe\u7f6e\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"0"),"\u65f6\u8868\u793a\u7ed8\u5236\u6240\u6709\u7c7b\u76ee\u6570\u636e"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.27) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SampleDist"),"\u91c7\u6837\u8ddd\u79bb\u7684\u914d\u7f6e\uff0c\u5bf9\u8fc7\u5bc6\u7684\u66f2\u7ebf\u5f00\u542f\u91c7\u6837\uff0c\u4f18\u5316\u7ed8\u5236\u6548\u7387"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.27) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts\u95ee\u7b54"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"XChartsAPI\u63a5\u53e3"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts\u914d\u7f6e\u9879\u624b\u518c"),"\u7b49\u6587\u6863"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AnimationReset()"),"\u91cd\u7f6e\u521d\u59cb\u5316\u52a8\u753b\u63a5\u53e3"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.26) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684\u5bc6\u96c6\u6570\u636e\u7684\u66f2\u7ebf\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.25) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684\u81ea\u5b9a\u4e49\u56fe\u6807\u4e0d\u4e0e",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u5173\u8054\uff0c\u53ef\u5355\u72ec\u63a7\u5236\u662f\u5426\u663e\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.24) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684\u81ea\u5b9a\u4e49\u56fe\u6807\u76f8\u5173\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Formatter"),"\u914d\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684\u683c\u5f0f\u5316\u8f93\u51fa"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"FontSize"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"FontStyle"),"\u914d\u7f6e\u5b57\u4f53\u5927\u5c0f\u548c\u6837\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Formatter"),"\u914d\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684\u683c\u5f0f\u5316\u8f93\u51fa"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LineArrow"),"\u914d\u7f6e\u5e26\u7bad\u5934\u66f2\u7ebf"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"FixedWidth"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"FixedHeight"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"MinWidth"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"MinHeight"),"\u8bbe\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.18) \u589e\u52a0\u5355\u6761\u5806\u53e0\u67f1\u72b6\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.18) \u589e\u52a0\u865a\u7ebf",(0,l.kt)("inlineCode",{parentName:"li"},"Dash"),"\u3001\u70b9\u7ebf",(0,l.kt)("inlineCode",{parentName:"li"},"Dot"),"\u3001\u70b9\u5212\u7ebf",(0,l.kt)("inlineCode",{parentName:"li"},"DashDot"),"\u3001\u53cc\u70b9\u5212\u7ebf",(0,l.kt)("inlineCode",{parentName:"li"},"DashDotDot"),"\u7b49\u7c7b\u578b\u7684\u6298\u7ebf\u56fe\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.17) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AnimationEnabel()"),"\u542f\u7528\u6216\u53d6\u6d88\u8d77\u59cb\u52a8\u753b\u63a5\u53e3"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.17) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Interval"),"\u5f3a\u5236\u8bbe\u7f6e\u5750\u6807\u8f74\u5206\u5272\u95f4\u9694"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.16) \u53bb\u6389",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u4e2d\u7684\u65e7\u7248\u672c\u6570\u636e\u517c\u5bb9\uff0c\u4e0d\u518d\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"xData"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"yData")),(0,l.kt)("li",{parentName:"ul"},"(2019.09.06) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u5728\u91cd\u65b0\u521d\u59cb\u5316\u6570\u636e\u65f6\u81ea\u542f\u52a8\u529f\u80fd"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.06) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Border"),"\u8fb9\u6846\u76f8\u5173\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.05) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u521d\u59cb\u5316\u52a8\u753b\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.03) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u521d\u59cb\u5316\u52a8\u753b\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.02) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u521d\u59cb\u5316\u52a8\u753b\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisName"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Offset"),"\u504f\u79fb\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Width"),"\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u7684\u80cc\u666f\u5bbd\u9ad8\u3001\u6587\u5b57\u8fb9\u8ddd\u3001\u6587\u5b57\u65cb\u8f6c\u7684\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.15) \u91cd\u6784",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\uff0c\u79fb\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u7ec4\u4ef6\uff0c\u76f8\u5173\u53c2\u6570\u7edf\u4e00\u653e\u5230",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u4e2d\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.15) \u91cd\u6784",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\uff0c\u79fb\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u7ec4\u4ef6\uff0c\u76f8\u5173\u53c2\u6570\u7edf\u4e00\u653e\u5230",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u4e2d\u914d\u7f6e")),(0,l.kt)("h2",{id:"v083"},"v0.8.3"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.08.15) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v0.8.3"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.14) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u65e0\u6cd5\u81ea\u52a8\u66f4\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.13) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"UpdateData"),"\u63a5\u53e3\u65e0\u6cd5\u66f4\u65b0\u6570\u636e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.07) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieSymbol"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Color"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Opacity"),"\u914d\u7f6e")),(0,l.kt)("h2",{id:"v082"},"v0.8.2"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.08.07) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v0.8.2"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.07) \u4fee\u590d\u533a\u57df\u5e73\u6ed1\u6298\u7ebf\u56fe\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.06) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"serie"),"\u7cfb\u5217\u6570\u8d85\u8fc7\u8c03\u8272\u76d8\u989c\u8272\u6570\u65f6\u83b7\u53d6\u7684\u989c\u8272\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.06) \u4fee\u590d\u5f53",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"minMaxType"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Custom"),"\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"max"),"\u8bbe\u7f6e\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"100"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v081"},"v0.8.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.08.04) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v0.8.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.04) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Inspector"),"\u4e2d\u4fee\u6539\u6570\u636e\u4e0d\u751f\u6548\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v080"},"v0.8.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.08.04) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v0.8.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.04) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart"),"\u96f7\u8fbe\u56fe\uff0c\u589e\u52a0\u591a\u96f7\u8fbe\u56fe\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.01) \u589e\u52a0\u4ee3\u7801API\u6ce8\u91ca\u6587\u6863\uff0c\u6574\u7406\u4ee3\u7801"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Radius"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Area"),"\u4e24\u79cd\u5357\u4e01\u683c\u5c14\u73ab\u7470\u56fe\u5c55\u793a\u7c7b\u578b"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u914d\u7f6e\u997c\u56fe\u6807\u7b7e\uff0c\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"Center"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Inside"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Outside"),"\u7b49\u663e\u793a\u4f4d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.28) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u591a\u997c\u56fe\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.23) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Theme"),"\u4e3b\u9898\u7684\u81ea\u5b9a\u4e49\uff0c\u5207\u6362\u4e3b\u9898\u65f6\u81ea\u5b9a\u4e49\u914d\u7f6e\u4e0d\u53d7\u5f71\u54cd"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"EffectScatter"),"\u7c7b\u578b\u7684\u6563\u70b9\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"ScatterChart"),"\u6563\u70b9\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u652f\u6301\u591a\u7ef4\u6570\u636e\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u914d\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u6807\u5fd7\u56fe\u5f62\u7684\u663e\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.19) \u589e\u52a0\u7528\u4ee3\u7801\u6dfb\u52a0\u52a8\u6001\u6b63\u5f26\u66f2\u7ebf\u7684\u793a\u4f8b",(0,l.kt)("inlineCode",{parentName:"li"},"Demo11_AddSinCurve")),(0,l.kt)("li",{parentName:"ul"},"(2019.07.19) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684\u663e\u793a\u548c\u63a7\u5236"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.18) \u4f18\u5316\u6297\u952f\u9f7f\uff0c\u66f2\u7ebf\u66f4\u5e73\u6ed1"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.18) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u6307\u793a\u5668\u7c7b\u578b\uff0c\u4f18\u5316\u663e\u793a\u63a7\u5236"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Size"),"\u8bbe\u7f6e\u56fe\u8868\u5c3a\u5bf8"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"\u4e8c\u7ef4\u6570\u636e"),"\u652f\u6301\uff0cXY\u8f74\u90fd\u53ef\u4ee5\u8bbe\u7f6e\u4e3a\u6570\u503c\u8f74"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.13) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"\u53cc\u5750\u6807\u8f74"),"\u652f\u6301\uff0c\u4ee3\u7801\u6539\u52a8\u8f83\u5927")),(0,l.kt)("h2",{id:"v050"},"v0.5.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.07.10) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v0.5.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLine"),"\u914d\u7f6e\u5750\u6807\u8f74\u8f74\u7ebf\u548c\u7bad\u5934"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.03) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u914d\u7f6e\u5750\u6807\u8f74",(0,l.kt)("inlineCode",{parentName:"li"},"\u523b\u5ea6\u6807\u7b7e")),(0,l.kt)("li",{parentName:"ul"},"(2019.07.02) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"selected"),"\u7b49\u76f8\u5173\u53c2\u6570\u914d\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7684\u9009\u4e2d\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2019.06.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SplitArea"),"\u914d\u7f6e\u5750\u6807\u8f74",(0,l.kt)("inlineCode",{parentName:"li"},"\u5206\u5272\u533a\u57df")),(0,l.kt)("li",{parentName:"ul"},"(2019.06.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisName"),"\u914d\u7f6e\u5750\u6807\u8f74",(0,l.kt)("inlineCode",{parentName:"li"},"\u540d\u79f0")),(0,l.kt)("li",{parentName:"ul"},"(2019.06.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AreaAlpha"),"\u63a7\u5236",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Area"),"\u900f\u660e\u5ea6"),(0,l.kt)("li",{parentName:"ul"},"(2019.06.13) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5b9e\u73b0",(0,l.kt)("inlineCode",{parentName:"li"},"\u533a\u57df\u7f29\u653e")),(0,l.kt)("li",{parentName:"ul"},"(2019.06.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"stepType"),"\u5b9e\u73b0",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"\u9636\u68af\u7ebf\u56fe")),(0,l.kt)("li",{parentName:"ul"},"(2019.05.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"InSameBar"),"\u5b9e\u73b0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"\u975e\u5806\u53e0\u540c\u67f1")),(0,l.kt)("li",{parentName:"ul"},"(2019.05.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"crossLabel"),"\u63a7\u5236",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"\u5341\u5b57\u51c6\u661f\u6307\u793a\u5668")),(0,l.kt)("li",{parentName:"ul"},"(2019.05.24) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"\u5806\u53e0\u533a\u57df\u56fe")),(0,l.kt)("li",{parentName:"ul"},"(2019.05.16) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisMinMaxType"),"\u63a7\u5236\u5750\u6807\u8f74\u6700\u5927\u6700\u5c0f\u523b\u5ea6"),(0,l.kt)("li",{parentName:"ul"},"(2019.05.15) \u5b8c\u5584\u6570\u636e\u63a5\u53e3"),(0,l.kt)("li",{parentName:"ul"},"(2019.05.14) \u589e\u52a0X\u8f74",(0,l.kt)("inlineCode",{parentName:"li"},"AxisType.Value"),"\u6a21\u5f0f\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.05.13) \u589e\u52a0\u8d1f\u6570\u6570\u503c\u8f74\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.05.11) \u589e\u52a0\u81ea\u5b9a\u4e49",(0,l.kt)("inlineCode",{parentName:"li"},"Editor"),"\u7f16\u8f91"),(0,l.kt)("li",{parentName:"ul"},"(2019.03.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip")),(0,l.kt)("li",{parentName:"ul"},"(2018.11.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Default"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Light"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Dark"),"\u4e09\u79cd\u9ed8\u8ba4\u4e3b\u9898")),(0,l.kt)("h2",{id:"v010"},"v0.1.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2018.09.05) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v0.1.0"),"\u7248\u672c")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ccbc8b8d.58690dee.js b/assets/js/ccbc8b8d.58690dee.js new file mode 100644 index 00000000..29358703 --- /dev/null +++ b/assets/js/ccbc8b8d.58690dee.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3491],{3905:function(e,t,a){a.d(t,{Zo:function(){return m},kt:function(){return c}});var r=a(67294);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function n(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach((function(t){i(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function d(e,t){if(null==e)return{};var a,r,i=function(e,t){if(null==e)return{};var a,r,i={},l=Object.keys(e);for(r=0;r<l.length;r++)a=l[r],t.indexOf(a)>=0||(i[a]=e[a]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)a=l[r],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}var p=r.createContext({}),o=function(e){var t=r.useContext(p),a=t;return e&&(a="function"==typeof e?e(t):n(n({},t),e)),a},m=function(e){var t=o(e.components);return r.createElement(p.Provider,{value:t},e.children)},y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},u=r.forwardRef((function(e,t){var a=e.components,i=e.mdxType,l=e.originalType,p=e.parentName,m=d(e,["components","mdxType","originalType","parentName"]),u=o(a),c=i,h=u["".concat(p,".").concat(c)]||u[c]||y[c]||l;return a?r.createElement(h,n(n({ref:t},m),{},{components:a})):r.createElement(h,n({ref:t},m))}));function c(e,t){var a=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var l=a.length,n=new Array(l);n[0]=u;var d={};for(var p in t)hasOwnProperty.call(t,p)&&(d[p]=t[p]);d.originalType=e,d.mdxType="string"==typeof e?e:i,n[1]=d;for(var o=2;o<l;o++)n[o]=a[o];return r.createElement.apply(null,n)}return r.createElement.apply(null,a)}u.displayName="MDXCreateElement"},76878:function(e,t,a){a.r(t),a.d(t,{frontMatter:function(){return d},contentTitle:function(){return p},metadata:function(){return o},toc:function(){return m},default:function(){return u}});var r=a(83117),i=a(80102),l=(a(67294),a(3905)),n=(a(84597),["components"]),d={sidebar_position:0,slug:"/pyramid"},p="PyramidChart \u91d1\u5b57\u5854",o={unversionedId:"lang/articles/extra/pyramid",id:"version-v3.12.0/lang/articles/extra/pyramid",title:"PyramidChart \u91d1\u5b57\u5854",description:"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u91d1\u5b57\u5854\u3002",source:"@site/versioned_docs/version-v3.12.0/lang/articles/extra/pyramid.md",sourceDirName:"lang/articles/extra",slug:"/pyramid",permalink:"/docs/pyramid",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/extra/pyramid.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"2024/10/1",sidebarPosition:0,frontMatter:{sidebar_position:0,slug:"/pyramid"},sidebar:"langSidebar",previous:{title:"Pie3DChart 3D\u997c\u56fe",permalink:"/docs/pie3d"},next:{title:"SankeyChart \u6851\u57fa\u56fe",permalink:"/docs/sankey"}},m=[{value:"\u622a\u56fe",id:"\u622a\u56fe",children:[],level:2},{value:"\u8bb8\u53ef",id:"\u8bb8\u53ef",children:[],level:2},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",children:[],level:2},{value:"\u6559\u7a0b",id:"\u6559\u7a0b",children:[],level:2},{value:"\u6587\u6863",id:"\u6587\u6863",children:[],level:2},{value:"\u65e5\u5fd7",id:"\u65e5\u5fd7",children:[{value:"v3.12.0",id:"v3120",children:[],level:3},{value:"v3.11.0",id:"v3110",children:[],level:3},{value:"v3.10.0",id:"v3100",children:[],level:3},{value:"v3.9.0",id:"v390",children:[],level:3},{value:"v3.6.1",id:"v361",children:[],level:3},{value:"v3.6.0",id:"v360",children:[],level:3},{value:"v3.5.0",id:"v350",children:[],level:3},{value:"v3.2.0",id:"v320",children:[],level:3}],level:2},{value:"API",id:"api",children:[{value:"Pyramid",id:"pyramid",children:[{value:"Pyramid.defaultColorBy",id:"pyramiddefaultcolorby",children:[],level:4},{value:"Pyramid.AddDefaultSerie",id:"pyramidadddefaultserie",children:[],level:4}],level:3},{value:"PyramidChart",id:"pyramidchart",children:[{value:"PyramidChart.Default2DPyramidChart",id:"pyramidchartdefault2dpyramidchart",children:[],level:4}],level:3},{value:"PyramidStyle",id:"pyramidstyle",children:[{value:"PyramidStyle.drawTop",id:"pyramidstyledrawtop",children:[],level:4}],level:3}],level:2},{value:"\u914d\u7f6e\u9879\u624b\u518c",id:"\u914d\u7f6e\u9879\u624b\u518c",children:[{value:"Pyramid",id:"pyramid-1",children:[{value:"Pyramid.pyramidStyle",id:"pyramidpyramidstyle",children:[],level:4}],level:3},{value:"PyramidStyle",id:"pyramidstyle-1",children:[{value:"PyramidStyle.3D",id:"pyramidstyle3d",children:[],level:4},{value:"PyramidStyle.bottomPointRate",id:"pyramidstylebottompointrate",children:[],level:4},{value:"PyramidStyle.drawTop",id:"pyramidstyledrawtop-1",children:[],level:4},{value:"PyramidStyle.labelLineMargin",id:"pyramidstylelabellinemargin",children:[],level:4},{value:"PyramidStyle.leftColorOpacity",id:"pyramidstyleleftcoloropacity",children:[],level:4},{value:"PyramidStyle.leftPointRate",id:"pyramidstyleleftpointrate",children:[],level:4},{value:"PyramidStyle.rightColorOpacity",id:"pyramidstylerightcoloropacity",children:[],level:4},{value:"PyramidStyle.rightPointRate",id:"pyramidstylerightpointrate",children:[],level:4},{value:"PyramidStyle.show",id:"pyramidstyleshow",children:[],level:4},{value:"PyramidStyle.topColorOpacity",id:"pyramidstyletopcoloropacity",children:[],level:4}],level:3}],level:2}],y={toc:m};function u(e){var t=e.components,d=(0,i.Z)(e,n);return(0,l.kt)("wrapper",(0,r.Z)({},y,d,{components:t,mdxType:"MDXLayout"}),(0,l.kt)("h1",{id:"pyramidchart-\u91d1\u5b57\u5854"},"PyramidChart \u91d1\u5b57\u5854"),(0,l.kt)("p",null,"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u91d1\u5b57\u5854\u3002"),(0,l.kt)("h2",{id:"\u622a\u56fe"},"\u622a\u56fe"),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:"center"}),(0,l.kt)("th",{parentName:"tr",align:"center"}),(0,l.kt)("th",{parentName:"tr",align:"center"}),(0,l.kt)("th",{parentName:"tr",align:"center"}),(0,l.kt)("th",{parentName:"tr",align:"center"}))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:"center"},(0,l.kt)("img",{alt:"Pyramid01",src:a(1856).Z,width:"577",height:"490"})),(0,l.kt)("td",{parentName:"tr",align:"center"},(0,l.kt)("img",{alt:"Pyramid02",src:a(35602).Z,width:"577",height:"490"})),(0,l.kt)("td",{parentName:"tr",align:"center"},(0,l.kt)("img",{alt:"Pyramid03",src:a(39154).Z,width:"577",height:"490"})),(0,l.kt)("td",{parentName:"tr",align:"center"}),(0,l.kt)("td",{parentName:"tr",align:"center"})))),(0,l.kt)("h2",{id:"\u8bb8\u53ef"},"\u8bb8\u53ef"),(0,l.kt)("p",null,"\u6269\u5c55\u56fe\u8868\uff0c\u9700\u4ed8\u8d39\u8d2d\u4e70\u540e\u624d\u83b7\u5f97\u4f7f\u7528\u8bb8\u53ef\u3002"),(0,l.kt)("h2",{id:"\u793a\u4f8b"},"\u793a\u4f8b"),(0,l.kt)("p",null,"Demo\u4ed3\u5e93\uff1a",(0,l.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-PyramidChart-Demo"},"XCharts-PyramidChart-Demo")),(0,l.kt)("h2",{id:"\u6559\u7a0b"},"\u6559\u7a0b"),(0,l.kt)("p",null,(0,l.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Demo"},"\u6269\u5c55\u56fe\u8868\u5982\u4f55\u5bfc\u5165Demo\u9879\u76ee\u6216\u5bfc\u5165\u81ea\u5df1\u9879\u76ee")),(0,l.kt)("h2",{id:"\u6587\u6863"},"\u6587\u6863"),(0,l.kt)("p",null,(0,l.kt)("a",{parentName:"p",href:"#api"},"API"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#%E9%85%8D%E7%BD%AE%E9%A1%B9%E6%89%8B%E5%86%8C"},"\u914d\u7f6e\u9879\u624b\u518c")," "),(0,l.kt)("h2",{id:"\u65e5\u5fd7"},"\u65e5\u5fd7"),(0,l.kt)("h3",{id:"v3120"},"v3.12.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2024.09.30) \u66f4\u65b0\u6587\u6863")),(0,l.kt)("h3",{id:"v3110"},"v3.11.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c")),(0,l.kt)("h3",{id:"v3100"},"v3.10.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.01.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Pyramid"),"\u7684\u66f4\u591a\u521b\u5efa\u9ed8\u8ba4\u56fe\u8868\u7684\u5feb\u6377\u65b9\u5f0f\u548cAPI")),(0,l.kt)("h3",{id:"v390"},"v3.9.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2023.12.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.9.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.01) \u66f4\u65b0\u6587\u6863")),(0,l.kt)("h3",{id:"v361"},"v3.6.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2023.06.08) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.6.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2023.06.08) \u66f4\u65b0\u6587\u6863")),(0,l.kt)("h3",{id:"v360"},"v3.6.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2023.04.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.6.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2023.03.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.14) \u540c\u6b65",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts v3.6.0"))),(0,l.kt)("h3",{id:"v350"},"v3.5.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.12.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.5.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.27) \u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u6587\u6863\u7ed3\u6784")),(0,l.kt)("h3",{id:"v320"},"v3.2.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.08.22) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.2.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.19) \u540c\u6b65",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts v3.2.0"))),(0,l.kt)("h2",{id:"api"},"API"),(0,l.kt)("h3",{id:"pyramid"},"Pyramid"),(0,l.kt)("p",null,"class in XCharts.Runtime.Pyramids / \u7ee7\u627f\u81ea: ",(0,l.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#serie"},"Serie")),(0,l.kt)("h4",{id:"pyramiddefaultcolorby"},"Pyramid.defaultColorBy"),(0,l.kt)("p",null,"public override SerieColorBy defaultColorBy "),(0,l.kt)("h4",{id:"pyramidadddefaultserie"},"Pyramid.AddDefaultSerie"),(0,l.kt)("p",null,"public static void AddDefaultSerie(BaseChart chart, string serieName) "),(0,l.kt)("h3",{id:"pyramidchart"},"PyramidChart"),(0,l.kt)("p",null,"class in XCharts.Runtime.Pyramids / \u7ee7\u627f\u81ea: ",(0,l.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#basechart"},"BaseChart")),(0,l.kt)("h4",{id:"pyramidchartdefault2dpyramidchart"},"PyramidChart.Default2DPyramidChart"),(0,l.kt)("p",null,"public void Default2DPyramidChart()",(0,l.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba4\u76842D\u91d1\u5b57\u5854\u56fe\u3002"),(0,l.kt)("h3",{id:"pyramidstyle"},"PyramidStyle"),(0,l.kt)("p",null,"class in XCharts.Runtime.Pyramids / \u7ee7\u627f\u81ea: ",(0,l.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#childcomponent"},"ChildComponent")),(0,l.kt)("h4",{id:"pyramidstyledrawtop"},"PyramidStyle.drawTop"),(0,l.kt)("p",null,"public bool drawTop "),(0,l.kt)("h2",{id:"\u914d\u7f6e\u9879\u624b\u518c"},"\u914d\u7f6e\u9879\u624b\u518c"),(0,l.kt)("h3",{id:"pyramid-1"},"Pyramid"),(0,l.kt)("p",null,"class in XCharts.Runtime.Pyramids / \u7ee7\u627f\u81ea: ",(0,l.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie"},"Serie")),(0,l.kt)("h4",{id:"pyramidpyramidstyle"},"Pyramid.pyramidStyle"),(0,l.kt)("p",null,(0,l.kt)("a",{parentName:"p",href:"#pyramidstyle"},"PyramidStyle")),(0,l.kt)("h3",{id:"pyramidstyle-1"},"PyramidStyle"),(0,l.kt)("p",null,"class in XCharts.Runtime.Pyramids / \u7ee7\u627f\u81ea: ",(0,l.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#childcomponent"},"ChildComponent")),(0,l.kt)("h4",{id:"pyramidstyle3d"},"PyramidStyle.3D"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,l.kt)("inlineCode",{parentName:"p"},"true")),(0,l.kt)("h4",{id:"pyramidstylebottompointrate"},"PyramidStyle.bottomPointRate"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"float")," ",(0,l.kt)("inlineCode",{parentName:"p"},"0.5f")),(0,l.kt)("p",null,"3D\u6a21\u5f0f\u4e0b\uff0c\u5e95\u90e8\u4e2d\u70b9\u5360\u91d1\u5b57\u5854\u5bbd\u5ea6\u7684\u6bd4\u4f8b"),(0,l.kt)("h4",{id:"pyramidstyledrawtop-1"},"PyramidStyle.drawTop"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,l.kt)("inlineCode",{parentName:"p"},"true")),(0,l.kt)("h4",{id:"pyramidstylelabellinemargin"},"PyramidStyle.labelLineMargin"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"float")," ",(0,l.kt)("inlineCode",{parentName:"p"},"10f")),(0,l.kt)("p",null,"Label\u6807\u7b7e\u8ddd\u79bb\u53f3\u8fb9\u7684\u8ddd\u79bb"),(0,l.kt)("h4",{id:"pyramidstyleleftcoloropacity"},"PyramidStyle.leftColorOpacity"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"float")," ",(0,l.kt)("inlineCode",{parentName:"p"},"0.9f")),(0,l.kt)("p",null,"3D\u6a21\u5f0f\u4e0b\uff0c\u91d1\u5b57\u5854\u5de6\u8fb9\u7684\u989c\u8272\u900f\u660e\u5ea6"),(0,l.kt)("h4",{id:"pyramidstyleleftpointrate"},"PyramidStyle.leftPointRate"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"float")," ",(0,l.kt)("inlineCode",{parentName:"p"},"0.1f")),(0,l.kt)("p",null,"3D\u6a21\u5f0f\u4e0b\uff0c\u5e95\u90e8\u5de6\u8fb9\u70b9\u5360\u91d1\u5b57\u5854\u9ad8\u5ea6\u7684\u6bd4\u4f8b"),(0,l.kt)("h4",{id:"pyramidstylerightcoloropacity"},"PyramidStyle.rightColorOpacity"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"float")," ",(0,l.kt)("inlineCode",{parentName:"p"},"0.7f")),(0,l.kt)("p",null,"3D\u6a21\u5f0f\u4e0b\uff0c\u91d1\u5b57\u5854\u53f3\u8fb9\u7684\u989c\u8272\u900f\u660e\u5ea6"),(0,l.kt)("h4",{id:"pyramidstylerightpointrate"},"PyramidStyle.rightPointRate"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"float")," ",(0,l.kt)("inlineCode",{parentName:"p"},"0.1f")),(0,l.kt)("p",null,"3D\u6a21\u5f0f\u4e0b\uff0c\u5e95\u90e8\u53f3\u8fb9\u70b9\u5360\u91d1\u5b57\u5854\u9ad8\u5ea6\u7684\u6bd4\u4f8b"),(0,l.kt)("h4",{id:"pyramidstyleshow"},"PyramidStyle.show"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,l.kt)("inlineCode",{parentName:"p"},"true")),(0,l.kt)("h4",{id:"pyramidstyletopcoloropacity"},"PyramidStyle.topColorOpacity"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"float")," ",(0,l.kt)("inlineCode",{parentName:"p"},"0.99f")),(0,l.kt)("p",null,"3D\u6a21\u5f0f\u4e0b\uff0c\u91d1\u5b57\u5854\u9876\u90e8\u7684\u989c\u8272\u900f\u660e\u5ea6"))}u.isMDXComponent=!0},84597:function(e,t,a){a.d(t,{Z:function(){return p}});var r=a(67294),i=a(76775),l="apiTable_e8hp";function n(e,t){var a=e.name,l=e.children,n=function(e){for(var t=e;(0,r.isValidElement)(t);)t=r.Children.toArray(t.props.children)[0];return t}(l),d=a?a+"-"+n:n,p="#"+d,o=(0,i.k6)();return r.createElement("tr",{id:d,tabIndex:0,ref:o.location.hash===p?t:void 0,onClick:function(e){"A"===e.target.tagName.toUpperCase()||o.push(p)},onKeyDown:function(e){"Enter"===e.key&&o.push(p)}},l.props.children)}var d=r.forwardRef(n);function p(e){var t=e.children,a=e.name,i=r.Children.toArray(t.props.children),n=i[0],p=i[1],o=(0,r.useRef)(null);(0,r.useEffect)((function(){var e;null==(e=o.current)||e.focus()}),[o]);var m=r.Children.map(p.props.children,(function(e){return r.createElement(d,{name:a,ref:o},e)}));return r.createElement("table",{className:l},n,r.createElement("tbody",null,m))}},1856:function(e,t,a){t.Z=a.p+"assets/images/Pyramid01-ede6f3d94ea510cf808af2512aec8059.png"},35602:function(e,t,a){t.Z=a.p+"assets/images/Pyramid02-ea2be95ee87bfe17841b7539cf918f39.png"},39154:function(e,t,a){t.Z=a.p+"assets/images/Pyramid03-1254ef359da2587a46a36cab2435e1b2.png"}}]); \ No newline at end of file diff --git a/assets/js/da3b0d6f.0d3ae9bf.js b/assets/js/da3b0d6f.0d3ae9bf.js new file mode 100644 index 00000000..206d69aa --- /dev/null +++ b/assets/js/da3b0d6f.0d3ae9bf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7847],{3905:function(e,t,l){l.d(t,{Zo:function(){return u},kt:function(){return v}});var a=l(67294);function r(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}function n(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function i(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?n(Object(l),!0).forEach((function(t){r(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):n(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}function p(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}var m=a.createContext({}),d=function(e){var t=a.useContext(m),l=t;return e&&(l="function"==typeof e?e(t):i(i({},t),e)),l},u=function(e){var t=d(e.components);return a.createElement(m.Provider,{value:t},e.children)},o={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},c=a.forwardRef((function(e,t){var l=e.components,r=e.mdxType,n=e.originalType,m=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),c=d(l),v=r,s=c["".concat(m,".").concat(v)]||c[v]||o[v]||n;return l?a.createElement(s,i(i({ref:t},u),{},{components:l})):a.createElement(s,i({ref:t},u))}));function v(e,t){var l=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var n=l.length,i=new Array(n);i[0]=c;var p={};for(var m in t)hasOwnProperty.call(t,m)&&(p[m]=t[m]);p.originalType=e,p.mdxType="string"==typeof e?e:r,i[1]=p;for(var d=2;d<n;d++)i[d]=l[d];return a.createElement.apply(null,i)}return a.createElement.apply(null,l)}c.displayName="MDXCreateElement"},68187:function(e,t,l){l.r(t),l.d(t,{frontMatter:function(){return p},contentTitle:function(){return m},metadata:function(){return d},toc:function(){return u},default:function(){return c}});var a=l(83117),r=l(80102),n=(l(67294),l(3905)),i=(l(84597),["components"]),p={sidebar_position:0,slug:"/treemap"},m="TreemapChart \u77e9\u5f62\u6811\u56fe",d={unversionedId:"lang/articles/extra/treemap",id:"version-v3.12.0/lang/articles/extra/treemap",title:"TreemapChart \u77e9\u5f62\u6811\u56fe",description:"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u77e9\u5f62\u6811\u56fe\u3002",source:"@site/versioned_docs/version-v3.12.0/lang/articles/extra/treemap.md",sourceDirName:"lang/articles/extra",slug:"/treemap",permalink:"/docs/treemap",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/extra/treemap.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"2024/10/1",sidebarPosition:0,frontMatter:{sidebar_position:0,slug:"/treemap"},sidebar:"langSidebar",previous:{title:"SankeyChart \u6851\u57fa\u56fe",permalink:"/docs/sankey"},next:{title:"\u4ece\u6587\u4ef6\u6216\u6570\u636e\u5e93\u8bfb\u53d6\u6570\u636e\u663e\u793a\u56fe\u8868",permalink:"/docs/tutorial02"}},u=[{value:"\u622a\u56fe",id:"\u622a\u56fe",children:[],level:2},{value:"\u8bb8\u53ef",id:"\u8bb8\u53ef",children:[],level:2},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",children:[],level:2},{value:"\u6559\u7a0b",id:"\u6559\u7a0b",children:[],level:2},{value:"\u6587\u6863",id:"\u6587\u6863",children:[],level:2},{value:"\u65e5\u5fd7",id:"\u65e5\u5fd7",children:[{value:"v3.12.0",id:"v3120",children:[],level:3},{value:"v3.11.0",id:"v3110",children:[],level:3},{value:"v3.9.0",id:"v390",children:[],level:3},{value:"v3.6.2",id:"v362",children:[],level:3},{value:"v3.6.1",id:"v361",children:[],level:3},{value:"v3.6.0",id:"v360",children:[],level:3},{value:"v3.5.0",id:"v350",children:[],level:3},{value:"v3.2.0",id:"v320",children:[],level:3}],level:2},{value:"API",id:"api",children:[{value:"Treemap",id:"treemap",children:[{value:"Treemap.customGoUpLevelButton",id:"treemapcustomgouplevelbutton",children:[],level:4},{value:"Treemap.drillDownIcon",id:"treemapdrilldownicon",children:[],level:4},{value:"Treemap.leafDepth",id:"treemapleafdepth",children:[],level:4},{value:"Treemap.levelStyle",id:"treemaplevelstyle",children:[],level:4},{value:"Treemap.upperLabel",id:"treemapupperlabel",children:[],level:4},{value:"Treemap.visualDimension",id:"treemapvisualdimension",children:[],level:4},{value:"Treemap.AddDefaultSerie",id:"treemapadddefaultserie",children:[],level:4},{value:"Treemap.CanGoUpALevel",id:"treemapcangoupalevel",children:[],level:4},{value:"Treemap.GetLevelItemStyle",id:"treemapgetlevelitemstyle",children:[],level:4},{value:"Treemap.GetLevelLabel",id:"treemapgetlevellabel",children:[],level:4},{value:"Treemap.GetLevelUpperLabel",id:"treemapgetlevelupperlabel",children:[],level:4},{value:"Treemap.GoUpALevel",id:"treemapgoupalevel",children:[],level:4},{value:"Treemap.OnDataUpdate",id:"treemapondataupdate",children:[],level:4},{value:"Treemap.SetSelectedSerieData",id:"treemapsetselectedseriedata",children:[],level:4}],level:3},{value:"TreemapChart",id:"treemapchart",children:[],level:3}],level:2},{value:"\u914d\u7f6e\u9879\u624b\u518c",id:"\u914d\u7f6e\u9879\u624b\u518c",children:[{value:"Treemap",id:"treemap-1",children:[{value:"Treemap.customGoUpLevelButton",id:"treemapcustomgouplevelbutton-1",children:[],level:4},{value:"Treemap.drillDownIcon",id:"treemapdrilldownicon-1",children:[],level:4},{value:"Treemap.leafDepth",id:"treemapleafdepth-1",children:[],level:4},{value:"Treemap.levelStyle",id:"treemaplevelstyle-1",children:[],level:4},{value:"Treemap.upperLabel",id:"treemapupperlabel-1",children:[],level:4},{value:"Treemap.visualDimension",id:"treemapvisualdimension-1",children:[],level:4}],level:3}],level:2}],o={toc:u};function c(e){var t=e.components,p=(0,r.Z)(e,i);return(0,n.kt)("wrapper",(0,a.Z)({},o,p,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"treemapchart-\u77e9\u5f62\u6811\u56fe"},"TreemapChart \u77e9\u5f62\u6811\u56fe"),(0,n.kt)("p",null,"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u77e9\u5f62\u6811\u56fe\u3002"),(0,n.kt)("h2",{id:"\u622a\u56fe"},"\u622a\u56fe"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Treemap01",src:l(41369).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Treemap02",src:l(28085).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Treemap03",src:l(81996).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Treemap04",src:l(51208).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"})))),(0,n.kt)("h2",{id:"\u8bb8\u53ef"},"\u8bb8\u53ef"),(0,n.kt)("p",null,"\u6269\u5c55\u56fe\u8868\uff0c\u9700\u4ed8\u8d39\u8d2d\u4e70\u540e\u624d\u83b7\u5f97\u4f7f\u7528\u8bb8\u53ef\u3002"),(0,n.kt)("h2",{id:"\u793a\u4f8b"},"\u793a\u4f8b"),(0,n.kt)("p",null,"Demo\u4ed3\u5e93\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-TreemapChart-Demo"},"XCharts-TreemapChart-Demo")),(0,n.kt)("h2",{id:"\u6559\u7a0b"},"\u6559\u7a0b"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Demo"},"\u6269\u5c55\u56fe\u8868\u5982\u4f55\u5bfc\u5165Demo\u9879\u76ee\u6216\u5bfc\u5165\u81ea\u5df1\u9879\u76ee")),(0,n.kt)("h2",{id:"\u6587\u6863"},"\u6587\u6863"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#api"},"API"),(0,n.kt)("br",{parentName:"p"}),"\n",(0,n.kt)("a",{parentName:"p",href:"#%E9%85%8D%E7%BD%AE%E9%A1%B9%E6%89%8B%E5%86%8C"},"\u914d\u7f6e\u9879\u624b\u518c")," "),(0,n.kt)("h2",{id:"\u65e5\u5fd7"},"\u65e5\u5fd7"),(0,n.kt)("h3",{id:"v3120"},"v3.12.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2024.09.30) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v3110"},"v3.11.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c")),(0,n.kt)("h3",{id:"v390"},"v3.9.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.12.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.9.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.12.01) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v362"},"v3.6.2"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.11.08) \u4fee\u590d",(0,n.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u8bbe\u7f6e",(0,n.kt)("inlineCode",{parentName:"li"},"borderColor"),"\u540e\u8fb9\u6846\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898")),(0,n.kt)("h3",{id:"v361"},"v3.6.1"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.06.08) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.6.1"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.06.08) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v360"},"v3.6.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.04.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.6.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.09) \u652f\u6301",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieClick")," ",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieDown")," ",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieEnter"),"\u548c",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieExit"),"\u56de\u8c03"),(0,n.kt)("li",{parentName:"ul"},"(2023.02.14) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.6.0"))),(0,n.kt)("h3",{id:"v350"},"v3.5.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.12.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.5.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2022.11.27) \u8c03\u6574",(0,n.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u6587\u6863\u7ed3\u6784")),(0,n.kt)("h3",{id:"v320"},"v3.2.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.08.22) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.2.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2022.08.19) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.2.0"))),(0,n.kt)("h2",{id:"api"},"API"),(0,n.kt)("h3",{id:"treemap"},"Treemap"),(0,n.kt)("p",null,"class in XCharts.Runtime.Treemaps / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#serie"},"Serie")),(0,n.kt)("h4",{id:"treemapcustomgouplevelbutton"},"Treemap.customGoUpLevelButton"),(0,n.kt)("p",null,"public GameObject customGoUpLevelButton",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49\u8fd4\u56de\u4e0a\u4e00\u5c42\u6309\u94ae\uff0c\u81ea\u5b9a\u4e49\u7684\u6309\u94ae\u9700\u8981\u81ea\u5df1\u5904\u7406\u70b9\u51fb\u4e8b\u4ef6\uff0c\u8c03\u7528GoUpALevel()\u63a5\u53e3\u3002"),(0,n.kt)("h4",{id:"treemapdrilldownicon"},"Treemap.drillDownIcon"),(0,n.kt)("p",null,"public string drillDownIcon",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f53\u8282\u70b9\u53ef\u4ee5\u4e0b\u94bb\u65f6\u7684\u63d0\u793a\u7b26\uff0c\u53ea\u80fd\u662f\u5b57\u7b26\u3002\u9ed8\u8ba4\u4e3a\u25b6"),(0,n.kt)("h4",{id:"treemapleafdepth"},"Treemap.leafDepth"),(0,n.kt)("p",null,"public int leafDepth",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u663e\u793a\u7684\u51e0\u5c42\u8282\u70b9\u3002\u9ed8\u8ba4\u4e3a0\u65f6\u8868\u793a\u5c3d\u53ef\u80fd\u5c55\u793a\u591a\u5c42\u8282\u70b9\uff0c\u8bbe\u7f6e\u5927\u4e8e0\u65f6\uff0c\u4e0b\u94bb\u529f\u80fd\u5f00\u542f\uff0c\u9700\u8981\u70b9\u51fb\u540e\u624d\u5c55\u793a\u5b50\u8282\u70b9\u3002"),(0,n.kt)("h4",{id:"treemaplevelstyle"},"Treemap.levelStyle"),(0,n.kt)("p",null,"public LevelStyle levelStyle "),(0,n.kt)("h4",{id:"treemapupperlabel"},"Treemap.upperLabel"),(0,n.kt)("p",null,"public LabelStyle upperLabel",(0,n.kt)("br",{parentName:"p"}),"\n","\u7236\u8282\u70b9\u6807\u7b7e\u3002show\u4e3atrue\u65f6\u8868\u793a\u663e\u793a\u7236\u8282\u70b9\u6807\u7b7e\uff0cmargin\u53c2\u6570\u8bbe\u7f6e\u5b50\u8282\u70b9\u548c\u7236\u8282\u70b9\u7684\u95f4\u8ddd\u3002"),(0,n.kt)("h4",{id:"treemapvisualdimension"},"Treemap.visualDimension"),(0,n.kt)("p",null,"public int visualDimension",(0,n.kt)("br",{parentName:"p"}),"\n","\u7528\u4e8e\u8ba1\u7b97\u5360\u6bd4\u7684\u6570\u636e\u7ef4\u6570\u3002"),(0,n.kt)("h4",{id:"treemapadddefaultserie"},"Treemap.AddDefaultSerie"),(0,n.kt)("p",null,"public static void AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h4",{id:"treemapcangoupalevel"},"Treemap.CanGoUpALevel"),(0,n.kt)("p",null,"public bool CanGoUpALevel()",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u53ef\u4ee5\u8fd4\u56de\u4e0a\u4e00\u5c42"),(0,n.kt)("h4",{id:"treemapgetlevelitemstyle"},"Treemap.GetLevelItemStyle"),(0,n.kt)("p",null,"public ItemStyle GetLevelItemStyle(int level) "),(0,n.kt)("h4",{id:"treemapgetlevellabel"},"Treemap.GetLevelLabel"),(0,n.kt)("p",null,"public LabelStyle GetLevelLabel(int level) "),(0,n.kt)("h4",{id:"treemapgetlevelupperlabel"},"Treemap.GetLevelUpperLabel"),(0,n.kt)("p",null,"public LabelStyle GetLevelUpperLabel(int level) "),(0,n.kt)("h4",{id:"treemapgoupalevel"},"Treemap.GoUpALevel"),(0,n.kt)("p",null,"public void GoUpALevel()",(0,n.kt)("br",{parentName:"p"}),"\n","\u8fd4\u56de\u4e0a\u4e00\u5c42"),(0,n.kt)("h4",{id:"treemapondataupdate"},"Treemap.OnDataUpdate"),(0,n.kt)("p",null,"public override void OnDataUpdate() "),(0,n.kt)("h4",{id:"treemapsetselectedseriedata"},"Treemap.SetSelectedSerieData"),(0,n.kt)("p",null,"public bool SetSelectedSerieData(string serieDataName)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6e\u9009\u4e2d\uff08\u8981\u5c55\u793a\u7684\uff09\u7684\u6570\u636e\u540d"),(0,n.kt)("h3",{id:"treemapchart"},"TreemapChart"),(0,n.kt)("p",null,"class in XCharts.Runtime.Treemaps / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#basechart"},"BaseChart")),(0,n.kt)("h2",{id:"\u914d\u7f6e\u9879\u624b\u518c"},"\u914d\u7f6e\u9879\u624b\u518c"),(0,n.kt)("h3",{id:"treemap-1"},"Treemap"),(0,n.kt)("p",null,"class in XCharts.Runtime.Treemaps / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie"},"Serie")),(0,n.kt)("h4",{id:"treemapcustomgouplevelbutton-1"},"Treemap.customGoUpLevelButton"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"GameObject")),(0,n.kt)("p",null,"\u81ea\u5b9a\u4e49\u8fd4\u56de\u4e0a\u4e00\u5c42\u6309\u94ae\uff0c\u81ea\u5b9a\u4e49\u7684\u6309\u94ae\u9700\u8981\u81ea\u5df1\u5904\u7406\u70b9\u51fb\u4e8b\u4ef6\uff0c\u8c03\u7528GoUpALevel()\u63a5\u53e3\u3002"),(0,n.kt)("h4",{id:"treemapdrilldownicon-1"},"Treemap.drillDownIcon"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u5f53\u8282\u70b9\u53ef\u4ee5\u4e0b\u94bb\u65f6\u7684\u63d0\u793a\u7b26\uff0c\u53ea\u80fd\u662f\u5b57\u7b26\u3002\u9ed8\u8ba4\u4e3a\u25b6"),(0,n.kt)("h4",{id:"treemapleafdepth-1"},"Treemap.leafDepth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u9ed8\u8ba4\u663e\u793a\u7684\u51e0\u5c42\u8282\u70b9\u3002\u9ed8\u8ba4\u4e3a0\u65f6\u8868\u793a\u5c3d\u53ef\u80fd\u5c55\u793a\u591a\u5c42\u8282\u70b9\uff0c\u8bbe\u7f6e\u5927\u4e8e0\u65f6\uff0c\u4e0b\u94bb\u529f\u80fd\u5f00\u542f\uff0c\u9700\u8981\u70b9\u51fb\u540e\u624d\u5c55\u793a\u5b50\u8282\u70b9\u3002"),(0,n.kt)("h4",{id:"treemaplevelstyle-1"},"Treemap.levelStyle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"LevelStyle")),(0,n.kt)("h4",{id:"treemapupperlabel-1"},"Treemap.upperLabel"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"LabelStyle")),(0,n.kt)("p",null,"\u7236\u8282\u70b9\u6807\u7b7e\u3002show\u4e3atrue\u65f6\u8868\u793a\u663e\u793a\u7236\u8282\u70b9\u6807\u7b7e\uff0cmargin\u53c2\u6570\u8bbe\u7f6e\u5b50\u8282\u70b9\u548c\u7236\u8282\u70b9\u7684\u95f4\u8ddd\u3002"),(0,n.kt)("h4",{id:"treemapvisualdimension-1"},"Treemap.visualDimension"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u7528\u4e8e\u8ba1\u7b97\u5360\u6bd4\u7684\u6570\u636e\u7ef4\u6570\u3002"))}c.isMDXComponent=!0},84597:function(e,t,l){l.d(t,{Z:function(){return m}});var a=l(67294),r=l(76775),n="apiTable_e8hp";function i(e,t){var l=e.name,n=e.children,i=function(e){for(var t=e;(0,a.isValidElement)(t);)t=a.Children.toArray(t.props.children)[0];return t}(n),p=l?l+"-"+i:i,m="#"+p,d=(0,r.k6)();return a.createElement("tr",{id:p,tabIndex:0,ref:d.location.hash===m?t:void 0,onClick:function(e){"A"===e.target.tagName.toUpperCase()||d.push(m)},onKeyDown:function(e){"Enter"===e.key&&d.push(m)}},n.props.children)}var p=a.forwardRef(i);function m(e){var t=e.children,l=e.name,r=a.Children.toArray(t.props.children),i=r[0],m=r[1],d=(0,a.useRef)(null);(0,a.useEffect)((function(){var e;null==(e=d.current)||e.focus()}),[d]);var u=a.Children.map(m.props.children,(function(e){return a.createElement(p,{name:l,ref:d},e)}));return a.createElement("table",{className:n},i,a.createElement("tbody",null,u))}},41369:function(e,t,l){t.Z=l.p+"assets/images/Treemap01-ab15b071df30bdc69fa95392f6acc463.png"},28085:function(e,t,l){t.Z=l.p+"assets/images/Treemap02-0181da1a846e5288eed06e7fdd2cf966.png"},81996:function(e,t,l){t.Z=l.p+"assets/images/Treemap03-acd2850d471f052f18f7b4308333784b.png"},51208:function(e,t,l){t.Z=l.p+"assets/images/Treemap04-ff1987539bb7dd3678fed6896be506ce.png"}}]); \ No newline at end of file diff --git a/assets/js/e4b9cb97.9814d761.js b/assets/js/e4b9cb97.9814d761.js new file mode 100644 index 00000000..c6c60ecb --- /dev/null +++ b/assets/js/e4b9cb97.9814d761.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9454],{3905:function(e,t,n){n.d(t,{Zo:function(){return c},kt:function(){return s}});var l=n(67294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,l)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(null==e)return{};var n,l,a=function(e,t){if(null==e)return{};var n,l,a={},r=Object.keys(e);for(l=0;l<r.length;l++)n=r[l],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(l=0;l<r.length;l++)n=r[l],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var d=l.createContext({}),o=function(e){var t=l.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},c=function(e){var t=o(e.components);return l.createElement(d.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return l.createElement(l.Fragment,{},t)}},h=l.forwardRef((function(e,t){var n=e.components,a=e.mdxType,r=e.originalType,d=e.parentName,c=u(e,["components","mdxType","originalType","parentName"]),h=o(n),s=a,m=h["".concat(d,".").concat(s)]||h[s]||p[s]||r;return n?l.createElement(m,i(i({ref:t},c),{},{components:n})):l.createElement(m,i({ref:t},c))}));function s(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var r=n.length,i=new Array(r);i[0]=h;var u={};for(var d in t)hasOwnProperty.call(t,d)&&(u[d]=t[d]);u.originalType=e,u.mdxType="string"==typeof e?e:a,i[1]=u;for(var o=2;o<r;o++)i[o]=n[o];return l.createElement.apply(null,i)}return l.createElement.apply(null,n)}h.displayName="MDXCreateElement"},48320:function(e,t,n){n.r(t),n.d(t,{frontMatter:function(){return u},contentTitle:function(){return d},metadata:function(){return o},toc:function(){return c},default:function(){return h}});var l=n(83117),a=n(80102),r=(n(67294),n(3905)),i=(n(84597),["components"]),u={sidebar_position:0,slug:"/funnel"},d="FunnelChart \u6f0f\u6597\u56fe",o={unversionedId:"lang/articles/extra/funnel",id:"version-v3.12.0/lang/articles/extra/funnel",title:"FunnelChart \u6f0f\u6597\u56fe",description:"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u6f0f\u6597\u56fe\u3002",source:"@site/versioned_docs/version-v3.12.0/lang/articles/extra/funnel.md",sourceDirName:"lang/articles/extra",slug:"/funnel",permalink:"/docs/funnel",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/extra/funnel.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"2024/10/1",sidebarPosition:0,frontMatter:{sidebar_position:0,slug:"/funnel"},sidebar:"langSidebar",previous:{title:"Bar3DChart 3D\u67f1\u56fe",permalink:"/docs/bar3d"},next:{title:"GanttChart \u7518\u7279\u56fe",permalink:"/docs/gantt"}},c=[{value:"\u622a\u56fe",id:"\u622a\u56fe",children:[],level:2},{value:"\u8bb8\u53ef",id:"\u8bb8\u53ef",children:[],level:2},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",children:[],level:2},{value:"\u6559\u7a0b",id:"\u6559\u7a0b",children:[],level:2},{value:"\u6587\u6863",id:"\u6587\u6863",children:[],level:2},{value:"\u65e5\u5fd7",id:"\u65e5\u5fd7",children:[{value:"v3.12.0",id:"v3120",children:[],level:3},{value:"v3.11.0",id:"v3110",children:[],level:3},{value:"v3.9.0",id:"v390",children:[],level:3},{value:"v3.6.1",id:"v361",children:[],level:3},{value:"v3.6.0",id:"v360",children:[],level:3},{value:"v3.5.0",id:"v350",children:[],level:3},{value:"v3.3.0",id:"v330",children:[],level:3},{value:"v3.2.0",id:"v320",children:[],level:3}],level:2},{value:"API",id:"api",children:[{value:"Funnel",id:"funnel",children:[{value:"Funnel.defaultColorBy",id:"funneldefaultcolorby",children:[],level:4},{value:"Funnel.useSortData",id:"funnelusesortdata",children:[],level:4},{value:"Funnel.AddDefaultSerie",id:"funneladddefaultserie",children:[],level:4}],level:3},{value:"FunnelChart",id:"funnelchart",children:[{value:"FunnelChart.DefaultHorizonalFunnelChart",id:"funnelchartdefaulthorizonalfunnelchart",children:[],level:4}],level:3}],level:2},{value:"\u914d\u7f6e\u9879\u624b\u518c",id:"\u914d\u7f6e\u9879\u624b\u518c",children:[{value:"Funnel",id:"funnel-1",children:[{value:"Funnel.dynamicHeight",id:"funneldynamicheight",children:[],level:4},{value:"Funnel.rectEnd",id:"funnelrectend",children:[],level:4}],level:3}],level:2}],p={toc:c};function h(e){var t=e.components,u=(0,a.Z)(e,i);return(0,r.kt)("wrapper",(0,l.Z)({},p,u,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h1",{id:"funnelchart-\u6f0f\u6597\u56fe"},"FunnelChart \u6f0f\u6597\u56fe"),(0,r.kt)("p",null,"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u6f0f\u6597\u56fe\u3002"),(0,r.kt)("h2",{id:"\u622a\u56fe"},"\u622a\u56fe"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"center"}),(0,r.kt)("th",{parentName:"tr",align:"center"}),(0,r.kt)("th",{parentName:"tr",align:"center"}),(0,r.kt)("th",{parentName:"tr",align:"center"}),(0,r.kt)("th",{parentName:"tr",align:"center"}))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"center"},(0,r.kt)("img",{alt:"Funnel01",src:n(34212).Z,width:"577",height:"490"})),(0,r.kt)("td",{parentName:"tr",align:"center"},(0,r.kt)("img",{alt:"Funnel02",src:n(8769).Z,width:"577",height:"490"})),(0,r.kt)("td",{parentName:"tr",align:"center"},(0,r.kt)("img",{alt:"Funnel03",src:n(32729).Z,width:"577",height:"490"})),(0,r.kt)("td",{parentName:"tr",align:"center"},(0,r.kt)("img",{alt:"Funnel04",src:n(34556).Z,width:"577",height:"490"})),(0,r.kt)("td",{parentName:"tr",align:"center"},(0,r.kt)("img",{alt:"Funnel05",src:n(64081).Z,width:"577",height:"490"}))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"center"},(0,r.kt)("img",{alt:"Funnel07",src:n(72920).Z,width:"577",height:"490"})),(0,r.kt)("td",{parentName:"tr",align:"center"},(0,r.kt)("img",{alt:"Funnel08",src:n(98986).Z,width:"577",height:"490"})),(0,r.kt)("td",{parentName:"tr",align:"center"},(0,r.kt)("img",{alt:"Funnel09",src:n(60735).Z,width:"577",height:"490"})),(0,r.kt)("td",{parentName:"tr",align:"center"}),(0,r.kt)("td",{parentName:"tr",align:"center"})))),(0,r.kt)("h2",{id:"\u8bb8\u53ef"},"\u8bb8\u53ef"),(0,r.kt)("p",null,"\u6269\u5c55\u56fe\u8868\uff0c\u9700\u4ed8\u8d39\u8d2d\u4e70\u540e\u624d\u83b7\u5f97\u4f7f\u7528\u8bb8\u53ef\u3002"),(0,r.kt)("h2",{id:"\u793a\u4f8b"},"\u793a\u4f8b"),(0,r.kt)("p",null,"Demo\u4ed3\u5e93\uff1a",(0,r.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-FunnelChart-Demo"},"XCharts-FunnelChart-Demo")),(0,r.kt)("h2",{id:"\u6559\u7a0b"},"\u6559\u7a0b"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Demo"},"\u6269\u5c55\u56fe\u8868\u5982\u4f55\u5bfc\u5165Demo\u9879\u76ee\u6216\u5bfc\u5165\u81ea\u5df1\u9879\u76ee")),(0,r.kt)("h2",{id:"\u6587\u6863"},"\u6587\u6863"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"#api"},"API"),(0,r.kt)("br",{parentName:"p"}),"\n",(0,r.kt)("a",{parentName:"p",href:"#%E9%85%8D%E7%BD%AE%E9%A1%B9%E6%89%8B%E5%86%8C"},"\u914d\u7f6e\u9879\u624b\u518c")," "),(0,r.kt)("h2",{id:"\u65e5\u5fd7"},"\u65e5\u5fd7"),(0,r.kt)("h3",{id:"v3120"},"v3.12.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,r.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,r.kt)("li",{parentName:"ul"},"(2024.09.30) \u66f4\u65b0\u6587\u6863")),(0,r.kt)("h3",{id:"v3110"},"v3.11.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,r.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c")),(0,r.kt)("h3",{id:"v390"},"v3.9.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2023.12.01) \u53d1\u5e03",(0,r.kt)("inlineCode",{parentName:"li"},"v3.9.0"),"\u7248\u672c"),(0,r.kt)("li",{parentName:"ul"},"(2023.12.01) \u66f4\u65b0\u6587\u6863")),(0,r.kt)("h3",{id:"v361"},"v3.6.1"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2023.06.08) \u53d1\u5e03",(0,r.kt)("inlineCode",{parentName:"li"},"v3.6.1"),"\u7248\u672c"),(0,r.kt)("li",{parentName:"ul"},"(2023.06.08) \u66f4\u65b0\u6587\u6863")),(0,r.kt)("h3",{id:"v360"},"v3.6.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2023.04.01) \u53d1\u5e03",(0,r.kt)("inlineCode",{parentName:"li"},"v3.6.0"),"\u7248\u672c"),(0,r.kt)("li",{parentName:"ul"},"(2023.03.09) \u652f\u6301",(0,r.kt)("inlineCode",{parentName:"li"},"onSerieClick")," ",(0,r.kt)("inlineCode",{parentName:"li"},"onSerieDown")," ",(0,r.kt)("inlineCode",{parentName:"li"},"onSerieEnter"),"\u548c",(0,r.kt)("inlineCode",{parentName:"li"},"onSerieExit"),"\u56de\u8c03"),(0,r.kt)("li",{parentName:"ul"},"(2023.02.14) \u540c\u6b65",(0,r.kt)("inlineCode",{parentName:"li"},"XCharts v3.6.0"))),(0,r.kt)("h3",{id:"v350"},"v3.5.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2022.12.01) \u53d1\u5e03",(0,r.kt)("inlineCode",{parentName:"li"},"v3.5.0"),"\u7248\u672c"),(0,r.kt)("li",{parentName:"ul"},"(2022.11.27) \u8c03\u6574",(0,r.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u6587\u6863\u7ed3\u6784")),(0,r.kt)("h3",{id:"v330"},"v3.3.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2022.09.24) \u589e\u52a0",(0,r.kt)("inlineCode",{parentName:"li"},"DynamicHeight"),"\u53c2\u6570\u652f\u6301\u914d\u7f6e\u662f\u5426\u6620\u5c04\u4e3a\u52a8\u6001\u9ad8\u5ea6"),(0,r.kt)("li",{parentName:"ul"},"(2022.09.24) \u589e\u52a0",(0,r.kt)("inlineCode",{parentName:"li"},"RectEnd"),"\u53c2\u6570\u652f\u6301\u914d\u7f6e\u662f\u5426\u4ee5\u77e9\u5f62\u7ed3\u675f")),(0,r.kt)("h3",{id:"v320"},"v3.2.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2022.08.22) \u53d1\u5e03",(0,r.kt)("inlineCode",{parentName:"li"},"v3.2.0"),"\u7248\u672c"),(0,r.kt)("li",{parentName:"ul"},"(2022.08.19) \u540c\u6b65",(0,r.kt)("inlineCode",{parentName:"li"},"XCharts v3.2.0"))),(0,r.kt)("h2",{id:"api"},"API"),(0,r.kt)("h3",{id:"funnel"},"Funnel"),(0,r.kt)("p",null,"class in XCharts.Runtime.Funnels / \u7ee7\u627f\u81ea: ",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#serie"},"Serie")),(0,r.kt)("h4",{id:"funneldefaultcolorby"},"Funnel.defaultColorBy"),(0,r.kt)("p",null,"public override SerieColorBy defaultColorBy "),(0,r.kt)("h4",{id:"funnelusesortdata"},"Funnel.useSortData"),(0,r.kt)("p",null,"public override bool useSortData "),(0,r.kt)("h4",{id:"funneladddefaultserie"},"Funnel.AddDefaultSerie"),(0,r.kt)("p",null,"public static void AddDefaultSerie(BaseChart chart, string serieName) "),(0,r.kt)("h3",{id:"funnelchart"},"FunnelChart"),(0,r.kt)("p",null,"class in XCharts.Runtime.Funnels / \u7ee7\u627f\u81ea: ",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#basechart"},"BaseChart")),(0,r.kt)("p",null,"\u6f0f\u6597\u56fe\u3002\u9002\u7528\u4e8e\u6d41\u7a0b\u6d41\u91cf\u5206\u6790\u3002"),(0,r.kt)("h4",{id:"funnelchartdefaulthorizonalfunnelchart"},"FunnelChart.DefaultHorizonalFunnelChart"),(0,r.kt)("p",null,"public void DefaultHorizonalFunnelChart()",(0,r.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba4\u7684\u6a2a\u5411\u6f0f\u6597\u56fe\u3002"),(0,r.kt)("h2",{id:"\u914d\u7f6e\u9879\u624b\u518c"},"\u914d\u7f6e\u9879\u624b\u518c"),(0,r.kt)("h3",{id:"funnel-1"},"Funnel"),(0,r.kt)("p",null,"class in XCharts.Runtime.Funnels / \u7ee7\u627f\u81ea: ",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie"},"Serie")),(0,r.kt)("h4",{id:"funneldynamicheight"},"Funnel.dynamicHeight"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,r.kt)("inlineCode",{parentName:"p"},"v3.3.0")),(0,r.kt)("p",null,"\u662f\u5426\u6620\u5c04\u4e3a\u52a8\u6001\u9ad8\u5ea6\u3002\u5f53\u8bbe\u7f6e\u4e3a 'true' \u65f6\uff0c\u6f0f\u6597\u56fe\u6bcf\u4e2a\u6761\u76ee\uff08\u56fe\u8868\u5143\u7d20\uff09\u7684\u9ad8\u5ea6\u548c y \u8f74\u5b57\u6bb5\u5bf9\u5e94\u6570\u503c\u6210\u6b63\u6bd4\u3002"),(0,r.kt)("h4",{id:"funnelrectend"},"Funnel.rectEnd"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,r.kt)("inlineCode",{parentName:"p"},"v3.3.0")),(0,r.kt)("p",null,"\u662f\u5426\u6700\u540e\u4ee5\u77e9\u5f62\u7ed3\u675f\u3002\u9ed8\u8ba4false\u4ee5\u4e09\u89d2\u5f62\u7ed3\u675f\u3002"))}h.isMDXComponent=!0},84597:function(e,t,n){n.d(t,{Z:function(){return d}});var l=n(67294),a=n(76775),r="apiTable_e8hp";function i(e,t){var n=e.name,r=e.children,i=function(e){for(var t=e;(0,l.isValidElement)(t);)t=l.Children.toArray(t.props.children)[0];return t}(r),u=n?n+"-"+i:i,d="#"+u,o=(0,a.k6)();return l.createElement("tr",{id:u,tabIndex:0,ref:o.location.hash===d?t:void 0,onClick:function(e){"A"===e.target.tagName.toUpperCase()||o.push(d)},onKeyDown:function(e){"Enter"===e.key&&o.push(d)}},r.props.children)}var u=l.forwardRef(i);function d(e){var t=e.children,n=e.name,a=l.Children.toArray(t.props.children),i=a[0],d=a[1],o=(0,l.useRef)(null);(0,l.useEffect)((function(){var e;null==(e=o.current)||e.focus()}),[o]);var c=l.Children.map(d.props.children,(function(e){return l.createElement(u,{name:n,ref:o},e)}));return l.createElement("table",{className:r},i,l.createElement("tbody",null,c))}},34212:function(e,t,n){t.Z=n.p+"assets/images/Funnel01-06c37d0dd05b6132445702bb69f165a8.png"},8769:function(e,t,n){t.Z=n.p+"assets/images/Funnel02-3c42bec941dba02495fb025f3ed5d040.png"},32729:function(e,t,n){t.Z=n.p+"assets/images/Funnel03-05c3ecaf88ef4b2c2237b6550b4761d8.png"},34556:function(e,t,n){t.Z=n.p+"assets/images/Funnel04-6f88cf29153a959491c9e1422a89d9ae.png"},64081:function(e,t,n){t.Z=n.p+"assets/images/Funnel05-501ee659d76a27edd5a92e846081e770.png"},72920:function(e,t,n){t.Z=n.p+"assets/images/Funnel07-f1e1d9adcbccc78e0b3745f971d8e321.png"},98986:function(e,t,n){t.Z=n.p+"assets/images/Funnel08-823bfaec6cf1e88579a3dd7beb8258ab.png"},60735:function(e,t,n){t.Z=n.p+"assets/images/Funnel09-dbdf000a769324bc6fb3e3aecbdde320.png"}}]); \ No newline at end of file diff --git a/assets/js/f8858d8f.973c78b1.js b/assets/js/f8858d8f.973c78b1.js new file mode 100644 index 00000000..548e1347 --- /dev/null +++ b/assets/js/f8858d8f.973c78b1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7679],{3905:function(e,a,t){t.d(a,{Zo:function(){return p},kt:function(){return s}});var l=t(67294);function i(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function n(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);a&&(l=l.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,l)}return t}function r(e){for(var a=1;a<arguments.length;a++){var t=null!=arguments[a]?arguments[a]:{};a%2?n(Object(t),!0).forEach((function(a){i(e,a,t[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):n(Object(t)).forEach((function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))}))}return e}function u(e,a){if(null==e)return{};var t,l,i=function(e,a){if(null==e)return{};var t,l,i={},n=Object.keys(e);for(l=0;l<n.length;l++)t=n[l],a.indexOf(t)>=0||(i[t]=e[t]);return i}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)t=n[l],a.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var g=l.createContext({}),o=function(e){var a=l.useContext(g),t=a;return e&&(t="function"==typeof e?e(a):r(r({},a),e)),t},p=function(e){var a=o(e.components);return l.createElement(g.Provider,{value:a},e.children)},d={inlineCode:"code",wrapper:function(e){var a=e.children;return l.createElement(l.Fragment,{},a)}},c=l.forwardRef((function(e,a){var t=e.components,i=e.mdxType,n=e.originalType,g=e.parentName,p=u(e,["components","mdxType","originalType","parentName"]),c=o(t),s=i,h=c["".concat(g,".").concat(s)]||c[s]||d[s]||n;return t?l.createElement(h,r(r({ref:a},p),{},{components:t})):l.createElement(h,r({ref:a},p))}));function s(e,a){var t=arguments,i=a&&a.mdxType;if("string"==typeof e||i){var n=t.length,r=new Array(n);r[0]=c;var u={};for(var g in a)hasOwnProperty.call(a,g)&&(u[g]=a[g]);u.originalType=e,u.mdxType="string"==typeof e?e:i,r[1]=u;for(var o=2;o<n;o++)r[o]=t[o];return l.createElement.apply(null,r)}return l.createElement.apply(null,t)}c.displayName="MDXCreateElement"},99962:function(e,a,t){t.r(a),t.d(a,{frontMatter:function(){return u},contentTitle:function(){return g},metadata:function(){return o},toc:function(){return p},default:function(){return c}});var l=t(83117),i=t(80102),n=(t(67294),t(3905)),r=(t(84597),["components"]),u={sidebar_position:0,slug:"/gauge"},g="GaugeChart \u4eea\u8868\u76d8",o={unversionedId:"lang/articles/extra/gauge",id:"version-v3.12.0/lang/articles/extra/gauge",title:"GaugeChart \u4eea\u8868\u76d8",description:"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u4eea\u8868\u76d8\u3002",source:"@site/versioned_docs/version-v3.12.0/lang/articles/extra/gauge.md",sourceDirName:"lang/articles/extra",slug:"/gauge",permalink:"/docs/gauge",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/extra/gauge.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"2024/10/1",sidebarPosition:0,frontMatter:{sidebar_position:0,slug:"/gauge"},sidebar:"langSidebar",previous:{title:"GanttChart \u7518\u7279\u56fe",permalink:"/docs/gantt"},next:{title:"GraphChart \u5173\u7cfb\u56fe",permalink:"/docs/graph"}},p=[{value:"\u622a\u56fe",id:"\u622a\u56fe",children:[],level:2},{value:"\u8bb8\u53ef",id:"\u8bb8\u53ef",children:[],level:2},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",children:[],level:2},{value:"\u6559\u7a0b",id:"\u6559\u7a0b",children:[],level:2},{value:"\u6587\u6863",id:"\u6587\u6863",children:[],level:2},{value:"\u65e5\u5fd7",id:"\u65e5\u5fd7",children:[{value:"v3.12.0",id:"v3120",children:[],level:3},{value:"v3.11.0",id:"v3110",children:[],level:3},{value:"v3.10.0",id:"v3100",children:[],level:3},{value:"v3.9.0",id:"v390",children:[],level:3},{value:"v3.8.0",id:"v380",children:[],level:3},{value:"v3.6.1",id:"v361",children:[],level:3},{value:"v3.6.0",id:"v360",children:[],level:3},{value:"v3.5.0",id:"v350",children:[],level:3},{value:"v3.4.0",id:"v340",children:[],level:3},{value:"v3.3.0",id:"v330",children:[],level:3},{value:"v3.2.0",id:"v320",children:[],level:3}],level:2},{value:"API",id:"api",children:[{value:"Gauge",id:"gauge",children:[{value:"Gauge.defaultColorBy",id:"gaugedefaultcolorby",children:[],level:4},{value:"Gauge.AddDefaultSerie",id:"gaugeadddefaultserie",children:[],level:4},{value:"Gauge.ClearComponentDirty",id:"gaugeclearcomponentdirty",children:[],level:4},{value:"Gauge.ClearVerticesDirty",id:"gaugeclearverticesdirty",children:[],level:4},{value:"Gauge.GetPointerColor",id:"gaugegetpointercolor",children:[],level:4}],level:3},{value:"GaugeAnchor",id:"gaugeanchor",children:[{value:"GaugeAnchor.GetPosition",id:"gaugeanchorgetposition",children:[],level:4}],level:3},{value:"GaugeAxis",id:"gaugeaxis",children:[{value:"GaugeAxis.axisLabel",id:"gaugeaxisaxislabel",children:[],level:4},{value:"GaugeAxis.axisLabelText",id:"gaugeaxisaxislabeltext",children:[],level:4},{value:"GaugeAxis.axisLine",id:"gaugeaxisaxisline",children:[],level:4},{value:"GaugeAxis.axisTick",id:"gaugeaxisaxistick",children:[],level:4},{value:"GaugeAxis.distance",id:"gaugeaxisdistance",children:[],level:4},{value:"GaugeAxis.overlap",id:"gaugeaxisoverlap",children:[],level:4},{value:"GaugeAxis.show",id:"gaugeaxisshow",children:[],level:4},{value:"GaugeAxis.splitLine",id:"gaugeaxissplitline",children:[],level:4},{value:"GaugeAxis.type",id:"gaugeaxistype",children:[],level:4},{value:"GaugeAxis.AddLabelObject",id:"gaugeaxisaddlabelobject",children:[],level:4},{value:"GaugeAxis.ClearLabelObject",id:"gaugeaxisclearlabelobject",children:[],level:4},{value:"GaugeAxis.GaugeAxis",id:"gaugeaxisgaugeaxis",children:[],level:4},{value:"GaugeAxis.GetLabelObject",id:"gaugeaxisgetlabelobject",children:[],level:4},{value:"GaugeAxis.GetStageColor",id:"gaugeaxisgetstagecolor",children:[],level:4},{value:"GaugeAxis.GetStageColorByAngle",id:"gaugeaxisgetstagecolorbyangle",children:[],level:4},{value:"GaugeAxis.SetLabelObjectActive",id:"gaugeaxissetlabelobjectactive",children:[],level:4},{value:"GaugeAxis.SetLabelObjectPosition",id:"gaugeaxissetlabelobjectposition",children:[],level:4},{value:"GaugeAxis.SetLabelObjectText",id:"gaugeaxissetlabelobjecttext",children:[],level:4}],level:3},{value:"GaugeAxisLine",id:"gaugeaxisline",children:[{value:"GaugeAxisLine.backgroundColor",id:"gaugeaxislinebackgroundcolor",children:[],level:4},{value:"GaugeAxisLine.stageColor",id:"gaugeaxislinestagecolor",children:[],level:4},{value:"GaugeAxisLine.stageGradient",id:"gaugeaxislinestagegradient",children:[],level:4},{value:"GaugeAxisLine.GaugeAxisLine",id:"gaugeaxislinegaugeaxisline",children:[],level:4}],level:3},{value:"GaugeAxisType",id:"gaugeaxistype-1",children:[],level:3},{value:"GaugeChart",id:"gaugechart",children:[{value:"GaugeChart.DefaultBarometerGaugeChart",id:"gaugechartdefaultbarometergaugechart",children:[],level:4},{value:"GaugeChart.DefaultClockGaugeChart",id:"gaugechartdefaultclockgaugechart",children:[],level:4},{value:"GaugeChart.DefaultMultipleGaugeChart",id:"gaugechartdefaultmultiplegaugechart",children:[],level:4},{value:"GaugeChart.DefaultProgressGaugeChart",id:"gaugechartdefaultprogressgaugechart",children:[],level:4},{value:"GaugeChart.DefaultRangeClockGaugeChart",id:"gaugechartdefaultrangeclockgaugechart",children:[],level:4},{value:"GaugeChart.DefaultSectionGaugeChart",id:"gaugechartdefaultsectiongaugechart",children:[],level:4},{value:"GaugeChart.UpdateClockTime",id:"gaugechartupdateclocktime",children:[],level:4},{value:"GaugeChart.UpdatePointerValue",id:"gaugechartupdatepointervalue",children:[],level:4}],level:3},{value:"GaugePointer",id:"gaugepointer",children:[],level:3}],level:2},{value:"\u914d\u7f6e\u9879\u624b\u518c",id:"\u914d\u7f6e\u9879\u624b\u518c",children:[{value:"Gauge",id:"gauge-1",children:[{value:"Gauge.gaugeAnchor",id:"gaugegaugeanchor",children:[],level:4},{value:"Gauge.gaugeAxis",id:"gaugegaugeaxis",children:[],level:4},{value:"Gauge.gaugePointer",id:"gaugegaugepointer",children:[],level:4},{value:"Gauge.loop",id:"gaugeloop",children:[],level:4},{value:"Gauge.rangeDataMode",id:"gaugerangedatamode",children:[],level:4}],level:3},{value:"GaugeAnchor",id:"gaugeanchor-1",children:[{value:"GaugeAnchor.gap",id:"gaugeanchorgap",children:[],level:4},{value:"GaugeAnchor.image",id:"gaugeanchorimage",children:[],level:4},{value:"GaugeAnchor.imageType",id:"gaugeanchorimagetype",children:[],level:4},{value:"GaugeAnchor.itemStyle",id:"gaugeanchoritemstyle",children:[],level:4},{value:"GaugeAnchor.offsetCenter",id:"gaugeanchoroffsetcenter",children:[],level:4},{value:"GaugeAnchor.show",id:"gaugeanchorshow",children:[],level:4},{value:"GaugeAnchor.showAbove",id:"gaugeanchorshowabove",children:[],level:4},{value:"GaugeAnchor.size",id:"gaugeanchorsize",children:[],level:4},{value:"GaugeAnchor.type",id:"gaugeanchortype",children:[],level:4}],level:3},{value:"GaugeAxis",id:"gaugeaxis-1",children:[{value:"GaugeAxis.axisLabel",id:"gaugeaxisaxislabel-1",children:[],level:4},{value:"GaugeAxis.axisLabelText",id:"gaugeaxisaxislabeltext-1",children:[],level:4},{value:"GaugeAxis.axisLine",id:"gaugeaxisaxisline-1",children:[],level:4},{value:"GaugeAxis.axisTick",id:"gaugeaxisaxistick-1",children:[],level:4},{value:"GaugeAxis.distance",id:"gaugeaxisdistance-1",children:[],level:4},{value:"GaugeAxis.overlap",id:"gaugeaxisoverlap-1",children:[],level:4},{value:"GaugeAxis.show",id:"gaugeaxisshow-1",children:[],level:4},{value:"GaugeAxis.splitLine",id:"gaugeaxissplitline-1",children:[],level:4},{value:"GaugeAxis.type",id:"gaugeaxistype-2",children:[],level:4}],level:3},{value:"GaugeAxisLine",id:"gaugeaxisline-1",children:[{value:"GaugeAxisLine.backgroundColor",id:"gaugeaxislinebackgroundcolor-1",children:[],level:4},{value:"GaugeAxisLine.stageColor",id:"gaugeaxislinestagecolor-1",children:[],level:4},{value:"GaugeAxisLine.stageGradient",id:"gaugeaxislinestagegradient-1",children:[],level:4}],level:3},{value:"GaugePointer",id:"gaugepointer-1",children:[{value:"GaugePointer.autoColor",id:"gaugepointerautocolor",children:[],level:4},{value:"GaugePointer.backExtraLength",id:"gaugepointerbackextralength",children:[],level:4},{value:"GaugePointer.backLength",id:"gaugepointerbacklength",children:[],level:4},{value:"GaugePointer.bottomLeftLength",id:"gaugepointerbottomleftlength",children:[],level:4},{value:"GaugePointer.bottomRightLength",id:"gaugepointerbottomrightlength",children:[],level:4},{value:"GaugePointer.color",id:"gaugepointercolor",children:[],level:4},{value:"GaugePointer.cornerRadius",id:"gaugepointercornerradius",children:[],level:4},{value:"GaugePointer.distance",id:"gaugepointerdistance",children:[],level:4},{value:"GaugePointer.length",id:"gaugepointerlength",children:[],level:4},{value:"GaugePointer.roundCap",id:"gaugepointerroundcap",children:[],level:4},{value:"GaugePointer.show",id:"gaugepointershow",children:[],level:4},{value:"GaugePointer.toColor",id:"gaugepointertocolor",children:[],level:4},{value:"GaugePointer.topLeftLength",id:"gaugepointertopleftlength",children:[],level:4},{value:"GaugePointer.topRightLength",id:"gaugepointertoprightlength",children:[],level:4},{value:"GaugePointer.value",id:"gaugepointervalue",children:[],level:4}],level:3}],level:2}],d={toc:p};function c(e){var a=e.components,u=(0,i.Z)(e,r);return(0,n.kt)("wrapper",(0,l.Z)({},d,u,{components:a,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"gaugechart-\u4eea\u8868\u76d8"},"GaugeChart \u4eea\u8868\u76d8"),(0,n.kt)("p",null,"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u4eea\u8868\u76d8\u3002"),(0,n.kt)("h2",{id:"\u622a\u56fe"},"\u622a\u56fe"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge01",src:t(60854).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge02",src:t(33177).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge03",src:t(56844).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge04",src:t(75755).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge05",src:t(3697).Z,width:"577",height:"490"}))),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge07",src:t(9e4).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge08",src:t(97371).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge09",src:t(55496).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge10",src:t(65317).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge11",src:t(20012).Z,width:"577",height:"490"}))),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge12",src:t(98794).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge13",src:t(44855).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge14",src:t(47059).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"}),(0,n.kt)("td",{parentName:"tr",align:"center"})))),(0,n.kt)("h2",{id:"\u8bb8\u53ef"},"\u8bb8\u53ef"),(0,n.kt)("p",null,"\u6269\u5c55\u56fe\u8868\uff0c\u9700\u4ed8\u8d39\u8d2d\u4e70\u540e\u624d\u83b7\u5f97\u4f7f\u7528\u8bb8\u53ef\u3002"),(0,n.kt)("h2",{id:"\u793a\u4f8b"},"\u793a\u4f8b"),(0,n.kt)("p",null,"Demo\u4ed3\u5e93\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-GaugeChart-Demo"},"XCharts-GaugeChart-Demo")),(0,n.kt)("h2",{id:"\u6559\u7a0b"},"\u6559\u7a0b"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Demo"},"\u6269\u5c55\u56fe\u8868\u5982\u4f55\u5bfc\u5165Demo\u9879\u76ee\u6216\u5bfc\u5165\u81ea\u5df1\u9879\u76ee")),(0,n.kt)("h2",{id:"\u6587\u6863"},"\u6587\u6863"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#api"},"API"),(0,n.kt)("br",{parentName:"p"}),"\n",(0,n.kt)("a",{parentName:"p",href:"#%E9%85%8D%E7%BD%AE%E9%A1%B9%E6%89%8B%E5%86%8C"},"\u914d\u7f6e\u9879\u624b\u518c")," "),(0,n.kt)("h2",{id:"\u65e5\u5fd7"},"\u65e5\u5fd7"),(0,n.kt)("h3",{id:"v3120"},"v3.12.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2024.09.30) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v3110"},"v3.11.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c")),(0,n.kt)("h3",{id:"v3100"},"v3.10.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2024.01.21) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Gauge"),"\u7684\u66f4\u591a\u521b\u5efa\u9ed8\u8ba4\u56fe\u8868\u7684\u5feb\u6377\u65b9\u5f0f\u548cAPI")),(0,n.kt)("h3",{id:"v390"},"v3.9.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.12.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.9.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.12.01) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v380"},"v3.8.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.07.31) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.8.0"))),(0,n.kt)("h3",{id:"v361"},"v3.6.1"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.06.08) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.6.1"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.06.08) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v360"},"v3.6.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.04.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.6.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.17) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Gauge"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"rangeDataMode"),"\u53ef\u8bbe\u7f6e\u662f\u5426\u4f7f\u7528\u8303\u56f4\u6570\u636e\u6a21\u5f0f"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.17) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Gauge"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"loop"),"\u53ef\u8bbe\u7f6e\u662f\u5426\u5faa\u73af\u6570\u636e\uff0c\u7528\u4e8e\u65f6\u949f\u7518\u7279\u56fe"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.17) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"GaugePointer"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"value"),"\u53ef\u8bbe\u7f6e\u6307\u9488\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.17) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Clock"),"\u65f6\u949f\u4eea\u8868\u76d8\u652f\u6301"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.13) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"GaugePointer"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"nowTime"),"\u53ef\u8bbe\u7f6e\u6307\u9488\u6307\u5411\u5f53\u524d\u65f6\u95f4"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.13) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"GaugePointer"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"value"),"\u53ef\u8bbe\u7f6e\u5f53\u524d\u6307\u9488\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.13) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Clock"),"\u7c7b\u578b\u7684\u7518\u7279\u56fe\u652f\u6301"),(0,n.kt)("li",{parentName:"ul"},"(2023.02.14) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.6.0"))),(0,n.kt)("h3",{id:"v350"},"v3.5.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.12.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.5.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2022.11.27) \u8c03\u6574",(0,n.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u6587\u6863\u7ed3\u6784")),(0,n.kt)("h3",{id:"v340"},"v3.4.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.10.05) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"GaugeAxisLine"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"stageGradient"),"\u652f\u6301\u8bbe\u7f6e\u9636\u6bb5\u6e10\u53d8\u8272\u8fc7\u6e21")),(0,n.kt)("h3",{id:"v330"},"v3.3.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.09.28) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.3.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2022.08.26) \u4fee\u590d",(0,n.kt)("inlineCode",{parentName:"li"},"Pointer"),"\u5728\u666e\u901a\u6a21\u5f0f\u4e0b\u4e0d\u663e\u793a\u7684\u95ee\u9898"),(0,n.kt)("li",{parentName:"ul"},"(2022.08.25) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"label"),"\u989c\u8272\u8ddf\u968f\u6570\u503c\u53d8\u5316\u7684\u652f\u6301")),(0,n.kt)("h3",{id:"v320"},"v3.2.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.08.22) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.2.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2022.08.19) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.2.0")),(0,n.kt)("li",{parentName:"ul"},"(2022.08.15) \u652f\u6301\u6e10\u53d8")),(0,n.kt)("h2",{id:"api"},"API"),(0,n.kt)("h3",{id:"gauge"},"Gauge"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#serie"},"Serie")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u7cfb\u5217\u6570\u636e\u3002"),(0,n.kt)("h4",{id:"gaugedefaultcolorby"},"Gauge.defaultColorBy"),(0,n.kt)("p",null,"public override SerieColorBy defaultColorBy "),(0,n.kt)("h4",{id:"gaugeadddefaultserie"},"Gauge.AddDefaultSerie"),(0,n.kt)("p",null,"public static void AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h4",{id:"gaugeclearcomponentdirty"},"Gauge.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h4",{id:"gaugeclearverticesdirty"},"Gauge.ClearVerticesDirty"),(0,n.kt)("p",null,"public override void ClearVerticesDirty() "),(0,n.kt)("h4",{id:"gaugegetpointercolor"},"Gauge.GetPointerColor"),(0,n.kt)("p",null,"public Color32 GetPointerColor(ThemeStyle theme, int colorIndex, float angle, Color32 dataColor) "),(0,n.kt)("h3",{id:"gaugeanchor"},"GaugeAnchor"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#childcomponent"},"ChildComponent")),(0,n.kt)("h4",{id:"gaugeanchorgetposition"},"GaugeAnchor.GetPosition"),(0,n.kt)("p",null,"public Vector3 GetPosition(Vector3 center, float radius) "),(0,n.kt)("h3",{id:"gaugeaxis"},"GaugeAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u8f74\u7ebf\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h4",{id:"gaugeaxisaxislabel"},"GaugeAxis.axisLabel"),(0,n.kt)("p",null,"public AxisLabel axisLabel",(0,n.kt)("br",{parentName:"p"}),"\n","\u6587\u672c\u6807\u7b7e\u3002"),(0,n.kt)("h4",{id:"gaugeaxisaxislabeltext"},"GaugeAxis.axisLabelText"),(0,n.kt)("p",null,"public List","<","string",">"," axisLabelText",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49Label\u7684\u5185\u5bb9\u3002"),(0,n.kt)("h4",{id:"gaugeaxisaxisline"},"GaugeAxis.axisLine"),(0,n.kt)("p",null,"public GaugeAxisLine axisLine",(0,n.kt)("br",{parentName:"p"}),"\n","\u4eea\u8868\u76d8\u8f74\u7ebf\u6837\u5f0f\u3002"),(0,n.kt)("h4",{id:"gaugeaxisaxistick"},"GaugeAxis.axisTick"),(0,n.kt)("p",null,"public AxisTick axisTick",(0,n.kt)("br",{parentName:"p"}),"\n","\u523b\u5ea6\u3002"),(0,n.kt)("h4",{id:"gaugeaxisdistance"},"GaugeAxis.distance"),(0,n.kt)("p",null,"public float distance "),(0,n.kt)("h4",{id:"gaugeaxisoverlap"},"GaugeAxis.overlap"),(0,n.kt)("p",null,"public bool overlap "),(0,n.kt)("h4",{id:"gaugeaxisshow"},"GaugeAxis.show"),(0,n.kt)("p",null,"public bool show "),(0,n.kt)("h4",{id:"gaugeaxissplitline"},"GaugeAxis.splitLine"),(0,n.kt)("p",null,"public AxisSplitLine splitLine",(0,n.kt)("br",{parentName:"p"}),"\n","\u5206\u5272\u7ebf\u3002"),(0,n.kt)("h4",{id:"gaugeaxistype"},"GaugeAxis.type"),(0,n.kt)("p",null,"public GaugeAxisType type "),(0,n.kt)("h4",{id:"gaugeaxisaddlabelobject"},"GaugeAxis.AddLabelObject"),(0,n.kt)("p",null,"public void AddLabelObject(ChartLabel label) "),(0,n.kt)("h4",{id:"gaugeaxisclearlabelobject"},"GaugeAxis.ClearLabelObject"),(0,n.kt)("p",null,"public void ClearLabelObject() "),(0,n.kt)("h4",{id:"gaugeaxisgaugeaxis"},"GaugeAxis.GaugeAxis"),(0,n.kt)("p",null,"public GaugeAxis() "),(0,n.kt)("h4",{id:"gaugeaxisgetlabelobject"},"GaugeAxis.GetLabelObject"),(0,n.kt)("p",null,"public ChartLabel GetLabelObject(int index) "),(0,n.kt)("h4",{id:"gaugeaxisgetstagecolor"},"GaugeAxis.GetStageColor"),(0,n.kt)("p",null,"public Color32 GetStageColor(float rate) "),(0,n.kt)("h4",{id:"gaugeaxisgetstagecolorbyangle"},"GaugeAxis.GetStageColorByAngle"),(0,n.kt)("p",null,"public Color32 GetStageColorByAngle(float angle) "),(0,n.kt)("h4",{id:"gaugeaxissetlabelobjectactive"},"GaugeAxis.SetLabelObjectActive"),(0,n.kt)("p",null,"public void SetLabelObjectActive(bool flag) "),(0,n.kt)("h4",{id:"gaugeaxissetlabelobjectposition"},"GaugeAxis.SetLabelObjectPosition"),(0,n.kt)("p",null,"public void SetLabelObjectPosition(int index, Vector3 pos) "),(0,n.kt)("h4",{id:"gaugeaxissetlabelobjecttext"},"GaugeAxis.SetLabelObjectText"),(0,n.kt)("p",null,"public void SetLabelObjectText(int index, string text) "),(0,n.kt)("h3",{id:"gaugeaxisline"},"GaugeAxisLine"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#baseline"},"BaseLine")),(0,n.kt)("h4",{id:"gaugeaxislinebackgroundcolor"},"GaugeAxisLine.backgroundColor"),(0,n.kt)("p",null,"public Color32 backgroundColor",(0,n.kt)("br",{parentName:"p"}),"\n","\u8fdb\u5ea6\u6761\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h4",{id:"gaugeaxislinestagecolor"},"GaugeAxisLine.stageColor"),(0,n.kt)("p",null,"public List","<","StageColor",">"," stageColor",(0,n.kt)("br",{parentName:"p"}),"\n","\u9636\u6bb5\u989c\u8272\u3002"),(0,n.kt)("h4",{id:"gaugeaxislinestagegradient"},"GaugeAxisLine.stageGradient"),(0,n.kt)("p",null,"public bool stageGradient",(0,n.kt)("br",{parentName:"p"}),"\n","\u9636\u6bb5\u989c\u8272\u662f\u5426\u6e10\u53d8\u8fc7\u6e21\u3002"),(0,n.kt)("h4",{id:"gaugeaxislinegaugeaxisline"},"GaugeAxisLine.GaugeAxisLine"),(0,n.kt)("p",null,"public GaugeAxisLine(bool show) : base(show) "),(0,n.kt)("h3",{id:"gaugeaxistype-1"},"GaugeAxisType"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges"),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u7c7b\u578b"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4eea\u8868\u76d8\u7c7b\u578b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Section"),": \u5206\u6bb5"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Progress"),": \u8fdb\u5ea6")),(0,n.kt)("h3",{id:"gaugechart"},"GaugeChart"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u3002"),(0,n.kt)("h4",{id:"gaugechartdefaultbarometergaugechart"},"GaugeChart.DefaultBarometerGaugeChart"),(0,n.kt)("p",null,"public void DefaultBarometerGaugeChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u6c14\u538b\u8ba1\u4eea\u8868\u76d8\u3002"),(0,n.kt)("h4",{id:"gaugechartdefaultclockgaugechart"},"GaugeChart.DefaultClockGaugeChart"),(0,n.kt)("p",null,"public void DefaultClockGaugeChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u65f6\u949f\u4eea\u8868\u76d8\u3002"),(0,n.kt)("h4",{id:"gaugechartdefaultmultiplegaugechart"},"GaugeChart.DefaultMultipleGaugeChart"),(0,n.kt)("p",null,"public void DefaultMultipleGaugeChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u591a\u4eea\u8868\u76d8\u3002"),(0,n.kt)("h4",{id:"gaugechartdefaultprogressgaugechart"},"GaugeChart.DefaultProgressGaugeChart"),(0,n.kt)("p",null,"public void DefaultProgressGaugeChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u8fdb\u5ea6\u4eea\u8868\u76d8\u3002"),(0,n.kt)("h4",{id:"gaugechartdefaultrangeclockgaugechart"},"GaugeChart.DefaultRangeClockGaugeChart"),(0,n.kt)("p",null,"public void DefaultRangeClockGaugeChart() "),(0,n.kt)("h4",{id:"gaugechartdefaultsectiongaugechart"},"GaugeChart.DefaultSectionGaugeChart"),(0,n.kt)("p",null,"public void DefaultSectionGaugeChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u5206\u6bb5\u4eea\u8868\u76d8\u3002"),(0,n.kt)("h4",{id:"gaugechartupdateclocktime"},"GaugeChart.UpdateClockTime"),(0,n.kt)("p",null,"public void UpdateClockTime(double hour, double minute, double second)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u65f6\u949f\u65f6\u95f4\u3002"),(0,n.kt)("h4",{id:"gaugechartupdatepointervalue"},"GaugeChart.UpdatePointerValue"),(0,n.kt)("p",null,"public void UpdatePointerValue(double value)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u9488\u503c\u3002"),(0,n.kt)("h3",{id:"gaugepointer"},"GaugePointer"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u6307\u9488\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h2",{id:"\u914d\u7f6e\u9879\u624b\u518c"},"\u914d\u7f6e\u9879\u624b\u518c"),(0,n.kt)("h3",{id:"gauge-1"},"Gauge"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie"},"Serie")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u7cfb\u5217\u6570\u636e\u3002"),(0,n.kt)("h4",{id:"gaugegaugeanchor"},"Gauge.gaugeAnchor"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#gaugeanchor"},"GaugeAnchor")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u6307\u9488\u56fa\u5b9a\u70b9\u3002"),(0,n.kt)("h4",{id:"gaugegaugeaxis"},"Gauge.gaugeAxis"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#gaugeaxis"},"GaugeAxis")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u8f74\u7ebf\u3002"),(0,n.kt)("h4",{id:"gaugegaugepointer"},"Gauge.gaugePointer"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#gaugepointer"},"GaugePointer")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u6307\u9488\u3002"),(0,n.kt)("h4",{id:"gaugeloop"},"Gauge.loop"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("p",null,"\u6570\u503c\u662f\u5426\u5faa\u73af\u3002\u53ef\u7528\u5728\u949f\u8868\u56fe\u3002"),(0,n.kt)("h4",{id:"gaugerangedatamode"},"Gauge.rangeDataMode"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("p",null,"\u6570\u503c\u662f\u5426\u4e3a\u8303\u56f4\u6570\u636e\u3002\u542f\u7528\u8be5\u6a21\u5f0f\u540e\uff0cdata\u4e2d\u7684\u6bcf\u4e2a\u503c\u90fd\u662f\u4e00\u4e2a\u6570\u7ec4\uff0c\u6570\u7ec4\u4e2d\u7684\u7b2c\u4e00\u4e2a\u503c\u4e3a\u8d77\u59cb\u503c\uff0c\u7b2c\u4e8c\u4e2a\u503c\u4e3a\u7ed3\u675f\u503c\u3002\u6307\u9488\u53ea\u6709\u4e00\u4e2a\uff0c\u6570\u636e\u7ed8\u5236\u4e3a\u73af\u5f62\u3002"),(0,n.kt)("h3",{id:"gaugeanchor-1"},"GaugeAnchor"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#childcomponent"},"ChildComponent")),(0,n.kt)("h4",{id:"gaugeanchorgap"},"GaugeAnchor.gap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u56fe\u5f62\u6807\u8bb0\u548c\u7ebf\u6761\u7684\u95f4\u9699\u8ddd\u79bb\u3002"),(0,n.kt)("h4",{id:"gaugeanchorimage"},"GaugeAnchor.image"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Sprite")),(0,n.kt)("p",null,"\u81ea\u5b9a\u4e49\u7684\u6807\u8bb0\u56fe\u5f62\u3002"),(0,n.kt)("h4",{id:"gaugeanchorimagetype"},"GaugeAnchor.imageType"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Image.Type")),(0,n.kt)("h4",{id:"gaugeanchoritemstyle"},"GaugeAnchor.itemStyle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"ItemStyle")),(0,n.kt)("p",null,"\u56fe\u5f62\u6837\u5f0f\u3002"),(0,n.kt)("h4",{id:"gaugeanchoroffsetcenter"},"GaugeAnchor.offsetCenter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Vector2")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Vector2(0, 0)")),(0,n.kt)("p",null,"\u76f8\u5bf9\u4e8e\u4e2d\u5fc3\u7684\u504f\u79fb\u4f4d\u7f6e\u3002"),(0,n.kt)("h4",{id:"gaugeanchorshow"},"GaugeAnchor.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6307\u9488\u56fa\u5b9a\u70b9\u3002"),(0,n.kt)("h4",{id:"gaugeanchorshowabove"},"GaugeAnchor.showAbove"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u56fa\u5b9a\u70b9\u662f\u5426\u663e\u793a\u5728\u6307\u9488\u4e0a\u9762\u3002"),(0,n.kt)("h4",{id:"gaugeanchorsize"},"GaugeAnchor.size"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"6")),(0,n.kt)("p",null,"\u6807\u8bb0\u7684\u5927\u5c0f\u3002"),(0,n.kt)("h4",{id:"gaugeanchortype"},"GaugeAnchor.type"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"SymbolType")),(0,n.kt)("p",null,"\u6807\u8bb0\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"gaugeaxis-1"},"GaugeAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u8f74\u7ebf\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h4",{id:"gaugeaxisaxislabel-1"},"GaugeAxis.axisLabel"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"AxisLabel")),(0,n.kt)("p",null,"\u6587\u672c\u6807\u7b7e\u3002"),(0,n.kt)("h4",{id:"gaugeaxisaxislabeltext-1"},"GaugeAxis.axisLabelText"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List<string>")),(0,n.kt)("p",null,"\u81ea\u5b9a\u4e49Label\u7684\u5185\u5bb9\u3002"),(0,n.kt)("h4",{id:"gaugeaxisaxisline-1"},"GaugeAxis.axisLine"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#gaugeaxisline"},"GaugeAxisLine")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u8f74\u7ebf\u6837\u5f0f\u3002"),(0,n.kt)("h4",{id:"gaugeaxisaxistick-1"},"GaugeAxis.axisTick"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"AxisTick")),(0,n.kt)("p",null,"\u523b\u5ea6\u3002"),(0,n.kt)("h4",{id:"gaugeaxisdistance-1"},"GaugeAxis.distance"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("h4",{id:"gaugeaxisoverlap-1"},"GaugeAxis.overlap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("h4",{id:"gaugeaxisshow-1"},"GaugeAxis.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("h4",{id:"gaugeaxissplitline-1"},"GaugeAxis.splitLine"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"AxisSplitLine")),(0,n.kt)("p",null,"\u5206\u5272\u7ebf\u3002"),(0,n.kt)("h4",{id:"gaugeaxistype-2"},"GaugeAxis.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#gaugeaxistype"},"GaugeAxisType")),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4eea\u8868\u76d8\u7c7b\u578b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Section"),": \u5206\u6bb5"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Progress"),": \u8fdb\u5ea6")),(0,n.kt)("h3",{id:"gaugeaxisline-1"},"GaugeAxisLine"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#baseline"},"BaseLine")),(0,n.kt)("h4",{id:"gaugeaxislinebackgroundcolor-1"},"GaugeAxisLine.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Color32(230, 235, 248, 255)")),(0,n.kt)("p",null,"\u8fdb\u5ea6\u6761\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h4",{id:"gaugeaxislinestagecolor-1"},"GaugeAxisLine.stageColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List<StageColor>")),(0,n.kt)("p",null,"\u9636\u6bb5\u989c\u8272\u3002"),(0,n.kt)("h4",{id:"gaugeaxislinestagegradient-1"},"GaugeAxisLine.stageGradient"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.4.0")),(0,n.kt)("p",null,"\u9636\u6bb5\u989c\u8272\u662f\u5426\u6e10\u53d8\u8fc7\u6e21\u3002"),(0,n.kt)("h3",{id:"gaugepointer-1"},"GaugePointer"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u6307\u9488\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h4",{id:"gaugepointerautocolor"},"GaugePointer.autoColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("h4",{id:"gaugepointerbackextralength"},"GaugePointer.backExtraLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.05f")),(0,n.kt)("p",null,"\u6307\u9488\u540e\u989d\u5916\u7684\u957f\u5ea6\u3002\u53ef\u4ee5\u662f\u7edd\u5bf9\u503c\uff0c\u4e5f\u53ef\u4ee5\u662f\u76f8\u5bf9\u4e8e\u534a\u5f84\u7684\u767e\u5206\u6bd4\uff080-1\u7684\u6d6e\u70b9\u6570\uff09\u3002"),(0,n.kt)("h4",{id:"gaugepointerbacklength"},"GaugePointer.backLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.05f")),(0,n.kt)("p",null,"\u6307\u9488\u540e\u51f8\u51fa\u7684\u957f\u5ea6\u3002\u53ef\u4ee5\u662f\u7edd\u5bf9\u503c\uff0c\u4e5f\u53ef\u4ee5\u662f\u76f8\u5bf9\u4e8e\u534a\u5f84\u7684\u767e\u5206\u6bd4\uff080-1\u7684\u6d6e\u70b9\u6570\uff09\u3002"),(0,n.kt)("h4",{id:"gaugepointerbottomleftlength"},"GaugePointer.bottomLeftLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.025f")),(0,n.kt)("p",null,"\u6307\u9488\u5e95\u90e8\u5de6\u8fb9\u51f8\u8d77\u957f\u5ea6\u3002\u53ef\u4ee5\u662f\u7edd\u5bf9\u503c\uff0c\u4e5f\u53ef\u4ee5\u662f\u76f8\u5bf9\u4e8e\u534a\u5f84\u7684\u767e\u5206\u6bd4\uff080-1\u7684\u6d6e\u70b9\u6570\uff09\u3002"),(0,n.kt)("h4",{id:"gaugepointerbottomrightlength"},"GaugePointer.bottomRightLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.025f")),(0,n.kt)("p",null,"\u6307\u9488\u5e95\u90e8\u53f3\u8fb9\u51f8\u8d77\u957f\u5ea6\u3002\u53ef\u4ee5\u662f\u7edd\u5bf9\u503c\uff0c\u4e5f\u53ef\u4ee5\u662f\u76f8\u5bf9\u4e8e\u534a\u5f84\u7684\u767e\u5206\u6bd4\uff080-1\u7684\u6d6e\u70b9\u6570\uff09\u3002"),(0,n.kt)("h4",{id:"gaugepointercolor"},"GaugePointer.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("h4",{id:"gaugepointercornerradius"},"GaugePointer.cornerRadius"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u5706\u89d2\u534a\u5f84\u3002\u7528\u6570\u7ec4\u5206\u522b\u6307\u5b9a4\u4e2a\u5706\u89d2\u534a\u5f84\uff08\u987a\u65f6\u9488\u5de6\u4e0a\uff0c\u53f3\u4e0a\uff0c\u53f3\u4e0b\uff0c\u5de6\u4e0b\uff09\u3002"),(0,n.kt)("h4",{id:"gaugepointerdistance"},"GaugePointer.distance"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("h4",{id:"gaugepointerlength"},"GaugePointer.length"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.6f")),(0,n.kt)("p",null,"\u6307\u9488\u957f\u5ea6\u3002\u53ef\u4ee5\u662f\u7edd\u5bf9\u503c\uff0c\u4e5f\u53ef\u4ee5\u662f\u76f8\u5bf9\u4e8e\u534a\u5f84\u7684\u767e\u5206\u6bd4\uff080-1\u7684\u6d6e\u70b9\u6570\uff09\u3002"),(0,n.kt)("h4",{id:"gaugepointerroundcap"},"GaugePointer.roundCap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("h4",{id:"gaugepointershow"},"GaugePointer.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6307\u9488\u3002"),(0,n.kt)("h4",{id:"gaugepointertocolor"},"GaugePointer.toColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("h4",{id:"gaugepointertopleftlength"},"GaugePointer.topLeftLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u6307\u9488\u9876\u90e8\u5de6\u8fb9\u51f8\u8d77\u957f\u5ea6\u3002\u53ef\u4ee5\u662f\u7edd\u5bf9\u503c\uff0c\u4e5f\u53ef\u4ee5\u662f\u76f8\u5bf9\u4e8e\u534a\u5f84\u7684\u767e\u5206\u6bd4\uff080-1\u7684\u6d6e\u70b9\u6570\uff09\u3002"),(0,n.kt)("h4",{id:"gaugepointertoprightlength"},"GaugePointer.topRightLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u6307\u9488\u9876\u90e8\u53f3\u8fb9\u51f8\u8d77\u957f\u5ea6\u3002\u53ef\u4ee5\u662f\u7edd\u5bf9\u503c\uff0c\u4e5f\u53ef\u4ee5\u662f\u76f8\u5bf9\u4e8e\u534a\u5f84\u7684\u767e\u5206\u6bd4\uff080-1\u7684\u6d6e\u70b9\u6570\uff09\u3002"),(0,n.kt)("h4",{id:"gaugepointervalue"},"GaugePointer.value"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("p",null,"\u6307\u9488\u7684\u503c\u3002\u5f53\u4e3a\u65f6\u949f\u4eea\u8868\u76d8\u65f6\uff0c\u53ef\u901a\u8fc7\u6307\u5b9avalue\u503c\u6765\u63a7\u5236\u6307\u9488\u7684\u4f4d\u7f6e\u3002"))}c.isMDXComponent=!0},84597:function(e,a,t){t.d(a,{Z:function(){return g}});var l=t(67294),i=t(76775),n="apiTable_e8hp";function r(e,a){var t=e.name,n=e.children,r=function(e){for(var a=e;(0,l.isValidElement)(a);)a=l.Children.toArray(a.props.children)[0];return a}(n),u=t?t+"-"+r:r,g="#"+u,o=(0,i.k6)();return l.createElement("tr",{id:u,tabIndex:0,ref:o.location.hash===g?a:void 0,onClick:function(e){"A"===e.target.tagName.toUpperCase()||o.push(g)},onKeyDown:function(e){"Enter"===e.key&&o.push(g)}},n.props.children)}var u=l.forwardRef(r);function g(e){var a=e.children,t=e.name,i=l.Children.toArray(a.props.children),r=i[0],g=i[1],o=(0,l.useRef)(null);(0,l.useEffect)((function(){var e;null==(e=o.current)||e.focus()}),[o]);var p=l.Children.map(g.props.children,(function(e){return l.createElement(u,{name:t,ref:o},e)}));return l.createElement("table",{className:n},r,l.createElement("tbody",null,p))}},60854:function(e,a,t){a.Z=t.p+"assets/images/Gauge01-83f9c42768697963284aee3704f92fcd.png"},33177:function(e,a,t){a.Z=t.p+"assets/images/Gauge02-62bed86610ec69ca098aef8fa79075f3.png"},56844:function(e,a,t){a.Z=t.p+"assets/images/Gauge03-a81a0254cb0d2302ee35e8972deaf014.png"},75755:function(e,a,t){a.Z=t.p+"assets/images/Gauge04-7cd34094272de606d5f3034421d0c393.png"},3697:function(e,a,t){a.Z=t.p+"assets/images/Gauge05-dd785e9eba803d6e4e88d7a027787cec.png"},9e4:function(e,a,t){a.Z=t.p+"assets/images/Gauge07-b452aa1cb608e3282b75a29f1eaa4e4a.png"},97371:function(e,a,t){a.Z=t.p+"assets/images/Gauge08-e82c0e4875b9880c989e830b69eb268b.png"},55496:function(e,a,t){a.Z=t.p+"assets/images/Gauge09-b3c9c6ac658f07f7fa8a02ee4dcea6c2.png"},65317:function(e,a,t){a.Z=t.p+"assets/images/Gauge10-ee05f0f10a3052a15f233e5869cc1ba9.png"},20012:function(e,a,t){a.Z=t.p+"assets/images/Gauge11-73674740f876a9e65f062643efcaca46.png"},98794:function(e,a,t){a.Z=t.p+"assets/images/Gauge12-d4702d30b976bbb6638182e4e90ad637.png"},44855:function(e,a,t){a.Z=t.p+"assets/images/Gauge13-42944e57a417ca786e9eab20ba285e12.png"},47059:function(e,a,t){a.Z=t.p+"assets/images/Gauge14-122e300026f8417c32434e9d3b4126d1.png"}}]); \ No newline at end of file diff --git a/assets/js/f9676efd.9187e912.js b/assets/js/f9676efd.9187e912.js new file mode 100644 index 00000000..85e6dc20 --- /dev/null +++ b/assets/js/f9676efd.9187e912.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3440],{3905:function(e,t,a){a.d(t,{Zo:function(){return c},kt:function(){return h}});var r=a(67294);function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function i(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){l(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function d(e,t){if(null==e)return{};var a,r,l=function(e,t){if(null==e)return{};var a,r,l={},n=Object.keys(e);for(r=0;r<n.length;r++)a=n[r],t.indexOf(a)>=0||(l[a]=e[a]);return l}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)a=n[r],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}var o=r.createContext({}),p=function(e){var t=r.useContext(o),a=t;return e&&(a="function"==typeof e?e(t):i(i({},t),e)),a},c=function(e){var t=p(e.components);return r.createElement(o.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},k=r.forwardRef((function(e,t){var a=e.components,l=e.mdxType,n=e.originalType,o=e.parentName,c=d(e,["components","mdxType","originalType","parentName"]),k=p(a),h=l,s=k["".concat(o,".").concat(h)]||k[h]||u[h]||n;return a?r.createElement(s,i(i({ref:t},c),{},{components:a})):r.createElement(s,i({ref:t},c))}));function h(e,t){var a=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var n=a.length,i=new Array(n);i[0]=k;var d={};for(var o in t)hasOwnProperty.call(t,o)&&(d[o]=t[o]);d.originalType=e,d.mdxType="string"==typeof e?e:l,i[1]=d;for(var p=2;p<n;p++)i[p]=a[p];return r.createElement.apply(null,i)}return r.createElement.apply(null,a)}k.displayName="MDXCreateElement"},99302:function(e,t,a){a.r(t),a.d(t,{frontMatter:function(){return d},contentTitle:function(){return o},metadata:function(){return p},toc:function(){return c},default:function(){return k}});var r=a(83117),l=a(80102),n=(a(67294),a(3905)),i=(a(84597),["components"]),d={sidebar_position:0,slug:"/bar3d"},o="Bar3DChart 3D\u67f1\u56fe",p={unversionedId:"lang/articles/extra/bar3d",id:"version-v3.12.0/lang/articles/extra/bar3d",title:"Bar3DChart 3D\u67f1\u56fe",description:"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - 3D\u67f1\u56fe\u3002",source:"@site/versioned_docs/version-v3.12.0/lang/articles/extra/bar3d.md",sourceDirName:"lang/articles/extra",slug:"/bar3d",permalink:"/docs/bar3d",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/extra/bar3d.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"2024/10/1",sidebarPosition:0,frontMatter:{sidebar_position:0,slug:"/bar3d"},sidebar:"langSidebar",previous:{title:"\u6269\u5c55\u56fe\u8868",permalink:"/docs/extra"},next:{title:"FunnelChart \u6f0f\u6597\u56fe",permalink:"/docs/funnel"}},c=[{value:"\u622a\u56fe",id:"\u622a\u56fe",children:[],level:2},{value:"\u8bb8\u53ef",id:"\u8bb8\u53ef",children:[],level:2},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",children:[],level:2},{value:"\u6559\u7a0b",id:"\u6559\u7a0b",children:[],level:2},{value:"\u6587\u6863",id:"\u6587\u6863",children:[],level:2},{value:"\u65e5\u5fd7",id:"\u65e5\u5fd7",children:[{value:"v3.12.0",id:"v3120",children:[],level:3},{value:"v3.11.0",id:"v3110",children:[],level:3},{value:"v3.10.0",id:"v3100",children:[],level:3},{value:"v3.8.0",id:"v380",children:[],level:3},{value:"v3.6.1",id:"v361",children:[],level:3},{value:"v3.6.0",id:"v360",children:[],level:3},{value:"v3.5.0",id:"v350",children:[],level:3},{value:"v3.4.0",id:"v340",children:[],level:3},{value:"v3.2.0",id:"v320",children:[],level:3},{value:"v3.1.0",id:"v310",children:[],level:3}],level:2},{value:"API",id:"api",children:[{value:"Bar3D",id:"bar3d",children:[{value:"Bar3D.containerIndex",id:"bar3dcontainerindex",children:[],level:4},{value:"Bar3D.containterInstanceId",id:"bar3dcontainterinstanceid",children:[],level:4},{value:"Bar3D.AddDefaultSerie",id:"bar3dadddefaultserie",children:[],level:4},{value:"Bar3D.ConvertSerie",id:"bar3dconvertserie",children:[],level:4}],level:3},{value:"Bar3DChart",id:"bar3dchart",children:[{value:"Bar3DChart.DefaultCylinderChart()",id:"bar3dchartdefaultcylinderchart",children:[],level:4},{value:"Bar3DChart.DefaultCylinderChart",id:"bar3dchartdefaultcylinderchart-1",children:[],level:4},{value:"Bar3DChart.DefaultGroupedCubeChart",id:"bar3dchartdefaultgroupedcubechart",children:[],level:4},{value:"Bar3DChart.DefaultStackedCubeChart",id:"bar3dchartdefaultstackedcubechart",children:[],level:4}],level:3},{value:"Bar3DStyle",id:"bar3dstyle",children:[],level:3},{value:"Bar3DType",id:"bar3dtype",children:[],level:3}],level:2},{value:"\u914d\u7f6e\u9879\u624b\u518c",id:"\u914d\u7f6e\u9879\u624b\u518c",children:[{value:"Bar3D",id:"bar3d-1",children:[{value:"Bar3D.bar3DStyle",id:"bar3dbar3dstyle",children:[],level:4},{value:"Bar3D.bar3DType",id:"bar3dbar3dtype",children:[],level:4}],level:3},{value:"Bar3DStyle",id:"bar3dstyle-1",children:[{value:"Bar3DStyle.barOffset",id:"bar3dstylebaroffset",children:[],level:4},{value:"Bar3DStyle.borderDash",id:"bar3dstyleborderdash",children:[],level:4},{value:"Bar3DStyle.bottomColor",id:"bar3dstylebottomcolor",children:[],level:4},{value:"Bar3DStyle.bottomColorRate",id:"bar3dstylebottomcolorrate",children:[],level:4},{value:"Bar3DStyle.cubeDire",id:"bar3dstylecubedire",children:[],level:4},{value:"Bar3DStyle.cylinderRate",id:"bar3dstylecylinderrate",children:[],level:4},{value:"Bar3DStyle.occludedAreaBorder",id:"bar3dstyleoccludedareaborder",children:[],level:4},{value:"Bar3DStyle.occludedAreaBorderDash",id:"bar3dstyleoccludedareaborderdash",children:[],level:4},{value:"Bar3DStyle.show",id:"bar3dstyleshow",children:[],level:4},{value:"Bar3DStyle.sideColor",id:"bar3dstylesidecolor",children:[],level:4},{value:"Bar3DStyle.sideColorRate",id:"bar3dstylesidecolorrate",children:[],level:4},{value:"Bar3DStyle.topColor",id:"bar3dstyletopcolor",children:[],level:4},{value:"Bar3DStyle.topColorRate",id:"bar3dstyletopcolorrate",children:[],level:4},{value:"Bar3DStyle.verticalArrange",id:"bar3dstyleverticalarrange",children:[],level:4},{value:"Bar3DStyle.verticalArrangeDire",id:"bar3dstyleverticalarrangedire",children:[],level:4},{value:"Bar3DStyle.verticalArrangeGap",id:"bar3dstyleverticalarrangegap",children:[],level:4},{value:"Bar3DStyle.widthRate",id:"bar3dstylewidthrate",children:[],level:4}],level:3}],level:2}],u={toc:c};function k(e){var t=e.components,d=(0,l.Z)(e,i);return(0,n.kt)("wrapper",(0,r.Z)({},u,d,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"bar3dchart-3d\u67f1\u56fe"},"Bar3DChart 3D\u67f1\u56fe"),(0,n.kt)("p",null,"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - 3D\u67f1\u56fe\u3002"),(0,n.kt)("h2",{id:"\u622a\u56fe"},"\u622a\u56fe"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Bar3D01",src:a(37854).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Bar3D02",src:a(48898).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Bar3D03",src:a(97383).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Bar3D04",src:a(98606).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Bar3D05",src:a(27463).Z,width:"577",height:"490"}))),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Bar3D07",src:a(59830).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Bar3D08",src:a(5695).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Bar3D09",src:a(87251).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Bar3D10",src:a(2534).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"})))),(0,n.kt)("h2",{id:"\u8bb8\u53ef"},"\u8bb8\u53ef"),(0,n.kt)("p",null,"\u6269\u5c55\u56fe\u8868\uff0c\u9700\u4ed8\u8d39\u8d2d\u4e70\u540e\u624d\u83b7\u5f97\u4f7f\u7528\u8bb8\u53ef\u3002"),(0,n.kt)("h2",{id:"\u793a\u4f8b"},"\u793a\u4f8b"),(0,n.kt)("p",null,"Demo\u4ed3\u5e93\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Bar3DChart-Demo"},"XCharts-Bar3DChart-Demo")),(0,n.kt)("h2",{id:"\u6559\u7a0b"},"\u6559\u7a0b"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Demo"},"\u6269\u5c55\u56fe\u8868\u5982\u4f55\u5bfc\u5165Demo\u9879\u76ee\u6216\u5bfc\u5165\u81ea\u5df1\u9879\u76ee")),(0,n.kt)("h2",{id:"\u6587\u6863"},"\u6587\u6863"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#api"},"API"),(0,n.kt)("br",{parentName:"p"}),"\n",(0,n.kt)("a",{parentName:"p",href:"#%E9%85%8D%E7%BD%AE%E9%A1%B9%E6%89%8B%E5%86%8C"},"\u914d\u7f6e\u9879\u624b\u518c")," "),(0,n.kt)("h2",{id:"\u65e5\u5fd7"},"\u65e5\u5fd7"),(0,n.kt)("h3",{id:"v3120"},"v3.12.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2024.09.30) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v3110"},"v3.11.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c")),(0,n.kt)("h3",{id:"v3100"},"v3.10.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.12.16) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Bar3D"),"\u7684\u66f4\u591a\u9ed8\u8ba4\u56fe\u8868\u5feb\u6377\u65b9\u5f0f\u548cAPI"),(0,n.kt)("li",{parentName:"ul"},"(2023.12.16) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Bar3DStyle"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"borderDash"),"\u662f\u5426\u7ed8\u5236\u865a\u7ebf\u8fb9\u6846"),(0,n.kt)("li",{parentName:"ul"},"(2023.12.16) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Bar3DStyle"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"occludedAreaBorderDash"),"\u662f\u5426\u7ed8\u5236\u906e\u6321\u533a\u57df\u7684\u865a\u7ebf\u8fb9\u6846"),(0,n.kt)("li",{parentName:"ul"},"(2023.12.16) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Bar3DStyle"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"occludedAreaBorder"),"\u662f\u5426\u7ed8\u5236\u906e\u6321\u533a\u57df\u7684\u8fb9\u6846"),(0,n.kt)("li",{parentName:"ul"},"(2023.12.16) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Border"),"\u8fb9\u6846\u7ed8\u5236\u652f\u6301")),(0,n.kt)("h3",{id:"v380"},"v3.8.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.07.31) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.8.0"))),(0,n.kt)("h3",{id:"v361"},"v3.6.1"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.06.08) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.6.1"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.06.08) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v360"},"v3.6.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.04.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.6.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.09) \u652f\u6301",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieClick")," ",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieDown")," ",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieEnter"),"\u548c",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieExit"),"\u56de\u8c03"),(0,n.kt)("li",{parentName:"ul"},"(2023.02.14) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.6.0")),(0,n.kt)("li",{parentName:"ul"},"(2023.02.14) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Bar3DStyle"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"topColor"),"\u3001",(0,n.kt)("inlineCode",{parentName:"li"},"bottomColor"),"\u548c",(0,n.kt)("inlineCode",{parentName:"li"},"sideColor"),"\u53c2\u6570\u652f\u6301")),(0,n.kt)("h3",{id:"v350"},"v3.5.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.11.29) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"barMaxWidth"),"\u53c2\u6570\u652f\u6301"),(0,n.kt)("li",{parentName:"ul"},"(2022.11.27) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"backgroundColor"),"\u53c2\u6570\u652f\u6301"),(0,n.kt)("li",{parentName:"ul"},"(2022.11.27) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"colorBy"),"\u7684\u652f\u6301"),(0,n.kt)("li",{parentName:"ul"},"(2022.11.27) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v340"},"v3.4.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.11.01) \u652f\u6301",(0,n.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"unscaledTime")),(0,n.kt)("li",{parentName:"ul"},"(2022.11.01) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.4.0"))),(0,n.kt)("h3",{id:"v320"},"v3.2.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.08.22) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.2.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2022.08.19) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.2.0"))),(0,n.kt)("h3",{id:"v310"},"v3.1.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.07.14) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.1.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2022.07.14) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"bottomColorRate"),",",(0,n.kt)("inlineCode",{parentName:"li"},"cylinderRate"),"\u53c2\u6570"),(0,n.kt)("li",{parentName:"ul"},"(2022.07.14) \u8c03\u6574",(0,n.kt)("inlineCode",{parentName:"li"},"topColorBurnRate"),"\u6539\u540d\u4e3a",(0,n.kt)("inlineCode",{parentName:"li"},"topColorRate")),(0,n.kt)("li",{parentName:"ul"},"(2022.07.14) \u8c03\u6574",(0,n.kt)("inlineCode",{parentName:"li"},"sideColorBurnRate"),"\u6539\u540d\u4e3a",(0,n.kt)("inlineCode",{parentName:"li"},"sideColorRate")),(0,n.kt)("li",{parentName:"ul"},"(2022.07.14) \u8c03\u6574",(0,n.kt)("inlineCode",{parentName:"li"},"dire"),"\u6539\u540d\u4e3a",(0,n.kt)("inlineCode",{parentName:"li"},"cubeDire")),(0,n.kt)("li",{parentName:"ul"},"(2022.07.14) \u652f\u6301",(0,n.kt)("inlineCode",{parentName:"li"},"Cylinder"),"\u5706\u67f1\u548c",(0,n.kt)("inlineCode",{parentName:"li"},"Cube"),"\u7acb\u65b9\u67f1")),(0,n.kt)("h2",{id:"api"},"API"),(0,n.kt)("h3",{id:"bar3d"},"Bar3D"),(0,n.kt)("p",null,"class in XCharts.Runtime.Bar3Ds / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("p",null,"3D\u67f1\u56fe\u3002\u652f\u6301\u7acb\u65b9\u67f1\u548c\u5706\u67f1\u3002\u53ef\u6c34\u5e73\u6392\u5217\u548c\u5782\u76f4\u6392\u5217\u3002"),(0,n.kt)("h4",{id:"bar3dcontainerindex"},"Bar3D.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h4",{id:"bar3dcontainterinstanceid"},"Bar3D.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h4",{id:"bar3dadddefaultserie"},"Bar3D.AddDefaultSerie"),(0,n.kt)("p",null,"public static Bar3D AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h4",{id:"bar3dconvertserie"},"Bar3D.ConvertSerie"),(0,n.kt)("p",null,"public static Bar3D ConvertSerie(Serie serie) "),(0,n.kt)("h3",{id:"bar3dchart"},"Bar3DChart"),(0,n.kt)("p",null,"class in XCharts.Runtime.Bar3Ds / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#basechart"},"BaseChart")),(0,n.kt)("h4",{id:"bar3dchartdefaultcylinderchart"},"Bar3DChart.DefaultCylinderChart()"),(0,n.kt)("p",null,"public void DefaultCylinderChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba4\u7684\u5706\u67f1\u4f53\u56fe\u3002"),(0,n.kt)("h4",{id:"bar3dchartdefaultcylinderchart-1"},"Bar3DChart.DefaultCylinderChart"),(0,n.kt)("p",null,"public void DefaultCylinderChart(){",(0,n.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba4\u7684\u5706\u67f1\u4f53\u56fe\u3002"),(0,n.kt)("h4",{id:"bar3dchartdefaultgroupedcubechart"},"Bar3DChart.DefaultGroupedCubeChart"),(0,n.kt)("p",null,"public void DefaultGroupedCubeChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5206\u7ec43D\u67f1\u72b6\u56fe\u3002"),(0,n.kt)("h4",{id:"bar3dchartdefaultstackedcubechart"},"Bar3DChart.DefaultStackedCubeChart"),(0,n.kt)("p",null,"public void DefaultStackedCubeChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5806\u53e0\u5206\u7ec43D\u67f1\u72b6\u56fe\u3002"),(0,n.kt)("h3",{id:"bar3dstyle"},"Bar3DStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime.Bar3Ds / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"bar3dtype"},"Bar3DType"),(0,n.kt)("p",null,"class in XCharts.Runtime.Bar3Ds"),(0,n.kt)("p",null,"3D\u67f1\u56fe\u7c7b\u578b\u3002\u5206\u4e3a\u7acb\u65b9\u67f1\u548c\u5706\u67f1\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Cube"),": \u7acb\u65b9\u67f1\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Cylinder"),": \u5706\u67f1\u3002")),(0,n.kt)("h2",{id:"\u914d\u7f6e\u9879\u624b\u518c"},"\u914d\u7f6e\u9879\u624b\u518c"),(0,n.kt)("h3",{id:"bar3d-1"},"Bar3D"),(0,n.kt)("p",null,"class in XCharts.Runtime.Bar3Ds / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("p",null,"3D\u67f1\u56fe\u3002\u652f\u6301\u7acb\u65b9\u67f1\u548c\u5706\u67f1\u3002\u53ef\u6c34\u5e73\u6392\u5217\u548c\u5782\u76f4\u6392\u5217\u3002"),(0,n.kt)("h4",{id:"bar3dbar3dstyle"},"Bar3D.bar3DStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#bar3dstyle"},"Bar3DStyle")),(0,n.kt)("h4",{id:"bar3dbar3dtype"},"Bar3D.bar3DType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#bar3dtype"},"Bar3DType")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.1.0")),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Cube"),": \u7acb\u65b9\u67f1\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Cylinder"),": \u5706\u67f1\u3002")),(0,n.kt)("h3",{id:"bar3dstyle-1"},"Bar3DStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime.Bar3Ds / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#childcomponent"},"ChildComponent")),(0,n.kt)("h4",{id:"bar3dstylebaroffset"},"Bar3DStyle.barOffset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Vector3")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Vector3.zero")),(0,n.kt)("p",null,"\u67f1\u5b50\u504f\u79fb\u3002"),(0,n.kt)("h4",{id:"bar3dstyleborderdash"},"Bar3DStyle.borderDash"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u865a\u7ebf\u8fb9\u6846\u3002"),(0,n.kt)("h4",{id:"bar3dstylebottomcolor"},"Bar3DStyle.bottomColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("h4",{id:"bar3dstylebottomcolorrate"},"Bar3DStyle.bottomColorRate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1f")),(0,n.kt)("p",null,"\u67f1\u5b50\u5e95\u90e8\u76f8\u5bf9\u6b63\u9762\u7684\u989c\u8272\u6bd4\u4f8b\u3002"),(0,n.kt)("h4",{id:"bar3dstylecubedire"},"Bar3DStyle.cubeDire"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Vector3")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Vector3(1, 1)")),(0,n.kt)("p",null,"\u65b9\u5f62\u67f1\u5f62\u62103D\u6548\u679c\u7684\u65b9\u5411\u3002"),(0,n.kt)("h4",{id:"bar3dstylecylinderrate"},"Bar3DStyle.cylinderRate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.5f")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.1.0")),(0,n.kt)("p",null,"\u5706\u67f1\u7684\u9876\u90e8\u692d\u5706\u6bd4\u5217\u3002"),(0,n.kt)("h4",{id:"bar3dstyleoccludedareaborder"},"Bar3DStyle.occludedAreaBorder"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u906e\u6321\u533a\u57df\u7684\u8fb9\u6846\u3002"),(0,n.kt)("h4",{id:"bar3dstyleoccludedareaborderdash"},"Bar3DStyle.occludedAreaBorderDash"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u906e\u6321\u533a\u57df\u7684\u865a\u7ebf\u8fb9\u6846\u3002"),(0,n.kt)("h4",{id:"bar3dstyleshow"},"Bar3DStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("h4",{id:"bar3dstylesidecolor"},"Bar3DStyle.sideColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("h4",{id:"bar3dstylesidecolorrate"},"Bar3DStyle.sideColorRate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.7f")),(0,n.kt)("p",null,"\u65b9\u5f62\u67f1\u4fa7\u8fb9\u76f8\u5bf9\u6b63\u9762\u7684\u989c\u8272\u6bd4\u4f8b\u3002"),(0,n.kt)("h4",{id:"bar3dstyletopcolor"},"Bar3DStyle.topColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("h4",{id:"bar3dstyletopcolorrate"},"Bar3DStyle.topColorRate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.8f")),(0,n.kt)("p",null,"\u67f1\u5b50\u9876\u90e8\u76f8\u5bf9\u6b63\u9762\u7684\u989c\u8272\u6bd4\u4f8b\u3002"),(0,n.kt)("h4",{id:"bar3dstyleverticalarrange"},"Bar3DStyle.verticalArrange"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u5782\u76f4\u6392\u5217\u3002"),(0,n.kt)("h4",{id:"bar3dstyleverticalarrangedire"},"Bar3DStyle.verticalArrangeDire"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Vector3")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Vector3(-1, 1)")),(0,n.kt)("p",null,"\u5782\u76f4\u6392\u5217\u65f6\u7684\u65b9\u5411\u3002"),(0,n.kt)("h4",{id:"bar3dstyleverticalarrangegap"},"Bar3DStyle.verticalArrangeGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.5f")),(0,n.kt)("p",null,"\u5782\u76f4\u6392\u5217\u65f6\u4e24\u4e2a\u67f1\u5b50\u95f4\u7684\u95f4\u9699\u3002"),(0,n.kt)("h4",{id:"bar3dstylewidthrate"},"Bar3DStyle.widthRate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.5f")),(0,n.kt)("p",null,"\u65b9\u5f62\u67f1\u4fa7\u8fb9\u5bbd\u5ea6\u76f8\u5bf9\u6b63\u9762\u7684\u6bd4\u4f8b\u3002"))}k.isMDXComponent=!0},84597:function(e,t,a){a.d(t,{Z:function(){return o}});var r=a(67294),l=a(76775),n="apiTable_e8hp";function i(e,t){var a=e.name,n=e.children,i=function(e){for(var t=e;(0,r.isValidElement)(t);)t=r.Children.toArray(t.props.children)[0];return t}(n),d=a?a+"-"+i:i,o="#"+d,p=(0,l.k6)();return r.createElement("tr",{id:d,tabIndex:0,ref:p.location.hash===o?t:void 0,onClick:function(e){"A"===e.target.tagName.toUpperCase()||p.push(o)},onKeyDown:function(e){"Enter"===e.key&&p.push(o)}},n.props.children)}var d=r.forwardRef(i);function o(e){var t=e.children,a=e.name,l=r.Children.toArray(t.props.children),i=l[0],o=l[1],p=(0,r.useRef)(null);(0,r.useEffect)((function(){var e;null==(e=p.current)||e.focus()}),[p]);var c=r.Children.map(o.props.children,(function(e){return r.createElement(d,{name:a,ref:p},e)}));return r.createElement("table",{className:n},i,r.createElement("tbody",null,c))}},37854:function(e,t,a){t.Z=a.p+"assets/images/Bar3D01-ca27619e7dd6e9fa619b5feb0ae94246.png"},48898:function(e,t,a){t.Z=a.p+"assets/images/Bar3D02-e6ec854123c35f3c0a598130f2c979c1.png"},97383:function(e,t,a){t.Z=a.p+"assets/images/Bar3D03-f1836bbf106ff9cfab3c5c94828c1d88.png"},98606:function(e,t,a){t.Z=a.p+"assets/images/Bar3D04-efaa4664aec060d6ae9e99e1be051d2f.png"},27463:function(e,t,a){t.Z=a.p+"assets/images/Bar3D05-a405c699580b46ac2dbac6c5ed6f1f4e.png"},59830:function(e,t,a){t.Z=a.p+"assets/images/Bar3D07-44dd2b21a40d6e86aea7beed45640464.png"},5695:function(e,t,a){t.Z=a.p+"assets/images/Bar3D08-3309b84da3b32f9f31197570361a30b5.png"},87251:function(e,t,a){t.Z=a.p+"assets/images/Bar3D09-3317e6a99f8847b8b5734212bee826a7.png"},2534:function(e,t,a){t.Z=a.p+"assets/images/Bar3D10-c4817f449a2539e40aa56efefb87a887.png"}}]); \ No newline at end of file diff --git a/assets/js/main.ab2b8a48.js b/assets/js/main.ab2b8a48.js new file mode 100644 index 00000000..f726ca08 --- /dev/null +++ b/assets/js/main.ab2b8a48.js @@ -0,0 +1,2 @@ +/*! For license information please see main.ab2b8a48.js.LICENSE.txt */ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[179],{99782:function(e,t,n){"use strict";n.r(t),t.default={title:"XCharts",tagline:"A charting and data visualization library for Unity.",url:"http://XCharts-Team.github.io",baseUrl:"/",onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",favicon:"img/black_or_white.png",organizationName:"XCharts-Team",projectName:"XCharts",plugins:["docusaurus-plugin-sass",null,null,"/Users/xiaomo/work/project/xcharts-team.github.io/website/plugins/docusaurus-plugin-hotjar",["/Users/xiaomo/work/project/xcharts-team.github.io/website/plugins/autoapi-plugin",{path:"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api",include:"**/*.html",route:"api/",allowVersions:["v3.12.0","v3.11.2","v3.10.2","v3.9.0","v3.8.1","v3.7.0","v3.6.0","v3.5.0"],current:"master"}],["/Users/xiaomo/work/project/xcharts-team.github.io/website/plugins/blog-enhance-plugin",{postsPerPage:10,blogTitle:"XCharts Blogs"}],["/Users/xiaomo/work/project/xcharts-team.github.io/website/plugins/blog-enhance-plugin",{id:"newsletter",postsPerPage:10,path:"newsletter",routeBasePath:"newsletter",blogTitle:"XCharts Newsletter",blogDescription:"Newsletter",showReadingTime:!1}],["/Users/xiaomo/work/project/xcharts-team.github.io/website/plugins/docs-enhance-plugin",{routeBasePath:"/docs",path:"docs",editCurrentVersion:!0,sidebarPath:"/Users/xiaomo/work/project/xcharts-team.github.io/website/sidebars.js",showLastUpdateAuthor:!0,showLastUpdateTime:!0,versions:{current:{label:"master",path:"master"}},remarkPlugins:[[null,{fail:!1}],[null,{prefix:"fragments",fail:!1}]]}]],i18n:{defaultLocale:"zh-Hans",locales:["zh-Hans","en"],localeConfigs:{}},themeConfig:{hideableSidebar:!0,prism:{defaultLanguage:"csharp",additionalLanguages:["csharp"],theme:{plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},darkTheme:{plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]}},hotjar:{siteId:"2765142"},navbar:{title:null,hideOnScroll:!1,logo:{alt:"XCharts",src:"img/black_logo.png",srcDark:"img/white_logo.png",href:"https://github.com/XCharts-Team/XCharts"},items:[{to:"/docs",position:"right",label:"Doc Home",className:"animated-anchor-link"},{label:"Resources",position:"right",items:[{to:"/blog",label:"Blogs"},{to:"/blog",label:"Blogs"}]},{label:"Community",position:"right",items:[{to:"/community",label:"Community",activeBaseRegex:"/community/"},{to:"/acknowledgments",label:"Acknowledgments"}]},{type:"docsVersionDropdown",position:"right",dropdownItemsBefore:[],dropdownItemsAfter:[],dropdownActiveClassDisabled:!0,docsPluginId:"default"}]},footer:{style:"dark",links:[{title:"Resources",items:[{label:"Community",to:"/community"},{label:"Documentation",to:"/docs"},{label:"Forum",href:"https://github.com/XCharts-Team/XCharts"}]},{title:"Company",items:[{label:"About Us",href:"https://github.com/XCharts-Team"},{label:"Careers",href:"https://github.com/XCharts-Team"},{label:"Contact",href:"https://github.com/XCharts-Team"}]},{title:"Legal",items:[{label:"Cookie Policy",href:"https://github.com/XCharts-Team"},{label:"Privacy Policy",href:"https://github.com/XCharts-Team/XCharts"}]}],copyright:"Copyright \xa9 2024 XCharts Technology, Inc."},algolia:{appId:"6YGEX22RUU",apiKey:"15066da00423facdeb39bd6e082db68c",indexName:"xcharts-teamio",contextualSearch:!0,searchParameters:{}},colorMode:{defaultMode:"dark",respectPrefersColorScheme:!1,switchConfig:{darkIcon:"\ud83c\udf19",lightIcon:"\u2600\ufe0f",darkIconStyle:{},lightIconStyle:{}},disableSwitch:!1},docs:{versionPersistence:"localStorage"},metadata:[],autoCollapseSidebarCategories:!1,tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},themes:["/Users/xiaomo/work/project/xcharts-team.github.io/website/plugins/docusaurus-theme-extends/src"],presets:[["@docusaurus/preset-classic",{docs:!1,blog:!1,gtag:{trackingID:"G-9K17QVGTR6",anonymizeIP:!0},theme:{customCss:"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/css/custom.css"}}]],customFields:{blogUrl:"/blog",localeUrls:{"fr-FR":"/fr-FR","zh-Hans":"/",en:"/en"}},baseUrlIssueBanner:!0,onDuplicateRoutes:"warn",staticDirectories:["static"],titleDelimiter:"|",noIndex:!1}},95805:function(e,t,n){"use strict";var r=n(67294),a=n(73935),o=n(73727),i=n(68356),s=n.n(i);function l(e){var t=e.error,n=e.retry,a=e.pastDelay;return t?r.createElement("div",{style:{align:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"}},r.createElement("p",null,t.message),r.createElement("div",null,r.createElement("button",{type:"button",onClick:n},"Retry"))):a?r.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"}},r.createElement("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb"},r.createElement("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2"},r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"8"},r.createElement("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}))))):null}var c=JSON.parse('{"/acknowledgments-6d7":{"component":"1f391b9e","content":"9a6c8fee"},"/api/-7b0":{"component":"91a1c8ba","__content":"4b62531f","__title":"463bdb2b","__version":"b85074aa","__sidebar":"86e87435","__toc":"1e7664cb","__path":"717f403f"},"/api/master/-835":{"component":"91a1c8ba","__content":"d6e23382","__title":"4275b1b4","__version":"1f416af2","__sidebar":"e4ec0983","__toc":"60a5cd7b","__path":"b5003c20"},"/api/v3.10.2/-82e":{"component":"91a1c8ba","__content":"f1b9a032","__title":"85cde48e","__version":"d433dfcf","__sidebar":"06b3902f","__toc":"e218c249","__path":"0e79e7ad"},"/api/v3.11.2/-4ad":{"component":"91a1c8ba","__content":"fc7855f2","__title":"73754ea4","__version":"0fe29b8b","__sidebar":"f6b55758","__toc":"b4962e4d","__path":"bfdfd19f"},"/api/v3.5.0/-90a":{"component":"91a1c8ba","__content":"1d960048","__title":"e913dccc","__version":"47137878","__sidebar":"ecc5a1b0","__toc":"dc295080","__path":"556925f6"},"/api/v3.6.0/-2ff":{"component":"91a1c8ba","__content":"edff5018","__title":"5ca33a59","__version":"75da09e2","__sidebar":"fcb13733","__toc":"4fcb4d83","__path":"cdf592f9"},"/api/v3.7.0/-f68":{"component":"91a1c8ba","__content":"305b5d7f","__title":"671093e8","__version":"429c4dc1","__sidebar":"06669c61","__toc":"37093706","__path":"0c751418"},"/api/v3.8.1/-f98":{"component":"91a1c8ba","__content":"6cf2b940","__title":"3e90d8e2","__version":"8d9e9f31","__sidebar":"f70958ec","__toc":"34d09112","__path":"8eddbe9d"},"/api/v3.9.0/-348":{"component":"91a1c8ba","__content":"ea94ad11","__title":"5f33186c","__version":"b2fdb119","__sidebar":"28a07f2a","__toc":"af87715e","__path":"6f928cfb"},"/blog-de9":{"component":"a6aa9e1f","sidebar":"814f3328","items":[{"content":"58028877"}],"metadata":"b2b675dd"},"/blog/archive-f4c":{"component":"9e4087bc","archive":"b2f554cd"},"/blog/tags-e13":{"component":"01a85c17","sidebar":"814f3328","tags":"a7023ddc"},"/blog/tags/x-charts-3a1":{"component":"6875c492","sidebar":"814f3328","items":[{"content":"58028877"}],"metadata":"8938475a"},"/blog/tags/\u65b0\u7248\u672c-78b":{"component":"6875c492","sidebar":"814f3328","items":[{"content":"58028877"}],"metadata":"397c45a2"},"/blog/xcharts3.0_released-0d0":{"component":"ccc49370","sidebar":"814f3328","content":"6c82b5e0"},"/community-a30":{"component":"1f391b9e","content":"e7b22fe0"},"/contact-us-d81":{"component":"1f391b9e","content":"9731ed60"},"/docs-932":{"component":"6977494c","sidebar":"d0338a12"},"/examples/-583":{"component":"4a367eab","config":"5e9f5e1a"},"/help-us-translate-99b":{"component":"1f391b9e","content":"062163c2"},"/newsletter-cd2":{"component":"a6aa9e1f","sidebar":"97c29f4a","items":[{"content":"9128a4a4"}],"metadata":"bad064f5"},"/newsletter/2022/12/newsletter12-978":{"component":"ccc49370","sidebar":"97c29f4a","content":"93c5d417"},"/newsletter/archive-771":{"component":"9e4087bc","archive":"5564a3b7"},"/search-79a":{"component":"1a4e3797"},"/user-stories/-b97":{"component":"52baeca4","config":"5e9f5e1a"},"/docs/master-395":{"component":"1be78505","versionMetadata":"935f2afb"},"/docs/master/about-bac":{"component":"17896441","content":"241855ee"},"/docs/master/api-77f":{"component":"17896441","content":"b37fd7e5"},"/docs/master/bar3d-71a":{"component":"17896441","content":"12bd9b04"},"/docs/master/changelog-3ac":{"component":"17896441","content":"4dfb9136"},"/docs/master/configuration-d77":{"component":"17896441","content":"40247295"},"/docs/master/extra-439":{"component":"17896441","content":"50dabb5d"},"/docs/master/faq-07e":{"component":"17896441","content":"9e8d335c"},"/docs/master/funnel-25e":{"component":"17896441","content":"c8d6b1e1"},"/docs/master/gantt-651":{"component":"17896441","content":"b4676ab6"},"/docs/master/gauge-1b2":{"component":"17896441","content":"977aef28"},"/docs/master/graph-c52":{"component":"17896441","content":"29abe6b0"},"/docs/master/inputsystem-1bf":{"component":"17896441","content":"957623b6"},"/docs/master/lang/articles/ui/ui_statistic-8d9":{"component":"17896441","content":"aecb7363"},"/docs/master/lang/articles/ui/ui_table-620":{"component":"17896441","content":"aff6dcac"},"/docs/master/line3d-b00":{"component":"17896441","content":"9c0314cd"},"/docs/master/liquid-2a1":{"component":"17896441","content":"8745b4bf"},"/docs/master/pictorialbar-0b3":{"component":"17896441","content":"9c86b1c3"},"/docs/master/pie3d-a2d":{"component":"17896441","content":"4c69d450"},"/docs/master/pyramid-ccc":{"component":"17896441","content":"90628bba"},"/docs/master/sankey-1ae":{"component":"17896441","content":"78b2a8f7"},"/docs/master/support-8b0":{"component":"17896441","content":"b87d287e"},"/docs/master/treemap-8bb":{"component":"17896441","content":"237f2966"},"/docs/master/tutorial01-2c7":{"component":"17896441","content":"97524ec3"},"/docs/master/tutorial02-0bb":{"component":"17896441","content":"7f86b971"},"/docs/master/tutorial03-d01":{"component":"17896441","content":"75662a14"},"/docs/master/ui-36f":{"component":"17896441","content":"50572ff0"},"/docs/v3.10.2-3aa":{"component":"1be78505","versionMetadata":"f16045ef"},"/docs/v3.10.2/about-efe":{"component":"17896441","content":"c9ff6b20"},"/docs/v3.10.2/api-0e5":{"component":"17896441","content":"36b7cc20"},"/docs/v3.10.2/bar3d-548":{"component":"17896441","content":"84995476"},"/docs/v3.10.2/changelog-aef":{"component":"17896441","content":"9875289a"},"/docs/v3.10.2/configuration-4fd":{"component":"17896441","content":"3ffa4b16"},"/docs/v3.10.2/extra-0cf":{"component":"17896441","content":"cf87da48"},"/docs/v3.10.2/faq-4b4":{"component":"17896441","content":"f345d982"},"/docs/v3.10.2/funnel-8b2":{"component":"17896441","content":"64570554"},"/docs/v3.10.2/gantt-e91":{"component":"17896441","content":"2f00e57f"},"/docs/v3.10.2/gauge-4e8":{"component":"17896441","content":"d074df72"},"/docs/v3.10.2/inputsystem-94d":{"component":"17896441","content":"ab83aed5"},"/docs/v3.10.2/lang/articles/ui/ui_statistic-1a8":{"component":"17896441","content":"57a11582"},"/docs/v3.10.2/lang/articles/ui/ui_table-a55":{"component":"17896441","content":"0807d87e"},"/docs/v3.10.2/liquid-7ce":{"component":"17896441","content":"f1be0c77"},"/docs/v3.10.2/pictorialbar-19d":{"component":"17896441","content":"6e9edefd"},"/docs/v3.10.2/pie3d-742":{"component":"17896441","content":"26b7391c"},"/docs/v3.10.2/pyramid-cc3":{"component":"17896441","content":"0c883a7d"},"/docs/v3.10.2/sankey-7c8":{"component":"17896441","content":"69736b62"},"/docs/v3.10.2/support-7f0":{"component":"17896441","content":"af993462"},"/docs/v3.10.2/treemap-6f1":{"component":"17896441","content":"e512dd15"},"/docs/v3.10.2/tutorial01-c09":{"component":"17896441","content":"775489ce"},"/docs/v3.10.2/tutorial02-bf1":{"component":"17896441","content":"316bdc3e"},"/docs/v3.10.2/tutorial03-45e":{"component":"17896441","content":"926f1670"},"/docs/v3.10.2/ui-cfc":{"component":"17896441","content":"8272fa28"},"/docs/v3.11.2-0c1":{"component":"1be78505","versionMetadata":"5ac1295d"},"/docs/v3.11.2/about-366":{"component":"17896441","content":"53424fa2"},"/docs/v3.11.2/api-c66":{"component":"17896441","content":"7fc30b75"},"/docs/v3.11.2/bar3d-4a3":{"component":"17896441","content":"dda2dc85"},"/docs/v3.11.2/changelog-a62":{"component":"17896441","content":"33375e22"},"/docs/v3.11.2/configuration-0d8":{"component":"17896441","content":"65cfe503"},"/docs/v3.11.2/extra-7c8":{"component":"17896441","content":"aa9d8acd"},"/docs/v3.11.2/faq-4fb":{"component":"17896441","content":"ed6c4718"},"/docs/v3.11.2/funnel-505":{"component":"17896441","content":"b8e8b238"},"/docs/v3.11.2/gantt-8b1":{"component":"17896441","content":"d972a4f7"},"/docs/v3.11.2/gauge-66b":{"component":"17896441","content":"de6d5860"},"/docs/v3.11.2/graph-ace":{"component":"17896441","content":"b1f38343"},"/docs/v3.11.2/inputsystem-12a":{"component":"17896441","content":"4b628775"},"/docs/v3.11.2/lang/articles/ui/ui_statistic-b45":{"component":"17896441","content":"30896c49"},"/docs/v3.11.2/lang/articles/ui/ui_table-b9b":{"component":"17896441","content":"f5cc76a7"},"/docs/v3.11.2/line3d-0d7":{"component":"17896441","content":"274aea74"},"/docs/v3.11.2/liquid-f98":{"component":"17896441","content":"3375c64a"},"/docs/v3.11.2/pictorialbar-344":{"component":"17896441","content":"01f79f8c"},"/docs/v3.11.2/pie3d-112":{"component":"17896441","content":"90faf82c"},"/docs/v3.11.2/pyramid-a0a":{"component":"17896441","content":"0b2baf8d"},"/docs/v3.11.2/sankey-559":{"component":"17896441","content":"399acd3b"},"/docs/v3.11.2/support-9d7":{"component":"17896441","content":"9bcf082a"},"/docs/v3.11.2/treemap-4dd":{"component":"17896441","content":"4e6e83f6"},"/docs/v3.11.2/tutorial01-3a7":{"component":"17896441","content":"d661796d"},"/docs/v3.11.2/tutorial02-70e":{"component":"17896441","content":"7187f4a4"},"/docs/v3.11.2/tutorial03-747":{"component":"17896441","content":"3093e60d"},"/docs/v3.11.2/ui-066":{"component":"17896441","content":"60e5d4c0"},"/docs/v3.5.0-b39":{"component":"1be78505","versionMetadata":"0ce0cd0c"},"/docs/v3.5.0/about-a24":{"component":"17896441","content":"bee5bae5"},"/docs/v3.5.0/api-322":{"component":"17896441","content":"d56e6f60"},"/docs/v3.5.0/bar3d-e5d":{"component":"17896441","content":"cfbb06ca"},"/docs/v3.5.0/changelog-bbc":{"component":"17896441","content":"25b591c6"},"/docs/v3.5.0/configuration-d1f":{"component":"17896441","content":"54b4ef9f"},"/docs/v3.5.0/faq-2b6":{"component":"17896441","content":"f018e9c8"},"/docs/v3.5.0/funnel-99b":{"component":"17896441","content":"4c36f7cd"},"/docs/v3.5.0/gantt-f89":{"component":"17896441","content":"d0ac207d"},"/docs/v3.5.0/gauge-468":{"component":"17896441","content":"e7aa5905"},"/docs/v3.5.0/liquid-6d1":{"component":"17896441","content":"635b1501"},"/docs/v3.5.0/pictorialbar-5d6":{"component":"17896441","content":"ba658ce7"},"/docs/v3.5.0/pie3d-9cf":{"component":"17896441","content":"1a9cc015"},"/docs/v3.5.0/pyramid-020":{"component":"17896441","content":"989109fe"},"/docs/v3.5.0/support-dd4":{"component":"17896441","content":"1cc3cec9"},"/docs/v3.5.0/treemap-471":{"component":"17896441","content":"b55bea4d"},"/docs/v3.5.0/tutorial01-69d":{"component":"17896441","content":"25c9e43b"},"/docs/v3.5.0/tutorial02-eed":{"component":"17896441","content":"510d4385"},"/docs/v3.5.0/tutorial03-fc8":{"component":"17896441","content":"6b5a19b3"},"/docs/v3.6.0-a57":{"component":"1be78505","versionMetadata":"feaf451d"},"/docs/v3.6.0/about-ac3":{"component":"17896441","content":"853d6eef"},"/docs/v3.6.0/api-5c6":{"component":"17896441","content":"ccdc331a"},"/docs/v3.6.0/bar3d-07f":{"component":"17896441","content":"1107bf75"},"/docs/v3.6.0/changelog-18f":{"component":"17896441","content":"d90bda9a"},"/docs/v3.6.0/configuration-bcf":{"component":"17896441","content":"795362f1"},"/docs/v3.6.0/extra-b4e":{"component":"17896441","content":"a031f49a"},"/docs/v3.6.0/faq-978":{"component":"17896441","content":"07e5f9de"},"/docs/v3.6.0/funnel-f54":{"component":"17896441","content":"db8591c4"},"/docs/v3.6.0/gantt-fd7":{"component":"17896441","content":"39f00e4b"},"/docs/v3.6.0/gauge-ad6":{"component":"17896441","content":"ce421672"},"/docs/v3.6.0/inputsystem-a4d":{"component":"17896441","content":"b0f5cc57"},"/docs/v3.6.0/lang/articles/ui/ui_statistic-c7f":{"component":"17896441","content":"06d7b024"},"/docs/v3.6.0/lang/articles/ui/ui_table-2cc":{"component":"17896441","content":"b0db3eed"},"/docs/v3.6.0/liquid-1d9":{"component":"17896441","content":"7c66270b"},"/docs/v3.6.0/pictorialbar-0b7":{"component":"17896441","content":"9d4880e7"},"/docs/v3.6.0/pie3d-189":{"component":"17896441","content":"a0438807"},"/docs/v3.6.0/pyramid-db5":{"component":"17896441","content":"3fed8774"},"/docs/v3.6.0/support-39a":{"component":"17896441","content":"2f375d82"},"/docs/v3.6.0/treemap-b3e":{"component":"17896441","content":"4d6bfb64"},"/docs/v3.6.0/tutorial01-b2b":{"component":"17896441","content":"7e965016"},"/docs/v3.6.0/tutorial02-78b":{"component":"17896441","content":"e897118b"},"/docs/v3.6.0/tutorial03-a25":{"component":"17896441","content":"fbb33262"},"/docs/v3.6.0/ui-26b":{"component":"17896441","content":"c0182217"},"/docs/v3.7.0-8b9":{"component":"1be78505","versionMetadata":"1bf6fa0b"},"/docs/v3.7.0/about-ffe":{"component":"17896441","content":"0107a9e4"},"/docs/v3.7.0/api-eba":{"component":"17896441","content":"12c9458b"},"/docs/v3.7.0/bar3d-081":{"component":"17896441","content":"aff05561"},"/docs/v3.7.0/changelog-d63":{"component":"17896441","content":"cdcd2ab4"},"/docs/v3.7.0/configuration-625":{"component":"17896441","content":"ad3ca912"},"/docs/v3.7.0/extra-540":{"component":"17896441","content":"33d21e66"},"/docs/v3.7.0/faq-66f":{"component":"17896441","content":"91629bdd"},"/docs/v3.7.0/funnel-6ec":{"component":"17896441","content":"179d1783"},"/docs/v3.7.0/gantt-6ce":{"component":"17896441","content":"b0957ed4"},"/docs/v3.7.0/gauge-a39":{"component":"17896441","content":"cad8270c"},"/docs/v3.7.0/inputsystem-f3f":{"component":"17896441","content":"d1258d46"},"/docs/v3.7.0/lang/articles/ui/ui_statistic-187":{"component":"17896441","content":"e7fae69c"},"/docs/v3.7.0/lang/articles/ui/ui_table-562":{"component":"17896441","content":"13548b0e"},"/docs/v3.7.0/liquid-c2b":{"component":"17896441","content":"d7623852"},"/docs/v3.7.0/pictorialbar-88e":{"component":"17896441","content":"9cb9472a"},"/docs/v3.7.0/pie3d-a0e":{"component":"17896441","content":"cbdd9883"},"/docs/v3.7.0/pyramid-3cb":{"component":"17896441","content":"9bb822d1"},"/docs/v3.7.0/support-b76":{"component":"17896441","content":"35cbd37a"},"/docs/v3.7.0/treemap-9dc":{"component":"17896441","content":"dfc50f4d"},"/docs/v3.7.0/tutorial01-cd5":{"component":"17896441","content":"b15063cb"},"/docs/v3.7.0/tutorial02-129":{"component":"17896441","content":"0a576633"},"/docs/v3.7.0/tutorial03-c8a":{"component":"17896441","content":"81de59db"},"/docs/v3.7.0/ui-e88":{"component":"17896441","content":"2ed37b6a"},"/docs/v3.8.1-831":{"component":"1be78505","versionMetadata":"15e36259"},"/docs/v3.8.1/about-e78":{"component":"17896441","content":"13cbcf42"},"/docs/v3.8.1/api-c35":{"component":"17896441","content":"8f6e2a4a"},"/docs/v3.8.1/bar3d-349":{"component":"17896441","content":"bc69d3a5"},"/docs/v3.8.1/changelog-9de":{"component":"17896441","content":"80c593df"},"/docs/v3.8.1/configuration-c0f":{"component":"17896441","content":"c0c5927d"},"/docs/v3.8.1/extra-951":{"component":"17896441","content":"56f0943a"},"/docs/v3.8.1/faq-002":{"component":"17896441","content":"a80a8174"},"/docs/v3.8.1/funnel-b43":{"component":"17896441","content":"a5bce4c8"},"/docs/v3.8.1/gantt-f88":{"component":"17896441","content":"88fb3acf"},"/docs/v3.8.1/gauge-bd7":{"component":"17896441","content":"e4892bae"},"/docs/v3.8.1/inputsystem-cdd":{"component":"17896441","content":"37b35207"},"/docs/v3.8.1/lang/articles/ui/ui_statistic-d32":{"component":"17896441","content":"6979be4b"},"/docs/v3.8.1/lang/articles/ui/ui_table-419":{"component":"17896441","content":"da3e4625"},"/docs/v3.8.1/liquid-418":{"component":"17896441","content":"f14aef11"},"/docs/v3.8.1/pictorialbar-353":{"component":"17896441","content":"47e22724"},"/docs/v3.8.1/pie3d-85c":{"component":"17896441","content":"4e7c458f"},"/docs/v3.8.1/pyramid-f4b":{"component":"17896441","content":"a76029b2"},"/docs/v3.8.1/support-213":{"component":"17896441","content":"92a26795"},"/docs/v3.8.1/treemap-eaf":{"component":"17896441","content":"1b7492fb"},"/docs/v3.8.1/tutorial01-073":{"component":"17896441","content":"f0fffb88"},"/docs/v3.8.1/tutorial02-fb4":{"component":"17896441","content":"e798ed30"},"/docs/v3.8.1/tutorial03-46a":{"component":"17896441","content":"d4d43266"},"/docs/v3.8.1/ui-61b":{"component":"17896441","content":"bc2d3638"},"/docs/v3.9.0-a83":{"component":"1be78505","versionMetadata":"5c46e75c"},"/docs/v3.9.0/about-ec4":{"component":"17896441","content":"d0594032"},"/docs/v3.9.0/api-e01":{"component":"17896441","content":"5829324a"},"/docs/v3.9.0/bar3d-71b":{"component":"17896441","content":"c77305fc"},"/docs/v3.9.0/changelog-23d":{"component":"17896441","content":"f6b5ca96"},"/docs/v3.9.0/configuration-57c":{"component":"17896441","content":"885ea281"},"/docs/v3.9.0/extra-53d":{"component":"17896441","content":"3b2611af"},"/docs/v3.9.0/faq-1f2":{"component":"17896441","content":"5781ece6"},"/docs/v3.9.0/funnel-483":{"component":"17896441","content":"525276eb"},"/docs/v3.9.0/gantt-745":{"component":"17896441","content":"472c5008"},"/docs/v3.9.0/gauge-80e":{"component":"17896441","content":"a32ea49b"},"/docs/v3.9.0/inputsystem-b02":{"component":"17896441","content":"80b02888"},"/docs/v3.9.0/lang/articles/ui/ui_statistic-12e":{"component":"17896441","content":"a8d6d0df"},"/docs/v3.9.0/lang/articles/ui/ui_table-763":{"component":"17896441","content":"0b3060e8"},"/docs/v3.9.0/liquid-ba4":{"component":"17896441","content":"9c1bb23d"},"/docs/v3.9.0/pictorialbar-75e":{"component":"17896441","content":"01b2c389"},"/docs/v3.9.0/pie3d-539":{"component":"17896441","content":"9b75507c"},"/docs/v3.9.0/pyramid-45d":{"component":"17896441","content":"3bbb0048"},"/docs/v3.9.0/sankey-f61":{"component":"17896441","content":"a118159e"},"/docs/v3.9.0/support-b40":{"component":"17896441","content":"f3703b84"},"/docs/v3.9.0/treemap-1be":{"component":"17896441","content":"82e1f3b6"},"/docs/v3.9.0/tutorial01-ae3":{"component":"17896441","content":"88eff35d"},"/docs/v3.9.0/tutorial02-503":{"component":"17896441","content":"d738818b"},"/docs/v3.9.0/tutorial03-af1":{"component":"17896441","content":"c68b8091"},"/docs/v3.9.0/ui-d37":{"component":"17896441","content":"8dc5c5c4"},"/docs-73d":{"component":"1be78505","versionMetadata":"9abfe212"},"/docs/about-fd3":{"component":"17896441","content":"3a255ca7"},"/docs/api-070":{"component":"17896441","content":"160ef12c"},"/docs/bar3d-0f1":{"component":"17896441","content":"f9676efd"},"/docs/changelog-7e8":{"component":"17896441","content":"c9092f3a"},"/docs/configuration-049":{"component":"17896441","content":"2afe0a8a"},"/docs/extra-ba4":{"component":"17896441","content":"34348c78"},"/docs/faq-556":{"component":"17896441","content":"5d2f6f05"},"/docs/funnel-149":{"component":"17896441","content":"e4b9cb97"},"/docs/gantt-b0f":{"component":"17896441","content":"b5447c11"},"/docs/gauge-b74":{"component":"17896441","content":"f8858d8f"},"/docs/graph-bf2":{"component":"17896441","content":"31476475"},"/docs/inputsystem-34d":{"component":"17896441","content":"7edbe84c"},"/docs/lang/articles/ui/ui_statistic-c49":{"component":"17896441","content":"76261f3e"},"/docs/lang/articles/ui/ui_table-9c4":{"component":"17896441","content":"2ccc5d15"},"/docs/line3d-9f6":{"component":"17896441","content":"45619582"},"/docs/liquid-bb8":{"component":"17896441","content":"8c04f4a8"},"/docs/pictorialbar-3da":{"component":"17896441","content":"9c4c7084"},"/docs/pie3d-9ac":{"component":"17896441","content":"b3c5e4a8"},"/docs/pyramid-963":{"component":"17896441","content":"ccbc8b8d"},"/docs/sankey-b4b":{"component":"17896441","content":"c2d6a9b4"},"/docs/support-7ff":{"component":"17896441","content":"5476afdc"},"/docs/treemap-10e":{"component":"17896441","content":"da3b0d6f"},"/docs/tutorial01-216":{"component":"17896441","content":"91b3e92a"},"/docs/tutorial02-aa1":{"component":"17896441","content":"d2788ed0"},"/docs/tutorial03-27b":{"component":"17896441","content":"310215f2"},"/docs/ui-022":{"component":"17896441","content":"5f66efcf"},"/-e7f":{"component":"758bf183","sidebar":"d0338a12"}}'),u={"0107a9e4":[function(){return n.e(9702).then(n.bind(n,84745))},"@site/versioned_docs/version-v3.7.0/lang/articles/about.md",84745],"01a85c17":[function(){return Promise.all([n.e(532),n.e(4013)]).then(n.bind(n,53607))},"@theme/BlogTagsListPage",53607],"01b2c389":[function(){return Promise.all([n.e(532),n.e(5611)]).then(n.bind(n,67359))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/pictorialbar.md",67359],"01f79f8c":[function(){return Promise.all([n.e(532),n.e(2396)]).then(n.bind(n,13029))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/pictorialbar.md",13029],"062163c2":[function(){return n.e(2562).then(n.bind(n,73010))},"@site/src/pages/help-us-translate.md",73010],"06669c61":[function(){return n.e(8647).then(n.t.bind(n,88927,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-7-0-index-html-309.sidebar.json",88927],"06b3902f":[function(){return n.e(971).then(n.t.bind(n,33768,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-10-2-index-html-17d.sidebar.json",33768],"06d7b024":[function(){return n.e(5391).then(n.bind(n,16198))},"@site/versioned_docs/version-v3.6.0/lang/articles/ui/ui_statistic.md",16198],"07e5f9de":[function(){return n.e(3196).then(n.bind(n,17562))},"@site/versioned_docs/version-v3.6.0/lang/articles/faq.md",17562],"0807d87e":[function(){return n.e(1759).then(n.bind(n,94809))},"@site/versioned_docs/version-v3.10.2/lang/articles/ui/ui_table.md",94809],"0a576633":[function(){return n.e(3859).then(n.bind(n,36152))},"@site/versioned_docs/version-v3.7.0/lang/articles/advanced/tutorial10.md",36152],"0b2baf8d":[function(){return Promise.all([n.e(532),n.e(578)]).then(n.bind(n,44638))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/pyramid.md",44638],"0b3060e8":[function(){return n.e(5551).then(n.bind(n,68720))},"@site/versioned_docs/version-v3.9.0/lang/articles/ui/ui_table.md",68720],"0c751418":[function(){return n.e(9260).then(n.t.bind(n,21900,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-7-0-index-html-309.path.json",21900],"0c883a7d":[function(){return Promise.all([n.e(532),n.e(5833)]).then(n.bind(n,54943))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/pyramid.md",54943],"0ce0cd0c":[function(){return n.e(164).then(n.t.bind(n,3659,19))},"~docs/default/version-v-3-5-0-metadata-prop-272.json",3659],"0e79e7ad":[function(){return n.e(2718).then(n.t.bind(n,31031,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-10-2-index-html-17d.path.json",31031],"0fe29b8b":[function(){return n.e(1522).then(n.t.bind(n,16820,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/v-3-11-2-0e5.version.json",16820],"1107bf75":[function(){return n.e(9416).then(n.bind(n,81474))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/bar3d.md",81474],"12bd9b04":[function(){return Promise.all([n.e(532),n.e(6104)]).then(n.bind(n,31097))},"@site/docs/lang/articles/extra/bar3d.md",31097],"12c9458b":[function(){return n.e(5030).then(n.bind(n,33635))},"@site/versioned_docs/version-v3.7.0/lang/articles/api.md",33635],"13548b0e":[function(){return n.e(2965).then(n.bind(n,17527))},"@site/versioned_docs/version-v3.7.0/lang/articles/ui/ui_table.md",17527],"13cbcf42":[function(){return n.e(891).then(n.bind(n,94338))},"@site/versioned_docs/version-v3.8.1/lang/articles/about.md",94338],"15e36259":[function(){return n.e(5903).then(n.t.bind(n,98536,19))},"~docs/default/version-v-3-8-1-metadata-prop-746.json",98536],"160ef12c":[function(){return n.e(2089).then(n.bind(n,11235))},"@site/versioned_docs/version-v3.12.0/lang/articles/api.md",11235],17896441:[function(){return Promise.all([n.e(532),n.e(7918)]).then(n.bind(n,80705))},"@theme/DocItem",80705],"179d1783":[function(){return Promise.all([n.e(532),n.e(5939)]).then(n.bind(n,56677))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/funnel.md",56677],"1a4e3797":[function(){return Promise.all([n.e(532),n.e(8232),n.e(7920)]).then(n.bind(n,33211))},"@theme/SearchPage",33211],"1a9cc015":[function(){return n.e(3482).then(n.bind(n,42620))},"@site/versioned_docs/version-v3.5.0/lang/articles/extra/pie3d.md",42620],"1b7492fb":[function(){return Promise.all([n.e(532),n.e(3169)]).then(n.bind(n,27907))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/treemap.md",27907],"1be78505":[function(){return Promise.all([n.e(532),n.e(1461),n.e(926),n.e(9514)]).then(n.bind(n,90145))},"@theme/DocPage",90145],"1bf6fa0b":[function(){return n.e(6987).then(n.t.bind(n,48494,19))},"~docs/default/version-v-3-7-0-metadata-prop-579.json",48494],"1cc3cec9":[function(){return n.e(982).then(n.bind(n,25131))},"@site/versioned_docs/version-v3.5.0/lang/articles/support.md",25131],"1d960048":[function(){return n.e(2720).then(n.t.bind(n,13915,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-5-0-index-html-fd8.content.json",13915],"1e7664cb":[function(){return n.e(5307).then(n.t.bind(n,20356,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-12-0-index-html-9a5.toc.json",20356],"1f391b9e":[function(){return Promise.all([n.e(532),n.e(926),n.e(3085)]).then(n.bind(n,1822))},"@theme/MDXPage",1822],"1f416af2":[function(){return n.e(4504).then(n.t.bind(n,26998,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/current-43b.version.json",26998],"237f2966":[function(){return Promise.all([n.e(532),n.e(6173)]).then(n.bind(n,9496))},"@site/docs/lang/articles/extra/treemap.md",9496],"241855ee":[function(){return n.e(4517).then(n.bind(n,9252))},"@site/docs/lang/articles/about.md",9252],"25b591c6":[function(){return n.e(6671).then(n.bind(n,71410))},"@site/versioned_docs/version-v3.5.0/lang/articles/changelog.md",71410],"25c9e43b":[function(){return n.e(1110).then(n.bind(n,25656))},"@site/versioned_docs/version-v3.5.0/lang/articles/tutorial01.md",25656],"26b7391c":[function(){return Promise.all([n.e(532),n.e(4566)]).then(n.bind(n,85797))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/pie3d.md",85797],"274aea74":[function(){return Promise.all([n.e(532),n.e(8021)]).then(n.bind(n,77898))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/line3d.md",77898],"28a07f2a":[function(){return n.e(7431).then(n.t.bind(n,78495,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-9-0-index-html-35f.sidebar.json",78495],"29abe6b0":[function(){return Promise.all([n.e(532),n.e(9643)]).then(n.bind(n,50112))},"@site/docs/lang/articles/extra/graph.md",50112],"2afe0a8a":[function(){return Promise.all([n.e(532),n.e(4871)]).then(n.bind(n,55376))},"@site/versioned_docs/version-v3.12.0/lang/articles/configuration.md",55376],"2ccc5d15":[function(){return n.e(286).then(n.bind(n,49044))},"@site/versioned_docs/version-v3.12.0/lang/articles/ui/ui_table.md",49044],"2ed37b6a":[function(){return n.e(2867).then(n.bind(n,85254))},"@site/versioned_docs/version-v3.7.0/lang/articles/ui/ui.md",85254],"2f00e57f":[function(){return Promise.all([n.e(532),n.e(7537)]).then(n.bind(n,57450))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/gantt.md",57450],"2f375d82":[function(){return n.e(2930).then(n.bind(n,10976))},"@site/versioned_docs/version-v3.6.0/lang/articles/support.md",10976],"305b5d7f":[function(){return n.e(3921).then(n.t.bind(n,1891,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-7-0-index-html-309.content.json",1891],"30896c49":[function(){return n.e(1855).then(n.bind(n,60979))},"@site/versioned_docs/version-v3.11.2/lang/articles/ui/ui_statistic.md",60979],"3093e60d":[function(){return n.e(5976).then(n.bind(n,57496))},"@site/versioned_docs/version-v3.11.2/lang/articles/advanced/tutorial11.md",57496],"310215f2":[function(){return n.e(1288).then(n.bind(n,35144))},"@site/versioned_docs/version-v3.12.0/lang/articles/advanced/tutorial11.md",35144],31476475:[function(){return Promise.all([n.e(532),n.e(8952)]).then(n.bind(n,56267))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/graph.md",56267],"316bdc3e":[function(){return n.e(8657).then(n.bind(n,21218))},"@site/versioned_docs/version-v3.10.2/lang/articles/advanced/tutorial10.md",21218],"33375e22":[function(){return n.e(6447).then(n.bind(n,57452))},"@site/versioned_docs/version-v3.11.2/lang/articles/changelog.md",57452],"3375c64a":[function(){return Promise.all([n.e(532),n.e(4172)]).then(n.bind(n,20423))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/liquid.md",20423],"33d21e66":[function(){return n.e(555).then(n.bind(n,81492))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/extra.md",81492],"34348c78":[function(){return n.e(3058).then(n.bind(n,83069))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/extra.md",83069],"34d09112":[function(){return n.e(2945).then(n.t.bind(n,74518,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-8-1-index-html-adc.toc.json",74518],"35cbd37a":[function(){return n.e(8177).then(n.bind(n,51800))},"@site/versioned_docs/version-v3.7.0/lang/articles/support.md",51800],"36b7cc20":[function(){return n.e(6739).then(n.bind(n,82774))},"@site/versioned_docs/version-v3.10.2/lang/articles/api.md",82774],37093706:[function(){return n.e(8672).then(n.t.bind(n,22940,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-7-0-index-html-309.toc.json",22940],"37b35207":[function(){return n.e(1138).then(n.bind(n,42934))},"@site/versioned_docs/version-v3.8.1/lang/articles/advanced/tutorial12_inputsystem.md",42934],"397c45a2":[function(){return n.e(9748).then(n.t.bind(n,23574,19))},"~blog/default/blog-tags-\u65b0\u7248\u672c-3e7.json",23574],"399acd3b":[function(){return Promise.all([n.e(532),n.e(2581)]).then(n.bind(n,86357))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/sankey.md",86357],"39f00e4b":[function(){return n.e(2171).then(n.bind(n,98799))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/gantt.md",98799],"3a255ca7":[function(){return n.e(5707).then(n.bind(n,28132))},"@site/versioned_docs/version-v3.12.0/lang/articles/about.md",28132],"3b2611af":[function(){return n.e(5396).then(n.bind(n,42800))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/extra.md",42800],"3bbb0048":[function(){return Promise.all([n.e(532),n.e(122)]).then(n.bind(n,75398))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/pyramid.md",75398],"3e90d8e2":[function(){return n.e(4739).then(n.t.bind(n,40633,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-8-1-index-html-adc.title.json",40633],"3fed8774":[function(){return n.e(2895).then(n.bind(n,33937))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/pyramid.md",33937],"3ffa4b16":[function(){return Promise.all([n.e(532),n.e(5812)]).then(n.bind(n,31118))},"@site/versioned_docs/version-v3.10.2/lang/articles/configuration.md",31118],40247295:[function(){return Promise.all([n.e(532),n.e(2102)]).then(n.bind(n,72005))},"@site/docs/lang/articles/configuration.md",72005],"4275b1b4":[function(){return n.e(1646).then(n.t.bind(n,24382,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-master-index-html-410.title.json",24382],"429c4dc1":[function(){return n.e(1463).then(n.t.bind(n,79883,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/v-3-7-0-c61.version.json",79883],45619582:[function(){return Promise.all([n.e(532),n.e(4235)]).then(n.bind(n,12690))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/line3d.md",12690],"463bdb2b":[function(){return n.e(5883).then(n.t.bind(n,19890,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-12-0-index-html-9a5.title.json",19890],47137878:[function(){return n.e(34).then(n.t.bind(n,92227,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/v-3-5-0-215.version.json",92227],"472c5008":[function(){return Promise.all([n.e(532),n.e(1997)]).then(n.bind(n,64742))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/gantt.md",64742],"47e22724":[function(){return Promise.all([n.e(532),n.e(4059)]).then(n.bind(n,73128))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/pictorialbar.md",73128],"4a367eab":[function(){return Promise.all([n.e(532),n.e(5025)]).then(n.bind(n,42007))},"@site/src/pages/examples/index.js",42007],"4b62531f":[function(){return n.e(1198).then(n.t.bind(n,10224,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-12-0-index-html-9a5.content.json",10224],"4b628775":[function(){return n.e(7042).then(n.bind(n,64632))},"@site/versioned_docs/version-v3.11.2/lang/articles/advanced/tutorial12_inputsystem.md",64632],"4c36f7cd":[function(){return n.e(7929).then(n.bind(n,26046))},"@site/versioned_docs/version-v3.5.0/lang/articles/extra/funnel.md",26046],"4c69d450":[function(){return Promise.all([n.e(532),n.e(9489)]).then(n.bind(n,80868))},"@site/docs/lang/articles/extra/pie3d.md",80868],"4d6bfb64":[function(){return n.e(3314).then(n.bind(n,96665))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/treemap.md",96665],"4dfb9136":[function(){return n.e(376).then(n.bind(n,90561))},"@site/docs/lang/articles/changelog.md",90561],"4e6e83f6":[function(){return Promise.all([n.e(532),n.e(4505)]).then(n.bind(n,44497))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/treemap.md",44497],"4e7c458f":[function(){return Promise.all([n.e(532),n.e(8676)]).then(n.bind(n,28740))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/pie3d.md",28740],"4fcb4d83":[function(){return n.e(8311).then(n.t.bind(n,97159,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-6-0-index-html-9d2.toc.json",97159],"50572ff0":[function(){return n.e(4477).then(n.bind(n,18025))},"@site/docs/lang/articles/ui/ui.md",18025],"50dabb5d":[function(){return n.e(8821).then(n.bind(n,59612))},"@site/docs/lang/articles/extra/extra.md",59612],"510d4385":[function(){return n.e(7852).then(n.bind(n,49196))},"@site/versioned_docs/version-v3.5.0/lang/articles/advanced/tutorial02.md",49196],"525276eb":[function(){return Promise.all([n.e(532),n.e(9756)]).then(n.bind(n,71803))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/funnel.md",71803],"52baeca4":[function(){return Promise.all([n.e(532),n.e(5987)]).then(n.bind(n,64268))},"@site/src/pages/user-stories/index.tsx",64268],"53424fa2":[function(){return n.e(1389).then(n.bind(n,83893))},"@site/versioned_docs/version-v3.11.2/lang/articles/about.md",83893],"5476afdc":[function(){return n.e(4404).then(n.bind(n,48041))},"@site/versioned_docs/version-v3.12.0/lang/articles/support.md",48041],"54b4ef9f":[function(){return n.e(2343).then(n.bind(n,58331))},"@site/versioned_docs/version-v3.5.0/lang/articles/configuration.md",58331],"5564a3b7":[function(){return n.e(8035).then(n.t.bind(n,66349,19))},"~blog/newsletter/newsletter-archive-7cc.json",66349],"556925f6":[function(){return n.e(6033).then(n.t.bind(n,63257,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-5-0-index-html-fd8.path.json",63257],"56f0943a":[function(){return n.e(400).then(n.bind(n,26151))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/extra.md",26151],"5781ece6":[function(){return n.e(7646).then(n.bind(n,11640))},"@site/versioned_docs/version-v3.9.0/lang/articles/faq.md",11640],"57a11582":[function(){return n.e(9825).then(n.bind(n,11452))},"@site/versioned_docs/version-v3.10.2/lang/articles/ui/ui_statistic.md",11452],58028877:[function(){return n.e(8554).then(n.bind(n,54331))},"@site/blog/zh-Hans/2022/06/xcharts3.0_released.md?truncated=true",54331],"5829324a":[function(){return n.e(6270).then(n.bind(n,1638))},"@site/versioned_docs/version-v3.9.0/lang/articles/api.md",1638],"5ac1295d":[function(){return n.e(3251).then(n.t.bind(n,77599,19))},"~docs/default/version-v-3-11-2-metadata-prop-130.json",77599],"5c46e75c":[function(){return n.e(7789).then(n.t.bind(n,91194,19))},"~docs/default/version-v-3-9-0-metadata-prop-0ee.json",91194],"5ca33a59":[function(){return n.e(3590).then(n.t.bind(n,9959,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-6-0-index-html-9d2.title.json",9959],"5d2f6f05":[function(){return n.e(4406).then(n.bind(n,93711))},"@site/versioned_docs/version-v3.12.0/lang/articles/faq.md",93711],"5e9f5e1a":[function(){return Promise.resolve().then(n.bind(n,99782))},"@generated/docusaurus.config",99782],"5f33186c":[function(){return n.e(6794).then(n.t.bind(n,6946,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-9-0-index-html-35f.title.json",6946],"5f66efcf":[function(){return n.e(2727).then(n.bind(n,65656))},"@site/versioned_docs/version-v3.12.0/lang/articles/ui/ui.md",65656],"60a5cd7b":[function(){return n.e(4639).then(n.t.bind(n,24926,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-master-index-html-410.toc.json",24926],"60e5d4c0":[function(){return n.e(8995).then(n.bind(n,93819))},"@site/versioned_docs/version-v3.11.2/lang/articles/ui/ui.md",93819],"635b1501":[function(){return n.e(1439).then(n.bind(n,40075))},"@site/versioned_docs/version-v3.5.0/lang/articles/extra/liquid.md",40075],64570554:[function(){return Promise.all([n.e(532),n.e(1013)]).then(n.bind(n,81634))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/funnel.md",81634],"65cfe503":[function(){return Promise.all([n.e(532),n.e(4610)]).then(n.bind(n,13072))},"@site/versioned_docs/version-v3.11.2/lang/articles/configuration.md",13072],"671093e8":[function(){return n.e(2699).then(n.t.bind(n,20418,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-7-0-index-html-309.title.json",20418],"6875c492":[function(){return Promise.all([n.e(532),n.e(1461),n.e(926),n.e(8610)]).then(n.bind(n,4481))},"@theme/BlogTagsPostsPage",4481],"69736b62":[function(){return Promise.all([n.e(532),n.e(5713)]).then(n.bind(n,98896))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/sankey.md",98896],"6977494c":[function(){return Promise.all([n.e(532),n.e(1461),n.e(2121)]).then(n.bind(n,31634))},"@site/src/components/DocPage/index.tsx",31634],"6979be4b":[function(){return n.e(4175).then(n.bind(n,43342))},"@site/versioned_docs/version-v3.8.1/lang/articles/ui/ui_statistic.md",43342],"6b5a19b3":[function(){return n.e(5646).then(n.bind(n,23501))},"@site/versioned_docs/version-v3.5.0/lang/articles/advanced/tutorial03.md",23501],"6c82b5e0":[function(){return n.e(5145).then(n.bind(n,49719))},"@site/blog/zh-Hans/2022/06/xcharts3.0_released.md",49719],"6cf2b940":[function(){return n.e(5717).then(n.t.bind(n,50253,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-8-1-index-html-adc.content.json",50253],"6e9edefd":[function(){return Promise.all([n.e(532),n.e(9319)]).then(n.bind(n,98892))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/pictorialbar.md",98892],"6f928cfb":[function(){return n.e(7309).then(n.t.bind(n,19079,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-9-0-index-html-35f.path.json",19079],"717f403f":[function(){return n.e(6093).then(n.t.bind(n,57746,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-12-0-index-html-9a5.path.json",57746],"7187f4a4":[function(){return n.e(6754).then(n.bind(n,62704))},"@site/versioned_docs/version-v3.11.2/lang/articles/advanced/tutorial10.md",62704],"73754ea4":[function(){return n.e(306).then(n.t.bind(n,54461,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-11-2-index-html-851.title.json",54461],"75662a14":[function(){return n.e(1189).then(n.bind(n,55960))},"@site/docs/lang/articles/advanced/tutorial11.md",55960],"758bf183":[function(){return Promise.all([n.e(532),n.e(2399)]).then(n.bind(n,23548))},"@site/src/components/LandingPage/index.tsx",23548],"75da09e2":[function(){return n.e(9372).then(n.t.bind(n,60206,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/v-3-6-0-c36.version.json",60206],"76261f3e":[function(){return n.e(8026).then(n.bind(n,4365))},"@site/versioned_docs/version-v3.12.0/lang/articles/ui/ui_statistic.md",4365],"775489ce":[function(){return n.e(6741).then(n.bind(n,12938))},"@site/versioned_docs/version-v3.10.2/lang/articles/tutorial01.md",12938],"78b2a8f7":[function(){return Promise.all([n.e(532),n.e(2606)]).then(n.bind(n,15143))},"@site/docs/lang/articles/extra/sankey.md",15143],"795362f1":[function(){return n.e(2198).then(n.bind(n,79315))},"@site/versioned_docs/version-v3.6.0/lang/articles/configuration.md",79315],"7c66270b":[function(){return n.e(2903).then(n.bind(n,50489))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/liquid.md",50489],"7e965016":[function(){return n.e(6262).then(n.bind(n,69365))},"@site/versioned_docs/version-v3.6.0/lang/articles/tutorial01.md",69365],"7edbe84c":[function(){return n.e(9723).then(n.bind(n,29101))},"@site/versioned_docs/version-v3.12.0/lang/articles/advanced/tutorial12_inputsystem.md",29101],"7f86b971":[function(){return n.e(5403).then(n.bind(n,1273))},"@site/docs/lang/articles/advanced/tutorial10.md",1273],"7fc30b75":[function(){return n.e(8741).then(n.bind(n,69409))},"@site/versioned_docs/version-v3.11.2/lang/articles/api.md",69409],"80b02888":[function(){return n.e(8190).then(n.bind(n,76444))},"@site/versioned_docs/version-v3.9.0/lang/articles/advanced/tutorial12_inputsystem.md",76444],"80c593df":[function(){return n.e(5715).then(n.bind(n,93333))},"@site/versioned_docs/version-v3.8.1/lang/articles/changelog.md",93333],"814f3328":[function(){return n.e(2535).then(n.t.bind(n,45641,19))},"~blog/default/blog-post-list-prop-default.json",45641],"81de59db":[function(){return n.e(2350).then(n.bind(n,65397))},"@site/versioned_docs/version-v3.7.0/lang/articles/advanced/tutorial11.md",65397],"8272fa28":[function(){return n.e(4120).then(n.bind(n,57870))},"@site/versioned_docs/version-v3.10.2/lang/articles/ui/ui.md",57870],"82e1f3b6":[function(){return Promise.all([n.e(532),n.e(8685)]).then(n.bind(n,31573))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/treemap.md",31573],84995476:[function(){return Promise.all([n.e(532),n.e(1464)]).then(n.bind(n,6991))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/bar3d.md",6991],"853d6eef":[function(){return n.e(5189).then(n.bind(n,13183))},"@site/versioned_docs/version-v3.6.0/lang/articles/about.md",13183],"85cde48e":[function(){return n.e(2518).then(n.t.bind(n,93913,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-10-2-index-html-17d.title.json",93913],"86e87435":[function(){return n.e(7463).then(n.t.bind(n,64272,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-12-0-index-html-9a5.sidebar.json",64272],"8745b4bf":[function(){return Promise.all([n.e(532),n.e(9504)]).then(n.bind(n,59932))},"@site/docs/lang/articles/extra/liquid.md",59932],"885ea281":[function(){return Promise.all([n.e(532),n.e(756)]).then(n.bind(n,29791))},"@site/versioned_docs/version-v3.9.0/lang/articles/configuration.md",29791],"88eff35d":[function(){return n.e(8893).then(n.bind(n,61101))},"@site/versioned_docs/version-v3.9.0/lang/articles/tutorial01.md",61101],"88fb3acf":[function(){return Promise.all([n.e(532),n.e(2028)]).then(n.bind(n,39867))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/gantt.md",39867],"8938475a":[function(){return n.e(7201).then(n.t.bind(n,36112,19))},"~blog/default/blog-tags-x-charts-4ed.json",36112],"8c04f4a8":[function(){return Promise.all([n.e(532),n.e(5157)]).then(n.bind(n,47259))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/liquid.md",47259],"8d9e9f31":[function(){return n.e(918).then(n.t.bind(n,70185,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/v-3-8-1-5f5.version.json",70185],"8dc5c5c4":[function(){return n.e(8370).then(n.bind(n,1692))},"@site/versioned_docs/version-v3.9.0/lang/articles/ui/ui.md",1692],"8eddbe9d":[function(){return n.e(8853).then(n.t.bind(n,35396,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-8-1-index-html-adc.path.json",35396],"8f6e2a4a":[function(){return n.e(4760).then(n.bind(n,10334))},"@site/versioned_docs/version-v3.8.1/lang/articles/api.md",10334],"90628bba":[function(){return Promise.all([n.e(532),n.e(5910)]).then(n.bind(n,25242))},"@site/docs/lang/articles/extra/pyramid.md",25242],"90faf82c":[function(){return Promise.all([n.e(532),n.e(8157)]).then(n.bind(n,99060))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/pie3d.md",99060],"9128a4a4":[function(){return n.e(7456).then(n.bind(n,85665))},"@site/newsletter/zh-Hans/2022/12/newsletter12.md?truncated=true",85665],"91629bdd":[function(){return n.e(4331).then(n.bind(n,5340))},"@site/versioned_docs/version-v3.7.0/lang/articles/faq.md",5340],"91a1c8ba":[function(){return Promise.all([n.e(532),n.e(1461),n.e(3510),n.e(6441)]).then(n.bind(n,63390))},"@site/src/components/Autoapi/index.js",63390],"91b3e92a":[function(){return n.e(2872).then(n.bind(n,98391))},"@site/versioned_docs/version-v3.12.0/lang/articles/tutorial01.md",98391],"926f1670":[function(){return n.e(3392).then(n.bind(n,8594))},"@site/versioned_docs/version-v3.10.2/lang/articles/advanced/tutorial11.md",8594],"92a26795":[function(){return n.e(1167).then(n.bind(n,83518))},"@site/versioned_docs/version-v3.8.1/lang/articles/support.md",83518],"935f2afb":[function(){return n.e(53).then(n.t.bind(n,1109,19))},"~docs/default/version-current-metadata-prop-751.json",1109],"93c5d417":[function(){return n.e(9811).then(n.bind(n,82209))},"@site/newsletter/zh-Hans/2022/12/newsletter12.md",82209],"957623b6":[function(){return n.e(6323).then(n.bind(n,68957))},"@site/docs/lang/articles/advanced/tutorial12_inputsystem.md",68957],"9731ed60":[function(){return n.e(2471).then(n.bind(n,6710))},"@site/src/pages/contact-us.md",6710],"97524ec3":[function(){return n.e(5051).then(n.bind(n,57567))},"@site/docs/lang/articles/tutorial01.md",57567],"977aef28":[function(){return Promise.all([n.e(532),n.e(4185)]).then(n.bind(n,99567))},"@site/docs/lang/articles/extra/gauge.md",99567],"97c29f4a":[function(){return n.e(8169).then(n.t.bind(n,64970,19))},"~blog/newsletter/blog-post-list-prop-newsletter.json",64970],"9875289a":[function(){return n.e(776).then(n.bind(n,95302))},"@site/versioned_docs/version-v3.10.2/lang/articles/changelog.md",95302],"989109fe":[function(){return n.e(6338).then(n.bind(n,90371))},"@site/versioned_docs/version-v3.5.0/lang/articles/extra/pyramid.md",90371],"9a6c8fee":[function(){return n.e(5354).then(n.bind(n,50792))},"@site/src/pages/acknowledgments.md",50792],"9abfe212":[function(){return n.e(9578).then(n.t.bind(n,53709,19))},"~docs/default/version-v-3-12-0-metadata-prop-117.json",53709],"9b75507c":[function(){return Promise.all([n.e(532),n.e(7913)]).then(n.bind(n,1230))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/pie3d.md",1230],"9bb822d1":[function(){return Promise.all([n.e(532),n.e(3222)]).then(n.bind(n,29508))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/pyramid.md",29508],"9bcf082a":[function(){return n.e(9120).then(n.bind(n,88716))},"@site/versioned_docs/version-v3.11.2/lang/articles/support.md",88716],"9c0314cd":[function(){return Promise.all([n.e(532),n.e(7241)]).then(n.bind(n,45338))},"@site/docs/lang/articles/extra/line3d.md",45338],"9c1bb23d":[function(){return Promise.all([n.e(532),n.e(6581)]).then(n.bind(n,90813))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/liquid.md",90813],"9c4c7084":[function(){return Promise.all([n.e(532),n.e(2786)]).then(n.bind(n,34643))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/pictorialbar.md",34643],"9c86b1c3":[function(){return Promise.all([n.e(532),n.e(3390)]).then(n.bind(n,44011))},"@site/docs/lang/articles/extra/pictorialbar.md",44011],"9cb9472a":[function(){return Promise.all([n.e(532),n.e(5209)]).then(n.bind(n,72144))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/pictorialbar.md",72144],"9d4880e7":[function(){return n.e(4465).then(n.bind(n,66896))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/pictorialbar.md",66896],"9e4087bc":[function(){return n.e(3608).then(n.bind(n,63012))},"@theme/BlogArchivePage",63012],"9e8d335c":[function(){return n.e(3908).then(n.bind(n,93106))},"@site/docs/lang/articles/faq.md",93106],a031f49a:[function(){return n.e(2062).then(n.bind(n,3408))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/extra.md",3408],a0438807:[function(){return n.e(1217).then(n.bind(n,67232))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/pie3d.md",67232],a118159e:[function(){return Promise.all([n.e(532),n.e(8051)]).then(n.bind(n,35135))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/sankey.md",35135],a32ea49b:[function(){return Promise.all([n.e(532),n.e(6103)]).then(n.bind(n,6133))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/gauge.md",6133],a5bce4c8:[function(){return Promise.all([n.e(532),n.e(1140)]).then(n.bind(n,16801))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/funnel.md",16801],a6aa9e1f:[function(){return Promise.all([n.e(532),n.e(1461),n.e(926),n.e(3089)]).then(n.bind(n,85819))},"@theme/BlogListPage",85819],a7023ddc:[function(){return n.e(1713).then(n.t.bind(n,53457,19))},"~blog/default/blog-tags-tags-4c2.json",53457],a76029b2:[function(){return Promise.all([n.e(532),n.e(1242)]).then(n.bind(n,97950))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/pyramid.md",97950],a80a8174:[function(){return n.e(7543).then(n.bind(n,51166))},"@site/versioned_docs/version-v3.8.1/lang/articles/faq.md",51166],a8d6d0df:[function(){return n.e(459).then(n.bind(n,17883))},"@site/versioned_docs/version-v3.9.0/lang/articles/ui/ui_statistic.md",17883],aa9d8acd:[function(){return n.e(8824).then(n.bind(n,66744))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/extra.md",66744],ab83aed5:[function(){return n.e(844).then(n.bind(n,63800))},"@site/versioned_docs/version-v3.10.2/lang/articles/advanced/tutorial12_inputsystem.md",63800],ad3ca912:[function(){return Promise.all([n.e(532),n.e(1782)]).then(n.bind(n,14089))},"@site/versioned_docs/version-v3.7.0/lang/articles/configuration.md",14089],aecb7363:[function(){return n.e(3293).then(n.bind(n,4257))},"@site/docs/lang/articles/ui/ui_statistic.md",4257],af87715e:[function(){return n.e(6045).then(n.t.bind(n,35051,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-9-0-index-html-35f.toc.json",35051],af993462:[function(){return n.e(5027).then(n.bind(n,29526))},"@site/versioned_docs/version-v3.10.2/lang/articles/support.md",29526],aff05561:[function(){return Promise.all([n.e(532),n.e(778)]).then(n.bind(n,57738))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/bar3d.md",57738],aff6dcac:[function(){return n.e(7835).then(n.bind(n,19740))},"@site/docs/lang/articles/ui/ui_table.md",19740],b0957ed4:[function(){return Promise.all([n.e(532),n.e(7515)]).then(n.bind(n,53050))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/gantt.md",53050],b0db3eed:[function(){return n.e(9226).then(n.bind(n,73539))},"@site/versioned_docs/version-v3.6.0/lang/articles/ui/ui_table.md",73539],b0f5cc57:[function(){return n.e(5643).then(n.bind(n,22383))},"@site/versioned_docs/version-v3.6.0/lang/articles/advanced/tutorial12_inputsystem.md",22383],b15063cb:[function(){return n.e(2515).then(n.bind(n,43214))},"@site/versioned_docs/version-v3.7.0/lang/articles/tutorial01.md",43214],b1f38343:[function(){return Promise.all([n.e(532),n.e(6282)]).then(n.bind(n,70504))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/graph.md",70504],b2b675dd:[function(){return n.e(533).then(n.t.bind(n,28017,19))},"~blog/default/blog-c06.json",28017],b2f554cd:[function(){return n.e(1477).then(n.t.bind(n,30010,19))},"~blog/default/blog-archive-80c.json",30010],b2fdb119:[function(){return n.e(5712).then(n.t.bind(n,22721,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/v-3-9-0-5e3.version.json",22721],b37fd7e5:[function(){return n.e(2209).then(n.bind(n,75273))},"@site/docs/lang/articles/api.md",75273],b3c5e4a8:[function(){return Promise.all([n.e(532),n.e(1772)]).then(n.bind(n,83975))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/pie3d.md",83975],b4676ab6:[function(){return Promise.all([n.e(532),n.e(3132)]).then(n.bind(n,27667))},"@site/docs/lang/articles/extra/gantt.md",27667],b4962e4d:[function(){return n.e(8780).then(n.t.bind(n,90356,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-11-2-index-html-851.toc.json",90356],b5003c20:[function(){return n.e(9539).then(n.t.bind(n,19684,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-master-index-html-410.path.json",19684],b5447c11:[function(){return Promise.all([n.e(532),n.e(7529)]).then(n.bind(n,80675))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/gantt.md",80675],b55bea4d:[function(){return n.e(1804).then(n.bind(n,636))},"@site/versioned_docs/version-v3.5.0/lang/articles/extra/treemap.md",636],b85074aa:[function(){return n.e(7745).then(n.t.bind(n,66023,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/v-3-12-0-d39.version.json",66023],b87d287e:[function(){return n.e(3642).then(n.bind(n,6911))},"@site/docs/lang/articles/support.md",6911],b8e8b238:[function(){return Promise.all([n.e(532),n.e(4647)]).then(n.bind(n,46149))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/funnel.md",46149],ba658ce7:[function(){return n.e(3957).then(n.bind(n,65628))},"@site/versioned_docs/version-v3.5.0/lang/articles/extra/pictorialbar.md",65628],bad064f5:[function(){return n.e(2335).then(n.t.bind(n,78086,19))},"~blog/newsletter/newsletter-8a9.json",78086],bc2d3638:[function(){return n.e(1625).then(n.bind(n,4216))},"@site/versioned_docs/version-v3.8.1/lang/articles/ui/ui.md",4216],bc69d3a5:[function(){return Promise.all([n.e(532),n.e(6950)]).then(n.bind(n,79261))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/bar3d.md",79261],bee5bae5:[function(){return n.e(5223).then(n.bind(n,47938))},"@site/versioned_docs/version-v3.5.0/lang/articles/about.md",47938],bfdfd19f:[function(){return n.e(9406).then(n.t.bind(n,73883,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-11-2-index-html-851.path.json",73883],c0182217:[function(){return n.e(8416).then(n.bind(n,96741))},"@site/versioned_docs/version-v3.6.0/lang/articles/ui/ui.md",96741],c0c5927d:[function(){return Promise.all([n.e(532),n.e(8602)]).then(n.bind(n,61026))},"@site/versioned_docs/version-v3.8.1/lang/articles/configuration.md",61026],c2d6a9b4:[function(){return Promise.all([n.e(532),n.e(6563)]).then(n.bind(n,27923))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/sankey.md",27923],c68b8091:[function(){return n.e(6281).then(n.bind(n,78357))},"@site/versioned_docs/version-v3.9.0/lang/articles/advanced/tutorial11.md",78357],c77305fc:[function(){return Promise.all([n.e(532),n.e(9056)]).then(n.bind(n,5685))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/bar3d.md",5685],c8d6b1e1:[function(){return Promise.all([n.e(532),n.e(1769)]).then(n.bind(n,32948))},"@site/docs/lang/articles/extra/funnel.md",32948],c9092f3a:[function(){return n.e(6099).then(n.bind(n,5074))},"@site/versioned_docs/version-v3.12.0/lang/articles/changelog.md",5074],c9ff6b20:[function(){return n.e(5528).then(n.bind(n,74449))},"@site/versioned_docs/version-v3.10.2/lang/articles/about.md",74449],cad8270c:[function(){return Promise.all([n.e(532),n.e(5594)]).then(n.bind(n,64690))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/gauge.md",64690],cbdd9883:[function(){return Promise.all([n.e(532),n.e(4754)]).then(n.bind(n,21729))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/pie3d.md",21729],ccbc8b8d:[function(){return Promise.all([n.e(532),n.e(3491)]).then(n.bind(n,76878))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/pyramid.md",76878],ccc49370:[function(){return Promise.all([n.e(532),n.e(926),n.e(1080)]).then(n.bind(n,54338))},"@theme/BlogPostPage",54338],ccdc331a:[function(){return n.e(9958).then(n.bind(n,52141))},"@site/versioned_docs/version-v3.6.0/lang/articles/api.md",52141],cdcd2ab4:[function(){return n.e(8888).then(n.bind(n,80475))},"@site/versioned_docs/version-v3.7.0/lang/articles/changelog.md",80475],cdf592f9:[function(){return n.e(5937).then(n.t.bind(n,69319,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-6-0-index-html-9d2.path.json",69319],ce421672:[function(){return n.e(1956).then(n.bind(n,86496))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/gauge.md",86496],cf87da48:[function(){return n.e(2187).then(n.bind(n,18649))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/extra.md",18649],cfbb06ca:[function(){return n.e(4118).then(n.bind(n,66226))},"@site/versioned_docs/version-v3.5.0/lang/articles/extra/bar3d.md",66226],d0338a12:[function(){return n.e(9354).then(n.t.bind(n,73280,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/docusaurus-plugin-content-docs/default/index-page-f47.sidebar.json",73280],d0594032:[function(){return n.e(5644).then(n.bind(n,94289))},"@site/versioned_docs/version-v3.9.0/lang/articles/about.md",94289],d074df72:[function(){return Promise.all([n.e(532),n.e(6595)]).then(n.bind(n,78570))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/gauge.md",78570],d0ac207d:[function(){return n.e(8393).then(n.bind(n,77691))},"@site/versioned_docs/version-v3.5.0/lang/articles/extra/gantt.md",77691],d1258d46:[function(){return n.e(207).then(n.bind(n,93123))},"@site/versioned_docs/version-v3.7.0/lang/articles/advanced/tutorial12_inputsystem.md",93123],d2788ed0:[function(){return n.e(1568).then(n.bind(n,64240))},"@site/versioned_docs/version-v3.12.0/lang/articles/advanced/tutorial10.md",64240],d433dfcf:[function(){return n.e(6291).then(n.t.bind(n,8164,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/v-3-10-2-de5.version.json",8164],d4d43266:[function(){return n.e(7605).then(n.bind(n,26286))},"@site/versioned_docs/version-v3.8.1/lang/articles/advanced/tutorial11.md",26286],d56e6f60:[function(){return n.e(5804).then(n.bind(n,43975))},"@site/versioned_docs/version-v3.5.0/lang/articles/api.md",43975],d661796d:[function(){return n.e(7269).then(n.bind(n,59901))},"@site/versioned_docs/version-v3.11.2/lang/articles/tutorial01.md",59901],d6e23382:[function(){return n.e(370).then(n.t.bind(n,87445,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-master-index-html-410.content.json",87445],d738818b:[function(){return n.e(6463).then(n.bind(n,69241))},"@site/versioned_docs/version-v3.9.0/lang/articles/advanced/tutorial10.md",69241],d7623852:[function(){return Promise.all([n.e(532),n.e(9645)]).then(n.bind(n,97781))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/liquid.md",97781],d90bda9a:[function(){return n.e(9847).then(n.bind(n,15296))},"@site/versioned_docs/version-v3.6.0/lang/articles/changelog.md",15296],d972a4f7:[function(){return Promise.all([n.e(532),n.e(1592)]).then(n.bind(n,96605))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/gantt.md",96605],da3b0d6f:[function(){return Promise.all([n.e(532),n.e(7847)]).then(n.bind(n,68187))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/treemap.md",68187],da3e4625:[function(){return n.e(126).then(n.bind(n,60859))},"@site/versioned_docs/version-v3.8.1/lang/articles/ui/ui_table.md",60859],db8591c4:[function(){return n.e(2841).then(n.bind(n,10504))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/funnel.md",10504],dc295080:[function(){return n.e(6928).then(n.t.bind(n,44217,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-5-0-index-html-fd8.toc.json",44217],dda2dc85:[function(){return Promise.all([n.e(532),n.e(3309)]).then(n.bind(n,33483))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/bar3d.md",33483],de6d5860:[function(){return Promise.all([n.e(532),n.e(5829)]).then(n.bind(n,17345))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/gauge.md",17345],dfc50f4d:[function(){return Promise.all([n.e(532),n.e(7704)]).then(n.bind(n,50634))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/treemap.md",50634],e218c249:[function(){return n.e(9880).then(n.t.bind(n,55351,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-10-2-index-html-17d.toc.json",55351],e4892bae:[function(){return Promise.all([n.e(532),n.e(1523)]).then(n.bind(n,23523))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/gauge.md",23523],e4b9cb97:[function(){return Promise.all([n.e(532),n.e(9454)]).then(n.bind(n,48320))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/funnel.md",48320],e4ec0983:[function(){return n.e(4921).then(n.t.bind(n,42816,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-master-index-html-410.sidebar.json",42816],e512dd15:[function(){return Promise.all([n.e(532),n.e(5222)]).then(n.bind(n,69880))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/treemap.md",69880],e798ed30:[function(){return n.e(139).then(n.bind(n,16743))},"@site/versioned_docs/version-v3.8.1/lang/articles/advanced/tutorial10.md",16743],e7aa5905:[function(){return n.e(9936).then(n.bind(n,47915))},"@site/versioned_docs/version-v3.5.0/lang/articles/extra/gauge.md",47915],e7b22fe0:[function(){return n.e(6996).then(n.bind(n,39480))},"@site/src/pages/community.md",39480],e7fae69c:[function(){return n.e(3241).then(n.bind(n,3094))},"@site/versioned_docs/version-v3.7.0/lang/articles/ui/ui_statistic.md",3094],e897118b:[function(){return n.e(9665).then(n.bind(n,80958))},"@site/versioned_docs/version-v3.6.0/lang/articles/advanced/tutorial10.md",80958],e913dccc:[function(){return n.e(5419).then(n.t.bind(n,28181,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-5-0-index-html-fd8.title.json",28181],ea94ad11:[function(){return n.e(2361).then(n.t.bind(n,97582,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-9-0-index-html-35f.content.json",97582],ecc5a1b0:[function(){return n.e(7401).then(n.t.bind(n,19991,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-5-0-index-html-fd8.sidebar.json",19991],ed6c4718:[function(){return n.e(9241).then(n.bind(n,53770))},"@site/versioned_docs/version-v3.11.2/lang/articles/faq.md",53770],edff5018:[function(){return n.e(8987).then(n.t.bind(n,58935,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-6-0-index-html-9d2.content.json",58935],f018e9c8:[function(){return n.e(6039).then(n.bind(n,24491))},"@site/versioned_docs/version-v3.5.0/lang/articles/faq.md",24491],f0fffb88:[function(){return n.e(1892).then(n.bind(n,85394))},"@site/versioned_docs/version-v3.8.1/lang/articles/tutorial01.md",85394],f14aef11:[function(){return Promise.all([n.e(532),n.e(4148)]).then(n.bind(n,9580))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/liquid.md",9580],f16045ef:[function(){return n.e(8358).then(n.t.bind(n,89280,19))},"~docs/default/version-v-3-10-2-metadata-prop-251.json",89280],f1b9a032:[function(){return n.e(5486).then(n.t.bind(n,70159,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-10-2-index-html-17d.content.json",70159],f1be0c77:[function(){return Promise.all([n.e(532),n.e(2177)]).then(n.bind(n,5903))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/liquid.md",5903],f345d982:[function(){return n.e(1723).then(n.bind(n,4846))},"@site/versioned_docs/version-v3.10.2/lang/articles/faq.md",4846],f3703b84:[function(){return n.e(8143).then(n.bind(n,92972))},"@site/versioned_docs/version-v3.9.0/lang/articles/support.md",92972],f5cc76a7:[function(){return n.e(8666).then(n.bind(n,21779))},"@site/versioned_docs/version-v3.11.2/lang/articles/ui/ui_table.md",21779],f6b55758:[function(){return n.e(3764).then(n.t.bind(n,86167,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-11-2-index-html-851.sidebar.json",86167],f6b5ca96:[function(){return n.e(3967).then(n.bind(n,7433))},"@site/versioned_docs/version-v3.9.0/lang/articles/changelog.md",7433],f70958ec:[function(){return n.e(2560).then(n.t.bind(n,55827,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-8-1-index-html-adc.sidebar.json",55827],f8858d8f:[function(){return Promise.all([n.e(532),n.e(7679)]).then(n.bind(n,99962))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/gauge.md",99962],f9676efd:[function(){return Promise.all([n.e(532),n.e(3440)]).then(n.bind(n,99302))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/bar3d.md",99302],fbb33262:[function(){return n.e(6407).then(n.bind(n,27987))},"@site/versioned_docs/version-v3.6.0/lang/articles/advanced/tutorial11.md",27987],fc7855f2:[function(){return n.e(4661).then(n.t.bind(n,92714,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-11-2-index-html-851.content.json",92714],fcb13733:[function(){return n.e(4174).then(n.t.bind(n,88478,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-6-0-index-html-9d2.sidebar.json",88478],feaf451d:[function(){return n.e(6858).then(n.t.bind(n,21470,19))},"~docs/default/version-v-3-6-0-metadata-prop-945.json",21470]};var d=function(e){var t={};return function e(n,r){Object.keys(n).forEach((function(a){var o,i=n[a],s=r?r+"."+a:a;"object"==typeof(o=i)&&o&&Object.keys(o).length>0?e(i,s):t[s]=i}))}(e),t};var f=function(e,t){if("*"===e)return s()({loading:l,loader:function(){return n.e(7372).then(n.bind(n,7372))}});var a=c[e+"-"+t],o=[],i=[],f={},p=d(a);return Object.keys(p).forEach((function(e){var t=u[p[e]];t&&(f[e]=t[0],o.push(t[1]),i.push(t[2]))})),s().Map({loading:l,loader:f,modules:o,webpack:function(){return i},render:function(e,t){var n=JSON.parse(JSON.stringify(a));Object.keys(e).forEach((function(t){for(var r=n,a=t.split("."),o=0;o<a.length-1;o+=1)r=r[a[o]];r[a[a.length-1]]=e[t].default;var i=Object.keys(e[t]).filter((function(e){return"default"!==e}));i&&i.length&&i.forEach((function(n){r[a[a.length-1]][n]=e[t][n]}))}));var o=n.component;return delete n.component,r.createElement(o,Object.assign({},n,t))}})},p=[{path:"/acknowledgments",component:f("/acknowledgments","6d7"),exact:!0},{path:"/api/",component:f("/api/","7b0"),exact:!0},{path:"/api/master/",component:f("/api/master/","835"),exact:!0},{path:"/api/v3.10.2/",component:f("/api/v3.10.2/","82e"),exact:!0},{path:"/api/v3.11.2/",component:f("/api/v3.11.2/","4ad"),exact:!0},{path:"/api/v3.5.0/",component:f("/api/v3.5.0/","90a"),exact:!0},{path:"/api/v3.6.0/",component:f("/api/v3.6.0/","2ff"),exact:!0},{path:"/api/v3.7.0/",component:f("/api/v3.7.0/","f68"),exact:!0},{path:"/api/v3.8.1/",component:f("/api/v3.8.1/","f98"),exact:!0},{path:"/api/v3.9.0/",component:f("/api/v3.9.0/","348"),exact:!0},{path:"/blog",component:f("/blog","de9"),exact:!0},{path:"/blog/archive",component:f("/blog/archive","f4c"),exact:!0},{path:"/blog/tags",component:f("/blog/tags","e13"),exact:!0},{path:"/blog/tags/x-charts",component:f("/blog/tags/x-charts","3a1"),exact:!0},{path:"/blog/tags/\u65b0\u7248\u672c",component:f("/blog/tags/\u65b0\u7248\u672c","78b"),exact:!0},{path:"/blog/xcharts3.0_released",component:f("/blog/xcharts3.0_released","0d0"),exact:!0},{path:"/community",component:f("/community","a30"),exact:!0},{path:"/contact-us",component:f("/contact-us","d81"),exact:!0},{path:"/docs",component:f("/docs","932"),exact:!0},{path:"/examples/",component:f("/examples/","583"),exact:!0},{path:"/help-us-translate",component:f("/help-us-translate","99b"),exact:!0},{path:"/newsletter",component:f("/newsletter","cd2"),exact:!0},{path:"/newsletter/2022/12/newsletter12",component:f("/newsletter/2022/12/newsletter12","978"),exact:!0},{path:"/newsletter/archive",component:f("/newsletter/archive","771"),exact:!0},{path:"/search",component:f("/search","79a"),exact:!0},{path:"/user-stories/",component:f("/user-stories/","b97"),exact:!0},{path:"/docs/master",component:f("/docs/master","395"),routes:[{path:"/docs/master/about",component:f("/docs/master/about","bac"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/api",component:f("/docs/master/api","77f"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/bar3d",component:f("/docs/master/bar3d","71a"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/changelog",component:f("/docs/master/changelog","3ac"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/configuration",component:f("/docs/master/configuration","d77"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/extra",component:f("/docs/master/extra","439"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/faq",component:f("/docs/master/faq","07e"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/funnel",component:f("/docs/master/funnel","25e"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/gantt",component:f("/docs/master/gantt","651"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/gauge",component:f("/docs/master/gauge","1b2"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/graph",component:f("/docs/master/graph","c52"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/inputsystem",component:f("/docs/master/inputsystem","1bf"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/lang/articles/ui/ui_statistic",component:f("/docs/master/lang/articles/ui/ui_statistic","8d9"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/lang/articles/ui/ui_table",component:f("/docs/master/lang/articles/ui/ui_table","620"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/line3d",component:f("/docs/master/line3d","b00"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/liquid",component:f("/docs/master/liquid","2a1"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/pictorialbar",component:f("/docs/master/pictorialbar","0b3"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/pie3d",component:f("/docs/master/pie3d","a2d"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/pyramid",component:f("/docs/master/pyramid","ccc"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/sankey",component:f("/docs/master/sankey","1ae"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/support",component:f("/docs/master/support","8b0"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/treemap",component:f("/docs/master/treemap","8bb"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/tutorial01",component:f("/docs/master/tutorial01","2c7"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/tutorial02",component:f("/docs/master/tutorial02","0bb"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/tutorial03",component:f("/docs/master/tutorial03","d01"),exact:!0,sidebar:"langSidebar"},{path:"/docs/master/ui",component:f("/docs/master/ui","36f"),exact:!0,sidebar:"langSidebar"}]},{path:"/docs/v3.10.2",component:f("/docs/v3.10.2","3aa"),routes:[{path:"/docs/v3.10.2/about",component:f("/docs/v3.10.2/about","efe"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/api",component:f("/docs/v3.10.2/api","0e5"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/bar3d",component:f("/docs/v3.10.2/bar3d","548"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/changelog",component:f("/docs/v3.10.2/changelog","aef"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/configuration",component:f("/docs/v3.10.2/configuration","4fd"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/extra",component:f("/docs/v3.10.2/extra","0cf"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/faq",component:f("/docs/v3.10.2/faq","4b4"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/funnel",component:f("/docs/v3.10.2/funnel","8b2"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/gantt",component:f("/docs/v3.10.2/gantt","e91"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/gauge",component:f("/docs/v3.10.2/gauge","4e8"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/inputsystem",component:f("/docs/v3.10.2/inputsystem","94d"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/lang/articles/ui/ui_statistic",component:f("/docs/v3.10.2/lang/articles/ui/ui_statistic","1a8"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/lang/articles/ui/ui_table",component:f("/docs/v3.10.2/lang/articles/ui/ui_table","a55"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/liquid",component:f("/docs/v3.10.2/liquid","7ce"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/pictorialbar",component:f("/docs/v3.10.2/pictorialbar","19d"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/pie3d",component:f("/docs/v3.10.2/pie3d","742"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/pyramid",component:f("/docs/v3.10.2/pyramid","cc3"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/sankey",component:f("/docs/v3.10.2/sankey","7c8"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/support",component:f("/docs/v3.10.2/support","7f0"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/treemap",component:f("/docs/v3.10.2/treemap","6f1"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/tutorial01",component:f("/docs/v3.10.2/tutorial01","c09"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/tutorial02",component:f("/docs/v3.10.2/tutorial02","bf1"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/tutorial03",component:f("/docs/v3.10.2/tutorial03","45e"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.10.2/ui",component:f("/docs/v3.10.2/ui","cfc"),exact:!0,sidebar:"langSidebar"}]},{path:"/docs/v3.11.2",component:f("/docs/v3.11.2","0c1"),routes:[{path:"/docs/v3.11.2/about",component:f("/docs/v3.11.2/about","366"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/api",component:f("/docs/v3.11.2/api","c66"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/bar3d",component:f("/docs/v3.11.2/bar3d","4a3"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/changelog",component:f("/docs/v3.11.2/changelog","a62"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/configuration",component:f("/docs/v3.11.2/configuration","0d8"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/extra",component:f("/docs/v3.11.2/extra","7c8"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/faq",component:f("/docs/v3.11.2/faq","4fb"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/funnel",component:f("/docs/v3.11.2/funnel","505"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/gantt",component:f("/docs/v3.11.2/gantt","8b1"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/gauge",component:f("/docs/v3.11.2/gauge","66b"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/graph",component:f("/docs/v3.11.2/graph","ace"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/inputsystem",component:f("/docs/v3.11.2/inputsystem","12a"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/lang/articles/ui/ui_statistic",component:f("/docs/v3.11.2/lang/articles/ui/ui_statistic","b45"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/lang/articles/ui/ui_table",component:f("/docs/v3.11.2/lang/articles/ui/ui_table","b9b"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/line3d",component:f("/docs/v3.11.2/line3d","0d7"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/liquid",component:f("/docs/v3.11.2/liquid","f98"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/pictorialbar",component:f("/docs/v3.11.2/pictorialbar","344"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/pie3d",component:f("/docs/v3.11.2/pie3d","112"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/pyramid",component:f("/docs/v3.11.2/pyramid","a0a"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/sankey",component:f("/docs/v3.11.2/sankey","559"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/support",component:f("/docs/v3.11.2/support","9d7"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/treemap",component:f("/docs/v3.11.2/treemap","4dd"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/tutorial01",component:f("/docs/v3.11.2/tutorial01","3a7"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/tutorial02",component:f("/docs/v3.11.2/tutorial02","70e"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/tutorial03",component:f("/docs/v3.11.2/tutorial03","747"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.11.2/ui",component:f("/docs/v3.11.2/ui","066"),exact:!0,sidebar:"langSidebar"}]},{path:"/docs/v3.5.0",component:f("/docs/v3.5.0","b39"),routes:[{path:"/docs/v3.5.0/about",component:f("/docs/v3.5.0/about","a24"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.5.0/api",component:f("/docs/v3.5.0/api","322"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.5.0/bar3d",component:f("/docs/v3.5.0/bar3d","e5d"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.5.0/changelog",component:f("/docs/v3.5.0/changelog","bbc"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.5.0/configuration",component:f("/docs/v3.5.0/configuration","d1f"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.5.0/faq",component:f("/docs/v3.5.0/faq","2b6"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.5.0/funnel",component:f("/docs/v3.5.0/funnel","99b"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.5.0/gantt",component:f("/docs/v3.5.0/gantt","f89"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.5.0/gauge",component:f("/docs/v3.5.0/gauge","468"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.5.0/liquid",component:f("/docs/v3.5.0/liquid","6d1"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.5.0/pictorialbar",component:f("/docs/v3.5.0/pictorialbar","5d6"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.5.0/pie3d",component:f("/docs/v3.5.0/pie3d","9cf"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.5.0/pyramid",component:f("/docs/v3.5.0/pyramid","020"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.5.0/support",component:f("/docs/v3.5.0/support","dd4"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.5.0/treemap",component:f("/docs/v3.5.0/treemap","471"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.5.0/tutorial01",component:f("/docs/v3.5.0/tutorial01","69d"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.5.0/tutorial02",component:f("/docs/v3.5.0/tutorial02","eed"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.5.0/tutorial03",component:f("/docs/v3.5.0/tutorial03","fc8"),exact:!0,sidebar:"langSidebar"}]},{path:"/docs/v3.6.0",component:f("/docs/v3.6.0","a57"),routes:[{path:"/docs/v3.6.0/about",component:f("/docs/v3.6.0/about","ac3"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/api",component:f("/docs/v3.6.0/api","5c6"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/bar3d",component:f("/docs/v3.6.0/bar3d","07f"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/changelog",component:f("/docs/v3.6.0/changelog","18f"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/configuration",component:f("/docs/v3.6.0/configuration","bcf"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/extra",component:f("/docs/v3.6.0/extra","b4e"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/faq",component:f("/docs/v3.6.0/faq","978"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/funnel",component:f("/docs/v3.6.0/funnel","f54"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/gantt",component:f("/docs/v3.6.0/gantt","fd7"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/gauge",component:f("/docs/v3.6.0/gauge","ad6"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/inputsystem",component:f("/docs/v3.6.0/inputsystem","a4d"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/lang/articles/ui/ui_statistic",component:f("/docs/v3.6.0/lang/articles/ui/ui_statistic","c7f"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/lang/articles/ui/ui_table",component:f("/docs/v3.6.0/lang/articles/ui/ui_table","2cc"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/liquid",component:f("/docs/v3.6.0/liquid","1d9"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/pictorialbar",component:f("/docs/v3.6.0/pictorialbar","0b7"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/pie3d",component:f("/docs/v3.6.0/pie3d","189"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/pyramid",component:f("/docs/v3.6.0/pyramid","db5"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/support",component:f("/docs/v3.6.0/support","39a"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/treemap",component:f("/docs/v3.6.0/treemap","b3e"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/tutorial01",component:f("/docs/v3.6.0/tutorial01","b2b"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/tutorial02",component:f("/docs/v3.6.0/tutorial02","78b"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/tutorial03",component:f("/docs/v3.6.0/tutorial03","a25"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.6.0/ui",component:f("/docs/v3.6.0/ui","26b"),exact:!0,sidebar:"langSidebar"}]},{path:"/docs/v3.7.0",component:f("/docs/v3.7.0","8b9"),routes:[{path:"/docs/v3.7.0/about",component:f("/docs/v3.7.0/about","ffe"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/api",component:f("/docs/v3.7.0/api","eba"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/bar3d",component:f("/docs/v3.7.0/bar3d","081"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/changelog",component:f("/docs/v3.7.0/changelog","d63"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/configuration",component:f("/docs/v3.7.0/configuration","625"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/extra",component:f("/docs/v3.7.0/extra","540"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/faq",component:f("/docs/v3.7.0/faq","66f"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/funnel",component:f("/docs/v3.7.0/funnel","6ec"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/gantt",component:f("/docs/v3.7.0/gantt","6ce"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/gauge",component:f("/docs/v3.7.0/gauge","a39"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/inputsystem",component:f("/docs/v3.7.0/inputsystem","f3f"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/lang/articles/ui/ui_statistic",component:f("/docs/v3.7.0/lang/articles/ui/ui_statistic","187"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/lang/articles/ui/ui_table",component:f("/docs/v3.7.0/lang/articles/ui/ui_table","562"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/liquid",component:f("/docs/v3.7.0/liquid","c2b"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/pictorialbar",component:f("/docs/v3.7.0/pictorialbar","88e"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/pie3d",component:f("/docs/v3.7.0/pie3d","a0e"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/pyramid",component:f("/docs/v3.7.0/pyramid","3cb"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/support",component:f("/docs/v3.7.0/support","b76"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/treemap",component:f("/docs/v3.7.0/treemap","9dc"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/tutorial01",component:f("/docs/v3.7.0/tutorial01","cd5"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/tutorial02",component:f("/docs/v3.7.0/tutorial02","129"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/tutorial03",component:f("/docs/v3.7.0/tutorial03","c8a"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.7.0/ui",component:f("/docs/v3.7.0/ui","e88"),exact:!0,sidebar:"langSidebar"}]},{path:"/docs/v3.8.1",component:f("/docs/v3.8.1","831"),routes:[{path:"/docs/v3.8.1/about",component:f("/docs/v3.8.1/about","e78"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/api",component:f("/docs/v3.8.1/api","c35"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/bar3d",component:f("/docs/v3.8.1/bar3d","349"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/changelog",component:f("/docs/v3.8.1/changelog","9de"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/configuration",component:f("/docs/v3.8.1/configuration","c0f"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/extra",component:f("/docs/v3.8.1/extra","951"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/faq",component:f("/docs/v3.8.1/faq","002"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/funnel",component:f("/docs/v3.8.1/funnel","b43"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/gantt",component:f("/docs/v3.8.1/gantt","f88"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/gauge",component:f("/docs/v3.8.1/gauge","bd7"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/inputsystem",component:f("/docs/v3.8.1/inputsystem","cdd"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/lang/articles/ui/ui_statistic",component:f("/docs/v3.8.1/lang/articles/ui/ui_statistic","d32"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/lang/articles/ui/ui_table",component:f("/docs/v3.8.1/lang/articles/ui/ui_table","419"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/liquid",component:f("/docs/v3.8.1/liquid","418"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/pictorialbar",component:f("/docs/v3.8.1/pictorialbar","353"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/pie3d",component:f("/docs/v3.8.1/pie3d","85c"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/pyramid",component:f("/docs/v3.8.1/pyramid","f4b"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/support",component:f("/docs/v3.8.1/support","213"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/treemap",component:f("/docs/v3.8.1/treemap","eaf"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/tutorial01",component:f("/docs/v3.8.1/tutorial01","073"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/tutorial02",component:f("/docs/v3.8.1/tutorial02","fb4"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/tutorial03",component:f("/docs/v3.8.1/tutorial03","46a"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.8.1/ui",component:f("/docs/v3.8.1/ui","61b"),exact:!0,sidebar:"langSidebar"}]},{path:"/docs/v3.9.0",component:f("/docs/v3.9.0","a83"),routes:[{path:"/docs/v3.9.0/about",component:f("/docs/v3.9.0/about","ec4"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/api",component:f("/docs/v3.9.0/api","e01"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/bar3d",component:f("/docs/v3.9.0/bar3d","71b"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/changelog",component:f("/docs/v3.9.0/changelog","23d"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/configuration",component:f("/docs/v3.9.0/configuration","57c"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/extra",component:f("/docs/v3.9.0/extra","53d"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/faq",component:f("/docs/v3.9.0/faq","1f2"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/funnel",component:f("/docs/v3.9.0/funnel","483"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/gantt",component:f("/docs/v3.9.0/gantt","745"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/gauge",component:f("/docs/v3.9.0/gauge","80e"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/inputsystem",component:f("/docs/v3.9.0/inputsystem","b02"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/lang/articles/ui/ui_statistic",component:f("/docs/v3.9.0/lang/articles/ui/ui_statistic","12e"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/lang/articles/ui/ui_table",component:f("/docs/v3.9.0/lang/articles/ui/ui_table","763"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/liquid",component:f("/docs/v3.9.0/liquid","ba4"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/pictorialbar",component:f("/docs/v3.9.0/pictorialbar","75e"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/pie3d",component:f("/docs/v3.9.0/pie3d","539"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/pyramid",component:f("/docs/v3.9.0/pyramid","45d"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/sankey",component:f("/docs/v3.9.0/sankey","f61"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/support",component:f("/docs/v3.9.0/support","b40"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/treemap",component:f("/docs/v3.9.0/treemap","1be"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/tutorial01",component:f("/docs/v3.9.0/tutorial01","ae3"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/tutorial02",component:f("/docs/v3.9.0/tutorial02","503"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/tutorial03",component:f("/docs/v3.9.0/tutorial03","af1"),exact:!0,sidebar:"langSidebar"},{path:"/docs/v3.9.0/ui",component:f("/docs/v3.9.0/ui","d37"),exact:!0,sidebar:"langSidebar"}]},{path:"/docs",component:f("/docs","73d"),routes:[{path:"/docs/about",component:f("/docs/about","fd3"),exact:!0,sidebar:"langSidebar"},{path:"/docs/api",component:f("/docs/api","070"),exact:!0,sidebar:"langSidebar"},{path:"/docs/bar3d",component:f("/docs/bar3d","0f1"),exact:!0,sidebar:"langSidebar"},{path:"/docs/changelog",component:f("/docs/changelog","7e8"),exact:!0,sidebar:"langSidebar"},{path:"/docs/configuration",component:f("/docs/configuration","049"),exact:!0,sidebar:"langSidebar"},{path:"/docs/extra",component:f("/docs/extra","ba4"),exact:!0,sidebar:"langSidebar"},{path:"/docs/faq",component:f("/docs/faq","556"),exact:!0,sidebar:"langSidebar"},{path:"/docs/funnel",component:f("/docs/funnel","149"),exact:!0,sidebar:"langSidebar"},{path:"/docs/gantt",component:f("/docs/gantt","b0f"),exact:!0,sidebar:"langSidebar"},{path:"/docs/gauge",component:f("/docs/gauge","b74"),exact:!0,sidebar:"langSidebar"},{path:"/docs/graph",component:f("/docs/graph","bf2"),exact:!0,sidebar:"langSidebar"},{path:"/docs/inputsystem",component:f("/docs/inputsystem","34d"),exact:!0,sidebar:"langSidebar"},{path:"/docs/lang/articles/ui/ui_statistic",component:f("/docs/lang/articles/ui/ui_statistic","c49"),exact:!0,sidebar:"langSidebar"},{path:"/docs/lang/articles/ui/ui_table",component:f("/docs/lang/articles/ui/ui_table","9c4"),exact:!0,sidebar:"langSidebar"},{path:"/docs/line3d",component:f("/docs/line3d","9f6"),exact:!0,sidebar:"langSidebar"},{path:"/docs/liquid",component:f("/docs/liquid","bb8"),exact:!0,sidebar:"langSidebar"},{path:"/docs/pictorialbar",component:f("/docs/pictorialbar","3da"),exact:!0,sidebar:"langSidebar"},{path:"/docs/pie3d",component:f("/docs/pie3d","9ac"),exact:!0,sidebar:"langSidebar"},{path:"/docs/pyramid",component:f("/docs/pyramid","963"),exact:!0,sidebar:"langSidebar"},{path:"/docs/sankey",component:f("/docs/sankey","b4b"),exact:!0,sidebar:"langSidebar"},{path:"/docs/support",component:f("/docs/support","7ff"),exact:!0,sidebar:"langSidebar"},{path:"/docs/treemap",component:f("/docs/treemap","10e"),exact:!0,sidebar:"langSidebar"},{path:"/docs/tutorial01",component:f("/docs/tutorial01","216"),exact:!0,sidebar:"langSidebar"},{path:"/docs/tutorial02",component:f("/docs/tutorial02","aa1"),exact:!0,sidebar:"langSidebar"},{path:"/docs/tutorial03",component:f("/docs/tutorial03","27b"),exact:!0,sidebar:"langSidebar"},{path:"/docs/ui",component:f("/docs/ui","022"),exact:!0,sidebar:"langSidebar"}]},{path:"/",component:f("/","e7f"),exact:!0},{path:"*",component:f("*")}],g=n(10412),m=n(46291),b=n(9913),h=n(50427),v=n(90144),y=n(76775),w=n(74865),x=n.n(w),S=[n(56657),n(50905),n(72448),n(14706),n(60985)];function k(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];S.forEach((function(t){var r,a,o=null!==(a=null===(r=null==t?void 0:t.default)||void 0===r?void 0:r[e])&&void 0!==a?a:t[e];o&&o.apply(void 0,n)}))}var E={onRouteUpdate:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];k.apply(void 0,["onRouteUpdate"].concat(t))},onRouteUpdateDelayed:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];k.apply(void 0,["onRouteUpdateDelayed"].concat(t))}},_=n(18790);function C(e,t){var n=(0,_.f)(e,t);return Promise.all(n.map((function(e){var t=e.route.component;if(t&&t.preload)return t.preload()})))}var P={};var T=function(e){if(P[e.pathname])return Object.assign({},e,{pathname:P[e.pathname]});var t=e.pathname||"/";return""===(t=t.trim().replace(/\/index\.html$/,""))&&(t="/"),P[e.pathname]=t,Object.assign({},e,{pathname:t})};x().configure({showSpinner:!1});var O=function(e){function t(t){var n;return(n=e.call(this,t)||this).previousLocation=null,n.progressBarTimeout=null,n.state={nextRouteHasLoaded:!0},n}(0,v.Z)(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e,t){var n=this,r=e.location!==this.props.location,a=this.props,o=a.routes,i=a.delay;if(r){var s=T(e.location);return this.startProgressBar(i),this.previousLocation=T(this.props.location),this.setState({nextRouteHasLoaded:!1}),C(o,s.pathname).then((function(){E.onRouteUpdate({previousLocation:n.previousLocation,location:s}),n.previousLocation=null,n.setState({nextRouteHasLoaded:!0},n.stopProgressBar);var e=s.hash;if(e){var t=decodeURIComponent(e.substring(1)),r=document.getElementById(t);r&&r.scrollIntoView()}else window.scrollTo(0,0)})).catch((function(e){return console.warn(e)})),!1}return!!t.nextRouteHasLoaded},n.clearProgressBarTimeout=function(){this.progressBarTimeout&&(clearTimeout(this.progressBarTimeout),this.progressBarTimeout=null)},n.startProgressBar=function(e){var t=this;this.clearProgressBarTimeout(),this.progressBarTimeout=setTimeout((function(){E.onRouteUpdateDelayed({location:T(t.props.location)}),x().start()}),e)},n.stopProgressBar=function(){this.clearProgressBarTimeout(),x().done()},n.render=function(){var e=this.props,t=e.children,n=e.location;return r.createElement(y.AW,{location:T(n),render:function(){return t}})},t}(r.Component),L=(0,y.EN)(O),A=n(12859),M=n(52263),N="docusaurus-base-url-issue-banner-container",j="docusaurus-base-url-issue-banner-suggestion-container",R="__DOCUSAURUS_INSERT_BASEURL_BANNER";function I(e){return"\nwindow['"+R+"'] = true;\n\ndocument.addEventListener('DOMContentLoaded', maybeInsertBanner);\n\nfunction maybeInsertBanner() {\n var shouldInsert = window['"+R+"'];\n shouldInsert && insertBanner();\n}\n\nfunction insertBanner() {\n var bannerContainer = document.getElementById('"+N+"');\n if (!bannerContainer) {\n return;\n }\n var bannerHtml = "+JSON.stringify(function(e){return'\n<div id="docusaurus-base-url-issue-banner" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseurl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">'+e+"</span> "+("/"===e?" (default value)":"")+'</p>\n <p>We suggest trying baseUrl = <span id="'+j+'" style="font-weight: bold; color: green;"></span></p>\n</div>\n'}(e)).replace(/</g,"\\<")+";\n bannerContainer.innerHTML = bannerHtml;\n var suggestionContainer = document.getElementById('"+j+"');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n"}function D(){var e=(0,M.Z)().siteConfig.baseUrl;return(0,r.useLayoutEffect)((function(){window[R]=!1}),[]),r.createElement(r.Fragment,null,!g.default.canUseDOM&&r.createElement(A.Z,null,r.createElement("script",null,I(e))),r.createElement("div",{id:N}))}function F(){var e=(0,M.Z)().siteConfig,t=e.baseUrl,n=e.baseUrlIssueBanner,a=(0,y.TH)().pathname;return n&&a===t?r.createElement(D,null):null}var U=function(e){return e.children},B=n(20780),z=n(14953);var $=function(){return r.createElement(B.Z,{fallback:z.Z},r.createElement(h.M,null,r.createElement(b.t,null,r.createElement(U,null,r.createElement(F,null),r.createElement(L,{routes:p,delay:1e3},(0,m.Z)(p))))))};var q=function(e){if("undefined"==typeof document)return!1;var t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(n){return!1}return!1}("prefetch")?function(e){return new Promise((function(t,n){if("undefined"!=typeof document){var r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=t,r.onerror=n,(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(r)}else n()}))}:function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=function(){200===r.status?t():n()},r.send(null)}))},H={};var Z=function(e){return new Promise((function(t){H[e]?t():q(e).then((function(){t(),H[e]=!0})).catch((function(){}))}))},V={},G={},W=function(){var e,t;return(null===(e=navigator.connection)||void 0===e?void 0:e.effectiveType.includes("2g"))&&(null===(t=navigator.connection)||void 0===t?void 0:t.saveData)},X={prefetch:function(e){return!!function(e){return!W()&&!G[e]&&!V[e]}(e)&&(V[e]=!0,(0,_.f)(p,e).flatMap((function(e){return t=e.route.path,Object.entries(c).filter((function(e){return e[0].replace(/(-[^-]+)$/,"")===t})).flatMap((function(e){var t=e[1];return Object.values(d(t))}));var t})).forEach((function(e){var t=n.gca(e);t&&!/undefined/.test(t)&&Z(t)})),!0)},preload:function(e){return!!function(e){return!W()&&!G[e]}(e)&&(G[e]=!0,C(p,e),!0)}};if(g.default.canUseDOM){window.docusaurus=X;var Y=a.hydrate;C(p,window.location.pathname).then((function(){Y(r.createElement(o.VK,null,r.createElement($,null)),document.getElementById("__docusaurus"))}))}},91262:function(e,t,n){"use strict";var r=n(67294),a=n(72389);t.Z=function(e){var t=e.children,n=e.fallback;return(0,a.Z)()?r.createElement(r.Fragment,null,t()):n||null}},20780:function(e,t,n){"use strict";var r=n(90144),a=n(67294),o=n(10412),i=n(14953),s=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={error:null},n}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidCatch=function(e){o.default.canUseDOM&&this.setState({error:e})},n.render=function(){var e,t=this,n=this.props.children,r=this.state.error;return r?(null!==(e=this.props.fallback)&&void 0!==e?e:i.Z)({error:r,tryAgain:function(){return t.setState({error:null})}}):null!=n?n:null},t}(a.Component);t.Z=s},10412:function(e,t,n){"use strict";n.r(t);var r=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:r,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&!!window.screen};t.default=a},12859:function(e,t,n){"use strict";n.d(t,{Z:function(){return be}});var r,a,o,i,s=n(67294),l=n(45697),c=n.n(l),u=n(83524),d=n.n(u),f=n(69590),p=n.n(f),g=n(27418),m=n.n(g),b="bodyAttributes",h="htmlAttributes",v="titleAttributes",y={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},w=(Object.keys(y).map((function(e){return y[e]})),"charset"),x="cssText",S="href",k="http-equiv",E="innerHTML",_="itemprop",C="name",P="property",T="rel",O="src",L="target",A={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},M="defaultTitle",N="defer",j="encodeSpecialCharacters",R="onChangeClientState",I="titleTemplate",D=Object.keys(A).reduce((function(e,t){return e[A[t]]=t,e}),{}),F=[y.NOSCRIPT,y.SCRIPT,y.STYLE],U="data-react-helmet",B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},$=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},Z=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},V=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},G=function(e){var t=Q(e,y.TITLE),n=Q(e,I);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=Q(e,M);return t||r||void 0},W=function(e){return Q(e,R)||function(){}},X=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return q({},e,t)}),{})},Y=function(e,t){return t.filter((function(e){return void 0!==e[y.BASE]})).map((function(e){return e[y.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a++){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},K=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&re("Helmet: "+e+' should be of type "Array". Instead found type "'+B(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n=void 0,o=Object.keys(e),i=0;i<o.length;i++){var s=o[i],l=s.toLowerCase();-1===t.indexOf(l)||n===T&&"canonical"===e[n].toLowerCase()||l===T&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||s!==E&&s!==x&&s!==_||(n=s)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][c]&&(a[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(a),i=0;i<o.length;i++){var s=o[i],l=m()({},r[s],a[s]);r[s]=l}return e}),[]).reverse()},Q=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},J=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){J(e)}),0)}),ee=function(e){return clearTimeout(e)},te="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||J:n.g.requestAnimationFrame||J,ne="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||ee:n.g.cancelAnimationFrame||ee,re=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},ae=null,oe=function(e,t){var n=e.baseTag,r=e.bodyAttributes,a=e.htmlAttributes,o=e.linkTags,i=e.metaTags,s=e.noscriptTags,l=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,d=e.title,f=e.titleAttributes;le(y.BODY,r),le(y.HTML,a),se(d,f);var p={baseTag:ce(y.BASE,n),linkTags:ce(y.LINK,o),metaTags:ce(y.META,i),noscriptTags:ce(y.NOSCRIPT,s),scriptTags:ce(y.SCRIPT,c),styleTags:ce(y.STYLE,u)},g={},m={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(g[e]=n),r.length&&(m[e]=p[e].oldTags)})),t&&t(),l(e,g,m)},ie=function(e){return Array.isArray(e)?e.join(""):e},se=function(e,t){void 0!==e&&document.title!==e&&(document.title=ie(e)),le(y.TITLE,t)},le=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(U),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),s=0;s<i.length;s++){var l=i[s],c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),-1===a.indexOf(l)&&a.push(l);var u=o.indexOf(l);-1!==u&&o.splice(u,1)}for(var d=o.length-1;d>=0;d--)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute(U):n.getAttribute(U)!==i.join(",")&&n.setAttribute(U,i.join(","))}},ce=function(e,t){var n=document.head||document.querySelector(y.HEAD),r=n.querySelectorAll(e+"["+"data-react-helmet]"),a=Array.prototype.slice.call(r),o=[],i=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===E)n.innerHTML=t.innerHTML;else if(r===x)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var s=void 0===t[r]?"":t[r];n.setAttribute(r,s)}n.setAttribute(U,"true"),a.some((function(e,t){return i=t,n.isEqualNode(e)}))?a.splice(i,1):o.push(n)})),a.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return n.appendChild(e)})),{oldTags:a,newTags:o}},ue=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},de=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[A[n]||n]=e[n],t}),t)},fe=function(e,t,n){switch(e){case y.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[U]=!0,a=de(n,r),[s.createElement(y.TITLE,a,e)];var e,n,r,a},toString:function(){return function(e,t,n,r){var a=ue(n),o=ie(t);return a?"<"+e+' data-react-helmet="true" '+a+">"+V(o,r)+"</"+e+">":"<"+e+' data-react-helmet="true">'+V(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case b:case h:return{toComponent:function(){return de(t)},toString:function(){return ue(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,a=((r={key:n})[U]=!0,r);return Object.keys(t).forEach((function(e){var n=A[e]||e;if(n===E||n===x){var r=t.innerHTML||t.cssText;a.dangerouslySetInnerHTML={__html:r}}else a[n]=t[e]})),s.createElement(e,a)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!(e===E||e===x)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+V(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===F.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+a+(i?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},pe=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.linkTags,i=e.metaTags,s=e.noscriptTags,l=e.scriptTags,c=e.styleTags,u=e.title,d=void 0===u?"":u,f=e.titleAttributes;return{base:fe(y.BASE,t,r),bodyAttributes:fe(b,n,r),htmlAttributes:fe(h,a,r),link:fe(y.LINK,o,r),meta:fe(y.META,i,r),noscript:fe(y.NOSCRIPT,s,r),script:fe(y.SCRIPT,l,r),style:fe(y.STYLE,c,r),title:fe(y.TITLE,{title:d,titleAttributes:f},r)}},ge=d()((function(e){return{baseTag:Y([S,L],e),bodyAttributes:X(b,e),defer:Q(e,N),encode:Q(e,j),htmlAttributes:X(h,e),linkTags:K(y.LINK,[T,S],e),metaTags:K(y.META,[C,w,k,P,_],e),noscriptTags:K(y.NOSCRIPT,[E],e),onChangeClientState:W(e),scriptTags:K(y.SCRIPT,[O,E],e),styleTags:K(y.STYLE,[x],e),title:G(e),titleAttributes:X(v,e)}}),(function(e){ae&&ne(ae),e.defer?ae=te((function(){oe(e,(function(){ae=null}))})):(oe(e),ae=null)}),pe)((function(){return null})),me=(a=ge,i=o=function(e){function t(){return z(this,t),Z(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!p()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case y.SCRIPT:case y.NOSCRIPT:return{innerHTML:t};case y.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,a=e.newChildProps,o=e.nestedChildren;return q({},r,((t={})[n.type]=[].concat(r[n.type]||[],[q({},a,this.mapNestedChildrenToProps(n,o))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case y.TITLE:return q({},a,((t={})[r.type]=i,t.titleAttributes=q({},o),t));case y.BODY:return q({},a,{bodyAttributes:q({},o)});case y.HTML:return q({},a,{htmlAttributes:q({},o)})}return q({},a,((n={})[r.type]=q({},o),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=q({},t);return Object.keys(e).forEach((function(t){var r;n=q({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return s.Children.forEach(e,(function(e){if(e&&e.props){var a=e.props,o=a.children,i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[D[n]||n]=e[n],t}),t)}(H(a,["children"]));switch(n.warnOnInvalidChildren(e,o),e.type){case y.LINK:case y.META:case y.NOSCRIPT:case y.SCRIPT:case y.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:i,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:i,nestedChildren:o})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=H(e,["children"]),r=q({},n);return t&&(r=this.mapChildrenToProps(t,r)),s.createElement(a,r)},$(t,null,[{key:"canUseDOM",set:function(e){a.canUseDOM=e}}]),t}(s.Component),o.propTypes={base:c().object,bodyAttributes:c().object,children:c().oneOfType([c().arrayOf(c().node),c().node]),defaultTitle:c().string,defer:c().bool,encodeSpecialCharacters:c().bool,htmlAttributes:c().object,link:c().arrayOf(c().object),meta:c().arrayOf(c().object),noscript:c().arrayOf(c().object),onChangeClientState:c().func,script:c().arrayOf(c().object),style:c().arrayOf(c().object),title:c().string,titleAttributes:c().object,titleTemplate:c().string},o.defaultProps={defer:!0,encodeSpecialCharacters:!0},o.peek=a.peek,o.rewind=function(){var e=a.rewind();return e||(e=pe({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},i);me.renderStatic=me.rewind;var be=function(e){return s.createElement(me,Object.assign({},e))}},39960:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(80102),a=n(67294),o=n(73727),i=n(52263),s=n(13919),l=n(10412),c=(0,a.createContext)({collectLink:function(){}});var u=n(44996),d=n(18780),f=["isNavLink","to","href","activeClassName","isActive","data-noBrokenLinkCheck","autoAddBaseUrl"];var p=function(e){var t,n,p=e.isNavLink,g=e.to,m=e.href,b=e.activeClassName,h=e.isActive,v=e["data-noBrokenLinkCheck"],y=e.autoAddBaseUrl,w=void 0===y||y,x=(0,r.Z)(e,f),S=(0,i.Z)().siteConfig,k=S.trailingSlash,E=S.baseUrl,_=(0,u.C)().withBaseUrl,C=(0,a.useContext)(c),P=g||m,T=(0,s.Z)(P),O=null==P?void 0:P.replace("pathname://",""),L=void 0!==O?(n=O,w&&function(e){return e.startsWith("/")}(n)?_(n):n):void 0;L&&T&&(L=(0,d.applyTrailingSlash)(L,{trailingSlash:k,baseUrl:E}));var A=(0,a.useRef)(!1),M=p?o.OL:o.rU,N=l.default.canUseIntersectionObserver,j=(0,a.useRef)();(0,a.useEffect)((function(){return!N&&T&&null!=L&&window.docusaurus.prefetch(L),function(){N&&j.current&&j.current.disconnect()}}),[j,L,N,T]);var R=null!==(t=null==L?void 0:L.startsWith("#"))&&void 0!==t&&t,I=!L||!T||R;return L&&T&&!R&&!v&&C.collectLink(L),I?a.createElement("a",Object.assign({href:L},P&&!T&&{target:"_blank",rel:"noopener noreferrer"},x)):a.createElement(M,Object.assign({},x,{onMouseEnter:function(){A.current||null==L||(window.docusaurus.preload(L),A.current=!0)},innerRef:function(e){var t,n;N&&e&&T&&(t=e,n=function(){null!=L&&window.docusaurus.prefetch(L)},j.current=new window.IntersectionObserver((function(e){e.forEach((function(e){t===e.target&&(e.isIntersecting||e.intersectionRatio>0)&&(j.current.unobserve(t),j.current.disconnect(),n())}))})),j.current.observe(t))},to:L||""},p&&{isActive:h,activeClassName:b}))}},95999:function(e,t,n){"use strict";n.d(t,{Z:function(){return u},I:function(){return c}});var r=n(67294),a=/{\w+}/g,o="{}";function i(e,t){var n=[],i=e.replace(a,(function(e){var a=e.substring(1,e.length-1),i=null==t?void 0:t[a];if(void 0!==i){var s=r.isValidElement(i)?i:String(i);return n.push(s),o}return e}));return 0===n.length?e:n.every((function(e){return"string"==typeof e}))?i.split(o).reduce((function(e,t,r){var a;return e.concat(t).concat(null!==(a=n[r])&&void 0!==a?a:"")}),""):i.split(o).reduce((function(e,t,a){return[].concat(e,[r.createElement(r.Fragment,{key:a},t,n[a])])}),[])}var s=n(57529);function l(e){var t,n,r=e.id,a=e.message;if(void 0===r&&void 0===a)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return null!==(n=null!==(t=s[null!=r?r:a])&&void 0!==t?t:a)&&void 0!==n?n:r}function c(e,t){return i(l({message:e.message,id:e.id}),t)}function u(e){var t=e.children,n=e.id,r=e.values;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");return i(l({message:t,id:n}),r)}},9913:function(e,t,n){"use strict";n.d(t,{_:function(){return a},t:function(){return o}});var r=n(67294),a=r.createContext(!1);function o(e){var t=e.children,n=(0,r.useState)(!1),o=n[0],i=n[1];return(0,r.useEffect)((function(){i(!0)}),[]),r.createElement(a.Provider,{value:o},t)}},29935:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});var r="default"},50427:function(e,t,n){"use strict";n.d(t,{_:function(){return u},M:function(){return d}});var r=n(67294),a=n(99782),o=n(81115),i=JSON.parse('{"defaultLocale":"zh-Hans","locales":["zh-Hans","en"],"currentLocale":"zh-Hans","localeConfigs":{"zh-Hans":{"label":"\u7b80\u4f53\u4e2d\u6587","direction":"ltr","htmlLang":"zh-Hans"},"en":{"label":"English","direction":"ltr","htmlLang":"en"}}}'),s=n(57529),l=JSON.parse('{"docusaurusVersion":"2.0.0-beta.15","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"2.0.0-beta.15"},"docusaurus-plugin-google-gtag":{"type":"package","name":"@docusaurus/plugin-google-gtag","version":"2.0.0-beta.15"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"2.0.0-beta.15"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"2.0.0-beta.15"},"docusaurus-theme-search-algolia":{"type":"package","name":"@docusaurus/theme-search-algolia","version":"2.0.0-beta.15"},"docusaurus-plugin-sass":{"type":"package","name":"docusaurus-plugin-sass","version":"0.2.1"},"docusaurus-tailwindcss":{"type":"local"},"docusaurus-utils-extends":{"type":"local"},"docusaurus-plugin-hotjar":{"type":"project"},"autoapi-plugin":{"type":"project"},"docusaurus-plugin-content-blog":{"type":"project"},"docusaurus-plugin-content-docs":{"type":"project"},"docusaurus-sidebarItems":{"type":"project"}}}'),c={siteConfig:a.default,siteMetadata:l,globalData:o,i18n:i,codeTranslations:s},u=r.createContext(c);function d(e){var t=e.children;return r.createElement(u.Provider,{value:c},t)}},13919:function(e,t,n){"use strict";function r(e){return!0===/^(\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{b:function(){return r},Z:function(){return a}})},46291:function(e,t,n){"use strict";var r=n(18790);t.Z=r.H},28143:function(e,t,n){"use strict";n.r(t),n.d(t,{BrowserRouter:function(){return r.VK},HashRouter:function(){return r.UT},Link:function(){return r.rU},MemoryRouter:function(){return r.VA},NavLink:function(){return r.OL},Prompt:function(){return r.NL},Redirect:function(){return r.l_},Route:function(){return r.AW},Router:function(){return r.F0},StaticRouter:function(){return r.gx},Switch:function(){return r.rs},generatePath:function(){return r.Gn},matchPath:function(){return r.LX},useHistory:function(){return r.k6},useLocation:function(){return r.TH},useParams:function(){return r.UO},useRouteMatch:function(){return r.$B},withRouter:function(){return r.EN}});var r=n(73727)},44996:function(e,t,n){"use strict";n.d(t,{C:function(){return o},Z:function(){return i}});var r=n(52263),a=n(13919);function o(){var e=(0,r.Z)().siteConfig,t=e.baseUrl,n=e.url;return{withBaseUrl:function(e,r){return function(e,t,n,r){var o=void 0===r?{}:r,i=o.forcePrependBaseUrl,s=void 0!==i&&i,l=o.absolute,c=void 0!==l&&l;if(!n)return n;if(n.startsWith("#"))return n;if((0,a.b)(n))return n;if(s)return t+n.replace(/^\//,"");var u=n.startsWith(t)?n:t+n.replace(/^\//,"");return c?e+u:u}(n,t,e,r)}}}function i(e,t){return void 0===t&&(t={}),(0,o().withBaseUrl)(e,t)}},52263:function(e,t,n){"use strict";var r=n(67294),a=n(50427);t.Z=function(){return(0,r.useContext)(a._)}},28084:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o},useAllPluginInstancesData:function(){return i},usePluginData:function(){return s}});var r=n(52263),a=n(29935);function o(){var e=(0,r.Z)().globalData;if(!e)throw new Error("Docusaurus global data not found.");return e}function i(e){var t=o()[e];if(!t)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin.');return t}function s(e,t){void 0===t&&(t=a.m);var n=i(e)[t];if(!n)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin with id "'+t+'".');return n}},72389:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294),a=n(9913);function o(){return(0,r.useContext)(a._)}},14953:function(e,t,n){"use strict";var r=n(67294),a=n(85966),o=n(20780);function i(e){var t=e.error,n=e.tryAgain;return r.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:"50vh",width:"100%",fontSize:"20px"}},r.createElement("h1",null,"This page crashed."),r.createElement("p",null,t.message),r.createElement("button",{type:"button",onClick:n},"Try again"))}t.Z=function(e){var t=e.error,n=e.tryAgain;return r.createElement(o.Z,{fallback:function(){return r.createElement(i,{error:t,tryAgain:n})}},r.createElement(a.Z,{title:"Page Error"},r.createElement(i,{error:t,tryAgain:n})))}},48408:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDocVersionSuggestions=t.getActiveDocContext=t.getActiveVersion=t.getLatestVersion=t.getActivePlugin=void 0;var r=n(28143);t.getActivePlugin=function(e,t,n){void 0===n&&(n={});var a=Object.entries(e).sort((function(e,t){return t[1].path.localeCompare(e[1].path)})).find((function(e){var n=e[1];return!!(0,r.matchPath)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error("Can't find active docs plugin for \""+t+'" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: '+Object.values(e).map((function(e){return e.path})).join(", "));return o};t.getLatestVersion=function(e){return e.versions.find((function(e){return e.isLast}))};t.getActiveVersion=function(e,n){var a=(0,t.getLatestVersion)(e);return[].concat(e.versions.filter((function(e){return e!==a})),[a]).find((function(e){return!!(0,r.matchPath)(n,{path:e.path,exact:!1,strict:!1})}))};t.getActiveDocContext=function(e,n){var a,o,i=(0,t.getActiveVersion)(e,n),s=null==i?void 0:i.docs.find((function(e){return!!(0,r.matchPath)(n,{path:e.path,exact:!0,strict:!1})}));return{activeVersion:i,activeDoc:s,alternateDocVersions:s?(a=s.id,o={},e.versions.forEach((function(e){e.docs.forEach((function(t){t.id===a&&(o[e.name]=t)}))})),o):{}}};t.getDocVersionSuggestions=function(e,n){var r=(0,t.getLatestVersion)(e),a=(0,t.getActiveDocContext)(e,n);return{latestDocSuggestion:null==a?void 0:a.alternateDocVersions[r.name],latestVersionSuggestion:r}}},47608:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDocVersionSuggestions=t.useActiveDocContext=t.useActiveVersion=t.useLatestVersion=t.useVersions=t.useActivePluginAndVersion=t.useActivePlugin=t.useDocsData=t.useAllDocsData=void 0;var r=n(70655),a=n(28143),o=(0,r.__importStar)(n(28084)),i=n(48408),s={};t.useAllDocsData=function(){var e;return null!==(e=(0,o.default)()["docusaurus-plugin-content-docs"])&&void 0!==e?e:s};t.useDocsData=function(e){return(0,o.usePluginData)("docusaurus-plugin-content-docs",e)};t.useActivePlugin=function(e){void 0===e&&(e={});var n=(0,t.useAllDocsData)(),r=(0,a.useLocation)().pathname;return(0,i.getActivePlugin)(n,r,e)};t.useActivePluginAndVersion=function(e){void 0===e&&(e={});var n=(0,t.useActivePlugin)(e),r=(0,a.useLocation)().pathname;if(n)return{activePlugin:n,activeVersion:(0,i.getActiveVersion)(n.pluginData,r)}};t.useVersions=function(e){return(0,t.useDocsData)(e).versions};t.useLatestVersion=function(e){var n=(0,t.useDocsData)(e);return(0,i.getLatestVersion)(n)};t.useActiveVersion=function(e){var n=(0,t.useDocsData)(e),r=(0,a.useLocation)().pathname;return(0,i.getActiveVersion)(n,r)};t.useActiveDocContext=function(e){var n=(0,t.useDocsData)(e),r=(0,a.useLocation)().pathname;return(0,i.getActiveDocContext)(n,r)};t.useDocVersionSuggestions=function(e){var n=(0,t.useDocsData)(e),r=(0,a.useLocation)().pathname;return(0,i.getDocVersionSuggestions)(n,r)}},65551:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),(0,n(70655).__exportStar)(n(47608),t)},56657:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(70655),a=(0,r.__importDefault)(n(10412)),o=(0,r.__importDefault)(n(81115));t.default=function(){if(!a.default.canUseDOM)return null;var e=o.default["docusaurus-plugin-google-gtag"].default.trackingID;return{onRouteUpdate:function(t){var n=t.location;window.gtag("config",e,{page_path:n.pathname,page_title:document.title}),window.gtag("event","page_view",{page_title:document.title,page_location:n.href,page_path:n.pathname})}}}()},85966:function(e,t,n){"use strict";n.d(t,{Z:function(){return gt}});var r=n(67294),a=n(86010),o=n(20780),i=n(76775),s=n(95999),l=n(72804),c="skipToContent_ZgBM";function u(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}var d=function(){var e=(0,r.useRef)(null),t=(0,i.k6)().action;return(0,l.SL)((function(n){var r=n.location;e.current&&!r.hash&&"PUSH"===t&&u(e.current)})),r.createElement("div",{ref:e,role:"region"},r.createElement("a",{href:"#",className:c,onClick:function(e){e.preventDefault();var t=document.querySelector("main:first-of-type")||document.querySelector(".main-wrapper");t&&u(t)}},r.createElement(s.Z,{id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"},"Skip to main content")))},f=n(83117),p=n(80102),g=["width","height","color","strokeWidth","className"];function m(e){var t=e.width,n=void 0===t?21:t,a=e.height,o=void 0===a?21:a,i=e.color,s=void 0===i?"currentColor":i,l=e.strokeWidth,c=void 0===l?1.2:l,u=(e.className,(0,p.Z)(e,g));return r.createElement("svg",(0,f.Z)({viewBox:"0 0 15 15",width:n,height:o},u),r.createElement("g",{stroke:s,strokeWidth:c},r.createElement("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})))}var b="announcementBar_IbjG",h="announcementBarPlaceholder_NC_W",v="announcementBarClose_FG1z",y="announcementBarContent_KsVm";var w,x=function(){var e=(0,l.nT)(),t=e.isActive,n=e.close,o=(0,l.LU)().announcementBar;if(!t)return null;var i=o.content,c=o.backgroundColor,u=o.textColor,d=o.isCloseable;return r.createElement("div",{className:b,style:{backgroundColor:c,color:u},role:"banner"},d&&r.createElement("div",{className:h}),r.createElement("div",{className:y,dangerouslySetInnerHTML:{__html:i}}),d?r.createElement("button",{type:"button",className:(0,a.Z)("clean-btn close",v),onClick:n,"aria-label":(0,s.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"})},r.createElement(m,{width:14,height:14,strokeWidth:3.1})):null)},S=n(72389),k="toggle_NVk2",E="toggleScreenReader_pt96",_="toggleDisabled_YS8j",C="toggleTrack_wkO5",P="toggleChecked_jk2C",T="toggleTrackThumb_QM_J",O="toggleFocused_bVUH",L=["title","titleId"];function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function M(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var N,j=function(e){var t=e.title,n=e.titleId,a=M(e,L);return r.createElement("svg",A({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,w||(w=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.06 1.882a.75.75 0 0 1-.05.814 4.5 4.5 0 0 0 6.294 6.293.75.75 0 0 1 1.196.603v.158a.723.723 0 0 1-.003.069c-.134 1.442-.68 2.634-1.535 3.74A7.5 7.5 0 1 1 8.338 1.503a.75.75 0 0 1 .723.379ZM6.988 3.329a6 6 0 1 0 6.788 9.312c.413-.534.726-1.07.935-1.643A6 6 0 0 1 6.987 3.33Z",fill:"#090C0D"})))},R=["title","titleId"];function I(){return(I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function D(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var F=function(e){var t=e.title,n=e.titleId,a=D(e,R);return r.createElement("svg",I({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,N||(N=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 6a3 3 0 1 0 0 6 3 3 0 0 0 0-6ZM4.5 9a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM9 0a.75.75 0 0 1 .75.75v1.5a.75.75 0 1 1-1.5 0V.75A.75.75 0 0 1 9 0ZM9 15a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 9 15ZM2.635 2.635a.75.75 0 0 1 1.06 0L4.76 3.7A.75.75 0 1 1 3.7 4.76L2.635 3.695a.75.75 0 0 1 0-1.06ZM13.24 13.24a.75.75 0 0 1 1.06 0l1.065 1.065a.75.75 0 0 1-1.06 1.06L13.24 14.3a.75.75 0 0 1 0-1.06ZM0 9a.75.75 0 0 1 .75-.75h1.5a.75.75 0 1 1 0 1.5H.75A.75.75 0 0 1 0 9ZM15 9a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5A.75.75 0 0 1 15 9ZM4.76 13.24a.75.75 0 0 1 0 1.06l-1.065 1.065a.75.75 0 0 1-1.06-1.06L3.7 13.24a.75.75 0 0 1 1.06 0ZM15.365 2.635a.75.75 0 0 1 0 1.06L14.3 4.76a.75.75 0 1 1-1.06-1.06l1.065-1.065a.75.75 0 0 1 1.06 0Z",fill:"#fff"})))},U=(0,r.memo)((function(e){var t,n=e.className,o=(e.switchConfig,e.checked),i=e.disabled,s=e.onChange,l=(0,r.useState)(o),c=l[0],u=l[1],d=(0,r.useState)(!1),f=d[0],p=d[1],g=(0,r.useRef)(null);return r.createElement("div",{className:(0,a.Z)(k,n,(t={},t[P]=c,t[O]=f,t[_]=i,t))},r.createElement("div",{className:C,role:"button",tabIndex:-1,onClick:function(){var e;return null==(e=g.current)?void 0:e.click()}},r.createElement("div",{className:(0,a.Z)(T,"dark:bg-yellow-main bg-brand-cyan")},r.createElement(j,{className:"hidden dark:block"}),r.createElement(F,{className:"dark:hidden"}))),r.createElement("input",{ref:g,checked:c,type:"checkbox",className:E,"aria-label":"Switch between dark and light mode",onChange:s,onClick:function(){return u(!c)},onFocus:function(){return p(!0)},onBlur:function(){return p(!1)},onKeyDown:function(e){var t;"Enter"===e.key&&(null==(t=g.current)||t.click())}}))}));function B(e){var t=(0,l.LU)().colorMode.switchConfig,n=(0,S.Z)();return r.createElement(U,(0,f.Z)({switchConfig:t,disabled:!n},e))}var z,$=n(14047),q=["title","titleId"];function H(){return(H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Z(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var V=function(e){var t=e.title,n=e.titleId,a=Z(e,q);return r.createElement("svg",H({width:24,height:25,viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,z||(z=r.createElement("path",{d:"M5 12.5h14M12 5.5l7 7-7 7",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))},G=n(52263);var W,X=["title","titleId"];function Y(){return(Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function K(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Q=function(e){var t=e.title,n=e.titleId,a=K(e,X);return r.createElement("svg",Y({width:10,height:8,viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,W||(W=r.createElement("path",{d:"M5.866 7.5a1 1 0 0 1-1.732 0L.67 1.5A1 1 0 0 1 1.536 0h6.928a1 1 0 0 1 .866 1.5l-3.464 6Z",fill:"currentColor"})))},J=n(91262),ee=n(65551),te=n(28084),ne=function(e){return e.versions.find((function(e){return e.isLast}))};function re(e,t){var n=ne(e);return[].concat(e.versions.filter((function(e){return e!==n})),[n]).find((function(e){return!!(0,i.LX)(t,{path:e.path,exact:!1,strict:!1})}))}var ae=function(e){return(0,te.usePluginData)("autoapi-plugin",e)};function oe(e){var t=ie(),n=(0,ee.useActiveVersion)(e),r=function(e){return re(ae(e),(0,i.TH)().pathname)}(e);return t?r:n}function ie(){var e=(0,i.TH)().pathname;return(0,r.useMemo)((function(){return!!(0,i.LX)(e,{path:"/api",exact:!1,strict:!1})}),[e])}var se=n(39960);function le(e){var t=e.href,n=e.label,a=e.matchPath,o=e.className,i=function(e){var t=(0,l.J)().preferredVersion,n=(0,G.Z)().i18n,r=n.defaultLocale,a=n.currentLocale,o=e;r!==a&&(o="/"+a+e);var i=oe()||t,s=null!=i&&i.isLast?"":(null==i?void 0:i.name)||"";return o&&""!==s?(e.startsWith("/api")&&(s="current"===s?"master":s),("/"===o[o.length-1]?o:o+"/")+s+"/"):o}(t);return r.createElement(ce,{className:o,href:i,label:n,matchPath:a})}function ce(e){var t=e.href,n=e.label,o=e.matchPath,s=e.className,l=e.isExternal,c=(0,i.TH)().pathname,u=(0,G.Z)().i18n,d=u.defaultLocale,f=u.currentLocale,p=o;return p&&d!==f&&!l&&(p="/"+f+p),r.createElement(se.Z,{className:(0,a.Z)(p&&c.startsWith(p)?"text-brand-cyan active":"",s),href:t,target:l?"_blank":void 0},n)}function ue(e){var t=e.href,n=e.label,a=e.className,o=e.matchPath,i=e.isExternal;return r.createElement(ce,{className:a,href:t,label:n,matchPath:o,isExternal:i})}var de,fe=function(e){var t=e.label,n=e.labelNode,o=e.items,i=e.position;return r.createElement("div",{className:"group relative"},n||r.createElement("div",{className:"flex cursor-pointer items-center justify-between bg-grey-1 border rounded-sm py-[6px] rounded-full px-3"},r.createElement("span",{className:"mr-3"},t),r.createElement(Q,{className:"text-brand-cyan"})),r.createElement("div",{className:(0,a.Z)("opacity-0 invisible -translate-y-2.5 dropdown-transition flex absolute min-w-[10rem] shadow-lg border rounded-sm bg-grey-0 p-1 group-hover:opacity-100 group-hover:visible group-hover:translate-y-0 z-10","top"===i?"bottom-[2.5rem]":"top-[2.5rem]")},r.createElement("ul",{className:"space-y-2 w-full"},o.map((function(e,t){return r.createElement(ge,{key:t,href:e.href,label:e.label,active:e.active,isNavLink:e.isNavLink,popover:e.popover})})))))},pe=function(e){var t=e.label,n=e.items,o=(0,r.useState)(!0),i=o[0],s=o[1];return r.createElement("li",null,r.createElement("div",{className:"flex justify-between items-center px-2 py-1",onClick:function(){return s(!i)}},r.createElement("span",null,t),r.createElement("span",{className:(0,a.Z)({"rotate-180":!i})},r.createElement(Q,null))),r.createElement("ul",{className:(0,a.Z)("dropdown-transition",i?"hidden overflow-hidden h-0":"block overflow-visible h-auto")},n.map((function(e,t){return r.createElement(ge,{href:e.href,label:e.label,key:t})}))))},ge=function(e){var t=e.href,n=e.label,o=e.active,i=e.isNavLink,s=e.popover,l=(0,r.useState)(!1),c=l[0],u=l[1];return r.createElement("li",{className:(0,a.Z)(o?"text-brand-cyan bg-grey-2 active":"")},s?r.createElement("div",{className:"block px-4 py-[2px] whitespace-nowrap relative cursor-pointer hover:text-brand-cyan",onMouseEnter:function(){return u(!0)},onMouseLeave:function(){return u(!1)}},r.createElement("div",null,n),r.createElement("div",{className:(0,a.Z)("absolute",c?"block":"hidden")},s)):i?r.createElement("a",{className:"block px-4 py-[2px] whitespace-nowrap",href:t},n):r.createElement(se.Z,{className:"block px-4 py-[2px] whitespace-nowrap",href:t},n))},me=function(e){var t=e.position,n=(0,G.Z)(),a=n.i18n,o=a.currentLocale,i=a.locales,s=a.localeConfigs,c=n.siteConfig.customFields.localeUrls,u=(0,l.l5)();function d(e){return s[e].label}var f=i.map((function(e){var t=c[e]||""+u.createUrl({locale:e,fullyQualified:!1});return{label:d(e),href:t,active:o===e,isNavLink:!0}}));return r.createElement(fe,{position:t,label:d(o),items:f})},be=function(e){var t,n,a,o=e.position,i=(0,ee.useActiveDocContext)(),s=(0,ee.useVersions)(),c=(0,ee.useLatestVersion)(),u=(0,l.J)(),d=u.preferredVersion;u.savePreferredVersionName;var f,p=null!=(t=null!=(n=i.activeVersion)?n:d)?t:c,g=!1;void 0!==(null==(a=i.activeVersion)?void 0:a.label)&&(f=i,g=!0);var m=s.map((function(e){var t,n=(null==i?void 0:i.alternateDocVersions[e.name])||function(e){return e.docs.find((function(t){return t.id===e.mainDocId}))}(e);return{active:e.name===(null==i||null==(t=i.activeVersion)?void 0:t.name),label:e.label,href:n.path}}));return r.createElement(r.Fragment,null,r.createElement(fe,{position:o,items:m,label:p.label}),r.createElement(J.Z,null,(function(){var e;g&&localStorage.setItem("Xcharts-Demo-Version",null==(e=f.activeVersion)?void 0:e.label);return r.createElement(r.Fragment,null)})))},he=["title","titleId"];function ve(){return(ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ye(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var we,xe=function(e){var t=e.title,n=e.titleId,a=ye(e,he);return r.createElement("svg",ve({width:10,height:11,viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,de||(de=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 1.198c.159 0 .303.09.374.232l1.19 2.412 2.663.39a.417.417 0 0 1 .23.71L7.531 6.82l.455 2.65a.417.417 0 0 1-.605.44L5 8.655 2.619 9.908a.417.417 0 0 1-.605-.439l.455-2.65L.543 4.942a.417.417 0 0 1 .23-.71l2.663-.39 1.19-2.412A.417.417 0 0 1 5 1.198Zm0 1.358-.914 1.851a.417.417 0 0 1-.313.228l-2.044.3 1.478 1.44a.417.417 0 0 1 .12.368l-.349 2.035 1.828-.961a.417.417 0 0 1 .388 0l1.828.96-.35-2.034a.417.417 0 0 1 .12-.368l1.48-1.44-2.045-.3a.417.417 0 0 1-.313-.228L5 2.556Z",fill:"currentColor"})))},Se=["title","titleId"];function ke(){return(ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ee(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var _e,Ce=function(e){var t=e.title,n=e.titleId,a=Ee(e,Se);return r.createElement("svg",ke({width:27,height:27,viewBox:"0 0 27 27",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,we||(we=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.058 0C5.843 0 0 5.991 0 13.388c0 5.925 3.738 10.929 8.928 12.702.653.118.898-.284.898-.635 0-.318-.016-1.373-.016-2.494-3.281.62-4.13-.82-4.39-1.573-.148-.385-.784-1.573-1.34-1.891-.456-.251-1.11-.87-.016-.887 1.029-.017 1.763.97 2.008 1.372 1.175 2.025 3.052 1.456 3.803 1.105.114-.87.457-1.456.833-1.791-2.906-.335-5.942-1.49-5.942-6.61 0-1.457.506-2.662 1.339-3.599-.131-.334-.588-1.707.13-3.548 0 0 1.094-.351 3.591 1.373a11.837 11.837 0 0 1 3.265-.452c1.11 0 2.22.15 3.264.452 2.497-1.74 3.591-1.373 3.591-1.373.718 1.841.261 3.214.13 3.548.833.938 1.34 2.126 1.34 3.598 0 5.138-3.053 6.276-5.959 6.61.474.42.882 1.223.882 2.478 0 1.79-.016 3.23-.016 3.682 0 .351.244.77.897.636a13.11 13.11 0 0 0 6.44-4.885 13.642 13.642 0 0 0 2.456-7.818C26.116 5.991 20.273 0 13.058 0Z",fill:"currentColor"})))},Pe="",Te=function(){var e=(0,r.useState)(Pe),t=e[0],n=e[1];return(0,r.useEffect)((function(){Pe||fetch("https://api.github.com/repos/XCharts-Team/XCharts").then((function(e){return e.json()})).then((function(e){var t;t=e.stargazers_count?(e.stargazers_count/1e3).toFixed(1)+" k":"2.8k",Pe=t,n(t)}))}),[]),r.createElement("a",{href:"https://github.com/XCharts-Team/XCharts",target:"_blank",className:"hover:no-underline"},r.createElement("div",{className:"flex text-grey-4 rounded-sm text-caption"},r.createElement("div",{className:"p-1 px-1 flex items-center"},r.createElement("a",{href:"https://github.com/XCharts-Team/XCharts",target:"_blank"},r.createElement(Ce,{width:20,height:20}))),r.createElement("div",{className:"p-1 px-0 flex items-center"},r.createElement(xe,{height:20,width:20}),r.createElement("div",{className:"p-4 px-0"},r.createElement("h5",null,t)))))},Oe=["title","titleId"];function Le(){return(Le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ae(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Me,Ne=function(e){var t=e.title,n=e.titleId,a=Ae(e,Oe);return r.createElement("svg",Le({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,_e||(_e=r.createElement("path",{d:"M2.5 10h15M2.5 5h15M2.5 15h15",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))},je=["title","titleId"];function Re(){return(Re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ie(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var De=function(e){var t=e.title,n=e.titleId,a=Ie(e,je);return r.createElement("svg",Re({width:24,height:25,viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,Me||(Me=r.createElement("path",{d:"m18 6.75-12 12M6 6.75l12 12",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))},Fe=[{label:(0,s.I)({id:"theme.text.blog",message:"Blogs"}),href:"/blog"}],Ue=[{label:(0,s.I)({id:"theme.text.globalforum",message:"Global Forum"}),href:"https://github.com/XCharts-Team/XCharts/discussions"},{label:(0,s.I)({id:"theme.text.qq",message:"QQ Group: 202030963"}),href:""}];function Be(){var e=(0,l.LU)().colorMode.disableSwitch,t=(0,l.If)(),n=t.isDarkTheme,a=t.setLightTheme,o=t.setDarkTheme;return{isDarkTheme:n,toggle:(0,r.useCallback)((function(e){return e.target.checked?o():a()}),[a,o]),disabled:e}}function ze(e){var t=e.sidebarShown,n=e.toggleSidebar;(0,l.Ni)(t);var a=Be();return r.createElement("div",{className:"navbar-sidebar flex flex-col overflow-hidden"},r.createElement("div",{className:"desktop:h-20 h-16 flex items-center px-3 border-b border-grey-3"},r.createElement("div",{className:"flex items-center space-x-3"},r.createElement("a",{href:"/"},r.createElement("h1",null,"XCharts")),r.createElement(Te,null)),r.createElement("button",{type:"button",className:"clean-btn navbar-sidebar__close",onClick:n},r.createElement(De,null))),r.createElement("div",{className:"px-3 py-4 flex-1 overflow-hidden relative"},r.createElement("ul",{className:"space-y-3 overflow-auto h-full"},r.createElement("li",{className:"px-2 py-1"},r.createElement(ue,{className:"block",href:"/docs/",label:"Doc Home",matchPath:"/docs"})),r.createElement("li",{className:"px-2 py-1"},r.createElement(le,{className:"block",href:"/api/",label:"API",matchPath:"/api"})),r.createElement(pe,{label:"Resource",items:Fe}),r.createElement(pe,{label:"Community",items:Ue}))),r.createElement("div",{className:"border-t py-3"},r.createElement("ul",{className:"flex items-center justify-around space-x-3"},r.createElement("li",{className:"flex-1"},r.createElement(be,{position:"top"})),r.createElement("li",{className:"flex-1"},r.createElement(me,{position:"top"})),r.createElement("li",null,r.createElement(B,{checked:a.isDarkTheme,onChange:a.toggle})))))}var $e=function(e){var t=Be(),n=(0,$.Z)(),o=(0,i.TH)().pathname,l=(0,G.Z)().i18n,c=l.defaultLocale,u=l.currentLocale;return Fe.map((function(e){var t=e.href;c!==u&&(t="/"+u+t);var n=o.startsWith(t);return Object.assign({},e,{active:n})})),r.createElement("nav",{id:"header-nav",className:(0,a.Z)("bg-grey-0 border-b border-grey-3 flex items-center justify-between sticky top-0 desktop:h-14 h-18 z-30 px-3 desktop:px-8",{"navbar-sidebar--show":n.shown})},r.createElement("div",{className:"flex items-center space-x-5"},r.createElement("a",{href:"/"},r.createElement("h1",null,"XCharts"))),r.createElement("ul",{className:"hidden desktop:flex items-center"},r.createElement("li",{className:"pr-6 navitem"},r.createElement(Te,null)),r.createElement("li",{className:"pr-6 navitem"},r.createElement(ue,{href:"/docs/",label:(0,s.I)({id:"theme.text.dochome",message:"Doc Home"}),matchPath:"/docs"})),r.createElement("li",{className:"pr-6 navitem"},r.createElement(ue,{href:"/examples/",label:(0,s.I)({id:"theme.text.onlinedemo",message:"Demo"}),matchPath:"/examples"})),r.createElement("li",{className:"pr-6 navitem"},r.createElement(ue,{href:"/blog/",label:(0,s.I)({id:"theme.text.blog",message:"Blog"}),matchPath:"/blog"})),r.createElement("li",{className:"pr-6"},r.createElement(fe,{labelNode:r.createElement("div",{className:"cursor-pointer hover:text-brand-cyan p-[6px]"},(0,s.I)({id:"theme.text.community",message:"Community"})),description:r.createElement(r.Fragment,null,r.createElement("div",{className:"pb-4"},(0,s.I)({id:"theme.navbar.communityinfo",message:"Join XCharts's Community."})),r.createElement("a",{href:"https://github.com/XCharts-Team/XCharts",className:"text-h4 flex justify-between items-center text-black hover:text-white"},(0,s.I)({id:"theme.text.learnmore",message:"Learn more"}),r.createElement(V,null))),label:(0,s.I)({id:"theme.text.community",message:"Community"}),items:Ue})),r.createElement("li",{className:"mr-4"},r.createElement(be,null)),r.createElement("li",{className:"mr-4"},r.createElement(me,null)),r.createElement("li",{className:"mr-4"},r.createElement(B,{checked:t.isDarkTheme,onChange:t.toggle}))),r.createElement("div",{className:"inline-block desktop:hidden cursor-pointer",onClick:n.toggle},r.createElement(Ne,null)),r.createElement("div",{role:"presentation",className:"navbar-sidebar__backdrop",onClick:n.toggle}),n.shouldRender&&r.createElement(ze,{sidebarShown:n.shown,toggleSidebar:n.toggle}))},qe=n(44996);var He="iconExternalLink_g3rB";var Ze,Ve=function(e){var t=e.width,n=void 0===t?16:t,a=e.height,o=void 0===a?16:a;return r.createElement("svg",{width:n,height:o,"aria-hidden":"true",viewBox:"0 0 24 24",className:He},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.82353 6.88235C5.57391 6.88235 5.33452 6.98151 5.15802 7.15802C4.98151 7.33452 4.88235 7.57391 4.88235 7.82353V18.1765C4.88235 18.4261 4.98151 18.6655 5.15802 18.842C5.33452 19.0185 5.57391 19.1176 5.82353 19.1176H16.1765C16.4261 19.1176 16.6655 19.0185 16.842 18.842C17.0185 18.6655 17.1176 18.4261 17.1176 18.1765V12.5294C17.1176 12.0096 17.539 11.5882 18.0588 11.5882C18.5786 11.5882 19 12.0096 19 12.5294V18.1765C19 18.9253 18.7025 19.6435 18.173 20.173C17.6435 20.7025 16.9253 21 16.1765 21H5.82353C5.07468 21 4.35651 20.7025 3.82699 20.173C3.29748 19.6435 3 18.9253 3 18.1765V7.82353C3 7.07468 3.29748 6.35651 3.82699 5.82699C4.35651 5.29748 5.07468 5 5.82353 5H11.4706C11.9904 5 12.4118 5.42138 12.4118 5.94118C12.4118 6.46097 11.9904 6.88235 11.4706 6.88235H5.82353Z",fill:"currentColor"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 3.875C14 3.39175 14.3918 3 14.875 3H20.125C20.6082 3 21 3.39175 21 3.875V9.125C21 9.60825 20.6082 10 20.125 10C19.6418 10 19.25 9.60825 19.25 9.125V4.75H14.875C14.3918 4.75 14 4.35825 14 3.875Z",fill:"currentColor"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.7522 3.24783C21.0826 3.57828 21.0826 4.11403 20.7522 4.44448L11.4445 13.7522C11.114 14.0826 10.5783 14.0826 10.2478 13.7522C9.91739 13.4217 9.91739 12.886 10.2478 12.5555L19.5555 3.24783C19.886 2.91739 20.4217 2.91739 20.7522 3.24783Z",fill:"currentColor"}))},Ge=n(51320),We=["title","titleId"];function Xe(){return(Xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ye(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Ke,Qe=function(e){var t=e.title,n=e.titleId,a=Ye(e,We);return r.createElement("svg",Xe({width:31,height:24,viewBox:"0 0 31 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,Ze||(Ze=r.createElement("path",{d:"M30.821 9.272v8.5a2.319 2.319 0 0 1-2.318 2.318h-.772v3.09a.774.774 0 0 1-1.268.595l-4.421-3.685h-7.447a2.32 2.32 0 0 1-2.318-2.318V17h7.727a3.867 3.867 0 0 0 3.863-3.863V6.955h4.636a2.32 2.32 0 0 1 2.318 2.318Zm-10.817 6.182H9.542l-4.405 5.138a.772.772 0 0 1-1.359-.502v-4.636h-.773a2.32 2.32 0 0 1-2.318-2.318V2.318A2.32 2.32 0 0 1 3.005 0h17a2.32 2.32 0 0 1 2.317 2.318v10.818a2.32 2.32 0 0 1-2.318 2.318Zm-2.318-6.181a.773.773 0 0 0-.773-.773H6.096a.773.773 0 0 0 0 1.545h10.817a.773.773 0 0 0 .773-.773Zm0-3.864a.773.773 0 0 0-.773-.773H6.096a.773.773 0 0 0 0 1.546h10.817a.773.773 0 0 0 .773-.773Z",fill:"currentColor"})))},Je=["title","titleId"];function et(){return(et=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function tt(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var nt=function(e){var t=e.title,n=e.titleId,a=tt(e,Je);return r.createElement("svg",et({width:27,height:27,viewBox:"0 0 27 27",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,Ke||(Ke=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.058 0C5.843 0 0 5.991 0 13.388c0 5.925 3.738 10.929 8.928 12.702.653.118.898-.284.898-.635 0-.318-.016-1.373-.016-2.494-3.281.62-4.13-.82-4.39-1.573-.148-.385-.784-1.573-1.34-1.891-.456-.251-1.11-.87-.016-.887 1.029-.017 1.763.97 2.008 1.372 1.175 2.025 3.052 1.456 3.803 1.105.114-.87.457-1.456.833-1.791-2.906-.335-5.942-1.49-5.942-6.61 0-1.457.506-2.662 1.339-3.599-.131-.334-.588-1.707.13-3.548 0 0 1.094-.351 3.591 1.373a11.837 11.837 0 0 1 3.265-.452c1.11 0 2.22.15 3.264.452 2.497-1.74 3.591-1.373 3.591-1.373.718 1.841.261 3.214.13 3.548.833.938 1.34 2.126 1.34 3.598 0 5.138-3.053 6.276-5.959 6.61.474.42.882 1.223.882 2.478 0 1.79-.016 3.23-.016 3.682 0 .351.244.77.897.636a13.11 13.11 0 0 0 6.44-4.885 13.642 13.642 0 0 0 2.456-7.818C26.116 5.991 20.273 0 13.058 0Z",fill:"currentColor"})))};function rt(){return r.createElement("div",null,r.createElement("div",{className:"text-caption mb-1"},(0,s.I)({id:"theme.subscription.title",message:"Subscription"})),r.createElement("div",{className:"w-full mb-2"},r.createElement(Ge.Z,{mode:"dark"})),r.createElement("div",{className:"flex justify-end space-x-6"},r.createElement("a",{href:"https://github.com/XCharts-Team/XCharts/discussions",target:"_blank"},r.createElement(Qe,{width:32,height:32})),r.createElement("a",{href:"https://github.com/XCharts-Team/XCharts",target:"_blank"},r.createElement(nt,{width:32,height:32}))))}function at(){var e=(0,l.LU)().footer;if(!e)return null;var t=(e||{}).copyright,n=(0,G.Z)().siteConfig.customFields.blogUrl;return r.createElement("footer",{className:"bg-grey-4 dark:bg-grey-0 text-white"},r.createElement("div",{className:"mx-auto my-6 desktop:mt-1 desktop:mb-1 px-1 max-w-docmain"},r.createElement("div",{className:"mt-4 flex justify-between flex-wrap mb-1"},r.createElement("div",{className:"flex-1"},r.createElement("div",{className:"desktop:w-10/12 flex flex-wrap mb-2"},r.createElement("div",{className:"flex flex-col flex-1 min-w-[9rem]"},r.createElement("h5",{className:"font-bold mb-3"},(0,s.I)({id:"theme.text.resources",message:"Resources"})),r.createElement("div",{className:"flex flex-col space-y-2"},r.createElement(se.Z,{href:n},(0,s.I)({id:"theme.text.blog",message:"Blogs"})),r.createElement(se.Z,{href:"/newsletter"},(0,s.I)({id:"theme.text.newsletters",message:"Newsletters"})))),r.createElement("div",{className:"flex flex-col flex-1 min-w-[9rem] mb-2"},r.createElement("h5",{className:"font-bold mb-3"},(0,s.I)({id:"theme.text.community",message:"Community"})),r.createElement("div",{className:"flex flex-col space-y-2"},r.createElement(se.Z,{href:"https://github.com/XCharts-Team/XCharts/discussions"},"Global Forum"),r.createElement("div",{className:"relative group"},r.createElement("span",{className:"cursor-pointer"},(0,s.I)({id:"theme.text.qq",message:"QQ Group: 202030963"})),r.createElement("div",{className:"hidden group-hover:block absolute bottom-8"})))),r.createElement("div",{className:"flex flex-col flex-1 min-w-[9rem] mb-4"},r.createElement("h5",{className:"font-bold mb-3"},"LEGAL"),r.createElement("div",{className:"flex flex-col space-y-2"},r.createElement(se.Z,{href:"https://github.com/XCharts-Team/XCharts"},"Cookie Policy ",r.createElement(Ve,null)),r.createElement(se.Z,{href:"https://github.com/XCharts-Team/XCharts"},"Privacy Policy ",r.createElement(Ve,null)))))),r.createElement("div",{className:"desktop:w-[328px] w-full"},r.createElement(rt,null))),r.createElement("div",{className:"inline-block desktop:hidden text-caption text-dark-grey-3 desktop:w-[328px]"},t)))}var ot=r.memo(at),it=n(82274),st=n(12859);var lt=function(e){var t=e.locale,n=e.version,a=e.tag,o=e.category,i=t;return r.createElement(st.Z,null,i&&r.createElement("meta",{name:"docsearch:language",content:i}),n&&r.createElement("meta",{name:"docsearch:version",content:n}),a&&r.createElement("meta",{name:"docsearch:docusaurus_tag",content:a}),o&&r.createElement("meta",{name:"docsearch:category",content:o}))},ct=n(41217);function ut(){var e=(0,G.Z)().i18n,t=e.defaultLocale,n=e.localeConfigs,a=(0,l.l5)();return r.createElement(st.Z,null,Object.entries(n).map((function(e){var t=e[0],n=e[1].htmlLang;return r.createElement("link",{key:t,rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:n})})),r.createElement("link",{rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}))}function dt(e){var t=e.permalink,n=(0,G.Z)().siteConfig.url,a=function(){var e=(0,G.Z)().siteConfig.url,t=(0,i.TH)().pathname;return e+(0,qe.Z)(t)}(),o=t?""+n+t:a;return r.createElement(st.Z,null,r.createElement("meta",{property:"og:url",content:o}),r.createElement("link",{rel:"canonical",href:o}))}function ft(e){var t=(0,G.Z)(),n=t.siteConfig.favicon,a=t.i18n,o=a.currentLocale,i=a.localeConfigs,s=(0,l.LU)(),c=s.metadata,u=s.image,d=e.title,p=e.description,g=e.image,m=e.keywords,b=e.searchMetadata,h=(0,qe.Z)(n),v=(0,l.pe)(d),y=i[o],w=y.htmlLang,x=y.direction;return r.createElement(r.Fragment,null,r.createElement(st.Z,null,r.createElement("html",{lang:w,dir:x}),n&&r.createElement("link",{rel:"icon",href:h}),r.createElement("title",null,v),r.createElement("meta",{property:"og:title",content:v}),r.createElement("meta",{name:"twitter:card",content:"summary_large_image"})),u&&r.createElement(ct.Z,{image:u}),g&&r.createElement(ct.Z,{image:g}),r.createElement(ct.Z,{description:p,keywords:m}),r.createElement(dt,null),r.createElement(ut,null),r.createElement(lt,(0,f.Z)({tag:l.HX,locale:o},b)),r.createElement(st.Z,null,c.map((function(e,t){return r.createElement("meta",(0,f.Z)({key:"metadata_"+t},e))}))))}function pt(e){var t=e.error,n=e.tryAgain;return r.createElement("main",{className:"container margin-vert--xl"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col col--6 col--offset-3"},r.createElement("h1",{className:"hero__title"},r.createElement(s.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed"},"This page crashed.")),r.createElement("p",null,t.message),r.createElement("div",null,r.createElement("button",{type:"button",onClick:n},r.createElement(s.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again when the page crashed"},"Try again"))))))}var gt=function(e){var t=e.children,n=e.noFooter,i=e.wrapperClassName,s=e.pageClassName;return(0,l.t$)(),r.createElement(it.Z,null,r.createElement(ft,e),r.createElement(d,null),r.createElement(x,null),r.createElement($e,null),r.createElement("div",{className:(0,a.Z)(l.kM.wrapper.main,i,s)},r.createElement(o.Z,{fallback:pt},t)),!n&&r.createElement(ot,null))}},82274:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294),a=n(72804);function o(e){var t=e.children;return r.createElement(a.SG,null,r.createElement(a.pl,null,r.createElement(a.z5,null,r.createElement(a.OC,null,r.createElement(a.L5,null,r.createElement(a.Cn,null,t))))))}},41217:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(67294),a=n(12859),o=n(72804),i=n(44996);function s(e){var t=e.title,n=e.description,s=e.keywords,l=e.image,c=e.children,u=(0,o.pe)(t),d=(0,i.C)().withBaseUrl,f=l?d(l,{absolute:!0}):void 0;return r.createElement(a.Z,null,t&&r.createElement("title",null,u),t&&r.createElement("meta",{property:"og:title",content:u}),n&&r.createElement("meta",{name:"description",content:n}),n&&r.createElement("meta",{property:"og:description",content:n}),s&&r.createElement("meta",{name:"keywords",content:Array.isArray(s)?s.join(","):s}),f&&r.createElement("meta",{property:"og:image",content:f}),f&&r.createElement("meta",{name:"twitter:image",content:f}),c)}},40467:function(e,t,n){"use strict";n.r(t);var r=n(10412),a=n(99782);t.default=function(e){if(r.default.canUseDOM){var t=a.default.themeConfig.prism.additionalLanguages;window.Prism=e,t.forEach((function(e){n(91778)("./prism-"+e)})),delete window.Prism}}},72448:function(e,t,n){"use strict";var r=a(n(87410));function a(e){return e&&e.__esModule?e:{default:e}}(0,a(n(40467)).default)(r.default)},72804:function(e,t,n){"use strict";n.d(t,{pl:function(){return he},zF:function(){return J},SG:function(){return Fe},HX:function(){return h},PO:function(){return le},D_:function(){return s},L5:function(){return p.L},bT:function(){return A.bT},qu:function(){return A.qu},Cn:function(){return ue},OC:function(){return Ce},z5:function(){return $e},kM:function(){return de},os:function(){return v},_F:function(){return A._F},Fx:function(){return Le},PZ:function(){return xe},bc:function(){return T},Vo:function(){return O},nZ:function(){return L},MA:function(){return we},l5:function(){return d},nT:function(){return ve},uR:function(){return Z},If:function(){return Ue},_q:function(){return y},J:function(){return m},Vq:function(){return A.Vq},E6:function(){return A.E6},ed:function(){return U},Rb:function(){return Se},t$:function(){return qe},SL:function(){return B},Ni:function(){return Ve},c2:function(){return D},pJ:function(){return Ze},RF:function(){return Oe},Ob:function(){return Qe},DA:function(){return Ee},LU:function(){return r.L},pe:function(){return M},iP:function(){return Ke}});var r=n(86668),a=n(67294),o=Symbol("EmptyContext"),i=a.createContext(o);function s(e){var t=e.children,n=(0,a.useState)(null),r=n[0],o=n[1],s=(0,a.useMemo)((function(){return{expandedItem:r,setExpandedItem:o}}),[r]);return a.createElement(i.Provider,{value:s},t)}var l=n(50012),c=n(52263),u=n(76775);function d(){var e=(0,c.Z)(),t=e.siteConfig,n=t.baseUrl,r=t.url,a=e.i18n,o=a.defaultLocale,i=a.currentLocale,s=(0,u.TH)().pathname,l=i===o?n:n.replace("/"+i+"/","/"),d=s.replace(n,"");return{createUrl:function(e){var t=e.locale;return""+(e.fullyQualified?r:"")+function(e){return e===o?""+l:""+l+e+"/"}(t)+d}}}var f=n(65551),p=n(67160),g=n(29935);function m(e){void 0===e&&(e=g.m);var t=(0,f.useDocsData)(e),n=(0,p.W)(),r=n[0],o=n[1],i=r[e].preferredVersionName;return{preferredVersion:i?t.versions.find((function(e){return e.name===i})):null,savePreferredVersionName:(0,a.useCallback)((function(t){o.savePreferredVersion(e,t)}),[o,e])}}function b(){var e=(0,f.useAllDocsData)(),t=(0,p.W)()[0];var n=Object.keys(e),r={};return n.forEach((function(n){r[n]=function(n){var r=e[n],a=t[n].preferredVersionName;return a?r.versions.find((function(e){return e.name===a})):null}(n)})),r}var h="default";function v(e,t){return"docs-"+e+"-"+t}function y(){var e=(0,c.Z)().i18n,t=(0,f.useAllDocsData)(),n=(0,f.useActivePluginAndVersion)(),r=b();var a=[h].concat(Object.keys(t).map((function(e){var a,o,i=(null===(a=null==n?void 0:n.activePlugin)||void 0===a?void 0:a.pluginId)===e?n.activeVersion:void 0,s=r[e],l=t[e].versions.find((function(e){return e.isLast}));return v(e,(null!==(o=null!=i?i:s)&&void 0!==o?o:l).name)})));return{locale:e.currentLocale,tags:a}}var w=n(87594),x=n.n(w),S=/title=(["'])(.*?)\1/,k=/{([\d,-]+)}/,E=["js","jsBlock","jsx","python","html"],_={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},python:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},C=["highlight-next-line","highlight-start","highlight-end"],P=function(e){void 0===e&&(e=E);var t=e.map((function(e){var t=_[e],n=t.start,r=t.end;return"(?:"+n+"\\s*("+C.join("|")+")\\s*"+r+")"})).join("|");return new RegExp("^\\s*(?:"+t+")\\s*$")};function T(e){var t,n;return null!==(n=null===(t=null==e?void 0:e.match(S))||void 0===t?void 0:t[2])&&void 0!==n?n:""}function O(e){var t=e.split(" ").find((function(e){return e.startsWith("language-")}));return null==t?void 0:t.replace(/language-/,"")}function L(e,t,n){var r=e.replace(/\n$/,"");if(t&&k.test(t)){var a=t.match(k)[1];return{highlightLines:x()(a).filter((function(e){return e>0})).map((function(e){return e-1})),code:r}}if(void 0===n)return{highlightLines:[],code:r};for(var o,i=function(e){switch(e){case"js":case"javascript":case"ts":case"typescript":return P(["js","jsBlock"]);case"jsx":case"tsx":return P(["js","jsBlock","jsx"]);case"html":return P(["js","jsBlock","html"]);case"python":case"py":return P(["python"]);default:return P()}}(n),s=r.split("\n"),l="",c=0;c<s.length;){var u=s[c].match(i);if(null!==u){switch(u.slice(1).find((function(e){return void 0!==e}))){case"highlight-next-line":l+=c+",";break;case"highlight-start":o=c;break;case"highlight-end":l+=o+"-"+(c-1)+","}s.splice(c,1)}else c+=1}return{highlightLines:x()(l),code:r=s.join("\n")}}var A=n(67136),M=function(e){var t=(0,c.Z)().siteConfig,n=t.title,r=t.titleDelimiter;return e&&e.trim().length?e.trim()+" "+r+" "+n:n},N=["zero","one","two","few","many","other"];function j(e){return N.filter((function(t){return e.includes(t)}))}var R={locale:"en",pluralForms:j(["one","other"]),select:function(e){return 1===e?"one":"other"}};function I(){var e=(0,c.Z)().i18n.currentLocale;return(0,a.useMemo)((function(){if(!Intl.PluralRules)return console.error("Intl.PluralRules not available!\nDocusaurus will fallback to a default/fallback (English) Intl.PluralRules implementation.\n "),R;try{return t=e,n=new Intl.PluralRules(t),{locale:t,pluralForms:j(n.resolvedOptions().pluralCategories),select:function(e){return n.select(e)}}}catch(r){return console.error('Failed to use Intl.PluralRules for locale "'+e+'".\nDocusaurus will fallback to a default/fallback (English) Intl.PluralRules implementation.\n'),R}var t,n}),[e])}function D(){var e=I();return{selectMessage:function(t,n){return function(e,t,n){var r=e.split("|");if(1===r.length)return r[0];r.length>n.pluralForms.length&&console.error("For locale="+n.locale+", a maximum of "+n.pluralForms.length+" plural forms are expected ("+n.pluralForms+"), but the message contains "+r.length+" plural forms: "+e+" ");var a=n.select(t),o=n.pluralForms.indexOf(a);return r[Math.min(o,r.length-1)]}(n,t,e)}}}var F="undefined"!=typeof window?a.useLayoutEffect:a.useEffect;function U(e){var t=(0,a.useRef)(e);return F((function(){t.current=e}),[e]),(0,a.useCallback)((function(){return t.current.apply(t,arguments)}),[])}function B(e){var t,n,r=(0,u.TH)(),o=(t=r,n=(0,a.useRef)(),F((function(){n.current=t})),n.current),i=U(e);(0,a.useEffect)((function(){r!==o&&i({location:r,previousLocation:o})}),[i,r,o])}var z=n(80102),$=n(10412),q=["collapsed"],H=["lazy"];function Z(e){var t=e.initialState,n=(0,a.useState)(null!=t&&t),r=n[0],o=n[1],i=(0,a.useCallback)((function(){o((function(e){return!e}))}),[]);return{collapsed:r,setCollapsed:o,toggleCollapsed:i}}var V={display:"none",overflow:"hidden",height:"0px"},G={display:"block",overflow:"visible",height:"auto"};function W(e,t){var n=t?V:G;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function X(e){var t=e.collapsibleRef,n=e.collapsed,r=e.animation,o=(0,a.useRef)(!1);(0,a.useEffect)((function(){var e,a=t.current;function i(){var e,t,n=a.scrollHeight;return{transition:"height "+(null!==(e=null==r?void 0:r.duration)&&void 0!==e?e:function(e){var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}(n))+"ms "+(null!==(t=null==r?void 0:r.easing)&&void 0!==t?t:"ease-in-out"),height:n+"px"}}function s(){var e=i();a.style.transition=e.transition,a.style.height=e.height}if(!o.current)return W(a,n),void(o.current=!0);return a.style.willChange="height",e=requestAnimationFrame((function(){n?(s(),requestAnimationFrame((function(){a.style.height=V.height,a.style.overflow=V.overflow}))):(a.style.display="block",requestAnimationFrame((function(){s()})))})),function(){return cancelAnimationFrame(e)}}),[t,n,r])}function Y(e){if(!$.default.canUseDOM)return e?V:G}function K(e){var t=e.as,n=void 0===t?"div":t,r=e.collapsed,o=e.children,i=e.animation,s=e.onCollapseTransitionEnd,l=e.className,c=e.disableSSRStyle,u=(0,a.useRef)(null);return X({collapsibleRef:u,collapsed:r,animation:i}),a.createElement(n,{ref:u,style:c?void 0:Y(r),onTransitionEnd:function(e){"height"===e.propertyName&&(W(u.current,r),null==s||s(r))},className:l},o)}function Q(e){var t=e.collapsed,n=(0,z.Z)(e,q),r=(0,a.useState)(!t),o=r[0],i=r[1];(0,a.useLayoutEffect)((function(){t||i(!0)}),[t]);var s=(0,a.useState)(t),l=s[0],c=s[1];return(0,a.useLayoutEffect)((function(){o&&c(t)}),[o,t]),o?a.createElement(K,Object.assign({},n,{collapsed:l})):null}function J(e){var t=e.lazy,n=(0,z.Z)(e,H),r=t?Q:K;return a.createElement(r,Object.assign({},n))}var ee=n(72389),te=n(86010),ne="details_lb9f",re="isBrowser_bmU9",ae="collapsibleContent_i85q",oe=["summary","children"];function ie(e){return!!e&&("SUMMARY"===e.tagName||ie(e.parentElement))}function se(e,t){return!!e&&(e===t||se(e.parentElement,t))}var le=function(e){var t,n=e.summary,r=e.children,o=(0,z.Z)(e,oe),i=(0,ee.Z)(),s=(0,a.useRef)(null),l=Z({initialState:!o.open}),c=l.collapsed,u=l.setCollapsed,d=(0,a.useState)(o.open),f=d[0],p=d[1];return a.createElement("details",Object.assign({},o,{ref:s,open:f,"data-collapsed":c,className:(0,te.Z)(ne,(t={},t[re]=i,t),o.className),onMouseDown:function(e){ie(e.target)&&e.detail>1&&e.preventDefault()},onClick:function(e){e.stopPropagation();var t=e.target;ie(t)&&se(t,s.current)&&(e.preventDefault(),c?(u(!1),p(!0)):u(!0))}}),n,a.createElement(J,{lazy:!1,collapsed:c,disableSSRStyle:!0,onCollapseTransitionEnd:function(e){u(e),p(!e)}},a.createElement("div",{className:ae},r)))};var ce=(0,a.createContext)(null);function ue(e){var t=e.children;return a.createElement(ce.Provider,{value:(0,a.useState)(null)},t)}var de={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block"},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:function(e){return"theme-doc-sidebar-item-category-level-"+e},docSidebarItemLinkLevel:function(e){return"theme-doc-sidebar-item-link-level-"+e}},blog:{}},fe=(0,l.W)("docusaurus.announcement.dismiss"),pe=(0,l.W)("docusaurus.announcement.id"),ge=function(){return"true"===fe.get()},me=function(e){return fe.set(String(e))},be=(0,a.createContext)(null);function he(e){var t=e.children,n=function(){var e=(0,r.L)().announcementBar,t=(0,ee.Z)(),n=(0,a.useState)((function(){return!!t&&ge()})),o=n[0],i=n[1];(0,a.useEffect)((function(){i(ge())}),[]);var s=(0,a.useCallback)((function(){me(!0),i(!0)}),[]);return(0,a.useEffect)((function(){if(e){var t=e.id,n=pe.get();"annoucement-bar"===n&&(n="announcement-bar");var r=t!==n;pe.set(t),r&&me(!1),!r&&ge()||i(!1)}}),[e]),(0,a.useMemo)((function(){return{isActive:!!e&&!o,close:s}}),[e,o,s])}();return a.createElement(be.Provider,{value:n},t)}var ve=function(){var e=(0,a.useContext)(be);if(!e)throw new Error("useAnnouncementBar(): AnnouncementBar not found in React context: make sure to use the AnnouncementBarProvider on top of the tree");return e};var ye=n(95999),we=function(){return(0,ye.I)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"})};function xe(e){var t={};return Object.values(e).forEach((function(e){var n,r=function(e){return e[0].toUpperCase()}(e.name);t[r]=null!==(n=t[r])&&void 0!==n?n:[],t[r].push(e)})),Object.entries(t).sort((function(e,t){var n=e[0],r=t[0];return n.localeCompare(r)})).map((function(e){return{letter:e[0],tags:e[1].sort((function(e,t){return e.name.localeCompare(t.name)}))}}))}function Se(e){!function(e){var t=(0,u.k6)().block,n=(0,a.useRef)(e);(0,a.useEffect)((function(){n.current=e}),[e]),(0,a.useEffect)((function(){return t((function(e,t){return n.current(e,t)}))}),[t,n])}((function(t,n){if("POP"===n)return e(t,n)}))}function ke(e){var t=e.toc,n=e.minHeadingLevel,r=e.maxHeadingLevel;return t.flatMap((function(e){var t=ke({toc:e.children,minHeadingLevel:n,maxHeadingLevel:r});return function(e){return e.level>=n&&e.level<=r}(e)?[Object.assign({},e,{children:t})]:t}))}function Ee(e){var t=e.toc,n=e.minHeadingLevel,r=e.maxHeadingLevel;return(0,a.useMemo)((function(){return ke({toc:t,minHeadingLevel:n,maxHeadingLevel:r})}),[t,n,r])}var _e=(0,a.createContext)(void 0);function Ce(e){var t,n=e.children;return a.createElement(_e.Provider,{value:(t=(0,a.useRef)(!0),(0,a.useMemo)((function(){return{scrollEventsEnabledRef:t,enableScrollEvents:function(){t.current=!0},disableScrollEvents:function(){t.current=!1}}}),[]))},n)}function Pe(){var e=(0,a.useContext)(_e);if(null==e)throw new Error('"useScrollController" is used but no context provider was found in the React tree.');return e}var Te=function(){return $.default.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null};function Oe(e,t){void 0===t&&(t=[]);var n=Pe().scrollEventsEnabledRef,r=(0,a.useRef)(Te()),o=U(e);(0,a.useEffect)((function(){var e=function(){if(n.current){var e=Te();o&&o(e,r.current),r.current=e}},t={passive:!0};return e(),window.addEventListener("scroll",e,t),function(){return window.removeEventListener("scroll",e,t)}}),[o,n].concat(t))}function Le(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var Ae=(0,l.W)("theme"),Me="light",Ne="dark",je=function(e){return e===Ne?Ne:Me},Re=function(e){(0,l.W)("theme").set(je(e))};function Ie(){var e=(0,r.L)().colorMode,t=e.defaultMode,n=e.disableSwitch,o=e.respectPrefersColorScheme,i=(0,a.useState)(function(e){return $.default.canUseDOM?je(document.documentElement.getAttribute("data-theme")):je(e)}(t)),s=i[0],l=i[1],c=(0,a.useCallback)((function(){l(Me),Re(Me)}),[]),u=(0,a.useCallback)((function(){l(Ne),Re(Ne)}),[]);return(0,a.useEffect)((function(){document.documentElement.setAttribute("data-theme",je(s))}),[s]),(0,a.useEffect)((function(){if(!n)try{var e=Ae.get();null!==e&&l(je(e))}catch(t){console.error(t)}}),[n,l]),(0,a.useEffect)((function(){n&&!o||window.matchMedia("(prefers-color-scheme: dark)").addListener((function(e){var t=e.matches;l(t?Ne:Me)}))}),[n,o]),{isDarkTheme:s===Ne,setLightTheme:c,setDarkTheme:u}}var De=a.createContext(void 0);function Fe(e){var t=e.children,n=Ie(),r=n.isDarkTheme,o=n.setLightTheme,i=n.setDarkTheme,s=(0,a.useMemo)((function(){return{isDarkTheme:r,setLightTheme:o,setDarkTheme:i}}),[r,o,i]);return a.createElement(De.Provider,{value:s},t)}function Ue(){var e=(0,a.useContext)(De);if(null==e)throw new Error('"useColorMode()" is used outside of "Layout" component. Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.');return e}var Be="docusaurus.tab.",ze=(0,a.createContext)(void 0);function $e(e){var t=e.children,n=function(){var e=(0,a.useState)({}),t=e[0],n=e[1],r=(0,a.useCallback)((function(e,t){(0,l.W)("docusaurus.tab."+e).set(t)}),[]);return(0,a.useEffect)((function(){try{var e={};(0,l._)().forEach((function(t){if(t.startsWith(Be)){var n=t.substring(Be.length);e[n]=(0,l.W)(t).get()}})),n(e)}catch(t){console.error(t)}}),[]),{tabGroupChoices:t,setTabGroupChoices:function(e,t){n((function(n){var r;return Object.assign({},n,((r={})[e]=t,r))})),r(e,t)}}}(),r=n.tabGroupChoices,o=n.setTabGroupChoices,i=(0,a.useMemo)((function(){return{tabGroupChoices:r,setTabGroupChoices:o}}),[r,o]);return a.createElement(ze.Provider,{value:i},t)}function qe(){(0,a.useEffect)((function(){var e="navigation-with-keyboard";function t(t){"keydown"===t.type&&"Tab"===t.key&&document.body.classList.add(e),"mousedown"===t.type&&document.body.classList.remove(e)}return document.addEventListener("keydown",t),document.addEventListener("mousedown",t),function(){document.body.classList.remove(e),document.removeEventListener("keydown",t),document.removeEventListener("mousedown",t)}}),[])}var He={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]};function Ze(){var e=(0,r.L)().prism,t=Ue().isDarkTheme,n=e.theme||He,a=e.darkTheme||n;return t?a:n}function Ve(e){void 0===e&&(e=!0),(0,a.useEffect)((function(){return document.body.style.overflow=e?"hidden":"visible",function(){document.body.style.overflow="visible"}}),[e])}var Ge="desktop",We="mobile",Xe="ssr";function Ye(){return $.default.canUseDOM?window.innerWidth>996?Ge:We:Xe}function Ke(){var e=(0,a.useState)((function(){return Ye()})),t=e[0],n=e[1];return(0,a.useEffect)((function(){function e(){n(Ye())}return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e),clearTimeout(undefined)}}),[]),t}function Qe(){var e=(0,u.k6)(),t=(0,c.Z)().siteConfig.baseUrl,n=(0,a.useState)(""),r=n[0],o=n[1];return(0,a.useEffect)((function(){var e,t=null!==(e=new URLSearchParams(window.location.search).get("q"))&&void 0!==e?e:"";o(t)}),[]),{searchQuery:r,setSearchQuery:(0,a.useCallback)((function(t){var n=new URLSearchParams(window.location.search);t?n.set("q",t):n.delete("q"),e.replace({search:n.toString()}),o(t)}),[e]),generateSearchPageLink:(0,a.useCallback)((function(e){return t+"search?q="+encodeURIComponent(e)}),[t])}}},67160:function(e,t,n){"use strict";n.d(t,{L:function(){return p},W:function(){return m}});var r=n(67294),a=n(86668),o=n(67136),i=n(65551),s=n(50012),l=function(e){return"docs-preferred-version-"+e},c={save:function(e,t,n){(0,s.W)(l(e),{persistence:t}).set(n)},read:function(e,t){return(0,s.W)(l(e),{persistence:t}).get()},clear:function(e,t){(0,s.W)(l(e),{persistence:t}).del()}};function u(e){var t=e.pluginIds,n=e.versionPersistence,r=e.allDocsData;var a={};return t.forEach((function(e){a[e]=function(e){var t=c.read(e,n);return r[e].versions.some((function(e){return e.name===t}))?{preferredVersionName:t}:(c.clear(e,n),{preferredVersionName:null})}(e)})),a}function d(){var e=(0,i.useAllDocsData)(),t=(0,a.L)().docs.versionPersistence,n=(0,r.useMemo)((function(){return Object.keys(e)}),[e]),o=(0,r.useState)((function(){return function(e){var t={};return e.forEach((function(e){t[e]={preferredVersionName:null}})),t}(n)})),s=o[0],l=o[1];return(0,r.useEffect)((function(){l(u({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]),[s,(0,r.useMemo)((function(){return{savePreferredVersion:function(e,n){c.save(e,t,n),l((function(t){var r;return Object.assign({},t,((r={})[e]={preferredVersionName:n},r))}))}}}),[t])]}var f=(0,r.createContext)(null);function p(e){var t=e.children;return o.cE?r.createElement(g,null,t):t}function g(e){var t=e.children,n=d();return r.createElement(f.Provider,{value:n},t)}function m(){var e=(0,r.useContext)(f);if(!e)throw new Error('Can\'t find docs preferred context, maybe you forgot to use the "DocsPreferredVersionContextProvider"?');return e}},67136:function(e,t,n){"use strict";n.d(t,{bT:function(){return d},qu:function(){return l},_F:function(){return p},cE:function(){return o},Vq:function(){return f},E6:function(){return c}});var r=n(67294),a=n(65551),o=!!a.useAllDocsData,i=Symbol("EmptyContext"),s=(0,r.createContext)(i);function l(e){var t=e.children,n=e.version;return r.createElement(s.Provider,{value:n},t)}function c(){var e=(0,r.useContext)(s);if(e===i)throw new Error("This hook requires usage of <DocsVersionProvider>");return e}var u=(0,r.createContext)(i);function d(e){var t=e.children,n=e.sidebar;return r.createElement(u.Provider,{value:n},t)}function f(){var e=(0,r.useContext)(u);if(e===i)throw new Error("This hook requires usage of <DocsSidebarProvider>");return e}function p(e,t){var n=function(e){return void 0!==e&&(n=t,(r=function(e){return!e||(null==e?void 0:e.endsWith("/"))?e:e+"/"})(e)===r(n));var n,r};return"link"===e.type?n(e.href):"category"===e.type&&(n(e.href)||function(e,t){return e.some((function(e){return p(e,t)}))}(e.items,t))}},50012:function(e,t,n){"use strict";n.d(t,{W:function(){return s},_:function(){return l}});var r="localStorage";function a(e){if(void 0===e&&(e=r),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,o||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),o=!0),null}var t}var o=!1;var i={get:function(){return null},set:function(){},del:function(){}};var s=function(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error('Illegal storage API usage for storage key "'+e+'".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.')}return{get:t,set:t,del:t}}(e);var n=a(null==t?void 0:t.persistence);return null===n?i:{get:function(){try{return n.getItem(e)}catch(t){return console.error("Docusaurus storage error, can't get key="+e,t),null}},set:function(t){try{n.setItem(e,t)}catch(r){console.error("Docusaurus storage error, can't set "+e+"="+t,r)}},del:function(){try{n.removeItem(e)}catch(t){console.error("Docusaurus storage error, can't delete key="+e,t)}}}};function l(e){void 0===e&&(e=r);var t=a(e);if(!t)return[];for(var n=[],o=0;o<t.length;o+=1){var i=t.key(o);null!==i&&n.push(i)}return n}},86668:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r=n(52263);function a(){return(0,r.Z)().siteConfig.themeConfig}},8802:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t.trailingSlash,r=t.baseUrl;if(e.startsWith("#"))return e;if(void 0===n)return e;var a,o=e.split(/[#?]/)[0],i="/"===o||o===r?o:(a=o,n?function(e){return e.endsWith("/")?e:e+"/"}(a):function(e){return e.endsWith("/")?e.slice(0,-1):e}(a));return e.replace(o,i)}},18780:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="post-content";var a=n(8802);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}})},51320:function(e,t,n){"use strict";var r=n(67294),a=n(95999),o=n(70365),i=n.n(o),s=n(86010),l=/^[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/,c=function(e){if(!e)return!1;var t=e.split("@");if(2!==t.length)return!1;var n=t[0],r=t[1];return!(n.length>64)&&(!(r.length>255)&&!!l.test(e))};t.Z=function(e){var t=(0,r.useState)(""),n=t[0],o=t[1],l=(0,r.useState)(""),u=(l[0],l[1]),d=(0,r.useState)(!1),f=d[0],p=d[1],g=(0,r.useState)(!1),m=g[0],b=g[1];return r.createElement("div",{className:"flex"},r.createElement("input",{className:(0,s.Z)("flex-1 w-0 border outline-0 rounded-l-sm py-2 px-4 focus:border-brand-cyan","dark"===e.mode?"bg-dark-grey-0 text-dark-grey-4 border-dark-grey-2":"bg-grey-0 text-grey-4"),placeholder:(0,a.I)({id:"theme.subscription.email",message:"Email address"}),value:n,disabled:m,onChange:function(e){return t=e.target.value,o(t),void(c(n)&&u(""));var t}}),r.createElement("button",{disabled:f,className:"bg-brand-cyan py-2 px-3 rounded-r-sm font-bold text-white hover:bg-brand-cyan-dark disabled:bg-grey-3",onClick:function(){var e,t,r;c(n)?(p(!0),(e="https://xcharts-lang.us14.list-manage.com/subscribe/post-json?u=4e92b5a2a6c075ad83eb4709d&id=40276d4c2b&EMAIL="+n,t={timeout:3e4},r=t.timeout,new Promise((function(t,n){return i()(e,{timeout:r,param:"c"},(function(e,r){e?n(e):t(r)}))}))).then((function(){u(""),b(!0)})).catch((function(){p(!1),u("Subscribe failed. Please retry!")}))):u("Your email address is incorrect!")}},m?(0,a.I)({id:"theme.subscription.subscribed",message:"Subscribed"}):(0,a.I)({id:"theme.subscription.subscribe",message:"Subscribe"})))}},14047:function(e,t,n){"use strict";var r=n(67294),a=n(72804);t.Z=function(){var e=(0,a.iP)(),t="mobile"===e,n=(0,r.useState)(!1),o=n[0],i=n[1];(0,a.Rb)((function(){if(o)return i(!1),!1}));var s=(0,r.useCallback)((function(){i((function(e){return!e}))}),[]);return(0,r.useEffect)((function(){"desktop"===e&&i(!1)}),[e]),{shouldRender:t,toggle:s,shown:o}}},86010:function(e,t,n){"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n);else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}function a(){for(var e,t,n=0,a="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}n.d(t,{Z:function(){return a}})},42358:function(e,t,n){"use strict";n.d(t,{lX:function(){return k},q_:function(){return O},ob:function(){return m},PP:function(){return A},Ep:function(){return g},Hp:function(){return b}});var r=n(83117);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}var i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],s=e&&a(e),l=t&&a(t),c=s||l;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var u=i[i.length-1];n="."===u||".."===u||""===u}else n=!1;for(var d=0,f=i.length;f>=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!c)for(;d--;d)i.unshift("..");!c||""===i[0]||i[0]&&a(i[0])||i.unshift("");var g=i.join("/");return n&&"/"!==g.substr(-1)&&(g+="/"),g};function s(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var l=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=s(t),a=s(n);return r!==t||a!==n?e(r,a):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},c=n(2177);function u(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function f(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function g(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function m(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function b(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&l(e.state,t.state)}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var v=!("undefined"==typeof window||!window.document||!window.document.createElement);function y(e,t){t(window.confirm(e))}var w="popstate",x="hashchange";function S(){try{return window.history.state||{}}catch(e){return{}}}function k(e){void 0===e&&(e={}),v||(0,c.Z)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,s=i.forceRefresh,l=void 0!==s&&s,d=i.getUserConfirmation,b=void 0===d?y:d,k=i.keyLength,E=void 0===k?6:k,_=e.basename?p(u(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return _&&(o=f(o,_)),m(o,r,n)}function P(){return Math.random().toString(36).substr(2,E)}var T=h();function O(e){(0,r.Z)(z,e),z.length=n.length,T.notifyListeners(z.location,z.action)}function L(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||N(C(e.state))}function A(){N(C(S()))}var M=!1;function N(e){if(M)M=!1,O();else{T.confirmTransitionTo(e,"POP",b,(function(t){t?O({action:"POP",location:e}):function(e){var t=z.location,n=R.indexOf(t.key);-1===n&&(n=0);var r=R.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(M=!0,D(a))}(e)}))}}var j=C(S()),R=[j.key];function I(e){return _+g(e)}function D(e){n.go(e)}var F=0;function U(e){1===(F+=e)&&1===e?(window.addEventListener(w,L),o&&window.addEventListener(x,A)):0===F&&(window.removeEventListener(w,L),o&&window.removeEventListener(x,A))}var B=!1;var z={length:n.length,action:"POP",location:j,createHref:I,push:function(e,t){var r="PUSH",o=m(e,t,P(),z.location);T.confirmTransitionTo(o,r,b,(function(e){if(e){var t=I(o),i=o.key,s=o.state;if(a)if(n.pushState({key:i,state:s},null,t),l)window.location.href=t;else{var c=R.indexOf(z.location.key),u=R.slice(0,c+1);u.push(o.key),R=u,O({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=m(e,t,P(),z.location);T.confirmTransitionTo(o,r,b,(function(e){if(e){var t=I(o),i=o.key,s=o.state;if(a)if(n.replaceState({key:i,state:s},null,t),l)window.location.replace(t);else{var c=R.indexOf(z.location.key);-1!==c&&(R[c]=o.key),O({action:r,location:o})}else window.location.replace(t)}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return B||(U(1),B=!0),function(){return B&&(B=!1,U(-1)),t()}},listen:function(e){var t=T.appendListener(e);return U(1),function(){U(-1),t()}}};return z}var E="hashchange",_={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+d(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:d,decodePath:u},slash:{encodePath:u,decodePath:u}};function C(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function P(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function T(e){window.location.replace(C(window.location.href)+"#"+e)}function O(e){void 0===e&&(e={}),v||(0,c.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),a=n.getUserConfirmation,o=void 0===a?y:a,i=n.hashType,s=void 0===i?"slash":i,l=e.basename?p(u(e.basename)):"",d=_[s],b=d.encodePath,w=d.decodePath;function x(){var e=w(P());return l&&(e=f(e,l)),m(e)}var S=h();function k(e){(0,r.Z)(B,e),B.length=t.length,S.notifyListeners(B.location,B.action)}var O=!1,L=null;function A(){var e,t,n=P(),r=b(n);if(n!==r)T(r);else{var a=x(),i=B.location;if(!O&&(t=a,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(L===g(a))return;L=null,function(e){if(O)O=!1,k();else{var t="POP";S.confirmTransitionTo(e,t,o,(function(n){n?k({action:t,location:e}):function(e){var t=B.location,n=R.lastIndexOf(g(t));-1===n&&(n=0);var r=R.lastIndexOf(g(e));-1===r&&(r=0);var a=n-r;a&&(O=!0,I(a))}(e)}))}}(a)}}var M=P(),N=b(M);M!==N&&T(N);var j=x(),R=[g(j)];function I(e){t.go(e)}var D=0;function F(e){1===(D+=e)&&1===e?window.addEventListener(E,A):0===D&&window.removeEventListener(E,A)}var U=!1;var B={length:t.length,action:"POP",location:j,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=C(window.location.href)),n+"#"+b(l+g(e))},push:function(e,t){var n="PUSH",r=m(e,void 0,void 0,B.location);S.confirmTransitionTo(r,n,o,(function(e){if(e){var t=g(r),a=b(l+t);if(P()!==a){L=t,function(e){window.location.hash=e}(a);var o=R.lastIndexOf(g(B.location)),i=R.slice(0,o+1);i.push(t),R=i,k({action:n,location:r})}else k()}}))},replace:function(e,t){var n="REPLACE",r=m(e,void 0,void 0,B.location);S.confirmTransitionTo(r,n,o,(function(e){if(e){var t=g(r),a=b(l+t);P()!==a&&(L=t,T(a));var o=R.indexOf(g(B.location));-1!==o&&(R[o]=t),k({action:n,location:r})}}))},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var t=S.setPrompt(e);return U||(F(1),U=!0),function(){return U&&(U=!1,F(-1)),t()}},listen:function(e){var t=S.appendListener(e);return F(1),function(){F(-1),t()}}};return B}function L(e,t,n){return Math.min(Math.max(e,t),n)}function A(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,s=void 0===i?0:i,l=t.keyLength,c=void 0===l?6:l,u=h();function d(e){(0,r.Z)(w,e),w.length=w.entries.length,u.notifyListeners(w.location,w.action)}function f(){return Math.random().toString(36).substr(2,c)}var p=L(s,0,o.length-1),b=o.map((function(e){return m(e,void 0,"string"==typeof e?f():e.key||f())})),v=g;function y(e){var t=L(w.index+e,0,w.entries.length-1),r=w.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:b.length,action:"POP",location:b[p],index:p,entries:b,createHref:v,push:function(e,t){var r="PUSH",a=m(e,t,f(),w.location);u.confirmTransitionTo(a,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=m(e,t,f(),w.location);u.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return w}},8679:function(e,t,n){"use strict";var r=n(59864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(g){var a=p(n);a&&a!==g&&e(t,a,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=l(t),m=l(n),b=0;b<i.length;++b){var h=i[b];if(!(o[h]||r&&r[h]||m&&m[h]||s&&s[h])){var v=f(n,h);try{c(t,h,v)}catch(y){}}}}return t}},5826:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},70365:function(e,t,n){var r=n(81445)("jsonp");e.exports=function(e,t,n){"function"==typeof t&&(n=t,t={});t||(t={});var i,s,l=t.prefix||"__jp",c=t.name||l+a++,u=t.param||"callback",d=null!=t.timeout?t.timeout:6e4,f=encodeURIComponent,p=document.getElementsByTagName("script")[0]||document.head;d&&(s=setTimeout((function(){g(),n&&n(new Error("Timeout"))}),d));function g(){i.parentNode&&i.parentNode.removeChild(i),window[c]=o,s&&clearTimeout(s)}return window[c]=function(e){r("jsonp got",e),g(),n&&n(null,e)},e=(e+=(~e.indexOf("?")?"&":"?")+u+"="+f(c)).replace("?&","?"),r('jsonp req "%s"',e),(i=document.createElement("script")).src=e,p.parentNode.insertBefore(i,p),function(){window[c]&&g()}};var a=0;function o(){}},81445:function(e,t,n){function r(){var e;try{e=t.storage.debug}catch(n){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=e.exports=n(84805)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var a=0,o=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(a++,"%c"===e&&(o=a))})),e.splice(o,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(n){}},t.load=r,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},t.enable(r())},84805:function(e,t,n){var r;function a(e){function n(){if(n.enabled){var e=n,a=+new Date,o=a-(r||a);e.diff=o,e.prev=r,e.curr=a,r=a;for(var i=new Array(arguments.length),s=0;s<i.length;s++)i[s]=arguments[s];i[0]=t.coerce(i[0]),"string"!=typeof i[0]&&i.unshift("%O");var l=0;i[0]=i[0].replace(/%([a-zA-Z%])/g,(function(n,r){if("%%"===n)return n;l++;var a=t.formatters[r];if("function"==typeof a){var o=i[l];n=a.call(e,o),i.splice(l,1),l--}return n})),t.formatArgs.call(e,i);var c=n.log||t.log||console.log.bind(console);c.apply(e,i)}}return n.namespace=e,n.enabled=t.enabled(e),n.useColors=t.useColors(),n.color=function(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}(e),"function"==typeof t.init&&t.init(n),n}(t=e.exports=a.debug=a.default=a).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){t.save(e),t.names=[],t.skips=[];for(var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length,a=0;a<r;a++)n[a]&&("-"===(e=n[a].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(20971),t.names=[],t.skips=[],t.formatters={}},20971:function(e){var t=1e3,n=60*t,r=60*n,a=24*r,o=365.25*a;function i(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,s){s=s||{};var l,c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var i=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!i)return;var s=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*o;case"days":case"day":case"d":return s*a;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===c&&!1===isNaN(e))return s.long?i(l=e,a,"day")||i(l,r,"hour")||i(l,n,"minute")||i(l,t,"second")||l+" ms":function(e){if(e>=a)return Math.round(e/a)+"d";if(e>=r)return Math.round(e/r)+"h";if(e>=n)return Math.round(e/n)+"m";if(e>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},14706:function(e,t,n){"use strict";n.r(t)},50905:function(e,t,n){"use strict";n.r(t)},60985:function(e,t,n){"use strict";n.r(t)},74865:function(e,t,n){var r,a;void 0===(a="function"==typeof(r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function a(e,t,n){return e<t?t:e>n?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),c=o.querySelector(r.barSelector),u=r.speed,d=r.easing;return o.offsetWidth,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(c,i(e,u,d)),1===e?(l(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){l(o,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),s=e?"-100":o(n.status||0),c=document.querySelector(r.parent);return l(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&p(a),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function c(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=f(e),r=n+t;c(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);c(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n})?r.call(t,n,t,e):r)||(e.exports=a)},27418:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,o){for(var i,s,l=a(e),c=1;c<arguments.length;c++){for(var u in i=Object(arguments[c]))n.call(i,u)&&(l[u]=i[u]);if(t){s=t(i);for(var d=0;d<s.length;d++)r.call(i,s[d])&&(l[s[d]]=i[s[d]])}}return l}},87594:function(e,t){function n(e){let t,n=[];for(let r of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(r))n.push(parseInt(r,10));else if(t=r.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,r,a,o]=t;if(r&&o){r=parseInt(r),o=parseInt(o);const e=r<o?1:-1;"-"!==a&&".."!==a&&"\u2025"!==a||(o+=e);for(let t=r;t!==o;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},87410:function(e,t,n){"use strict";n.r(t);var r=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(o=r.util.objId(t),n[o])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":return o=r.util.objId(t),n[o]?n[o]:(a=[],n[o]=a,t.forEach((function(t,r){a[r]=e(t,n)})),a);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var s in o)if(o.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(i[l]=n[l]);n.hasOwnProperty(s)||(i[s]=o[s])}var c=a[e];return a[e]=i,r.languages.DFS(r.languages,(function(t,n){n===c&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],a||s);var l=t[s],c=r.util.type(l);"Object"!==c||o[i(l)]?"Array"!==c||o[i(l)]||(o[i(l)]=!0,e(l,n,s,o)):(o[i(l)]=!0,e(l,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};return r.hooks.run("before-tokenize",o),o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var a=new s;return l(a,a.head,e),i(e,a,t,a.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(a)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(e,t,n,s,u,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var p=n[f];p=Array.isArray(p)?p:[p];for(var g=0;g<p.length;++g){if(d&&d.cause==f+","+g)return;var m=p[g],b=m.inside,h=!!m.lookbehind,v=!!m.greedy,y=m.alias;if(v&&!m.pattern.global){var w=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,w+"g")}for(var x=m.pattern||m,S=s.next,k=u;S!==t.tail&&!(d&&k>=d.reach);k+=S.value.length,S=S.next){var E=S.value;if(t.length>e.length)return;if(!(E instanceof a)){var _,C=1;if(v){if(!(_=o(x,k,e,h))||_.index>=e.length)break;var P=_.index,T=_.index+_[0].length,O=k;for(O+=S.value.length;P>=O;)O+=(S=S.next).value.length;if(k=O-=S.value.length,S.value instanceof a)continue;for(var L=S;L!==t.tail&&(O<T||"string"==typeof L.value);L=L.next)C++,O+=L.value.length;C--,E=e.slice(k,O),_.index-=k}else if(!(_=o(x,0,E,h)))continue;P=_.index;var A=_[0],M=E.slice(0,P),N=E.slice(P+A.length),j=k+E.length;d&&j>d.reach&&(d.reach=j);var R=S.prev;if(M&&(R=l(t,R,M),k+=M.length),c(t,R,C),S=l(t,R,new a(f,b?r.tokenize(A,b):A,y,A)),N&&l(t,S,N),C>1){var I={cause:f+","+g,reach:j};i(e,t,n,S.prev,k,I),d&&I.reach>d.reach&&(d.reach=I.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function c(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n)})),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var s="";for(var l in o.attributes)s+=" "+l+'="'+(o.attributes[l]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+s+">"+o.content+"</"+o.tag+">"},r}(),a=r;r.default=r,a.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:a.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:a.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},a.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(e,t){a.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:a.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,i=0;i<a.length;i++)o[a[i]]=e.languages.bash[a[i]];e.languages.shell=e.languages.bash}(a),a.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},a.languages.c=a.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),a.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),a.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},a.languages.c.string],char:a.languages.c.char,comment:a.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:a.languages.c}}}}),a.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete a.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(a),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(a),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(a),a.languages.javascript=a.languages.extend("clike",{"class-name":[a.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:a.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:a.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),a.languages.js=a.languages.javascript,function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return a})),RegExp(e,t)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""},s=function(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],o=!1;if("string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===i(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:i(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var l=i(a);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(l+=i(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=i(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}a.content&&"string"!=typeof a.content&&s(a.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||s(e.tokens)}))}(a),function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a];"RegExp"===e.util.type(o)&&(o=e.languages.javascript[a]={pattern:o});var i=o.inside||{};o.inside=i,i["maybe-class-name"]=/^[A-Z][\s\S]*/}}(a),function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function l(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}function c(t){var n={};n["interpolation-punctuation"]=a;var o=e.tokenize(t,n);if(3===o.length){var i=[1,1];i.push.apply(i,l(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i)}return new e.Token("interpolation",o,r.alias,t)}function u(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),i=0,u={},d=l(a.map((function(e){if("string"==typeof e)return e;for(var n,a=e.content;-1!==t.indexOf(n=s(i++,r)););return u[n]=a,n})).join(""),n,r),f=Object.keys(u);return i=0,function e(t){for(var n=0;n<t.length;n++){if(i>=f.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var a=f[i],o="string"==typeof r?r:r.content,s=o.indexOf(a);if(-1!==s){++i;var l=o.substring(0,s),d=c(u[a]),p=o.substring(s+a.length),g=[];if(l&&g.push(l),g.push(d),p){var m=[p];e(m),g.push.apply(g,m)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(g)),n+=g.length-1):r.content=g}}else{var b=r.content;Array.isArray(b)?e(b):e([b])}}}(d),new e.Token(r,d,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function f(e){return"string"==typeof e?e:Array.isArray(e)?e.map(f).join(""):f(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in d&&function t(n){for(var r=0,a=n.length;r<a;r++){var o=n[r];if("string"!=typeof o){var i=o.content;if(Array.isArray(i))if("template-string"===o.type){var s=i[1];if(3===i.length&&"string"!=typeof s&&"embedded-code"===s.type){var l=f(s),c=s.alias,d=Array.isArray(c)?c[0]:c,p=e.languages[d];if(!p)continue;i[1]=u(l,p,d)}}else t(i);else"string"!=typeof i&&t([i])}}}(t.tokens)}))}(a),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(a),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(a),a.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},a.languages.go=a.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),a.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete a.languages.go["class-name"],a.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:a.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},a.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(d(["definition-mutation","punctuation"])&&"("===u(1).content){n+=2;var o=f(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=u(0);"variable"===i.type&&(p(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===u(0).content&&(n++,p(u(0),"property-mutation"),a.length>0)){var s=f(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l<s;l++){var c=t[l];"variable"===c.type&&a.indexOf(c.content)>=0&&p(c,"variable-input")}}}}function u(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=u(n+t);if(!r||r.type!==e[n])return!1}return!0}function f(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],s=i.content;if("punctuation"===i.type&&"string"==typeof s)if(e.test(s))a++;else if(r.test(s)&&0===--a)return o}return-1}function p(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,s=i.length;-1!==n.code.indexOf(a=t(r,s));)++s;return i[s]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(s){for(var l=0;l<s.length&&!(a>=o.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=o[a],d=n.tokenStack[u],f="string"==typeof c?c:c.content,p=t(r,u),g=f.indexOf(p);if(g>-1){++a;var m=f.substring(0,g),b=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),h=f.substring(g+p.length),v=[];m&&v.push.apply(v,i([m])),v.push(b),h&&v.push.apply(v,i([h])),"string"==typeof c?s.splice.apply(s,[l,1].concat(v)):c.content=v}}else c.content&&i(c.content)}return s}(n.tokens)}}}})}(a),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(a),a.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},a.languages.webmanifest=a.languages.json,a.languages.less=a.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),a.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),a.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a=t[n];if("code"===a.type){var o=a.content[1],i=a.content[3];if(o&&i&&"code-language"===o.type&&"code-block"===i.type&&"string"==typeof o.content){var s=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),l="language-"+(s=(/[a-z][\w-]*/i.exec(s)||[""])[0].toLowerCase());i.alias?"string"==typeof i.alias?i.alias=[i.alias,l]:i.alias.push(l):i.alias=[l]}}else e(a.content)}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,a=t.classes.length;r<a;r++){var o=t.classes[r],c=/language-(.+)/.exec(o);if(c){n=c[1];break}}var u,d=e.languages[n];if(d)t.content=e.highlight((u=t.content,u.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;if("#"===(t=t.toLowerCase())[0])return n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n);var r=s[t];return r||e}))),d,n);else if(n&&"none"!==n&&e.plugins.autoloader){var f="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=f,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(f);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))}))}}}));var i=RegExp(e.languages.markup.tag.pattern.source,"gi"),s={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(a),a.languages.objectivec=a.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete a.languages.objectivec["class-name"],a.languages.objc=a.languages.objectivec,a.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},a.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},a.languages.python["string-interpolation"].inside.interpolation.inside.rest=a.languages.python,a.languages.py=a.languages.python,a.languages.reason=a.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),a.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete a.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(a),a.languages.scss=a.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),a.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),a.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),a.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),a.languages.scss.atrule.inside.rest=a.languages.scss,a.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(a),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(a),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(a),a.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/},function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(a),t.default=a},79016:function(){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,(function(){return"(?:"+e+")"}));return e.replace(/<<self>>/g,"[^\\s\\S]")}var a="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",o="class enum interface record struct",i="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var c=l(o),u=RegExp(l(a+" "+o+" "+i+" "+s)),d=l(o+" "+i+" "+s),f=l(a+" "+o+" "+s),p=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),g=r(/\((?:[^()]|<<self>>)*\)/.source,2),m=/@?\b[A-Za-z_]\w*\b/.source,b=t(/<<0>>(?:\s*<<1>>)?/.source,[m,p]),h=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,b]),v=/\[\s*(?:,\s*)*\]/.source,y=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[h,v]),w=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,g,v]),x=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),S=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[x,h,v]),k={keyword:u,punctuation:/[<>()?,.:[\]]/},E=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,_=/"(?:\\.|[^\\"\r\n])*"/.source,C=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[C]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[_]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[h]),lookbehind:!0,inside:k},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[m,S]),lookbehind:!0,inside:k},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[m]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[c,b]),lookbehind:!0,inside:k},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[h]),lookbehind:!0,inside:k},{pattern:n(/(\bwhere\s+)<<0>>/.source,[m]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[y]),lookbehind:!0,inside:k},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[S,f,m]),inside:k}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[m]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[m]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[g]),lookbehind:!0,alias:"class-name",inside:k},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[S,h]),inside:k,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[S]),lookbehind:!0,inside:k,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[m,p]),inside:{function:n(/^<<0>>/.source,[m]),generic:{pattern:RegExp(p),alias:"class-name",inside:k}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[c,b,m,S,u.source,g,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[b,g]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:u,"class-name":{pattern:RegExp(S),greedy:!0,inside:k},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var P=_+"|"+E,T=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[P]),O=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),L=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,A=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[h,O]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[L,A]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[L]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[O]),inside:e.languages.csharp},"class-name":{pattern:RegExp(h),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var M=/:[^}\r\n]+/.source,N=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),j=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[N,M]),R=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[P]),2),I=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,M]);function D(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,M]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[j]),lookbehind:!0,greedy:!0,inside:D(j,N)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[I]),lookbehind:!0,greedy:!0,inside:D(I,R)}],char:{pattern:RegExp(E),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(Prism)},91778:function(e,t,n){var r={"./prism-csharp":79016};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=91778},92703:function(e,t,n){"use strict";var r=n(50414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},64448:function(e,t,n){"use strict";var r=n(67294),a=n(27418),o=n(63840);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(i(227));var s=new Set,l={};function c(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var d=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,g={},m={};function b(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var h={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){h[e]=new b(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];h[t]=new b(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){h[e]=new b(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){h[e]=new b(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){h[e]=new b(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){h[e]=new b(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){h[e]=new b(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){h[e]=new b(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){h[e]=new b(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function w(e,t,n,r){var a=h.hasOwnProperty(t)?h[t]:null;(null!==a?0===a.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!p.call(m,e)||!p.call(g,e)&&(f.test(e)?m[e]=!0:(g[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,y);h[t]=new b(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,y);h[t]=new b(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,y);h[t]=new b(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){h[e]=new b(e,1,!1,e.toLowerCase(),null,!1,!1)})),h.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){h[e]=new b(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=60103,k=60106,E=60107,_=60108,C=60114,P=60109,T=60110,O=60112,L=60113,A=60120,M=60115,N=60116,j=60121,R=60128,I=60129,D=60130,F=60131;if("function"==typeof Symbol&&Symbol.for){var U=Symbol.for;S=U("react.element"),k=U("react.portal"),E=U("react.fragment"),_=U("react.strict_mode"),C=U("react.profiler"),P=U("react.provider"),T=U("react.context"),O=U("react.forward_ref"),L=U("react.suspense"),A=U("react.suspense_list"),M=U("react.memo"),N=U("react.lazy"),j=U("react.block"),U("react.scope"),R=U("react.opaque.id"),I=U("react.debug_trace_mode"),D=U("react.offscreen"),F=U("react.legacy_hidden")}var B,z="function"==typeof Symbol&&Symbol.iterator;function $(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=z&&e[z]||e["@@iterator"])?e:null}function q(e){if(void 0===B)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);B=t&&t[1]||""}return"\n"+B+e}var H=!1;function Z(e,t){if(!e||H)return"";H=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&"string"==typeof l.stack){for(var a=l.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,s=o.length-1;1<=i&&0<=s&&a[i]!==o[s];)s--;for(;1<=i&&0<=s;i--,s--)if(a[i]!==o[s]){if(1!==i||1!==s)do{if(i--,0>--s||a[i]!==o[s])return"\n"+a[i].replace(" at new "," at ")}while(1<=i&&0<=s);break}}}finally{H=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?q(e):""}function V(e){switch(e.tag){case 5:return q(e.type);case 16:return q("Lazy");case 13:return q("Suspense");case 19:return q("SuspenseList");case 0:case 2:case 15:return e=Z(e.type,!1);case 11:return e=Z(e.type.render,!1);case 22:return e=Z(e.type._render,!1);case 1:return e=Z(e.type,!0);default:return""}}function G(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case E:return"Fragment";case k:return"Portal";case C:return"Profiler";case _:return"StrictMode";case L:return"Suspense";case A:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case P:return(e._context.displayName||"Context")+".Provider";case O:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case M:return G(e.type);case j:return G(e._render);case N:t=e._payload,e=e._init;try{return G(e(t))}catch(n){}}return null}function W(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function X(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Y(e){e._valueTracker||(e._valueTracker=function(e){var t=X(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=X(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Q(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=W(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ae(e,t.type,n):t.hasOwnProperty("defaultValue")&&ae(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ae(e,t,n){"number"===t&&Q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function oe(e,t){return e=a({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ie(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+W(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:W(n)}}function ce(e,t){var n=W(t.value),r=W(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ue(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var de="http://www.w3.org/1999/xhtml",fe="http://www.w3.org/2000/svg";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ge(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var me,be,he=(be=function(e,t){if(e.namespaceURI!==fe||"innerHTML"in e)e.innerHTML=t;else{for((me=me||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return be(e,t)}))}:be);function ve(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},we=["Webkit","ms","Moz","O"];function xe(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}function Se(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=xe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(ye).forEach((function(e){we.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ye[t]=ye[e]}))}));var ke=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ee(e,t){if(t){if(ke[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function _e(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Ce(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Pe=null,Te=null,Oe=null;function Le(e){if(e=ea(e)){if("function"!=typeof Pe)throw Error(i(280));var t=e.stateNode;t&&(t=na(t),Pe(e.stateNode,e.type,t))}}function Ae(e){Te?Oe?Oe.push(e):Oe=[e]:Te=e}function Me(){if(Te){var e=Te,t=Oe;if(Oe=Te=null,Le(e),t)for(e=0;e<t.length;e++)Le(t[e])}}function Ne(e,t){return e(t)}function je(e,t,n,r,a){return e(t,n,r,a)}function Re(){}var Ie=Ne,De=!1,Fe=!1;function Ue(){null===Te&&null===Oe||(Re(),Me())}function Be(e,t){var n=e.stateNode;if(null===n)return null;var r=na(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var ze=!1;if(d)try{var $e={};Object.defineProperty($e,"passive",{get:function(){ze=!0}}),window.addEventListener("test",$e,$e),window.removeEventListener("test",$e,$e)}catch(be){ze=!1}function qe(e,t,n,r,a,o,i,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var He=!1,Ze=null,Ve=!1,Ge=null,We={onError:function(e){He=!0,Ze=e}};function Xe(e,t,n,r,a,o,i,s,l){He=!1,Ze=null,qe.apply(We,arguments)}function Ye(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ke(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Qe(e){if(Ye(e)!==e)throw Error(i(188))}function Je(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ye(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return Qe(a),e;if(o===r)return Qe(a),t;o=o.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=o;else{for(var s=!1,l=a.child;l;){if(l===n){s=!0,n=a,r=o;break}if(l===r){s=!0,r=a,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=a;break}if(l===r){s=!0,r=o,n=a;break}l=l.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tt,nt,rt,at,ot=!1,it=[],st=null,lt=null,ct=null,ut=new Map,dt=new Map,ft=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function gt(e,t,n,r,a){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:a,targetContainers:[r]}}function mt(e,t){switch(e){case"focusin":case"focusout":st=null;break;case"dragenter":case"dragleave":lt=null;break;case"mouseover":case"mouseout":ct=null;break;case"pointerover":case"pointerout":ut.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dt.delete(t.pointerId)}}function bt(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e=gt(t,n,r,a,o),null!==t&&(null!==(t=ea(t))&&nt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function ht(e){var t=Jr(e.target);if(null!==t){var n=Ye(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ke(n)))return e.blockedOn=t,void at(e.lanePriority,(function(){o.unstable_runWithPriority(e.priority,(function(){rt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function vt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ea(n))&&nt(t),e.blockedOn=n,!1;t.shift()}return!0}function yt(e,t,n){vt(e)&&n.delete(t)}function wt(){for(ot=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=ea(e.blockedOn))&&tt(e);break}for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&it.shift()}null!==st&&vt(st)&&(st=null),null!==lt&&vt(lt)&&(lt=null),null!==ct&&vt(ct)&&(ct=null),ut.forEach(yt),dt.forEach(yt)}function xt(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,wt)))}function St(e){function t(t){return xt(t,e)}if(0<it.length){xt(it[0],e);for(var n=1;n<it.length;n++){var r=it[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==st&&xt(st,e),null!==lt&&xt(lt,e),null!==ct&&xt(ct,e),ut.forEach(t),dt.forEach(t),n=0;n<ft.length;n++)(r=ft[n]).blockedOn===e&&(r.blockedOn=null);for(;0<ft.length&&null===(n=ft[0]).blockedOn;)ht(n),null===n.blockedOn&&ft.shift()}function kt(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Et={animationend:kt("Animation","AnimationEnd"),animationiteration:kt("Animation","AnimationIteration"),animationstart:kt("Animation","AnimationStart"),transitionend:kt("Transition","TransitionEnd")},_t={},Ct={};function Pt(e){if(_t[e])return _t[e];if(!Et[e])return e;var t,n=Et[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ct)return _t[e]=n[t];return e}d&&(Ct=document.createElement("div").style,"AnimationEvent"in window||(delete Et.animationend.animation,delete Et.animationiteration.animation,delete Et.animationstart.animation),"TransitionEvent"in window||delete Et.transitionend.transition);var Tt=Pt("animationend"),Ot=Pt("animationiteration"),Lt=Pt("animationstart"),At=Pt("transitionend"),Mt=new Map,Nt=new Map,jt=["abort","abort",Tt,"animationEnd",Ot,"animationIteration",Lt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",At,"transitionEnd","waiting","waiting"];function Rt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],a=e[n+1];a="on"+(a[0].toUpperCase()+a.slice(1)),Nt.set(r,t),Mt.set(r,a),c(a,[r])}}(0,o.unstable_now)();var It=8;function Dt(e){if(0!=(1&e))return It=15,1;if(0!=(2&e))return It=14,2;if(0!=(4&e))return It=13,4;var t=24&e;return 0!==t?(It=12,t):0!=(32&e)?(It=11,32):0!==(t=192&e)?(It=10,t):0!=(256&e)?(It=9,256):0!==(t=3584&e)?(It=8,t):0!=(4096&e)?(It=7,4096):0!==(t=4186112&e)?(It=6,t):0!==(t=62914560&e)?(It=5,t):67108864&e?(It=4,67108864):0!=(134217728&e)?(It=3,134217728):0!==(t=805306368&e)?(It=2,t):0!=(1073741824&e)?(It=1,1073741824):(It=8,e)}function Ft(e,t){var n=e.pendingLanes;if(0===n)return It=0;var r=0,a=0,o=e.expiredLanes,i=e.suspendedLanes,s=e.pingedLanes;if(0!==o)r=o,a=It=15;else if(0!==(o=134217727&n)){var l=o&~i;0!==l?(r=Dt(l),a=It):0!==(s&=o)&&(r=Dt(s),a=It)}else 0!==(o=n&~i)?(r=Dt(o),a=It):0!==s&&(r=Dt(s),a=It);if(0===r)return 0;if(r=n&((0>(r=31-Ht(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&i)){if(Dt(t),a<=It)return t;It=a}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-Ht(t)),r|=e[n],t&=~a;return r}function Ut(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Bt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=zt(24&~t))?Bt(10,t):e;case 10:return 0===(e=zt(192&~t))?Bt(8,t):e;case 8:return 0===(e=zt(3584&~t))&&(0===(e=zt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=zt(805306368&~t))&&(t=268435456),t}throw Error(i(358,e))}function zt(e){return e&-e}function $t(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function qt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Ht(t)]=n}var Ht=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Zt(e)/Vt|0)|0},Zt=Math.log,Vt=Math.LN2;var Gt=o.unstable_UserBlockingPriority,Wt=o.unstable_runWithPriority,Xt=!0;function Yt(e,t,n,r){De||Re();var a=Qt,o=De;De=!0;try{je(a,e,t,n,r)}finally{(De=o)||Ue()}}function Kt(e,t,n,r){Wt(Gt,Qt.bind(null,e,t,n,r))}function Qt(e,t,n,r){var a;if(Xt)if((a=0==(4&t))&&0<it.length&&-1<pt.indexOf(e))e=gt(null,e,t,n,r),it.push(e);else{var o=Jt(e,t,n,r);if(null===o)a&&mt(e,r);else{if(a){if(-1<pt.indexOf(e))return e=gt(o,e,t,n,r),void it.push(e);if(function(e,t,n,r,a){switch(t){case"focusin":return st=bt(st,e,t,n,r,a),!0;case"dragenter":return lt=bt(lt,e,t,n,r,a),!0;case"mouseover":return ct=bt(ct,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return ut.set(o,bt(ut.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,dt.set(o,bt(dt.get(o)||null,e,t,n,r,a)),!0}return!1}(o,e,t,n,r))return;mt(e,r)}Mr(e,t,r,null,n)}}}function Jt(e,t,n,r){var a=Ce(r);if(null!==(a=Jr(a))){var o=Ye(a);if(null===o)a=null;else{var i=o.tag;if(13===i){if(null!==(a=Ke(o)))return a;a=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;a=null}else o!==a&&(a=null)}}return Mr(e,t,r,a,n),null}var en=null,tn=null,nn=null;function rn(){if(nn)return nn;var e,t,n=tn,r=n.length,a="value"in en?en.value:en.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return nn=a.slice(e,1<t?1-t:void 0)}function an(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function on(){return!0}function sn(){return!1}function ln(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?on:sn,this.isPropagationStopped=sn,this}return a(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=on)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=on)},persist:function(){},isPersistent:on}),t}var cn,un,dn,fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=ln(fn),gn=a({},fn,{view:0,detail:0}),mn=ln(gn),bn=a({},gn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==dn&&(dn&&"mousemove"===e.type?(cn=e.screenX-dn.screenX,un=e.screenY-dn.screenY):un=cn=0,dn=e),cn)},movementY:function(e){return"movementY"in e?e.movementY:un}}),hn=ln(bn),vn=ln(a({},bn,{dataTransfer:0})),yn=ln(a({},gn,{relatedTarget:0})),wn=ln(a({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),xn=ln(a({},fn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Sn=ln(a({},fn,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},En={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_n={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_n[e])&&!!t[e]}function Pn(){return Cn}var Tn=ln(a({},gn,{key:function(e){if(e.key){var t=kn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=an(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?En[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pn,charCode:function(e){return"keypress"===e.type?an(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?an(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),On=ln(a({},bn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ln=ln(a({},gn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pn})),An=ln(a({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Mn=ln(a({},bn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Nn=[9,13,27,32],jn=d&&"CompositionEvent"in window,Rn=null;d&&"documentMode"in document&&(Rn=document.documentMode);var In=d&&"TextEvent"in window&&!Rn,Dn=d&&(!jn||Rn&&8<Rn&&11>=Rn),Fn=String.fromCharCode(32),Un=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Nn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var $n=!1;var qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Zn(e,t,n,r){Ae(r),0<(t=jr(t,"onChange")).length&&(n=new pn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,Gn=null;function Wn(e){Cr(e,0)}function Xn(e){if(K(ta(e)))return e}function Yn(e,t){if("change"===e)return t}var Kn=!1;if(d){var Qn;if(d){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Qn=Jn}else Qn=!1;Kn=Qn&&(!document.documentMode||9<document.documentMode)}function tr(){Vn&&(Vn.detachEvent("onpropertychange",nr),Gn=Vn=null)}function nr(e){if("value"===e.propertyName&&Xn(Gn)){var t=[];if(Zn(t,Gn,e,Ce(e)),e=Wn,De)e(t);else{De=!0;try{Ne(e,t)}finally{De=!1,Ue()}}}}function rr(e,t,n){"focusin"===e?(tr(),Gn=n,(Vn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xn(Gn)}function or(e,t){if("click"===e)return Xn(t)}function ir(e,t){if("input"===e||"change"===e)return Xn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},lr=Object.prototype.hasOwnProperty;function cr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!lr.call(t,n[r])||!sr(e[n[r]],t[n[r]]))return!1;return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=Q();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Q((e=t.contentWindow).document)}return t}function gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var mr=d&&"documentMode"in document&&11>=document.documentMode,br=null,hr=null,vr=null,yr=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==br||br!==Q(r)||("selectionStart"in(r=br)&&gr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&cr(vr,r)||(vr=r,0<(r=jr(hr,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=br)))}Rt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Rt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Rt(jt,2);for(var xr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Sr=0;Sr<xr.length;Sr++)Nt.set(xr[Sr],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var kr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Er=new Set("cancel close invalid load scroll toggle".split(" ").concat(kr));function _r(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,o,s,l,c){if(Xe.apply(this,arguments),He){if(!He)throw Error(i(198));var u=Ze;He=!1,Ze=null,Ve||(Ve=!0,Ge=u)}}(r,t,void 0,e),e.currentTarget=null}function Cr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&a.isPropagationStopped())break e;_r(a,s,c),o=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,c=s.currentTarget,s=s.listener,l!==o&&a.isPropagationStopped())break e;_r(a,s,c),o=l}}}if(Ve)throw e=Ge,Ve=!1,Ge=null,e}function Pr(e,t){var n=ra(t),r=e+"__bubble";n.has(r)||(Ar(t,e,2,!1),n.add(r))}var Tr="_reactListening"+Math.random().toString(36).slice(2);function Or(e){e[Tr]||(e[Tr]=!0,s.forEach((function(t){Er.has(t)||Lr(t,!1,e,null),Lr(t,!0,e,null)})))}function Lr(e,t,n,r){var a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=n;if("selectionchange"===e&&9!==n.nodeType&&(o=n.ownerDocument),null!==r&&!t&&Er.has(e)){if("scroll"!==e)return;a|=2,o=r}var i=ra(o),s=e+"__"+(t?"capture":"bubble");i.has(s)||(t&&(a|=4),Ar(o,e,a,t),i.add(s))}function Ar(e,t,n,r){var a=Nt.get(t);switch(void 0===a?2:a){case 0:a=Yt;break;case 1:a=Kt;break;default:a=Qt}n=a.bind(null,t,n,e),a=void 0,!ze||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Mr(e,t,n,r,a){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===a||8===s.nodeType&&s.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===a||8===l.nodeType&&l.parentNode===a))return;i=i.return}for(;null!==s;){if(null===(i=Jr(s)))return;if(5===(l=i.tag)||6===l){r=o=i;continue e}s=s.parentNode}}r=r.return}!function(e,t,n){if(Fe)return e(t,n);Fe=!0;try{Ie(e,t,n)}finally{Fe=!1,Ue()}}((function(){var r=o,a=Ce(n),i=[];e:{var s=Mt.get(e);if(void 0!==s){var l=pn,c=e;switch(e){case"keypress":if(0===an(n))break e;case"keydown":case"keyup":l=Tn;break;case"focusin":c="focus",l=yn;break;case"focusout":c="blur",l=yn;break;case"beforeblur":case"afterblur":l=yn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Ln;break;case Tt:case Ot:case Lt:l=wn;break;case At:l=An;break;case"scroll":l=mn;break;case"wheel":l=Mn;break;case"copy":case"cut":case"paste":l=xn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=On}var u=0!=(4&t),d=!u&&"scroll"===e,f=u?null!==s?s+"Capture":null:s;u=[];for(var p,g=r;null!==g;){var m=(p=g).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Be(g,f))&&u.push(Nr(g,m,p)))),d)break;g=g.return}0<u.length&&(s=new l(s,c,null,n,a),i.push({event:s,listeners:u}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(c=n.relatedTarget||n.fromElement)||!Jr(c)&&!c[Kr])&&(l||s)&&(s=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?Jr(c):null)&&(c!==(d=Ye(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=hn,m="onMouseLeave",f="onMouseEnter",g="mouse","pointerout"!==e&&"pointerover"!==e||(u=On,m="onPointerLeave",f="onPointerEnter",g="pointer"),d=null==l?s:ta(l),p=null==c?s:ta(c),(s=new u(m,g+"leave",l,n,a)).target=d,s.relatedTarget=p,m=null,Jr(a)===r&&((u=new u(f,g+"enter",c,n,a)).target=p,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(f=c,g=0,p=u=l;p;p=Rr(p))g++;for(p=0,m=f;m;m=Rr(m))p++;for(;0<g-p;)u=Rr(u),g--;for(;0<p-g;)f=Rr(f),p--;for(;g--;){if(u===f||null!==f&&u===f.alternate)break e;u=Rr(u),f=Rr(f)}u=null}else u=null;null!==l&&Ir(i,s,l,u,!1),null!==c&&null!==d&&Ir(i,d,c,u,!0)}if("select"===(l=(s=r?ta(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var b=Yn;else if(Hn(s))if(Kn)b=ir;else{b=ar;var h=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(b=or);switch(b&&(b=b(e,r))?Zn(i,b,n,a):(h&&h(e,s,r),"focusout"===e&&(h=s._wrapperState)&&h.controlled&&"number"===s.type&&ae(s,"number",s.value)),h=r?ta(r):window,e){case"focusin":(Hn(h)||"true"===h.contentEditable)&&(br=h,hr=r,vr=null);break;case"focusout":vr=hr=br=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,wr(i,n,a);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(i,n,a)}var v;if(jn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else $n?Bn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Dn&&"ko"!==n.locale&&($n||"onCompositionStart"!==y?"onCompositionEnd"===y&&$n&&(v=rn()):(tn="value"in(en=a)?en.value:en.textContent,$n=!0)),0<(h=jr(r,y)).length&&(y=new Sn(y,e,null,n,a),i.push({event:y,listeners:h}),v?y.data=v:null!==(v=zn(n))&&(y.data=v))),(v=In?function(e,t){switch(e){case"compositionend":return zn(t);case"keypress":return 32!==t.which?null:(Un=!0,Fn);case"textInput":return(e=t.data)===Fn&&Un?null:e;default:return null}}(e,n):function(e,t){if($n)return"compositionend"===e||!jn&&Bn(e,t)?(e=rn(),nn=tn=en=null,$n=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Dn&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&(0<(r=jr(r,"onBeforeInput")).length&&(a=new Sn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=v))}Cr(i,t)}))}function Nr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function jr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=Be(e,n))&&r.unshift(Nr(e,o,a)),null!=(o=Be(e,t))&&r.push(Nr(e,o,a))),e=e.return}return r}function Rr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ir(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,a?null!=(l=Be(n,o))&&i.unshift(Nr(n,l,s)):a||null!=(l=Be(n,o))&&i.push(Nr(n,l,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function Dr(){}var Fr=null,Ur=null;function Br(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function zr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var $r="function"==typeof setTimeout?setTimeout:void 0,qr="function"==typeof clearTimeout?clearTimeout:void 0;function Hr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Zr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Vr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Gr=0;var Wr=Math.random().toString(36).slice(2),Xr="__reactFiber$"+Wr,Yr="__reactProps$"+Wr,Kr="__reactContainer$"+Wr,Qr="__reactEvents$"+Wr;function Jr(e){var t=e[Xr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Kr]||n[Xr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Vr(e);null!==e;){if(n=e[Xr])return n;e=Vr(e)}return t}n=(e=n).parentNode}return null}function ea(e){return!(e=e[Xr]||e[Kr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ta(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function na(e){return e[Yr]||null}function ra(e){var t=e[Qr];return void 0===t&&(t=e[Qr]=new Set),t}var aa=[],oa=-1;function ia(e){return{current:e}}function sa(e){0>oa||(e.current=aa[oa],aa[oa]=null,oa--)}function la(e,t){oa++,aa[oa]=e.current,e.current=t}var ca={},ua=ia(ca),da=ia(!1),fa=ca;function pa(e,t){var n=e.type.contextTypes;if(!n)return ca;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ga(e){return null!=(e=e.childContextTypes)}function ma(){sa(da),sa(ua)}function ba(e,t,n){if(ua.current!==ca)throw Error(i(168));la(ua,t),la(da,n)}function ha(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(i(108,G(t)||"Unknown",o));return a({},n,r)}function va(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ca,fa=ua.current,la(ua,e),la(da,da.current),!0}function ya(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=ha(e,t,fa),r.__reactInternalMemoizedMergedChildContext=e,sa(da),sa(ua),la(ua,e)):sa(da),la(da,n)}var wa=null,xa=null,Sa=o.unstable_runWithPriority,ka=o.unstable_scheduleCallback,Ea=o.unstable_cancelCallback,_a=o.unstable_shouldYield,Ca=o.unstable_requestPaint,Pa=o.unstable_now,Ta=o.unstable_getCurrentPriorityLevel,Oa=o.unstable_ImmediatePriority,La=o.unstable_UserBlockingPriority,Aa=o.unstable_NormalPriority,Ma=o.unstable_LowPriority,Na=o.unstable_IdlePriority,ja={},Ra=void 0!==Ca?Ca:function(){},Ia=null,Da=null,Fa=!1,Ua=Pa(),Ba=1e4>Ua?Pa:function(){return Pa()-Ua};function za(){switch(Ta()){case Oa:return 99;case La:return 98;case Aa:return 97;case Ma:return 96;case Na:return 95;default:throw Error(i(332))}}function $a(e){switch(e){case 99:return Oa;case 98:return La;case 97:return Aa;case 96:return Ma;case 95:return Na;default:throw Error(i(332))}}function qa(e,t){return e=$a(e),Sa(e,t)}function Ha(e,t,n){return e=$a(e),ka(e,t,n)}function Za(){if(null!==Da){var e=Da;Da=null,Ea(e)}Va()}function Va(){if(!Fa&&null!==Ia){Fa=!0;var e=0;try{var t=Ia;qa(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Ia=null}catch(n){throw null!==Ia&&(Ia=Ia.slice(e+1)),ka(Oa,Za),n}finally{Fa=!1}}}var Ga=x.ReactCurrentBatchConfig;function Wa(e,t){if(e&&e.defaultProps){for(var n in t=a({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Xa=ia(null),Ya=null,Ka=null,Qa=null;function Ja(){Qa=Ka=Ya=null}function eo(e){var t=Xa.current;sa(Xa),e.type._context._currentValue=t}function to(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function no(e,t){Ya=e,Qa=Ka=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(ji=!0),e.firstContext=null)}function ro(e,t){if(Qa!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Qa=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Ka){if(null===Ya)throw Error(i(308));Ka=t,Ya.dependencies={lanes:0,firstContext:t,responders:null}}else Ka=Ka.next=t;return e._currentValue}var ao=!1;function oo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function io(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function so(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function lo(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function co(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function uo(e,t,n,r){var o=e.updateQueue;ao=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var c=l,u=c.next;c.next=null,null===s?i=u:s.next=u,s=c;var d=e.alternate;if(null!==d){var f=(d=d.updateQueue).lastBaseUpdate;f!==s&&(null===f?d.firstBaseUpdate=u:f.next=u,d.lastBaseUpdate=c)}}if(null!==i){for(f=o.baseState,s=0,d=u=c=null;;){l=i.lane;var p=i.eventTime;if((r&l)===l){null!==d&&(d=d.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var g=e,m=i;switch(l=t,p=n,m.tag){case 1:if("function"==typeof(g=m.payload)){f=g.call(p,f,l);break e}f=g;break e;case 3:g.flags=-4097&g.flags|64;case 0:if(null==(l="function"==typeof(g=m.payload)?g.call(p,f,l):g))break e;f=a({},f,l);break e;case 2:ao=!0}}null!==i.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[i]:l.push(i))}else p={eventTime:p,lane:l,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===d?(u=d=p,c=f):d=d.next=p,s|=l;if(null===(i=i.next)){if(null===(l=o.shared.pending))break;i=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null}}null===d&&(c=f),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=d,Fs|=s,e.lanes=s,e.memoizedState=f}}function fo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(i(191,a));a.call(r)}}}var po=(new r.Component).refs;function go(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:a({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var mo={isMounted:function(e){return!!(e=e._reactInternals)&&Ye(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=cl(),a=ul(e),o=so(r,a);o.payload=t,null!=n&&(o.callback=n),lo(e,o),dl(e,a,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=cl(),a=ul(e),o=so(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),lo(e,o),dl(e,a,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=cl(),r=ul(e),a=so(n,r);a.tag=2,null!=t&&(a.callback=t),lo(e,a),dl(e,r,n)}};function bo(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!cr(n,r)||!cr(a,o))}function ho(e,t,n){var r=!1,a=ca,o=t.contextType;return"object"==typeof o&&null!==o?o=ro(o):(a=ga(t)?fa:ua.current,o=(r=null!=(r=t.contextTypes))?pa(e,a):ca),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=mo,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function vo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&mo.enqueueReplaceState(t,t.state,null)}function yo(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=po,oo(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=ro(o):(o=ga(t)?fa:ua.current,a.context=pa(e,o)),uo(e,n,a,r),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(go(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&mo.enqueueReplaceState(a,a.state,null),uo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4)}var wo=Array.isArray;function xo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:((t=function(e){var t=r.refs;t===po&&(t=r.refs={}),null===e?delete t[a]:t[a]=e})._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function So(e,t){if("textarea"!==e.type)throw Error(i(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function ko(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=ql(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Gl(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=a(t,n.props)).ref=xo(e,t,n),r.return=e,r):((r=Hl(n.type,n.key,n.props,null,e.mode,r)).ref=xo(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Wl(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Zl(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Gl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case S:return(n=Hl(t.type,t.key,t.props,null,e.mode,n)).ref=xo(e,null,t),n.return=e,n;case k:return(t=Wl(t,e.mode,n)).return=e,t}if(wo(t)||$(t))return(t=Zl(t,e.mode,n,null)).return=e,t;So(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==a?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case S:return n.key===a?n.type===E?d(e,t,n.props.children,r,a):c(e,t,n,r):null;case k:return n.key===a?u(e,t,n,r):null}if(wo(n)||$(n))return null!==a?null:d(e,t,n,r,null);So(e,n)}return null}function g(e,t,n,r,a){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case S:return e=e.get(null===r.key?n:r.key)||null,r.type===E?d(t,e,r.props.children,a,r.key):c(t,e,r,a);case k:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a)}if(wo(r)||$(r))return d(t,e=e.get(n)||null,r,a,null);So(t,r)}return null}function m(a,i,s,l){for(var c=null,u=null,d=i,m=i=0,b=null;null!==d&&m<s.length;m++){d.index>m?(b=d,d=null):b=d.sibling;var h=p(a,d,s[m],l);if(null===h){null===d&&(d=b);break}e&&d&&null===h.alternate&&t(a,d),i=o(h,i,m),null===u?c=h:u.sibling=h,u=h,d=b}if(m===s.length)return n(a,d),c;if(null===d){for(;m<s.length;m++)null!==(d=f(a,s[m],l))&&(i=o(d,i,m),null===u?c=d:u.sibling=d,u=d);return c}for(d=r(a,d);m<s.length;m++)null!==(b=g(d,a,m,s[m],l))&&(e&&null!==b.alternate&&d.delete(null===b.key?m:b.key),i=o(b,i,m),null===u?c=b:u.sibling=b,u=b);return e&&d.forEach((function(e){return t(a,e)})),c}function b(a,s,l,c){var u=$(l);if("function"!=typeof u)throw Error(i(150));if(null==(l=u.call(l)))throw Error(i(151));for(var d=u=null,m=s,b=s=0,h=null,v=l.next();null!==m&&!v.done;b++,v=l.next()){m.index>b?(h=m,m=null):h=m.sibling;var y=p(a,m,v.value,c);if(null===y){null===m&&(m=h);break}e&&m&&null===y.alternate&&t(a,m),s=o(y,s,b),null===d?u=y:d.sibling=y,d=y,m=h}if(v.done)return n(a,m),u;if(null===m){for(;!v.done;b++,v=l.next())null!==(v=f(a,v.value,c))&&(s=o(v,s,b),null===d?u=v:d.sibling=v,d=v);return u}for(m=r(a,m);!v.done;b++,v=l.next())null!==(v=g(m,a,b,v.value,c))&&(e&&null!==v.alternate&&m.delete(null===v.key?b:v.key),s=o(v,s,b),null===d?u=v:d.sibling=v,d=v);return e&&m.forEach((function(e){return t(a,e)})),u}return function(e,r,o,l){var c="object"==typeof o&&null!==o&&o.type===E&&null===o.key;c&&(o=o.props.children);var u="object"==typeof o&&null!==o;if(u)switch(o.$$typeof){case S:e:{for(u=o.key,c=r;null!==c;){if(c.key===u){switch(c.tag){case 7:if(o.type===E){n(e,c.sibling),(r=a(c,o.props.children)).return=e,e=r;break e}break;default:if(c.elementType===o.type){n(e,c.sibling),(r=a(c,o.props)).ref=xo(e,c,o),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}o.type===E?((r=Zl(o.props.children,e.mode,l,o.key)).return=e,e=r):((l=Hl(o.type,o.key,o.props,null,e.mode,l)).ref=xo(e,r,o),l.return=e,e=l)}return s(e);case k:e:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=a(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Wl(o,e.mode,l)).return=e,e=r}return s(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=a(r,o)).return=e,e=r):(n(e,r),(r=Gl(o,e.mode,l)).return=e,e=r),s(e);if(wo(o))return m(e,r,o,l);if($(o))return b(e,r,o,l);if(u&&So(e,o),void 0===o&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(i(152,G(e.type)||"Component"))}return n(e,r)}}var Eo=ko(!0),_o=ko(!1),Co={},Po=ia(Co),To=ia(Co),Oo=ia(Co);function Lo(e){if(e===Co)throw Error(i(174));return e}function Ao(e,t){switch(la(Oo,t),la(To,e),la(Po,Co),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ge(null,"");break;default:t=ge(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}sa(Po),la(Po,t)}function Mo(){sa(Po),sa(To),sa(Oo)}function No(e){Lo(Oo.current);var t=Lo(Po.current),n=ge(t,e.type);t!==n&&(la(To,e),la(Po,n))}function jo(e){To.current===e&&(sa(Po),sa(To))}var Ro=ia(0);function Io(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Do=null,Fo=null,Uo=!1;function Bo(e,t){var n=zl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function zo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function $o(e){if(Uo){var t=Fo;if(t){var n=t;if(!zo(e,t)){if(!(t=Zr(n.nextSibling))||!zo(e,t))return e.flags=-1025&e.flags|2,Uo=!1,void(Do=e);Bo(Do,n)}Do=e,Fo=Zr(t.firstChild)}else e.flags=-1025&e.flags|2,Uo=!1,Do=e}}function qo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Do=e}function Ho(e){if(e!==Do)return!1;if(!Uo)return qo(e),Uo=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!zr(t,e.memoizedProps))for(t=Fo;t;)Bo(e,t),t=Zr(t.nextSibling);if(qo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Fo=Zr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Fo=null}}else Fo=Do?Zr(e.stateNode.nextSibling):null;return!0}function Zo(){Fo=Do=null,Uo=!1}var Vo=[];function Go(){for(var e=0;e<Vo.length;e++)Vo[e]._workInProgressVersionPrimary=null;Vo.length=0}var Wo=x.ReactCurrentDispatcher,Xo=x.ReactCurrentBatchConfig,Yo=0,Ko=null,Qo=null,Jo=null,ei=!1,ti=!1;function ni(){throw Error(i(321))}function ri(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function ai(e,t,n,r,a,o){if(Yo=o,Ko=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Wo.current=null===e||null===e.memoizedState?Li:Ai,e=n(r,a),ti){o=0;do{if(ti=!1,!(25>o))throw Error(i(301));o+=1,Jo=Qo=null,t.updateQueue=null,Wo.current=Mi,e=n(r,a)}while(ti)}if(Wo.current=Oi,t=null!==Qo&&null!==Qo.next,Yo=0,Jo=Qo=Ko=null,ei=!1,t)throw Error(i(300));return e}function oi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Jo?Ko.memoizedState=Jo=e:Jo=Jo.next=e,Jo}function ii(){if(null===Qo){var e=Ko.alternate;e=null!==e?e.memoizedState:null}else e=Qo.next;var t=null===Jo?Ko.memoizedState:Jo.next;if(null!==t)Jo=t,Qo=e;else{if(null===e)throw Error(i(310));e={memoizedState:(Qo=e).memoizedState,baseState:Qo.baseState,baseQueue:Qo.baseQueue,queue:Qo.queue,next:null},null===Jo?Ko.memoizedState=Jo=e:Jo=Jo.next=e}return Jo}function si(e,t){return"function"==typeof t?t(e):t}function li(e){var t=ii(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=Qo,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var s=a.next;a.next=o.next,o.next=s}r.baseQueue=a=o,n.pending=null}if(null!==a){a=a.next,r=r.baseState;var l=s=o=null,c=a;do{var u=c.lane;if((Yo&u)===u)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var d={lane:u,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=d,o=r):l=l.next=d,Ko.lanes|=u,Fs|=u}c=c.next}while(null!==c&&c!==a);null===l?o=r:l.next=s,sr(r,t.memoizedState)||(ji=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function ci(e){var t=ii(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var s=a=a.next;do{o=e(o,s.action),s=s.next}while(s!==a);sr(o,t.memoizedState)||(ji=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ui(e,t,n){var r=t._getVersion;r=r(t._source);var a=t._workInProgressVersionPrimary;if(null!==a?e=a===r:(e=e.mutableReadLanes,(e=(Yo&e)===e)&&(t._workInProgressVersionPrimary=r,Vo.push(t))),e)return n(t._source);throw Vo.push(t),Error(i(350))}function di(e,t,n,r){var a=Ls;if(null===a)throw Error(i(349));var o=t._getVersion,s=o(t._source),l=Wo.current,c=l.useState((function(){return ui(a,t,n)})),u=c[1],d=c[0];c=Jo;var f=e.memoizedState,p=f.refs,g=p.getSnapshot,m=f.source;f=f.subscribe;var b=Ko;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=u;var e=o(t._source);if(!sr(s,e)){e=n(t._source),sr(d,e)||(u(e),e=ul(b),a.mutableReadLanes|=e&a.pendingLanes),e=a.mutableReadLanes,a.entangledLanes|=e;for(var r=a.entanglements,i=e;0<i;){var l=31-Ht(i),c=1<<l;r[l]|=e,i&=~c}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=ul(b);a.mutableReadLanes|=r&a.pendingLanes}catch(o){n((function(){throw o}))}}))}),[t,r]),sr(g,n)&&sr(m,t)&&sr(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:si,lastRenderedState:d}).dispatch=u=Ti.bind(null,Ko,e),c.queue=e,c.baseQueue=null,d=ui(a,t,n),c.memoizedState=c.baseState=d),d}function fi(e,t,n){return di(ii(),e,t,n)}function pi(e){var t=oi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:si,lastRenderedState:e}).dispatch=Ti.bind(null,Ko,e),[t.memoizedState,e]}function gi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Ko.updateQueue)?(t={lastEffect:null},Ko.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function mi(e){return e={current:e},oi().memoizedState=e}function bi(){return ii().memoizedState}function hi(e,t,n,r){var a=oi();Ko.flags|=e,a.memoizedState=gi(1|t,n,void 0,void 0===r?null:r)}function vi(e,t,n,r){var a=ii();r=void 0===r?null:r;var o=void 0;if(null!==Qo){var i=Qo.memoizedState;if(o=i.destroy,null!==r&&ri(r,i.deps))return void gi(t,n,o,r)}Ko.flags|=e,a.memoizedState=gi(1|t,n,o,r)}function yi(e,t){return hi(516,4,e,t)}function wi(e,t){return vi(516,4,e,t)}function xi(e,t){return vi(4,2,e,t)}function Si(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ki(e,t,n){return n=null!=n?n.concat([e]):null,vi(4,2,Si.bind(null,t,e),n)}function Ei(){}function _i(e,t){var n=ii();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ri(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ci(e,t){var n=ii();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ri(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Pi(e,t){var n=za();qa(98>n?98:n,(function(){e(!0)})),qa(97<n?97:n,(function(){var n=Xo.transition;Xo.transition=1;try{e(!1),t()}finally{Xo.transition=n}}))}function Ti(e,t,n){var r=cl(),a=ul(e),o={lane:a,action:n,eagerReducer:null,eagerState:null,next:null},i=t.pending;if(null===i?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===Ko||null!==i&&i===Ko)ti=ei=!0;else{if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=i(s,n);if(o.eagerReducer=i,o.eagerState=l,sr(l,s))return}catch(c){}dl(e,a,r)}}var Oi={readContext:ro,useCallback:ni,useContext:ni,useEffect:ni,useImperativeHandle:ni,useLayoutEffect:ni,useMemo:ni,useReducer:ni,useRef:ni,useState:ni,useDebugValue:ni,useDeferredValue:ni,useTransition:ni,useMutableSource:ni,useOpaqueIdentifier:ni,unstable_isNewReconciler:!1},Li={readContext:ro,useCallback:function(e,t){return oi().memoizedState=[e,void 0===t?null:t],e},useContext:ro,useEffect:yi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,hi(4,2,Si.bind(null,t,e),n)},useLayoutEffect:function(e,t){return hi(4,2,e,t)},useMemo:function(e,t){var n=oi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=oi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Ti.bind(null,Ko,e),[r.memoizedState,e]},useRef:mi,useState:pi,useDebugValue:Ei,useDeferredValue:function(e){var t=pi(e),n=t[0],r=t[1];return yi((function(){var t=Xo.transition;Xo.transition=1;try{r(e)}finally{Xo.transition=t}}),[e]),n},useTransition:function(){var e=pi(!1),t=e[0];return mi(e=Pi.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=oi();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},di(r,e,t,n)},useOpaqueIdentifier:function(){if(Uo){var e=!1,t=function(e){return{$$typeof:R,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Gr++).toString(36))),Error(i(355))})),n=pi(t)[1];return 0==(2&Ko.mode)&&(Ko.flags|=516,gi(5,(function(){n("r:"+(Gr++).toString(36))}),void 0,null)),t}return pi(t="r:"+(Gr++).toString(36)),t},unstable_isNewReconciler:!1},Ai={readContext:ro,useCallback:_i,useContext:ro,useEffect:wi,useImperativeHandle:ki,useLayoutEffect:xi,useMemo:Ci,useReducer:li,useRef:bi,useState:function(){return li(si)},useDebugValue:Ei,useDeferredValue:function(e){var t=li(si),n=t[0],r=t[1];return wi((function(){var t=Xo.transition;Xo.transition=1;try{r(e)}finally{Xo.transition=t}}),[e]),n},useTransition:function(){var e=li(si)[0];return[bi().current,e]},useMutableSource:fi,useOpaqueIdentifier:function(){return li(si)[0]},unstable_isNewReconciler:!1},Mi={readContext:ro,useCallback:_i,useContext:ro,useEffect:wi,useImperativeHandle:ki,useLayoutEffect:xi,useMemo:Ci,useReducer:ci,useRef:bi,useState:function(){return ci(si)},useDebugValue:Ei,useDeferredValue:function(e){var t=ci(si),n=t[0],r=t[1];return wi((function(){var t=Xo.transition;Xo.transition=1;try{r(e)}finally{Xo.transition=t}}),[e]),n},useTransition:function(){var e=ci(si)[0];return[bi().current,e]},useMutableSource:fi,useOpaqueIdentifier:function(){return ci(si)[0]},unstable_isNewReconciler:!1},Ni=x.ReactCurrentOwner,ji=!1;function Ri(e,t,n,r){t.child=null===e?_o(t,null,n,r):Eo(t,e.child,n,r)}function Ii(e,t,n,r,a){n=n.render;var o=t.ref;return no(t,a),r=ai(e,t,n,r,o,a),null===e||ji?(t.flags|=1,Ri(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~a,ns(e,t,a))}function Di(e,t,n,r,a,o){if(null===e){var i=n.type;return"function"!=typeof i||$l(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Hl(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Fi(e,t,i,r,a,o))}return i=e.child,0==(a&o)&&(a=i.memoizedProps,(n=null!==(n=n.compare)?n:cr)(a,r)&&e.ref===t.ref)?ns(e,t,o):(t.flags|=1,(e=ql(i,r)).ref=t.ref,e.return=t,t.child=e)}function Fi(e,t,n,r,a,o){if(null!==e&&cr(e.memoizedProps,r)&&e.ref===t.ref){if(ji=!1,0==(o&a))return t.lanes=e.lanes,ns(e,t,o);0!=(16384&e.flags)&&(ji=!0)}return zi(e,t,n,r,o)}function Ui(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},yl(t,n);else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},yl(t,e),null;t.memoizedState={baseLanes:0},yl(t,null!==o?o.baseLanes:n)}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,yl(t,r);return Ri(e,t,a,n),t.child}function Bi(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function zi(e,t,n,r,a){var o=ga(n)?fa:ua.current;return o=pa(t,o),no(t,a),n=ai(e,t,n,r,o,a),null===e||ji?(t.flags|=1,Ri(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~a,ns(e,t,a))}function $i(e,t,n,r,a){if(ga(n)){var o=!0;va(t)}else o=!1;if(no(t,a),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),ho(t,n,r),yo(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,c=n.contextType;"object"==typeof c&&null!==c?c=ro(c):c=pa(t,c=ga(n)?fa:ua.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==r||l!==c)&&vo(t,i,r,c),ao=!1;var f=t.memoizedState;i.state=f,uo(t,r,i,a),l=t.memoizedState,s!==r||f!==l||da.current||ao?("function"==typeof u&&(go(t,n,u,r),l=t.memoizedState),(s=ao||bo(t,n,s,r,f,l,c))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4)):("function"==typeof i.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=c,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4),r=!1)}else{i=t.stateNode,io(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Wa(t.type,s),i.props=c,d=t.pendingProps,f=i.context,"object"==typeof(l=n.contextType)&&null!==l?l=ro(l):l=pa(t,l=ga(n)?fa:ua.current);var p=n.getDerivedStateFromProps;(u="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==d||f!==l)&&vo(t,i,r,l),ao=!1,f=t.memoizedState,i.state=f,uo(t,r,i,a);var g=t.memoizedState;s!==d||f!==g||da.current||ao?("function"==typeof p&&(go(t,n,p,r),g=t.memoizedState),(c=ao||bo(t,n,c,r,f,g,l))?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,g,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,g,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=g),i.props=r,i.state=g,i.context=l,r=c):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),r=!1)}return qi(e,t,n,r,o,a)}function qi(e,t,n,r,a,o){Bi(e,t);var i=0!=(64&t.flags);if(!r&&!i)return a&&ya(t,n,!1),ns(e,t,o);r=t.stateNode,Ni.current=t;var s=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Eo(t,e.child,null,o),t.child=Eo(t,null,s,o)):Ri(e,t,s,o),t.memoizedState=r.state,a&&ya(t,n,!0),t.child}function Hi(e){var t=e.stateNode;t.pendingContext?ba(0,t.pendingContext,t.pendingContext!==t.context):t.context&&ba(0,t.context,!1),Ao(e,t.containerInfo)}var Zi,Vi,Gi,Wi={dehydrated:null,retryLane:0};function Xi(e,t,n){var r,a=t.pendingProps,o=Ro.current,i=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(i=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===a.fallback||!0===a.unstable_avoidThisFallback||(o|=1),la(Ro,1&o),null===e?(void 0!==a.fallback&&$o(t),e=a.children,o=a.fallback,i?(e=Yi(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Wi,e):"number"==typeof a.unstable_expectedLoadTime?(e=Yi(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Wi,t.lanes=33554432,e):((n=Vl({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,i?(a=Qi(e,t,a.children,a.fallback,n),i=t.child,o=e.child.memoizedState,i.memoizedState=null===o?{baseLanes:n}:{baseLanes:o.baseLanes|n},i.childLanes=e.childLanes&~n,t.memoizedState=Wi,a):(n=Ki(e,t,a.children,n),t.memoizedState=null,n))}function Yi(e,t,n,r){var a=e.mode,o=e.child;return t={mode:"hidden",children:t},0==(2&a)&&null!==o?(o.childLanes=0,o.pendingProps=t):o=Vl(t,a,0,null),n=Zl(n,a,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function Ki(e,t,n,r){var a=e.child;return e=a.sibling,n=ql(a,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function Qi(e,t,n,r,a){var o=t.mode,i=e.child;e=i.sibling;var s={mode:"hidden",children:n};return 0==(2&o)&&t.child!==i?((n=t.child).childLanes=0,n.pendingProps=s,null!==(i=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=i,i.nextEffect=null):t.firstEffect=t.lastEffect=null):n=ql(i,s),null!==e?r=ql(e,r):(r=Zl(r,o,a,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Ji(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),to(e.return,t)}function es(e,t,n,r,a,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a,lastEffect:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=a,i.lastEffect=o)}function ts(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(Ri(e,t,r.children,n),0!=(2&(r=Ro.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ji(e,n);else if(19===e.tag)Ji(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(la(Ro,r),0==(2&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===Io(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),es(t,!1,a,n,o,t.lastEffect);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===Io(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}es(t,!0,n,null,o,t.lastEffect);break;case"together":es(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function ns(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fs|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=ql(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=ql(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function rs(e,t){if(!Uo)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function as(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return ga(t.type)&&ma(),null;case 3:return Mo(),sa(da),sa(ua),Go(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ho(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:jo(t);var o=Lo(Oo.current);if(n=t.type,null!==e&&null!=t.stateNode)Vi(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(i(166));return null}if(e=Lo(Po.current),Ho(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Xr]=t,r[Yr]=s,n){case"dialog":Pr("cancel",r),Pr("close",r);break;case"iframe":case"object":case"embed":Pr("load",r);break;case"video":case"audio":for(e=0;e<kr.length;e++)Pr(kr[e],r);break;case"source":Pr("error",r);break;case"img":case"image":case"link":Pr("error",r),Pr("load",r);break;case"details":Pr("toggle",r);break;case"input":ee(r,s),Pr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Pr("invalid",r);break;case"textarea":le(r,s),Pr("invalid",r)}for(var c in Ee(n,s),e=null,s)s.hasOwnProperty(c)&&(o=s[c],"children"===c?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):l.hasOwnProperty(c)&&null!=o&&"onScroll"===c&&Pr("scroll",r));switch(n){case"input":Y(r),re(r,s,!0);break;case"textarea":Y(r),ue(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=Dr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(c=9===o.nodeType?o:o.ownerDocument,e===de&&(e=pe(n)),e===de?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[Xr]=t,e[Yr]=r,Zi(e,t),t.stateNode=e,c=_e(n,r),n){case"dialog":Pr("cancel",e),Pr("close",e),o=r;break;case"iframe":case"object":case"embed":Pr("load",e),o=r;break;case"video":case"audio":for(o=0;o<kr.length;o++)Pr(kr[o],e);o=r;break;case"source":Pr("error",e),o=r;break;case"img":case"image":case"link":Pr("error",e),Pr("load",e),o=r;break;case"details":Pr("toggle",e),o=r;break;case"input":ee(e,r),o=J(e,r),Pr("invalid",e);break;case"option":o=oe(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=a({},r,{value:void 0}),Pr("invalid",e);break;case"textarea":le(e,r),o=se(e,r),Pr("invalid",e);break;default:o=r}Ee(n,o);var u=o;for(s in u)if(u.hasOwnProperty(s)){var d=u[s];"style"===s?Se(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&he(e,d):"children"===s?"string"==typeof d?("textarea"!==n||""!==d)&&ve(e,d):"number"==typeof d&&ve(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(l.hasOwnProperty(s)?null!=d&&"onScroll"===s&&Pr("scroll",e):null!=d&&w(e,s,d,c))}switch(n){case"input":Y(e),re(e,r,!1);break;case"textarea":Y(e),ue(e);break;case"option":null!=r.value&&e.setAttribute("value",""+W(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?ie(e,!!r.multiple,s,!1):null!=r.defaultValue&&ie(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Dr)}Br(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Gi(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));n=Lo(Oo.current),Lo(Po.current),Ho(t)?(r=t.stateNode,n=t.memoizedProps,r[Xr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Xr]=t,t.stateNode=r)}return null;case 13:return sa(Ro),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Ho(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Ro.current)?0===Rs&&(Rs=3):(0!==Rs&&3!==Rs||(Rs=4),null===Ls||0==(134217727&Fs)&&0==(134217727&Us)||ml(Ls,Ms))),(r||n)&&(t.flags|=4),null);case 4:return Mo(),null===e&&Or(t.stateNode.containerInfo),null;case 10:return eo(t),null;case 17:return ga(t.type)&&ma(),null;case 19:if(sa(Ro),null===(r=t.memoizedState))return null;if(s=0!=(64&t.flags),null===(c=r.rendering))if(s)rs(r,!1);else{if(0!==Rs||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(c=Io(e))){for(t.flags|=64,rs(r,!1),null!==(s=c.updateQueue)&&(t.updateQueue=s,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(s=n).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(c=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return la(Ro,1&Ro.current|2),t.child}e=e.sibling}null!==r.tail&&Ba()>qs&&(t.flags|=64,s=!0,rs(r,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=Io(c))){if(t.flags|=64,s=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),rs(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate&&!Uo)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ba()-r.renderingStartTime>qs&&1073741824!==n&&(t.flags|=64,s=!0,rs(r,!1),t.lanes=33554432);r.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=r.last)?n.sibling=c:t.child=c,r.last=c)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ba(),n.sibling=null,t=Ro.current,la(Ro,s?1&t|2:1&t),n):null;case 23:case 24:return wl(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(i(156,t.tag))}function os(e){switch(e.tag){case 1:ga(e.type)&&ma();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Mo(),sa(da),sa(ua),Go(),0!=(64&(t=e.flags)))throw Error(i(285));return e.flags=-4097&t|64,e;case 5:return jo(e),null;case 13:return sa(Ro),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return sa(Ro),null;case 4:return Mo(),null;case 10:return eo(e),null;case 23:case 24:return wl(),null;default:return null}}function is(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a}}function ss(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}Zi=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Vi=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Lo(Po.current);var i,s=null;switch(n){case"input":o=J(e,o),r=J(e,r),s=[];break;case"option":o=oe(e,o),r=oe(e,r),s=[];break;case"select":o=a({},o,{value:void 0}),r=a({},r,{value:void 0}),s=[];break;case"textarea":o=se(e,o),r=se(e,r),s=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Dr)}for(d in Ee(n,r),n=null,o)if(!r.hasOwnProperty(d)&&o.hasOwnProperty(d)&&null!=o[d])if("style"===d){var c=o[d];for(i in c)c.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(l.hasOwnProperty(d)?s||(s=[]):(s=s||[]).push(d,null));for(d in r){var u=r[d];if(c=null!=o?o[d]:void 0,r.hasOwnProperty(d)&&u!==c&&(null!=u||null!=c))if("style"===d)if(c){for(i in c)!c.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&c[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(s||(s=[]),s.push(d,n)),n=u;else"dangerouslySetInnerHTML"===d?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(s=s||[]).push(d,u)):"children"===d?"string"!=typeof u&&"number"!=typeof u||(s=s||[]).push(d,""+u):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(l.hasOwnProperty(d)?(null!=u&&"onScroll"===d&&Pr("scroll",e),s||c===u||(s=[])):"object"==typeof u&&null!==u&&u.$$typeof===R?u.toString():(s=s||[]).push(d,u))}n&&(s=s||[]).push("style",n);var d=s;(t.updateQueue=d)&&(t.flags|=4)}},Gi=function(e,t,n,r){n!==r&&(t.flags|=4)};var ls="function"==typeof WeakMap?WeakMap:Map;function cs(e,t,n){(n=so(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Gs||(Gs=!0,Ws=r),ss(0,t)},n}function us(e,t,n){(n=so(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return ss(0,t),r(a)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Xs?Xs=new Set([this]):Xs.add(this),ss(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var ds="function"==typeof WeakSet?WeakSet:Set;function fs(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(n){Dl(e,n)}else t.current=null}function ps(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Wa(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Hr(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(i(163))}function gs(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var a=e;r=a.next,0!=(4&(a=a.tag))&&0!=(1&a)&&(jl(n,e),Nl(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Wa(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&fo(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}fo(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Br(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&St(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(i(163))}function ms(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var a=n.memoizedProps.style;a=null!=a&&a.hasOwnProperty("display")?a.display:null,r.style.display=xe("display",a)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function bs(e,t){if(xa&&"function"==typeof xa.onCommitFiberUnmount)try{xa.onCommitFiberUnmount(wa,t)}catch(o){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,a=r.destroy;if(r=r.tag,void 0!==a)if(0!=(4&r))jl(t,n);else{r=t;try{a()}catch(o){Dl(r,o)}}n=n.next}while(n!==e)}break;case 1:if(fs(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){Dl(t,o)}break;case 5:fs(t);break;case 4:Ss(e,t)}}function hs(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function vs(e){return 5===e.tag||3===e.tag||4===e.tag}function ys(e){e:{for(var t=e.return;null!==t;){if(vs(t))break e;t=t.return}throw Error(i(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(i(161))}16&n.flags&&(ve(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||vs(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?ws(e,n,t):xs(e,n,t)}function ws(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Dr));else if(4!==r&&null!==(e=e.child))for(ws(e,t,n),e=e.sibling;null!==e;)ws(e,t,n),e=e.sibling}function xs(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(xs(e,t,n),e=e.sibling;null!==e;)xs(e,t,n),e=e.sibling}function Ss(e,t){for(var n,r,a=t,o=!1;;){if(!o){o=a.return;e:for(;;){if(null===o)throw Error(i(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===a.tag||6===a.tag){e:for(var s=e,l=a,c=l;;)if(bs(s,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(s=n,l=a.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):n.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){n=a.stateNode.containerInfo,r=!0,a.child.return=a,a=a.child;continue}}else if(bs(e,a),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(o=!1)}a.sibling.return=a.return,a=a.sibling}}function ks(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var a=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Yr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),_e(e,a),t=_e(e,r),a=0;a<o.length;a+=2){var s=o[a],l=o[a+1];"style"===s?Se(n,l):"dangerouslySetInnerHTML"===s?he(n,l):"children"===s?ve(n,l):w(n,s,l,t)}switch(e){case"input":ne(n,r);break;case"textarea":ce(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(o=r.value)?ie(n,!!r.multiple,o,!1):e!==!!r.multiple&&(null!=r.defaultValue?ie(n,!!r.multiple,r.defaultValue,!0):ie(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(i(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,St(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&($s=Ba(),ms(t.child,!0)),void Es(t);case 19:return void Es(t);case 17:return;case 23:case 24:return void ms(t,null!==t.memoizedState)}throw Error(i(163))}function Es(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ds),t.forEach((function(t){var r=Ul.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function _s(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Cs=Math.ceil,Ps=x.ReactCurrentDispatcher,Ts=x.ReactCurrentOwner,Os=0,Ls=null,As=null,Ms=0,Ns=0,js=ia(0),Rs=0,Is=null,Ds=0,Fs=0,Us=0,Bs=0,zs=null,$s=0,qs=1/0;function Hs(){qs=Ba()+500}var Zs,Vs=null,Gs=!1,Ws=null,Xs=null,Ys=!1,Ks=null,Qs=90,Js=[],el=[],tl=null,nl=0,rl=null,al=-1,ol=0,il=0,sl=null,ll=!1;function cl(){return 0!=(48&Os)?Ba():-1!==al?al:al=Ba()}function ul(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===za()?1:2;if(0===ol&&(ol=Ds),0!==Ga.transition){0!==il&&(il=null!==zs?zs.pendingLanes:0),e=ol;var t=4186112&~il;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=za(),0!=(4&Os)&&98===e?e=Bt(12,ol):e=Bt(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),ol),e}function dl(e,t,n){if(50<nl)throw nl=0,rl=null,Error(i(185));if(null===(e=fl(e,t)))return null;qt(e,t,n),e===Ls&&(Us|=t,4===Rs&&ml(e,Ms));var r=za();1===t?0!=(8&Os)&&0==(48&Os)?bl(e):(pl(e,n),0===Os&&(Hs(),Za())):(0==(4&Os)||98!==r&&99!==r||(null===tl?tl=new Set([e]):tl.add(e)),pl(e,n)),zs=e}function fl(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function pl(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,a=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var l=31-Ht(s),c=1<<l,u=o[l];if(-1===u){if(0==(c&r)||0!=(c&a)){u=t,Dt(c);var d=It;o[l]=10<=d?u+250:6<=d?u+5e3:-1}}else u<=t&&(e.expiredLanes|=c);s&=~c}if(r=Ft(e,e===Ls?Ms:0),t=It,0===r)null!==n&&(n!==ja&&Ea(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==ja&&Ea(n)}15===t?(n=bl.bind(null,e),null===Ia?(Ia=[n],Da=ka(Oa,Va)):Ia.push(n),n=ja):14===t?n=Ha(99,bl.bind(null,e)):n=Ha(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(i(358,e))}}(t),gl.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function gl(e){if(al=-1,il=ol=0,0!=(48&Os))throw Error(i(327));var t=e.callbackNode;if(Ml()&&e.callbackNode!==t)return null;var n=Ft(e,e===Ls?Ms:0);if(0===n)return null;var r=n,a=Os;Os|=16;var o=kl();for(Ls===e&&Ms===r||(Hs(),xl(e,r));;)try{Cl();break}catch(l){Sl(e,l)}if(Ja(),Ps.current=o,Os=a,null!==As?r=0:(Ls=null,Ms=0,r=Rs),0!=(Ds&Us))xl(e,0);else if(0!==r){if(2===r&&(Os|=64,e.hydrate&&(e.hydrate=!1,Hr(e.containerInfo)),0!==(n=Ut(e))&&(r=El(e,n))),1===r)throw t=Is,xl(e,0),ml(e,n),pl(e,Ba()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(i(345));case 2:Ol(e);break;case 3:if(ml(e,n),(62914560&n)===n&&10<(r=$s+500-Ba())){if(0!==Ft(e,0))break;if(((a=e.suspendedLanes)&n)!==n){cl(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=$r(Ol.bind(null,e),r);break}Ol(e);break;case 4:if(ml(e,n),(4186112&n)===n)break;for(r=e.eventTimes,a=-1;0<n;){var s=31-Ht(n);o=1<<s,(s=r[s])>a&&(a=s),n&=~o}if(n=a,10<(n=(120>(n=Ba()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Cs(n/1960))-n)){e.timeoutHandle=$r(Ol.bind(null,e),n);break}Ol(e);break;case 5:Ol(e);break;default:throw Error(i(329))}}return pl(e,Ba()),e.callbackNode===t?gl.bind(null,e):null}function ml(e,t){for(t&=~Bs,t&=~Us,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ht(t),r=1<<n;e[n]=-1,t&=~r}}function bl(e){if(0!=(48&Os))throw Error(i(327));if(Ml(),e===Ls&&0!=(e.expiredLanes&Ms)){var t=Ms,n=El(e,t);0!=(Ds&Us)&&(n=El(e,t=Ft(e,t)))}else n=El(e,t=Ft(e,0));if(0!==e.tag&&2===n&&(Os|=64,e.hydrate&&(e.hydrate=!1,Hr(e.containerInfo)),0!==(t=Ut(e))&&(n=El(e,t))),1===n)throw n=Is,xl(e,0),ml(e,t),pl(e,Ba()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ol(e),pl(e,Ba()),null}function hl(e,t){var n=Os;Os|=1;try{return e(t)}finally{0===(Os=n)&&(Hs(),Za())}}function vl(e,t){var n=Os;Os&=-2,Os|=8;try{return e(t)}finally{0===(Os=n)&&(Hs(),Za())}}function yl(e,t){la(js,Ns),Ns|=t,Ds|=t}function wl(){Ns=js.current,sa(js)}function xl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,qr(n)),null!==As)for(n=As.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&ma();break;case 3:Mo(),sa(da),sa(ua),Go();break;case 5:jo(r);break;case 4:Mo();break;case 13:case 19:sa(Ro);break;case 10:eo(r);break;case 23:case 24:wl()}n=n.return}Ls=e,As=ql(e.current,null),Ms=Ns=Ds=t,Rs=0,Is=null,Bs=Us=Fs=0}function Sl(e,t){for(;;){var n=As;try{if(Ja(),Wo.current=Oi,ei){for(var r=Ko.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}ei=!1}if(Yo=0,Jo=Qo=Ko=null,ti=!1,Ts.current=null,null===n||null===n.return){Rs=1,Is=t,As=null;break}e:{var o=e,i=n.return,s=n,l=t;if(t=Ms,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l;if(0==(2&s.mode)){var u=s.alternate;u?(s.updateQueue=u.updateQueue,s.memoizedState=u.memoizedState,s.lanes=u.lanes):(s.updateQueue=null,s.memoizedState=null)}var d=0!=(1&Ro.current),f=i;do{var p;if(p=13===f.tag){var g=f.memoizedState;if(null!==g)p=null!==g.dehydrated;else{var m=f.memoizedProps;p=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(p){var b=f.updateQueue;if(null===b){var h=new Set;h.add(c),f.updateQueue=h}else b.add(c);if(0==(2&f.mode)){if(f.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var v=so(-1,1);v.tag=2,lo(s,v)}s.lanes|=1;break e}l=void 0,s=t;var y=o.pingCache;if(null===y?(y=o.pingCache=new ls,l=new Set,y.set(c,l)):void 0===(l=y.get(c))&&(l=new Set,y.set(c,l)),!l.has(s)){l.add(s);var w=Fl.bind(null,o,c,s);c.then(w,w)}f.flags|=4096,f.lanes=t;break e}f=f.return}while(null!==f);l=Error((G(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Rs&&(Rs=2),l=is(l,s),f=i;do{switch(f.tag){case 3:o=l,f.flags|=4096,t&=-t,f.lanes|=t,co(f,cs(0,o,t));break e;case 1:o=l;var x=f.type,S=f.stateNode;if(0==(64&f.flags)&&("function"==typeof x.getDerivedStateFromError||null!==S&&"function"==typeof S.componentDidCatch&&(null===Xs||!Xs.has(S)))){f.flags|=4096,t&=-t,f.lanes|=t,co(f,us(f,o,t));break e}}f=f.return}while(null!==f)}Tl(n)}catch(k){t=k,As===n&&null!==n&&(As=n=n.return);continue}break}}function kl(){var e=Ps.current;return Ps.current=Oi,null===e?Oi:e}function El(e,t){var n=Os;Os|=16;var r=kl();for(Ls===e&&Ms===t||xl(e,t);;)try{_l();break}catch(a){Sl(e,a)}if(Ja(),Os=n,Ps.current=r,null!==As)throw Error(i(261));return Ls=null,Ms=0,Rs}function _l(){for(;null!==As;)Pl(As)}function Cl(){for(;null!==As&&!_a();)Pl(As)}function Pl(e){var t=Zs(e.alternate,e,Ns);e.memoizedProps=e.pendingProps,null===t?Tl(e):As=t,Ts.current=null}function Tl(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=as(n,t,Ns)))return void(As=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Ns)||0==(4&n.mode)){for(var r=0,a=n.child;null!==a;)r|=a.lanes|a.childLanes,a=a.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=os(t)))return n.flags&=2047,void(As=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(As=t);As=t=e}while(null!==t);0===Rs&&(Rs=5)}function Ol(e){var t=za();return qa(99,Ll.bind(null,e,t)),null}function Ll(e,t){do{Ml()}while(null!==Ks);if(0!=(48&Os))throw Error(i(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null;var r=n.lanes|n.childLanes,a=r,o=e.pendingLanes&~a;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=a,e.mutableReadLanes&=a,e.entangledLanes&=a,a=e.entanglements;for(var s=e.eventTimes,l=e.expirationTimes;0<o;){var c=31-Ht(o),u=1<<c;a[c]=0,s[c]=-1,l[c]=-1,o&=~u}if(null!==tl&&0==(24&r)&&tl.has(e)&&tl.delete(e),e===Ls&&(As=Ls=null,Ms=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(a=Os,Os|=32,Ts.current=null,Fr=Xt,gr(s=pr())){if("selectionStart"in s)l={start:s.selectionStart,end:s.selectionEnd};else e:if(l=(l=s.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,o=u.anchorOffset,c=u.focusNode,u=u.focusOffset;try{l.nodeType,c.nodeType}catch(C){l=null;break e}var d=0,f=-1,p=-1,g=0,m=0,b=s,h=null;t:for(;;){for(var v;b!==l||0!==o&&3!==b.nodeType||(f=d+o),b!==c||0!==u&&3!==b.nodeType||(p=d+u),3===b.nodeType&&(d+=b.nodeValue.length),null!==(v=b.firstChild);)h=b,b=v;for(;;){if(b===s)break t;if(h===l&&++g===o&&(f=d),h===c&&++m===u&&(p=d),null!==(v=b.nextSibling))break;h=(b=h).parentNode}b=v}l=-1===f||-1===p?null:{start:f,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;Ur={focusedElem:s,selectionRange:l},Xt=!1,sl=null,ll=!1,Vs=r;do{try{Al()}catch(C){if(null===Vs)throw Error(i(330));Dl(Vs,C),Vs=Vs.nextEffect}}while(null!==Vs);sl=null,Vs=r;do{try{for(s=e;null!==Vs;){var y=Vs.flags;if(16&y&&ve(Vs.stateNode,""),128&y){var w=Vs.alternate;if(null!==w){var x=w.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&y){case 2:ys(Vs),Vs.flags&=-3;break;case 6:ys(Vs),Vs.flags&=-3,ks(Vs.alternate,Vs);break;case 1024:Vs.flags&=-1025;break;case 1028:Vs.flags&=-1025,ks(Vs.alternate,Vs);break;case 4:ks(Vs.alternate,Vs);break;case 8:Ss(s,l=Vs);var S=l.alternate;hs(l),null!==S&&hs(S)}Vs=Vs.nextEffect}}catch(C){if(null===Vs)throw Error(i(330));Dl(Vs,C),Vs=Vs.nextEffect}}while(null!==Vs);if(x=Ur,w=pr(),y=x.focusedElem,s=x.selectionRange,w!==y&&y&&y.ownerDocument&&fr(y.ownerDocument.documentElement,y)){null!==s&&gr(y)&&(w=s.start,void 0===(x=s.end)&&(x=w),"selectionStart"in y?(y.selectionStart=w,y.selectionEnd=Math.min(x,y.value.length)):(x=(w=y.ownerDocument||document)&&w.defaultView||window).getSelection&&(x=x.getSelection(),l=y.textContent.length,S=Math.min(s.start,l),s=void 0===s.end?S:Math.min(s.end,l),!x.extend&&S>s&&(l=s,s=S,S=l),l=dr(y,S),o=dr(y,s),l&&o&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==o.node||x.focusOffset!==o.offset)&&((w=w.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),S>s?(x.addRange(w),x.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),x.addRange(w))))),w=[];for(x=y;x=x.parentNode;)1===x.nodeType&&w.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof y.focus&&y.focus(),y=0;y<w.length;y++)(x=w[y]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Xt=!!Fr,Ur=Fr=null,e.current=n,Vs=r;do{try{for(y=e;null!==Vs;){var k=Vs.flags;if(36&k&&gs(y,Vs.alternate,Vs),128&k){w=void 0;var E=Vs.ref;if(null!==E){var _=Vs.stateNode;switch(Vs.tag){case 5:w=_;break;default:w=_}"function"==typeof E?E(w):E.current=w}}Vs=Vs.nextEffect}}catch(C){if(null===Vs)throw Error(i(330));Dl(Vs,C),Vs=Vs.nextEffect}}while(null!==Vs);Vs=null,Ra(),Os=a}else e.current=n;if(Ys)Ys=!1,Ks=e,Qs=t;else for(Vs=r;null!==Vs;)t=Vs.nextEffect,Vs.nextEffect=null,8&Vs.flags&&((k=Vs).sibling=null,k.stateNode=null),Vs=t;if(0===(r=e.pendingLanes)&&(Xs=null),1===r?e===rl?nl++:(nl=0,rl=e):nl=0,n=n.stateNode,xa&&"function"==typeof xa.onCommitFiberRoot)try{xa.onCommitFiberRoot(wa,n,void 0,64==(64&n.current.flags))}catch(C){}if(pl(e,Ba()),Gs)throw Gs=!1,e=Ws,Ws=null,e;return 0!=(8&Os)||Za(),null}function Al(){for(;null!==Vs;){var e=Vs.alternate;ll||null===sl||(0!=(8&Vs.flags)?et(Vs,sl)&&(ll=!0):13===Vs.tag&&_s(e,Vs)&&et(Vs,sl)&&(ll=!0));var t=Vs.flags;0!=(256&t)&&ps(e,Vs),0==(512&t)||Ys||(Ys=!0,Ha(97,(function(){return Ml(),null}))),Vs=Vs.nextEffect}}function Ml(){if(90!==Qs){var e=97<Qs?97:Qs;return Qs=90,qa(e,Rl)}return!1}function Nl(e,t){Js.push(t,e),Ys||(Ys=!0,Ha(97,(function(){return Ml(),null})))}function jl(e,t){el.push(t,e),Ys||(Ys=!0,Ha(97,(function(){return Ml(),null})))}function Rl(){if(null===Ks)return!1;var e=Ks;if(Ks=null,0!=(48&Os))throw Error(i(331));var t=Os;Os|=32;var n=el;el=[];for(var r=0;r<n.length;r+=2){var a=n[r],o=n[r+1],s=a.destroy;if(a.destroy=void 0,"function"==typeof s)try{s()}catch(c){if(null===o)throw Error(i(330));Dl(o,c)}}for(n=Js,Js=[],r=0;r<n.length;r+=2){a=n[r],o=n[r+1];try{var l=a.create;a.destroy=l()}catch(c){if(null===o)throw Error(i(330));Dl(o,c)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Os=t,Za(),!0}function Il(e,t,n){lo(e,t=cs(0,t=is(n,t),1)),t=cl(),null!==(e=fl(e,1))&&(qt(e,1,t),pl(e,t))}function Dl(e,t){if(3===e.tag)Il(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Il(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Xs||!Xs.has(r))){var a=us(n,e=is(t,e),1);if(lo(n,a),a=cl(),null!==(n=fl(n,1)))qt(n,1,a),pl(n,a);else if("function"==typeof r.componentDidCatch&&(null===Xs||!Xs.has(r)))try{r.componentDidCatch(t,e)}catch(o){}break}}n=n.return}}function Fl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=cl(),e.pingedLanes|=e.suspendedLanes&n,Ls===e&&(Ms&n)===n&&(4===Rs||3===Rs&&(62914560&Ms)===Ms&&500>Ba()-$s?xl(e,0):Bs|=n),pl(e,t)}function Ul(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===za()?1:2:(0===ol&&(ol=Ds),0===(t=zt(62914560&~ol))&&(t=4194304))),n=cl(),null!==(e=fl(e,t))&&(qt(e,t,n),pl(e,n))}function Bl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function zl(e,t,n,r){return new Bl(e,t,n,r)}function $l(e){return!(!(e=e.prototype)||!e.isReactComponent)}function ql(e,t){var n=e.alternate;return null===n?((n=zl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Hl(e,t,n,r,a,o){var s=2;if(r=e,"function"==typeof e)$l(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case E:return Zl(n.children,a,o,t);case I:s=8,a|=16;break;case _:s=8,a|=1;break;case C:return(e=zl(12,n,t,8|a)).elementType=C,e.type=C,e.lanes=o,e;case L:return(e=zl(13,n,t,a)).type=L,e.elementType=L,e.lanes=o,e;case A:return(e=zl(19,n,t,a)).elementType=A,e.lanes=o,e;case D:return Vl(n,a,o,t);case F:return(e=zl(24,n,t,a)).elementType=F,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case P:s=10;break e;case T:s=9;break e;case O:s=11;break e;case M:s=14;break e;case N:s=16,r=null;break e;case j:s=22;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=zl(s,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function Zl(e,t,n,r){return(e=zl(7,e,r,t)).lanes=n,e}function Vl(e,t,n,r){return(e=zl(23,e,r,t)).elementType=D,e.lanes=n,e}function Gl(e,t,n){return(e=zl(6,e,null,t)).lanes=n,e}function Wl(e,t,n){return(t=zl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Xl(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=$t(0),this.expirationTimes=$t(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$t(0),this.mutableSourceEagerHydrationData=null}function Yl(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Kl(e,t,n,r){var a=t.current,o=cl(),s=ul(a);e:if(n){t:{if(Ye(n=n._reactInternals)!==n||1!==n.tag)throw Error(i(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(ga(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(i(171))}if(1===n.tag){var c=n.type;if(ga(c)){n=ha(n,c,l);break e}}n=l}else n=ca;return null===t.context?t.context=n:t.pendingContext=n,(t=so(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),lo(a,t),dl(a,s,o),s}function Ql(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Jl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function ec(e,t){Jl(e,t),(e=e.alternate)&&Jl(e,t)}function tc(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Xl(e,t,null!=n&&!0===n.hydrate),t=zl(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,oo(t),e[Kr]=n.current,Or(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var a=(t=r[e])._getVersion;a=a(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,a]:n.mutableSourceEagerHydrationData.push(t,a)}this._internalRoot=n}function nc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function rc(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o._internalRoot;if("function"==typeof a){var s=a;a=function(){var e=Ql(i);s.call(e)}}Kl(t,i,e,a)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new tc(e,0,t?{hydrate:!0}:void 0)}(n,r),i=o._internalRoot,"function"==typeof a){var l=a;a=function(){var e=Ql(i);l.call(e)}}vl((function(){Kl(t,i,e,a)}))}return Ql(i)}function ac(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!nc(t))throw Error(i(200));return Yl(e,t,null,n)}Zs=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||da.current)ji=!0;else{if(0==(n&r)){switch(ji=!1,t.tag){case 3:Hi(t),Zo();break;case 5:No(t);break;case 1:ga(t.type)&&va(t);break;case 4:Ao(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var a=t.type._context;la(Xa,a._currentValue),a._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Xi(e,t,n):(la(Ro,1&Ro.current),null!==(t=ns(e,t,n))?t.sibling:null);la(Ro,1&Ro.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return ts(e,t,n);t.flags|=64}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),la(Ro,Ro.current),r)break;return null;case 23:case 24:return t.lanes=0,Ui(e,t,n)}return ns(e,t,n)}ji=0!=(16384&e.flags)}else ji=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=pa(t,ua.current),no(t,n),a=ai(null,t,r,e,a,n),t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ga(r)){var o=!0;va(t)}else o=!1;t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,oo(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&go(t,r,s,e),a.updater=mo,t.stateNode=a,a._reactInternals=t,yo(t,r,e,n),t=qi(null,t,r,!0,o,n)}else t.tag=0,Ri(null,t,a,n),t=t.child;return t;case 16:a=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=(o=a._init)(a._payload),t.type=a,o=t.tag=function(e){if("function"==typeof e)return $l(e)?1:0;if(null!=e){if((e=e.$$typeof)===O)return 11;if(e===M)return 14}return 2}(a),e=Wa(a,e),o){case 0:t=zi(null,t,a,e,n);break e;case 1:t=$i(null,t,a,e,n);break e;case 11:t=Ii(null,t,a,e,n);break e;case 14:t=Di(null,t,a,Wa(a.type,e),r,n);break e}throw Error(i(306,a,""))}return t;case 0:return r=t.type,a=t.pendingProps,zi(e,t,r,a=t.elementType===r?a:Wa(r,a),n);case 1:return r=t.type,a=t.pendingProps,$i(e,t,r,a=t.elementType===r?a:Wa(r,a),n);case 3:if(Hi(t),r=t.updateQueue,null===e||null===r)throw Error(i(282));if(r=t.pendingProps,a=null!==(a=t.memoizedState)?a.element:null,io(e,t),uo(t,r,null,n),(r=t.memoizedState.element)===a)Zo(),t=ns(e,t,n);else{if((o=(a=t.stateNode).hydrate)&&(Fo=Zr(t.stateNode.containerInfo.firstChild),Do=t,o=Uo=!0),o){if(null!=(e=a.mutableSourceEagerHydrationData))for(a=0;a<e.length;a+=2)(o=e[a])._workInProgressVersionPrimary=e[a+1],Vo.push(o);for(n=_o(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Ri(e,t,r,n),Zo();t=t.child}return t;case 5:return No(t),null===e&&$o(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,s=a.children,zr(r,a)?s=null:null!==o&&zr(r,o)&&(t.flags|=16),Bi(e,t),Ri(e,t,s,n),t.child;case 6:return null===e&&$o(t),null;case 13:return Xi(e,t,n);case 4:return Ao(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Eo(t,null,r,n):Ri(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,Ii(e,t,r,a=t.elementType===r?a:Wa(r,a),n);case 7:return Ri(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ri(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,a=t.pendingProps,s=t.memoizedProps,o=a.value;var l=t.type._context;if(la(Xa,l._currentValue),l._currentValue=o,null!==s)if(l=s.value,0===(o=sr(l,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,o):1073741823))){if(s.children===a.children&&!da.current){t=ns(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&o)){1===l.tag&&((u=so(-1,n&-n)).tag=2,lo(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),to(l.return,n),c.lanes|=n;break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Ri(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=(o=t.pendingProps).children,no(t,n),r=r(a=ro(a,o.unstable_observedBits)),t.flags|=1,Ri(e,t,r,n),t.child;case 14:return o=Wa(a=t.type,t.pendingProps),Di(e,t,a,o=Wa(a.type,o),r,n);case 15:return Fi(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Wa(r,a),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ga(r)?(e=!0,va(t)):e=!1,no(t,n),ho(t,r,a),yo(t,r,a,n),qi(null,t,r,!0,e,n);case 19:return ts(e,t,n);case 23:case 24:return Ui(e,t,n)}throw Error(i(156,t.tag))},tc.prototype.render=function(e){Kl(e,this._internalRoot,null,null)},tc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Kl(null,e,null,(function(){t[Kr]=null}))},tt=function(e){13===e.tag&&(dl(e,4,cl()),ec(e,4))},nt=function(e){13===e.tag&&(dl(e,67108864,cl()),ec(e,67108864))},rt=function(e){if(13===e.tag){var t=cl(),n=ul(e);dl(e,n,t),ec(e,n)}},at=function(e,t){return t()},Pe=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=na(r);if(!a)throw Error(i(90));K(r),ne(r,a)}}}break;case"textarea":ce(e,n);break;case"select":null!=(t=n.value)&&ie(e,!!n.multiple,t,!1)}},Ne=hl,je=function(e,t,n,r,a){var o=Os;Os|=4;try{return qa(98,e.bind(null,t,n,r,a))}finally{0===(Os=o)&&(Hs(),Za())}},Re=function(){0==(49&Os)&&(function(){if(null!==tl){var e=tl;tl=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,pl(e,Ba())}))}Za()}(),Ml())},Ie=function(e,t){var n=Os;Os|=2;try{return e(t)}finally{0===(Os=n)&&(Hs(),Za())}};var oc={Events:[ea,ta,na,Ae,Me,Ml,{current:!1}]},ic={findFiberByHostInstance:Jr,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},sc={bundleType:ic.bundleType,version:ic.version,rendererPackageName:ic.rendererPackageName,rendererConfig:ic.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Je(e))?null:e.stateNode},findFiberByHostInstance:ic.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var lc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lc.isDisabled&&lc.supportsFiber)try{wa=lc.inject(sc),xa=lc}catch(be){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oc,t.createPortal=ac,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw Error(i(268,Object.keys(e)))}return e=null===(e=Je(t))?null:e.stateNode},t.flushSync=function(e,t){var n=Os;if(0!=(48&n))return e(t);Os|=1;try{if(e)return qa(99,e.bind(null,t))}finally{Os=n,Za()}},t.hydrate=function(e,t,n){if(!nc(t))throw Error(i(200));return rc(null,e,t,!0,n)},t.render=function(e,t,n){if(!nc(t))throw Error(i(200));return rc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!nc(e))throw Error(i(40));return!!e._reactRootContainer&&(vl((function(){rc(null,null,e,!1,(function(){e._reactRootContainer=null,e[Kr]=null}))})),!0)},t.unstable_batchedUpdates=hl,t.unstable_createPortal=function(e,t){return ac(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!nc(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return rc(e,t,n,!1,r)},t.version="17.0.2"},73935:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(64448)},69590:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(!o(e[l],i[l]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],i.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(e[l]!==i[l])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(i,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],i[c[l]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},69921:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,b=n?Symbol.for("react.lazy"):60116,h=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case b:case m:case l:return e;default:return t}}case a:return t}}}function S(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=b,t.Memo=m,t.Portal=a,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||x(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===b},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===a},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===i},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===i||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===y||e.$$typeof===w||e.$$typeof===h)},t.typeOf=x},59864:function(e,t,n){"use strict";e.exports=n(69921)},68356:function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var s=n(67294),l=n(45697),c=[],u=[];function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function f(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function p(e,t){return s.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function g(e,t){var d,f;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var g=i({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),m=null;function b(){return m||(m=e(g.loader)),m.promise}return c.push(b),"function"==typeof g.webpack&&u.push((function(){if((0,g.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return b()})),f=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),m=e(g.loader),r._loadModule()})),b(),r.state={error:m.error,pastDelay:!1,timedOut:!1,loading:m.loading,loaded:m.loaded},r}r(n,t),n.preload=function(){return b()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(g.modules)&&g.modules.forEach((function(t){e.context.loadable.report(t)})),m.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof g.delay&&(0===g.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),g.delay)),"number"==typeof g.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),g.timeout));var n=function(){t({error:m.error,loaded:m.loaded,loading:m.loading}),e._clearTimeouts()};m.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?s.createElement(g.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?g.render(this.state.loaded,this.props):null},n}(s.Component),o(d,"contextTypes",{loadable:l.shape({report:l.func.isRequired})}),f}function m(e){return g(d,e)}m.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return g(f,e)};var b=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.getChildContext=function(){return{loadable:{report:this.props.report}}},n.render=function(){return s.Children.only(this.props.children)},t}(s.Component);function h(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return h(e)}))}o(b,"propTypes",{report:l.func.isRequired}),o(b,"childContextTypes",{loadable:l.shape({report:l.func.isRequired}).isRequired}),m.Capture=b,m.preloadAll=function(){return new Promise((function(e,t){h(c).then(e,t)}))},m.preloadReady=function(){return new Promise((function(e,t){h(u).then(e,e)}))},e.exports=m},18790:function(e,t,n){"use strict";n.d(t,{f:function(){return i},H:function(){return s}});var r=n(76775),a=n(83117),o=n(67294);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?(0,r.LX)(t,e):n.length?n[n.length-1].match:r.F0.computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&i(e.routes,t,n)),a})),n}function s(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.rs,n,e.map((function(e,n){return o.createElement(r.AW,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.Z)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.Z)({},n,t,{route:e}))}})}))):null}},73727:function(e,t,n){"use strict";n.d(t,{VA:function(){return r.VA},NL:function(){return r.NL},l_:function(){return r.l_},AW:function(){return r.AW},F0:function(){return r.F0},gx:function(){return r.gx},rs:function(){return r.rs},Gn:function(){return r.Gn},LX:function(){return r.LX},k6:function(){return r.k6},TH:function(){return r.TH},UO:function(){return r.UO},$B:function(){return r.$B},EN:function(){return r.EN},VK:function(){return u},UT:function(){return d},rU:function(){return h},OL:function(){return w}});var r=n(76775),a=n(90144),o=n(67294),i=n(42358),s=(n(45697),n(83117)),l=n(80102),c=n(2177),u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.lX)(t.props),t}return(0,a.Z)(t,e),t.prototype.render=function(){return o.createElement(r.F0,{history:this.history,children:this.props.children})},t}(o.Component);var d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.q_)(t.props),t}return(0,a.Z)(t,e),t.prototype.render=function(){return o.createElement(r.F0,{history:this.history,children:this.props.children})},t}(o.Component);var f=function(e,t){return"function"==typeof e?e(t):e},p=function(e,t){return"string"==typeof e?(0,i.ob)(e,null,null,t):e},g=function(e){return e},m=o.forwardRef;void 0===m&&(m=g);var b=m((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,l.Z)(e,["innerRef","navigate","onClick"]),c=i.target,u=(0,s.Z)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||c&&"_self"!==c||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=g!==m&&t||n,o.createElement("a",u)}));var h=m((function(e,t){var n=e.component,a=void 0===n?b:n,u=e.replace,d=e.to,h=e.innerRef,v=(0,l.Z)(e,["component","replace","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=e.history,r=p(f(d,e.location),e.location),l=r?n.createHref(r):"",b=(0,s.Z)({},v,{href:l,navigate:function(){var t=f(d,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(p(t));(u||r?n.replace:n.push)(t)}});return g!==m?b.ref=t||h:b.innerRef=h,o.createElement(a,b)}))})),v=function(e){return e},y=o.forwardRef;void 0===y&&(y=v);var w=y((function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,u=void 0===i?"active":i,d=e.activeStyle,g=e.className,m=e.exact,b=e.isActive,w=e.location,x=e.sensitive,S=e.strict,k=e.style,E=e.to,_=e.innerRef,C=(0,l.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=w||e.location,i=p(f(E,n),n),l=i.pathname,P=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),T=P?(0,r.LX)(n.pathname,{path:P,exact:m,sensitive:x,strict:S}):null,O=!!(b?b(T,n):T),L=O?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(g,u):g,A=O?(0,s.Z)({},k,d):k,M=(0,s.Z)({"aria-current":O&&a||null,className:L,style:A,to:i},C);return v!==y?M.ref=t||_:M.innerRef=_,o.createElement(h,M)}))}))},76775:function(e,t,n){"use strict";n.d(t,{VA:function(){return k},NL:function(){return _},l_:function(){return O},AW:function(){return N},F0:function(){return S},gx:function(){return U},rs:function(){return B},s6:function(){return x},Gn:function(){return T},LX:function(){return M},k6:function(){return q},TH:function(){return H},UO:function(){return Z},$B:function(){return V},EN:function(){return z}});var r=n(90144),a=n(67294),o=n(45697),i=n.n(o),s=n(42358),l=1073741823,c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};function u(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var d=a.createContext||function(e,t){var n,o,s="__create-react-context-"+function(){var e="__global_unique_id__";return c[e]=(c[e]||0)+1}()+"__",d=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=u(t.props.value),t}(0,r.Z)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(i=a)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(r,a):l,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},a.render=function(){return this.props.children},n}(a.Component);d.childContextTypes=((n={})[s]=i().object.isRequired,n);var f=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?l:t},a.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?l:e},a.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},a.getValue=function(){return this.context[s]?this.context[s].get():e},a.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(a.Component);return f.contextTypes=((o={})[s]=i().object,o),{Provider:d,Consumer:f}},f=n(2177),p=n(83117),g=n(39658),m=n.n(g),b=(n(59864),n(80102)),h=n(8679),v=n.n(h),y=function(e){var t=d();return t.displayName=e,t},w=y("Router-History"),x=y("Router"),S=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(x.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(w.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);var k=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,s.PP)(t.props),t}return(0,r.Z)(t,e),t.prototype.render=function(){return a.createElement(S,{history:this.history,children:this.props.children})},t}(a.Component);var E=function(e){function t(){return e.apply(this,arguments)||this}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(a.Component);function _(e){var t=e.message,n=e.when,r=void 0===n||n;return a.createElement(x.Consumer,null,(function(e){if(e||(0,f.Z)(!1),!r||e.staticContext)return null;var n=e.history.block;return a.createElement(E,{onMount:function(e){e.release=n(t)},onUpdate:function(e,r){r.message!==t&&(e.release(),e.release=n(t))},onUnmount:function(e){e.release()},message:t})}))}var C={},P=0;function T(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(C[e])return C[e];var t=m().compile(e);return P<1e4&&(C[e]=t,P++),t}(e)(t,{pretty:!0})}function O(e){var t=e.computedMatch,n=e.to,r=e.push,o=void 0!==r&&r;return a.createElement(x.Consumer,null,(function(e){e||(0,f.Z)(!1);var r=e.history,i=e.staticContext,l=o?r.push:r.replace,c=(0,s.ob)(t?"string"==typeof n?T(n,t.params):(0,p.Z)({},n,{pathname:T(n.pathname,t.params)}):n);return i?(l(c),null):a.createElement(E,{onMount:function(){l(c)},onUpdate:function(e,t){var n=(0,s.ob)(t.to);(0,s.Hp)(n,(0,p.Z)({},c,{key:n.key}))||l(c)},to:n})}))}var L={},A=0;function M(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,s=void 0!==i&&i,l=n.sensitive,c=void 0!==l&&l;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=L[n]||(L[n]={});if(r[e])return r[e];var a=[],o={regexp:m()(e,a,t),keys:a};return A<1e4&&(r[e]=o,A++),o}(n,{end:o,strict:s,sensitive:c}),a=r.regexp,i=r.keys,l=a.exec(e);if(!l)return null;var u=l[0],d=l.slice(1),f=e===u;return o&&!f?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:f,params:i.reduce((function(e,t,n){return e[t.name]=d[n],e}),{})}}),null)}var N=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(x.Consumer,null,(function(t){t||(0,f.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?M(n.pathname,e.props):t.match,o=(0,p.Z)({},t,{location:n,match:r}),i=e.props,s=i.children,l=i.component,c=i.render;return Array.isArray(s)&&function(e){return 0===a.Children.count(e)}(s)&&(s=null),a.createElement(x.Provider,{value:o},o.match?s?"function"==typeof s?s(o):s:l?a.createElement(l,o):c?c(o):null:"function"==typeof s?s(o):null)}))},t}(a.Component);function j(e){return"/"===e.charAt(0)?e:"/"+e}function R(e,t){if(!e)return t;var n=j(e);return 0!==t.pathname.indexOf(n)?t:(0,p.Z)({},t,{pathname:t.pathname.substr(n.length)})}function I(e){return"string"==typeof e?e:(0,s.Ep)(e)}function D(e){return function(){(0,f.Z)(!1)}}function F(){}var U=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handlePush=function(e){return t.navigateTo(e,"PUSH")},t.handleReplace=function(e){return t.navigateTo(e,"REPLACE")},t.handleListen=function(){return F},t.handleBlock=function(){return F},t}(0,r.Z)(t,e);var n=t.prototype;return n.navigateTo=function(e,t){var n=this.props,r=n.basename,a=void 0===r?"":r,o=n.context,i=void 0===o?{}:o;i.action=t,i.location=function(e,t){return e?(0,p.Z)({},t,{pathname:j(e)+t.pathname}):t}(a,(0,s.ob)(e)),i.url=I(i.location)},n.render=function(){var e=this.props,t=e.basename,n=void 0===t?"":t,r=e.context,o=void 0===r?{}:r,i=e.location,l=void 0===i?"/":i,c=(0,b.Z)(e,["basename","context","location"]),u={createHref:function(e){return j(n+I(e))},action:"POP",location:R(n,(0,s.ob)(l)),push:this.handlePush,replace:this.handleReplace,go:D(),goBack:D(),goForward:D(),listen:this.handleListen,block:this.handleBlock};return a.createElement(S,(0,p.Z)({},c,{history:u,staticContext:o}))},t}(a.Component);var B=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(x.Consumer,null,(function(t){t||(0,f.Z)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,(function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?M(o.pathname,(0,p.Z)({},e.props,{path:i})):t.match}})),r?a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(a.Component);function z(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=(0,b.Z)(t,["wrappedComponentRef"]);return a.createElement(x.Consumer,null,(function(t){return t||(0,f.Z)(!1),a.createElement(e,(0,p.Z)({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,v()(n,e)}var $=a.useContext;function q(){return $(w)}function H(){return $(x).location}function Z(){var e=$(x).match;return e?e.params:{}}function V(e){var t=H(),n=$(x).match;return e?M(t.pathname,e):n}},39658:function(e,t,n){var r=n(5826);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=f;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,s="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],f=n[1],p=n.index;if(s+=e.slice(i,p),i=p+d.length,f)s+=f[1];else{var g=e[i],m=n[2],b=n[3],h=n[4],v=n[5],y=n[6],w=n[7];s&&(r.push(s),s="");var x=null!=m&&null!=g&&g!==m,S="+"===y||"*"===y,k="?"===y||"*"===y,E=n[2]||u,_=h||v;r.push({name:b||o++,prefix:m||"",delimiter:E,optional:k,repeat:S,partial:x,asterisk:!!w,pattern:_?c(_):w?".*":"[^"+l(E)+"]+?"})}}return i<e.length&&(s+=e.substr(i)),s&&r.push(s),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=new RegExp("^(?:"+e[a].pattern+")$",d(t)));return function(t,a){for(var o="",s=t||{},l=(a||{}).pretty?i:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var d,f=s[u.name];if(null==f){if(u.optional){u.partial&&(o+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(d=l(f[p]),!n[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===p?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(f),!n[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');o+=u.prefix+d}}else o+=u}return o}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function f(e,t,n){r(t)||(n=t||n,t=[]);for(var a=(n=n||{}).strict,o=!1!==n.end,i="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)i+=l(c);else{var f=l(c.prefix),p="(?:"+c.pattern+")";t.push(c),c.repeat&&(p+="(?:"+f+p+")*"),i+=p=c.optional?c.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var g=l(n.delimiter||"/"),m=i.slice(-g.length)===g;return a||(i=(m?i.slice(0,-g.length):i)+"(?:"+g+"(?=$))?"),i+=o?"$":a&&m?"":"(?="+g+"|$)",u(new RegExp("^"+i,d(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(p(e[a],t,n).source);return u(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return f(o(e,n),t,n)}(e,t,n)}},83524:function(e,t,n){"use strict";var r,a=n(67294),o=(r=a)&&"object"==typeof r&&"default"in r?r.default:r;function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var l,c=[];function u(){l=e(c.map((function(e){return e.props}))),d.canUseDOM?t(l):n&&(l=n(l))}var d=function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.peek=function(){return l},a.rewind=function(){if(a.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=l;return l=void 0,c=[],e};var i=a.prototype;return i.UNSAFE_componentWillMount=function(){c.push(this),u()},i.componentDidUpdate=function(){u()},i.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),u()},i.render=function(){return o.createElement(r,this.props)},a}(a.PureComponent);return i(d,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),i(d,"canUseDOM",s),d}}},72408:function(e,t,n){"use strict";var r=n(27418),a=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var i=60109,s=60110,l=60112;t.Suspense=60113;var c=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var d=Symbol.for;a=d("react.element"),o=d("react.portal"),t.Fragment=d("react.fragment"),t.StrictMode=d("react.strict_mode"),t.Profiler=d("react.profiler"),i=d("react.provider"),s=d("react.context"),l=d("react.forward_ref"),t.Suspense=d("react.suspense"),c=d("react.memo"),u=d("react.lazy")}var f="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||g}function h(){}function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||g}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},h.prototype=b.prototype;var y=v.prototype=new h;y.constructor=v,r(y,b.prototype),y.isPureReactComponent=!0;var w={current:null},x=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function k(e,t,n){var r,o={},i=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)x.call(t,r)&&!S.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:a,type:e,key:i,ref:s,props:o,_owner:w.current}}function E(e){return"object"==typeof e&&null!==e&&e.$$typeof===a}var _=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function P(e,t,n,r,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case a:case o:l=!0}}if(l)return i=i(l=e),e=""===r?"."+C(l,0):r,Array.isArray(i)?(n="",null!=e&&(n=e.replace(_,"$&/")+"/"),P(i,t,n,"",(function(e){return e}))):null!=i&&(E(i)&&(i=function(e,t){return{$$typeof:a,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,n+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(_,"$&/")+"/")+e)),t.push(i)),1;if(l=0,r=""===r?".":r+":",Array.isArray(e))for(var c=0;c<e.length;c++){var u=r+C(s=e[c],c);l+=P(s,t,n,u,i)}else if("function"==typeof(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e)))for(e=u.call(e),c=0;!(s=e.next()).done;)l+=P(s=s.value,t,n,u=r+C(s,c++),i);else if("object"===s)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function T(e,t,n){if(null==e)return e;var r=[],a=0;return P(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function O(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var L={current:null};function A(){var e=L.current;if(null===e)throw Error(p(321));return e}var M={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:T,forEach:function(e,t,n){T(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return T(e,(function(){t++})),t},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!E(e))throw Error(p(143));return e}},t.Component=b,t.PureComponent=v,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.cloneElement=function(e,t,n){if(null==e)throw Error(p(267,e));var o=r({},e.props),i=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=w.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)x.call(t,u)&&!S.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){c=Array(u);for(var d=0;d<u;d++)c[d]=arguments[d+2];o.children=c}return{$$typeof:a,type:e.type,key:i,ref:s,props:o,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},t.createElement=k,t.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return A().useCallback(e,t)},t.useContext=function(e,t){return A().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return A().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return A().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return A().useLayoutEffect(e,t)},t.useMemo=function(e,t){return A().useMemo(e,t)},t.useReducer=function(e,t,n){return A().useReducer(e,t,n)},t.useRef=function(e){return A().useRef(e)},t.useState=function(e){return A().useState(e)},t.version="17.0.2"},67294:function(e,t,n){"use strict";e.exports=n(72408)},60053:function(e,t){"use strict";var n,r,a,o;if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,u=null,d=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(n){throw setTimeout(d,0),n}};n=function(e){null!==c?setTimeout(n,0,e):(c=e,setTimeout(d,0))},r=function(e,t){u=setTimeout(e,t)},a=function(){clearTimeout(u)},t.unstable_shouldYield=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var g=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof g&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var m=!1,b=null,h=-1,v=5,y=0;t.unstable_shouldYield=function(){return t.unstable_now()>=y},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):v=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,x=w.port2;w.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();y=e+v;try{b(!0,e)?x.postMessage(null):(m=!1,b=null)}catch(n){throw x.postMessage(null),n}}else m=!1},n=function(e){b=e,m||(m=!0,x.postMessage(null))},r=function(e,n){h=f((function(){e(t.unstable_now())}),n)},a=function(){p(h),h=-1}}function S(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,a=e[r];if(!(void 0!==a&&0<_(a,t)))break e;e[r]=t,e[n]=a,n=r}}function k(e){return void 0===(e=e[0])?null:e}function E(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var o=2*(r+1)-1,i=e[o],s=o+1,l=e[s];if(void 0!==i&&0>_(i,n))void 0!==l&&0>_(l,i)?(e[r]=l,e[s]=n,r=s):(e[r]=i,e[o]=n,r=o);else{if(!(void 0!==l&&0>_(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function _(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],P=[],T=1,O=null,L=3,A=!1,M=!1,N=!1;function j(e){for(var t=k(P);null!==t;){if(null===t.callback)E(P);else{if(!(t.startTime<=e))break;E(P),t.sortIndex=t.expirationTime,S(C,t)}t=k(P)}}function R(e){if(N=!1,j(e),!M)if(null!==k(C))M=!0,n(I);else{var t=k(P);null!==t&&r(R,t.startTime-e)}}function I(e,n){M=!1,N&&(N=!1,a()),A=!0;var o=L;try{for(j(n),O=k(C);null!==O&&(!(O.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=O.callback;if("function"==typeof i){O.callback=null,L=O.priorityLevel;var s=i(O.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?O.callback=s:O===k(C)&&E(C),j(n)}else E(C);O=k(C)}if(null!==O)var l=!0;else{var c=k(P);null!==c&&r(R,c.startTime-n),l=!1}return l}finally{O=null,L=o,A=!1}}var D=o;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){M||A||(M=!0,n(I))},t.unstable_getCurrentPriorityLevel=function(){return L},t.unstable_getFirstCallbackNode=function(){return k(C)},t.unstable_next=function(e){switch(L){case 1:case 2:case 3:var t=3;break;default:t=L}var n=L;L=t;try{return e()}finally{L=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=D,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=L;L=e;try{return t()}finally{L=n}},t.unstable_scheduleCallback=function(e,o,i){var s=t.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?s+i:s:i=s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:T++,callback:o,priorityLevel:e,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>s?(e.sortIndex=i,S(P,e),null===k(C)&&e===k(P)&&(N?a():N=!0,r(R,i-s))):(e.sortIndex=l,S(C,e),M||A||(M=!0,n(I))),e},t.unstable_wrapCallback=function(e){var t=L;return function(){var n=L;L=t;try{return e.apply(this,arguments)}finally{L=n}}}},63840:function(e,t,n){"use strict";e.exports=n(60053)},2177:function(e,t){"use strict";var n="Invariant failed";t.Z=function(e,t){if(!e)throw new Error(n)}},70655:function(e,t,n){"use strict";n.r(t),n.d(t,{__extends:function(){return a},__assign:function(){return o},__rest:function(){return i},__decorate:function(){return s},__param:function(){return l},__metadata:function(){return c},__awaiter:function(){return u},__generator:function(){return d},__createBinding:function(){return f},__exportStar:function(){return p},__values:function(){return g},__read:function(){return m},__spread:function(){return b},__spreadArrays:function(){return h},__spreadArray:function(){return v},__await:function(){return y},__asyncGenerator:function(){return w},__asyncDelegator:function(){return x},__asyncValues:function(){return S},__makeTemplateObject:function(){return k},__importStar:function(){return _},__importDefault:function(){return C},__classPrivateFieldGet:function(){return P},__classPrivateFieldSet:function(){return T},__classPrivateFieldIn:function(){return O}});var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}function s(e,t,n,r){var a,o=arguments.length,i=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(a=2&o[0]?r.return:o[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,r=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){i.label=o[1];break}if(6===o[0]&&i.label<a[1]){i.label=a[1],a=o;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(o);break}a[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(s){o=[6,s],r=0}finally{n=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}var f=Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function p(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||f(t,e,n)}function g(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(s){a={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}function h(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),a=0;for(t=0;t<n;t++)for(var o=arguments[t],i=0,s=o.length;i<s;i++,a++)r[a]=o[i];return r}function v(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function y(e){return this instanceof y?(this.v=e,this):new y(e)}function w(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,a=n.apply(e,t||[]),o=[];return r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r;function i(e){a[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=a[e](t)).value instanceof y?Promise.resolve(n.value.v).then(l,c):u(o[0][2],n)}catch(r){u(o[0][3],r)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function x(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:"return"===r}:a?a(t):t}:a}}function S(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=g(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,a){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,a,(t=e[n](t)).done,t.value)}))}}}function k(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var E=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function _(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&f(t,e,n);return E(t,e),t}function C(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function T(e,t,n,r,a){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function O(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},83117:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,{Z:function(){return r}})},90144:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:function(){return a}})},80102:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}n.d(t,{Z:function(){return r}})},57529:function(e){"use strict";e.exports=JSON.parse('{"theme.AnnouncementBar.closeButtonAriaLabel":"\u5173\u95ed","theme.BackToTopButton.buttonAriaLabel":"\u56de\u5230\u9876\u90e8","theme.CodeBlock.copied":"\u590d\u5236\u6210\u529f","theme.CodeBlock.copy":"\u590d\u5236","theme.CodeBlock.copyButtonAriaLabel":"\u590d\u5236\u4ee3\u7801\u5230\u526a\u8d34\u677f","theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel":"\u6253\u5f00/\u6536\u8d77\u4fa7\u8fb9\u680f\u83dc\u5355\u300c{label}\u300d","theme.ErrorPageContent.title":"\u9875\u9762\u5df2\u5d29\u6e83\u3002","theme.ErrorPageContent.tryAgain":"\u91cd\u8bd5","theme.NotFound.p1":"\u6211\u4eec\u627e\u4e0d\u5230\u60a8\u8981\u627e\u7684\u9875\u9762\u3002","theme.NotFound.p2":"\u8bf7\u8054\u7cfb\u539f\u59cb\u94fe\u63a5\u6765\u6e90\u7f51\u7ad9\u7684\u6240\u6709\u8005\uff0c\u5e76\u544a\u77e5\u4ed6\u4eec\u94fe\u63a5\u5df2\u635f\u574f\u3002","theme.NotFound.title":"\u627e\u4e0d\u5230\u9875\u9762","theme.TOCCollapsible.toggleButtonLabel":"\u672c\u9875\u603b\u89c8","theme.blog.archive.description":"\u5386\u53f2\u535a\u6587","theme.blog.archive.title":"\u5386\u53f2\u535a\u6587","theme.blog.paginator.navAriaLabel":"\u535a\u6587\u5217\u8868\u5206\u9875\u5bfc\u822a","theme.blog.paginator.newerEntries":"\u8f83\u65b0\u7684\u535a\u6587","theme.blog.paginator.olderEntries":"\u8f83\u65e7\u7684\u535a\u6587","theme.blog.post.paginator.navAriaLabel":"\u535a\u6587\u5206\u9875\u5bfc\u822a","theme.blog.post.paginator.newerPost":"\u8f83\u65b0\u4e00\u7bc7","theme.blog.post.paginator.olderPost":"\u8f83\u65e7\u4e00\u7bc7","theme.blog.post.plurals":"{count} \u7bc7\u535a\u6587","theme.blog.post.readMore":"\u9605\u8bfb\u66f4\u591a","theme.blog.post.readingTime.plurals":"{readingTime} \u5206\u949f\u9605\u8bfb","theme.blog.sidebar.navAriaLabel":"\u6700\u8fd1\u535a\u6587\u5bfc\u822a","theme.blog.tagTitle":"{nPosts} \u542b\u6709\u6807\u7b7e\u300c{tagName}\u300d","theme.common.editThisPage":"\u7f16\u8f91\u6b64\u9875","theme.common.headingLinkTitle":"\u6807\u9898\u7684\u76f4\u63a5\u94fe\u63a5","theme.common.skipToMainContent":"\u8df3\u5230\u4e3b\u8981\u5185\u5bb9","theme.docs.paginator.navAriaLabel":"\u6587\u6863\u5206\u9875\u5bfc\u822a","theme.docs.paginator.next":"\u4e0b\u4e00\u9875","theme.docs.paginator.previous":"\u4e0a\u4e00\u9875","theme.docs.sidebar.collapseButtonAriaLabel":"\u6536\u8d77\u4fa7\u8fb9\u680f","theme.docs.sidebar.collapseButtonTitle":"\u6536\u8d77\u4fa7\u8fb9\u680f","theme.docs.sidebar.expandButtonAriaLabel":"\u5c55\u5f00\u4fa7\u8fb9\u680f","theme.docs.sidebar.expandButtonTitle":"\u5c55\u5f00\u4fa7\u8fb9\u680f","theme.docs.tagDocListPageTitle":"{nDocsTagged} \u7bc7\u5e26\u6709\u6807\u7b7e\u300c{tagName}\u300d","theme.docs.tagDocListPageTitle.nDocsTagged":"{count} \u7bc7\u6587\u6863\u5e26\u6709\u6807\u7b7e","theme.docs.versions.latestVersionLinkLabel":"\u6700\u65b0\u7248\u672c","theme.docs.versions.latestVersionSuggestionLabel":"\u6700\u65b0\u7684\u6587\u6863\u8bf7\u53c2\u9605 {latestVersionLink} ({versionLabel})\u3002","theme.docs.versions.unmaintainedVersionLabel":"\u6b64\u4e3a {siteTitle} {versionLabel} \u7248\u7684\u6587\u6863\uff0c\u73b0\u5df2\u4e0d\u518d\u79ef\u6781\u7ef4\u62a4\u3002","theme.docs.versions.unreleasedVersionLabel":"\u6b64\u4e3a {siteTitle} {versionLabel} \u7248\u5c1a\u672a\u53d1\u884c\u7684\u6587\u6863\u3002","theme.lastUpdated.atDate":"\u4e8e {date} ","theme.lastUpdated.byUser":"\u7531 {user} ","theme.lastUpdated.lastUpdatedAtBy":"\u6700\u540e{byUser}{atDate}\u66f4\u65b0","theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel":"\u2190 \u56de\u5230\u4e3b\u83dc\u5355","theme.navbar.mobileVersionsDropdown.label":"\u9009\u62e9\u7248\u672c","theme.tags.tagsListLabel":"\u6807\u7b7e\uff1a","theme.tags.tagsPageLink":"\u67e5\u770b\u6240\u6709\u6807\u7b7e","theme.tags.tagsPageTitle":"\u6807\u7b7e","theme.SearchBar.label":"\u641c\u7d22","theme.SearchPage.algoliaLabel":"\u901a\u8fc7 Algolia \u641c\u7d22","theme.SearchPage.documentsFound.plurals":"\u627e\u5230 {count} \u4efd\u6587\u4ef6","theme.SearchPage.emptyResultsTitle":"\u5728\u6587\u6863\u4e2d\u641c\u7d22","theme.SearchPage.existingResultsTitle":"\u300c{query}\u300d\u7684\u641c\u7d22\u7ed3\u679c","theme.SearchPage.fetchingNewResults":"\u6b63\u5728\u83b7\u53d6\u65b0\u7684\u641c\u7d22\u7ed3\u679c...","theme.SearchPage.inputLabel":"\u641c\u7d22","theme.SearchPage.inputPlaceholder":"\u5728\u6b64\u8f93\u5165\u641c\u7d22\u5b57\u8bcd","theme.SearchPage.noResultsText":"\u672a\u627e\u5230\u4efb\u4f55\u7ed3\u679c","theme.docs.docHome.expandedviewofdocs":"\u6587\u6863\u603b\u89c8","theme.text.dochome":"\u6587\u6863","theme.docs.docHome.slogan":"\u4f18\u96c5\u5f00\u53d1","theme.docs.docHome.gotoapi":"API \u53c2\u8003","theme.text.readmore":"\u66f4\u591a\u8be6\u60c5","theme.text.user":"\u7528\u6237","theme.text.developer":"\u5f00\u53d1\u8005","theme.text.resources":"\u5404\u7c7b\u8d44\u6e90","theme.text.onlinedemo":"\u793a\u4f8b","theme.text.contactus":"\u8054\u7cfb\u6211\u4eec","theme.text.community":"\u793e\u533a","theme.text.learnmore":"\u4e86\u89e3\u66f4\u591a","theme.navbar.communityinfo":"\u52a0\u5165\u793e\u533a","theme.text.userstories":"\u7528\u6237\u6848\u4f8b","theme.text.blog":"\u535a\u5ba2","theme.text.newsletters":"\u6708\u62a5","theme.text.wechat":"\u5fae\u4fe1","theme.text.qq":"QQ\u4ea4\u6d41\u7fa4: 202030963","theme.text.globalforum":"Global Forum","theme.text.xchartsblogs":"\u535a\u5ba2","theme.text.xchartsnewsletters":"\u6708\u62a5","theme.subscription.subscribetoourupdates":"\u8ba2\u9605\u6708\u62a5"}')},81115:function(e){"use strict";e.exports=JSON.parse('{"docusaurus-plugin-google-gtag":{"default":{"trackingID":"G-9K17QVGTR6","anonymizeIP":true,"id":"default"}},"docusaurus-plugin-content-docs":{"default":{"path":"/docs","versions":[{"name":"current","label":"master","isLast":false,"path":"/docs/master","mainDocId":"lang/articles/about","docs":[{"id":"lang/articles/about","path":"/docs/master/about","frontMatter":{"sidebar_position":0,"slug":"/about"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial10","path":"/docs/master/tutorial02","frontMatter":{"sidebar_position":1,"slug":"/tutorial02"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial11","path":"/docs/master/tutorial03","frontMatter":{"sidebar_position":1,"slug":"/tutorial03"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial12_inputsystem","path":"/docs/master/inputsystem","frontMatter":{"title":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","sidebar_position":1,"slug":"/inputsystem"},"sidebar":"langSidebar"},{"id":"lang/articles/api","path":"/docs/master/api","frontMatter":{"sidebar_position":41,"slug":"/api"},"sidebar":"langSidebar"},{"id":"lang/articles/changelog","path":"/docs/master/changelog","frontMatter":{"sidebar_position":61,"slug":"/changelog"},"sidebar":"langSidebar"},{"id":"lang/articles/configuration","path":"/docs/master/configuration","frontMatter":{"sidebar_position":31,"slug":"/configuration"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/bar3d","path":"/docs/master/bar3d","frontMatter":{"sidebar_position":0,"slug":"/bar3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/extra","path":"/docs/master/extra","frontMatter":{"sidebar_position":0,"slug":"/extra"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/funnel","path":"/docs/master/funnel","frontMatter":{"sidebar_position":0,"slug":"/funnel"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gantt","path":"/docs/master/gantt","frontMatter":{"sidebar_position":0,"slug":"/gantt"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gauge","path":"/docs/master/gauge","frontMatter":{"sidebar_position":0,"slug":"/gauge"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/graph","path":"/docs/master/graph","frontMatter":{"sidebar_position":0,"slug":"/graph"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/line3d","path":"/docs/master/line3d","frontMatter":{"sidebar_position":0,"slug":"/line3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/liquid","path":"/docs/master/liquid","frontMatter":{"sidebar_position":0,"slug":"/liquid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pictorialbar","path":"/docs/master/pictorialbar","frontMatter":{"sidebar_position":0,"slug":"/pictorialbar"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pie3d","path":"/docs/master/pie3d","frontMatter":{"sidebar_position":0,"slug":"/pie3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pyramid","path":"/docs/master/pyramid","frontMatter":{"sidebar_position":0,"slug":"/pyramid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/sankey","path":"/docs/master/sankey","frontMatter":{"sidebar_position":0,"slug":"/sankey"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/treemap","path":"/docs/master/treemap","frontMatter":{"sidebar_position":0,"slug":"/treemap"},"sidebar":"langSidebar"},{"id":"lang/articles/faq","path":"/docs/master/faq","frontMatter":{"sidebar_position":41,"slug":"/faq"},"sidebar":"langSidebar"},{"id":"lang/articles/support","path":"/docs/master/support","frontMatter":{"title":"\u8ba2\u9605\u670d\u52a1","sidebar_position":51,"slug":"/support"},"sidebar":"langSidebar"},{"id":"lang/articles/tutorial01","path":"/docs/master/tutorial01","frontMatter":{"title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","sidebar_position":11,"slug":"/tutorial01"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui","path":"/docs/master/ui","frontMatter":{"sidebar_position":0,"slug":"/ui"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_statistic","path":"/docs/master/lang/articles/ui/ui_statistic","frontMatter":{},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_table","path":"/docs/master/lang/articles/ui/ui_table","frontMatter":{},"sidebar":"langSidebar"}],"sidebars":{"langSidebar":{"link":{"path":"/docs/master/about","label":"lang/articles/about"}}}},{"name":"v3.12.0","label":"v3.12.0","isLast":true,"path":"/docs","mainDocId":"lang/articles/about","docs":[{"id":"lang/articles/about","path":"/docs/about","frontMatter":{"sidebar_position":0,"slug":"/about"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial10","path":"/docs/tutorial02","frontMatter":{"sidebar_position":1,"slug":"/tutorial02"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial11","path":"/docs/tutorial03","frontMatter":{"sidebar_position":1,"slug":"/tutorial03"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial12_inputsystem","path":"/docs/inputsystem","frontMatter":{"title":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","sidebar_position":1,"slug":"/inputsystem"},"sidebar":"langSidebar"},{"id":"lang/articles/api","path":"/docs/api","frontMatter":{"sidebar_position":41,"slug":"/api"},"sidebar":"langSidebar"},{"id":"lang/articles/changelog","path":"/docs/changelog","frontMatter":{"sidebar_position":61,"slug":"/changelog"},"sidebar":"langSidebar"},{"id":"lang/articles/configuration","path":"/docs/configuration","frontMatter":{"sidebar_position":31,"slug":"/configuration"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/bar3d","path":"/docs/bar3d","frontMatter":{"sidebar_position":0,"slug":"/bar3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/extra","path":"/docs/extra","frontMatter":{"sidebar_position":0,"slug":"/extra"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/funnel","path":"/docs/funnel","frontMatter":{"sidebar_position":0,"slug":"/funnel"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gantt","path":"/docs/gantt","frontMatter":{"sidebar_position":0,"slug":"/gantt"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gauge","path":"/docs/gauge","frontMatter":{"sidebar_position":0,"slug":"/gauge"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/graph","path":"/docs/graph","frontMatter":{"sidebar_position":0,"slug":"/graph"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/line3d","path":"/docs/line3d","frontMatter":{"sidebar_position":0,"slug":"/line3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/liquid","path":"/docs/liquid","frontMatter":{"sidebar_position":0,"slug":"/liquid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pictorialbar","path":"/docs/pictorialbar","frontMatter":{"sidebar_position":0,"slug":"/pictorialbar"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pie3d","path":"/docs/pie3d","frontMatter":{"sidebar_position":0,"slug":"/pie3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pyramid","path":"/docs/pyramid","frontMatter":{"sidebar_position":0,"slug":"/pyramid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/sankey","path":"/docs/sankey","frontMatter":{"sidebar_position":0,"slug":"/sankey"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/treemap","path":"/docs/treemap","frontMatter":{"sidebar_position":0,"slug":"/treemap"},"sidebar":"langSidebar"},{"id":"lang/articles/faq","path":"/docs/faq","frontMatter":{"sidebar_position":41,"slug":"/faq"},"sidebar":"langSidebar"},{"id":"lang/articles/support","path":"/docs/support","frontMatter":{"title":"\u8ba2\u9605\u670d\u52a1","sidebar_position":51,"slug":"/support"},"sidebar":"langSidebar"},{"id":"lang/articles/tutorial01","path":"/docs/tutorial01","frontMatter":{"title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","sidebar_position":11,"slug":"/tutorial01"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui","path":"/docs/ui","frontMatter":{"sidebar_position":0,"slug":"/ui"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_statistic","path":"/docs/lang/articles/ui/ui_statistic","frontMatter":{},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_table","path":"/docs/lang/articles/ui/ui_table","frontMatter":{},"sidebar":"langSidebar"}],"sidebars":{"langSidebar":{"link":{"path":"/docs/about","label":"version-v3.12.0/lang/articles/about"}}}},{"name":"v3.11.2","label":"v3.11.2","isLast":false,"path":"/docs/v3.11.2","mainDocId":"lang/articles/about","docs":[{"id":"lang/articles/about","path":"/docs/v3.11.2/about","frontMatter":{"sidebar_position":0,"slug":"/about"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial10","path":"/docs/v3.11.2/tutorial02","frontMatter":{"sidebar_position":1,"slug":"/tutorial02"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial11","path":"/docs/v3.11.2/tutorial03","frontMatter":{"sidebar_position":1,"slug":"/tutorial03"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial12_inputsystem","path":"/docs/v3.11.2/inputsystem","frontMatter":{"title":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","sidebar_position":1,"slug":"/inputsystem"},"sidebar":"langSidebar"},{"id":"lang/articles/api","path":"/docs/v3.11.2/api","frontMatter":{"sidebar_position":41,"slug":"/api"},"sidebar":"langSidebar"},{"id":"lang/articles/changelog","path":"/docs/v3.11.2/changelog","frontMatter":{"sidebar_position":61,"slug":"/changelog"},"sidebar":"langSidebar"},{"id":"lang/articles/configuration","path":"/docs/v3.11.2/configuration","frontMatter":{"sidebar_position":31,"slug":"/configuration"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/bar3d","path":"/docs/v3.11.2/bar3d","frontMatter":{"sidebar_position":0,"slug":"/bar3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/extra","path":"/docs/v3.11.2/extra","frontMatter":{"sidebar_position":0,"slug":"/extra"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/funnel","path":"/docs/v3.11.2/funnel","frontMatter":{"sidebar_position":0,"slug":"/funnel"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gantt","path":"/docs/v3.11.2/gantt","frontMatter":{"sidebar_position":0,"slug":"/gantt"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gauge","path":"/docs/v3.11.2/gauge","frontMatter":{"sidebar_position":0,"slug":"/gauge"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/graph","path":"/docs/v3.11.2/graph","frontMatter":{"sidebar_position":0,"slug":"/graph"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/line3d","path":"/docs/v3.11.2/line3d","frontMatter":{"sidebar_position":0,"slug":"/line3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/liquid","path":"/docs/v3.11.2/liquid","frontMatter":{"sidebar_position":0,"slug":"/liquid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pictorialbar","path":"/docs/v3.11.2/pictorialbar","frontMatter":{"sidebar_position":0,"slug":"/pictorialbar"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pie3d","path":"/docs/v3.11.2/pie3d","frontMatter":{"sidebar_position":0,"slug":"/pie3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pyramid","path":"/docs/v3.11.2/pyramid","frontMatter":{"sidebar_position":0,"slug":"/pyramid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/sankey","path":"/docs/v3.11.2/sankey","frontMatter":{"sidebar_position":0,"slug":"/sankey"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/treemap","path":"/docs/v3.11.2/treemap","frontMatter":{"sidebar_position":0,"slug":"/treemap"},"sidebar":"langSidebar"},{"id":"lang/articles/faq","path":"/docs/v3.11.2/faq","frontMatter":{"sidebar_position":41,"slug":"/faq"},"sidebar":"langSidebar"},{"id":"lang/articles/support","path":"/docs/v3.11.2/support","frontMatter":{"title":"\u8ba2\u9605\u670d\u52a1","sidebar_position":51,"slug":"/support"},"sidebar":"langSidebar"},{"id":"lang/articles/tutorial01","path":"/docs/v3.11.2/tutorial01","frontMatter":{"title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","sidebar_position":11,"slug":"/tutorial01"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui","path":"/docs/v3.11.2/ui","frontMatter":{"sidebar_position":0,"slug":"/ui"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_statistic","path":"/docs/v3.11.2/lang/articles/ui/ui_statistic","frontMatter":{},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_table","path":"/docs/v3.11.2/lang/articles/ui/ui_table","frontMatter":{},"sidebar":"langSidebar"}],"sidebars":{"langSidebar":{"link":{"path":"/docs/v3.11.2/about","label":"version-v3.11.2/lang/articles/about"}}}},{"name":"v3.10.2","label":"v3.10.2","isLast":false,"path":"/docs/v3.10.2","mainDocId":"lang/articles/about","docs":[{"id":"lang/articles/about","path":"/docs/v3.10.2/about","frontMatter":{"sidebar_position":0,"slug":"/about"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial10","path":"/docs/v3.10.2/tutorial02","frontMatter":{"sidebar_position":1,"slug":"/tutorial02"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial11","path":"/docs/v3.10.2/tutorial03","frontMatter":{"sidebar_position":1,"slug":"/tutorial03"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial12_inputsystem","path":"/docs/v3.10.2/inputsystem","frontMatter":{"title":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","sidebar_position":1,"slug":"/inputsystem"},"sidebar":"langSidebar"},{"id":"lang/articles/api","path":"/docs/v3.10.2/api","frontMatter":{"sidebar_position":41,"slug":"/api"},"sidebar":"langSidebar"},{"id":"lang/articles/changelog","path":"/docs/v3.10.2/changelog","frontMatter":{"sidebar_position":61,"slug":"/changelog"},"sidebar":"langSidebar"},{"id":"lang/articles/configuration","path":"/docs/v3.10.2/configuration","frontMatter":{"sidebar_position":31,"slug":"/configuration"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/bar3d","path":"/docs/v3.10.2/bar3d","frontMatter":{"sidebar_position":0,"slug":"/bar3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/extra","path":"/docs/v3.10.2/extra","frontMatter":{"sidebar_position":0,"slug":"/extra"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/funnel","path":"/docs/v3.10.2/funnel","frontMatter":{"sidebar_position":0,"slug":"/funnel"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gantt","path":"/docs/v3.10.2/gantt","frontMatter":{"sidebar_position":0,"slug":"/gantt"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gauge","path":"/docs/v3.10.2/gauge","frontMatter":{"sidebar_position":0,"slug":"/gauge"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/liquid","path":"/docs/v3.10.2/liquid","frontMatter":{"sidebar_position":0,"slug":"/liquid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pictorialbar","path":"/docs/v3.10.2/pictorialbar","frontMatter":{"sidebar_position":0,"slug":"/pictorialbar"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pie3d","path":"/docs/v3.10.2/pie3d","frontMatter":{"sidebar_position":0,"slug":"/pie3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pyramid","path":"/docs/v3.10.2/pyramid","frontMatter":{"sidebar_position":0,"slug":"/pyramid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/sankey","path":"/docs/v3.10.2/sankey","frontMatter":{"sidebar_position":0,"slug":"/sankey"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/treemap","path":"/docs/v3.10.2/treemap","frontMatter":{"sidebar_position":0,"slug":"/treemap"},"sidebar":"langSidebar"},{"id":"lang/articles/faq","path":"/docs/v3.10.2/faq","frontMatter":{"sidebar_position":41,"slug":"/faq"},"sidebar":"langSidebar"},{"id":"lang/articles/support","path":"/docs/v3.10.2/support","frontMatter":{"title":"\u8ba2\u9605\u670d\u52a1","sidebar_position":51,"slug":"/support"},"sidebar":"langSidebar"},{"id":"lang/articles/tutorial01","path":"/docs/v3.10.2/tutorial01","frontMatter":{"title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","sidebar_position":11,"slug":"/tutorial01"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui","path":"/docs/v3.10.2/ui","frontMatter":{"sidebar_position":0,"slug":"/ui"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_statistic","path":"/docs/v3.10.2/lang/articles/ui/ui_statistic","frontMatter":{},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_table","path":"/docs/v3.10.2/lang/articles/ui/ui_table","frontMatter":{},"sidebar":"langSidebar"}],"sidebars":{"langSidebar":{"link":{"path":"/docs/v3.10.2/about","label":"version-v3.10.2/lang/articles/about"}}}},{"name":"v3.9.0","label":"v3.9.0","isLast":false,"path":"/docs/v3.9.0","mainDocId":"lang/articles/about","docs":[{"id":"lang/articles/about","path":"/docs/v3.9.0/about","frontMatter":{"sidebar_position":0,"slug":"/about"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial10","path":"/docs/v3.9.0/tutorial02","frontMatter":{"sidebar_position":1,"slug":"/tutorial02"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial11","path":"/docs/v3.9.0/tutorial03","frontMatter":{"sidebar_position":1,"slug":"/tutorial03"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial12_inputsystem","path":"/docs/v3.9.0/inputsystem","frontMatter":{"title":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","sidebar_position":1,"slug":"/inputsystem"},"sidebar":"langSidebar"},{"id":"lang/articles/api","path":"/docs/v3.9.0/api","frontMatter":{"sidebar_position":41,"slug":"/api"},"sidebar":"langSidebar"},{"id":"lang/articles/changelog","path":"/docs/v3.9.0/changelog","frontMatter":{"sidebar_position":61,"slug":"/changelog"},"sidebar":"langSidebar"},{"id":"lang/articles/configuration","path":"/docs/v3.9.0/configuration","frontMatter":{"sidebar_position":31,"slug":"/configuration"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/bar3d","path":"/docs/v3.9.0/bar3d","frontMatter":{"sidebar_position":0,"slug":"/bar3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/extra","path":"/docs/v3.9.0/extra","frontMatter":{"sidebar_position":0,"slug":"/extra"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/funnel","path":"/docs/v3.9.0/funnel","frontMatter":{"sidebar_position":0,"slug":"/funnel"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gantt","path":"/docs/v3.9.0/gantt","frontMatter":{"sidebar_position":0,"slug":"/gantt"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gauge","path":"/docs/v3.9.0/gauge","frontMatter":{"sidebar_position":0,"slug":"/gauge"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/liquid","path":"/docs/v3.9.0/liquid","frontMatter":{"sidebar_position":0,"slug":"/liquid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pictorialbar","path":"/docs/v3.9.0/pictorialbar","frontMatter":{"sidebar_position":0,"slug":"/pictorialbar"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pie3d","path":"/docs/v3.9.0/pie3d","frontMatter":{"sidebar_position":0,"slug":"/pie3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pyramid","path":"/docs/v3.9.0/pyramid","frontMatter":{"sidebar_position":0,"slug":"/pyramid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/sankey","path":"/docs/v3.9.0/sankey","frontMatter":{"sidebar_position":0,"slug":"/sankey"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/treemap","path":"/docs/v3.9.0/treemap","frontMatter":{"sidebar_position":0,"slug":"/treemap"},"sidebar":"langSidebar"},{"id":"lang/articles/faq","path":"/docs/v3.9.0/faq","frontMatter":{"sidebar_position":41,"slug":"/faq"},"sidebar":"langSidebar"},{"id":"lang/articles/support","path":"/docs/v3.9.0/support","frontMatter":{"title":"\u8ba2\u9605\u670d\u52a1","sidebar_position":51,"slug":"/support"},"sidebar":"langSidebar"},{"id":"lang/articles/tutorial01","path":"/docs/v3.9.0/tutorial01","frontMatter":{"title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","sidebar_position":11,"slug":"/tutorial01"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui","path":"/docs/v3.9.0/ui","frontMatter":{"sidebar_position":0,"slug":"/ui"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_statistic","path":"/docs/v3.9.0/lang/articles/ui/ui_statistic","frontMatter":{},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_table","path":"/docs/v3.9.0/lang/articles/ui/ui_table","frontMatter":{},"sidebar":"langSidebar"}],"sidebars":{"langSidebar":{"link":{"path":"/docs/v3.9.0/about","label":"version-v3.9.0/lang/articles/about"}}}},{"name":"v3.8.1","label":"v3.8.1","isLast":false,"path":"/docs/v3.8.1","mainDocId":"lang/articles/about","docs":[{"id":"lang/articles/about","path":"/docs/v3.8.1/about","frontMatter":{"sidebar_position":0,"slug":"/about"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial10","path":"/docs/v3.8.1/tutorial02","frontMatter":{"sidebar_position":1,"slug":"/tutorial02"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial11","path":"/docs/v3.8.1/tutorial03","frontMatter":{"sidebar_position":1,"slug":"/tutorial03"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial12_inputsystem","path":"/docs/v3.8.1/inputsystem","frontMatter":{"title":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","sidebar_position":1,"slug":"/inputsystem"},"sidebar":"langSidebar"},{"id":"lang/articles/api","path":"/docs/v3.8.1/api","frontMatter":{"sidebar_position":41,"slug":"/api"},"sidebar":"langSidebar"},{"id":"lang/articles/changelog","path":"/docs/v3.8.1/changelog","frontMatter":{"sidebar_position":61,"slug":"/changelog"},"sidebar":"langSidebar"},{"id":"lang/articles/configuration","path":"/docs/v3.8.1/configuration","frontMatter":{"sidebar_position":31,"slug":"/configuration"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/bar3d","path":"/docs/v3.8.1/bar3d","frontMatter":{"sidebar_position":0,"slug":"/bar3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/extra","path":"/docs/v3.8.1/extra","frontMatter":{"sidebar_position":0,"slug":"/extra"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/funnel","path":"/docs/v3.8.1/funnel","frontMatter":{"sidebar_position":0,"slug":"/funnel"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gantt","path":"/docs/v3.8.1/gantt","frontMatter":{"sidebar_position":0,"slug":"/gantt"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gauge","path":"/docs/v3.8.1/gauge","frontMatter":{"sidebar_position":0,"slug":"/gauge"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/liquid","path":"/docs/v3.8.1/liquid","frontMatter":{"sidebar_position":0,"slug":"/liquid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pictorialbar","path":"/docs/v3.8.1/pictorialbar","frontMatter":{"sidebar_position":0,"slug":"/pictorialbar"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pie3d","path":"/docs/v3.8.1/pie3d","frontMatter":{"sidebar_position":0,"slug":"/pie3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pyramid","path":"/docs/v3.8.1/pyramid","frontMatter":{"sidebar_position":0,"slug":"/pyramid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/treemap","path":"/docs/v3.8.1/treemap","frontMatter":{"sidebar_position":0,"slug":"/treemap"},"sidebar":"langSidebar"},{"id":"lang/articles/faq","path":"/docs/v3.8.1/faq","frontMatter":{"sidebar_position":41,"slug":"/faq"},"sidebar":"langSidebar"},{"id":"lang/articles/support","path":"/docs/v3.8.1/support","frontMatter":{"title":"\u8ba2\u9605\u670d\u52a1","sidebar_position":51,"slug":"/support"},"sidebar":"langSidebar"},{"id":"lang/articles/tutorial01","path":"/docs/v3.8.1/tutorial01","frontMatter":{"title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","sidebar_position":11,"slug":"/tutorial01"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui","path":"/docs/v3.8.1/ui","frontMatter":{"sidebar_position":0,"slug":"/ui"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_statistic","path":"/docs/v3.8.1/lang/articles/ui/ui_statistic","frontMatter":{},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_table","path":"/docs/v3.8.1/lang/articles/ui/ui_table","frontMatter":{},"sidebar":"langSidebar"}],"sidebars":{"langSidebar":{"link":{"path":"/docs/v3.8.1/about","label":"version-v3.8.1/lang/articles/about"}}}},{"name":"v3.7.0","label":"v3.7.0","isLast":false,"path":"/docs/v3.7.0","mainDocId":"lang/articles/about","docs":[{"id":"lang/articles/about","path":"/docs/v3.7.0/about","frontMatter":{"sidebar_position":0,"slug":"/about"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial10","path":"/docs/v3.7.0/tutorial02","frontMatter":{"sidebar_position":1,"slug":"/tutorial02"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial11","path":"/docs/v3.7.0/tutorial03","frontMatter":{"sidebar_position":1,"slug":"/tutorial03"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial12_inputsystem","path":"/docs/v3.7.0/inputsystem","frontMatter":{"title":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","sidebar_position":1,"slug":"/inputsystem"},"sidebar":"langSidebar"},{"id":"lang/articles/api","path":"/docs/v3.7.0/api","frontMatter":{"sidebar_position":41,"slug":"/api"},"sidebar":"langSidebar"},{"id":"lang/articles/changelog","path":"/docs/v3.7.0/changelog","frontMatter":{"sidebar_position":61,"slug":"/changelog"},"sidebar":"langSidebar"},{"id":"lang/articles/configuration","path":"/docs/v3.7.0/configuration","frontMatter":{"sidebar_position":31,"slug":"/configuration"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/bar3d","path":"/docs/v3.7.0/bar3d","frontMatter":{"sidebar_position":0,"slug":"/bar3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/extra","path":"/docs/v3.7.0/extra","frontMatter":{"sidebar_position":0,"slug":"/extra"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/funnel","path":"/docs/v3.7.0/funnel","frontMatter":{"sidebar_position":0,"slug":"/funnel"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gantt","path":"/docs/v3.7.0/gantt","frontMatter":{"sidebar_position":0,"slug":"/gantt"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gauge","path":"/docs/v3.7.0/gauge","frontMatter":{"sidebar_position":0,"slug":"/gauge"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/liquid","path":"/docs/v3.7.0/liquid","frontMatter":{"sidebar_position":0,"slug":"/liquid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pictorialbar","path":"/docs/v3.7.0/pictorialbar","frontMatter":{"sidebar_position":0,"slug":"/pictorialbar"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pie3d","path":"/docs/v3.7.0/pie3d","frontMatter":{"sidebar_position":0,"slug":"/pie3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pyramid","path":"/docs/v3.7.0/pyramid","frontMatter":{"sidebar_position":0,"slug":"/pyramid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/treemap","path":"/docs/v3.7.0/treemap","frontMatter":{"sidebar_position":0,"slug":"/treemap"},"sidebar":"langSidebar"},{"id":"lang/articles/faq","path":"/docs/v3.7.0/faq","frontMatter":{"sidebar_position":41,"slug":"/faq"},"sidebar":"langSidebar"},{"id":"lang/articles/support","path":"/docs/v3.7.0/support","frontMatter":{"title":"\u8ba2\u9605\u670d\u52a1","sidebar_position":51,"slug":"/support"},"sidebar":"langSidebar"},{"id":"lang/articles/tutorial01","path":"/docs/v3.7.0/tutorial01","frontMatter":{"title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","sidebar_position":11,"slug":"/tutorial01"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui","path":"/docs/v3.7.0/ui","frontMatter":{"sidebar_position":0,"slug":"/ui"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_statistic","path":"/docs/v3.7.0/lang/articles/ui/ui_statistic","frontMatter":{},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_table","path":"/docs/v3.7.0/lang/articles/ui/ui_table","frontMatter":{},"sidebar":"langSidebar"}],"sidebars":{"langSidebar":{"link":{"path":"/docs/v3.7.0/about","label":"version-v3.7.0/lang/articles/about"}}}},{"name":"v3.6.0","label":"v3.6.0","isLast":false,"path":"/docs/v3.6.0","mainDocId":"lang/articles/about","docs":[{"id":"lang/articles/about","path":"/docs/v3.6.0/about","frontMatter":{"sidebar_position":0,"slug":"/about"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial10","path":"/docs/v3.6.0/tutorial02","frontMatter":{"sidebar_position":1,"slug":"/tutorial02"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial11","path":"/docs/v3.6.0/tutorial03","frontMatter":{"sidebar_position":1,"slug":"/tutorial03"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial12_inputsystem","path":"/docs/v3.6.0/inputsystem","frontMatter":{"title":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","sidebar_position":1,"slug":"/inputsystem"},"sidebar":"langSidebar"},{"id":"lang/articles/api","path":"/docs/v3.6.0/api","frontMatter":{"sidebar_position":41,"slug":"/api"},"sidebar":"langSidebar"},{"id":"lang/articles/changelog","path":"/docs/v3.6.0/changelog","frontMatter":{"sidebar_position":61,"slug":"/changelog"},"sidebar":"langSidebar"},{"id":"lang/articles/configuration","path":"/docs/v3.6.0/configuration","frontMatter":{"sidebar_position":31,"slug":"/configuration"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/bar3d","path":"/docs/v3.6.0/bar3d","frontMatter":{"sidebar_position":0,"slug":"/bar3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/extra","path":"/docs/v3.6.0/extra","frontMatter":{"sidebar_position":0,"slug":"/extra"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/funnel","path":"/docs/v3.6.0/funnel","frontMatter":{"sidebar_position":0,"slug":"/funnel"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gantt","path":"/docs/v3.6.0/gantt","frontMatter":{"sidebar_position":0,"slug":"/gantt"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gauge","path":"/docs/v3.6.0/gauge","frontMatter":{"sidebar_position":0,"slug":"/gauge"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/liquid","path":"/docs/v3.6.0/liquid","frontMatter":{"sidebar_position":0,"slug":"/liquid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pictorialbar","path":"/docs/v3.6.0/pictorialbar","frontMatter":{"sidebar_position":0,"slug":"/pictorialbar"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pie3d","path":"/docs/v3.6.0/pie3d","frontMatter":{"sidebar_position":0,"slug":"/pie3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pyramid","path":"/docs/v3.6.0/pyramid","frontMatter":{"sidebar_position":0,"slug":"/pyramid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/treemap","path":"/docs/v3.6.0/treemap","frontMatter":{"sidebar_position":0,"slug":"/treemap"},"sidebar":"langSidebar"},{"id":"lang/articles/faq","path":"/docs/v3.6.0/faq","frontMatter":{"sidebar_position":41,"slug":"/faq"},"sidebar":"langSidebar"},{"id":"lang/articles/support","path":"/docs/v3.6.0/support","frontMatter":{"title":"\u8ba2\u9605\u670d\u52a1","sidebar_position":51,"slug":"/support"},"sidebar":"langSidebar"},{"id":"lang/articles/tutorial01","path":"/docs/v3.6.0/tutorial01","frontMatter":{"title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","sidebar_position":11,"slug":"/tutorial01"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui","path":"/docs/v3.6.0/ui","frontMatter":{"sidebar_position":0,"slug":"/ui"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_statistic","path":"/docs/v3.6.0/lang/articles/ui/ui_statistic","frontMatter":{},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_table","path":"/docs/v3.6.0/lang/articles/ui/ui_table","frontMatter":{},"sidebar":"langSidebar"}],"sidebars":{"langSidebar":{"link":{"path":"/docs/v3.6.0/about","label":"version-v3.6.0/lang/articles/about"}}}},{"name":"v3.5.0","label":"v3.5.0","isLast":false,"path":"/docs/v3.5.0","mainDocId":"lang/articles/about","docs":[{"id":"lang/articles/about","path":"/docs/v3.5.0/about","frontMatter":{"sidebar_position":0,"slug":"/about"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial02","path":"/docs/v3.5.0/tutorial02","frontMatter":{"sidebar_position":1,"slug":"/tutorial02"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial03","path":"/docs/v3.5.0/tutorial03","frontMatter":{"sidebar_position":1,"slug":"/tutorial03"},"sidebar":"langSidebar"},{"id":"lang/articles/api","path":"/docs/v3.5.0/api","frontMatter":{"sidebar_position":3,"slug":"/api"},"sidebar":"langSidebar"},{"id":"lang/articles/changelog","path":"/docs/v3.5.0/changelog","frontMatter":{"sidebar_position":5,"slug":"/changelog"},"sidebar":"langSidebar"},{"id":"lang/articles/configuration","path":"/docs/v3.5.0/configuration","frontMatter":{"sidebar_position":2,"slug":"/configuration"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/bar3d","path":"/docs/v3.5.0/bar3d","frontMatter":{"sidebar_position":0,"slug":"/bar3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/funnel","path":"/docs/v3.5.0/funnel","frontMatter":{"sidebar_position":0,"slug":"/funnel"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gantt","path":"/docs/v3.5.0/gantt","frontMatter":{"sidebar_position":0,"slug":"/gantt"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gauge","path":"/docs/v3.5.0/gauge","frontMatter":{"sidebar_position":0,"slug":"/gauge"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/liquid","path":"/docs/v3.5.0/liquid","frontMatter":{"sidebar_position":0,"slug":"/liquid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pictorialbar","path":"/docs/v3.5.0/pictorialbar","frontMatter":{"sidebar_position":0,"slug":"/pictorialbar"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pie3d","path":"/docs/v3.5.0/pie3d","frontMatter":{"sidebar_position":0,"slug":"/pie3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pyramid","path":"/docs/v3.5.0/pyramid","frontMatter":{"sidebar_position":0,"slug":"/pyramid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/treemap","path":"/docs/v3.5.0/treemap","frontMatter":{"sidebar_position":0,"slug":"/treemap"},"sidebar":"langSidebar"},{"id":"lang/articles/faq","path":"/docs/v3.5.0/faq","frontMatter":{"sidebar_position":4,"slug":"/faq"},"sidebar":"langSidebar"},{"id":"lang/articles/support","path":"/docs/v3.5.0/support","frontMatter":{"sidebar_position":6,"slug":"/support"},"sidebar":"langSidebar"},{"id":"lang/articles/tutorial01","path":"/docs/v3.5.0/tutorial01","frontMatter":{"title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","sidebar_position":1,"slug":"/tutorial01"},"sidebar":"langSidebar"}],"sidebars":{"langSidebar":{"link":{"path":"/docs/v3.5.0/about","label":"version-v3.5.0/lang/articles/about"}}}}]}},"docusaurus-plugin-content-blog":{"newsletter":{"blogTags":{}},"default":{"blogTags":{"/blog/tags/x-charts":{"name":"XCharts","items":["xcharts3.0_released"],"permalink":"/blog/tags/x-charts"},"/blog/tags/\u65b0\u7248\u672c":{"name":"\u65b0\u7248\u672c","items":["xcharts3.0_released"],"permalink":"/blog/tags/\u65b0\u7248\u672c"}}}},"autoapi-plugin":{"default":{"path":"/api/","versions":[{"docs":[{"id":"","path":"/api/master/","source":"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api/master/index.html","version":"current"}],"name":"current","label":"master","isLast":false,"mainDocId":"","path":"/api/master"},{"docs":[{"id":"","path":"/api/v3.10.2/","source":"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api/v3.10.2/index.html","version":"v3.10.2"}],"name":"v3.10.2","label":"v3.10.2","isLast":false,"mainDocId":"","path":"/api/v3.10.2"},{"docs":[{"id":"","path":"/api/","source":"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api/v3.12.0/index.html","version":"v3.12.0"}],"name":"v3.12.0","label":"v3.12.0","isLast":true,"mainDocId":"","path":"/api/"},{"docs":[{"id":"","path":"/api/v3.11.2/","source":"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api/v3.11.2/index.html","version":"v3.11.2"}],"name":"v3.11.2","label":"v3.11.2","isLast":false,"mainDocId":"","path":"/api/v3.11.2"},{"docs":[{"id":"","path":"/api/v3.5.0/","source":"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api/v3.5.0/index.html","version":"v3.5.0"}],"name":"v3.5.0","label":"v3.5.0","isLast":false,"mainDocId":"","path":"/api/v3.5.0"},{"docs":[{"id":"","path":"/api/v3.6.0/","source":"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api/v3.6.0/index.html","version":"v3.6.0"}],"name":"v3.6.0","label":"v3.6.0","isLast":false,"mainDocId":"","path":"/api/v3.6.0"},{"docs":[{"id":"","path":"/api/v3.7.0/","source":"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api/v3.7.0/index.html","version":"v3.7.0"}],"name":"v3.7.0","label":"v3.7.0","isLast":false,"mainDocId":"","path":"/api/v3.7.0"},{"docs":[{"id":"","path":"/api/v3.8.1/","source":"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api/v3.8.1/index.html","version":"v3.8.1"}],"name":"v3.8.1","label":"v3.8.1","isLast":false,"mainDocId":"","path":"/api/v3.8.1"},{"docs":[{"id":"","path":"/api/v3.9.0/","source":"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api/v3.9.0/index.html","version":"v3.9.0"}],"name":"v3.9.0","label":"v3.9.0","isLast":false,"mainDocId":"","path":"/api/v3.9.0"}]}}}')}},function(e){e.O(0,[532],(function(){return t=95805,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/assets/js/main.ab2b8a48.js.LICENSE.txt b/assets/js/main.ab2b8a48.js.LICENSE.txt new file mode 100644 index 00000000..6e08db29 --- /dev/null +++ b/assets/js/main.ab2b8a48.js.LICENSE.txt @@ -0,0 +1,53 @@ +/* +object-assign +(c) Sindre Sorhus +@license MIT +*/ + +/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT */ + +/** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT <https://opensource.org/licenses/MIT> + * @author Lea Verou <https://lea.verou.me> + * @namespace + * @public + */ + +/** @license React v0.20.2 + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** @license React v17.0.2 + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** @license React v17.0.2 + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ diff --git a/assets/js/runtime~main.7d8e79d9.js b/assets/js/runtime~main.7d8e79d9.js new file mode 100644 index 00000000..c0857b7d --- /dev/null +++ b/assets/js/runtime~main.7d8e79d9.js @@ -0,0 +1 @@ +!function(){"use strict";var e,c,f,d,b,a={},t={};function n(e){var c=t[e];if(void 0!==c)return c.exports;var f=t[e]={id:e,loaded:!1,exports:{}};return a[e].call(f.exports,f,f.exports,n),f.loaded=!0,f.exports}n.m=a,e=[],n.O=function(c,f,d,b){if(!f){var a=1/0;for(u=0;u<e.length;u++){f=e[u][0],d=e[u][1],b=e[u][2];for(var t=!0,r=0;r<f.length;r++)(!1&b||a>=b)&&Object.keys(n.O).every((function(e){return n.O[e](f[r])}))?f.splice(r--,1):(t=!1,b<a&&(a=b));if(t){e.splice(u--,1);var o=d();void 0!==o&&(c=o)}}return c}b=b||0;for(var u=e.length;u>0&&e[u-1][2]>b;u--)e[u]=e[u-1];e[u]=[f,d,b]},n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,{a:c}),c},f=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},n.t=function(e,d){if(1&d&&(e=this(e)),8&d)return e;if("object"==typeof e&&e){if(4&d&&e.__esModule)return e;if(16&d&&"function"==typeof e.then)return e}var b=Object.create(null);n.r(b);var a={};c=c||[null,f({}),f([]),f(f)];for(var t=2&d&&e;"object"==typeof t&&!~c.indexOf(t);t=f(t))Object.getOwnPropertyNames(t).forEach((function(c){a[c]=function(){return e[c]}}));return a.default=function(){return e},n.d(b,a),b},n.d=function(e,c){for(var f in c)n.o(c,f)&&!n.o(e,f)&&Object.defineProperty(e,f,{enumerable:!0,get:c[f]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(c,f){return n.f[f](e,c),c}),[]))},n.u=function(e){return"assets/js/"+({34:"47137878",53:"935f2afb",122:"3bbb0048",126:"da3e4625",139:"e798ed30",164:"0ce0cd0c",207:"d1258d46",286:"2ccc5d15",306:"73754ea4",370:"d6e23382",376:"4dfb9136",400:"56f0943a",459:"a8d6d0df",533:"b2b675dd",555:"33d21e66",578:"0b2baf8d",756:"885ea281",776:"9875289a",778:"aff05561",844:"ab83aed5",891:"13cbcf42",918:"8d9e9f31",971:"06b3902f",982:"1cc3cec9",1013:"64570554",1080:"ccc49370",1110:"25c9e43b",1138:"37b35207",1140:"a5bce4c8",1167:"92a26795",1189:"75662a14",1198:"4b62531f",1217:"a0438807",1242:"a76029b2",1288:"310215f2",1389:"53424fa2",1439:"635b1501",1463:"429c4dc1",1464:"84995476",1477:"b2f554cd",1522:"0fe29b8b",1523:"e4892bae",1568:"d2788ed0",1592:"d972a4f7",1625:"bc2d3638",1646:"4275b1b4",1713:"a7023ddc",1723:"f345d982",1759:"0807d87e",1769:"c8d6b1e1",1772:"b3c5e4a8",1782:"ad3ca912",1804:"b55bea4d",1855:"30896c49",1892:"f0fffb88",1956:"ce421672",1997:"472c5008",2028:"88fb3acf",2062:"a031f49a",2089:"160ef12c",2102:"40247295",2121:"6977494c",2171:"39f00e4b",2177:"f1be0c77",2187:"cf87da48",2198:"795362f1",2209:"b37fd7e5",2335:"bad064f5",2343:"54b4ef9f",2350:"81de59db",2361:"ea94ad11",2396:"01f79f8c",2399:"758bf183",2471:"9731ed60",2515:"b15063cb",2518:"85cde48e",2535:"814f3328",2560:"f70958ec",2562:"062163c2",2581:"399acd3b",2606:"78b2a8f7",2699:"671093e8",2718:"0e79e7ad",2720:"1d960048",2727:"5f66efcf",2786:"9c4c7084",2841:"db8591c4",2867:"2ed37b6a",2872:"91b3e92a",2895:"3fed8774",2903:"7c66270b",2930:"2f375d82",2945:"34d09112",2965:"13548b0e",3058:"34348c78",3085:"1f391b9e",3089:"a6aa9e1f",3132:"b4676ab6",3169:"1b7492fb",3196:"07e5f9de",3222:"9bb822d1",3241:"e7fae69c",3251:"5ac1295d",3293:"aecb7363",3309:"dda2dc85",3314:"4d6bfb64",3390:"9c86b1c3",3392:"926f1670",3440:"f9676efd",3482:"1a9cc015",3491:"ccbc8b8d",3590:"5ca33a59",3608:"9e4087bc",3642:"b87d287e",3764:"f6b55758",3859:"0a576633",3908:"9e8d335c",3921:"305b5d7f",3957:"ba658ce7",3967:"f6b5ca96",4013:"01a85c17",4059:"47e22724",4118:"cfbb06ca",4120:"8272fa28",4148:"f14aef11",4172:"3375c64a",4174:"fcb13733",4175:"6979be4b",4185:"977aef28",4235:"45619582",4331:"91629bdd",4404:"5476afdc",4406:"5d2f6f05",4465:"9d4880e7",4477:"50572ff0",4504:"1f416af2",4505:"4e6e83f6",4517:"241855ee",4566:"26b7391c",4610:"65cfe503",4639:"60a5cd7b",4647:"b8e8b238",4661:"fc7855f2",4739:"3e90d8e2",4754:"cbdd9883",4760:"8f6e2a4a",4871:"2afe0a8a",4921:"e4ec0983",5025:"4a367eab",5027:"af993462",5030:"12c9458b",5051:"97524ec3",5145:"6c82b5e0",5157:"8c04f4a8",5189:"853d6eef",5209:"9cb9472a",5222:"e512dd15",5223:"bee5bae5",5307:"1e7664cb",5354:"9a6c8fee",5391:"06d7b024",5396:"3b2611af",5403:"7f86b971",5419:"e913dccc",5486:"f1b9a032",5528:"c9ff6b20",5551:"0b3060e8",5594:"cad8270c",5611:"01b2c389",5643:"b0f5cc57",5644:"d0594032",5646:"6b5a19b3",5707:"3a255ca7",5712:"b2fdb119",5713:"69736b62",5715:"80c593df",5717:"6cf2b940",5804:"d56e6f60",5812:"3ffa4b16",5829:"de6d5860",5833:"0c883a7d",5883:"463bdb2b",5903:"15e36259",5910:"90628bba",5937:"cdf592f9",5939:"179d1783",5976:"3093e60d",5987:"52baeca4",6033:"556925f6",6039:"f018e9c8",6045:"af87715e",6093:"717f403f",6099:"c9092f3a",6103:"a32ea49b",6104:"12bd9b04",6173:"237f2966",6262:"7e965016",6270:"5829324a",6281:"c68b8091",6282:"b1f38343",6291:"d433dfcf",6323:"957623b6",6338:"989109fe",6407:"fbb33262",6441:"91a1c8ba",6447:"33375e22",6463:"d738818b",6563:"c2d6a9b4",6581:"9c1bb23d",6595:"d074df72",6671:"25b591c6",6739:"36b7cc20",6741:"775489ce",6754:"7187f4a4",6794:"5f33186c",6858:"feaf451d",6928:"dc295080",6950:"bc69d3a5",6987:"1bf6fa0b",6996:"e7b22fe0",7042:"4b628775",7201:"8938475a",7241:"9c0314cd",7269:"d661796d",7309:"6f928cfb",7401:"ecc5a1b0",7431:"28a07f2a",7456:"9128a4a4",7463:"86e87435",7515:"b0957ed4",7529:"b5447c11",7537:"2f00e57f",7543:"a80a8174",7605:"d4d43266",7646:"5781ece6",7679:"f8858d8f",7704:"dfc50f4d",7745:"b85074aa",7789:"5c46e75c",7835:"aff6dcac",7847:"da3b0d6f",7852:"510d4385",7913:"9b75507c",7918:"17896441",7920:"1a4e3797",7929:"4c36f7cd",8021:"274aea74",8026:"76261f3e",8035:"5564a3b7",8051:"a118159e",8143:"f3703b84",8157:"90faf82c",8169:"97c29f4a",8177:"35cbd37a",8190:"80b02888",8311:"4fcb4d83",8358:"f16045ef",8370:"8dc5c5c4",8393:"d0ac207d",8416:"c0182217",8554:"58028877",8602:"c0c5927d",8610:"6875c492",8647:"06669c61",8657:"316bdc3e",8666:"f5cc76a7",8672:"37093706",8676:"4e7c458f",8685:"82e1f3b6",8741:"7fc30b75",8780:"b4962e4d",8821:"50dabb5d",8824:"aa9d8acd",8853:"8eddbe9d",8888:"cdcd2ab4",8893:"88eff35d",8952:"31476475",8987:"edff5018",8995:"60e5d4c0",9056:"c77305fc",9120:"9bcf082a",9226:"b0db3eed",9241:"ed6c4718",9260:"0c751418",9319:"6e9edefd",9354:"d0338a12",9372:"75da09e2",9406:"bfdfd19f",9416:"1107bf75",9454:"e4b9cb97",9489:"4c69d450",9504:"8745b4bf",9514:"1be78505",9539:"b5003c20",9578:"9abfe212",9643:"29abe6b0",9645:"d7623852",9665:"e897118b",9702:"0107a9e4",9723:"7edbe84c",9748:"397c45a2",9756:"525276eb",9811:"93c5d417",9825:"57a11582",9847:"d90bda9a",9880:"e218c249",9936:"e7aa5905",9958:"ccdc331a"}[e]||e)+"."+{34:"4c09bea3",53:"5b901016",122:"59fd209b",126:"b2d178ec",139:"33cb34eb",164:"ebf100da",207:"0f125ebf",286:"4fd09f44",306:"c772ed9e",370:"3f828427",376:"b2e9d820",400:"c147a724",459:"3fdfc519",533:"453cd8e5",555:"cb177540",578:"39c70fa0",756:"e6220a35",776:"ea44ec20",778:"0674d8d6",844:"b201adef",891:"a9cda744",918:"59208047",926:"64564998",971:"595a9c4c",982:"98f9cfee",1013:"76204786",1080:"350948fc",1110:"ff9ae40e",1138:"4e68283b",1140:"99ed8bb3",1167:"935f3792",1189:"426a3b58",1198:"089a085e",1217:"d476add9",1242:"7686fbb6",1288:"c7cc44f5",1389:"1491531b",1439:"367a5624",1461:"01d41171",1463:"50825244",1464:"a977a8fe",1477:"b689d877",1522:"0b78b57b",1523:"61c47483",1568:"f4466b88",1592:"7e108d7d",1625:"49915700",1646:"879e2f13",1713:"8558e9ec",1723:"a4bc8321",1759:"86f7d8cb",1769:"2d5965c7",1772:"2c201907",1782:"f9e5f686",1804:"705dfaf8",1855:"2f2d33da",1892:"98c6cfde",1956:"a6b3eac6",1997:"f842d26d",2028:"d7f4b113",2062:"9fde5015",2089:"9e10baaf",2102:"2087ca2a",2121:"9e87ab8f",2171:"4bfd8b96",2177:"1a85b104",2187:"8cd5d440",2198:"7d1155c6",2209:"d4b39a4e",2335:"e5b5b18c",2343:"cb77817e",2350:"7af47ce9",2361:"94a7bca4",2396:"12200415",2399:"e1c8c6cb",2471:"07cd884a",2515:"bf37c1c0",2518:"65bdff1a",2535:"e2391992",2560:"2c94c4ad",2562:"9bbf4a10",2581:"e09ae0ab",2606:"0f3e05e2",2699:"150f6199",2718:"3460b992",2720:"b2d87cdc",2727:"88c711be",2786:"027ae975",2841:"75aa874e",2867:"ee37f161",2872:"ee3a6d9d",2895:"d305e5be",2903:"1ae14c3b",2921:"58b3313d",2930:"ca66e5f0",2945:"f1690066",2965:"4e532e47",3058:"deb9ae90",3085:"f6a1f18c",3089:"e420db5e",3132:"35fe5c40",3169:"ebb88ab3",3196:"70e28b08",3222:"484a4cc1",3241:"8cad0304",3251:"d2b96dbb",3293:"e37e92ed",3309:"0174a3d2",3314:"18cd208c",3390:"8f5bfd41",3392:"90ec6dba",3440:"9187e912",3482:"d350927e",3491:"58690dee",3510:"3cd61d00",3590:"157a766b",3608:"b5585d94",3642:"0addad7b",3764:"00b61bda",3859:"99a483ff",3908:"c769a5a8",3921:"c741118b",3957:"1aa9e743",3967:"d730e538",4013:"5cd47bd9",4059:"a3c9f887",4118:"94d8e941",4120:"3d6a733e",4148:"fd5bd5db",4172:"05c4738d",4174:"b7ba2e34",4175:"585e3470",4185:"8920b783",4235:"eb54f194",4331:"ee106a99",4404:"e7b83d94",4406:"c6655786",4465:"bc8b586b",4477:"ac0bd21a",4504:"a13d2054",4505:"bc3092a4",4517:"c262236a",4566:"f487f9af",4610:"236f8314",4639:"7279951c",4647:"f2c9b694",4649:"6281cae2",4661:"411d572a",4739:"696c133d",4754:"aa005472",4760:"e245b2b6",4871:"cdb47dc1",4921:"80988b6a",5025:"3ae70e4c",5027:"28fa1ab9",5030:"ef593b7b",5051:"e14eb5ab",5145:"0c7c29bd",5157:"783feee8",5189:"8eeb2c42",5209:"7874725c",5222:"991fc7f8",5223:"10ccc055",5307:"01744176",5354:"04a3e791",5391:"3905b679",5396:"edeedf59",5403:"5c6911c2",5419:"79024914",5486:"74f9a2e7",5528:"f98a76ee",5551:"11cb2232",5594:"090d876f",5611:"c0a2c055",5643:"fea42690",5644:"82019d90",5646:"0160727b",5707:"936ad6f5",5712:"93202272",5713:"05a2f946",5715:"56c994ff",5717:"ece466d3",5804:"8a1e5478",5812:"4cbcac5b",5829:"f61cebd9",5833:"c7a68307",5883:"c6e7665f",5903:"c65e5881",5910:"3ea5e474",5937:"1c4522f5",5939:"c45e62eb",5976:"8e6732af",5987:"385a892f",6033:"69b5ba9b",6039:"2c964764",6045:"6753967b",6093:"79ed7ec1",6099:"1704c942",6103:"7b7a02f8",6104:"7cfc2e19",6173:"4c9db0d0",6262:"0a4f3b72",6270:"37e39c77",6281:"0d6b6d35",6282:"31b06f3f",6291:"539afa1f",6323:"160d0e5d",6338:"a945e947",6407:"f717a642",6441:"3c576e6e",6447:"948e7067",6463:"36b3bc86",6563:"075648f7",6581:"c0e1bba4",6595:"cfc1c63d",6671:"dac9b72c",6739:"213e63bc",6741:"8303106b",6754:"2ecde15a",6794:"8675543b",6858:"ef1e5e53",6928:"8c90d44b",6950:"537ac56d",6987:"ab40f927",6996:"36c6a7e7",7042:"1f5b61f2",7201:"bf2133ef",7241:"4dce251f",7269:"2f18a257",7309:"bc044688",7372:"0a1fdff3",7401:"3c86d5ae",7431:"62b3f853",7456:"af2753b3",7463:"e3df135e",7515:"073b4eac",7529:"5ad098ff",7537:"ba878aa6",7543:"f5a8f794",7605:"d3a0e643",7646:"de412d4d",7679:"973c78b1",7704:"b8793da8",7745:"d26767b2",7789:"2c2ca1e2",7835:"7f7cbb41",7847:"0d3ae9bf",7852:"7542c741",7913:"0911d431",7918:"9d2434b3",7920:"7635b958",7929:"e06f20c1",8021:"4223bedf",8026:"e535929b",8035:"b6afdb70",8051:"54897c22",8143:"0829882e",8157:"6414aa55",8169:"6853fc17",8177:"25da6896",8190:"e2f2143b",8232:"970a32ee",8311:"290c22cf",8358:"bcc6144f",8370:"4f7b682f",8393:"1f974f71",8416:"bf6fe664",8554:"36c23574",8602:"e3263327",8610:"1f0772b3",8647:"57bee13e",8657:"a2df40a5",8666:"0016d459",8672:"54ba40c1",8676:"c056f95b",8685:"c1478c08",8741:"93ff5297",8780:"5352c9c8",8821:"7d645655",8824:"bc988be9",8853:"fce880bf",8888:"3739d646",8893:"675eb357",8952:"e11b178d",8987:"21fcdeb2",8995:"3afa72d6",9056:"5b18b357",9120:"74e41a7f",9226:"85ad9b4c",9241:"647e22c6",9260:"d2e81974",9319:"e588a5de",9354:"e30fde12",9372:"f05786ef",9406:"154663b6",9416:"01241f0c",9454:"9814d761",9489:"3e3c0c59",9504:"1cfe7f73",9514:"8ed35375",9539:"6ba3d57e",9578:"39023eea",9643:"42585914",9645:"62e7fc49",9665:"28f607cd",9702:"2f489f1d",9723:"890d6601",9748:"a7ad333c",9756:"0e0a4ced",9811:"9d8769fd",9825:"ce9e3489",9847:"e6ecb115",9880:"9c6ebbff",9936:"8bf48d1c",9958:"cbc18a90"}[e]+".js"},n.miniCssF=function(e){return"assets/css/styles.1cef0f03.css"},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d={},b="website:",n.l=function(e,c,f,a){if(d[e])d[e].push(c);else{var t,r;if(void 0!==f)for(var o=document.getElementsByTagName("script"),u=0;u<o.length;u++){var i=o[u];if(i.getAttribute("src")==e||i.getAttribute("data-webpack")==b+f){t=i;break}}t||(r=!0,(t=document.createElement("script")).charset="utf-8",t.timeout=120,n.nc&&t.setAttribute("nonce",n.nc),t.setAttribute("data-webpack",b+f),t.src=e),d[e]=[c];var s=function(c,f){t.onerror=t.onload=null,clearTimeout(l);var b=d[e];if(delete d[e],t.parentNode&&t.parentNode.removeChild(t),b&&b.forEach((function(e){return e(f)})),c)return c(f)},l=setTimeout(s.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=s.bind(null,t.onerror),t.onload=s.bind(null,t.onload),r&&document.head.appendChild(t)}},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},n.p="/",n.gca=function(e){return e={17896441:"7918",31476475:"8952",37093706:"8672",40247295:"2102",45619582:"4235",47137878:"34",58028877:"8554",64570554:"1013",84995476:"1464","935f2afb":"53","3bbb0048":"122",da3e4625:"126",e798ed30:"139","0ce0cd0c":"164",d1258d46:"207","2ccc5d15":"286","73754ea4":"306",d6e23382:"370","4dfb9136":"376","56f0943a":"400",a8d6d0df:"459",b2b675dd:"533","33d21e66":"555","0b2baf8d":"578","885ea281":"756","9875289a":"776",aff05561:"778",ab83aed5:"844","13cbcf42":"891","8d9e9f31":"918","06b3902f":"971","1cc3cec9":"982",ccc49370:"1080","25c9e43b":"1110","37b35207":"1138",a5bce4c8:"1140","92a26795":"1167","75662a14":"1189","4b62531f":"1198",a0438807:"1217",a76029b2:"1242","310215f2":"1288","53424fa2":"1389","635b1501":"1439","429c4dc1":"1463",b2f554cd:"1477","0fe29b8b":"1522",e4892bae:"1523",d2788ed0:"1568",d972a4f7:"1592",bc2d3638:"1625","4275b1b4":"1646",a7023ddc:"1713",f345d982:"1723","0807d87e":"1759",c8d6b1e1:"1769",b3c5e4a8:"1772",ad3ca912:"1782",b55bea4d:"1804","30896c49":"1855",f0fffb88:"1892",ce421672:"1956","472c5008":"1997","88fb3acf":"2028",a031f49a:"2062","160ef12c":"2089","6977494c":"2121","39f00e4b":"2171",f1be0c77:"2177",cf87da48:"2187","795362f1":"2198",b37fd7e5:"2209",bad064f5:"2335","54b4ef9f":"2343","81de59db":"2350",ea94ad11:"2361","01f79f8c":"2396","758bf183":"2399","9731ed60":"2471",b15063cb:"2515","85cde48e":"2518","814f3328":"2535",f70958ec:"2560","062163c2":"2562","399acd3b":"2581","78b2a8f7":"2606","671093e8":"2699","0e79e7ad":"2718","1d960048":"2720","5f66efcf":"2727","9c4c7084":"2786",db8591c4:"2841","2ed37b6a":"2867","91b3e92a":"2872","3fed8774":"2895","7c66270b":"2903","2f375d82":"2930","34d09112":"2945","13548b0e":"2965","34348c78":"3058","1f391b9e":"3085",a6aa9e1f:"3089",b4676ab6:"3132","1b7492fb":"3169","07e5f9de":"3196","9bb822d1":"3222",e7fae69c:"3241","5ac1295d":"3251",aecb7363:"3293",dda2dc85:"3309","4d6bfb64":"3314","9c86b1c3":"3390","926f1670":"3392",f9676efd:"3440","1a9cc015":"3482",ccbc8b8d:"3491","5ca33a59":"3590","9e4087bc":"3608",b87d287e:"3642",f6b55758:"3764","0a576633":"3859","9e8d335c":"3908","305b5d7f":"3921",ba658ce7:"3957",f6b5ca96:"3967","01a85c17":"4013","47e22724":"4059",cfbb06ca:"4118","8272fa28":"4120",f14aef11:"4148","3375c64a":"4172",fcb13733:"4174","6979be4b":"4175","977aef28":"4185","91629bdd":"4331","5476afdc":"4404","5d2f6f05":"4406","9d4880e7":"4465","50572ff0":"4477","1f416af2":"4504","4e6e83f6":"4505","241855ee":"4517","26b7391c":"4566","65cfe503":"4610","60a5cd7b":"4639",b8e8b238:"4647",fc7855f2:"4661","3e90d8e2":"4739",cbdd9883:"4754","8f6e2a4a":"4760","2afe0a8a":"4871",e4ec0983:"4921","4a367eab":"5025",af993462:"5027","12c9458b":"5030","97524ec3":"5051","6c82b5e0":"5145","8c04f4a8":"5157","853d6eef":"5189","9cb9472a":"5209",e512dd15:"5222",bee5bae5:"5223","1e7664cb":"5307","9a6c8fee":"5354","06d7b024":"5391","3b2611af":"5396","7f86b971":"5403",e913dccc:"5419",f1b9a032:"5486",c9ff6b20:"5528","0b3060e8":"5551",cad8270c:"5594","01b2c389":"5611",b0f5cc57:"5643",d0594032:"5644","6b5a19b3":"5646","3a255ca7":"5707",b2fdb119:"5712","69736b62":"5713","80c593df":"5715","6cf2b940":"5717",d56e6f60:"5804","3ffa4b16":"5812",de6d5860:"5829","0c883a7d":"5833","463bdb2b":"5883","15e36259":"5903","90628bba":"5910",cdf592f9:"5937","179d1783":"5939","3093e60d":"5976","52baeca4":"5987","556925f6":"6033",f018e9c8:"6039",af87715e:"6045","717f403f":"6093",c9092f3a:"6099",a32ea49b:"6103","12bd9b04":"6104","237f2966":"6173","7e965016":"6262","5829324a":"6270",c68b8091:"6281",b1f38343:"6282",d433dfcf:"6291","957623b6":"6323","989109fe":"6338",fbb33262:"6407","91a1c8ba":"6441","33375e22":"6447",d738818b:"6463",c2d6a9b4:"6563","9c1bb23d":"6581",d074df72:"6595","25b591c6":"6671","36b7cc20":"6739","775489ce":"6741","7187f4a4":"6754","5f33186c":"6794",feaf451d:"6858",dc295080:"6928",bc69d3a5:"6950","1bf6fa0b":"6987",e7b22fe0:"6996","4b628775":"7042","8938475a":"7201","9c0314cd":"7241",d661796d:"7269","6f928cfb":"7309",ecc5a1b0:"7401","28a07f2a":"7431","9128a4a4":"7456","86e87435":"7463",b0957ed4:"7515",b5447c11:"7529","2f00e57f":"7537",a80a8174:"7543",d4d43266:"7605","5781ece6":"7646",f8858d8f:"7679",dfc50f4d:"7704",b85074aa:"7745","5c46e75c":"7789",aff6dcac:"7835",da3b0d6f:"7847","510d4385":"7852","9b75507c":"7913","1a4e3797":"7920","4c36f7cd":"7929","274aea74":"8021","76261f3e":"8026","5564a3b7":"8035",a118159e:"8051",f3703b84:"8143","90faf82c":"8157","97c29f4a":"8169","35cbd37a":"8177","80b02888":"8190","4fcb4d83":"8311",f16045ef:"8358","8dc5c5c4":"8370",d0ac207d:"8393",c0182217:"8416",c0c5927d:"8602","6875c492":"8610","06669c61":"8647","316bdc3e":"8657",f5cc76a7:"8666","4e7c458f":"8676","82e1f3b6":"8685","7fc30b75":"8741",b4962e4d:"8780","50dabb5d":"8821",aa9d8acd:"8824","8eddbe9d":"8853",cdcd2ab4:"8888","88eff35d":"8893",edff5018:"8987","60e5d4c0":"8995",c77305fc:"9056","9bcf082a":"9120",b0db3eed:"9226",ed6c4718:"9241","0c751418":"9260","6e9edefd":"9319",d0338a12:"9354","75da09e2":"9372",bfdfd19f:"9406","1107bf75":"9416",e4b9cb97:"9454","4c69d450":"9489","8745b4bf":"9504","1be78505":"9514",b5003c20:"9539","9abfe212":"9578","29abe6b0":"9643",d7623852:"9645",e897118b:"9665","0107a9e4":"9702","7edbe84c":"9723","397c45a2":"9748","525276eb":"9756","93c5d417":"9811","57a11582":"9825",d90bda9a:"9847",e218c249:"9880",e7aa5905:"9936",ccdc331a:"9958"}[e]||e,n.p+n.u(e)},function(){var e={1303:0,532:0};n.f.j=function(c,f){var d=n.o(e,c)?e[c]:void 0;if(0!==d)if(d)f.push(d[2]);else if(/^(1303|532)$/.test(c))e[c]=0;else{var b=new Promise((function(f,b){d=e[c]=[f,b]}));f.push(d[2]=b);var a=n.p+n.u(c),t=new Error;n.l(a,(function(f){if(n.o(e,c)&&(0!==(d=e[c])&&(e[c]=void 0),d)){var b=f&&("load"===f.type?"missing":f.type),a=f&&f.target&&f.target.src;t.message="Loading chunk "+c+" failed.\n("+b+": "+a+")",t.name="ChunkLoadError",t.type=b,t.request=a,d[1](t)}}),"chunk-"+c,c)}},n.O.j=function(c){return 0===e[c]};var c=function(c,f){var d,b,a=f[0],t=f[1],r=f[2],o=0;if(a.some((function(c){return 0!==e[c]}))){for(d in t)n.o(t,d)&&(n.m[d]=t[d]);if(r)var u=r(n)}for(c&&c(f);o<a.length;o++)b=a[o],n.o(e,b)&&e[b]&&e[b][0](),e[b]=0;return n.O(u)},f=self.webpackChunkwebsite=self.webpackChunkwebsite||[];f.forEach(c.bind(null,0)),f.push=c.bind(null,f.push.bind(f))}()}(); \ No newline at end of file diff --git a/blog/archive/index.html b/blog/archive/index.html index 1624e455..727cca32 100644 --- a/blog/archive/index.html +++ b/blog/archive/index.html @@ -14,13 +14,13 @@ <link rel="alternate" type="application/atom+xml" href="/blog/atom.xml" title="XCharts Atom Feed"> <link rel="alternate" type="application/rss+xml" href="/newsletter/rss.xml" title="XCharts RSS Feed"> <link rel="alternate" type="application/atom+xml" href="/newsletter/atom.xml" title="XCharts Atom Feed"><title data-react-helmet="true">历史博文 | XCharts - - + + - - + + \ No newline at end of file diff --git a/blog/index.html b/blog/index.html index da67cf1b..7f3e51af 100644 --- a/blog/index.html +++ b/blog/index.html @@ -14,13 +14,13 @@ XCharts Blogs | XCharts - - + +

博客

Unity数据可视化图表插件XCharts3.0发布
2022年6月17日 | monitor1394
历时8个多月,业余时间,断断续续,XCharts3.0 总算发布了。如果要打个满意度,我给 3.0 版本来个80分。
阅读更多
订阅月报

Get the latest news from the XCharts community in a monthly email: Groundbreaking releases, upcoming events, new insights, community updates, and more!

We'll never share your information with anyone else and you can opt out at any time.
- - + + \ No newline at end of file diff --git a/blog/tags/index.html b/blog/tags/index.html index 17480f25..4f770173 100644 --- a/blog/tags/index.html +++ b/blog/tags/index.html @@ -14,13 +14,13 @@ 标签 | XCharts - - + + - - + + \ No newline at end of file diff --git a/blog/tags/x-charts/index.html b/blog/tags/x-charts/index.html index 4479f472..75ebe9d9 100644 --- a/blog/tags/x-charts/index.html +++ b/blog/tags/x-charts/index.html @@ -14,13 +14,13 @@ XCharts - - + +

博客

Unity数据可视化图表插件XCharts3.0发布
2022年6月17日 | monitor1394
历时8个多月,业余时间,断断续续,XCharts3.0 总算发布了。如果要打个满意度,我给 3.0 版本来个80分。
阅读更多
订阅月报

Get the latest news from the XCharts community in a monthly email: Groundbreaking releases, upcoming events, new insights, community updates, and more!

We'll never share your information with anyone else and you can opt out at any time.
- - + + \ No newline at end of file diff --git "a/blog/tags/\346\226\260\347\211\210\346\234\254/index.html" "b/blog/tags/\346\226\260\347\211\210\346\234\254/index.html" index ab94d5d9..4b2b0141 100644 --- "a/blog/tags/\346\226\260\347\211\210\346\234\254/index.html" +++ "b/blog/tags/\346\226\260\347\211\210\346\234\254/index.html" @@ -14,13 +14,13 @@ XCharts - - + +

博客

Unity数据可视化图表插件XCharts3.0发布
2022年6月17日 | monitor1394
历时8个多月,业余时间,断断续续,XCharts3.0 总算发布了。如果要打个满意度,我给 3.0 版本来个80分。
阅读更多
订阅月报

Get the latest news from the XCharts community in a monthly email: Groundbreaking releases, upcoming events, new insights, community updates, and more!

We'll never share your information with anyone else and you can opt out at any time.
- - + + \ No newline at end of file diff --git a/blog/xcharts3.0_released/index.html b/blog/xcharts3.0_released/index.html index 6ae74b7c..8488e077 100644 --- a/blog/xcharts3.0_released/index.html +++ b/blog/xcharts3.0_released/index.html @@ -14,13 +14,13 @@ Unity数据可视化图表插件XCharts3.0发布 | XCharts - - + +

Unity数据可视化图表插件XCharts3.0发布

· 16 分钟阅读

历时8个多月,业余时间,断断续续,XCharts3.0 总算发布了。如果要打个满意度,我给 3.0 版本来个80分。

对于代码框架结构设计的调整改动,基本符合预期,甚是满意。相比之前的 1.0 和 2.0 版本,我认为 3.0 才是一个拿得出手给广大开发者使用的版本。1.0 发布的时候,很兴奋,从 0.1 到 1.0,也磨了一年,真的等不及想给大家试用了,还特地写过一篇文章以示庆祝。那个时候,1.0 虽然还还不够完善,功能也不够丰富,但它是XCharts的开始,没有 1.0,也就没有后面的 2.0 和 3.0。

后面的 2.0 发布,做了很多改进和优化,随着版本迭代,慢慢的发现有不少硬伤需要进行大量重构才能解决。当我知道 2.0 还有些硬伤时,也就没什么心思花在推广运营上了,当时的想法很简单,不希望大量用户使用后还要进行不兼容升级版本,也不想把明知道还不够好的作品推荐给别人,更不想别人看了项目源码后感慨:这是一坨啥玩意?这促使我要开发一个够健壮的,兼容性够好的,解决已知硬伤的版本出来,也就是 3.0 。

终归因为精力和时间有限,源码部分是基本完成了,但在文档、教程等方面还是不够完善,多少给3.0的发布留下了点不足。这些只能后面再继续完善了。但说实话,相比写文档教程文章,我还是更愿意安安静静地写代码。

xcharts3.0-1

为什么要开发 XCharts3.0?

一言以蔽之,之前的版本不够好,有硬伤有痛点。一些设计和框架上的问题并不是迭代和优化可以解决的,必须推倒重构重新设计。那之前的版本有哪些方面的痛点呢?总结一下主要有以下两大方面:

  1. 代码结构上,框架设计不够合理,代码低内聚高耦合,臃肿不方便功能扩展,不利于项目维护。
  2. 功能使用上,图表无法任意组合,组件无法热插拔,性能优化天花板太低。

其实这两大方面对用户是没什么影响,反而在使用上 2.0 版本还更好用一点。这有点像Unity,早期的版本可以直接访问组件,而后面的版本需要先 GetComponent。

原因的话主要是早期做XCharts时是没想道要做这么完善的,我只是想做个简单的图表工具自己用而已,再加上可支持的图表种类和组件真是太多了,如果一开始没有很好的规划和设计,框架是很难兼容所有需求的。况且,好的架构,都是在持续迭代和重构过程中不断完善。

一个持续的项目在代码上要方便维护和扩展,要不然太难受了。我在做用户定制功能时深有体会,2.0 版本加一个扩展图表改动非常大,牵扯的地方较多,这样很容易出问题,不方便后面的功能增加和版本迭代。要知道,图表方面可迭代的需求可以源源不断。之前的版本就是点错了技能树,太注重性能优化,导致高内聚低耦合的基本编码原则成了摆设。作为一个图表插件,性能固然重要,但更应该把易用性、丰富性和体验性放在首位,让客户能做出他想要的炫酷好看的图表才是重点。

图表任意组合和组件热插拔也一直是我想支持的,XCharts 也有参考 ECharts 的一些设计理念,ECharts 里对这两个就支持的很好。XCharts 的 3.0 版本里,由于 Unity 的一些限制,只能做到内置图表的任意组合,或者扩展图表组合内置图表,而没法做到所有图表的任意组合,略有遗憾。

XCharts3.0 有哪些变化?

3.0 版本对用户使用来说变化不大,但在源码层面基本改得面目全非了。Github仓库也转移到了专有组织 XCharts-Team 进行规范化社区维护。XCharts-Team 下除了 包含 XCharts 核心仓库,还包含很多扩展图表仓库,后面计划会推出用 XCharts 做的项目仓库,作为 XCharts 的展示示例。

概括的说,XCharts3.0 有几下几个方面的变化:

  1. 代码框架结构上,进行重构重新设计,更合理更健壮,为以后的迭代和扩展打下基础。
  2. 图表支持任意组合,组件可以热插拔。
  3. 增加更多组件支持,更多细节处理。
  4. 增加扩展图表支持。
  5. 注重交互和用户体验。
  6. 全新Demo示例,更快的知道XCharts能做什么。
  7. 增加XChartsGitHub组织,社区化规范化维护。
  8. 新的VIP订阅服务,提供更好的技术支持。

xcharts3.0

XCharts3.0 开发过程中碰到哪些问题?

碰到最大的问题主要还是Unity序列化,特别是范型序列化和递归序列化。Unity在序列化上的一些限制,使得XCharts不得不采取一些折中的方案,代码略显得不够优雅。这也是XCharts3.0开发前期碰到的最大阻力,导致方案调整了几次。

这对 XCharts3.0 有两个直接的影响:一是扩展图表之间无法任意组合;二是递归的树状结构无法像正常一样构建,如在TreemapChart矩形树图中,就没法像ECharts那样优雅地配置数据。

扩展图表为何要付费,且要订阅VIP服务才能购买?

订阅VIP和扩展图表算是XCharts商业模式的一种探索。这是XCharts能长时间持续更新迭代和维护下去的决定因素。要先订阅VIP才能购买扩展图表也是为了更好的更全方位的技术服务。

知乎上有个问题:如何看待国内开源项目的不可持续性?很多答主从多方面回答了这个问题。要我回答的话,我觉得主要是:付出和(预期)收获不成正比。这里说的收获可以是经验、技术、成就和资金以及其他支持。

长时间维护一个需要持续迭代更新的大型开源项目,是很耗费精力和时间的。当付出远远大于收获时,项目就很难继续维护下去。XCharts可能还谈不上大型开源项目,但由于图表项目的特殊性,可以有源源不断的需求等着开发,对我来说,哪怕把所有业余时间都投进去都开发不完。从耗费精力和时间上来看,XCharts并不亚于其他大型开源项目。

维护一个有一定影响力的开源项目确实能从中获利不少。在我维护XCharts的这四年,各方面的经验积累了不少,技术方面经过实战也更扎实也学到了一些新技术,也获得了一些成就感。资金方面虽然不多,但也用户订阅VIP服务和功能定制,让我也看到了些希望。然而,对于经验、技术、成就和资金这四方面,只有资金才具有持续性,其他几个并不会持续很长时间。

所以,长时间维护一个需要持续迭代更新的大型开源项目,持续的资金支持才是关键。这种资金支持不管是来源于商业模式,还是捐赠赞助,亦或是工资奖金等都可以。试想,Torvalds 如果没有资金上的支持,不知他是否还能全职专心的维护 Linux。用爱发电,为爱发电两三年还能可以,再长时间,很难。

关于时间管理

如果你也是一位搞游戏开发的有家庭有小孩的还经常加班的上班族,应该能体会业余时间维护自己的项目有多么不容易,更别说平均每天还能抽出2个多小时来写代码了,这需要很大的毅力和动力。

codingtime

这些时间花的值不值?谁知道呢,我只知道,如果这些时间用来玩游戏,刷某音,看网络小说,时间就在不知不觉中流逝,什么都没有留下。而现在,至少我还留下了XChartsXCharts确实也帮助到了不少开发者。

我不是时间管理大师,只是想坚持每天做会项目,写会代码。用业余时间做项目靠的是自律和坚持,讲究一鼓作气,因为人是懒惰的,只要一段时间不弄,就会思路和规划对不上,嫌麻烦,提不起兴趣,就不再想去弄了。

然而,一个人的时间总是固定的,花在项目上的时间多了,花其他方面的时间自然也就相对减少了,比如家庭,比如学习,比如休息和锻炼。这也是我以后我要多平衡的地方。

关于ECharts

用过XCharts的开发者应该都发现了,XCharts的风格有点类似ECharts。没错,XCharts在不少方面确实参考和借鉴了ECharts,在一些概念,命名和风格方面尽量保持和ECharts一致。在Demo方面干脆就是直接复刻了ECharts的Demo。

一是为了减少用户的学习和使用成本。ECharts在前端可视化领域是极具影响力的,图表类型丰富,开源,文档和Demo齐全。对于有ECharts经验的开发者,可以直接上手XCharts,不用再重新学习另外一套图表。哪怕没用过ECharts,它上面的文档和Demo对开发者也有很大帮助,因为早期XCharts在文档和Demo方面并不完善,而XChartsECharts在很多方面概念是相通的。

二是为了减少XCharts的开发成本。除了一些概念和命名,特别在配色和Demo设计方面,没有参考的话,可够让这种没啥艺术细胞的程序员头疼的。英文文档翻译也是,这么多配置项参数要翻译。有了ECharts做参考,确实省了我不少时间,让我能把主要精力放在编程上,加快开发效率。

xcharts3.0-2

关于后续发展

XCharts,始于开源,成长于开源,也回馈了开源。时至今日,XCharts迭代了将近四年,发布了大大小小共45个版本,其中3个大版本,平均一个月一个版本。最新的XCharts3.0版本,代表着XCharts已成年,将开启新的探索旅程。

元宇宙,将会是下一个十年互联网的趋势。各种布局和基础建设已如火如荼地进行中。虚拟化,数字化,可视化也会是元宇宙中呈现世界和事物的一种方式。XCharts也将致力于作为元宇宙工具链的一部分,为元宇宙添砖加瓦,贡献一份力量。

XCharts的接下来的Roadmap主要有三大方面:大屏、3D和AR/VR。大屏是目前图表的主要呈现方式,为了支持大屏,需要支持更多的图表和组件;3D和AR/VR目前来说使用较少,主要是为以后的元宇宙做准备。

而当务之急,还是继续迭代XCharts3.0版本,完善用户交互和用户体验;优化性能;增加新功能;完善文档和教程;添加更多的Demo示例;完善扩展图表和VIP专有仓库,为XCharts探索健康的商业模式。

我觉得一个开源项目的健康模式应该是这样的:持续迭代让项目变得优秀;优秀的项目别人更愿意付费;持续的付费会促进项目迭代,让项目变得更加优秀;如此良性循环发展。也只有这样,XCharts才能走得更远。

xcharts3.0-3

- - + + \ No newline at end of file diff --git a/community/index.html b/community/index.html index 0b897098..b4622ed5 100644 --- a/community/index.html +++ b/community/index.html @@ -14,13 +14,13 @@ XCharts Developer Community | XCharts - - + +

XCharts Developer Community

Join our community to sharpen your programming skills and interact with other XCharts developers across the world!

- - + + \ No newline at end of file diff --git a/contact-us/index.html b/contact-us/index.html index ce6c50f1..c959caab 100644 --- a/contact-us/index.html +++ b/contact-us/index.html @@ -14,13 +14,13 @@ XCharts - - + + - - + + \ No newline at end of file diff --git a/docs/about/index.html b/docs/about/index.html index d0877c59..0e74a060 100644 --- a/docs/about/index.html +++ b/docs/about/index.html @@ -14,8 +14,8 @@ 关于XCharts | XCharts - - + +
@@ -31,7 +31,7 @@ XCharts只支持在Unity平台使用。理论上任何支持UGUIUnity版本都能运行XCharts

  • 锯齿怎么解决?支持多大量级的数据?
    XCharts是基于UGUI实现的,所以UGUI中碰到的问题,在XCharts中也会存在。比如锯齿问题,比如Mesh顶点数超65535的问题。这两个问题的解决可参考问答16问答27
    由于Mesh65535顶点数的限制,目前XCharts的单条Line支持约2万的数据量,当然开启采样可以支持更多数据的绘制,但同时也会更消耗CPU。

  • 日志

    Licenses

    • MIT License
    • 可免费商用,可二次开发。
    • 扩展图表和高级功能部分需购买使用授权。

    订阅

    • XCharts核心库是开源的,可免费使用的。在此基础上,我们也提供多种订阅服务以满足不同用户的需求,订阅详情☞ 请看这里
    • 订阅不是必须的,不影响XCharts的核心功能使用。
    • 订阅是按年付费,订阅到期后,不要求必须续订,但中断订阅期间无法享受技术更新和支持等服务。

    其他

    • 邮箱:monitor1394@gmail.com
    • QQ群:XCharts交流群(202030963
    • VIP群:XCharts VIP群(867291970
    • 捐助、合作、订阅和技术支持:☞ 请看这里
    - - + + \ No newline at end of file diff --git a/docs/api/index.html b/docs/api/index.html index 854b4dba..d52407c4 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -14,13 +14,470 @@ API手册 | XCharts - - + +
    -
    Version: v3.12.0

    API手册

    所有类

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    API版本描述
    GetValueAngle()public float GetValueAngle(double value)
    GetValueAngle()public float GetValueAngle(float value)
    SetDefaultValue()public override void SetDefaultValue()

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    AngleAxisTheme()public AngleAxisTheme(ThemeType theme) : base(theme) { }

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn,AnimationFadeOut,AnimationChange,AnimationAddition,AnimationHiding,AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    API版本描述
    End()public void End()
    结束动画。
    GetIndexDelay()public float GetIndexDelay(int dataIndex)
    获取动画延迟。
    Init()public bool Init(float curr, float dest, int totalPointIndex)
    初始化动画。
    IsFinish()public bool IsFinish()
    动画是否结束。
    IsInDelay()public bool IsInDelay()
    动画是否在延迟中。
    IsInIndexDelay()public bool IsInIndexDelay(int dataIndex)
    动画是否在索引延迟中。
    Pause()public void Pause()
    暂停动画。
    Reset()public void Reset()
    重置动画。
    Resume()public void Resume()
    恢复动画。
    Start()public void Start(bool reset = true)
    开始动画。

    AnimationInfoContext

    class in XCharts.Runtime

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    API版本描述
    GetOffset()public float GetOffset()
    GetOffset()public float GetOffset(float total)
    GetRadius()public float GetRadius(float radius)
    GetWidth()public float GetWidth(float width)

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    API版本描述
    Addition()public void Addition()
    开始数据新增动画。
    CanCheckInteract()public bool CanCheckInteract()
    CheckDetailBreak()public bool CheckDetailBreak(float detail)
    CheckDetailBreak()public bool CheckDetailBreak(Vector3 pos, bool isYAxis)
    CheckProgress()public void CheckProgress()
    CheckProgress()public void CheckProgress(double total)
    CheckSymbol()public void CheckSymbol(float dest)
    FadeIn()public void FadeIn()
    开始渐入动画。
    FadeOut()public void FadeOut()
    开始渐出动画。
    GetAdditionDuration()public float GetAdditionDuration()
    GetChangeDuration()public float GetChangeDuration()
    GetCurrDetail()public float GetCurrDetail()
    GetCurrIndex()public int GetCurrIndex()
    GetCurrRate()public float GetCurrRate()
    GetInteractionDuration()public float GetInteractionDuration()
    GetInteractionRadius()public float GetInteractionRadius(float radius)
    GetSysmbolSize()public float GetSysmbolSize(float dest)
    HasFadeOut()public bool HasFadeOut()
    InitProgress()public void InitProgress(float curr, float dest)
    初始化动画配置。
    InitProgress()public void InitProgress(List<Vector3> paths, bool isY)
    初始化动画配置。
    IsDataAnimation()public bool IsDataAnimation()
    是否为数据动画。BottomToTop和InsideOut类型的为数据动画。
    IsEnd()public bool IsEnd()
    IsFadeIn()public bool IsFadeIn()
    IsFadeOut()public bool IsFadeOut()
    IsFinish()public bool IsFinish()
    IsInDelay()public bool IsInDelay()
    IsSerieAnimation()public bool IsSerieAnimation()
    是否为系列动画。LeftToRight、AlongPath和Clockwise类型的为系列动画。
    Pause()public void Pause()
    暂停所有动画。
    Reset()public void Reset()
    Reset all animations.
    Restart()public void Restart()
    重启当前激活的动画。
    Resume()public void Resume()
    恢复所有动画。

    AnimationStyleHelper

    class in XCharts.Runtime

    API版本描述
    CheckDataAnimation()public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)
    GetAnimationPosition()public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip, ref float rate)
    UpdateAnimationType()public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType, bool enableSerieDataAnimation)
    UpdateSerieAnimation()public static void UpdateSerieAnimation(Serie serie)

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    区域填充样式。

    API版本描述
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 themeColor)

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Clone()public ArrowStyle Clone()
    Copy()public void Copy(ArrowStyle arrow)
    GetColor()public Color32 GetColor(Color32 defaultColor)

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis,ParallelAxis,RadiusAxis,SingleAxis,XAxis,XAxis3D,YAxis,YAxis3D,ZAxis3D

    直角坐标系的坐标轴组件。

    API版本描述
    AddData()public void AddData(string category)
    添加一个类目到类目数据列表
    AddIcon()public void AddIcon(Sprite icon)
    添加图标
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空类目数据
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public Axis Clone()
    Copy()public void Copy(Axis axis)
    GetAddedDataCount()public int GetAddedDataCount()
    获得添加过的历史数据总数
    GetCategoryPosition()public Vector3 GetCategoryPosition(int categoryIndex, int dataCount = 0)
    GetData()public string GetData(int index)
    获得指定索引的类目数据
    GetData()public string GetData(int index, DataZoom dataZoom)
    获得在dataZoom范围内指定索引的类目数据
    GetDistance()public float GetDistance(double value, float axisLength = 0)
    获得值在坐标轴上的距离
    GetIcon()public Sprite GetIcon(int index)
    GetLabelValue()public double GetLabelValue(int index)
    GetLastLabelValue()public double GetLastLabelValue()
    GetLogMaxIndex()public double GetLogMaxIndex()
    GetLogMinIndex()public double GetLogMinIndex()
    GetLogValue()public float GetLogValue(double value)
    GetValueLength()public float GetValueLength(double value, float axisLength)
    IsBottom()public bool IsBottom()
    IsCategory()public bool IsCategory()
    是否为类目轴。
    IsLeft()public bool IsLeft()
    IsLog()public bool IsLog()
    是否为对数轴。
    IsNeedShowLabel()public bool IsNeedShowLabel(int index, int total = 0)
    IsRight()public bool IsRight()
    IsTime()public bool IsTime()
    是否为时间轴。
    IsTop()public bool IsTop()
    IsValue()public bool IsValue()
    是否为数值轴。
    RemoveData()public void RemoveData(int dataIndex)
    ResetStatus()public override void ResetStatus()
    重置状态。
    SetComponentDirty()public override void SetComponentDirty()
    SetNeedUpdateFilterData()public void SetNeedUpdateFilterData()
    UpdateData()public void UpdateData(int index, string category)
    更新类目数据
    UpdateIcon()public void UpdateIcon(int index, Sprite icon)
    更新图标
    UpdateZeroOffset()public void UpdateZeroOffset(float axisLength)

    Axis3DHelper

    class in XCharts.Runtime

    API版本描述
    Get3DGridPosition()public static Vector3 Get3DGridPosition(GridCoord3D grid, XAxis3D xAxis, YAxis3D yAxis, double xValue, double yValue)
    Get3DGridPosition()public static Vector3 Get3DGridPosition(GridCoord3D grid, XAxis3D xAxis, YAxis3D yAxis, ZAxis3D zAxis, double xValue, double yValue, double zValue)
    GetLabelPosition()public static Vector3 GetLabelPosition(int i, Axis axis, Axis relativedAxis, AxisTheme theme, float scaleWid)

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    API版本描述
    Clone()public AxisAnimation Clone()
    Copy()public void Copy(AxisAnimation animation)

    AxisContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    AxisHandler<T>

    class in XCharts / 继承自: MainComponentHandler

    AxisHelper

    class in XCharts.Runtime

    API版本描述
    AdjustCircleLabelPos()public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    AdjustMinMaxValue()public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
    调整最大最小值
    AdjustRadiusAxisLabelPos()public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    GetAxisLineArrowOffset()public static float GetAxisLineArrowOffset(Axis axis)
    包含箭头偏移的轴线长度
    GetAxisPosition()public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)
    GetAxisPositionValue()public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)
    GetAxisPositionValue()public static double GetAxisPositionValue(GridCoord grid, Axis axis, Vector3 pos)
    GetAxisValueDistance()public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上相对起点的距离
    GetAxisValueLength()public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上对应的长度
    GetAxisValuePosition()public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上的坐标位置
    GetAxisValueSplitIndex()public static int GetAxisValueSplitIndex(Axis axis, double value, bool checkMaxCache, int totalSplitNumber = -1)
    获得数值value在坐标轴上对应的split索引
    GetAxisXOrY()public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)
    GetDataWidth()public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
    获得一个类目数据在坐标系中代表的宽度
    GetEachWidth()public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    GetScaleNumber()public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    获得分割线条数
    GetScaleWidth()public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
    获得分割段宽度
    GetSplitNumber()public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
    获得分割段数
    GetTotalSplitGridNum()public static int GetTotalSplitGridNum(Axis axis)
    获得分割网格个数,包含次刻度
    GetXAxisXOrY()public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)
    GetYAxisXOrY()public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)
    NeedShowSplit()public static bool NeedShowSplit(Axis axis)

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    Clone()public new AxisLabel Clone()
    Copy()public void Copy(AxisLabel axisLabel)
    GetFormatterContent()public override string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
    GetFormatterContent()public override string GetFormatterContent(int labelIndex, string category)
    IsNeedShowLabel()public bool IsNeedShowLabel(int index, int total)
    SetRelatedText()public void SetRelatedText(ChartText txt, float labelWidth)

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    API版本描述
    Clone()public AxisLine Clone()
    Copy()public void Copy(AxisLine axisLine)

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisMinorSplitLine Clone()
    Copy()public void Copy(AxisMinorSplitLine splitLine)

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisMinorTick Clone()
    Copy()public void Copy(AxisMinorTick axisTick)

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    API版本描述
    Clone()public AxisName Clone()
    Copy()public void Copy(AxisName axisName)

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    API版本描述
    Clone()public AxisSplitArea Clone()
    Copy()public void Copy(AxisSplitArea splitArea)
    GetColor()public Color32 GetColor(int index, BaseAxisTheme theme)

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisSplitLine Clone()
    Copy()public void Copy(AxisSplitLine splitLine)

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    AxisTheme()public AxisTheme(ThemeType theme) : base(theme) { }

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    API版本描述
    Clone()public AxisTick Clone()
    Copy()public void Copy(AxisTick axisTick)

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    Bar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Bar ConvertSerie(Serie serie)

    BarChart

    class in XCharts.Runtime / 继承自: BaseChart

    柱状图(或称条形图)是一种通过柱形的高度(横向的情况下则是宽度)来表现数据大小的一种常用图表类型。

    API版本描述
    DefaultBarChart()public void DefaultBarChart()
    默认条形图。
    DefaultCapsuleBarChart()public void DefaultCapsuleBarChart()
    默认胶囊条形图。
    DefaultCapsuleColumnChart()public void DefaultCapsuleColumnChart()
    胶囊柱状图。
    DefaultGroupedBarChart()public void DefaultGroupedBarChart()
    默认分组条形图。
    DefaultGroupedColumnChart()public void DefaultGroupedColumnChart()
    默认分组柱状图。
    DefaultPercentBarChart()public void DefaultPercentBarChart()
    默认百分比条形图。
    DefaultPercentColumnChart()public void DefaultPercentColumnChart()
    默认百分比柱状图。
    DefaultStackedBarChart()public void DefaultStackedBarChart()
    默认堆叠条形图。
    DefaultStackedColumnChart()public void DefaultStackedColumnChart()
    默认堆叠分组柱状图。
    DefaultZebraBarChart()public void DefaultZebraBarChart()
    默认斑马条形图。
    DefaultZebraColumnChart()public void DefaultZebraColumnChart()
    斑马柱状图。

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme,RadiusAxisTheme,AngleAxisTheme,PolarAxisTheme,RadarAxisTheme

    API版本描述
    BaseAxisTheme()public BaseAxisTheme(ThemeType theme) : base(theme)
    Copy()public void Copy(BaseAxisTheme theme)

    BaseChart

    class in XCharts.Runtime / 继承自: BaseGraph,ISerializationCallbackReceiver / 子类: BarChart,CandlestickChart,HeatmapChart,LineChart,ParallelChart,PieChart,PolarChart,RadarChart,RingChart,ScatterChart,SimplifiedBarChart,SimplifiedCandlestickChart,SimplifiedLineChart

    API版本描述
    onAxisPointerValueChangedpublic Action<Axis, double> onAxisPointerValueChanged
    坐标轴变更数据索引时回调。参数:axis, dataIndex/dataValue
    onDrawpublic Action<VertexHelper> onDraw
    自定义绘制回调。在绘制Serie前调用。
    onDrawAfterSeriepublic Action<VertexHelper, Serie> onDrawAfterSerie
    自定义Serie绘制回调。在每个Serie绘制完后调用。
    onDrawBeforeSeriepublic Action<VertexHelper, Serie> onDrawBeforeSerie
    自定义Serie绘制回调。在每个Serie绘制完前调用。
    onDrawToppublic Action<VertexHelper> onDrawTop
    自定义Top层绘制回调。在绘制Tooltip前调用。
    onDrawUpperpublic Action<VertexHelper> onDrawUpper
    自定义Upper层绘制回调。在绘制Tooltip前调用。
    onInitpublic Action onInit
    图表的初始化完成回调。
    onLegendClickpublic Action<Legend, int, string, bool> onLegendClick
    点击图例按钮回调。参数:legendIndex, legendName, show
    onLegendEnterpublic Action<Legend, int, string> onLegendEnter
    鼠标进入图例回调。参数:legendIndex, legendName
    onLegendExitpublic Action<Legend, int, string> onLegendExit
    鼠标退出图例回调。参数:legendIndex, legendName
    onPointerClickBarpublic Action<PointerEventData, int> onPointerClickBar
    点击柱形图柱条回调。参数:eventData, dataIndex
    onPointerClickPiepublic Action<PointerEventData, int, int> onPointerClickPie
    点击饼图区域回调。参数:PointerEventData,SerieIndex,SerieDataIndex
    onPointerEnterPiepublic Action<int, int> onPointerEnterPie
    鼠标进入和离开饼图区域回调,SerieDataIndex为-1时表示离开。参数:PointerEventData,SerieIndex,SerieDataIndex
    onSerieClickv3.6.0public Action<SerieEventData> onSerieClick
    鼠标点击Serie回调。
    onSerieDownv3.6.0public Action<SerieEventData> onSerieDown
    鼠标按下Serie回调。
    onSerieEnterv3.6.0public Action<SerieEventData> onSerieEnter
    鼠标进入Serie回调。
    onSerieExitv3.6.0public Action<SerieEventData> onSerieExit
    鼠标离开Serie回调。
    onUpdatepublic Action onUpdate
    图表的Update回调。
    AddChartComponent()public MainComponent AddChartComponent(Type type)
    AddChartComponent<T>()public T AddChartComponent<T>() where T : MainComponent
    AddChartComponentWhenNoExist<T>()public T AddChartComponentWhenNoExist<T>() where T : MainComponent
    AddData()public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
    添加一个数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(string serieName, double data, string dataName = null, string dataId = null)
    If serieName doesn't exist in legend,will be add to legend.
    AddData()public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddLink()public SerieDataLink AddLink(int serieIndex, string sourceId, string targetId, double value = 0)
    添加一个关系图的关系数据。
    AddSerie<T>()public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie
    AddXAxisData()public void AddXAxisData(string category, int xAxisIndex = 0)
    添加一个类目数据到指定的x轴。
    AddXAxisIcon()public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
    添加一个图标到指定的x轴。
    AddYAxisData()public void AddYAxisData(string category, int yAxisIndex = 0)
    添加一个类目数据到指定的y轴。
    AddYAxisIcon()public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
    添加一个图标到指定的y轴。
    AnimationEnable()public void AnimationEnable(bool flag)
    是否启用Serie动画。
    AnimationFadeIn()public void AnimationFadeIn(bool reset = true)
    开始所有Serie的渐入动画。
    AnimationFadeOut()public void AnimationFadeOut()
    开始所有Serie的渐出动画。
    AnimationPause()public void AnimationPause()
    暂停所有Serie的动画。
    AnimationReset()public void AnimationReset()
    重置所有Serie的动画。
    AnimationResume()public void AnimationResume()
    继续所有Serie的动画。
    CanAddChartComponent()public bool CanAddChartComponent(Type type)
    CanAddSerie()public bool CanAddSerie(Type type)
    CanAddSerie<T>()public bool CanAddSerie<T>() where T : Serie
    CancelTooltip()v3.7.0public void CancelTooltip()
    取消Tooltip.
    CanMultipleComponent()public bool CanMultipleComponent(Type type)
    ClampInChart()public void ClampInChart(ref Vector3 pos)
    ClampInGrid()public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)
    ClearComponentData()v3.4.0public virtual void ClearComponentData()
    清空所有组件的数据。
    ClearData()public virtual void ClearData()
    清空所有组件和Serie的数据。注意:Serie只是清空数据,不会移除Serie。
    ClearSerieData()v3.4.0public virtual void ClearSerieData()
    清空所有serie的数据。
    ClearSerieLinks()v3.10.0public virtual void ClearSerieLinks()
    清空所有serie的link数据。
    ClickLegendButton()public void ClickLegendButton(int legendIndex, string legendName, bool show)
    点击图例按钮
    ConvertSerie()public bool ConvertSerie(Serie serie, Type type)
    ConvertSerie<T>()public bool ConvertSerie<T>(Serie serie) where T : Serie
    ConvertXYAxis()public void ConvertXYAxis(int index)
    转换X轴和Y轴的配置
    EnsureChartComponent<T>()v3.6.0public T EnsureChartComponent<T>() where T : MainComponent
    确保图表有该组件,如果没有则添加。注意:有可能添加不成功。
    GenerateDefaultSerieName()public string GenerateDefaultSerieName()
    GetAllSerieDataCount()public int GetAllSerieDataCount()
    GetChartBackgroundColor()public Color32 GetChartBackgroundColor()
    GetChartComponent<T>()public T GetChartComponent<T>(int index = 0) where T : MainComponent
    GetChartComponentNum()public int GetChartComponentNum(Type type)
    GetChartComponentNum<T>()public int GetChartComponentNum<T>() where T : MainComponent
    GetChartComponents<T>()public List<MainComponent> GetChartComponents<T>() where T : MainComponent
    GetData()public double GetData(int serieIndex, int dataIndex, int dimension = 1)
    GetData()public double GetData(string serieName, int dataIndex, int dimension = 1)
    GetDataZoomOfAxis()public DataZoom GetDataZoomOfAxis(Axis axis)
    GetDataZoomOfSerie()public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)
    GetGrid()public GridCoord GetGrid(Vector2 local)
    GetGridOfDataZoom()public GridCoord GetGridOfDataZoom(DataZoom dataZoom)
    GetItemColor()public Color32 GetItemColor(Serie serie)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)
    GetLegendRealShowNameColor()public Color32 GetLegendRealShowNameColor(string name)
    GetLegendRealShowNameIndex()public int GetLegendRealShowNameIndex(string name)
    GetMarkColor()v3.4.0public Color32 GetMarkColor(Serie serie, SerieData serieData)
    获得Serie的标识颜色。
    GetOrAddChartComponent<T>()public T GetOrAddChartComponent<T>() where T : MainComponent
    GetPainter()public Painter GetPainter(int index)
    GetSerie()public Serie GetSerie(int serieIndex)
    GetSerie()public Serie GetSerie(string serieName)
    GetSerie<T>()public T GetSerie<T>() where T : Serie
    GetSerie<T>()public T GetSerie<T>(int serieIndex) where T : Serie
    GetSerieBarGap<T>()public float GetSerieBarGap<T>() where T : Serie
    GetSerieBarRealCount<T>()public int GetSerieBarRealCount<T>() where T : Serie
    GetSerieIndexIfStack<T>()public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie
    GetSerieSameStackTotalValue<T>()public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie
    GetSeriesMinMaxValue()public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    GetSerieTotalGap<T>()public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie
    GetSerieTotalWidth<T>()public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie
    GetTitlePosition()public Vector3 GetTitlePosition(Title title)
    GetVisualMapOfSerie()public VisualMap GetVisualMapOfSerie(Serie serie)
    GetXDataZoomOfSerie()public DataZoom GetXDataZoomOfSerie(Serie serie)
    GetXLerpColor()public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    GetYLerpColor()public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    HasChartComponent()public bool HasChartComponent(Type type)
    HasChartComponent<T>()public bool HasChartComponent<T>()
    HasSerie()public bool HasSerie(Type type)
    HasSerie<T>()public bool HasSerie<T>() where T : Serie
    Init()public void Init(bool defaultChart = true)
    InitAxisRuntimeData()public virtual void InitAxisRuntimeData(Axis axis) { }
    InsertSerie()public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)
    InsertSerie<T>()public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie
    Internal_CheckAnimation()public void Internal_CheckAnimation()
    IsActiveByLegend()public virtual bool IsActiveByLegend(string legendName)
    获得指定图例名字的系列是否显示。
    IsAllAxisCategory()public bool IsAllAxisCategory()
    纯类目轴。
    IsAllAxisValue()public bool IsAllAxisValue()
    纯数值坐标轴(数值轴或对数轴)。
    IsInAnyGrid()public bool IsInAnyGrid(Vector2 local)
    IsInChart()public bool IsInChart(float x, float y)
    IsInChart()public bool IsInChart(Vector2 local)
    坐标是否在图表范围内
    IsSerieName()public bool IsSerieName(string name)
    MoveDownSerie()public bool MoveDownSerie(int serieIndex)
    MoveUpSerie()public bool MoveUpSerie(int serieIndex)
    OnAfterDeserialize()public void OnAfterDeserialize()
    OnBeforeSerialize()public void OnBeforeSerialize()
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDataZoomRangeChanged()public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public override void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public override void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public override void OnPointerUp(PointerEventData eventData)
    OnScroll()public override void OnScroll(PointerEventData eventData)
    RefreshBasePainter()public void RefreshBasePainter()
    RefreshChart()public void RefreshChart()
    在下一帧刷新整个图表。
    RefreshChart()public void RefreshChart(int serieIndex)
    在下一帧刷新图表的指定serie。
    RefreshChart()public void RefreshChart(Serie serie)
    在下一帧刷新图表的指定serie。
    RefreshDataZoom()public void RefreshDataZoom()
    在下一帧刷新DataZoom
    RefreshGraph()public override void RefreshGraph()
    RefreshPainter()public void RefreshPainter(int index)
    RefreshPainter()public void RefreshPainter(Serie serie)
    RefreshTopPainter()public void RefreshTopPainter()
    RefreshUpperPainter()public void RefreshUpperPainter()
    RemoveAllChartComponent()public void RemoveAllChartComponent()
    RemoveAllSerie()v3.2.0public virtual void RemoveAllSerie()
    移除所有的Serie。当确认只需要移除Serie时使用该接口,其他情况下一般用RemoveData()。
    RemoveChartComponent()public bool RemoveChartComponent(MainComponent component)
    RemoveChartComponent()public bool RemoveChartComponent(Type type, int index = 0)
    RemoveChartComponent<T>()public bool RemoveChartComponent<T>(int index = 0)
    RemoveChartComponents()public int RemoveChartComponents(Type type)
    RemoveChartComponents<T>()public int RemoveChartComponents<T>()
    RemoveData()public virtual void RemoveData()
    清空所有组件数据,并移除所有Serie。一般在图表重新初始化时使用。 注意:组件只清空数据部分,参数会保留不会被重置。
    RemoveData()public virtual void RemoveData(string serieName)
    清除指定系列名称的数据。
    RemoveSerie()public void RemoveSerie(int serieIndex)
    RemoveSerie()public void RemoveSerie(Serie serie)
    RemoveSerie()public void RemoveSerie(string serieName)
    RemoveSerie<T>()public void RemoveSerie<T>() where T : Serie
    ReplaceSerie()public bool ReplaceSerie(Serie oldSerie, Serie newSerie)
    ResetChartStatus()v3.10.0public void ResetChartStatus()
    重置图表状态。当设置某些参数后,由于动画影响,可能导致图表状态不正确,此时可以调用该接口重置图表状态。
    ResetDataIndex()public bool ResetDataIndex(int serieIndex)
    重置serie的数据项索引。避免数据项索引异常。
    SetBasePainterMaterial()public void SetBasePainterMaterial(Material material)
    设置Base Painter的材质球
    SetInsertDataToHead()v3.11.0public void SetInsertDataToHead(bool insertDataToHead)
    设置数据插入到头部。
    SetMaxCache()public void SetMaxCache(int maxCache)
    设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。
    SetPainterActive()public void SetPainterActive(int index, bool flag)
    SetSerieActive()public void SetSerieActive(int serieIndex, bool active)
    设置指定系列是否显示。
    SetSerieActive()public void SetSerieActive(Serie serie, bool active)
    SetSerieActive()public void SetSerieActive(string serieName, bool active)
    设置指定系列是否显示。
    SetSeriePainterMaterial()public void SetSeriePainterMaterial(Material material)
    设置Serie Painter的材质球
    SetTopPainterMaterial()public void SetTopPainterMaterial(Material material)
    设置Top Painter的材质球
    SetUpperPainterMaterial()public void SetUpperPainterMaterial(Material material)
    设置Upper Painter的材质球
    TriggerTooltip()v3.7.0public bool TriggerTooltip(int dataIndex, int serieIndex = 0)
    尝试触发指定数据项的Tooltip.
    TriggerTooltip()v3.7.0public bool TriggerTooltip(Vector3 localPosition)
    在指定的位置尝试触发Tooltip.
    TryAddChartComponent()public bool TryAddChartComponent(Type type)
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>() where T : MainComponent
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>(out T component) where T : MainComponent
    TryGetChartComponent<T>()public bool TryGetChartComponent<T>(out T component, int index = 0)
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateDataName()public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateDataName()public bool UpdateDataName(string serieName, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateLegendColor()public virtual void UpdateLegendColor(string legendName, bool active)
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。
    UpdateTheme()public void UpdateTheme(Theme theme)
    切换图表主题。
    UpdateXAxisData()public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
    更新X轴类目数据。
    UpdateXAxisIcon()public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
    更新X轴图标。
    UpdateYAxisData()public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
    更新Y轴类目数据。
    UpdateYAxisIcon()public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
    更新Y轴图标。

    BaseGraph

    class in XCharts.Runtime / 继承自: MaskableGraphic,IPointerDownHandler,IPointerUpHandler, / 子类: BaseChart,UIComponent

    API版本描述
    onBeginDragpublic Action<PointerEventData, BaseGraph> onBeginDrag
    鼠标开始拖拽回调。
    onDragpublic Action<PointerEventData, BaseGraph> onDrag
    鼠标拖拽回调。
    onEndDragpublic Action<PointerEventData, BaseGraph> onEndDrag
    鼠标结束拖拽回调。
    onPointerClickpublic Action<PointerEventData, BaseGraph> onPointerClick
    鼠标点击回调。
    onPointerDownpublic Action<PointerEventData, BaseGraph> onPointerDown
    鼠标按下回调。
    onPointerEnterpublic Action<PointerEventData, BaseGraph> onPointerEnter
    鼠标进入回调。
    onPointerExitpublic Action<PointerEventData, BaseGraph> onPointerExit
    鼠标退出回调。
    onPointerUppublic Action<PointerEventData, BaseGraph> onPointerUp
    鼠标弹起回调。
    onScrollpublic Action<PointerEventData, BaseGraph> onScroll
    鼠标滚动回调。
    CheckWarning()public string CheckWarning()
    检测警告信息。
    LocalPointToScreenPoint()v3.7.0public Vector2 LocalPointToScreenPoint(Vector2 localPoint)
    图表内坐标转屏幕坐标。
    LocalPointToWorldPoint()v3.7.0public Vector2 LocalPointToWorldPoint(Vector2 localPoint)
    图表内坐标转世界坐标。
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData)
    OnDrag()public virtual void OnDrag(PointerEventData eventData)
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData)
    OnScroll()public virtual void OnScroll(PointerEventData eventData)
    RebuildChartObject()public void RebuildChartObject()
    移除并重新创建所有图表的Object。
    RefreshAllComponent()public void RefreshAllComponent()
    RefreshGraph()public virtual void RefreshGraph()
    在下一帧刷新图形。
    SaveAsImage()public void SaveAsImage(string imageType = "png", string savePath = "")
    保存图表为图片。
    ScreenPointToChartPoint()public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)
    SetPainterDirty()public void SetPainterDirty()
    重新初始化Painter
    SetSize()public virtual void SetSize(float width, float height)
    设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform)

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine,AxisMinorSplitLine,AxisMinorTick,AxisSplitLine,AxisTick

    线条基础配置。

    API版本描述
    BaseLine()public BaseLine()
    BaseLine()public BaseLine(bool show) : base()
    Copy()public void Copy(BaseLine axisLine)
    GetColor()public Color32 GetColor(Color32 themeColor)
    GetLength()public float GetLength(float themeLength)
    GetType()public LineStyle.Type GetType(LineStyle.Type themeType)
    GetWidth()public float GetWidth(float themeWidth)

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer / 子类: EffectScatter,Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    API版本描述
    ClearComponentDirty()public static void ClearComponentDirty(ChildComponent component)
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearData()public virtual void ClearData() { }
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public static void ClearVerticesDirty(ChildComponent component)
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    IsComponentDirty()public static bool IsComponentDirty(ChildComponent component)
    IsVertsDirty()public static bool IsVertsDirty(ChildComponent component)
    OnAfterDeserialize()public virtual void OnAfterDeserialize()
    OnBeforeSerialize()public virtual void OnBeforeSerialize() { }
    OnDataUpdate()public virtual void OnDataUpdate() { }
    OnRemove()public virtual void OnRemove()
    RefreshLabel()public void RefreshLabel()
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetVerticesDirty()public virtual void SetVerticesDirty()

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    BorderStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    边框样式。

    API版本描述
    GetRuntimeBorderColor()public Color32 GetRuntimeBorderColor()
    GetRuntimeBorderWidth()public float GetRuntimeBorderWidth()
    GetRuntimeCornerRadius()public float[] GetRuntimeCornerRadius()

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    API版本描述
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    Candlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    CandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    蜡烛图,也叫K线图,用于描述证券、衍生品或货币的价格走势的一种金融图表样式。

    ChartCached

    class in XCharts.Runtime

    API版本描述
    ColorToDotStr()public static string ColorToDotStr(Color color)
    ColorToStr()public static string ColorToStr(Color color)
    FloatToStr()public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)
    GetSerieLabelName()public static string GetSerieLabelName(string prefix, int i, int j)
    GetString()public static string GetString(string prefix, int suffix)
    IntToStr()public static string IntToStr(int value, string numericFormatter = "")
    NumberToStr()public static string NumberToStr(double value, string formatter)

    ChartConst

    class in XCharts.Runtime

    ChartDrawer

    class in XCharts.Runtime

    ChartHelper

    class in XCharts.Runtime

    API版本描述
    ActiveAllObject()public static void ActiveAllObject(Transform parent, bool active, string match = null)
    AddIcon()public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)
    Cancat()public static string Cancat(string str1, int i)
    Cancat()public static string Cancat(string str1, string str2)
    ClearEventListener()public static void ClearEventListener(GameObject obj)
    CopyArray<T>()public static bool CopyArray<T>(T[] toList, T[] fromList)
    CopyList<T>()public static bool CopyList<T>(List<T> toList, List<T> fromList)
    DestoryGameObject()public static void DestoryGameObject(GameObject go)
    DestoryGameObject()public static void DestoryGameObject(Transform parent, string childName)
    DestoryGameObjectByMatch()public static void DestoryGameObjectByMatch(Transform parent, string containString)
    DestroyAllChildren()public static void DestroyAllChildren(Transform parent)
    EnsureComponent<T>()public static T EnsureComponent<T>(GameObject gameObject) where T : Component
    确保对象有指定的组件,如果没有则添加。
    EnsureComponent<T>()public static T EnsureComponent<T>(Transform transform) where T : Component
    确保对象有指定的组件,如果没有则添加。
    GetActualValue()public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBlurColor()public static Color32 GetBlurColor(Color32 color, float a = 0.3f)
    GetColor()public static Color32 GetColor(string hexColorStr)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetFullName()public static string GetFullName(Transform transform)
    GetHighlightColor()public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)
    GetLastValue()public static Vector3 GetLastValue(List<Vector3> list)
    GetMaxCeilRate()public static double GetMaxCeilRate(double value, double ceilRate)
    GetMaxDivisibleValue()public static double GetMaxDivisibleValue(double max, double ceilRate)
    GetMaxLogValue()public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetMinCeilRate()public static double GetMinCeilRate(double value, double ceilRate)
    GetMinDivisibleValue()public static double GetMinDivisibleValue(double min, double ceilRate)
    GetMinLogValue()public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(Transform transform) where T : Component
    GetPointList()public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetPosition()public static Vector3 GetPosition(Vector3 center, float angle, float radius)
    GetSelectColor()public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    HideAllObject()public static void HideAllObject(GameObject obj, string match = null)
    HideAllObject()public static void HideAllObject(Transform parent, string match = null)
    IsActiveByScale()public static bool IsActiveByScale(GameObject gameObject)
    IsActiveByScale()public static bool IsActiveByScale(Image image)
    IsActiveByScale()public static bool IsActiveByScale(Transform transform)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsColorAlphaZero()public static bool IsColorAlphaZero(Color color)
    IsEquals()public static bool IsEquals(double d1, double d2)
    IsEquals()public static bool IsEquals(float d1, float d2)
    IsIngore()public static bool IsIngore(Vector3 pos)
    IsInRect()public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)
    IsPointInQuadrilateral()public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    ParseFloatFromString()public static List<float> ParseFloatFromString(string jsonData)
    ParseStringFromString()public static List<string> ParseStringFromString(string jsonData)
    RemoveComponent<T>()public static void RemoveComponent<T>(GameObject gameObject)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
    SaveAsImage()public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")
    SetActive()public static bool SetActive(GameObject gameObject, bool active)
    SetActive()public static bool SetActive(Image image, bool active)
    SetActive()public static bool SetActive(Text text, bool active)
    SetActive()public static bool SetActive(Transform transform, bool active)
    通过设置scale实现是否显示,优化性能,减少GC
    SetBackground()public static void SetBackground(Image background, Background imageStyle)
    SetBackground()public static void SetBackground(Image background, ImageStyle imageStyle)
    SetColorOpacity()public static void SetColorOpacity(ref Color32 color, float opacity)

    ChartLabel

    class in XCharts.Runtime / 继承自: Image

    API版本描述
    GetHeight()public float GetHeight()
    GetPosition()public Vector3 GetPosition()
    GetTextHeight()public float GetTextHeight()
    GetTextWidth()public float GetTextWidth()
    GetWidth()public float GetWidth()
    IsActiveByScale()public bool IsActiveByScale()
    SetActive()public void SetActive(bool flag, bool force = false)
    SetIcon()public void SetIcon(Image image)
    SetIconActive()public void SetIconActive(bool flag)
    SetIconSize()public void SetIconSize(float width, float height)
    SetIconSprite()public void SetIconSprite(Sprite sprite)
    SetPadding()public void SetPadding(float[] padding)
    SetPosition()public void SetPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetRotate()public void SetRotate(float rotate)
    SetSize()public void SetSize(float width, float height)
    SetText()public bool SetText(string text)
    SetTextActive()public void SetTextActive(bool flag)
    SetTextColor()public void SetTextColor(Color color)
    SetTextPadding()public void SetTextPadding(TextPadding padding)
    SetTextRotate()public void SetTextRotate(float rotate)
    UpdateIcon()public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null, Color color = default(Color))

    ChartObject

    class in XCharts.Runtime

    API版本描述
    Destroy()public virtual void Destroy()

    ChartText

    class in XCharts.Runtime

    API版本描述
    ChartText()public ChartText()
    ChartText()public ChartText(GameObject textParent)
    GetColor()public Color GetColor()
    GetPreferredHeight()public float GetPreferredHeight()
    GetPreferredText()public string GetPreferredText(string content, string suffix, float maxWidth)
    GetPreferredWidth()public float GetPreferredWidth()
    GetPreferredWidth()public float GetPreferredWidth(string content)
    GetText()public string GetText()
    SetActive()public void SetActive(bool flag)
    SetAlignment()public void SetAlignment(TextAnchor alignment)
    SetColor()public void SetColor(Color color)
    SetFont()public void SetFont(Font font)
    SetFont()public void SetFont(TMP_FontAsset font)
    SetFontAndSizeAndStyle()public void SetFontAndSizeAndStyle(TextStyle textStyle, ComponentTheme theme)
    SetFontSize()public void SetFontSize(float fontSize)
    SetFontStyle()public void SetFontStyle(FontStyle fontStyle)
    SetLineSpacing()public void SetLineSpacing(float lineSpacing)
    SetLocalEulerAngles()public void SetLocalEulerAngles(Vector3 position)
    SetLocalPosition()public void SetLocalPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetSizeDelta()public void SetSizeDelta(Vector2 sizeDelta)
    SetText()public void SetText(string text)

    CheckHelper

    class in XCharts.Runtime

    API版本描述
    CheckChart()public static string CheckChart(BaseChart chart)
    CheckChart()public static string CheckChart(BaseGraph chart)

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle,AxisAnimation,AxisName,AxisSplitArea,AreaStyle,ArrowStyle,BaseLine,BorderStyle,IconStyle,ImageStyle,ItemStyle,Level,LevelStyle,LineArrow,LineStyle,Location,MLValue,MarqueeStyle,Padding,StageColor,SymbolStyle,TextLimit,TextStyle,CommentItem,CommentMarkStyle,LabelLine,LabelStyle,MarkAreaData,MarkLineData,StateStyle,VisualMapRange,ViewControl,UIComponentTheme,SerieData,SerieDataLink,ComponentTheme,SerieTheme,ThemeStyle

    API版本描述
    ClearComponentDirty()public static void ClearComponentDirty(ChildComponent component)
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public static void ClearVerticesDirty(ChildComponent component)
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    IsComponentDirty()public static bool IsComponentDirty(ChildComponent component)
    IsVertsDirty()public static bool IsVertsDirty(ChildComponent component)
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetVerticesDirty()public virtual void SetVerticesDirty()

    ColorUtil

    class in XCharts.Runtime

    API版本描述
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。

    Comment

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图表注解组件。

    API版本描述
    GetLabelStyle()public LabelStyle GetLabelStyle(int index)
    GetMarkStyle()public CommentMarkStyle GetMarkStyle(int index)
    OnChanged()public void OnChanged()
    参数变更时的回调处理。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    ComponentHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler, bool allowMultiple, int order = 3)
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler, int order = 3)

    ComponentHelper

    class in XCharts.Runtime

    API版本描述
    GetAngleAxis()public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)
    GetRadiusAxis()public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)
    GetXAxisOnZeroOffset()public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)
    GetYAxisOnZeroOffset()public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)
    IsAnyCategoryOfYAxis()public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme,DataZoomTheme,LegendTheme,SubTitleTheme,TitleTheme,TooltipTheme,VisualMapTheme

    API版本描述
    ComponentTheme()public ComponentTheme(ThemeType theme)
    Copy()public virtual void Copy(ComponentTheme theme)
    Reset()public virtual void Reset(ComponentTheme defaultTheme)

    CoordOptionsAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Contains<T>()public bool Contains<T>() where T : CoordSystem
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord,CalendarCoord,GridCoord,GridCoord3D,ParallelCoord,PolarCoord,SingleAxisCoord

    坐标系系统。

    DataHelper

    class in XCharts.Runtime

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    API版本描述
    GetBackgroundColor()public Color32 GetBackgroundColor(Color32 themeColor)
    GetBorderColor()public Color32 GetBorderColor(Color32 themeColor)
    GetFillerColor()public Color32 GetFillerColor(Color32 themeColor)
    IsContainsAxis()public bool IsContainsAxis(Axis axis)
    IsContainsXAxis()public bool IsContainsXAxis(int index)
    IsContainsYAxis()public bool IsContainsYAxis(int index)
    IsInEndZoom()public bool IsInEndZoom(Vector2 pos)
    给定的坐标是否在结束活动条触发区域内
    IsInMarqueeArea()public bool IsInMarqueeArea(SerieData serieData)
    IsInMarqueeArea()public bool IsInMarqueeArea(Vector2 pos)
    IsInSelectedZoom()public bool IsInSelectedZoom(int totalIndex, int index, bool invert)
    IsInSelectedZoom()public bool IsInSelectedZoom(Vector2 pos)
    给定的坐标是否在选中区域内
    IsInStartZoom()public bool IsInStartZoom(Vector2 pos)
    给定的坐标是否在开始活动条触发区域内
    IsInZoom()public bool IsInZoom(Vector2 pos)
    给定的坐标是否在缩放区域内
    SetDefaultValue()public override void SetDefaultValue()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    DataZoomContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    DataZoomHelper

    class in XCharts.Runtime

    API版本描述
    UpdateDataZoomRuntimeStartEndValue()public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)
    UpdateDataZoomRuntimeStartEndValue<T>()public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(DataZoomTheme theme)
    DataZoomTheme()public DataZoomTheme(ThemeType theme) : base(theme)

    DateTimeUtil

    class in XCharts.Runtime

    API版本描述
    GetDateTime()public static DateTime GetDateTime(double timestamp)
    GetDateTime()public static DateTime GetDateTime(int timestamp)
    GetDefaultDateTimeString()public static string GetDefaultDateTimeString(int timestamp, double range = 0)
    GetTimestamp()public static int GetTimestamp()
    GetTimestamp()public static int GetTimestamp(DateTime time)
    GetTimestamp()public static int GetTimestamp(string dateTime)

    DebugInfo

    class in XCharts.Runtime

    API版本描述
    Init()public void Init(BaseChart chart)
    Update()public void Update()

    DefaultAnimationAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler)
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler, bool enableSerieDataAddedAnimation)

    DefaultTooltipAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    DefaultTooltipAttribute()public DefaultTooltipAttribute(Tooltip.Type type, Tooltip.Trigger trigger)

    DefineSymbolsUtil

    class in XCharts.Runtime

    API版本描述
    AddGlobalDefine()public static void AddGlobalDefine(string symbol)
    RemoveGlobalDefine()public static void RemoveGlobalDefine(string symbol)

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    API版本描述
    EndLabelStyle()public EndLabelStyle()

    FormatterHelper

    class in XCharts.Runtime

    API版本描述
    NeedFormat()public static bool NeedFormat(string content)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string numericFormatter, double value)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string value)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(string content)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(StringBuilder sb)

    GraphData

    class in XCharts.Runtime

    数据结构-图。

    API版本描述
    AddEdge()public GraphEdge AddEdge(string nodeId1, string nodeId2, double value)
    AddNode()public GraphNode AddNode(string nodeId, string nodeName, int dataIndex, double value)
    BreadthFirstTraverse()public void BreadthFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
    Clear()public void Clear()
    DeepFirstTraverse()public void DeepFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
    EachNode()public void EachNode(System.Action<GraphNode> onEach)
    ExpandAllNodes()public void ExpandAllNodes(bool flag, int level = -1)
    ExpandNode()public void ExpandNode(string nodeId, bool flag)
    GetDepthNodes()public List<List<GraphNode>> GetDepthNodes()
    GetEdge()public GraphEdge GetEdge(string nodeId1, string nodeId2)
    GetExpandedNodesCount()public static int GetExpandedNodesCount(List<GraphNode> nodes)
    GetMaxDepth()public int GetMaxDepth()
    GetNode()public GraphNode GetNode(string nodeId)
    GetNodeDepth()// public int GetNodeDepth(GraphNode node)
    GetNodeDepth()// public void GetNodeDepth(GraphNode node, ref int depth, int recursiveCount = 0)
    GetNodeDepth()public int GetNodeDepth(GraphNode node, int recursiveCount = 0)
    GetNodesTotalValue()public static double GetNodesTotalValue(List<GraphNode> nodes)
    GetRootNodes()public List<GraphNode> GetRootNodes()
    GraphData()public GraphData(bool directed)
    IsAllNodeInZeroPosition()public bool IsAllNodeInZeroPosition()
    Refresh()public void Refresh()

    GraphEdge

    class in XCharts.Runtime

    图的边。

    API版本描述
    GraphEdge()public GraphEdge(GraphNode node1, GraphNode node2, double value)
    IsPointInEdge()public bool IsPointInEdge(Vector2 point)

    GraphNode

    class in XCharts.Runtime

    图的节点。

    API版本描述
    Expand()public void Expand(bool flag)
    GraphNode()public GraphNode(string id, string name, int dataIndex)
    IsAllInEdgesCollapsed()public bool IsAllInEdgesCollapsed()
    IsAnyInEdgesExpanded()public bool IsAnyInEdgesExpanded()
    ToString()public override string ToString()

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    BoundaryPoint()public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref List<Vector3> point)
    给定的线段和Grid边界的交点
    BoundaryPoint()public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref Vector3 point)
    给定的线段和Grid边界的交点
    Clamp()v3.7.0public void Clamp(ref Vector3 pos)
    将位置限制在网格内。
    ClampX()v3.7.0public void ClampX(ref Vector3 pos)
    将位置的X限制在网格内。
    ClampY()v3.7.0public void ClampY(ref Vector3 pos)
    将位置的Y限制在网格内。
    Contains()public bool Contains(float x, float y)
    给定的位置是否在网格内。
    Contains()public bool Contains(Vector3 pos)
    给定的位置是否在网格内。
    Contains()v3.7.0public bool Contains(Vector3 pos, bool isYAxis)
    给定的位置是否在网格内。
    ContainsX()v3.7.0public bool ContainsX(float x)
    给定的x是否在网格内。
    ContainsY()v3.7.0public bool ContainsY(float y)
    给定的y是否在网格内。
    IsPointerEnter()public bool IsPointerEnter()
    指针是否在网格内。
    NotAnyIntersect()v3.10.0public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
    判断给定的线段是否与Grid边界是否完全不会相交。
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridCoord3D

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    v3.11.0 开始支持

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    Clamp()public void Clamp(ref Vector3 pos)
    将位置限制在网格内。
    Contains()public bool Contains(Vector3 pos)
    给定的位置是否在网格内。
    IsLeft()public bool IsLeft()
    The opening of the coordinate system faces to the left. 坐标系开口朝向左边。
    IsPointerEnter()public bool IsPointerEnter()
    指针是否在网格内。
    NotAnyIntersect()public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
    判断给定的线段是否与Grid边界是否完全不会相交。
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridCoord3DContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    GridCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    API版本描述
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridLayoutContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Heatmap

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    HeatmapChart

    class in XCharts.Runtime / 继承自: BaseChart

    热力图主要通过颜色去表现数值的大小,必须要配合 visualMap 组件使用。 可以应用在直角坐标系以及地理坐标系上,这两个坐标系上的表现形式相差很大,直角坐标系上必须要使用两个类目轴。

    API版本描述
    DefaultCountHeatmapChart()public void DefaultCountHeatmapChart()
    默认计数热力图。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Clone()public IconStyle Clone()
    Copy()public void Copy(IconStyle iconStyle)
    Reset()public void Reset()

    IgnoreDoc

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    IgnoreDoc()public IgnoreDoc()

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    API版本描述
    Clone()public ImageStyle Clone()
    Copy()public void Copy(ImageStyle imageStyle)
    Reset()public void Reset()

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    API版本描述
    AddIndicator()public RadarCoord.Indicator AddIndicator(string name, double min, double max)
    AddIndicator()public void AddIndicator(RadarCoord.Indicator indicator)
    AddIndicatorList()v3.3.0public void AddIndicatorList(List<string> nameList, double min = 0, double max = 0)
    ClearData()public override void ClearData()
    GetFormatterIndicatorContent()public string GetFormatterIndicatorContent(int indicatorIndex)
    GetFormatterIndicatorContent()public string GetFormatterIndicatorContent(string indicatorName)
    GetIndicator()public RadarCoord.Indicator GetIndicator(int indicatorIndex)
    GetIndicatorMax()public double GetIndicatorMax(int index)
    GetIndicatorMin()public double GetIndicatorMin(int index)
    GetIndicatorName()public string GetIndicatorName(int indicatorIndex)
    GetIndicatorPosition()public Vector3 GetIndicatorPosition(int index)
    IsInIndicatorRange()public bool IsInIndicatorRange(int index, double value)
    IsInRange()public bool IsInRange(double value)
    IsPointerEnter()public bool IsPointerEnter()
    SetDefaultValue()public override void SetDefaultValue()
    UpdateIndicator()public bool UpdateIndicator(int indicatorIndex, string name, double min, double max)

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Radar,BaseScatter

    InputHelper

    class in XCharts.Runtime

    API版本描述
    GetKeyDown()public static bool GetKeyDown(KeyCode keyCode)
    GetTouch()public static Touch GetTouch(int v)

    InteractData

    class in XCharts.Runtime

    API版本描述
    Reset()public void Reset()
    SetColor()public void SetColor(ref bool needInteract, Color32 color)
    SetColor()public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)
    SetPosition()public void SetPosition(ref bool needInteract, Vector3 pos)
    SetValue()public void SetValue(ref bool needInteract, float value, bool highlight, float rate = 1.3f)
    SetValue()public void SetValue(ref bool needInteract, float value, bool previousValueZero = false)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)
    ToString()public override string ToString()
    TryGetColor()public bool TryGetColor(ref Color32 color, ref bool interacting, float animationDuration = 250)
    TryGetColor()public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetPosition()public bool TryGetPosition(ref Vector3 pos, ref bool interacting, float animationDuration = 250)
    TryGetValue()public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location,Comment,Legend,Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,LineArrow,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord,CalendarCoord,GridCoord,GridCoord3D,ParallelCoord,PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,ItemStyle,LineStyle,SerieSymbol,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar,SimplifiedCandlestick,SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    图形样式。

    API版本描述
    GetBorderColor()public Color32 GetBorderColor(Color32 defaultColor)
    GetBorderColor0()public Color32 GetBorderColor0(Color32 defaultColor)
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 defaultColor)
    GetColor0()public Color32 GetColor0()
    GetColor0()public Color32 GetColor0(Color32 defaultColor)
    GetGradientColor()public Color32 GetGradientColor(float value, Color32 defaultColor)
    GetToColor()public Color32 GetToColor()
    IsNeedCorner()public bool IsNeedCorner()
    IsNeedGradient()public bool IsNeedGradient()
    Reset()public void Reset()

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis,DataZoom,CalendarCoord,GridCoord,GridLayout,GridCoord3D,ParallelCoord

    JsonUtil

    class in XCharts.Runtime

    API版本描述
    GetJsonArray<T>()public static T[] GetJsonArray<T>(string json)
    GetJsonObject<T>()public static T GetJsonObject<T>(string json)
    GetWebJson<T>()public static IEnumerator GetWebJson<T>(string url, Action<T[]> callback)
    GetWebJson<T>()public static IEnumerator GetWebJson<T>(string url, Action<T> callback)

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    标签的引导线

    API版本描述
    GetEndSymbolOffset()public Vector3 GetEndSymbolOffset()
    GetStartSymbolOffset()public Vector3 GetStartSymbolOffset()
    Reset()public void Reset()

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent / 子类: AxisLabel,EndLabelStyle,TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    API版本描述
    Clone()public virtual LabelStyle Clone()
    Copy()public virtual void Copy(LabelStyle label)
    GetColor()public Color GetColor(Color defaultColor)
    GetFormatterContent()public virtual string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
    GetFormatterContent()public virtual string GetFormatterContent(int labelIndex, string category)
    GetFormatterDateTime()public string GetFormatterDateTime(int labelIndex, double value, double minValue, double maxValue)
    GetOffset()public Vector3 GetOffset(float radius)
    IsAutoSize()public bool IsAutoSize()
    IsDefaultPosition()public bool IsDefaultPosition(Position position)
    IsInside()public bool IsInside()
    是否在内部。
    Reset()public void Reset()

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    API版本描述
    GetCandlestickDimensionName()public string GetCandlestickDimensionName(int i)
    GetDay()public string GetDay(int day)
    GetMonthAbbr()public string GetMonthAbbr(int month)

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    API版本描述
    List<string>()public List<string> dayOfMonth = new List<string>()
    List<string>()public List<string> dayOfWeek = new List<string>()
    List<string>()public List<string> dayOfWeekAbbr = new List<string>()
    List<string>()public List<string> monthAbbr = new List<string>()
    List<string>()public List<string> months = new List<string>()

    LayerHelper

    class in XCharts.Runtime

    API版本描述
    IsFixedWidthHeight()public static bool IsFixedWidthHeight(RectTransform rt)
    IsStretchPivot()public static bool IsStretchPivot(RectTransform rt)

    Legend

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    API版本描述
    AddData()public void AddData(string name)
    添加图例。
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空。
    ContainsData()public bool ContainsData(string name)
    是否包括由指定名字的图例
    GetColor()public Color GetColor(int index)
    GetData()public string GetData(int index)
    获得指定索引的图例。
    GetIcon()public Sprite GetIcon(int index)
    获得指定索引的图例按钮。
    GetIndex()public int GetIndex(string legendName)
    获得指定图例的索引。
    GetPosition()public Vector3 GetPosition(int index, Vector3 defaultPos)
    OnChanged()public void OnChanged()
    参数变更时的回调处理。
    RemoveButton()public void RemoveButton()
    移除所有图例按钮。
    RemoveData()public void RemoveData(string name)
    移除指定名字的图例。
    SetButton()public void SetButton(string name, LegendItem item, int total)
    给图例绑定按钮。
    UpdateButtonColor()public void UpdateButtonColor(string name, Color color)
    更新图例按钮颜色。
    UpdateContentColor()public void UpdateContentColor(string name, Color color)
    更新图例文字颜色。

    LegendContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    LegendHelper

    class in XCharts.Runtime

    API版本描述
    CheckDataHighlighted()public static int CheckDataHighlighted(Serie serie, string legendName, bool heighlight)
    CheckDataShow()public static bool CheckDataShow(Serie serie, string legendName, bool show)
    GetContentColor()public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)
    GetIconColor()public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)
    ResetItemPosition()public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)
    SetLegendBackground()public static void SetLegendBackground(Legend legend, ImageStyle style)

    LegendItem

    class in XCharts.Runtime

    API版本描述
    GetIconColor()public Color GetIconColor()
    GetIconRect()public Rect GetIconRect()
    SetActive()public void SetActive(bool active)
    SetBackground()public void SetBackground(ImageStyle imageStyle)
    SetButton()public void SetButton(Button button)
    SetContent()public bool SetContent(string content)
    SetContentBackgroundColor()public void SetContentBackgroundColor(Color color)
    SetContentColor()public void SetContentColor(Color color)
    SetContentPosition()public void SetContentPosition(Vector3 offset)
    SetIcon()public void SetIcon(Image icon)
    SetIconActive()public void SetIconActive(bool active)
    SetIconColor()public void SetIconColor(Color color)
    SetIconImage()public void SetIconImage(Sprite image)
    SetIconSize()public void SetIconSize(float width, float height)
    SetObject()public void SetObject(GameObject obj)
    SetPosition()public void SetPosition(Vector3 position)
    SetText()public void SetText(ChartText text)
    SetTextBackground()public void SetTextBackground(Image image)

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(LegendTheme theme)
    LegendTheme()public LegendTheme(ThemeType theme) : base(theme)

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    Line

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Line ConvertSerie(Serie serie)

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent

    LineChart

    class in XCharts.Runtime / 继承自: BaseChart

    折线图是用折线将各个数据点标志连接起来的图表,用于展现数据的变化趋势。可用于直角坐标系和极坐标系上。 设置 areaStyle 后可以绘制面积图。

    API版本描述
    DefaultAreaLineChart()public void DefaultAreaLineChart()
    默认面积折线图。
    DefaultDashLineChart()public void DefaultDashLineChart()
    默认虚线折线图。
    DefaultLogLineChart()public void DefaultLogLineChart()
    默认对数轴折线图。
    DefaultSmoothAreaLineChart()public void DefaultSmoothAreaLineChart()
    默认平滑面积折线图。
    DefaultSmoothLineChart()public void DefaultSmoothLineChart()
    默认平滑折线图。
    DefaultStackAreaLineChart()public void DefaultStackAreaLineChart()
    默认堆叠面积折线图。
    DefaultStackLineChart()public void DefaultStackLineChart()
    默认堆叠折线图。
    DefaultStepLineChart()public void DefaultStepLineChart()
    默认阶梯折线图。
    DefaultTimeLineChart()public void DefaultTimeLineChart()
    默认时间折线图。

    LineHelper

    class in XCharts.Runtime

    API版本描述
    GetDataAverageRate()public static int GetDataAverageRate(Serie serie, float axisLength, int maxCount, bool isYAxis)
    GetLineWidth()public static float GetLineWidth(ref bool interacting, Serie serie, float defaultWidth)

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    API版本描述
    Clone()public LineStyle Clone()
    Copy()public void Copy(LineStyle lineStyle)
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 themeColor)
    GetGradientColor()public Color32 GetGradientColor(float value, Color32 defaultColor)
    GetLength()public float GetLength(float themeLength)
    GetType()public Type GetType(Type themeType)
    GetWidth()public float GetWidth(float themeWidth)
    IsNeedGradient()public bool IsNeedGradient()
    IsNotSolidLine()public bool IsNotSolidLine()
    LineStyle()public LineStyle()
    LineStyle()public LineStyle(float width)
    LineStyle()public LineStyle(LineStyle.Type type)
    LineStyle()public LineStyle(LineStyle.Type type, float width)

    ListFor

    class in XCharts.Runtime / 继承自: Attribute / 子类: ListForComponent,ListForSerie

    API版本描述
    ListFor()public ListFor(Type type)

    ListForComponent

    class in XCharts.Runtime / 继承自: ListFor

    API版本描述
    ListForComponent()public ListForComponent(Type type) : base(type)

    ListForSerie

    class in XCharts.Runtime / 继承自: ListFor

    API版本描述
    ListForSerie()public ListForSerie(Type type) : base(type)

    ListPool<T>

    class in XCharts.Runtime

    API版本描述
    ClearAll()public static void ClearAll()
    Get()public static List<T> Get()
    Release()public static void Release(List<T> toRelease)

    Location

    class in XCharts.Runtime / 继承自: ChildComponent,IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    API版本描述
    GetPosition()public Vector3 GetPosition(float chartWidth, float chartHeight)
    返回在坐标系中的具体位置
    IsBottom()public bool IsBottom()
    IsCenter()public bool IsCenter()
    IsTop()public bool IsTop()
    OnChanged()public void OnChanged()
    属性变更时更新textAnchor,minAnchor,maxAnchor,pivot
    UpdateRuntimeData()public void UpdateRuntimeData(float chartWidth, float chartHeight)

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis,Background,Comment,DataZoom,Legend,MarkArea,MarkLine,Settings,Title,Tooltip,VisualMap,GridLayout,CoordSystem

    API版本描述
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearData()public virtual void ClearData() { }
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    CompareTo()public int CompareTo(object obj)
    OnRemove()public virtual void OnRemove()
    Reset()public virtual void Reset() { }
    ResetStatus()public virtual void ResetStatus() { }
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetDefaultValue()public virtual void SetDefaultValue() { }
    SetVerticesDirty()public virtual void SetVerticesDirty()

    MainComponentContext

    class in XCharts.Runtime / 子类: AxisContext,DataZoomContext,LegendContext,RadarCoordContext,VisualMapContext,GridCoordContext,GridLayoutContext,GridCoord3DContext,ParallelCoordContext,PolarCoordContext

    MainComponentHandler

    class in XCharts.Runtime / 子类: AxisHandler<T>,MainComponentHandler<T>

    API版本描述
    BeforceSerieUpdate()public virtual void BeforceSerieUpdate() { }
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    OnSerieDataUpdate()public virtual void OnSerieDataUpdate(int serieIndex) { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }

    MainComponentHandler<T>

    class in XCharts.Runtime / 继承自: MainComponentHandler

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    API版本描述
    onEndpublic Action<DataZoom> onEnd
    自定义选取框结束选取时的回调。
    onGoingpublic Action<DataZoom> onGoing
    自定义选取框选取进行时的回调。
    onStartpublic Action<DataZoom> onStart
    自定义选取框开始选取时的回调。

    MathUtil

    class in XCharts.Runtime

    API版本描述
    Abs()public static double Abs(double d)
    Approximately()public static bool Approximately(double a, double b)
    Clamp()public static double Clamp(double d, double min, double max)
    Clamp01()public static double Clamp01(double value)
    GetPrecision()public static int GetPrecision(double value)
    IsInteger()public static bool IsInteger(double value)
    Lerp()public static double Lerp(double a, double b, double t)

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    API版本描述
    GetValue()public float GetValue(float total)
    根据类型获取值。
    MLValue()public MLValue(float value)
    MLValue()public MLValue(Type type, float value)

    MonoBehaviour

    class in / 子类: XLog

    ObjectPool<T> where T

    class in XCharts.Runtime / 继承自: new()

    API版本描述
    ClearAll()public void ClearAll()
    Get()public T Get()
    new()public class ObjectPool<T> where T : new()
    ObjectPool()public ObjectPool(UnityAction<T> actionOnGet, UnityAction<T> actionOnRelease, bool newIfEmpty = true)
    Release()public void Release(T element)

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    API版本描述
    Padding()public Padding() { }
    Padding()public Padding(float top, float right, float bottom, float left)
    SetPadding()public void SetPadding(float top, float right, float bottom, float left)

    Painter

    class in XCharts.Runtime / 继承自: MaskableGraphic

    API版本描述
    onPopulateMeshpublic Action<VertexHelper, Painter> onPopulateMesh
    CheckRefresh()public void CheckRefresh()
    Init()public void Init()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag, bool isDebugMode = false)

    Parallel

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    ParallelChart

    class in XCharts.Runtime / 继承自: BaseChart

    平行坐标系,通过绘制垂直于坐标轴的平行线来显示数据的一种可视化图表。

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    Contains()public bool Contains(float x, float y)
    Contains()public bool Contains(Vector3 pos)
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    ParallelCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Pie

    class in XCharts.Runtime / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Pie ConvertSerie(Serie serie)

    PieChart

    class in XCharts.Runtime / 继承自: BaseChart

    饼图主要用于显示不同类目占比的情况,通过弧长来反映数据的大小占比。

    API版本描述
    DefaultAreaRosePieChart()public void DefaultAreaRosePieChart()
    默认面积玫瑰饼图。
    DefaultDonutPieChart()public void DefaultDonutPieChart()
    默认甜甜圈饼图。
    DefaultLabelDonutPieChart()public void DefaultLabelDonutPieChart()
    默认带标签甜甜圈饼图。
    DefaultLabelPieChart()public void DefaultLabelPieChart()
    默认带标签饼图。
    DefaultRadiusRosePieChart()public void DefaultRadiusRosePieChart()
    默认玫瑰饼图。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    PolarAxisTheme()public PolarAxisTheme(ThemeType theme) : base(theme) { }

    PolarChart

    class in XCharts.Runtime / 继承自: BaseChart

    极坐标系,可以用于散点图和折线图。

    API版本描述
    DefaultHeatmapPolarChart()public void DefaultHeatmapPolarChart()
    默认极坐标色块图。
    DefaultRadialBarPolarChart()public void DefaultRadialBarPolarChart()
    默认径向柱状极坐标图。
    DefaultTangentialBarPolarChart()public void DefaultTangentialBarPolarChart()
    默认切向柱状极坐标图。

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    API版本描述
    Contains()public bool Contains(Vector3 pos)
    IsPointerEnter()public bool IsPointerEnter()

    PolarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    PropertyUtil

    class in XCharts.Runtime

    API版本描述
    SetClass<T>()public static bool SetClass<T>(ref T currentValue, T newValue, bool notNull = false) where T : class
    SetColor()public static bool SetColor(ref Color currentValue, Color newValue)
    SetColor()public static bool SetColor(ref Color32 currentValue, Color32 newValue)
    SetStruct<T>()public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct

    Radar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    RadarAxisTheme()public RadarAxisTheme(ThemeType theme) : base(theme)

    RadarChart

    class in XCharts.Runtime / 继承自: BaseChart

    雷达图主要用于显示多变量的数据,例如足球运动员的各项属性分析。依赖雷达组件。

    API版本描述
    DefaultCircleRadarChart()public void DefaultCircleRadarChart()
    默认圆形雷达图。

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    RadiusAxisTheme()public RadiusAxisTheme(ThemeType theme) : base(theme) { }

    ReflectionUtil

    class in XCharts.Runtime

    API版本描述
    DeepCloneSerializeField()public static object DeepCloneSerializeField(object obj)
    InvokeListAdd()public static void InvokeListAdd(object obj, FieldInfo field, object item)
    InvokeListAddTo<T>()public static void InvokeListAddTo<T>(object obj, FieldInfo field, Action<T> callback)
    InvokeListClear()public static void InvokeListClear(object obj, FieldInfo field)
    InvokeListCount()public static int InvokeListCount(object obj, FieldInfo field)
    InvokeListGet<T>()public static T InvokeListGet<T>(object obj, FieldInfo field, int i)

    RequireChartComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)

    Ring

    class in XCharts.Runtime / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    GetDataTotal()public override double GetDataTotal(int dimension, SerieData serieData = null)

    RingChart

    class in XCharts.Runtime / 继承自: BaseChart

    环形图主要用于显示每一项的比例以及各项之间的关系。

    API版本描述
    DefaultMultipleRingChart()public void DefaultMultipleRingChart()
    默认多圆环图。

    RuntimeUtil

    class in XCharts.Runtime

    API版本描述
    GetAllAssemblyTypes()public static IEnumerable<Type> GetAllAssemblyTypes()
    GetAllTypesDerivedFrom()public static IEnumerable<Type> GetAllTypesDerivedFrom(Type type)
    GetAllTypesDerivedFrom<T>()public static IEnumerable<Type> GetAllTypesDerivedFrom<T>()
    GetAttribute<T>()public static T GetAttribute<T>(this MemberInfo type, bool check = true) where T : Attribute
    GetAttribute<T>()public static T GetAttribute<T>(this Type type, bool check = true) where T : Attribute
    HasSubclass()public static bool HasSubclass(Type type)

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ScatterChart

    class in XCharts.Runtime / 继承自: BaseChart

    散点图主要用于展现两个数据维度之间的关系。

    API版本描述
    DefaultBubbleChart()public void DefaultBubbleChart()
    默认气泡图。

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie,IComparable / 子类: SerieHandler<T>,Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Pie,Radar,Ring,BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    API版本描述
    onClickpublic Action<SerieEventData> onClick
    点击系列时的回调。
    onDownpublic Action<SerieEventData> onDown
    鼠标按下时的回调。
    onEnterpublic Action<SerieEventData> onEnter
    鼠标进入时的回调。
    onExitpublic Action<SerieEventData> onExit
    鼠标离开时的回调。
    AddChildData()public SerieData AddChildData(SerieData parent, double value, string name, string id)
    AddChildData()public SerieData AddChildData(SerieData parent, List<double> value, string name, string id)
    AddChildData()public void AddChildData(SerieData parent, SerieData serieData)
    AddData()public SerieData AddData(double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    添加 (open, close, lowest, heighest) 数据
    AddData()public SerieData AddData(List<double> valueList, string dataName = null, string dataId = null)
    将一组数据添加到系列中。 如果数据只有一个,默认添加到维度Y中。
    AddData()public SerieData AddData(params double[] values)
    添加任意维数据到系列中。
    AddExtraComponent<T>()public T AddExtraComponent<T>() where T : ChildComponent, ISerieComponent
    AddLink()public virtual SerieDataLink AddLink(string sourceId, string targetId, double value = 0)
    添加一个关系图的关系数据。
    AddSerieData()public virtual void AddSerieData(SerieData serieData)
    AddXYData()public SerieData AddXYData(double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到维度X和维度Y
    AddYData()public SerieData AddYData(double value, string dataName = null, string dataId = null)
    添加一个数据到维度Y(此时维度X对应的数据是索引)
    AnimationEnable()public void AnimationEnable(bool flag)
    启用或取消初始动画
    AnimationFadeIn()public void AnimationFadeIn()
    渐入动画
    AnimationFadeOut()public void AnimationFadeOut()
    渐出动画
    AnimationPause()public void AnimationPause()
    暂停动画
    AnimationReset()public void AnimationReset()
    重置动画
    AnimationRestart()public void AnimationRestart()
    重置动画
    AnimationResume()public void AnimationResume()
    继续动画
    CanAddComponent()public bool CanAddComponent(Type type)
    CanAddComponent<T>()public bool CanAddComponent<T>() where T : ChildComponent, ISerieComponent
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空所有数据
    ClearDirty()public override void ClearDirty()
    ClearHighlight()public void ClearHighlight()
    清除所有数据的高亮标志
    ClearLinks()public void ClearLinks()
    清空所有Link数据
    ClearSerieNameDirty()public void ClearSerieNameDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public Serie Clone()
    Clone<T>()public T Clone<T>() where T : Serie
    CompareTo()public int CompareTo(object obj)
    EnsureComponent()public ISerieComponent EnsureComponent(Type type)
    EnsureComponent<T>()public T EnsureComponent<T>() where T : ChildComponent, ISerieComponent
    确保系列有该组件。如果没有,则添加。
    GetBarWidth()public float GetBarWidth(float categoryWidth, int barCount = 0, float defaultRate = 0.6f)
    GetComponent()public ISerieComponent GetComponent(Type type)
    GetComponent<T>()public T GetComponent<T>() where T : ChildComponent, ISerieComponent
    GetData()public double GetData(int index, int dimension, DataZoom dataZoom = null)
    获得指定index指定维数的数据
    GetDataList()public List<SerieData> GetDataList(DataZoom dataZoom = null)
    获得系列的数据列表
    GetDataTotal()public virtual double GetDataTotal(int dimension, SerieData serieData = null)
    GetSerieData()public SerieData GetSerieData(int index, DataZoom dataZoom = null)
    获得指定索引的数据项
    GetSerieData()public SerieData GetSerieData(SerieData parent, string id)
    GetSerieData()public SerieData GetSerieData(string id, DataZoom dataZoom = null)
    GetXYData()public void GetXYData(int index, DataZoom dataZoom, out double xValue, out double yVlaue)
    获得指定索引的维度X和维度Y的数据
    GetYCurrData()public double GetYCurrData(int index, DataZoom dataZoom = null)
    GetYData()public double GetYData(int index, DataZoom dataZoom = null)
    获得维度Y索引对应的数据
    GetYData()public void GetYData(int index, out double yData, out string dataName, DataZoom dataZoom = null)
    获得维度Y索引对应的数据和数据名
    IsIgnoreIndex()public bool IsIgnoreIndex(int index, int dimension = 1)
    IsIgnorePoint()public bool IsIgnorePoint(int index)
    IsIgnoreValue()public bool IsIgnoreValue(double value)
    IsIgnoreValue()public bool IsIgnoreValue(SerieData serieData, double value)
    IsIgnoreValue()public bool IsIgnoreValue(SerieData serieData, int dimension = 1)
    IsLegendName()public bool IsLegendName(string legendName)
    IsMinShowLabelValue()public bool IsMinShowLabelValue(double value)
    IsMinShowLabelValue()public bool IsMinShowLabelValue(int index, int dimension = 1)
    IsMinShowLabelValue()public bool IsMinShowLabelValue(SerieData serieData, int dimension = 1)
    IsPerformanceMode()public bool IsPerformanceMode()
    是否为性能模式。性能模式下不绘制Symbol,不刷新Label,不单独设置数据项配置。
    IsSerie<T>()public bool IsSerie<T>() where T : Serie
    IsSerieDataLegendName()public bool IsSerieDataLegendName(string legendName)
    IsSerieLegendName()public bool IsSerieLegendName(string legendName)
    IsUseCoord<T>()public bool IsUseCoord<T>() where T : CoordSystem
    RemoveAllComponents()public void RemoveAllComponents()
    移除所有额外组件。
    RemoveComponent()public void RemoveComponent(Type type)
    RemoveComponent<T>()public void RemoveComponent<T>() where T : ISerieComponent
    RemoveData()public void RemoveData(int index)
    移除指定索引的数据
    ResetDataIndex()public bool ResetDataIndex()
    重置数据项索引。避免部分数据项的索引异常。
    ResetInteract()public void ResetInteract()
    SetAllDirty()public override void SetAllDirty()
    SetCoord<T>()public bool SetCoord<T>() where T : CoordSystem
    SetHighlight()public void SetHighlight(int index, bool flag)
    设置指定索引的数据为高亮状态
    SetVerticesDirty()public override void SetVerticesDirty()
    UpdateData()public bool UpdateData(int index, int dimension, double value)
    更新指定索引指定维数的数据
    UpdateData()public bool UpdateData(int index, List<double> values)
    更新指定索引的数据项数据列表
    UpdateDataName()public bool UpdateDataName(int index, string name)
    UpdateXYData()public bool UpdateXYData(int index, double xValue, double yValue)
    更新指定索引的维度X和维度Y的数据
    UpdateYData()public bool UpdateYData(int index, double value)
    更新指定索引的维度Y数据

    SerieComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到Serie的组件。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieComponentAttribute()public SerieComponentAttribute()
    SerieComponentAttribute()public SerieComponentAttribute(Type type1)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieContext

    class in XCharts.Runtime

    SerieConvertAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可转化为哪些Serie类型。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : Serie
    SerieConvertAttribute()public SerieConvertAttribute(Type serie)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    EnsureComponent()v3.6.0public ISerieDataComponent EnsureComponent(Type type)
    确保数据项有指定类型的组件,如果没有则添加。
    EnsureComponent<T>()v3.6.0public T EnsureComponent<T>() where T : ChildComponent, ISerieDataComponent
    确保数据项有指定类型的组件,如果没有则添加。
    GetAddAnimationData()public double GetAddAnimationData(double min, double max, float animationDuration = 500f, bool unscaledTime = false)
    GetComponent<T>()public T GetComponent<T>() where T : ChildComponent, ISerieDataComponent
    获取数据项的指定类型的组件,如果不存在则返回null。
    GetCurrData()public double GetCurrData(int index, AnimationStyle animation, bool inverse = false, bool loop = false)
    GetCurrData()public double GetCurrData(int index, AnimationStyle animation, bool inverse, double min, double max, bool loop = false)
    GetCurrData()public double GetCurrData(int index, float dataAddDuration = 500f, float animationDuration = 500f, bool unscaledTime = false, bool inverse = false)
    GetCurrData()public double GetCurrData(int index, float dataAddDuration, float animationDuration, bool inverse, double min, double max, bool unscaledTime, bool loop = false)
    GetData()public double GetData(int index, bool inverse = false)
    GetData()public double GetData(int index, double min, double max)
    GetFirstData()public double GetFirstData(bool unscaledTime, float animationDuration = 500f)
    GetLabelHeight()public float GetLabelHeight()
    GetLabelWidth()public float GetLabelWidth()
    GetLastData()public double GetLastData()
    GetMaxData()public double GetMaxData(bool inverse = false)
    最大值。
    GetMinData()public double GetMinData(bool inverse = false)
    最小值。
    GetMinMaxData()public void GetMinMaxData(int startDimensionIndex, bool inverse, out double min, out double max)
    GetOrAddComponent<T>()public T GetOrAddComponent<T>() where T : ChildComponent, ISerieDataComponent
    GetPreviousData()public double GetPreviousData(int index, bool inverse = false)
    GetTotalData()public double GetTotalData()
    IsDataChanged()public bool IsDataChanged()
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    List<string>()public static List<string> extraFieldList = new List<string>()
    系列中的一个数据项。可存储数据名和1-n维个数据。
    OnAdd()public void OnAdd(AnimationStyle animation, double startValue = 0)
    RemoveAllComponent()public void RemoveAllComponent()
    RemoveComponent()public void RemoveComponent(Type type)
    RemoveComponent<T>()public void RemoveComponent<T>() where T : ISerieDataComponent
    Reset()public void Reset()
    SetIconActive()public void SetIconActive(bool flag)
    SetLabelActive()public void SetLabelActive(bool flag)
    SetPolygon()public void SetPolygon(params Vector2[] points)
    SetPolygon()public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)
    SetPolygon()public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5)
    UpdateData()public bool UpdateData(int dimension, double value)
    UpdateData()public bool UpdateData(int dimension, double value, bool updateAnimation, bool unscaledTime, float animationDuration = 500f)

    SerieDataComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到SerieData的组件。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieDataComponentAttribute()public SerieDataComponentAttribute()
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieDataContext

    class in XCharts.Runtime

    API版本描述
    Reset()public void Reset()

    SerieDataExtraFieldAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Contains()public bool Contains(string field)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute()
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7)

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    数据节点之间的连线。可用于桑基图等,桑基图只支持有向无环图,请保证数据的连线是有向无环图。

    SerieEventData

    class in XCharts.Runtime

    serie事件的数据。

    API版本描述
    Reset()public void Reset()

    SerieEventDataPool

    class in XCharts.Runtime

    API版本描述
    Get()public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)
    Release()public static void Release(SerieEventData toRelease)

    SerieHandler

    class in XCharts.Runtime

    API版本描述
    AfterUpdate()public virtual void AfterUpdate() { }
    BeforeUpdate()public virtual void BeforeUpdate() { }
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawSerie()public virtual void DrawSerie(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    ForceUpdateSerieContext()public virtual void ForceUpdateSerieContext() { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDataUpdate()public virtual void OnDataUpdate() { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName) { }
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    RefreshLabelInternal()public virtual void RefreshLabelInternal() { }
    RefreshLabelNextFrame()public virtual void RefreshLabelNextFrame() { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }
    UpdateSerieContext()public virtual void UpdateSerieContext() { }

    SerieHandler where T

    class in / 子类: SerieHandler<T>

    SerieHandler<T>

    class in XCharts.Runtime / 继承自: [SerieHandler where T](#seriehandler where t),Serie

    API版本描述
    AfterUpdate()public override void AfterUpdate()
    BeforeUpdate()public override void BeforeUpdate()
    DrawLabelLineSymbol()public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)
    ForceUpdateSerieContext()public override void ForceUpdateSerieContext()
    GetPointerItemDataDimension()public override int GetPointerItemDataDimension()
    GetPointerItemDataIndex()public override int GetPointerItemDataIndex()
    GetSerieDataAutoColor()public virtual Color GetSerieDataAutoColor(SerieData serieData)
    GetSerieDataLabelOffset()public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)
    GetSerieDataLabelPosition()public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)
    GetSerieDataTitlePosition()public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)
    InitComponent()public override void InitComponent()
    OnLegendButtonClick()public override void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public override void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public override void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    RefreshEndLabelInternal()public virtual void RefreshEndLabelInternal()
    RefreshLabelInternal()public override void RefreshLabelInternal()
    RefreshLabelNextFrame()public override void RefreshLabelNextFrame()
    RemoveComponent()public override void RemoveComponent()
    Update()public override void Update()

    SerieHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler)
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler, bool allowMultiple)

    SerieHelper

    class in XCharts.Runtime

    API版本描述
    CloneSerie<T>()public static T CloneSerie<T>(Serie serie) where T : Serie
    CopySerie()public static void CopySerie(Serie oldSerie, Serie newSerie)
    GetAllMinMaxData()public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)
    GetAreaStyle()public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)
    GetAverageData()public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetBlurStyle()public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)
    GetEmphasisStyle()public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData)
    GetItemColor()public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true)
    GetItemFormatter()public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetItemMarker()public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null)
    GetItemStyle()public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetLineColor()public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto)
    GetLineStyle()public static LineStyle GetLineStyle(Serie serie, SerieData serieData)
    GetMaxData()public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMaxSerieData()public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMedianData()public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinData()public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinMaxData()public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)
    获得系列所有数据的最大最小值。
    GetMinSerieData()public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetNumericFormatter()public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetSelectStyle()public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)
    GetSerieLabel()public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieLabelLine()public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieState()public static SerieState GetSerieState(Serie serie)
    GetSerieState()public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)
    GetSerieState()public static SerieState GetSerieState(SerieData serieData)
    GetSerieSymbol()public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetStateStyle()public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)
    GetSysmbolSize()public static float GetSysmbolSize(Serie serie, SerieData serieData, float defaultSize, SerieState state = SerieState.Auto, bool checkAnimation = false)
    GetTitleStyle()public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)
    IsAllZeroValue()public static bool IsAllZeroValue(Serie serie, int dimension = 1)
    系列指定维数的数据是否全部为0。
    IsDownPoint()public static bool IsDownPoint(Serie serie, int index)
    UpdateCenter()public static void UpdateCenter(Serie serie, BaseChart chart)
    更新运行时中心点和半径
    UpdateFilterData()public static void UpdateFilterData(Serie serie, DataZoom dataZoom)
    根据dataZoom更新数据列表缓存
    UpdateMinMaxData()public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)
    获得指定维数的最大最小值
    UpdateRect()public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
    UpdateSerieRuntimeFilterData()public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)

    SerieLabelHelper

    class in XCharts.Runtime

    API版本描述
    CanShowLabel()public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)
    GetLabelColor()public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)
    SetGaugeLabelText()public static void SetGaugeLabelText(Serie serie)

    SerieLabelPool

    class in XCharts.Runtime

    API版本描述
    ClearAll()public static void ClearAll()
    Release()public static void Release(GameObject element)
    ReleaseAll()public static void ReleaseAll(Transform parent)

    SerieParams

    class in XCharts.Runtime

    SeriesHelper

    class in XCharts.Runtime

    API版本描述
    GetLastStackSerie()public static Serie GetLastStackSerie(List<Serie> series, Serie serie)
    获得上一个同堆叠且显示的serie。
    GetLegalSerieNameList()public static List<string> GetLegalSerieNameList(List<Serie> series)
    GetMaxSerieDataCount()public static int GetMaxSerieDataCount(List<Serie> series)
    GetMinAnimationDuration()public static float GetMinAnimationDuration(List<Serie> series)
    GetNameColor()public static Color GetNameColor(BaseChart chart, int index, string name)
    GetStackSeries()public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)
    获得堆叠系列列表
    IsAnyClipSerie()public static bool IsAnyClipSerie(List<Serie> series)
    是否有需裁剪的serie。
    IsLegalLegendName()public static bool IsLegalLegendName(string name)
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series) where T : Serie
    是否时百分比堆叠
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series, string stackName) where T : Serie
    是否时百分比堆叠
    IsStack()public static bool IsStack(List<Serie> series)
    是否由数据堆叠
    IsStack<T>()public static bool IsStack<T>(List<Serie> series, string stackName) where T : Serie
    是否堆叠
    UpdateSerieNameList()public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)
    获得所有系列名,不包含空名字。
    UpdateStackDataList()public static void UpdateStackDataList(List<Serie> series, Serie currSerie, DataZoom dataZoom, List<List<SerieData>> dataList)

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle,ISerieDataComponent

    系列数据项的标记的图形

    API版本描述
    GetSize()public float GetSize(List<double> data, float themeSize)
    根据指定的sizeType获得标记的大小
    Reset()public override void Reset()
    ShowSymbol()public bool ShowSymbol(int dataIndex, int dataCount)

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Copy()public void Copy(SerieTheme theme)
    SerieTheme()public SerieTheme(ThemeType theme)

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    API版本描述
    Copy()public void Copy(Settings settings)
    Reset()public override void Reset()

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedBar ConvertSerie(Serie serie)

    SimplifiedBarChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化柱状图是柱状图的简化模式,通过简化组件和配置,拥有更好的性能。

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedCandlestick ConvertSerie(Serie serie)

    SimplifiedCandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化K线图是K线图的简化模式,通过简化组件和配置,拥有更好的性能。

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedLine ConvertSerie(Serie serie)

    SimplifiedLineChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化折线图是折线图的简化模式,通过简化组件和配置,拥有更好的性能。

    Since

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Since()public Since(string version)

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis,IUpdateRuntimeData

    单轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    StageColor()public StageColor(float percent, Color32 color)

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle,EmphasisStyle,SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Reset()public void Reset()

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    SubTitleTheme()public SubTitleTheme(ThemeType theme) : base(theme)

    SVG

    class in XUGL

    API版本描述
    DrawPath()public static void DrawPath(VertexHelper vh, string path)
    DrawPath()public static void DrawPath(VertexHelper vh, SVGPath path)
    Test()public static void Test(VertexHelper vh)

    SVGPath

    class in XUGL

    API版本描述
    AddSegment()public void AddSegment(SVGPathSeg seg)
    Draw()public void Draw(VertexHelper vh)
    Parse()public static SVGPath Parse(string path)

    SVGPathSeg

    class in XUGL

    API版本描述
    SVGPathSeg()public SVGPathSeg(SVGPathSegType type)

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    API版本描述
    GetColor()public Color32 GetColor(Color32 defaultColor)
    Reset()public virtual void Reset()

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    API版本描述
    Clone()public TextLimit Clone()
    Copy()public void Copy(TextLimit textLimit)
    GetLimitContent()public string GetLimitContent(string content)
    SetRelatedText()public void SetRelatedText(ChartText txt, float labelWidth)

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    API版本描述
    TextPadding()public TextPadding() { }
    TextPadding()public TextPadding(float top, float right, float bottom, float left)

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    API版本描述
    Copy()public void Copy(TextStyle textStyle)
    GetAlignment()public TextAnchor GetAlignment(TextAnchor defaultAlignment)
    GetColor()public Color GetColor(Color defaultColor)
    GetFontSize()public int GetFontSize(ComponentTheme defaultTheme)
    TextStyle()public TextStyle() { }
    TextStyle()public TextStyle(int fontSize)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle, Color color)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle, Color color, int rorate)
    UpdateAlignmentByLocation()public void UpdateAlignmentByLocation(Location location)

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    API版本描述
    CheckWarning()public void CheckWarning(StringBuilder sb)
    CloneTheme()public Theme CloneTheme()
    克隆主题。
    CopyTheme()public bool CopyTheme(ThemeType theme)
    CopyTheme()public void CopyTheme(Theme theme)
    复制主题的所有配置。
    GetColor()public Color32 GetColor(int index)
    获得调色盘对应系列索引的颜色值。
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。
    GetColorStr()public string GetColorStr(int index)
    获得指定索引的十六进制颜色值字符串。
    GetHashCode()public override int GetHashCode()
    ResetTheme()public bool ResetTheme()
    重置,清除所有自定义配置。
    ResetToDarkTheme()public static void ResetToDarkTheme(Theme theme)
    暗主题。
    ResetToDefaultTheme()public static void ResetToDefaultTheme(Theme theme)
    默认主题。
    SetColorPalette()public void SetColorPalette(List<string> hexColorStringList)
    SetDefaultFont()public void SetDefaultFont()
    SyncFontToSubComponent()public void SyncFontToSubComponent()
    SyncTMPFontToSubComponent()public void SyncTMPFontToSubComponent()

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    API版本描述
    CheckWarning()public void CheckWarning(StringBuilder sb)
    GetBackgroundColor()public Color32 GetBackgroundColor(Background background)
    GetColor()public Color32 GetColor(int index)
    获得调色盘对应系列索引的颜色值。
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。
    GetColorStr()public string GetColorStr(int index)
    获得指定索引的十六进制颜色值字符串。
    SyncSharedThemeColorToCustom()public void SyncSharedThemeColorToCustom()

    Title

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    标题组件,包含主标题和副标题。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    OnChanged()public void OnChanged()

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle,ISerieDataComponent,ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    TitleTheme()public TitleTheme(ThemeType theme) : base(theme)

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    API版本描述
    onClickIndexpublic System.Action<int> onClickIndex
    Tooltip为Click触发时,点击的X轴索引的回调。
    AddSerieDataIndex()public void AddSerieDataIndex(int serieIndex, int dataIndex)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    ClearSerieDataIndex()public void ClearSerieDataIndex()
    GetContentLabelStyle()public LabelStyle GetContentLabelStyle(int index)
    IsActive()public bool IsActive()
    提示框是否显示
    isAnySerieDataIndex()public bool isAnySerieDataIndex()
    IsSelected()public bool IsSelected()
    当前提示框是否选中数据项
    IsSelected()public bool IsSelected(int index)
    指定索引的数据项是否被提示框选中
    IsTriggerAxis()public bool IsTriggerAxis()
    IsTriggerItem()public bool IsTriggerItem()
    KeepTop()public void KeepTop()
    保持Tooltiop显示在最顶上
    SetActive()public void SetActive(bool flag)
    设置Tooltip组件是否显示
    SetContentActive()public void SetContentActive(bool flag)
    设置文本框是否显示
    UpdateContentPos()public void UpdateContentPos(Vector2 pos, float width, float height)
    更新文本框位置

    TooltipContext

    class in XCharts.Runtime

    TooltipData

    class in XCharts.Runtime

    TooltipHelper

    class in XCharts.Runtime

    API版本描述
    GetItemNumericFormatter()public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)
    GetLineColor()public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor)
    IsIgnoreFormatter()public static bool IsIgnoreFormatter(string itemFormatter)
    LimitInRect()public static void LimitInRect(Tooltip tooltip, Rect chartRect)

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(TooltipTheme theme)
    TooltipTheme()public TooltipTheme(ThemeType theme) : base(theme)

    TooltipView

    class in XCharts.Runtime

    API版本描述
    CreateView()public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)
    GetCurrentPos()public Vector3 GetCurrentPos()
    GetTargetPos()public Vector3 GetTargetPos()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag)
    Update()public void Update()
    UpdatePosition()public void UpdatePosition(Vector3 pos)

    TooltipViewItem

    class in XCharts.Runtime

    UGL

    class in XUGL

    UGUI 图形库

    API版本描述
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, Color32 color, Color32 toColor)
    DrawEllipse()public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)
    DrawEmptyDiamond()public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color)
    DrawEmptyDiamond()public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color, Color32 emptyColor)
    DrawEmptyTriangle()public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color)
    DrawEmptyTriangle()public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color, Color32 backgroundColor)
    DrawLine()public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color)
    Draw a line. 画直线
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
    Draw a line. 画直线
    DrawMinus()public static void DrawMinus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    绘制减号
    DrawPlus()public static void DrawPlus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    绘制加号
    DrawPolygon()public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
    填充任意多边形(目前只支持凸多边形)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Vector3 p1, Vector3 p2, float radius, Color32 color)
    Draw a rectangle. 画带长方形
    DrawSquare()public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
    Draw a square. 画正方形
    DrawSvgPath()public static void DrawSvgPath(VertexHelper vh, string path)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)

    UGLExample

    class in XUGL / 继承自: MaskableGraphic

    UGLHelper

    class in XUGL

    API版本描述
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBezier()public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)
    GetBezier2()public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)
    GetBezierList()public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref List<Vector3> intersection)
    获得两直线的交点
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref Vector3 intersection)
    获得两直线的交点
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector3> polyons)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, params Vector3[] polyons)
    IsPointInTriangle()public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)

    UIComponent

    class in XCharts.Runtime / 继承自: BaseGraph

    UI组件基类。

    API版本描述
    SetAllDirty()public override void SetAllDirty()
    SetDataDirty()v3.9.0public void SetDataDirty()
    SetVerticesDirty()public override void SetVerticesDirty()
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    GetBackgroundColor()public Color32 GetBackgroundColor(Background background)

    UIHelper

    class in XCharts.Runtime

    UI帮助类。

    ViewControl

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.11.0 开始支持

    3D视角控制组件。

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    API版本描述
    AddColors()public void AddColors(List<Color32> colors)
    AddColors()public void AddColors(List<string> colors)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    GetColor()public Color32 GetColor(double value)
    GetColor()public Color32 GetColor(double xValue, double yValue, double zValue, byte alpha = 255)
    GetIndex()public int GetIndex(double value)
    GetValue()public double GetValue(Vector3 pos, Rect chartRect)
    IsInRangeMaxRect()public bool IsInRangeMaxRect(Vector3 local, Rect chartRect, float triangleLen)
    IsInRangeMinRect()public bool IsInRangeMinRect(Vector3 local, Rect chartRect, float triangleLen)
    IsInRangeRect()public bool IsInRangeRect(Vector3 local, Rect chartRect)
    IsInRect()public bool IsInRect(Vector3 local, Rect chartRect, float triangleLen = 20)
    IsInSelectedValue()public bool IsInSelectedValue(double value)
    IsPiecewise()public bool IsPiecewise()

    VisualMapContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    VisualMapHelper

    class in XCharts.Runtime

    API版本描述
    AutoSetLineMinMax()public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
    GetDimension()public static int GetDimension(VisualMap visualMap, int defaultDimension)
    IsNeedAreaGradient()public static bool IsNeedAreaGradient(VisualMap visualMap)
    IsNeedGradient()public static bool IsNeedGradient(VisualMap visualMap)
    IsNeedLineGradient()public static bool IsNeedLineGradient(VisualMap visualMap)
    SetMinMax()public static void SetMinMax(VisualMap visualMap, double min, double max)

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Contains()public bool Contains(double value, double minMaxRange)

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(VisualMapTheme theme)
    VisualMapTheme()public VisualMapTheme(ThemeType theme) : base(theme)

    Wrapper<T>

    class in XCharts.Runtime

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 x 轴。

    XAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 x 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 x 轴。

    XChartsMgr

    class in XCharts.Runtime

    API版本描述
    AddChart()public static void AddChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(string chartName)
    GetChart()public static BaseChart GetChart(string chartName)
    GetCharts()public static List<BaseChart> GetCharts(string chartName)
    GetPackageFullPath()public static string GetPackageFullPath()
    GetRepeatChartNameInfo()public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
    IsRepeatChartName()public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
    RemoveAllChartObject()public static void RemoveAllChartObject()
    RemoveChart()public static void RemoveChart(string chartName)

    XCResourceImporterWindow

    class in XCharts.Runtime / 继承自: UnityEditor.EditorWindow

    API版本描述
    ShowPackageImporterWindow()public static void ShowPackageImporterWindow()

    XCResourcesImporter

    class in XCharts.Runtime

    API版本描述
    OnDestroy()public void OnDestroy() { }
    OnGUI()public void OnGUI()
    XCResourcesImporter()public XCResourcesImporter() { }

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    API版本描述
    AddCustomTheme()public static bool AddCustomTheme(Theme theme)
    ExistAssetFile()public static bool ExistAssetFile()
    GetSettingAssetPath()public static string GetSettingAssetPath()

    XCThemeMgr

    class in XCharts.Runtime

    API版本描述
    AddTheme()public static void AddTheme(Theme theme)
    CheckReloadTheme()public static void CheckReloadTheme()
    ContainsTheme()public static bool ContainsTheme(string themeName)
    ExportTheme()public static bool ExportTheme(Theme theme)
    ExportTheme()public static bool ExportTheme(Theme theme, string themeNewName)
    GetAllThemeNames()public static List<string> GetAllThemeNames()
    GetTheme()public static Theme GetTheme(string themeName)
    GetTheme()public static Theme GetTheme(ThemeType type)
    GetThemeAssetPath()public static string GetThemeAssetPath(string themeName)
    GetThemeList()public static List<Theme> GetThemeList()
    LoadTheme()public static Theme LoadTheme(string themeName)
    LoadTheme()public static Theme LoadTheme(ThemeType type)
    ReloadThemeList()public static void ReloadThemeList()
    重新加载主题列表
    SwitchTheme()public static void SwitchTheme(BaseChart chart, string themeName)

    XLog

    class in XCharts.Runtime / 继承自: MonoBehaviour

    日志系统。用于输出带日期和日志类型的日志,支持输出到文件,支持自定义输出的日志类型。

    API版本描述
    CanLog()public static bool CanLog(int level)
    ClearAllLog()public static void ClearAllLog()
    Debug()public static void Debug(string log)
    EnableLog()public static void EnableLog(int logType)
    Error()public static void Error(string log)
    FlushLog()public static void FlushLog()
    GetNowTime()public static string GetNowTime(string formatter = null)
    GetTimestamp()public static ulong GetTimestamp()
    Info()public static void Info(string log)
    Log()public static void Log(string log)
    LogError()public static void LogError(string log)
    LogWarning()public static void LogWarning(string log)
    Proto()public static void Proto(string log)
    Vital()public static void Vital(string log)
    Warning()public static void Warning(string log)

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。

    YAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。

    ZAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。
    Was this helpful?
    - - +
    Version: v3.12.0

    API手册

    所有类

    Align

    class in XCharts.Runtime

    对齐方式。文本,图标,图形等的对齐方式。

    可选:

    • Center: 对齐方式。文本,图标,图形等的对齐方式。
    • Left: 对齐方式。文本,图标,图形等的对齐方式。
    • Right: 对齐方式。文本,图标,图形等的对齐方式。

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    AngleAxis.GetValueAngle

    public float GetValueAngle(double value)

    AngleAxis.SetDefaultValue

    public override void SetDefaultValue()

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AngleAxisTheme.base(theme)

    public AngleAxisTheme(ThemeType theme) : base(theme)

    AngleAxisTheme.AngleAxisTheme

    public AngleAxisTheme(ThemeType theme) : base(theme) { }

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationEasing

    class in XCharts.Runtime

    可选:

    • Linear:

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn,AnimationFadeOut,AnimationChange,AnimationAddition,AnimationHiding,AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    AnimationInfo.delay

    public float delay
    +动画开始前的延迟时间。

    AnimationInfo.delayFunction

    public AnimationDelayFunction delayFunction
    +动画延迟的委托函数。

    AnimationInfo.duration

    public float duration
    +动画的时长。

    AnimationInfo.durationFunction

    public AnimationDurationFunction durationFunction
    +动画时长的委托函数。

    AnimationInfo.enable

    public bool enable
    +是否开启动画效果。

    AnimationInfo.OnAnimationEnd

    public Action OnAnimationEnd
    +动画结束的回调。

    AnimationInfo.OnAnimationStart

    public Action OnAnimationStart
    +动画开始的回调。

    AnimationInfo.reverse

    public bool reverse
    +是否开启反向动画效果。

    AnimationInfo.End

    public void End()
    +结束动画。

    AnimationInfo.GetIndexDelay

    public float GetIndexDelay(int dataIndex)
    +获取动画延迟。

    AnimationInfo.Init

    public bool Init(float curr, float dest, int totalPointIndex)
    +初始化动画。

    AnimationInfo.IsFinish

    public bool IsFinish()
    +动画是否结束。

    AnimationInfo.IsInDelay

    public bool IsInDelay()
    +动画是否在延迟中。

    AnimationInfo.IsInIndexDelay

    public bool IsInIndexDelay(int dataIndex)
    +动画是否在索引延迟中。

    AnimationInfo.Pause

    public void Pause()
    +暂停动画。

    AnimationInfo.Reset

    public void Reset()
    +重置动画。

    AnimationInfo.Resume

    public void Resume()
    +恢复动画。

    AnimationInfo.Start

    public void Start(bool reset = true)
    +开始动画。

    AnimationInfoContext

    class in XCharts.Runtime

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    AnimationInteraction.offset

    public MLValue offset
    +交互的多样式数值。如饼图的扇形选中时的偏移。

    AnimationInteraction.radius

    public MLValue radius
    +半径的多样式数值。

    AnimationInteraction.width

    public MLValue width
    +宽度的多样式数值。

    AnimationInteraction.GetOffset

    public float GetOffset()

    AnimationInteraction.GetRadius

    public float GetRadius(float radius)

    AnimationInteraction.GetWidth

    public float GetWidth(float width)

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    AnimationStyle.addition

    public AnimationAddition addition
    +数据新增动画配置。

    AnimationStyle.change

    public AnimationChange change
    +数据变更动画配置。

    AnimationStyle.enable

    public bool enable
    +是否开启动画效果。

    AnimationStyle.fadeIn

    public AnimationFadeIn fadeIn
    +渐入动画配置。

    AnimationStyle.fadeInFinishCallback

    public Action fadeInFinishCallback

    AnimationStyle.fadeOut

    public AnimationFadeOut fadeOut
    +渐出动画配置。

    AnimationStyle.fadeOutFinishCallback

    public Action fadeOutFinishCallback

    AnimationStyle.hiding

    public AnimationHiding hiding
    +数据隐藏动画配置。

    AnimationStyle.interaction

    public AnimationInteraction interaction
    +交互动画配置。

    AnimationStyle.threshold

    public int threshold
    +是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。

    AnimationStyle.unscaledTime

    public bool unscaledTime
    +动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AnimationStyle.Addition

    public void Addition()
    +开始数据新增动画。

    AnimationStyle.CanCheckInteract

    public bool CanCheckInteract()

    AnimationStyle.CheckDetailBreak

    public bool CheckDetailBreak(Vector3 pos, bool isYAxis)

    AnimationStyle.CheckProgress

    public void CheckProgress(double total)

    AnimationStyle.CheckSymbol

    public void CheckSymbol(float dest)

    AnimationStyle.FadeIn

    public void FadeIn()
    +开始渐入动画。

    AnimationStyle.FadeOut

    public void FadeOut()
    +开始渐出动画。

    AnimationStyle.GetAdditionDuration

    public float GetAdditionDuration()

    AnimationStyle.GetChangeDuration

    public float GetChangeDuration()

    AnimationStyle.GetCurrDetail

    public float GetCurrDetail()

    AnimationStyle.GetCurrIndex

    public int GetCurrIndex()

    AnimationStyle.GetCurrRate

    public float GetCurrRate()

    AnimationStyle.GetInteractionDuration

    public float GetInteractionDuration()

    AnimationStyle.GetInteractionRadius

    public float GetInteractionRadius(float radius)

    AnimationStyle.GetSysmbolSize

    public float GetSysmbolSize(float dest)

    AnimationStyle.HasFadeOut

    public bool HasFadeOut()

    AnimationStyle.InitProgress

    public void InitProgress(List<Vector3> paths, bool isY)
    +初始化动画配置。

    AnimationStyle.IsDataAnimation

    public bool IsDataAnimation()
    +是否为数据动画。BottomToTop和InsideOut类型的为数据动画。

    AnimationStyle.IsEnd

    public bool IsEnd()

    AnimationStyle.IsFadeIn

    public bool IsFadeIn()

    AnimationStyle.IsFadeOut

    public bool IsFadeOut()

    AnimationStyle.IsFinish

    public bool IsFinish()

    AnimationStyle.IsInDelay

    public bool IsInDelay()

    AnimationStyle.IsSerieAnimation

    public bool IsSerieAnimation()
    +是否为系列动画。LeftToRight、AlongPath和Clockwise类型的为系列动画。

    AnimationStyle.Pause

    public void Pause()
    +暂停所有动画。

    AnimationStyle.Reset

    public void Reset()
    +Reset all animations.

    AnimationStyle.Restart

    public void Restart()
    +重启当前激活的动画。

    AnimationStyle.Resume

    public void Resume()
    +恢复所有动画。

    AnimationStyleHelper

    class in XCharts.Runtime

    AnimationStyleHelper.CheckDataAnimation

    public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)

    AnimationStyleHelper.GetAnimationPosition

    public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip, ref float rate)

    AnimationStyleHelper.UpdateAnimationType

    public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType, bool enableSerieDataAnimation)

    AnimationStyleHelper.UpdateSerieAnimation

    public static void UpdateSerieAnimation(Serie serie)

    AnimationType

    class in XCharts.Runtime

    可选:

    • Default: 默认。内部会根据实际情况选择一种动画播放方式。
    • LeftToRight: 从左往右播放动画。
    • BottomToTop: 从下往上播放动画。
    • InsideOut: 由内到外播放动画。
    • AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    • Clockwise: 顺时针播放动画。

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    区域填充样式。

    AreaStyle.GetColor

    public Color32 GetColor(Color32 themeColor)

    AreaStyle.AreaOrigin

    class in XCharts.Runtime

    图形区域的起始位置。默认情况下,图形会从坐标轴轴线到数据间进行填充。如果需要填充的区域是坐标轴最大值到数据间,或者坐标轴最小值到数据间,则可以通过这个配置项进行设置。

    可选:

    • Auto: 填充坐标轴轴线到数据间的区域。
    • Start: 填充坐标轴底部到数据间的区域。
    • End: 填充坐标轴顶部到数据间的区域。

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    ArrowStyle.Clone

    public ArrowStyle Clone()

    ArrowStyle.Copy

    public void Copy(ArrowStyle arrow)

    ArrowStyle.GetColor

    public Color32 GetColor(Color32 defaultColor)

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis,ParallelAxis,RadiusAxis,SingleAxis,XAxis,XAxis3D,YAxis,YAxis3D,ZAxis3D

    直角坐标系的坐标轴组件。

    Axis.AddData

    public void AddData(string category)
    +添加一个类目到类目数据列表

    Axis.AddIcon

    public void AddIcon(Sprite icon)
    +添加图标

    Axis.ClearComponentDirty

    public override void ClearComponentDirty()

    Axis.ClearData

    public override void ClearData()
    +清空类目数据

    Axis.ClearVerticesDirty

    public override void ClearVerticesDirty()

    Axis.Clone

    public Axis Clone()

    Axis.Copy

    public void Copy(Axis axis)

    Axis.GetAddedDataCount

    public int GetAddedDataCount()
    +获得添加过的历史数据总数

    Axis.GetCategoryPosition

    public Vector3 GetCategoryPosition(int categoryIndex, int dataCount = 0)

    Axis.GetData

    public string GetData(int index, DataZoom dataZoom)
    +获得在dataZoom范围内指定索引的类目数据

    Axis.GetDistance

    public float GetDistance(double value, float axisLength = 0)
    +获得值在坐标轴上的距离

    Axis.GetIcon

    public Sprite GetIcon(int index)

    Axis.GetLabelValue

    public double GetLabelValue(int index)

    Axis.GetLastLabelValue

    public double GetLastLabelValue()

    Axis.GetLogMaxIndex

    public double GetLogMaxIndex()

    Axis.GetLogMinIndex

    public double GetLogMinIndex()

    Axis.GetLogValue

    public float GetLogValue(double value)

    Axis.GetValueLength

    public float GetValueLength(double value, float axisLength)

    Axis.IsBottom

    public bool IsBottom()

    Axis.IsCategory

    public bool IsCategory()
    +是否为类目轴。

    Axis.IsLeft

    public bool IsLeft()

    Axis.IsLog

    public bool IsLog()
    +是否为对数轴。

    Axis.IsNeedShowLabel

    public bool IsNeedShowLabel(int index, int total = 0)

    Axis.IsRight

    public bool IsRight()

    Axis.IsTime

    public bool IsTime()
    +是否为时间轴。

    Axis.IsTop

    public bool IsTop()

    Axis.IsValue

    public bool IsValue()
    +是否为数值轴。

    Axis.RemoveData

    public void RemoveData(int dataIndex)

    Axis.ResetStatus

    public override void ResetStatus()
    +重置状态。

    Axis.SetComponentDirty

    public override void SetComponentDirty()

    Axis.SetNeedUpdateFilterData

    public void SetNeedUpdateFilterData()

    Axis.UpdateData

    public void UpdateData(int index, string category)
    +更新类目数据

    Axis.UpdateIcon

    public void UpdateIcon(int index, Sprite icon)
    +更新图标

    Axis.UpdateZeroOffset

    public void UpdateZeroOffset(float axisLength)

    Axis.AxisMinMaxType

    class in XCharts.Runtime

    坐标轴最大最小刻度显示类型。

    可选:

    • Default: 0-最大值。
    • MinMax: 最小值-最大值。
    • Custom: 自定义最小值最大值。
    • MinMaxAuto: [since("v3.7.0")]最小值-最大值。自动计算合适的值。

    Axis.AxisPosition

    class in XCharts.Runtime

    坐标轴在Grid中的位置

    可选:

    • Left: 坐标轴在Grid中的位置
    • Right: 坐标轴在Grid中的位置
    • Bottom: 坐标轴在Grid中的位置
    • Top: 坐标轴在Grid中的位置
    • Center: 坐标轴在Grid中的位置

    Axis.AxisType

    class in XCharts.Runtime

    坐标轴类型。

    可选:

    • Value: 数值轴。适用于连续数据。
    • Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    • Log: 对数轴。适用于对数数据。
    • Time: 时间轴。适用于连续的时序数据。

    Axis3DHelper

    class in XCharts.Runtime

    Axis3DHelper.Get3DGridPosition

    public static Vector3 Get3DGridPosition(GridCoord3D grid, XAxis3D xAxis, YAxis3D yAxis, double xValue, double yValue)

    Axis3DHelper.GetLabelPosition

    public static Vector3 GetLabelPosition(int i, Axis axis, Axis relativedAxis, AxisTheme theme, float scaleWid)

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    AxisAnimation.Clone

    public AxisAnimation Clone()

    AxisAnimation.Copy

    public void Copy(AxisAnimation animation)

    AxisContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    AxisContext.destMaxValue

    public double destMaxValue

    AxisContext.destMinValue

    public double destMinValue

    AxisContext.labelObjectList

    public List<ChartLabel> labelObjectList

    AxisContext.labelValueList

    public List<double> labelValueList

    AxisContext.lastMaxValue

    public double lastMaxValue
    +当前最大值。

    AxisContext.lastMinValue

    public double lastMinValue
    +当前最小值。

    AxisContext.needAnimation

    public bool needAnimation

    AxisContext.runtimeData

    public List<string> runtimeData
    +数值轴时每个tick的数值。

    AxisHandler<T>

    class in XCharts / 继承自: MainComponentHandler

    AxisHandler<T>.component

    public T component

    AxisHelper

    class in XCharts.Runtime

    AxisHelper.AdjustCircleLabelPos

    public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)

    AxisHelper.AdjustMinMaxValue

    public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
    +调整最大最小值

    AxisHelper.AdjustRadiusAxisLabelPos

    public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)

    AxisHelper.GetAxisLineArrowOffset

    public static float GetAxisLineArrowOffset(Axis axis)
    +包含箭头偏移的轴线长度

    AxisHelper.GetAxisPosition

    public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)

    AxisHelper.GetAxisPositionValue

    public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)

    AxisHelper.GetAxisValueDistance

    public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
    +获得数值value在坐标轴上相对起点的距离

    AxisHelper.GetAxisValueLength

    public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
    +获得数值value在坐标轴上对应的长度

    AxisHelper.GetAxisValuePosition

    public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
    +获得数值value在坐标轴上的坐标位置

    AxisHelper.GetAxisValueSplitIndex

    public static int GetAxisValueSplitIndex(Axis axis, double value, bool checkMaxCache, int totalSplitNumber = -1)
    +获得数值value在坐标轴上对应的split索引

    AxisHelper.GetAxisXOrY

    public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)

    AxisHelper.GetDataWidth

    public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
    +获得一个类目数据在坐标系中代表的宽度

    AxisHelper.GetEachWidth

    public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)

    AxisHelper.GetScaleNumber

    public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    +获得分割线条数

    AxisHelper.GetScaleWidth

    public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
    +获得分割段宽度

    AxisHelper.GetSplitNumber

    public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
    +获得分割段数

    AxisHelper.GetTotalSplitGridNum

    public static int GetTotalSplitGridNum(Axis axis)
    +获得分割网格个数,包含次刻度

    AxisHelper.GetXAxisXOrY

    public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)

    AxisHelper.GetYAxisXOrY

    public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)

    AxisHelper.NeedShowSplit

    public static bool NeedShowSplit(Axis axis)

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    AxisLabel.componentDirty

    public override bool componentDirty

    AxisLabel.ClearComponentDirty

    public override void ClearComponentDirty()

    AxisLabel.Clone

    public new AxisLabel Clone()

    AxisLabel.Copy

    public void Copy(AxisLabel axisLabel)

    AxisLabel.GetFormatterContent

    public override string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)

    AxisLabel.IsNeedShowLabel

    public bool IsNeedShowLabel(int index, int total)

    AxisLabel.SetRelatedText

    public void SetRelatedText(ChartText txt, float labelWidth)

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    AxisLine.Clone

    public AxisLine Clone()

    AxisLine.Copy

    public void Copy(AxisLine axisLine)

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    AxisMinorSplitLine.autoColor

    public bool autoColor
    +自动设置颜色。

    AxisMinorSplitLine.distance

    public float distance
    +刻度线与轴线的距离。

    AxisMinorSplitLine.vertsDirty

    public override bool vertsDirty

    AxisMinorSplitLine.ClearVerticesDirty

    public override void ClearVerticesDirty()

    AxisMinorSplitLine.Clone

    public AxisMinorSplitLine Clone()

    AxisMinorSplitLine.Copy

    public void Copy(AxisMinorSplitLine splitLine)

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    AxisMinorTick.autoColor

    public bool autoColor

    AxisMinorTick.vertsDirty

    public override bool vertsDirty

    AxisMinorTick.ClearVerticesDirty

    public override void ClearVerticesDirty()

    AxisMinorTick.Clone

    public AxisMinorTick Clone()

    AxisMinorTick.Copy

    public void Copy(AxisMinorTick axisTick)

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    AxisName.Clone

    public AxisName Clone()

    AxisName.Copy

    public void Copy(AxisName axisName)

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    AxisSplitArea.Clone

    public AxisSplitArea Clone()

    AxisSplitArea.Copy

    public void Copy(AxisSplitArea splitArea)

    AxisSplitArea.GetColor

    public Color32 GetColor(int index, BaseAxisTheme theme)

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    AxisSplitLine.autoColor

    public bool autoColor
    +自动设置颜色。

    AxisSplitLine.distance

    public float distance
    +刻度线与轴线的距离。

    AxisSplitLine.vertsDirty

    public override bool vertsDirty

    AxisSplitLine.ClearVerticesDirty

    public override void ClearVerticesDirty()

    AxisSplitLine.Clone

    public AxisSplitLine Clone()

    AxisSplitLine.Copy

    public void Copy(AxisSplitLine splitLine)

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AxisTheme.base(theme)

    public AxisTheme(ThemeType theme) : base(theme)

    AxisTheme.AxisTheme

    public AxisTheme(ThemeType theme) : base(theme) { }

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    AxisTick.autoColor

    public bool autoColor

    AxisTick.distance

    public float distance
    +刻度线与轴线的距离。

    AxisTick.Clone

    public AxisTick Clone()

    AxisTick.Copy

    public void Copy(AxisTick axisTick)

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    Background.SetDefaultValue

    public override void SetDefaultValue()

    Bar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    Bar.containerIndex

    public int containerIndex

    Bar.containterInstanceId

    public int containterInstanceId

    Bar.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    Bar.ConvertSerie

    public static Bar ConvertSerie(Serie serie)

    BarChart

    class in XCharts.Runtime / 继承自: BaseChart

    柱状图(或称条形图)是一种通过柱形的高度(横向的情况下则是宽度)来表现数据大小的一种常用图表类型。

    BarChart.DefaultBarChart

    public void DefaultBarChart()
    +默认条形图。

    BarChart.DefaultCapsuleBarChart

    public void DefaultCapsuleBarChart()
    +默认胶囊条形图。

    BarChart.DefaultCapsuleColumnChart

    public void DefaultCapsuleColumnChart()
    +胶囊柱状图。

    BarChart.DefaultGroupedBarChart

    public void DefaultGroupedBarChart()
    +默认分组条形图。

    BarChart.DefaultGroupedColumnChart

    public void DefaultGroupedColumnChart()
    +默认分组柱状图。

    BarChart.DefaultPercentBarChart

    public void DefaultPercentBarChart()
    +默认百分比条形图。

    BarChart.DefaultPercentColumnChart

    public void DefaultPercentColumnChart()
    +默认百分比柱状图。

    BarChart.DefaultStackedBarChart

    public void DefaultStackedBarChart()
    +默认堆叠条形图。

    BarChart.DefaultStackedColumnChart

    public void DefaultStackedColumnChart()
    +默认堆叠分组柱状图。

    BarChart.DefaultZebraBarChart

    public void DefaultZebraBarChart()
    +默认斑马条形图。

    BarChart.DefaultZebraColumnChart

    public void DefaultZebraColumnChart()
    +斑马柱状图。

    BarType

    class in XCharts.Runtime

    柱状图类型。

    可选:

    • Normal: 普通柱形图。
    • Zebra: 斑马柱形图。
    • Capsule: 胶囊柱形图。

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme,RadiusAxisTheme,AngleAxisTheme,PolarAxisTheme,RadarAxisTheme

    BaseAxisTheme.BaseAxisTheme

    public BaseAxisTheme(ThemeType theme) : base(theme)

    BaseAxisTheme.Copy

    public void Copy(BaseAxisTheme theme)

    BaseChart

    class in XCharts.Runtime / 继承自: BaseGraph,ISerializationCallbackReceiver / 子类: BarChart,CandlestickChart,HeatmapChart,LineChart,ParallelChart,PieChart,PolarChart,RadarChart,RingChart,ScatterChart,SimplifiedBarChart,SimplifiedCandlestickChart,SimplifiedLineChart

    BaseChart.axis)

    public virtual void InitAxisRuntimeData(Axis axis)

    BaseChart.chartHeight

    public float chartHeight
    +图表的高

    BaseChart.chartHideFlags

    public override HideFlags chartHideFlags

    BaseChart.chartMaxAnchor

    public Vector2 chartMaxAnchor

    BaseChart.chartMinAnchor

    public Vector2 chartMinAnchor

    BaseChart.chartPivot

    public Vector2 chartPivot

    BaseChart.chartPosition

    public Vector3 chartPosition
    +图表的左下角起始坐标。

    BaseChart.chartRect

    public Rect chartRect

    BaseChart.chartSizeDelta

    public Vector2 chartSizeDelta

    BaseChart.chartWidth

    public float chartWidth
    +图表的宽

    BaseChart.chartX

    public float chartX
    +图表的X

    BaseChart.chartY

    public float chartY
    +图表的Y

    BaseChart.components

    public List<MainComponent> components

    BaseChart.customDrawGaugePointerFunction

    public CustomDrawGaugePointerFunction customDrawGaugePointerFunction
    +自定义仪表盘指针绘制委托。

    BaseChart.debug

    public DebugInfo debug

    BaseChart.onAxisPointerValueChanged

    public Action<Axis, double> onAxisPointerValueChanged
    +坐标轴变更数据索引时回调。参数:axis, dataIndex/dataValue

    BaseChart.onDraw

    public Action<VertexHelper> onDraw
    +自定义绘制回调。在绘制Serie前调用。

    BaseChart.onDrawAfterSerie

    public Action<VertexHelper, Serie> onDrawAfterSerie
    +自定义Serie绘制回调。在每个Serie绘制完后调用。

    BaseChart.onDrawBeforeSerie

    public Action<VertexHelper, Serie> onDrawBeforeSerie
    +自定义Serie绘制回调。在每个Serie绘制完前调用。

    BaseChart.onDrawTop

    public Action<VertexHelper> onDrawTop
    +自定义Top层绘制回调。在绘制Tooltip前调用。

    BaseChart.onDrawUpper

    public Action<VertexHelper> onDrawUpper
    +自定义Upper层绘制回调。在绘制Tooltip前调用。

    BaseChart.onInit

    public Action onInit
    +图表的初始化完成回调。

    BaseChart.onLegendClick

    public Action<Legend, int, string, bool> onLegendClick
    +点击图例按钮回调。参数:legendIndex, legendName, show

    BaseChart.onLegendEnter

    public Action<Legend, int, string> onLegendEnter
    +鼠标进入图例回调。参数:legendIndex, legendName

    BaseChart.onLegendExit

    public Action<Legend, int, string> onLegendExit
    +鼠标退出图例回调。参数:legendIndex, legendName

    BaseChart.onPointerClickBar

    public Action<PointerEventData, int> onPointerClickBar
    +点击柱形图柱条回调。参数:eventData, dataIndex

    BaseChart.onPointerClickPie

    public Action<PointerEventData, int, int> onPointerClickPie
    +点击饼图区域回调。参数:PointerEventData,SerieIndex,SerieDataIndex

    BaseChart.onPointerEnterPie

    public Action<int, int> onPointerEnterPie
    +鼠标进入和离开饼图区域回调,SerieDataIndex为-1时表示离开。参数:PointerEventData,SerieIndex,SerieDataIndex

    BaseChart.onSerieClick

    public Action<SerieEventData> onSerieClick

    v3.6.0 开始支持

    鼠标点击Serie回调。

    BaseChart.onSerieDown

    public Action<SerieEventData> onSerieDown

    v3.6.0 开始支持

    鼠标按下Serie回调。

    BaseChart.onSerieEnter

    public Action<SerieEventData> onSerieEnter

    v3.6.0 开始支持

    鼠标进入Serie回调。

    BaseChart.onSerieExit

    public Action<SerieEventData> onSerieExit

    v3.6.0 开始支持

    鼠标离开Serie回调。

    BaseChart.onUpdate

    public Action onUpdate
    +图表的Update回调。

    BaseChart.series

    public List<Serie> series

    BaseChart.settings

    public Settings settings
    +全局设置组件。

    BaseChart.theme

    public ThemeStyle theme

    BaseChart.typeListForComponent

    public Dictionary<Type, FieldInfo> typeListForComponent

    BaseChart.typeListForSerie

    public Dictionary<Type, FieldInfo> typeListForSerie

    BaseChart.AddChartComponent

    public MainComponent AddChartComponent(Type type)

    BaseChart.AddChartComponent<T>

    public T AddChartComponent<T>() where T : MainComponent

    BaseChart.AddChartComponentWhenNoExist<T>

    public T AddChartComponentWhenNoExist<T>() where T : MainComponent

    BaseChart.AddData

    public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
    +添加(time,y)数据到指定的系列中。

    public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
    +添加一个数据到指定的系列中。

    public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)

    public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
    +添加(x,y)数据到指定系列中。

    public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
    +添加多维数据(x,y,z...)到指定的系列中。

    public SerieData AddData(int serieIndex, params double[] multidimensionalData)
    +添加多维数据(x,y,z...)到指定的系列中。

    public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
    +添加(time,y)数据到指定的系列中。

    public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)

    public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
    +添加(x,y)数据到指定系列中。

    public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
    +添加多维数据(x,y,z...)到指定的系列中。

    public SerieData AddData(string serieName, params double[] multidimensionalData)
    +添加多维数据(x,y,z...)到指定的系列中。

    public SerieDataLink AddLink(int serieIndex, string sourceId, string targetId, double value = 0)
    +添加一个关系图的关系数据。

    BaseChart.AddSerie<T>

    public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie

    BaseChart.AddXAxisData

    public void AddXAxisData(string category, int xAxisIndex = 0)
    +添加一个类目数据到指定的x轴。

    BaseChart.AddXAxisIcon

    public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
    +添加一个图标到指定的x轴。

    BaseChart.AddYAxisData

    public void AddYAxisData(string category, int yAxisIndex = 0)
    +添加一个类目数据到指定的y轴。

    BaseChart.AddYAxisIcon

    public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
    +添加一个图标到指定的y轴。

    BaseChart.AnimationEnable

    public void AnimationEnable(bool flag)
    +是否启用Serie动画。

    BaseChart.AnimationFadeIn

    public void AnimationFadeIn(bool reset = true)
    +开始所有Serie的渐入动画。

    BaseChart.AnimationFadeOut

    public void AnimationFadeOut()
    +开始所有Serie的渐出动画。

    BaseChart.AnimationPause

    public void AnimationPause()
    +暂停所有Serie的动画。

    BaseChart.AnimationReset

    public void AnimationReset()
    +重置所有Serie的动画。

    BaseChart.AnimationResume

    public void AnimationResume()
    +继续所有Serie的动画。

    BaseChart.CanAddChartComponent

    public bool CanAddChartComponent(Type type)

    BaseChart.CanAddSerie

    public bool CanAddSerie(Type type)

    BaseChart.CanAddSerie<T>

    public bool CanAddSerie<T>() where T : Serie

    BaseChart.CancelTooltip

    public void CancelTooltip()

    v3.7.0 开始支持

    取消Tooltip.

    BaseChart.CanMultipleComponent

    public bool CanMultipleComponent(Type type)

    BaseChart.ClampInChart

    public void ClampInChart(ref Vector3 pos)

    BaseChart.ClampInGrid

    public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)

    BaseChart.ClearComponentData

    public virtual void ClearComponentData()

    v3.4.0 开始支持

    清空所有组件的数据。

    BaseChart.ClearData

    public virtual void ClearData()
    +清空所有组件和Serie的数据。注意:Serie只是清空数据,不会移除Serie。

    BaseChart.ClearSerieData

    public virtual void ClearSerieData()

    v3.4.0 开始支持

    清空所有serie的数据。

    public virtual void ClearSerieLinks()

    v3.10.0 开始支持

    清空所有serie的link数据。

    BaseChart.ClickLegendButton

    public void ClickLegendButton(int legendIndex, string legendName, bool show)
    +点击图例按钮

    BaseChart.ConvertSerie

    public bool ConvertSerie(Serie serie, Type type)

    BaseChart.ConvertSerie<T>

    public bool ConvertSerie<T>(Serie serie) where T : Serie

    BaseChart.ConvertXYAxis

    public void ConvertXYAxis(int index)
    +转换X轴和Y轴的配置

    BaseChart.EnsureChartComponent<T>

    public T EnsureChartComponent<T>() where T : MainComponent

    v3.6.0 开始支持

    确保图表有该组件,如果没有则添加。注意:有可能添加不成功。

    BaseChart.GenerateDefaultSerieName

    public string GenerateDefaultSerieName()

    BaseChart.GetAllSerieDataCount

    public int GetAllSerieDataCount()

    BaseChart.GetChartBackgroundColor

    public Color32 GetChartBackgroundColor()

    BaseChart.GetChartComponent<T>

    public T GetChartComponent<T>(int index = 0) where T : MainComponent

    BaseChart.GetChartComponentNum

    public int GetChartComponentNum(Type type)

    BaseChart.GetChartComponentNum<T>

    public int GetChartComponentNum<T>() where T : MainComponent

    BaseChart.GetChartComponents<T>

    public List<MainComponent> GetChartComponents<T>() where T : MainComponent

    BaseChart.GetData

    public double GetData(int serieIndex, int dataIndex, int dimension = 1)

    BaseChart.GetDataZoomOfAxis

    public DataZoom GetDataZoomOfAxis(Axis axis)

    BaseChart.GetDataZoomOfSerie

    public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)

    BaseChart.GetGrid

    public GridCoord GetGrid(Vector2 local)

    BaseChart.GetGridOfDataZoom

    public GridCoord GetGridOfDataZoom(DataZoom dataZoom)

    BaseChart.GetItemColor

    public Color32 GetItemColor(Serie serie)

    public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)

    BaseChart.GetLegendRealShowNameColor

    public Color32 GetLegendRealShowNameColor(string name)

    BaseChart.GetLegendRealShowNameIndex

    public int GetLegendRealShowNameIndex(string name)

    BaseChart.GetMarkColor

    public Color32 GetMarkColor(Serie serie, SerieData serieData)

    v3.4.0 开始支持

    获得Serie的标识颜色。

    BaseChart.GetOrAddChartComponent<T>

    public T GetOrAddChartComponent<T>() where T : MainComponent

    BaseChart.GetPainter

    public Painter GetPainter(int index)

    BaseChart.GetSerie

    public Serie GetSerie(int serieIndex)

    BaseChart.GetSerie<T>

    public T GetSerie<T>(int serieIndex) where T : Serie

    BaseChart.GetSerieBarGap<T>

    public float GetSerieBarGap<T>() where T : Serie

    BaseChart.GetSerieBarRealCount<T>

    public int GetSerieBarRealCount<T>() where T : Serie

    BaseChart.GetSerieIndexIfStack<T>

    public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie

    BaseChart.GetSerieSameStackTotalValue<T>

    public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie

    BaseChart.GetSeriesMinMaxValue

    public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)

    BaseChart.GetSerieTotalGap<T>

    public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie

    BaseChart.GetSerieTotalWidth<T>

    public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie

    BaseChart.GetTitlePosition

    public Vector3 GetTitlePosition(Title title)

    BaseChart.GetVisualMapOfSerie

    public VisualMap GetVisualMapOfSerie(Serie serie)

    BaseChart.GetXDataZoomOfSerie

    public DataZoom GetXDataZoomOfSerie(Serie serie)

    BaseChart.GetXLerpColor

    public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)

    BaseChart.GetYLerpColor

    public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)

    BaseChart.HasChartComponent

    public bool HasChartComponent(Type type)

    BaseChart.HasChartComponent<T>

    public bool HasChartComponent<T>()

    BaseChart.HasSerie

    public bool HasSerie(Type type)

    BaseChart.HasSerie<T>

    public bool HasSerie<T>() where T : Serie

    BaseChart.Init

    public void Init(bool defaultChart = true)

    BaseChart.InitAxisRuntimeData

    public virtual void InitAxisRuntimeData(Axis axis) { }

    BaseChart.InsertSerie

    public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)

    BaseChart.InsertSerie<T>

    public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie

    BaseChart.Internal_CheckAnimation

    public void Internal_CheckAnimation()

    BaseChart.IsActiveByLegend

    public virtual bool IsActiveByLegend(string legendName)
    +获得指定图例名字的系列是否显示。

    BaseChart.IsAllAxisCategory

    public bool IsAllAxisCategory()
    +纯类目轴。

    BaseChart.IsAllAxisValue

    public bool IsAllAxisValue()
    +纯数值坐标轴(数值轴或对数轴)。

    BaseChart.IsInAnyGrid

    public bool IsInAnyGrid(Vector2 local)

    BaseChart.IsInChart

    public bool IsInChart(float x, float y)

    BaseChart.IsSerieName

    public bool IsSerieName(string name)

    BaseChart.MoveDownSerie

    public bool MoveDownSerie(int serieIndex)

    BaseChart.MoveUpSerie

    public bool MoveUpSerie(int serieIndex)

    BaseChart.OnAfterDeserialize

    public void OnAfterDeserialize()

    BaseChart.OnBeforeSerialize

    public void OnBeforeSerialize()

    BaseChart.OnBeginDrag

    public override void OnBeginDrag(PointerEventData eventData)

    BaseChart.OnDataZoomRangeChanged

    public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)

    BaseChart.OnDrag

    public override void OnDrag(PointerEventData eventData)

    BaseChart.OnEndDrag

    public override void OnEndDrag(PointerEventData eventData)

    BaseChart.OnLegendButtonClick

    public virtual void OnLegendButtonClick(int index, string legendName, bool show)

    BaseChart.OnLegendButtonEnter

    public virtual void OnLegendButtonEnter(int index, string legendName)

    BaseChart.OnLegendButtonExit

    public virtual void OnLegendButtonExit(int index, string legendName)

    BaseChart.OnPointerClick

    public override void OnPointerClick(PointerEventData eventData)

    BaseChart.OnPointerDown

    public override void OnPointerDown(PointerEventData eventData)

    BaseChart.OnPointerEnter

    public override void OnPointerEnter(PointerEventData eventData)

    BaseChart.OnPointerExit

    public override void OnPointerExit(PointerEventData eventData)

    BaseChart.OnPointerUp

    public override void OnPointerUp(PointerEventData eventData)

    BaseChart.OnScroll

    public override void OnScroll(PointerEventData eventData)

    BaseChart.RefreshBasePainter

    public void RefreshBasePainter()

    BaseChart.RefreshChart

    public void RefreshChart(int serieIndex)
    +在下一帧刷新图表的指定serie。

    public void RefreshChart(Serie serie)
    +在下一帧刷新图表的指定serie。

    BaseChart.RefreshDataZoom

    public void RefreshDataZoom()
    +在下一帧刷新DataZoom

    BaseChart.RefreshGraph

    public override void RefreshGraph()

    BaseChart.RefreshPainter

    public void RefreshPainter(Serie serie)

    BaseChart.RefreshTopPainter

    public void RefreshTopPainter()

    BaseChart.RefreshUpperPainter

    public void RefreshUpperPainter()

    BaseChart.RemoveAllChartComponent

    public void RemoveAllChartComponent()

    BaseChart.RemoveAllSerie

    public virtual void RemoveAllSerie()

    v3.2.0 开始支持

    移除所有的Serie。当确认只需要移除Serie时使用该接口,其他情况下一般用RemoveData()。

    BaseChart.RemoveChartComponent

    public bool RemoveChartComponent(MainComponent component)

    BaseChart.RemoveChartComponent<T>

    public bool RemoveChartComponent<T>(int index = 0)

    BaseChart.RemoveChartComponents

    public int RemoveChartComponents(Type type)

    BaseChart.RemoveChartComponents<T>

    public int RemoveChartComponents<T>()

    BaseChart.RemoveData

    public virtual void RemoveData(string serieName)
    +清除指定系列名称的数据。

    BaseChart.RemoveSerie

    public void RemoveSerie(int serieIndex)

    public void RemoveSerie(Serie serie)

    BaseChart.RemoveSerie<T>

    public void RemoveSerie<T>() where T : Serie

    BaseChart.ReplaceSerie

    public bool ReplaceSerie(Serie oldSerie, Serie newSerie)

    BaseChart.ResetChartStatus

    public void ResetChartStatus()

    v3.10.0 开始支持

    重置图表状态。当设置某些参数后,由于动画影响,可能导致图表状态不正确,此时可以调用该接口重置图表状态。

    BaseChart.ResetDataIndex

    public bool ResetDataIndex(int serieIndex)
    +重置serie的数据项索引。避免数据项索引异常。

    BaseChart.SetBasePainterMaterial

    public void SetBasePainterMaterial(Material material)
    +设置Base Painter的材质球

    BaseChart.SetInsertDataToHead

    public void SetInsertDataToHead(bool insertDataToHead)

    v3.11.0 开始支持

    设置数据插入到头部。

    BaseChart.SetMaxCache

    public void SetMaxCache(int maxCache)
    +设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。

    BaseChart.SetPainterActive

    public void SetPainterActive(int index, bool flag)

    BaseChart.SetSerieActive

    public void SetSerieActive(int serieIndex, bool active)
    +设置指定系列是否显示。

    public void SetSerieActive(Serie serie, bool active)

    BaseChart.SetSeriePainterMaterial

    public void SetSeriePainterMaterial(Material material)
    +设置Serie Painter的材质球

    BaseChart.SetTopPainterMaterial

    public void SetTopPainterMaterial(Material material)
    +设置Top Painter的材质球

    BaseChart.SetUpperPainterMaterial

    public void SetUpperPainterMaterial(Material material)
    +设置Upper Painter的材质球

    BaseChart.TriggerTooltip

    public bool TriggerTooltip(Vector3 localPosition)

    v3.7.0 开始支持

    在指定的位置尝试触发Tooltip.

    BaseChart.TryAddChartComponent

    public bool TryAddChartComponent(Type type)

    BaseChart.TryAddChartComponent<T>

    public bool TryAddChartComponent<T>(out T component) where T : MainComponent

    BaseChart.TryGetChartComponent<T>

    public bool TryGetChartComponent<T>(out T component, int index = 0)

    BaseChart.UpdateData

    public bool UpdateData(int serieIndex, int dataIndex, double value)
    +更新指定系列中的指定索引数据。

    public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
    +更新指定系列指定索引指定维数的数据。维数从0开始。

    public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
    +更新指定系列指定索引的数据项的多维数据。

    public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
    +更新指定系列指定索引指定维数的数据。维数从0开始。

    public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
    +更新指定系列指定索引的数据项的多维数据。

    BaseChart.UpdateDataName

    public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
    +更新指定系列中的指定索引数据名称。

    BaseChart.UpdateLegendColor

    public virtual void UpdateLegendColor(string legendName, bool active)

    BaseChart.UpdateTheme

    public void UpdateTheme(Theme theme)
    +切换图表主题。

    BaseChart.UpdateXAxisData

    public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
    +更新X轴类目数据。

    BaseChart.UpdateXAxisIcon

    public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
    +更新X轴图标。

    BaseChart.UpdateYAxisData

    public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
    +更新Y轴类目数据。

    BaseChart.UpdateYAxisIcon

    public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
    +更新Y轴图标。

    BaseGraph

    class in XCharts.Runtime / 继承自: MaskableGraphic,IPointerDownHandler,IPointerUpHandler, / 子类: BaseChart,UIComponent

    BaseGraph.chartHideFlags

    public virtual HideFlags chartHideFlags

    BaseGraph.clickPos

    public Vector2 clickPos

    BaseGraph.forceOpenRaycastTarget

    public bool forceOpenRaycastTarget
    +强制开启鼠标事件检测。

    BaseGraph.graphAnchoredPosition

    public Vector2 graphAnchoredPosition

    BaseGraph.graphHeight

    public float graphHeight
    +图形的高

    BaseGraph.graphMaxAnchor

    public Vector2 graphMaxAnchor

    BaseGraph.graphMinAnchor

    public Vector2 graphMinAnchor

    BaseGraph.graphPivot

    public Vector2 graphPivot

    BaseGraph.graphPosition

    public Vector3 graphPosition
    +图形的左下角起始坐标。

    BaseGraph.graphRect

    public Rect graphRect

    BaseGraph.graphSizeDelta

    public Vector2 graphSizeDelta

    BaseGraph.graphWidth

    public float graphWidth
    +图形的宽

    BaseGraph.graphX

    public float graphX
    +图形的X

    BaseGraph.graphY

    public float graphY
    +图形的Y

    BaseGraph.isPointerClick

    public bool isPointerClick
    +鼠标是否点击了图表。

    BaseGraph.isPointerInChart

    public bool isPointerInChart
    +鼠标是否在图表内。

    BaseGraph.onBeginDrag

    public Action<PointerEventData, BaseGraph> onBeginDrag
    +鼠标开始拖拽回调。

    BaseGraph.onDrag

    public Action<PointerEventData, BaseGraph> onDrag
    +鼠标拖拽回调。

    BaseGraph.onEndDrag

    public Action<PointerEventData, BaseGraph> onEndDrag
    +鼠标结束拖拽回调。

    BaseGraph.onPointerClick

    public Action<PointerEventData, BaseGraph> onPointerClick
    +鼠标点击回调。

    BaseGraph.onPointerDown

    public Action<PointerEventData, BaseGraph> onPointerDown
    +鼠标按下回调。

    BaseGraph.onPointerEnter

    public Action<PointerEventData, BaseGraph> onPointerEnter
    +鼠标进入回调。

    BaseGraph.onPointerExit

    public Action<PointerEventData, BaseGraph> onPointerExit
    +鼠标退出回调。

    BaseGraph.onPointerUp

    public Action<PointerEventData, BaseGraph> onPointerUp
    +鼠标弹起回调。

    BaseGraph.onScroll

    public Action<PointerEventData, BaseGraph> onScroll
    +鼠标滚动回调。

    BaseGraph.painter

    public Painter painter

    BaseGraph.pointerPos

    public Vector2 pointerPos
    +鼠标位置。

    BaseGraph.warningInfo

    public string warningInfo
    +警告信息。

    BaseGraph.CheckWarning

    public string CheckWarning()
    +检测警告信息。

    BaseGraph.LocalPointToScreenPoint

    public Vector2 LocalPointToScreenPoint(Vector2 localPoint)

    v3.7.0 开始支持

    图表内坐标转屏幕坐标。

    BaseGraph.LocalPointToWorldPoint

    public Vector2 LocalPointToWorldPoint(Vector2 localPoint)

    v3.7.0 开始支持

    图表内坐标转世界坐标。

    BaseGraph.OnBeginDrag

    public virtual void OnBeginDrag(PointerEventData eventData)

    BaseGraph.OnDrag

    public virtual void OnDrag(PointerEventData eventData)

    BaseGraph.OnEndDrag

    public virtual void OnEndDrag(PointerEventData eventData)

    BaseGraph.OnPointerClick

    public virtual void OnPointerClick(PointerEventData eventData)

    BaseGraph.OnPointerDown

    public virtual void OnPointerDown(PointerEventData eventData)

    BaseGraph.OnPointerEnter

    public virtual void OnPointerEnter(PointerEventData eventData)

    BaseGraph.OnPointerExit

    public virtual void OnPointerExit(PointerEventData eventData)

    BaseGraph.OnPointerUp

    public virtual void OnPointerUp(PointerEventData eventData)

    BaseGraph.OnScroll

    public virtual void OnScroll(PointerEventData eventData)

    BaseGraph.RebuildChartObject

    public void RebuildChartObject()
    +移除并重新创建所有图表的Object。

    BaseGraph.RefreshAllComponent

    public void RefreshAllComponent()

    BaseGraph.RefreshGraph

    public virtual void RefreshGraph()
    +在下一帧刷新图形。

    BaseGraph.SaveAsImage

    public void SaveAsImage(string imageType = "png", string savePath = "")
    +保存图表为图片。

    BaseGraph.ScreenPointToChartPoint

    public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)

    BaseGraph.SetPainterDirty

    public void SetPainterDirty()
    +重新初始化Painter

    BaseGraph.SetSize

    public virtual void SetSize(float width, float height)
    +设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform)

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine,AxisMinorSplitLine,AxisMinorTick,AxisSplitLine,AxisTick

    线条基础配置。

    BaseLine.BaseLine

    public BaseLine(bool show) : base()

    BaseLine.Copy

    public void Copy(BaseLine axisLine)

    BaseLine.GetColor

    public Color32 GetColor(Color32 themeColor)

    BaseLine.GetLength

    public float GetLength(float themeLength)

    BaseLine.GetType

    public LineStyle.Type GetType(LineStyle.Type themeType)

    BaseLine.GetWidth

    public float GetWidth(float themeWidth)

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer / 子类: EffectScatter,Scatter

    BaseScatter.containerIndex

    public int containerIndex

    BaseScatter.containterInstanceId

    public int containterInstanceId

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    BaseSerie.anyDirty

    public bool anyDirty

    BaseSerie.ClearData()

    public virtual void ClearData()

    BaseSerie.componentDirty

    public virtual bool componentDirty

    BaseSerie.defaultColorBy

    public virtual SerieColorBy defaultColorBy

    BaseSerie.gameObject

    public GameObject gameObject

    BaseSerie.handler

    public SerieHandler handler

    BaseSerie.multiDimensionLabel

    public virtual bool multiDimensionLabel

    BaseSerie.OnBeforeSerialize()

    public virtual void OnBeforeSerialize()

    BaseSerie.OnDataUpdate()

    public virtual void OnDataUpdate()

    BaseSerie.painter

    public Painter painter

    BaseSerie.refreshComponent

    public Action refreshComponent

    BaseSerie.titleJustForSerie

    public virtual bool titleJustForSerie

    BaseSerie.useSortData

    public virtual bool useSortData

    BaseSerie.vertsDirty

    public virtual bool vertsDirty

    BaseSerie.ClearComponentDirty

    public virtual void ClearComponentDirty()

    BaseSerie.ClearData

    public virtual void ClearData() { }

    BaseSerie.ClearDirty

    public virtual void ClearDirty()

    BaseSerie.ClearVerticesDirty

    public virtual void ClearVerticesDirty()

    BaseSerie.IsComponentDirty

    public static bool IsComponentDirty(ChildComponent component)

    BaseSerie.IsVertsDirty

    public static bool IsVertsDirty(ChildComponent component)

    BaseSerie.OnAfterDeserialize

    public virtual void OnAfterDeserialize()

    BaseSerie.OnBeforeSerialize

    public virtual void OnBeforeSerialize() { }

    BaseSerie.OnDataUpdate

    public virtual void OnDataUpdate() { }

    BaseSerie.OnRemove

    public virtual void OnRemove()

    BaseSerie.RefreshLabel

    public void RefreshLabel()

    BaseSerie.SetAllDirty

    public virtual void SetAllDirty()

    BaseSerie.SetComponentDirty

    public virtual void SetComponentDirty()

    BaseSerie.SetVerticesDirty

    public virtual void SetVerticesDirty()

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    BorderStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    边框样式。

    BorderStyle.GetRuntimeBorderColor

    public Color32 GetRuntimeBorderColor()

    BorderStyle.GetRuntimeBorderWidth

    public float GetRuntimeBorderWidth()

    BorderStyle.GetRuntimeCornerRadius

    public float[] GetRuntimeCornerRadius()

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    CalendarCoord.IsPointerEnter

    public bool IsPointerEnter()

    CalendarCoord.UpdateRuntimeData

    public void UpdateRuntimeData(BaseChart chart)

    Candlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    Candlestick.containerIndex

    public int containerIndex

    Candlestick.containterInstanceId

    public int containterInstanceId

    Candlestick.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    CandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    蜡烛图,也叫K线图,用于描述证券、衍生品或货币的价格走势的一种金融图表样式。

    ChartCached

    class in XCharts.Runtime

    ChartCached.ColorToDotStr

    public static string ColorToDotStr(Color color)

    ChartCached.ColorToStr

    public static string ColorToStr(Color color)

    ChartCached.FloatToStr

    public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)

    ChartCached.GetSerieLabelName

    public static string GetSerieLabelName(string prefix, int i, int j)

    ChartCached.GetString

    public static string GetString(string prefix, int suffix)

    ChartCached.IntToStr

    public static string IntToStr(int value, string numericFormatter = "")

    ChartCached.NumberToDateStr

    public static string NumberToDateStr(double timestamp, string formatter)

    ChartCached.NumberToDateTime

    public static DateTime NumberToDateTime(double timestamp)

    ChartCached.NumberToStr

    public static string NumberToStr(double value, string formatter)

    ChartCached.NumberToTimeSpan

    public static TimeSpan NumberToTimeSpan(double timestamp)

    ChartCached.NumberToTimeStr

    public static string NumberToTimeStr(double timestamp, string formatter)

    ChartConst

    class in XCharts.Runtime

    ChartDrawer

    class in XCharts.Runtime

    ChartHelper

    class in XCharts.Runtime

    ChartHelper.ignoreVector3

    public static Vector3 ignoreVector3

    ChartHelper.sb

    public static StringBuilder sb

    ChartHelper.ActiveAllObject

    public static void ActiveAllObject(Transform parent, bool active, string match = null)

    ChartHelper.AddIcon

    public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)

    ChartHelper.Cancat

    public static string Cancat(string str1, int i)

    ChartHelper.ClearEventListener

    public static void ClearEventListener(GameObject obj)

    ChartHelper.CopyArray<T>

    public static bool CopyArray<T>(T[] toList, T[] fromList)

    ChartHelper.CopyList<T>

    public static bool CopyList<T>(List<T> toList, List<T> fromList)

    ChartHelper.DestoryGameObject

    public static void DestoryGameObject(GameObject go)

    ChartHelper.DestoryGameObjectByMatch

    public static void DestoryGameObjectByMatch(Transform parent, string containString)

    ChartHelper.DestroyAllChildren

    public static void DestroyAllChildren(Transform parent)

    ChartHelper.EnsureComponent<T>

    public static T EnsureComponent<T>(GameObject gameObject) where T : Component
    +确保对象有指定的组件,如果没有则添加。

    ChartHelper.GetActualValue

    public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)

    ChartHelper.GetAngle360

    public static float GetAngle360(Vector2 from, Vector2 to)
    +获得0-360的角度(12点钟方向为0度)

    ChartHelper.GetBlurColor

    public static Color32 GetBlurColor(Color32 color, float a = 0.3f)

    ChartHelper.GetColor

    public static Color32 GetColor(string hexColorStr)

    ChartHelper.GetDire

    public static Vector3 GetDire(float angle, bool isDegree = false)

    ChartHelper.GetFullName

    public static string GetFullName(Transform transform)

    ChartHelper.GetHighlightColor

    public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)

    ChartHelper.GetLastValue

    public static Vector3 GetLastValue(List<Vector3> list)

    ChartHelper.GetMaxCeilRate

    public static double GetMaxCeilRate(double value, double ceilRate)

    ChartHelper.GetMaxDivisibleValue

    public static double GetMaxDivisibleValue(double max, double ceilRate)

    ChartHelper.GetMaxLogValue

    public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)

    ChartHelper.GetMinCeilRate

    public static double GetMinCeilRate(double value, double ceilRate)

    ChartHelper.GetMinDivisibleValue

    public static double GetMinDivisibleValue(double min, double ceilRate)

    ChartHelper.GetMinLogValue

    public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)

    ChartHelper.GetOrAddComponent<T>

    public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component

    ChartHelper.GetPointList

    public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)

    ChartHelper.GetPos

    public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)

    ChartHelper.GetPosition

    public static Vector3 GetPosition(Vector3 center, float angle, float radius)

    ChartHelper.GetSelectColor

    public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)

    ChartHelper.GetVertialDire

    public static Vector3 GetVertialDire(Vector3 dire)

    ChartHelper.HideAllObject

    public static void HideAllObject(Transform parent, string match = null)

    ChartHelper.IsActiveByScale

    public static bool IsActiveByScale(Image image)

    public static bool IsActiveByScale(Transform transform)

    ChartHelper.IsClearColor

    public static bool IsClearColor(Color color)

    ChartHelper.IsColorAlphaZero

    public static bool IsColorAlphaZero(Color color)

    ChartHelper.IsEquals

    public static bool IsEquals(float d1, float d2)

    ChartHelper.IsIngore

    public static bool IsIngore(Vector3 pos)

    ChartHelper.IsInRect

    public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)

    ChartHelper.IsPointInQuadrilateral

    public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)

    ChartHelper.IsValueEqualsColor

    public static bool IsValueEqualsColor(Color color1, Color color2)

    ChartHelper.IsValueEqualsList<T>

    public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)

    ChartHelper.IsValueEqualsString

    public static bool IsValueEqualsString(string str1, string str2)

    ChartHelper.IsValueEqualsVector2

    public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)

    ChartHelper.IsValueEqualsVector3

    public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)

    ChartHelper.IsZeroVector

    public static bool IsZeroVector(Vector3 pos)

    ChartHelper.ParseFloatFromString

    public static List<float> ParseFloatFromString(string jsonData)

    ChartHelper.ParseStringFromString

    public static List<string> ParseStringFromString(string jsonData)

    ChartHelper.RemoveComponent<T>

    public static void RemoveComponent<T>(GameObject gameObject)

    ChartHelper.RotateRound

    public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)

    ChartHelper.SaveAsImage

    public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")

    ChartHelper.SetActive

    public static bool SetActive(Image image, bool active)

    public static bool SetActive(Text text, bool active)

    public static bool SetActive(Transform transform, bool active)
    +通过设置scale实现是否显示,优化性能,减少GC

    ChartHelper.SetBackground

    public static void SetBackground(Image background, Background imageStyle)

    ChartHelper.SetColorOpacity

    public static void SetColorOpacity(ref Color32 color, float opacity)

    ChartLabel

    class in XCharts.Runtime / 继承自: Image

    ChartLabel.hideIconIfTextEmpty

    public bool hideIconIfTextEmpty

    ChartLabel.isAnimationEnd

    public bool isAnimationEnd

    ChartLabel.isIconActive

    public bool isIconActive

    ChartLabel.rect

    public Rect rect

    ChartLabel.GetHeight

    public float GetHeight()

    ChartLabel.GetPosition

    public Vector3 GetPosition()

    ChartLabel.GetTextHeight

    public float GetTextHeight()

    ChartLabel.GetTextWidth

    public float GetTextWidth()

    ChartLabel.GetWidth

    public float GetWidth()

    ChartLabel.IsActiveByScale

    public bool IsActiveByScale()

    ChartLabel.SetActive

    public void SetActive(bool flag, bool force = false)

    ChartLabel.SetIcon

    public void SetIcon(Image image)

    ChartLabel.SetIconActive

    public void SetIconActive(bool flag)

    ChartLabel.SetIconSize

    public void SetIconSize(float width, float height)

    ChartLabel.SetIconSprite

    public void SetIconSprite(Sprite sprite)

    ChartLabel.SetPadding

    public void SetPadding(float[] padding)

    ChartLabel.SetPosition

    public void SetPosition(Vector3 position)

    ChartLabel.SetRectPosition

    public void SetRectPosition(Vector3 position)

    ChartLabel.SetRotate

    public void SetRotate(float rotate)

    ChartLabel.SetSize

    public void SetSize(float width, float height)

    ChartLabel.SetText

    public bool SetText(string text)

    ChartLabel.SetTextActive

    public void SetTextActive(bool flag)

    ChartLabel.SetTextColor

    public void SetTextColor(Color color)

    ChartLabel.SetTextPadding

    public void SetTextPadding(TextPadding padding)

    ChartLabel.SetTextRotate

    public void SetTextRotate(float rotate)

    ChartLabel.UpdateIcon

    public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null, Color color = default(Color))

    ChartObject

    class in XCharts.Runtime

    ChartObject.Destroy

    public virtual void Destroy()

    ChartText

    class in XCharts.Runtime

    ChartText.tmpText

    public TextMeshProUGUI tmpText

    ChartText.ChartText

    public ChartText(GameObject textParent)

    ChartText.GetColor

    public Color GetColor()

    ChartText.GetPreferredHeight

    public float GetPreferredHeight()

    ChartText.GetPreferredText

    public string GetPreferredText(string content, string suffix, float maxWidth)

    ChartText.GetPreferredWidth

    public float GetPreferredWidth()

    ChartText.GetText

    public string GetText()

    ChartText.SetActive

    public void SetActive(bool flag)

    ChartText.SetAlignment

    public void SetAlignment(TextAnchor alignment)

    ChartText.SetColor

    public void SetColor(Color color)

    ChartText.SetFont

    public void SetFont(TMP_FontAsset font)

    ChartText.SetFontAndSizeAndStyle

    public void SetFontAndSizeAndStyle(TextStyle textStyle, ComponentTheme theme)

    ChartText.SetFontSize

    public void SetFontSize(float fontSize)

    ChartText.SetFontStyle

    public void SetFontStyle(FontStyle fontStyle)

    ChartText.SetLineSpacing

    public void SetLineSpacing(float lineSpacing)

    ChartText.SetLocalEulerAngles

    public void SetLocalEulerAngles(Vector3 position)

    ChartText.SetLocalPosition

    public void SetLocalPosition(Vector3 position)

    ChartText.SetRectPosition

    public void SetRectPosition(Vector3 position)

    ChartText.SetSizeDelta

    public void SetSizeDelta(Vector2 sizeDelta)

    ChartText.SetText

    public void SetText(string text)

    CheckHelper

    class in XCharts.Runtime

    CheckHelper.CheckChart

    public static string CheckChart(BaseChart chart)

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle,AxisAnimation,AxisName,AxisSplitArea,AreaStyle,ArrowStyle,BaseLine,BorderStyle,IconStyle,ImageStyle,ItemStyle,Level,LevelStyle,LineArrow,LineStyle,Location,MLValue,MarqueeStyle,Padding,StageColor,SymbolStyle,TextLimit,TextStyle,CommentItem,CommentMarkStyle,LabelLine,LabelStyle,MarkAreaData,MarkLineData,StateStyle,VisualMapRange,ViewControl,UIComponentTheme,SerieData,SerieDataLink,ComponentTheme,SerieTheme,ThemeStyle

    ChildComponent.anyDirty

    public bool anyDirty
    +需要重绘图表或重新初始化组件。

    ChildComponent.componentDirty

    public virtual bool componentDirty
    +组件重新初始化标记。

    ChildComponent.gameObject

    public GameObject gameObject

    ChildComponent.index

    public virtual int index

    ChildComponent.painter

    public Painter painter

    ChildComponent.refreshComponent

    public Action refreshComponent

    ChildComponent.vertsDirty

    public virtual bool vertsDirty
    +图表重绘标记。

    ChildComponent.ClearComponentDirty

    public virtual void ClearComponentDirty()

    ChildComponent.ClearDirty

    public virtual void ClearDirty()

    ChildComponent.ClearVerticesDirty

    public virtual void ClearVerticesDirty()

    ChildComponent.IsComponentDirty

    public static bool IsComponentDirty(ChildComponent component)

    ChildComponent.IsVertsDirty

    public static bool IsVertsDirty(ChildComponent component)

    ChildComponent.SetAllDirty

    public virtual void SetAllDirty()

    ChildComponent.SetComponentDirty

    public virtual void SetComponentDirty()

    ChildComponent.SetVerticesDirty

    public virtual void SetVerticesDirty()

    ColorUtil

    class in XCharts.Runtime

    ColorUtil.GetColor

    public static Color32 GetColor(string hexColorStr)
    +将字符串颜色值转成Color。

    Comment

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图表注解组件。

    Comment.items

    public List<CommentItem> items
    +注解项。每个注解组件可以设置多个注解项。

    Comment.show

    public bool show
    +是否显示注解组件。

    Comment.GetLabelStyle

    public LabelStyle GetLabelStyle(int index)

    Comment.GetMarkStyle

    public CommentMarkStyle GetMarkStyle(int index)

    Comment.OnChanged

    public void OnChanged()
    +参数变更时的回调处理。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    CommentItem.content

    public string content
    +注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。

    CommentItem.markRect

    public Rect markRect
    +注解区域。

    CommentItem.markStyle

    public CommentMarkStyle markStyle
    +注解标记区域样式。

    CommentItem.show

    public bool show
    +是否显示当前注解项。

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    CommentMarkStyle.lineStyle

    public LineStyle lineStyle
    +线条样式。

    CommentMarkStyle.show

    public bool show
    +是否显示当前注解项。

    ComponentHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    ComponentHandlerAttribute.ComponentHandlerAttribute

    public ComponentHandlerAttribute(Type handler, bool allowMultiple, int order = 3)

    ComponentHelper

    class in XCharts.Runtime

    ComponentHelper.GetAngleAxis

    public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)

    ComponentHelper.GetRadiusAxis

    public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)

    ComponentHelper.GetXAxisOnZeroOffset

    public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)

    ComponentHelper.GetYAxisOnZeroOffset

    public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)

    ComponentHelper.IsAnyCategoryOfYAxis

    public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme,DataZoomTheme,LegendTheme,SubTitleTheme,TitleTheme,TooltipTheme,VisualMapTheme

    ComponentTheme.ComponentTheme

    public ComponentTheme(ThemeType theme)

    ComponentTheme.Copy

    public virtual void Copy(ComponentTheme theme)

    ComponentTheme.Reset

    public virtual void Reset(ComponentTheme defaultTheme)

    CoordOptionsAttribute

    class in XCharts.Runtime / 继承自: Attribute

    CoordOptionsAttribute.Contains<T>

    public bool Contains<T>() where T : CoordSystem

    CoordOptionsAttribute.CoordOptionsAttribute

    public CoordOptionsAttribute(Type coord, Type coord2)

    public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)

    public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord,CalendarCoord,GridCoord,GridCoord3D,ParallelCoord,PolarCoord,SingleAxisCoord

    坐标系系统。

    DataHelper

    class in XCharts.Runtime

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    DataZoom.realtime

    public bool realtime
    +拖动时,是否实时更新系列的视图。如果设置为 false,则只在拖拽结束的时候更新。默认为true,暂不支持修改。

    DataZoom.startEndFunction

    public CustomDataZoomStartEndFunction startEndFunction
    +start和end变更委托。

    DataZoom.GetBackgroundColor

    public Color32 GetBackgroundColor(Color32 themeColor)

    DataZoom.GetBorderColor

    public Color32 GetBorderColor(Color32 themeColor)

    DataZoom.GetFillerColor

    public Color32 GetFillerColor(Color32 themeColor)

    DataZoom.IsContainsAxis

    public bool IsContainsAxis(Axis axis)

    DataZoom.IsContainsXAxis

    public bool IsContainsXAxis(int index)

    DataZoom.IsContainsYAxis

    public bool IsContainsYAxis(int index)

    DataZoom.IsInEndZoom

    public bool IsInEndZoom(Vector2 pos)
    +给定的坐标是否在结束活动条触发区域内

    DataZoom.IsInMarqueeArea

    public bool IsInMarqueeArea(Vector2 pos)

    DataZoom.IsInSelectedZoom

    public bool IsInSelectedZoom(int totalIndex, int index, bool invert)

    DataZoom.IsInStartZoom

    public bool IsInStartZoom(Vector2 pos)
    +给定的坐标是否在开始活动条触发区域内

    DataZoom.IsInZoom

    public bool IsInZoom(Vector2 pos)
    +给定的坐标是否在缩放区域内

    DataZoom.SetDefaultValue

    public override void SetDefaultValue()

    DataZoom.UpdateRuntimeData

    public void UpdateRuntimeData(BaseChart chart)

    DataZoom.FilterMode

    class in XCharts.Runtime

    dataZoom 的运行原理是通过 数据过滤 来达到 数据窗口缩放 的效果。数据过滤模式的设置不同,效果也不同。

    可选:

    • Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    • WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    • Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    • None: 不过滤数据,只改变数轴范围。

    DataZoom.RangeMode

    class in XCharts.Runtime

    The value type of start and end.取值类型

    可选:

    • //Value: The value type of start and end.取值类型
    • Percent: 百分比。

    DataZoomContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    DataZoomContext.endValue

    public double endValue
    +运行时实际范围的结束值

    DataZoomContext.height

    public float height

    DataZoomContext.invert

    public bool invert

    DataZoomContext.isCoordinateDrag

    public bool isCoordinateDrag

    DataZoomContext.isDrag

    public bool isDrag

    DataZoomContext.isEndDrag

    public bool isEndDrag

    DataZoomContext.isMarqueeDrag

    public bool isMarqueeDrag

    DataZoomContext.isStartDrag

    public bool isStartDrag

    DataZoomContext.marqueeEndPos

    public Vector3 marqueeEndPos

    DataZoomContext.marqueeRect

    public Rect marqueeRect

    DataZoomContext.marqueeStartPos

    public Vector3 marqueeStartPos

    DataZoomContext.startValue

    public double startValue
    +运行时实际范围的开始值

    DataZoomContext.width

    public float width

    DataZoomContext.x

    public float x

    DataZoomContext.y

    public float y

    DataZoomHelper

    class in XCharts.Runtime

    DataZoomHelper.UpdateDataZoomRuntimeStartEndValue

    public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)

    DataZoomHelper.UpdateDataZoomRuntimeStartEndValue<T>

    public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    DataZoomTheme.Copy

    public void Copy(DataZoomTheme theme)

    DataZoomTheme.DataZoomTheme

    public DataZoomTheme(ThemeType theme) : base(theme)

    DateTimeUtil

    class in XCharts.Runtime

    DateTimeUtil.GetDateTime

    public static DateTime GetDateTime(double timestamp, bool local = true)

    DateTimeUtil.GetDefaultDateTimeString

    public static string GetDefaultDateTimeString(int timestamp, double range = 0)

    DateTimeUtil.GetTimestamp

    public static int GetTimestamp(DateTime time, bool local = false)

    public static int GetTimestamp(string dateTime, bool local = false)

    DateTimeUtil.IsDateOrTimeRegex

    public static bool IsDateOrTimeRegex(string regex, ref bool date, ref string formatter)

    DebugInfo

    class in XCharts.Runtime

    DebugInfo.avgFps

    public float avgFps
    +平均帧率。

    DebugInfo.foldSeries

    public bool foldSeries
    +是否在Inspector上折叠Serie。

    DebugInfo.fps

    public float fps
    +当前帧率。

    DebugInfo.refreshCount

    public int refreshCount
    +图表每秒刷新次数。

    DebugInfo.show

    public bool show
    +是否显示Debug组件。

    DebugInfo.showAllChartObject

    public bool showAllChartObject
    +是否在Hierarchy试图显示所有chart下的节点。

    DebugInfo.Init

    public void Init(BaseChart chart)

    DebugInfo.Update

    public void Update()

    DefaultAnimationAttribute

    class in XCharts.Runtime / 继承自: Attribute

    DefaultAnimationAttribute.DefaultAnimationAttribute

    public DefaultAnimationAttribute(AnimationType handler, bool enableSerieDataAddedAnimation)

    DefaultTooltipAttribute

    class in XCharts.Runtime / 继承自: Attribute

    DefaultTooltipAttribute.DefaultTooltipAttribute

    public DefaultTooltipAttribute(Tooltip.Type type, Tooltip.Trigger trigger)

    DefineSymbolsUtil

    class in XCharts.Runtime

    DefineSymbolsUtil.AddGlobalDefine

    public static void AddGlobalDefine(string symbol)

    DefineSymbolsUtil.RemoveGlobalDefine

    public static void RemoveGlobalDefine(string symbol)

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    EffectScatter.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    EmphasisStyle.BlurScope

    class in XCharts.Runtime

    淡出范围。

    可选:

    • GridCoord: 淡出范围为坐标系,默认使用该配置。
    • Series: 淡出范围为系列。
    • Global: 淡出范围为全局。

    EmphasisStyle.FocusType

    class in XCharts.Runtime

    聚焦类型。

    可选:

    • None: 不淡出其它图形,默认使用该配置。
    • Self: 只聚焦(不淡出)当前高亮的数据的图形。
    • Series: 聚焦当前高亮的数据所在的系列的所有图形。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    EndLabelStyle.EndLabelStyle

    public EndLabelStyle()

    FormatterHelper

    class in XCharts.Runtime

    FormatterHelper.NeedFormat

    public static bool NeedFormat(string content)

    FormatterHelper.ReplaceAxisLabelContent

    public static void ReplaceAxisLabelContent(ref string content, string value)

    FormatterHelper.TrimAndReplaceLine

    public static string TrimAndReplaceLine(string content)

    GraphData

    class in XCharts.Runtime

    数据结构-图。

    GraphData.AddEdge

    public GraphEdge AddEdge(string nodeId1, string nodeId2, double value)

    GraphData.AddNode

    public GraphNode AddNode(string nodeId, string nodeName, int dataIndex, double value)

    GraphData.BreadthFirstTraverse

    public void BreadthFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)

    GraphData.Clear

    public void Clear()

    GraphData.DeepFirstTraverse

    public void DeepFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)

    GraphData.EachNode

    public void EachNode(System.Action<GraphNode> onEach)

    GraphData.ExpandAllNodes

    public void ExpandAllNodes(bool flag, int level = -1)

    GraphData.ExpandNode

    public void ExpandNode(string nodeId, bool flag)

    GraphData.GetDepthNodes

    public List<List<GraphNode>> GetDepthNodes()

    GraphData.GetEdge

    public GraphEdge GetEdge(string nodeId1, string nodeId2)

    GraphData.GetExpandedNodesCount

    public static int GetExpandedNodesCount(List<GraphNode> nodes)

    GraphData.GetMaxDepth

    public int GetMaxDepth()

    GraphData.GetNode

    public GraphNode GetNode(string nodeId)

    GraphData.GetNodeDepth

    // public void GetNodeDepth(GraphNode node, ref int depth, int recursiveCount = 0)

    public int GetNodeDepth(GraphNode node, int recursiveCount = 0)

    GraphData.GetNodesTotalValue

    public static double GetNodesTotalValue(List<GraphNode> nodes)

    GraphData.GetRootNodes

    public List<GraphNode> GetRootNodes()

    GraphData.GraphData

    public GraphData(bool directed)

    GraphData.IsAllNodeInZeroPosition

    public bool IsAllNodeInZeroPosition()

    GraphData.Refresh

    public void Refresh()

    GraphEdge

    class in XCharts.Runtime

    图的边。

    GraphEdge.GraphEdge

    public GraphEdge(GraphNode node1, GraphNode node2, double value)

    GraphEdge.IsPointInEdge

    public bool IsPointInEdge(Vector2 point)

    GraphNode

    class in XCharts.Runtime

    图的节点。

    GraphNode.degree

    public int degree

    GraphNode.inDegree

    public int inDegree

    GraphNode.outDegree

    public int outDegree

    GraphNode.Expand

    public void Expand(bool flag)

    GraphNode.GraphNode

    public GraphNode(string id, string name, int dataIndex)

    GraphNode.IsAllInEdgesCollapsed

    public bool IsAllInEdgesCollapsed()

    GraphNode.IsAnyInEdgesExpanded

    public bool IsAnyInEdgesExpanded()

    GraphNode.ToString

    public override string ToString()

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    GridCoord.BoundaryPoint

    public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref List<Vector3> point)
    +给定的线段和Grid边界的交点

    GridCoord.Clamp

    public void Clamp(ref Vector3 pos)

    v3.7.0 开始支持

    将位置限制在网格内。

    GridCoord.ClampX

    public void ClampX(ref Vector3 pos)

    v3.7.0 开始支持

    将位置的X限制在网格内。

    GridCoord.ClampY

    public void ClampY(ref Vector3 pos)

    v3.7.0 开始支持

    将位置的Y限制在网格内。

    GridCoord.Contains

    public bool Contains(float x, float y)
    +给定的位置是否在网格内。

    public bool Contains(Vector3 pos, bool isYAxis)

    v3.7.0 开始支持

    给定的位置是否在网格内。

    GridCoord.ContainsX

    public bool ContainsX(float x)

    v3.7.0 开始支持

    给定的x是否在网格内。

    GridCoord.ContainsY

    public bool ContainsY(float y)

    v3.7.0 开始支持

    给定的y是否在网格内。

    GridCoord.IsPointerEnter

    public bool IsPointerEnter()
    +指针是否在网格内。

    GridCoord.NotAnyIntersect

    public bool NotAnyIntersect(Vector3 sp, Vector3 ep)

    v3.10.0 开始支持

    判断给定的线段是否与Grid边界是否完全不会相交。

    GridCoord.UpdateRuntimeData

    public void UpdateRuntimeData(BaseChart chart)

    GridCoord3D

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    v3.11.0 开始支持

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    GridCoord3D.Clamp

    public void Clamp(ref Vector3 pos)
    +将位置限制在网格内。

    GridCoord3D.Contains

    public bool Contains(Vector3 pos)
    +给定的位置是否在网格内。

    GridCoord3D.IsLeft

    public bool IsLeft()
    +The opening of the coordinate system faces to the left. 坐标系开口朝向左边。

    GridCoord3D.IsPointerEnter

    public bool IsPointerEnter()
    +指针是否在网格内。

    GridCoord3D.NotAnyIntersect

    public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
    +判断给定的线段是否与Grid边界是否完全不会相交。

    GridCoord3D.UpdateRuntimeData

    public void UpdateRuntimeData(BaseChart chart)

    GridCoord3DContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    GridCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    GridLayout.UpdateRuntimeData

    public void UpdateRuntimeData(BaseChart chart)

    GridLayoutContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Heatmap

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    Heatmap.containerIndex

    public int containerIndex

    Heatmap.containterInstanceId

    public int containterInstanceId

    Heatmap.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    HeatmapChart

    class in XCharts.Runtime / 继承自: BaseChart

    热力图主要通过颜色去表现数值的大小,必须要配合 visualMap 组件使用。 可以应用在直角坐标系以及地理坐标系上,这两个坐标系上的表现形式相差很大,直角坐标系上必须要使用两个类目轴。

    HeatmapChart.DefaultCountHeatmapChart

    public void DefaultCountHeatmapChart()
    +默认计数热力图。

    HeatmapType

    class in XCharts.Runtime

    热力图类型。通过颜色映射划分。

    可选:

    • Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    • Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    IconStyle.align

    public Align align
    +水平方向对齐方式。

    IconStyle.autoHideWhenLabelEmpty

    public bool autoHideWhenLabelEmpty
    +当label内容为空时是否自动隐藏图标

    IconStyle.color

    public Color color
    +图标颜色。

    IconStyle.height

    public float height
    +图标高。

    IconStyle.layer

    public Layer layer
    +显示在上层还是在下层。

    IconStyle.offset

    public Vector3 offset
    +图标偏移。

    IconStyle.show

    public bool show
    +是否显示图标。

    IconStyle.sprite

    public Sprite sprite
    +图标的图片。

    IconStyle.type

    public Image.Type type
    +图片的显示类型。

    IconStyle.width

    public float width
    +图标宽。

    IconStyle.Clone

    public IconStyle Clone()

    IconStyle.Copy

    public void Copy(IconStyle iconStyle)

    IconStyle.Reset

    public void Reset()

    IconStyle.Layer

    class in XCharts.Runtime

    可选:

    • UnderText: The icon is display under the label text. 图标在标签文字下
    • AboveText: The icon is display above the label text. 图标在标签文字上

    IgnoreDoc

    class in XCharts.Runtime / 继承自: Attribute

    IgnoreDoc.IgnoreDoc

    public IgnoreDoc()

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    ImageStyle.autoColor

    public bool autoColor
    +是否自动颜色。

    ImageStyle.color

    public Color color
    +图标颜色。

    ImageStyle.height

    public float height
    +图标高。

    ImageStyle.show

    public bool show
    +是否显示图标。

    ImageStyle.sprite

    public Sprite sprite
    +图标的图片。

    ImageStyle.type

    public Image.Type type
    +图片的显示类型。

    ImageStyle.width

    public float width
    +图标宽。

    ImageStyle.Clone

    public ImageStyle Clone()

    ImageStyle.Copy

    public void Copy(ImageStyle imageStyle)

    ImageStyle.Reset

    public void Reset()

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    Indicator.indicatorList

    public List<Indicator> indicatorList
    +指示器列表。

    Indicator.max

    public double max
    +指示器的最大值,默认为 0 无限制。

    Indicator.min

    public double min
    +指示器的最小值,默认为 0 无限制。

    Indicator.name

    public string name
    +指示器名称。

    Indicator.show

    public bool show
    +是否显示雷达坐标系组件。

    Indicator.text

    public Text text
    +指示器的文本组件。

    Indicator.AddIndicator

    public RadarCoord.Indicator AddIndicator(string name, double min, double max)

    Indicator.AddIndicatorList

    public void AddIndicatorList(List<string> nameList, double min = 0, double max = 0)

    v3.3.0 开始支持

    Indicator.ClearData

    public override void ClearData()

    Indicator.GetFormatterIndicatorContent

    public string GetFormatterIndicatorContent(string indicatorName)

    Indicator.GetIndicator

    public RadarCoord.Indicator GetIndicator(int indicatorIndex)

    Indicator.GetIndicatorMax

    public double GetIndicatorMax(int index)

    Indicator.GetIndicatorMin

    public double GetIndicatorMin(int index)

    Indicator.GetIndicatorName

    public string GetIndicatorName(int indicatorIndex)

    Indicator.GetIndicatorPosition

    public Vector3 GetIndicatorPosition(int index)

    Indicator.IsInIndicatorRange

    public bool IsInIndicatorRange(int index, double value)

    Indicator.IsInRange

    public bool IsInRange(double value)

    Indicator.IsPointerEnter

    public bool IsPointerEnter()

    Indicator.SetDefaultValue

    public override void SetDefaultValue()

    Indicator.UpdateIndicator

    public bool UpdateIndicator(int indicatorIndex, string name, double min, double max)

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Radar,BaseScatter

    InputHelper

    class in XCharts.Runtime

    InputHelper.GetKeyDown

    public static bool GetKeyDown(KeyCode keyCode)

    InputHelper.GetTouch

    public static Touch GetTouch(int v)

    InteractData

    class in XCharts.Runtime

    InteractData.Reset

    public void Reset()

    InteractData.SetColor

    public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)

    InteractData.SetPosition

    public void SetPosition(ref bool needInteract, Vector3 pos)

    InteractData.SetValue

    public void SetValue(ref bool needInteract, float value, bool previousValueZero = false)

    InteractData.SetValueAndColor

    public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)

    InteractData.ToString

    public override string ToString()

    InteractData.TryGetColor

    public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)

    InteractData.TryGetPosition

    public bool TryGetPosition(ref Vector3 pos, ref bool interacting, float animationDuration = 250)

    InteractData.TryGetValue

    public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)

    InteractData.TryGetValueAndColor

    public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref bool interacting, float animationDuration = 250)

    public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location,Comment,Legend,Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,LineArrow,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord,CalendarCoord,GridCoord,GridCoord3D,ParallelCoord,PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,ItemStyle,LineStyle,SerieSymbol,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar,SimplifiedCandlestick,SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    图形样式。

    ItemStyle.GetBorderColor

    public Color32 GetBorderColor(Color32 defaultColor)

    ItemStyle.GetBorderColor0

    public Color32 GetBorderColor0(Color32 defaultColor)

    ItemStyle.GetColor

    public Color32 GetColor(Color32 defaultColor)

    ItemStyle.GetColor0

    public Color32 GetColor0(Color32 defaultColor)

    ItemStyle.GetGradientColor

    public Color32 GetGradientColor(float value, Color32 defaultColor)

    ItemStyle.GetToColor

    public Color32 GetToColor()

    ItemStyle.IsNeedCorner

    public bool IsNeedCorner()

    ItemStyle.IsNeedGradient

    public bool IsNeedGradient()

    ItemStyle.Reset

    public void Reset()

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis,DataZoom,CalendarCoord,GridCoord,GridLayout,GridCoord3D,ParallelCoord

    JsonUtil

    class in XCharts.Runtime

    JsonUtil.GetJsonArray<T>

    public static T[] GetJsonArray<T>(string json)

    JsonUtil.GetJsonObject<T>

    public static T GetJsonObject<T>(string json)

    JsonUtil.GetWebJson<T>

    public static IEnumerator GetWebJson<T>(string url, Action<T> callback)

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    标签的引导线

    LabelLine.GetEndSymbolOffset

    public Vector3 GetEndSymbolOffset()

    LabelLine.GetStartSymbolOffset

    public Vector3 GetStartSymbolOffset()

    LabelLine.Reset

    public void Reset()

    LabelLine.LineType

    class in XCharts.Runtime

    标签视觉引导线类型

    可选:

    • BrokenLine: 折线
    • Curves: 曲线
    • HorizontalLine: 水平线

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent / 子类: AxisLabel,EndLabelStyle,TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    LabelStyle.Clone

    public virtual LabelStyle Clone()

    LabelStyle.Copy

    public virtual void Copy(LabelStyle label)

    LabelStyle.GetColor

    public Color GetColor(Color defaultColor)

    LabelStyle.GetFormatterContent

    public virtual string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)

    LabelStyle.GetFormatterDateTime

    public string GetFormatterDateTime(int labelIndex, double value, double minValue, double maxValue)

    LabelStyle.GetOffset

    public Vector3 GetOffset(float radius)

    LabelStyle.IsAutoSize

    public bool IsAutoSize()

    LabelStyle.IsDefaultPosition

    public bool IsDefaultPosition(Position position)

    LabelStyle.IsInside

    public bool IsInside()
    +是否在内部。

    LabelStyle.Reset

    public void Reset()

    LabelStyle.Position

    class in XCharts.Runtime

    标签的位置。

    可选:

    • Default: 标签的位置。
    • Outside: 饼图扇区外侧,通过视觉引导线连到相应的扇区。
    • Inside: 饼图扇区内部。
    • Center: 在饼图中心位置。
    • Top: 图形标志的顶部。
    • Bottom: 图形标志的底部。
    • Left: 图形标志的左边。
    • Right: 图形标志的右边。
    • Start: 线的起始点。
    • Middle: 线的中点。
    • End: 线的结束点。

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    Lang.GetCandlestickDimensionName

    public string GetCandlestickDimensionName(int i)

    Lang.GetDay

    public string GetDay(int day)

    Lang.GetMonthAbbr

    public string GetMonthAbbr(int month)

    LangCandlestick

    class in XCharts.Runtime

    LangCandlestick.List<string>()

    public List<string> dimensionNames = new List<string>()

    LangTime

    class in XCharts.Runtime

    LangTime.List<string>

    public List<string> dayOfMonth = new List<string>()

    public List<string> dayOfWeek = new List<string>()

    public List<string> dayOfWeekAbbr = new List<string>()

    public List<string> monthAbbr = new List<string>()

    LayerHelper

    class in XCharts.Runtime

    LayerHelper.IsFixedWidthHeight

    public static bool IsFixedWidthHeight(RectTransform rt)

    LayerHelper.IsStretchPivot

    public static bool IsStretchPivot(RectTransform rt)

    Legend

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    Legend.vertsDirty

    public override bool vertsDirty
    +图表是否需要刷新(图例组件不需要刷新图表)

    Legend.AddData

    public void AddData(string name)
    +添加图例。

    Legend.ClearComponentDirty

    public override void ClearComponentDirty()

    Legend.ClearData

    public override void ClearData()
    +清空。

    Legend.ContainsData

    public bool ContainsData(string name)
    +是否包括由指定名字的图例

    Legend.GetColor

    public Color GetColor(int index)

    Legend.GetData

    public string GetData(int index)
    +获得指定索引的图例。

    Legend.GetIcon

    public Sprite GetIcon(int index)
    +获得指定索引的图例按钮。

    Legend.GetIndex

    public int GetIndex(string legendName)
    +获得指定图例的索引。

    Legend.GetPosition

    public Vector3 GetPosition(int index, Vector3 defaultPos)

    Legend.OnChanged

    public void OnChanged()
    +参数变更时的回调处理。

    Legend.RemoveButton

    public void RemoveButton()
    +移除所有图例按钮。

    Legend.RemoveData

    public void RemoveData(string name)
    +移除指定名字的图例。

    Legend.SetButton

    public void SetButton(string name, LegendItem item, int total)
    +给图例绑定按钮。

    Legend.UpdateButtonColor

    public void UpdateButtonColor(string name, Color color)
    +更新图例按钮颜色。

    Legend.UpdateContentColor

    public void UpdateContentColor(string name, Color color)
    +更新图例文字颜色。

    Legend.SelectedMode

    class in XCharts.Runtime

    图例选择的模式,控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。

    可选:

    • Multiple: 多选。
    • Single: 单选。
    • None: 无法选择。

    Legend.Type

    class in XCharts.Runtime

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    可选:

    • Auto: 自动匹配。
    • Custom: 自定义图标。
    • EmptyCircle: 空心圆。
    • Circle: 圆形。
    • Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    • Triangle: 三角形。
    • Diamond: 菱形。
    • Candlestick: 烛台(可用于K线图)。

    LegendContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    LegendContext.background

    public Image background

    LegendContext.center

    public Vector2 center

    LegendContext.height

    public float height
    +运行时图例的总高度

    LegendContext.width

    public float width
    +运行时图例的总宽度

    LegendHelper

    class in XCharts.Runtime

    LegendHelper.CheckDataHighlighted

    public static int CheckDataHighlighted(Serie serie, string legendName, bool heighlight)

    LegendHelper.CheckDataShow

    public static bool CheckDataShow(Serie serie, string legendName, bool show)

    LegendHelper.GetContentColor

    public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)

    LegendHelper.GetIconColor

    public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)

    LegendHelper.ResetItemPosition

    public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)

    LegendHelper.SetLegendBackground

    public static void SetLegendBackground(Legend legend, ImageStyle style)

    LegendItem

    class in XCharts.Runtime

    LegendItem.button

    public Button button

    LegendItem.gameObject

    public GameObject gameObject

    LegendItem.index

    public int index

    LegendItem.legendName

    public string legendName

    LegendItem.name

    public string name

    LegendItem.text

    public ChartText text

    LegendItem.GetIconColor

    public Color GetIconColor()

    LegendItem.GetIconRect

    public Rect GetIconRect()

    LegendItem.SetActive

    public void SetActive(bool active)

    LegendItem.SetBackground

    public void SetBackground(ImageStyle imageStyle)

    LegendItem.SetButton

    public void SetButton(Button button)

    LegendItem.SetContent

    public bool SetContent(string content)

    LegendItem.SetContentBackgroundColor

    public void SetContentBackgroundColor(Color color)

    LegendItem.SetContentColor

    public void SetContentColor(Color color)

    LegendItem.SetContentPosition

    public void SetContentPosition(Vector3 offset)

    LegendItem.SetIcon

    public void SetIcon(Image icon)

    LegendItem.SetIconActive

    public void SetIconActive(bool active)

    LegendItem.SetIconColor

    public void SetIconColor(Color color)

    LegendItem.SetIconImage

    public void SetIconImage(Sprite image)

    LegendItem.SetIconSize

    public void SetIconSize(float width, float height)

    LegendItem.SetObject

    public void SetObject(GameObject obj)

    LegendItem.SetPosition

    public void SetPosition(Vector3 position)

    LegendItem.SetText

    public void SetText(ChartText text)

    LegendItem.SetTextBackground

    public void SetTextBackground(Image image)

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    LegendTheme.Copy

    public void Copy(LegendTheme theme)

    LegendTheme.LegendTheme

    public LegendTheme(ThemeType theme) : base(theme)

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    Level.depth

    public int depth
    +层级深度。

    Level.itemStyle

    public ItemStyle itemStyle
    +数据项样式。

    Level.label

    public LabelStyle label
    +文本标签样式。

    Level.lineStyle

    public LineStyle lineStyle
    +线条样式。

    Level.upperLabel

    public LabelStyle upperLabel
    +上方的文本标签样式。

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    LevelStyle.levels

    public List<Level> levels
    +各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    LevelStyle.show

    public bool show
    +是否启用LevelStyle

    Line

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    Line.containerIndex

    public int containerIndex

    Line.containterInstanceId

    public int containterInstanceId

    Line.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    Line.ConvertSerie

    public static Line ConvertSerie(Serie serie)

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent

    LineArrow.Position

    class in XCharts.Runtime

    可选:

    • End: 末端箭头
    • Start: 头端箭头

    LineChart

    class in XCharts.Runtime / 继承自: BaseChart

    折线图是用折线将各个数据点标志连接起来的图表,用于展现数据的变化趋势。可用于直角坐标系和极坐标系上。 设置 areaStyle 后可以绘制面积图。

    LineChart.DefaultAreaLineChart

    public void DefaultAreaLineChart()
    +默认面积折线图。

    LineChart.DefaultDashLineChart

    public void DefaultDashLineChart()
    +默认虚线折线图。

    LineChart.DefaultLogLineChart

    public void DefaultLogLineChart()
    +默认对数轴折线图。

    LineChart.DefaultSmoothAreaLineChart

    public void DefaultSmoothAreaLineChart()
    +默认平滑面积折线图。

    LineChart.DefaultSmoothLineChart

    public void DefaultSmoothLineChart()
    +默认平滑折线图。

    LineChart.DefaultStackAreaLineChart

    public void DefaultStackAreaLineChart()
    +默认堆叠面积折线图。

    LineChart.DefaultStackLineChart

    public void DefaultStackLineChart()
    +默认堆叠折线图。

    LineChart.DefaultStepLineChart

    public void DefaultStepLineChart()
    +默认阶梯折线图。

    LineChart.DefaultTimeLineChart

    public void DefaultTimeLineChart()
    +默认时间折线图。

    LineHelper

    class in XCharts.Runtime

    LineHelper.GetDataAverageRate

    public static int GetDataAverageRate(Serie serie, float axisLength, int maxCount, bool isYAxis)

    LineHelper.GetLineWidth

    public static float GetLineWidth(ref bool interacting, Serie serie, float defaultWidth)

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    LineStyle.Clone

    public LineStyle Clone()

    LineStyle.Copy

    public void Copy(LineStyle lineStyle)

    LineStyle.GetColor

    public Color32 GetColor(Color32 themeColor)

    LineStyle.GetGradientColor

    public Color32 GetGradientColor(float value, Color32 defaultColor)

    LineStyle.GetLength

    public float GetLength(float themeLength)

    LineStyle.GetType

    public Type GetType(Type themeType)

    LineStyle.GetWidth

    public float GetWidth(float themeWidth)

    LineStyle.IsNeedGradient

    public bool IsNeedGradient()

    LineStyle.IsNotSolidLine

    public bool IsNotSolidLine()

    LineStyle.LineStyle

    public LineStyle(float width)

    public LineStyle(LineStyle.Type type)

    public LineStyle(LineStyle.Type type, float width)

    LineStyle.Type

    class in XCharts.Runtime

    线的类型。

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    LineType

    class in XCharts.Runtime

    折线图样式类型

    可选:

    • Normal: 普通折线图。
    • Smooth: 平滑曲线。
    • StepStart: 阶梯线图:当前点。
    • StepMiddle: 阶梯线图:当前点和下一个点的中间。
    • StepEnd: 阶梯线图:下一个拐点。

    ListFor

    class in XCharts.Runtime / 继承自: Attribute / 子类: ListForComponent,ListForSerie

    ListFor.ListFor

    public ListFor(Type type)

    ListForComponent

    class in XCharts.Runtime / 继承自: ListFor

    ListForComponent.ListForComponent

    public ListForComponent(Type type) : base(type)

    ListForSerie

    class in XCharts.Runtime / 继承自: ListFor

    ListForSerie.ListForSerie

    public ListForSerie(Type type) : base(type)

    ListPool<T>

    class in XCharts.Runtime

    ListPool<T>.ClearAll

    public static void ClearAll()

    ListPool<T>.Get

    public static List<T> Get()

    ListPool<T>.Release

    public static void Release(List<T> toRelease)

    Location

    class in XCharts.Runtime / 继承自: ChildComponent,IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    Location.runtimeAnchorMax

    public Vector2 runtimeAnchorMax

    Location.runtimeAnchorMin

    public Vector2 runtimeAnchorMin
    +Location对应的anchorMin。

    Location.runtimeBottom

    public float runtimeBottom

    Location.runtimeLeft

    public float runtimeLeft

    Location.runtimePivot

    public Vector2 runtimePivot
    +Loation对应的中心点。

    Location.runtimeRight

    public float runtimeRight

    Location.runtimeTextAlignment

    public TextAnchor runtimeTextAlignment
    +Location对应的Anchor锚点

    Location.runtimeTMPTextAlignment

    public TextAlignmentOptions runtimeTMPTextAlignment

    Location.runtimeTop

    public float runtimeTop

    Location.GetPosition

    public Vector3 GetPosition(float chartWidth, float chartHeight)
    +返回在坐标系中的具体位置

    Location.IsBottom

    public bool IsBottom()

    Location.IsCenter

    public bool IsCenter()

    Location.IsTop

    public bool IsTop()

    Location.OnChanged

    public void OnChanged()
    +属性变更时更新textAnchor,minAnchor,maxAnchor,pivot

    Location.UpdateRuntimeData

    public void UpdateRuntimeData(float chartWidth, float chartHeight)

    Location.Align

    class in XCharts.Runtime

    对齐方式

    可选:

    • TopLeft: 对齐方式
    • TopRight: 对齐方式
    • TopCenter: 对齐方式
    • BottomLeft: 对齐方式
    • BottomRight: 对齐方式
    • BottomCenter: 对齐方式
    • Center: 对齐方式
    • CenterLeft: 对齐方式
    • CenterRight: 对齐方式

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis,Background,Comment,DataZoom,Legend,MarkArea,MarkLine,Settings,Title,Tooltip,VisualMap,GridLayout,CoordSystem

    MainComponent.anyDirty

    public bool anyDirty
    +需要重绘图表或重新初始化组件。

    MainComponent.ClearData()

    public virtual void ClearData()

    MainComponent.componentDirty

    public virtual bool componentDirty
    +组件重新初始化标记。

    MainComponent.gameObject

    public GameObject gameObject

    MainComponent.index

    public int index

    MainComponent.instanceId

    public int instanceId

    MainComponent.painter

    public Painter painter

    MainComponent.refreshComponent

    public Action refreshComponent

    MainComponent.Reset()

    public virtual void Reset()

    MainComponent.ResetStatus()

    public virtual void ResetStatus()

    MainComponent.SetDefaultValue()

    public virtual void SetDefaultValue()

    MainComponent.vertsDirty

    public virtual bool vertsDirty
    +图表重绘标记。

    MainComponent.ClearComponentDirty

    public virtual void ClearComponentDirty()

    MainComponent.ClearData

    public virtual void ClearData() { }

    MainComponent.ClearDirty

    public virtual void ClearDirty()

    MainComponent.ClearVerticesDirty

    public virtual void ClearVerticesDirty()

    MainComponent.CompareTo

    public int CompareTo(object obj)

    MainComponent.OnRemove

    public virtual void OnRemove()

    MainComponent.Reset

    public virtual void Reset() { }

    MainComponent.ResetStatus

    public virtual void ResetStatus() { }

    MainComponent.SetAllDirty

    public virtual void SetAllDirty()

    MainComponent.SetComponentDirty

    public virtual void SetComponentDirty()

    MainComponent.SetDefaultValue

    public virtual void SetDefaultValue() { }

    MainComponent.SetVerticesDirty

    public virtual void SetVerticesDirty()

    MainComponentContext

    class in XCharts.Runtime / 子类: AxisContext,DataZoomContext,LegendContext,RadarCoordContext,VisualMapContext,GridCoordContext,GridLayoutContext,GridCoord3DContext,ParallelCoordContext,PolarCoordContext

    MainComponentHandler

    class in XCharts.Runtime / 子类: AxisHandler<T>,MainComponentHandler<T>

    MainComponentHandler.attribute

    public ComponentHandlerAttribute attribute

    MainComponentHandler.BeforceSerieUpdate()

    public virtual void BeforceSerieUpdate()

    MainComponentHandler.chart

    public BaseChart chart

    MainComponentHandler.eventData)

    public virtual void OnBeginDrag(PointerEventData eventData)

    MainComponentHandler.eventData)

    public virtual void OnDrag(PointerEventData eventData)

    MainComponentHandler.eventData)

    public virtual void OnEndDrag(PointerEventData eventData)

    MainComponentHandler.eventData)

    public virtual void OnPointerClick(PointerEventData eventData)

    MainComponentHandler.eventData)

    public virtual void OnPointerDown(PointerEventData eventData)

    MainComponentHandler.eventData)

    public virtual void OnPointerEnter(PointerEventData eventData)

    MainComponentHandler.eventData)

    public virtual void OnPointerExit(PointerEventData eventData)

    MainComponentHandler.eventData)

    public virtual void OnPointerUp(PointerEventData eventData)

    MainComponentHandler.eventData)

    public virtual void OnScroll(PointerEventData eventData)

    MainComponentHandler.InitComponent()

    public virtual void InitComponent()

    MainComponentHandler.inited

    public bool inited

    MainComponentHandler.order

    public int order

    MainComponentHandler.RemoveComponent()

    public virtual void RemoveComponent()

    MainComponentHandler.sb)

    public virtual void CheckComponent(StringBuilder sb)

    MainComponentHandler.serieIndex)

    public virtual void OnSerieDataUpdate(int serieIndex)

    MainComponentHandler.Update()

    public virtual void Update()

    MainComponentHandler.vh)

    public virtual void DrawBase(VertexHelper vh)

    MainComponentHandler.vh)

    public virtual void DrawTop(VertexHelper vh)

    MainComponentHandler.vh)

    public virtual void DrawUpper(VertexHelper vh)

    MainComponentHandler.BeforceSerieUpdate

    public virtual void BeforceSerieUpdate() { }

    MainComponentHandler.CheckComponent

    public virtual void CheckComponent(StringBuilder sb) { }

    MainComponentHandler.DrawBase

    public virtual void DrawBase(VertexHelper vh) { }

    MainComponentHandler.DrawTop

    public virtual void DrawTop(VertexHelper vh) { }

    MainComponentHandler.DrawUpper

    public virtual void DrawUpper(VertexHelper vh) { }

    MainComponentHandler.InitComponent

    public virtual void InitComponent() { }

    MainComponentHandler.OnBeginDrag

    public virtual void OnBeginDrag(PointerEventData eventData) { }

    MainComponentHandler.OnDrag

    public virtual void OnDrag(PointerEventData eventData) { }

    MainComponentHandler.OnEndDrag

    public virtual void OnEndDrag(PointerEventData eventData) { }

    MainComponentHandler.OnPointerClick

    public virtual void OnPointerClick(PointerEventData eventData) { }

    MainComponentHandler.OnPointerDown

    public virtual void OnPointerDown(PointerEventData eventData) { }

    MainComponentHandler.OnPointerEnter

    public virtual void OnPointerEnter(PointerEventData eventData) { }

    MainComponentHandler.OnPointerExit

    public virtual void OnPointerExit(PointerEventData eventData) { }

    MainComponentHandler.OnPointerUp

    public virtual void OnPointerUp(PointerEventData eventData) { }

    MainComponentHandler.OnScroll

    public virtual void OnScroll(PointerEventData eventData) { }

    MainComponentHandler.OnSerieDataUpdate

    public virtual void OnSerieDataUpdate(int serieIndex) { }

    MainComponentHandler.RemoveComponent

    public virtual void RemoveComponent() { }

    MainComponentHandler.Update

    public virtual void Update() { }

    MainComponentHandler<T>

    class in XCharts.Runtime / 继承自: MainComponentHandler

    MainComponentHandler<T>.component

    public T component

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    MarkArea.runtimeLabel

    public ChartLabel runtimeLabel
    +图表标域,常用于标记图表中某个范围的数据。

    MarkArea.runtimeLabelPosition

    public Vector3 runtimeLabelPosition

    MarkArea.runtimeRect

    public Rect runtimeRect

    MarkArea.SetDefaultValue

    public override void SetDefaultValue()

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    MarkAreaData.runtimeValue

    public double runtimeValue
    +标域的数据。

    MarkAreaType

    class in XCharts.Runtime

    标域类型

    可选:

    • None: 标域类型
    • Min: 最小值。
    • Max: 最大值。
    • Average: 平均值。
    • Median: 中位数。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    MarkLine.SetDefaultValue

    public override void SetDefaultValue()

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    MarkLineData.runtimeCurrentEndPosition

    public Vector3 runtimeCurrentEndPosition

    MarkLineData.runtimeEndPosition

    public Vector3 runtimeEndPosition

    MarkLineData.runtimeInGrid

    public bool runtimeInGrid

    MarkLineData.runtimeLabel

    public ChartLabel runtimeLabel

    MarkLineData.runtimeStartPosition

    public Vector3 runtimeStartPosition

    MarkLineData.runtimeValue

    public double runtimeValue

    MarkLineType

    class in XCharts.Runtime

    标线类型

    可选:

    • None: 标线类型
    • Min: 最小值。
    • Max: 最大值。
    • Average: 平均值。
    • Median: 中位数。

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    MarqueeStyle.apply

    public bool apply
    +选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。

    MarqueeStyle.areaStyle

    public AreaStyle areaStyle
    +选取框区域填充样式。

    MarqueeStyle.lineStyle

    public LineStyle lineStyle
    +选取框区域边框样式。

    MarqueeStyle.onEnd

    public Action<DataZoom> onEnd
    +自定义选取框结束选取时的回调。

    MarqueeStyle.onGoing

    public Action<DataZoom> onGoing
    +自定义选取框选取进行时的回调。

    MarqueeStyle.onStart

    public Action<DataZoom> onStart
    +自定义选取框开始选取时的回调。

    MarqueeStyle.realRect

    public bool realRect
    +是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。

    MathUtil

    class in XCharts.Runtime

    MathUtil.Abs

    public static double Abs(double d)

    MathUtil.Approximately

    public static bool Approximately(double a, double b)

    MathUtil.Clamp

    public static double Clamp(double d, double min, double max)

    MathUtil.Clamp01

    public static double Clamp01(double value)

    MathUtil.GetPrecision

    public static int GetPrecision(double value)

    MathUtil.IsInteger

    public static bool IsInteger(double value)

    MathUtil.Lerp

    public static double Lerp(double a, double b, double t)

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    MLValue.type

    public Type type

    MLValue.value

    public float value

    MLValue.GetValue

    public float GetValue(float total)
    +根据类型获取值。

    MLValue.MLValue

    public MLValue(Type type, float value)

    MLValue.Type

    class in XCharts.Runtime

    数值类型。

    可选:

    • Percent: 百分比形式。
    • Absolute: 绝对值形式。
    • Extra: 额外形式。

    MonoBehaviour

    class in / 子类: XLog

    ObjectPool<T> where T

    class in XCharts.Runtime / 继承自: new()

    ObjectPool<T> where T.countActive

    public int countActive

    ObjectPool<T> where T.countAll

    public int countAll

    ObjectPool<T> where T.countInactive

    public int countInactive

    ObjectPool<T> where T.ClearAll

    public void ClearAll()

    ObjectPool<T> where T.Get

    public T Get()

    ObjectPool<T> where T.new

    public class ObjectPool<T> where T : new()

    ObjectPool<T> where T.ObjectPool

    public ObjectPool(UnityAction<T> actionOnGet, UnityAction<T> actionOnRelease, bool newIfEmpty = true)

    ObjectPool<T> where T.Release

    public void Release(T element)

    Orient

    class in XCharts.Runtime

    垂直还是水平布局方式。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    Padding.Padding()

    public Padding()

    Padding.Padding

    public Padding(float top, float right, float bottom, float left)

    Padding.SetPadding

    public void SetPadding(float top, float right, float bottom, float left)

    Painter

    class in XCharts.Runtime / 继承自: MaskableGraphic

    Painter.index

    public int index

    Painter.onPopulateMesh

    public Action<VertexHelper, Painter> onPopulateMesh

    Painter.type

    public Type type

    Painter.CheckRefresh

    public void CheckRefresh()

    Painter.Init

    public void Init()

    Painter.Refresh

    public void Refresh()

    Painter.SetActive

    public void SetActive(bool flag, bool isDebugMode = false)

    Painter.Type

    class in XCharts.Runtime

    可选:

    • Base:
    • Serie:
    • Top:

    Parallel

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    Parallel.containerIndex

    public int containerIndex

    Parallel.containterInstanceId

    public int containterInstanceId

    Parallel.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    ParallelAxis.SetDefaultValue

    public override void SetDefaultValue()

    ParallelChart

    class in XCharts.Runtime / 继承自: BaseChart

    平行坐标系,通过绘制垂直于坐标轴的平行线来显示数据的一种可视化图表。

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    ParallelCoord.Contains

    public bool Contains(float x, float y)

    ParallelCoord.IsPointerEnter

    public bool IsPointerEnter()

    ParallelCoord.UpdateRuntimeData

    public void UpdateRuntimeData(BaseChart chart)

    ParallelCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Pie

    class in XCharts.Runtime / 继承自: Serie

    Pie.defaultColorBy

    public override SerieColorBy defaultColorBy

    Pie.titleJustForSerie

    public override bool titleJustForSerie

    Pie.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    Pie.ConvertSerie

    public static Pie ConvertSerie(Serie serie)

    PieChart

    class in XCharts.Runtime / 继承自: BaseChart

    饼图主要用于显示不同类目占比的情况,通过弧长来反映数据的大小占比。

    PieChart.DefaultAreaRosePieChart

    public void DefaultAreaRosePieChart()
    +默认面积玫瑰饼图。

    PieChart.DefaultDonutPieChart

    public void DefaultDonutPieChart()
    +默认甜甜圈饼图。

    PieChart.DefaultLabelDonutPieChart

    public void DefaultLabelDonutPieChart()
    +默认带标签甜甜圈饼图。

    PieChart.DefaultLabelPieChart

    public void DefaultLabelPieChart()
    +默认带标签饼图。

    PieChart.DefaultRadiusRosePieChart

    public void DefaultRadiusRosePieChart()
    +默认玫瑰饼图。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    PolarAxisTheme.base(theme)

    public PolarAxisTheme(ThemeType theme) : base(theme)

    PolarAxisTheme.PolarAxisTheme

    public PolarAxisTheme(ThemeType theme) : base(theme) { }

    PolarChart

    class in XCharts.Runtime / 继承自: BaseChart

    极坐标系,可以用于散点图和折线图。

    PolarChart.DefaultHeatmapPolarChart

    public void DefaultHeatmapPolarChart()
    +默认极坐标色块图。

    PolarChart.DefaultRadialBarPolarChart

    public void DefaultRadialBarPolarChart()
    +默认径向柱状极坐标图。

    PolarChart.DefaultTangentialBarPolarChart

    public void DefaultTangentialBarPolarChart()
    +默认切向柱状极坐标图。

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    PolarCoord.Contains

    public bool Contains(Vector3 pos)

    PolarCoord.IsPointerEnter

    public bool IsPointerEnter()

    PolarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    PropertyUtil

    class in XCharts.Runtime

    PropertyUtil.SetClass<T>

    public static bool SetClass<T>(ref T currentValue, T newValue, bool notNull = false) where T : class

    PropertyUtil.SetColor

    public static bool SetColor(ref Color32 currentValue, Color32 newValue)

    PropertyUtil.SetStruct<T>

    public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct

    Radar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    Radar.containerIndex

    public int containerIndex

    Radar.containterInstanceId

    public int containterInstanceId

    Radar.defaultColorBy

    public override SerieColorBy defaultColorBy

    Radar.multiDimensionLabel

    public override bool multiDimensionLabel

    Radar.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    RadarAxisTheme.RadarAxisTheme

    public RadarAxisTheme(ThemeType theme) : base(theme)

    RadarChart

    class in XCharts.Runtime / 继承自: BaseChart

    雷达图主要用于显示多变量的数据,例如足球运动员的各项属性分析。依赖雷达组件。

    RadarChart.DefaultCircleRadarChart

    public void DefaultCircleRadarChart()
    +默认圆形雷达图。

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadarCoord.PositionType

    class in XCharts.Runtime

    显示位置。

    可选:

    • Vertice: 显示在顶点处。
    • Between: 显示在两者之间。

    RadarCoord.Shape

    class in XCharts.Runtime

    雷达图绘制类型,支持 'Polygon' 和 'Circle'。

    可选:

    • Polygon: 雷达图绘制类型,支持 'Polygon' 和 'Circle'。
    • Circle: 雷达图绘制类型,支持 'Polygon' 和 'Circle'。

    RadarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    RadarCoordContext.center

    public Vector3 center
    +雷达图在容器中的具体中心点。

    RadarCoordContext.dataRadius

    public float dataRadius

    RadarCoordContext.isPointerEnter

    public bool isPointerEnter

    RadarCoordContext.radius

    public float radius
    +雷达图的运行时实际半径。

    RadarType

    class in XCharts.Runtime

    雷达图类型。

    可选:

    • Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    • Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    RadiusAxis.SetDefaultValue

    public override void SetDefaultValue()
    +极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    RadiusAxisTheme.base(theme)

    public RadiusAxisTheme(ThemeType theme) : base(theme)

    RadiusAxisTheme.RadiusAxisTheme

    public RadiusAxisTheme(ThemeType theme) : base(theme) { }

    ReflectionUtil

    class in XCharts.Runtime

    ReflectionUtil.DeepCloneSerializeField

    public static object DeepCloneSerializeField(object obj)

    ReflectionUtil.InvokeListAdd

    public static void InvokeListAdd(object obj, FieldInfo field, object item)

    ReflectionUtil.InvokeListAddTo<T>

    public static void InvokeListAddTo<T>(object obj, FieldInfo field, Action<T> callback)

    ReflectionUtil.InvokeListClear

    public static void InvokeListClear(object obj, FieldInfo field)

    ReflectionUtil.InvokeListCount

    public static int InvokeListCount(object obj, FieldInfo field)

    ReflectionUtil.InvokeListGet<T>

    public static T InvokeListGet<T>(object obj, FieldInfo field, int i)

    RequireChartComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    RequireChartComponentAttribute.RequireChartComponentAttribute

    public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)

    public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)

    Ring

    class in XCharts.Runtime / 继承自: Serie

    Ring.defaultColorBy

    public override SerieColorBy defaultColorBy

    Ring.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    Ring.GetDataTotal

    public override double GetDataTotal(int dimension, SerieData serieData = null)

    RingChart

    class in XCharts.Runtime / 继承自: BaseChart

    环形图主要用于显示每一项的比例以及各项之间的关系。

    RingChart.DefaultMultipleRingChart

    public void DefaultMultipleRingChart()
    +默认多圆环图。

    RoseType

    class in XCharts.Runtime

    是否展示成南丁格尔图,通过半径区分数据大小。

    可选:

    • None: 不展示成南丁格尔玫瑰图。
    • Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    • Area: 所有扇区圆心角相同,仅通过半径展现数据大小。

    RuntimeUtil

    class in XCharts.Runtime

    RuntimeUtil.GetAllAssemblyTypes

    public static IEnumerable<Type> GetAllAssemblyTypes()

    RuntimeUtil.GetAllTypesDerivedFrom

    public static IEnumerable<Type> GetAllTypesDerivedFrom(Type type)

    RuntimeUtil.GetAllTypesDerivedFrom<T>

    public static IEnumerable<Type> GetAllTypesDerivedFrom<T>()

    RuntimeUtil.GetAttribute<T>

    public static T GetAttribute<T>(this MemberInfo type, bool check = true) where T : Attribute

    RuntimeUtil.HasSubclass

    public static bool HasSubclass(Type type)

    SampleType

    class in XCharts.Runtime

    采样类型,一般用于折线图。

    可选:

    • Peak: 取峰值。
    • Average: 取过滤点的平均值。
    • Max: 取过滤点的最大值。
    • Min: 取过滤点的最小值。
    • Sum: 取过滤点的和。

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    Scatter.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ScatterChart

    class in XCharts.Runtime / 继承自: BaseChart

    散点图主要用于展现两个数据维度之间的关系。

    ScatterChart.DefaultBubbleChart

    public void DefaultBubbleChart()
    +默认气泡图。

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie,IComparable / 子类: SerieHandler<T>,Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Pie,Radar,Ring,BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    Serie.areaStyle

    public AreaStyle areaStyle
    +区域填充样式。

    Serie.blurStyle

    public BlurStyle blurStyle
    +淡出状态的样式。

    Serie.colorByData

    public bool colorByData
    +取色策略是否为按数据项分配。

    Serie.data

    public List<SerieData> data
    +系列中的数据内容数组。SerieData可以设置1到n维数据。

    Serie.dataCount

    public int dataCount
    +数据项个数。

    Serie.dataDirty

    public bool dataDirty

    Serie.emphasisStyle

    public EmphasisStyle emphasisStyle
    +高亮状态的样式。

    Serie.endLabel

    public LabelStyle endLabel

    Serie.highlight

    public bool highlight
    +该系列是否高亮,一般由图例悬停触发。

    Serie.index

    public int index
    +系列索引。

    Serie.interactDirty

    public bool interactDirty

    Serie.label

    public LabelStyle label
    +图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    Serie.labelDirty

    public bool labelDirty

    Serie.labelLine

    public LabelLine labelLine
    +标签上的视觉引导线。

    Serie.legendName

    public string legendName
    +图例名称。当系列名称不为空时,图例名称即为系列名称;反之则为索引index。

    Serie.lineArrow

    public LineArrow lineArrow
    +折线图的箭头。

    public List<SerieDataLink> links
    +数据节点的边。

    Serie.nameDirty

    public bool nameDirty

    Serie.onClick

    public Action<SerieEventData> onClick
    +点击系列时的回调。

    Serie.onDown

    public Action<SerieEventData> onDown
    +鼠标按下时的回调。

    Serie.onEnter

    public Action<SerieEventData> onEnter
    +鼠标进入时的回调。

    Serie.onExit

    public Action<SerieEventData> onExit
    +鼠标离开时的回调。

    Serie.selectStyle

    public SelectStyle selectStyle
    +选中状态的样式。

    Serie.showDataDimension

    public int showDataDimension
    +数据项里的数据维数。

    Serie.showDataName

    public bool showDataName
    +在Editor的inpsector上是否显示name参数

    Serie.titleDirty

    public bool titleDirty

    Serie.titleStyle

    public TitleStyle titleStyle
    +数据项标题样式。

    Serie.AddChildData

    public SerieData AddChildData(SerieData parent, List<double> value, string name, string id)

    public void AddChildData(SerieData parent, SerieData serieData)

    Serie.AddData

    public SerieData AddData(List<double> valueList, string dataName = null, string dataId = null)
    +将一组数据添加到系列中。 如果数据只有一个,默认添加到维度Y中。

    public SerieData AddData(params double[] values)
    +添加任意维数据到系列中。

    Serie.AddExtraComponent<T>

    public T AddExtraComponent<T>() where T : ChildComponent, ISerieComponent

    public virtual SerieDataLink AddLink(string sourceId, string targetId, double value = 0)
    +添加一个关系图的关系数据。

    Serie.AddSerieData

    public virtual void AddSerieData(SerieData serieData)

    Serie.AddXYData

    public SerieData AddXYData(double xValue, double yValue, string dataName = null, string dataId = null)
    +添加(x,y)数据到维度X和维度Y

    Serie.AddYData

    public SerieData AddYData(double value, string dataName = null, string dataId = null)
    +添加一个数据到维度Y(此时维度X对应的数据是索引)

    Serie.AnimationEnable

    public void AnimationEnable(bool flag)
    +启用或取消初始动画

    Serie.AnimationFadeIn

    public void AnimationFadeIn()
    +渐入动画

    Serie.AnimationFadeOut

    public void AnimationFadeOut()
    +渐出动画

    Serie.AnimationPause

    public void AnimationPause()
    +暂停动画

    Serie.AnimationReset

    public void AnimationReset()
    +重置动画

    Serie.AnimationRestart

    public void AnimationRestart()
    +重置动画

    Serie.AnimationResume

    public void AnimationResume()
    +继续动画

    Serie.CanAddComponent

    public bool CanAddComponent(Type type)

    Serie.CanAddComponent<T>

    public bool CanAddComponent<T>() where T : ChildComponent, ISerieComponent

    Serie.ClearComponentDirty

    public override void ClearComponentDirty()

    Serie.ClearData

    public override void ClearData()
    +清空所有数据

    Serie.ClearDirty

    public override void ClearDirty()

    Serie.ClearHighlight

    public void ClearHighlight()
    +清除所有数据的高亮标志

    public void ClearLinks()
    +清空所有Link数据

    Serie.ClearSerieNameDirty

    public void ClearSerieNameDirty()

    Serie.ClearVerticesDirty

    public override void ClearVerticesDirty()

    Serie.Clone

    public Serie Clone()

    Serie.Clone<T>

    public T Clone<T>() where T : Serie

    Serie.CompareTo

    public int CompareTo(object obj)

    Serie.EnsureComponent

    public ISerieComponent EnsureComponent(Type type)

    Serie.EnsureComponent<T>

    public T EnsureComponent<T>() where T : ChildComponent, ISerieComponent
    +确保系列有该组件。如果没有,则添加。

    Serie.GetBarWidth

    public float GetBarWidth(float categoryWidth, int barCount = 0, float defaultRate = 0.6f)

    Serie.GetComponent

    public ISerieComponent GetComponent(Type type)

    Serie.GetComponent<T>

    public T GetComponent<T>() where T : ChildComponent, ISerieComponent

    Serie.GetData

    public double GetData(int index, int dimension, DataZoom dataZoom = null)
    +获得指定index指定维数的数据

    Serie.GetDataList

    public List<SerieData> GetDataList(DataZoom dataZoom = null)
    +获得系列的数据列表

    Serie.GetDataTotal

    public virtual double GetDataTotal(int dimension, SerieData serieData = null)

    Serie.GetSerieData

    public SerieData GetSerieData(SerieData parent, string id)

    public SerieData GetSerieData(string id, DataZoom dataZoom = null)

    Serie.GetXYData

    public void GetXYData(int index, DataZoom dataZoom, out double xValue, out double yVlaue)
    +获得指定索引的维度X和维度Y的数据

    Serie.GetYCurrData

    public double GetYCurrData(int index, DataZoom dataZoom = null)

    Serie.GetYData

    public void GetYData(int index, out double yData, out string dataName, DataZoom dataZoom = null)
    +获得维度Y索引对应的数据和数据名

    Serie.IsIgnoreIndex

    public bool IsIgnoreIndex(int index, int dimension = 1)

    Serie.IsIgnorePoint

    public bool IsIgnorePoint(int index)

    Serie.IsIgnoreValue

    public bool IsIgnoreValue(double value)

    public bool IsIgnoreValue(SerieData serieData, double value)

    Serie.IsLegendName

    public bool IsLegendName(string legendName)

    Serie.IsMinShowLabelValue

    public bool IsMinShowLabelValue(double value)

    public bool IsMinShowLabelValue(SerieData serieData, int dimension = 1)

    Serie.IsPerformanceMode

    public bool IsPerformanceMode()
    +是否为性能模式。性能模式下不绘制Symbol,不刷新Label,不单独设置数据项配置。

    Serie.IsSerie<T>

    public bool IsSerie<T>() where T : Serie

    Serie.IsSerieDataLegendName

    public bool IsSerieDataLegendName(string legendName)

    Serie.IsSerieLegendName

    public bool IsSerieLegendName(string legendName)

    Serie.IsUseCoord<T>

    public bool IsUseCoord<T>() where T : CoordSystem

    Serie.RemoveAllComponents

    public void RemoveAllComponents()
    +移除所有额外组件。

    Serie.RemoveComponent

    public void RemoveComponent(Type type)

    Serie.RemoveComponent<T>

    public void RemoveComponent<T>() where T : ISerieComponent

    Serie.RemoveData

    public void RemoveData(int index)
    +移除指定索引的数据

    Serie.ResetDataIndex

    public bool ResetDataIndex()
    +重置数据项索引。避免部分数据项的索引异常。

    Serie.ResetInteract

    public void ResetInteract()

    Serie.SetAllDirty

    public override void SetAllDirty()

    Serie.SetCoord<T>

    public bool SetCoord<T>() where T : CoordSystem

    Serie.SetHighlight

    public void SetHighlight(int index, bool flag)
    +设置指定索引的数据为高亮状态

    Serie.SetVerticesDirty

    public override void SetVerticesDirty()

    Serie.UpdateData

    public bool UpdateData(int index, List<double> values)
    +更新指定索引的数据项数据列表

    Serie.UpdateDataName

    public bool UpdateDataName(int index, string name)

    Serie.UpdateXYData

    public bool UpdateXYData(int index, double xValue, double yValue)
    +更新指定索引的维度X和维度Y的数据

    Serie.UpdateYData

    public bool UpdateYData(int index, double value)
    +更新指定索引的维度Y数据

    SerieColorBy

    class in XCharts.Runtime

    从主题中取色策略。

    可选:

    • Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略。
    • Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    • Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。

    SerieComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到Serie的组件。

    SerieComponentAttribute.Contains

    public bool Contains(Type type)

    SerieComponentAttribute.Contains<T>

    public bool Contains<T>() where T : ISerieComponent

    SerieComponentAttribute.SerieComponentAttribute

    public SerieComponentAttribute(Type type1)

    public SerieComponentAttribute(Type type1, Type type2)

    public SerieComponentAttribute(Type type1, Type type2, Type type3)

    public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4)

    public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)

    public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)

    public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieContext

    class in XCharts.Runtime

    SerieContext.titleObject

    public ChartLabel titleObject
    +绘制点

    SerieConvertAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可转化为哪些Serie类型。

    SerieConvertAttribute.Contains

    public bool Contains(Type type)

    SerieConvertAttribute.Contains<T>

    public bool Contains<T>() where T : Serie

    SerieConvertAttribute.SerieConvertAttribute

    public SerieConvertAttribute(Type serie, Type serie2)

    public SerieConvertAttribute(Type serie, Type serie2, Type serie3)

    public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    SerieData.areaStyle

    public AreaStyle areaStyle

    SerieData.blurStyle

    public BlurStyle blurStyle
    +淡出状态的样式。

    SerieData.data

    public List<double> data
    +可指定任意维数的数值列表。

    SerieData.emphasisStyle

    public EmphasisStyle emphasisStyle
    +高亮状态的样式

    SerieData.id

    public string id
    +数据项的唯一id。唯一id不是必须设置的。

    SerieData.index

    public override int index
    +数据项索引。

    SerieData.itemStyle

    public ItemStyle itemStyle
    +单个数据项的样式设置。

    SerieData.labelLine

    public LabelLine labelLine

    SerieData.labelObject

    public ChartLabel labelObject

    SerieData.labelStyle

    public LabelStyle labelStyle
    +单个数据项的标签设置。

    SerieData.legendName

    public string legendName
    +数据项图例名称。当数据项名称不为空时,图例名称即为系列名称;反之则为索引index。

    SerieData.lineStyle

    public LineStyle lineStyle

    SerieData.name

    public string name
    +数据项名称。

    SerieData.parentId

    public string parentId
    +父节点id。父节点id不是必须设置的。

    SerieData.radius

    public float radius
    +自定义半径。可用在饼图中自定义某个数据项的半径。

    SerieData.selected

    public bool selected
    +该数据项是否被选中。

    SerieData.selectStyle

    public SelectStyle selectStyle
    +选中状态的样式。

    SerieData.show

    public bool show
    +该数据项是否要显示。

    SerieData.state

    public SerieState state
    +数据项的默认状态。

    SerieData.symbol

    public SerieSymbol symbol
    +单个数据项的标记设置。

    SerieData.titleObject

    public ChartLabel titleObject

    SerieData.titleStyle

    public TitleStyle titleStyle

    SerieData.ClearComponentDirty

    public override void ClearComponentDirty()

    SerieData.ClearVerticesDirty

    public override void ClearVerticesDirty()

    SerieData.EnsureComponent

    public ISerieDataComponent EnsureComponent(Type type)

    v3.6.0 开始支持

    确保数据项有指定类型的组件,如果没有则添加。

    SerieData.EnsureComponent<T>

    public T EnsureComponent<T>() where T : ChildComponent, ISerieDataComponent

    v3.6.0 开始支持

    确保数据项有指定类型的组件,如果没有则添加。

    SerieData.GetAddAnimationData

    public double GetAddAnimationData(double min, double max, float animationDuration = 500f, bool unscaledTime = false)

    SerieData.GetComponent<T>

    public T GetComponent<T>() where T : ChildComponent, ISerieDataComponent
    +获取数据项的指定类型的组件,如果不存在则返回null。

    SerieData.GetCurrData

    public double GetCurrData(int index, AnimationStyle animation, bool inverse, double min, double max, bool loop = false)

    public double GetCurrData(int index, float dataAddDuration = 500f, float animationDuration = 500f, bool unscaledTime = false, bool inverse = false)

    public double GetCurrData(int index, float dataAddDuration, float animationDuration, bool inverse, double min, double max, bool unscaledTime, bool loop = false)

    SerieData.GetData

    public double GetData(int index, double min, double max)

    SerieData.GetFirstData

    public double GetFirstData(bool unscaledTime, float animationDuration = 500f)

    SerieData.GetLabelHeight

    public float GetLabelHeight()

    SerieData.GetLabelWidth

    public float GetLabelWidth()

    SerieData.GetLastData

    public double GetLastData()

    SerieData.GetMaxData

    public double GetMaxData(bool inverse = false)
    +最大值。

    SerieData.GetMinData

    public double GetMinData(bool inverse = false)
    +最小值。

    SerieData.GetMinMaxData

    public void GetMinMaxData(int startDimensionIndex, bool inverse, out double min, out double max)

    SerieData.GetOrAddComponent<T>

    public T GetOrAddComponent<T>() where T : ChildComponent, ISerieDataComponent

    SerieData.GetPreviousData

    public double GetPreviousData(int index, bool inverse = false)

    SerieData.GetTotalData

    public double GetTotalData()

    SerieData.IsDataChanged

    public bool IsDataChanged()

    SerieData.IsInPolygon

    public bool IsInPolygon(Vector2 p)

    SerieData.List<string>

    public static List<string> extraFieldList = new List<string>()
    +系列中的一个数据项。可存储数据名和1-n维个数据。

    SerieData.OnAdd

    public void OnAdd(AnimationStyle animation, double startValue = 0)

    SerieData.RemoveAllComponent

    public void RemoveAllComponent()

    SerieData.RemoveComponent

    public void RemoveComponent(Type type)

    SerieData.RemoveComponent<T>

    public void RemoveComponent<T>() where T : ISerieDataComponent

    SerieData.Reset

    public void Reset()

    SerieData.SetIconActive

    public void SetIconActive(bool flag)

    SerieData.SetLabelActive

    public void SetLabelActive(bool flag)

    SerieData.SetPolygon

    public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)

    public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5)

    SerieData.UpdateData

    public bool UpdateData(int dimension, double value)

    SerieDataComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到SerieData的组件。

    SerieDataComponentAttribute.Contains

    public bool Contains(Type type)

    SerieDataComponentAttribute.Contains<T>

    public bool Contains<T>() where T : ISerieComponent

    SerieDataComponentAttribute.SerieDataComponentAttribute

    public SerieDataComponentAttribute(Type type1)

    public SerieDataComponentAttribute(Type type1, Type type2)

    public SerieDataComponentAttribute(Type type1, Type type2, Type type3)

    public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4)

    public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)

    public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)

    public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieDataContext

    class in XCharts.Runtime

    SerieDataContext.Reset

    public void Reset()

    SerieDataExtraFieldAttribute

    class in XCharts.Runtime / 继承自: Attribute

    SerieDataExtraFieldAttribute.Contains

    public bool Contains(string field)

    SerieDataExtraFieldAttribute.SerieDataExtraFieldAttribute

    public SerieDataExtraFieldAttribute(string field1)

    public SerieDataExtraFieldAttribute(string field1, string field2)

    public SerieDataExtraFieldAttribute(string field1, string field2, string field3)

    public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4)

    public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5)

    public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6)

    public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7)

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    数据节点之间的连线。可用于桑基图等,桑基图只支持有向无环图,请保证数据的连线是有向无环图。

    SerieDataSortType

    class in XCharts.Runtime

    数据排序方式。

    可选:

    • None: 按数据的顺序。
    • Ascending: 升序。
    • Descending: 降序。

    SerieEventData

    class in XCharts.Runtime

    serie事件的数据。

    SerieEventData.dataIndex

    public int dataIndex
    +在serie.data中的索引。

    SerieEventData.dimension

    public int dimension
    +数据的维度。

    SerieEventData.pointerPos

    public Vector3 pointerPos
    +鼠标在chart中的位置。

    SerieEventData.serieIndex

    public int serieIndex
    +在chart.series中的索引。

    SerieEventData.value

    public double value
    +数据的值。

    SerieEventData.Reset

    public void Reset()

    SerieEventDataPool

    class in XCharts.Runtime

    SerieEventDataPool.Get

    public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)

    SerieEventDataPool.Release

    public static void Release(SerieEventData toRelease)

    SerieHandler

    class in XCharts.Runtime

    SerieHandler.AfterUpdate()

    public virtual void AfterUpdate()

    SerieHandler.attribute

    public SerieHandlerAttribute attribute

    SerieHandler.BeforeUpdate()

    public virtual void BeforeUpdate()

    SerieHandler.chart

    public BaseChart chart

    SerieHandler.defaultDimension

    public virtual int defaultDimension

    SerieHandler.eventData)

    public virtual void OnBeginDrag(PointerEventData eventData)

    SerieHandler.eventData)

    public virtual void OnDrag(PointerEventData eventData)

    SerieHandler.eventData)

    public virtual void OnEndDrag(PointerEventData eventData)

    SerieHandler.eventData)

    public virtual void OnPointerClick(PointerEventData eventData)

    SerieHandler.eventData)

    public virtual void OnPointerDown(PointerEventData eventData)

    SerieHandler.eventData)

    public virtual void OnPointerEnter(PointerEventData eventData)

    SerieHandler.eventData)

    public virtual void OnPointerExit(PointerEventData eventData)

    SerieHandler.eventData)

    public virtual void OnPointerUp(PointerEventData eventData)

    SerieHandler.eventData)

    public virtual void OnScroll(PointerEventData eventData)

    SerieHandler.ForceUpdateSerieContext()

    public virtual void ForceUpdateSerieContext()

    SerieHandler.GetPointerItemDataDimension()

    public virtual int GetPointerItemDataDimension()

    SerieHandler.GetPointerItemDataIndex()

    public virtual int GetPointerItemDataIndex()

    SerieHandler.InitComponent()

    public virtual void InitComponent()

    SerieHandler.inited

    public bool inited

    SerieHandler.legendName)

    public virtual void OnLegendButtonEnter(int index, string legendName)

    SerieHandler.legendName)

    public virtual void OnLegendButtonExit(int index, string legendName)

    SerieHandler.OnDataUpdate()

    public virtual void OnDataUpdate()

    SerieHandler.RefreshLabelInternal()

    public virtual void RefreshLabelInternal()

    SerieHandler.RefreshLabelNextFrame()

    public virtual void RefreshLabelNextFrame()

    SerieHandler.RemoveComponent()

    public virtual void RemoveComponent()

    SerieHandler.sb)

    public virtual void CheckComponent(StringBuilder sb)

    SerieHandler.show)

    public virtual void OnLegendButtonClick(int index, string legendName, bool show)

    SerieHandler.Update()

    public virtual void Update()

    SerieHandler.UpdateSerieContext()

    public virtual void UpdateSerieContext()

    SerieHandler.vh)

    public virtual void DrawBase(VertexHelper vh)

    SerieHandler.vh)

    public virtual void DrawSerie(VertexHelper vh)

    SerieHandler.vh)

    public virtual void DrawTop(VertexHelper vh)

    SerieHandler.vh)

    public virtual void DrawUpper(VertexHelper vh)

    SerieHandler.AfterUpdate

    public virtual void AfterUpdate() { }

    SerieHandler.BeforeUpdate

    public virtual void BeforeUpdate() { }

    SerieHandler.CheckComponent

    public virtual void CheckComponent(StringBuilder sb) { }

    SerieHandler.DrawBase

    public virtual void DrawBase(VertexHelper vh) { }

    SerieHandler.DrawSerie

    public virtual void DrawSerie(VertexHelper vh) { }

    SerieHandler.DrawTop

    public virtual void DrawTop(VertexHelper vh) { }

    SerieHandler.DrawUpper

    public virtual void DrawUpper(VertexHelper vh) { }

    SerieHandler.ForceUpdateSerieContext

    public virtual void ForceUpdateSerieContext() { }

    SerieHandler.InitComponent

    public virtual void InitComponent() { }

    SerieHandler.OnBeginDrag

    public virtual void OnBeginDrag(PointerEventData eventData) { }

    SerieHandler.OnDataUpdate

    public virtual void OnDataUpdate() { }

    SerieHandler.OnDrag

    public virtual void OnDrag(PointerEventData eventData) { }

    SerieHandler.OnEndDrag

    public virtual void OnEndDrag(PointerEventData eventData) { }

    SerieHandler.OnLegendButtonClick

    public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }

    SerieHandler.OnLegendButtonEnter

    public virtual void OnLegendButtonEnter(int index, string legendName) { }

    SerieHandler.OnLegendButtonExit

    public virtual void OnLegendButtonExit(int index, string legendName) { }

    SerieHandler.OnPointerClick

    public virtual void OnPointerClick(PointerEventData eventData) { }

    SerieHandler.OnPointerDown

    public virtual void OnPointerDown(PointerEventData eventData) { }

    SerieHandler.OnPointerEnter

    public virtual void OnPointerEnter(PointerEventData eventData) { }

    SerieHandler.OnPointerExit

    public virtual void OnPointerExit(PointerEventData eventData) { }

    SerieHandler.OnPointerUp

    public virtual void OnPointerUp(PointerEventData eventData) { }

    SerieHandler.OnScroll

    public virtual void OnScroll(PointerEventData eventData) { }

    SerieHandler.RefreshLabelInternal

    public virtual void RefreshLabelInternal() { }

    SerieHandler.RefreshLabelNextFrame

    public virtual void RefreshLabelNextFrame() { }

    SerieHandler.RemoveComponent

    public virtual void RemoveComponent() { }

    SerieHandler.Update

    public virtual void Update() { }

    SerieHandler.UpdateSerieContext

    public virtual void UpdateSerieContext() { }

    SerieHandler where T

    class in / 子类: SerieHandler<T>

    SerieHandler<T>

    class in XCharts.Runtime / 继承自: [SerieHandler where T](#seriehandler where t),Serie

    SerieHandler<T>.labelObject

    public GameObject labelObject

    SerieHandler<T>.serie

    public T serie

    SerieHandler<T>.AfterUpdate

    public override void AfterUpdate()

    SerieHandler<T>.BeforeUpdate

    public override void BeforeUpdate()

    SerieHandler<T>.DrawLabelLineSymbol

    public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)

    SerieHandler<T>.ForceUpdateSerieContext

    public override void ForceUpdateSerieContext()

    SerieHandler<T>.GetPointerItemDataDimension

    public override int GetPointerItemDataDimension()

    SerieHandler<T>.GetPointerItemDataIndex

    public override int GetPointerItemDataIndex()

    SerieHandler<T>.GetSerieDataAutoColor

    public virtual Color GetSerieDataAutoColor(SerieData serieData)

    SerieHandler<T>.GetSerieDataLabelOffset

    public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)

    SerieHandler<T>.GetSerieDataLabelPosition

    public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)

    SerieHandler<T>.GetSerieDataTitlePosition

    public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)

    SerieHandler<T>.InitComponent

    public override void InitComponent()

    SerieHandler<T>.OnLegendButtonClick

    public override void OnLegendButtonClick(int index, string legendName, bool show)

    SerieHandler<T>.OnLegendButtonEnter

    public override void OnLegendButtonEnter(int index, string legendName)

    SerieHandler<T>.OnLegendButtonExit

    public override void OnLegendButtonExit(int index, string legendName)

    SerieHandler<T>.OnPointerClick

    public override void OnPointerClick(PointerEventData eventData)

    SerieHandler<T>.OnPointerDown

    public override void OnPointerDown(PointerEventData eventData)

    SerieHandler<T>.RefreshEndLabelInternal

    public virtual void RefreshEndLabelInternal()

    SerieHandler<T>.RefreshLabelInternal

    public override void RefreshLabelInternal()

    SerieHandler<T>.RefreshLabelNextFrame

    public override void RefreshLabelNextFrame()

    SerieHandler<T>.RemoveComponent

    public override void RemoveComponent()

    SerieHandler<T>.Update

    public override void Update()

    SerieHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    SerieHandlerAttribute.SerieHandlerAttribute

    public SerieHandlerAttribute(Type handler, bool allowMultiple)

    SerieHelper

    class in XCharts.Runtime

    SerieHelper.CloneSerie<T>

    public static T CloneSerie<T>(Serie serie) where T : Serie

    SerieHelper.CopySerie

    public static void CopySerie(Serie oldSerie, Serie newSerie)

    SerieHelper.GetAllMinMaxData

    public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)

    SerieHelper.GetAreaStyle

    public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)

    SerieHelper.GetAverageData

    public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)

    SerieHelper.GetBlurStyle

    public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)

    SerieHelper.GetEmphasisStyle

    public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData)

    SerieHelper.GetItemColor

    public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true)

    SerieHelper.GetItemFormatter

    public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)

    SerieHelper.GetItemMarker

    public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null)

    SerieHelper.GetItemStyle

    public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)

    SerieHelper.GetLineColor

    public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto)

    SerieHelper.GetLineStyle

    public static LineStyle GetLineStyle(Serie serie, SerieData serieData)

    SerieHelper.GetMaxData

    public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null)

    SerieHelper.GetMaxSerieData

    public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)

    SerieHelper.GetMedianData

    public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null)

    SerieHelper.GetMinData

    public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null)

    SerieHelper.GetMinMaxData

    public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)
    +获得系列所有数据的最大最小值。

    SerieHelper.GetMinSerieData

    public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)

    SerieHelper.GetNumericFormatter

    public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)

    SerieHelper.GetSelectStyle

    public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)

    SerieHelper.GetSerieLabel

    public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)

    SerieHelper.GetSerieLabelLine

    public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)

    SerieHelper.GetSerieState

    public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)

    public static SerieState GetSerieState(SerieData serieData)

    SerieHelper.GetSerieSymbol

    public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)

    SerieHelper.GetStateStyle

    public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)

    SerieHelper.GetSysmbolSize

    public static float GetSysmbolSize(Serie serie, SerieData serieData, float defaultSize, SerieState state = SerieState.Auto, bool checkAnimation = false)

    SerieHelper.GetTitleStyle

    public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)

    SerieHelper.IsAllZeroValue

    public static bool IsAllZeroValue(Serie serie, int dimension = 1)
    +系列指定维数的数据是否全部为0。

    SerieHelper.IsDownPoint

    public static bool IsDownPoint(Serie serie, int index)

    SerieHelper.UpdateCenter

    public static void UpdateCenter(Serie serie, BaseChart chart)
    +更新运行时中心点和半径

    SerieHelper.UpdateFilterData

    public static void UpdateFilterData(Serie serie, DataZoom dataZoom)
    +根据dataZoom更新数据列表缓存

    SerieHelper.UpdateMinMaxData

    public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)
    +获得指定维数的最大最小值

    SerieHelper.UpdateRect

    public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)

    SerieHelper.UpdateSerieRuntimeFilterData

    public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)

    SerieLabelHelper

    class in XCharts.Runtime

    SerieLabelHelper.CanShowLabel

    public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)

    SerieLabelHelper.GetLabelColor

    public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)

    SerieLabelHelper.SetGaugeLabelText

    public static void SetGaugeLabelText(Serie serie)

    SerieLabelPool

    class in XCharts.Runtime

    SerieLabelPool.ClearAll

    public static void ClearAll()

    SerieLabelPool.Release

    public static void Release(GameObject element)

    SerieLabelPool.ReleaseAll

    public static void ReleaseAll(Transform parent)

    SerieParams

    class in XCharts.Runtime

    SeriesHelper

    class in XCharts.Runtime

    SeriesHelper.GetLastStackSerie

    public static Serie GetLastStackSerie(List<Serie> series, Serie serie)
    +获得上一个同堆叠且显示的serie。

    SeriesHelper.GetLegalSerieNameList

    public static List<string> GetLegalSerieNameList(List<Serie> series)

    SeriesHelper.GetMaxSerieDataCount

    public static int GetMaxSerieDataCount(List<Serie> series)

    SeriesHelper.GetMinAnimationDuration

    public static float GetMinAnimationDuration(List<Serie> series)

    SeriesHelper.GetNameColor

    public static Color GetNameColor(BaseChart chart, int index, string name)

    SeriesHelper.GetStackSeries

    public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)
    +获得堆叠系列列表

    SeriesHelper.IsAnyClipSerie

    public static bool IsAnyClipSerie(List<Serie> series)
    +是否有需裁剪的serie。

    SeriesHelper.IsAnyColorByDataSerie

    public static bool IsAnyColorByDataSerie(List<Serie> series)
    +是否有任何一个系列是按数据颜色的。

    SeriesHelper.IsLegalLegendName

    public static bool IsLegalLegendName(string name)

    SeriesHelper.IsPercentStack<T>

    public static bool IsPercentStack<T>(List<Serie> series, string stackName) where T : Serie
    +是否时百分比堆叠

    SeriesHelper.IsStack

    public static bool IsStack(List<Serie> series)
    +是否由数据堆叠

    SeriesHelper.IsStack<T>

    public static bool IsStack<T>(List<Serie> series, string stackName) where T : Serie
    +是否堆叠

    SeriesHelper.UpdateSerieNameList

    public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)
    +获得所有系列名,不包含空名字。

    SeriesHelper.UpdateStackDataList

    public static void UpdateStackDataList(List<Serie> series, Serie currSerie, DataZoom dataZoom, List<List<SerieData>> dataList)

    SerieState

    class in XCharts.Runtime

    Serie状态。支持正常、高亮、淡出、选中四种状态。

    可选:

    • Normal: 正常状态。
    • Emphasis: 高亮状态。
    • Blur: 淡出状态。
    • Select: 选中状态。
    • Auto: 自动保持和父节点一致。一般用在SerieData。

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle,ISerieDataComponent

    系列数据项的标记的图形

    SerieSymbol.GetSize

    public float GetSize(List<double> data, float themeSize)
    +根据指定的sizeType获得标记的大小

    SerieSymbol.Reset

    public override void Reset()

    SerieSymbol.ShowSymbol

    public bool ShowSymbol(int dataIndex, int dataCount)

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    SerieTheme.Copy

    public void Copy(SerieTheme theme)

    SerieTheme.SerieTheme

    public SerieTheme(ThemeType theme)

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    Settings.show

    public bool show

    Settings.Copy

    public void Copy(Settings settings)

    Settings.Reset

    public override void Reset()

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    SimplifiedBar.containerIndex

    public int containerIndex

    SimplifiedBar.containterInstanceId

    public int containterInstanceId

    SimplifiedBar.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    SimplifiedBar.ConvertSerie

    public static SimplifiedBar ConvertSerie(Serie serie)

    SimplifiedBarChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化柱状图是柱状图的简化模式,通过简化组件和配置,拥有更好的性能。

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    SimplifiedCandlestick.containerIndex

    public int containerIndex

    SimplifiedCandlestick.containterInstanceId

    public int containterInstanceId

    SimplifiedCandlestick.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    SimplifiedCandlestick.ConvertSerie

    public static SimplifiedCandlestick ConvertSerie(Serie serie)

    SimplifiedCandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化K线图是K线图的简化模式,通过简化组件和配置,拥有更好的性能。

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    SimplifiedLine.containerIndex

    public int containerIndex

    SimplifiedLine.containterInstanceId

    public int containterInstanceId

    SimplifiedLine.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    SimplifiedLine.ConvertSerie

    public static SimplifiedLine ConvertSerie(Serie serie)

    SimplifiedLineChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化折线图是折线图的简化模式,通过简化组件和配置,拥有更好的性能。

    Since

    class in XCharts.Runtime / 继承自: Attribute

    Since.Since

    public Since(string version)

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis,IUpdateRuntimeData

    单轴。

    SingleAxis.SetDefaultValue

    public override void SetDefaultValue()

    SingleAxis.UpdateRuntimeData

    public void UpdateRuntimeData(BaseChart chart)

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    StageColor.color

    public Color32 color
    +颜色。

    StageColor.percent

    public float percent
    +结束位置百分比。

    StageColor.StageColor

    public StageColor(float percent, Color32 color)

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle,EmphasisStyle,SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    StateStyle.ClearComponentDirty

    public override void ClearComponentDirty()

    StateStyle.ClearVerticesDirty

    public override void ClearVerticesDirty()

    StateStyle.Reset

    public void Reset()

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    SubTitleTheme.SubTitleTheme

    public SubTitleTheme(ThemeType theme) : base(theme)

    SVG

    class in XUGL

    SVG.DrawPath

    public static void DrawPath(VertexHelper vh, SVGPath path)

    SVG.Test

    public static void Test(VertexHelper vh)

    SVGPath

    class in XUGL

    SVGPath.AddSegment

    public void AddSegment(SVGPathSeg seg)

    SVGPath.Draw

    public void Draw(VertexHelper vh)

    SVGPath.Parse

    public static SVGPath Parse(string path)

    SVGPathSeg

    class in XUGL

    SVGPathSeg.p1

    public Vector2 p1

    SVGPathSeg.p2

    public Vector2 p2

    SVGPathSeg.p3

    public Vector2 p3

    SVGPathSeg.x

    public float x

    SVGPathSeg.y

    public float y

    SVGPathSeg.SVGPathSeg

    public SVGPathSeg(SVGPathSegType type)

    SVGPathSegType

    class in XUGL

    可选:

    • M: move to
    • L: line to
    • H: horizontal line to
    • V: vertial line to
    • C: curve to
    • S: smooth curve to
    • Q: quadratic bezier curve
    • T: smooth quadratic bezier curve to
    • A: elliptical Arc
    • Z: close path

    SymbolSizeType

    class in XCharts.Runtime

    获取标记图形大小的方式。

    可选:

    • Custom: 自定义大小。
    • FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    • Function: 通过委托函数获取。

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    SymbolStyle.animationSize

    public List<float> animationSize
    +带有涟漪特效动画的散点图的动画参数。

    SymbolStyle.offset3

    public Vector3 offset3

    SymbolStyle.GetColor

    public Color32 GetColor(Color32 defaultColor)

    SymbolStyle.Reset

    public virtual void Reset()

    SymbolType

    class in XCharts.Runtime

    标记图形的类型。

    可选:

    • None: 不显示标记。
    • Custom: 自定义标记。
    • Circle: 圆形。
    • EmptyCircle: 空心圆。
    • Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    • EmptyRect: 空心正方形。
    • Triangle: 三角形。
    • EmptyTriangle: 空心三角形。
    • Diamond: 菱形。
    • EmptyDiamond: 空心菱形。
    • Arrow: 箭头。
    • EmptyArrow: 空心箭头。
    • Plus: 加号。
    • Minus: 减号。

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    TextLimit.Clone

    public TextLimit Clone()

    TextLimit.Copy

    public void Copy(TextLimit textLimit)

    TextLimit.GetLimitContent

    public string GetLimitContent(string content)

    TextLimit.SetRelatedText

    public void SetRelatedText(ChartText txt, float labelWidth)

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    TextPadding.TextPadding()

    public TextPadding()
    +文本的内边距设置。

    TextPadding.TextPadding

    public TextPadding(float top, float right, float bottom, float left)

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    TextStyle.TextStyle()

    public TextStyle()

    TextStyle.Copy

    public void Copy(TextStyle textStyle)

    TextStyle.GetAlignment

    public TextAnchor GetAlignment(TextAnchor defaultAlignment)

    TextStyle.GetColor

    public Color GetColor(Color defaultColor)

    TextStyle.GetFontSize

    public int GetFontSize(ComponentTheme defaultTheme)

    TextStyle.TextStyle

    public TextStyle(int fontSize)

    public TextStyle(int fontSize, FontStyle fontStyle)

    public TextStyle(int fontSize, FontStyle fontStyle, Color color)

    public TextStyle(int fontSize, FontStyle fontStyle, Color color, int rorate)

    TextStyle.UpdateAlignmentByLocation

    public void UpdateAlignmentByLocation(Location location)

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    Theme.axis

    public AxisTheme axis

    Theme.colorPalette

    public List<Color32> colorPalette
    +调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。

    Theme.common

    public ComponentTheme common

    Theme.dataZoom

    public DataZoomTheme dataZoom

    Theme.legend

    public LegendTheme legend

    Theme.serie

    public SerieTheme serie

    Theme.subTitle

    public SubTitleTheme subTitle

    Theme.title

    public TitleTheme title

    Theme.tooltip

    public TooltipTheme tooltip

    Theme.visualMap

    public VisualMapTheme visualMap

    Theme.CheckWarning

    public void CheckWarning(StringBuilder sb)

    Theme.CloneTheme

    public Theme CloneTheme()
    +克隆主题。

    Theme.CopyTheme

    public void CopyTheme(Theme theme)
    +复制主题的所有配置。

    Theme.GetColor

    public static Color32 GetColor(string hexColorStr)
    +将字符串颜色值转成Color。

    Theme.GetColorStr

    public string GetColorStr(int index)
    +获得指定索引的十六进制颜色值字符串。

    Theme.GetHashCode

    public override int GetHashCode()

    Theme.ResetTheme

    public bool ResetTheme()
    +重置,清除所有自定义配置。

    Theme.ResetToDarkTheme

    public static void ResetToDarkTheme(Theme theme)
    +暗主题。

    Theme.ResetToDefaultTheme

    public static void ResetToDefaultTheme(Theme theme)
    +默认主题。

    Theme.SetColorPalette

    public void SetColorPalette(List<string> hexColorStringList)

    Theme.SetDefaultFont

    public void SetDefaultFont()

    Theme.SyncFontToSubComponent

    public void SyncFontToSubComponent()

    Theme.SyncTMPFontToSubComponent

    public void SyncTMPFontToSubComponent()

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    ThemeStyle.axis

    public AxisTheme axis

    ThemeStyle.common

    public ComponentTheme common

    ThemeStyle.customColorPalette

    public List<Color32> customColorPalette

    ThemeStyle.dataZoom

    public DataZoomTheme dataZoom

    ThemeStyle.legend

    public LegendTheme legend

    ThemeStyle.serie

    public SerieTheme serie

    ThemeStyle.show

    public bool show

    ThemeStyle.subTitle

    public SubTitleTheme subTitle

    ThemeStyle.title

    public TitleTheme title

    ThemeStyle.tooltip

    public TooltipTheme tooltip

    ThemeStyle.visualMap

    public VisualMapTheme visualMap

    ThemeStyle.CheckWarning

    public void CheckWarning(StringBuilder sb)

    ThemeStyle.GetBackgroundColor

    public Color32 GetBackgroundColor(Background background)

    ThemeStyle.GetColor

    public static Color32 GetColor(string hexColorStr)
    +将字符串颜色值转成Color。

    ThemeStyle.GetColorStr

    public string GetColorStr(int index)
    +获得指定索引的十六进制颜色值字符串。

    ThemeStyle.SyncSharedThemeColorToCustom

    public void SyncSharedThemeColorToCustom()

    ThemeType

    class in XCharts.Runtime

    主题

    可选:

    • Default: 默认主题。
    • Light: 亮主题。
    • Dark: 暗主题。
    • Custom: 自定义主题。

    Title

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    标题组件,包含主标题和副标题。

    Title.show

    public bool show
    +是否显示标题组件。

    Title.text

    public string text
    +主标题文本,支持使用 \n 换行。

    Title.vertsDirty

    public override bool vertsDirty

    Title.ClearComponentDirty

    public override void ClearComponentDirty()

    Title.OnChanged

    public void OnChanged()

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle,ISerieDataComponent,ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    TitleTheme.TitleTheme

    public TitleTheme(ThemeType theme) : base(theme)

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    Tooltip.alwayShowContent

    public bool alwayShowContent
    +是否触发后一直显示提示框浮层。

    Tooltip.backgroundColor

    public Color backgroundColor
    +提示框的背景颜色。

    Tooltip.backgroundImage

    public Sprite backgroundImage
    +提示框的背景图片。

    Tooltip.backgroundType

    public Image.Type backgroundType
    +提示框的背景图片显示类型。

    Tooltip.fixedHeight

    public float fixedHeight
    +固定高度。比 minHeight 优先。

    Tooltip.fixedWidth

    public float fixedWidth
    +固定宽度。比 minWidth 优先。

    Tooltip.ignoreDataDefaultContent

    public string ignoreDataDefaultContent
    +被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。

    Tooltip.ignoreDataShow

    public bool ignoreDataShow
    +是否显示忽略数据在tooltip上。

    Tooltip.itemFormatter

    public string itemFormatter
    +提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用|来表示多个列的分隔。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {i}或-表示忽略当前项。 {.}为当前所指示的serie或数据项的对应颜色的圆点。
    {a}为当前所指示的serie或数据项的系列名name。
    {b}为当前所指示的serie或数据项的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示的serie或数据项的y维(dimesion为1)的数值。
    {d}为当前所指示的serie或数据项的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示的serie或数据项的数据项serieData的name。
    {f}为当前所指示的serie的默认维度的数据总和。
    {g}为当前所指示的serie的数据总个数。
    {h}为当前所指示的serie的十六进制颜色值。
    {y}为当前所指示的serie的y轴的类目值。
    {c0}表示当前数据项维度为0的数据。
    {c1}表示当前数据项维度为1的数据。
    {d3}表示维度3的数据的百分比。它的分母是默认维度(一般是1维度)数据。
    |表示多个列的分隔。
    示例:"{i}", "{.}|{a}|{c}", "{.}|{b}|{c2:f2}", "{.}|{b}|{y}"

    Tooltip.marker

    public string marker
    +serie的符号标志。

    Tooltip.minHeight

    public float minHeight
    +最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。

    Tooltip.minWidth

    public float minWidth
    +最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。

    Tooltip.offset

    public Vector2 offset
    +提示框相对于鼠标位置的偏移。

    Tooltip.onClickIndex

    public System.Action<int> onClickIndex
    +Tooltip为Click触发时,点击的X轴索引的回调。

    Tooltip.paddingLeftRight

    public int paddingLeftRight
    +左右边距。

    Tooltip.paddingTopBottom

    public int paddingTopBottom
    +上下边距。

    Tooltip.runtimeDataIndex

    public List<int> runtimeDataIndex
    +当前提示框所指示的数据项索引。

    Tooltip.showContent

    public bool showContent
    +是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。

    Tooltip.titleFormatter

    public string titleFormatter
    +提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {y}为value所对应的y轴的类目值。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"

    Tooltip.AddSerieDataIndex

    public void AddSerieDataIndex(int serieIndex, int dataIndex)

    Tooltip.ClearComponentDirty

    public override void ClearComponentDirty()

    Tooltip.ClearData

    public override void ClearData()

    Tooltip.ClearSerieDataIndex

    public void ClearSerieDataIndex()

    Tooltip.GetContentLabelStyle

    public LabelStyle GetContentLabelStyle(int index)

    Tooltip.IsActive

    public bool IsActive()
    +提示框是否显示

    Tooltip.isAnySerieDataIndex

    public bool isAnySerieDataIndex()

    Tooltip.IsSelected

    public bool IsSelected(int index)
    +指定索引的数据项是否被提示框选中

    Tooltip.IsTriggerAxis

    public bool IsTriggerAxis()

    Tooltip.IsTriggerItem

    public bool IsTriggerItem()

    Tooltip.KeepTop

    public void KeepTop()
    +保持Tooltiop显示在最顶上

    Tooltip.SetActive

    public void SetActive(bool flag)
    +设置Tooltip组件是否显示

    Tooltip.SetContentActive

    public void SetContentActive(bool flag)
    +设置文本框是否显示

    Tooltip.UpdateContentPos

    public void UpdateContentPos(Vector2 pos, float width, float height)
    +更新文本框位置

    Tooltip.Position

    class in XCharts.Runtime

    坐标类型。

    可选:

    • Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    • Custom: 自定义。完全自定义显示位置(x,y)。
    • FixedX: 只固定坐标X。Y跟随鼠标位置。
    • FixedY:

    Tooltip.Trigger

    class in XCharts.Runtime

    触发类型。

    可选:

    • Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    • Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    • None: 什么都不触发。
    • Auto: 根据serie的类型自动选择触发类型。

    Tooltip.TriggerOn

    class in XCharts.Runtime

    触发条件。

    可选:

    • MouseMove: 鼠标移动时触发。
    • Click: 鼠标点击时触发。

    Tooltip.Type

    class in XCharts.Runtime

    指示器类型。

    可选:

    • Line: 直线指示器
    • Shadow: 阴影指示器
    • None: 无指示器
    • Cross: 十字准星指示器。坐标轴显示Label和交叉线。
    • Auto: 根据serie的类型自动选择显示指示器。

    TooltipContext

    class in XCharts.Runtime

    TooltipData

    class in XCharts.Runtime

    TooltipHelper

    class in XCharts.Runtime

    TooltipHelper.GetItemNumericFormatter

    public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)

    TooltipHelper.GetLineColor

    public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor)

    TooltipHelper.IsIgnoreFormatter

    public static bool IsIgnoreFormatter(string itemFormatter)

    TooltipHelper.LimitInRect

    public static void LimitInRect(Tooltip tooltip, Rect chartRect)

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    TooltipTheme.Copy

    public void Copy(TooltipTheme theme)

    TooltipTheme.TooltipTheme

    public TooltipTheme(ThemeType theme) : base(theme)

    TooltipView

    class in XCharts.Runtime

    TooltipView.CreateView

    public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)

    TooltipView.GetCurrentPos

    public Vector3 GetCurrentPos()

    TooltipView.GetTargetPos

    public Vector3 GetTargetPos()

    TooltipView.Refresh

    public void Refresh()

    TooltipView.SetActive

    public void SetActive(bool flag)

    TooltipView.Update

    public void Update()

    TooltipView.UpdatePosition

    public void UpdatePosition(Vector3 pos)

    TooltipViewItem

    class in XCharts.Runtime

    UGL

    class in XUGL

    UGUI 图形库

    UGL.DrawDiamond

    public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
    +Draw a diamond. 画菱形(钻石形状)

    public static void DrawDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, Color32 color, Color32 toColor)

    UGL.DrawEllipse

    public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)

    UGL.DrawEmptyDiamond

    public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color, Color32 emptyColor)

    UGL.DrawEmptyTriangle

    public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color, Color32 backgroundColor)

    UGL.DrawLine

    public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)

    public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
    +Draw a line. 画直线

    UGL.DrawMinus

    public static void DrawMinus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    +绘制减号

    UGL.DrawPlus

    public static void DrawPlus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    +绘制加号

    UGL.DrawPolygon

    public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
    +填充任意多边形(目前只支持凸多边形)

    UGL.DrawRectangle

    public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)

    public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)

    public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)

    public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)

    UGL.DrawSquare

    public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
    +Draw a square. 画正方形

    UGL.DrawSvgPath

    public static void DrawSvgPath(VertexHelper vh, string path)

    UGL.DrawTriangle

    public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)

    UGL.Direction

    class in XUGL

    曲线方向

    可选:

    • XAxis: 沿X轴方向
    • YAxis: 沿Y轴方向
    • Random: 随机无序的。如一个闭合的环状曲线。

    UGLExample

    class in XUGL / 继承自: MaskableGraphic

    UGLHelper

    class in XUGL

    UGLHelper.GetAngle360

    public static float GetAngle360(Vector2 from, Vector2 to)
    +获得0-360的角度(12点钟方向为0度)

    UGLHelper.GetBezier

    public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)

    UGLHelper.GetBezier2

    public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)

    UGLHelper.GetBezierList

    public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)

    UGLHelper.GetDire

    public static Vector3 GetDire(float angle, bool isDegree = false)

    UGLHelper.GetIntersection

    public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref List<Vector3> intersection)
    +获得两直线的交点

    UGLHelper.GetPos

    public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)

    UGLHelper.GetVertialDire

    public static Vector3 GetVertialDire(Vector3 dire)

    UGLHelper.IsClearColor

    public static bool IsClearColor(Color color)

    UGLHelper.IsPointInPolygon

    public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)

    public static bool IsPointInPolygon(Vector3 p, params Vector3[] polyons)

    UGLHelper.IsPointInTriangle

    public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)

    UGLHelper.IsValueEqualsColor

    public static bool IsValueEqualsColor(Color color1, Color color2)

    UGLHelper.IsValueEqualsList<T>

    public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)

    UGLHelper.IsValueEqualsString

    public static bool IsValueEqualsString(string str1, string str2)

    UGLHelper.IsValueEqualsVector2

    public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)

    UGLHelper.IsValueEqualsVector3

    public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)

    UGLHelper.IsZeroVector

    public static bool IsZeroVector(Vector3 pos)

    UGLHelper.RotateRound

    public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)

    UIComponent

    class in XCharts.Runtime / 继承自: BaseGraph

    UI组件基类。

    UIComponent.background

    public Background background
    +背景样式。

    UIComponent.chartHideFlags

    public override HideFlags chartHideFlags

    UIComponent.theme

    public UIComponentTheme theme

    UIComponent.SetAllDirty

    public override void SetAllDirty()

    UIComponent.SetDataDirty

    public void SetDataDirty()

    v3.9.0 开始支持

    UIComponent.SetVerticesDirty

    public override void SetVerticesDirty()

    UIComponent.UpdateTheme

    public bool UpdateTheme(ThemeType theme)
    +切换内置主题。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    UIComponentTheme.show

    public bool show

    UIComponentTheme.GetBackgroundColor

    public Color32 GetBackgroundColor(Background background)

    UIHelper

    class in XCharts.Runtime

    UI帮助类。

    ViewControl

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.11.0 开始支持

    3D视角控制组件。

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    VisualMap.range

    public double[] range
    +指定手柄对应数值的位置。range 应在[min,max]范围内。

    VisualMap.runtimeRangeMaxHeight

    public float runtimeRangeMaxHeight

    VisualMap.runtimeRangeMinHeight

    public float runtimeRangeMinHeight

    VisualMap.text

    public string[] text
    +两端的文本,如 ['High', 'Low']

    VisualMap.textGap

    public float[] textGap
    +两端文字主体之间的距离,单位为px。

    VisualMap.vertsDirty

    public override bool vertsDirty

    VisualMap.AddColors

    public void AddColors(List<string> colors)

    VisualMap.ClearComponentDirty

    public override void ClearComponentDirty()

    VisualMap.ClearVerticesDirty

    public override void ClearVerticesDirty()

    VisualMap.GetColor

    public Color32 GetColor(double value)

    VisualMap.GetIndex

    public int GetIndex(double value)

    VisualMap.GetValue

    public double GetValue(Vector3 pos, Rect chartRect)

    VisualMap.IsInRangeMaxRect

    public bool IsInRangeMaxRect(Vector3 local, Rect chartRect, float triangleLen)

    VisualMap.IsInRangeMinRect

    public bool IsInRangeMinRect(Vector3 local, Rect chartRect, float triangleLen)

    VisualMap.IsInRangeRect

    public bool IsInRangeRect(Vector3 local, Rect chartRect)

    VisualMap.IsInRect

    public bool IsInRect(Vector3 local, Rect chartRect, float triangleLen = 20)

    VisualMap.IsInSelectedValue

    public bool IsInSelectedValue(double value)

    VisualMap.IsPiecewise

    public bool IsPiecewise()

    VisualMap.SelectedMode

    class in XCharts.Runtime

    选择模式

    可选:

    • Multiple: 多选。
    • Single: 单选。

    VisualMap.Type

    class in XCharts.Runtime

    类型。分为连续型和分段型。

    可选:

    • Continuous: 连续型。
    • Piecewise: 分段型。

    VisualMapContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    VisualMapContext.max

    public double max

    VisualMapContext.maxDrag

    public bool maxDrag

    VisualMapContext.min

    public double min

    VisualMapContext.minDrag

    public bool minDrag

    VisualMapContext.pointerIndex

    public int pointerIndex
    +鼠标悬停选中的index

    VisualMapContext.pointerValue

    public double pointerValue

    VisualMapHelper

    class in XCharts.Runtime

    VisualMapHelper.AutoSetLineMinMax

    public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)

    VisualMapHelper.GetDimension

    public static int GetDimension(VisualMap visualMap, int defaultDimension)

    VisualMapHelper.IsNeedAreaGradient

    public static bool IsNeedAreaGradient(VisualMap visualMap)

    VisualMapHelper.IsNeedGradient

    public static bool IsNeedGradient(VisualMap visualMap)

    VisualMapHelper.IsNeedLineGradient

    public static bool IsNeedLineGradient(VisualMap visualMap)

    VisualMapHelper.SetMinMax

    public static void SetMinMax(VisualMap visualMap, double min, double max)

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    VisualMapRange.color

    public Color32 color
    +颜色

    VisualMapRange.label

    public string label
    +文字描述

    VisualMapRange.max

    public double max
    +范围最大值

    VisualMapRange.min

    public double min
    +范围最小值

    VisualMapRange.Contains

    public bool Contains(double value, double minMaxRange)

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    VisualMapTheme.Copy

    public void Copy(VisualMapTheme theme)

    VisualMapTheme.VisualMapTheme

    public VisualMapTheme(ThemeType theme) : base(theme)

    Wrapper<T>

    class in XCharts.Runtime

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    XAxis.SetDefaultValue

    public override void SetDefaultValue()
    +直角坐标系 grid 中的 x 轴。

    XAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 x 轴。

    XAxis3D.SetDefaultValue

    public override void SetDefaultValue()
    +直角坐标系 grid 中的 x 轴。

    XChartsMgr

    class in XCharts.Runtime

    XChartsMgr.fullVersion

    public static string fullVersion

    XChartsMgr.AddChart

    public static void AddChart(BaseChart chart)

    XChartsMgr.ContainsChart

    public static bool ContainsChart(BaseChart chart)

    XChartsMgr.GetChart

    public static BaseChart GetChart(string chartName)

    XChartsMgr.GetCharts

    public static List<BaseChart> GetCharts(string chartName)

    XChartsMgr.GetPackageFullPath

    public static string GetPackageFullPath()

    XChartsMgr.GetRepeatChartNameInfo

    public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)

    XChartsMgr.IsRepeatChartName

    public static bool IsRepeatChartName(BaseChart chart, string chartName = null)

    XChartsMgr.RemoveAllChartObject

    public static void RemoveAllChartObject()

    XChartsMgr.RemoveChart

    public static void RemoveChart(string chartName)

    XCResourceImporterWindow

    class in XCharts.Runtime / 继承自: UnityEditor.EditorWindow

    XCResourceImporterWindow.ShowPackageImporterWindow

    public static void ShowPackageImporterWindow()

    XCResourcesImporter

    class in XCharts.Runtime

    XCResourcesImporter.OnDestroy()

    public void OnDestroy()

    XCResourcesImporter.XCResourcesImporter()

    public XCResourcesImporter()

    XCResourcesImporter.OnDestroy

    public void OnDestroy() { }

    XCResourcesImporter.OnGUI

    public void OnGUI()

    XCResourcesImporter.XCResourcesImporter

    public XCResourcesImporter() { }

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    XCSettings.axisLineType

    public static LineStyle.Type axisLineType

    XCSettings.axisLineWidth

    public static float axisLineWidth

    XCSettings.axisSplitLineType

    public static LineStyle.Type axisSplitLineType

    XCSettings.axisSplitLineWidth

    public static float axisSplitLineWidth

    XCSettings.axisTickLength

    public static float axisTickLength

    XCSettings.axisTickWidth

    public static float axisTickWidth

    XCSettings.cicleSmoothness

    public static float cicleSmoothness

    XCSettings.customThemes

    public static List<Theme> customThemes

    XCSettings.dataZoomBorderWidth

    public static float dataZoomBorderWidth

    XCSettings.dataZoomDataLineWidth

    public static float dataZoomDataLineWidth

    XCSettings.editorShowAllListData

    public static bool editorShowAllListData

    XCSettings.font

    public static Font font

    XCSettings.fontSizeLv1

    public static int fontSizeLv1
    +一级字体大小。

    XCSettings.fontSizeLv2

    public static int fontSizeLv2

    XCSettings.fontSizeLv3

    public static int fontSizeLv3

    XCSettings.fontSizeLv4

    public static int fontSizeLv4

    XCSettings.gaugeAxisLineWidth

    public static float gaugeAxisLineWidth

    XCSettings.gaugeAxisSplitLineLength

    public static float gaugeAxisSplitLineLength

    XCSettings.gaugeAxisSplitLineWidth

    public static float gaugeAxisSplitLineWidth

    XCSettings.gaugeAxisTickLength

    public static float gaugeAxisTickLength

    XCSettings.gaugeAxisTickWidth

    public static float gaugeAxisTickWidth

    XCSettings.lang

    public static Lang lang

    XCSettings.lineSegmentDistance

    public static float lineSegmentDistance

    XCSettings.lineSmoothness

    public static float lineSmoothness

    XCSettings.lineSmoothStyle

    public static float lineSmoothStyle

    XCSettings.maxPainter

    public static int maxPainter

    XCSettings.serieCandlestickBorderWidth

    public static float serieCandlestickBorderWidth

    XCSettings.serieLineSymbolSize

    public static float serieLineSymbolSize

    XCSettings.serieLineWidth

    public static float serieLineWidth

    XCSettings.serieScatterSymbolSize

    public static float serieScatterSymbolSize

    XCSettings.serieSelectedRate

    public static float serieSelectedRate

    XCSettings.tmpFont

    public static TMP_FontAsset tmpFont

    XCSettings.tootipLineWidth

    public static float tootipLineWidth

    XCSettings.visualMapBorderWidth

    public static float visualMapBorderWidth

    XCSettings.visualMapTriangeLen

    public static float visualMapTriangeLen

    XCSettings.AddCustomTheme

    public static bool AddCustomTheme(Theme theme)

    XCSettings.ExistAssetFile

    public static bool ExistAssetFile()

    XCSettings.GetSettingAssetPath

    public static string GetSettingAssetPath()

    XCThemeMgr

    class in XCharts.Runtime

    XCThemeMgr.AddTheme

    public static void AddTheme(Theme theme)

    XCThemeMgr.CheckReloadTheme

    public static void CheckReloadTheme()

    XCThemeMgr.ContainsTheme

    public static bool ContainsTheme(string themeName)

    XCThemeMgr.ExportTheme

    public static bool ExportTheme(Theme theme)

    XCThemeMgr.GetAllThemeNames

    public static List<string> GetAllThemeNames()

    XCThemeMgr.GetTheme

    public static Theme GetTheme(string themeName)

    XCThemeMgr.GetThemeAssetPath

    public static string GetThemeAssetPath(string themeName)

    XCThemeMgr.GetThemeList

    public static List<Theme> GetThemeList()

    XCThemeMgr.LoadTheme

    public static Theme LoadTheme(string themeName)

    XCThemeMgr.ReloadThemeList

    public static void ReloadThemeList()
    +重新加载主题列表

    XCThemeMgr.SwitchTheme

    public static void SwitchTheme(BaseChart chart, string themeName)

    XLog

    class in XCharts.Runtime / 继承自: MonoBehaviour

    日志系统。用于输出带日期和日志类型的日志,支持输出到文件,支持自定义输出的日志类型。

    XLog.CanLog

    public static bool CanLog(int level)

    XLog.ClearAllLog

    public static void ClearAllLog()

    XLog.Debug

    public static void Debug(string log)

    XLog.EnableLog

    public static void EnableLog(int logType)

    XLog.Error

    public static void Error(string log)

    XLog.FlushLog

    public static void FlushLog()

    XLog.GetNowTime

    public static string GetNowTime(string formatter = null)

    XLog.GetTimestamp

    public static ulong GetTimestamp()

    XLog.Info

    public static void Info(string log)

    XLog.Log

    public static void Log(string log)

    XLog.LogError

    public static void LogError(string log)

    XLog.LogWarning

    public static void LogWarning(string log)

    XLog.Proto

    public static void Proto(string log)

    XLog.Vital

    public static void Vital(string log)

    XLog.Warning

    public static void Warning(string log)

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    YAxis.SetDefaultValue

    public override void SetDefaultValue()
    +直角坐标系 grid 中的 y 轴。

    YAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    YAxis3D.SetDefaultValue

    public override void SetDefaultValue()
    +直角坐标系 grid 中的 y 轴。

    ZAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    ZAxis3D.SetDefaultValue

    public override void SetDefaultValue()
    +直角坐标系 grid 中的 y 轴。

    Was this helpful?
    + + \ No newline at end of file diff --git a/docs/bar3d/index.html b/docs/bar3d/index.html index d797e309..8e10582c 100644 --- a/docs/bar3d/index.html +++ b/docs/bar3d/index.html @@ -14,14 +14,18 @@ Bar3DChart 3D柱图 | XCharts - - + +
    Version: v3.12.0

    Bar3DChart 3D柱图

    XCharts的付费扩展图表 - 3D柱图。

    截图

    Bar3D01Bar3D02Bar3D03Bar3D04Bar3D05
    Bar3D07Bar3D08Bar3D09Bar3D10

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-Bar3DChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2023.12.16) 增加Bar3D的更多默认图表快捷方式和API
    • (2023.12.16) 增加Bar3DStyleborderDash是否绘制虚线边框
    • (2023.12.16) 增加Bar3DStyleoccludedAreaBorderDash是否绘制遮挡区域的虚线边框
    • (2023.12.16) 增加Bar3DStyleoccludedAreaBorder是否绘制遮挡区域的边框
    • (2023.12.16) 增加Border边框绘制支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0
    • (2023.02.14) 增加Bar3DStyletopColorbottomColorsideColor参数支持

    v3.5.0

    • (2022.11.29) 增加SeriebarMaxWidth参数支持
    • (2022.11.27) 增加SerieItemStylebackgroundColor参数支持
    • (2022.11.27) 增加SeriecolorBy的支持
    • (2022.11.27) 更新文档

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    v3.1.0

    • (2022.07.14) 发布v3.1.0版本
    • (2022.07.14) 增加bottomColorRate,cylinderRate参数
    • (2022.07.14) 调整topColorBurnRate改名为topColorRate
    • (2022.07.14) 调整sideColorBurnRate改名为sideColorRate
    • (2022.07.14) 调整dire改名为cubeDire
    • (2022.07.14) 支持Cylinder圆柱和Cube立方柱

    API

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie,INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    API版本描述
    AddDefaultSerie()public static Bar3D AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Bar3D ConvertSerie(Serie serie)

    Bar3DChart

    class in XCharts.Runtime.Bar3Ds / 继承自: BaseChart

    API版本描述
    DefaultCylinderChart()public void DefaultCylinderChart(){
    生成默认的圆柱体图。
    DefaultGroupedCubeChart()public void DefaultGroupedCubeChart()
    默认分组3D柱状图。
    DefaultStackedCubeChart()public void DefaultStackedCubeChart()
    默认堆叠分组3D柱状图。

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    配置项手册

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie, INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    参数默认版本描述
    bar3DTypev3.1.0
    Bar3DType:
    - Cube: 立方柱。
    - Cylinder: 圆柱。
    bar3DStyleBar3DStyle

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    verticalArrangefalse是否垂直排列。
    verticalArrangeDireVector3(-1, 1)垂直排列时的方向。
    verticalArrangeGap0.5f垂直排列时两个柱子间的间隙。
    barOffsetVector3.zero柱子偏移。
    widthRate0.5f方形柱侧边宽度相对正面的比例。
    topColorRate0.8f柱子顶部相对正面的颜色比例。
    bottomColorRate1f柱子底部相对正面的颜色比例。
    sideColorRate0.7f方形柱侧边相对正面的颜色比例。
    cubeDireVector3(1, 1)方形柱形成3D效果的方向。
    cylinderRate0.5fv3.1.0圆柱的顶部椭圆比列。
    topColorv3.6.0
    bottomColorv3.6.0
    sideColorv3.6.0
    occludedAreaBorderv3.10.0是否显示遮挡区域的边框。
    occludedAreaBorderDashv3.10.0是否显示遮挡区域的虚线边框。
    borderDashv3.10.0是否显示虚线边框。
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2023.12.16) 增加Bar3D的更多默认图表快捷方式和API
    • (2023.12.16) 增加Bar3DStyleborderDash是否绘制虚线边框
    • (2023.12.16) 增加Bar3DStyleoccludedAreaBorderDash是否绘制遮挡区域的虚线边框
    • (2023.12.16) 增加Bar3DStyleoccludedAreaBorder是否绘制遮挡区域的边框
    • (2023.12.16) 增加Border边框绘制支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0
    • (2023.02.14) 增加Bar3DStyletopColorbottomColorsideColor参数支持

    v3.5.0

    • (2022.11.29) 增加SeriebarMaxWidth参数支持
    • (2022.11.27) 增加SerieItemStylebackgroundColor参数支持
    • (2022.11.27) 增加SeriecolorBy的支持
    • (2022.11.27) 更新文档

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    v3.1.0

    • (2022.07.14) 发布v3.1.0版本
    • (2022.07.14) 增加bottomColorRate,cylinderRate参数
    • (2022.07.14) 调整topColorBurnRate改名为topColorRate
    • (2022.07.14) 调整sideColorBurnRate改名为sideColorRate
    • (2022.07.14) 调整dire改名为cubeDire
    • (2022.07.14) 支持Cylinder圆柱和Cube立方柱

    API

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie,INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    Bar3D.containerIndex

    public int containerIndex

    Bar3D.containterInstanceId

    public int containterInstanceId

    Bar3D.AddDefaultSerie

    public static Bar3D AddDefaultSerie(BaseChart chart, string serieName)

    Bar3D.ConvertSerie

    public static Bar3D ConvertSerie(Serie serie)

    Bar3DChart

    class in XCharts.Runtime.Bar3Ds / 继承自: BaseChart

    Bar3DChart.DefaultCylinderChart()

    public void DefaultCylinderChart()
    +生成默认的圆柱体图。

    Bar3DChart.DefaultCylinderChart

    public void DefaultCylinderChart(){
    +生成默认的圆柱体图。

    Bar3DChart.DefaultGroupedCubeChart

    public void DefaultGroupedCubeChart()
    +默认分组3D柱状图。

    Bar3DChart.DefaultStackedCubeChart

    public void DefaultStackedCubeChart()
    +默认堆叠分组3D柱状图。

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    Bar3DType

    class in XCharts.Runtime.Bar3Ds

    3D柱图类型。分为立方柱和圆柱。

    可选:

    • Cube: 立方柱。
    • Cylinder: 圆柱。

    配置项手册

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie, INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    Bar3D.bar3DStyle

    Bar3DStyle

    Bar3D.bar3DType

    Bar3DType v3.1.0

    可选:

    • Cube: 立方柱。
    • Cylinder: 圆柱。

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    Bar3DStyle.barOffset

    Vector3 Vector3.zero

    柱子偏移。

    Bar3DStyle.borderDash

    bool v3.10.0

    是否显示虚线边框。

    Bar3DStyle.bottomColor

    Color32 v3.6.0

    Bar3DStyle.bottomColorRate

    float 1f

    柱子底部相对正面的颜色比例。

    Bar3DStyle.cubeDire

    Vector3 Vector3(1, 1)

    方形柱形成3D效果的方向。

    Bar3DStyle.cylinderRate

    float 0.5f v3.1.0

    圆柱的顶部椭圆比列。

    Bar3DStyle.occludedAreaBorder

    bool v3.10.0

    是否显示遮挡区域的边框。

    Bar3DStyle.occludedAreaBorderDash

    bool v3.10.0

    是否显示遮挡区域的虚线边框。

    Bar3DStyle.show

    bool true

    Bar3DStyle.sideColor

    Color32 v3.6.0

    Bar3DStyle.sideColorRate

    float 0.7f

    方形柱侧边相对正面的颜色比例。

    Bar3DStyle.topColor

    Color32 v3.6.0

    Bar3DStyle.topColorRate

    float 0.8f

    柱子顶部相对正面的颜色比例。

    Bar3DStyle.verticalArrange

    bool false

    是否垂直排列。

    Bar3DStyle.verticalArrangeDire

    Vector3 Vector3(-1, 1)

    垂直排列时的方向。

    Bar3DStyle.verticalArrangeGap

    float 0.5f

    垂直排列时两个柱子间的间隙。

    Bar3DStyle.widthRate

    float 0.5f

    方形柱侧边宽度相对正面的比例。

    + + \ No newline at end of file diff --git a/docs/changelog/index.html b/docs/changelog/index.html index db3d5f81..06cd8ac3 100644 --- a/docs/changelog/index.html +++ b/docs/changelog/index.html @@ -14,12 +14,13 @@ 更新日志 | XCharts - - + +
    Version: v3.12.0

    更新日志

    master
    +v3.12.0
    v3.11.2
    v3.11.1
    v3.11.0
    @@ -86,8 +87,8 @@ v0.8.1
    v0.8.0
    v0.5.0
    -v0.1.0

    master

    v3.11.2

    • (2024.08.01) 发布v3.11.2版本
    • (2024.07.29) 修复Tooltip在微信小游戏平台上报错的兼容问题 (#326)
    • (2024.07.27) 调整AxisAxisName的默认位置
    • (2024.07.22) 优化PieLabelTooltip触发时的表现
    • (2024.07.21) 修复Tooltip在开启DataZoom时指示内容不准确的问题
    • (2024.07.17) 修复MarkLineLabel在初始化时可能会闪烁的问题
    • (2024.07.16) 优化AxisTime时间轴时的Tooltip默认效果
    • (2024.07.15) 优化AxisTime时间轴时的分割效果
    • (2024.07.14) 优化AxisTime时间轴时的移动表现
    • (2024.07.12) 优化Label的初始化显示效果
    • (2024.07.06) 修复Chart在动态创建时背景没有自适应的问题 (#323)

    v3.11.1

    • (2024.07.01) 发布v3.11.1版本
    • (2024.07.01) 修复Serie有多个时颜色异常的问题
    • (2024.06.23) 修复Label在初始化时会堆积的问题

    v3.11.0

    版本要点:

    • 增加Line3DChart3D折线图
    • 增加GraphChart关系图
    • 增加3D坐标系支持
    • 增加TooltiptriggerOn设置触发条件
    • 其他问题修复和优化

    日志详情:

    • (2024.06.16) 发布v3.11.0版本
    • (2024.06.15) 增加EditorData的添加、删除、上下移动操作按钮
    • (2024.06.11) 修复AxisIndicatorLabel可能会遮挡住Tooltip的问题
    • (2024.06.11) 修复TooltipCrossAxisIndicatorLabel可能不显示的问题 (#315)
    • (2024.06.10) 调整TooltipCorss重命名为Cross
    • (2024.06.09) 增加AxisminCategorySpacing设置类目轴默认的最小类目间距
    • (2024.06.09) 修复TooltipCrossAxis是类目轴并且开启DataZoom的情况下指示位置不准确的问题
    • (2024.06.06) 修复SerieClone时动画异常问题 (#320)
    • (2024.06.04) 修复Seriestate在代码动态设置时不刷新的问题
    • (2024.05.29) 调整XChartsHierarchy视图下的右键菜单到UI/XCharts
    • (2024.05.29) 增加3D坐标系对类目轴的支持
    • (2024.05.19) 优化Editor下的编辑性能
    • (2024.05.09) 增加JsonUtil工具类
    • (2024.05.01) 修复Tooltip每帧产生GC的问题 (#311) (by @stefanbursuc)
    • (2024.04.23) 修复ConvertXYAxis()多次调用后图表异常的问题
    • (2024.04.22) 修复DataZoom控制多个轴时的GridCoord获取可能不正确的问题 (#317)
    • (2024.04.22) 增加3D坐标系
    • (2024.04.15) 优化DateTimeUtil时间戳转DateTime接口时区的问题
    • (2024.04.15) 优化GridCoord在开启GridLayout时也显示Left Right Top Bottom参数 (#316)
    • (2024.04.14) 修复TooltipCross在开启DataZoom的情况下label位置不正确的问题 (#315)
    • (2024.04.12) 修复Candlesticks效果不对的问题 (#313)
    • (2024.03.20) 增加TooltiptriggerOn设置触发条件
    • (2024.03.19) 修复Pie在设置ItemStyleopacity时颜色不对的问题 (#309)

    v3.10.2

    • (2024.03.11) 发布v3.10.2版本
    • (2024.03.11) 修复Legendformatter在设置{d}通配符时显示可能不匹配的问题 (#304)
    • (2024.03.11) 修复Tooltip移出坐标系后还显示的问题
    • (2024.03.08) 修复Tooltiptitle从旧版本升级后可能不显示的问题

    v3.10.1

    • (2024.02.21) 发布v3.10.1版本
    • (2024.02.19) 修复Tooltip的圆点标记不会自适应颜色的问题

    v3.10.0

    版本要点:

    • 增加双类目轴支持
    • 增加更多细分快捷菜单创建图表,可一键创建几十种图表
    • 增加图表边框设置,支持圆角图表
    • 修复若干问题

    扩展功能:

    • 增加SankeyChart桑基图
    • 增加UITable的边框设置

    日志详情:

    • (2024.02.01) 发布v3.10.0版本
    • (2024.01.31) 修复Tooltip在设置itemFormatter-后整个不显示的问题
    • (2024.01.27) 修复TextLimit在开启TextMeshPro后无效的问题 (#301)
    • (2024.01.24) 增加Bar支持X轴和Y轴都为Category类目轴
    • (2024.01.23) 增加{y}通配符用于获取Y轴的类目名
    • (2024.01.23) 增加Line支持X轴和Y轴都为Category类目轴
    • (2024.01.18) 修复Animationtype代码动态修改无效的问题
    • (2024.01.13) 增加Chart的更多快捷创建图表菜单
    • (2024.01.09) 增加BackgroundborderStyle,给图表默认设置圆角
    • (2024.01.07) 修复Tooltop的第一个ContentLabelStyle设置color无效的问题
    • (2024.01.01) 增加BorderStyle边框样式
    • (2023.12.26) 增加HeatmapmaxCache参数支持
    • (2023.12.25) 优化Line开启clip时绘制的顶点数
    • (2023.12.22) 修复Scatter散点图部分边界数据不显示的问题
    • (2023.12.21) 修复TriggerTooltip()接口在指定0或最大index时可能无法触发的问题
    • (2023.12.19) 修复LegendLabelStyle设置formatter后不生效的问题
    • (2023.12.12) 增加LegendTextLimit可限制图例显示文本的长度
    • (2023.12.11) 修复Serie添加double.MaxValue时坐标绘制失败的问题
    • (2023.12.10) 增加SerieminShowLabel可隐藏小于指定值的label
    • (2023.12.09) 增加LevelStyledepth指定所属层次
    • (2023.12.09) 增加LevelStyleLineStyle设置线条样式
    • (2023.12.09) 增加SerieLink可用于桑基图添加节点边关系
    • (2023.12.05) 增加ResetChartStatus()可主动重置图表状态

    v3.9.0

    版本要点:

    • 增加AxisAnimation,完善数据变更动画效果
    • 增加Axis的对数轴子刻度的支持
    • 增加MarkLineonTop设置是否显示在最上层
    • 完善代码注释和手册文档
    • 修复若干问题

    扩展功能:

    • UITable增加轮播功能
    • UITable增加数据操作接口和回调函数
    • Pie3DChart优化绘制表现

    日志详情:

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 修复TooltiptitleFormatter设置为{b}后显示不准确的问题
    • (2023.11.30) 增加SerieData可单独添加Label的支持
    • (2023.11.28) 修复Tooltip在对数轴时指示不准确的问题
    • (2023.11.24) 修复ChartUpdateData()接口返回值不准确的问题
    • (2023.11.24) 修复Axis的更新数据时效果不顺畅的问题
    • (2023.11.23) 增加AxisAnimation支持动画效果
    • (2023.11.16) 取消Legendformatter,用LabelStyle的代替
    • (2023.11.14) 完善LabelStyleformatter的注释和文档(#291)
    • (2023.11.11) 修复Documentation部分注释生成文档不完整的问题 (#290)
    • (2023.11.11) 修复Legendformatter在数据变更时没有自动刷新的问题
    • (2023.11.05) 修复SerieEventDatavalue一直是0的问题 (#287)
    • (2023.11.03) 修复Bar设置渐变色时鼠标移出效果异常的问题 (#285)
    • (2023.11.02) 优化SerieData设置ignoreformatter的忽略问题
    • (2023.11.01) 增加MarkLineonTop设置是否显示在最上层
    • (2023.10.21) 修复Pie有0数据时Label的位置异常的问题
    • (2023.10.21) 增加Axis的对数轴支持子刻度
    • (2023.10.19) 修复Pie设置玫瑰图时引导线异常的问题
    • (2023.10.15) 修复Line设置AnimationAlongPath时动画异常的问题 (#281)
    • (2023.10.12) 修复MarkLine指定yValue时对数值轴无效的问题
    • (2023.10.11) 修复SerieshowDataDimension设置无效的问题

    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) 增加PieradiusGradient可设置半径方向的渐变效果
    • (2023.09.05) 优化LabelLinelineEndXPie中的表现
    • (2023.09.05) 修复TriggerTooltip()接口对Ring无效的问题
    • (2023.09.05) 修复Radar数据全为0时绘制报错的问题

    v3.8.0

    版本要点:

    • 重构Animation动画系统,增加新增动画交互动画的支持
    • 完善PieChart的动画交互表现
    • 增加SymbolEmptyTriangleEmptyDiamondPlusMinus四种新标记
    • 完善Chart的鼠标交互回调
    • 增加LabelLine可固定横坐标的功能
    • 增加GridLayout网格布局组件
    • 增加TooltipAuto类型
    • 优化和修复若干其他问题

    日志详情:

    • (2023.09.03) 发布v3.8.0版本
    • (2023.09.01) 增加TooltipAuto自动设置显示类型和触发类型
    • (2023.08.29) 增加RinggridIndex支持设置指定网格
    • (2023.08.29) 增加RadargridIndex支持设置指定网格
    • (2023.08.29) 增加PiegridIndex支持设置指定网格
    • (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) 修复YAxisLabel可能会重复的问题
    • (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本地开启TextMeshProNewInputSystem后更新版本会报错的问题 (#272)
    • (2023.08.12) 修复Chart在运行时被删除时会异常报错的问题 (#269)
    • (2023.08.11) 修复DataZoom开启时可能会导致无法添加数据的问题
    • (2023.08.11) 修复SerieData单独设置ItemStyleitemFormatter不生效的问题
    • (2023.08.10) 优化BarChartTooltipTriggerItem时的表现
    • (2023.08.09) 增加Axis可通过设置IconStylecolorclear来实现动态图标颜色的支持
    • (2023.08.08) 增加PieLabelLinelineEndX的支持
    • (2023.08.05) 整理Examples的代码,删除不必要的用例
    • (2023.08.04) 增加LabelLinelineEndX可设置引导线固定X位置的支持
    • (2023.08.04) 增加RingavoidLabelOverlap避免文本堆叠的支持 (#247)
    • (2023.08.03) 完善ChartonSerieEnteronSerieExitonSerieClick回调
    • (2023.08.02) 修复BarChartonSerieEnteronSerieExit回调无效的问题
    • (2023.08.02) 增加SymbolPlus加号和Minus减号的支持
    • (2023.07.31) 增加SymbolEmptyTriangleEmptyDiamond的支持,优化Symbol表现效果
    • (2023.07.31) 优化Line的默认配置效果
    • (2023.07.27) 增加SerieminRadius可设置最小半径
    • (2023.07.26) 增加MLValue多样式数值
    • (2023.07.25) 增加XLog日志系统
    • (2023.07.18) 完善Pie饼图的交互动画效果
    • (2023.07.14) 增加AnimationInteraction交互动画配置支持
    • (2023.07.11) 增加AnimationAddition新增动画配置支持
    • (2023.07.11) 重构Animation动画系统,完善动画体验
    • (2023.06.30) 增加PolarCoodindicatorLabelOffset设置指示文本偏移的支持
    • (2023.06.30) 修复AxisIndicatorLabel的背景颜色可能不正常的问题
    • (2023.06.30) 增加AxisIndicatorLabel可自定义color的支持
    • (2023.06.12) 修复AxisLabelformatterFunction在数值轴时value不对的问题

    v3.7.0

    版本要点:

    • 增加HelpDoc官网帮助文档跳转
    • 增加LineClip的支持
    • 优化Axis的范围设置
    • 其他优化和修复

    日志详情:

    • (2023.06.08) 发布v3.7.0版本
    • (2023.06.04) 增加HelpDoc帮助文档跳转
    • (2023.05.30) 修复Serie的名字带_线导致Legend无法触发的问题 (#259) (by @svr2kos2)
    • (2023.05.10) 增加AxisMinMaxAuto范围类型
    • (2023.05.10) 增加LineClip的支持
    • (2023.05.04) 优化Axis在-1到1范围时设置CeilRate不生效的问题
    • (2023.05.04) 优化AxisMinMax类型范围计算
    • (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) 增加BaseChartTriggerTooltip()接口尝试触发ToolTip
    • (2023.04.12) 优化RadarCood设置startAngle时文本也跟随调整位置
    • (2023.04.12) 增加Radar对通配符{b}的支持
    • (2023.04.11) 修复Inspector在动态添加组件时可能异常的问题

    v3.6.0

    版本要点:

    • 增加InputSystem支持 (by @Bian-Sh)
    • 增加官网在线示例多版本支持 (by @SHL-COOL)
    • 完善对VR的支持 (by @Ambitroc)
    • 增加UITableUIStatistic扩展UI组件
    • 增加ItemStyleMarkColor
    • 增加通配符{h}的支持
    • 优化TooltipLegendDataZoomAxis等组件
    • 重构相关API接口,完善回调接口
    • 修复若干问题

    升级注意:

    • 部分接口有调整,可根据提示更换下接口即可。

    日志详情:

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.14) 修复TooltiptitleFormater设置{b}可能不生效的问题
    • (2023.03.14) 修复BarChart在数据为0时不绘制柱条背景的问题 (#250) (by @Ambitroc)
    • (2023.03.12) 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转
    • (2023.03.10) 增加VR等其他非鼠标输入方式的Point位置获取 (#248) (by @Ambitroc)
    • (2023.03.09) 增加ChartonSerieClickonSerieDownonSerieEnteronSerieExit回调
    • (2023.03.09) 修复Pie的点击选中偏移不生效的问题
    • (2023.03.04) 增加LegendPositions可自定义图例的位置
    • (2023.03.03) 修复Animation变更动画可能无效的问题
    • (2023.02.28) 修复Legend点击时SerieLabel不刷新的问题
    • (2023.02.26) 增加DataZoomstartEndFunction委托
    • (2023.02.12) 重构Component相关代码,调整API接口
    • (2023.02.10) 修复AxisLog轴时某些情况下最小值不正确的问题
    • (2023.02.10) 优化Axis的数值Label的默认显示格式
    • (2023.02.08) 增加DataZoomstartLockendLock参数支持锁定
    • (2023.02.02) 修复DataZoom开启时X轴Label可能会显示在图表外的问题
    • (2023.02.02) 优化SerieDataignore设置时的忽略数据判断
    • (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) 删除SerieMarkColor,增加ItemStyleMarkColor
    • (2022.12.29) 增加EditorList+添加编辑功能
    • (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) 修复AxisValue轴在某些情况下计算数值范围不准确的问题
    • (2022.12.12) 优化Legendformatter支持{h}通配符
    • (2022.12.12) 修复Legendformatter设置为固定值时显示不正常的问题
    • (2022.12.08) 增加AreaStyletoTop参数可设置折线图渐变色是到顶部还是到实际位置
    • (2022.12.07) 增加Formatter的文本通配符{h}支持设置当前颜色值

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Convert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    - - +v0.1.0

    master

    v3.12.0

    版本要点:

    • 增加RingradiusGradient参数设置渐变方向
    • 增加numericFormatterdatetime的支持
    • 完善AreaStyleorigin参数设置区域填充起始位置
    • 调整和完善文档
    • 其他优化和修复

    日志详情:

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.27) 完善5分钟教程
    • (2024.09.24) 完善Legendformatter对多Serie的支持 (#332)
    • (2024.09.22) 调整Documentation文档显示样式
    • (2024.09.09) 增加numericFormatterdatetime的支持
    • (2024.09.03) 完善AreaStyleorigin参数设置区域填充起始位置
    • (2024.09.01) 增加RingradiusGradient参数设置渐变方向
    • (2024.09.01) 优化Axis为时间轴时首个Label的位置

    v3.11.2

    • (2024.08.01) 发布v3.11.2版本
    • (2024.07.29) 修复Tooltip在微信小游戏平台上报错的兼容问题 (#326)
    • (2024.07.27) 调整AxisAxisName的默认位置
    • (2024.07.22) 优化PieLabelTooltip触发时的表现
    • (2024.07.21) 修复Tooltip在开启DataZoom时指示内容不准确的问题
    • (2024.07.17) 修复MarkLineLabel在初始化时可能会闪烁的问题
    • (2024.07.16) 优化AxisTime时间轴时的Tooltip默认效果
    • (2024.07.15) 优化AxisTime时间轴时的分割效果
    • (2024.07.14) 优化AxisTime时间轴时的移动表现
    • (2024.07.12) 优化Label的初始化显示效果
    • (2024.07.06) 修复Chart在动态创建时背景没有自适应的问题 (#323)

    v3.11.1

    • (2024.07.01) 发布v3.11.1版本
    • (2024.07.01) 修复Serie有多个时颜色异常的问题
    • (2024.06.23) 修复Label在初始化时会堆积的问题

    v3.11.0

    版本要点:

    • 增加Line3DChart3D折线图
    • 增加GraphChart关系图
    • 增加3D坐标系支持
    • 增加TooltiptriggerOn设置触发条件
    • 其他问题修复和优化

    日志详情:

    • (2024.06.16) 发布v3.11.0版本
    • (2024.06.15) 增加EditorData的添加、删除、上下移动操作按钮
    • (2024.06.11) 修复AxisIndicatorLabel可能会遮挡住Tooltip的问题
    • (2024.06.11) 修复TooltipCrossAxisIndicatorLabel可能不显示的问题 (#315)
    • (2024.06.10) 调整TooltipCorss重命名为Cross
    • (2024.06.09) 增加AxisminCategorySpacing设置类目轴默认的最小类目间距
    • (2024.06.09) 修复TooltipCrossAxis是类目轴并且开启DataZoom的情况下指示位置不准确的问题
    • (2024.06.06) 修复SerieClone时动画异常问题 (#320)
    • (2024.06.04) 修复Seriestate在代码动态设置时不刷新的问题
    • (2024.05.29) 调整XChartsHierarchy视图下的右键菜单到UI/XCharts
    • (2024.05.29) 增加3D坐标系对类目轴的支持
    • (2024.05.19) 优化Editor下的编辑性能
    • (2024.05.09) 增加JsonUtil工具类
    • (2024.05.01) 修复Tooltip每帧产生GC的问题 (#311) (by @stefanbursuc)
    • (2024.04.23) 修复ConvertXYAxis()多次调用后图表异常的问题
    • (2024.04.22) 修复DataZoom控制多个轴时的GridCoord获取可能不正确的问题 (#317)
    • (2024.04.22) 增加3D坐标系
    • (2024.04.15) 优化DateTimeUtil时间戳转DateTime接口时区的问题
    • (2024.04.15) 优化GridCoord在开启GridLayout时也显示Left Right Top Bottom参数 (#316)
    • (2024.04.14) 修复TooltipCross在开启DataZoom的情况下label位置不正确的问题 (#315)
    • (2024.04.12) 修复Candlesticks效果不对的问题 (#313)
    • (2024.03.20) 增加TooltiptriggerOn设置触发条件
    • (2024.03.19) 修复Pie在设置ItemStyleopacity时颜色不对的问题 (#309)

    v3.10.2

    • (2024.03.11) 发布v3.10.2版本
    • (2024.03.11) 修复Legendformatter在设置{d}通配符时显示可能不匹配的问题 (#304)
    • (2024.03.11) 修复Tooltip移出坐标系后还显示的问题
    • (2024.03.08) 修复Tooltiptitle从旧版本升级后可能不显示的问题

    v3.10.1

    • (2024.02.21) 发布v3.10.1版本
    • (2024.02.19) 修复Tooltip的圆点标记不会自适应颜色的问题

    v3.10.0

    版本要点:

    • 增加双类目轴支持
    • 增加更多细分快捷菜单创建图表,可一键创建几十种图表
    • 增加图表边框设置,支持圆角图表
    • 修复若干问题

    扩展功能:

    • 增加SankeyChart桑基图
    • 增加UITable的边框设置

    日志详情:

    • (2024.02.01) 发布v3.10.0版本
    • (2024.01.31) 修复Tooltip在设置itemFormatter-后整个不显示的问题
    • (2024.01.27) 修复TextLimit在开启TextMeshPro后无效的问题 (#301)
    • (2024.01.24) 增加Bar支持X轴和Y轴都为Category类目轴
    • (2024.01.23) 增加{y}通配符用于获取Y轴的类目名
    • (2024.01.23) 增加Line支持X轴和Y轴都为Category类目轴
    • (2024.01.18) 修复Animationtype代码动态修改无效的问题
    • (2024.01.13) 增加Chart的更多快捷创建图表菜单
    • (2024.01.09) 增加BackgroundborderStyle,给图表默认设置圆角
    • (2024.01.07) 修复Tooltop的第一个ContentLabelStyle设置color无效的问题
    • (2024.01.01) 增加BorderStyle边框样式
    • (2023.12.26) 增加HeatmapmaxCache参数支持
    • (2023.12.25) 优化Line开启clip时绘制的顶点数
    • (2023.12.22) 修复Scatter散点图部分边界数据不显示的问题
    • (2023.12.21) 修复TriggerTooltip()接口在指定0或最大index时可能无法触发的问题
    • (2023.12.19) 修复LegendLabelStyle设置formatter后不生效的问题
    • (2023.12.12) 增加LegendTextLimit可限制图例显示文本的长度
    • (2023.12.11) 修复Serie添加double.MaxValue时坐标绘制失败的问题
    • (2023.12.10) 增加SerieminShowLabel可隐藏小于指定值的label
    • (2023.12.09) 增加LevelStyledepth指定所属层次
    • (2023.12.09) 增加LevelStyleLineStyle设置线条样式
    • (2023.12.09) 增加SerieLink可用于桑基图添加节点边关系
    • (2023.12.05) 增加ResetChartStatus()可主动重置图表状态

    v3.9.0

    版本要点:

    • 增加AxisAnimation,完善数据变更动画效果
    • 增加Axis的对数轴子刻度的支持
    • 增加MarkLineonTop设置是否显示在最上层
    • 完善代码注释和手册文档
    • 修复若干问题

    扩展功能:

    • UITable增加轮播功能
    • UITable增加数据操作接口和回调函数
    • Pie3DChart优化绘制表现

    日志详情:

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 修复TooltiptitleFormatter设置为{b}后显示不准确的问题
    • (2023.11.30) 增加SerieData可单独添加Label的支持
    • (2023.11.28) 修复Tooltip在对数轴时指示不准确的问题
    • (2023.11.24) 修复ChartUpdateData()接口返回值不准确的问题
    • (2023.11.24) 修复Axis的更新数据时效果不顺畅的问题
    • (2023.11.23) 增加AxisAnimation支持动画效果
    • (2023.11.16) 取消Legendformatter,用LabelStyle的代替
    • (2023.11.14) 完善LabelStyleformatter的注释和文档(#291)
    • (2023.11.11) 修复Documentation部分注释生成文档不完整的问题 (#290)
    • (2023.11.11) 修复Legendformatter在数据变更时没有自动刷新的问题
    • (2023.11.05) 修复SerieEventDatavalue一直是0的问题 (#287)
    • (2023.11.03) 修复Bar设置渐变色时鼠标移出效果异常的问题 (#285)
    • (2023.11.02) 优化SerieData设置ignoreformatter的忽略问题
    • (2023.11.01) 增加MarkLineonTop设置是否显示在最上层
    • (2023.10.21) 修复Pie有0数据时Label的位置异常的问题
    • (2023.10.21) 增加Axis的对数轴支持子刻度
    • (2023.10.19) 修复Pie设置玫瑰图时引导线异常的问题
    • (2023.10.15) 修复Line设置AnimationAlongPath时动画异常的问题 (#281)
    • (2023.10.12) 修复MarkLine指定yValue时对数值轴无效的问题
    • (2023.10.11) 修复SerieshowDataDimension设置无效的问题

    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) 增加PieradiusGradient可设置半径方向的渐变效果
    • (2023.09.05) 优化LabelLinelineEndXPie中的表现
    • (2023.09.05) 修复TriggerTooltip()接口对Ring无效的问题
    • (2023.09.05) 修复Radar数据全为0时绘制报错的问题

    v3.8.0

    版本要点:

    • 重构Animation动画系统,增加新增动画交互动画的支持
    • 完善PieChart的动画交互表现
    • 增加SymbolEmptyTriangleEmptyDiamondPlusMinus四种新标记
    • 完善Chart的鼠标交互回调
    • 增加LabelLine可固定横坐标的功能
    • 增加GridLayout网格布局组件
    • 增加TooltipAuto类型
    • 优化和修复若干其他问题

    日志详情:

    • (2023.09.03) 发布v3.8.0版本
    • (2023.09.01) 增加TooltipAuto自动设置显示类型和触发类型
    • (2023.08.29) 增加RinggridIndex支持设置指定网格
    • (2023.08.29) 增加RadargridIndex支持设置指定网格
    • (2023.08.29) 增加PiegridIndex支持设置指定网格
    • (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) 修复YAxisLabel可能会重复的问题
    • (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本地开启TextMeshProNewInputSystem后更新版本会报错的问题 (#272)
    • (2023.08.12) 修复Chart在运行时被删除时会异常报错的问题 (#269)
    • (2023.08.11) 修复DataZoom开启时可能会导致无法添加数据的问题
    • (2023.08.11) 修复SerieData单独设置ItemStyleitemFormatter不生效的问题
    • (2023.08.10) 优化BarChartTooltipTriggerItem时的表现
    • (2023.08.09) 增加Axis可通过设置IconStylecolorclear来实现动态图标颜色的支持
    • (2023.08.08) 增加PieLabelLinelineEndX的支持
    • (2023.08.05) 整理Examples的代码,删除不必要的用例
    • (2023.08.04) 增加LabelLinelineEndX可设置引导线固定X位置的支持
    • (2023.08.04) 增加RingavoidLabelOverlap避免文本堆叠的支持 (#247)
    • (2023.08.03) 完善ChartonSerieEnteronSerieExitonSerieClick回调
    • (2023.08.02) 修复BarChartonSerieEnteronSerieExit回调无效的问题
    • (2023.08.02) 增加SymbolPlus加号和Minus减号的支持
    • (2023.07.31) 增加SymbolEmptyTriangleEmptyDiamond的支持,优化Symbol表现效果
    • (2023.07.31) 优化Line的默认配置效果
    • (2023.07.27) 增加SerieminRadius可设置最小半径
    • (2023.07.26) 增加MLValue多样式数值
    • (2023.07.25) 增加XLog日志系统
    • (2023.07.18) 完善Pie饼图的交互动画效果
    • (2023.07.14) 增加AnimationInteraction交互动画配置支持
    • (2023.07.11) 增加AnimationAddition新增动画配置支持
    • (2023.07.11) 重构Animation动画系统,完善动画体验
    • (2023.06.30) 增加PolarCoodindicatorLabelOffset设置指示文本偏移的支持
    • (2023.06.30) 修复AxisIndicatorLabel的背景颜色可能不正常的问题
    • (2023.06.30) 增加AxisIndicatorLabel可自定义color的支持
    • (2023.06.12) 修复AxisLabelformatterFunction在数值轴时value不对的问题

    v3.7.0

    版本要点:

    • 增加HelpDoc官网帮助文档跳转
    • 增加LineClip的支持
    • 优化Axis的范围设置
    • 其他优化和修复

    日志详情:

    • (2023.06.08) 发布v3.7.0版本
    • (2023.06.04) 增加HelpDoc帮助文档跳转
    • (2023.05.30) 修复Serie的名字带_线导致Legend无法触发的问题 (#259) (by @svr2kos2)
    • (2023.05.10) 增加AxisMinMaxAuto范围类型
    • (2023.05.10) 增加LineClip的支持
    • (2023.05.04) 优化Axis在-1到1范围时设置CeilRate不生效的问题
    • (2023.05.04) 优化AxisMinMax类型范围计算
    • (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) 增加BaseChartTriggerTooltip()接口尝试触发ToolTip
    • (2023.04.12) 优化RadarCood设置startAngle时文本也跟随调整位置
    • (2023.04.12) 增加Radar对通配符{b}的支持
    • (2023.04.11) 修复Inspector在动态添加组件时可能异常的问题

    v3.6.0

    版本要点:

    • 增加InputSystem支持 (by @Bian-Sh)
    • 增加官网在线示例多版本支持 (by @SHL-COOL)
    • 完善对VR的支持 (by @Ambitroc)
    • 增加UITableUIStatistic扩展UI组件
    • 增加ItemStyleMarkColor
    • 增加通配符{h}的支持
    • 优化TooltipLegendDataZoomAxis等组件
    • 重构相关API接口,完善回调接口
    • 修复若干问题

    升级注意:

    • 部分接口有调整,可根据提示更换下接口即可。

    日志详情:

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.14) 修复TooltiptitleFormater设置{b}可能不生效的问题
    • (2023.03.14) 修复BarChart在数据为0时不绘制柱条背景的问题 (#250) (by @Ambitroc)
    • (2023.03.12) 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转
    • (2023.03.10) 增加VR等其他非鼠标输入方式的Point位置获取 (#248) (by @Ambitroc)
    • (2023.03.09) 增加ChartonSerieClickonSerieDownonSerieEnteronSerieExit回调
    • (2023.03.09) 修复Pie的点击选中偏移不生效的问题
    • (2023.03.04) 增加LegendPositions可自定义图例的位置
    • (2023.03.03) 修复Animation变更动画可能无效的问题
    • (2023.02.28) 修复Legend点击时SerieLabel不刷新的问题
    • (2023.02.26) 增加DataZoomstartEndFunction委托
    • (2023.02.12) 重构Component相关代码,调整API接口
    • (2023.02.10) 修复AxisLog轴时某些情况下最小值不正确的问题
    • (2023.02.10) 优化Axis的数值Label的默认显示格式
    • (2023.02.08) 增加DataZoomstartLockendLock参数支持锁定
    • (2023.02.02) 修复DataZoom开启时X轴Label可能会显示在图表外的问题
    • (2023.02.02) 优化SerieDataignore设置时的忽略数据判断
    • (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) 删除SerieMarkColor,增加ItemStyleMarkColor
    • (2022.12.29) 增加EditorList+添加编辑功能
    • (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) 修复AxisValue轴在某些情况下计算数值范围不准确的问题
    • (2022.12.12) 优化Legendformatter支持{h}通配符
    • (2022.12.12) 修复Legendformatter设置为固定值时显示不正常的问题
    • (2022.12.08) 增加AreaStyletoTop参数可设置折线图渐变色是到顶部还是到实际位置
    • (2022.12.07) 增加Formatter的文本通配符{h}支持设置当前颜色值

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Convert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    + + \ No newline at end of file diff --git a/docs/configuration/index.html b/docs/configuration/index.html index 2e350187..94dc30c0 100644 --- a/docs/configuration/index.html +++ b/docs/configuration/index.html @@ -14,13 +14,13 @@ 配置项手册 | XCharts - - + +
    -
    Version: v3.12.0

    配置项手册

    Serie 系列

    Theme 主题

    MainComponent 主组件

    ChildComponent 子组件

    ISerieComponent 可添加到Serie的组件

    ISerieDataComponent 可添加到SerieData的组件

    Other 其他

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    参数默认版本描述
    startAngle0起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn, AnimationFadeOut, AnimationChange, AnimationAddition, AnimationHiding, AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    参数默认版本描述
    enabletruev3.8.0是否开启动画效果。
    reversefalsev3.8.0是否开启反向动画效果。
    delay0v3.8.0动画开始前的延迟时间。
    duration1000v3.8.0动画的时长。

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    参数默认版本描述
    widthv3.8.0宽度的多样式数值。 MLValue
    radiusv3.8.0半径的多样式数值。 MLValue
    offsetv3.8.0交互的多样式数值。如饼图的扇形选中时的偏移。 MLValue

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    参数默认版本描述
    enabletrue是否开启动画效果。
    type动画类型。
    AnimationType:
    - Default: 默认。内部会根据实际情况选择一种动画播放方式。
    - LeftToRight: 从左往右播放动画。
    - BottomToTop: 从下往上播放动画。
    - InsideOut: 由内到外播放动画。
    - AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    - Clockwise: 顺时针播放动画。
    easting
    AnimationEasing:
    - Linear:
    threshold2000是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
    unscaledTimev3.4.0动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。
    fadeInv3.8.0渐入动画配置。 AnimationFadeIn
    fadeOutv3.8.0渐出动画配置。 AnimationFadeOut
    changev3.8.0数据变更动画配置。 AnimationChange
    additionv3.8.0数据新增动画配置。 AnimationAddition
    hidingv3.8.0数据隐藏动画配置。 AnimationHiding
    interactionv3.8.0交互动画配置。 AnimationInteraction

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    区域填充样式。

    参数默认版本描述
    showtrue是否显示区域填充。
    origin区域填充的起始位置。
    AreaStyle.AreaOrigin:
    - Auto: 填充坐标轴轴线到数据间的区域。
    - Start: 填充坐标轴底部到数据间的区域。
    - End: 填充坐标轴顶部到数据间的区域。
    color区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。
    toColor渐变色的终点颜色。
    opacity0.6f图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    innerFillv3.2.0是否只填充多边形区域。目前只支持凸多边形。
    toToptruev3.6.0渐变色是到顶部还是到实际位置。默认为true到顶部。

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    width10箭头宽。
    height15箭头高。
    offset0箭头偏移。
    dent3箭头的凹度。
    colorColor.clear箭头颜色。

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis, ParallelAxis, RadiusAxis, SingleAxis, XAxis, XAxis3D, YAxis, YAxis3D, ZAxis3D

    直角坐标系的坐标轴组件。

    参数默认版本描述
    showtrue是否显示坐标轴。
    type坐标轴类型。
    Axis.AxisType:
    - Value: 数值轴。适用于连续数据。
    - Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    - Log: 对数轴。适用于对数数据。
    - Time: 时间轴。适用于连续的时序数据。
    minMaxType坐标轴刻度最大最小值显示类型。
    Axis.AxisMinMaxType:
    - Default: 0-最大值。
    - MinMax: 最小值-最大值。
    - Custom: 自定义最小值最大值。
    - MinMaxAuto: [since("v3.7.0")]最小值-最大值。自动计算合适的值。
    gridIndex坐标轴所在的 grid 的索引,默认位于第一个 grid。
    polarIndex坐标轴所在的 ploar 的索引,默认位于第一个 polar。
    parallelIndex坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
    position坐标轴在Grid中的位置。
    Axis.AxisPosition:
    - Left: 坐标轴在Grid中的位置
    - Right: 坐标轴在Grid中的位置
    - Bottom: 坐标轴在Grid中的位置
    - Top: 坐标轴在Grid中的位置
    - Center: 坐标轴在Grid中的位置
    offset坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
    min设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
    max设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
    splitNumber0坐标轴的期望的分割段数。默认为0表示自动分割。
    interval0强制设置坐标轴分割间隔。无法在类目轴中使用。
    boundaryGaptrue坐标轴两边是否留白。只对类目轴有效。
    maxCache0The first data will be remove when the size of axis data is larger then maxCache.
    logBase10对数轴的底数,只在对数轴(type:'Log')中有效。
    logBaseEfalse对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    inversefalse是否反向坐标轴。在类目轴中无效。
    clockwisetrue刻度增长是否按顺时针,默认顺时针。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    minCategorySpacing0v3.11.0类目之间的最小间距。
    icons类目数据对应的图标。
    data类目数据,在类目轴(type: 'category')中有效。
    axisLine坐标轴轴线。 AxisLine
    axisName坐标轴名称。 AxisName
    axisTick坐标轴刻度。 AxisTick
    axisLabel坐标轴刻度标签。 AxisLabel
    splitLine坐标轴分割线。 AxisSplitLine
    splitArea坐标轴分割区域。 AxisSplitArea
    animation坐标轴动画。 AxisAnimation
    minorTickv3.2.0坐标轴次刻度。 AxisMinorTick
    minorSplitLinev3.2.0坐标轴次分割线。 AxisMinorSplitLine
    indicatorLabelv3.4.0指示器文本的样式。Tooltip为Cross时使用。 LabelStyle

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    参数默认版本描述
    showtrue是否开启动画。
    duration动画时长(ms)。 默认设置为0时,会自动获取serie的动画时长。
    unscaledTime动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    参数默认版本描述
    interval0坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    insidefalse刻度标签是否朝内,默认朝外。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。
    onZerofalse刻度标签显示在0刻度上。
    showStartLabeltrue是否显示第一个文本。
    showEndLabeltrue是否显示最后一个文本。
    textLimit文本限制。 TextLimit

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    参数默认版本描述
    onZeroX 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。
    showArrow是否显示箭头。
    arrow轴线箭头。 ArrowStyle

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    参数默认版本描述
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    参数默认版本描述
    splitNumber5分隔线之间分割的刻度数。
    autoColor

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    参数默认版本描述
    show是否显示坐标轴名称。
    name坐标轴名称。
    onZerov3.1.0坐标轴名称的位置是否保持和Y轴0刻度一致。
    labelStyle文本样式。 LabelStyle

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    参数默认版本描述
    show是否显示分隔区域。
    color分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    参数默认版本描述
    interval坐标轴分隔线的显示间隔。
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。
    showStartLinetruev3.3.0是否显示第一条分割线。
    showEndLinetruev3.3.0是否显示最后一条分割线。
    showZLinetruev3.11.0是否显示Z轴部分分割线。一般用于3D坐标系。

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    参数默认版本描述
    alignWithLabel类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。
    inside坐标轴刻度是否朝内,默认朝外。
    showStartTick是否显示第一个刻度。
    showEndTick是否显示最后一个刻度。
    distance刻度线与轴线的距离。
    splitNumber0分隔线之间分割的刻度数。
    autoColor

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    参数默认版本描述
    showtrue是否启用背景组件。
    image背景图。
    imageType背景图填充类型。
    imageColor背景图颜色。
    imageWidth0v3.10.0背景图宽度。
    imageHeight0v3.10.0背景图高度。
    autoColortrue当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。
    borderStylev3.10.0背景边框样式。 BorderStyle

    Bar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme, RadiusAxisTheme, AngleAxisTheme, PolarAxisTheme, RadarAxisTheme

    参数默认版本描述
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f坐标轴线宽。
    lineLength0f坐标轴线长。
    lineColor坐标轴线颜色。
    splitLineType分割线线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    splitLineWidth1f分割线线宽。
    splitLineLength0f分割线线长。
    splitLineColor分割线线颜色。
    minorSplitLineColor次分割线线颜色。
    tickWidth1f刻度线线宽。
    tickLength5f刻度线线长。
    tickColor坐标轴线颜色。
    splitAreaColors坐标轴分隔区域的颜色。

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine, AxisMinorSplitLine, AxisMinorTick, AxisSplitLine, AxisTick

    线条基础配置。

    参数默认版本描述
    show是否显示坐标轴轴线。
    lineStyle线条样式 LineStyle

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer / 子类: EffectScatter, Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    BorderStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    边框样式。

    参数默认版本描述
    showfalse是否显示边框。
    borderWidth边框宽度。
    borderColor边框颜色。
    roundedCornertrue是否显示圆角。
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。当为(1,1,1,1)时为全圆角。

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Candlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ChartText

    class in XCharts.Runtime

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle, AxisAnimation, AxisName, AxisSplitArea, AreaStyle, ArrowStyle, BaseLine, BorderStyle, IconStyle, ImageStyle, ItemStyle, Level, LevelStyle, LineArrow, LineStyle, Location, MLValue, MarqueeStyle, Padding, StageColor, SymbolStyle, TextLimit, TextStyle, CommentItem, CommentMarkStyle, LabelLine, LabelStyle, MarkAreaData, MarkLineData, StateStyle, VisualMapRange, ViewControl, UIComponentTheme, SerieData, SerieDataLink, ComponentTheme, SerieTheme, ThemeStyle

    Comment

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图表注解组件。

    参数默认版本描述
    showtrue是否显示注解组件。
    labelStyle所有组件的文本样式。 LabelStyle
    markStyle所有组件的文本样式。 CommentMarkStyle
    items注解项。每个注解组件可以设置多个注解项。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    参数默认版本描述
    showtrue是否显示当前注解项。
    content注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。
    markRect注解区域。
    markStyle注解标记区域样式。 CommentMarkStyle
    labelStyle注解项的文本样式。 LabelStyle
    locationv3.5.0Comment显示的位置。 Location

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    参数默认版本描述
    showtrue是否显示当前注解项。
    lineStyle线条样式。 LineStyle

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme, DataZoomTheme, LegendTheme, SubTitleTheme, TitleTheme, TooltipTheme, VisualMapTheme

    参数默认版本描述
    font字体。
    textColor文本颜色。
    textBackgroundColor文本颜色。
    fontSize18文本字体大小。
    tMPFont字体。

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord, CalendarCoord, GridCoord, GridCoord3D, ParallelCoord, PolarCoord, SingleAxisCoord

    坐标系系统。

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    参数默认版本描述
    enabletrue是否显示缩放区域。
    filterMode数据过滤类型。
    DataZoom.FilterMode:
    - Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    - WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    - Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    - None: 不过滤数据,只改变数轴范围。
    xAxisIndexs控制的 x 轴索引列表。
    yAxisIndexs控制的 y 轴索引列表。
    supportInside是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
    supportInsideScrolltrue是否支持坐标系内滚动
    supportInsideDragtrue是否支持坐标系内拖拽
    supportSlider是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。
    supportMarquee是否支持框选。提供一个选框进行数据区域缩放。
    showDataShadow是否显示数据阴影。数据阴影可以简单地反应数据走势。
    showDetail是否显示detail,即拖拽时候显示详细数值信息。
    zoomLock是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    borderWidth边框宽。
    backgroundColor组件的背景颜色。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    rangeMode取绝对值还是百分比。
    DataZoom.RangeMode:
    - //Value: The value type of start and end.取值类型
    - Percent: 百分比。
    start数据窗口范围的起始百分比。范围是:0 ~ 100。
    end数据窗口范围的结束百分比。范围是:0 ~ 100。
    minShowNum2最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。
    scrollSensitivity1.1f缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。
    orient布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    labelStyle文本标签格式。 LabelStyle
    lineStyle阴影线条样式。 LineStyle
    areaStyle阴影填充样式。 AreaStyle
    marqueeStylev3.5.0选取框样式。 MarqueeStyle
    startLockv3.6.0固定起始值,不让改变。
    endLockv3.6.0固定结束值,不让改变。

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    borderWidth边框线宽。
    dataLineWidth数据阴影线宽。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    dataLineColor数据阴影的线条颜色。
    dataAreaColor数据阴影的填充颜色。
    backgroundColor背景颜色。

    DebugInfo

    class in XCharts.Runtime

    参数默认版本描述
    showtrue是否显示Debug组件。
    showDebugInfofalse
    showAllChartObjectfalse是否在Hierarchy试图显示所有chart下的节点。
    foldSeriesfalse是否在Inspector上折叠Serie。
    labelStyleLabelStyle

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    参数默认版本描述
    scale1.1f高亮时的缩放倍数。
    focus在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。
    EmphasisStyle.FocusType:
    - None: 不淡出其它图形,默认使用该配置。
    - Self: 只聚焦(不淡出)当前高亮的数据的图形。
    - Series: 聚焦当前高亮的数据所在的系列的所有图形。
    blurScope在开启focus的时候,可以通过blurScope配置淡出的范围。
    EmphasisStyle.BlurScope:
    - GridCoord: 淡出范围为坐标系,默认使用该配置。
    - Series: 淡出范围为系列。
    - Global: 淡出范围为全局。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    layoutIndex-1v3.8.0网格所属的网格布局组件的索引。默认为-1,表示不属于任何网格布局组件。当设置了该值时,left、right、top、bottom属性将失效。
    left0.11fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.14fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。
    showBorderfalse是否显示网格边框。
    borderWidth0f网格边框宽。
    borderColor网格边框颜色。

    GridCoord3D

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    v3.11.0 开始支持

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    left0.15fgrid 组件离容器左侧的距离。
    right0.2fgrid 组件离容器右侧的距离。
    top0.3fgrid 组件离容器上侧的距离。
    bottom0.15fgrid 组件离容器下侧的距离。
    showBorderfalse是否显示网格边框。
    boxWidth0.55f坐标系的宽度。
    boxHeight0.4f坐标系的高度。
    boxDepth0.2f坐标系的深度。
    xYExchangedfalse
    viewControl3D视角控制组件。 ViewControl

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    row2网格布局的行数。
    column2网格布局的列数。
    spacingVector2.zero网格布局的间距。
    inversefalse是否反转网格布局。

    Heatmap

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    heatmapTypev3.3.0热力图类型。通过颜色映射划分。
    HeatmapType:
    - Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    - Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    showfalse是否显示图标。
    layer显示在上层还是在下层。
    IconStyle.Layer:
    - UnderText: The icon is display under the label text. 图标在标签文字下
    - AboveText: The icon is display above the label text. 图标在标签文字上
    align水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    sprite图标的图片。
    type图片的显示类型。
    color图标颜色。
    width20图标宽。
    height20图标高。
    offset图标偏移。
    autoHideWhenLabelEmptyfalse当label内容为空时是否自动隐藏图标

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    参数默认版本描述
    showtrue是否显示图标。
    sprite图标的图片。
    type图片的显示类型。
    autoColor是否自动颜色。
    color图标颜色。
    width0图标宽。
    height0图标高。

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    参数默认版本描述
    name指示器名称。
    max指示器的最大值,默认为 0 无限制。
    min指示器的最小值,默认为 0 无限制。
    range正常值范围。当数值不在这个范围时,会自动变更显示颜色。
    show是否显示雷达坐标系组件。
    shape雷达图绘制类型,支持 'Polygon' 和 'Circle'。
    radius100雷达图的半径。
    splitNumber5指示器轴的分割段数。
    center雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    axisLine轴线。 AxisLine
    axisName雷达图每个指示器名称的配置项。 AxisName
    splitLine分割线。 AxisSplitLine
    splitArea分割区域。 AxisSplitArea
    indicatortrue是否显示指示器。
    positionType显示位置类型。
    indicatorGap10指示器和雷达的间距。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    isAxisTooltip是否Tooltip显示轴线上的所有数据。
    outRangeColorColor.red数值超出范围时显示的颜色。
    connectCenterfalse数值是否连线到中心点。
    lineGradienttrue数值线段是否需要渐变。
    startAnglev3.4.0起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    indicatorList指示器列表。

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Radar, BaseScatter

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location, Comment, Legend, Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, LineArrow, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord, CalendarCoord, GridCoord, GridCoord3D, ParallelCoord, PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, ItemStyle, LineStyle, SerieSymbol, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar, SimplifiedCandlestick, SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    图形样式。

    参数默认版本描述
    showtrue是否启用。
    color数据项颜色。
    color0数据项颜色。
    toColor渐变色的颜色1。
    toColor2渐变色的颜色2。只在折线图中有效。
    markColorv3.6.0Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。
    backgroundColor数据项背景颜色。
    backgroundWidth数据项背景宽度。
    centerColor中心区域颜色。
    centerGap中心区域间隙。
    borderWidth0边框宽。
    borderGap0边框间隙。
    borderColor边框的颜色。
    borderColor0边框的颜色。
    borderToColor边框的渐变色。
    opacity1透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    itemMarker提示框单项的字符标志。用在Tooltip中。
    itemFormatter提示框单项的字符串模版格式器。具体配置参考Tooltipformatter
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis, DataZoom, CalendarCoord, GridCoord, GridLayout, GridCoord3D, ParallelCoord

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    标签的引导线

    参数默认版本描述
    showtrue是否显示视觉引导线。
    lineType视觉引导线类型。
    LabelLine.LineType:
    - BrokenLine: 折线
    - Curves: 曲线
    - HorizontalLine: 水平线
    lineColorColor32(0,0,0,0)视觉引导线颜色。默认和serie一致取自调色板。
    lineAngle60视觉引导线的固定角度。对折线和曲线有效。在Pie中无效。
    lineWidth1.0f视觉引导线的宽度。
    lineGap1.0f视觉引导线和容器的间距。
    lineLength125f视觉引导线第一段的长度。
    lineLength215f视觉引导线第二段的长度。
    lineEndX0fv3.8.0视觉引导线结束点的固定x位置。当不为0时,会代替lineLength2设定引导线的x位置。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent / 子类: AxisLabel, EndLabelStyle, TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    参数默认版本描述
    showtrue是否显示文本标签。
    Position标签的位置。
    autoOffsetfalse是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。
    offset距离图形元素的偏移
    rotate文本的旋转。
    autoRotatefalsev3.6.0是否自动旋转。
    distance距离轴线的距离。
    formatter标签内容字符串模版格式器。支持用 \n 换行。部分组件的格式器会不生效。
    模板通配符有以下这些,部分只适用于固定的组件:
    {.}:圆点标记。
    {a}:系列名。
    {b}:X轴类目名或数据名。
    {c}:数据值。
    {d}:百分比。
    {e}:数据名。
    {f}:数据和。
    {g}:数据总个数。
    {h}:十六进制颜色值。
    {y}:Y轴的类目名。
    {value}:坐标轴或图例的值。
    以下通配符适用UITable组件:
    {name}: 表格的行名。
    {index}:表格的行号。
    以下通配符适用UIStatistc组件:
    {title}:标题文本。
    {dd}:天。
    {hh}:小时。
    {mm}:分钟。
    {ss}:秒。
    {fff}:毫秒。
    {d}:天。
    {h}:小时。
    {m}:分钟。
    {s}:秒。
    {f}:毫秒。
    示例:“{b}:{c}”
    numericFormatter标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式常见的格式:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:yyyy-MM-dd HH:mm:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    width0标签的宽度。一般不用指定,不指定时则自动是文字的宽度。
    height0标签的高度。一般不用指定,不指定时则自动是文字的高度。
    icon图标样式。 IconStyle
    background背景图样式。 ImageStyle
    textPadding文本的边距。 TextPadding
    textStyle文本样式。 TextStyle

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    Legend

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    参数默认版本描述
    showtrue是否显示图例组件。
    iconType图例类型。
    Legend.Type:
    - Auto: 自动匹配。
    - Custom: 自定义图标。
    - EmptyCircle: 空心圆。
    - Circle: 圆形。
    - Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    - Triangle: 三角形。
    - Diamond: 菱形。
    - Candlestick: 烛台(可用于K线图)。
    selectedMode选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。
    Legend.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    - None: 无法选择。
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location图例显示的位置。 Location
    itemWidth25.0f图例标记的图形宽度。
    itemHeight12.0f图例标记的图形高度。
    itemGap10f图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
    itemAutoColortrue图例标记的图形是否自动匹配颜色。
    itemOpacity1图例标记的图形的颜色透明度。
    formatter不再使用,使用LabelStyle.formatter代替。
    labelStyle文本样式。 LabelStyle
    textLimitv3.10.0文本限制。 TextLimit
    data图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。
    icons自定义的图例标记图形。
    colors图例标记的颜色列表。
    backgroundv3.1.0背景图样式。 ImageStyle
    paddingv3.1.0图例标记和背景的间距。 Padding
    positionsv3.6.0图例标记的自定义位置列表。

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    unableColor文本颜色。

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    depth0v3.10.0层级深度。
    label文本标签样式。 LabelStyle
    upperLabel上方的文本标签样式。 LabelStyle
    lineStylev3.10.0线条样式。 LineStyle
    itemStyle数据项样式。 ItemStyle

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    参数默认版本描述
    showfalse是否启用LevelStyle
    levels各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    Line

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent

    参数默认版本描述
    show是否显示箭头。
    position箭头位置。
    LineArrow.Position:
    - End: 末端箭头
    - Start: 头端箭头
    arrow箭头。 ArrowStyle

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    参数默认版本描述
    showtrue是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。
    type线的类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    color线的颜色。
    toColor线的渐变颜色(需要水平方向渐变时)。
    toColor2线的渐变颜色2(需要水平方向三个渐变色的渐变时)。
    width0线宽。
    length0线长。
    opacity1线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    dashLength4v3.8.1虚线的长度。默认0时为线条宽度的12倍。在折线图中代表分割段数的倍数。
    dotLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。
    gapLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。

    Location

    class in XCharts.Runtime / 继承自: ChildComponent, IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    参数默认版本描述
    align对齐方式。
    Location.Align:
    - TopLeft: 对齐方式
    - TopRight: 对齐方式
    - TopCenter: 对齐方式
    - BottomLeft: 对齐方式
    - BottomRight: 对齐方式
    - BottomCenter: 对齐方式
    - Center: 对齐方式
    - CenterLeft: 对齐方式
    - CenterRight: 对齐方式
    left离容器左侧的距离。
    right离容器右侧的距离。
    top离容器上侧的距离。
    bottom离容器下侧的距离。

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis, Background, Comment, DataZoom, Legend, MarkArea, MarkLine, Settings, Title, Tooltip, VisualMap, GridLayout, CoordSystem

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    参数默认版本描述
    showtrue是否显示标域。
    textThe text of markArea. 标域显示的文本。
    serieIndex0Serie index of markArea. 标域影响的Serie索引。
    start标域范围的起始数据。 MarkAreaData
    end标域范围的结束数据。 MarkAreaData
    itemStyle标域样式。 ItemStyle
    label标域文本样式。 LabelStyle

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    参数默认版本描述
    type特殊的标域类型,用于标注最大值最小值等。
    MarkAreaType:
    - None: 标域类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标注名称。会作为文字显示。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    参数默认版本描述
    showtrue是否显示标线。
    serieIndex0标线影响的Serie索引。
    onToptruev3.9.0是否在最上层。
    animation标线的动画样式。 AnimationStyle
    data标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    参数默认版本描述
    type特殊的标线类型,用于标注最大值最小值等。
    MarkLineType:
    - None: 标线类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    group0分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。
    zeroPositionfalse是否为坐标系原点。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle
    lineStyle标线样式。 LineStyle
    label文本样式。可设置position为Start、Middle和End在不同的位置显示文本。 LabelStyle

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    参数默认版本描述
    applyfalsev3.5.0选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。
    realRectfalsev3.5.0是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。
    areaStylev3.5.0选取框区域填充样式。 AreaStyle
    lineStylev3.5.0选取框区域边框样式。 LineStyle

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    参数默认版本描述
    type
    MLValue.Type:
    - Percent: 百分比形式。
    - Absolute: 绝对值形式。
    - Extra: 额外形式。
    value

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    参数默认版本描述
    showtrueshow padding. 是否显示。
    top0顶部间距。
    right2f右部间距。
    left2f左边间距。
    bottom0底部间距。

    Parallel

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    orient坐标轴朝向。默认为垂直朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。

    Pie

    class in XCharts.Runtime / 继承自: Serie

    参数默认版本描述
    radiusGradientfalsev3.8.1是否开启半径方向的渐变效果。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    参数默认版本描述
    showtrue是否显示极坐标。
    center极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    backgroundColor极坐标的背景色,默认透明。
    indicatorLabelOffset30fv3.8.0指示器标签的偏移量。

    Radar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    smoothfalsev3.2.0是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    Ring

    class in XCharts.Runtime / 继承自: Serie

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie, IComparable / 子类: SerieHandler<T>, Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Pie, Radar, Ring, BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    参数默认版本描述
    index系列索引。
    showtrue系列是否显示在图表上。
    coordSystem使用的坐标系。
    serieType系列类型。
    serieName系列名称,用于 tooltip 的显示,legend 的图例筛选。
    statev3.2.0系列的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    colorByv3.2.0从主题中取色的策略。
    SerieColorBy:
    - Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略。
    - Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    - Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。
    stack数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。
    xAxisIndex0使用X轴的index。
    yAxisIndex0使用Y轴的index。
    radarIndex0雷达图所使用的 radar 组件的 index。
    vesselIndex0水位图所使用的 vessel 组件的 index。
    polarIndex0所使用的 polar 组件的 index。
    singleAxisIndex0所使用的 singleAxis 组件的 index。
    parallelIndex0所使用的 parallel coord 组件的 index。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    minShow系列所显示数据的最小索引
    maxShow系列所显示数据的最大索引
    maxCache系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。
    sampleDist0采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。
    sampleType采样类型。当sampleDist大于0时有效。
    SampleType:
    - Peak: 取峰值。
    - Average: 取过滤点的平均值。
    - Max: 取过滤点的最大值。
    - Min: 取过滤点的最小值。
    - Sum: 取过滤点的和。
    sampleAverage0设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。
    lineType折线图样式类型。
    LineType:
    - Normal: 普通折线图。
    - Smooth: 平滑曲线。
    - StepStart: 阶梯线图:当前点。
    - StepMiddle: 阶梯线图:当前点和下一个点的中间。
    - StepEnd: 阶梯线图:下一个拐点。
    smoothLimitfalsev3.4.0是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。
    barType柱形图类型。
    BarType:
    - Normal: 普通柱形图。
    - Zebra: 斑马柱形图。
    - Capsule: 胶囊柱形图。
    barPercentStackfalse柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。
    barWidth0柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。
    barMaxWidth0v3.5.0柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。
    barGap0.1f不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。
    barZebraWidth4f斑马线的粗细。
    barZebraGap2f斑马线的间距。
    min最小值。
    max最大值。
    minSize0f数据最小值 min 映射的宽度。
    maxSize1f数据最大值 max 映射的宽度。
    startAngle起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    endAngle结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    minAngle最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。
    clockwisetrue是否顺时针。
    roundCap是否开启圆弧效果。
    splitNumber刻度分割段数。最大可设置36。
    clickOffsettrue鼠标点击时是否开启偏移,一般用在PieChart图表中。
    roseType是否展示成南丁格尔图,通过半径区分数据大小。
    RoseType:
    - None: 不展示成南丁格尔玫瑰图。
    - Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    - Area: 所有扇区圆心角相同,仅通过半径展现数据大小。
    gap间距。
    center中心点。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    minRadius0fv3.8.0最小半径。可用于限制玫瑰图的最小半径。
    minShowLabelfalsev3.10.0是否开启值小于指定值minShowLabelValue时不显示标签。
    minShowLabelValue0v3.10.0当开启minShowLabel时,值小于该值时不显示标签。
    showDataDimension数据项里的数据维数。
    showDataName在Editor的inpsector上是否显示name参数
    clipfalse是否裁剪超出坐标系部分的图形。
    ignorefalse是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。
    ignoreValue0忽略数据的默认值。当ignore为true才有效。
    ignoreLineBreakfalse忽略数据时折线是断开还是连接。默认false为连接。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。
    largetrue是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。
    largeThreshold200开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。
    avoidLabelOverlapfalse在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。
    radarType雷达图类型。
    RadarType:
    - Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    - Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]
    placeHolderfalse占位模式。占位模式时,数据有效但不参与渲染和显示。
    dataSortType组件的数据排序。
    SerieDataSortType:
    - None: 按数据的顺序。
    - Ascending: 升序。
    - Descending: 降序。
    orient组件的朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    align组件水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    lineStyle线条样式。 LineStyle
    symbol标记的图形。 SerieSymbol
    animation起始动画。 AnimationStyle
    itemStyle图形样式。 ItemStyle
    data系列中的数据内容数组。SerieData可以设置1到n维数据。

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    参数默认版本描述
    index数据项索引。
    name数据项名称。
    id数据项的唯一id。唯一id不是必须设置的。
    parentId父节点id。父节点id不是必须设置的。
    ignore是否忽略数据。当为 true 时,数据不进行绘制。
    selected该数据项是否被选中。
    radius自定义半径。可用在饼图中自定义某个数据项的半径。
    statev3.2.0数据项的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    data可指定任意维数的数值列表。

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    数据节点之间的连线。可用于桑基图等,桑基图只支持有向无环图,请保证数据的连线是有向无环图。

    参数默认版本描述

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle, ISerieDataComponent

    系列数据项的标记的图形

    参数默认版本描述
    sizeType标记图形的大小获取方式。
    SymbolSizeType:
    - Custom: 自定义大小。
    - FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    - Function: 通过委托函数获取。
    dataIndex1当sizeType指定为FromData时,指定的数据源索引。
    dataScale1当sizeType指定为FromData时,指定的倍数系数。
    sizeFunction当sizeType指定为Function时,指定的委托函数。
    startIndex开始显示图形标记的索引。
    interval显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    forceShowLastfalse是否强制显示最后一个图形标记。
    repeatfalse图形是否重复。
    minSize0fv3.3.0图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。
    maxSize0fv3.3.0图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    lineWidth文本颜色。
    lineSymbolSize折线图的Symbol大小。
    scatterSymbolSize散点图的Symbol大小。
    candlestickColorColor32(235, 84, 84, 255)K线图阳线(涨)填充色
    candlestickColor0Color32(71, 178, 98, 255)K线图阴线(跌)填充色
    candlestickBorderWidth1K线图边框宽度
    candlestickBorderColorColor32(235, 84, 84, 255)K线图阳线(跌)边框色
    candlestickBorderColor0Color32(71, 178, 98, 255)K线图阴线(跌)边框色

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    参数默认版本描述
    showtrue
    maxPainter10设定的painter数量。
    reversePainterfalsePainter是否逆序。逆序时index大的serie最先绘制。
    basePainterMaterialBase Pointer 材质球,设置后会影响Axis等。
    seriePainterMaterialSerie Pointer 材质球,设置后会影响所有Serie。
    upperPainterMaterialUpper Pointer 材质球。
    topPainterMaterialTop Pointer 材质球。
    lineSmoothStyle2.5f曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。
    lineSmoothness2fWhen the area with gradient is filled, the larger the value, the worse the transition effect.
    lineSegmentDistance3f线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。
    cicleSmoothness2f圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。
    legendIconLineWidth2Line类型图例图标的线条宽度。
    legendIconCornerRadius图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    axisMaxSplitNumber50v3.1.0坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis, IUpdateRuntimeData

    单轴。

    参数默认版本描述
    orient坐标轴朝向。默认为水平朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1f组件离容器左侧的距离。
    right0.1f组件离容器右侧的距离。
    top0f组件离容器上侧的距离。
    bottom0.2f组件离容器下侧的距离。
    width0坐标轴宽。
    height50坐标轴高。

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    percent结束位置百分比。
    color颜色。

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle, EmphasisStyle, SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    参数默认版本描述
    showtrue是否启用高亮样式。
    label图形文本标签。 LabelStyle
    labelLine图形文本引导线样式。 LabelLine
    itemStyle图形样式。 ItemStyle
    lineStyle折线样式。 LineStyle
    areaStyle区域样式。 AreaStyle
    symbol标记样式。 SerieSymbol

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    参数默认版本描述
    showtrue是否显示标记。
    type标记类型。
    SymbolType:
    - None: 不显示标记。
    - Custom: 自定义标记。
    - Circle: 圆形。
    - EmptyCircle: 空心圆。
    - Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    - EmptyRect: 空心正方形。
    - Triangle: 三角形。
    - EmptyTriangle: 空心三角形。
    - Diamond: 菱形。
    - EmptyDiamond: 空心菱形。
    - Arrow: 箭头。
    - EmptyArrow: 空心箭头。
    - Plus: 加号。
    - Minus: 减号。
    size0f标记的大小。
    gap0图形标记和线条的间隙距离。
    width0f图形的宽。
    height0f图形的高。
    offsetVector2.zero图形的偏移。
    image自定义的标记图形。
    imageType图形填充类型。
    color图形的颜色。

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    参数默认版本描述
    enablefalse是否启用文本自适应。 [default:true]
    maxWidth0Clipping occurs when the width of the text is greater than this value.
    gap1两边留白像素距离。 [default:10f]
    suffix长度超出时的后缀。 [default: "..."]

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    参数默认版本描述
    showtrue文本的相关设置。
    font文本字体。 [default: null]
    autoWrapfalse是否自动换行。
    autoAligntrue文本是否让系统自动选对齐方式。为false时才会用alignment。
    rotate0文本的旋转。 [default: 0f]
    autoColorfalse是否开启自动颜色。当开启时,会自动设置颜色。
    color文本的颜色。 [default: Color.clear]
    fontSize0文本字体大小。 [default: 18]
    fontStyle文本字体的风格。 [default: FontStyle.Normal]
    lineSpacing1f行间距。 [default: 1f]
    alignment对齐方式。
    tMPFontTextMeshPro字体。
    tMPFontStyle
    tMPAlignment
    tMPSpriteAssetv3.1.0

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    参数默认版本描述
    themeType主题类型。
    ThemeType:
    - Default: 默认主题。
    - Light: 亮主题。
    - Dark: 暗主题。
    - Custom: 自定义主题。
    themeName主题名称。
    font主题字体。
    tMPFont主题字体。
    contrastColor对比色。
    backgroundColor背景颜色。
    colorPalette调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
    commonComponentTheme
    titleTitleTheme
    subTitleSubTitleTheme
    legendLegendTheme
    axisAxisTheme
    tooltipTooltipTheme
    dataZoomDataZoomTheme
    visualMapVisualMapTheme
    serieSerieTheme

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    参数默认版本描述
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse是否透明背景颜色。当设置为true时,不绘制背景颜色。
    enableCustomThemefalse是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。
    customFont
    customBackgroundColor自定义的背景颜色。
    customColorPalette

    Title

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    标题组件,包含主标题和副标题。

    参数默认版本描述
    showtrue是否显示标题组件。
    text主标题文本,支持使用 \n 换行。
    subText副标题文本,支持使用 \n 换行。
    labelStyle主标题文本样式。 LabelStyle
    subLabelStyle副标题文本样式。 LabelStyle
    itemGap0主副标题之间的间距。
    location标题显示位置。 Location

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle, ISerieDataComponent, ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    参数默认版本描述
    showtrue是否显示提示框组件。
    type提示框指示器类型。
    Tooltip.Type:
    - Line: 直线指示器
    - Shadow: 阴影指示器
    - None: 无指示器
    - Cross: 十字准星指示器。坐标轴显示Label和交叉线。
    - Auto: 根据serie的类型自动选择显示指示器。
    trigger触发类型。
    Tooltip.Trigger:
    - Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    - Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    - None: 什么都不触发。
    - Auto: 根据serie的类型自动选择触发类型。
    triggerOnv3.11.0触发条件。
    Tooltip.TriggerOn:
    - MouseMove: 鼠标移动时触发。
    - Click: 鼠标点击时触发。
    positionv3.3.0显示位置类型。
    Tooltip.Position:
    - Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    - Custom: 自定义。完全自定义显示位置(x,y)。
    - FixedX: 只固定坐标X。Y跟随鼠标位置。
    - FixedY:
    itemFormatter提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用
    titleFormatter提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {y}为value所对应的y轴的类目值。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
    markerserie的符号标志。
    fixedWidth0固定宽度。比 minWidth 优先。
    fixedHeight0固定高度。比 minHeight 优先。
    minWidth0最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。
    minHeight0最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。
    numericFormatter标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式常见的格式:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:yyyy-MM-dd HH:mm:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    paddingLeftRight10左右边距。
    paddingTopBottom10上下边距。
    ignoreDataShowfalse是否显示忽略数据在tooltip上。
    ignoreDataDefaultContent被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。
    showContenttrue是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。
    alwayShowContentfalse是否触发后一直显示提示框浮层。
    offsetVector2(18f, -25f)提示框相对于鼠标位置的偏移。
    backgroundImage提示框的背景图片。
    backgroundType提示框的背景图片显示类型。
    backgroundColor提示框的背景颜色。
    borderWidth2f边框线宽。
    fixedX0f固定X位置的坐标。
    fixedY0.7f固定Y位置的坐标。
    titleHeight25f标题文本的高。
    itemHeight25f数据项文本的高。
    borderColorColor32(230, 230, 230, 255)边框颜色。
    lineStyle指示线样式。 LineStyle
    titleLabelStyle标题的文本样式。 LabelStyle
    contentLabelStyles内容部分的文本样式列表。和列一一对应。

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f指示线线宽。
    lineColor指示线颜色。
    areaColor区域指示的颜色。
    labelTextColor十字指示器坐标轴标签的文本颜色。
    labelBackgroundColor十字指示器坐标轴标签的背景颜色。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse

    ViewControl

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.11.0 开始支持

    3D视角控制组件。

    参数默认版本描述
    alpha90f视角在x-z平面的角度。
    beta55f视角在y-z平面的角度。

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    参数默认版本描述
    showtrue组件是否生效。
    showUIfalse是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。
    type组件类型。
    VisualMap.Type:
    - Continuous: 连续型。
    - Piecewise: 分段型。
    selectedMode选择模式。
    VisualMap.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    serieIndex0影响的serie索引。
    min0范围最小值
    max0范围最大值
    range指定手柄对应数值的位置。range 应在[min,max]范围内。
    text两端的文本,如 ['High', 'Low']
    textGap两端文字主体之间的距离,单位为px。
    splitNumber5对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。
    calculablefalse是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。
    realtimetrue拖拽时,是否实时更新。
    itemWidth20f图形的宽度,即颜色条的宽度。
    itemHeight140f图形的高度,即颜色条的高度。
    itemGap10f每个图元之间的间隔距离。
    borderWidth0边框线宽,单位px。
    dimension-1Starting at 1, the default is 0 to take the last dimension in data.
    autoMinMaxtrueAutomatically set min, Max value 自动设置min,max的值
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location组件显示的位置。 Location
    workOnLinetrue组件是否对LineChart的LineStyle有效。
    workOnAreafalse组件是否对LineChart的AreaStyle有效。
    outOfRange定义 在选中范围外 的视觉颜色。
    inRange分段式每一段的相关配置。

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    min范围最小值
    max范围最大值
    label文字描述
    color颜色

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    borderWidth边框线宽。
    borderColor边框颜色。
    backgroundColor背景颜色。
    triangeLen20f可视化组件的调节三角形边长。

    Wrapper<T>

    class in XCharts.Runtime

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    XAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    class in XCharts.Runtime

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    参数默认版本描述
    langLang
    font
    tMPFont
    fontSizeLv128一级字体大小。
    fontSizeLv224
    fontSizeLv320
    fontSizeLv418
    axisLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisLineWidth0.8f
    axisSplitLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisSplitLineWidth0.8f
    axisTickWidth0.8f
    axisTickLength5f
    gaugeAxisLineWidth15f
    gaugeAxisSplitLineWidth0.8f
    gaugeAxisSplitLineLength15f
    gaugeAxisTickWidth0.8f
    gaugeAxisTickLength5f
    tootipLineWidth0.8f
    dataZoomBorderWidth0.5f
    dataZoomDataLineWidth0.5f
    visualMapBorderWidth0f
    serieLineWidth1.8f
    serieLineSymbolSize5f
    serieScatterSymbolSize20f
    serieSelectedRate1.3f
    serieCandlestickBorderWidth1f
    editorShowAllListDatafalse
    maxPainter10
    lineSmoothStyle3f
    lineSmoothness2f
    lineSegmentDistance3f
    cicleSmoothness2f
    visualMapTriangeLen20f
    customThemes

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    YAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    ZAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    Was this helpful?
    - - +
    Version: v3.12.0

    配置项手册

    Serie 系列

    Theme 主题

    MainComponent 主组件

    ChildComponent 子组件

    ISerieComponent 可添加到Serie的组件

    ISerieDataComponent 可添加到SerieData的组件

    Other 其他

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    AngleAxis.startAngle

    float 0

    起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn, AnimationFadeOut, AnimationChange, AnimationAddition, AnimationHiding, AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    AnimationInfo.delay

    float 0 v3.8.0

    动画开始前的延迟时间。

    AnimationInfo.duration

    float 1000 v3.8.0

    动画的时长。

    AnimationInfo.enable

    bool true v3.8.0

    是否开启动画效果。

    AnimationInfo.reverse

    bool false v3.8.0

    是否开启反向动画效果。

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    AnimationInteraction.offset

    MLValue v3.8.0

    交互的多样式数值。如饼图的扇形选中时的偏移。

    AnimationInteraction.radius

    MLValue v3.8.0

    半径的多样式数值。

    AnimationInteraction.width

    MLValue v3.8.0

    宽度的多样式数值。

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    AnimationStyle.addition

    AnimationAddition v3.8.0

    数据新增动画配置。

    AnimationStyle.change

    AnimationChange v3.8.0

    数据变更动画配置。

    AnimationStyle.easting

    AnimationEasing

    可选:

    • Linear:

    AnimationStyle.enable

    bool true

    是否开启动画效果。

    AnimationStyle.fadeIn

    AnimationFadeIn v3.8.0

    渐入动画配置。

    AnimationStyle.fadeOut

    AnimationFadeOut v3.8.0

    渐出动画配置。

    AnimationStyle.hiding

    AnimationHiding v3.8.0

    数据隐藏动画配置。

    AnimationStyle.interaction

    AnimationInteraction v3.8.0

    交互动画配置。

    AnimationStyle.threshold

    int 2000

    是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。

    AnimationStyle.type

    AnimationType

    动画类型。

    可选:

    • Default: 默认。内部会根据实际情况选择一种动画播放方式。
    • LeftToRight: 从左往右播放动画。
    • BottomToTop: 从下往上播放动画。
    • InsideOut: 由内到外播放动画。
    • AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    • Clockwise: 顺时针播放动画。

    AnimationStyle.unscaledTime

    bool v3.4.0

    动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    区域填充样式。

    AreaStyle.color

    Color32

    区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。

    AreaStyle.innerFill

    bool v3.2.0

    是否只填充多边形区域。目前只支持凸多边形。

    AreaStyle.opacity

    float 0.6f

    图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。

    AreaStyle.origin

    AreaStyle.AreaOrigin

    区域填充的起始位置。

    可选:

    • Auto: 填充坐标轴轴线到数据间的区域。
    • Start: 填充坐标轴底部到数据间的区域。
    • End: 填充坐标轴顶部到数据间的区域。

    AreaStyle.show

    bool true

    是否显示区域填充。

    AreaStyle.toColor

    Color32

    渐变色的终点颜色。

    AreaStyle.toTop

    bool true v3.6.0

    渐变色是到顶部还是到实际位置。默认为true到顶部。

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    ArrowStyle.color

    Color32 Color.clear

    箭头颜色。

    ArrowStyle.dent

    float 3

    箭头的凹度。

    ArrowStyle.height

    float 15

    箭头高。

    ArrowStyle.offset

    float 0

    箭头偏移。

    ArrowStyle.width

    float 10

    箭头宽。

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis, ParallelAxis, RadiusAxis, SingleAxis, XAxis, XAxis3D, YAxis, YAxis3D, ZAxis3D

    直角坐标系的坐标轴组件。

    Axis.animation

    AxisAnimation

    坐标轴动画。

    Axis.axisLabel

    AxisLabel

    坐标轴刻度标签。

    Axis.axisLine

    AxisLine

    坐标轴轴线。

    Axis.axisName

    AxisName

    坐标轴名称。

    Axis.axisTick

    AxisTick

    坐标轴刻度。

    Axis.boundaryGap

    bool true

    坐标轴两边是否留白。只对类目轴有效。

    Axis.ceilRate

    double 0

    最大最小值向上取整的倍率。默认为0时自动计算。

    Axis.clockwise

    bool true

    刻度增长是否按顺时针,默认顺时针。

    Axis.data

    List<string>

    类目数据,在类目轴(type: 'category')中有效。

    Axis.gridIndex

    int

    坐标轴所在的 grid 的索引,默认位于第一个 grid。

    Axis.icons

    List<Sprite>

    类目数据对应的图标。

    Axis.indicatorLabel

    LabelStyle v3.4.0

    指示器文本的样式。Tooltip为Cross时使用。

    Axis.insertDataToHead

    bool

    添加新数据时是在列表的头部还是尾部加入。

    Axis.interval

    double 0

    强制设置坐标轴分割间隔。无法在类目轴中使用。

    Axis.inverse

    bool false

    是否反向坐标轴。在类目轴中无效。

    Axis.logBase

    float 10

    对数轴的底数,只在对数轴(type:'Log')中有效。

    Axis.logBaseE

    bool false

    对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。

    Axis.max

    double

    设定的坐标轴刻度最大值,当minMaxType为Custom时有效。

    Axis.maxCache

    int 0

    The first data will be remove when the size of axis data is larger then maxCache.

    Axis.min

    double

    设定的坐标轴刻度最小值,当minMaxType为Custom时有效。

    Axis.minCategorySpacing

    float 0 v3.11.0

    类目之间的最小间距。

    Axis.minMaxType

    Axis.AxisMinMaxType

    坐标轴刻度最大最小值显示类型。

    可选:

    • Default: 0-最大值。
    • MinMax: 最小值-最大值。
    • Custom: 自定义最小值最大值。
    • MinMaxAuto: [since("v3.7.0")]最小值-最大值。自动计算合适的值。

    Axis.minorSplitLine

    AxisMinorSplitLine v3.2.0

    坐标轴次分割线。

    Axis.minorTick

    AxisMinorTick v3.2.0

    坐标轴次刻度。

    Axis.offset

    float

    坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。

    Axis.parallelIndex

    int

    坐标轴所在的 parallel 的索引,默认位于第一个 parallel。

    Axis.polarIndex

    int

    坐标轴所在的 ploar 的索引,默认位于第一个 polar。

    Axis.position

    Axis.AxisPosition

    坐标轴在Grid中的位置。

    可选:

    • Left: 坐标轴在Grid中的位置
    • Right: 坐标轴在Grid中的位置
    • Bottom: 坐标轴在Grid中的位置
    • Top: 坐标轴在Grid中的位置
    • Center: 坐标轴在Grid中的位置

    Axis.show

    bool true

    是否显示坐标轴。

    Axis.splitArea

    AxisSplitArea

    坐标轴分割区域。

    Axis.splitLine

    AxisSplitLine

    坐标轴分割线。

    Axis.splitNumber

    int 0

    坐标轴的期望的分割段数。默认为0表示自动分割。

    Axis.type

    Axis.AxisType

    坐标轴类型。

    可选:

    • Value: 数值轴。适用于连续数据。
    • Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    • Log: 对数轴。适用于对数数据。
    • Time: 时间轴。适用于连续的时序数据。

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    AxisAnimation.duration

    float

    动画时长(ms)。 默认设置为0时,会自动获取serie的动画时长。

    AxisAnimation.show

    bool true

    是否开启动画。

    AxisAnimation.unscaledTime

    bool

    动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    AxisLabel.inside

    bool false

    刻度标签是否朝内,默认朝外。

    AxisLabel.interval

    int 0

    坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。

    AxisLabel.onZero

    bool false

    刻度标签显示在0刻度上。

    AxisLabel.showAsPositiveNumber

    bool false

    将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。

    AxisLabel.showEndLabel

    bool true

    是否显示最后一个文本。

    AxisLabel.showStartLabel

    bool true

    是否显示第一个文本。

    AxisLabel.textLimit

    TextLimit

    文本限制。

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    AxisLine.arrow

    ArrowStyle

    轴线箭头。

    AxisLine.onZero

    bool

    X 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。

    AxisLine.showArrow

    bool

    是否显示箭头。

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    AxisMinorSplitLine.autoColor

    bool

    自动设置颜色。

    AxisMinorSplitLine.distance

    float

    刻度线与轴线的距离。

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    AxisMinorTick.autoColor

    bool

    AxisMinorTick.splitNumber

    int 5

    分隔线之间分割的刻度数。

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    AxisName.labelStyle

    LabelStyle

    文本样式。

    AxisName.name

    string

    坐标轴名称。

    AxisName.onZero

    bool v3.1.0

    坐标轴名称的位置是否保持和Y轴0刻度一致。

    AxisName.show

    bool

    是否显示坐标轴名称。

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    AxisSplitArea.color

    List<Color32>

    分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitArea.show

    bool

    是否显示分隔区域。

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    AxisSplitLine.autoColor

    bool

    自动设置颜色。

    AxisSplitLine.distance

    float

    刻度线与轴线的距离。

    AxisSplitLine.interval

    int

    坐标轴分隔线的显示间隔。

    AxisSplitLine.showEndLine

    bool true v3.3.0

    是否显示最后一条分割线。

    AxisSplitLine.showStartLine

    bool true v3.3.0

    是否显示第一条分割线。

    AxisSplitLine.showZLine

    bool true v3.11.0

    是否显示Z轴部分分割线。一般用于3D坐标系。

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    AxisTick.alignWithLabel

    bool

    类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。

    AxisTick.autoColor

    bool

    AxisTick.distance

    float

    刻度线与轴线的距离。

    AxisTick.inside

    bool

    坐标轴刻度是否朝内,默认朝外。

    AxisTick.showEndTick

    bool

    是否显示最后一个刻度。

    AxisTick.showStartTick

    bool

    是否显示第一个刻度。

    AxisTick.splitNumber

    int 0

    分隔线之间分割的刻度数。

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    Background.autoColor

    bool true

    当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。

    Background.borderStyle

    BorderStyle v3.10.0

    背景边框样式。

    Background.image

    Sprite

    背景图。

    Background.imageColor

    Color

    背景图颜色。

    Background.imageHeight

    float 0 v3.10.0

    背景图高度。

    Background.imageType

    Image.Type

    背景图填充类型。

    Background.imageWidth

    float 0 v3.10.0

    背景图宽度。

    Background.show

    bool true

    是否启用背景组件。

    Bar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme, RadiusAxisTheme, AngleAxisTheme, PolarAxisTheme, RadarAxisTheme

    BaseAxisTheme.lineColor

    Color32

    坐标轴线颜色。

    BaseAxisTheme.lineLength

    float 0f

    坐标轴线长。

    BaseAxisTheme.lineType

    LineStyle.Type

    坐标轴线类型。

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    BaseAxisTheme.lineWidth

    float 1f

    坐标轴线宽。

    BaseAxisTheme.minorSplitLineColor

    Color32

    次分割线线颜色。

    BaseAxisTheme.splitAreaColors

    List<Color32>

    坐标轴分隔区域的颜色。

    BaseAxisTheme.splitLineColor

    Color32

    分割线线颜色。

    BaseAxisTheme.splitLineLength

    float 0f

    分割线线长。

    BaseAxisTheme.splitLineType

    LineStyle.Type

    分割线线类型。

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    BaseAxisTheme.splitLineWidth

    float 1f

    分割线线宽。

    BaseAxisTheme.tickColor

    Color32

    坐标轴线颜色。

    BaseAxisTheme.tickLength

    float 5f

    刻度线线长。

    BaseAxisTheme.tickWidth

    float 1f

    刻度线线宽。

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine, AxisMinorSplitLine, AxisMinorTick, AxisSplitLine, AxisTick

    线条基础配置。

    BaseLine.lineStyle

    LineStyle

    线条样式

    BaseLine.show

    bool

    是否显示坐标轴轴线。

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer / 子类: EffectScatter, Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    BorderStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    边框样式。

    BorderStyle.borderColor

    Color32

    边框颜色。

    BorderStyle.borderWidth

    float

    边框宽度。

    BorderStyle.cornerRadius

    float[]

    圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。当为(1,1,1,1)时为全圆角。

    BorderStyle.roundedCorner

    bool true

    是否显示圆角。

    BorderStyle.show

    bool false

    是否显示边框。

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Candlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ChartText

    class in XCharts.Runtime

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle, AxisAnimation, AxisName, AxisSplitArea, AreaStyle, ArrowStyle, BaseLine, BorderStyle, IconStyle, ImageStyle, ItemStyle, Level, LevelStyle, LineArrow, LineStyle, Location, MLValue, MarqueeStyle, Padding, StageColor, SymbolStyle, TextLimit, TextStyle, CommentItem, CommentMarkStyle, LabelLine, LabelStyle, MarkAreaData, MarkLineData, StateStyle, VisualMapRange, ViewControl, UIComponentTheme, SerieData, SerieDataLink, ComponentTheme, SerieTheme, ThemeStyle

    Comment

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图表注解组件。

    Comment.items

    List<CommentItem>

    注解项。每个注解组件可以设置多个注解项。

    Comment.labelStyle

    LabelStyle

    所有组件的文本样式。

    Comment.markStyle

    CommentMarkStyle

    所有组件的文本样式。

    Comment.show

    bool true

    是否显示注解组件。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    CommentItem.content

    string

    注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。

    CommentItem.labelStyle

    LabelStyle

    注解项的文本样式。

    CommentItem.location

    Location v3.5.0

    Comment显示的位置。

    CommentItem.markRect

    Rect

    注解区域。

    CommentItem.markStyle

    CommentMarkStyle

    注解标记区域样式。

    CommentItem.show

    bool true

    是否显示当前注解项。

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    CommentMarkStyle.lineStyle

    LineStyle

    线条样式。

    CommentMarkStyle.show

    bool true

    是否显示当前注解项。

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme, DataZoomTheme, LegendTheme, SubTitleTheme, TitleTheme, TooltipTheme, VisualMapTheme

    ComponentTheme.font

    Font

    字体。

    ComponentTheme.fontSize

    int 18

    文本字体大小。

    ComponentTheme.textBackgroundColor

    Color

    文本颜色。

    ComponentTheme.textColor

    Color

    文本颜色。

    ComponentTheme.tMPFont

    TMP_FontAsset

    字体。

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord, CalendarCoord, GridCoord, GridCoord3D, ParallelCoord, PolarCoord, SingleAxisCoord

    坐标系系统。

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    DataZoom.areaStyle

    AreaStyle

    阴影填充样式。

    DataZoom.backgroundColor

    Color32

    组件的背景颜色。

    DataZoom.borderColor

    Color32

    边框颜色。

    DataZoom.borderWidth

    float

    边框宽。

    DataZoom.bottom

    float

    组件离容器下侧的距离。

    DataZoom.enable

    bool true

    是否显示缩放区域。

    DataZoom.end

    float

    数据窗口范围的结束百分比。范围是:0 ~ 100。

    DataZoom.endLock

    bool v3.6.0

    固定结束值,不让改变。

    DataZoom.fillerColor

    Color32

    数据区域颜色。

    DataZoom.filterMode

    DataZoom.FilterMode

    数据过滤类型。

    可选:

    • Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    • WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    • Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    • None: 不过滤数据,只改变数轴范围。

    DataZoom.labelStyle

    LabelStyle

    文本标签格式。

    DataZoom.left

    float

    组件离容器左侧的距离。

    DataZoom.lineStyle

    LineStyle

    阴影线条样式。

    DataZoom.marqueeStyle

    MarqueeStyle v3.5.0

    选取框样式。

    DataZoom.minShowNum

    int 2

    最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。

    DataZoom.orient

    Orient

    布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    DataZoom.rangeMode

    DataZoom.RangeMode

    取绝对值还是百分比。

    可选:

    • //Value: The value type of start and end.取值类型
    • Percent: 百分比。

    DataZoom.right

    float

    组件离容器右侧的距离。

    DataZoom.scrollSensitivity

    float 1.1f

    缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。

    DataZoom.showDataShadow

    bool

    是否显示数据阴影。数据阴影可以简单地反应数据走势。

    DataZoom.showDetail

    bool

    是否显示detail,即拖拽时候显示详细数值信息。

    DataZoom.start

    float

    数据窗口范围的起始百分比。范围是:0 ~ 100。

    DataZoom.startLock

    bool v3.6.0

    固定起始值,不让改变。

    DataZoom.supportInside

    bool

    是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。

    DataZoom.supportInsideDrag

    bool true

    是否支持坐标系内拖拽

    DataZoom.supportInsideScroll

    bool true

    是否支持坐标系内滚动

    DataZoom.supportMarquee

    bool

    是否支持框选。提供一个选框进行数据区域缩放。

    DataZoom.supportSlider

    bool

    是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。

    DataZoom.top

    float

    组件离容器上侧的距离。

    DataZoom.xAxisIndexs

    List<int>

    控制的 x 轴索引列表。

    DataZoom.yAxisIndexs

    List<int>

    控制的 y 轴索引列表。

    DataZoom.zoomLock

    bool

    是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    DataZoomTheme.backgroundColor

    Color32

    背景颜色。

    DataZoomTheme.borderColor

    Color32

    边框颜色。

    DataZoomTheme.borderWidth

    float

    边框线宽。

    DataZoomTheme.dataAreaColor

    Color32

    数据阴影的填充颜色。

    DataZoomTheme.dataLineColor

    Color32

    数据阴影的线条颜色。

    DataZoomTheme.dataLineWidth

    float

    数据阴影线宽。

    DataZoomTheme.fillerColor

    Color32

    数据区域颜色。

    DebugInfo

    class in XCharts.Runtime

    DebugInfo.foldSeries

    bool false

    是否在Inspector上折叠Serie。

    DebugInfo.labelStyle

    LabelStyle

    DebugInfo.show

    bool true

    是否显示Debug组件。

    DebugInfo.showAllChartObject

    bool false

    是否在Hierarchy试图显示所有chart下的节点。

    DebugInfo.showDebugInfo

    bool false

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    EmphasisStyle.blurScope

    EmphasisStyle.BlurScope

    在开启focus的时候,可以通过blurScope配置淡出的范围。

    可选:

    • GridCoord: 淡出范围为坐标系,默认使用该配置。
    • Series: 淡出范围为系列。
    • Global: 淡出范围为全局。

    EmphasisStyle.focus

    EmphasisStyle.FocusType

    在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。

    可选:

    • None: 不淡出其它图形,默认使用该配置。
    • Self: 只聚焦(不淡出)当前高亮的数据的图形。
    • Series: 聚焦当前高亮的数据所在的系列的所有图形。

    EmphasisStyle.scale

    float 1.1f

    高亮时的缩放倍数。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    GridCoord.backgroundColor

    Color32

    网格背景色,默认透明。

    GridCoord.borderColor

    Color32

    网格边框颜色。

    GridCoord.borderWidth

    float 0f

    网格边框宽。

    GridCoord.bottom

    float 0.14f

    grid 组件离容器下侧的距离。

    GridCoord.layoutIndex

    int -1 v3.8.0

    网格所属的网格布局组件的索引。默认为-1,表示不属于任何网格布局组件。当设置了该值时,left、right、top、bottom属性将失效。

    GridCoord.left

    float 0.11f

    grid 组件离容器左侧的距离。

    GridCoord.right

    float 0.08f

    grid 组件离容器右侧的距离。

    GridCoord.show

    bool true

    是否显示直角坐标系网格。

    GridCoord.showBorder

    bool false

    是否显示网格边框。

    GridCoord.top

    float 0.22f

    grid 组件离容器上侧的距离。

    GridCoord3D

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    v3.11.0 开始支持

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    GridCoord3D.bottom

    float 0.15f

    grid 组件离容器下侧的距离。

    GridCoord3D.boxDepth

    float 0.2f

    坐标系的深度。

    GridCoord3D.boxHeight

    float 0.4f

    坐标系的高度。

    GridCoord3D.boxWidth

    float 0.55f

    坐标系的宽度。

    GridCoord3D.left

    float 0.15f

    grid 组件离容器左侧的距离。

    GridCoord3D.right

    float 0.2f

    grid 组件离容器右侧的距离。

    GridCoord3D.show

    bool true

    是否显示直角坐标系网格。

    GridCoord3D.showBorder

    bool false

    是否显示网格边框。

    GridCoord3D.top

    float 0.3f

    grid 组件离容器上侧的距离。

    GridCoord3D.viewControl

    ViewControl

    3D视角控制组件。

    GridCoord3D.xYExchanged

    bool false

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    GridLayout.bottom

    float 0.12f

    grid 组件离容器下侧的距离。

    GridLayout.column

    int 2

    网格布局的列数。

    GridLayout.inverse

    bool false

    是否反转网格布局。

    GridLayout.left

    float 0.1f

    grid 组件离容器左侧的距离。

    GridLayout.right

    float 0.08f

    grid 组件离容器右侧的距离。

    GridLayout.row

    int 2

    网格布局的行数。

    GridLayout.show

    bool true

    是否显示直角坐标系网格。

    GridLayout.spacing

    Vector2 Vector2.zero

    网格布局的间距。

    GridLayout.top

    float 0.22f

    grid 组件离容器上侧的距离。

    Heatmap

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    Heatmap.heatmapType

    HeatmapType v3.3.0

    热力图类型。通过颜色映射划分。

    可选:

    • Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    • Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    IconStyle.align

    Align

    水平方向对齐方式。

    可选:

    • Center: 对齐方式。文本,图标,图形等的对齐方式。
    • Left: 对齐方式。文本,图标,图形等的对齐方式。
    • Right: 对齐方式。文本,图标,图形等的对齐方式。

    IconStyle.autoHideWhenLabelEmpty

    bool false

    当label内容为空时是否自动隐藏图标

    IconStyle.color

    Color

    图标颜色。

    IconStyle.height

    float 20

    图标高。

    IconStyle.layer

    IconStyle.Layer

    显示在上层还是在下层。

    可选:

    • UnderText: The icon is display under the label text. 图标在标签文字下
    • AboveText: The icon is display above the label text. 图标在标签文字上

    IconStyle.offset

    Vector3

    图标偏移。

    IconStyle.show

    bool false

    是否显示图标。

    IconStyle.sprite

    Sprite

    图标的图片。

    IconStyle.type

    Image.Type

    图片的显示类型。

    IconStyle.width

    float 20

    图标宽。

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    ImageStyle.autoColor

    bool

    是否自动颜色。

    ImageStyle.color

    Color

    图标颜色。

    ImageStyle.height

    float 0

    图标高。

    ImageStyle.show

    bool true

    是否显示图标。

    ImageStyle.sprite

    Sprite

    图标的图片。

    ImageStyle.type

    Image.Type

    图片的显示类型。

    ImageStyle.width

    float 0

    图标宽。

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    Indicator.axisLine

    AxisLine

    轴线。

    Indicator.axisName

    AxisName

    雷达图每个指示器名称的配置项。

    Indicator.ceilRate

    double 0

    最大最小值向上取整的倍率。默认为0时自动计算。

    Indicator.center

    float[]

    雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。

    Indicator.connectCenter

    bool false

    数值是否连线到中心点。

    Indicator.gridIndex

    int -1 v3.8.0

    所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。

    Indicator.indicator

    bool true

    是否显示指示器。

    Indicator.indicatorGap

    float 10

    指示器和雷达的间距。

    Indicator.indicatorList

    List<Indicator>

    指示器列表。

    Indicator.isAxisTooltip

    bool

    是否Tooltip显示轴线上的所有数据。

    Indicator.lineGradient

    bool true

    数值线段是否需要渐变。

    Indicator.max

    double

    指示器的最大值,默认为 0 无限制。

    Indicator.min

    double

    指示器的最小值,默认为 0 无限制。

    Indicator.name

    string

    指示器名称。

    Indicator.outRangeColor

    Color32 Color.red

    数值超出范围时显示的颜色。

    Indicator.positionType

    PositionType

    显示位置类型。

    Indicator.radius

    float 100

    雷达图的半径。

    Indicator.range

    double[]

    正常值范围。当数值不在这个范围时,会自动变更显示颜色。

    Indicator.shape

    Shape

    雷达图绘制类型,支持 'Polygon' 和 'Circle'。

    Indicator.show

    bool

    是否显示雷达坐标系组件。

    Indicator.splitArea

    AxisSplitArea

    分割区域。

    Indicator.splitLine

    AxisSplitLine

    分割线。

    Indicator.splitNumber

    int 5

    指示器轴的分割段数。

    Indicator.startAngle

    float v3.4.0

    起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Radar, BaseScatter

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location, Comment, Legend, Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, LineArrow, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord, CalendarCoord, GridCoord, GridCoord3D, ParallelCoord, PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, ItemStyle, LineStyle, SerieSymbol, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar, SimplifiedCandlestick, SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    图形样式。

    ItemStyle.backgroundColor

    Color32

    数据项背景颜色。

    ItemStyle.backgroundWidth

    float

    数据项背景宽度。

    ItemStyle.borderColor

    Color32

    边框的颜色。

    ItemStyle.borderColor0

    Color32

    边框的颜色。

    ItemStyle.borderGap

    float 0

    边框间隙。

    ItemStyle.borderToColor

    Color32

    边框的渐变色。

    ItemStyle.borderWidth

    float 0

    边框宽。

    ItemStyle.centerColor

    Color32

    中心区域颜色。

    ItemStyle.centerGap

    float

    中心区域间隙。

    ItemStyle.color

    Color32

    数据项颜色。

    ItemStyle.color0

    Color32

    数据项颜色。

    ItemStyle.cornerRadius

    float[]

    圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    ItemStyle.itemFormatter

    string

    提示框单项的字符串模版格式器。具体配置参考Tooltipformatter

    ItemStyle.itemMarker

    string

    提示框单项的字符标志。用在Tooltip中。

    ItemStyle.markColor

    Color32 v3.6.0

    Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。

    ItemStyle.numericFormatter

    string

    标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式:以date开头,用来格式化DateTime,常见格式有:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:date:yyyy-MM-dd HH:mm:ss
    时间格式:以time开头,用来格式化TimeSpan,常见格式有:d日,HH时,mm分,ss秒,fffffff小数部分。 需要Unity2018以上版本才支持格式化,并且里面的字符要转义。如:time:d.HH\:mm\:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    时间格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings
    注意:date和time格式需要v3.12.0以上版本才支持。

    ItemStyle.opacity

    float 1

    透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。

    ItemStyle.show

    bool true

    是否启用。

    ItemStyle.toColor

    Color32

    渐变色的颜色1。

    ItemStyle.toColor2

    Color32

    渐变色的颜色2。只在折线图中有效。

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis, DataZoom, CalendarCoord, GridCoord, GridLayout, GridCoord3D, ParallelCoord

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    标签的引导线

    LabelLine.endSymbol

    SymbolStyle

    结束点的图形标记。

    LabelLine.lineAngle

    float 60

    视觉引导线的固定角度。对折线和曲线有效。在Pie中无效。

    LabelLine.lineColor

    Color32 Color32(0,0,0,0)

    视觉引导线颜色。默认和serie一致取自调色板。

    LabelLine.lineEndX

    float 0f v3.8.0

    视觉引导线结束点的固定x位置。当不为0时,会代替lineLength2设定引导线的x位置。

    LabelLine.lineGap

    float 1.0f

    视觉引导线和容器的间距。

    LabelLine.lineLength1

    float 25f

    视觉引导线第一段的长度。

    LabelLine.lineLength2

    float 15f

    视觉引导线第二段的长度。

    LabelLine.lineType

    LabelLine.LineType

    视觉引导线类型。

    可选:

    • BrokenLine: 折线
    • Curves: 曲线
    • HorizontalLine: 水平线

    LabelLine.lineWidth

    float 1.0f

    视觉引导线的宽度。

    LabelLine.show

    bool true

    是否显示视觉引导线。

    LabelLine.startSymbol

    SymbolStyle

    起始点的图形标记。

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent / 子类: AxisLabel, EndLabelStyle, TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    LabelStyle.autoOffset

    bool false

    是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。

    LabelStyle.autoRotate

    bool false v3.6.0

    是否自动旋转。

    LabelStyle.background

    ImageStyle

    背景图样式。

    LabelStyle.distance

    float

    距离轴线的距离。

    LabelStyle.formatter

    string

    标签内容字符串模版格式器。支持用 \n 换行。部分组件的格式器会不生效。
    模板通配符有以下这些,部分只适用于固定的组件:
    {.}:圆点标记。
    {a}:系列名。
    {b}:X轴类目名或数据名。
    {c}:数据值。
    {d}:百分比。
    {e}:数据名。
    {f}:数据和。
    {g}:数据总个数。
    {h}:十六进制颜色值。
    {y}:Y轴的类目名。
    {value}:坐标轴或图例的值。
    以下通配符适用UITable组件:
    {name}: 表格的行名。
    {index}:表格的行号。
    以下通配符适用UIStatistc组件:
    {title}:标题文本。
    {dd}:天。
    {hh}:小时。
    {mm}:分钟。
    {ss}:秒。
    {fff}:毫秒。
    {d}:天。
    {h}:小时。
    {m}:分钟。
    {s}:秒。
    {f}:毫秒。
    示例:“{b}:{c}”

    LabelStyle.height

    float 0

    标签的高度。一般不用指定,不指定时则自动是文字的高度。

    LabelStyle.icon

    IconStyle

    图标样式。

    LabelStyle.numericFormatter

    string

    标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式:以date开头,用来格式化DateTime,常见格式有:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:date:yyyy-MM-dd HH:mm:ss
    时间格式:以time开头,用来格式化TimeSpan,常见格式有:d日,HH时,mm分,ss秒,fffffff小数部分。 需要Unity2018以上版本才支持格式化,并且里面的字符要转义。如:time:d.HH\:mm\:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    时间格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings
    注意:date和time格式需要v3.12.0以上版本才支持。

    LabelStyle.offset

    Vector3

    距离图形元素的偏移

    LabelStyle.Position

    [SerializeField]

    标签的位置。

    LabelStyle.rotate

    float

    文本的旋转。

    LabelStyle.show

    bool true

    是否显示文本标签。

    LabelStyle.textPadding

    TextPadding

    文本的边距。

    LabelStyle.textStyle

    TextStyle

    文本样式。

    LabelStyle.width

    float 0

    标签的宽度。一般不用指定,不指定时则自动是文字的宽度。

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    Legend

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    Legend.background

    ImageStyle v3.1.0

    背景图样式。

    Legend.colors

    List<Color>

    图例标记的颜色列表。

    Legend.data

    List<string>

    图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。

    Legend.formatter

    string

    不再使用,使用LabelStyle.formatter代替。

    Legend.icons

    List<Sprite>

    自定义的图例标记图形。

    Legend.iconType

    Legend.Type

    图例类型。

    可选:

    • Auto: 自动匹配。
    • Custom: 自定义图标。
    • EmptyCircle: 空心圆。
    • Circle: 圆形。
    • Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    • Triangle: 三角形。
    • Diamond: 菱形。
    • Candlestick: 烛台(可用于K线图)。

    Legend.itemAutoColor

    bool true

    图例标记的图形是否自动匹配颜色。

    Legend.itemGap

    float 10f

    图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。

    Legend.itemHeight

    float 12.0f

    图例标记的图形高度。

    Legend.itemOpacity

    float 1

    图例标记的图形的颜色透明度。

    Legend.itemWidth

    float 25.0f

    图例标记的图形宽度。

    Legend.labelStyle

    LabelStyle

    文本样式。

    Legend.location

    Location

    图例显示的位置。

    Legend.orient

    Orient

    布局方式是横还是竖。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    Legend.padding

    Padding v3.1.0

    图例标记和背景的间距。

    Legend.positions

    List<Vector3> v3.6.0

    图例标记的自定义位置列表。

    Legend.selectedMode

    Legend.SelectedMode

    选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。

    可选:

    • Multiple: 多选。
    • Single: 单选。
    • None: 无法选择。

    Legend.show

    bool true

    是否显示图例组件。

    Legend.textLimit

    TextLimit v3.10.0

    文本限制。

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    LegendTheme.unableColor

    Color

    文本颜色。

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    Level.depth

    int 0 v3.10.0

    层级深度。

    Level.itemStyle

    ItemStyle

    数据项样式。

    Level.label

    LabelStyle

    文本标签样式。

    Level.lineStyle

    LineStyle v3.10.0

    线条样式。

    Level.upperLabel

    LabelStyle

    上方的文本标签样式。

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    LevelStyle.levels

    List<Level>

    各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    LevelStyle.show

    bool false

    是否启用LevelStyle

    Line

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent

    LineArrow.arrow

    ArrowStyle

    箭头。

    LineArrow.position

    LineArrow.Position

    箭头位置。

    可选:

    • End: 末端箭头
    • Start: 头端箭头

    LineArrow.show

    bool

    是否显示箭头。

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    LineStyle.color

    Color32

    线的颜色。

    LineStyle.dashLength

    float 4 v3.8.1

    虚线的长度。默认0时为线条宽度的12倍。在折线图中代表分割段数的倍数。

    LineStyle.dotLength

    float 2 v3.8.1

    点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。

    LineStyle.gapLength

    float 2 v3.8.1

    点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。

    LineStyle.length

    float 0

    线长。

    LineStyle.opacity

    float 1

    线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。

    LineStyle.show

    bool true

    是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。

    LineStyle.toColor

    Color32

    线的渐变颜色(需要水平方向渐变时)。

    LineStyle.toColor2

    Color32

    线的渐变颜色2(需要水平方向三个渐变色的渐变时)。

    LineStyle.type

    LineStyle.Type

    线的类型。

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    LineStyle.width

    float 0

    线宽。

    Location

    class in XCharts.Runtime / 继承自: ChildComponent, IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    Location.align

    Location.Align

    对齐方式。

    可选:

    • TopLeft: 对齐方式
    • TopRight: 对齐方式
    • TopCenter: 对齐方式
    • BottomLeft: 对齐方式
    • BottomRight: 对齐方式
    • BottomCenter: 对齐方式
    • Center: 对齐方式
    • CenterLeft: 对齐方式
    • CenterRight: 对齐方式

    Location.bottom

    float

    离容器下侧的距离。

    Location.left

    float

    离容器左侧的距离。

    Location.right

    float

    离容器右侧的距离。

    Location.top

    float

    离容器上侧的距离。

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis, Background, Comment, DataZoom, Legend, MarkArea, MarkLine, Settings, Title, Tooltip, VisualMap, GridLayout, CoordSystem

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    MarkArea.end

    MarkAreaData

    标域范围的结束数据。

    MarkArea.itemStyle

    ItemStyle

    标域样式。

    MarkArea.label

    LabelStyle

    标域文本样式。

    MarkArea.serieIndex

    int 0

    Serie index of markArea. 标域影响的Serie索引。

    MarkArea.show

    bool true

    是否显示标域。

    MarkArea.start

    MarkAreaData

    标域范围的起始数据。

    MarkArea.text

    string

    The text of markArea. 标域显示的文本。

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    MarkAreaData.dimension

    int 1

    从哪个维度的数据计算最大最小值等。

    MarkAreaData.name

    string

    标注名称。会作为文字显示。

    MarkAreaData.type

    MarkAreaType

    特殊的标域类型,用于标注最大值最小值等。

    可选:

    • None: 标域类型
    • Min: 最小值。
    • Max: 最大值。
    • Average: 平均值。
    • Median: 中位数。

    MarkAreaData.xPosition

    float

    相对原点的 x 坐标,单位像素。当type为None时有效。

    MarkAreaData.xValue

    double

    X轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkAreaData.yPosition

    float

    相对原点的 y 坐标,单位像素。当type为None时有效。

    MarkAreaData.yValue

    double

    Y轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    MarkLine.animation

    AnimationStyle

    标线的动画样式。

    MarkLine.data

    List<MarkLineData>

    标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLine.onTop

    bool true v3.9.0

    是否在最上层。

    MarkLine.serieIndex

    int 0

    标线影响的Serie索引。

    MarkLine.show

    bool true

    是否显示标线。

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    MarkLineData.dimension

    int 1

    从哪个维度的数据计算最大最小值等。

    MarkLineData.endSymbol

    SymbolStyle

    结束点的图形标记。

    MarkLineData.group

    int 0

    分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。

    MarkLineData.label

    LabelStyle

    文本样式。可设置position为Start、Middle和End在不同的位置显示文本。

    MarkLineData.lineStyle

    LineStyle

    标线样式。

    MarkLineData.name

    string

    标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。

    MarkLineData.startSymbol

    SymbolStyle

    起始点的图形标记。

    MarkLineData.type

    MarkLineType

    特殊的标线类型,用于标注最大值最小值等。

    可选:

    • None: 标线类型
    • Min: 最小值。
    • Max: 最大值。
    • Average: 平均值。
    • Median: 中位数。

    MarkLineData.xPosition

    float

    相对原点的 x 坐标,单位像素。当type为None时有效。

    MarkLineData.xValue

    double

    X轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLineData.yPosition

    float

    相对原点的 y 坐标,单位像素。当type为None时有效。

    MarkLineData.yValue

    double

    Y轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLineData.zeroPosition

    bool false

    是否为坐标系原点。

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    MarqueeStyle.apply

    bool false v3.5.0

    选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。

    MarqueeStyle.areaStyle

    AreaStyle v3.5.0

    选取框区域填充样式。

    MarqueeStyle.lineStyle

    LineStyle v3.5.0

    选取框区域边框样式。

    MarqueeStyle.realRect

    bool false v3.5.0

    是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    MLValue.type

    MLValue.Type

    可选:

    • Percent: 百分比形式。
    • Absolute: 绝对值形式。
    • Extra: 额外形式。

    MLValue.value

    float

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    Padding.bottom

    float 0

    底部间距。

    Padding.left

    float 2f

    左边间距。

    Padding.right

    float 2f

    右部间距。

    Padding.show

    bool true

    show padding. 是否显示。

    Padding.top

    float 0

    顶部间距。

    Parallel

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    ParallelCoord.backgroundColor

    Color

    网格背景色,默认透明。

    ParallelCoord.bottom

    float 0.12f

    grid 组件离容器下侧的距离。

    ParallelCoord.left

    float 0.1f

    grid 组件离容器左侧的距离。

    ParallelCoord.orient

    Orient

    坐标轴朝向。默认为垂直朝向。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    ParallelCoord.right

    float 0.08f

    grid 组件离容器右侧的距离。

    ParallelCoord.show

    bool true

    是否显示直角坐标系网格。

    ParallelCoord.top

    float 0.22f

    grid 组件离容器上侧的距离。

    Pie

    class in XCharts.Runtime / 继承自: Serie

    Pie.radiusGradient

    bool false v3.8.1

    是否开启半径方向的渐变效果。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    PolarCoord.backgroundColor

    Color

    极坐标的背景色,默认透明。

    PolarCoord.center

    float[]

    极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。

    PolarCoord.indicatorLabelOffset

    float 30f v3.8.0

    指示器标签的偏移量。

    PolarCoord.radius

    float[]

    半径。radius[0]表示内径,radius[1]表示外径。

    PolarCoord.show

    bool true

    是否显示极坐标。

    Radar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    Radar.smooth

    bool false v3.2.0

    是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    Ring

    class in XCharts.Runtime / 继承自: Serie

    Ring.radiusGradient

    bool false v3.12.0

    是否开启半径方向的渐变效果。

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie, IComparable / 子类: SerieHandler<T>, Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Pie, Radar, Ring, BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    Serie.align

    Align

    组件水平方向对齐方式。

    可选:

    • Center: 对齐方式。文本,图标,图形等的对齐方式。
    • Left: 对齐方式。文本,图标,图形等的对齐方式。
    • Right: 对齐方式。文本,图标,图形等的对齐方式。

    Serie.animation

    AnimationStyle

    起始动画。

    Serie.avoidLabelOverlap

    bool false

    在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。

    Serie.barGap

    float 0.1f

    不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。

    Serie.barMaxWidth

    float 0 v3.5.0

    柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。

    Serie.barPercentStack

    bool false

    柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。

    Serie.barType

    BarType

    柱形图类型。

    可选:

    • Normal: 普通柱形图。
    • Zebra: 斑马柱形图。
    • Capsule: 胶囊柱形图。

    Serie.barWidth

    float 0

    柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。

    Serie.barZebraGap

    float 2f

    斑马线的间距。

    Serie.barZebraWidth

    float 4f

    斑马线的粗细。

    Serie.bottom

    float

    组件离容器下侧的距离。

    Serie.center

    float[]

    中心点。

    Serie.clickOffset

    bool true

    鼠标点击时是否开启偏移,一般用在PieChart图表中。

    Serie.clip

    bool false

    是否裁剪超出坐标系部分的图形。

    Serie.clockwise

    bool true

    是否顺时针。

    Serie.colorBy

    SerieColorBy v3.2.0

    从主题中取色的策略。

    可选:

    • Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略。
    • Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    • Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。

    Serie.coordSystem

    string

    使用的坐标系。

    Serie.data

    List<SerieData>

    系列中的数据内容数组。SerieData可以设置1到n维数据。

    Serie.dataSortType

    SerieDataSortType

    组件的数据排序。

    可选:

    • None: 按数据的顺序。
    • Ascending: 升序。
    • Descending: 降序。

    Serie.endAngle

    float

    结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。

    Serie.gap

    float

    间距。

    Serie.gridIndex

    int -1 v3.8.0

    所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。

    Serie.ignore

    bool false

    是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。

    Serie.ignoreLineBreak

    bool false

    忽略数据时折线是断开还是连接。默认false为连接。

    Serie.ignoreValue

    double 0

    忽略数据的默认值。当ignore为true才有效。

    Serie.index

    int

    系列索引。

    Serie.insertDataToHead

    bool

    添加新数据时是在列表的头部还是尾部加入。

    Serie.itemStyle

    ItemStyle

    图形样式。

    Serie.large

    bool true

    是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。

    Serie.largeThreshold

    int 200

    开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。

    Serie.left

    float

    组件离容器左侧的距离。

    Serie.lineStyle

    LineStyle

    线条样式。

    Serie.lineType

    LineType

    折线图样式类型。

    可选:

    • Normal: 普通折线图。
    • Smooth: 平滑曲线。
    • StepStart: 阶梯线图:当前点。
    • StepMiddle: 阶梯线图:当前点和下一个点的中间。
    • StepEnd: 阶梯线图:下一个拐点。

    List<SerieDataLink>

    数据节点的边。

    Serie.max

    float

    最大值。

    Serie.maxCache

    int

    系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。

    Serie.maxShow

    int

    系列所显示数据的最大索引

    Serie.maxSize

    float 1f

    数据最大值 max 映射的宽度。

    Serie.min

    float

    最小值。

    Serie.minAngle

    float

    最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。

    Serie.minRadius

    float 0f v3.8.0

    最小半径。可用于限制玫瑰图的最小半径。

    Serie.minShow

    int

    系列所显示数据的最小索引

    Serie.minShowLabel

    bool false v3.10.0

    是否开启值小于指定值minShowLabelValue时不显示标签。

    Serie.minShowLabelValue

    double 0 v3.10.0

    当开启minShowLabel时,值小于该值时不显示标签。

    Serie.minSize

    float 0f

    数据最小值 min 映射的宽度。

    Serie.orient

    Orient

    组件的朝向。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    Serie.parallelIndex

    int 0

    所使用的 parallel coord 组件的 index。

    Serie.placeHolder

    bool false

    占位模式。占位模式时,数据有效但不参与渲染和显示。

    Serie.polarIndex

    int 0

    所使用的 polar 组件的 index。

    Serie.radarIndex

    int 0

    雷达图所使用的 radar 组件的 index。

    Serie.radarType

    RadarType

    雷达图类型。

    可选:

    • Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    • Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]

    Serie.radius

    float[]

    半径。radius[0]表示内径,radius[1]表示外径。

    Serie.right

    float

    组件离容器右侧的距离。

    Serie.roseType

    RoseType

    是否展示成南丁格尔图,通过半径区分数据大小。

    可选:

    • None: 不展示成南丁格尔玫瑰图。
    • Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    • Area: 所有扇区圆心角相同,仅通过半径展现数据大小。

    Serie.roundCap

    bool

    是否开启圆弧效果。

    Serie.sampleAverage

    float 0

    设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。

    Serie.sampleDist

    float 0

    采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。

    Serie.sampleType

    SampleType

    采样类型。当sampleDist大于0时有效。

    可选:

    • Peak: 取峰值。
    • Average: 取过滤点的平均值。
    • Max: 取过滤点的最大值。
    • Min: 取过滤点的最小值。
    • Sum: 取过滤点的和。

    Serie.serieName

    string

    系列名称,用于 tooltip 的显示,legend 的图例筛选。

    Serie.serieType

    string

    系列类型。

    Serie.show

    bool true

    系列是否显示在图表上。

    Serie.showAsPositiveNumber

    bool false

    将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。

    Serie.showDataDimension

    int

    数据项里的数据维数。

    Serie.showDataName

    bool

    在Editor的inpsector上是否显示name参数

    Serie.singleAxisIndex

    int 0

    所使用的 singleAxis 组件的 index。

    Serie.smoothLimit

    bool false v3.4.0

    是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。

    Serie.splitNumber

    int

    刻度分割段数。最大可设置36。

    Serie.stack

    string

    数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。

    Serie.startAngle

    float

    起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。

    Serie.state

    SerieState v3.2.0

    系列的默认状态。

    可选:

    • Normal: 正常状态。
    • Emphasis: 高亮状态。
    • Blur: 淡出状态。
    • Select: 选中状态。
    • Auto: 自动保持和父节点一致。一般用在SerieData。

    Serie.symbol

    SerieSymbol

    标记的图形。

    Serie.top

    float

    组件离容器上侧的距离。

    Serie.vesselIndex

    int 0

    水位图所使用的 vessel 组件的 index。

    Serie.xAxisIndex

    int 0

    使用X轴的index。

    Serie.yAxisIndex

    int 0

    使用Y轴的index。

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    SerieData.data

    List<double>

    可指定任意维数的数值列表。

    SerieData.id

    string

    数据项的唯一id。唯一id不是必须设置的。

    SerieData.ignore

    bool

    是否忽略数据。当为 true 时,数据不进行绘制。

    SerieData.index

    int

    数据项索引。

    SerieData.name

    string

    数据项名称。

    SerieData.parentId

    string

    父节点id。父节点id不是必须设置的。

    SerieData.radius

    float

    自定义半径。可用在饼图中自定义某个数据项的半径。

    SerieData.selected

    bool

    该数据项是否被选中。

    SerieData.state

    SerieState v3.2.0

    数据项的默认状态。

    可选:

    • Normal: 正常状态。
    • Emphasis: 高亮状态。
    • Blur: 淡出状态。
    • Select: 选中状态。
    • Auto: 自动保持和父节点一致。一般用在SerieData。

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    数据节点之间的连线。可用于桑基图等,桑基图只支持有向无环图,请保证数据的连线是有向无环图。

    SerieDataLink.source

    string

    边的源节点名称。

    SerieDataLink.target

    string

    边的目标节点名称。

    SerieDataLink.value

    double

    边的值。决定边的宽度。

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle, ISerieDataComponent

    系列数据项的标记的图形

    SerieSymbol.dataIndex

    int 1

    当sizeType指定为FromData时,指定的数据源索引。

    SerieSymbol.dataScale

    float 1

    当sizeType指定为FromData时,指定的倍数系数。

    SerieSymbol.forceShowLast

    bool false

    是否强制显示最后一个图形标记。

    SerieSymbol.interval

    int

    显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。

    SerieSymbol.maxSize

    float 0f v3.3.0

    图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieSymbol.minSize

    float 0f v3.3.0

    图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieSymbol.repeat

    bool false

    图形是否重复。

    SerieSymbol.sizeFunction

    SymbolSizeFunction

    当sizeType指定为Function时,指定的委托函数。

    SerieSymbol.sizeType

    SymbolSizeType

    标记图形的大小获取方式。

    可选:

    • Custom: 自定义大小。
    • FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    • Function: 通过委托函数获取。

    SerieSymbol.startIndex

    int

    开始显示图形标记的索引。

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    SerieTheme.candlestickBorderColor

    Color32 Color32(235, 84, 84, 255)

    K线图阳线(跌)边框色

    SerieTheme.candlestickBorderColor0

    Color32 Color32(71, 178, 98, 255)

    K线图阴线(跌)边框色

    SerieTheme.candlestickBorderWidth

    float 1

    K线图边框宽度

    SerieTheme.candlestickColor

    Color32 Color32(235, 84, 84, 255)

    K线图阳线(涨)填充色

    SerieTheme.candlestickColor0

    Color32 Color32(71, 178, 98, 255)

    K线图阴线(跌)填充色

    SerieTheme.lineSymbolSize

    float

    折线图的Symbol大小。

    SerieTheme.lineWidth

    float

    文本颜色。

    SerieTheme.scatterSymbolSize

    float

    散点图的Symbol大小。

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    Settings.axisMaxSplitNumber

    float 50 v3.1.0

    坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    Settings.basePainterMaterial

    Material

    Base Pointer 材质球,设置后会影响Axis等。

    Settings.cicleSmoothness

    float 2f

    圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。

    Settings.legendIconCornerRadius

    float[]

    图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    Settings.legendIconLineWidth

    float 2

    Line类型图例图标的线条宽度。

    Settings.lineSegmentDistance

    float 3f

    线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。

    Settings.lineSmoothness

    float 2f

    When the area with gradient is filled, the larger the value, the worse the transition effect.

    Settings.lineSmoothStyle

    float 2.5f

    曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。

    Settings.maxPainter

    int 10

    设定的painter数量。

    Settings.reversePainter

    bool false

    Painter是否逆序。逆序时index大的serie最先绘制。

    Settings.seriePainterMaterial

    Material

    Serie Pointer 材质球,设置后会影响所有Serie。

    Settings.show

    bool true

    Settings.topPainterMaterial

    Material

    Top Pointer 材质球。

    Settings.upperPainterMaterial

    Material

    Upper Pointer 材质球。

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis, IUpdateRuntimeData

    单轴。

    SingleAxis.bottom

    float 0.2f

    组件离容器下侧的距离。

    SingleAxis.height

    float 50

    坐标轴高。

    SingleAxis.left

    float 0.1f

    组件离容器左侧的距离。

    SingleAxis.orient

    Orient

    坐标轴朝向。默认为水平朝向。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    SingleAxis.right

    float 0.1f

    组件离容器右侧的距离。

    SingleAxis.top

    float 0f

    组件离容器上侧的距离。

    SingleAxis.width

    float 0

    坐标轴宽。

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    StageColor.color

    Color32

    颜色。

    StageColor.percent

    float

    结束位置百分比。

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle, EmphasisStyle, SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    StateStyle.areaStyle

    AreaStyle

    区域样式。

    StateStyle.itemStyle

    ItemStyle

    图形样式。

    StateStyle.label

    LabelStyle

    图形文本标签。

    StateStyle.labelLine

    LabelLine

    图形文本引导线样式。

    StateStyle.lineStyle

    LineStyle

    折线样式。

    StateStyle.show

    bool true

    是否启用高亮样式。

    StateStyle.symbol

    SerieSymbol

    标记样式。

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    SymbolStyle.color

    Color32

    图形的颜色。

    SymbolStyle.gap

    float 0

    图形标记和线条的间隙距离。

    SymbolStyle.height

    float 0f

    图形的高。

    SymbolStyle.image

    Sprite

    自定义的标记图形。

    SymbolStyle.imageType

    Image.Type

    图形填充类型。

    SymbolStyle.offset

    Vector2 Vector2.zero

    图形的偏移。

    SymbolStyle.show

    bool true

    是否显示标记。

    SymbolStyle.size

    float 0f

    标记的大小。

    SymbolStyle.type

    SymbolType

    标记类型。

    可选:

    • None: 不显示标记。
    • Custom: 自定义标记。
    • Circle: 圆形。
    • EmptyCircle: 空心圆。
    • Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    • EmptyRect: 空心正方形。
    • Triangle: 三角形。
    • EmptyTriangle: 空心三角形。
    • Diamond: 菱形。
    • EmptyDiamond: 空心菱形。
    • Arrow: 箭头。
    • EmptyArrow: 空心箭头。
    • Plus: 加号。
    • Minus: 减号。

    SymbolStyle.width

    float 0f

    图形的宽。

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    TextLimit.enable

    bool false

    是否启用文本自适应。 [default:true]

    TextLimit.gap

    float 1

    两边留白像素距离。 [default:10f]

    TextLimit.maxWidth

    float 0

    Clipping occurs when the width of the text is greater than this value.

    TextLimit.suffix

    string

    长度超出时的后缀。 [default: "..."]

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    TextStyle.alignment

    TextAnchor

    对齐方式。

    TextStyle.autoAlign

    bool true

    文本是否让系统自动选对齐方式。为false时才会用alignment。

    TextStyle.autoColor

    bool false

    是否开启自动颜色。当开启时,会自动设置颜色。

    TextStyle.autoWrap

    bool false

    是否自动换行。

    TextStyle.color

    Color

    文本的颜色。 [default: Color.clear]

    TextStyle.font

    Font

    文本字体。 [default: null]

    TextStyle.fontSize

    int 0

    文本字体大小。 [default: 18]

    TextStyle.fontStyle

    FontStyle

    文本字体的风格。 [default: FontStyle.Normal]

    TextStyle.lineSpacing

    float 1f

    行间距。 [default: 1f]

    TextStyle.rotate

    float 0

    文本的旋转。 [default: 0f]

    TextStyle.show

    bool true

    文本的相关设置。

    TextStyle.tMPAlignment

    TextAlignmentOptions

    TextStyle.tMPFont

    TMP_FontAsset

    TextMeshPro字体。

    TextStyle.tMPFontStyle

    FontStyles

    TextStyle.tMPSpriteAsset

    TMP_SpriteAsset v3.1.0

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    Theme.axis

    AxisTheme

    Theme.backgroundColor

    Color32

    背景颜色。

    Theme.colorPalette

    List<Color32>

    调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。

    Theme.common

    ComponentTheme

    Theme.contrastColor

    Color32

    对比色。

    Theme.dataZoom

    DataZoomTheme

    Theme.font

    Font

    主题字体。

    Theme.legend

    LegendTheme

    Theme.serie

    SerieTheme

    Theme.subTitle

    SubTitleTheme

    Theme.themeName

    string

    主题名称。

    Theme.themeType

    ThemeType

    主题类型。

    可选:

    • Default: 默认主题。
    • Light: 亮主题。
    • Dark: 暗主题。
    • Custom: 自定义主题。

    Theme.title

    TitleTheme

    Theme.tMPFont

    TMP_FontAsset

    主题字体。

    Theme.tooltip

    TooltipTheme

    Theme.visualMap

    VisualMapTheme

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    ThemeStyle.customBackgroundColor

    Color32

    自定义的背景颜色。

    ThemeStyle.customColorPalette

    List<Color32>

    ThemeStyle.customFont

    Font

    ThemeStyle.enableCustomTheme

    bool false

    是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。

    ThemeStyle.sharedTheme

    Theme

    主题配置。

    ThemeStyle.show

    bool true

    ThemeStyle.transparentBackground

    bool false

    是否透明背景颜色。当设置为true时,不绘制背景颜色。

    Title

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    标题组件,包含主标题和副标题。

    Title.itemGap

    float 0

    主副标题之间的间距。

    Title.labelStyle

    LabelStyle

    主标题文本样式。

    Title.location

    Location

    标题显示位置。

    Title.show

    bool true

    是否显示标题组件。

    Title.subLabelStyle

    LabelStyle

    副标题文本样式。

    Title.subText

    string

    副标题文本,支持使用 \n 换行。

    Title.text

    string

    主标题文本,支持使用 \n 换行。

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle, ISerieDataComponent, ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    Tooltip.alwayShowContent

    bool false

    是否触发后一直显示提示框浮层。

    Tooltip.backgroundColor

    Color

    提示框的背景颜色。

    Tooltip.backgroundImage

    Sprite

    提示框的背景图片。

    Tooltip.backgroundType

    Image.Type

    提示框的背景图片显示类型。

    Tooltip.borderColor

    Color32 Color32(230, 230, 230, 255)

    边框颜色。

    Tooltip.borderWidth

    float 2f

    边框线宽。

    Tooltip.contentLabelStyles

    List<LabelStyle>

    内容部分的文本样式列表。和列一一对应。

    Tooltip.fixedHeight

    float 0

    固定高度。比 minHeight 优先。

    Tooltip.fixedWidth

    float 0

    固定宽度。比 minWidth 优先。

    Tooltip.fixedX

    float 0f

    固定X位置的坐标。

    Tooltip.fixedY

    float 0.7f

    固定Y位置的坐标。

    Tooltip.ignoreDataDefaultContent

    string

    被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。

    Tooltip.ignoreDataShow

    bool false

    是否显示忽略数据在tooltip上。

    Tooltip.itemFormatter

    string

    提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用|来表示多个列的分隔。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {i}或-表示忽略当前项。 {.}为当前所指示的serie或数据项的对应颜色的圆点。
    {a}为当前所指示的serie或数据项的系列名name。
    {b}为当前所指示的serie或数据项的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示的serie或数据项的y维(dimesion为1)的数值。
    {d}为当前所指示的serie或数据项的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示的serie或数据项的数据项serieData的name。
    {f}为当前所指示的serie的默认维度的数据总和。
    {g}为当前所指示的serie的数据总个数。
    {h}为当前所指示的serie的十六进制颜色值。
    {y}为当前所指示的serie的y轴的类目值。
    {c0}表示当前数据项维度为0的数据。
    {c1}表示当前数据项维度为1的数据。
    {d3}表示维度3的数据的百分比。它的分母是默认维度(一般是1维度)数据。
    |表示多个列的分隔。
    示例:"{i}", "{.}|{a}|{c}", "{.}|{b}|{c2:f2}", "{.}|{b}|{y}"

    Tooltip.itemHeight

    float 25f

    数据项文本的高。

    Tooltip.lineStyle

    LineStyle

    指示线样式。

    Tooltip.marker

    string

    serie的符号标志。

    Tooltip.minHeight

    float 0

    最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。

    Tooltip.minWidth

    float 0

    最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。

    Tooltip.numericFormatter

    string

    标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式:以date开头,用来格式化DateTime,常见格式有:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:date:yyyy-MM-dd HH:mm:ss
    时间格式:以time开头,用来格式化TimeSpan,常见格式有:d日,HH时,mm分,ss秒,fffffff小数部分。 需要Unity2018以上版本才支持格式化,并且里面的字符要转义。如:time:d.HH\:mm\:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    时间格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings
    注意:date和time格式需要v3.12.0以上版本才支持。

    Tooltip.offset

    Vector2 Vector2(18f, -25f)

    提示框相对于鼠标位置的偏移。

    Tooltip.paddingLeftRight

    int 10

    左右边距。

    Tooltip.paddingTopBottom

    int 10

    上下边距。

    Tooltip.position

    Tooltip.Position v3.3.0

    显示位置类型。

    可选:

    • Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    • Custom: 自定义。完全自定义显示位置(x,y)。
    • FixedX: 只固定坐标X。Y跟随鼠标位置。
    • FixedY:

    Tooltip.show

    bool true

    是否显示提示框组件。

    Tooltip.showContent

    bool true

    是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。

    Tooltip.titleFormatter

    string

    提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {y}为value所对应的y轴的类目值。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"

    Tooltip.titleHeight

    float 25f

    标题文本的高。

    Tooltip.titleLabelStyle

    LabelStyle

    标题的文本样式。

    Tooltip.trigger

    Tooltip.Trigger

    触发类型。

    可选:

    • Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    • Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    • None: 什么都不触发。
    • Auto: 根据serie的类型自动选择触发类型。

    Tooltip.triggerOn

    Tooltip.TriggerOn v3.11.0

    触发条件。

    可选:

    • MouseMove: 鼠标移动时触发。
    • Click: 鼠标点击时触发。

    Tooltip.type

    Tooltip.Type

    提示框指示器类型。

    可选:

    • Line: 直线指示器
    • Shadow: 阴影指示器
    • None: 无指示器
    • Cross: 十字准星指示器。坐标轴显示Label和交叉线。
    • Auto: 根据serie的类型自动选择显示指示器。

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    TooltipTheme.areaColor

    Color32

    区域指示的颜色。

    TooltipTheme.labelBackgroundColor

    Color32

    十字指示器坐标轴标签的背景颜色。

    TooltipTheme.labelTextColor

    Color32

    十字指示器坐标轴标签的文本颜色。

    TooltipTheme.lineColor

    Color32

    指示线颜色。

    TooltipTheme.lineType

    LineStyle.Type

    坐标轴线类型。

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    TooltipTheme.lineWidth

    float 1f

    指示线线宽。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    UIComponentTheme.sharedTheme

    Theme

    主题配置。

    UIComponentTheme.show

    bool true

    UIComponentTheme.transparentBackground

    bool false

    ViewControl

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.11.0 开始支持

    3D视角控制组件。

    ViewControl.alpha

    float 90f

    视角在x-z平面的角度。

    ViewControl.beta

    float 55f

    视角在y-z平面的角度。

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    VisualMap.autoMinMax

    bool true

    Automatically set min, Max value 自动设置min,max的值

    VisualMap.borderWidth

    float 0

    边框线宽,单位px。

    VisualMap.calculable

    bool false

    是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。

    VisualMap.dimension

    int -1

    Starting at 1, the default is 0 to take the last dimension in data.

    bool true

    Conversely, when the mouse hovers over a graphic element in a diagram, the corresponding value of the visualMap component is triangulated in the corresponding position.

    VisualMap.inRange

    List<VisualMapRange>

    分段式每一段的相关配置。

    VisualMap.itemGap

    float 10f

    每个图元之间的间隔距离。

    VisualMap.itemHeight

    float 140f

    图形的高度,即颜色条的高度。

    VisualMap.itemWidth

    float 20f

    图形的宽度,即颜色条的宽度。

    VisualMap.location

    Location

    组件显示的位置。

    VisualMap.max

    double 0

    范围最大值

    VisualMap.min

    double 0

    范围最小值

    VisualMap.orient

    Orient

    布局方式是横还是竖。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    VisualMap.outOfRange

    List<VisualMapRange>

    定义 在选中范围外 的视觉颜色。

    VisualMap.range

    double[]

    指定手柄对应数值的位置。range 应在[min,max]范围内。

    VisualMap.realtime

    bool true

    拖拽时,是否实时更新。

    VisualMap.selectedMode

    VisualMap.SelectedMode

    选择模式。

    可选:

    • Multiple: 多选。
    • Single: 单选。

    VisualMap.serieIndex

    int 0

    影响的serie索引。

    VisualMap.show

    bool true

    组件是否生效。

    VisualMap.showUI

    bool false

    是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。

    VisualMap.splitNumber

    int 5

    对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。

    VisualMap.text

    string[]

    两端的文本,如 ['High', 'Low']

    VisualMap.textGap

    float[]

    两端文字主体之间的距离,单位为px。

    VisualMap.type

    VisualMap.Type

    组件类型。

    可选:

    • Continuous: 连续型。
    • Piecewise: 分段型。

    VisualMap.workOnArea

    bool false

    组件是否对LineChart的AreaStyle有效。

    VisualMap.workOnLine

    bool true

    组件是否对LineChart的LineStyle有效。

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    VisualMapRange.color

    Color32

    颜色

    VisualMapRange.label

    string

    文字描述

    VisualMapRange.max

    double

    范围最大值

    VisualMapRange.min

    double

    范围最小值

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    VisualMapTheme.backgroundColor

    Color32

    背景颜色。

    VisualMapTheme.borderColor

    Color32

    边框颜色。

    VisualMapTheme.borderWidth

    float

    边框线宽。

    VisualMapTheme.triangeLen

    float 20f

    可视化组件的调节三角形边长。

    Wrapper<T>

    class in XCharts.Runtime

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    XAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    class in XCharts.Runtime

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    XCSettings.axisLineType

    LineStyle.Type

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    XCSettings.axisLineWidth

    float 0.8f

    XCSettings.axisSplitLineType

    LineStyle.Type

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    XCSettings.axisSplitLineWidth

    float 0.8f

    XCSettings.axisTickLength

    float 5f

    XCSettings.axisTickWidth

    float 0.8f

    XCSettings.cicleSmoothness

    float 2f

    XCSettings.customThemes

    List<Theme>

    XCSettings.dataZoomBorderWidth

    float 0.5f

    XCSettings.dataZoomDataLineWidth

    float 0.5f

    XCSettings.editorShowAllListData

    bool false

    XCSettings.font

    Font

    XCSettings.fontSizeLv1

    int 28

    一级字体大小。

    XCSettings.fontSizeLv2

    int 24

    XCSettings.fontSizeLv3

    int 20

    XCSettings.fontSizeLv4

    int 18

    XCSettings.gaugeAxisLineWidth

    float 15f

    XCSettings.gaugeAxisSplitLineLength

    float 15f

    XCSettings.gaugeAxisSplitLineWidth

    float 0.8f

    XCSettings.gaugeAxisTickLength

    float 5f

    XCSettings.gaugeAxisTickWidth

    float 0.8f

    XCSettings.lang

    Lang

    XCSettings.lineSegmentDistance

    float 3f

    XCSettings.lineSmoothness

    float 2f

    XCSettings.lineSmoothStyle

    float 3f

    XCSettings.maxPainter

    int 10

    XCSettings.serieCandlestickBorderWidth

    float 1f

    XCSettings.serieLineSymbolSize

    float 5f

    XCSettings.serieLineWidth

    float 1.8f

    XCSettings.serieScatterSymbolSize

    float 20f

    XCSettings.serieSelectedRate

    float 1.3f

    XCSettings.tMPFont

    TMP_FontAsset

    XCSettings.tootipLineWidth

    float 0.8f

    XCSettings.visualMapBorderWidth

    float 0f

    XCSettings.visualMapTriangeLen

    float 20f

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    YAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    ZAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    Was this helpful?
    + + \ No newline at end of file diff --git a/docs/extra/index.html b/docs/extra/index.html index c16c32d7..b817f06b 100644 --- a/docs/extra/index.html +++ b/docs/extra/index.html @@ -14,13 +14,13 @@ 扩展图表 | XCharts - - + +
    Version: v3.12.0

    扩展图表

    XCharts的扩展图表。

    支持的扩展图表

    扩展图表如何导入到XCharts-Demo

    Pie3DChart 为例:

    1. 购买图表:购买扩展图表后,Github找到仓库 XCharts-Pie3DChart(私有仓库,购买后加入Team才可见)
    2. 下载图表:选择和XCharts最接近的版本
    3. 导入图表:将下载好的XCharts-Pie3DChart目录覆盖到XCharts-Demo项目中的Packages/XCharts-Pie3DChart
    4. 下载图表Demo:Github找到仓库 XCharts-Pie3DChart-Demo并下载
    5. 导入图表Demo:将下载好的XCharts-Pie3DChart-Demo目录覆盖到XCharts-Demo项目中的Assets/XChartsExtensionDemo/XCharts-Pie3DChart-Demo

    扩展图表如何导入自己的项目中

    Pie3DChart 为例:

    1. 先确保项目中已导入XCharts
    2. 再导入XCharts-Pie3DChart即可,不需要导入XCharts-Pie3DChart-Demo(如果要导入的话需要Unity版本接近2019.4.39f1)
    - - + + \ No newline at end of file diff --git a/docs/faq/index.html b/docs/faq/index.html index a2729479..e08a8f48 100644 --- a/docs/faq/index.html +++ b/docs/faq/index.html @@ -14,8 +14,8 @@ 常见问题 | XCharts - - + +
    @@ -54,7 +54,7 @@ FAQ 33:折线图如何两边不留空白而从0坐标开始显示?
    FAQ 34:如何设置部分Serie不显示Tooltip?

    如何调整坐标轴与背景的边距

    调整Grid组件,可调整上下左右边距。

    如何让初始动画重新播放

    调用chart.AnimationReset()接口。

    如何自定义折线图饼图的颜色

    通过ThemecolorPalette调整,或者部分Serie下的LineStyleItemStyle

    如何给坐标轴上的文本加上单位

    通过formatternumericFormatter参数,在LegendAxisAxisLabelTooltopSerieLabel都提供该参数的配置。

    如何让柱形图的柱子堆叠显示

    设置Serie下的stackstack相同的serie会堆叠显示在一个柱子上。

    如何让柱形图的柱子同柱但不重叠

    设置Serie下的barGap-1stack为空。

    如何调整柱形图的柱子宽度和间距

    调整Serie下的barWidthbarGap,多个serie时最后一个seriebarWidthbarGap有效。

    如何调整柱形图单个柱子的颜色

    可通过调整单个Data下的ItemStyle调整,也可以通过两个serie同柱不堆叠来实现,通过设置数据项为0来达到类似效果。

    如何调整图表的对齐方式

    调整RectTransform的锚点,和UGUI的其他组件的用法一致。

    可以显示超过1000以上的大数据吗

    可以。但UGUI对单个Graphic限制65000个顶点,所以太多的数据不一定能显示完全。可通过设置采样距离sampleDist开启采样简化过密曲线。也可以通过设置一些参数来减少图表的顶点数有助于显示更多数据。如缩小图表的尺寸,关闭或减少坐标轴的客户端绘制,关闭Seriesymbollabel显示等。折线图的普通线图Normal比平滑线图Smooth占用顶点数更少。1.5.0以上版本可以设置largelargeThreshold参数来开启性能模式。

    折线图可以画虚线点线点划线吗

    可以。通过Serie下的lineType选择线条样式。当要显示的数据过多(成千以上)数据间过密时建议使用Normal或者Step样式。

    如何限定y轴的值范围

    设置Axis下的minMaxTypeCustom,自定义minmax

    如何自定义数值轴刻度大小

    默认时通过Axis下的splitNumer进行自动划分。也可以设置interval自定义刻度大小。

    如何在数据项顶上显示文本

    通过设置Serie下的Label。3.0版本需要先添加LabelStyle组件。

    如何给数据项自定义图标

    通过设置Seriedata下的数据项可单独设置icon相关参数。

    锯齿太严重如何让图表更顺滑

    开启抗锯齿设置(在Unity里设置)。调整UI渲染模式为Camera模式,开启MSAA,设置4倍或更高抗锯齿。

    为什么鼠标移上图表tooltip不显示

    确认Tooltip是否开启;确认父节点是否关闭了鼠标事件。

    如何取消tooltip的竖线

    设置TooltiptypeNone。或者调整lineStyle的参数。

    如何自定义tooltip的显示内容

    自定义总的内容可以通过Tooltipformatter。如果只是想调整所有的serie的显示格式可以用itemFormattertitleFormatter结合。如果想每个serie的显示格式不一样,可以定制serieitemStyle里的tooltipFormatter。具体的用法请查阅XCharts配置项手册

    如何让y轴显示多位小数

    设置Axis下的AxisLabel中的formatter{value:f1}{value:f2}1.5.0及以上版本通过numericFormatter设置。

    如何用代码动态更新数据

    请查阅Example下的代码,Example13_LineSimple.cs就是一个简单添加数据构建折线图的例子,其他Demo也都是通过代码控制不同的组件实现不同的功能,相关API请查看文档:XChartsAPI接口

    如何显示图例为什么有时候图例无法显示

    首先,你的serie里的name需有值不为空。然后开启Legend显示,里面的data可以默认为空,表示显示所有的图例。如果你只想显示部分serie的图例,在data中填入要显示的图例的name即可。如果data中的值都不是系列的name,那图例就不会显示。

    如何做成预设

    做成prefab前,执行一下Rebuild Chart Object重新刷新节点,避免有冗余的节点存在。

    如何在图表上画点画线等自定义内容

    XCharts有自定义绘制回调onCustomDraw,具体可参考Example12_CustomDrawing.cs

    如何实现心电图类似的数据移动效果

    参考Example目录下的Example_Dynamic.cs。主要通过设置maxCache参数实现。axisserie都设置相同的maxCachemaxCache可固定数据个数,当数据超过设定时会先删除第一个在添加新数据,实现数据移动效果。

    如何使用背景组件有什么条件限制

    设置background组件的showtrue

    区域折线图在用半透明颜色时有时候会一条叠加的线

    这是区域折线图绘制的bug。可以用浅的不透的颜色替代半透明颜色。

    mesh_cannot_have_more_than_65000_vertices

    这是UGUI对单个Graphic的顶点数限制。XCharts是将图形绘制在单个Graphic上,所以也会有这个限制。解决的办法可以参考:FAQ 10:可以显示超过1000以上的大数据吗?

    为什么serie里设置的参数运行后又被重置了

    检测下代码里是否调用了RemoveData()并重新添加Serie了。如果想保留Serie的配置可以只ClearData(),然后重新添加数据。

    如何修改serie的symbol的颜色

    Symbol 的颜色是使用的 ItemStylecolor

    导入或更新xcharts时tmp报错怎么办

    XCharts默认时不开启TMP,所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    支持空数据吗如何实现折线图断开的效果

    Seriedatadouble类型,所以无法表示空数据。可通过开启Serieignore和指定ignoreValue来达到空数据的效果。也可以每个SerieData设置ignore参数。忽略数据后断开还是连接可设置ignoreLineBreak参数。

    xcharts2升级xcharts3时常见的问题有哪些

    1. 'XCharts.Runtime.XChartsMgr' is missing the class attribute 'ExtensionOfNativeClass'! 3.x版本时不需要挂载XChartsMgr,直接删掉场景上的_xcharts_节点即可。

    折线图如何两边不留空白而从0坐标开始显示

    设置X轴的boundaryGap参数。

    如何设置部分serie不显示tooltip

    serieitemStyleitemFormatter设置为-可以忽略tooltip

    - - + + \ No newline at end of file diff --git a/docs/funnel/index.html b/docs/funnel/index.html index 786d89cc..be88f8a7 100644 --- a/docs/funnel/index.html +++ b/docs/funnel/index.html @@ -14,14 +14,15 @@ FunnelChart 漏斗图 | XCharts - - + +
    Version: v3.12.0

    FunnelChart 漏斗图

    XCharts的付费扩展图表 - 漏斗图。

    截图

    Funnel01Funnel02Funnel03Funnel04Funnel05
    Funnel07Funnel08Funnel09

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-FunnelChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    FunnelChart

    class in XCharts.Runtime.Funnels / 继承自: BaseChart

    漏斗图。适用于流程流量分析。

    API版本描述
    DefaultHorizonalFunnelChart()public void DefaultHorizonalFunnelChart()
    生成默认的横向漏斗图。

    配置项手册

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    参数默认版本描述
    rectEndv3.3.0是否最后以矩形结束。默认false以三角形结束。
    dynamicHeightv3.3.0是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    Funnel.defaultColorBy

    public override SerieColorBy defaultColorBy

    Funnel.useSortData

    public override bool useSortData

    Funnel.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    FunnelChart

    class in XCharts.Runtime.Funnels / 继承自: BaseChart

    漏斗图。适用于流程流量分析。

    FunnelChart.DefaultHorizonalFunnelChart

    public void DefaultHorizonalFunnelChart()
    +生成默认的横向漏斗图。

    配置项手册

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    Funnel.dynamicHeight

    bool v3.3.0

    是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。

    Funnel.rectEnd

    bool v3.3.0

    是否最后以矩形结束。默认false以三角形结束。

    + + \ No newline at end of file diff --git a/docs/gantt/index.html b/docs/gantt/index.html index bf0de6c6..c1d78aa7 100644 --- a/docs/gantt/index.html +++ b/docs/gantt/index.html @@ -14,14 +14,18 @@ GanttChart 甘特图 | XCharts - - + +
    Version: v3.12.0

    GanttChart 甘特图

    XCharts付费扩展图表 - 甘特图。

    截图

    Gantt01Gantt02Gantt03Gantt04Gantt05
    Gantt07

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-GanttChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Gantt的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.08.11) 增加鼠标事件支持

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    API版本描述
    AddDefaultCategorySerie()public static void AddDefaultCategorySerie(BaseChart chart, string serieName)
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    AddDefaultValueSerie()public static void AddDefaultValueSerie(BaseChart chart, string serieName)

    GanttChart

    class in XCharts.Runtime.Gantts / 继承自: BaseChart

    API版本描述
    DefaultCategoryAxisGanttChart()public void DefaultCategoryAxisGanttChart()
    生成默认的类目轴甘特图。
    DefaultMonomialGroupGanttChart()public void DefaultMonomialGroupGanttChart()
    生成默认的单维度分组甘特图。
    DefaultMultinomialGroupGanttChart()public void DefaultMultinomialGroupGanttChart()
    生成默认的多维度分组甘特图。
    DefaultValueAxisGanttChart()public void DefaultValueAxisGanttChart()
    生成默认的数值轴甘特图。
    GetSeriesMinMaxValue()public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    InitAxisRuntimeData()public override void InitAxisRuntimeData(Axis axis)
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    配置项手册

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    参数默认版本描述
    disableDrag

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    参数默认版本描述
    showtrue
    ganttType甘特图类型。
    GanttType:
    - Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    - Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。
    inverttrue
    dragEnabletrue是否可以拖拽甘特图。
    dragSensitivity1f拖拽的灵敏度。
    dragRangeMin0拖拽最小值限制。
    dragRangeMax0拖拽最大值限制。
    autoAdsorbAlignlinetrue拖拽结束后是否自动吸附到对齐线。
    alignlineDataIndex1显示对齐线的数据项索引。
    showAlignlineRange10f显示对齐线的范围。
    aliginLine对齐线样式。
    splitArea
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Gantt的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.08.11) 增加鼠标事件支持

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    Gantt.AddDefaultCategorySerie

    public static void AddDefaultCategorySerie(BaseChart chart, string serieName)

    Gantt.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    Gantt.AddDefaultValueSerie

    public static void AddDefaultValueSerie(BaseChart chart, string serieName)

    GanttChart

    class in XCharts.Runtime.Gantts / 继承自: BaseChart

    GanttChart.aliginingValue

    public double aliginingValue

    GanttChart.runtimeBeginDrag

    public bool runtimeBeginDrag

    GanttChart.runtimeDragLeft

    public bool runtimeDragLeft

    GanttChart.runtimeDragSerie

    public Serie runtimeDragSerie

    GanttChart.runtimeDragSerieData

    public SerieData runtimeDragSerieData

    GanttChart.runtimeIsAlgining

    public bool runtimeIsAlgining

    GanttChart.runtimeIsDragSerie

    public bool runtimeIsDragSerie

    GanttChart.DefaultCategoryAxisGanttChart

    public void DefaultCategoryAxisGanttChart()
    +生成默认的类目轴甘特图。

    GanttChart.DefaultMonomialGroupGanttChart

    public void DefaultMonomialGroupGanttChart()
    +生成默认的单维度分组甘特图。

    GanttChart.DefaultMultinomialGroupGanttChart

    public void DefaultMultinomialGroupGanttChart()
    +生成默认的多维度分组甘特图。

    GanttChart.DefaultValueAxisGanttChart

    public void DefaultValueAxisGanttChart()
    +生成默认的数值轴甘特图。

    GanttChart.GetSeriesMinMaxValue

    public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)

    GanttChart.InitAxisRuntimeData

    public override void InitAxisRuntimeData(Axis axis)

    GanttChart.OnBeginDrag

    public override void OnBeginDrag(PointerEventData eventData)

    GanttChart.OnDrag

    public override void OnDrag(PointerEventData eventData)

    GanttChart.OnEndDrag

    public override void OnEndDrag(PointerEventData eventData)

    GanttChart.OnPointerClick

    public override void OnPointerClick(PointerEventData eventData)

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    GanttType

    class in XCharts.Runtime.Gantts

    可选:

    • Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    • Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。

    配置项手册

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    Gantt.disableDrag

    bool

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    GanttStyle.aliginLine

    LineStyle

    对齐线样式。

    GanttStyle.alignlineDataIndex

    int 1

    显示对齐线的数据项索引。

    GanttStyle.autoAdsorbAlignline

    bool true

    拖拽结束后是否自动吸附到对齐线。

    GanttStyle.dragEnable

    bool true

    是否可以拖拽甘特图。

    GanttStyle.dragRangeMax

    double 0

    拖拽最大值限制。

    GanttStyle.dragRangeMin

    double 0

    拖拽最小值限制。

    GanttStyle.dragSensitivity

    float 1f

    拖拽的灵敏度。

    GanttStyle.ganttType

    GanttType

    甘特图类型。

    可选:

    • Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    • Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。

    GanttStyle.invert

    bool true

    GanttStyle.show

    bool true

    GanttStyle.showAlignlineRange

    float 10f

    显示对齐线的范围。

    GanttStyle.splitArea

    AxisSplitArea

    + + \ No newline at end of file diff --git a/docs/gauge/index.html b/docs/gauge/index.html index 7c187d4b..380d8439 100644 --- a/docs/gauge/index.html +++ b/docs/gauge/index.html @@ -14,14 +14,29 @@ GaugeChart 仪表盘 | XCharts - - + +
    Version: v3.12.0

    GaugeChart 仪表盘

    XCharts付费扩展图表 - 仪表盘。

    截图

    Gauge01Gauge02Gauge03Gauge04Gauge05
    Gauge07Gauge08Gauge09Gauge10Gauge11
    Gauge12Gauge13Gauge14

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-GaugeChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Gauge的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.17) 增加GaugerangeDataMode可设置是否使用范围数据模式
    • (2023.03.17) 增加Gaugeloop可设置是否循环数据,用于时钟甘特图
    • (2023.03.17) 增加GaugePointervalue可设置指针位置
    • (2023.03.17) 增加Clock时钟仪表盘支持
    • (2023.03.13) 增加GaugePointernowTime可设置指针指向当前时间
    • (2023.03.13) 增加GaugePointervalue可设置当前指针位置
    • (2023.03.13) 增加Clock类型的甘特图支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.10.05) 增加GaugeAxisLinestageGradient支持设置阶段渐变色过渡

    v3.3.0

    • (2022.09.28) 发布v3.3.0版本
    • (2022.08.26) 修复Pointer在普通模式下不显示的问题
    • (2022.08.25) 增加label颜色跟随数值变化的支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.15) 支持渐变

    API

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    仪表盘系列数据。

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    GetPointerColor()public Color32 GetPointerColor(ThemeStyle theme, int colorIndex, float angle, Color32 dataColor)

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    API版本描述
    GetPosition()public Vector3 GetPosition(Vector3 center, float radius)

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    API版本描述
    AddLabelObject()public void AddLabelObject(ChartLabel label)
    ClearLabelObject()public void ClearLabelObject()
    GaugeAxis()public GaugeAxis()
    GetLabelObject()public ChartLabel GetLabelObject(int index)
    GetStageColor()public Color32 GetStageColor(float rate)
    GetStageColorByAngle()public Color32 GetStageColorByAngle(float angle)
    SetLabelObjectActive()public void SetLabelObjectActive(bool flag)
    SetLabelObjectPosition()public void SetLabelObjectPosition(int index, Vector3 pos)
    SetLabelObjectText()public void SetLabelObjectText(int index, string text)

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    API版本描述
    GaugeAxisLine()public GaugeAxisLine(bool show) : base(show)

    GaugeChart

    class in XCharts.Runtime.Gauges / 继承自: BaseChart

    仪表盘。

    API版本描述
    DefaultBarometerGaugeChart()public void DefaultBarometerGaugeChart()
    生成气压计仪表盘。
    DefaultClockGaugeChart()public void DefaultClockGaugeChart()
    生成时钟仪表盘。
    DefaultMultipleGaugeChart()public void DefaultMultipleGaugeChart()
    生成多仪表盘。
    DefaultProgressGaugeChart()public void DefaultProgressGaugeChart()
    生成进度仪表盘。
    DefaultRangeClockGaugeChart()public void DefaultRangeClockGaugeChart()
    DefaultSectionGaugeChart()public void DefaultSectionGaugeChart()
    生成分段仪表盘。
    UpdateClockTime()public void UpdateClockTime()
    更新时钟时间。
    UpdateClockTime()public void UpdateClockTime(double hour, double minute, double second)
    更新时钟时间。
    UpdatePointerValue()public void UpdatePointerValue(double value)
    更新指针值。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    配置项手册

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    仪表盘系列数据。

    参数默认版本描述
    rangeDataModefalsev3.6.0数值是否为范围数据。启用该模式后,data中的每个值都是一个数组,数组中的第一个值为起始值,第二个值为结束值。指针只有一个,数据绘制为环形。
    loopfalsev3.6.0数值是否循环。可用在钟表图。
    gaugeAxis仪表盘轴线。 GaugeAxis
    gaugePointer仪表盘指针。 GaugePointer
    gaugeAnchor仪表盘指针固定点。 GaugeAnchor

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    参数默认版本描述
    showtrue是否显示指针固定点。
    showAbovetrue固定点是否显示在指针上面。
    type标记类型。
    size6标记的大小。
    gap0图形标记和线条的间隙距离。
    image自定义的标记图形。
    imageType
    offsetCenterVector2(0, 0)相对于中心的偏移位置。
    itemStyle图形样式。

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    参数默认版本描述
    showtrue
    type
    GaugeAxisType:
    - None: 仪表盘类型
    - Section: 分段
    - Progress: 进度
    overlaptrue
    distance
    axisLine仪表盘轴线样式。 GaugeAxisLine
    splitLine分割线。
    axisTick刻度。
    axisLabel文本标签。
    axisLabelText自定义Label的内容。

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    参数默认版本描述
    backgroundColorColor32(230, 235, 248, 255)进度条背景颜色。
    stageColor阶段颜色。
    stageGradientv3.4.0阶段颜色是否渐变过渡。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    参数默认版本描述
    showtrue是否显示指针。
    length0.6f指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backLength0.05f指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backExtraLength0.05f指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topLeftLength0f指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topRightLength0f指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomLeftLength0.025f指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomRightLength0.025f指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    distance
    roundCap
    autoColortrue
    color
    toColor
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    valuev3.6.0指针的值。当为时钟仪表盘时,可通过指定value值来控制指针的位置。
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Gauge的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.17) 增加GaugerangeDataMode可设置是否使用范围数据模式
    • (2023.03.17) 增加Gaugeloop可设置是否循环数据,用于时钟甘特图
    • (2023.03.17) 增加GaugePointervalue可设置指针位置
    • (2023.03.17) 增加Clock时钟仪表盘支持
    • (2023.03.13) 增加GaugePointernowTime可设置指针指向当前时间
    • (2023.03.13) 增加GaugePointervalue可设置当前指针位置
    • (2023.03.13) 增加Clock类型的甘特图支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.10.05) 增加GaugeAxisLinestageGradient支持设置阶段渐变色过渡

    v3.3.0

    • (2022.09.28) 发布v3.3.0版本
    • (2022.08.26) 修复Pointer在普通模式下不显示的问题
    • (2022.08.25) 增加label颜色跟随数值变化的支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.15) 支持渐变

    API

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    仪表盘系列数据。

    Gauge.defaultColorBy

    public override SerieColorBy defaultColorBy

    Gauge.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    Gauge.ClearComponentDirty

    public override void ClearComponentDirty()

    Gauge.ClearVerticesDirty

    public override void ClearVerticesDirty()

    Gauge.GetPointerColor

    public Color32 GetPointerColor(ThemeStyle theme, int colorIndex, float angle, Color32 dataColor)

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    GaugeAnchor.GetPosition

    public Vector3 GetPosition(Vector3 center, float radius)

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    GaugeAxis.axisLabel

    public AxisLabel axisLabel
    +文本标签。

    GaugeAxis.axisLabelText

    public List<string> axisLabelText
    +自定义Label的内容。

    GaugeAxis.axisLine

    public GaugeAxisLine axisLine
    +仪表盘轴线样式。

    GaugeAxis.axisTick

    public AxisTick axisTick
    +刻度。

    GaugeAxis.distance

    public float distance

    GaugeAxis.overlap

    public bool overlap

    GaugeAxis.show

    public bool show

    GaugeAxis.splitLine

    public AxisSplitLine splitLine
    +分割线。

    GaugeAxis.type

    public GaugeAxisType type

    GaugeAxis.AddLabelObject

    public void AddLabelObject(ChartLabel label)

    GaugeAxis.ClearLabelObject

    public void ClearLabelObject()

    GaugeAxis.GaugeAxis

    public GaugeAxis()

    GaugeAxis.GetLabelObject

    public ChartLabel GetLabelObject(int index)

    GaugeAxis.GetStageColor

    public Color32 GetStageColor(float rate)

    GaugeAxis.GetStageColorByAngle

    public Color32 GetStageColorByAngle(float angle)

    GaugeAxis.SetLabelObjectActive

    public void SetLabelObjectActive(bool flag)

    GaugeAxis.SetLabelObjectPosition

    public void SetLabelObjectPosition(int index, Vector3 pos)

    GaugeAxis.SetLabelObjectText

    public void SetLabelObjectText(int index, string text)

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    GaugeAxisLine.backgroundColor

    public Color32 backgroundColor
    +进度条背景颜色。

    GaugeAxisLine.stageColor

    public List<StageColor> stageColor
    +阶段颜色。

    GaugeAxisLine.stageGradient

    public bool stageGradient
    +阶段颜色是否渐变过渡。

    GaugeAxisLine.GaugeAxisLine

    public GaugeAxisLine(bool show) : base(show)

    GaugeAxisType

    class in XCharts.Runtime.Gauges

    仪表盘类型

    可选:

    • None: 仪表盘类型
    • Section: 分段
    • Progress: 进度

    GaugeChart

    class in XCharts.Runtime.Gauges / 继承自: BaseChart

    仪表盘。

    GaugeChart.DefaultBarometerGaugeChart

    public void DefaultBarometerGaugeChart()
    +生成气压计仪表盘。

    GaugeChart.DefaultClockGaugeChart

    public void DefaultClockGaugeChart()
    +生成时钟仪表盘。

    GaugeChart.DefaultMultipleGaugeChart

    public void DefaultMultipleGaugeChart()
    +生成多仪表盘。

    GaugeChart.DefaultProgressGaugeChart

    public void DefaultProgressGaugeChart()
    +生成进度仪表盘。

    GaugeChart.DefaultRangeClockGaugeChart

    public void DefaultRangeClockGaugeChart()

    GaugeChart.DefaultSectionGaugeChart

    public void DefaultSectionGaugeChart()
    +生成分段仪表盘。

    GaugeChart.UpdateClockTime

    public void UpdateClockTime(double hour, double minute, double second)
    +更新时钟时间。

    GaugeChart.UpdatePointerValue

    public void UpdatePointerValue(double value)
    +更新指针值。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    配置项手册

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    仪表盘系列数据。

    Gauge.gaugeAnchor

    GaugeAnchor

    仪表盘指针固定点。

    Gauge.gaugeAxis

    GaugeAxis

    仪表盘轴线。

    Gauge.gaugePointer

    GaugePointer

    仪表盘指针。

    Gauge.loop

    bool false v3.6.0

    数值是否循环。可用在钟表图。

    Gauge.rangeDataMode

    bool false v3.6.0

    数值是否为范围数据。启用该模式后,data中的每个值都是一个数组,数组中的第一个值为起始值,第二个值为结束值。指针只有一个,数据绘制为环形。

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    GaugeAnchor.gap

    float 0

    图形标记和线条的间隙距离。

    GaugeAnchor.image

    Sprite

    自定义的标记图形。

    GaugeAnchor.imageType

    Image.Type

    GaugeAnchor.itemStyle

    ItemStyle

    图形样式。

    GaugeAnchor.offsetCenter

    Vector2 Vector2(0, 0)

    相对于中心的偏移位置。

    GaugeAnchor.show

    bool true

    是否显示指针固定点。

    GaugeAnchor.showAbove

    bool true

    固定点是否显示在指针上面。

    GaugeAnchor.size

    float 6

    标记的大小。

    GaugeAnchor.type

    SymbolType

    标记类型。

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    GaugeAxis.axisLabel

    AxisLabel

    文本标签。

    GaugeAxis.axisLabelText

    List<string>

    自定义Label的内容。

    GaugeAxis.axisLine

    GaugeAxisLine

    仪表盘轴线样式。

    GaugeAxis.axisTick

    AxisTick

    刻度。

    GaugeAxis.distance

    float

    GaugeAxis.overlap

    bool true

    GaugeAxis.show

    bool true

    GaugeAxis.splitLine

    AxisSplitLine

    分割线。

    GaugeAxis.type

    GaugeAxisType

    可选:

    • None: 仪表盘类型
    • Section: 分段
    • Progress: 进度

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    GaugeAxisLine.backgroundColor

    Color32 Color32(230, 235, 248, 255)

    进度条背景颜色。

    GaugeAxisLine.stageColor

    List<StageColor>

    阶段颜色。

    GaugeAxisLine.stageGradient

    bool v3.4.0

    阶段颜色是否渐变过渡。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    GaugePointer.autoColor

    bool true

    GaugePointer.backExtraLength

    float 0.05f

    指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.backLength

    float 0.05f

    指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.bottomLeftLength

    float 0.025f

    指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.bottomRightLength

    float 0.025f

    指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.color

    Color32

    GaugePointer.cornerRadius

    float[]

    圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    GaugePointer.distance

    float

    GaugePointer.length

    float 0.6f

    指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.roundCap

    bool

    GaugePointer.show

    bool true

    是否显示指针。

    GaugePointer.toColor

    Color32

    GaugePointer.topLeftLength

    float 0f

    指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.topRightLength

    float 0f

    指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.value

    double v3.6.0

    指针的值。当为时钟仪表盘时,可通过指定value值来控制指针的位置。

    + + \ No newline at end of file diff --git a/docs/graph/index.html b/docs/graph/index.html index 5fd0720f..388038fd 100644 --- a/docs/graph/index.html +++ b/docs/graph/index.html @@ -14,14 +14,17 @@ GraphChart 关系图 | XCharts - - + +
    Version: v3.12.0

    GraphChart 关系图

    XCharts付费扩展图表 - 关系图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.05.15) 增加Graph关系图

    API

    Force

    class in XCharts.Runtime.Graphs / 继承自: ChildComponent

    图表的力引导布局。

    Graph

    class in XCharts.Runtime.Graphs / 继承自: Serie

    关系图,用于展现节点以及节点之间的关系数据。

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    AddLink()public override SerieDataLink AddLink(string sourceId, string targetId, double value = 0)
    AddSerieData()public override void AddSerieData(SerieData serieData)
    ClearData()public override void ClearData()
    清空所有数据
    GetLevelItemStyle()public ItemStyle GetLevelItemStyle(int depth)
    GetLevelLabel()public LabelStyle GetLevelLabel(int depth)
    GetLevelLineStyle()public LineStyle GetLevelLineStyle(int depth)

    GraphChart

    class in XCharts.Runtime.Graphs / 继承自: BaseChart

    配置项手册

    Force

    class in XCharts.Runtime.Graphs / 继承自: ChildComponent

    图表的力引导布局。

    参数默认版本描述
    showtrue
    stepFactor1f力引导布局的步进因子。
    stepCount1
    friction0.6f节点移动的摩擦因子,该值越大节点移动越慢。
    edgeLength80边的两个节点之间的距离,这个距离也会受 repulsion 影响。
    centerDataIndex-1中心节点数据的索引。
    iterations200力引导布局的迭代次数。

    Graph

    class in XCharts.Runtime.Graphs / 继承自: Serie

    关系图,用于展现节点以及节点之间的关系数据。

    参数默认版本描述
    levelStyle层级样式。
    force图表的力引导布局。 Force
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.05.15) 增加Graph关系图

    API

    Force

    class in XCharts.Runtime.Graphs / 继承自: ChildComponent

    图表的力引导布局。

    Force.currentIterations

    public int currentIterations

    Graph

    class in XCharts.Runtime.Graphs / 继承自: Serie

    关系图,用于展现节点以及节点之间的关系数据。

    Graph.force

    public Force force
    +图表的力引导布局。

    Graph.graphData

    public GraphData graphData

    Graph.levelStyle

    public LevelStyle levelStyle
    +层级样式。

    Graph.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    public override SerieDataLink AddLink(string sourceId, string targetId, double value = 0)

    Graph.AddSerieData

    public override void AddSerieData(SerieData serieData)

    Graph.ClearData

    public override void ClearData()
    +清空所有数据

    Graph.GetLevelItemStyle

    public ItemStyle GetLevelItemStyle(int depth)

    Graph.GetLevelLabel

    public LabelStyle GetLevelLabel(int depth)

    Graph.GetLevelLineStyle

    public LineStyle GetLevelLineStyle(int depth)

    GraphChart

    class in XCharts.Runtime.Graphs / 继承自: BaseChart

    配置项手册

    Force

    class in XCharts.Runtime.Graphs / 继承自: ChildComponent

    图表的力引导布局。

    Force.centerDataIndex

    int -1

    中心节点数据的索引。

    Force.edgeLength

    float 80

    边的两个节点之间的距离,这个距离也会受 repulsion 影响。

    Force.friction

    float 0.6f

    节点移动的摩擦因子,该值越大节点移动越慢。

    Force.iterations

    int 200

    力引导布局的迭代次数。

    Force.show

    bool true

    Force.stepCount

    int 1

    Force.stepFactor

    float 1f

    力引导布局的步进因子。

    Graph

    class in XCharts.Runtime.Graphs / 继承自: Serie

    关系图,用于展现节点以及节点之间的关系数据。

    Graph.force

    Force

    图表的力引导布局。

    Graph.levelStyle

    LevelStyle

    层级样式。

    + + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index f1f0018f..4e0184df 100644 --- a/docs/index.html +++ b/docs/index.html @@ -14,13 +14,13 @@ XCharts - - + + - - + + \ No newline at end of file diff --git a/docs/inputsystem/index.html b/docs/inputsystem/index.html index 3d8c807f..8762019c 100644 --- a/docs/inputsystem/index.html +++ b/docs/inputsystem/index.html @@ -14,13 +14,13 @@ 切换到新的输入系统Input System | XCharts - - + + - - + + \ No newline at end of file diff --git a/docs/lang/articles/ui/ui_statistic/index.html b/docs/lang/articles/ui/ui_statistic/index.html index 920ba907..e138b6e3 100644 --- a/docs/lang/articles/ui/ui_statistic/index.html +++ b/docs/lang/articles/ui/ui_statistic/index.html @@ -14,13 +14,13 @@ UIStatistic 统计数值 | XCharts - - + +
    Version: v3.12.0

    UIStatistic 统计数值

    statistic

    统计数值组件。用于展示统计数值。

    何时使用:

    • 当需要突出某个或某组数字时。
    • 当需要展示带描述的统计类数据时使用。

    支持的功能有:

    • 常规数值
    • 倒计时
    • 添加图标
    • 变更动画
    • 事件回调
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/lang/articles/ui/ui_table/index.html b/docs/lang/articles/ui/ui_table/index.html index 29a955cb..ce70c987 100644 --- a/docs/lang/articles/ui/ui_table/index.html +++ b/docs/lang/articles/ui/ui_table/index.html @@ -14,13 +14,13 @@ UITable 表格 | XCharts - - + +
    Version: v3.12.0

    UITable 表格

    table

    表格组件。可用于展示行列数据。

    支持的功能有:

    • 显示或隐藏列表头
    • 显示或隐藏行表头
    • 任意调整行列宽高
    • 支持行号
    • 支持选中
    • 支持分割线
    • 支持滚动和拖拽
    • 支持滚动条
    • 支持图标图片
    • 支持轮播
    • 排序(暂不支持)
    • 分页(暂不支持)
    • 查找(暂不支持)
    • 过滤(暂不支持)
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/line3d/index.html b/docs/line3d/index.html index 1e9bc4f6..f63456ca 100644 --- a/docs/line3d/index.html +++ b/docs/line3d/index.html @@ -14,14 +14,15 @@ Line3DChart 3D折线图 | XCharts - - + +
    Version: v3.12.0

    Line3DChart 3D折线图

    XCharts付费扩展图表 - 3D折线图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.05.15) 增加Line3D3D折线图

    API

    Line3D

    class in XCharts.Runtime.Line3Ds / 继承自: Serie,INeedSerieContainer

    关系图,用于展现节点以及节点之间的关系数据。

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    Line3DChart

    class in XCharts.Runtime.Line3Ds / 继承自: BaseChart

    Line3DHelper

    class in XCharts.Runtime.Line3Ds

    配置项手册

    Line3D

    class in XCharts.Runtime.Line3Ds / 继承自: Serie, INeedSerieContainer

    关系图,用于展现节点以及节点之间的关系数据。

    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.05.15) 增加Line3D3D折线图

    API

    Line3D

    class in XCharts.Runtime.Line3Ds / 继承自: Serie,INeedSerieContainer

    关系图,用于展现节点以及节点之间的关系数据。

    Line3D.containerIndex

    public int containerIndex
    +关系图,用于展现节点以及节点之间的关系数据。

    Line3D.containterInstanceId

    public int containterInstanceId

    Line3D.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    Line3DChart

    class in XCharts.Runtime.Line3Ds / 继承自: BaseChart

    Line3DHelper

    class in XCharts.Runtime.Line3Ds

    配置项手册

    Line3D

    class in XCharts.Runtime.Line3Ds / 继承自: Serie, INeedSerieContainer

    关系图,用于展现节点以及节点之间的关系数据。

    + + \ No newline at end of file diff --git a/docs/liquid/index.html b/docs/liquid/index.html index f0bcd91a..cc5356b9 100644 --- a/docs/liquid/index.html +++ b/docs/liquid/index.html @@ -14,14 +14,20 @@ LiquidChart 水位图 | XCharts - - + +
    Version: v3.12.0

    LiquidChart 水位图

    XCharts的付费扩展图表 - 水位图。

    截图

    Liquid01Liquid02Liquid03Liquid04Liquid05
    Liquid07Liquid08

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-LiquidChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Liquid的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    LiquidChart

    class in XCharts.Runtime.Liquids / 继承自: BaseChart

    水位图

    API版本描述
    DefaultCapsuleLiquidChart()public void DefaultCapsuleLiquidChart()
    generate default capsule liquid chart. 生成默认的胶囊形水位图。
    DefaultRectLiquidChart()public void DefaultRectLiquidChart()
    generate default rect liquid chart. 生成默认的矩形水位图。
    DefaultRoundRectLiquidChart()public void DefaultRoundRectLiquidChart()
    generate default round rect liquid chart. 生成默认的圆角矩形水位图。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent,ISerieContainer,IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    API版本描述
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    VesselContext

    class in XCharts.Runtime.Liquids / 继承自: MainComponentContext

    配置项手册

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    waveHeight10f波高。
    waveLength20f波长。为0-1小数时指直线的百分比。
    waveSpeed5f波速。正数时左移,负数时右移。
    waveOffset0f波偏移。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent, ISerieContainer, IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    参数默认版本描述
    showtrue是否显示容器组件。 [defaut: true]
    shape容器形状。 [default: Shape.Circle]
    Vessel.Shape:
    - Circle: 圆形
    - Rect: 正方形。
    - Triangle: 三角形。
    - Diamond: 菱形。
    shapeWidth5f容器厚度。 [defaut: 5f]
    gap5f间隙。容器和液体的间隙。 [defaut: 10f]
    colorColor32(70, 70, 240, 255)容器颜色。默认和serie一致。
    backgroundColor背景色,默认透明。 [default: Color.clear]
    autoColortrue是否自动颜色。为true时颜色会和serie一致。 [default: true]
    centerWhen value between 0 and 1 represents a percentage relative to the chart.
    radius0.35fWhen value between 0 and 1 represents a percentage relative to the chart.
    smoothness1f水波平滑度。 [default: 1f]
    width0.5fWhen value between 0 and 1 represents a percentage relative to the chart.
    height0.7fWhen value between 0 and 1 represents a percentage relative to the chart.
    borderWidth0f内壁边框。
    borderColorColor32(70, 70, 240, 255)容器内壁边框颜色。默认和serie一致。
    cornerRadius容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Liquid的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie,INeedSerieContainer

    Liquid.containerIndex

    public int containerIndex

    Liquid.containterInstanceId

    public int containterInstanceId

    Liquid.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    LiquidChart

    class in XCharts.Runtime.Liquids / 继承自: BaseChart

    水位图

    LiquidChart.DefaultCapsuleLiquidChart

    public void DefaultCapsuleLiquidChart()
    +generate default capsule liquid chart. 生成默认的胶囊形水位图。

    LiquidChart.DefaultRectLiquidChart

    public void DefaultRectLiquidChart()
    +generate default rect liquid chart. 生成默认的矩形水位图。

    LiquidChart.DefaultRoundRectLiquidChart

    public void DefaultRoundRectLiquidChart()
    +generate default round rect liquid chart. 生成默认的圆角矩形水位图。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent,ISerieContainer,IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    Vessel.IsPointerEnter

    public bool IsPointerEnter()

    Vessel.UpdateRuntimeData

    public void UpdateRuntimeData(BaseChart chart)

    Vessel.Shape

    class in XCharts.Runtime.Liquids

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    可选:

    • Circle: 圆形
    • Rect: 正方形。
    • Triangle: 三角形。
    • Diamond: 菱形。

    VesselContext

    class in XCharts.Runtime.Liquids / 继承自: MainComponentContext

    VesselContext.center

    public Vector3 center
    +运行时中心点。

    VesselContext.height

    public float height

    VesselContext.innerRadius

    public float innerRadius
    +运行时内半径。扣除厚度和间隙后的实际半径。

    VesselContext.isPointerEnter

    public bool isPointerEnter

    VesselContext.radius

    public float radius
    +运行时半径。

    VesselContext.width

    public float width

    配置项手册

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie, INeedSerieContainer

    Liquid.waveHeight

    float 10f

    波高。

    Liquid.waveLength

    float 20f

    波长。为0-1小数时指直线的百分比。

    Liquid.waveOffset

    float 0f

    波偏移。

    Liquid.waveSpeed

    float 5f

    波速。正数时左移,负数时右移。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent, ISerieContainer, IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    Vessel.autoColor

    bool true

    是否自动颜色。为true时颜色会和serie一致。 [default: true]

    Vessel.backgroundColor

    Color32

    背景色,默认透明。 [default: Color.clear]

    Vessel.borderColor

    Color32 Color32(70, 70, 240, 255)

    容器内壁边框颜色。默认和serie一致。

    Vessel.borderWidth

    float 0f

    内壁边框。

    Vessel.center

    float[]

    When value between 0 and 1 represents a percentage relative to the chart.

    Vessel.color

    Color32 Color32(70, 70, 240, 255)

    容器颜色。默认和serie一致。

    Vessel.cornerRadius

    float[]

    容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。

    Vessel.gap

    float 5f

    间隙。容器和液体的间隙。 [defaut: 10f]

    Vessel.height

    float 0.7f

    When value between 0 and 1 represents a percentage relative to the chart.

    Vessel.radius

    float 0.35f

    When value between 0 and 1 represents a percentage relative to the chart.

    Vessel.shape

    Vessel.Shape

    容器形状。 [default: Shape.Circle]

    可选:

    • Circle: 圆形
    • Rect: 正方形。
    • Triangle: 三角形。
    • Diamond: 菱形。

    Vessel.shapeWidth

    float 5f

    容器厚度。 [defaut: 5f]

    Vessel.show

    bool true

    是否显示容器组件。 [defaut: true]

    Vessel.smoothness

    float 1f

    水波平滑度。 [default: 1f]

    Vessel.width

    float 0.5f

    When value between 0 and 1 represents a percentage relative to the chart.

    + + \ No newline at end of file diff --git a/docs/master/about/index.html b/docs/master/about/index.html index 4a57f71f..c75d84aa 100644 --- a/docs/master/about/index.html +++ b/docs/master/about/index.html @@ -14,8 +14,8 @@ 关于XCharts | XCharts - - + +
    @@ -31,7 +31,7 @@ XCharts只支持在Unity平台使用。理论上任何支持UGUIUnity版本都能运行XCharts

  • 锯齿怎么解决?支持多大量级的数据?
    XCharts是基于UGUI实现的,所以UGUI中碰到的问题,在XCharts中也会存在。比如锯齿问题,比如Mesh顶点数超65535的问题。这两个问题的解决可参考问答16问答27
    由于Mesh65535顶点数的限制,目前XCharts的单条Line支持约2万的数据量,当然开启采样可以支持更多数据的绘制,但同时也会更消耗CPU。

  • 日志

    Licenses

    • MIT License
    • 可免费商用,可二次开发。
    • 扩展图表和高级功能部分需购买使用授权。

    订阅

    • XCharts核心库是开源的,可免费使用的。在此基础上,我们也提供多种订阅服务以满足不同用户的需求,订阅详情☞ 请看这里
    • 订阅不是必须的,不影响XCharts的核心功能使用。
    • 订阅是按年付费,订阅到期后,不要求必须续订,但中断订阅期间无法享受技术更新和支持等服务。

    其他

    • 邮箱:monitor1394@gmail.com
    • QQ群:XCharts交流群(202030963
    • VIP群:XCharts VIP群(867291970
    • 捐助、合作、订阅和技术支持:☞ 请看这里
    - - + + \ No newline at end of file diff --git a/docs/master/api/index.html b/docs/master/api/index.html index a93a888b..7b8c6bdc 100644 --- a/docs/master/api/index.html +++ b/docs/master/api/index.html @@ -14,8 +14,8 @@ API手册 | XCharts - - + +
    @@ -477,7 +477,7 @@ 直角坐标系 grid 中的 y 轴。

    YAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    YAxis3D.SetDefaultValue

    public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。

    ZAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    ZAxis3D.SetDefaultValue

    public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/master/bar3d/index.html b/docs/master/bar3d/index.html index 04f9f202..14831ebd 100644 --- a/docs/master/bar3d/index.html +++ b/docs/master/bar3d/index.html @@ -14,8 +14,8 @@ Bar3DChart 3D柱图 | XCharts - - + +
    @@ -25,7 +25,7 @@ 生成默认的圆柱体图。

    Bar3DChart.DefaultGroupedCubeChart

    public void DefaultGroupedCubeChart()
    默认分组3D柱状图。

    Bar3DChart.DefaultStackedCubeChart

    public void DefaultStackedCubeChart()
    默认堆叠分组3D柱状图。

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    Bar3DType

    class in XCharts.Runtime.Bar3Ds

    3D柱图类型。分为立方柱和圆柱。

    可选:

    • Cube: 立方柱。
    • Cylinder: 圆柱。

    配置项手册

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie, INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    Bar3D.bar3DStyle

    Bar3DStyle

    Bar3D.bar3DType

    Bar3DType v3.1.0

    可选:

    • Cube: 立方柱。
    • Cylinder: 圆柱。

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    Bar3DStyle.barOffset

    Vector3 Vector3.zero

    柱子偏移。

    Bar3DStyle.borderDash

    bool v3.10.0

    是否显示虚线边框。

    Bar3DStyle.bottomColor

    Color32 v3.6.0

    Bar3DStyle.bottomColorRate

    float 1f

    柱子底部相对正面的颜色比例。

    Bar3DStyle.cubeDire

    Vector3 Vector3(1, 1)

    方形柱形成3D效果的方向。

    Bar3DStyle.cylinderRate

    float 0.5f v3.1.0

    圆柱的顶部椭圆比列。

    Bar3DStyle.occludedAreaBorder

    bool v3.10.0

    是否显示遮挡区域的边框。

    Bar3DStyle.occludedAreaBorderDash

    bool v3.10.0

    是否显示遮挡区域的虚线边框。

    Bar3DStyle.show

    bool true

    Bar3DStyle.sideColor

    Color32 v3.6.0

    Bar3DStyle.sideColorRate

    float 0.7f

    方形柱侧边相对正面的颜色比例。

    Bar3DStyle.topColor

    Color32 v3.6.0

    Bar3DStyle.topColorRate

    float 0.8f

    柱子顶部相对正面的颜色比例。

    Bar3DStyle.verticalArrange

    bool false

    是否垂直排列。

    Bar3DStyle.verticalArrangeDire

    Vector3 Vector3(-1, 1)

    垂直排列时的方向。

    Bar3DStyle.verticalArrangeGap

    float 0.5f

    垂直排列时两个柱子间的间隙。

    Bar3DStyle.widthRate

    float 0.5f

    方形柱侧边宽度相对正面的比例。

    - - + + \ No newline at end of file diff --git a/docs/master/changelog/index.html b/docs/master/changelog/index.html index bb88c9b0..3896490e 100644 --- a/docs/master/changelog/index.html +++ b/docs/master/changelog/index.html @@ -14,8 +14,8 @@ 更新日志 | XCharts - - + +
    @@ -88,7 +88,7 @@ v0.8.0
    v0.5.0
    v0.1.0

    master

    v3.12.0

    版本要点:

    • 增加RingradiusGradient参数设置渐变方向
    • 增加numericFormatterdatetime的支持
    • 完善AreaStyleorigin参数设置区域填充起始位置
    • 调整和完善文档
    • 其他优化和修复

    日志详情:

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.27) 完善5分钟教程
    • (2024.09.24) 完善Legendformatter对多Serie的支持 (#332)
    • (2024.09.22) 调整Documentation文档显示样式
    • (2024.09.09) 增加numericFormatterdatetime的支持
    • (2024.09.03) 完善AreaStyleorigin参数设置区域填充起始位置
    • (2024.09.01) 增加RingradiusGradient参数设置渐变方向
    • (2024.09.01) 优化Axis为时间轴时首个Label的位置

    v3.11.2

    • (2024.08.01) 发布v3.11.2版本
    • (2024.07.29) 修复Tooltip在微信小游戏平台上报错的兼容问题 (#326)
    • (2024.07.27) 调整AxisAxisName的默认位置
    • (2024.07.22) 优化PieLabelTooltip触发时的表现
    • (2024.07.21) 修复Tooltip在开启DataZoom时指示内容不准确的问题
    • (2024.07.17) 修复MarkLineLabel在初始化时可能会闪烁的问题
    • (2024.07.16) 优化AxisTime时间轴时的Tooltip默认效果
    • (2024.07.15) 优化AxisTime时间轴时的分割效果
    • (2024.07.14) 优化AxisTime时间轴时的移动表现
    • (2024.07.12) 优化Label的初始化显示效果
    • (2024.07.06) 修复Chart在动态创建时背景没有自适应的问题 (#323)

    v3.11.1

    • (2024.07.01) 发布v3.11.1版本
    • (2024.07.01) 修复Serie有多个时颜色异常的问题
    • (2024.06.23) 修复Label在初始化时会堆积的问题

    v3.11.0

    版本要点:

    • 增加Line3DChart3D折线图
    • 增加GraphChart关系图
    • 增加3D坐标系支持
    • 增加TooltiptriggerOn设置触发条件
    • 其他问题修复和优化

    日志详情:

    • (2024.06.16) 发布v3.11.0版本
    • (2024.06.15) 增加EditorData的添加、删除、上下移动操作按钮
    • (2024.06.11) 修复AxisIndicatorLabel可能会遮挡住Tooltip的问题
    • (2024.06.11) 修复TooltipCrossAxisIndicatorLabel可能不显示的问题 (#315)
    • (2024.06.10) 调整TooltipCorss重命名为Cross
    • (2024.06.09) 增加AxisminCategorySpacing设置类目轴默认的最小类目间距
    • (2024.06.09) 修复TooltipCrossAxis是类目轴并且开启DataZoom的情况下指示位置不准确的问题
    • (2024.06.06) 修复SerieClone时动画异常问题 (#320)
    • (2024.06.04) 修复Seriestate在代码动态设置时不刷新的问题
    • (2024.05.29) 调整XChartsHierarchy视图下的右键菜单到UI/XCharts
    • (2024.05.29) 增加3D坐标系对类目轴的支持
    • (2024.05.19) 优化Editor下的编辑性能
    • (2024.05.09) 增加JsonUtil工具类
    • (2024.05.01) 修复Tooltip每帧产生GC的问题 (#311) (by @stefanbursuc)
    • (2024.04.23) 修复ConvertXYAxis()多次调用后图表异常的问题
    • (2024.04.22) 修复DataZoom控制多个轴时的GridCoord获取可能不正确的问题 (#317)
    • (2024.04.22) 增加3D坐标系
    • (2024.04.15) 优化DateTimeUtil时间戳转DateTime接口时区的问题
    • (2024.04.15) 优化GridCoord在开启GridLayout时也显示Left Right Top Bottom参数 (#316)
    • (2024.04.14) 修复TooltipCross在开启DataZoom的情况下label位置不正确的问题 (#315)
    • (2024.04.12) 修复Candlesticks效果不对的问题 (#313)
    • (2024.03.20) 增加TooltiptriggerOn设置触发条件
    • (2024.03.19) 修复Pie在设置ItemStyleopacity时颜色不对的问题 (#309)

    v3.10.2

    • (2024.03.11) 发布v3.10.2版本
    • (2024.03.11) 修复Legendformatter在设置{d}通配符时显示可能不匹配的问题 (#304)
    • (2024.03.11) 修复Tooltip移出坐标系后还显示的问题
    • (2024.03.08) 修复Tooltiptitle从旧版本升级后可能不显示的问题

    v3.10.1

    • (2024.02.21) 发布v3.10.1版本
    • (2024.02.19) 修复Tooltip的圆点标记不会自适应颜色的问题

    v3.10.0

    版本要点:

    • 增加双类目轴支持
    • 增加更多细分快捷菜单创建图表,可一键创建几十种图表
    • 增加图表边框设置,支持圆角图表
    • 修复若干问题

    扩展功能:

    • 增加SankeyChart桑基图
    • 增加UITable的边框设置

    日志详情:

    • (2024.02.01) 发布v3.10.0版本
    • (2024.01.31) 修复Tooltip在设置itemFormatter-后整个不显示的问题
    • (2024.01.27) 修复TextLimit在开启TextMeshPro后无效的问题 (#301)
    • (2024.01.24) 增加Bar支持X轴和Y轴都为Category类目轴
    • (2024.01.23) 增加{y}通配符用于获取Y轴的类目名
    • (2024.01.23) 增加Line支持X轴和Y轴都为Category类目轴
    • (2024.01.18) 修复Animationtype代码动态修改无效的问题
    • (2024.01.13) 增加Chart的更多快捷创建图表菜单
    • (2024.01.09) 增加BackgroundborderStyle,给图表默认设置圆角
    • (2024.01.07) 修复Tooltop的第一个ContentLabelStyle设置color无效的问题
    • (2024.01.01) 增加BorderStyle边框样式
    • (2023.12.26) 增加HeatmapmaxCache参数支持
    • (2023.12.25) 优化Line开启clip时绘制的顶点数
    • (2023.12.22) 修复Scatter散点图部分边界数据不显示的问题
    • (2023.12.21) 修复TriggerTooltip()接口在指定0或最大index时可能无法触发的问题
    • (2023.12.19) 修复LegendLabelStyle设置formatter后不生效的问题
    • (2023.12.12) 增加LegendTextLimit可限制图例显示文本的长度
    • (2023.12.11) 修复Serie添加double.MaxValue时坐标绘制失败的问题
    • (2023.12.10) 增加SerieminShowLabel可隐藏小于指定值的label
    • (2023.12.09) 增加LevelStyledepth指定所属层次
    • (2023.12.09) 增加LevelStyleLineStyle设置线条样式
    • (2023.12.09) 增加SerieLink可用于桑基图添加节点边关系
    • (2023.12.05) 增加ResetChartStatus()可主动重置图表状态

    v3.9.0

    版本要点:

    • 增加AxisAnimation,完善数据变更动画效果
    • 增加Axis的对数轴子刻度的支持
    • 增加MarkLineonTop设置是否显示在最上层
    • 完善代码注释和手册文档
    • 修复若干问题

    扩展功能:

    • UITable增加轮播功能
    • UITable增加数据操作接口和回调函数
    • Pie3DChart优化绘制表现

    日志详情:

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 修复TooltiptitleFormatter设置为{b}后显示不准确的问题
    • (2023.11.30) 增加SerieData可单独添加Label的支持
    • (2023.11.28) 修复Tooltip在对数轴时指示不准确的问题
    • (2023.11.24) 修复ChartUpdateData()接口返回值不准确的问题
    • (2023.11.24) 修复Axis的更新数据时效果不顺畅的问题
    • (2023.11.23) 增加AxisAnimation支持动画效果
    • (2023.11.16) 取消Legendformatter,用LabelStyle的代替
    • (2023.11.14) 完善LabelStyleformatter的注释和文档(#291)
    • (2023.11.11) 修复Documentation部分注释生成文档不完整的问题 (#290)
    • (2023.11.11) 修复Legendformatter在数据变更时没有自动刷新的问题
    • (2023.11.05) 修复SerieEventDatavalue一直是0的问题 (#287)
    • (2023.11.03) 修复Bar设置渐变色时鼠标移出效果异常的问题 (#285)
    • (2023.11.02) 优化SerieData设置ignoreformatter的忽略问题
    • (2023.11.01) 增加MarkLineonTop设置是否显示在最上层
    • (2023.10.21) 修复Pie有0数据时Label的位置异常的问题
    • (2023.10.21) 增加Axis的对数轴支持子刻度
    • (2023.10.19) 修复Pie设置玫瑰图时引导线异常的问题
    • (2023.10.15) 修复Line设置AnimationAlongPath时动画异常的问题 (#281)
    • (2023.10.12) 修复MarkLine指定yValue时对数值轴无效的问题
    • (2023.10.11) 修复SerieshowDataDimension设置无效的问题

    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) 增加PieradiusGradient可设置半径方向的渐变效果
    • (2023.09.05) 优化LabelLinelineEndXPie中的表现
    • (2023.09.05) 修复TriggerTooltip()接口对Ring无效的问题
    • (2023.09.05) 修复Radar数据全为0时绘制报错的问题

    v3.8.0

    版本要点:

    • 重构Animation动画系统,增加新增动画交互动画的支持
    • 完善PieChart的动画交互表现
    • 增加SymbolEmptyTriangleEmptyDiamondPlusMinus四种新标记
    • 完善Chart的鼠标交互回调
    • 增加LabelLine可固定横坐标的功能
    • 增加GridLayout网格布局组件
    • 增加TooltipAuto类型
    • 优化和修复若干其他问题

    日志详情:

    • (2023.09.03) 发布v3.8.0版本
    • (2023.09.01) 增加TooltipAuto自动设置显示类型和触发类型
    • (2023.08.29) 增加RinggridIndex支持设置指定网格
    • (2023.08.29) 增加RadargridIndex支持设置指定网格
    • (2023.08.29) 增加PiegridIndex支持设置指定网格
    • (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) 修复YAxisLabel可能会重复的问题
    • (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本地开启TextMeshProNewInputSystem后更新版本会报错的问题 (#272)
    • (2023.08.12) 修复Chart在运行时被删除时会异常报错的问题 (#269)
    • (2023.08.11) 修复DataZoom开启时可能会导致无法添加数据的问题
    • (2023.08.11) 修复SerieData单独设置ItemStyleitemFormatter不生效的问题
    • (2023.08.10) 优化BarChartTooltipTriggerItem时的表现
    • (2023.08.09) 增加Axis可通过设置IconStylecolorclear来实现动态图标颜色的支持
    • (2023.08.08) 增加PieLabelLinelineEndX的支持
    • (2023.08.05) 整理Examples的代码,删除不必要的用例
    • (2023.08.04) 增加LabelLinelineEndX可设置引导线固定X位置的支持
    • (2023.08.04) 增加RingavoidLabelOverlap避免文本堆叠的支持 (#247)
    • (2023.08.03) 完善ChartonSerieEnteronSerieExitonSerieClick回调
    • (2023.08.02) 修复BarChartonSerieEnteronSerieExit回调无效的问题
    • (2023.08.02) 增加SymbolPlus加号和Minus减号的支持
    • (2023.07.31) 增加SymbolEmptyTriangleEmptyDiamond的支持,优化Symbol表现效果
    • (2023.07.31) 优化Line的默认配置效果
    • (2023.07.27) 增加SerieminRadius可设置最小半径
    • (2023.07.26) 增加MLValue多样式数值
    • (2023.07.25) 增加XLog日志系统
    • (2023.07.18) 完善Pie饼图的交互动画效果
    • (2023.07.14) 增加AnimationInteraction交互动画配置支持
    • (2023.07.11) 增加AnimationAddition新增动画配置支持
    • (2023.07.11) 重构Animation动画系统,完善动画体验
    • (2023.06.30) 增加PolarCoodindicatorLabelOffset设置指示文本偏移的支持
    • (2023.06.30) 修复AxisIndicatorLabel的背景颜色可能不正常的问题
    • (2023.06.30) 增加AxisIndicatorLabel可自定义color的支持
    • (2023.06.12) 修复AxisLabelformatterFunction在数值轴时value不对的问题

    v3.7.0

    版本要点:

    • 增加HelpDoc官网帮助文档跳转
    • 增加LineClip的支持
    • 优化Axis的范围设置
    • 其他优化和修复

    日志详情:

    • (2023.06.08) 发布v3.7.0版本
    • (2023.06.04) 增加HelpDoc帮助文档跳转
    • (2023.05.30) 修复Serie的名字带_线导致Legend无法触发的问题 (#259) (by @svr2kos2)
    • (2023.05.10) 增加AxisMinMaxAuto范围类型
    • (2023.05.10) 增加LineClip的支持
    • (2023.05.04) 优化Axis在-1到1范围时设置CeilRate不生效的问题
    • (2023.05.04) 优化AxisMinMax类型范围计算
    • (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) 增加BaseChartTriggerTooltip()接口尝试触发ToolTip
    • (2023.04.12) 优化RadarCood设置startAngle时文本也跟随调整位置
    • (2023.04.12) 增加Radar对通配符{b}的支持
    • (2023.04.11) 修复Inspector在动态添加组件时可能异常的问题

    v3.6.0

    版本要点:

    • 增加InputSystem支持 (by @Bian-Sh)
    • 增加官网在线示例多版本支持 (by @SHL-COOL)
    • 完善对VR的支持 (by @Ambitroc)
    • 增加UITableUIStatistic扩展UI组件
    • 增加ItemStyleMarkColor
    • 增加通配符{h}的支持
    • 优化TooltipLegendDataZoomAxis等组件
    • 重构相关API接口,完善回调接口
    • 修复若干问题

    升级注意:

    • 部分接口有调整,可根据提示更换下接口即可。

    日志详情:

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.14) 修复TooltiptitleFormater设置{b}可能不生效的问题
    • (2023.03.14) 修复BarChart在数据为0时不绘制柱条背景的问题 (#250) (by @Ambitroc)
    • (2023.03.12) 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转
    • (2023.03.10) 增加VR等其他非鼠标输入方式的Point位置获取 (#248) (by @Ambitroc)
    • (2023.03.09) 增加ChartonSerieClickonSerieDownonSerieEnteronSerieExit回调
    • (2023.03.09) 修复Pie的点击选中偏移不生效的问题
    • (2023.03.04) 增加LegendPositions可自定义图例的位置
    • (2023.03.03) 修复Animation变更动画可能无效的问题
    • (2023.02.28) 修复Legend点击时SerieLabel不刷新的问题
    • (2023.02.26) 增加DataZoomstartEndFunction委托
    • (2023.02.12) 重构Component相关代码,调整API接口
    • (2023.02.10) 修复AxisLog轴时某些情况下最小值不正确的问题
    • (2023.02.10) 优化Axis的数值Label的默认显示格式
    • (2023.02.08) 增加DataZoomstartLockendLock参数支持锁定
    • (2023.02.02) 修复DataZoom开启时X轴Label可能会显示在图表外的问题
    • (2023.02.02) 优化SerieDataignore设置时的忽略数据判断
    • (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) 删除SerieMarkColor,增加ItemStyleMarkColor
    • (2022.12.29) 增加EditorList+添加编辑功能
    • (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) 修复AxisValue轴在某些情况下计算数值范围不准确的问题
    • (2022.12.12) 优化Legendformatter支持{h}通配符
    • (2022.12.12) 修复Legendformatter设置为固定值时显示不正常的问题
    • (2022.12.08) 增加AreaStyletoTop参数可设置折线图渐变色是到顶部还是到实际位置
    • (2022.12.07) 增加Formatter的文本通配符{h}支持设置当前颜色值

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Convert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    - - + + \ No newline at end of file diff --git a/docs/master/configuration/index.html b/docs/master/configuration/index.html index d4ab2b90..b6de8218 100644 --- a/docs/master/configuration/index.html +++ b/docs/master/configuration/index.html @@ -14,13 +14,13 @@ 配置项手册 | XCharts - - + +
    Version: master

    配置项手册

    Serie 系列

    Theme 主题

    MainComponent 主组件

    ChildComponent 子组件

    ISerieComponent 可添加到Serie的组件

    ISerieDataComponent 可添加到SerieData的组件

    Other 其他

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    AngleAxis.startAngle

    float 0

    起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn, AnimationFadeOut, AnimationChange, AnimationAddition, AnimationHiding, AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    AnimationInfo.delay

    float 0 v3.8.0

    动画开始前的延迟时间。

    AnimationInfo.duration

    float 1000 v3.8.0

    动画的时长。

    AnimationInfo.enable

    bool true v3.8.0

    是否开启动画效果。

    AnimationInfo.reverse

    bool false v3.8.0

    是否开启反向动画效果。

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    AnimationInteraction.offset

    MLValue v3.8.0

    交互的多样式数值。如饼图的扇形选中时的偏移。

    AnimationInteraction.radius

    MLValue v3.8.0

    半径的多样式数值。

    AnimationInteraction.width

    MLValue v3.8.0

    宽度的多样式数值。

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    AnimationStyle.addition

    AnimationAddition v3.8.0

    数据新增动画配置。

    AnimationStyle.change

    AnimationChange v3.8.0

    数据变更动画配置。

    AnimationStyle.easting

    AnimationEasing

    可选:

    • Linear:

    AnimationStyle.enable

    bool true

    是否开启动画效果。

    AnimationStyle.fadeIn

    AnimationFadeIn v3.8.0

    渐入动画配置。

    AnimationStyle.fadeOut

    AnimationFadeOut v3.8.0

    渐出动画配置。

    AnimationStyle.hiding

    AnimationHiding v3.8.0

    数据隐藏动画配置。

    AnimationStyle.interaction

    AnimationInteraction v3.8.0

    交互动画配置。

    AnimationStyle.threshold

    int 2000

    是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。

    AnimationStyle.type

    AnimationType

    动画类型。

    可选:

    • Default: 默认。内部会根据实际情况选择一种动画播放方式。
    • LeftToRight: 从左往右播放动画。
    • BottomToTop: 从下往上播放动画。
    • InsideOut: 由内到外播放动画。
    • AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    • Clockwise: 顺时针播放动画。

    AnimationStyle.unscaledTime

    bool v3.4.0

    动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    区域填充样式。

    AreaStyle.color

    Color32

    区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。

    AreaStyle.innerFill

    bool v3.2.0

    是否只填充多边形区域。目前只支持凸多边形。

    AreaStyle.opacity

    float 0.6f

    图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。

    AreaStyle.origin

    AreaStyle.AreaOrigin

    区域填充的起始位置。

    可选:

    • Auto: 填充坐标轴轴线到数据间的区域。
    • Start: 填充坐标轴底部到数据间的区域。
    • End: 填充坐标轴顶部到数据间的区域。

    AreaStyle.show

    bool true

    是否显示区域填充。

    AreaStyle.toColor

    Color32

    渐变色的终点颜色。

    AreaStyle.toTop

    bool true v3.6.0

    渐变色是到顶部还是到实际位置。默认为true到顶部。

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    ArrowStyle.color

    Color32 Color.clear

    箭头颜色。

    ArrowStyle.dent

    float 3

    箭头的凹度。

    ArrowStyle.height

    float 15

    箭头高。

    ArrowStyle.offset

    float 0

    箭头偏移。

    ArrowStyle.width

    float 10

    箭头宽。

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis, ParallelAxis, RadiusAxis, SingleAxis, XAxis, XAxis3D, YAxis, YAxis3D, ZAxis3D

    直角坐标系的坐标轴组件。

    Axis.animation

    AxisAnimation

    坐标轴动画。

    Axis.axisLabel

    AxisLabel

    坐标轴刻度标签。

    Axis.axisLine

    AxisLine

    坐标轴轴线。

    Axis.axisName

    AxisName

    坐标轴名称。

    Axis.axisTick

    AxisTick

    坐标轴刻度。

    Axis.boundaryGap

    bool true

    坐标轴两边是否留白。只对类目轴有效。

    Axis.ceilRate

    double 0

    最大最小值向上取整的倍率。默认为0时自动计算。

    Axis.clockwise

    bool true

    刻度增长是否按顺时针,默认顺时针。

    Axis.data

    List<string>

    类目数据,在类目轴(type: 'category')中有效。

    Axis.gridIndex

    int

    坐标轴所在的 grid 的索引,默认位于第一个 grid。

    Axis.icons

    List<Sprite>

    类目数据对应的图标。

    Axis.indicatorLabel

    LabelStyle v3.4.0

    指示器文本的样式。Tooltip为Cross时使用。

    Axis.insertDataToHead

    bool

    添加新数据时是在列表的头部还是尾部加入。

    Axis.interval

    double 0

    强制设置坐标轴分割间隔。无法在类目轴中使用。

    Axis.inverse

    bool false

    是否反向坐标轴。在类目轴中无效。

    Axis.logBase

    float 10

    对数轴的底数,只在对数轴(type:'Log')中有效。

    Axis.logBaseE

    bool false

    对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。

    Axis.max

    double

    设定的坐标轴刻度最大值,当minMaxType为Custom时有效。

    Axis.maxCache

    int 0

    The first data will be remove when the size of axis data is larger then maxCache.

    Axis.min

    double

    设定的坐标轴刻度最小值,当minMaxType为Custom时有效。

    Axis.minCategorySpacing

    float 0 v3.11.0

    类目之间的最小间距。

    Axis.minMaxType

    Axis.AxisMinMaxType

    坐标轴刻度最大最小值显示类型。

    可选:

    • Default: 0-最大值。
    • MinMax: 最小值-最大值。
    • Custom: 自定义最小值最大值。
    • MinMaxAuto: [since("v3.7.0")]最小值-最大值。自动计算合适的值。

    Axis.minorSplitLine

    AxisMinorSplitLine v3.2.0

    坐标轴次分割线。

    Axis.minorTick

    AxisMinorTick v3.2.0

    坐标轴次刻度。

    Axis.offset

    float

    坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。

    Axis.parallelIndex

    int

    坐标轴所在的 parallel 的索引,默认位于第一个 parallel。

    Axis.polarIndex

    int

    坐标轴所在的 ploar 的索引,默认位于第一个 polar。

    Axis.position

    Axis.AxisPosition

    坐标轴在Grid中的位置。

    可选:

    • Left: 坐标轴在Grid中的位置
    • Right: 坐标轴在Grid中的位置
    • Bottom: 坐标轴在Grid中的位置
    • Top: 坐标轴在Grid中的位置
    • Center: 坐标轴在Grid中的位置

    Axis.show

    bool true

    是否显示坐标轴。

    Axis.splitArea

    AxisSplitArea

    坐标轴分割区域。

    Axis.splitLine

    AxisSplitLine

    坐标轴分割线。

    Axis.splitNumber

    int 0

    坐标轴的期望的分割段数。默认为0表示自动分割。

    Axis.type

    Axis.AxisType

    坐标轴类型。

    可选:

    • Value: 数值轴。适用于连续数据。
    • Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    • Log: 对数轴。适用于对数数据。
    • Time: 时间轴。适用于连续的时序数据。

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    AxisAnimation.duration

    float

    动画时长(ms)。 默认设置为0时,会自动获取serie的动画时长。

    AxisAnimation.show

    bool true

    是否开启动画。

    AxisAnimation.unscaledTime

    bool

    动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    AxisLabel.inside

    bool false

    刻度标签是否朝内,默认朝外。

    AxisLabel.interval

    int 0

    坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。

    AxisLabel.onZero

    bool false

    刻度标签显示在0刻度上。

    AxisLabel.showAsPositiveNumber

    bool false

    将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。

    AxisLabel.showEndLabel

    bool true

    是否显示最后一个文本。

    AxisLabel.showStartLabel

    bool true

    是否显示第一个文本。

    AxisLabel.textLimit

    TextLimit

    文本限制。

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    AxisLine.arrow

    ArrowStyle

    轴线箭头。

    AxisLine.onZero

    bool

    X 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。

    AxisLine.showArrow

    bool

    是否显示箭头。

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    AxisMinorSplitLine.autoColor

    bool

    自动设置颜色。

    AxisMinorSplitLine.distance

    float

    刻度线与轴线的距离。

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    AxisMinorTick.autoColor

    bool

    AxisMinorTick.splitNumber

    int 5

    分隔线之间分割的刻度数。

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    AxisName.labelStyle

    LabelStyle

    文本样式。

    AxisName.name

    string

    坐标轴名称。

    AxisName.onZero

    bool v3.1.0

    坐标轴名称的位置是否保持和Y轴0刻度一致。

    AxisName.show

    bool

    是否显示坐标轴名称。

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    AxisSplitArea.color

    List<Color32>

    分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitArea.show

    bool

    是否显示分隔区域。

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    AxisSplitLine.autoColor

    bool

    自动设置颜色。

    AxisSplitLine.distance

    float

    刻度线与轴线的距离。

    AxisSplitLine.interval

    int

    坐标轴分隔线的显示间隔。

    AxisSplitLine.showEndLine

    bool true v3.3.0

    是否显示最后一条分割线。

    AxisSplitLine.showStartLine

    bool true v3.3.0

    是否显示第一条分割线。

    AxisSplitLine.showZLine

    bool true v3.11.0

    是否显示Z轴部分分割线。一般用于3D坐标系。

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    AxisTick.alignWithLabel

    bool

    类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。

    AxisTick.autoColor

    bool

    AxisTick.distance

    float

    刻度线与轴线的距离。

    AxisTick.inside

    bool

    坐标轴刻度是否朝内,默认朝外。

    AxisTick.showEndTick

    bool

    是否显示最后一个刻度。

    AxisTick.showStartTick

    bool

    是否显示第一个刻度。

    AxisTick.splitNumber

    int 0

    分隔线之间分割的刻度数。

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    Background.autoColor

    bool true

    当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。

    Background.borderStyle

    BorderStyle v3.10.0

    背景边框样式。

    Background.image

    Sprite

    背景图。

    Background.imageColor

    Color

    背景图颜色。

    Background.imageHeight

    float 0 v3.10.0

    背景图高度。

    Background.imageType

    Image.Type

    背景图填充类型。

    Background.imageWidth

    float 0 v3.10.0

    背景图宽度。

    Background.show

    bool true

    是否启用背景组件。

    Bar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme, RadiusAxisTheme, AngleAxisTheme, PolarAxisTheme, RadarAxisTheme

    BaseAxisTheme.lineColor

    Color32

    坐标轴线颜色。

    BaseAxisTheme.lineLength

    float 0f

    坐标轴线长。

    BaseAxisTheme.lineType

    LineStyle.Type

    坐标轴线类型。

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    BaseAxisTheme.lineWidth

    float 1f

    坐标轴线宽。

    BaseAxisTheme.minorSplitLineColor

    Color32

    次分割线线颜色。

    BaseAxisTheme.splitAreaColors

    List<Color32>

    坐标轴分隔区域的颜色。

    BaseAxisTheme.splitLineColor

    Color32

    分割线线颜色。

    BaseAxisTheme.splitLineLength

    float 0f

    分割线线长。

    BaseAxisTheme.splitLineType

    LineStyle.Type

    分割线线类型。

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    BaseAxisTheme.splitLineWidth

    float 1f

    分割线线宽。

    BaseAxisTheme.tickColor

    Color32

    坐标轴线颜色。

    BaseAxisTheme.tickLength

    float 5f

    刻度线线长。

    BaseAxisTheme.tickWidth

    float 1f

    刻度线线宽。

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine, AxisMinorSplitLine, AxisMinorTick, AxisSplitLine, AxisTick

    线条基础配置。

    BaseLine.lineStyle

    LineStyle

    线条样式

    BaseLine.show

    bool

    是否显示坐标轴轴线。

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer / 子类: EffectScatter, Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    BorderStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    边框样式。

    BorderStyle.borderColor

    Color32

    边框颜色。

    BorderStyle.borderWidth

    float

    边框宽度。

    BorderStyle.cornerRadius

    float[]

    圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。当为(1,1,1,1)时为全圆角。

    BorderStyle.roundedCorner

    bool true

    是否显示圆角。

    BorderStyle.show

    bool false

    是否显示边框。

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Candlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ChartText

    class in XCharts.Runtime

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle, AxisAnimation, AxisName, AxisSplitArea, AreaStyle, ArrowStyle, BaseLine, BorderStyle, IconStyle, ImageStyle, ItemStyle, Level, LevelStyle, LineArrow, LineStyle, Location, MLValue, MarqueeStyle, Padding, StageColor, SymbolStyle, TextLimit, TextStyle, CommentItem, CommentMarkStyle, LabelLine, LabelStyle, MarkAreaData, MarkLineData, StateStyle, VisualMapRange, ViewControl, UIComponentTheme, SerieData, SerieDataLink, ComponentTheme, SerieTheme, ThemeStyle

    Comment

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图表注解组件。

    Comment.items

    List<CommentItem>

    注解项。每个注解组件可以设置多个注解项。

    Comment.labelStyle

    LabelStyle

    所有组件的文本样式。

    Comment.markStyle

    CommentMarkStyle

    所有组件的文本样式。

    Comment.show

    bool true

    是否显示注解组件。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    CommentItem.content

    string

    注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。

    CommentItem.labelStyle

    LabelStyle

    注解项的文本样式。

    CommentItem.location

    Location v3.5.0

    Comment显示的位置。

    CommentItem.markRect

    Rect

    注解区域。

    CommentItem.markStyle

    CommentMarkStyle

    注解标记区域样式。

    CommentItem.show

    bool true

    是否显示当前注解项。

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    CommentMarkStyle.lineStyle

    LineStyle

    线条样式。

    CommentMarkStyle.show

    bool true

    是否显示当前注解项。

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme, DataZoomTheme, LegendTheme, SubTitleTheme, TitleTheme, TooltipTheme, VisualMapTheme

    ComponentTheme.font

    Font

    字体。

    ComponentTheme.fontSize

    int 18

    文本字体大小。

    ComponentTheme.textBackgroundColor

    Color

    文本颜色。

    ComponentTheme.textColor

    Color

    文本颜色。

    ComponentTheme.tMPFont

    TMP_FontAsset

    字体。

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord, CalendarCoord, GridCoord, GridCoord3D, ParallelCoord, PolarCoord, SingleAxisCoord

    坐标系系统。

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    DataZoom.areaStyle

    AreaStyle

    阴影填充样式。

    DataZoom.backgroundColor

    Color32

    组件的背景颜色。

    DataZoom.borderColor

    Color32

    边框颜色。

    DataZoom.borderWidth

    float

    边框宽。

    DataZoom.bottom

    float

    组件离容器下侧的距离。

    DataZoom.enable

    bool true

    是否显示缩放区域。

    DataZoom.end

    float

    数据窗口范围的结束百分比。范围是:0 ~ 100。

    DataZoom.endLock

    bool v3.6.0

    固定结束值,不让改变。

    DataZoom.fillerColor

    Color32

    数据区域颜色。

    DataZoom.filterMode

    DataZoom.FilterMode

    数据过滤类型。

    可选:

    • Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    • WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    • Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    • None: 不过滤数据,只改变数轴范围。

    DataZoom.labelStyle

    LabelStyle

    文本标签格式。

    DataZoom.left

    float

    组件离容器左侧的距离。

    DataZoom.lineStyle

    LineStyle

    阴影线条样式。

    DataZoom.marqueeStyle

    MarqueeStyle v3.5.0

    选取框样式。

    DataZoom.minShowNum

    int 2

    最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。

    DataZoom.orient

    Orient

    布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    DataZoom.rangeMode

    DataZoom.RangeMode

    取绝对值还是百分比。

    可选:

    • //Value: The value type of start and end.取值类型
    • Percent: 百分比。

    DataZoom.right

    float

    组件离容器右侧的距离。

    DataZoom.scrollSensitivity

    float 1.1f

    缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。

    DataZoom.showDataShadow

    bool

    是否显示数据阴影。数据阴影可以简单地反应数据走势。

    DataZoom.showDetail

    bool

    是否显示detail,即拖拽时候显示详细数值信息。

    DataZoom.start

    float

    数据窗口范围的起始百分比。范围是:0 ~ 100。

    DataZoom.startLock

    bool v3.6.0

    固定起始值,不让改变。

    DataZoom.supportInside

    bool

    是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。

    DataZoom.supportInsideDrag

    bool true

    是否支持坐标系内拖拽

    DataZoom.supportInsideScroll

    bool true

    是否支持坐标系内滚动

    DataZoom.supportMarquee

    bool

    是否支持框选。提供一个选框进行数据区域缩放。

    DataZoom.supportSlider

    bool

    是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。

    DataZoom.top

    float

    组件离容器上侧的距离。

    DataZoom.xAxisIndexs

    List<int>

    控制的 x 轴索引列表。

    DataZoom.yAxisIndexs

    List<int>

    控制的 y 轴索引列表。

    DataZoom.zoomLock

    bool

    是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    DataZoomTheme.backgroundColor

    Color32

    背景颜色。

    DataZoomTheme.borderColor

    Color32

    边框颜色。

    DataZoomTheme.borderWidth

    float

    边框线宽。

    DataZoomTheme.dataAreaColor

    Color32

    数据阴影的填充颜色。

    DataZoomTheme.dataLineColor

    Color32

    数据阴影的线条颜色。

    DataZoomTheme.dataLineWidth

    float

    数据阴影线宽。

    DataZoomTheme.fillerColor

    Color32

    数据区域颜色。

    DebugInfo

    class in XCharts.Runtime

    DebugInfo.foldSeries

    bool false

    是否在Inspector上折叠Serie。

    DebugInfo.labelStyle

    LabelStyle

    DebugInfo.show

    bool true

    是否显示Debug组件。

    DebugInfo.showAllChartObject

    bool false

    是否在Hierarchy试图显示所有chart下的节点。

    DebugInfo.showDebugInfo

    bool false

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    EmphasisStyle.blurScope

    EmphasisStyle.BlurScope

    在开启focus的时候,可以通过blurScope配置淡出的范围。

    可选:

    • GridCoord: 淡出范围为坐标系,默认使用该配置。
    • Series: 淡出范围为系列。
    • Global: 淡出范围为全局。

    EmphasisStyle.focus

    EmphasisStyle.FocusType

    在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。

    可选:

    • None: 不淡出其它图形,默认使用该配置。
    • Self: 只聚焦(不淡出)当前高亮的数据的图形。
    • Series: 聚焦当前高亮的数据所在的系列的所有图形。

    EmphasisStyle.scale

    float 1.1f

    高亮时的缩放倍数。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    GridCoord.backgroundColor

    Color32

    网格背景色,默认透明。

    GridCoord.borderColor

    Color32

    网格边框颜色。

    GridCoord.borderWidth

    float 0f

    网格边框宽。

    GridCoord.bottom

    float 0.14f

    grid 组件离容器下侧的距离。

    GridCoord.layoutIndex

    int -1 v3.8.0

    网格所属的网格布局组件的索引。默认为-1,表示不属于任何网格布局组件。当设置了该值时,left、right、top、bottom属性将失效。

    GridCoord.left

    float 0.11f

    grid 组件离容器左侧的距离。

    GridCoord.right

    float 0.08f

    grid 组件离容器右侧的距离。

    GridCoord.show

    bool true

    是否显示直角坐标系网格。

    GridCoord.showBorder

    bool false

    是否显示网格边框。

    GridCoord.top

    float 0.22f

    grid 组件离容器上侧的距离。

    GridCoord3D

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    v3.11.0 开始支持

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    GridCoord3D.bottom

    float 0.15f

    grid 组件离容器下侧的距离。

    GridCoord3D.boxDepth

    float 0.2f

    坐标系的深度。

    GridCoord3D.boxHeight

    float 0.4f

    坐标系的高度。

    GridCoord3D.boxWidth

    float 0.55f

    坐标系的宽度。

    GridCoord3D.left

    float 0.15f

    grid 组件离容器左侧的距离。

    GridCoord3D.right

    float 0.2f

    grid 组件离容器右侧的距离。

    GridCoord3D.show

    bool true

    是否显示直角坐标系网格。

    GridCoord3D.showBorder

    bool false

    是否显示网格边框。

    GridCoord3D.top

    float 0.3f

    grid 组件离容器上侧的距离。

    GridCoord3D.viewControl

    ViewControl

    3D视角控制组件。

    GridCoord3D.xYExchanged

    bool false

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    GridLayout.bottom

    float 0.12f

    grid 组件离容器下侧的距离。

    GridLayout.column

    int 2

    网格布局的列数。

    GridLayout.inverse

    bool false

    是否反转网格布局。

    GridLayout.left

    float 0.1f

    grid 组件离容器左侧的距离。

    GridLayout.right

    float 0.08f

    grid 组件离容器右侧的距离。

    GridLayout.row

    int 2

    网格布局的行数。

    GridLayout.show

    bool true

    是否显示直角坐标系网格。

    GridLayout.spacing

    Vector2 Vector2.zero

    网格布局的间距。

    GridLayout.top

    float 0.22f

    grid 组件离容器上侧的距离。

    Heatmap

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    Heatmap.heatmapType

    HeatmapType v3.3.0

    热力图类型。通过颜色映射划分。

    可选:

    • Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    • Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    IconStyle.align

    Align

    水平方向对齐方式。

    可选:

    • Center: 对齐方式。文本,图标,图形等的对齐方式。
    • Left: 对齐方式。文本,图标,图形等的对齐方式。
    • Right: 对齐方式。文本,图标,图形等的对齐方式。

    IconStyle.autoHideWhenLabelEmpty

    bool false

    当label内容为空时是否自动隐藏图标

    IconStyle.color

    Color

    图标颜色。

    IconStyle.height

    float 20

    图标高。

    IconStyle.layer

    IconStyle.Layer

    显示在上层还是在下层。

    可选:

    • UnderText: The icon is display under the label text. 图标在标签文字下
    • AboveText: The icon is display above the label text. 图标在标签文字上

    IconStyle.offset

    Vector3

    图标偏移。

    IconStyle.show

    bool false

    是否显示图标。

    IconStyle.sprite

    Sprite

    图标的图片。

    IconStyle.type

    Image.Type

    图片的显示类型。

    IconStyle.width

    float 20

    图标宽。

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    ImageStyle.autoColor

    bool

    是否自动颜色。

    ImageStyle.color

    Color

    图标颜色。

    ImageStyle.height

    float 0

    图标高。

    ImageStyle.show

    bool true

    是否显示图标。

    ImageStyle.sprite

    Sprite

    图标的图片。

    ImageStyle.type

    Image.Type

    图片的显示类型。

    ImageStyle.width

    float 0

    图标宽。

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    Indicator.axisLine

    AxisLine

    轴线。

    Indicator.axisName

    AxisName

    雷达图每个指示器名称的配置项。

    Indicator.ceilRate

    double 0

    最大最小值向上取整的倍率。默认为0时自动计算。

    Indicator.center

    float[]

    雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。

    Indicator.connectCenter

    bool false

    数值是否连线到中心点。

    Indicator.gridIndex

    int -1 v3.8.0

    所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。

    Indicator.indicator

    bool true

    是否显示指示器。

    Indicator.indicatorGap

    float 10

    指示器和雷达的间距。

    Indicator.indicatorList

    List<Indicator>

    指示器列表。

    Indicator.isAxisTooltip

    bool

    是否Tooltip显示轴线上的所有数据。

    Indicator.lineGradient

    bool true

    数值线段是否需要渐变。

    Indicator.max

    double

    指示器的最大值,默认为 0 无限制。

    Indicator.min

    double

    指示器的最小值,默认为 0 无限制。

    Indicator.name

    string

    指示器名称。

    Indicator.outRangeColor

    Color32 Color.red

    数值超出范围时显示的颜色。

    Indicator.positionType

    PositionType

    显示位置类型。

    Indicator.radius

    float 100

    雷达图的半径。

    Indicator.range

    double[]

    正常值范围。当数值不在这个范围时,会自动变更显示颜色。

    Indicator.shape

    Shape

    雷达图绘制类型,支持 'Polygon' 和 'Circle'。

    Indicator.show

    bool

    是否显示雷达坐标系组件。

    Indicator.splitArea

    AxisSplitArea

    分割区域。

    Indicator.splitLine

    AxisSplitLine

    分割线。

    Indicator.splitNumber

    int 5

    指示器轴的分割段数。

    Indicator.startAngle

    float v3.4.0

    起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Radar, BaseScatter

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location, Comment, Legend, Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, LineArrow, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord, CalendarCoord, GridCoord, GridCoord3D, ParallelCoord, PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, ItemStyle, LineStyle, SerieSymbol, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar, SimplifiedCandlestick, SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    图形样式。

    ItemStyle.backgroundColor

    Color32

    数据项背景颜色。

    ItemStyle.backgroundWidth

    float

    数据项背景宽度。

    ItemStyle.borderColor

    Color32

    边框的颜色。

    ItemStyle.borderColor0

    Color32

    边框的颜色。

    ItemStyle.borderGap

    float 0

    边框间隙。

    ItemStyle.borderToColor

    Color32

    边框的渐变色。

    ItemStyle.borderWidth

    float 0

    边框宽。

    ItemStyle.centerColor

    Color32

    中心区域颜色。

    ItemStyle.centerGap

    float

    中心区域间隙。

    ItemStyle.color

    Color32

    数据项颜色。

    ItemStyle.color0

    Color32

    数据项颜色。

    ItemStyle.cornerRadius

    float[]

    圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    ItemStyle.itemFormatter

    string

    提示框单项的字符串模版格式器。具体配置参考Tooltipformatter

    ItemStyle.itemMarker

    string

    提示框单项的字符标志。用在Tooltip中。

    ItemStyle.markColor

    Color32 v3.6.0

    Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。

    ItemStyle.numericFormatter

    string

    标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式:以date开头,用来格式化DateTime,常见格式有:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:date:yyyy-MM-dd HH:mm:ss
    时间格式:以time开头,用来格式化TimeSpan,常见格式有:d日,HH时,mm分,ss秒,fffffff小数部分。 需要Unity2018以上版本才支持格式化,并且里面的字符要转义。如:time:d.HH\:mm\:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    时间格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings
    注意:date和time格式需要v3.12.0以上版本才支持。

    ItemStyle.opacity

    float 1

    透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。

    ItemStyle.show

    bool true

    是否启用。

    ItemStyle.toColor

    Color32

    渐变色的颜色1。

    ItemStyle.toColor2

    Color32

    渐变色的颜色2。只在折线图中有效。

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis, DataZoom, CalendarCoord, GridCoord, GridLayout, GridCoord3D, ParallelCoord

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    标签的引导线

    LabelLine.endSymbol

    SymbolStyle

    结束点的图形标记。

    LabelLine.lineAngle

    float 60

    视觉引导线的固定角度。对折线和曲线有效。在Pie中无效。

    LabelLine.lineColor

    Color32 Color32(0,0,0,0)

    视觉引导线颜色。默认和serie一致取自调色板。

    LabelLine.lineEndX

    float 0f v3.8.0

    视觉引导线结束点的固定x位置。当不为0时,会代替lineLength2设定引导线的x位置。

    LabelLine.lineGap

    float 1.0f

    视觉引导线和容器的间距。

    LabelLine.lineLength1

    float 25f

    视觉引导线第一段的长度。

    LabelLine.lineLength2

    float 15f

    视觉引导线第二段的长度。

    LabelLine.lineType

    LabelLine.LineType

    视觉引导线类型。

    可选:

    • BrokenLine: 折线
    • Curves: 曲线
    • HorizontalLine: 水平线

    LabelLine.lineWidth

    float 1.0f

    视觉引导线的宽度。

    LabelLine.show

    bool true

    是否显示视觉引导线。

    LabelLine.startSymbol

    SymbolStyle

    起始点的图形标记。

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent / 子类: AxisLabel, EndLabelStyle, TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    LabelStyle.autoOffset

    bool false

    是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。

    LabelStyle.autoRotate

    bool false v3.6.0

    是否自动旋转。

    LabelStyle.background

    ImageStyle

    背景图样式。

    LabelStyle.distance

    float

    距离轴线的距离。

    LabelStyle.formatter

    string

    标签内容字符串模版格式器。支持用 \n 换行。部分组件的格式器会不生效。
    模板通配符有以下这些,部分只适用于固定的组件:
    {.}:圆点标记。
    {a}:系列名。
    {b}:X轴类目名或数据名。
    {c}:数据值。
    {d}:百分比。
    {e}:数据名。
    {f}:数据和。
    {g}:数据总个数。
    {h}:十六进制颜色值。
    {y}:Y轴的类目名。
    {value}:坐标轴或图例的值。
    以下通配符适用UITable组件:
    {name}: 表格的行名。
    {index}:表格的行号。
    以下通配符适用UIStatistc组件:
    {title}:标题文本。
    {dd}:天。
    {hh}:小时。
    {mm}:分钟。
    {ss}:秒。
    {fff}:毫秒。
    {d}:天。
    {h}:小时。
    {m}:分钟。
    {s}:秒。
    {f}:毫秒。
    示例:“{b}:{c}”

    LabelStyle.height

    float 0

    标签的高度。一般不用指定,不指定时则自动是文字的高度。

    LabelStyle.icon

    IconStyle

    图标样式。

    LabelStyle.numericFormatter

    string

    标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式:以date开头,用来格式化DateTime,常见格式有:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:date:yyyy-MM-dd HH:mm:ss
    时间格式:以time开头,用来格式化TimeSpan,常见格式有:d日,HH时,mm分,ss秒,fffffff小数部分。 需要Unity2018以上版本才支持格式化,并且里面的字符要转义。如:time:d.HH\:mm\:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    时间格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings
    注意:date和time格式需要v3.12.0以上版本才支持。

    LabelStyle.offset

    Vector3

    距离图形元素的偏移

    LabelStyle.Position

    [SerializeField]

    标签的位置。

    LabelStyle.rotate

    float

    文本的旋转。

    LabelStyle.show

    bool true

    是否显示文本标签。

    LabelStyle.textPadding

    TextPadding

    文本的边距。

    LabelStyle.textStyle

    TextStyle

    文本样式。

    LabelStyle.width

    float 0

    标签的宽度。一般不用指定,不指定时则自动是文字的宽度。

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    Legend

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    Legend.background

    ImageStyle v3.1.0

    背景图样式。

    Legend.colors

    List<Color>

    图例标记的颜色列表。

    Legend.data

    List<string>

    图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。

    Legend.formatter

    string

    不再使用,使用LabelStyle.formatter代替。

    Legend.icons

    List<Sprite>

    自定义的图例标记图形。

    Legend.iconType

    Legend.Type

    图例类型。

    可选:

    • Auto: 自动匹配。
    • Custom: 自定义图标。
    • EmptyCircle: 空心圆。
    • Circle: 圆形。
    • Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    • Triangle: 三角形。
    • Diamond: 菱形。
    • Candlestick: 烛台(可用于K线图)。

    Legend.itemAutoColor

    bool true

    图例标记的图形是否自动匹配颜色。

    Legend.itemGap

    float 10f

    图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。

    Legend.itemHeight

    float 12.0f

    图例标记的图形高度。

    Legend.itemOpacity

    float 1

    图例标记的图形的颜色透明度。

    Legend.itemWidth

    float 25.0f

    图例标记的图形宽度。

    Legend.labelStyle

    LabelStyle

    文本样式。

    Legend.location

    Location

    图例显示的位置。

    Legend.orient

    Orient

    布局方式是横还是竖。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    Legend.padding

    Padding v3.1.0

    图例标记和背景的间距。

    Legend.positions

    List<Vector3> v3.6.0

    图例标记的自定义位置列表。

    Legend.selectedMode

    Legend.SelectedMode

    选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。

    可选:

    • Multiple: 多选。
    • Single: 单选。
    • None: 无法选择。

    Legend.show

    bool true

    是否显示图例组件。

    Legend.textLimit

    TextLimit v3.10.0

    文本限制。

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    LegendTheme.unableColor

    Color

    文本颜色。

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    Level.depth

    int 0 v3.10.0

    层级深度。

    Level.itemStyle

    ItemStyle

    数据项样式。

    Level.label

    LabelStyle

    文本标签样式。

    Level.lineStyle

    LineStyle v3.10.0

    线条样式。

    Level.upperLabel

    LabelStyle

    上方的文本标签样式。

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    LevelStyle.levels

    List<Level>

    各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    LevelStyle.show

    bool false

    是否启用LevelStyle

    Line

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent

    LineArrow.arrow

    ArrowStyle

    箭头。

    LineArrow.position

    LineArrow.Position

    箭头位置。

    可选:

    • End: 末端箭头
    • Start: 头端箭头

    LineArrow.show

    bool

    是否显示箭头。

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    LineStyle.color

    Color32

    线的颜色。

    LineStyle.dashLength

    float 4 v3.8.1

    虚线的长度。默认0时为线条宽度的12倍。在折线图中代表分割段数的倍数。

    LineStyle.dotLength

    float 2 v3.8.1

    点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。

    LineStyle.gapLength

    float 2 v3.8.1

    点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。

    LineStyle.length

    float 0

    线长。

    LineStyle.opacity

    float 1

    线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。

    LineStyle.show

    bool true

    是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。

    LineStyle.toColor

    Color32

    线的渐变颜色(需要水平方向渐变时)。

    LineStyle.toColor2

    Color32

    线的渐变颜色2(需要水平方向三个渐变色的渐变时)。

    LineStyle.type

    LineStyle.Type

    线的类型。

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    LineStyle.width

    float 0

    线宽。

    Location

    class in XCharts.Runtime / 继承自: ChildComponent, IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    Location.align

    Location.Align

    对齐方式。

    可选:

    • TopLeft: 对齐方式
    • TopRight: 对齐方式
    • TopCenter: 对齐方式
    • BottomLeft: 对齐方式
    • BottomRight: 对齐方式
    • BottomCenter: 对齐方式
    • Center: 对齐方式
    • CenterLeft: 对齐方式
    • CenterRight: 对齐方式

    Location.bottom

    float

    离容器下侧的距离。

    Location.left

    float

    离容器左侧的距离。

    Location.right

    float

    离容器右侧的距离。

    Location.top

    float

    离容器上侧的距离。

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis, Background, Comment, DataZoom, Legend, MarkArea, MarkLine, Settings, Title, Tooltip, VisualMap, GridLayout, CoordSystem

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    MarkArea.end

    MarkAreaData

    标域范围的结束数据。

    MarkArea.itemStyle

    ItemStyle

    标域样式。

    MarkArea.label

    LabelStyle

    标域文本样式。

    MarkArea.serieIndex

    int 0

    Serie index of markArea. 标域影响的Serie索引。

    MarkArea.show

    bool true

    是否显示标域。

    MarkArea.start

    MarkAreaData

    标域范围的起始数据。

    MarkArea.text

    string

    The text of markArea. 标域显示的文本。

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    MarkAreaData.dimension

    int 1

    从哪个维度的数据计算最大最小值等。

    MarkAreaData.name

    string

    标注名称。会作为文字显示。

    MarkAreaData.type

    MarkAreaType

    特殊的标域类型,用于标注最大值最小值等。

    可选:

    • None: 标域类型
    • Min: 最小值。
    • Max: 最大值。
    • Average: 平均值。
    • Median: 中位数。

    MarkAreaData.xPosition

    float

    相对原点的 x 坐标,单位像素。当type为None时有效。

    MarkAreaData.xValue

    double

    X轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkAreaData.yPosition

    float

    相对原点的 y 坐标,单位像素。当type为None时有效。

    MarkAreaData.yValue

    double

    Y轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    MarkLine.animation

    AnimationStyle

    标线的动画样式。

    MarkLine.data

    List<MarkLineData>

    标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLine.onTop

    bool true v3.9.0

    是否在最上层。

    MarkLine.serieIndex

    int 0

    标线影响的Serie索引。

    MarkLine.show

    bool true

    是否显示标线。

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    MarkLineData.dimension

    int 1

    从哪个维度的数据计算最大最小值等。

    MarkLineData.endSymbol

    SymbolStyle

    结束点的图形标记。

    MarkLineData.group

    int 0

    分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。

    MarkLineData.label

    LabelStyle

    文本样式。可设置position为Start、Middle和End在不同的位置显示文本。

    MarkLineData.lineStyle

    LineStyle

    标线样式。

    MarkLineData.name

    string

    标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。

    MarkLineData.startSymbol

    SymbolStyle

    起始点的图形标记。

    MarkLineData.type

    MarkLineType

    特殊的标线类型,用于标注最大值最小值等。

    可选:

    • None: 标线类型
    • Min: 最小值。
    • Max: 最大值。
    • Average: 平均值。
    • Median: 中位数。

    MarkLineData.xPosition

    float

    相对原点的 x 坐标,单位像素。当type为None时有效。

    MarkLineData.xValue

    double

    X轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLineData.yPosition

    float

    相对原点的 y 坐标,单位像素。当type为None时有效。

    MarkLineData.yValue

    double

    Y轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLineData.zeroPosition

    bool false

    是否为坐标系原点。

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    MarqueeStyle.apply

    bool false v3.5.0

    选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。

    MarqueeStyle.areaStyle

    AreaStyle v3.5.0

    选取框区域填充样式。

    MarqueeStyle.lineStyle

    LineStyle v3.5.0

    选取框区域边框样式。

    MarqueeStyle.realRect

    bool false v3.5.0

    是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    MLValue.type

    MLValue.Type

    可选:

    • Percent: 百分比形式。
    • Absolute: 绝对值形式。
    • Extra: 额外形式。

    MLValue.value

    float

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    Padding.bottom

    float 0

    底部间距。

    Padding.left

    float 2f

    左边间距。

    Padding.right

    float 2f

    右部间距。

    Padding.show

    bool true

    show padding. 是否显示。

    Padding.top

    float 0

    顶部间距。

    Parallel

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    ParallelCoord.backgroundColor

    Color

    网格背景色,默认透明。

    ParallelCoord.bottom

    float 0.12f

    grid 组件离容器下侧的距离。

    ParallelCoord.left

    float 0.1f

    grid 组件离容器左侧的距离。

    ParallelCoord.orient

    Orient

    坐标轴朝向。默认为垂直朝向。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    ParallelCoord.right

    float 0.08f

    grid 组件离容器右侧的距离。

    ParallelCoord.show

    bool true

    是否显示直角坐标系网格。

    ParallelCoord.top

    float 0.22f

    grid 组件离容器上侧的距离。

    Pie

    class in XCharts.Runtime / 继承自: Serie

    Pie.radiusGradient

    bool false v3.8.1

    是否开启半径方向的渐变效果。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    PolarCoord.backgroundColor

    Color

    极坐标的背景色,默认透明。

    PolarCoord.center

    float[]

    极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。

    PolarCoord.indicatorLabelOffset

    float 30f v3.8.0

    指示器标签的偏移量。

    PolarCoord.radius

    float[]

    半径。radius[0]表示内径,radius[1]表示外径。

    PolarCoord.show

    bool true

    是否显示极坐标。

    Radar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    Radar.smooth

    bool false v3.2.0

    是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    Ring

    class in XCharts.Runtime / 继承自: Serie

    Ring.radiusGradient

    bool false v3.12.0

    是否开启半径方向的渐变效果。

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie, IComparable / 子类: SerieHandler<T>, Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Pie, Radar, Ring, BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    Serie.align

    Align

    组件水平方向对齐方式。

    可选:

    • Center: 对齐方式。文本,图标,图形等的对齐方式。
    • Left: 对齐方式。文本,图标,图形等的对齐方式。
    • Right: 对齐方式。文本,图标,图形等的对齐方式。

    Serie.animation

    AnimationStyle

    起始动画。

    Serie.avoidLabelOverlap

    bool false

    在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。

    Serie.barGap

    float 0.1f

    不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。

    Serie.barMaxWidth

    float 0 v3.5.0

    柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。

    Serie.barPercentStack

    bool false

    柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。

    Serie.barType

    BarType

    柱形图类型。

    可选:

    • Normal: 普通柱形图。
    • Zebra: 斑马柱形图。
    • Capsule: 胶囊柱形图。

    Serie.barWidth

    float 0

    柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。

    Serie.barZebraGap

    float 2f

    斑马线的间距。

    Serie.barZebraWidth

    float 4f

    斑马线的粗细。

    Serie.bottom

    float

    组件离容器下侧的距离。

    Serie.center

    float[]

    中心点。

    Serie.clickOffset

    bool true

    鼠标点击时是否开启偏移,一般用在PieChart图表中。

    Serie.clip

    bool false

    是否裁剪超出坐标系部分的图形。

    Serie.clockwise

    bool true

    是否顺时针。

    Serie.colorBy

    SerieColorBy v3.2.0

    从主题中取色的策略。

    可选:

    • Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略。
    • Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    • Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。

    Serie.coordSystem

    string

    使用的坐标系。

    Serie.data

    List<SerieData>

    系列中的数据内容数组。SerieData可以设置1到n维数据。

    Serie.dataSortType

    SerieDataSortType

    组件的数据排序。

    可选:

    • None: 按数据的顺序。
    • Ascending: 升序。
    • Descending: 降序。

    Serie.endAngle

    float

    结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。

    Serie.gap

    float

    间距。

    Serie.gridIndex

    int -1 v3.8.0

    所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。

    Serie.ignore

    bool false

    是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。

    Serie.ignoreLineBreak

    bool false

    忽略数据时折线是断开还是连接。默认false为连接。

    Serie.ignoreValue

    double 0

    忽略数据的默认值。当ignore为true才有效。

    Serie.index

    int

    系列索引。

    Serie.insertDataToHead

    bool

    添加新数据时是在列表的头部还是尾部加入。

    Serie.itemStyle

    ItemStyle

    图形样式。

    Serie.large

    bool true

    是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。

    Serie.largeThreshold

    int 200

    开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。

    Serie.left

    float

    组件离容器左侧的距离。

    Serie.lineStyle

    LineStyle

    线条样式。

    Serie.lineType

    LineType

    折线图样式类型。

    可选:

    • Normal: 普通折线图。
    • Smooth: 平滑曲线。
    • StepStart: 阶梯线图:当前点。
    • StepMiddle: 阶梯线图:当前点和下一个点的中间。
    • StepEnd: 阶梯线图:下一个拐点。

    List<SerieDataLink>

    数据节点的边。

    Serie.max

    float

    最大值。

    Serie.maxCache

    int

    系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。

    Serie.maxShow

    int

    系列所显示数据的最大索引

    Serie.maxSize

    float 1f

    数据最大值 max 映射的宽度。

    Serie.min

    float

    最小值。

    Serie.minAngle

    float

    最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。

    Serie.minRadius

    float 0f v3.8.0

    最小半径。可用于限制玫瑰图的最小半径。

    Serie.minShow

    int

    系列所显示数据的最小索引

    Serie.minShowLabel

    bool false v3.10.0

    是否开启值小于指定值minShowLabelValue时不显示标签。

    Serie.minShowLabelValue

    double 0 v3.10.0

    当开启minShowLabel时,值小于该值时不显示标签。

    Serie.minSize

    float 0f

    数据最小值 min 映射的宽度。

    Serie.orient

    Orient

    组件的朝向。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    Serie.parallelIndex

    int 0

    所使用的 parallel coord 组件的 index。

    Serie.placeHolder

    bool false

    占位模式。占位模式时,数据有效但不参与渲染和显示。

    Serie.polarIndex

    int 0

    所使用的 polar 组件的 index。

    Serie.radarIndex

    int 0

    雷达图所使用的 radar 组件的 index。

    Serie.radarType

    RadarType

    雷达图类型。

    可选:

    • Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    • Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]

    Serie.radius

    float[]

    半径。radius[0]表示内径,radius[1]表示外径。

    Serie.right

    float

    组件离容器右侧的距离。

    Serie.roseType

    RoseType

    是否展示成南丁格尔图,通过半径区分数据大小。

    可选:

    • None: 不展示成南丁格尔玫瑰图。
    • Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    • Area: 所有扇区圆心角相同,仅通过半径展现数据大小。

    Serie.roundCap

    bool

    是否开启圆弧效果。

    Serie.sampleAverage

    float 0

    设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。

    Serie.sampleDist

    float 0

    采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。

    Serie.sampleType

    SampleType

    采样类型。当sampleDist大于0时有效。

    可选:

    • Peak: 取峰值。
    • Average: 取过滤点的平均值。
    • Max: 取过滤点的最大值。
    • Min: 取过滤点的最小值。
    • Sum: 取过滤点的和。

    Serie.serieName

    string

    系列名称,用于 tooltip 的显示,legend 的图例筛选。

    Serie.serieType

    string

    系列类型。

    Serie.show

    bool true

    系列是否显示在图表上。

    Serie.showAsPositiveNumber

    bool false

    将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。

    Serie.showDataDimension

    int

    数据项里的数据维数。

    Serie.showDataName

    bool

    在Editor的inpsector上是否显示name参数

    Serie.singleAxisIndex

    int 0

    所使用的 singleAxis 组件的 index。

    Serie.smoothLimit

    bool false v3.4.0

    是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。

    Serie.splitNumber

    int

    刻度分割段数。最大可设置36。

    Serie.stack

    string

    数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。

    Serie.startAngle

    float

    起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。

    Serie.state

    SerieState v3.2.0

    系列的默认状态。

    可选:

    • Normal: 正常状态。
    • Emphasis: 高亮状态。
    • Blur: 淡出状态。
    • Select: 选中状态。
    • Auto: 自动保持和父节点一致。一般用在SerieData。

    Serie.symbol

    SerieSymbol

    标记的图形。

    Serie.top

    float

    组件离容器上侧的距离。

    Serie.vesselIndex

    int 0

    水位图所使用的 vessel 组件的 index。

    Serie.xAxisIndex

    int 0

    使用X轴的index。

    Serie.yAxisIndex

    int 0

    使用Y轴的index。

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    SerieData.data

    List<double>

    可指定任意维数的数值列表。

    SerieData.id

    string

    数据项的唯一id。唯一id不是必须设置的。

    SerieData.ignore

    bool

    是否忽略数据。当为 true 时,数据不进行绘制。

    SerieData.index

    int

    数据项索引。

    SerieData.name

    string

    数据项名称。

    SerieData.parentId

    string

    父节点id。父节点id不是必须设置的。

    SerieData.radius

    float

    自定义半径。可用在饼图中自定义某个数据项的半径。

    SerieData.selected

    bool

    该数据项是否被选中。

    SerieData.state

    SerieState v3.2.0

    数据项的默认状态。

    可选:

    • Normal: 正常状态。
    • Emphasis: 高亮状态。
    • Blur: 淡出状态。
    • Select: 选中状态。
    • Auto: 自动保持和父节点一致。一般用在SerieData。

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    数据节点之间的连线。可用于桑基图等,桑基图只支持有向无环图,请保证数据的连线是有向无环图。

    SerieDataLink.source

    string

    边的源节点名称。

    SerieDataLink.target

    string

    边的目标节点名称。

    SerieDataLink.value

    double

    边的值。决定边的宽度。

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle, ISerieDataComponent

    系列数据项的标记的图形

    SerieSymbol.dataIndex

    int 1

    当sizeType指定为FromData时,指定的数据源索引。

    SerieSymbol.dataScale

    float 1

    当sizeType指定为FromData时,指定的倍数系数。

    SerieSymbol.forceShowLast

    bool false

    是否强制显示最后一个图形标记。

    SerieSymbol.interval

    int

    显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。

    SerieSymbol.maxSize

    float 0f v3.3.0

    图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieSymbol.minSize

    float 0f v3.3.0

    图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieSymbol.repeat

    bool false

    图形是否重复。

    SerieSymbol.sizeFunction

    SymbolSizeFunction

    当sizeType指定为Function时,指定的委托函数。

    SerieSymbol.sizeType

    SymbolSizeType

    标记图形的大小获取方式。

    可选:

    • Custom: 自定义大小。
    • FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    • Function: 通过委托函数获取。

    SerieSymbol.startIndex

    int

    开始显示图形标记的索引。

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    SerieTheme.candlestickBorderColor

    Color32 Color32(235, 84, 84, 255)

    K线图阳线(跌)边框色

    SerieTheme.candlestickBorderColor0

    Color32 Color32(71, 178, 98, 255)

    K线图阴线(跌)边框色

    SerieTheme.candlestickBorderWidth

    float 1

    K线图边框宽度

    SerieTheme.candlestickColor

    Color32 Color32(235, 84, 84, 255)

    K线图阳线(涨)填充色

    SerieTheme.candlestickColor0

    Color32 Color32(71, 178, 98, 255)

    K线图阴线(跌)填充色

    SerieTheme.lineSymbolSize

    float

    折线图的Symbol大小。

    SerieTheme.lineWidth

    float

    文本颜色。

    SerieTheme.scatterSymbolSize

    float

    散点图的Symbol大小。

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    Settings.axisMaxSplitNumber

    float 50 v3.1.0

    坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    Settings.basePainterMaterial

    Material

    Base Pointer 材质球,设置后会影响Axis等。

    Settings.cicleSmoothness

    float 2f

    圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。

    Settings.legendIconCornerRadius

    float[]

    图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    Settings.legendIconLineWidth

    float 2

    Line类型图例图标的线条宽度。

    Settings.lineSegmentDistance

    float 3f

    线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。

    Settings.lineSmoothness

    float 2f

    When the area with gradient is filled, the larger the value, the worse the transition effect.

    Settings.lineSmoothStyle

    float 2.5f

    曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。

    Settings.maxPainter

    int 10

    设定的painter数量。

    Settings.reversePainter

    bool false

    Painter是否逆序。逆序时index大的serie最先绘制。

    Settings.seriePainterMaterial

    Material

    Serie Pointer 材质球,设置后会影响所有Serie。

    Settings.show

    bool true

    Settings.topPainterMaterial

    Material

    Top Pointer 材质球。

    Settings.upperPainterMaterial

    Material

    Upper Pointer 材质球。

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis, IUpdateRuntimeData

    单轴。

    SingleAxis.bottom

    float 0.2f

    组件离容器下侧的距离。

    SingleAxis.height

    float 50

    坐标轴高。

    SingleAxis.left

    float 0.1f

    组件离容器左侧的距离。

    SingleAxis.orient

    Orient

    坐标轴朝向。默认为水平朝向。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    SingleAxis.right

    float 0.1f

    组件离容器右侧的距离。

    SingleAxis.top

    float 0f

    组件离容器上侧的距离。

    SingleAxis.width

    float 0

    坐标轴宽。

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    StageColor.color

    Color32

    颜色。

    StageColor.percent

    float

    结束位置百分比。

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle, EmphasisStyle, SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    StateStyle.areaStyle

    AreaStyle

    区域样式。

    StateStyle.itemStyle

    ItemStyle

    图形样式。

    StateStyle.label

    LabelStyle

    图形文本标签。

    StateStyle.labelLine

    LabelLine

    图形文本引导线样式。

    StateStyle.lineStyle

    LineStyle

    折线样式。

    StateStyle.show

    bool true

    是否启用高亮样式。

    StateStyle.symbol

    SerieSymbol

    标记样式。

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    SymbolStyle.color

    Color32

    图形的颜色。

    SymbolStyle.gap

    float 0

    图形标记和线条的间隙距离。

    SymbolStyle.height

    float 0f

    图形的高。

    SymbolStyle.image

    Sprite

    自定义的标记图形。

    SymbolStyle.imageType

    Image.Type

    图形填充类型。

    SymbolStyle.offset

    Vector2 Vector2.zero

    图形的偏移。

    SymbolStyle.show

    bool true

    是否显示标记。

    SymbolStyle.size

    float 0f

    标记的大小。

    SymbolStyle.type

    SymbolType

    标记类型。

    可选:

    • None: 不显示标记。
    • Custom: 自定义标记。
    • Circle: 圆形。
    • EmptyCircle: 空心圆。
    • Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    • EmptyRect: 空心正方形。
    • Triangle: 三角形。
    • EmptyTriangle: 空心三角形。
    • Diamond: 菱形。
    • EmptyDiamond: 空心菱形。
    • Arrow: 箭头。
    • EmptyArrow: 空心箭头。
    • Plus: 加号。
    • Minus: 减号。

    SymbolStyle.width

    float 0f

    图形的宽。

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    TextLimit.enable

    bool false

    是否启用文本自适应。 [default:true]

    TextLimit.gap

    float 1

    两边留白像素距离。 [default:10f]

    TextLimit.maxWidth

    float 0

    Clipping occurs when the width of the text is greater than this value.

    TextLimit.suffix

    string

    长度超出时的后缀。 [default: "..."]

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    TextStyle.alignment

    TextAnchor

    对齐方式。

    TextStyle.autoAlign

    bool true

    文本是否让系统自动选对齐方式。为false时才会用alignment。

    TextStyle.autoColor

    bool false

    是否开启自动颜色。当开启时,会自动设置颜色。

    TextStyle.autoWrap

    bool false

    是否自动换行。

    TextStyle.color

    Color

    文本的颜色。 [default: Color.clear]

    TextStyle.font

    Font

    文本字体。 [default: null]

    TextStyle.fontSize

    int 0

    文本字体大小。 [default: 18]

    TextStyle.fontStyle

    FontStyle

    文本字体的风格。 [default: FontStyle.Normal]

    TextStyle.lineSpacing

    float 1f

    行间距。 [default: 1f]

    TextStyle.rotate

    float 0

    文本的旋转。 [default: 0f]

    TextStyle.show

    bool true

    文本的相关设置。

    TextStyle.tMPAlignment

    TextAlignmentOptions

    TextStyle.tMPFont

    TMP_FontAsset

    TextMeshPro字体。

    TextStyle.tMPFontStyle

    FontStyles

    TextStyle.tMPSpriteAsset

    TMP_SpriteAsset v3.1.0

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    Theme.axis

    AxisTheme

    Theme.backgroundColor

    Color32

    背景颜色。

    Theme.colorPalette

    List<Color32>

    调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。

    Theme.common

    ComponentTheme

    Theme.contrastColor

    Color32

    对比色。

    Theme.dataZoom

    DataZoomTheme

    Theme.font

    Font

    主题字体。

    Theme.legend

    LegendTheme

    Theme.serie

    SerieTheme

    Theme.subTitle

    SubTitleTheme

    Theme.themeName

    string

    主题名称。

    Theme.themeType

    ThemeType

    主题类型。

    可选:

    • Default: 默认主题。
    • Light: 亮主题。
    • Dark: 暗主题。
    • Custom: 自定义主题。

    Theme.title

    TitleTheme

    Theme.tMPFont

    TMP_FontAsset

    主题字体。

    Theme.tooltip

    TooltipTheme

    Theme.visualMap

    VisualMapTheme

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    ThemeStyle.customBackgroundColor

    Color32

    自定义的背景颜色。

    ThemeStyle.customColorPalette

    List<Color32>

    ThemeStyle.customFont

    Font

    ThemeStyle.enableCustomTheme

    bool false

    是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。

    ThemeStyle.sharedTheme

    Theme

    主题配置。

    ThemeStyle.show

    bool true

    ThemeStyle.transparentBackground

    bool false

    是否透明背景颜色。当设置为true时,不绘制背景颜色。

    Title

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    标题组件,包含主标题和副标题。

    Title.itemGap

    float 0

    主副标题之间的间距。

    Title.labelStyle

    LabelStyle

    主标题文本样式。

    Title.location

    Location

    标题显示位置。

    Title.show

    bool true

    是否显示标题组件。

    Title.subLabelStyle

    LabelStyle

    副标题文本样式。

    Title.subText

    string

    副标题文本,支持使用 \n 换行。

    Title.text

    string

    主标题文本,支持使用 \n 换行。

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle, ISerieDataComponent, ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    Tooltip.alwayShowContent

    bool false

    是否触发后一直显示提示框浮层。

    Tooltip.backgroundColor

    Color

    提示框的背景颜色。

    Tooltip.backgroundImage

    Sprite

    提示框的背景图片。

    Tooltip.backgroundType

    Image.Type

    提示框的背景图片显示类型。

    Tooltip.borderColor

    Color32 Color32(230, 230, 230, 255)

    边框颜色。

    Tooltip.borderWidth

    float 2f

    边框线宽。

    Tooltip.contentLabelStyles

    List<LabelStyle>

    内容部分的文本样式列表。和列一一对应。

    Tooltip.fixedHeight

    float 0

    固定高度。比 minHeight 优先。

    Tooltip.fixedWidth

    float 0

    固定宽度。比 minWidth 优先。

    Tooltip.fixedX

    float 0f

    固定X位置的坐标。

    Tooltip.fixedY

    float 0.7f

    固定Y位置的坐标。

    Tooltip.ignoreDataDefaultContent

    string

    被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。

    Tooltip.ignoreDataShow

    bool false

    是否显示忽略数据在tooltip上。

    Tooltip.itemFormatter

    string

    提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用|来表示多个列的分隔。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {i}或-表示忽略当前项。 {.}为当前所指示的serie或数据项的对应颜色的圆点。
    {a}为当前所指示的serie或数据项的系列名name。
    {b}为当前所指示的serie或数据项的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示的serie或数据项的y维(dimesion为1)的数值。
    {d}为当前所指示的serie或数据项的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示的serie或数据项的数据项serieData的name。
    {f}为当前所指示的serie的默认维度的数据总和。
    {g}为当前所指示的serie的数据总个数。
    {h}为当前所指示的serie的十六进制颜色值。
    {y}为当前所指示的serie的y轴的类目值。
    {c0}表示当前数据项维度为0的数据。
    {c1}表示当前数据项维度为1的数据。
    {d3}表示维度3的数据的百分比。它的分母是默认维度(一般是1维度)数据。
    |表示多个列的分隔。
    示例:"{i}", "{.}|{a}|{c}", "{.}|{b}|{c2:f2}", "{.}|{b}|{y}"

    Tooltip.itemHeight

    float 25f

    数据项文本的高。

    Tooltip.lineStyle

    LineStyle

    指示线样式。

    Tooltip.marker

    string

    serie的符号标志。

    Tooltip.minHeight

    float 0

    最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。

    Tooltip.minWidth

    float 0

    最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。

    Tooltip.numericFormatter

    string

    标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式:以date开头,用来格式化DateTime,常见格式有:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:date:yyyy-MM-dd HH:mm:ss
    时间格式:以time开头,用来格式化TimeSpan,常见格式有:d日,HH时,mm分,ss秒,fffffff小数部分。 需要Unity2018以上版本才支持格式化,并且里面的字符要转义。如:time:d.HH\:mm\:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    时间格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings
    注意:date和time格式需要v3.12.0以上版本才支持。

    Tooltip.offset

    Vector2 Vector2(18f, -25f)

    提示框相对于鼠标位置的偏移。

    Tooltip.paddingLeftRight

    int 10

    左右边距。

    Tooltip.paddingTopBottom

    int 10

    上下边距。

    Tooltip.position

    Tooltip.Position v3.3.0

    显示位置类型。

    可选:

    • Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    • Custom: 自定义。完全自定义显示位置(x,y)。
    • FixedX: 只固定坐标X。Y跟随鼠标位置。
    • FixedY:

    Tooltip.show

    bool true

    是否显示提示框组件。

    Tooltip.showContent

    bool true

    是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。

    Tooltip.titleFormatter

    string

    提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {y}为value所对应的y轴的类目值。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"

    Tooltip.titleHeight

    float 25f

    标题文本的高。

    Tooltip.titleLabelStyle

    LabelStyle

    标题的文本样式。

    Tooltip.trigger

    Tooltip.Trigger

    触发类型。

    可选:

    • Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    • Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    • None: 什么都不触发。
    • Auto: 根据serie的类型自动选择触发类型。

    Tooltip.triggerOn

    Tooltip.TriggerOn v3.11.0

    触发条件。

    可选:

    • MouseMove: 鼠标移动时触发。
    • Click: 鼠标点击时触发。

    Tooltip.type

    Tooltip.Type

    提示框指示器类型。

    可选:

    • Line: 直线指示器
    • Shadow: 阴影指示器
    • None: 无指示器
    • Cross: 十字准星指示器。坐标轴显示Label和交叉线。
    • Auto: 根据serie的类型自动选择显示指示器。

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    TooltipTheme.areaColor

    Color32

    区域指示的颜色。

    TooltipTheme.labelBackgroundColor

    Color32

    十字指示器坐标轴标签的背景颜色。

    TooltipTheme.labelTextColor

    Color32

    十字指示器坐标轴标签的文本颜色。

    TooltipTheme.lineColor

    Color32

    指示线颜色。

    TooltipTheme.lineType

    LineStyle.Type

    坐标轴线类型。

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    TooltipTheme.lineWidth

    float 1f

    指示线线宽。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    UIComponentTheme.sharedTheme

    Theme

    主题配置。

    UIComponentTheme.show

    bool true

    UIComponentTheme.transparentBackground

    bool false

    ViewControl

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.11.0 开始支持

    3D视角控制组件。

    ViewControl.alpha

    float 90f

    视角在x-z平面的角度。

    ViewControl.beta

    float 55f

    视角在y-z平面的角度。

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    VisualMap.autoMinMax

    bool true

    Automatically set min, Max value 自动设置min,max的值

    VisualMap.borderWidth

    float 0

    边框线宽,单位px。

    VisualMap.calculable

    bool false

    是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。

    VisualMap.dimension

    int -1

    Starting at 1, the default is 0 to take the last dimension in data.

    bool true

    Conversely, when the mouse hovers over a graphic element in a diagram, the corresponding value of the visualMap component is triangulated in the corresponding position.

    VisualMap.inRange

    List<VisualMapRange>

    分段式每一段的相关配置。

    VisualMap.itemGap

    float 10f

    每个图元之间的间隔距离。

    VisualMap.itemHeight

    float 140f

    图形的高度,即颜色条的高度。

    VisualMap.itemWidth

    float 20f

    图形的宽度,即颜色条的宽度。

    VisualMap.location

    Location

    组件显示的位置。

    VisualMap.max

    double 0

    范围最大值

    VisualMap.min

    double 0

    范围最小值

    VisualMap.orient

    Orient

    布局方式是横还是竖。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    VisualMap.outOfRange

    List<VisualMapRange>

    定义 在选中范围外 的视觉颜色。

    VisualMap.range

    double[]

    指定手柄对应数值的位置。range 应在[min,max]范围内。

    VisualMap.realtime

    bool true

    拖拽时,是否实时更新。

    VisualMap.selectedMode

    VisualMap.SelectedMode

    选择模式。

    可选:

    • Multiple: 多选。
    • Single: 单选。

    VisualMap.serieIndex

    int 0

    影响的serie索引。

    VisualMap.show

    bool true

    组件是否生效。

    VisualMap.showUI

    bool false

    是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。

    VisualMap.splitNumber

    int 5

    对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。

    VisualMap.text

    string[]

    两端的文本,如 ['High', 'Low']

    VisualMap.textGap

    float[]

    两端文字主体之间的距离,单位为px。

    VisualMap.type

    VisualMap.Type

    组件类型。

    可选:

    • Continuous: 连续型。
    • Piecewise: 分段型。

    VisualMap.workOnArea

    bool false

    组件是否对LineChart的AreaStyle有效。

    VisualMap.workOnLine

    bool true

    组件是否对LineChart的LineStyle有效。

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    VisualMapRange.color

    Color32

    颜色

    VisualMapRange.label

    string

    文字描述

    VisualMapRange.max

    double

    范围最大值

    VisualMapRange.min

    double

    范围最小值

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    VisualMapTheme.backgroundColor

    Color32

    背景颜色。

    VisualMapTheme.borderColor

    Color32

    边框颜色。

    VisualMapTheme.borderWidth

    float

    边框线宽。

    VisualMapTheme.triangeLen

    float 20f

    可视化组件的调节三角形边长。

    Wrapper<T>

    class in XCharts.Runtime

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    XAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    class in XCharts.Runtime

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    XCSettings.axisLineType

    LineStyle.Type

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    XCSettings.axisLineWidth

    float 0.8f

    XCSettings.axisSplitLineType

    LineStyle.Type

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    XCSettings.axisSplitLineWidth

    float 0.8f

    XCSettings.axisTickLength

    float 5f

    XCSettings.axisTickWidth

    float 0.8f

    XCSettings.cicleSmoothness

    float 2f

    XCSettings.customThemes

    List<Theme>

    XCSettings.dataZoomBorderWidth

    float 0.5f

    XCSettings.dataZoomDataLineWidth

    float 0.5f

    XCSettings.editorShowAllListData

    bool false

    XCSettings.font

    Font

    XCSettings.fontSizeLv1

    int 28

    一级字体大小。

    XCSettings.fontSizeLv2

    int 24

    XCSettings.fontSizeLv3

    int 20

    XCSettings.fontSizeLv4

    int 18

    XCSettings.gaugeAxisLineWidth

    float 15f

    XCSettings.gaugeAxisSplitLineLength

    float 15f

    XCSettings.gaugeAxisSplitLineWidth

    float 0.8f

    XCSettings.gaugeAxisTickLength

    float 5f

    XCSettings.gaugeAxisTickWidth

    float 0.8f

    XCSettings.lang

    Lang

    XCSettings.lineSegmentDistance

    float 3f

    XCSettings.lineSmoothness

    float 2f

    XCSettings.lineSmoothStyle

    float 3f

    XCSettings.maxPainter

    int 10

    XCSettings.serieCandlestickBorderWidth

    float 1f

    XCSettings.serieLineSymbolSize

    float 5f

    XCSettings.serieLineWidth

    float 1.8f

    XCSettings.serieScatterSymbolSize

    float 20f

    XCSettings.serieSelectedRate

    float 1.3f

    XCSettings.tMPFont

    TMP_FontAsset

    XCSettings.tootipLineWidth

    float 0.8f

    XCSettings.visualMapBorderWidth

    float 0f

    XCSettings.visualMapTriangeLen

    float 20f

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    YAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    ZAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/master/extra/index.html b/docs/master/extra/index.html index 1941a256..af3775ad 100644 --- a/docs/master/extra/index.html +++ b/docs/master/extra/index.html @@ -14,13 +14,13 @@ 扩展图表 | XCharts - - + +
    Version: master

    扩展图表

    XCharts的扩展图表。

    支持的扩展图表

    扩展图表如何导入到XCharts-Demo

    Pie3DChart 为例:

    1. 购买图表:购买扩展图表后,Github找到仓库 XCharts-Pie3DChart(私有仓库,购买后加入Team才可见)
    2. 下载图表:选择和XCharts最接近的版本
    3. 导入图表:将下载好的XCharts-Pie3DChart目录覆盖到XCharts-Demo项目中的Packages/XCharts-Pie3DChart
    4. 下载图表Demo:Github找到仓库 XCharts-Pie3DChart-Demo并下载
    5. 导入图表Demo:将下载好的XCharts-Pie3DChart-Demo目录覆盖到XCharts-Demo项目中的Assets/XChartsExtensionDemo/XCharts-Pie3DChart-Demo

    扩展图表如何导入自己的项目中

    Pie3DChart 为例:

    1. 先确保项目中已导入XCharts
    2. 再导入XCharts-Pie3DChart即可,不需要导入XCharts-Pie3DChart-Demo(如果要导入的话需要Unity版本接近2019.4.39f1)
    - - + + \ No newline at end of file diff --git a/docs/master/faq/index.html b/docs/master/faq/index.html index 0b634355..287d10f7 100644 --- a/docs/master/faq/index.html +++ b/docs/master/faq/index.html @@ -14,8 +14,8 @@ 常见问题 | XCharts - - + +
    @@ -54,7 +54,7 @@ FAQ 33:折线图如何两边不留空白而从0坐标开始显示?
    FAQ 34:如何设置部分Serie不显示Tooltip?

    如何调整坐标轴与背景的边距

    调整Grid组件,可调整上下左右边距。

    如何让初始动画重新播放

    调用chart.AnimationReset()接口。

    如何自定义折线图饼图的颜色

    通过ThemecolorPalette调整,或者部分Serie下的LineStyleItemStyle

    如何给坐标轴上的文本加上单位

    通过formatternumericFormatter参数,在LegendAxisAxisLabelTooltopSerieLabel都提供该参数的配置。

    如何让柱形图的柱子堆叠显示

    设置Serie下的stackstack相同的serie会堆叠显示在一个柱子上。

    如何让柱形图的柱子同柱但不重叠

    设置Serie下的barGap-1stack为空。

    如何调整柱形图的柱子宽度和间距

    调整Serie下的barWidthbarGap,多个serie时最后一个seriebarWidthbarGap有效。

    如何调整柱形图单个柱子的颜色

    可通过调整单个Data下的ItemStyle调整,也可以通过两个serie同柱不堆叠来实现,通过设置数据项为0来达到类似效果。

    如何调整图表的对齐方式

    调整RectTransform的锚点,和UGUI的其他组件的用法一致。

    可以显示超过1000以上的大数据吗

    可以。但UGUI对单个Graphic限制65000个顶点,所以太多的数据不一定能显示完全。可通过设置采样距离sampleDist开启采样简化过密曲线。也可以通过设置一些参数来减少图表的顶点数有助于显示更多数据。如缩小图表的尺寸,关闭或减少坐标轴的客户端绘制,关闭Seriesymbollabel显示等。折线图的普通线图Normal比平滑线图Smooth占用顶点数更少。1.5.0以上版本可以设置largelargeThreshold参数来开启性能模式。

    折线图可以画虚线点线点划线吗

    可以。通过Serie下的lineType选择线条样式。当要显示的数据过多(成千以上)数据间过密时建议使用Normal或者Step样式。

    如何限定y轴的值范围

    设置Axis下的minMaxTypeCustom,自定义minmax

    如何自定义数值轴刻度大小

    默认时通过Axis下的splitNumer进行自动划分。也可以设置interval自定义刻度大小。

    如何在数据项顶上显示文本

    通过设置Serie下的Label。3.0版本需要先添加LabelStyle组件。

    如何给数据项自定义图标

    通过设置Seriedata下的数据项可单独设置icon相关参数。

    锯齿太严重如何让图表更顺滑

    开启抗锯齿设置(在Unity里设置)。调整UI渲染模式为Camera模式,开启MSAA,设置4倍或更高抗锯齿。

    为什么鼠标移上图表tooltip不显示

    确认Tooltip是否开启;确认父节点是否关闭了鼠标事件。

    如何取消tooltip的竖线

    设置TooltiptypeNone。或者调整lineStyle的参数。

    如何自定义tooltip的显示内容

    自定义总的内容可以通过Tooltipformatter。如果只是想调整所有的serie的显示格式可以用itemFormattertitleFormatter结合。如果想每个serie的显示格式不一样,可以定制serieitemStyle里的tooltipFormatter。具体的用法请查阅XCharts配置项手册

    如何让y轴显示多位小数

    设置Axis下的AxisLabel中的formatter{value:f1}{value:f2}1.5.0及以上版本通过numericFormatter设置。

    如何用代码动态更新数据

    请查阅Example下的代码,Example13_LineSimple.cs就是一个简单添加数据构建折线图的例子,其他Demo也都是通过代码控制不同的组件实现不同的功能,相关API请查看文档:XChartsAPI接口

    如何显示图例为什么有时候图例无法显示

    首先,你的serie里的name需有值不为空。然后开启Legend显示,里面的data可以默认为空,表示显示所有的图例。如果你只想显示部分serie的图例,在data中填入要显示的图例的name即可。如果data中的值都不是系列的name,那图例就不会显示。

    如何做成预设

    做成prefab前,执行一下Rebuild Chart Object重新刷新节点,避免有冗余的节点存在。

    如何在图表上画点画线等自定义内容

    XCharts有自定义绘制回调onCustomDraw,具体可参考Example12_CustomDrawing.cs

    如何实现心电图类似的数据移动效果

    参考Example目录下的Example_Dynamic.cs。主要通过设置maxCache参数实现。axisserie都设置相同的maxCachemaxCache可固定数据个数,当数据超过设定时会先删除第一个在添加新数据,实现数据移动效果。

    如何使用背景组件有什么条件限制

    设置background组件的showtrue

    区域折线图在用半透明颜色时有时候会一条叠加的线

    这是区域折线图绘制的bug。可以用浅的不透的颜色替代半透明颜色。

    mesh_cannot_have_more_than_65000_vertices

    这是UGUI对单个Graphic的顶点数限制。XCharts是将图形绘制在单个Graphic上,所以也会有这个限制。解决的办法可以参考:FAQ 10:可以显示超过1000以上的大数据吗?

    为什么serie里设置的参数运行后又被重置了

    检测下代码里是否调用了RemoveData()并重新添加Serie了。如果想保留Serie的配置可以只ClearData(),然后重新添加数据。

    如何修改serie的symbol的颜色

    Symbol 的颜色是使用的 ItemStylecolor

    导入或更新xcharts时tmp报错怎么办

    XCharts默认时不开启TMP,所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    支持空数据吗如何实现折线图断开的效果

    Seriedatadouble类型,所以无法表示空数据。可通过开启Serieignore和指定ignoreValue来达到空数据的效果。也可以每个SerieData设置ignore参数。忽略数据后断开还是连接可设置ignoreLineBreak参数。

    xcharts2升级xcharts3时常见的问题有哪些

    1. 'XCharts.Runtime.XChartsMgr' is missing the class attribute 'ExtensionOfNativeClass'! 3.x版本时不需要挂载XChartsMgr,直接删掉场景上的_xcharts_节点即可。

    折线图如何两边不留空白而从0坐标开始显示

    设置X轴的boundaryGap参数。

    如何设置部分serie不显示tooltip

    serieitemStyleitemFormatter设置为-可以忽略tooltip

    - - + + \ No newline at end of file diff --git a/docs/master/funnel/index.html b/docs/master/funnel/index.html index 26b8fad6..c34ee6d1 100644 --- a/docs/master/funnel/index.html +++ b/docs/master/funnel/index.html @@ -14,15 +14,15 @@ FunnelChart 漏斗图 | XCharts - - + +
    Version: master

    FunnelChart 漏斗图

    XCharts的付费扩展图表 - 漏斗图。

    截图

    Funnel01Funnel02Funnel03Funnel04Funnel05
    Funnel07Funnel08Funnel09

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-FunnelChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    Funnel.defaultColorBy

    public override SerieColorBy defaultColorBy

    Funnel.useSortData

    public override bool useSortData

    Funnel.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    FunnelChart

    class in XCharts.Runtime.Funnels / 继承自: BaseChart

    漏斗图。适用于流程流量分析。

    FunnelChart.DefaultHorizonalFunnelChart

    public void DefaultHorizonalFunnelChart()
    生成默认的横向漏斗图。

    配置项手册

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    Funnel.dynamicHeight

    bool v3.3.0

    是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。

    Funnel.rectEnd

    bool v3.3.0

    是否最后以矩形结束。默认false以三角形结束。

    - - + + \ No newline at end of file diff --git a/docs/master/gantt/index.html b/docs/master/gantt/index.html index 05263da6..ccc4c46b 100644 --- a/docs/master/gantt/index.html +++ b/docs/master/gantt/index.html @@ -14,8 +14,8 @@ GanttChart 甘特图 | XCharts - - + +
    @@ -25,7 +25,7 @@ 生成默认的单维度分组甘特图。

    GanttChart.DefaultMultinomialGroupGanttChart

    public void DefaultMultinomialGroupGanttChart()
    生成默认的多维度分组甘特图。

    GanttChart.DefaultValueAxisGanttChart

    public void DefaultValueAxisGanttChart()
    生成默认的数值轴甘特图。

    GanttChart.GetSeriesMinMaxValue

    public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)

    GanttChart.InitAxisRuntimeData

    public override void InitAxisRuntimeData(Axis axis)

    GanttChart.OnBeginDrag

    public override void OnBeginDrag(PointerEventData eventData)

    GanttChart.OnDrag

    public override void OnDrag(PointerEventData eventData)

    GanttChart.OnEndDrag

    public override void OnEndDrag(PointerEventData eventData)

    GanttChart.OnPointerClick

    public override void OnPointerClick(PointerEventData eventData)

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    GanttType

    class in XCharts.Runtime.Gantts

    可选:

    • Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    • Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。

    配置项手册

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    Gantt.disableDrag

    bool

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    GanttStyle.aliginLine

    LineStyle

    对齐线样式。

    GanttStyle.alignlineDataIndex

    int 1

    显示对齐线的数据项索引。

    GanttStyle.autoAdsorbAlignline

    bool true

    拖拽结束后是否自动吸附到对齐线。

    GanttStyle.dragEnable

    bool true

    是否可以拖拽甘特图。

    GanttStyle.dragRangeMax

    double 0

    拖拽最大值限制。

    GanttStyle.dragRangeMin

    double 0

    拖拽最小值限制。

    GanttStyle.dragSensitivity

    float 1f

    拖拽的灵敏度。

    GanttStyle.ganttType

    GanttType

    甘特图类型。

    可选:

    • Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    • Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。

    GanttStyle.invert

    bool true

    GanttStyle.show

    bool true

    GanttStyle.showAlignlineRange

    float 10f

    显示对齐线的范围。

    GanttStyle.splitArea

    AxisSplitArea

    - - + + \ No newline at end of file diff --git a/docs/master/gauge/index.html b/docs/master/gauge/index.html index 1d3cc79e..5979e228 100644 --- a/docs/master/gauge/index.html +++ b/docs/master/gauge/index.html @@ -14,8 +14,8 @@ GaugeChart 仪表盘 | XCharts - - + +
    @@ -36,7 +36,7 @@ 生成分段仪表盘。

    GaugeChart.UpdateClockTime

    public void UpdateClockTime(double hour, double minute, double second)
    更新时钟时间。

    GaugeChart.UpdatePointerValue

    public void UpdatePointerValue(double value)
    更新指针值。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    配置项手册

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    仪表盘系列数据。

    Gauge.gaugeAnchor

    GaugeAnchor

    仪表盘指针固定点。

    Gauge.gaugeAxis

    GaugeAxis

    仪表盘轴线。

    Gauge.gaugePointer

    GaugePointer

    仪表盘指针。

    Gauge.loop

    bool false v3.6.0

    数值是否循环。可用在钟表图。

    Gauge.rangeDataMode

    bool false v3.6.0

    数值是否为范围数据。启用该模式后,data中的每个值都是一个数组,数组中的第一个值为起始值,第二个值为结束值。指针只有一个,数据绘制为环形。

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    GaugeAnchor.gap

    float 0

    图形标记和线条的间隙距离。

    GaugeAnchor.image

    Sprite

    自定义的标记图形。

    GaugeAnchor.imageType

    Image.Type

    GaugeAnchor.itemStyle

    ItemStyle

    图形样式。

    GaugeAnchor.offsetCenter

    Vector2 Vector2(0, 0)

    相对于中心的偏移位置。

    GaugeAnchor.show

    bool true

    是否显示指针固定点。

    GaugeAnchor.showAbove

    bool true

    固定点是否显示在指针上面。

    GaugeAnchor.size

    float 6

    标记的大小。

    GaugeAnchor.type

    SymbolType

    标记类型。

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    GaugeAxis.axisLabel

    AxisLabel

    文本标签。

    GaugeAxis.axisLabelText

    List<string>

    自定义Label的内容。

    GaugeAxis.axisLine

    GaugeAxisLine

    仪表盘轴线样式。

    GaugeAxis.axisTick

    AxisTick

    刻度。

    GaugeAxis.distance

    float

    GaugeAxis.overlap

    bool true

    GaugeAxis.show

    bool true

    GaugeAxis.splitLine

    AxisSplitLine

    分割线。

    GaugeAxis.type

    GaugeAxisType

    可选:

    • None: 仪表盘类型
    • Section: 分段
    • Progress: 进度

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    GaugeAxisLine.backgroundColor

    Color32 Color32(230, 235, 248, 255)

    进度条背景颜色。

    GaugeAxisLine.stageColor

    List<StageColor>

    阶段颜色。

    GaugeAxisLine.stageGradient

    bool v3.4.0

    阶段颜色是否渐变过渡。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    GaugePointer.autoColor

    bool true

    GaugePointer.backExtraLength

    float 0.05f

    指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.backLength

    float 0.05f

    指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.bottomLeftLength

    float 0.025f

    指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.bottomRightLength

    float 0.025f

    指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.color

    Color32

    GaugePointer.cornerRadius

    float[]

    圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    GaugePointer.distance

    float

    GaugePointer.length

    float 0.6f

    指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.roundCap

    bool

    GaugePointer.show

    bool true

    是否显示指针。

    GaugePointer.toColor

    Color32

    GaugePointer.topLeftLength

    float 0f

    指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.topRightLength

    float 0f

    指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.value

    double v3.6.0

    指针的值。当为时钟仪表盘时,可通过指定value值来控制指针的位置。

    - - + + \ No newline at end of file diff --git a/docs/master/graph/index.html b/docs/master/graph/index.html index 48ceb5a7..35041e8a 100644 --- a/docs/master/graph/index.html +++ b/docs/master/graph/index.html @@ -14,8 +14,8 @@ GraphChart 关系图 | XCharts - - + +
    @@ -24,7 +24,7 @@ 图表的力引导布局。

    Graph.graphData

    public GraphData graphData

    Graph.levelStyle

    public LevelStyle levelStyle
    层级样式。

    Graph.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    public override SerieDataLink AddLink(string sourceId, string targetId, double value = 0)

    Graph.AddSerieData

    public override void AddSerieData(SerieData serieData)

    Graph.ClearData

    public override void ClearData()
    清空所有数据

    Graph.GetLevelItemStyle

    public ItemStyle GetLevelItemStyle(int depth)

    Graph.GetLevelLabel

    public LabelStyle GetLevelLabel(int depth)

    Graph.GetLevelLineStyle

    public LineStyle GetLevelLineStyle(int depth)

    GraphChart

    class in XCharts.Runtime.Graphs / 继承自: BaseChart

    配置项手册

    Force

    class in XCharts.Runtime.Graphs / 继承自: ChildComponent

    图表的力引导布局。

    Force.centerDataIndex

    int -1

    中心节点数据的索引。

    Force.edgeLength

    float 80

    边的两个节点之间的距离,这个距离也会受 repulsion 影响。

    Force.friction

    float 0.6f

    节点移动的摩擦因子,该值越大节点移动越慢。

    Force.iterations

    int 200

    力引导布局的迭代次数。

    Force.show

    bool true

    Force.stepCount

    int 1

    Force.stepFactor

    float 1f

    力引导布局的步进因子。

    Graph

    class in XCharts.Runtime.Graphs / 继承自: Serie

    关系图,用于展现节点以及节点之间的关系数据。

    Graph.force

    Force

    图表的力引导布局。

    Graph.levelStyle

    LevelStyle

    层级样式。

    - - + + \ No newline at end of file diff --git a/docs/master/inputsystem/index.html b/docs/master/inputsystem/index.html index 25c7d58f..2f4ab972 100644 --- a/docs/master/inputsystem/index.html +++ b/docs/master/inputsystem/index.html @@ -14,13 +14,13 @@ 切换到新的输入系统Input System | XCharts - - + +
    Version: master

    教程:切换到新的输入系统Input System

    1. 按图示修改项目配置中输入模式为 Input System

    Project Settings

    2. 使用 Unity Package Manager 安装 Input System

    UPM

    3. 选中场景中 EventSystem 游戏对象,更换输入模组

    Input Module

    - - + + \ No newline at end of file diff --git a/docs/master/lang/articles/ui/ui_statistic/index.html b/docs/master/lang/articles/ui/ui_statistic/index.html index 05918035..c2100845 100644 --- a/docs/master/lang/articles/ui/ui_statistic/index.html +++ b/docs/master/lang/articles/ui/ui_statistic/index.html @@ -14,13 +14,13 @@ UIStatistic 统计数值 | XCharts - - + +
    Version: master

    UIStatistic 统计数值

    statistic

    统计数值组件。用于展示统计数值。

    何时使用:

    • 当需要突出某个或某组数字时。
    • 当需要展示带描述的统计类数据时使用。

    支持的功能有:

    • 常规数值
    • 倒计时
    • 添加图标
    • 变更动画
    • 事件回调
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/master/lang/articles/ui/ui_table/index.html b/docs/master/lang/articles/ui/ui_table/index.html index 9477d4f8..a9897c96 100644 --- a/docs/master/lang/articles/ui/ui_table/index.html +++ b/docs/master/lang/articles/ui/ui_table/index.html @@ -14,13 +14,13 @@ UITable 表格 | XCharts - - + +
    Version: master

    UITable 表格

    table

    表格组件。可用于展示行列数据。

    支持的功能有:

    • 显示或隐藏列表头
    • 显示或隐藏行表头
    • 任意调整行列宽高
    • 支持行号
    • 支持选中
    • 支持分割线
    • 支持滚动和拖拽
    • 支持滚动条
    • 支持图标图片
    • 支持轮播
    • 排序(暂不支持)
    • 分页(暂不支持)
    • 查找(暂不支持)
    • 过滤(暂不支持)
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/master/line3d/index.html b/docs/master/line3d/index.html index 737e3ec4..920da73f 100644 --- a/docs/master/line3d/index.html +++ b/docs/master/line3d/index.html @@ -14,15 +14,15 @@ Line3DChart 3D折线图 | XCharts - - + +
    Version: master

    Line3DChart 3D折线图

    XCharts付费扩展图表 - 3D折线图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.05.15) 增加Line3D3D折线图

    API

    Line3D

    class in XCharts.Runtime.Line3Ds / 继承自: Serie,INeedSerieContainer

    关系图,用于展现节点以及节点之间的关系数据。

    Line3D.containerIndex

    public int containerIndex
    关系图,用于展现节点以及节点之间的关系数据。

    Line3D.containterInstanceId

    public int containterInstanceId

    Line3D.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    Line3DChart

    class in XCharts.Runtime.Line3Ds / 继承自: BaseChart

    Line3DHelper

    class in XCharts.Runtime.Line3Ds

    配置项手册

    Line3D

    class in XCharts.Runtime.Line3Ds / 继承自: Serie, INeedSerieContainer

    关系图,用于展现节点以及节点之间的关系数据。

    - - + + \ No newline at end of file diff --git a/docs/master/liquid/index.html b/docs/master/liquid/index.html index efad3b3b..fbf012e1 100644 --- a/docs/master/liquid/index.html +++ b/docs/master/liquid/index.html @@ -14,8 +14,8 @@ LiquidChart 水位图 | XCharts - - + +
    @@ -27,7 +27,7 @@ 运行时中心点。

    VesselContext.height

    public float height

    VesselContext.innerRadius

    public float innerRadius
    运行时内半径。扣除厚度和间隙后的实际半径。

    VesselContext.isPointerEnter

    public bool isPointerEnter

    VesselContext.radius

    public float radius
    运行时半径。

    VesselContext.width

    public float width

    配置项手册

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie, INeedSerieContainer

    Liquid.waveHeight

    float 10f

    波高。

    Liquid.waveLength

    float 20f

    波长。为0-1小数时指直线的百分比。

    Liquid.waveOffset

    float 0f

    波偏移。

    Liquid.waveSpeed

    float 5f

    波速。正数时左移,负数时右移。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent, ISerieContainer, IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    Vessel.autoColor

    bool true

    是否自动颜色。为true时颜色会和serie一致。 [default: true]

    Vessel.backgroundColor

    Color32

    背景色,默认透明。 [default: Color.clear]

    Vessel.borderColor

    Color32 Color32(70, 70, 240, 255)

    容器内壁边框颜色。默认和serie一致。

    Vessel.borderWidth

    float 0f

    内壁边框。

    Vessel.center

    float[]

    When value between 0 and 1 represents a percentage relative to the chart.

    Vessel.color

    Color32 Color32(70, 70, 240, 255)

    容器颜色。默认和serie一致。

    Vessel.cornerRadius

    float[]

    容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。

    Vessel.gap

    float 5f

    间隙。容器和液体的间隙。 [defaut: 10f]

    Vessel.height

    float 0.7f

    When value between 0 and 1 represents a percentage relative to the chart.

    Vessel.radius

    float 0.35f

    When value between 0 and 1 represents a percentage relative to the chart.

    Vessel.shape

    Vessel.Shape

    容器形状。 [default: Shape.Circle]

    可选:

    • Circle: 圆形
    • Rect: 正方形。
    • Triangle: 三角形。
    • Diamond: 菱形。

    Vessel.shapeWidth

    float 5f

    容器厚度。 [defaut: 5f]

    Vessel.show

    bool true

    是否显示容器组件。 [defaut: true]

    Vessel.smoothness

    float 1f

    水波平滑度。 [default: 1f]

    Vessel.width

    float 0.5f

    When value between 0 and 1 represents a percentage relative to the chart.

    - - + + \ No newline at end of file diff --git a/docs/master/pictorialbar/index.html b/docs/master/pictorialbar/index.html index de4b288c..705ab843 100644 --- a/docs/master/pictorialbar/index.html +++ b/docs/master/pictorialbar/index.html @@ -14,14 +14,14 @@ PictorialBarChart 象形柱图 | XCharts - - + +
    Version: master

    PictorialBarChart 象形柱图

    XCharts付费扩展图表 - 象形柱图。

    截图

    PictorialBar01PictorialBar02PictorialBar03PictorialBar04

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-PictorialBarChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2023.12.19) 调整Border相关代码

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.1

    • (2023.09.26) 修复PictorialBar动态添加数据时不刷新的问题

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie,INeedSerieContainer

    PictorialBar.containerIndex

    public int containerIndex

    PictorialBar.containterInstanceId

    public int containterInstanceId

    PictorialBar.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    PictorialBar.ConvertSerie

    public static PictorialBar ConvertSerie(Serie serie)

    PictorialBarChart

    class in XCharts.Runtime.PictorialBars / 继承自: BaseChart

    配置项手册

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie, INeedSerieContainer

    - - + + \ No newline at end of file diff --git a/docs/master/pie3d/index.html b/docs/master/pie3d/index.html index 29f1cf0f..244e1ff9 100644 --- a/docs/master/pie3d/index.html +++ b/docs/master/pie3d/index.html @@ -14,8 +14,8 @@ Pie3DChart 3D饼图 | XCharts - - + +
    @@ -32,7 +32,7 @@ 饼图厚度。

    Pie3DStyle.selectedOffset

    public Vector2 selectedOffset
    被选中状态的饼图块的额外偏移。

    Pie3DStyle.startSideColorRate

    public float startSideColorRate
    饼图切块的起始面颜色(顺时针)。

    配置项手册

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    3D饼图系列。

    Pie3D.pie3DStyle

    Pie3DStyle

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    Pie3DStyle.drawSplitSide

    bool true v3.10.0

    是否绘制分割面。当pieAutoHeight为true时,该值无效。

    Pie3DStyle.ellipseMinorAxis

    float 0.65f

    椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。

    Pie3DStyle.endSideColorRate

    float 0.65f

    饼图切块的结束面颜色(顺时针)。

    Pie3DStyle.peripherySideColorRate

    float 0.8f

    饼图切块的侧面颜色。

    Pie3DStyle.pieAutoHeight

    bool false

    是否自动根据比例计算厚度。

    Pie3DStyle.pieMaxHeight

    float 20f

    饼图厚度。

    Pie3DStyle.selectedOffset

    Vector2 Vector2(0.1f, 0.5f)

    被选中状态的饼图块的额外偏移。

    Pie3DStyle.show

    bool true

    Pie3DStyle.startSideColorRate

    float 0.7f

    饼图切块的起始面颜色(顺时针)。

    - - + + \ No newline at end of file diff --git a/docs/master/pyramid/index.html b/docs/master/pyramid/index.html index 9be11dfa..0d580b8c 100644 --- a/docs/master/pyramid/index.html +++ b/docs/master/pyramid/index.html @@ -14,15 +14,15 @@ PyramidChart 金字塔 | XCharts - - + +
    Version: master

    PyramidChart 金字塔

    XCharts付费扩展图表 - 金字塔。

    截图

    Pyramid01Pyramid02Pyramid03

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-PyramidChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Pyramid的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.21) 增加Tooltip支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    Pyramid.defaultColorBy

    public override SerieColorBy defaultColorBy

    Pyramid.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    PyramidChart

    class in XCharts.Runtime.Pyramids / 继承自: BaseChart

    PyramidChart.Default2DPyramidChart

    public void Default2DPyramidChart()
    生成默认的2D金字塔图。

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    PyramidStyle.drawTop

    public bool drawTop

    配置项手册

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    Pyramid.pyramidStyle

    PyramidStyle

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    PyramidStyle.3D

    bool true

    PyramidStyle.bottomPointRate

    float 0.5f

    3D模式下,底部中点占金字塔宽度的比例

    PyramidStyle.drawTop

    bool true

    PyramidStyle.labelLineMargin

    float 10f

    Label标签距离右边的距离

    PyramidStyle.leftColorOpacity

    float 0.9f

    3D模式下,金字塔左边的颜色透明度

    PyramidStyle.leftPointRate

    float 0.1f

    3D模式下,底部左边点占金字塔高度的比例

    PyramidStyle.rightColorOpacity

    float 0.7f

    3D模式下,金字塔右边的颜色透明度

    PyramidStyle.rightPointRate

    float 0.1f

    3D模式下,底部右边点占金字塔高度的比例

    PyramidStyle.show

    bool true

    PyramidStyle.topColorOpacity

    float 0.99f

    3D模式下,金字塔顶部的颜色透明度

    - - + + \ No newline at end of file diff --git a/docs/master/sankey/index.html b/docs/master/sankey/index.html index d78f6fec..b9904fef 100644 --- a/docs/master/sankey/index.html +++ b/docs/master/sankey/index.html @@ -14,15 +14,15 @@ SankeyChart 桑基图 | XCharts - - + +
    Version: master

    SankeyChart 桑基图

    XCharts付费扩展图表 - 桑基图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.03.20) 增加Sankey的展开和折叠功能支持

    v3.10.0

    API

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    Sankey.defaultColorBy

    public override SerieColorBy defaultColorBy

    Sankey.levelStyle

    public LevelStyle levelStyle
    层级样式。

    Sankey.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    Sankey.GetLevelItemStyle

    public ItemStyle GetLevelItemStyle(int depth)

    Sankey.GetLevelLabel

    public LabelStyle GetLevelLabel(int depth)

    Sankey.GetLevelLineStyle

    public LineStyle GetLevelLineStyle(int depth)

    Sankey.NodeAlign

    class in XCharts.Runtime.Sankeys

    节点对齐方式。

    可选:

    • Top: 顶部对齐
    • Center: 居中对齐
    • Bottom: 底部对齐

    SankeyChart

    class in XCharts.Runtime.Sankeys / 继承自: BaseChart

    配置项手册

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    Sankey.collapse

    bool false v3.11.0

    是否开启折叠。

    Sankey.collapseLevel

    int -1 v3.11.0

    折叠限制的层级。层级从0开始,-1表示不限制。

    Sankey.collapseMutex

    bool true v3.11.0

    是否开启折叠互斥。

    Sankey.curveness

    float 0.5f

    线条的弯曲程度。

    Sankey.defaultExpandDataIndex

    int -1 v3.11.0

    默认展开的数据索引。

    Sankey.draggable

    bool

    是否可拖拽。

    Sankey.levelStyle

    LevelStyle

    层级样式。

    Sankey.lineGradient

    bool true v3.11.0

    是否开启线条渐变。开启后lineStyle的color将不生效。

    Sankey.nodeAlign

    Sankey.NodeAlign

    节点对齐方式。

    可选:

    • Top: 顶部对齐
    • Center: 居中对齐
    • Bottom: 底部对齐

    Sankey.nodeGap

    float 8

    节点的间距。

    Sankey.nodeWidth

    float 20

    节点的宽度。

    - - + + \ No newline at end of file diff --git a/docs/master/support/index.html b/docs/master/support/index.html index 9bea692c..232a76ec 100644 --- a/docs/master/support/index.html +++ b/docs/master/support/index.html @@ -14,8 +14,8 @@ 订阅服务 | XCharts - - + +
    @@ -26,7 +26,7 @@ 增加席位 企业VIP支持增加席位,每个席位298¥一年。
    对公转账 有开专票需求时,可用企业银行帐号进行公对公转账支付。二维码支付不支持开专票,只能开普票。发票默认都是电子发票。
    *登记资料 订阅成功后,需提供手机号和Github帐号进行登记,手机号用于确认归属,Github帐号用于加入Github的Team组织,下载源码。

    购买扩展图表

    扩展图表为另付费购买图表,只对订阅了VIP服务的用户开放购买。对于个人SVIP企业VIP的订阅用户,所有扩展图表仓库在订阅期间可全部免费使用,不用再单独购买。

    对所有已购买的扩展图表,源码可永久持有但不能传播,并获得持续一年的更新支持和技术服务,一年后如需更新支持等服务,可再继续订阅VIP服务。

    编号扩展图表扩展图表价格
    101象形柱图PictorialBarChart98¥
    102漏斗图FunnelChart98¥
    1033D金字塔PyramidChart98¥
    104树形矩图TreemapChart98¥
    105桑基图SankeyChart98¥
    2013D柱图Bar3DChart198¥
    2023D饼图Pie3DChart198¥
    203甘特图GanttChart198¥
    204仪表盘GaugeChart198¥
    205水位图LiquidChart198¥
    2063D折线图Line3DChart198¥
    207关系图GraphChart198¥

    扩展图表的在线效果图也可以查看WebGL在线Demo

    捐助支持

    如果这个项目对您有帮助,请右上方点 Star 予以支持!也欢迎扫后面的二维码进行任意金额的捐助,XCharts需要您的支持和帮助。

    二维码

    如果看不到二维码图片,可以加Q联系XCharts技术支持:3525422251或邮件monitor1394@gmail.com咨询。

    alipay-qrcode wechat-qrcode

    - - + + \ No newline at end of file diff --git a/docs/master/treemap/index.html b/docs/master/treemap/index.html index 06b30017..5fd937bc 100644 --- a/docs/master/treemap/index.html +++ b/docs/master/treemap/index.html @@ -14,8 +14,8 @@ TreemapChart 矩形树图 | XCharts - - + +
    @@ -29,7 +29,7 @@ 是否可以返回上一层

    Treemap.GetLevelItemStyle

    public ItemStyle GetLevelItemStyle(int level)

    Treemap.GetLevelLabel

    public LabelStyle GetLevelLabel(int level)

    Treemap.GetLevelUpperLabel

    public LabelStyle GetLevelUpperLabel(int level)

    Treemap.GoUpALevel

    public void GoUpALevel()
    返回上一层

    Treemap.OnDataUpdate

    public override void OnDataUpdate()

    Treemap.SetSelectedSerieData

    public bool SetSelectedSerieData(string serieDataName)
    设置选中(要展示的)的数据名

    TreemapChart

    class in XCharts.Runtime.Treemaps / 继承自: BaseChart

    配置项手册

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    Treemap.customGoUpLevelButton

    GameObject

    自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。

    Treemap.drillDownIcon

    string

    当节点可以下钻时的提示符,只能是字符。默认为▶

    Treemap.leafDepth

    int 0

    默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。

    Treemap.levelStyle

    LevelStyle

    Treemap.upperLabel

    LabelStyle

    父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。

    Treemap.visualDimension

    int 0

    用于计算占比的数据维数。

    - - + + \ No newline at end of file diff --git a/docs/master/tutorial01/index.html b/docs/master/tutorial01/index.html index 8c19b3f0..d2ee2560 100644 --- a/docs/master/tutorial01/index.html +++ b/docs/master/tutorial01/index.html @@ -14,8 +14,8 @@ 入门教程:5分钟上手 XCharts 3.0 | XCharts - - + +
    @@ -23,7 +23,7 @@ linechart2

    Note:Serie通过Add Serie按钮添加。可添加不同类型的Serie。XCharts有哪些Serie?

    添加其他主组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    Note:主组件通过Add Component按钮添加。XCharts有哪些主组件?

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件用到时需额外添加。比如,需要给折线图进行区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent linechart3

    Note:Serie组件通过Serie右边的按钮添加。XCharts有哪些Serie组件?

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加组件。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent linechart4

    Note:SerieData组件通过展开SerieData后Component右边的按钮添加。XCharts有哪些SerieData组件?

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个到几十个的可配置参数,用来支持多样化的功能。

    首次使用XCharts,建议亲自去测试下各个图表各个组件的实际效果。Inspector 视图可以直接添加各种图表,各种组件以及调整各个配置参数,Game 视图会实时反馈调整后的效果。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是数据和参数驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不能去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时被还原掉。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    Note:通常颜色值为0000时表示用主题默认颜色;其他参数为0或null时表示用主题默认配置;设置颜色时注意透明度。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.EnsureChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.EnsureChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.EnsureChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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;

    清空所有默认数据(包含Serie),添加Line类型的Serie用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    如果Serie是固定的,建议只是清空数据,不用把Serie也清掉:

    chart.ClearData();

    这样可以提前在UI上设置好Serie的配置参数。

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。

    记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    设置默认字体

    XCharts默认使用的是Unity默认字体Arial,在WebGL平台上可能无法显示中文。在将XCharts用在你的项目时,建议先设置好字体:

    • 找到XCharts/Resources/XCSetting.asset资源,修改里面的Font并保存。
    • 找到XCharts/Resources/XCTheme-Default.assetXCharts/Resources/XCTheme-Default.asset两个字体配置,点击Sync Font from SettingSync Font to Sub Theme按钮将字体同步到主题配置文件上。

    字体设置好后,新创建的图表就会用新设置的字体了。对于旧图表,可以点击Rebuild Chart Object进行刷新。

    Note:使用XCharts前建议先设置好字体;更新XCharts时注意设置的字体可能被还原的问题。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    XCharts的代码控制

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    Note:用API去操作数据和各种list,而不是直接访问list进行处理

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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;

    注:低版本没有EnsureChartComponent()接口时,用GetOrAddChartComponent()

    改Serie的参数

    对于新添加的Serie:

    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:

    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添加额外组件:

    serie.EnsureComponent<AreaStyle>();

    var label = serie1.EnsureComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    - - + + \ No newline at end of file diff --git a/docs/master/tutorial02/index.html b/docs/master/tutorial02/index.html index 900a331a..3926a16b 100644 --- a/docs/master/tutorial02/index.html +++ b/docs/master/tutorial02/index.html @@ -14,13 +14,13 @@ 从文件或数据库读取数据显示图表 | XCharts - - + + - - + + \ No newline at end of file diff --git a/docs/master/tutorial03/index.html b/docs/master/tutorial03/index.html index 52cf0fab..61f3b707 100644 --- a/docs/master/tutorial03/index.html +++ b/docs/master/tutorial03/index.html @@ -14,13 +14,13 @@ 心电图效果实现 | XCharts - - + + - - + + \ No newline at end of file diff --git a/docs/master/ui/index.html b/docs/master/ui/index.html index 760fcdb6..aea6ea97 100644 --- a/docs/master/ui/index.html +++ b/docs/master/ui/index.html @@ -14,13 +14,13 @@ 扩展UI组件 | XCharts - - + +
    Version: master

    扩展UI组件

    XCharts的扩展UI组件,VIP订阅用户专有。

    组件列表

    示例演示

    Demo仓库:XCharts-UI-Demo

    如何使用

    • 使用该仓库前先确保项目里已有对应版本的XCharts。
    • 下载本仓库放入Assets下或者通过Package Manager导入。

    更新日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.16) 增加UIImage图片组件
    • (2024.01.16) 优化Background组件,可设置圆角和边框
    • (2024.01.03) 增加UITablecarouselStylehoverPause
    • (2024.01.02) 增加UITablescrollStyleborderStyle
    • (2024.01.02) 增加UITablecolumnHeadStyleopaque
    • (2024.01.01) 调整UITableborder边框相关设置,用BorderStyle代替
    • (2023.12.22) 增加UITable的行边框

    v3.9.0

    • (2023.11.14) 增加UITableGetData()GetContent()接口
    • (2023.11.12) 增加UITableonTableClick点击表格回调
    • (2023.11.11) 重构UITableSeparatorStyle,可分开设置行列的分割线
    • (2023.11.05) 增加UITableColumnStyle,重构Column相关参数
    • (2023.11.05) 增加UITableRowStyle,重构Row相关参数
    • (2023.11.01) 增加UITableCarouselStyle轮播功能
    • (2023.11.01) 增加UITableAddColumn()UpdateColumn()接口
    • (2023.10.23) 修复UITable点击Rebuild Object异常的问题
    • (2023.10.23) 修复UITable尺寸变化时不刷新的问题
    • (2023.10.17) 修复UITable首次初始化异常的问题
    • (2023.10.17) 增加UITable的数据操作接口
    • (2023.10.17) 增加UITableRefreshTable()刷新接口

    v3.8.0

    • (2023.09.03) 发布v3.8.0版本
    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 增加UIStatistic
    • (2023.02.14) 增加UITable
    - - + + \ No newline at end of file diff --git a/docs/pictorialbar/index.html b/docs/pictorialbar/index.html index 8fca0bbe..7cff6674 100644 --- a/docs/pictorialbar/index.html +++ b/docs/pictorialbar/index.html @@ -14,14 +14,14 @@ PictorialBarChart 象形柱图 | XCharts - - + +
    Version: v3.12.0

    PictorialBarChart 象形柱图

    XCharts付费扩展图表 - 象形柱图。

    截图

    PictorialBar01PictorialBar02PictorialBar03PictorialBar04

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-PictorialBarChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2023.12.19) 调整Border相关代码

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.1

    • (2023.09.26) 修复PictorialBar动态添加数据时不刷新的问题

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static PictorialBar ConvertSerie(Serie serie)

    PictorialBarChart

    class in XCharts.Runtime.PictorialBars / 继承自: BaseChart

    配置项手册

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie, INeedSerieContainer

    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2023.12.19) 调整Border相关代码

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.1

    • (2023.09.26) 修复PictorialBar动态添加数据时不刷新的问题

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie,INeedSerieContainer

    PictorialBar.containerIndex

    public int containerIndex

    PictorialBar.containterInstanceId

    public int containterInstanceId

    PictorialBar.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    PictorialBar.ConvertSerie

    public static PictorialBar ConvertSerie(Serie serie)

    PictorialBarChart

    class in XCharts.Runtime.PictorialBars / 继承自: BaseChart

    配置项手册

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie, INeedSerieContainer

    + + \ No newline at end of file diff --git a/docs/pie3d/index.html b/docs/pie3d/index.html index 1bd9eb38..61148fb2 100644 --- a/docs/pie3d/index.html +++ b/docs/pie3d/index.html @@ -14,14 +14,25 @@ Pie3DChart 3D饼图 | XCharts - - + +
    Version: v3.12.0

    Pie3DChart 3D饼图

    XCharts的付费扩展图表 - 3D饼图。

    截图

    Pie3D01Pie3D02Pie3D03Pie3D04Pie3D05
    Pie3D07Pie3D08

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-Pie3DChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.1

    • (2024.02.28) 修复Pie3D在动画过程中可能出现绘制异常的问题

    v3.10.0

    • (2024.01.16) 增加XCharts上的更多菜单栏快捷方式,一键创建多种3D饼图
    • (2023.12.17) 增加Pie3DStyledrawSplitSide设置是否绘制分割面
    • (2023.12.16) 增加Border描边支持
    • (2023.12.15) 增加Serielabel可指示在边缘的支持
    • (2023.12.10) 增加SerieminShowLabel可隐藏小于指定值的label

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.11.30) 优化SerieData只有一个时不绘制侧边
    • (2023.11.30) 增加SerieData可单独添加Label的支持

    v3.8.1

    • (2023.09.14) 修复SerieData的数据为全为0时图表显示异常的问题
    • (2023.09.08) 增加SerieDataradius可自定义各饼块高度的支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.2

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.1

    • (2023.05.21) 增加avoidLabelOverlap支持

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.3.0

    • (2022.09.02) 增加onPointerEnterPie回调支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    3D饼图系列。

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Pie3D ConvertSerie(Serie serie)

    Pie3DChart

    class in XCharts.Runtime.Pie3Ds / 继承自: BaseChart

    3D饼图。

    API版本描述
    DefaultAutoHeightPie3DChart()public void DefaultAutoHeightPie3DChart()
    生成默认3D自动高度饼图。
    DefaultDonutPie3DChart()public void DefaultDonutPie3DChart()
    生成默认3D甜甜圈饼图。
    DefaultEllipsePie3DChart()public void DefaultEllipsePie3DChart()
    生成默认2D椭圆饼图。

    Pie3DSlice

    class in XCharts.Runtime.Pie3Ds

    3D饼图的切块。

    API版本描述
    Contains()public bool Contains(float angle)
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    IsInSidePolygon()public bool IsInSidePolygon(Vector2 p)
    IsInStartOrEndSide()public bool IsInStartOrEndSide(Vector2 p)
    IsInTopPolygon()public bool IsInTopPolygon(Vector2 p)
    Pie3DSlice()public Pie3DSlice()
    UpdateValue()public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig)

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    配置项手册

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    3D饼图系列。

    参数默认版本描述
    pie3DStylePie3DStyle

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    参数默认版本描述
    showtrue
    ellipseMinorAxis0.65f椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。
    pieMaxHeight20f饼图厚度。
    pieAutoHeightfalse是否自动根据比例计算厚度。
    selectedOffsetVector2(0.1f, 0.5f)被选中状态的饼图块的额外偏移。
    peripherySideColorRate0.8f饼图切块的侧面颜色。
    startSideColorRate0.7f饼图切块的起始面颜色(顺时针)。
    endSideColorRate0.65f饼图切块的结束面颜色(顺时针)。
    drawSplitSidetruev3.10.0是否绘制分割面。当pieAutoHeight为true时,该值无效。
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.1

    • (2024.02.28) 修复Pie3D在动画过程中可能出现绘制异常的问题

    v3.10.0

    • (2024.01.16) 增加XCharts上的更多菜单栏快捷方式,一键创建多种3D饼图
    • (2023.12.17) 增加Pie3DStyledrawSplitSide设置是否绘制分割面
    • (2023.12.16) 增加Border描边支持
    • (2023.12.15) 增加Serielabel可指示在边缘的支持
    • (2023.12.10) 增加SerieminShowLabel可隐藏小于指定值的label

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.11.30) 优化SerieData只有一个时不绘制侧边
    • (2023.11.30) 增加SerieData可单独添加Label的支持

    v3.8.1

    • (2023.09.14) 修复SerieData的数据为全为0时图表显示异常的问题
    • (2023.09.08) 增加SerieDataradius可自定义各饼块高度的支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.2

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.1

    • (2023.05.21) 增加avoidLabelOverlap支持

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.3.0

    • (2022.09.02) 增加onPointerEnterPie回调支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    3D饼图系列。

    Pie3D.defaultColorBy

    public override SerieColorBy defaultColorBy

    Pie3D.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    Pie3D.ConvertSerie

    public static Pie3D ConvertSerie(Serie serie)

    Pie3DChart

    class in XCharts.Runtime.Pie3Ds / 继承自: BaseChart

    3D饼图。

    Pie3DChart.DefaultAutoHeightPie3DChart

    public void DefaultAutoHeightPie3DChart()
    +生成默认3D自动高度饼图。

    Pie3DChart.DefaultDonutPie3DChart

    public void DefaultDonutPie3DChart()
    +生成默认3D甜甜圈饼图。

    Pie3DChart.DefaultEllipsePie3DChart

    public void DefaultEllipsePie3DChart()
    +生成默认2D椭圆饼图。

    Pie3DSlice

    class in XCharts.Runtime.Pie3Ds

    3D饼图的切块。

    Pie3DSlice.Contains

    public bool Contains(float angle)

    Pie3DSlice.IsInPolygon

    public bool IsInPolygon(Vector2 p)

    Pie3DSlice.IsInSidePolygon

    public bool IsInSidePolygon(Vector2 p)

    Pie3DSlice.IsInStartOrEndSide

    public bool IsInStartOrEndSide(Vector2 p)

    Pie3DSlice.IsInTopPolygon

    public bool IsInTopPolygon(Vector2 p)

    Pie3DSlice.Pie3DSlice

    public Pie3DSlice()

    Pie3DSlice.UpdateValue

    public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig)

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    Pie3DStyle.drawSplitSide

    public bool drawSplitSide
    +是否绘制分割面。当pieAutoHeight为true时,该值无效。

    Pie3DStyle.ellipseMinorAxis

    public float ellipseMinorAxis
    +椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。

    Pie3DStyle.endSideColorRate

    public float endSideColorRate
    +饼图切块的结束面颜色(顺时针)。

    Pie3DStyle.peripherySideColorRate

    public float peripherySideColorRate
    +饼图切块的侧面颜色。

    Pie3DStyle.pieAutoHeight

    public bool pieAutoHeight
    +是否自动根据比例计算厚度。

    Pie3DStyle.pieMaxHeight

    public float pieMaxHeight
    +饼图厚度。

    Pie3DStyle.selectedOffset

    public Vector2 selectedOffset
    +被选中状态的饼图块的额外偏移。

    Pie3DStyle.startSideColorRate

    public float startSideColorRate
    +饼图切块的起始面颜色(顺时针)。

    配置项手册

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    3D饼图系列。

    Pie3D.pie3DStyle

    Pie3DStyle

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    Pie3DStyle.drawSplitSide

    bool true v3.10.0

    是否绘制分割面。当pieAutoHeight为true时,该值无效。

    Pie3DStyle.ellipseMinorAxis

    float 0.65f

    椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。

    Pie3DStyle.endSideColorRate

    float 0.65f

    饼图切块的结束面颜色(顺时针)。

    Pie3DStyle.peripherySideColorRate

    float 0.8f

    饼图切块的侧面颜色。

    Pie3DStyle.pieAutoHeight

    bool false

    是否自动根据比例计算厚度。

    Pie3DStyle.pieMaxHeight

    float 20f

    饼图厚度。

    Pie3DStyle.selectedOffset

    Vector2 Vector2(0.1f, 0.5f)

    被选中状态的饼图块的额外偏移。

    Pie3DStyle.show

    bool true

    Pie3DStyle.startSideColorRate

    float 0.7f

    饼图切块的起始面颜色(顺时针)。

    + + \ No newline at end of file diff --git a/docs/pyramid/index.html b/docs/pyramid/index.html index 55dd1940..4f8364c5 100644 --- a/docs/pyramid/index.html +++ b/docs/pyramid/index.html @@ -14,14 +14,15 @@ PyramidChart 金字塔 | XCharts - - + +
    Version: v3.12.0

    PyramidChart 金字塔

    XCharts付费扩展图表 - 金字塔。

    截图

    Pyramid01Pyramid02Pyramid03

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-PyramidChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Pyramid的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.21) 增加Tooltip支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    PyramidChart

    class in XCharts.Runtime.Pyramids / 继承自: BaseChart

    API版本描述
    Default2DPyramidChart()public void Default2DPyramidChart()
    生成默认的2D金字塔图。

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    配置项手册

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    参数默认版本描述
    pyramidStylePyramidStyle

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    3Dtrue
    drawToptrue
    bottomPointRate0.5f3D模式下,底部中点占金字塔宽度的比例
    leftPointRate0.1f3D模式下,底部左边点占金字塔高度的比例
    rightPointRate0.1f3D模式下,底部右边点占金字塔高度的比例
    leftColorOpacity0.9f3D模式下,金字塔左边的颜色透明度
    rightColorOpacity0.7f3D模式下,金字塔右边的颜色透明度
    topColorOpacity0.99f3D模式下,金字塔顶部的颜色透明度
    labelLineMargin10fLabel标签距离右边的距离
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Pyramid的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.21) 增加Tooltip支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    Pyramid.defaultColorBy

    public override SerieColorBy defaultColorBy

    Pyramid.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    PyramidChart

    class in XCharts.Runtime.Pyramids / 继承自: BaseChart

    PyramidChart.Default2DPyramidChart

    public void Default2DPyramidChart()
    +生成默认的2D金字塔图。

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    PyramidStyle.drawTop

    public bool drawTop

    配置项手册

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    Pyramid.pyramidStyle

    PyramidStyle

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    PyramidStyle.3D

    bool true

    PyramidStyle.bottomPointRate

    float 0.5f

    3D模式下,底部中点占金字塔宽度的比例

    PyramidStyle.drawTop

    bool true

    PyramidStyle.labelLineMargin

    float 10f

    Label标签距离右边的距离

    PyramidStyle.leftColorOpacity

    float 0.9f

    3D模式下,金字塔左边的颜色透明度

    PyramidStyle.leftPointRate

    float 0.1f

    3D模式下,底部左边点占金字塔高度的比例

    PyramidStyle.rightColorOpacity

    float 0.7f

    3D模式下,金字塔右边的颜色透明度

    PyramidStyle.rightPointRate

    float 0.1f

    3D模式下,底部右边点占金字塔高度的比例

    PyramidStyle.show

    bool true

    PyramidStyle.topColorOpacity

    float 0.99f

    3D模式下,金字塔顶部的颜色透明度

    + + \ No newline at end of file diff --git a/docs/sankey/index.html b/docs/sankey/index.html index c1b1d0e8..b5517be8 100644 --- a/docs/sankey/index.html +++ b/docs/sankey/index.html @@ -14,14 +14,15 @@ SankeyChart 桑基图 | XCharts - - + +
    Version: v3.12.0

    SankeyChart 桑基图

    XCharts付费扩展图表 - 桑基图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.03.20) 增加Sankey的展开和折叠功能支持

    v3.10.0

    API

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    GetLevelItemStyle()public ItemStyle GetLevelItemStyle(int depth)
    GetLevelLabel()public LabelStyle GetLevelLabel(int depth)
    GetLevelLineStyle()public LineStyle GetLevelLineStyle(int depth)

    SankeyChart

    class in XCharts.Runtime.Sankeys / 继承自: BaseChart

    配置项手册

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    参数默认版本描述
    nodeAlign节点对齐方式。
    Sankey.NodeAlign:
    - Top: 顶部对齐
    - Center: 居中对齐
    - Bottom: 底部对齐
    nodeWidth20节点的宽度。
    nodeGap8节点的间距。
    draggable是否可拖拽。
    curveness0.5f线条的弯曲程度。
    collapsefalsev3.11.0是否开启折叠。
    collapseMutextruev3.11.0是否开启折叠互斥。
    collapseLevel-1v3.11.0折叠限制的层级。层级从0开始,-1表示不限制。
    defaultExpandDataIndex-1v3.11.0默认展开的数据索引。
    lineGradienttruev3.11.0是否开启线条渐变。开启后lineStyle的color将不生效。
    levelStyle层级样式。
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.03.20) 增加Sankey的展开和折叠功能支持

    v3.10.0

    API

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    Sankey.defaultColorBy

    public override SerieColorBy defaultColorBy

    Sankey.levelStyle

    public LevelStyle levelStyle
    +层级样式。

    Sankey.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    Sankey.GetLevelItemStyle

    public ItemStyle GetLevelItemStyle(int depth)

    Sankey.GetLevelLabel

    public LabelStyle GetLevelLabel(int depth)

    Sankey.GetLevelLineStyle

    public LineStyle GetLevelLineStyle(int depth)

    Sankey.NodeAlign

    class in XCharts.Runtime.Sankeys

    节点对齐方式。

    可选:

    • Top: 顶部对齐
    • Center: 居中对齐
    • Bottom: 底部对齐

    SankeyChart

    class in XCharts.Runtime.Sankeys / 继承自: BaseChart

    配置项手册

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    Sankey.collapse

    bool false v3.11.0

    是否开启折叠。

    Sankey.collapseLevel

    int -1 v3.11.0

    折叠限制的层级。层级从0开始,-1表示不限制。

    Sankey.collapseMutex

    bool true v3.11.0

    是否开启折叠互斥。

    Sankey.curveness

    float 0.5f

    线条的弯曲程度。

    Sankey.defaultExpandDataIndex

    int -1 v3.11.0

    默认展开的数据索引。

    Sankey.draggable

    bool

    是否可拖拽。

    Sankey.levelStyle

    LevelStyle

    层级样式。

    Sankey.lineGradient

    bool true v3.11.0

    是否开启线条渐变。开启后lineStyle的color将不生效。

    Sankey.nodeAlign

    Sankey.NodeAlign

    节点对齐方式。

    可选:

    • Top: 顶部对齐
    • Center: 居中对齐
    • Bottom: 底部对齐

    Sankey.nodeGap

    float 8

    节点的间距。

    Sankey.nodeWidth

    float 20

    节点的宽度。

    + + \ No newline at end of file diff --git a/docs/support/index.html b/docs/support/index.html index d3939e0b..64bcc5bc 100644 --- a/docs/support/index.html +++ b/docs/support/index.html @@ -14,8 +14,8 @@ 订阅服务 | XCharts - - + +
    @@ -26,7 +26,7 @@ 增加席位 企业VIP支持增加席位,每个席位298¥一年。
    对公转账 有开专票需求时,可用企业银行帐号进行公对公转账支付。二维码支付不支持开专票,只能开普票。发票默认都是电子发票。
    *登记资料 订阅成功后,需提供手机号和Github帐号进行登记,手机号用于确认归属,Github帐号用于加入Github的Team组织,下载源码。

    购买扩展图表

    扩展图表为另付费购买图表,只对订阅了VIP服务的用户开放购买。对于个人SVIP企业VIP的订阅用户,所有扩展图表仓库在订阅期间可全部免费使用,不用再单独购买。

    对所有已购买的扩展图表,源码可永久持有但不能传播,并获得持续一年的更新支持和技术服务,一年后如需更新支持等服务,可再继续订阅VIP服务。

    编号扩展图表扩展图表价格
    101象形柱图PictorialBarChart98¥
    102漏斗图FunnelChart98¥
    1033D金字塔PyramidChart98¥
    104树形矩图TreemapChart98¥
    105桑基图SankeyChart98¥
    2013D柱图Bar3DChart198¥
    2023D饼图Pie3DChart198¥
    203甘特图GanttChart198¥
    204仪表盘GaugeChart198¥
    205水位图LiquidChart198¥
    2063D折线图Line3DChart198¥
    207关系图GraphChart198¥

    扩展图表的在线效果图也可以查看WebGL在线Demo

    捐助支持

    如果这个项目对您有帮助,请右上方点 Star 予以支持!也欢迎扫后面的二维码进行任意金额的捐助,XCharts需要您的支持和帮助。

    二维码

    如果看不到二维码图片,可以加Q联系XCharts技术支持:3525422251或邮件monitor1394@gmail.com咨询。

    alipay-qrcode wechat-qrcode

    - - + + \ No newline at end of file diff --git a/docs/treemap/index.html b/docs/treemap/index.html index ef46cec5..63bce5d5 100644 --- a/docs/treemap/index.html +++ b/docs/treemap/index.html @@ -14,14 +14,22 @@ TreemapChart 矩形树图 | XCharts - - + +
    Version: v3.12.0

    TreemapChart 矩形树图

    XCharts付费扩展图表 - 矩形树图。

    截图

    Treemap01Treemap02Treemap03Treemap04

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-TreemapChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.2

    • (2023.11.08) 修复ItemStyle设置borderColor后边框绘制异常的问题

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    CanGoUpALevel()public bool CanGoUpALevel()
    是否可以返回上一层
    GetLevelItemStyle()public ItemStyle GetLevelItemStyle(int level)
    GetLevelLabel()public LabelStyle GetLevelLabel(int level)
    GetLevelUpperLabel()public LabelStyle GetLevelUpperLabel(int level)
    GoUpALevel()public void GoUpALevel()
    返回上一层
    OnDataUpdate()public override void OnDataUpdate()
    SetSelectedSerieData()public bool SetSelectedSerieData(string serieDataName)
    设置选中(要展示的)的数据名
    SetSelectedSerieData()public void SetSelectedSerieData(SerieData serieData)

    TreemapChart

    class in XCharts.Runtime.Treemaps / 继承自: BaseChart

    配置项手册

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    参数默认版本描述
    leafDepth0默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。
    visualDimension0用于计算占比的数据维数。
    drillDownIcon当节点可以下钻时的提示符,只能是字符。默认为▶
    customGoUpLevelButton自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。
    upperLabel父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。
    levelStyle
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.2

    • (2023.11.08) 修复ItemStyle设置borderColor后边框绘制异常的问题

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    Treemap.customGoUpLevelButton

    public GameObject customGoUpLevelButton
    +自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。

    Treemap.drillDownIcon

    public string drillDownIcon
    +当节点可以下钻时的提示符,只能是字符。默认为▶

    Treemap.leafDepth

    public int leafDepth
    +默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。

    Treemap.levelStyle

    public LevelStyle levelStyle

    Treemap.upperLabel

    public LabelStyle upperLabel
    +父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。

    Treemap.visualDimension

    public int visualDimension
    +用于计算占比的数据维数。

    Treemap.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    Treemap.CanGoUpALevel

    public bool CanGoUpALevel()
    +是否可以返回上一层

    Treemap.GetLevelItemStyle

    public ItemStyle GetLevelItemStyle(int level)

    Treemap.GetLevelLabel

    public LabelStyle GetLevelLabel(int level)

    Treemap.GetLevelUpperLabel

    public LabelStyle GetLevelUpperLabel(int level)

    Treemap.GoUpALevel

    public void GoUpALevel()
    +返回上一层

    Treemap.OnDataUpdate

    public override void OnDataUpdate()

    Treemap.SetSelectedSerieData

    public bool SetSelectedSerieData(string serieDataName)
    +设置选中(要展示的)的数据名

    TreemapChart

    class in XCharts.Runtime.Treemaps / 继承自: BaseChart

    配置项手册

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    Treemap.customGoUpLevelButton

    GameObject

    自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。

    Treemap.drillDownIcon

    string

    当节点可以下钻时的提示符,只能是字符。默认为▶

    Treemap.leafDepth

    int 0

    默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。

    Treemap.levelStyle

    LevelStyle

    Treemap.upperLabel

    LabelStyle

    父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。

    Treemap.visualDimension

    int 0

    用于计算占比的数据维数。

    + + \ No newline at end of file diff --git a/docs/tutorial01/index.html b/docs/tutorial01/index.html index 1a31eba3..3b229f3e 100644 --- a/docs/tutorial01/index.html +++ b/docs/tutorial01/index.html @@ -13,17 +13,17 @@ -入门教程:5分钟上手 XCharts 3.0 | XCharts - - +入门教程:5分钟上手 XCharts 3.0 | XCharts + +
    -
    Version: v3.12.0

    教程:5分钟上手 XCharts 3.0

    注:本教程适用XCharts 3.x版本,2.x版本请看 教程:5分钟上手XCharts 2.0

    使用 XCharts 前需要掌握什么

    • 会简单使用Unity
    • 了解UGUI,会使用UGUI
    • 了解Unity的MonoBehavior脚本用法,知道怎么挂脚本,用代码操作脚本

    获取和导入 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下加入:

          "com.monitor1394.xcharts": "https://github.com/XCharts-Team/XCharts.git#3.0",

      如需更新XCharts,删除manifest.json文件(部分Unity版本可能是packages-lock.json文件)的lock下的com.monitor1394.xcharts相关内容即会重新下载编译。

    • 建议先导入XCharts的守护程序(非必须)

      守护程序XCharts-Daemon可以确保更新时编译正常,当本地开启TextMeshPro或NewInputSystem时将会非常有用。将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地TMP等的开启情况刷新asmdef,确保编译正常,不用手动去解决,方便CI-CD等自动化流程执行。

    添加一个简单图表

    Hierarchy视图下右键UI->XCharts->LineChart或菜单栏GameObject下拉选择XCharts->LineChart,即可快速创建一个默认的折线图出来:

    linechart1

    添加多个Seire

    Inspector视图,找到LineChart的面板,通过Add Serie按钮,可以添加第二条Line折线:

    op_addserie -linechart2

    添加其他组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件按需额外添加。比如,需要给折线图区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent -linechart3

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加Component。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent -linechart4

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个至几十个不等的可配置参数,以支持各种灵活而复杂的功能。

    首次使用XCharts,可在 Inspector 视图添加各种图表,给图表添加或调整里面组件,Game 视图会实时反馈调整后的效果,以熟悉各种组件的使用。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是配置和数据来驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不需要去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时还原回来。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    通常颜色值为0000时表示用主题默认颜色,配置为0或null时表示用主题默认配置。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.EnsureChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.EnsureChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.EnsureChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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;

    清空默认数据,添加Line类型的Serie用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    用代码改图表参数

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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;

    注:低版本没有EnsureChartComponent()接口时,用GetOrAddChartComponent()

    改Serie的参数

    对于新添加的Serie:

    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:

    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添加额外组件:

    serie.EnsureComponent<AreaStyle>();

    var label = serie1.EnsureComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    - - +
    Version: v3.12.0

    教程:5分钟上手 XCharts 3.0

    Note:本教程仅适用XCharts 3.x版本,2.x版本请看 教程:5分钟上手XCharts 2.0

    XCharts的前提条件

    XCharts是一个Unity图表插件,目前只能在Unity平台使用。

    使用XCharts前,你需要:

    • 掌握Unity的基本用法。
    • 掌握UGUI制作UI的基本用法。
    • 了解Unity的MonoBehavior脚本用法,知道怎么挂脚本和用代码操作脚本。

    如果你刚接触Unity,建议先学习Unity相关的基础教程再使用XCharts。

    XCharts的获取和导入

    XCharts主要通过Github来维护更新和发布,可以到【Github主页】(https://github.com/XCharts-Team)进行下载获取源码和Pacakge;对于无Github访问条件的用户,可以访问[【国内镜像】](https://gitee.com/monitor1394/unity-ugui-XCharts)进行下载。国内镜像的版本更新可能会相对滞后。

    XCharts可通过以下任意一种方式导入到你的项目:

    直接将XCharts源码拷贝到项目

    下载好XCharts源码后,直接将XCharts目录拷贝到Unity项目工程的Assets目录下。编译通过后即可使用。

    通过Import Package导入XCharts

    下载好XCharts的.unitypackage文件后,打开Unity,菜单栏 Assets-->Import Package-->选中下载好的.unitypackage进行导入。导入完成并通过编译后即可开始使用XCharts。

    通过Package Manager导入XCharts

    对于2018.3以上的Unity版本,可通过Package Manager来导入XCharts,打开Package Manager后,通过 Add package form git URL...,输入XCharts的GitHub URL: https://github.com/XCharts-Team/XCharts.git 编译通过后即可使用XCharts。

    对于部分Unity版本,也可以直接将package加入到manifest.json文件:打开Packages目录下的manifest.json文件,在dependencies下加入:

    "com.monitor1394.xcharts": "https://github.com/XCharts-Team/XCharts.git",

    如需更新XCharts,删除manifest.json文件(部分Unity版本可能是packages-lock.json文件)的lock下的com.monitor1394.xcharts相关内容即会重新下载编译。

    建议导入XCharts的守护程序

    守护程序XCharts-Daemon可以确保更新时编译正常,当本地开启TextMeshPro或NewInputSystem时将会非常有用。将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地TMP等的开启情况刷新XCharts的asmdef,确保编译正常,不用手动去解决,方便CI/CD等自动化流程执行。

    XCharts-Daemon的导入方式可参考刚才的XCharts导入方式。可以通过源码或Package的方式导入项目,XCharts-Daemon的Github URL:https://github.com/XCharts-Team/XCharts-Daemon.git

    XCharts的基本使用

    导入XCharts并编译通过后,Unity编辑器的菜单栏会显示XCharts,这时可以开始使用XCharts了。

    Note:Unity的菜单栏出现XCharts菜单时才表示XCharts可用。

    添加一个简单图表

    Hierarchy视图下右键UI->XCharts->LineChart或菜单栏XCharts下拉选择LineChart,即可快速创建一个默认的折线图:

    linechart1

    如需在某个节点下创建图表,可以选中节点右键UI->XCharts->LineChart即可在节点下创建图表。

    修改图表数据

    刚创建的图表,它的数据可以在Inspector视图面板上进行修改。

    对于X轴数据,可通过:XAxis->Data展开后进行增删和修改:

    op_axisdata

    对于Serie数据,可通过:Serie->Data展开后进行增删和修改:

    op_seriedata

    Serie支持多维数据,一般折线图只用到二维数据:第一维表示X轴类目数据的编号,第二维表示对应的数值。

    添加多个Seire

    Inspector视图,找到LineChart的面板,通过Add Serie按钮,可以添加第二条Line折线:

    op_addserie +linechart2

    Note:Serie通过Add Serie按钮添加。可添加不同类型的Serie。XCharts有哪些Serie?

    添加其他主组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    Note:主组件通过Add Component按钮添加。XCharts有哪些主组件?

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件用到时需额外添加。比如,需要给折线图进行区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent +linechart3

    Note:Serie组件通过Serie右边的按钮添加。XCharts有哪些Serie组件?

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加组件。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent +linechart4

    Note:SerieData组件通过展开SerieData后Component右边的按钮添加。XCharts有哪些SerieData组件?

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个到几十个的可配置参数,用来支持多样化的功能。

    首次使用XCharts,建议亲自去测试下各个图表各个组件的实际效果。Inspector 视图可以直接添加各种图表,各种组件以及调整各个配置参数,Game 视图会实时反馈调整后的效果。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是数据和参数驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不能去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时被还原掉。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    Note:通常颜色值为0000时表示用主题默认颜色;其他参数为0或null时表示用主题默认配置;设置颜色时注意透明度。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.EnsureChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.EnsureChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.EnsureChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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;

    清空所有默认数据(包含Serie),添加Line类型的Serie用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    如果Serie是固定的,建议只是清空数据,不用把Serie也清掉:

    chart.ClearData();

    这样可以提前在UI上设置好Serie的配置参数。

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。

    记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    设置默认字体

    XCharts默认使用的是Unity默认字体Arial,在WebGL平台上可能无法显示中文。在将XCharts用在你的项目时,建议先设置好字体:

    • 找到XCharts/Resources/XCSetting.asset资源,修改里面的Font并保存。
    • 找到XCharts/Resources/XCTheme-Default.assetXCharts/Resources/XCTheme-Default.asset两个字体配置,点击Sync Font from SettingSync Font to Sub Theme按钮将字体同步到主题配置文件上。

    字体设置好后,新创建的图表就会用新设置的字体了。对于旧图表,可以点击Rebuild Chart Object进行刷新。

    Note:使用XCharts前建议先设置好字体;更新XCharts时注意设置的字体可能被还原的问题。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    XCharts的代码控制

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    Note:用API去操作数据和各种list,而不是直接访问list进行处理

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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;

    注:低版本没有EnsureChartComponent()接口时,用GetOrAddChartComponent()

    改Serie的参数

    对于新添加的Serie:

    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:

    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添加额外组件:

    serie.EnsureComponent<AreaStyle>();

    var label = serie1.EnsureComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    + + \ No newline at end of file diff --git a/docs/tutorial02/index.html b/docs/tutorial02/index.html index e722270b..5489469d 100644 --- a/docs/tutorial02/index.html +++ b/docs/tutorial02/index.html @@ -14,13 +14,13 @@ 从文件或数据库读取数据显示图表 | XCharts - - + + - - + + \ No newline at end of file diff --git a/docs/tutorial03/index.html b/docs/tutorial03/index.html index 2c60ac97..a823053c 100644 --- a/docs/tutorial03/index.html +++ b/docs/tutorial03/index.html @@ -14,13 +14,13 @@ 心电图效果实现 | XCharts - - + + - - + + \ No newline at end of file diff --git a/docs/ui/index.html b/docs/ui/index.html index afb30446..65c494bf 100644 --- a/docs/ui/index.html +++ b/docs/ui/index.html @@ -14,13 +14,13 @@ 扩展UI组件 | XCharts - - + +
    -
    Version: v3.12.0

    扩展UI组件

    XCharts的扩展UI组件,VIP订阅用户专有。

    组件列表

    示例演示

    Demo仓库:XCharts-UI-Demo

    如何使用

    • 使用该仓库前先确保项目里已有对应版本的XCharts。
    • 下载本仓库放入Assets下或者通过Package Manager导入。

    更新日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.16) 增加UIImage图片组件
    • (2024.01.16) 优化Background组件,可设置圆角和边框
    • (2024.01.03) 增加UITablecarouselStylehoverPause
    • (2024.01.02) 增加UITablescrollStyleborderStyle
    • (2024.01.02) 增加UITablecolumnHeadStyleopaque
    • (2024.01.01) 调整UITableborder边框相关设置,用BorderStyle代替
    • (2023.12.22) 增加UITable的行边框

    v3.9.0

    • (2023.11.14) 增加UITableGetData()GetContent()接口
    • (2023.11.12) 增加UITableonTableClick点击表格回调
    • (2023.11.11) 重构UITableSeparatorStyle,可分开设置行列的分割线
    • (2023.11.05) 增加UITableColumnStyle,重构Column相关参数
    • (2023.11.05) 增加UITableRowStyle,重构Row相关参数
    • (2023.11.01) 增加UITableCarouselStyle轮播功能
    • (2023.11.01) 增加UITableAddColumn()UpdateColumn()接口
    • (2023.10.23) 修复UITable点击Rebuild Object异常的问题
    • (2023.10.23) 修复UITable尺寸变化时不刷新的问题
    • (2023.10.17) 修复UITable首次初始化异常的问题
    • (2023.10.17) 增加UITable的数据操作接口
    • (2023.10.17) 增加UITableRefreshTable()刷新接口

    v3.8.0

    • (2023.09.03) 发布v3.8.0版本
    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 增加UIStatistic
    • (2023.02.14) 增加UITable
    - - +
    Version: v3.12.0

    扩展UI组件

    XCharts的扩展UI组件,VIP订阅用户专有。

    组件列表

    示例演示

    Demo仓库:XCharts-UI-Demo

    如何使用

    • 使用该仓库前先确保项目里已有对应版本的XCharts。
    • 下载本仓库放入Assets下或者通过Package Manager导入。

    更新日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.16) 增加UIImage图片组件
    • (2024.01.16) 优化Background组件,可设置圆角和边框
    • (2024.01.03) 增加UITablecarouselStylehoverPause
    • (2024.01.02) 增加UITablescrollStyleborderStyle
    • (2024.01.02) 增加UITablecolumnHeadStyleopaque
    • (2024.01.01) 调整UITableborder边框相关设置,用BorderStyle代替
    • (2023.12.22) 增加UITable的行边框

    v3.9.0

    • (2023.11.14) 增加UITableGetData()GetContent()接口
    • (2023.11.12) 增加UITableonTableClick点击表格回调
    • (2023.11.11) 重构UITableSeparatorStyle,可分开设置行列的分割线
    • (2023.11.05) 增加UITableColumnStyle,重构Column相关参数
    • (2023.11.05) 增加UITableRowStyle,重构Row相关参数
    • (2023.11.01) 增加UITableCarouselStyle轮播功能
    • (2023.11.01) 增加UITableAddColumn()UpdateColumn()接口
    • (2023.10.23) 修复UITable点击Rebuild Object异常的问题
    • (2023.10.23) 修复UITable尺寸变化时不刷新的问题
    • (2023.10.17) 修复UITable首次初始化异常的问题
    • (2023.10.17) 增加UITable的数据操作接口
    • (2023.10.17) 增加UITableRefreshTable()刷新接口

    v3.8.0

    • (2023.09.03) 发布v3.8.0版本
    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 增加UIStatistic
    • (2023.02.14) 增加UITable
    + + \ No newline at end of file diff --git a/docs/v3.10.2/about/index.html b/docs/v3.10.2/about/index.html index f2b19272..d678932d 100644 --- a/docs/v3.10.2/about/index.html +++ b/docs/v3.10.2/about/index.html @@ -14,8 +14,8 @@ 关于XCharts | XCharts - - + +
    @@ -31,7 +31,7 @@ 答:XCharts只支持在Unity平台使用。理论上任何支持UGUIUnity版本都能运行XCharts

  • 锯齿怎么解决?支持多大量级的数据?
    答:XCharts是基于UGUI实现的,所以UGUI中碰到的问题,在XCharts中也会存在。比如锯齿问题,比如Mesh顶点数超65535的问题。这两个问题的解决可参考问答16问答27
    由于Mesh65535顶点数的限制,目前XCharts的单条Line支持约2万的数据量,当然开启采样可以支持更多数据的绘制,但同时也会更消耗CPU。

  • 日志

    Licenses

    • MIT License
    • 可免费商用,可二次开发。
    • 扩展图表和高级功能部分需购买使用授权。

    订阅

    • XCharts核心库是开源的,可免费使用的。在此基础上,我们也提供多种订阅服务以满足不同用户的需求,订阅详情☞ 请看这里
    • 订阅不是必须的,不影响XCharts的核心功能使用。
    • 订阅是按年付费,订阅到期后,不要求必须续订,但中断订阅期间无法享受技术更新和支持等服务。

    其他

    • 邮箱:monitor1394@gmail.com
    • QQ群:XCharts交流群(202030963
    • VIP群:XCharts VIP群(867291970
    • 捐助、合作、订阅和技术支持:☞ 请看这里
    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/api/index.html b/docs/v3.10.2/api/index.html index bad58d8c..94124fea 100644 --- a/docs/v3.10.2/api/index.html +++ b/docs/v3.10.2/api/index.html @@ -14,13 +14,13 @@ API手册 | XCharts - - + +
    Version: v3.10.2

    API手册

    所有类

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    API版本描述
    GetValueAngle()public float GetValueAngle(double value)
    GetValueAngle()public float GetValueAngle(float value)
    SetDefaultValue()public override void SetDefaultValue()

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    AngleAxisTheme()public AngleAxisTheme(ThemeType theme) : base(theme) { }

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn,AnimationFadeOut,AnimationChange,AnimationAddition,AnimationHiding,AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    API版本描述
    End()public void End()
    结束动画。
    GetIndexDelay()public float GetIndexDelay(int dataIndex)
    获取动画延迟。
    Init()public bool Init(float curr, float dest, int totalPointIndex)
    初始化动画。
    IsFinish()public bool IsFinish()
    动画是否结束。
    IsInDelay()public bool IsInDelay()
    动画是否在延迟中。
    IsInIndexDelay()public bool IsInIndexDelay(int dataIndex)
    动画是否在索引延迟中。
    Pause()public void Pause()
    暂停动画。
    Reset()public void Reset()
    重置动画。
    Resume()public void Resume()
    恢复动画。
    Start()public void Start(bool reset = true)
    开始动画。

    AnimationInfoContext

    class in XCharts.Runtime

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    API版本描述
    GetOffset()public float GetOffset()
    GetOffset()public float GetOffset(float total)
    GetRadius()public float GetRadius(float radius)
    GetWidth()public float GetWidth(float width)

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    API版本描述
    Addition()public void Addition()
    开始数据新增动画。
    CanCheckInteract()public bool CanCheckInteract()
    CheckDetailBreak()public bool CheckDetailBreak(float detail)
    CheckDetailBreak()public bool CheckDetailBreak(Vector3 pos, bool isYAxis)
    CheckProgress()public void CheckProgress()
    CheckProgress()public void CheckProgress(double total)
    CheckSymbol()public void CheckSymbol(float dest)
    FadeIn()public void FadeIn()
    开始渐入动画。
    FadeOut()public void FadeOut()
    开始渐出动画。
    GetAdditionDuration()public float GetAdditionDuration()
    GetChangeDuration()public float GetChangeDuration()
    GetCurrDetail()public float GetCurrDetail()
    GetCurrIndex()public int GetCurrIndex()
    GetCurrRate()public float GetCurrRate()
    GetInteractionDuration()public float GetInteractionDuration()
    GetInteractionRadius()public float GetInteractionRadius(float radius)
    GetSysmbolSize()public float GetSysmbolSize(float dest)
    HasFadeOut()public bool HasFadeOut()
    InitProgress()public void InitProgress(float curr, float dest)
    初始化动画配置。
    InitProgress()public void InitProgress(List<Vector3> paths, bool isY)
    初始化动画配置。
    IsDataAnimation()public bool IsDataAnimation()
    是否为数据动画。BottomToTop和InsideOut类型的为数据动画。
    IsEnd()public bool IsEnd()
    IsFadeIn()public bool IsFadeIn()
    IsFadeOut()public bool IsFadeOut()
    IsFinish()public bool IsFinish()
    IsInDelay()public bool IsInDelay()
    IsSerieAnimation()public bool IsSerieAnimation()
    是否为系列动画。LeftToRight、AlongPath和Clockwise类型的为系列动画。
    Pause()public void Pause()
    暂停所有动画。
    Reset()public void Reset()
    Reset all animations.
    Restart()public void Restart()
    重启当前激活的动画。
    Resume()public void Resume()
    恢复所有动画。

    AnimationStyleHelper

    class in XCharts.Runtime

    API版本描述
    CheckDataAnimation()public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)
    GetAnimationPosition()public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip)
    UpdateAnimationType()public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType, bool enableSerieDataAnimation)
    UpdateSerieAnimation()public static void UpdateSerieAnimation(Serie serie)

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    区域填充样式。

    API版本描述
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 themeColor)

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Clone()public ArrowStyle Clone()
    Copy()public void Copy(ArrowStyle arrow)
    GetColor()public Color32 GetColor(Color32 defaultColor)

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis,ParallelAxis,RadiusAxis,SingleAxis,XAxis,YAxis

    直角坐标系的坐标轴组件。

    API版本描述
    AddData()public void AddData(string category)
    添加一个类目到类目数据列表
    AddIcon()public void AddIcon(Sprite icon)
    添加图标
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空类目数据
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public Axis Clone()
    Copy()public void Copy(Axis axis)
    GetAddedDataCount()public int GetAddedDataCount()
    获得添加过的历史数据总数
    GetData()public string GetData(int index)
    获得指定索引的类目数据
    GetData()public string GetData(int index, DataZoom dataZoom)
    获得在dataZoom范围内指定索引的类目数据
    GetDistance()public float GetDistance(double value, float axisLength)
    获得值在坐标轴上的距离
    GetIcon()public Sprite GetIcon(int index)
    GetLabelValue()public double GetLabelValue(int index)
    GetLastLabelValue()public double GetLastLabelValue()
    GetLogMaxIndex()public double GetLogMaxIndex()
    GetLogMinIndex()public double GetLogMinIndex()
    GetLogValue()public float GetLogValue(double value)
    GetValueLength()public float GetValueLength(double value, float axisLength)
    IsBottom()public bool IsBottom()
    IsCategory()public bool IsCategory()
    是否为类目轴。
    IsLeft()public bool IsLeft()
    IsLog()public bool IsLog()
    是否为对数轴。
    IsNeedShowLabel()public bool IsNeedShowLabel(int index, int total = 0)
    IsRight()public bool IsRight()
    IsTime()public bool IsTime()
    是否为时间轴。
    IsTop()public bool IsTop()
    IsValue()public bool IsValue()
    是否为数值轴。
    RemoveData()public void RemoveData(int dataIndex)
    SetComponentDirty()public override void SetComponentDirty()
    SetNeedUpdateFilterData()public void SetNeedUpdateFilterData()
    UpdateData()public void UpdateData(int index, string category)
    更新类目数据
    UpdateIcon()public void UpdateIcon(int index, Sprite icon)
    更新图标
    UpdateZeroOffset()public void UpdateZeroOffset(float axisLength)

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    API版本描述
    Clone()public AxisAnimation Clone()
    Copy()public void Copy(AxisAnimation animation)

    AxisContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    AxisHandler<T>

    class in XCharts / 继承自: MainComponentHandler

    AxisHelper

    class in XCharts.Runtime

    API版本描述
    AdjustCircleLabelPos()public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    AdjustMinMaxValue()public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
    调整最大最小值
    AdjustRadiusAxisLabelPos()public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    GetAxisLineArrowOffset()public static float GetAxisLineArrowOffset(Axis axis)
    包含箭头偏移的轴线长度
    GetAxisPosition()public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)
    GetAxisPositionValue()public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)
    GetAxisPositionValue()public static double GetAxisPositionValue(GridCoord grid, Axis axis, Vector3 pos)
    GetAxisValueDistance()public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上相对起点的距离
    GetAxisValueLength()public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上对应的长度
    GetAxisValuePosition()public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上的坐标位置
    GetAxisValueSplitIndex()public static int GetAxisValueSplitIndex(Axis axis, double value, bool checkMaxCache, int totalSplitNumber = -1)
    获得数值value在坐标轴上对应的split索引
    GetAxisXOrY()public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)
    GetDataWidth()public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
    获得一个类目数据在坐标系中代表的宽度
    GetEachWidth()public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    GetScaleNumber()public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    获得分割线条数
    GetScaleWidth()public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
    获得分割段宽度
    GetSplitNumber()public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
    获得分割段数
    GetTotalSplitGridNum()public static int GetTotalSplitGridNum(Axis axis)
    获得分割网格个数,包含次刻度
    GetXAxisXOrY()public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)
    GetYAxisXOrY()public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)
    NeedShowSplit()public static bool NeedShowSplit(Axis axis)

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    Clone()public new AxisLabel Clone()
    Copy()public void Copy(AxisLabel axisLabel)
    GetFormatterContent()public override string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
    GetFormatterContent()public override string GetFormatterContent(int labelIndex, string category)
    IsNeedShowLabel()public bool IsNeedShowLabel(int index, int total)
    SetRelatedText()public void SetRelatedText(ChartText txt, float labelWidth)

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    API版本描述
    Clone()public AxisLine Clone()
    Copy()public void Copy(AxisLine axisLine)

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisMinorSplitLine Clone()
    Copy()public void Copy(AxisMinorSplitLine splitLine)

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisMinorTick Clone()
    Copy()public void Copy(AxisMinorTick axisTick)

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    API版本描述
    Clone()public AxisName Clone()
    Copy()public void Copy(AxisName axisName)

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    API版本描述
    Clone()public AxisSplitArea Clone()
    Copy()public void Copy(AxisSplitArea splitArea)
    GetColor()public Color32 GetColor(int index, BaseAxisTheme theme)

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisSplitLine Clone()
    Copy()public void Copy(AxisSplitLine splitLine)

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    AxisTheme()public AxisTheme(ThemeType theme) : base(theme) { }

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    API版本描述
    Clone()public AxisTick Clone()
    Copy()public void Copy(AxisTick axisTick)

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    Bar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Bar ConvertSerie(Serie serie)

    BarChart

    class in XCharts.Runtime / 继承自: BaseChart

    柱状图(或称条形图)是一种通过柱形的高度(横向的情况下则是宽度)来表现数据大小的一种常用图表类型。

    API版本描述
    DefaultBarChart()public void DefaultBarChart()
    默认条形图。
    DefaultCapsuleBarChart()public void DefaultCapsuleBarChart()
    默认胶囊条形图。
    DefaultCapsuleColumnChart()public void DefaultCapsuleColumnChart()
    胶囊柱状图。
    DefaultGroupedBarChart()public void DefaultGroupedBarChart()
    默认分组条形图。
    DefaultGroupedColumnChart()public void DefaultGroupedColumnChart()
    默认分组柱状图。
    DefaultPercentBarChart()public void DefaultPercentBarChart()
    默认百分比条形图。
    DefaultPercentColumnChart()public void DefaultPercentColumnChart()
    默认百分比柱状图。
    DefaultStackedBarChart()public void DefaultStackedBarChart()
    默认堆叠条形图。
    DefaultStackedColumnChart()public void DefaultStackedColumnChart()
    默认堆叠分组柱状图。
    DefaultZebraBarChart()public void DefaultZebraBarChart()
    默认斑马条形图。
    DefaultZebraColumnChart()public void DefaultZebraColumnChart()
    斑马柱状图。

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme,RadiusAxisTheme,AngleAxisTheme,PolarAxisTheme,RadarAxisTheme

    API版本描述
    BaseAxisTheme()public BaseAxisTheme(ThemeType theme) : base(theme)
    Copy()public void Copy(BaseAxisTheme theme)

    BaseChart

    class in XCharts.Runtime / 继承自: BaseGraph,ISerializationCallbackReceiver / 子类: BarChart,CandlestickChart,HeatmapChart,LineChart,ParallelChart,PieChart,PolarChart,RadarChart,RingChart,ScatterChart,SimplifiedBarChart,SimplifiedCandlestickChart,SimplifiedLineChart

    API版本描述
    onAxisPointerValueChangedpublic Action<Axis, double> onAxisPointerValueChanged
    坐标轴变更数据索引时回调。参数:axis, dataIndex/dataValue
    onDrawpublic Action<VertexHelper> onDraw
    自定义绘制回调。在绘制Serie前调用。
    onDrawAfterSeriepublic Action<VertexHelper, Serie> onDrawAfterSerie
    自定义Serie绘制回调。在每个Serie绘制完后调用。
    onDrawBeforeSeriepublic Action<VertexHelper, Serie> onDrawBeforeSerie
    自定义Serie绘制回调。在每个Serie绘制完前调用。
    onDrawToppublic Action<VertexHelper> onDrawTop
    自定义Top层绘制回调。在绘制Tooltip前调用。
    onDrawUpperpublic Action<VertexHelper> onDrawUpper
    自定义Upper层绘制回调。在绘制Tooltip前调用。
    onInitpublic Action onInit
    图表的初始化完成回调。
    onLegendClickpublic Action<Legend, int, string, bool> onLegendClick
    点击图例按钮回调。参数:legendIndex, legendName, show
    onLegendEnterpublic Action<Legend, int, string> onLegendEnter
    鼠标进入图例回调。参数:legendIndex, legendName
    onLegendExitpublic Action<Legend, int, string> onLegendExit
    鼠标退出图例回调。参数:legendIndex, legendName
    onPointerClickBarpublic Action<PointerEventData, int> onPointerClickBar
    点击柱形图柱条回调。参数:eventData, dataIndex
    onPointerClickPiepublic Action<PointerEventData, int, int> onPointerClickPie
    点击饼图区域回调。参数:PointerEventData,SerieIndex,SerieDataIndex
    onPointerEnterPiepublic Action<int, int> onPointerEnterPie
    鼠标进入和离开饼图区域回调,SerieDataIndex为-1时表示离开。参数:PointerEventData,SerieIndex,SerieDataIndex
    onSerieClickv3.6.0public Action<SerieEventData> onSerieClick
    鼠标点击Serie回调。
    onSerieDownv3.6.0public Action<SerieEventData> onSerieDown
    鼠标按下Serie回调。
    onSerieEnterv3.6.0public Action<SerieEventData> onSerieEnter
    鼠标进入Serie回调。
    onSerieExitv3.6.0public Action<SerieEventData> onSerieExit
    鼠标离开Serie回调。
    onUpdatepublic Action onUpdate
    图表的Update回调。
    AddChartComponent()public MainComponent AddChartComponent(Type type)
    AddChartComponent<T>()public T AddChartComponent<T>() where T : MainComponent
    AddChartComponentWhenNoExist<T>()public T AddChartComponentWhenNoExist<T>() where T : MainComponent
    AddData()public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
    添加一个数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(string serieName, double data, string dataName = null, string dataId = null)
    If serieName doesn't exist in legend,will be add to legend.
    AddData()public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddLink()public SerieDataLink AddLink(int serieIndex, string sourceName, string targetName, double value)
    添加一个关系图的关系数据。
    AddSerie<T>()public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie
    AddXAxisData()public void AddXAxisData(string category, int xAxisIndex = 0)
    添加一个类目数据到指定的x轴。
    AddXAxisIcon()public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
    添加一个图标到指定的x轴。
    AddYAxisData()public void AddYAxisData(string category, int yAxisIndex = 0)
    添加一个类目数据到指定的y轴。
    AddYAxisIcon()public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
    添加一个图标到指定的y轴。
    AnimationEnable()public void AnimationEnable(bool flag)
    是否启用Serie动画。
    AnimationFadeIn()public void AnimationFadeIn(bool reset = true)
    开始所有Serie的渐入动画。
    AnimationFadeOut()public void AnimationFadeOut()
    开始所有Serie的渐出动画。
    AnimationPause()public void AnimationPause()
    暂停所有Serie的动画。
    AnimationReset()public void AnimationReset()
    重置所有Serie的动画。
    AnimationResume()public void AnimationResume()
    继续所有Serie的动画。
    CanAddChartComponent()public bool CanAddChartComponent(Type type)
    CanAddSerie()public bool CanAddSerie(Type type)
    CanAddSerie<T>()public bool CanAddSerie<T>() where T : Serie
    CancelTooltip()v3.7.0public void CancelTooltip()
    取消Tooltip.
    CanMultipleComponent()public bool CanMultipleComponent(Type type)
    ClampInChart()public void ClampInChart(ref Vector3 pos)
    ClampInGrid()public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)
    ClearComponentData()v3.4.0public virtual void ClearComponentData()
    清空所有组件的数据。
    ClearData()public virtual void ClearData()
    清空所有组件和Serie的数据。注意:Serie只是清空数据,不会移除Serie。
    ClearSerieData()v3.4.0public virtual void ClearSerieData()
    清空所有serie的数据。
    ClearSerieLinks()v3.10.0public virtual void ClearSerieLinks()
    清空所有serie的link数据。
    ClickLegendButton()public void ClickLegendButton(int legendIndex, string legendName, bool show)
    点击图例按钮
    ConvertSerie()public bool ConvertSerie(Serie serie, Type type)
    ConvertSerie<T>()public bool ConvertSerie<T>(Serie serie) where T : Serie
    ConvertXYAxis()public void ConvertXYAxis(int index)
    转换X轴和Y轴的配置
    EnsureChartComponent<T>()v3.6.0public T EnsureChartComponent<T>() where T : MainComponent
    确保图表有该组件,如果没有则添加。注意:有可能添加不成功。
    GenerateDefaultSerieName()public string GenerateDefaultSerieName()
    GetAllSerieDataCount()public int GetAllSerieDataCount()
    GetChartBackgroundColor()public Color32 GetChartBackgroundColor()
    GetChartComponent<T>()public T GetChartComponent<T>(int index = 0) where T : MainComponent
    GetChartComponentNum()public int GetChartComponentNum(Type type)
    GetChartComponentNum<T>()public int GetChartComponentNum<T>() where T : MainComponent
    GetChartComponents<T>()public List<MainComponent> GetChartComponents<T>() where T : MainComponent
    GetData()public double GetData(int serieIndex, int dataIndex, int dimension = 1)
    GetData()public double GetData(string serieName, int dataIndex, int dimension = 1)
    GetDataZoomOfAxis()public DataZoom GetDataZoomOfAxis(Axis axis)
    GetDataZoomOfSerie()public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)
    GetGrid()public GridCoord GetGrid(Vector2 local)
    GetGridOfDataZoom()public GridCoord GetGridOfDataZoom(DataZoom dataZoom)
    GetItemColor()public Color32 GetItemColor(Serie serie)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)
    GetLegendRealShowNameColor()public Color32 GetLegendRealShowNameColor(string name)
    GetLegendRealShowNameIndex()public int GetLegendRealShowNameIndex(string name)
    GetMarkColor()v3.4.0public Color32 GetMarkColor(Serie serie, SerieData serieData)
    获得Serie的标识颜色。
    GetOrAddChartComponent<T>()public T GetOrAddChartComponent<T>() where T : MainComponent
    GetPainter()public Painter GetPainter(int index)
    GetSerie()public Serie GetSerie(int serieIndex)
    GetSerie()public Serie GetSerie(string serieName)
    GetSerie<T>()public T GetSerie<T>() where T : Serie
    GetSerie<T>()public T GetSerie<T>(int serieIndex) where T : Serie
    GetSerieBarGap<T>()public float GetSerieBarGap<T>() where T : Serie
    GetSerieBarRealCount<T>()public int GetSerieBarRealCount<T>() where T : Serie
    GetSerieIndexIfStack<T>()public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie
    GetSerieSameStackTotalValue<T>()public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie
    GetSeriesMinMaxValue()public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    GetSerieTotalGap<T>()public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie
    GetSerieTotalWidth<T>()public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie
    GetTitlePosition()public Vector3 GetTitlePosition(Title title)
    GetVisualMapOfSerie()public VisualMap GetVisualMapOfSerie(Serie serie)
    GetXDataZoomOfSerie()public DataZoom GetXDataZoomOfSerie(Serie serie)
    GetXLerpColor()public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    GetYLerpColor()public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    HasChartComponent()public bool HasChartComponent(Type type)
    HasChartComponent<T>()public bool HasChartComponent<T>()
    HasSerie()public bool HasSerie(Type type)
    HasSerie<T>()public bool HasSerie<T>() where T : Serie
    Init()public void Init(bool defaultChart = true)
    InitAxisRuntimeData()public virtual void InitAxisRuntimeData(Axis axis) { }
    InsertSerie()public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)
    InsertSerie<T>()public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie
    Internal_CheckAnimation()public void Internal_CheckAnimation()
    IsActiveByLegend()public virtual bool IsActiveByLegend(string legendName)
    获得指定图例名字的系列是否显示。
    IsAllAxisCategory()public bool IsAllAxisCategory()
    纯类目轴。
    IsAllAxisValue()public bool IsAllAxisValue()
    纯数值坐标轴(数值轴或对数轴)。
    IsInAnyGrid()public bool IsInAnyGrid(Vector2 local)
    IsInChart()public bool IsInChart(float x, float y)
    IsInChart()public bool IsInChart(Vector2 local)
    坐标是否在图表范围内
    IsSerieName()public bool IsSerieName(string name)
    MoveDownSerie()public bool MoveDownSerie(int serieIndex)
    MoveUpSerie()public bool MoveUpSerie(int serieIndex)
    OnAfterDeserialize()public void OnAfterDeserialize()
    OnBeforeSerialize()public void OnBeforeSerialize()
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDataZoomRangeChanged()public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public override void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public override void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public override void OnPointerUp(PointerEventData eventData)
    OnScroll()public override void OnScroll(PointerEventData eventData)
    RefreshBasePainter()public void RefreshBasePainter()
    RefreshChart()public void RefreshChart()
    在下一帧刷新整个图表。
    RefreshChart()public void RefreshChart(int serieIndex)
    在下一帧刷新图表的指定serie。
    RefreshChart()public void RefreshChart(Serie serie)
    在下一帧刷新图表的指定serie。
    RefreshDataZoom()public void RefreshDataZoom()
    在下一帧刷新DataZoom
    RefreshGraph()public override void RefreshGraph()
    RefreshPainter()public void RefreshPainter(int index)
    RefreshPainter()public void RefreshPainter(Serie serie)
    RefreshTopPainter()public void RefreshTopPainter()
    RefreshUpperPainter()public void RefreshUpperPainter()
    RemoveAllChartComponent()public void RemoveAllChartComponent()
    RemoveAllSerie()v3.2.0public virtual void RemoveAllSerie()
    移除所有的Serie。当确认只需要移除Serie时使用该接口,其他情况下一般用RemoveData()。
    RemoveChartComponent()public bool RemoveChartComponent(MainComponent component)
    RemoveChartComponent()public bool RemoveChartComponent(Type type, int index = 0)
    RemoveChartComponent<T>()public bool RemoveChartComponent<T>(int index = 0)
    RemoveChartComponents()public int RemoveChartComponents(Type type)
    RemoveChartComponents<T>()public int RemoveChartComponents<T>()
    RemoveData()public virtual void RemoveData()
    清空所有组件数据,并移除所有Serie。一般在图表重新初始化时使用。 注意:组件只清空数据部分,参数会保留不会被重置。
    RemoveData()public virtual void RemoveData(string serieName)
    清除指定系列名称的数据。
    RemoveSerie()public void RemoveSerie(int serieIndex)
    RemoveSerie()public void RemoveSerie(Serie serie)
    RemoveSerie()public void RemoveSerie(string serieName)
    RemoveSerie<T>()public void RemoveSerie<T>() where T : Serie
    ReplaceSerie()public bool ReplaceSerie(Serie oldSerie, Serie newSerie)
    ResetChartStatus()v3.10.0public void ResetChartStatus()
    重置图表状态。当设置某些参数后,由于动画影响,可能导致图表状态不正确,此时可以调用该接口重置图表状态。
    ResetDataIndex()public bool ResetDataIndex(int serieIndex)
    重置serie的数据项索引。避免数据项索引异常。
    SetBasePainterMaterial()public void SetBasePainterMaterial(Material material)
    设置Base Painter的材质球
    SetMaxCache()public void SetMaxCache(int maxCache)
    设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。
    SetPainterActive()public void SetPainterActive(int index, bool flag)
    SetSerieActive()public void SetSerieActive(int serieIndex, bool active)
    设置指定系列是否显示。
    SetSerieActive()public void SetSerieActive(Serie serie, bool active)
    SetSerieActive()public void SetSerieActive(string serieName, bool active)
    设置指定系列是否显示。
    SetSeriePainterMaterial()public void SetSeriePainterMaterial(Material material)
    设置Serie Painter的材质球
    SetTopPainterMaterial()public void SetTopPainterMaterial(Material material)
    设置Top Painter的材质球
    SetUpperPainterMaterial()public void SetUpperPainterMaterial(Material material)
    设置Upper Painter的材质球
    TriggerTooltip()v3.7.0public bool TriggerTooltip(int dataIndex, int serieIndex = 0)
    尝试触发指定数据项的Tooltip.
    TriggerTooltip()v3.7.0public bool TriggerTooltip(Vector3 localPosition)
    在指定的位置尝试触发Tooltip.
    TryAddChartComponent()public bool TryAddChartComponent(Type type)
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>() where T : MainComponent
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>(out T component) where T : MainComponent
    TryGetChartComponent<T>()public bool TryGetChartComponent<T>(out T component, int index = 0)
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateDataName()public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateDataName()public bool UpdateDataName(string serieName, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateLegendColor()public virtual void UpdateLegendColor(string legendName, bool active)
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。
    UpdateTheme()public void UpdateTheme(Theme theme)
    切换图表主题。
    UpdateXAxisData()public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
    更新X轴类目数据。
    UpdateXAxisIcon()public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
    更新X轴图标。
    UpdateYAxisData()public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
    更新Y轴类目数据。
    UpdateYAxisIcon()public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
    更新Y轴图标。

    BaseGraph

    class in XCharts.Runtime / 继承自: MaskableGraphic,IPointerDownHandler,IPointerUpHandler, / 子类: BaseChart,UIComponent

    API版本描述
    onBeginDragpublic Action<PointerEventData, BaseGraph> onBeginDrag
    鼠标开始拖拽回调。
    onDragpublic Action<PointerEventData, BaseGraph> onDrag
    鼠标拖拽回调。
    onEndDragpublic Action<PointerEventData, BaseGraph> onEndDrag
    鼠标结束拖拽回调。
    onPointerClickpublic Action<PointerEventData, BaseGraph> onPointerClick
    鼠标点击回调。
    onPointerDownpublic Action<PointerEventData, BaseGraph> onPointerDown
    鼠标按下回调。
    onPointerEnterpublic Action<PointerEventData, BaseGraph> onPointerEnter
    鼠标进入回调。
    onPointerExitpublic Action<PointerEventData, BaseGraph> onPointerExit
    鼠标退出回调。
    onPointerUppublic Action<PointerEventData, BaseGraph> onPointerUp
    鼠标弹起回调。
    onScrollpublic Action<PointerEventData, BaseGraph> onScroll
    鼠标滚动回调。
    CheckWarning()public string CheckWarning()
    检测警告信息。
    LocalPointToScreenPoint()v3.7.0public Vector2 LocalPointToScreenPoint(Vector2 localPoint)
    图表内坐标转屏幕坐标。
    LocalPointToWorldPoint()v3.7.0public Vector2 LocalPointToWorldPoint(Vector2 localPoint)
    图表内坐标转世界坐标。
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData)
    OnDrag()public virtual void OnDrag(PointerEventData eventData)
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData)
    OnScroll()public virtual void OnScroll(PointerEventData eventData)
    RebuildChartObject()public void RebuildChartObject()
    移除并重新创建所有图表的Object。
    RefreshAllComponent()public void RefreshAllComponent()
    RefreshGraph()public virtual void RefreshGraph()
    在下一帧刷新图形。
    SaveAsImage()public void SaveAsImage(string imageType = "png", string savePath = "")
    保存图表为图片。
    ScreenPointToChartPoint()public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)
    SetPainterDirty()public void SetPainterDirty()
    重新初始化Painter
    SetSize()public virtual void SetSize(float width, float height)
    设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform)

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine,AxisMinorSplitLine,AxisMinorTick,AxisSplitLine,AxisTick

    线条基础配置。

    API版本描述
    BaseLine()public BaseLine()
    BaseLine()public BaseLine(bool show) : base()
    Copy()public void Copy(BaseLine axisLine)
    GetColor()public Color32 GetColor(Color32 themeColor)
    GetLength()public float GetLength(float themeLength)
    GetType()public LineStyle.Type GetType(LineStyle.Type themeType)
    GetWidth()public float GetWidth(float themeWidth)

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer / 子类: EffectScatter,Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    API版本描述
    ClearComponentDirty()public static void ClearComponentDirty(ChildComponent component)
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearData()public virtual void ClearData() { }
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public static void ClearVerticesDirty(ChildComponent component)
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    IsComponentDirty()public static bool IsComponentDirty(ChildComponent component)
    IsVertsDirty()public static bool IsVertsDirty(ChildComponent component)
    OnAfterDeserialize()public virtual void OnAfterDeserialize()
    OnBeforeSerialize()public virtual void OnBeforeSerialize() { }
    OnDataUpdate()public virtual void OnDataUpdate() { }
    OnRemove()public virtual void OnRemove()
    RefreshLabel()public void RefreshLabel()
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetVerticesDirty()public virtual void SetVerticesDirty()

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    BorderStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    边框样式。

    API版本描述
    GetRuntimeBorderColor()public Color32 GetRuntimeBorderColor()
    GetRuntimeBorderWidth()public float GetRuntimeBorderWidth()
    GetRuntimeCornerRadius()public float[] GetRuntimeCornerRadius()

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    API版本描述
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    Candlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    CandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    蜡烛图,也叫K线图,用于描述证券、衍生品或货币的价格走势的一种金融图表样式。

    ChartCached

    class in XCharts.Runtime

    API版本描述
    ColorToDotStr()public static string ColorToDotStr(Color color)
    ColorToStr()public static string ColorToStr(Color color)
    FloatToStr()public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)
    GetSerieLabelName()public static string GetSerieLabelName(string prefix, int i, int j)
    GetString()public static string GetString(string prefix, int suffix)
    IntToStr()public static string IntToStr(int value, string numericFormatter = "")
    NumberToStr()public static string NumberToStr(double value, string formatter)

    ChartConst

    class in XCharts.Runtime

    ChartDrawer

    class in XCharts.Runtime

    ChartHelper

    class in XCharts.Runtime

    API版本描述
    ActiveAllObject()public static void ActiveAllObject(Transform parent, bool active, string match = null)
    AddIcon()public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)
    Cancat()public static string Cancat(string str1, int i)
    Cancat()public static string Cancat(string str1, string str2)
    ClearEventListener()public static void ClearEventListener(GameObject obj)
    CopyArray<T>()public static bool CopyArray<T>(T[] toList, T[] fromList)
    CopyList<T>()public static bool CopyList<T>(List<T> toList, List<T> fromList)
    DestoryGameObject()public static void DestoryGameObject(GameObject go)
    DestoryGameObject()public static void DestoryGameObject(Transform parent, string childName)
    DestoryGameObjectByMatch()public static void DestoryGameObjectByMatch(Transform parent, string containString)
    DestroyAllChildren()public static void DestroyAllChildren(Transform parent)
    EnsureComponent<T>()public static T EnsureComponent<T>(GameObject gameObject) where T : Component
    确保对象有指定的组件,如果没有则添加。
    EnsureComponent<T>()public static T EnsureComponent<T>(Transform transform) where T : Component
    确保对象有指定的组件,如果没有则添加。
    GetActualValue()public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBlurColor()public static Color32 GetBlurColor(Color32 color, float a = 0.3f)
    GetColor()public static Color32 GetColor(string hexColorStr)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetFullName()public static string GetFullName(Transform transform)
    GetHighlightColor()public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)
    GetLastValue()public static Vector3 GetLastValue(List<Vector3> list)
    GetMaxCeilRate()public static double GetMaxCeilRate(double value, double ceilRate)
    GetMaxDivisibleValue()public static double GetMaxDivisibleValue(double max, double ceilRate)
    GetMaxLogValue()public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetMinCeilRate()public static double GetMinCeilRate(double value, double ceilRate)
    GetMinDivisibleValue()public static double GetMinDivisibleValue(double min, double ceilRate)
    GetMinLogValue()public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(Transform transform) where T : Component
    GetPointList()public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetPosition()public static Vector3 GetPosition(Vector3 center, float angle, float radius)
    GetSelectColor()public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    HideAllObject()public static void HideAllObject(GameObject obj, string match = null)
    HideAllObject()public static void HideAllObject(Transform parent, string match = null)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsColorAlphaZero()public static bool IsColorAlphaZero(Color color)
    IsEquals()public static bool IsEquals(double d1, double d2)
    IsEquals()public static bool IsEquals(float d1, float d2)
    IsIngore()public static bool IsIngore(Vector3 pos)
    IsInRect()public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)
    IsPointInQuadrilateral()public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    ParseFloatFromString()public static List<float> ParseFloatFromString(string jsonData)
    ParseStringFromString()public static List<string> ParseStringFromString(string jsonData)
    RemoveComponent<T>()public static void RemoveComponent<T>(GameObject gameObject)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
    SaveAsImage()public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")
    SetActive()public static void SetActive(GameObject gameObject, bool active)
    SetActive()public static void SetActive(Image image, bool active)
    SetActive()public static void SetActive(Text text, bool active)
    SetActive()public static void SetActive(Transform transform, bool active)
    通过设置scale实现是否显示,优化性能,减少GC
    SetBackground()public static void SetBackground(Image background, Background imageStyle)
    SetBackground()public static void SetBackground(Image background, ImageStyle imageStyle)
    SetColorOpacity()public static void SetColorOpacity(ref Color32 color, float opacity)

    ChartLabel

    class in XCharts.Runtime / 继承自: Image

    API版本描述
    GetHeight()public float GetHeight()
    GetPosition()public Vector3 GetPosition()
    GetTextHeight()public float GetTextHeight()
    GetTextWidth()public float GetTextWidth()
    GetWidth()public float GetWidth()
    IsActiveByScale()public bool IsActiveByScale()
    SetActive()public void SetActive(bool flag)
    SetIcon()public void SetIcon(Image image)
    SetIconActive()public void SetIconActive(bool flag)
    SetIconSize()public void SetIconSize(float width, float height)
    SetIconSprite()public void SetIconSprite(Sprite sprite)
    SetPadding()public void SetPadding(float[] padding)
    SetPosition()public void SetPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetRotate()public void SetRotate(float rotate)
    SetSize()public void SetSize(float width, float height)
    SetText()public bool SetText(string text)
    SetTextActive()public void SetTextActive(bool flag)
    SetTextColor()public void SetTextColor(Color color)
    SetTextPadding()public void SetTextPadding(TextPadding padding)
    SetTextRotate()public void SetTextRotate(float rotate)
    UpdateIcon()public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null, Color color = default(Color))

    ChartObject

    class in XCharts.Runtime

    API版本描述
    Destroy()public virtual void Destroy()

    ChartText

    class in XCharts.Runtime

    API版本描述
    ChartText()public ChartText()
    ChartText()public ChartText(GameObject textParent)
    GetColor()public Color GetColor()
    GetPreferredHeight()public float GetPreferredHeight()
    GetPreferredText()public string GetPreferredText(string content, string suffix, float maxWidth)
    GetPreferredWidth()public float GetPreferredWidth()
    GetPreferredWidth()public float GetPreferredWidth(string content)
    GetText()public string GetText()
    SetActive()public void SetActive(bool flag)
    SetAlignment()public void SetAlignment(TextAnchor alignment)
    SetColor()public void SetColor(Color color)
    SetFont()public void SetFont(Font font)
    SetFont()public void SetFont(TMP_FontAsset font)
    SetFontAndSizeAndStyle()public void SetFontAndSizeAndStyle(TextStyle textStyle, ComponentTheme theme)
    SetFontSize()public void SetFontSize(float fontSize)
    SetFontStyle()public void SetFontStyle(FontStyle fontStyle)
    SetLineSpacing()public void SetLineSpacing(float lineSpacing)
    SetLocalEulerAngles()public void SetLocalEulerAngles(Vector3 position)
    SetLocalPosition()public void SetLocalPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetSizeDelta()public void SetSizeDelta(Vector2 sizeDelta)
    SetText()public void SetText(string text)

    CheckHelper

    class in XCharts.Runtime

    API版本描述
    CheckChart()public static string CheckChart(BaseChart chart)
    CheckChart()public static string CheckChart(BaseGraph chart)

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle,AxisAnimation,AxisName,AxisSplitArea,AreaStyle,ArrowStyle,BaseLine,BorderStyle,IconStyle,ImageStyle,ItemStyle,Level,LevelStyle,LineArrow,LineStyle,Location,MLValue,MarqueeStyle,Padding,StageColor,SymbolStyle,TextLimit,TextStyle,CommentItem,CommentMarkStyle,LabelLine,LabelStyle,MarkAreaData,MarkLineData,StateStyle,VisualMapRange,UIComponentTheme,SerieData,SerieDataLink,ComponentTheme,SerieTheme,ThemeStyle

    API版本描述
    ClearComponentDirty()public static void ClearComponentDirty(ChildComponent component)
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public static void ClearVerticesDirty(ChildComponent component)
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    IsComponentDirty()public static bool IsComponentDirty(ChildComponent component)
    IsVertsDirty()public static bool IsVertsDirty(ChildComponent component)
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetVerticesDirty()public virtual void SetVerticesDirty()

    ColorUtil

    class in XCharts.Runtime

    API版本描述
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。

    Comment

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图表注解组件。

    API版本描述
    GetLabelStyle()public LabelStyle GetLabelStyle(int index)
    GetMarkStyle()public CommentMarkStyle GetMarkStyle(int index)
    OnChanged()public void OnChanged()
    参数变更时的回调处理。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    ComponentHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler, bool allowMultiple, int order = 3)
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler, int order = 3)

    ComponentHelper

    class in XCharts.Runtime

    API版本描述
    GetAngleAxis()public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)
    GetRadiusAxis()public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)
    GetXAxisOnZeroOffset()public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)
    GetYAxisOnZeroOffset()public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)
    IsAnyCategoryOfYAxis()public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme,DataZoomTheme,LegendTheme,SubTitleTheme,TitleTheme,TooltipTheme,VisualMapTheme

    API版本描述
    ComponentTheme()public ComponentTheme(ThemeType theme)
    Copy()public virtual void Copy(ComponentTheme theme)
    Reset()public virtual void Reset(ComponentTheme defaultTheme)

    CoordOptionsAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Contains<T>()public bool Contains<T>() where T : CoordSystem
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord,CalendarCoord,GridCoord,ParallelCoord,PolarCoord,SingleAxisCoord

    坐标系系统。

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    API版本描述
    GetBackgroundColor()public Color32 GetBackgroundColor(Color32 themeColor)
    GetBorderColor()public Color32 GetBorderColor(Color32 themeColor)
    GetFillerColor()public Color32 GetFillerColor(Color32 themeColor)
    IsContainsAxis()public bool IsContainsAxis(Axis axis)
    IsContainsXAxis()public bool IsContainsXAxis(int index)
    IsContainsYAxis()public bool IsContainsYAxis(int index)
    IsInEndZoom()public bool IsInEndZoom(Vector2 pos)
    给定的坐标是否在结束活动条触发区域内
    IsInMarqueeArea()public bool IsInMarqueeArea(SerieData serieData)
    IsInMarqueeArea()public bool IsInMarqueeArea(Vector2 pos)
    IsInSelectedZoom()public bool IsInSelectedZoom(int totalIndex, int index, bool invert)
    IsInSelectedZoom()public bool IsInSelectedZoom(Vector2 pos)
    给定的坐标是否在选中区域内
    IsInStartZoom()public bool IsInStartZoom(Vector2 pos)
    给定的坐标是否在开始活动条触发区域内
    IsInZoom()public bool IsInZoom(Vector2 pos)
    给定的坐标是否在缩放区域内
    SetDefaultValue()public override void SetDefaultValue()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    DataZoomContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    DataZoomHelper

    class in XCharts.Runtime

    API版本描述
    UpdateDataZoomRuntimeStartEndValue()public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)
    UpdateDataZoomRuntimeStartEndValue<T>()public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(DataZoomTheme theme)
    DataZoomTheme()public DataZoomTheme(ThemeType theme) : base(theme)

    DateTimeUtil

    class in XCharts.Runtime

    API版本描述
    GetDateTime()public static DateTime GetDateTime(int timestamp)
    GetTimestamp()public static int GetTimestamp()
    GetTimestamp()public static int GetTimestamp(DateTime time)

    DebugInfo

    class in XCharts.Runtime

    API版本描述
    Init()public void Init(BaseChart chart)
    Update()public void Update()

    DefaultAnimationAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler)
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler, bool enableSerieDataAddedAnimation)

    DefaultTooltipAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    DefaultTooltipAttribute()public DefaultTooltipAttribute(Tooltip.Type type, Tooltip.Trigger trigger)

    DefineSymbolsUtil

    class in XCharts.Runtime

    API版本描述
    AddGlobalDefine()public static void AddGlobalDefine(string symbol)
    RemoveGlobalDefine()public static void RemoveGlobalDefine(string symbol)

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    API版本描述
    EndLabelStyle()public EndLabelStyle()

    FormatterHelper

    class in XCharts.Runtime

    API版本描述
    NeedFormat()public static bool NeedFormat(string content)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string numericFormatter, double value)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string value)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(string content)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(StringBuilder sb)

    Graph

    class in XCharts.Runtime

    数据结构-图。

    API版本描述
    AddEdge()public GraphEdge AddEdge(string nodeId1, string nodeId2, double value)
    AddNode()public GraphNode AddNode(string nodeId, string nodeName, int dataIndex)
    BreadthFirstTraverse()public void BreadthFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
    Clear()public void Clear()
    DeepFirstTraverse()public void DeepFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
    EachNode()public void EachNode(System.Action<GraphNode> onEach)
    GetDepthNodes()public List<List<GraphNode>> GetDepthNodes()
    GetEdge()public GraphEdge GetEdge(string nodeId1, string nodeId2)
    GetMaxDepth()public int GetMaxDepth()
    GetNode()public GraphNode GetNode(string nodeId)
    GetNodeDepth()// public int GetNodeDepth(GraphNode node)
    GetNodeDepth()// public void GetNodeDepth(GraphNode node, ref int depth, int recursiveCount = 0)
    GetNodeDepth()public int GetNodeDepth(GraphNode node, int recursiveCount = 0)
    GetNodesTotalValue()public static double GetNodesTotalValue(List<GraphNode> nodes)
    GetRootNodes()public List<GraphNode> GetRootNodes()
    Graph()public Graph(bool directed)
    Refresh()public void Refresh()

    GraphEdge

    class in XCharts.Runtime

    图的边。

    API版本描述
    GraphEdge()public GraphEdge(GraphNode node1, GraphNode node2, double value)

    GraphNode

    class in XCharts.Runtime

    图的节点。

    API版本描述
    GraphNode()public GraphNode(string id, string name, int dataIndex)
    ToString()public override string ToString()

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    BoundaryPoint()public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref List<Vector3> point)
    给定的线段和Grid边界的交点
    BoundaryPoint()public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref Vector3 point)
    给定的线段和Grid边界的交点
    Clamp()v3.7.0public void Clamp(ref Vector3 pos)
    将位置限制在网格内。
    ClampX()v3.7.0public void ClampX(ref Vector3 pos)
    将位置的X限制在网格内。
    ClampY()v3.7.0public void ClampY(ref Vector3 pos)
    将位置的Y限制在网格内。
    Contains()public bool Contains(float x, float y)
    给定的位置是否在网格内。
    Contains()public bool Contains(Vector3 pos)
    给定的位置是否在网格内。
    Contains()v3.7.0public bool Contains(Vector3 pos, bool isYAxis)
    给定的位置是否在网格内。
    ContainsX()v3.7.0public bool ContainsX(float x)
    给定的x是否在网格内。
    ContainsY()v3.7.0public bool ContainsY(float y)
    给定的y是否在网格内。
    IsPointerEnter()public bool IsPointerEnter()
    指针是否在网格内。
    NotAnyIntersect()v3.10.0public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
    判断给定的线段是否与Grid边界是否完全不会相交。
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    API版本描述
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridLayoutContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Heatmap

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    HeatmapChart

    class in XCharts.Runtime / 继承自: BaseChart

    热力图主要通过颜色去表现数值的大小,必须要配合 visualMap 组件使用。 可以应用在直角坐标系以及地理坐标系上,这两个坐标系上的表现形式相差很大,直角坐标系上必须要使用两个类目轴。

    API版本描述
    DefaultCountHeatmapChart()public void DefaultCountHeatmapChart()
    默认计数热力图。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Clone()public IconStyle Clone()
    Copy()public void Copy(IconStyle iconStyle)
    Reset()public void Reset()

    IgnoreDoc

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    IgnoreDoc()public IgnoreDoc()

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    API版本描述
    Clone()public ImageStyle Clone()
    Copy()public void Copy(ImageStyle imageStyle)
    Reset()public void Reset()

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    API版本描述
    AddIndicator()public RadarCoord.Indicator AddIndicator(string name, double min, double max)
    AddIndicator()public void AddIndicator(RadarCoord.Indicator indicator)
    AddIndicatorList()v3.3.0public void AddIndicatorList(List<string> nameList, double min = 0, double max = 0)
    ClearData()public override void ClearData()
    GetFormatterIndicatorContent()public string GetFormatterIndicatorContent(int indicatorIndex)
    GetFormatterIndicatorContent()public string GetFormatterIndicatorContent(string indicatorName)
    GetIndicator()public RadarCoord.Indicator GetIndicator(int indicatorIndex)
    GetIndicatorMax()public double GetIndicatorMax(int index)
    GetIndicatorMin()public double GetIndicatorMin(int index)
    GetIndicatorName()public string GetIndicatorName(int indicatorIndex)
    GetIndicatorPosition()public Vector3 GetIndicatorPosition(int index)
    IsInIndicatorRange()public bool IsInIndicatorRange(int index, double value)
    IsInRange()public bool IsInRange(double value)
    IsPointerEnter()public bool IsPointerEnter()
    SetDefaultValue()public override void SetDefaultValue()
    UpdateIndicator()public bool UpdateIndicator(int indicatorIndex, string name, double min, double max)

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Radar,BaseScatter

    InputHelper

    class in XCharts.Runtime

    API版本描述
    GetKeyDown()public static bool GetKeyDown(KeyCode keyCode)
    GetTouch()public static Touch GetTouch(int v)

    InteractData

    class in XCharts.Runtime

    API版本描述
    Reset()public void Reset()
    SetColor()public void SetColor(ref bool needInteract, Color32 color)
    SetColor()public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)
    SetPosition()public void SetPosition(ref bool needInteract, Vector3 pos)
    SetValue()public void SetValue(ref bool needInteract, float value, bool highlight, float rate = 1.3f)
    SetValue()public void SetValue(ref bool needInteract, float value, bool previousValueZero = false)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)
    ToString()public override string ToString()
    TryGetColor()public bool TryGetColor(ref Color32 color, ref bool interacting, float animationDuration = 250)
    TryGetColor()public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetPosition()public bool TryGetPosition(ref Vector3 pos, ref bool interacting, float animationDuration = 250)
    TryGetValue()public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location,Comment,Legend,Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,LineArrow,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord,CalendarCoord,GridCoord,ParallelCoord,PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,ItemStyle,LineStyle,SerieSymbol,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar,SimplifiedCandlestick,SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    图形样式。

    API版本描述
    GetBorderColor()public Color32 GetBorderColor(Color32 defaultColor)
    GetBorderColor0()public Color32 GetBorderColor0(Color32 defaultColor)
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 defaultColor)
    GetColor0()public Color32 GetColor0()
    GetColor0()public Color32 GetColor0(Color32 defaultColor)
    GetGradientColor()public Color32 GetGradientColor(float value, Color32 defaultColor)
    GetToColor()public Color32 GetToColor()
    IsNeedCorner()public bool IsNeedCorner()
    IsNeedGradient()public bool IsNeedGradient()
    Reset()public void Reset()

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis,DataZoom,CalendarCoord,GridCoord,GridLayout,ParallelCoord

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    标签的引导线

    API版本描述
    GetEndSymbolOffset()public Vector3 GetEndSymbolOffset()
    GetStartSymbolOffset()public Vector3 GetStartSymbolOffset()
    Reset()public void Reset()

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent / 子类: AxisLabel,EndLabelStyle,TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    API版本描述
    Clone()public virtual LabelStyle Clone()
    Copy()public virtual void Copy(LabelStyle label)
    GetColor()public Color GetColor(Color defaultColor)
    GetFormatterContent()public virtual string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
    GetFormatterContent()public virtual string GetFormatterContent(int labelIndex, string category)
    GetFormatterDateTime()public string GetFormatterDateTime(int labelIndex, double value, double minValue, double maxValue)
    GetOffset()public Vector3 GetOffset(float radius)
    IsAutoSize()public bool IsAutoSize()
    IsDefaultPosition()public bool IsDefaultPosition(Position position)
    IsInside()public bool IsInside()
    是否在内部。
    Reset()public void Reset()

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    API版本描述
    GetCandlestickDimensionName()public string GetCandlestickDimensionName(int i)
    GetDay()public string GetDay(int day)
    GetMonthAbbr()public string GetMonthAbbr(int month)

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    API版本描述
    List<string>()public List<string> dayOfMonth = new List<string>()
    List<string>()public List<string> dayOfWeek = new List<string>()
    List<string>()public List<string> dayOfWeekAbbr = new List<string>()
    List<string>()public List<string> monthAbbr = new List<string>()
    List<string>()public List<string> months = new List<string>()

    LayerHelper

    class in XCharts.Runtime

    API版本描述
    IsFixedWidthHeight()public static bool IsFixedWidthHeight(RectTransform rt)
    IsStretchPivot()public static bool IsStretchPivot(RectTransform rt)

    Legend

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    API版本描述
    AddData()public void AddData(string name)
    添加图例。
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空。
    ContainsData()public bool ContainsData(string name)
    是否包括由指定名字的图例
    GetColor()public Color GetColor(int index)
    GetData()public string GetData(int index)
    获得指定索引的图例。
    GetIcon()public Sprite GetIcon(int index)
    获得指定索引的图例按钮。
    GetIndex()public int GetIndex(string legendName)
    获得指定图例的索引。
    GetPosition()public Vector3 GetPosition(int index, Vector3 defaultPos)
    OnChanged()public void OnChanged()
    参数变更时的回调处理。
    RemoveButton()public void RemoveButton()
    移除所有图例按钮。
    RemoveData()public void RemoveData(string name)
    移除指定名字的图例。
    SetButton()public void SetButton(string name, LegendItem item, int total)
    给图例绑定按钮。
    UpdateButtonColor()public void UpdateButtonColor(string name, Color color)
    更新图例按钮颜色。
    UpdateContentColor()public void UpdateContentColor(string name, Color color)
    更新图例文字颜色。

    LegendContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    LegendHelper

    class in XCharts.Runtime

    API版本描述
    CheckDataHighlighted()public static int CheckDataHighlighted(Serie serie, string legendName, bool heighlight)
    CheckDataShow()public static bool CheckDataShow(Serie serie, string legendName, bool show)
    GetContentColor()public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)
    GetIconColor()public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)
    ResetItemPosition()public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)
    SetLegendBackground()public static void SetLegendBackground(Legend legend, ImageStyle style)

    LegendItem

    class in XCharts.Runtime

    API版本描述
    GetIconColor()public Color GetIconColor()
    GetIconRect()public Rect GetIconRect()
    SetActive()public void SetActive(bool active)
    SetBackground()public void SetBackground(ImageStyle imageStyle)
    SetButton()public void SetButton(Button button)
    SetContent()public bool SetContent(string content)
    SetContentBackgroundColor()public void SetContentBackgroundColor(Color color)
    SetContentColor()public void SetContentColor(Color color)
    SetContentPosition()public void SetContentPosition(Vector3 offset)
    SetIcon()public void SetIcon(Image icon)
    SetIconActive()public void SetIconActive(bool active)
    SetIconColor()public void SetIconColor(Color color)
    SetIconImage()public void SetIconImage(Sprite image)
    SetIconSize()public void SetIconSize(float width, float height)
    SetObject()public void SetObject(GameObject obj)
    SetPosition()public void SetPosition(Vector3 position)
    SetText()public void SetText(ChartText text)
    SetTextBackground()public void SetTextBackground(Image image)

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(LegendTheme theme)
    LegendTheme()public LegendTheme(ThemeType theme) : base(theme)

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    Line

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Line ConvertSerie(Serie serie)

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent

    LineChart

    class in XCharts.Runtime / 继承自: BaseChart

    折线图是用折线将各个数据点标志连接起来的图表,用于展现数据的变化趋势。可用于直角坐标系和极坐标系上。 设置 areaStyle 后可以绘制面积图。

    API版本描述
    DefaultAreaLineChart()public void DefaultAreaLineChart()
    默认面积折线图。
    DefaultDashLineChart()public void DefaultDashLineChart()
    默认虚线折线图。
    DefaultLogLineChart()public void DefaultLogLineChart()
    默认对数轴折线图。
    DefaultSmoothAreaLineChart()public void DefaultSmoothAreaLineChart()
    默认平滑面积折线图。
    DefaultSmoothLineChart()public void DefaultSmoothLineChart()
    默认平滑折线图。
    DefaultStackAreaLineChart()public void DefaultStackAreaLineChart()
    默认堆叠面积折线图。
    DefaultStackLineChart()public void DefaultStackLineChart()
    默认堆叠折线图。
    DefaultStepLineChart()public void DefaultStepLineChart()
    默认阶梯折线图。
    DefaultTimeLineChart()public void DefaultTimeLineChart()
    默认时间折线图。

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    API版本描述
    Clone()public LineStyle Clone()
    Copy()public void Copy(LineStyle lineStyle)
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 themeColor)
    GetGradientColor()public Color32 GetGradientColor(float value, Color32 defaultColor)
    GetLength()public float GetLength(float themeLength)
    GetType()public Type GetType(Type themeType)
    GetWidth()public float GetWidth(float themeWidth)
    IsNeedGradient()public bool IsNeedGradient()
    IsNotSolidLine()public bool IsNotSolidLine()
    LineStyle()public LineStyle()
    LineStyle()public LineStyle(float width)
    LineStyle()public LineStyle(LineStyle.Type type)
    LineStyle()public LineStyle(LineStyle.Type type, float width)

    ListFor

    class in XCharts.Runtime / 继承自: Attribute / 子类: ListForComponent,ListForSerie

    API版本描述
    ListFor()public ListFor(Type type)

    ListForComponent

    class in XCharts.Runtime / 继承自: ListFor

    API版本描述
    ListForComponent()public ListForComponent(Type type) : base(type)

    ListForSerie

    class in XCharts.Runtime / 继承自: ListFor

    API版本描述
    ListForSerie()public ListForSerie(Type type) : base(type)

    ListPool<T>

    class in XCharts.Runtime

    API版本描述
    ClearAll()public static void ClearAll()
    Get()public static List<T> Get()
    Release()public static void Release(List<T> toRelease)

    Location

    class in XCharts.Runtime / 继承自: ChildComponent,IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    API版本描述
    GetPosition()public Vector3 GetPosition(float chartWidth, float chartHeight)
    返回在坐标系中的具体位置
    IsBottom()public bool IsBottom()
    IsCenter()public bool IsCenter()
    IsTop()public bool IsTop()
    OnChanged()public void OnChanged()
    属性变更时更新textAnchor,minAnchor,maxAnchor,pivot
    UpdateRuntimeData()public void UpdateRuntimeData(float chartWidth, float chartHeight)

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis,Background,Comment,DataZoom,Legend,MarkArea,MarkLine,Settings,Title,Tooltip,VisualMap,GridLayout,CoordSystem

    API版本描述
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearData()public virtual void ClearData() { }
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    CompareTo()public int CompareTo(object obj)
    OnRemove()public virtual void OnRemove()
    Reset()public virtual void Reset() { }
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetDefaultValue()public virtual void SetDefaultValue() { }
    SetVerticesDirty()public virtual void SetVerticesDirty()

    MainComponentContext

    class in XCharts.Runtime / 子类: AxisContext,DataZoomContext,LegendContext,RadarCoordContext,VisualMapContext,GridCoordContext,GridLayoutContext,ParallelCoordContext,PolarCoordContext

    MainComponentHandler

    class in XCharts.Runtime / 子类: AxisHandler<T>,MainComponentHandler<T>

    API版本描述
    BeforceSerieUpdate()public virtual void BeforceSerieUpdate() { }
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    OnSerieDataUpdate()public virtual void OnSerieDataUpdate(int serieIndex) { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }

    MainComponentHandler<T>

    class in XCharts.Runtime / 继承自: MainComponentHandler

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    API版本描述
    onEndpublic Action<DataZoom> onEnd
    自定义选取框结束选取时的回调。
    onGoingpublic Action<DataZoom> onGoing
    自定义选取框选取进行时的回调。
    onStartpublic Action<DataZoom> onStart
    自定义选取框开始选取时的回调。

    MathUtil

    class in XCharts.Runtime

    API版本描述
    Abs()public static double Abs(double d)
    Approximately()public static bool Approximately(double a, double b)
    Clamp()public static double Clamp(double d, double min, double max)
    Clamp01()public static double Clamp01(double value)
    GetPrecision()public static int GetPrecision(double value)
    IsInteger()public static bool IsInteger(double value)
    Lerp()public static double Lerp(double a, double b, double t)

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    API版本描述
    GetValue()public float GetValue(float total)
    根据类型获取值。
    MLValue()public MLValue(float value)
    MLValue()public MLValue(Type type, float value)

    MonoBehaviour

    class in / 子类: XLog

    ObjectPool<T> where T

    class in XCharts.Runtime / 继承自: new()

    API版本描述
    ClearAll()public void ClearAll()
    Get()public T Get()
    new()public class ObjectPool<T> where T : new()
    ObjectPool()public ObjectPool(UnityAction<T> actionOnGet, UnityAction<T> actionOnRelease, bool newIfEmpty = true)
    Release()public void Release(T element)

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    API版本描述
    Padding()public Padding() { }
    Padding()public Padding(float top, float right, float bottom, float left)
    SetPadding()public void SetPadding(float top, float right, float bottom, float left)

    Painter

    class in XCharts.Runtime / 继承自: MaskableGraphic

    API版本描述
    onPopulateMeshpublic Action<VertexHelper, Painter> onPopulateMesh
    CheckRefresh()public void CheckRefresh()
    Init()public void Init()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag, bool isDebugMode = false)

    Parallel

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    ParallelChart

    class in XCharts.Runtime / 继承自: BaseChart

    平行坐标系,通过绘制垂直于坐标轴的平行线来显示数据的一种可视化图表。

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    Contains()public bool Contains(float x, float y)
    Contains()public bool Contains(Vector3 pos)
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    ParallelCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Pie

    class in XCharts.Runtime / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Pie ConvertSerie(Serie serie)

    PieChart

    class in XCharts.Runtime / 继承自: BaseChart

    饼图主要用于显示不同类目占比的情况,通过弧长来反映数据的大小占比。

    API版本描述
    DefaultAreaRosePieChart()public void DefaultAreaRosePieChart()
    默认面积玫瑰饼图。
    DefaultDonutPieChart()public void DefaultDonutPieChart()
    默认甜甜圈饼图。
    DefaultLabelDonutPieChart()public void DefaultLabelDonutPieChart()
    默认带标签甜甜圈饼图。
    DefaultLabelPieChart()public void DefaultLabelPieChart()
    默认带标签饼图。
    DefaultRadiusRosePieChart()public void DefaultRadiusRosePieChart()
    默认玫瑰饼图。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    PolarAxisTheme()public PolarAxisTheme(ThemeType theme) : base(theme) { }

    PolarChart

    class in XCharts.Runtime / 继承自: BaseChart

    极坐标系,可以用于散点图和折线图。

    API版本描述
    DefaultHeatmapPolarChart()public void DefaultHeatmapPolarChart()
    默认极坐标色块图。
    DefaultRadialBarPolarChart()public void DefaultRadialBarPolarChart()
    默认径向柱状极坐标图。
    DefaultTangentialBarPolarChart()public void DefaultTangentialBarPolarChart()
    默认切向柱状极坐标图。

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    API版本描述
    Contains()public bool Contains(Vector3 pos)
    IsPointerEnter()public bool IsPointerEnter()

    PolarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    PropertyUtil

    class in XCharts.Runtime

    API版本描述
    SetClass<T>()public static bool SetClass<T>(ref T currentValue, T newValue, bool notNull = false) where T : class
    SetColor()public static bool SetColor(ref Color currentValue, Color newValue)
    SetColor()public static bool SetColor(ref Color32 currentValue, Color32 newValue)
    SetStruct<T>()public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct

    Radar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    RadarAxisTheme()public RadarAxisTheme(ThemeType theme) : base(theme)

    RadarChart

    class in XCharts.Runtime / 继承自: BaseChart

    雷达图主要用于显示多变量的数据,例如足球运动员的各项属性分析。依赖雷达组件。

    API版本描述
    DefaultCircleRadarChart()public void DefaultCircleRadarChart()
    默认圆形雷达图。

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    RadiusAxisTheme()public RadiusAxisTheme(ThemeType theme) : base(theme) { }

    ReflectionUtil

    class in XCharts.Runtime

    API版本描述
    DeepCloneSerializeField()public static object DeepCloneSerializeField(object obj)
    InvokeListAdd()public static void InvokeListAdd(object obj, FieldInfo field, object item)
    InvokeListAddTo<T>()public static void InvokeListAddTo<T>(object obj, FieldInfo field, Action<T> callback)
    InvokeListClear()public static void InvokeListClear(object obj, FieldInfo field)
    InvokeListCount()public static int InvokeListCount(object obj, FieldInfo field)
    InvokeListGet<T>()public static T InvokeListGet<T>(object obj, FieldInfo field, int i)

    RequireChartComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)

    Ring

    class in XCharts.Runtime / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    GetDataTotal()public override double GetDataTotal(int dimension, SerieData serieData = null)

    RingChart

    class in XCharts.Runtime / 继承自: BaseChart

    环形图主要用于显示每一项的比例以及各项之间的关系。

    API版本描述
    DefaultMultipleRingChart()public void DefaultMultipleRingChart()
    默认多圆环图。

    RuntimeUtil

    class in XCharts.Runtime

    API版本描述
    GetAllAssemblyTypes()public static IEnumerable<Type> GetAllAssemblyTypes()
    GetAllTypesDerivedFrom()public static IEnumerable<Type> GetAllTypesDerivedFrom(Type type)
    GetAllTypesDerivedFrom<T>()public static IEnumerable<Type> GetAllTypesDerivedFrom<T>()
    GetAttribute<T>()public static T GetAttribute<T>(this MemberInfo type, bool check = true) where T : Attribute
    GetAttribute<T>()public static T GetAttribute<T>(this Type type, bool check = true) where T : Attribute
    HasSubclass()public static bool HasSubclass(Type type)

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ScatterChart

    class in XCharts.Runtime / 继承自: BaseChart

    散点图主要用于展现两个数据维度之间的关系。

    API版本描述
    DefaultBubbleChart()public void DefaultBubbleChart()
    默认气泡图。

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie,IComparable / 子类: SerieHandler<T>,Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Pie,Radar,Ring,BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    API版本描述
    onClickpublic Action<SerieEventData> onClick
    点击系列时的回调。
    onDownpublic Action<SerieEventData> onDown
    鼠标按下时的回调。
    onEnterpublic Action<SerieEventData> onEnter
    鼠标进入时的回调。
    onExitpublic Action<SerieEventData> onExit
    鼠标离开时的回调。
    AddChildData()public SerieData AddChildData(SerieData parent, double value, string name, string id)
    AddChildData()public SerieData AddChildData(SerieData parent, List<double> value, string name, string id)
    AddChildData()public void AddChildData(SerieData parent, SerieData serieData)
    AddData()public SerieData AddData(double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    添加 (open, close, lowest, heighest) 数据
    AddData()public SerieData AddData(List<double> valueList, string dataName = null, string dataId = null)
    将一组数据添加到系列中。 如果数据只有一个,默认添加到维度Y中。
    AddData()public SerieData AddData(params double[] values)
    添加任意维数据到系列中。
    AddExtraComponent<T>()public T AddExtraComponent<T>() where T : ChildComponent, ISerieComponent
    AddLink()public SerieDataLink AddLink(string sourceName, string targetName, double value)
    添加一个关系图的关系数据。
    AddSerieData()public void AddSerieData(SerieData serieData)
    AddXYData()public SerieData AddXYData(double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到维度X和维度Y
    AddYData()public SerieData AddYData(double value, string dataName = null, string dataId = null)
    添加一个数据到维度Y(此时维度X对应的数据是索引)
    AnimationEnable()public void AnimationEnable(bool flag)
    启用或取消初始动画
    AnimationFadeIn()public void AnimationFadeIn()
    渐入动画
    AnimationFadeOut()public void AnimationFadeOut()
    渐出动画
    AnimationPause()public void AnimationPause()
    暂停动画
    AnimationReset()public void AnimationReset()
    重置动画
    AnimationRestart()public void AnimationRestart()
    重置动画
    AnimationResume()public void AnimationResume()
    继续动画
    CanAddComponent()public bool CanAddComponent(Type type)
    CanAddComponent<T>()public bool CanAddComponent<T>() where T : ChildComponent, ISerieComponent
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空所有数据
    ClearDirty()public override void ClearDirty()
    ClearHighlight()public void ClearHighlight()
    清除所有数据的高亮标志
    ClearLinks()public void ClearLinks()
    清空所有Link数据
    ClearSerieNameDirty()public void ClearSerieNameDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public Serie Clone()
    Clone<T>()public T Clone<T>() where T : Serie
    CompareTo()public int CompareTo(object obj)
    EnsureComponent()public ISerieComponent EnsureComponent(Type type)
    EnsureComponent<T>()public T EnsureComponent<T>() where T : ChildComponent, ISerieComponent
    确保系列有该组件。如果没有,则添加。
    GetBarWidth()public float GetBarWidth(float categoryWidth, int barCount = 0, float defaultRate = 0.6f)
    GetComponent()public ISerieComponent GetComponent(Type type)
    GetComponent<T>()public T GetComponent<T>() where T : ChildComponent, ISerieComponent
    GetData()public double GetData(int index, int dimension, DataZoom dataZoom = null)
    获得指定index指定维数的数据
    GetDataList()public List<SerieData> GetDataList(DataZoom dataZoom = null)
    获得系列的数据列表
    GetDataTotal()public virtual double GetDataTotal(int dimension, SerieData serieData = null)
    GetSerieData()public SerieData GetSerieData(int index, DataZoom dataZoom = null)
    获得指定索引的数据项
    GetSerieData()public SerieData GetSerieData(SerieData parent, string id)
    GetSerieData()public SerieData GetSerieData(string id, DataZoom dataZoom = null)
    GetXYData()public void GetXYData(int index, DataZoom dataZoom, out double xValue, out double yVlaue)
    获得指定索引的维度X和维度Y的数据
    GetYCurrData()public double GetYCurrData(int index, DataZoom dataZoom = null)
    GetYData()public double GetYData(int index, DataZoom dataZoom = null)
    获得维度Y索引对应的数据
    GetYData()public void GetYData(int index, out double yData, out string dataName, DataZoom dataZoom = null)
    获得维度Y索引对应的数据和数据名
    IsIgnoreIndex()public bool IsIgnoreIndex(int index, int dimension = 1)
    IsIgnorePoint()public bool IsIgnorePoint(int index)
    IsIgnoreValue()public bool IsIgnoreValue(double value)
    IsIgnoreValue()public bool IsIgnoreValue(SerieData serieData, double value)
    IsIgnoreValue()public bool IsIgnoreValue(SerieData serieData, int dimension = 1)
    IsLegendName()public bool IsLegendName(string legendName)
    IsMinShowLabelValue()public bool IsMinShowLabelValue(double value)
    IsMinShowLabelValue()public bool IsMinShowLabelValue(int index, int dimension = 1)
    IsMinShowLabelValue()public bool IsMinShowLabelValue(SerieData serieData, int dimension = 1)
    IsPerformanceMode()public bool IsPerformanceMode()
    是否为性能模式。性能模式下不绘制Symbol,不刷新Label,不单独设置数据项配置。
    IsSerie<T>()public bool IsSerie<T>() where T : Serie
    IsSerieDataLegendName()public bool IsSerieDataLegendName(string legendName)
    IsSerieLegendName()public bool IsSerieLegendName(string legendName)
    IsUseCoord<T>()public bool IsUseCoord<T>() where T : CoordSystem
    RemoveAllComponents()public void RemoveAllComponents()
    移除所有额外组件。
    RemoveComponent()public void RemoveComponent(Type type)
    RemoveComponent<T>()public void RemoveComponent<T>() where T : ISerieComponent
    RemoveData()public void RemoveData(int index)
    移除指定索引的数据
    ResetDataIndex()public bool ResetDataIndex()
    重置数据项索引。避免部分数据项的索引异常。
    ResetInteract()public void ResetInteract()
    SetAllDirty()public override void SetAllDirty()
    SetCoord<T>()public bool SetCoord<T>() where T : CoordSystem
    SetHighlight()public void SetHighlight(int index, bool flag)
    设置指定索引的数据为高亮状态
    SetVerticesDirty()public override void SetVerticesDirty()
    UpdateData()public bool UpdateData(int index, int dimension, double value)
    更新指定索引指定维数的数据
    UpdateData()public bool UpdateData(int index, List<double> values)
    更新指定索引的数据项数据列表
    UpdateDataName()public bool UpdateDataName(int index, string name)
    UpdateXYData()public bool UpdateXYData(int index, double xValue, double yValue)
    更新指定索引的维度X和维度Y的数据
    UpdateYData()public bool UpdateYData(int index, double value)
    更新指定索引的维度Y数据

    SerieComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到Serie的组件。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieComponentAttribute()public SerieComponentAttribute()
    SerieComponentAttribute()public SerieComponentAttribute(Type type1)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieContext

    class in XCharts.Runtime

    SerieConvertAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可转化为哪些Serie类型。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : Serie
    SerieConvertAttribute()public SerieConvertAttribute(Type serie)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    EnsureComponent()v3.6.0public ISerieDataComponent EnsureComponent(Type type)
    确保数据项有指定类型的组件,如果没有则添加。
    EnsureComponent<T>()v3.6.0public T EnsureComponent<T>() where T : ChildComponent, ISerieDataComponent
    确保数据项有指定类型的组件,如果没有则添加。
    GetAddAnimationData()public double GetAddAnimationData(double min, double max, float animationDuration = 500f, bool unscaledTime = false)
    GetComponent<T>()public T GetComponent<T>() where T : ChildComponent, ISerieDataComponent
    获取数据项的指定类型的组件,如果不存在则返回null。
    GetCurrData()public double GetCurrData(int index, AnimationStyle animation, bool inverse = false, bool loop = false)
    GetCurrData()public double GetCurrData(int index, AnimationStyle animation, bool inverse, double min, double max, bool loop = false)
    GetCurrData()public double GetCurrData(int index, float dataAddDuration = 500f, float animationDuration = 500f, bool unscaledTime = false, bool inverse = false)
    GetCurrData()public double GetCurrData(int index, float dataAddDuration, float animationDuration, bool inverse, double min, double max, bool unscaledTime, bool loop = false)
    GetData()public double GetData(int index, bool inverse = false)
    GetData()public double GetData(int index, double min, double max)
    GetFirstData()public double GetFirstData(bool unscaledTime, float animationDuration = 500f)
    GetLabelHeight()public float GetLabelHeight()
    GetLabelWidth()public float GetLabelWidth()
    GetLastData()public double GetLastData()
    GetMaxData()public double GetMaxData(bool inverse = false)
    最大值。
    GetMinData()public double GetMinData(bool inverse = false)
    最小值。
    GetMinMaxData()public void GetMinMaxData(int startDimensionIndex, bool inverse, out double min, out double max)
    GetOrAddComponent<T>()public T GetOrAddComponent<T>() where T : ChildComponent, ISerieDataComponent
    GetPreviousData()public double GetPreviousData(int index, bool inverse = false)
    GetTotalData()public double GetTotalData()
    IsDataChanged()public bool IsDataChanged()
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    List<string>()public static List<string> extraFieldList = new List<string>()
    系列中的一个数据项。可存储数据名和1-n维个数据。
    OnAdd()public void OnAdd(AnimationStyle animation, double startValue = 0)
    RemoveAllComponent()public void RemoveAllComponent()
    RemoveComponent()public void RemoveComponent(Type type)
    RemoveComponent<T>()public void RemoveComponent<T>() where T : ISerieDataComponent
    Reset()public void Reset()
    SetIconActive()public void SetIconActive(bool flag)
    SetLabelActive()public void SetLabelActive(bool flag)
    SetPolygon()public void SetPolygon(params Vector2[] points)
    SetPolygon()public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)
    SetPolygon()public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5)
    UpdateData()public bool UpdateData(int dimension, double value)
    UpdateData()public bool UpdateData(int dimension, double value, bool updateAnimation, bool unscaledTime, float animationDuration = 500f)

    SerieDataComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到SerieData的组件。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieDataComponentAttribute()public SerieDataComponentAttribute()
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieDataContext

    class in XCharts.Runtime

    API版本描述
    Reset()public void Reset()

    SerieDataExtraFieldAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Contains()public bool Contains(string field)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute()
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7)

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    数据节点之间的连线。可用于桑基图等,桑基图只支持有向无环图,请保证数据的连线是有向无环图。

    SerieEventData

    class in XCharts.Runtime

    serie事件的数据。

    API版本描述
    Reset()public void Reset()

    SerieEventDataPool

    class in XCharts.Runtime

    API版本描述
    Get()public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)
    Release()public static void Release(SerieEventData toRelease)

    SerieHandler

    class in XCharts.Runtime

    API版本描述
    AfterUpdate()public virtual void AfterUpdate() { }
    BeforeUpdate()public virtual void BeforeUpdate() { }
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawSerie()public virtual void DrawSerie(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    ForceUpdateSerieContext()public virtual void ForceUpdateSerieContext() { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDataUpdate()public virtual void OnDataUpdate() { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName) { }
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    RefreshLabelInternal()public virtual void RefreshLabelInternal() { }
    RefreshLabelNextFrame()public virtual void RefreshLabelNextFrame() { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }
    UpdateSerieContext()public virtual void UpdateSerieContext() { }

    SerieHandler where T

    class in / 子类: SerieHandler<T>

    SerieHandler<T>

    class in XCharts.Runtime / 继承自: [SerieHandler where T](#seriehandler where t),Serie

    API版本描述
    AfterUpdate()public override void AfterUpdate()
    BeforeUpdate()public override void BeforeUpdate()
    DrawLabelLineSymbol()public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)
    ForceUpdateSerieContext()public override void ForceUpdateSerieContext()
    GetPointerItemDataDimension()public override int GetPointerItemDataDimension()
    GetPointerItemDataIndex()public override int GetPointerItemDataIndex()
    GetSerieDataAutoColor()public virtual Color GetSerieDataAutoColor(SerieData serieData)
    GetSerieDataLabelOffset()public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)
    GetSerieDataLabelPosition()public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)
    GetSerieDataTitlePosition()public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)
    InitComponent()public override void InitComponent()
    OnLegendButtonClick()public override void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public override void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public override void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    RefreshEndLabelInternal()public virtual void RefreshEndLabelInternal()
    RefreshLabelInternal()public override void RefreshLabelInternal()
    RefreshLabelNextFrame()public override void RefreshLabelNextFrame()
    RemoveComponent()public override void RemoveComponent()
    Update()public override void Update()

    SerieHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler)
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler, bool allowMultiple)

    SerieHelper

    class in XCharts.Runtime

    API版本描述
    CloneSerie<T>()public static T CloneSerie<T>(Serie serie) where T : Serie
    CopySerie()public static void CopySerie(Serie oldSerie, Serie newSerie)
    GetAllMinMaxData()public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)
    GetAreaStyle()public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)
    GetAverageData()public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetBlurStyle()public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)
    GetEmphasisStyle()public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData)
    GetItemColor()public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true)
    GetItemFormatter()public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetItemMarker()public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null)
    GetItemStyle()public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetLineColor()public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto)
    GetLineStyle()public static LineStyle GetLineStyle(Serie serie, SerieData serieData)
    GetMaxData()public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMaxSerieData()public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMedianData()public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinData()public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinMaxData()public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)
    获得系列所有数据的最大最小值。
    GetMinSerieData()public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetNumericFormatter()public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetSelectStyle()public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)
    GetSerieLabel()public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieLabelLine()public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieState()public static SerieState GetSerieState(Serie serie)
    GetSerieState()public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)
    GetSerieState()public static SerieState GetSerieState(SerieData serieData)
    GetSerieSymbol()public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetStateStyle()public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)
    GetSysmbolSize()public static float GetSysmbolSize(Serie serie, SerieData serieData, float defaultSize, SerieState state = SerieState.Auto, bool checkAnimation = false)
    GetTitleStyle()public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)
    IsAllZeroValue()public static bool IsAllZeroValue(Serie serie, int dimension = 1)
    系列指定维数的数据是否全部为0。
    IsDownPoint()public static bool IsDownPoint(Serie serie, int index)
    UpdateCenter()public static void UpdateCenter(Serie serie, BaseChart chart)
    更新运行时中心点和半径
    UpdateFilterData()public static void UpdateFilterData(Serie serie, DataZoom dataZoom)
    根据dataZoom更新数据列表缓存
    UpdateMinMaxData()public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)
    获得指定维数的最大最小值
    UpdateRect()public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
    UpdateSerieRuntimeFilterData()public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)

    SerieLabelHelper

    class in XCharts.Runtime

    API版本描述
    CanShowLabel()public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)
    GetLabelColor()public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)
    SetGaugeLabelText()public static void SetGaugeLabelText(Serie serie)

    SerieLabelPool

    class in XCharts.Runtime

    API版本描述
    ClearAll()public static void ClearAll()
    Release()public static void Release(GameObject element)
    ReleaseAll()public static void ReleaseAll(Transform parent)

    SerieParams

    class in XCharts.Runtime

    SeriesHelper

    class in XCharts.Runtime

    API版本描述
    GetLastStackSerie()public static Serie GetLastStackSerie(List<Serie> series, Serie serie)
    获得上一个同堆叠且显示的serie。
    GetLegalSerieNameList()public static List<string> GetLegalSerieNameList(List<Serie> series)
    GetMaxSerieDataCount()public static int GetMaxSerieDataCount(List<Serie> series)
    GetMinAnimationDuration()public static float GetMinAnimationDuration(List<Serie> series)
    GetNameColor()public static Color GetNameColor(BaseChart chart, int index, string name)
    GetStackSeries()public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)
    获得堆叠系列列表
    IsAnyClipSerie()public static bool IsAnyClipSerie(List<Serie> series)
    是否有需裁剪的serie。
    IsLegalLegendName()public static bool IsLegalLegendName(string name)
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series) where T : Serie
    是否时百分比堆叠
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series, string stackName) where T : Serie
    是否时百分比堆叠
    IsStack()public static bool IsStack(List<Serie> series)
    是否由数据堆叠
    IsStack<T>()public static bool IsStack<T>(List<Serie> series, string stackName) where T : Serie
    是否堆叠
    UpdateSerieNameList()public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)
    获得所有系列名,不包含空名字。
    UpdateStackDataList()public static void UpdateStackDataList(List<Serie> series, Serie currSerie, DataZoom dataZoom, List<List<SerieData>> dataList)

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle,ISerieDataComponent

    系列数据项的标记的图形

    API版本描述
    GetSize()public float GetSize(List<double> data, float themeSize)
    根据指定的sizeType获得标记的大小
    Reset()public override void Reset()
    ShowSymbol()public bool ShowSymbol(int dataIndex, int dataCount)

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Copy()public void Copy(SerieTheme theme)
    SerieTheme()public SerieTheme(ThemeType theme)

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    API版本描述
    Copy()public void Copy(Settings settings)
    Reset()public override void Reset()

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedBar ConvertSerie(Serie serie)

    SimplifiedBarChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化柱状图是柱状图的简化模式,通过简化组件和配置,拥有更好的性能。

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedCandlestick ConvertSerie(Serie serie)

    SimplifiedCandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化K线图是K线图的简化模式,通过简化组件和配置,拥有更好的性能。

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedLine ConvertSerie(Serie serie)

    SimplifiedLineChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化折线图是折线图的简化模式,通过简化组件和配置,拥有更好的性能。

    Since

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Since()public Since(string version)

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis,IUpdateRuntimeData

    单轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    StageColor()public StageColor(float percent, Color32 color)

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle,EmphasisStyle,SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Reset()public void Reset()

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    SubTitleTheme()public SubTitleTheme(ThemeType theme) : base(theme)

    SVG

    class in XUGL

    API版本描述
    DrawPath()public static void DrawPath(VertexHelper vh, string path)
    DrawPath()public static void DrawPath(VertexHelper vh, SVGPath path)
    Test()public static void Test(VertexHelper vh)

    SVGPath

    class in XUGL

    API版本描述
    AddSegment()public void AddSegment(SVGPathSeg seg)
    Draw()public void Draw(VertexHelper vh)
    Parse()public static SVGPath Parse(string path)

    SVGPathSeg

    class in XUGL

    API版本描述
    SVGPathSeg()public SVGPathSeg(SVGPathSegType type)

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    API版本描述
    GetColor()public Color32 GetColor(Color32 defaultColor)
    Reset()public virtual void Reset()

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    API版本描述
    Clone()public TextLimit Clone()
    Copy()public void Copy(TextLimit textLimit)
    GetLimitContent()public string GetLimitContent(string content)
    SetRelatedText()public void SetRelatedText(ChartText txt, float labelWidth)

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    API版本描述
    TextPadding()public TextPadding() { }
    TextPadding()public TextPadding(float top, float right, float bottom, float left)

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    API版本描述
    Copy()public void Copy(TextStyle textStyle)
    GetAlignment()public TextAnchor GetAlignment(TextAnchor defaultAlignment)
    GetColor()public Color GetColor(Color defaultColor)
    GetFontSize()public int GetFontSize(ComponentTheme defaultTheme)
    TextStyle()public TextStyle() { }
    TextStyle()public TextStyle(int fontSize)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle, Color color)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle, Color color, int rorate)
    UpdateAlignmentByLocation()public void UpdateAlignmentByLocation(Location location)

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    API版本描述
    CheckWarning()public void CheckWarning(StringBuilder sb)
    CloneTheme()public Theme CloneTheme()
    克隆主题。
    CopyTheme()public bool CopyTheme(ThemeType theme)
    CopyTheme()public void CopyTheme(Theme theme)
    复制主题的所有配置。
    GetColor()public Color32 GetColor(int index)
    获得调色盘对应系列索引的颜色值。
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。
    GetColorStr()public string GetColorStr(int index)
    获得指定索引的十六进制颜色值字符串。
    GetHashCode()public override int GetHashCode()
    ResetTheme()public bool ResetTheme()
    重置,清除所有自定义配置。
    ResetToDarkTheme()public static void ResetToDarkTheme(Theme theme)
    暗主题。
    ResetToDefaultTheme()public static void ResetToDefaultTheme(Theme theme)
    默认主题。
    SetColorPalette()public void SetColorPalette(List<string> hexColorStringList)
    SetDefaultFont()public void SetDefaultFont()
    SyncFontToSubComponent()public void SyncFontToSubComponent()
    SyncTMPFontToSubComponent()public void SyncTMPFontToSubComponent()

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    API版本描述
    CheckWarning()public void CheckWarning(StringBuilder sb)
    GetBackgroundColor()public Color32 GetBackgroundColor(Background background)
    GetColor()public Color32 GetColor(int index)
    获得调色盘对应系列索引的颜色值。
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。
    GetColorStr()public string GetColorStr(int index)
    获得指定索引的十六进制颜色值字符串。
    SyncSharedThemeColorToCustom()public void SyncSharedThemeColorToCustom()

    Title

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    标题组件,包含主标题和副标题。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    OnChanged()public void OnChanged()

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle,ISerieDataComponent,ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    TitleTheme()public TitleTheme(ThemeType theme) : base(theme)

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    API版本描述
    AddSerieDataIndex()public void AddSerieDataIndex(int serieIndex, int dataIndex)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    ClearSerieDataIndex()public void ClearSerieDataIndex()
    GetContentLabelStyle()public LabelStyle GetContentLabelStyle(int index)
    IsActive()public bool IsActive()
    提示框是否显示
    isAnySerieDataIndex()public bool isAnySerieDataIndex()
    IsSelected()public bool IsSelected()
    当前提示框是否选中数据项
    IsSelected()public bool IsSelected(int index)
    指定索引的数据项是否被提示框选中
    IsTriggerAxis()public bool IsTriggerAxis()
    IsTriggerItem()public bool IsTriggerItem()
    KeepTop()public void KeepTop()
    保持Tooltiop显示在最顶上
    SetActive()public void SetActive(bool flag)
    设置Tooltip组件是否显示
    SetContentActive()public void SetContentActive(bool flag)
    设置文本框是否显示
    UpdateContentPos()public void UpdateContentPos(Vector2 pos, float width, float height)
    更新文本框位置

    TooltipContext

    class in XCharts.Runtime

    TooltipData

    class in XCharts.Runtime

    TooltipHelper

    class in XCharts.Runtime

    API版本描述
    GetItemNumericFormatter()public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)
    GetLineColor()public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor)
    IsIgnoreFormatter()public static bool IsIgnoreFormatter(string itemFormatter)
    LimitInRect()public static void LimitInRect(Tooltip tooltip, Rect chartRect)

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(TooltipTheme theme)
    TooltipTheme()public TooltipTheme(ThemeType theme) : base(theme)

    TooltipView

    class in XCharts.Runtime

    API版本描述
    CreateView()public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)
    GetCurrentPos()public Vector3 GetCurrentPos()
    GetTargetPos()public Vector3 GetTargetPos()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag)
    Update()public void Update()
    UpdatePosition()public void UpdatePosition(Vector3 pos)

    TooltipViewItem

    class in XCharts.Runtime

    UGL

    class in XUGL

    UGUI 图形库

    API版本描述
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, Color32 color, Color32 toColor)
    DrawEllipse()public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)
    DrawEmptyDiamond()public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color)
    DrawEmptyDiamond()public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color, Color32 emptyColor)
    DrawEmptyTriangle()public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color)
    DrawEmptyTriangle()public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color, Color32 backgroundColor)
    DrawLine()public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color)
    Draw a line. 画直线
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
    Draw a line. 画直线
    DrawMinus()public static void DrawMinus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    绘制减号
    DrawPlus()public static void DrawPlus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    绘制加号
    DrawPolygon()public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
    填充任意多边形(目前只支持凸多边形)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Vector3 p1, Vector3 p2, float radius, Color32 color)
    Draw a rectangle. 画带长方形
    DrawSquare()public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
    Draw a square. 画正方形
    DrawSvgPath()public static void DrawSvgPath(VertexHelper vh, string path)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)

    UGLExample

    class in XUGL / 继承自: MaskableGraphic

    UGLHelper

    class in XUGL

    API版本描述
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBezier()public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)
    GetBezier2()public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)
    GetBezierList()public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref List<Vector3> intersection)
    获得两直线的交点
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref Vector3 intersection)
    获得两直线的交点
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector3> polyons)
    IsPointInTriangle()public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)

    UIComponent

    class in XCharts.Runtime / 继承自: BaseGraph

    UI组件基类。

    API版本描述
    SetAllDirty()public override void SetAllDirty()
    SetDataDirty()v3.9.0public void SetDataDirty()
    SetVerticesDirty()public override void SetVerticesDirty()
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    GetBackgroundColor()public Color32 GetBackgroundColor(Background background)

    UIHelper

    class in XCharts.Runtime

    UI帮助类。

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    API版本描述
    AddColors()public void AddColors(List<Color32> colors)
    AddColors()public void AddColors(List<string> colors)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    GetColor()public Color32 GetColor(double value)
    GetIndex()public int GetIndex(double value)
    GetValue()public double GetValue(Vector3 pos, Rect chartRect)
    IsInRangeMaxRect()public bool IsInRangeMaxRect(Vector3 local, Rect chartRect, float triangleLen)
    IsInRangeMinRect()public bool IsInRangeMinRect(Vector3 local, Rect chartRect, float triangleLen)
    IsInRangeRect()public bool IsInRangeRect(Vector3 local, Rect chartRect)
    IsInRect()public bool IsInRect(Vector3 local, Rect chartRect, float triangleLen = 20)
    IsInSelectedValue()public bool IsInSelectedValue(double value)
    IsPiecewise()public bool IsPiecewise()

    VisualMapContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    VisualMapHelper

    class in XCharts.Runtime

    API版本描述
    AutoSetLineMinMax()public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
    GetDimension()public static int GetDimension(VisualMap visualMap, int defaultDimension)
    IsNeedAreaGradient()public static bool IsNeedAreaGradient(VisualMap visualMap)
    IsNeedGradient()public static bool IsNeedGradient(VisualMap visualMap)
    IsNeedLineGradient()public static bool IsNeedLineGradient(VisualMap visualMap)
    SetMinMax()public static void SetMinMax(VisualMap visualMap, double min, double max)

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Contains()public bool Contains(double value, double minMaxRange)

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(VisualMapTheme theme)
    VisualMapTheme()public VisualMapTheme(ThemeType theme) : base(theme)

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 x 轴。

    XChartsMgr

    class in XCharts.Runtime

    API版本描述
    AddChart()public static void AddChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(string chartName)
    GetChart()public static BaseChart GetChart(string chartName)
    GetCharts()public static List<BaseChart> GetCharts(string chartName)
    GetPackageFullPath()public static string GetPackageFullPath()
    GetRepeatChartNameInfo()public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
    IsRepeatChartName()public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
    RemoveAllChartObject()public static void RemoveAllChartObject()
    RemoveChart()public static void RemoveChart(string chartName)

    XCResourceImporterWindow

    class in XCharts.Runtime / 继承自: UnityEditor.EditorWindow

    API版本描述
    ShowPackageImporterWindow()public static void ShowPackageImporterWindow()

    XCResourcesImporter

    class in XCharts.Runtime

    API版本描述
    OnDestroy()public void OnDestroy() { }
    OnGUI()public void OnGUI()
    XCResourcesImporter()public XCResourcesImporter() { }

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    API版本描述
    AddCustomTheme()public static bool AddCustomTheme(Theme theme)
    ExistAssetFile()public static bool ExistAssetFile()
    GetSettingAssetPath()public static string GetSettingAssetPath()

    XCThemeMgr

    class in XCharts.Runtime

    API版本描述
    AddTheme()public static void AddTheme(Theme theme)
    CheckReloadTheme()public static void CheckReloadTheme()
    ContainsTheme()public static bool ContainsTheme(string themeName)
    ExportTheme()public static bool ExportTheme(Theme theme)
    ExportTheme()public static bool ExportTheme(Theme theme, string themeNewName)
    GetAllThemeNames()public static List<string> GetAllThemeNames()
    GetTheme()public static Theme GetTheme(string themeName)
    GetTheme()public static Theme GetTheme(ThemeType type)
    GetThemeAssetPath()public static string GetThemeAssetPath(string themeName)
    GetThemeList()public static List<Theme> GetThemeList()
    LoadTheme()public static Theme LoadTheme(string themeName)
    LoadTheme()public static Theme LoadTheme(ThemeType type)
    ReloadThemeList()public static void ReloadThemeList()
    重新加载主题列表
    SwitchTheme()public static void SwitchTheme(BaseChart chart, string themeName)

    XLog

    class in XCharts.Runtime / 继承自: MonoBehaviour

    日志系统。用于输出带日期和日志类型的日志,支持输出到文件,支持自定义输出的日志类型。

    API版本描述
    CanLog()public static bool CanLog(int level)
    ClearAllLog()public static void ClearAllLog()
    Debug()public static void Debug(string log)
    EnableLog()public static void EnableLog(int logType)
    Error()public static void Error(string log)
    FlushLog()public static void FlushLog()
    GetNowTime()public static string GetNowTime(string formatter = null)
    GetTimestamp()public static ulong GetTimestamp()
    Info()public static void Info(string log)
    Log()public static void Log(string log)
    LogError()public static void LogError(string log)
    LogWarning()public static void LogWarning(string log)
    Proto()public static void Proto(string log)
    Vital()public static void Vital(string log)
    Warning()public static void Warning(string log)

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/bar3d/index.html b/docs/v3.10.2/bar3d/index.html index ef26fd0d..7f8fe81d 100644 --- a/docs/v3.10.2/bar3d/index.html +++ b/docs/v3.10.2/bar3d/index.html @@ -14,14 +14,14 @@ Bar3DChart 3D柱图 | XCharts - - + +
    Version: v3.10.2

    Bar3DChart 3D柱图

    XCharts的付费扩展图表 - 3D柱图。

    截图

    Bar3D01Bar3D02Bar3D03Bar3D04Bar3D05
    Bar3D07Bar3D08Bar3D09Bar3D10

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-Bar3DChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.10.0

    • (2023.12.16) 增加Bar3D的更多默认图表快捷方式和API
    • (2023.12.16) 增加Bar3DStyleborderDash是否绘制虚线边框
    • (2023.12.16) 增加Bar3DStyleoccludedAreaBorderDash是否绘制遮挡区域的虚线边框
    • (2023.12.16) 增加Bar3DStyleoccludedAreaBorder是否绘制遮挡区域的边框
    • (2023.12.16) 增加Border边框绘制支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0
    • (2023.02.14) 增加Bar3DStyletopColorbottomColorsideColor参数支持

    v3.5.0

    • (2022.11.29) 增加SeriebarMaxWidth参数支持
    • (2022.11.27) 增加SerieItemStylebackgroundColor参数支持
    • (2022.11.27) 增加SeriecolorBy的支持
    • (2022.11.27) 更新文档

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    v3.1.0

    • (2022.07.14) 发布v3.1.0版本
    • (2022.07.14) 增加bottomColorRate,cylinderRate参数
    • (2022.07.14) 调整topColorBurnRate改名为topColorRate
    • (2022.07.14) 调整sideColorBurnRate改名为sideColorRate
    • (2022.07.14) 调整dire改名为cubeDire
    • (2022.07.14) 支持Cylinder圆柱和Cube立方柱

    API

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie,INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    API版本描述
    AddDefaultSerie()public static Bar3D AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Bar3D ConvertSerie(Serie serie)

    Bar3DChart

    class in XCharts.Runtime.Bar3Ds / 继承自: BaseChart

    API版本描述
    DefaultCylinderChart()public void DefaultCylinderChart(){
    生成默认的圆柱体图。
    DefaultGroupedCubeChart()public void DefaultGroupedCubeChart()
    默认分组3D柱状图。
    DefaultStackedCubeChart()public void DefaultStackedCubeChart()
    默认堆叠分组3D柱状图。

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    配置项手册

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie, INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    参数默认版本描述
    bar3DTypev3.1.0
    Bar3DType:
    - Cube: 立方柱。
    - Cylinder: 圆柱。
    bar3DStyleBar3DStyle

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    verticalArrangefalse是否垂直排列。
    verticalArrangeDireVector3(-1, 1)垂直排列时的方向。
    verticalArrangeGap0.5f垂直排列时两个柱子间的间隙。
    barOffsetVector3.zero柱子偏移。
    widthRate0.5f方形柱侧边宽度相对正面的比例。
    topColorRate0.8f柱子顶部相对正面的颜色比例。
    bottomColorRate1f柱子底部相对正面的颜色比例。
    sideColorRate0.7f方形柱侧边相对正面的颜色比例。
    cubeDireVector3(1, 1)方形柱形成3D效果的方向。
    cylinderRate0.5fv3.1.0圆柱的顶部椭圆比列。
    topColorv3.6.0
    bottomColorv3.6.0
    sideColorv3.6.0
    occludedAreaBorderv3.10.0是否显示遮挡区域的边框。
    occludedAreaBorderDashv3.10.0是否显示遮挡区域的虚线边框。
    borderDashv3.10.0是否显示虚线边框。
    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/changelog/index.html b/docs/v3.10.2/changelog/index.html index 7bedc686..a751793a 100644 --- a/docs/v3.10.2/changelog/index.html +++ b/docs/v3.10.2/changelog/index.html @@ -14,8 +14,8 @@ 更新日志 | XCharts - - + +
    @@ -83,7 +83,7 @@ v0.8.0
    v0.5.0
    v0.1.0

    master

    v3.10.1

    • (2024.02.21) 发布v3.10.1版本
    • (2024.02.19) 修复Tooltip的圆点标记不会自适应颜色的问题

    v3.10.0

    版本要点:

    • 增加双类目轴支持
    • 增加更多细分快捷菜单创建图表,可一键创建几十种图表
    • 增加图表边框设置,支持圆角图表
    • 修复若干问题

    扩展功能:

    • 增加SankeyChart桑基图
    • 增加UITable的边框设置

    日志详情:

    • (2024.02.01) 发布v3.10.0版本
    • (2024.01.31) 修复Tooltip在设置itemFormatter-后整个不显示的问题
    • (2024.01.27) 修复TextLimit在开启TextMeshPro后无效的问题 (#301)
    • (2024.01.24) 增加Bar支持X轴和Y轴都为Category类目轴
    • (2024.01.23) 增加{y}通配符用于获取Y轴的类目名
    • (2024.01.23) 增加Line支持X轴和Y轴都为Category类目轴
    • (2024.01.18) 修复Animationtype代码动态修改无效的问题
    • (2024.01.13) 增加Chart的更多快捷创建图表菜单
    • (2024.01.09) 增加BackgroundborderStyle,给图表默认设置圆角
    • (2024.01.07) 修复Tooltop的第一个ContentLabelStyle设置color无效的问题
    • (2024.01.01) 增加BorderStyle边框样式
    • (2023.12.26) 增加HeatmapmaxCache参数支持
    • (2023.12.25) 优化Line开启clip时绘制的顶点数
    • (2023.12.22) 修复Scatter散点图部分边界数据不显示的问题
    • (2023.12.21) 修复TriggerTooltip()接口在指定0或最大index时可能无法触发的问题
    • (2023.12.19) 修复LegendLabelStyle设置formatter后不生效的问题
    • (2023.12.12) 增加LegendTextLimit可限制图例显示文本的长度
    • (2023.12.11) 修复Serie添加double.MaxValue时坐标绘制失败的问题
    • (2023.12.10) 增加SerieminShowLabel可隐藏小于指定值的label
    • (2023.12.09) 增加LevelStyledepth指定所属层次
    • (2023.12.09) 增加LevelStyleLineStyle设置线条样式
    • (2023.12.09) 增加SerieLink可用于桑基图添加节点边关系
    • (2023.12.05) 增加ResetChartStatus()可主动重置图表状态

    v3.9.0

    版本要点:

    • 增加AxisAnimation,完善数据变更动画效果
    • 增加Axis的对数轴子刻度的支持
    • 增加MarkLineonTop设置是否显示在最上层
    • 完善代码注释和手册文档
    • 修复若干问题

    扩展功能:

    • UITable增加轮播功能
    • UITable增加数据操作接口和回调函数
    • Pie3DChart优化绘制表现

    日志详情:

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 修复TooltiptitleFormatter设置为{b}后显示不准确的问题
    • (2023.11.30) 增加SerieData可单独添加Label的支持
    • (2023.11.28) 修复Tooltip在对数轴时指示不准确的问题
    • (2023.11.24) 修复ChartUpdateData()接口返回值不准确的问题
    • (2023.11.24) 修复Axis的更新数据时效果不顺畅的问题
    • (2023.11.23) 增加AxisAnimation支持动画效果
    • (2023.11.16) 取消Legendformatter,用LabelStyle的代替
    • (2023.11.14) 完善LabelStyleformatter的注释和文档(#291)
    • (2023.11.11) 修复Documentation部分注释生成文档不完整的问题 (#290)
    • (2023.11.11) 修复Legendformatter在数据变更时没有自动刷新的问题
    • (2023.11.05) 修复SerieEventDatavalue一直是0的问题 (#287)
    • (2023.11.03) 修复Bar设置渐变色时鼠标移出效果异常的问题 (#285)
    • (2023.11.02) 优化SerieData设置ignoreformatter的忽略问题
    • (2023.11.01) 增加MarkLineonTop设置是否显示在最上层
    • (2023.10.21) 修复Pie有0数据时Label的位置异常的问题
    • (2023.10.21) 增加Axis的对数轴支持子刻度
    • (2023.10.19) 修复Pie设置玫瑰图时引导线异常的问题
    • (2023.10.15) 修复Line设置AnimationAlongPath时动画异常的问题 (#281)
    • (2023.10.12) 修复MarkLine指定yValue时对数值轴无效的问题
    • (2023.10.11) 修复SerieshowDataDimension设置无效的问题

    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) 增加PieradiusGradient可设置半径方向的渐变效果
    • (2023.09.05) 优化LabelLinelineEndXPie中的表现
    • (2023.09.05) 修复TriggerTooltip()接口对Ring无效的问题
    • (2023.09.05) 修复Radar数据全为0时绘制报错的问题

    v3.8.0

    版本要点:

    • 重构Animation动画系统,增加新增动画交互动画的支持
    • 完善PieChart的动画交互表现
    • 增加SymbolEmptyTriangleEmptyDiamondPlusMinus四种新标记
    • 完善Chart的鼠标交互回调
    • 增加LabelLine可固定横坐标的功能
    • 增加GridLayout网格布局组件
    • 增加TooltipAuto类型
    • 优化和修复若干其他问题

    日志详情:

    • (2023.09.03) 发布v3.8.0版本
    • (2023.09.01) 增加TooltipAuto自动设置显示类型和触发类型
    • (2023.08.29) 增加RinggridIndex支持设置指定网格
    • (2023.08.29) 增加RadargridIndex支持设置指定网格
    • (2023.08.29) 增加PiegridIndex支持设置指定网格
    • (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) 修复YAxisLabel可能会重复的问题
    • (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本地开启TextMeshProNewInputSystem后更新版本会报错的问题 (#272)
    • (2023.08.12) 修复Chart在运行时被删除时会异常报错的问题 (#269)
    • (2023.08.11) 修复DataZoom开启时可能会导致无法添加数据的问题
    • (2023.08.11) 修复SerieData单独设置ItemStyleitemFormatter不生效的问题
    • (2023.08.10) 优化BarChartTooltipTriggerItem时的表现
    • (2023.08.09) 增加Axis可通过设置IconStylecolorclear来实现动态图标颜色的支持
    • (2023.08.08) 增加PieLabelLinelineEndX的支持
    • (2023.08.05) 整理Examples的代码,删除不必要的用例
    • (2023.08.04) 增加LabelLinelineEndX可设置引导线固定X位置的支持
    • (2023.08.04) 增加RingavoidLabelOverlap避免文本堆叠的支持 (#247)
    • (2023.08.03) 完善ChartonSerieEnteronSerieExitonSerieClick回调
    • (2023.08.02) 修复BarChartonSerieEnteronSerieExit回调无效的问题
    • (2023.08.02) 增加SymbolPlus加号和Minus减号的支持
    • (2023.07.31) 增加SymbolEmptyTriangleEmptyDiamond的支持,优化Symbol表现效果
    • (2023.07.31) 优化Line的默认配置效果
    • (2023.07.27) 增加SerieminRadius可设置最小半径
    • (2023.07.26) 增加MLValue多样式数值
    • (2023.07.25) 增加XLog日志系统
    • (2023.07.18) 完善Pie饼图的交互动画效果
    • (2023.07.14) 增加AnimationInteraction交互动画配置支持
    • (2023.07.11) 增加AnimationAddition新增动画配置支持
    • (2023.07.11) 重构Animation动画系统,完善动画体验
    • (2023.06.30) 增加PolarCoodindicatorLabelOffset设置指示文本偏移的支持
    • (2023.06.30) 修复AxisIndicatorLabel的背景颜色可能不正常的问题
    • (2023.06.30) 增加AxisIndicatorLabel可自定义color的支持
    • (2023.06.12) 修复AxisLabelformatterFunction在数值轴时value不对的问题

    v3.7.0

    版本要点:

    • 增加HelpDoc官网帮助文档跳转
    • 增加LineClip的支持
    • 优化Axis的范围设置
    • 其他优化和修复

    日志详情:

    • (2023.06.08) 发布v3.7.0版本
    • (2023.06.04) 增加HelpDoc帮助文档跳转
    • (2023.05.30) 修复Serie的名字带_线导致Legend无法触发的问题 (#259) (by svr2kos2)
    • (2023.05.10) 增加AxisMinMaxAuto范围类型
    • (2023.05.10) 增加LineClip的支持
    • (2023.05.04) 优化Axis在-1到1范围时设置CeilRate不生效的问题
    • (2023.05.04) 优化AxisMinMax类型范围计算
    • (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) 增加BaseChartTriggerTooltip()接口尝试触发ToolTip
    • (2023.04.12) 优化RadarCood设置startAngle时文本也跟随调整位置
    • (2023.04.12) 增加Radar对通配符{b}的支持
    • (2023.04.11) 修复Inspector在动态添加组件时可能异常的问题

    v3.6.0

    版本要点:

    • 增加InputSystem支持 (by Bian-Sh)
    • 增加官网在线示例多版本支持 (by SHL-COOL)
    • 完善对VR的支持 (by Ambitroc)
    • 增加UITableUIStatistic扩展UI组件
    • 增加ItemStyleMarkColor
    • 增加通配符{h}的支持
    • 优化TooltipLegendDataZoomAxis等组件
    • 重构相关API接口,完善回调接口
    • 修复若干问题

    升级注意:

    • 部分接口有调整,可根据提示更换下接口即可。

    日志详情:

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.14) 修复TooltiptitleFormater设置{b}可能不生效的问题
    • (2023.03.14) 修复BarChart在数据为0时不绘制柱条背景的问题 (#250) (by Ambitroc)
    • (2023.03.12) 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转
    • (2023.03.10) 增加VR等其他非鼠标输入方式的Point位置获取 (#248) (by Ambitroc)
    • (2023.03.09) 增加ChartonSerieClickonSerieDownonSerieEnteronSerieExit回调
    • (2023.03.09) 修复Pie的点击选中偏移不生效的问题
    • (2023.03.04) 增加LegendPositions可自定义图例的位置
    • (2023.03.03) 修复Animation变更动画可能无效的问题
    • (2023.02.28) 修复Legend点击时SerieLabel不刷新的问题
    • (2023.02.26) 增加DataZoomstartEndFunction委托
    • (2023.02.12) 重构Component相关代码,调整API接口
    • (2023.02.10) 修复AxisLog轴时某些情况下最小值不正确的问题
    • (2023.02.10) 优化Axis的数值Label的默认显示格式
    • (2023.02.08) 增加DataZoomstartLockendLock参数支持锁定
    • (2023.02.02) 修复DataZoom开启时X轴Label可能会显示在图表外的问题
    • (2023.02.02) 优化SerieDataignore设置时的忽略数据判断
    • (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) 删除SerieMarkColor,增加ItemStyleMarkColor
    • (2022.12.29) 增加EditorList+添加编辑功能
    • (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) 修复AxisValue轴在某些情况下计算数值范围不准确的问题
    • (2022.12.12) 优化Legendformatter支持{h}通配符
    • (2022.12.12) 修复Legendformatter设置为固定值时显示不正常的问题
    • (2022.12.08) 增加AreaStyletoTop参数可设置折线图渐变色是到顶部还是到实际位置
    • (2022.12.07) 增加Formatter的文本通配符{h}支持设置当前颜色值

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Convert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/configuration/index.html b/docs/v3.10.2/configuration/index.html index fc4b921c..f826912d 100644 --- a/docs/v3.10.2/configuration/index.html +++ b/docs/v3.10.2/configuration/index.html @@ -14,13 +14,13 @@ 配置项手册 | XCharts - - + +
    Version: v3.10.2

    配置项手册

    Serie 系列

    Theme 主题

    MainComponent 主组件

    ChildComponent 子组件

    ISerieComponent 可添加到Serie的组件

    ISerieDataComponent 可添加到SerieData的组件

    Other 其他

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    参数默认版本描述
    startAngle0起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn, AnimationFadeOut, AnimationChange, AnimationAddition, AnimationHiding, AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    参数默认版本描述
    enabletruev3.8.0是否开启动画效果。
    reversefalsev3.8.0是否开启反向动画效果。
    delay0v3.8.0动画开始前的延迟时间。
    duration1000v3.8.0动画的时长。

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    参数默认版本描述
    widthv3.8.0宽度的多样式数值。 MLValue
    radiusv3.8.0半径的多样式数值。 MLValue
    offsetv3.8.0交互的多样式数值。如饼图的扇形选中时的偏移。 MLValue

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    参数默认版本描述
    enabletrue是否开启动画效果。
    type动画类型。
    AnimationType:
    - Default: 默认。内部会根据实际情况选择一种动画播放方式。
    - LeftToRight: 从左往右播放动画。
    - BottomToTop: 从下往上播放动画。
    - InsideOut: 由内到外播放动画。
    - AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    - Clockwise: 顺时针播放动画。
    easting
    AnimationEasing:
    - Linear:
    threshold2000是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
    unscaledTimev3.4.0动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。
    fadeInv3.8.0渐入动画配置。 AnimationFadeIn
    fadeOutv3.8.0渐出动画配置。 AnimationFadeOut
    changev3.8.0数据变更动画配置。 AnimationChange
    additionv3.8.0数据新增动画配置。 AnimationAddition
    hidingv3.8.0数据隐藏动画配置。 AnimationHiding
    interactionv3.8.0交互动画配置。 AnimationInteraction

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    区域填充样式。

    参数默认版本描述
    showtrue是否显示区域填充。
    origin区域填充的起始位置。
    AreaStyle.AreaOrigin:
    - Auto: 填充坐标轴轴线到数据间的区域。
    - Start: 填充坐标轴底部到数据间的区域。
    - End: 填充坐标轴顶部到数据间的区域。
    color区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。
    toColor渐变色的终点颜色。
    opacity0.6f图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    innerFillv3.2.0是否只填充多边形区域。目前只支持凸多边形。
    toToptruev3.6.0渐变色是到顶部还是到实际位置。默认为true到顶部。

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    width10箭头宽。
    height15箭头高。
    offset0箭头偏移。
    dent3箭头的凹度。
    colorColor.clear箭头颜色。

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis, ParallelAxis, RadiusAxis, SingleAxis, XAxis, YAxis

    直角坐标系的坐标轴组件。

    参数默认版本描述
    showtrue是否显示坐标轴。
    type坐标轴类型。
    Axis.AxisType:
    - Value: 数值轴。适用于连续数据。
    - Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    - Log: 对数轴。适用于对数数据。
    - Time: 时间轴。适用于连续的时序数据。
    minMaxType坐标轴刻度最大最小值显示类型。
    Axis.AxisMinMaxType:
    - Default: 0-最大值。
    - MinMax: 最小值-最大值。
    - Custom: 自定义最小值最大值。
    - MinMaxAuto: [since("v3.7.0")]最小值-最大值。自动计算合适的值。
    gridIndex坐标轴所在的 grid 的索引,默认位于第一个 grid。
    polarIndex坐标轴所在的 ploar 的索引,默认位于第一个 polar。
    parallelIndex坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
    position坐标轴在Grid中的位置。
    Axis.AxisPosition:
    - Left: 坐标轴在Grid中的位置
    - Right: 坐标轴在Grid中的位置
    - Bottom: 坐标轴在Grid中的位置
    - Top: 坐标轴在Grid中的位置
    offset坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
    min设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
    max设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
    splitNumber0坐标轴的期望的分割段数。默认为0表示自动分割。
    interval0强制设置坐标轴分割间隔。无法在类目轴中使用。
    boundaryGaptrue坐标轴两边是否留白。只对类目轴有效。
    maxCache0The first data will be remove when the size of axis data is larger then maxCache.
    logBase10对数轴的底数,只在对数轴(type:'Log')中有效。
    logBaseEfalse对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    inversefalse是否反向坐标轴。在类目轴中无效。
    clockwisetrue刻度增长是否按顺时针,默认顺时针。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    icons类目数据对应的图标。
    data类目数据,在类目轴(type: 'category')中有效。
    axisLine坐标轴轴线。 AxisLine
    axisName坐标轴名称。 AxisName
    axisTick坐标轴刻度。 AxisTick
    axisLabel坐标轴刻度标签。 AxisLabel
    splitLine坐标轴分割线。 AxisSplitLine
    splitArea坐标轴分割区域。 AxisSplitArea
    animation坐标轴动画。 AxisAnimation
    minorTickv3.2.0坐标轴次刻度。 AxisMinorTick
    minorSplitLinev3.2.0坐标轴次分割线。 AxisMinorSplitLine
    indicatorLabelv3.4.0指示器文本的样式。Tooltip为Cross时使用。 LabelStyle

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    参数默认版本描述
    showtrue是否开启动画。
    duration动画时长(ms)。 默认设置为0时,会自动获取serie的动画时长。
    unscaledTime动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    参数默认版本描述
    interval0坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    insidefalse刻度标签是否朝内,默认朝外。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。
    onZerofalse刻度标签显示在0刻度上。
    showStartLabeltrue是否显示第一个文本。
    showEndLabeltrue是否显示最后一个文本。
    textLimit文本限制。 TextLimit

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    参数默认版本描述
    onZeroX 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。
    showArrow是否显示箭头。
    arrow轴线箭头。 ArrowStyle

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    参数默认版本描述
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    参数默认版本描述
    splitNumber5分隔线之间分割的刻度数。
    autoColor

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    参数默认版本描述
    show是否显示坐标轴名称。
    name坐标轴名称。
    onZerov3.1.0坐标轴名称的位置是否保持和Y轴0刻度一致。
    labelStyle文本样式。 LabelStyle

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    参数默认版本描述
    show是否显示分隔区域。
    color分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    参数默认版本描述
    interval坐标轴分隔线的显示间隔。
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。
    showStartLinetruev3.3.0是否显示第一条分割线。
    showEndLinetruev3.3.0是否显示最后一条分割线。

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    参数默认版本描述
    alignWithLabel类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。
    inside坐标轴刻度是否朝内,默认朝外。
    showStartTick是否显示第一个刻度。
    showEndTick是否显示最后一个刻度。
    distance刻度线与轴线的距离。
    splitNumber0分隔线之间分割的刻度数。
    autoColor

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    参数默认版本描述
    showtrue是否启用背景组件。
    image背景图。
    imageType背景图填充类型。
    imageColor背景图颜色。
    imageWidth0v3.10.0背景图宽度。
    imageHeight0v3.10.0背景图高度。
    autoColortrue当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。
    borderStylev3.10.0背景边框样式。 BorderStyle

    Bar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme, RadiusAxisTheme, AngleAxisTheme, PolarAxisTheme, RadarAxisTheme

    参数默认版本描述
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f坐标轴线宽。
    lineLength0f坐标轴线长。
    lineColor坐标轴线颜色。
    splitLineType分割线线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    splitLineWidth1f分割线线宽。
    splitLineLength0f分割线线长。
    splitLineColor分割线线颜色。
    minorSplitLineColor次分割线线颜色。
    tickWidth1f刻度线线宽。
    tickLength5f刻度线线长。
    tickColor坐标轴线颜色。
    splitAreaColors坐标轴分隔区域的颜色。

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine, AxisMinorSplitLine, AxisMinorTick, AxisSplitLine, AxisTick

    线条基础配置。

    参数默认版本描述
    show是否显示坐标轴轴线。
    lineStyle线条样式 LineStyle

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer / 子类: EffectScatter, Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    BorderStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    边框样式。

    参数默认版本描述
    showfalse是否显示边框。
    borderWidth边框宽度。
    borderColor边框颜色。
    roundedCornertrue是否显示圆角。
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。当为(1,1,1,1)时为全圆角。

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Candlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ChartText

    class in XCharts.Runtime

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle, AxisAnimation, AxisName, AxisSplitArea, AreaStyle, ArrowStyle, BaseLine, BorderStyle, IconStyle, ImageStyle, ItemStyle, Level, LevelStyle, LineArrow, LineStyle, Location, MLValue, MarqueeStyle, Padding, StageColor, SymbolStyle, TextLimit, TextStyle, CommentItem, CommentMarkStyle, LabelLine, LabelStyle, MarkAreaData, MarkLineData, StateStyle, VisualMapRange, UIComponentTheme, SerieData, SerieDataLink, ComponentTheme, SerieTheme, ThemeStyle

    Comment

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图表注解组件。

    参数默认版本描述
    showtrue是否显示注解组件。
    labelStyle所有组件的文本样式。 LabelStyle
    markStyle所有组件的文本样式。 CommentMarkStyle
    items注解项。每个注解组件可以设置多个注解项。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    参数默认版本描述
    showtrue是否显示当前注解项。
    content注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。
    markRect注解区域。
    markStyle注解标记区域样式。 CommentMarkStyle
    labelStyle注解项的文本样式。 LabelStyle
    locationv3.5.0Comment显示的位置。 Location

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    参数默认版本描述
    showtrue是否显示当前注解项。
    lineStyle线条样式。 LineStyle

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme, DataZoomTheme, LegendTheme, SubTitleTheme, TitleTheme, TooltipTheme, VisualMapTheme

    参数默认版本描述
    font字体。
    textColor文本颜色。
    textBackgroundColor文本颜色。
    fontSize18文本字体大小。
    tMPFont字体。

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord, CalendarCoord, GridCoord, ParallelCoord, PolarCoord, SingleAxisCoord

    坐标系系统。

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    参数默认版本描述
    enabletrue是否显示缩放区域。
    filterMode数据过滤类型。
    DataZoom.FilterMode:
    - Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    - WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    - Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    - None: 不过滤数据,只改变数轴范围。
    xAxisIndexs控制的 x 轴索引列表。
    yAxisIndexs控制的 y 轴索引列表。
    supportInside是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
    supportInsideScrolltrue是否支持坐标系内滚动
    supportInsideDragtrue是否支持坐标系内拖拽
    supportSlider是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。
    supportMarquee是否支持框选。提供一个选框进行数据区域缩放。
    showDataShadow是否显示数据阴影。数据阴影可以简单地反应数据走势。
    showDetail是否显示detail,即拖拽时候显示详细数值信息。
    zoomLock是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    borderWidth边框宽。
    backgroundColor组件的背景颜色。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    rangeMode取绝对值还是百分比。
    DataZoom.RangeMode:
    - //Value: The value type of start and end.取值类型
    - Percent: 百分比。
    start数据窗口范围的起始百分比。范围是:0 ~ 100。
    end数据窗口范围的结束百分比。范围是:0 ~ 100。
    minShowNum2最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。
    scrollSensitivity1.1f缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。
    orient布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    labelStyle文本标签格式。 LabelStyle
    lineStyle阴影线条样式。 LineStyle
    areaStyle阴影填充样式。 AreaStyle
    marqueeStylev3.5.0选取框样式。 MarqueeStyle
    startLockv3.6.0固定起始值,不让改变。
    endLockv3.6.0固定结束值,不让改变。

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    borderWidth边框线宽。
    dataLineWidth数据阴影线宽。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    dataLineColor数据阴影的线条颜色。
    dataAreaColor数据阴影的填充颜色。
    backgroundColor背景颜色。

    DebugInfo

    class in XCharts.Runtime

    参数默认版本描述
    showtrue是否显示Debug组件。
    showDebugInfofalse
    showAllChartObjectfalse是否在Hierarchy试图显示所有chart下的节点。
    foldSeriesfalse是否在Inspector上折叠Serie。
    labelStyleLabelStyle

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    参数默认版本描述
    scale1.1f高亮时的缩放倍数。
    focus在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。
    EmphasisStyle.FocusType:
    - None: 不淡出其它图形,默认使用该配置。
    - Self: 只聚焦(不淡出)当前高亮的数据的图形。
    - Series: 聚焦当前高亮的数据所在的系列的所有图形。
    blurScope在开启focus的时候,可以通过blurScope配置淡出的范围。
    EmphasisStyle.BlurScope:
    - GridCoord: 淡出范围为坐标系,默认使用该配置。
    - Series: 淡出范围为系列。
    - Global: 淡出范围为全局。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    layoutIndex-1v3.8.0网格所属的网格布局组件的索引。默认为-1,表示不属于任何网格布局组件。当设置了该值时,left、right、top、bottom属性将失效。
    left0.11fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.14fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。
    showBorderfalse是否显示网格边框。
    borderWidth0f网格边框宽。
    borderColor网格边框颜色。

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    row2网格布局的行数。
    column2网格布局的列数。
    spacingVector2.zero网格布局的间距。
    inversefalse是否反转网格布局。

    Heatmap

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    heatmapTypev3.3.0热力图类型。通过颜色映射划分。
    HeatmapType:
    - Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    - Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    showfalse是否显示图标。
    layer显示在上层还是在下层。
    IconStyle.Layer:
    - UnderText: The icon is display under the label text. 图标在标签文字下
    - AboveText: The icon is display above the label text. 图标在标签文字上
    align水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    sprite图标的图片。
    type图片的显示类型。
    color图标颜色。
    width20图标宽。
    height20图标高。
    offset图标偏移。
    autoHideWhenLabelEmptyfalse当label内容为空时是否自动隐藏图标

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    参数默认版本描述
    showtrue是否显示图标。
    sprite图标的图片。
    type图片的显示类型。
    autoColor是否自动颜色。
    color图标颜色。
    width0图标宽。
    height0图标高。

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    参数默认版本描述
    name指示器名称。
    max指示器的最大值,默认为 0 无限制。
    min指示器的最小值,默认为 0 无限制。
    range正常值范围。当数值不在这个范围时,会自动变更显示颜色。
    show是否显示雷达坐标系组件。
    shape雷达图绘制类型,支持 'Polygon' 和 'Circle'。
    radius100雷达图的半径。
    splitNumber5指示器轴的分割段数。
    center雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    axisLine轴线。 AxisLine
    axisName雷达图每个指示器名称的配置项。 AxisName
    splitLine分割线。 AxisSplitLine
    splitArea分割区域。 AxisSplitArea
    indicatortrue是否显示指示器。
    positionType显示位置类型。
    indicatorGap10指示器和雷达的间距。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    isAxisTooltip是否Tooltip显示轴线上的所有数据。
    outRangeColorColor.red数值超出范围时显示的颜色。
    connectCenterfalse数值是否连线到中心点。
    lineGradienttrue数值线段是否需要渐变。
    startAnglev3.4.0起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    indicatorList指示器列表。

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Radar, BaseScatter

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location, Comment, Legend, Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, LineArrow, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord, CalendarCoord, GridCoord, ParallelCoord, PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, ItemStyle, LineStyle, SerieSymbol, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar, SimplifiedCandlestick, SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    图形样式。

    参数默认版本描述
    showtrue是否启用。
    color数据项颜色。
    color0数据项颜色。
    toColor渐变色的颜色1。
    toColor2渐变色的颜色2。只在折线图中有效。
    markColorv3.6.0Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。
    backgroundColor数据项背景颜色。
    backgroundWidth数据项背景宽度。
    centerColor中心区域颜色。
    centerGap中心区域间隙。
    borderWidth0边框宽。
    borderGap0边框间隙。
    borderColor边框的颜色。
    borderColor0边框的颜色。
    borderToColor边框的渐变色。
    opacity1透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    itemMarker提示框单项的字符标志。用在Tooltip中。
    itemFormatter提示框单项的字符串模版格式器。具体配置参考Tooltipformatter
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis, DataZoom, CalendarCoord, GridCoord, GridLayout, ParallelCoord

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    标签的引导线

    参数默认版本描述
    showtrue是否显示视觉引导线。
    lineType视觉引导线类型。
    LabelLine.LineType:
    - BrokenLine: 折线
    - Curves: 曲线
    - HorizontalLine: 水平线
    lineColorColor32(0,0,0,0)视觉引导线颜色。默认和serie一致取自调色板。
    lineAngle60视觉引导线的固定角度。对折线和曲线有效。在Pie中无效。
    lineWidth1.0f视觉引导线的宽度。
    lineGap1.0f视觉引导线和容器的间距。
    lineLength125f视觉引导线第一段的长度。
    lineLength215f视觉引导线第二段的长度。
    lineEndX0fv3.8.0视觉引导线结束点的固定x位置。当不为0时,会代替lineLength2设定引导线的x位置。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent / 子类: AxisLabel, EndLabelStyle, TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    参数默认版本描述
    showtrue是否显示文本标签。
    Position标签的位置。
    autoOffsetfalse是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。
    offset距离图形元素的偏移
    rotate文本的旋转。
    autoRotatefalsev3.6.0是否自动旋转。
    distance距离轴线的距离。
    formatter标签内容字符串模版格式器。支持用 \n 换行。部分组件的格式器会不生效。
    模板通配符有以下这些,部分只适用于固定的组件:
    {.}:圆点标记。
    {a}:系列名。
    {b}:X轴类目名或数据名。
    {c}:数据值。
    {d}:百分比。
    {e}:数据名。
    {f}:数据和。
    {g}:数据总个数。
    {h}:十六进制颜色值。
    {y}:Y轴的类目名。
    {value}:坐标轴或图例的值。
    以下通配符适用UITable组件:
    {name}: 表格的行名。
    {index}:表格的行号。
    以下通配符适用UIStatistc组件:
    {title}:标题文本。
    {dd}:天。
    {hh}:小时。
    {mm}:分钟。
    {ss}:秒。
    {fff}:毫秒。
    {d}:天。
    {h}:小时。
    {m}:分钟。
    {s}:秒。
    {f}:毫秒。
    示例:“{b}:{c}”
    numericFormatter标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式常见的格式:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:yyyy-MM-dd HH:mm:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    width0标签的宽度。一般不用指定,不指定时则自动是文字的宽度。
    height0标签的高度。一般不用指定,不指定时则自动是文字的高度。
    icon图标样式。 IconStyle
    background背景图样式。 ImageStyle
    textPadding文本的边距。 TextPadding
    textStyle文本样式。 TextStyle

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    Legend

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    参数默认版本描述
    showtrue是否显示图例组件。
    iconType图例类型。
    Legend.Type:
    - Auto: 自动匹配。
    - Custom: 自定义图标。
    - EmptyCircle: 空心圆。
    - Circle: 圆形。
    - Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    - Triangle: 三角形。
    - Diamond: 菱形。
    - Candlestick: 烛台(可用于K线图)。
    selectedMode选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。
    Legend.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    - None: 无法选择。
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location图例显示的位置。 Location
    itemWidth25.0f图例标记的图形宽度。
    itemHeight12.0f图例标记的图形高度。
    itemGap10f图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
    itemAutoColortrue图例标记的图形是否自动匹配颜色。
    itemOpacity1图例标记的图形的颜色透明度。
    formatter不再使用,使用LabelStyle.formatter代替。
    labelStyle文本样式。 LabelStyle
    textLimitv3.10.0文本限制。 TextLimit
    data图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。
    icons自定义的图例标记图形。
    colors图例标记的颜色列表。
    backgroundv3.1.0背景图样式。 ImageStyle
    paddingv3.1.0图例标记和背景的间距。 Padding
    positionsv3.6.0图例标记的自定义位置列表。

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    unableColor文本颜色。

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    depth0v3.10.0层级深度。
    label文本标签样式。 LabelStyle
    upperLabel上方的文本标签样式。 LabelStyle
    lineStylev3.10.0线条样式。 LineStyle
    itemStyle数据项样式。 ItemStyle

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    参数默认版本描述
    showfalse是否启用LevelStyle
    levels各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    Line

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent

    参数默认版本描述
    show是否显示箭头。
    position箭头位置。
    LineArrow.Position:
    - End: 末端箭头
    - Start: 头端箭头
    arrow箭头。 ArrowStyle

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    参数默认版本描述
    showtrue是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。
    type线的类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    color线的颜色。
    toColor线的渐变颜色(需要水平方向渐变时)。
    toColor2线的渐变颜色2(需要水平方向三个渐变色的渐变时)。
    width0线宽。
    length0线长。
    opacity1线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    dashLength4v3.8.1虚线的长度。默认0时为线条宽度的12倍。在折线图中代表分割段数的倍数。
    dotLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。
    gapLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。

    Location

    class in XCharts.Runtime / 继承自: ChildComponent, IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    参数默认版本描述
    align对齐方式。
    Location.Align:
    - TopLeft: 对齐方式
    - TopRight: 对齐方式
    - TopCenter: 对齐方式
    - BottomLeft: 对齐方式
    - BottomRight: 对齐方式
    - BottomCenter: 对齐方式
    - Center: 对齐方式
    - CenterLeft: 对齐方式
    - CenterRight: 对齐方式
    left离容器左侧的距离。
    right离容器右侧的距离。
    top离容器上侧的距离。
    bottom离容器下侧的距离。

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis, Background, Comment, DataZoom, Legend, MarkArea, MarkLine, Settings, Title, Tooltip, VisualMap, GridLayout, CoordSystem

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    参数默认版本描述
    showtrue是否显示标域。
    textThe text of markArea. 标域显示的文本。
    serieIndex0Serie index of markArea. 标域影响的Serie索引。
    start标域范围的起始数据。 MarkAreaData
    end标域范围的结束数据。 MarkAreaData
    itemStyle标域样式。 ItemStyle
    label标域文本样式。 LabelStyle

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    参数默认版本描述
    type特殊的标域类型,用于标注最大值最小值等。
    MarkAreaType:
    - None: 标域类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标注名称。会作为文字显示。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    参数默认版本描述
    showtrue是否显示标线。
    serieIndex0标线影响的Serie索引。
    onToptruev3.9.0是否在最上层。
    animation标线的动画样式。 AnimationStyle
    data标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    参数默认版本描述
    type特殊的标线类型,用于标注最大值最小值等。
    MarkLineType:
    - None: 标线类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    group0分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。
    zeroPositionfalse是否为坐标系原点。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle
    lineStyle标线样式。 LineStyle
    label文本样式。可设置position为Start、Middle和End在不同的位置显示文本。 LabelStyle

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    参数默认版本描述
    applyfalsev3.5.0选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。
    realRectfalsev3.5.0是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。
    areaStylev3.5.0选取框区域填充样式。 AreaStyle
    lineStylev3.5.0选取框区域边框样式。 LineStyle

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    参数默认版本描述
    type
    MLValue.Type:
    - Percent: 百分比形式。
    - Absolute: 绝对值形式。
    - Extra: 额外形式。
    value

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    参数默认版本描述
    showtrueshow padding. 是否显示。
    top0顶部间距。
    right2f右部间距。
    left2f左边间距。
    bottom0底部间距。

    Parallel

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    orient坐标轴朝向。默认为垂直朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。

    Pie

    class in XCharts.Runtime / 继承自: Serie

    参数默认版本描述
    radiusGradientfalsev3.8.1是否开启半径方向的渐变效果。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    参数默认版本描述
    showtrue是否显示极坐标。
    center极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    backgroundColor极坐标的背景色,默认透明。
    indicatorLabelOffset30fv3.8.0指示器标签的偏移量。

    Radar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    smoothfalsev3.2.0是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    Ring

    class in XCharts.Runtime / 继承自: Serie

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie, IComparable / 子类: SerieHandler<T>, Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Pie, Radar, Ring, BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    参数默认版本描述
    index系列索引。
    showtrue系列是否显示在图表上。
    coordSystem使用的坐标系。
    serieType系列类型。
    serieName系列名称,用于 tooltip 的显示,legend 的图例筛选。
    statev3.2.0系列的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    colorByv3.2.0从主题中取色的策略。
    SerieColorBy:
    - Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略。
    - Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    - Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。
    stack数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。
    xAxisIndex0使用X轴的index。
    yAxisIndex0使用Y轴的index。
    radarIndex0雷达图所使用的 radar 组件的 index。
    vesselIndex0水位图所使用的 vessel 组件的 index。
    polarIndex0所使用的 polar 组件的 index。
    singleAxisIndex0所使用的 singleAxis 组件的 index。
    parallelIndex0所使用的 parallel coord 组件的 index。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    minShow系列所显示数据的最小索引
    maxShow系列所显示数据的最大索引
    maxCache系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。
    sampleDist0采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。
    sampleType采样类型。当sampleDist大于0时有效。
    SampleType:
    - Peak: 取峰值。
    - Average: 取过滤点的平均值。
    - Max: 取过滤点的最大值。
    - Min: 取过滤点的最小值。
    - Sum: 取过滤点的和。
    sampleAverage0设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。
    lineType折线图样式类型。
    LineType:
    - Normal: 普通折线图。
    - Smooth: 平滑曲线。
    - StepStart: 阶梯线图:当前点。
    - StepMiddle: 阶梯线图:当前点和下一个点的中间。
    - StepEnd: 阶梯线图:下一个拐点。
    smoothLimitfalsev3.4.0是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。
    barType柱形图类型。
    BarType:
    - Normal: 普通柱形图。
    - Zebra: 斑马柱形图。
    - Capsule: 胶囊柱形图。
    barPercentStackfalse柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。
    barWidth0柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。
    barMaxWidth0v3.5.0柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。
    barGap0.1f不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。
    barZebraWidth4f斑马线的粗细。
    barZebraGap2f斑马线的间距。
    min最小值。
    max最大值。
    minSize0f数据最小值 min 映射的宽度。
    maxSize1f数据最大值 max 映射的宽度。
    startAngle起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    endAngle结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    minAngle最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。
    clockwisetrue是否顺时针。
    roundCap是否开启圆弧效果。
    splitNumber刻度分割段数。最大可设置36。
    clickOffsettrue鼠标点击时是否开启偏移,一般用在PieChart图表中。
    roseType是否展示成南丁格尔图,通过半径区分数据大小。
    RoseType:
    - None: 不展示成南丁格尔玫瑰图。
    - Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    - Area: 所有扇区圆心角相同,仅通过半径展现数据大小。
    gap间距。
    center中心点。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    minRadius0fv3.8.0最小半径。可用于限制玫瑰图的最小半径。
    minShowLabelfalsev3.10.0是否开启值小于指定值minShowLabelValue时不显示标签。
    minShowLabelValue0v3.10.0当开启minShowLabel时,值小于该值时不显示标签。
    showDataDimension数据项里的数据维数。
    showDataName在Editor的inpsector上是否显示name参数
    clipfalse是否裁剪超出坐标系部分的图形。
    ignorefalse是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。
    ignoreValue0忽略数据的默认值。当ignore为true才有效。
    ignoreLineBreakfalse忽略数据时折线是断开还是连接。默认false为连接。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。
    largetrue是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。
    largeThreshold200开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。
    avoidLabelOverlapfalse在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。
    radarType雷达图类型。
    RadarType:
    - Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    - Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]
    placeHolderfalse占位模式。占位模式时,数据有效但不参与渲染和显示。
    dataSortType组件的数据排序。
    SerieDataSortType:
    - None: 按数据的顺序。
    - Ascending: 升序。
    - Descending: 降序。
    orient组件的朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    align组件水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    lineStyle线条样式。 LineStyle
    symbol标记的图形。 SerieSymbol
    animation起始动画。 AnimationStyle
    itemStyle图形样式。 ItemStyle
    data系列中的数据内容数组。SerieData可以设置1到n维数据。

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    参数默认版本描述
    index数据项索引。
    name数据项名称。
    id数据项的唯一id。唯一id不是必须设置的。
    parentId父节点id。父节点id不是必须设置的。
    ignore是否忽略数据。当为 true 时,数据不进行绘制。
    selected该数据项是否被选中。
    radius自定义半径。可用在饼图中自定义某个数据项的半径。
    statev3.2.0数据项的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    data可指定任意维数的数值列表。

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    数据节点之间的连线。可用于桑基图等,桑基图只支持有向无环图,请保证数据的连线是有向无环图。

    参数默认版本描述

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle, ISerieDataComponent

    系列数据项的标记的图形

    参数默认版本描述
    sizeType标记图形的大小获取方式。
    SymbolSizeType:
    - Custom: 自定义大小。
    - FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    - Function: 通过委托函数获取。
    dataIndex1当sizeType指定为FromData时,指定的数据源索引。
    dataScale1当sizeType指定为FromData时,指定的倍数系数。
    sizeFunction当sizeType指定为Function时,指定的委托函数。
    startIndex开始显示图形标记的索引。
    interval显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    forceShowLastfalse是否强制显示最后一个图形标记。
    repeatfalse图形是否重复。
    minSize0fv3.3.0图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。
    maxSize0fv3.3.0图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    lineWidth文本颜色。
    lineSymbolSize折线图的Symbol大小。
    scatterSymbolSize散点图的Symbol大小。
    candlestickColorColor32(235, 84, 84, 255)K线图阳线(涨)填充色
    candlestickColor0Color32(71, 178, 98, 255)K线图阴线(跌)填充色
    candlestickBorderWidth1K线图边框宽度
    candlestickBorderColorColor32(235, 84, 84, 255)K线图阳线(跌)边框色
    candlestickBorderColor0Color32(71, 178, 98, 255)K线图阴线(跌)边框色

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    参数默认版本描述
    showtrue
    maxPainter10设定的painter数量。
    reversePainterfalsePainter是否逆序。逆序时index大的serie最先绘制。
    basePainterMaterialBase Pointer 材质球,设置后会影响Axis等。
    seriePainterMaterialSerie Pointer 材质球,设置后会影响所有Serie。
    upperPainterMaterialUpper Pointer 材质球。
    topPainterMaterialTop Pointer 材质球。
    lineSmoothStyle2.5f曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。
    lineSmoothness2fWhen the area with gradient is filled, the larger the value, the worse the transition effect.
    lineSegmentDistance3f线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。
    cicleSmoothness2f圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。
    legendIconLineWidth2Line类型图例图标的线条宽度。
    legendIconCornerRadius图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    axisMaxSplitNumber50v3.1.0坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis, IUpdateRuntimeData

    单轴。

    参数默认版本描述
    orient坐标轴朝向。默认为水平朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1f组件离容器左侧的距离。
    right0.1f组件离容器右侧的距离。
    top0f组件离容器上侧的距离。
    bottom0.2f组件离容器下侧的距离。
    width0坐标轴宽。
    height50坐标轴高。

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    percent结束位置百分比。
    color颜色。

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle, EmphasisStyle, SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    参数默认版本描述
    showtrue是否启用高亮样式。
    label图形文本标签。 LabelStyle
    labelLine图形文本引导线样式。 LabelLine
    itemStyle图形样式。 ItemStyle
    lineStyle折线样式。 LineStyle
    areaStyle区域样式。 AreaStyle
    symbol标记样式。 SerieSymbol

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    参数默认版本描述
    showtrue是否显示标记。
    type标记类型。
    SymbolType:
    - None: 不显示标记。
    - Custom: 自定义标记。
    - Circle: 圆形。
    - EmptyCircle: 空心圆。
    - Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    - EmptyRect: 空心正方形。
    - Triangle: 三角形。
    - EmptyTriangle: 空心三角形。
    - Diamond: 菱形。
    - EmptyDiamond: 空心菱形。
    - Arrow: 箭头。
    - EmptyArrow: 空心箭头。
    - Plus: 加号。
    - Minus: 减号。
    size0f标记的大小。
    gap0图形标记和线条的间隙距离。
    width0f图形的宽。
    height0f图形的高。
    offsetVector2.zero图形的偏移。
    image自定义的标记图形。
    imageType图形填充类型。
    color图形的颜色。

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    参数默认版本描述
    enablefalse是否启用文本自适应。 [default:true]
    maxWidth0Clipping occurs when the width of the text is greater than this value.
    gap1两边留白像素距离。 [default:10f]
    suffix长度超出时的后缀。 [default: "..."]

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    参数默认版本描述
    showtrue文本的相关设置。
    font文本字体。 [default: null]
    autoWrapfalse是否自动换行。
    autoAligntrue文本是否让系统自动选对齐方式。为false时才会用alignment。
    rotate0文本的旋转。 [default: 0f]
    autoColorfalse是否开启自动颜色。当开启时,会自动设置颜色。
    color文本的颜色。 [default: Color.clear]
    fontSize0文本字体大小。 [default: 18]
    fontStyle文本字体的风格。 [default: FontStyle.Normal]
    lineSpacing1f行间距。 [default: 1f]
    alignment对齐方式。
    tMPFontTextMeshPro字体。
    tMPFontStyle
    tMPAlignment
    tMPSpriteAssetv3.1.0

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    参数默认版本描述
    themeType主题类型。
    ThemeType:
    - Default: 默认主题。
    - Light: 亮主题。
    - Dark: 暗主题。
    - Custom: 自定义主题。
    themeName主题名称。
    font主题字体。
    tMPFont主题字体。
    contrastColor对比色。
    backgroundColor背景颜色。
    colorPalette调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
    commonComponentTheme
    titleTitleTheme
    subTitleSubTitleTheme
    legendLegendTheme
    axisAxisTheme
    tooltipTooltipTheme
    dataZoomDataZoomTheme
    visualMapVisualMapTheme
    serieSerieTheme

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    参数默认版本描述
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse是否透明背景颜色。当设置为true时,不绘制背景颜色。
    enableCustomThemefalse是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。
    customFont
    customBackgroundColor自定义的背景颜色。
    customColorPalette

    Title

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    标题组件,包含主标题和副标题。

    参数默认版本描述
    showtrue是否显示标题组件。
    text主标题文本,支持使用 \n 换行。
    subText副标题文本,支持使用 \n 换行。
    labelStyle主标题文本样式。 LabelStyle
    subLabelStyle副标题文本样式。 LabelStyle
    itemGap0主副标题之间的间距。
    location标题显示位置。 Location

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle, ISerieDataComponent, ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    参数默认版本描述
    showtrue是否显示提示框组件。
    type提示框指示器类型。
    Tooltip.Type:
    - Line: 直线指示器
    - Shadow: 阴影指示器
    - None: 无指示器
    - Corss: 十字准星指示器。坐标轴显示Label和交叉线。
    - Auto: 根据serie的类型自动选择显示指示器。
    trigger触发类型。
    Tooltip.Trigger:
    - Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    - Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    - None: 什么都不触发。
    - Auto: 根据serie的类型自动选择触发类型。
    positionv3.3.0显示位置类型。
    Tooltip.Position:
    - Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    - Custom: 自定义。完全自定义显示位置(x,y)。
    - FixedX: 只固定坐标X。Y跟随鼠标位置。
    - FixedY:
    itemFormatter提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用
    titleFormatter提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {f}为value所对应的y轴的类目值。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
    markerserie的符号标志。
    fixedWidth0固定宽度。比 minWidth 优先。
    fixedHeight0固定高度。比 minHeight 优先。
    minWidth0最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。
    minHeight0最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。
    numericFormatter标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式常见的格式:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:yyyy-MM-dd HH:mm:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    paddingLeftRight10左右边距。
    paddingTopBottom10上下边距。
    ignoreDataShowfalse是否显示忽略数据在tooltip上。
    ignoreDataDefaultContent被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。
    showContenttrue是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。
    alwayShowContentfalse是否触发后一直显示提示框浮层。
    offsetVector2(18f, -25f)提示框相对于鼠标位置的偏移。
    backgroundImage提示框的背景图片。
    backgroundType提示框的背景图片显示类型。
    backgroundColor提示框的背景颜色。
    borderWidth2f边框线宽。
    fixedX0f固定X位置的坐标。
    fixedY0.7f固定Y位置的坐标。
    titleHeight25f标题文本的高。
    itemHeight25f数据项文本的高。
    borderColorColor32(230, 230, 230, 255)边框颜色。
    lineStyle指示线样式。 LineStyle
    titleLabelStyle标题的文本样式。 LabelStyle
    contentLabelStyles内容部分的文本样式列表。和列一一对应。

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f指示线线宽。
    lineColor指示线颜色。
    areaColor区域指示的颜色。
    labelTextColor十字指示器坐标轴标签的文本颜色。
    labelBackgroundColor十字指示器坐标轴标签的背景颜色。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    参数默认版本描述
    showtrue组件是否生效。
    showUIfalse是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。
    type组件类型。
    VisualMap.Type:
    - Continuous: 连续型。
    - Piecewise: 分段型。
    selectedMode选择模式。
    VisualMap.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    serieIndex0影响的serie索引。
    min0范围最小值
    max0范围最大值
    range指定手柄对应数值的位置。range 应在[min,max]范围内。
    text两端的文本,如 ['High', 'Low']
    textGap两端文字主体之间的距离,单位为px。
    splitNumber5对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。
    calculablefalse是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。
    realtimetrue拖拽时,是否实时更新。
    itemWidth20f图形的宽度,即颜色条的宽度。
    itemHeight140f图形的高度,即颜色条的高度。
    itemGap10f每个图元之间的间隔距离。
    borderWidth0边框线宽,单位px。
    dimension-1Starting at 1, the default is 0 to take the last dimension in data.
    autoMinMaxtrueAutomatically set min, Max value 自动设置min,max的值
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location组件显示的位置。 Location
    workOnLinetrue组件是否对LineChart的LineStyle有效。
    workOnAreafalse组件是否对LineChart的AreaStyle有效。
    outOfRange定义 在选中范围外 的视觉颜色。
    inRange分段式每一段的相关配置。

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    min范围最小值
    max范围最大值
    label文字描述
    color颜色

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    borderWidth边框线宽。
    borderColor边框颜色。
    backgroundColor背景颜色。
    triangeLen20f可视化组件的调节三角形边长。

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    class in XCharts.Runtime

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    参数默认版本描述
    langLang
    font
    tMPFont
    fontSizeLv128一级字体大小。
    fontSizeLv224
    fontSizeLv320
    fontSizeLv418
    axisLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisLineWidth0.8f
    axisSplitLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisSplitLineWidth0.8f
    axisTickWidth0.8f
    axisTickLength5f
    gaugeAxisLineWidth15f
    gaugeAxisSplitLineWidth0.8f
    gaugeAxisSplitLineLength15f
    gaugeAxisTickWidth0.8f
    gaugeAxisTickLength5f
    tootipLineWidth0.8f
    dataZoomBorderWidth0.5f
    dataZoomDataLineWidth0.5f
    visualMapBorderWidth0f
    serieLineWidth1.8f
    serieLineSymbolSize5f
    serieScatterSymbolSize20f
    serieSelectedRate1.3f
    serieCandlestickBorderWidth1f
    editorShowAllListDatafalse
    maxPainter10
    lineSmoothStyle3f
    lineSmoothness2f
    lineSegmentDistance3f
    cicleSmoothness2f
    visualMapTriangeLen20f
    customThemes

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/extra/index.html b/docs/v3.10.2/extra/index.html index ce4e4e26..4dbfeb68 100644 --- a/docs/v3.10.2/extra/index.html +++ b/docs/v3.10.2/extra/index.html @@ -14,13 +14,13 @@ 扩展图表 | XCharts - - + +
    Version: v3.10.2

    扩展图表

    XCharts的扩展图表。

    支持的扩展图表

    扩展图表如何导入到XCharts-Demo

    Pie3DChart 为例:

    1. 购买图表:购买扩展图表后,Github找到仓库 XCharts-Pie3DChart(私有仓库,购买后加入Team才可见)
    2. 下载图表:选择和XCharts最接近的版本
    3. 导入图表:将下载好的XCharts-Pie3DChart目录覆盖到XCharts-Demo项目中的Packages/XCharts-Pie3DChart
    4. 下载图表Demo:Github找到仓库 XCharts-Pie3DChart-Demo并下载
    5. 导入图表Demo:将下载好的XCharts-Pie3DChart-Demo目录覆盖到XCharts-Demo项目中的Assets/XChartsExtensionDemo/XCharts-Pie3DChart-Demo

    扩展图表如何导入自己的项目中

    Pie3DChart 为例:

    1. 先确保项目中已导入XCharts
    2. 再导入XCharts-Pie3DChart即可,不需要导入XCharts-Pie3DChart-Demo(如果要导入的话需要Unity版本接近2019.4.39f1)
    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/faq/index.html b/docs/v3.10.2/faq/index.html index 019be092..062c780f 100644 --- a/docs/v3.10.2/faq/index.html +++ b/docs/v3.10.2/faq/index.html @@ -14,8 +14,8 @@ 常见问题 | XCharts - - + +
    @@ -54,7 +54,7 @@ FAQ 33:折线图如何两边不留空白而从0坐标开始显示?
    FAQ 34:如何设置部分Serie不显示Tooltip?

    如何调整坐标轴与背景的边距

    调整Grid组件,可调整上下左右边距。

    如何让初始动画重新播放

    调用chart.AnimationReset()接口。

    如何自定义折线图饼图的颜色

    通过ThemecolorPalette调整,或者部分Serie下的LineStyleItemStyle

    如何给坐标轴上的文本加上单位

    通过formatternumericFormatter参数,在LegendAxisAxisLabelTooltopSerieLabel都提供该参数的配置。

    如何让柱形图的柱子堆叠显示

    设置Serie下的stackstack相同的serie会堆叠显示在一个柱子上。

    如何让柱形图的柱子同柱但不重叠

    设置Serie下的barGap-1stack为空。

    如何调整柱形图的柱子宽度和间距

    调整Serie下的barWidthbarGap,多个serie时最后一个seriebarWidthbarGap有效。

    如何调整柱形图单个柱子的颜色

    可通过调整单个Data下的ItemStyle调整,也可以通过两个serie同柱不堆叠来实现,通过设置数据项为0来达到类似效果。

    如何调整图表的对齐方式

    调整RectTransform的锚点,和UGUI的其他组件的用法一致。

    可以显示超过1000以上的大数据吗

    可以。但UGUI对单个Graphic限制65000个顶点,所以太多的数据不一定能显示完全。可通过设置采样距离sampleDist开启采样简化过密曲线。也可以通过设置一些参数来减少图表的顶点数有助于显示更多数据。如缩小图表的尺寸,关闭或减少坐标轴的客户端绘制,关闭Seriesymbollabel显示等。折线图的普通线图Normal比平滑线图Smooth占用顶点数更少。1.5.0以上版本可以设置largelargeThreshold参数来开启性能模式。

    折线图可以画虚线点线点划线吗

    可以。通过Serie下的lineType选择线条样式。当要显示的数据过多(成千以上)数据间过密时建议使用Normal或者Step样式。

    如何限定y轴的值范围

    设置Axis下的minMaxTypeCustom,自定义minmax

    如何自定义数值轴刻度大小

    默认时通过Axis下的splitNumer进行自动划分。也可以设置interval自定义刻度大小。

    如何在数据项顶上显示文本

    通过设置Serie下的Label。3.0版本需要先添加LabelStyle组件。

    如何给数据项自定义图标

    通过设置Seriedata下的数据项可单独设置icon相关参数。

    锯齿太严重如何让图表更顺滑

    开启抗锯齿设置(在Unity里设置)。调整UI渲染模式为Camera模式,开启MSAA,设置4倍或更高抗锯齿。

    为什么鼠标移上图表tooltip不显示

    确认Tooltip是否开启;确认父节点是否关闭了鼠标事件。

    如何取消tooltip的竖线

    设置TooltiptypeNone。或者调整lineStyle的参数。

    如何自定义tooltip的显示内容

    自定义总的内容可以通过Tooltipformatter。如果只是想调整所有的serie的显示格式可以用itemFormattertitleFormatter结合。如果想每个serie的显示格式不一样,可以定制serieitemStyle里的tooltipFormatter。具体的用法请查阅XCharts配置项手册

    如何让y轴显示多位小数

    设置Axis下的AxisLabel中的formatter{value:f1}{value:f2}1.5.0及以上版本通过numericFormatter设置。

    如何用代码动态更新数据

    请查阅Example下的代码,Example13_LineSimple.cs就是一个简单添加数据构建折线图的例子,其他Demo也都是通过代码控制不同的组件实现不同的功能,相关API请查看文档:XChartsAPI接口

    如何显示图例为什么有时候图例无法显示

    首先,你的serie里的name需有值不为空。然后开启Legend显示,里面的data可以默认为空,表示显示所有的图例。如果你只想显示部分serie的图例,在data中填入要显示的图例的name即可。如果data中的值都不是系列的name,那图例就不会显示。

    如何做成预设

    做成prefab前,执行一下Rebuild Chart Object重新刷新节点,避免有冗余的节点存在。

    如何在图表上画点画线等自定义内容

    XCharts有自定义绘制回调onCustomDraw,具体可参考Example12_CustomDrawing.cs

    如何实现心电图类似的数据移动效果

    参考Example目录下的Example_Dynamic.cs。主要通过设置maxCache参数实现。axisserie都设置相同的maxCachemaxCache可固定数据个数,当数据超过设定时会先删除第一个在添加新数据,实现数据移动效果。

    如何使用背景组件有什么条件限制

    设置background组件的showtrue

    区域折线图在用半透明颜色时有时候会一条叠加的线

    这是区域折线图绘制的bug。可以用浅的不透的颜色替代半透明颜色。

    mesh_cannot_have_more_than_65000_vertices

    这是UGUI对单个Graphic的顶点数限制。XCharts是将图形绘制在单个Graphic上,所以也会有这个限制。解决的办法可以参考:FAQ 10:可以显示超过1000以上的大数据吗?

    为什么serie里设置的参数运行后又被重置了

    检测下代码里是否调用了RemoveData()并重新添加Serie了。如果想保留Serie的配置可以只ClearData(),然后重新添加数据。

    如何修改serie的symbol的颜色

    Symbol 的颜色是使用的 ItemStylecolor

    导入或更新xcharts时tmp报错怎么办

    XCharts默认时不开启TMP,所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    支持空数据吗如何实现折线图断开的效果

    Seriedatadouble类型,所以无法表示空数据。可通过开启Serieignore和指定ignoreValue来达到空数据的效果。也可以每个SerieData设置ignore参数。忽略数据后断开还是连接可设置ignoreLineBreak参数。

    xcharts2升级xcharts3时常见的问题有哪些

    1. 'XCharts.Runtime.XChartsMgr' is missing the class attribute 'ExtensionOfNativeClass'! 3.x版本时不需要挂载XChartsMgr,直接删掉场景上的_xcharts_节点即可。

    折线图如何两边不留空白而从0坐标开始显示

    设置X轴的boundaryGap参数。

    如何设置部分serie不显示tooltip

    serieitemStyleitemFormatter设置为-可以忽略tooltip

    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/funnel/index.html b/docs/v3.10.2/funnel/index.html index 32a96595..ae3ca706 100644 --- a/docs/v3.10.2/funnel/index.html +++ b/docs/v3.10.2/funnel/index.html @@ -14,14 +14,14 @@ FunnelChart 漏斗图 | XCharts - - + +
    Version: v3.10.2

    FunnelChart 漏斗图

    XCharts的付费扩展图表 - 漏斗图。

    截图

    Funnel01Funnel02Funnel03Funnel04Funnel05
    Funnel07Funnel08Funnel09

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-FunnelChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    FunnelChart

    class in XCharts.Runtime.Funnels / 继承自: BaseChart

    漏斗图。适用于流程流量分析。

    API版本描述
    DefaultHorizonalFunnelChart()public void DefaultHorizonalFunnelChart()
    生成默认的横向漏斗图。

    配置项手册

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    参数默认版本描述
    rectEndv3.3.0是否最后以矩形结束。默认false以三角形结束。
    dynamicHeightv3.3.0是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。
    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/gantt/index.html b/docs/v3.10.2/gantt/index.html index 6a0aaef4..9b5ce5ce 100644 --- a/docs/v3.10.2/gantt/index.html +++ b/docs/v3.10.2/gantt/index.html @@ -14,14 +14,14 @@ GanttChart 甘特图 | XCharts - - + +
    Version: v3.10.2

    GanttChart 甘特图

    XCharts付费扩展图表 - 甘特图。

    截图

    Gantt01Gantt02Gantt03Gantt04Gantt05
    Gantt07

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-GanttChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.10.0

    • (2024.01.21) 增加Gantt的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.08.11) 增加鼠标事件支持

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    API版本描述
    AddDefaultCategorySerie()public static void AddDefaultCategorySerie(BaseChart chart, string serieName)
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    AddDefaultValueSerie()public static void AddDefaultValueSerie(BaseChart chart, string serieName)

    GanttChart

    class in XCharts.Runtime.Gantts / 继承自: BaseChart

    API版本描述
    DefaultCategoryAxisGanttChart()public void DefaultCategoryAxisGanttChart()
    生成默认的类目轴甘特图。
    DefaultMonomialGroupGanttChart()public void DefaultMonomialGroupGanttChart()
    生成默认的单维度分组甘特图。
    DefaultMultinomialGroupGanttChart()public void DefaultMultinomialGroupGanttChart()
    生成默认的多维度分组甘特图。
    DefaultValueAxisGanttChart()public void DefaultValueAxisGanttChart()
    生成默认的数值轴甘特图。
    GetSeriesMinMaxValue()public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    InitAxisRuntimeData()public override void InitAxisRuntimeData(Axis axis)
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    配置项手册

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    参数默认版本描述
    disableDrag

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    参数默认版本描述
    showtrue
    ganttType甘特图类型。
    GanttType:
    - Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    - Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。
    inverttrue
    dragEnabletrue是否可以拖拽甘特图。
    dragSensitivity1f拖拽的灵敏度。
    dragRangeMin0拖拽最小值限制。
    dragRangeMax0拖拽最大值限制。
    autoAdsorbAlignlinetrue拖拽结束后是否自动吸附到对齐线。
    alignlineDataIndex1显示对齐线的数据项索引。
    showAlignlineRange10f显示对齐线的范围。
    aliginLine对齐线样式。
    splitArea
    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/gauge/index.html b/docs/v3.10.2/gauge/index.html index 4d9cb7c3..59ef82af 100644 --- a/docs/v3.10.2/gauge/index.html +++ b/docs/v3.10.2/gauge/index.html @@ -14,14 +14,14 @@ GaugeChart 仪表盘 | XCharts - - + +
    Version: v3.10.2

    GaugeChart 仪表盘

    XCharts付费扩展图表 - 仪表盘。

    截图

    Gauge01Gauge02Gauge03Gauge04Gauge05
    Gauge07Gauge08Gauge09Gauge10Gauge11
    Gauge12Gauge13Gauge14

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-GaugeChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.10.0

    • (2024.01.21) 增加Gauge的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.17) 增加GaugerangeDataMode可设置是否使用范围数据模式
    • (2023.03.17) 增加Gaugeloop可设置是否循环数据,用于时钟甘特图
    • (2023.03.17) 增加GaugePointervalue可设置指针位置
    • (2023.03.17) 增加Clock时钟仪表盘支持
    • (2023.03.13) 增加GaugePointernowTime可设置指针指向当前时间
    • (2023.03.13) 增加GaugePointervalue可设置当前指针位置
    • (2023.03.13) 增加Clock类型的甘特图支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.10.05) 增加GaugeAxisLinestageGradient支持设置阶段渐变色过渡

    v3.3.0

    • (2022.09.28) 发布v3.3.0版本
    • (2022.08.26) 修复Pointer在普通模式下不显示的问题
    • (2022.08.25) 增加label颜色跟随数值变化的支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.15) 支持渐变

    API

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    仪表盘系列数据。

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    GetPointerColor()public Color32 GetPointerColor(ThemeStyle theme, int colorIndex, float angle, Color32 dataColor)

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    API版本描述
    GetPosition()public Vector3 GetPosition(Vector3 center, float radius)

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    API版本描述
    AddLabelObject()public void AddLabelObject(ChartLabel label)
    ClearLabelObject()public void ClearLabelObject()
    GaugeAxis()public GaugeAxis()
    GetLabelObject()public ChartLabel GetLabelObject(int index)
    GetStageColor()public Color32 GetStageColor(float rate)
    GetStageColorByAngle()public Color32 GetStageColorByAngle(float angle)
    SetLabelObjectActive()public void SetLabelObjectActive(bool flag)
    SetLabelObjectPosition()public void SetLabelObjectPosition(int index, Vector3 pos)
    SetLabelObjectText()public void SetLabelObjectText(int index, string text)

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    API版本描述
    GaugeAxisLine()public GaugeAxisLine(bool show) : base(show)

    GaugeChart

    class in XCharts.Runtime.Gauges / 继承自: BaseChart

    仪表盘。

    API版本描述
    DefaultBarometerGaugeChart()public void DefaultBarometerGaugeChart()
    生成气压计仪表盘。
    DefaultClockGaugeChart()public void DefaultClockGaugeChart()
    生成时钟仪表盘。
    DefaultMultipleGaugeChart()public void DefaultMultipleGaugeChart()
    生成多仪表盘。
    DefaultProgressGaugeChart()public void DefaultProgressGaugeChart()
    生成进度仪表盘。
    DefaultRangeClockGaugeChart()public void DefaultRangeClockGaugeChart()
    DefaultSectionGaugeChart()public void DefaultSectionGaugeChart()
    生成分段仪表盘。
    UpdateClockTime()public void UpdateClockTime()
    更新时钟时间。
    UpdateClockTime()public void UpdateClockTime(double hour, double minute, double second)
    更新时钟时间。
    UpdatePointerValue()public void UpdatePointerValue(double value)
    更新指针值。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    配置项手册

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    仪表盘系列数据。

    参数默认版本描述
    rangeDataModefalsev3.6.0数值是否为范围数据。启用该模式后,data中的每个值都是一个数组,数组中的第一个值为起始值,第二个值为结束值。指针只有一个,数据绘制为环形。
    loopfalsev3.6.0数值是否循环。可用在钟表图。
    gaugeAxis仪表盘轴线。 GaugeAxis
    gaugePointer仪表盘指针。 GaugePointer
    gaugeAnchor仪表盘指针固定点。 GaugeAnchor

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    参数默认版本描述
    showtrue是否显示指针固定点。
    showAbovetrue固定点是否显示在指针上面。
    type标记类型。
    size6标记的大小。
    gap0图形标记和线条的间隙距离。
    image自定义的标记图形。
    imageType
    offsetCenterVector2(0, 0)相对于中心的偏移位置。
    itemStyle图形样式。

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    参数默认版本描述
    showtrue
    type
    GaugeAxisType:
    - None: 仪表盘类型
    - Section: 分段
    - Progress: 进度
    overlaptrue
    distance
    axisLine仪表盘轴线样式。 GaugeAxisLine
    splitLine分割线。
    axisTick刻度。
    axisLabel文本标签。
    axisLabelText自定义Label的内容。

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    参数默认版本描述
    backgroundColorColor32(230, 235, 248, 255)进度条背景颜色。
    stageColor阶段颜色。
    stageGradientv3.4.0阶段颜色是否渐变过渡。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    参数默认版本描述
    showtrue是否显示指针。
    length0.6f指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backLength0.05f指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backExtraLength0.05f指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topLeftLength0f指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topRightLength0f指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomLeftLength0.025f指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomRightLength0.025f指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    distance
    roundCap
    autoColortrue
    color
    toColor
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    valuev3.6.0指针的值。当为时钟仪表盘时,可通过指定value值来控制指针的位置。
    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/inputsystem/index.html b/docs/v3.10.2/inputsystem/index.html index e36a67f1..b96c9a68 100644 --- a/docs/v3.10.2/inputsystem/index.html +++ b/docs/v3.10.2/inputsystem/index.html @@ -14,13 +14,13 @@ 切换到新的输入系统Input System | XCharts - - + +
    Version: v3.10.2

    教程:切换到新的输入系统Input System

    1. 按图示修改项目配置中输入模式为 Input System

    Project Settings

    2. 使用 Unity Package Manager 安装 Input System

    UPM

    3. 选中场景中 EventSystem 游戏对象,更换输入模组

    Input Module

    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/lang/articles/ui/ui_statistic/index.html b/docs/v3.10.2/lang/articles/ui/ui_statistic/index.html index 2b95d30e..189f2476 100644 --- a/docs/v3.10.2/lang/articles/ui/ui_statistic/index.html +++ b/docs/v3.10.2/lang/articles/ui/ui_statistic/index.html @@ -14,13 +14,13 @@ UIStatistic 统计数值 | XCharts - - + +
    Version: v3.10.2

    UIStatistic 统计数值

    statistic

    统计数值组件。用于展示统计数值。

    何时使用:

    • 当需要突出某个或某组数字时。
    • 当需要展示带描述的统计类数据时使用。

    支持的功能有:

    • 常规数值
    • 倒计时
    • 添加图标
    • 变更动画
    • 事件回调
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/lang/articles/ui/ui_table/index.html b/docs/v3.10.2/lang/articles/ui/ui_table/index.html index a2e2b03e..b939afca 100644 --- a/docs/v3.10.2/lang/articles/ui/ui_table/index.html +++ b/docs/v3.10.2/lang/articles/ui/ui_table/index.html @@ -14,13 +14,13 @@ UITable 表格 | XCharts - - + +
    Version: v3.10.2

    UITable 表格

    table

    表格组件。可用于展示行列数据。

    支持的功能有:

    • 显示或隐藏列表头
    • 显示或隐藏行表头
    • 任意调整行列宽高
    • 支持行号
    • 支持选中
    • 支持分割线
    • 支持滚动和拖拽
    • 支持滚动条
    • 支持图标图片
    • 支持轮播
    • 排序(暂不支持)
    • 分页(暂不支持)
    • 查找(暂不支持)
    • 过滤(暂不支持)
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/liquid/index.html b/docs/v3.10.2/liquid/index.html index 07e190e7..d2033940 100644 --- a/docs/v3.10.2/liquid/index.html +++ b/docs/v3.10.2/liquid/index.html @@ -14,14 +14,14 @@ LiquidChart 水位图 | XCharts - - + +
    Version: v3.10.2

    LiquidChart 水位图

    XCharts的付费扩展图表 - 水位图。

    截图

    Liquid01Liquid02Liquid03Liquid04Liquid05
    Liquid07Liquid08

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-LiquidChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.10.0

    • (2024.01.21) 增加Liquid的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    LiquidChart

    class in XCharts.Runtime.Liquids / 继承自: BaseChart

    水位图

    API版本描述
    DefaultCapsuleLiquidChart()public void DefaultCapsuleLiquidChart()
    generate default capsule liquid chart. 生成默认的胶囊形水位图。
    DefaultRectLiquidChart()public void DefaultRectLiquidChart()
    generate default rect liquid chart. 生成默认的矩形水位图。
    DefaultRoundRectLiquidChart()public void DefaultRoundRectLiquidChart()
    generate default round rect liquid chart. 生成默认的圆角矩形水位图。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent,ISerieContainer,IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    API版本描述
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    VesselContext

    class in XCharts.Runtime.Liquids / 继承自: MainComponentContext

    配置项手册

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    waveHeight10f波高。
    waveLength20f波长。为0-1小数时指直线的百分比。
    waveSpeed5f波速。正数时左移,负数时右移。
    waveOffset0f波偏移。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent, ISerieContainer, IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    参数默认版本描述
    showtrue是否显示容器组件。 [defaut: true]
    shape容器形状。 [default: Shape.Circle]
    Vessel.Shape:
    - Circle: 圆形
    - Rect: 正方形。
    - Triangle: 三角形。
    - Diamond: 菱形。
    shapeWidth5f容器厚度。 [defaut: 5f]
    gap5f间隙。容器和液体的间隙。 [defaut: 10f]
    colorColor32(70, 70, 240, 255)容器颜色。默认和serie一致。
    backgroundColor背景色,默认透明。 [default: Color.clear]
    autoColortrue是否自动颜色。为true时颜色会和serie一致。 [default: true]
    centerWhen value between 0 and 1 represents a percentage relative to the chart.
    radius0.35fWhen value between 0 and 1 represents a percentage relative to the chart.
    smoothness1f水波平滑度。 [default: 1f]
    width0.5fWhen value between 0 and 1 represents a percentage relative to the chart.
    height0.7fWhen value between 0 and 1 represents a percentage relative to the chart.
    borderWidth0f内壁边框。
    borderColorColor32(70, 70, 240, 255)容器内壁边框颜色。默认和serie一致。
    cornerRadius容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。
    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/pictorialbar/index.html b/docs/v3.10.2/pictorialbar/index.html index 16d34fe9..df92f51e 100644 --- a/docs/v3.10.2/pictorialbar/index.html +++ b/docs/v3.10.2/pictorialbar/index.html @@ -14,14 +14,14 @@ PictorialBarChart 象形柱图 | XCharts - - + +
    Version: v3.10.2

    PictorialBarChart 象形柱图

    XCharts付费扩展图表 - 象形柱图。

    截图

    PictorialBar01PictorialBar02PictorialBar03PictorialBar04

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-PictorialBarChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.10.0

    • (2023.12.19) 调整Border相关代码

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.1

    • (2023.09.26) 修复PictorialBar动态添加数据时不刷新的问题

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static PictorialBar ConvertSerie(Serie serie)

    PictorialBarChart

    class in XCharts.Runtime.PictorialBars / 继承自: BaseChart

    配置项手册

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie, INeedSerieContainer

    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/pie3d/index.html b/docs/v3.10.2/pie3d/index.html index 87a8b9d3..b1500de5 100644 --- a/docs/v3.10.2/pie3d/index.html +++ b/docs/v3.10.2/pie3d/index.html @@ -14,14 +14,14 @@ Pie3DChart 3D饼图 | XCharts - - + +
    Version: v3.10.2

    Pie3DChart 3D饼图

    XCharts的付费扩展图表 - 3D饼图。

    截图

    Pie3D01Pie3D02Pie3D03Pie3D04Pie3D05
    Pie3D07Pie3D08

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-Pie3DChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.10.0

    • (2023.01.16) 增加XCharts上的更多菜单栏快捷方式,一键创建多种3D饼图
    • (2023.12.17) 增加Pie3DStyledrawSplitSide设置是否绘制分割面
    • (2023.12.16) 增加Border描边支持
    • (2023.12.15) 增加Serielabel可指示在边缘的支持
    • (2023.12.10) 增加SerieminShowLabel可隐藏小于指定值的label

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.11.30) 优化SerieData只有一个时不绘制侧边
    • (2023.11.30) 增加SerieData可单独添加Label的支持

    v3.8.1

    • (2023.09.14) 修复SerieData的数据为全为0时图表显示异常的问题
    • (2023.09.08) 增加SerieDataradius可自定义各饼块高度的支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.2

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.1

    • (2023.05.21) 增加avoidLabelOverlap支持

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.3.0

    • (2022.09.02) 增加onPointerEnterPie回调支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    3D饼图系列。

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Pie3D ConvertSerie(Serie serie)

    Pie3DChart

    class in XCharts.Runtime.Pie3Ds / 继承自: BaseChart

    3D饼图。

    API版本描述
    DefaultAutoHeightPie3DChart()public void DefaultAutoHeightPie3DChart()
    生成默认3D自动高度饼图。
    DefaultDonutPie3DChart()public void DefaultDonutPie3DChart()
    生成默认3D甜甜圈饼图。
    DefaultEllipsePie3DChart()public void DefaultEllipsePie3DChart()
    生成默认2D椭圆饼图。

    Pie3DSlice

    class in XCharts.Runtime.Pie3Ds

    3D饼图的切块。

    API版本描述
    Contains()public bool Contains(float angle)
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    IsInSidePolygon()public bool IsInSidePolygon(Vector2 p)
    IsInStartOrEndSide()public bool IsInStartOrEndSide(Vector2 p)
    IsInTopPolygon()public bool IsInTopPolygon(Vector2 p)
    Pie3DSlice()public Pie3DSlice()
    UpdateValue()public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig)

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    配置项手册

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    3D饼图系列。

    参数默认版本描述
    pie3DStylePie3DStyle

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    参数默认版本描述
    showtrue
    ellipseMinorAxis0.65f椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。
    pieMaxHeight20f饼图厚度。
    pieAutoHeightfalse是否自动根据比例计算厚度。
    selectedOffsetVector2(0.1f, 0.5f)被选中状态的饼图块的额外偏移。
    peripherySideColorRate0.8f饼图切块的侧面颜色。
    startSideColorRate0.7f饼图切块的起始面颜色(顺时针)。
    endSideColorRate0.65f饼图切块的结束面颜色(顺时针)。
    drawSplitSidetruev3.10.0是否绘制分割面。当pieAutoHeight为true时,该值无效。
    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/pyramid/index.html b/docs/v3.10.2/pyramid/index.html index be4cd3b2..df11c338 100644 --- a/docs/v3.10.2/pyramid/index.html +++ b/docs/v3.10.2/pyramid/index.html @@ -14,14 +14,14 @@ PyramidChart 金字塔 | XCharts - - + +
    Version: v3.10.2

    PyramidChart 金字塔

    XCharts付费扩展图表 - 金字塔。

    截图

    Pyramid01Pyramid02Pyramid03

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-PyramidChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.10.0

    • (2024.01.21) 增加Pyramid的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.21) 增加Tooltip支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    PyramidChart

    class in XCharts.Runtime.Pyramids / 继承自: BaseChart

    API版本描述
    Default2DPyramidChart()public void Default2DPyramidChart()
    生成默认的2D金字塔图。

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    配置项手册

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    参数默认版本描述
    pyramidStylePyramidStyle

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    3Dtrue
    drawToptrue
    bottomPointRate0.5f3D模式下,底部中点占金字塔宽度的比例
    leftPointRate0.1f3D模式下,底部左边点占金字塔高度的比例
    rightPointRate0.1f3D模式下,底部右边点占金字塔高度的比例
    leftColorOpacity0.9f3D模式下,金字塔左边的颜色透明度
    rightColorOpacity0.7f3D模式下,金字塔右边的颜色透明度
    topColorOpacity0.99f3D模式下,金字塔顶部的颜色透明度
    labelLineMargin10fLabel标签距离右边的距离
    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/sankey/index.html b/docs/v3.10.2/sankey/index.html index 57d396ee..4d64db56 100644 --- a/docs/v3.10.2/sankey/index.html +++ b/docs/v3.10.2/sankey/index.html @@ -14,14 +14,14 @@ SankeyChart 桑基图 | XCharts - - + +
    Version: v3.10.2

    SankeyChart 桑基图

    XCharts付费扩展图表 - 桑基图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.10.0

    API

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    GetLevelItemStyle()public ItemStyle GetLevelItemStyle(int depth)
    GetLevelLabel()public LabelStyle GetLevelLabel(int depth)
    GetLevelLineStyle()public LineStyle GetLevelLineStyle(int depth)

    SankeyChart

    class in XCharts.Runtime.Sankeys / 继承自: BaseChart

    配置项手册

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    参数默认版本描述
    nodeAlign节点对齐方式。
    Sankey.NodeAlign:
    - Top: 顶部对齐
    - Center: 居中对齐
    - Bottom: 底部对齐
    nodeWidth20节点的宽度。
    nodeGap8节点的间距。
    draggable是否可拖拽。
    curveness0.5f线条的弯曲程度。
    levelStyle层级样式。
    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/support/index.html b/docs/v3.10.2/support/index.html index a3153b90..c230e046 100644 --- a/docs/v3.10.2/support/index.html +++ b/docs/v3.10.2/support/index.html @@ -14,8 +14,8 @@ 订阅服务 | XCharts - - + +
    @@ -26,7 +26,7 @@ 增加席位 企业VIP支持增加席位,每个席位298¥一年。
    对公转账 有开专票需求时,可用企业银行帐号进行公对公转账支付。二维码支付不支持开专票,只能开普票。发票默认都是电子发票。
    *登记资料 订阅成功后,需提供手机号和Github帐号进行登记,手机号用于确认归属,Github帐号用于加入Github的Team组织,下载源码。

    购买扩展图表

    扩展图表为另付费购买图表,只对订阅了VIP服务的用户开放购买。对于个人SVIP企业VIP的订阅用户,所有扩展图表仓库在订阅期间可全部免费使用,不用再单独购买。

    对所有已购买的扩展图表,源码可永久持有但不能传播,并获得持续一年的更新支持和技术服务,一年后如需更新支持等服务,可再继续订阅VIP服务。

    编号扩展图表扩展图表价格
    101象形柱图PictorialBarChart98¥
    102漏斗图FunnelChart98¥
    1033D金字塔PyramidChart98¥
    104树形矩图TreemapChart98¥
    2013D柱图Bar3DChart198¥
    2023D饼图Pie3DChart198¥
    203甘特图GanttChart198¥
    204仪表盘GaugeChart198¥
    205水位图LiquidChart198¥

    扩展图表的在线效果图也可以查看WebGL在线Demo

    捐助支持

    如果这个项目对您有帮助,请右上方点 Star 予以支持!也欢迎扫后面的二维码进行任意金额的捐助,XCharts需要您的支持和帮助。

    二维码

    如果看不到二维码图片,可以加Q联系XCharts技术支持:3525422251或邮件monitor1394@gmail.com咨询。

    alipay-qrcode wechat-qrcode

    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/treemap/index.html b/docs/v3.10.2/treemap/index.html index 7b35da00..e869c744 100644 --- a/docs/v3.10.2/treemap/index.html +++ b/docs/v3.10.2/treemap/index.html @@ -14,14 +14,14 @@ TreemapChart 矩形树图 | XCharts - - + +
    Version: v3.10.2

    TreemapChart 矩形树图

    XCharts付费扩展图表 - 矩形树图。

    截图

    Treemap01Treemap02Treemap03Treemap04

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-TreemapChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.2

    • (2023.11.08) 修复ItemStyle设置borderColor后边框绘制异常的问题

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    CanGoUpALevel()public bool CanGoUpALevel()
    是否可以返回上一层
    GetLevelItemStyle()public ItemStyle GetLevelItemStyle(int level)
    GetLevelLabel()public LabelStyle GetLevelLabel(int level)
    GetLevelUpperLabel()public LabelStyle GetLevelUpperLabel(int level)
    GoUpALevel()public void GoUpALevel()
    返回上一层
    OnDataUpdate()public override void OnDataUpdate()
    SetSelectedSerieData()public bool SetSelectedSerieData(string serieDataName)
    设置选中(要展示的)的数据名
    SetSelectedSerieData()public void SetSelectedSerieData(SerieData serieData)

    TreemapChart

    class in XCharts.Runtime.Treemaps / 继承自: BaseChart

    配置项手册

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    参数默认版本描述
    leafDepth0默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。
    visualDimension0用于计算占比的数据维数。
    drillDownIcon当节点可以下钻时的提示符,只能是字符。默认为▶
    customGoUpLevelButton自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。
    upperLabel父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。
    levelStyle
    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/tutorial01/index.html b/docs/v3.10.2/tutorial01/index.html index 76636691..d58bbd7f 100644 --- a/docs/v3.10.2/tutorial01/index.html +++ b/docs/v3.10.2/tutorial01/index.html @@ -14,8 +14,8 @@ 入门教程:5分钟上手 XCharts 3.0 | XCharts - - + +
    @@ -23,7 +23,7 @@ linechart2

    添加其他组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件按需额外添加。比如,需要给折线图区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent linechart3

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加Component。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent linechart4

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个至几十个不等的可配置参数,以支持各种灵活而复杂的功能。

    首次使用XCharts,可在 Inspector 视图添加各种图表,给图表添加或调整里面组件,Game 视图会实时反馈调整后的效果,以熟悉各种组件的使用。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是配置和数据来驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不需要去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时还原回来。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    通常颜色值为0000时表示用主题默认颜色,配置为0或null时表示用主题默认配置。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.EnsureChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.EnsureChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.EnsureChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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;

    清空默认数据,添加Line类型的Serie用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    用代码改图表参数

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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;

    注:低版本没有EnsureChartComponent()接口时,用GetOrAddChartComponent()

    改Serie的参数

    对于新添加的Serie:

    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:

    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添加额外组件:

    serie.EnsureComponent<AreaStyle>();

    var label = serie1.EnsureComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/tutorial02/index.html b/docs/v3.10.2/tutorial02/index.html index 26ea758a..cbaf6fe9 100644 --- a/docs/v3.10.2/tutorial02/index.html +++ b/docs/v3.10.2/tutorial02/index.html @@ -14,13 +14,13 @@ 从文件或数据库读取数据显示图表 | XCharts - - + +
    Version: v3.10.2

    从文件或数据库读取数据显示图表

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.10.2/tutorial03/index.html b/docs/v3.10.2/tutorial03/index.html index 2df80180..99e678ee 100644 --- a/docs/v3.10.2/tutorial03/index.html +++ b/docs/v3.10.2/tutorial03/index.html @@ -14,13 +14,13 @@ 心电图效果实现 | XCharts - - + + - - + + \ No newline at end of file diff --git a/docs/v3.10.2/ui/index.html b/docs/v3.10.2/ui/index.html index 7552587b..1ca9b47c 100644 --- a/docs/v3.10.2/ui/index.html +++ b/docs/v3.10.2/ui/index.html @@ -14,13 +14,13 @@ 扩展UI组件 | XCharts - - + +
    Version: v3.10.2

    扩展UI组件

    XCharts的扩展UI组件,VIP订阅用户专有。

    组件列表

    示例演示

    Demo仓库:XCharts-UI-Demo

    如何使用

    • 使用该仓库前先确保项目里已有对应版本的XCharts。
    • 下载本仓库放入Assets下或者通过Package Manager导入。

    更新日志

    v3.10.0

    • (2024.01.16) 增加UIImage图片组件
    • (2024.01.16) 优化Background组件,可设置圆角和边框
    • (2024.01.03) 增加UITablecarouselStylehoverPause
    • (2024.01.02) 增加UITablescrollStyleborderStyle
    • (2024.01.02) 增加UITablecolumnHeadStyleopaque
    • (2024.01.01) 调整UITableborder边框相关设置,用BorderStyle代替
    • (2023.12.22) 增加UITable的行边框

    v3.9.0

    • (2023.11.14) 增加UITableGetData()GetContent()接口
    • (2023.11.12) 增加UITableonTableClick点击表格回调
    • (2023.11.11) 重构UITableSeparatorStyle,可分开设置行列的分割线
    • (2023.11.05) 增加UITableColumnStyle,重构Column相关参数
    • (2023.11.05) 增加UITableRowStyle,重构Row相关参数
    • (2023.11.01) 增加UITableCarouselStyle轮播功能
    • (2023.11.01) 增加UITableAddColumn()UpdateColumn()接口
    • (2023.10.23) 修复UITable点击Rebuild Object异常的问题
    • (2023.10.23) 修复UITable尺寸变化时不刷新的问题
    • (2023.10.17) 修复UITable首次初始化异常的问题
    • (2023.10.17) 增加UITable的数据操作接口
    • (2023.10.17) 增加UITableRefreshTable()刷新接口

    v3.8.0

    • (2023.09.03) 发布v3.8.0版本
    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 增加UIStatistic
    • (2023.02.14) 增加UITable
    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/about/index.html b/docs/v3.11.2/about/index.html index 5627b39f..5712eca5 100644 --- a/docs/v3.11.2/about/index.html +++ b/docs/v3.11.2/about/index.html @@ -14,8 +14,8 @@ 关于XCharts | XCharts - - + +
    @@ -31,7 +31,7 @@ XCharts只支持在Unity平台使用。理论上任何支持UGUIUnity版本都能运行XCharts

  • 锯齿怎么解决?支持多大量级的数据?
    XCharts是基于UGUI实现的,所以UGUI中碰到的问题,在XCharts中也会存在。比如锯齿问题,比如Mesh顶点数超65535的问题。这两个问题的解决可参考问答16问答27
    由于Mesh65535顶点数的限制,目前XCharts的单条Line支持约2万的数据量,当然开启采样可以支持更多数据的绘制,但同时也会更消耗CPU。

  • 日志

    Licenses

    • MIT License
    • 可免费商用,可二次开发。
    • 扩展图表和高级功能部分需购买使用授权。

    订阅

    • XCharts核心库是开源的,可免费使用的。在此基础上,我们也提供多种订阅服务以满足不同用户的需求,订阅详情☞ 请看这里
    • 订阅不是必须的,不影响XCharts的核心功能使用。
    • 订阅是按年付费,订阅到期后,不要求必须续订,但中断订阅期间无法享受技术更新和支持等服务。

    其他

    • 邮箱:monitor1394@gmail.com
    • QQ群:XCharts交流群(202030963
    • VIP群:XCharts VIP群(867291970
    • 捐助、合作、订阅和技术支持:☞ 请看这里
    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/api/index.html b/docs/v3.11.2/api/index.html index b306c88b..0cbe5c79 100644 --- a/docs/v3.11.2/api/index.html +++ b/docs/v3.11.2/api/index.html @@ -14,13 +14,13 @@ API手册 | XCharts - - + +
    Version: v3.11.2

    API手册

    所有类

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    API版本描述
    GetValueAngle()public float GetValueAngle(double value)
    GetValueAngle()public float GetValueAngle(float value)
    SetDefaultValue()public override void SetDefaultValue()

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    AngleAxisTheme()public AngleAxisTheme(ThemeType theme) : base(theme) { }

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn,AnimationFadeOut,AnimationChange,AnimationAddition,AnimationHiding,AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    API版本描述
    End()public void End()
    结束动画。
    GetIndexDelay()public float GetIndexDelay(int dataIndex)
    获取动画延迟。
    Init()public bool Init(float curr, float dest, int totalPointIndex)
    初始化动画。
    IsFinish()public bool IsFinish()
    动画是否结束。
    IsInDelay()public bool IsInDelay()
    动画是否在延迟中。
    IsInIndexDelay()public bool IsInIndexDelay(int dataIndex)
    动画是否在索引延迟中。
    Pause()public void Pause()
    暂停动画。
    Reset()public void Reset()
    重置动画。
    Resume()public void Resume()
    恢复动画。
    Start()public void Start(bool reset = true)
    开始动画。

    AnimationInfoContext

    class in XCharts.Runtime

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    API版本描述
    GetOffset()public float GetOffset()
    GetOffset()public float GetOffset(float total)
    GetRadius()public float GetRadius(float radius)
    GetWidth()public float GetWidth(float width)

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    API版本描述
    Addition()public void Addition()
    开始数据新增动画。
    CanCheckInteract()public bool CanCheckInteract()
    CheckDetailBreak()public bool CheckDetailBreak(float detail)
    CheckDetailBreak()public bool CheckDetailBreak(Vector3 pos, bool isYAxis)
    CheckProgress()public void CheckProgress()
    CheckProgress()public void CheckProgress(double total)
    CheckSymbol()public void CheckSymbol(float dest)
    FadeIn()public void FadeIn()
    开始渐入动画。
    FadeOut()public void FadeOut()
    开始渐出动画。
    GetAdditionDuration()public float GetAdditionDuration()
    GetChangeDuration()public float GetChangeDuration()
    GetCurrDetail()public float GetCurrDetail()
    GetCurrIndex()public int GetCurrIndex()
    GetCurrRate()public float GetCurrRate()
    GetInteractionDuration()public float GetInteractionDuration()
    GetInteractionRadius()public float GetInteractionRadius(float radius)
    GetSysmbolSize()public float GetSysmbolSize(float dest)
    HasFadeOut()public bool HasFadeOut()
    InitProgress()public void InitProgress(float curr, float dest)
    初始化动画配置。
    InitProgress()public void InitProgress(List<Vector3> paths, bool isY)
    初始化动画配置。
    IsDataAnimation()public bool IsDataAnimation()
    是否为数据动画。BottomToTop和InsideOut类型的为数据动画。
    IsEnd()public bool IsEnd()
    IsFadeIn()public bool IsFadeIn()
    IsFadeOut()public bool IsFadeOut()
    IsFinish()public bool IsFinish()
    IsInDelay()public bool IsInDelay()
    IsSerieAnimation()public bool IsSerieAnimation()
    是否为系列动画。LeftToRight、AlongPath和Clockwise类型的为系列动画。
    Pause()public void Pause()
    暂停所有动画。
    Reset()public void Reset()
    Reset all animations.
    Restart()public void Restart()
    重启当前激活的动画。
    Resume()public void Resume()
    恢复所有动画。

    AnimationStyleHelper

    class in XCharts.Runtime

    API版本描述
    CheckDataAnimation()public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)
    GetAnimationPosition()public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip, ref float rate)
    UpdateAnimationType()public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType, bool enableSerieDataAnimation)
    UpdateSerieAnimation()public static void UpdateSerieAnimation(Serie serie)

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    区域填充样式。

    API版本描述
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 themeColor)

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Clone()public ArrowStyle Clone()
    Copy()public void Copy(ArrowStyle arrow)
    GetColor()public Color32 GetColor(Color32 defaultColor)

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis,ParallelAxis,RadiusAxis,SingleAxis,XAxis,XAxis3D,YAxis,YAxis3D,ZAxis3D

    直角坐标系的坐标轴组件。

    API版本描述
    AddData()public void AddData(string category)
    添加一个类目到类目数据列表
    AddIcon()public void AddIcon(Sprite icon)
    添加图标
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空类目数据
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public Axis Clone()
    Copy()public void Copy(Axis axis)
    GetAddedDataCount()public int GetAddedDataCount()
    获得添加过的历史数据总数
    GetCategoryPosition()public Vector3 GetCategoryPosition(int categoryIndex, int dataCount = 0)
    GetData()public string GetData(int index)
    获得指定索引的类目数据
    GetData()public string GetData(int index, DataZoom dataZoom)
    获得在dataZoom范围内指定索引的类目数据
    GetDistance()public float GetDistance(double value, float axisLength = 0)
    获得值在坐标轴上的距离
    GetIcon()public Sprite GetIcon(int index)
    GetLabelValue()public double GetLabelValue(int index)
    GetLastLabelValue()public double GetLastLabelValue()
    GetLogMaxIndex()public double GetLogMaxIndex()
    GetLogMinIndex()public double GetLogMinIndex()
    GetLogValue()public float GetLogValue(double value)
    GetValueLength()public float GetValueLength(double value, float axisLength)
    IsBottom()public bool IsBottom()
    IsCategory()public bool IsCategory()
    是否为类目轴。
    IsLeft()public bool IsLeft()
    IsLog()public bool IsLog()
    是否为对数轴。
    IsNeedShowLabel()public bool IsNeedShowLabel(int index, int total = 0)
    IsRight()public bool IsRight()
    IsTime()public bool IsTime()
    是否为时间轴。
    IsTop()public bool IsTop()
    IsValue()public bool IsValue()
    是否为数值轴。
    RemoveData()public void RemoveData(int dataIndex)
    ResetStatus()public override void ResetStatus()
    重置状态。
    SetComponentDirty()public override void SetComponentDirty()
    SetNeedUpdateFilterData()public void SetNeedUpdateFilterData()
    UpdateData()public void UpdateData(int index, string category)
    更新类目数据
    UpdateIcon()public void UpdateIcon(int index, Sprite icon)
    更新图标
    UpdateZeroOffset()public void UpdateZeroOffset(float axisLength)

    Axis3DHelper

    class in XCharts.Runtime

    API版本描述
    Get3DGridPosition()public static Vector3 Get3DGridPosition(GridCoord3D grid, XAxis3D xAxis, YAxis3D yAxis, double xValue, double yValue)
    Get3DGridPosition()public static Vector3 Get3DGridPosition(GridCoord3D grid, XAxis3D xAxis, YAxis3D yAxis, ZAxis3D zAxis, double xValue, double yValue, double zValue)
    GetLabelPosition()public static Vector3 GetLabelPosition(int i, Axis axis, Axis relativedAxis, AxisTheme theme, float scaleWid)

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    API版本描述
    Clone()public AxisAnimation Clone()
    Copy()public void Copy(AxisAnimation animation)

    AxisContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    AxisHandler<T>

    class in XCharts / 继承自: MainComponentHandler

    AxisHelper

    class in XCharts.Runtime

    API版本描述
    AdjustCircleLabelPos()public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    AdjustMinMaxValue()public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
    调整最大最小值
    AdjustRadiusAxisLabelPos()public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    GetAxisLineArrowOffset()public static float GetAxisLineArrowOffset(Axis axis)
    包含箭头偏移的轴线长度
    GetAxisPosition()public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)
    GetAxisPositionValue()public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)
    GetAxisPositionValue()public static double GetAxisPositionValue(GridCoord grid, Axis axis, Vector3 pos)
    GetAxisValueDistance()public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上相对起点的距离
    GetAxisValueLength()public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上对应的长度
    GetAxisValuePosition()public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上的坐标位置
    GetAxisValueSplitIndex()public static int GetAxisValueSplitIndex(Axis axis, double value, bool checkMaxCache, int totalSplitNumber = -1)
    获得数值value在坐标轴上对应的split索引
    GetAxisXOrY()public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)
    GetDataWidth()public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
    获得一个类目数据在坐标系中代表的宽度
    GetEachWidth()public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    GetScaleNumber()public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    获得分割线条数
    GetScaleWidth()public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
    获得分割段宽度
    GetSplitNumber()public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
    获得分割段数
    GetTotalSplitGridNum()public static int GetTotalSplitGridNum(Axis axis)
    获得分割网格个数,包含次刻度
    GetXAxisXOrY()public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)
    GetYAxisXOrY()public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)
    NeedShowSplit()public static bool NeedShowSplit(Axis axis)

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    Clone()public new AxisLabel Clone()
    Copy()public void Copy(AxisLabel axisLabel)
    GetFormatterContent()public override string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
    GetFormatterContent()public override string GetFormatterContent(int labelIndex, string category)
    IsNeedShowLabel()public bool IsNeedShowLabel(int index, int total)
    SetRelatedText()public void SetRelatedText(ChartText txt, float labelWidth)

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    API版本描述
    Clone()public AxisLine Clone()
    Copy()public void Copy(AxisLine axisLine)

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisMinorSplitLine Clone()
    Copy()public void Copy(AxisMinorSplitLine splitLine)

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisMinorTick Clone()
    Copy()public void Copy(AxisMinorTick axisTick)

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    API版本描述
    Clone()public AxisName Clone()
    Copy()public void Copy(AxisName axisName)

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    API版本描述
    Clone()public AxisSplitArea Clone()
    Copy()public void Copy(AxisSplitArea splitArea)
    GetColor()public Color32 GetColor(int index, BaseAxisTheme theme)

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisSplitLine Clone()
    Copy()public void Copy(AxisSplitLine splitLine)

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    AxisTheme()public AxisTheme(ThemeType theme) : base(theme) { }

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    API版本描述
    Clone()public AxisTick Clone()
    Copy()public void Copy(AxisTick axisTick)

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    Bar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Bar ConvertSerie(Serie serie)

    BarChart

    class in XCharts.Runtime / 继承自: BaseChart

    柱状图(或称条形图)是一种通过柱形的高度(横向的情况下则是宽度)来表现数据大小的一种常用图表类型。

    API版本描述
    DefaultBarChart()public void DefaultBarChart()
    默认条形图。
    DefaultCapsuleBarChart()public void DefaultCapsuleBarChart()
    默认胶囊条形图。
    DefaultCapsuleColumnChart()public void DefaultCapsuleColumnChart()
    胶囊柱状图。
    DefaultGroupedBarChart()public void DefaultGroupedBarChart()
    默认分组条形图。
    DefaultGroupedColumnChart()public void DefaultGroupedColumnChart()
    默认分组柱状图。
    DefaultPercentBarChart()public void DefaultPercentBarChart()
    默认百分比条形图。
    DefaultPercentColumnChart()public void DefaultPercentColumnChart()
    默认百分比柱状图。
    DefaultStackedBarChart()public void DefaultStackedBarChart()
    默认堆叠条形图。
    DefaultStackedColumnChart()public void DefaultStackedColumnChart()
    默认堆叠分组柱状图。
    DefaultZebraBarChart()public void DefaultZebraBarChart()
    默认斑马条形图。
    DefaultZebraColumnChart()public void DefaultZebraColumnChart()
    斑马柱状图。

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme,RadiusAxisTheme,AngleAxisTheme,PolarAxisTheme,RadarAxisTheme

    API版本描述
    BaseAxisTheme()public BaseAxisTheme(ThemeType theme) : base(theme)
    Copy()public void Copy(BaseAxisTheme theme)

    BaseChart

    class in XCharts.Runtime / 继承自: BaseGraph,ISerializationCallbackReceiver / 子类: BarChart,CandlestickChart,HeatmapChart,LineChart,ParallelChart,PieChart,PolarChart,RadarChart,RingChart,ScatterChart,SimplifiedBarChart,SimplifiedCandlestickChart,SimplifiedLineChart

    API版本描述
    onAxisPointerValueChangedpublic Action<Axis, double> onAxisPointerValueChanged
    坐标轴变更数据索引时回调。参数:axis, dataIndex/dataValue
    onDrawpublic Action<VertexHelper> onDraw
    自定义绘制回调。在绘制Serie前调用。
    onDrawAfterSeriepublic Action<VertexHelper, Serie> onDrawAfterSerie
    自定义Serie绘制回调。在每个Serie绘制完后调用。
    onDrawBeforeSeriepublic Action<VertexHelper, Serie> onDrawBeforeSerie
    自定义Serie绘制回调。在每个Serie绘制完前调用。
    onDrawToppublic Action<VertexHelper> onDrawTop
    自定义Top层绘制回调。在绘制Tooltip前调用。
    onDrawUpperpublic Action<VertexHelper> onDrawUpper
    自定义Upper层绘制回调。在绘制Tooltip前调用。
    onInitpublic Action onInit
    图表的初始化完成回调。
    onLegendClickpublic Action<Legend, int, string, bool> onLegendClick
    点击图例按钮回调。参数:legendIndex, legendName, show
    onLegendEnterpublic Action<Legend, int, string> onLegendEnter
    鼠标进入图例回调。参数:legendIndex, legendName
    onLegendExitpublic Action<Legend, int, string> onLegendExit
    鼠标退出图例回调。参数:legendIndex, legendName
    onPointerClickBarpublic Action<PointerEventData, int> onPointerClickBar
    点击柱形图柱条回调。参数:eventData, dataIndex
    onPointerClickPiepublic Action<PointerEventData, int, int> onPointerClickPie
    点击饼图区域回调。参数:PointerEventData,SerieIndex,SerieDataIndex
    onPointerEnterPiepublic Action<int, int> onPointerEnterPie
    鼠标进入和离开饼图区域回调,SerieDataIndex为-1时表示离开。参数:PointerEventData,SerieIndex,SerieDataIndex
    onSerieClickv3.6.0public Action<SerieEventData> onSerieClick
    鼠标点击Serie回调。
    onSerieDownv3.6.0public Action<SerieEventData> onSerieDown
    鼠标按下Serie回调。
    onSerieEnterv3.6.0public Action<SerieEventData> onSerieEnter
    鼠标进入Serie回调。
    onSerieExitv3.6.0public Action<SerieEventData> onSerieExit
    鼠标离开Serie回调。
    onUpdatepublic Action onUpdate
    图表的Update回调。
    AddChartComponent()public MainComponent AddChartComponent(Type type)
    AddChartComponent<T>()public T AddChartComponent<T>() where T : MainComponent
    AddChartComponentWhenNoExist<T>()public T AddChartComponentWhenNoExist<T>() where T : MainComponent
    AddData()public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
    添加一个数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(string serieName, double data, string dataName = null, string dataId = null)
    If serieName doesn't exist in legend,will be add to legend.
    AddData()public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddLink()public SerieDataLink AddLink(int serieIndex, string sourceId, string targetId, double value = 0)
    添加一个关系图的关系数据。
    AddSerie<T>()public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie
    AddXAxisData()public void AddXAxisData(string category, int xAxisIndex = 0)
    添加一个类目数据到指定的x轴。
    AddXAxisIcon()public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
    添加一个图标到指定的x轴。
    AddYAxisData()public void AddYAxisData(string category, int yAxisIndex = 0)
    添加一个类目数据到指定的y轴。
    AddYAxisIcon()public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
    添加一个图标到指定的y轴。
    AnimationEnable()public void AnimationEnable(bool flag)
    是否启用Serie动画。
    AnimationFadeIn()public void AnimationFadeIn(bool reset = true)
    开始所有Serie的渐入动画。
    AnimationFadeOut()public void AnimationFadeOut()
    开始所有Serie的渐出动画。
    AnimationPause()public void AnimationPause()
    暂停所有Serie的动画。
    AnimationReset()public void AnimationReset()
    重置所有Serie的动画。
    AnimationResume()public void AnimationResume()
    继续所有Serie的动画。
    CanAddChartComponent()public bool CanAddChartComponent(Type type)
    CanAddSerie()public bool CanAddSerie(Type type)
    CanAddSerie<T>()public bool CanAddSerie<T>() where T : Serie
    CancelTooltip()v3.7.0public void CancelTooltip()
    取消Tooltip.
    CanMultipleComponent()public bool CanMultipleComponent(Type type)
    ClampInChart()public void ClampInChart(ref Vector3 pos)
    ClampInGrid()public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)
    ClearComponentData()v3.4.0public virtual void ClearComponentData()
    清空所有组件的数据。
    ClearData()public virtual void ClearData()
    清空所有组件和Serie的数据。注意:Serie只是清空数据,不会移除Serie。
    ClearSerieData()v3.4.0public virtual void ClearSerieData()
    清空所有serie的数据。
    ClearSerieLinks()v3.10.0public virtual void ClearSerieLinks()
    清空所有serie的link数据。
    ClickLegendButton()public void ClickLegendButton(int legendIndex, string legendName, bool show)
    点击图例按钮
    ConvertSerie()public bool ConvertSerie(Serie serie, Type type)
    ConvertSerie<T>()public bool ConvertSerie<T>(Serie serie) where T : Serie
    ConvertXYAxis()public void ConvertXYAxis(int index)
    转换X轴和Y轴的配置
    EnsureChartComponent<T>()v3.6.0public T EnsureChartComponent<T>() where T : MainComponent
    确保图表有该组件,如果没有则添加。注意:有可能添加不成功。
    GenerateDefaultSerieName()public string GenerateDefaultSerieName()
    GetAllSerieDataCount()public int GetAllSerieDataCount()
    GetChartBackgroundColor()public Color32 GetChartBackgroundColor()
    GetChartComponent<T>()public T GetChartComponent<T>(int index = 0) where T : MainComponent
    GetChartComponentNum()public int GetChartComponentNum(Type type)
    GetChartComponentNum<T>()public int GetChartComponentNum<T>() where T : MainComponent
    GetChartComponents<T>()public List<MainComponent> GetChartComponents<T>() where T : MainComponent
    GetData()public double GetData(int serieIndex, int dataIndex, int dimension = 1)
    GetData()public double GetData(string serieName, int dataIndex, int dimension = 1)
    GetDataZoomOfAxis()public DataZoom GetDataZoomOfAxis(Axis axis)
    GetDataZoomOfSerie()public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)
    GetGrid()public GridCoord GetGrid(Vector2 local)
    GetGridOfDataZoom()public GridCoord GetGridOfDataZoom(DataZoom dataZoom)
    GetItemColor()public Color32 GetItemColor(Serie serie)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)
    GetLegendRealShowNameColor()public Color32 GetLegendRealShowNameColor(string name)
    GetLegendRealShowNameIndex()public int GetLegendRealShowNameIndex(string name)
    GetMarkColor()v3.4.0public Color32 GetMarkColor(Serie serie, SerieData serieData)
    获得Serie的标识颜色。
    GetOrAddChartComponent<T>()public T GetOrAddChartComponent<T>() where T : MainComponent
    GetPainter()public Painter GetPainter(int index)
    GetSerie()public Serie GetSerie(int serieIndex)
    GetSerie()public Serie GetSerie(string serieName)
    GetSerie<T>()public T GetSerie<T>() where T : Serie
    GetSerie<T>()public T GetSerie<T>(int serieIndex) where T : Serie
    GetSerieBarGap<T>()public float GetSerieBarGap<T>() where T : Serie
    GetSerieBarRealCount<T>()public int GetSerieBarRealCount<T>() where T : Serie
    GetSerieIndexIfStack<T>()public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie
    GetSerieSameStackTotalValue<T>()public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie
    GetSeriesMinMaxValue()public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    GetSerieTotalGap<T>()public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie
    GetSerieTotalWidth<T>()public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie
    GetTitlePosition()public Vector3 GetTitlePosition(Title title)
    GetVisualMapOfSerie()public VisualMap GetVisualMapOfSerie(Serie serie)
    GetXDataZoomOfSerie()public DataZoom GetXDataZoomOfSerie(Serie serie)
    GetXLerpColor()public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    GetYLerpColor()public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    HasChartComponent()public bool HasChartComponent(Type type)
    HasChartComponent<T>()public bool HasChartComponent<T>()
    HasSerie()public bool HasSerie(Type type)
    HasSerie<T>()public bool HasSerie<T>() where T : Serie
    Init()public void Init(bool defaultChart = true)
    InitAxisRuntimeData()public virtual void InitAxisRuntimeData(Axis axis) { }
    InsertSerie()public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)
    InsertSerie<T>()public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie
    Internal_CheckAnimation()public void Internal_CheckAnimation()
    IsActiveByLegend()public virtual bool IsActiveByLegend(string legendName)
    获得指定图例名字的系列是否显示。
    IsAllAxisCategory()public bool IsAllAxisCategory()
    纯类目轴。
    IsAllAxisValue()public bool IsAllAxisValue()
    纯数值坐标轴(数值轴或对数轴)。
    IsInAnyGrid()public bool IsInAnyGrid(Vector2 local)
    IsInChart()public bool IsInChart(float x, float y)
    IsInChart()public bool IsInChart(Vector2 local)
    坐标是否在图表范围内
    IsSerieName()public bool IsSerieName(string name)
    MoveDownSerie()public bool MoveDownSerie(int serieIndex)
    MoveUpSerie()public bool MoveUpSerie(int serieIndex)
    OnAfterDeserialize()public void OnAfterDeserialize()
    OnBeforeSerialize()public void OnBeforeSerialize()
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDataZoomRangeChanged()public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public override void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public override void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public override void OnPointerUp(PointerEventData eventData)
    OnScroll()public override void OnScroll(PointerEventData eventData)
    RefreshBasePainter()public void RefreshBasePainter()
    RefreshChart()public void RefreshChart()
    在下一帧刷新整个图表。
    RefreshChart()public void RefreshChart(int serieIndex)
    在下一帧刷新图表的指定serie。
    RefreshChart()public void RefreshChart(Serie serie)
    在下一帧刷新图表的指定serie。
    RefreshDataZoom()public void RefreshDataZoom()
    在下一帧刷新DataZoom
    RefreshGraph()public override void RefreshGraph()
    RefreshPainter()public void RefreshPainter(int index)
    RefreshPainter()public void RefreshPainter(Serie serie)
    RefreshTopPainter()public void RefreshTopPainter()
    RefreshUpperPainter()public void RefreshUpperPainter()
    RemoveAllChartComponent()public void RemoveAllChartComponent()
    RemoveAllSerie()v3.2.0public virtual void RemoveAllSerie()
    移除所有的Serie。当确认只需要移除Serie时使用该接口,其他情况下一般用RemoveData()。
    RemoveChartComponent()public bool RemoveChartComponent(MainComponent component)
    RemoveChartComponent()public bool RemoveChartComponent(Type type, int index = 0)
    RemoveChartComponent<T>()public bool RemoveChartComponent<T>(int index = 0)
    RemoveChartComponents()public int RemoveChartComponents(Type type)
    RemoveChartComponents<T>()public int RemoveChartComponents<T>()
    RemoveData()public virtual void RemoveData()
    清空所有组件数据,并移除所有Serie。一般在图表重新初始化时使用。 注意:组件只清空数据部分,参数会保留不会被重置。
    RemoveData()public virtual void RemoveData(string serieName)
    清除指定系列名称的数据。
    RemoveSerie()public void RemoveSerie(int serieIndex)
    RemoveSerie()public void RemoveSerie(Serie serie)
    RemoveSerie()public void RemoveSerie(string serieName)
    RemoveSerie<T>()public void RemoveSerie<T>() where T : Serie
    ReplaceSerie()public bool ReplaceSerie(Serie oldSerie, Serie newSerie)
    ResetChartStatus()v3.10.0public void ResetChartStatus()
    重置图表状态。当设置某些参数后,由于动画影响,可能导致图表状态不正确,此时可以调用该接口重置图表状态。
    ResetDataIndex()public bool ResetDataIndex(int serieIndex)
    重置serie的数据项索引。避免数据项索引异常。
    SetBasePainterMaterial()public void SetBasePainterMaterial(Material material)
    设置Base Painter的材质球
    SetInsertDataToHead()v3.11.0public void SetInsertDataToHead(bool insertDataToHead)
    设置数据插入到头部。
    SetMaxCache()public void SetMaxCache(int maxCache)
    设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。
    SetPainterActive()public void SetPainterActive(int index, bool flag)
    SetSerieActive()public void SetSerieActive(int serieIndex, bool active)
    设置指定系列是否显示。
    SetSerieActive()public void SetSerieActive(Serie serie, bool active)
    SetSerieActive()public void SetSerieActive(string serieName, bool active)
    设置指定系列是否显示。
    SetSeriePainterMaterial()public void SetSeriePainterMaterial(Material material)
    设置Serie Painter的材质球
    SetTopPainterMaterial()public void SetTopPainterMaterial(Material material)
    设置Top Painter的材质球
    SetUpperPainterMaterial()public void SetUpperPainterMaterial(Material material)
    设置Upper Painter的材质球
    TriggerTooltip()v3.7.0public bool TriggerTooltip(int dataIndex, int serieIndex = 0)
    尝试触发指定数据项的Tooltip.
    TriggerTooltip()v3.7.0public bool TriggerTooltip(Vector3 localPosition)
    在指定的位置尝试触发Tooltip.
    TryAddChartComponent()public bool TryAddChartComponent(Type type)
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>() where T : MainComponent
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>(out T component) where T : MainComponent
    TryGetChartComponent<T>()public bool TryGetChartComponent<T>(out T component, int index = 0)
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateDataName()public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateDataName()public bool UpdateDataName(string serieName, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateLegendColor()public virtual void UpdateLegendColor(string legendName, bool active)
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。
    UpdateTheme()public void UpdateTheme(Theme theme)
    切换图表主题。
    UpdateXAxisData()public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
    更新X轴类目数据。
    UpdateXAxisIcon()public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
    更新X轴图标。
    UpdateYAxisData()public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
    更新Y轴类目数据。
    UpdateYAxisIcon()public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
    更新Y轴图标。

    BaseGraph

    class in XCharts.Runtime / 继承自: MaskableGraphic,IPointerDownHandler,IPointerUpHandler, / 子类: BaseChart,UIComponent

    API版本描述
    onBeginDragpublic Action<PointerEventData, BaseGraph> onBeginDrag
    鼠标开始拖拽回调。
    onDragpublic Action<PointerEventData, BaseGraph> onDrag
    鼠标拖拽回调。
    onEndDragpublic Action<PointerEventData, BaseGraph> onEndDrag
    鼠标结束拖拽回调。
    onPointerClickpublic Action<PointerEventData, BaseGraph> onPointerClick
    鼠标点击回调。
    onPointerDownpublic Action<PointerEventData, BaseGraph> onPointerDown
    鼠标按下回调。
    onPointerEnterpublic Action<PointerEventData, BaseGraph> onPointerEnter
    鼠标进入回调。
    onPointerExitpublic Action<PointerEventData, BaseGraph> onPointerExit
    鼠标退出回调。
    onPointerUppublic Action<PointerEventData, BaseGraph> onPointerUp
    鼠标弹起回调。
    onScrollpublic Action<PointerEventData, BaseGraph> onScroll
    鼠标滚动回调。
    CheckWarning()public string CheckWarning()
    检测警告信息。
    LocalPointToScreenPoint()v3.7.0public Vector2 LocalPointToScreenPoint(Vector2 localPoint)
    图表内坐标转屏幕坐标。
    LocalPointToWorldPoint()v3.7.0public Vector2 LocalPointToWorldPoint(Vector2 localPoint)
    图表内坐标转世界坐标。
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData)
    OnDrag()public virtual void OnDrag(PointerEventData eventData)
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData)
    OnScroll()public virtual void OnScroll(PointerEventData eventData)
    RebuildChartObject()public void RebuildChartObject()
    移除并重新创建所有图表的Object。
    RefreshAllComponent()public void RefreshAllComponent()
    RefreshGraph()public virtual void RefreshGraph()
    在下一帧刷新图形。
    SaveAsImage()public void SaveAsImage(string imageType = "png", string savePath = "")
    保存图表为图片。
    ScreenPointToChartPoint()public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)
    SetPainterDirty()public void SetPainterDirty()
    重新初始化Painter
    SetSize()public virtual void SetSize(float width, float height)
    设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform)

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine,AxisMinorSplitLine,AxisMinorTick,AxisSplitLine,AxisTick

    线条基础配置。

    API版本描述
    BaseLine()public BaseLine()
    BaseLine()public BaseLine(bool show) : base()
    Copy()public void Copy(BaseLine axisLine)
    GetColor()public Color32 GetColor(Color32 themeColor)
    GetLength()public float GetLength(float themeLength)
    GetType()public LineStyle.Type GetType(LineStyle.Type themeType)
    GetWidth()public float GetWidth(float themeWidth)

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer / 子类: EffectScatter,Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    API版本描述
    ClearComponentDirty()public static void ClearComponentDirty(ChildComponent component)
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearData()public virtual void ClearData() { }
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public static void ClearVerticesDirty(ChildComponent component)
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    IsComponentDirty()public static bool IsComponentDirty(ChildComponent component)
    IsVertsDirty()public static bool IsVertsDirty(ChildComponent component)
    OnAfterDeserialize()public virtual void OnAfterDeserialize()
    OnBeforeSerialize()public virtual void OnBeforeSerialize() { }
    OnDataUpdate()public virtual void OnDataUpdate() { }
    OnRemove()public virtual void OnRemove()
    RefreshLabel()public void RefreshLabel()
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetVerticesDirty()public virtual void SetVerticesDirty()

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    BorderStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    边框样式。

    API版本描述
    GetRuntimeBorderColor()public Color32 GetRuntimeBorderColor()
    GetRuntimeBorderWidth()public float GetRuntimeBorderWidth()
    GetRuntimeCornerRadius()public float[] GetRuntimeCornerRadius()

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    API版本描述
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    Candlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    CandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    蜡烛图,也叫K线图,用于描述证券、衍生品或货币的价格走势的一种金融图表样式。

    ChartCached

    class in XCharts.Runtime

    API版本描述
    ColorToDotStr()public static string ColorToDotStr(Color color)
    ColorToStr()public static string ColorToStr(Color color)
    FloatToStr()public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)
    GetSerieLabelName()public static string GetSerieLabelName(string prefix, int i, int j)
    GetString()public static string GetString(string prefix, int suffix)
    IntToStr()public static string IntToStr(int value, string numericFormatter = "")
    NumberToStr()public static string NumberToStr(double value, string formatter)

    ChartConst

    class in XCharts.Runtime

    ChartDrawer

    class in XCharts.Runtime

    ChartHelper

    class in XCharts.Runtime

    API版本描述
    ActiveAllObject()public static void ActiveAllObject(Transform parent, bool active, string match = null)
    AddIcon()public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)
    Cancat()public static string Cancat(string str1, int i)
    Cancat()public static string Cancat(string str1, string str2)
    ClearEventListener()public static void ClearEventListener(GameObject obj)
    CopyArray<T>()public static bool CopyArray<T>(T[] toList, T[] fromList)
    CopyList<T>()public static bool CopyList<T>(List<T> toList, List<T> fromList)
    DestoryGameObject()public static void DestoryGameObject(GameObject go)
    DestoryGameObject()public static void DestoryGameObject(Transform parent, string childName)
    DestoryGameObjectByMatch()public static void DestoryGameObjectByMatch(Transform parent, string containString)
    DestroyAllChildren()public static void DestroyAllChildren(Transform parent)
    EnsureComponent<T>()public static T EnsureComponent<T>(GameObject gameObject) where T : Component
    确保对象有指定的组件,如果没有则添加。
    EnsureComponent<T>()public static T EnsureComponent<T>(Transform transform) where T : Component
    确保对象有指定的组件,如果没有则添加。
    GetActualValue()public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBlurColor()public static Color32 GetBlurColor(Color32 color, float a = 0.3f)
    GetColor()public static Color32 GetColor(string hexColorStr)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetFullName()public static string GetFullName(Transform transform)
    GetHighlightColor()public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)
    GetLastValue()public static Vector3 GetLastValue(List<Vector3> list)
    GetMaxCeilRate()public static double GetMaxCeilRate(double value, double ceilRate)
    GetMaxDivisibleValue()public static double GetMaxDivisibleValue(double max, double ceilRate)
    GetMaxLogValue()public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetMinCeilRate()public static double GetMinCeilRate(double value, double ceilRate)
    GetMinDivisibleValue()public static double GetMinDivisibleValue(double min, double ceilRate)
    GetMinLogValue()public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(Transform transform) where T : Component
    GetPointList()public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetPosition()public static Vector3 GetPosition(Vector3 center, float angle, float radius)
    GetSelectColor()public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    HideAllObject()public static void HideAllObject(GameObject obj, string match = null)
    HideAllObject()public static void HideAllObject(Transform parent, string match = null)
    IsActiveByScale()public static bool IsActiveByScale(GameObject gameObject)
    IsActiveByScale()public static bool IsActiveByScale(Image image)
    IsActiveByScale()public static bool IsActiveByScale(Transform transform)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsColorAlphaZero()public static bool IsColorAlphaZero(Color color)
    IsEquals()public static bool IsEquals(double d1, double d2)
    IsEquals()public static bool IsEquals(float d1, float d2)
    IsIngore()public static bool IsIngore(Vector3 pos)
    IsInRect()public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)
    IsPointInQuadrilateral()public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    ParseFloatFromString()public static List<float> ParseFloatFromString(string jsonData)
    ParseStringFromString()public static List<string> ParseStringFromString(string jsonData)
    RemoveComponent<T>()public static void RemoveComponent<T>(GameObject gameObject)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
    SaveAsImage()public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")
    SetActive()public static bool SetActive(GameObject gameObject, bool active)
    SetActive()public static bool SetActive(Image image, bool active)
    SetActive()public static bool SetActive(Text text, bool active)
    SetActive()public static bool SetActive(Transform transform, bool active)
    通过设置scale实现是否显示,优化性能,减少GC
    SetBackground()public static void SetBackground(Image background, Background imageStyle)
    SetBackground()public static void SetBackground(Image background, ImageStyle imageStyle)
    SetColorOpacity()public static void SetColorOpacity(ref Color32 color, float opacity)

    ChartLabel

    class in XCharts.Runtime / 继承自: Image

    API版本描述
    GetHeight()public float GetHeight()
    GetPosition()public Vector3 GetPosition()
    GetTextHeight()public float GetTextHeight()
    GetTextWidth()public float GetTextWidth()
    GetWidth()public float GetWidth()
    IsActiveByScale()public bool IsActiveByScale()
    SetActive()public void SetActive(bool flag, bool force = false)
    SetIcon()public void SetIcon(Image image)
    SetIconActive()public void SetIconActive(bool flag)
    SetIconSize()public void SetIconSize(float width, float height)
    SetIconSprite()public void SetIconSprite(Sprite sprite)
    SetPadding()public void SetPadding(float[] padding)
    SetPosition()public void SetPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetRotate()public void SetRotate(float rotate)
    SetSize()public void SetSize(float width, float height)
    SetText()public bool SetText(string text)
    SetTextActive()public void SetTextActive(bool flag)
    SetTextColor()public void SetTextColor(Color color)
    SetTextPadding()public void SetTextPadding(TextPadding padding)
    SetTextRotate()public void SetTextRotate(float rotate)
    UpdateIcon()public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null, Color color = default(Color))

    ChartObject

    class in XCharts.Runtime

    API版本描述
    Destroy()public virtual void Destroy()

    ChartText

    class in XCharts.Runtime

    API版本描述
    ChartText()public ChartText()
    ChartText()public ChartText(GameObject textParent)
    GetColor()public Color GetColor()
    GetPreferredHeight()public float GetPreferredHeight()
    GetPreferredText()public string GetPreferredText(string content, string suffix, float maxWidth)
    GetPreferredWidth()public float GetPreferredWidth()
    GetPreferredWidth()public float GetPreferredWidth(string content)
    GetText()public string GetText()
    SetActive()public void SetActive(bool flag)
    SetAlignment()public void SetAlignment(TextAnchor alignment)
    SetColor()public void SetColor(Color color)
    SetFont()public void SetFont(Font font)
    SetFont()public void SetFont(TMP_FontAsset font)
    SetFontAndSizeAndStyle()public void SetFontAndSizeAndStyle(TextStyle textStyle, ComponentTheme theme)
    SetFontSize()public void SetFontSize(float fontSize)
    SetFontStyle()public void SetFontStyle(FontStyle fontStyle)
    SetLineSpacing()public void SetLineSpacing(float lineSpacing)
    SetLocalEulerAngles()public void SetLocalEulerAngles(Vector3 position)
    SetLocalPosition()public void SetLocalPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetSizeDelta()public void SetSizeDelta(Vector2 sizeDelta)
    SetText()public void SetText(string text)

    CheckHelper

    class in XCharts.Runtime

    API版本描述
    CheckChart()public static string CheckChart(BaseChart chart)
    CheckChart()public static string CheckChart(BaseGraph chart)

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle,AxisAnimation,AxisName,AxisSplitArea,AreaStyle,ArrowStyle,BaseLine,BorderStyle,IconStyle,ImageStyle,ItemStyle,Level,LevelStyle,LineArrow,LineStyle,Location,MLValue,MarqueeStyle,Padding,StageColor,SymbolStyle,TextLimit,TextStyle,CommentItem,CommentMarkStyle,LabelLine,LabelStyle,MarkAreaData,MarkLineData,StateStyle,VisualMapRange,ViewControl,UIComponentTheme,SerieData,SerieDataLink,ComponentTheme,SerieTheme,ThemeStyle

    API版本描述
    ClearComponentDirty()public static void ClearComponentDirty(ChildComponent component)
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public static void ClearVerticesDirty(ChildComponent component)
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    IsComponentDirty()public static bool IsComponentDirty(ChildComponent component)
    IsVertsDirty()public static bool IsVertsDirty(ChildComponent component)
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetVerticesDirty()public virtual void SetVerticesDirty()

    ColorUtil

    class in XCharts.Runtime

    API版本描述
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。

    Comment

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图表注解组件。

    API版本描述
    GetLabelStyle()public LabelStyle GetLabelStyle(int index)
    GetMarkStyle()public CommentMarkStyle GetMarkStyle(int index)
    OnChanged()public void OnChanged()
    参数变更时的回调处理。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    ComponentHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler, bool allowMultiple, int order = 3)
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler, int order = 3)

    ComponentHelper

    class in XCharts.Runtime

    API版本描述
    GetAngleAxis()public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)
    GetRadiusAxis()public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)
    GetXAxisOnZeroOffset()public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)
    GetYAxisOnZeroOffset()public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)
    IsAnyCategoryOfYAxis()public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme,DataZoomTheme,LegendTheme,SubTitleTheme,TitleTheme,TooltipTheme,VisualMapTheme

    API版本描述
    ComponentTheme()public ComponentTheme(ThemeType theme)
    Copy()public virtual void Copy(ComponentTheme theme)
    Reset()public virtual void Reset(ComponentTheme defaultTheme)

    CoordOptionsAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Contains<T>()public bool Contains<T>() where T : CoordSystem
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord,CalendarCoord,GridCoord,GridCoord3D,ParallelCoord,PolarCoord,SingleAxisCoord

    坐标系系统。

    DataHelper

    class in XCharts.Runtime

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    API版本描述
    GetBackgroundColor()public Color32 GetBackgroundColor(Color32 themeColor)
    GetBorderColor()public Color32 GetBorderColor(Color32 themeColor)
    GetFillerColor()public Color32 GetFillerColor(Color32 themeColor)
    IsContainsAxis()public bool IsContainsAxis(Axis axis)
    IsContainsXAxis()public bool IsContainsXAxis(int index)
    IsContainsYAxis()public bool IsContainsYAxis(int index)
    IsInEndZoom()public bool IsInEndZoom(Vector2 pos)
    给定的坐标是否在结束活动条触发区域内
    IsInMarqueeArea()public bool IsInMarqueeArea(SerieData serieData)
    IsInMarqueeArea()public bool IsInMarqueeArea(Vector2 pos)
    IsInSelectedZoom()public bool IsInSelectedZoom(int totalIndex, int index, bool invert)
    IsInSelectedZoom()public bool IsInSelectedZoom(Vector2 pos)
    给定的坐标是否在选中区域内
    IsInStartZoom()public bool IsInStartZoom(Vector2 pos)
    给定的坐标是否在开始活动条触发区域内
    IsInZoom()public bool IsInZoom(Vector2 pos)
    给定的坐标是否在缩放区域内
    SetDefaultValue()public override void SetDefaultValue()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    DataZoomContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    DataZoomHelper

    class in XCharts.Runtime

    API版本描述
    UpdateDataZoomRuntimeStartEndValue()public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)
    UpdateDataZoomRuntimeStartEndValue<T>()public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(DataZoomTheme theme)
    DataZoomTheme()public DataZoomTheme(ThemeType theme) : base(theme)

    DateTimeUtil

    class in XCharts.Runtime

    API版本描述
    GetDateTime()public static DateTime GetDateTime(double timestamp)
    GetDateTime()public static DateTime GetDateTime(int timestamp)
    GetDefaultDateTimeString()public static string GetDefaultDateTimeString(int timestamp, double range = 0)
    GetTimestamp()public static int GetTimestamp()
    GetTimestamp()public static int GetTimestamp(DateTime time)
    GetTimestamp()public static int GetTimestamp(string dateTime)

    DebugInfo

    class in XCharts.Runtime

    API版本描述
    Init()public void Init(BaseChart chart)
    Update()public void Update()

    DefaultAnimationAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler)
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler, bool enableSerieDataAddedAnimation)

    DefaultTooltipAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    DefaultTooltipAttribute()public DefaultTooltipAttribute(Tooltip.Type type, Tooltip.Trigger trigger)

    DefineSymbolsUtil

    class in XCharts.Runtime

    API版本描述
    AddGlobalDefine()public static void AddGlobalDefine(string symbol)
    RemoveGlobalDefine()public static void RemoveGlobalDefine(string symbol)

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    API版本描述
    EndLabelStyle()public EndLabelStyle()

    FormatterHelper

    class in XCharts.Runtime

    API版本描述
    NeedFormat()public static bool NeedFormat(string content)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string numericFormatter, double value)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string value)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(string content)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(StringBuilder sb)

    GraphData

    class in XCharts.Runtime

    数据结构-图。

    API版本描述
    AddEdge()public GraphEdge AddEdge(string nodeId1, string nodeId2, double value)
    AddNode()public GraphNode AddNode(string nodeId, string nodeName, int dataIndex, double value)
    BreadthFirstTraverse()public void BreadthFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
    Clear()public void Clear()
    DeepFirstTraverse()public void DeepFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
    EachNode()public void EachNode(System.Action<GraphNode> onEach)
    ExpandAllNodes()public void ExpandAllNodes(bool flag, int level = -1)
    ExpandNode()public void ExpandNode(string nodeId, bool flag)
    GetDepthNodes()public List<List<GraphNode>> GetDepthNodes()
    GetEdge()public GraphEdge GetEdge(string nodeId1, string nodeId2)
    GetExpandedNodesCount()public static int GetExpandedNodesCount(List<GraphNode> nodes)
    GetMaxDepth()public int GetMaxDepth()
    GetNode()public GraphNode GetNode(string nodeId)
    GetNodeDepth()// public int GetNodeDepth(GraphNode node)
    GetNodeDepth()// public void GetNodeDepth(GraphNode node, ref int depth, int recursiveCount = 0)
    GetNodeDepth()public int GetNodeDepth(GraphNode node, int recursiveCount = 0)
    GetNodesTotalValue()public static double GetNodesTotalValue(List<GraphNode> nodes)
    GetRootNodes()public List<GraphNode> GetRootNodes()
    GraphData()public GraphData(bool directed)
    IsAllNodeInZeroPosition()public bool IsAllNodeInZeroPosition()
    Refresh()public void Refresh()

    GraphEdge

    class in XCharts.Runtime

    图的边。

    API版本描述
    GraphEdge()public GraphEdge(GraphNode node1, GraphNode node2, double value)
    IsPointInEdge()public bool IsPointInEdge(Vector2 point)

    GraphNode

    class in XCharts.Runtime

    图的节点。

    API版本描述
    Expand()public void Expand(bool flag)
    GraphNode()public GraphNode(string id, string name, int dataIndex)
    IsAllInEdgesCollapsed()public bool IsAllInEdgesCollapsed()
    IsAnyInEdgesExpanded()public bool IsAnyInEdgesExpanded()
    ToString()public override string ToString()

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    BoundaryPoint()public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref List<Vector3> point)
    给定的线段和Grid边界的交点
    BoundaryPoint()public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref Vector3 point)
    给定的线段和Grid边界的交点
    Clamp()v3.7.0public void Clamp(ref Vector3 pos)
    将位置限制在网格内。
    ClampX()v3.7.0public void ClampX(ref Vector3 pos)
    将位置的X限制在网格内。
    ClampY()v3.7.0public void ClampY(ref Vector3 pos)
    将位置的Y限制在网格内。
    Contains()public bool Contains(float x, float y)
    给定的位置是否在网格内。
    Contains()public bool Contains(Vector3 pos)
    给定的位置是否在网格内。
    Contains()v3.7.0public bool Contains(Vector3 pos, bool isYAxis)
    给定的位置是否在网格内。
    ContainsX()v3.7.0public bool ContainsX(float x)
    给定的x是否在网格内。
    ContainsY()v3.7.0public bool ContainsY(float y)
    给定的y是否在网格内。
    IsPointerEnter()public bool IsPointerEnter()
    指针是否在网格内。
    NotAnyIntersect()v3.10.0public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
    判断给定的线段是否与Grid边界是否完全不会相交。
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridCoord3D

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    v3.11.0 开始支持

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    Clamp()public void Clamp(ref Vector3 pos)
    将位置限制在网格内。
    Contains()public bool Contains(Vector3 pos)
    给定的位置是否在网格内。
    IsLeft()public bool IsLeft()
    The opening of the coordinate system faces to the left. 坐标系开口朝向左边。
    IsPointerEnter()public bool IsPointerEnter()
    指针是否在网格内。
    NotAnyIntersect()public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
    判断给定的线段是否与Grid边界是否完全不会相交。
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridCoord3DContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    GridCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    API版本描述
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridLayoutContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Heatmap

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    HeatmapChart

    class in XCharts.Runtime / 继承自: BaseChart

    热力图主要通过颜色去表现数值的大小,必须要配合 visualMap 组件使用。 可以应用在直角坐标系以及地理坐标系上,这两个坐标系上的表现形式相差很大,直角坐标系上必须要使用两个类目轴。

    API版本描述
    DefaultCountHeatmapChart()public void DefaultCountHeatmapChart()
    默认计数热力图。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Clone()public IconStyle Clone()
    Copy()public void Copy(IconStyle iconStyle)
    Reset()public void Reset()

    IgnoreDoc

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    IgnoreDoc()public IgnoreDoc()

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    API版本描述
    Clone()public ImageStyle Clone()
    Copy()public void Copy(ImageStyle imageStyle)
    Reset()public void Reset()

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    API版本描述
    AddIndicator()public RadarCoord.Indicator AddIndicator(string name, double min, double max)
    AddIndicator()public void AddIndicator(RadarCoord.Indicator indicator)
    AddIndicatorList()v3.3.0public void AddIndicatorList(List<string> nameList, double min = 0, double max = 0)
    ClearData()public override void ClearData()
    GetFormatterIndicatorContent()public string GetFormatterIndicatorContent(int indicatorIndex)
    GetFormatterIndicatorContent()public string GetFormatterIndicatorContent(string indicatorName)
    GetIndicator()public RadarCoord.Indicator GetIndicator(int indicatorIndex)
    GetIndicatorMax()public double GetIndicatorMax(int index)
    GetIndicatorMin()public double GetIndicatorMin(int index)
    GetIndicatorName()public string GetIndicatorName(int indicatorIndex)
    GetIndicatorPosition()public Vector3 GetIndicatorPosition(int index)
    IsInIndicatorRange()public bool IsInIndicatorRange(int index, double value)
    IsInRange()public bool IsInRange(double value)
    IsPointerEnter()public bool IsPointerEnter()
    SetDefaultValue()public override void SetDefaultValue()
    UpdateIndicator()public bool UpdateIndicator(int indicatorIndex, string name, double min, double max)

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Radar,BaseScatter

    InputHelper

    class in XCharts.Runtime

    API版本描述
    GetKeyDown()public static bool GetKeyDown(KeyCode keyCode)
    GetTouch()public static Touch GetTouch(int v)

    InteractData

    class in XCharts.Runtime

    API版本描述
    Reset()public void Reset()
    SetColor()public void SetColor(ref bool needInteract, Color32 color)
    SetColor()public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)
    SetPosition()public void SetPosition(ref bool needInteract, Vector3 pos)
    SetValue()public void SetValue(ref bool needInteract, float value, bool highlight, float rate = 1.3f)
    SetValue()public void SetValue(ref bool needInteract, float value, bool previousValueZero = false)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)
    ToString()public override string ToString()
    TryGetColor()public bool TryGetColor(ref Color32 color, ref bool interacting, float animationDuration = 250)
    TryGetColor()public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetPosition()public bool TryGetPosition(ref Vector3 pos, ref bool interacting, float animationDuration = 250)
    TryGetValue()public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location,Comment,Legend,Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,LineArrow,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord,CalendarCoord,GridCoord,GridCoord3D,ParallelCoord,PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,ItemStyle,LineStyle,SerieSymbol,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar,SimplifiedCandlestick,SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    图形样式。

    API版本描述
    GetBorderColor()public Color32 GetBorderColor(Color32 defaultColor)
    GetBorderColor0()public Color32 GetBorderColor0(Color32 defaultColor)
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 defaultColor)
    GetColor0()public Color32 GetColor0()
    GetColor0()public Color32 GetColor0(Color32 defaultColor)
    GetGradientColor()public Color32 GetGradientColor(float value, Color32 defaultColor)
    GetToColor()public Color32 GetToColor()
    IsNeedCorner()public bool IsNeedCorner()
    IsNeedGradient()public bool IsNeedGradient()
    Reset()public void Reset()

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis,DataZoom,CalendarCoord,GridCoord,GridLayout,GridCoord3D,ParallelCoord

    JsonUtil

    class in XCharts.Runtime

    API版本描述
    GetJsonArray<T>()public static T[] GetJsonArray<T>(string json)
    GetJsonObject<T>()public static T GetJsonObject<T>(string json)
    GetWebJson<T>()public static IEnumerator GetWebJson<T>(string url, Action<T[]> callback)
    GetWebJson<T>()public static IEnumerator GetWebJson<T>(string url, Action<T> callback)

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    标签的引导线

    API版本描述
    GetEndSymbolOffset()public Vector3 GetEndSymbolOffset()
    GetStartSymbolOffset()public Vector3 GetStartSymbolOffset()
    Reset()public void Reset()

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent / 子类: AxisLabel,EndLabelStyle,TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    API版本描述
    Clone()public virtual LabelStyle Clone()
    Copy()public virtual void Copy(LabelStyle label)
    GetColor()public Color GetColor(Color defaultColor)
    GetFormatterContent()public virtual string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
    GetFormatterContent()public virtual string GetFormatterContent(int labelIndex, string category)
    GetFormatterDateTime()public string GetFormatterDateTime(int labelIndex, double value, double minValue, double maxValue)
    GetOffset()public Vector3 GetOffset(float radius)
    IsAutoSize()public bool IsAutoSize()
    IsDefaultPosition()public bool IsDefaultPosition(Position position)
    IsInside()public bool IsInside()
    是否在内部。
    Reset()public void Reset()

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    API版本描述
    GetCandlestickDimensionName()public string GetCandlestickDimensionName(int i)
    GetDay()public string GetDay(int day)
    GetMonthAbbr()public string GetMonthAbbr(int month)

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    API版本描述
    List<string>()public List<string> dayOfMonth = new List<string>()
    List<string>()public List<string> dayOfWeek = new List<string>()
    List<string>()public List<string> dayOfWeekAbbr = new List<string>()
    List<string>()public List<string> monthAbbr = new List<string>()
    List<string>()public List<string> months = new List<string>()

    LayerHelper

    class in XCharts.Runtime

    API版本描述
    IsFixedWidthHeight()public static bool IsFixedWidthHeight(RectTransform rt)
    IsStretchPivot()public static bool IsStretchPivot(RectTransform rt)

    Legend

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    API版本描述
    AddData()public void AddData(string name)
    添加图例。
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空。
    ContainsData()public bool ContainsData(string name)
    是否包括由指定名字的图例
    GetColor()public Color GetColor(int index)
    GetData()public string GetData(int index)
    获得指定索引的图例。
    GetIcon()public Sprite GetIcon(int index)
    获得指定索引的图例按钮。
    GetIndex()public int GetIndex(string legendName)
    获得指定图例的索引。
    GetPosition()public Vector3 GetPosition(int index, Vector3 defaultPos)
    OnChanged()public void OnChanged()
    参数变更时的回调处理。
    RemoveButton()public void RemoveButton()
    移除所有图例按钮。
    RemoveData()public void RemoveData(string name)
    移除指定名字的图例。
    SetButton()public void SetButton(string name, LegendItem item, int total)
    给图例绑定按钮。
    UpdateButtonColor()public void UpdateButtonColor(string name, Color color)
    更新图例按钮颜色。
    UpdateContentColor()public void UpdateContentColor(string name, Color color)
    更新图例文字颜色。

    LegendContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    LegendHelper

    class in XCharts.Runtime

    API版本描述
    CheckDataHighlighted()public static int CheckDataHighlighted(Serie serie, string legendName, bool heighlight)
    CheckDataShow()public static bool CheckDataShow(Serie serie, string legendName, bool show)
    GetContentColor()public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)
    GetIconColor()public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)
    ResetItemPosition()public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)
    SetLegendBackground()public static void SetLegendBackground(Legend legend, ImageStyle style)

    LegendItem

    class in XCharts.Runtime

    API版本描述
    GetIconColor()public Color GetIconColor()
    GetIconRect()public Rect GetIconRect()
    SetActive()public void SetActive(bool active)
    SetBackground()public void SetBackground(ImageStyle imageStyle)
    SetButton()public void SetButton(Button button)
    SetContent()public bool SetContent(string content)
    SetContentBackgroundColor()public void SetContentBackgroundColor(Color color)
    SetContentColor()public void SetContentColor(Color color)
    SetContentPosition()public void SetContentPosition(Vector3 offset)
    SetIcon()public void SetIcon(Image icon)
    SetIconActive()public void SetIconActive(bool active)
    SetIconColor()public void SetIconColor(Color color)
    SetIconImage()public void SetIconImage(Sprite image)
    SetIconSize()public void SetIconSize(float width, float height)
    SetObject()public void SetObject(GameObject obj)
    SetPosition()public void SetPosition(Vector3 position)
    SetText()public void SetText(ChartText text)
    SetTextBackground()public void SetTextBackground(Image image)

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(LegendTheme theme)
    LegendTheme()public LegendTheme(ThemeType theme) : base(theme)

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    Line

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Line ConvertSerie(Serie serie)

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent

    LineChart

    class in XCharts.Runtime / 继承自: BaseChart

    折线图是用折线将各个数据点标志连接起来的图表,用于展现数据的变化趋势。可用于直角坐标系和极坐标系上。 设置 areaStyle 后可以绘制面积图。

    API版本描述
    DefaultAreaLineChart()public void DefaultAreaLineChart()
    默认面积折线图。
    DefaultDashLineChart()public void DefaultDashLineChart()
    默认虚线折线图。
    DefaultLogLineChart()public void DefaultLogLineChart()
    默认对数轴折线图。
    DefaultSmoothAreaLineChart()public void DefaultSmoothAreaLineChart()
    默认平滑面积折线图。
    DefaultSmoothLineChart()public void DefaultSmoothLineChart()
    默认平滑折线图。
    DefaultStackAreaLineChart()public void DefaultStackAreaLineChart()
    默认堆叠面积折线图。
    DefaultStackLineChart()public void DefaultStackLineChart()
    默认堆叠折线图。
    DefaultStepLineChart()public void DefaultStepLineChart()
    默认阶梯折线图。
    DefaultTimeLineChart()public void DefaultTimeLineChart()
    默认时间折线图。

    LineHelper

    class in XCharts.Runtime

    API版本描述
    GetDataAverageRate()public static int GetDataAverageRate(Serie serie, float axisLength, int maxCount, bool isYAxis)
    GetLineWidth()public static float GetLineWidth(ref bool interacting, Serie serie, float defaultWidth)

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    API版本描述
    Clone()public LineStyle Clone()
    Copy()public void Copy(LineStyle lineStyle)
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 themeColor)
    GetGradientColor()public Color32 GetGradientColor(float value, Color32 defaultColor)
    GetLength()public float GetLength(float themeLength)
    GetType()public Type GetType(Type themeType)
    GetWidth()public float GetWidth(float themeWidth)
    IsNeedGradient()public bool IsNeedGradient()
    IsNotSolidLine()public bool IsNotSolidLine()
    LineStyle()public LineStyle()
    LineStyle()public LineStyle(float width)
    LineStyle()public LineStyle(LineStyle.Type type)
    LineStyle()public LineStyle(LineStyle.Type type, float width)

    ListFor

    class in XCharts.Runtime / 继承自: Attribute / 子类: ListForComponent,ListForSerie

    API版本描述
    ListFor()public ListFor(Type type)

    ListForComponent

    class in XCharts.Runtime / 继承自: ListFor

    API版本描述
    ListForComponent()public ListForComponent(Type type) : base(type)

    ListForSerie

    class in XCharts.Runtime / 继承自: ListFor

    API版本描述
    ListForSerie()public ListForSerie(Type type) : base(type)

    ListPool<T>

    class in XCharts.Runtime

    API版本描述
    ClearAll()public static void ClearAll()
    Get()public static List<T> Get()
    Release()public static void Release(List<T> toRelease)

    Location

    class in XCharts.Runtime / 继承自: ChildComponent,IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    API版本描述
    GetPosition()public Vector3 GetPosition(float chartWidth, float chartHeight)
    返回在坐标系中的具体位置
    IsBottom()public bool IsBottom()
    IsCenter()public bool IsCenter()
    IsTop()public bool IsTop()
    OnChanged()public void OnChanged()
    属性变更时更新textAnchor,minAnchor,maxAnchor,pivot
    UpdateRuntimeData()public void UpdateRuntimeData(float chartWidth, float chartHeight)

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis,Background,Comment,DataZoom,Legend,MarkArea,MarkLine,Settings,Title,Tooltip,VisualMap,GridLayout,CoordSystem

    API版本描述
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearData()public virtual void ClearData() { }
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    CompareTo()public int CompareTo(object obj)
    OnRemove()public virtual void OnRemove()
    Reset()public virtual void Reset() { }
    ResetStatus()public virtual void ResetStatus() { }
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetDefaultValue()public virtual void SetDefaultValue() { }
    SetVerticesDirty()public virtual void SetVerticesDirty()

    MainComponentContext

    class in XCharts.Runtime / 子类: AxisContext,DataZoomContext,LegendContext,RadarCoordContext,VisualMapContext,GridCoordContext,GridLayoutContext,GridCoord3DContext,ParallelCoordContext,PolarCoordContext

    MainComponentHandler

    class in XCharts.Runtime / 子类: AxisHandler<T>,MainComponentHandler<T>

    API版本描述
    BeforceSerieUpdate()public virtual void BeforceSerieUpdate() { }
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    OnSerieDataUpdate()public virtual void OnSerieDataUpdate(int serieIndex) { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }

    MainComponentHandler<T>

    class in XCharts.Runtime / 继承自: MainComponentHandler

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    API版本描述
    onEndpublic Action<DataZoom> onEnd
    自定义选取框结束选取时的回调。
    onGoingpublic Action<DataZoom> onGoing
    自定义选取框选取进行时的回调。
    onStartpublic Action<DataZoom> onStart
    自定义选取框开始选取时的回调。

    MathUtil

    class in XCharts.Runtime

    API版本描述
    Abs()public static double Abs(double d)
    Approximately()public static bool Approximately(double a, double b)
    Clamp()public static double Clamp(double d, double min, double max)
    Clamp01()public static double Clamp01(double value)
    GetPrecision()public static int GetPrecision(double value)
    IsInteger()public static bool IsInteger(double value)
    Lerp()public static double Lerp(double a, double b, double t)

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    API版本描述
    GetValue()public float GetValue(float total)
    根据类型获取值。
    MLValue()public MLValue(float value)
    MLValue()public MLValue(Type type, float value)

    MonoBehaviour

    class in / 子类: XLog

    ObjectPool<T> where T

    class in XCharts.Runtime / 继承自: new()

    API版本描述
    ClearAll()public void ClearAll()
    Get()public T Get()
    new()public class ObjectPool<T> where T : new()
    ObjectPool()public ObjectPool(UnityAction<T> actionOnGet, UnityAction<T> actionOnRelease, bool newIfEmpty = true)
    Release()public void Release(T element)

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    API版本描述
    Padding()public Padding() { }
    Padding()public Padding(float top, float right, float bottom, float left)
    SetPadding()public void SetPadding(float top, float right, float bottom, float left)

    Painter

    class in XCharts.Runtime / 继承自: MaskableGraphic

    API版本描述
    onPopulateMeshpublic Action<VertexHelper, Painter> onPopulateMesh
    CheckRefresh()public void CheckRefresh()
    Init()public void Init()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag, bool isDebugMode = false)

    Parallel

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    ParallelChart

    class in XCharts.Runtime / 继承自: BaseChart

    平行坐标系,通过绘制垂直于坐标轴的平行线来显示数据的一种可视化图表。

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    Contains()public bool Contains(float x, float y)
    Contains()public bool Contains(Vector3 pos)
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    ParallelCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Pie

    class in XCharts.Runtime / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Pie ConvertSerie(Serie serie)

    PieChart

    class in XCharts.Runtime / 继承自: BaseChart

    饼图主要用于显示不同类目占比的情况,通过弧长来反映数据的大小占比。

    API版本描述
    DefaultAreaRosePieChart()public void DefaultAreaRosePieChart()
    默认面积玫瑰饼图。
    DefaultDonutPieChart()public void DefaultDonutPieChart()
    默认甜甜圈饼图。
    DefaultLabelDonutPieChart()public void DefaultLabelDonutPieChart()
    默认带标签甜甜圈饼图。
    DefaultLabelPieChart()public void DefaultLabelPieChart()
    默认带标签饼图。
    DefaultRadiusRosePieChart()public void DefaultRadiusRosePieChart()
    默认玫瑰饼图。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    PolarAxisTheme()public PolarAxisTheme(ThemeType theme) : base(theme) { }

    PolarChart

    class in XCharts.Runtime / 继承自: BaseChart

    极坐标系,可以用于散点图和折线图。

    API版本描述
    DefaultHeatmapPolarChart()public void DefaultHeatmapPolarChart()
    默认极坐标色块图。
    DefaultRadialBarPolarChart()public void DefaultRadialBarPolarChart()
    默认径向柱状极坐标图。
    DefaultTangentialBarPolarChart()public void DefaultTangentialBarPolarChart()
    默认切向柱状极坐标图。

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    API版本描述
    Contains()public bool Contains(Vector3 pos)
    IsPointerEnter()public bool IsPointerEnter()

    PolarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    PropertyUtil

    class in XCharts.Runtime

    API版本描述
    SetClass<T>()public static bool SetClass<T>(ref T currentValue, T newValue, bool notNull = false) where T : class
    SetColor()public static bool SetColor(ref Color currentValue, Color newValue)
    SetColor()public static bool SetColor(ref Color32 currentValue, Color32 newValue)
    SetStruct<T>()public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct

    Radar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    RadarAxisTheme()public RadarAxisTheme(ThemeType theme) : base(theme)

    RadarChart

    class in XCharts.Runtime / 继承自: BaseChart

    雷达图主要用于显示多变量的数据,例如足球运动员的各项属性分析。依赖雷达组件。

    API版本描述
    DefaultCircleRadarChart()public void DefaultCircleRadarChart()
    默认圆形雷达图。

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    RadiusAxisTheme()public RadiusAxisTheme(ThemeType theme) : base(theme) { }

    ReflectionUtil

    class in XCharts.Runtime

    API版本描述
    DeepCloneSerializeField()public static object DeepCloneSerializeField(object obj)
    InvokeListAdd()public static void InvokeListAdd(object obj, FieldInfo field, object item)
    InvokeListAddTo<T>()public static void InvokeListAddTo<T>(object obj, FieldInfo field, Action<T> callback)
    InvokeListClear()public static void InvokeListClear(object obj, FieldInfo field)
    InvokeListCount()public static int InvokeListCount(object obj, FieldInfo field)
    InvokeListGet<T>()public static T InvokeListGet<T>(object obj, FieldInfo field, int i)

    RequireChartComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)

    Ring

    class in XCharts.Runtime / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    GetDataTotal()public override double GetDataTotal(int dimension, SerieData serieData = null)

    RingChart

    class in XCharts.Runtime / 继承自: BaseChart

    环形图主要用于显示每一项的比例以及各项之间的关系。

    API版本描述
    DefaultMultipleRingChart()public void DefaultMultipleRingChart()
    默认多圆环图。

    RuntimeUtil

    class in XCharts.Runtime

    API版本描述
    GetAllAssemblyTypes()public static IEnumerable<Type> GetAllAssemblyTypes()
    GetAllTypesDerivedFrom()public static IEnumerable<Type> GetAllTypesDerivedFrom(Type type)
    GetAllTypesDerivedFrom<T>()public static IEnumerable<Type> GetAllTypesDerivedFrom<T>()
    GetAttribute<T>()public static T GetAttribute<T>(this MemberInfo type, bool check = true) where T : Attribute
    GetAttribute<T>()public static T GetAttribute<T>(this Type type, bool check = true) where T : Attribute
    HasSubclass()public static bool HasSubclass(Type type)

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ScatterChart

    class in XCharts.Runtime / 继承自: BaseChart

    散点图主要用于展现两个数据维度之间的关系。

    API版本描述
    DefaultBubbleChart()public void DefaultBubbleChart()
    默认气泡图。

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie,IComparable / 子类: SerieHandler<T>,Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Pie,Radar,Ring,BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    API版本描述
    onClickpublic Action<SerieEventData> onClick
    点击系列时的回调。
    onDownpublic Action<SerieEventData> onDown
    鼠标按下时的回调。
    onEnterpublic Action<SerieEventData> onEnter
    鼠标进入时的回调。
    onExitpublic Action<SerieEventData> onExit
    鼠标离开时的回调。
    AddChildData()public SerieData AddChildData(SerieData parent, double value, string name, string id)
    AddChildData()public SerieData AddChildData(SerieData parent, List<double> value, string name, string id)
    AddChildData()public void AddChildData(SerieData parent, SerieData serieData)
    AddData()public SerieData AddData(double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    添加 (open, close, lowest, heighest) 数据
    AddData()public SerieData AddData(List<double> valueList, string dataName = null, string dataId = null)
    将一组数据添加到系列中。 如果数据只有一个,默认添加到维度Y中。
    AddData()public SerieData AddData(params double[] values)
    添加任意维数据到系列中。
    AddExtraComponent<T>()public T AddExtraComponent<T>() where T : ChildComponent, ISerieComponent
    AddLink()public virtual SerieDataLink AddLink(string sourceId, string targetId, double value = 0)
    添加一个关系图的关系数据。
    AddSerieData()public virtual void AddSerieData(SerieData serieData)
    AddXYData()public SerieData AddXYData(double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到维度X和维度Y
    AddYData()public SerieData AddYData(double value, string dataName = null, string dataId = null)
    添加一个数据到维度Y(此时维度X对应的数据是索引)
    AnimationEnable()public void AnimationEnable(bool flag)
    启用或取消初始动画
    AnimationFadeIn()public void AnimationFadeIn()
    渐入动画
    AnimationFadeOut()public void AnimationFadeOut()
    渐出动画
    AnimationPause()public void AnimationPause()
    暂停动画
    AnimationReset()public void AnimationReset()
    重置动画
    AnimationRestart()public void AnimationRestart()
    重置动画
    AnimationResume()public void AnimationResume()
    继续动画
    CanAddComponent()public bool CanAddComponent(Type type)
    CanAddComponent<T>()public bool CanAddComponent<T>() where T : ChildComponent, ISerieComponent
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空所有数据
    ClearDirty()public override void ClearDirty()
    ClearHighlight()public void ClearHighlight()
    清除所有数据的高亮标志
    ClearLinks()public void ClearLinks()
    清空所有Link数据
    ClearSerieNameDirty()public void ClearSerieNameDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public Serie Clone()
    Clone<T>()public T Clone<T>() where T : Serie
    CompareTo()public int CompareTo(object obj)
    EnsureComponent()public ISerieComponent EnsureComponent(Type type)
    EnsureComponent<T>()public T EnsureComponent<T>() where T : ChildComponent, ISerieComponent
    确保系列有该组件。如果没有,则添加。
    GetBarWidth()public float GetBarWidth(float categoryWidth, int barCount = 0, float defaultRate = 0.6f)
    GetComponent()public ISerieComponent GetComponent(Type type)
    GetComponent<T>()public T GetComponent<T>() where T : ChildComponent, ISerieComponent
    GetData()public double GetData(int index, int dimension, DataZoom dataZoom = null)
    获得指定index指定维数的数据
    GetDataList()public List<SerieData> GetDataList(DataZoom dataZoom = null)
    获得系列的数据列表
    GetDataTotal()public virtual double GetDataTotal(int dimension, SerieData serieData = null)
    GetSerieData()public SerieData GetSerieData(int index, DataZoom dataZoom = null)
    获得指定索引的数据项
    GetSerieData()public SerieData GetSerieData(SerieData parent, string id)
    GetSerieData()public SerieData GetSerieData(string id, DataZoom dataZoom = null)
    GetXYData()public void GetXYData(int index, DataZoom dataZoom, out double xValue, out double yVlaue)
    获得指定索引的维度X和维度Y的数据
    GetYCurrData()public double GetYCurrData(int index, DataZoom dataZoom = null)
    GetYData()public double GetYData(int index, DataZoom dataZoom = null)
    获得维度Y索引对应的数据
    GetYData()public void GetYData(int index, out double yData, out string dataName, DataZoom dataZoom = null)
    获得维度Y索引对应的数据和数据名
    IsIgnoreIndex()public bool IsIgnoreIndex(int index, int dimension = 1)
    IsIgnorePoint()public bool IsIgnorePoint(int index)
    IsIgnoreValue()public bool IsIgnoreValue(double value)
    IsIgnoreValue()public bool IsIgnoreValue(SerieData serieData, double value)
    IsIgnoreValue()public bool IsIgnoreValue(SerieData serieData, int dimension = 1)
    IsLegendName()public bool IsLegendName(string legendName)
    IsMinShowLabelValue()public bool IsMinShowLabelValue(double value)
    IsMinShowLabelValue()public bool IsMinShowLabelValue(int index, int dimension = 1)
    IsMinShowLabelValue()public bool IsMinShowLabelValue(SerieData serieData, int dimension = 1)
    IsPerformanceMode()public bool IsPerformanceMode()
    是否为性能模式。性能模式下不绘制Symbol,不刷新Label,不单独设置数据项配置。
    IsSerie<T>()public bool IsSerie<T>() where T : Serie
    IsSerieDataLegendName()public bool IsSerieDataLegendName(string legendName)
    IsSerieLegendName()public bool IsSerieLegendName(string legendName)
    IsUseCoord<T>()public bool IsUseCoord<T>() where T : CoordSystem
    RemoveAllComponents()public void RemoveAllComponents()
    移除所有额外组件。
    RemoveComponent()public void RemoveComponent(Type type)
    RemoveComponent<T>()public void RemoveComponent<T>() where T : ISerieComponent
    RemoveData()public void RemoveData(int index)
    移除指定索引的数据
    ResetDataIndex()public bool ResetDataIndex()
    重置数据项索引。避免部分数据项的索引异常。
    ResetInteract()public void ResetInteract()
    SetAllDirty()public override void SetAllDirty()
    SetCoord<T>()public bool SetCoord<T>() where T : CoordSystem
    SetHighlight()public void SetHighlight(int index, bool flag)
    设置指定索引的数据为高亮状态
    SetVerticesDirty()public override void SetVerticesDirty()
    UpdateData()public bool UpdateData(int index, int dimension, double value)
    更新指定索引指定维数的数据
    UpdateData()public bool UpdateData(int index, List<double> values)
    更新指定索引的数据项数据列表
    UpdateDataName()public bool UpdateDataName(int index, string name)
    UpdateXYData()public bool UpdateXYData(int index, double xValue, double yValue)
    更新指定索引的维度X和维度Y的数据
    UpdateYData()public bool UpdateYData(int index, double value)
    更新指定索引的维度Y数据

    SerieComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到Serie的组件。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieComponentAttribute()public SerieComponentAttribute()
    SerieComponentAttribute()public SerieComponentAttribute(Type type1)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieContext

    class in XCharts.Runtime

    SerieConvertAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可转化为哪些Serie类型。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : Serie
    SerieConvertAttribute()public SerieConvertAttribute(Type serie)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    EnsureComponent()v3.6.0public ISerieDataComponent EnsureComponent(Type type)
    确保数据项有指定类型的组件,如果没有则添加。
    EnsureComponent<T>()v3.6.0public T EnsureComponent<T>() where T : ChildComponent, ISerieDataComponent
    确保数据项有指定类型的组件,如果没有则添加。
    GetAddAnimationData()public double GetAddAnimationData(double min, double max, float animationDuration = 500f, bool unscaledTime = false)
    GetComponent<T>()public T GetComponent<T>() where T : ChildComponent, ISerieDataComponent
    获取数据项的指定类型的组件,如果不存在则返回null。
    GetCurrData()public double GetCurrData(int index, AnimationStyle animation, bool inverse = false, bool loop = false)
    GetCurrData()public double GetCurrData(int index, AnimationStyle animation, bool inverse, double min, double max, bool loop = false)
    GetCurrData()public double GetCurrData(int index, float dataAddDuration = 500f, float animationDuration = 500f, bool unscaledTime = false, bool inverse = false)
    GetCurrData()public double GetCurrData(int index, float dataAddDuration, float animationDuration, bool inverse, double min, double max, bool unscaledTime, bool loop = false)
    GetData()public double GetData(int index, bool inverse = false)
    GetData()public double GetData(int index, double min, double max)
    GetFirstData()public double GetFirstData(bool unscaledTime, float animationDuration = 500f)
    GetLabelHeight()public float GetLabelHeight()
    GetLabelWidth()public float GetLabelWidth()
    GetLastData()public double GetLastData()
    GetMaxData()public double GetMaxData(bool inverse = false)
    最大值。
    GetMinData()public double GetMinData(bool inverse = false)
    最小值。
    GetMinMaxData()public void GetMinMaxData(int startDimensionIndex, bool inverse, out double min, out double max)
    GetOrAddComponent<T>()public T GetOrAddComponent<T>() where T : ChildComponent, ISerieDataComponent
    GetPreviousData()public double GetPreviousData(int index, bool inverse = false)
    GetTotalData()public double GetTotalData()
    IsDataChanged()public bool IsDataChanged()
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    List<string>()public static List<string> extraFieldList = new List<string>()
    系列中的一个数据项。可存储数据名和1-n维个数据。
    OnAdd()public void OnAdd(AnimationStyle animation, double startValue = 0)
    RemoveAllComponent()public void RemoveAllComponent()
    RemoveComponent()public void RemoveComponent(Type type)
    RemoveComponent<T>()public void RemoveComponent<T>() where T : ISerieDataComponent
    Reset()public void Reset()
    SetIconActive()public void SetIconActive(bool flag)
    SetLabelActive()public void SetLabelActive(bool flag)
    SetPolygon()public void SetPolygon(params Vector2[] points)
    SetPolygon()public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)
    SetPolygon()public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5)
    UpdateData()public bool UpdateData(int dimension, double value)
    UpdateData()public bool UpdateData(int dimension, double value, bool updateAnimation, bool unscaledTime, float animationDuration = 500f)

    SerieDataComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到SerieData的组件。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieDataComponentAttribute()public SerieDataComponentAttribute()
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieDataContext

    class in XCharts.Runtime

    API版本描述
    Reset()public void Reset()

    SerieDataExtraFieldAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Contains()public bool Contains(string field)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute()
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7)

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    数据节点之间的连线。可用于桑基图等,桑基图只支持有向无环图,请保证数据的连线是有向无环图。

    SerieEventData

    class in XCharts.Runtime

    serie事件的数据。

    API版本描述
    Reset()public void Reset()

    SerieEventDataPool

    class in XCharts.Runtime

    API版本描述
    Get()public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)
    Release()public static void Release(SerieEventData toRelease)

    SerieHandler

    class in XCharts.Runtime

    API版本描述
    AfterUpdate()public virtual void AfterUpdate() { }
    BeforeUpdate()public virtual void BeforeUpdate() { }
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawSerie()public virtual void DrawSerie(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    ForceUpdateSerieContext()public virtual void ForceUpdateSerieContext() { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDataUpdate()public virtual void OnDataUpdate() { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName) { }
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    RefreshLabelInternal()public virtual void RefreshLabelInternal() { }
    RefreshLabelNextFrame()public virtual void RefreshLabelNextFrame() { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }
    UpdateSerieContext()public virtual void UpdateSerieContext() { }

    SerieHandler where T

    class in / 子类: SerieHandler<T>

    SerieHandler<T>

    class in XCharts.Runtime / 继承自: [SerieHandler where T](#seriehandler where t),Serie

    API版本描述
    AfterUpdate()public override void AfterUpdate()
    BeforeUpdate()public override void BeforeUpdate()
    DrawLabelLineSymbol()public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)
    ForceUpdateSerieContext()public override void ForceUpdateSerieContext()
    GetPointerItemDataDimension()public override int GetPointerItemDataDimension()
    GetPointerItemDataIndex()public override int GetPointerItemDataIndex()
    GetSerieDataAutoColor()public virtual Color GetSerieDataAutoColor(SerieData serieData)
    GetSerieDataLabelOffset()public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)
    GetSerieDataLabelPosition()public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)
    GetSerieDataTitlePosition()public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)
    InitComponent()public override void InitComponent()
    OnLegendButtonClick()public override void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public override void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public override void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    RefreshEndLabelInternal()public virtual void RefreshEndLabelInternal()
    RefreshLabelInternal()public override void RefreshLabelInternal()
    RefreshLabelNextFrame()public override void RefreshLabelNextFrame()
    RemoveComponent()public override void RemoveComponent()
    Update()public override void Update()

    SerieHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler)
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler, bool allowMultiple)

    SerieHelper

    class in XCharts.Runtime

    API版本描述
    CloneSerie<T>()public static T CloneSerie<T>(Serie serie) where T : Serie
    CopySerie()public static void CopySerie(Serie oldSerie, Serie newSerie)
    GetAllMinMaxData()public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)
    GetAreaStyle()public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)
    GetAverageData()public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetBlurStyle()public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)
    GetEmphasisStyle()public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData)
    GetItemColor()public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true)
    GetItemFormatter()public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetItemMarker()public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null)
    GetItemStyle()public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetLineColor()public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto)
    GetLineStyle()public static LineStyle GetLineStyle(Serie serie, SerieData serieData)
    GetMaxData()public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMaxSerieData()public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMedianData()public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinData()public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinMaxData()public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)
    获得系列所有数据的最大最小值。
    GetMinSerieData()public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetNumericFormatter()public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetSelectStyle()public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)
    GetSerieLabel()public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieLabelLine()public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieState()public static SerieState GetSerieState(Serie serie)
    GetSerieState()public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)
    GetSerieState()public static SerieState GetSerieState(SerieData serieData)
    GetSerieSymbol()public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetStateStyle()public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)
    GetSysmbolSize()public static float GetSysmbolSize(Serie serie, SerieData serieData, float defaultSize, SerieState state = SerieState.Auto, bool checkAnimation = false)
    GetTitleStyle()public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)
    IsAllZeroValue()public static bool IsAllZeroValue(Serie serie, int dimension = 1)
    系列指定维数的数据是否全部为0。
    IsDownPoint()public static bool IsDownPoint(Serie serie, int index)
    UpdateCenter()public static void UpdateCenter(Serie serie, BaseChart chart)
    更新运行时中心点和半径
    UpdateFilterData()public static void UpdateFilterData(Serie serie, DataZoom dataZoom)
    根据dataZoom更新数据列表缓存
    UpdateMinMaxData()public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)
    获得指定维数的最大最小值
    UpdateRect()public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
    UpdateSerieRuntimeFilterData()public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)

    SerieLabelHelper

    class in XCharts.Runtime

    API版本描述
    CanShowLabel()public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)
    GetLabelColor()public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)
    SetGaugeLabelText()public static void SetGaugeLabelText(Serie serie)

    SerieLabelPool

    class in XCharts.Runtime

    API版本描述
    ClearAll()public static void ClearAll()
    Release()public static void Release(GameObject element)
    ReleaseAll()public static void ReleaseAll(Transform parent)

    SerieParams

    class in XCharts.Runtime

    SeriesHelper

    class in XCharts.Runtime

    API版本描述
    GetLastStackSerie()public static Serie GetLastStackSerie(List<Serie> series, Serie serie)
    获得上一个同堆叠且显示的serie。
    GetLegalSerieNameList()public static List<string> GetLegalSerieNameList(List<Serie> series)
    GetMaxSerieDataCount()public static int GetMaxSerieDataCount(List<Serie> series)
    GetMinAnimationDuration()public static float GetMinAnimationDuration(List<Serie> series)
    GetNameColor()public static Color GetNameColor(BaseChart chart, int index, string name)
    GetStackSeries()public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)
    获得堆叠系列列表
    IsAnyClipSerie()public static bool IsAnyClipSerie(List<Serie> series)
    是否有需裁剪的serie。
    IsLegalLegendName()public static bool IsLegalLegendName(string name)
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series) where T : Serie
    是否时百分比堆叠
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series, string stackName) where T : Serie
    是否时百分比堆叠
    IsStack()public static bool IsStack(List<Serie> series)
    是否由数据堆叠
    IsStack<T>()public static bool IsStack<T>(List<Serie> series, string stackName) where T : Serie
    是否堆叠
    UpdateSerieNameList()public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)
    获得所有系列名,不包含空名字。
    UpdateStackDataList()public static void UpdateStackDataList(List<Serie> series, Serie currSerie, DataZoom dataZoom, List<List<SerieData>> dataList)

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle,ISerieDataComponent

    系列数据项的标记的图形

    API版本描述
    GetSize()public float GetSize(List<double> data, float themeSize)
    根据指定的sizeType获得标记的大小
    Reset()public override void Reset()
    ShowSymbol()public bool ShowSymbol(int dataIndex, int dataCount)

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Copy()public void Copy(SerieTheme theme)
    SerieTheme()public SerieTheme(ThemeType theme)

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    API版本描述
    Copy()public void Copy(Settings settings)
    Reset()public override void Reset()

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedBar ConvertSerie(Serie serie)

    SimplifiedBarChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化柱状图是柱状图的简化模式,通过简化组件和配置,拥有更好的性能。

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedCandlestick ConvertSerie(Serie serie)

    SimplifiedCandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化K线图是K线图的简化模式,通过简化组件和配置,拥有更好的性能。

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedLine ConvertSerie(Serie serie)

    SimplifiedLineChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化折线图是折线图的简化模式,通过简化组件和配置,拥有更好的性能。

    Since

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Since()public Since(string version)

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis,IUpdateRuntimeData

    单轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    StageColor()public StageColor(float percent, Color32 color)

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle,EmphasisStyle,SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Reset()public void Reset()

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    SubTitleTheme()public SubTitleTheme(ThemeType theme) : base(theme)

    SVG

    class in XUGL

    API版本描述
    DrawPath()public static void DrawPath(VertexHelper vh, string path)
    DrawPath()public static void DrawPath(VertexHelper vh, SVGPath path)
    Test()public static void Test(VertexHelper vh)

    SVGPath

    class in XUGL

    API版本描述
    AddSegment()public void AddSegment(SVGPathSeg seg)
    Draw()public void Draw(VertexHelper vh)
    Parse()public static SVGPath Parse(string path)

    SVGPathSeg

    class in XUGL

    API版本描述
    SVGPathSeg()public SVGPathSeg(SVGPathSegType type)

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    API版本描述
    GetColor()public Color32 GetColor(Color32 defaultColor)
    Reset()public virtual void Reset()

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    API版本描述
    Clone()public TextLimit Clone()
    Copy()public void Copy(TextLimit textLimit)
    GetLimitContent()public string GetLimitContent(string content)
    SetRelatedText()public void SetRelatedText(ChartText txt, float labelWidth)

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    API版本描述
    TextPadding()public TextPadding() { }
    TextPadding()public TextPadding(float top, float right, float bottom, float left)

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    API版本描述
    Copy()public void Copy(TextStyle textStyle)
    GetAlignment()public TextAnchor GetAlignment(TextAnchor defaultAlignment)
    GetColor()public Color GetColor(Color defaultColor)
    GetFontSize()public int GetFontSize(ComponentTheme defaultTheme)
    TextStyle()public TextStyle() { }
    TextStyle()public TextStyle(int fontSize)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle, Color color)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle, Color color, int rorate)
    UpdateAlignmentByLocation()public void UpdateAlignmentByLocation(Location location)

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    API版本描述
    CheckWarning()public void CheckWarning(StringBuilder sb)
    CloneTheme()public Theme CloneTheme()
    克隆主题。
    CopyTheme()public bool CopyTheme(ThemeType theme)
    CopyTheme()public void CopyTheme(Theme theme)
    复制主题的所有配置。
    GetColor()public Color32 GetColor(int index)
    获得调色盘对应系列索引的颜色值。
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。
    GetColorStr()public string GetColorStr(int index)
    获得指定索引的十六进制颜色值字符串。
    GetHashCode()public override int GetHashCode()
    ResetTheme()public bool ResetTheme()
    重置,清除所有自定义配置。
    ResetToDarkTheme()public static void ResetToDarkTheme(Theme theme)
    暗主题。
    ResetToDefaultTheme()public static void ResetToDefaultTheme(Theme theme)
    默认主题。
    SetColorPalette()public void SetColorPalette(List<string> hexColorStringList)
    SetDefaultFont()public void SetDefaultFont()
    SyncFontToSubComponent()public void SyncFontToSubComponent()
    SyncTMPFontToSubComponent()public void SyncTMPFontToSubComponent()

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    API版本描述
    CheckWarning()public void CheckWarning(StringBuilder sb)
    GetBackgroundColor()public Color32 GetBackgroundColor(Background background)
    GetColor()public Color32 GetColor(int index)
    获得调色盘对应系列索引的颜色值。
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。
    GetColorStr()public string GetColorStr(int index)
    获得指定索引的十六进制颜色值字符串。
    SyncSharedThemeColorToCustom()public void SyncSharedThemeColorToCustom()

    Title

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    标题组件,包含主标题和副标题。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    OnChanged()public void OnChanged()

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle,ISerieDataComponent,ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    TitleTheme()public TitleTheme(ThemeType theme) : base(theme)

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    API版本描述
    onClickIndexpublic System.Action<int> onClickIndex
    Tooltip为Click触发时,点击的X轴索引的回调。
    AddSerieDataIndex()public void AddSerieDataIndex(int serieIndex, int dataIndex)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    ClearSerieDataIndex()public void ClearSerieDataIndex()
    GetContentLabelStyle()public LabelStyle GetContentLabelStyle(int index)
    IsActive()public bool IsActive()
    提示框是否显示
    isAnySerieDataIndex()public bool isAnySerieDataIndex()
    IsSelected()public bool IsSelected()
    当前提示框是否选中数据项
    IsSelected()public bool IsSelected(int index)
    指定索引的数据项是否被提示框选中
    IsTriggerAxis()public bool IsTriggerAxis()
    IsTriggerItem()public bool IsTriggerItem()
    KeepTop()public void KeepTop()
    保持Tooltiop显示在最顶上
    SetActive()public void SetActive(bool flag)
    设置Tooltip组件是否显示
    SetContentActive()public void SetContentActive(bool flag)
    设置文本框是否显示
    UpdateContentPos()public void UpdateContentPos(Vector2 pos, float width, float height)
    更新文本框位置

    TooltipContext

    class in XCharts.Runtime

    TooltipData

    class in XCharts.Runtime

    TooltipHelper

    class in XCharts.Runtime

    API版本描述
    GetItemNumericFormatter()public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)
    GetLineColor()public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor)
    IsIgnoreFormatter()public static bool IsIgnoreFormatter(string itemFormatter)
    LimitInRect()public static void LimitInRect(Tooltip tooltip, Rect chartRect)

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(TooltipTheme theme)
    TooltipTheme()public TooltipTheme(ThemeType theme) : base(theme)

    TooltipView

    class in XCharts.Runtime

    API版本描述
    CreateView()public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)
    GetCurrentPos()public Vector3 GetCurrentPos()
    GetTargetPos()public Vector3 GetTargetPos()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag)
    Update()public void Update()
    UpdatePosition()public void UpdatePosition(Vector3 pos)

    TooltipViewItem

    class in XCharts.Runtime

    UGL

    class in XUGL

    UGUI 图形库

    API版本描述
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, Color32 color, Color32 toColor)
    DrawEllipse()public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)
    DrawEmptyDiamond()public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color)
    DrawEmptyDiamond()public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color, Color32 emptyColor)
    DrawEmptyTriangle()public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color)
    DrawEmptyTriangle()public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color, Color32 backgroundColor)
    DrawLine()public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color)
    Draw a line. 画直线
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
    Draw a line. 画直线
    DrawMinus()public static void DrawMinus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    绘制减号
    DrawPlus()public static void DrawPlus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    绘制加号
    DrawPolygon()public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
    填充任意多边形(目前只支持凸多边形)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Vector3 p1, Vector3 p2, float radius, Color32 color)
    Draw a rectangle. 画带长方形
    DrawSquare()public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
    Draw a square. 画正方形
    DrawSvgPath()public static void DrawSvgPath(VertexHelper vh, string path)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)

    UGLExample

    class in XUGL / 继承自: MaskableGraphic

    UGLHelper

    class in XUGL

    API版本描述
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBezier()public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)
    GetBezier2()public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)
    GetBezierList()public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref List<Vector3> intersection)
    获得两直线的交点
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref Vector3 intersection)
    获得两直线的交点
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector3> polyons)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, params Vector3[] polyons)
    IsPointInTriangle()public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)

    UIComponent

    class in XCharts.Runtime / 继承自: BaseGraph

    UI组件基类。

    API版本描述
    SetAllDirty()public override void SetAllDirty()
    SetDataDirty()v3.9.0public void SetDataDirty()
    SetVerticesDirty()public override void SetVerticesDirty()
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    GetBackgroundColor()public Color32 GetBackgroundColor(Background background)

    UIHelper

    class in XCharts.Runtime

    UI帮助类。

    ViewControl

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.11.0 开始支持

    3D视角控制组件。

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    API版本描述
    AddColors()public void AddColors(List<Color32> colors)
    AddColors()public void AddColors(List<string> colors)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    GetColor()public Color32 GetColor(double value)
    GetColor()public Color32 GetColor(double xValue, double yValue, double zValue, byte alpha = 255)
    GetIndex()public int GetIndex(double value)
    GetValue()public double GetValue(Vector3 pos, Rect chartRect)
    IsInRangeMaxRect()public bool IsInRangeMaxRect(Vector3 local, Rect chartRect, float triangleLen)
    IsInRangeMinRect()public bool IsInRangeMinRect(Vector3 local, Rect chartRect, float triangleLen)
    IsInRangeRect()public bool IsInRangeRect(Vector3 local, Rect chartRect)
    IsInRect()public bool IsInRect(Vector3 local, Rect chartRect, float triangleLen = 20)
    IsInSelectedValue()public bool IsInSelectedValue(double value)
    IsPiecewise()public bool IsPiecewise()

    VisualMapContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    VisualMapHelper

    class in XCharts.Runtime

    API版本描述
    AutoSetLineMinMax()public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
    GetDimension()public static int GetDimension(VisualMap visualMap, int defaultDimension)
    IsNeedAreaGradient()public static bool IsNeedAreaGradient(VisualMap visualMap)
    IsNeedGradient()public static bool IsNeedGradient(VisualMap visualMap)
    IsNeedLineGradient()public static bool IsNeedLineGradient(VisualMap visualMap)
    SetMinMax()public static void SetMinMax(VisualMap visualMap, double min, double max)

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Contains()public bool Contains(double value, double minMaxRange)

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(VisualMapTheme theme)
    VisualMapTheme()public VisualMapTheme(ThemeType theme) : base(theme)

    Wrapper<T>

    class in XCharts.Runtime

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 x 轴。

    XAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 x 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 x 轴。

    XChartsMgr

    class in XCharts.Runtime

    API版本描述
    AddChart()public static void AddChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(string chartName)
    GetChart()public static BaseChart GetChart(string chartName)
    GetCharts()public static List<BaseChart> GetCharts(string chartName)
    GetPackageFullPath()public static string GetPackageFullPath()
    GetRepeatChartNameInfo()public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
    IsRepeatChartName()public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
    RemoveAllChartObject()public static void RemoveAllChartObject()
    RemoveChart()public static void RemoveChart(string chartName)

    XCResourceImporterWindow

    class in XCharts.Runtime / 继承自: UnityEditor.EditorWindow

    API版本描述
    ShowPackageImporterWindow()public static void ShowPackageImporterWindow()

    XCResourcesImporter

    class in XCharts.Runtime

    API版本描述
    OnDestroy()public void OnDestroy() { }
    OnGUI()public void OnGUI()
    XCResourcesImporter()public XCResourcesImporter() { }

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    API版本描述
    AddCustomTheme()public static bool AddCustomTheme(Theme theme)
    ExistAssetFile()public static bool ExistAssetFile()
    GetSettingAssetPath()public static string GetSettingAssetPath()

    XCThemeMgr

    class in XCharts.Runtime

    API版本描述
    AddTheme()public static void AddTheme(Theme theme)
    CheckReloadTheme()public static void CheckReloadTheme()
    ContainsTheme()public static bool ContainsTheme(string themeName)
    ExportTheme()public static bool ExportTheme(Theme theme)
    ExportTheme()public static bool ExportTheme(Theme theme, string themeNewName)
    GetAllThemeNames()public static List<string> GetAllThemeNames()
    GetTheme()public static Theme GetTheme(string themeName)
    GetTheme()public static Theme GetTheme(ThemeType type)
    GetThemeAssetPath()public static string GetThemeAssetPath(string themeName)
    GetThemeList()public static List<Theme> GetThemeList()
    LoadTheme()public static Theme LoadTheme(string themeName)
    LoadTheme()public static Theme LoadTheme(ThemeType type)
    ReloadThemeList()public static void ReloadThemeList()
    重新加载主题列表
    SwitchTheme()public static void SwitchTheme(BaseChart chart, string themeName)

    XLog

    class in XCharts.Runtime / 继承自: MonoBehaviour

    日志系统。用于输出带日期和日志类型的日志,支持输出到文件,支持自定义输出的日志类型。

    API版本描述
    CanLog()public static bool CanLog(int level)
    ClearAllLog()public static void ClearAllLog()
    Debug()public static void Debug(string log)
    EnableLog()public static void EnableLog(int logType)
    Error()public static void Error(string log)
    FlushLog()public static void FlushLog()
    GetNowTime()public static string GetNowTime(string formatter = null)
    GetTimestamp()public static ulong GetTimestamp()
    Info()public static void Info(string log)
    Log()public static void Log(string log)
    LogError()public static void LogError(string log)
    LogWarning()public static void LogWarning(string log)
    Proto()public static void Proto(string log)
    Vital()public static void Vital(string log)
    Warning()public static void Warning(string log)

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。

    YAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。

    ZAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/bar3d/index.html b/docs/v3.11.2/bar3d/index.html index cc99fb5a..40bd96d9 100644 --- a/docs/v3.11.2/bar3d/index.html +++ b/docs/v3.11.2/bar3d/index.html @@ -14,14 +14,14 @@ Bar3DChart 3D柱图 | XCharts - - + +
    Version: v3.11.2

    Bar3DChart 3D柱图

    XCharts的付费扩展图表 - 3D柱图。

    截图

    Bar3D01Bar3D02Bar3D03Bar3D04Bar3D05
    Bar3D07Bar3D08Bar3D09Bar3D10

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-Bar3DChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2023.12.16) 增加Bar3D的更多默认图表快捷方式和API
    • (2023.12.16) 增加Bar3DStyleborderDash是否绘制虚线边框
    • (2023.12.16) 增加Bar3DStyleoccludedAreaBorderDash是否绘制遮挡区域的虚线边框
    • (2023.12.16) 增加Bar3DStyleoccludedAreaBorder是否绘制遮挡区域的边框
    • (2023.12.16) 增加Border边框绘制支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0
    • (2023.02.14) 增加Bar3DStyletopColorbottomColorsideColor参数支持

    v3.5.0

    • (2022.11.29) 增加SeriebarMaxWidth参数支持
    • (2022.11.27) 增加SerieItemStylebackgroundColor参数支持
    • (2022.11.27) 增加SeriecolorBy的支持
    • (2022.11.27) 更新文档

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    v3.1.0

    • (2022.07.14) 发布v3.1.0版本
    • (2022.07.14) 增加bottomColorRate,cylinderRate参数
    • (2022.07.14) 调整topColorBurnRate改名为topColorRate
    • (2022.07.14) 调整sideColorBurnRate改名为sideColorRate
    • (2022.07.14) 调整dire改名为cubeDire
    • (2022.07.14) 支持Cylinder圆柱和Cube立方柱

    API

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie,INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    API版本描述
    AddDefaultSerie()public static Bar3D AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Bar3D ConvertSerie(Serie serie)

    Bar3DChart

    class in XCharts.Runtime.Bar3Ds / 继承自: BaseChart

    API版本描述
    DefaultCylinderChart()public void DefaultCylinderChart(){
    生成默认的圆柱体图。
    DefaultGroupedCubeChart()public void DefaultGroupedCubeChart()
    默认分组3D柱状图。
    DefaultStackedCubeChart()public void DefaultStackedCubeChart()
    默认堆叠分组3D柱状图。

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    配置项手册

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie, INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    参数默认版本描述
    bar3DTypev3.1.0
    Bar3DType:
    - Cube: 立方柱。
    - Cylinder: 圆柱。
    bar3DStyleBar3DStyle

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    verticalArrangefalse是否垂直排列。
    verticalArrangeDireVector3(-1, 1)垂直排列时的方向。
    verticalArrangeGap0.5f垂直排列时两个柱子间的间隙。
    barOffsetVector3.zero柱子偏移。
    widthRate0.5f方形柱侧边宽度相对正面的比例。
    topColorRate0.8f柱子顶部相对正面的颜色比例。
    bottomColorRate1f柱子底部相对正面的颜色比例。
    sideColorRate0.7f方形柱侧边相对正面的颜色比例。
    cubeDireVector3(1, 1)方形柱形成3D效果的方向。
    cylinderRate0.5fv3.1.0圆柱的顶部椭圆比列。
    topColorv3.6.0
    bottomColorv3.6.0
    sideColorv3.6.0
    occludedAreaBorderv3.10.0是否显示遮挡区域的边框。
    occludedAreaBorderDashv3.10.0是否显示遮挡区域的虚线边框。
    borderDashv3.10.0是否显示虚线边框。
    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/changelog/index.html b/docs/v3.11.2/changelog/index.html index bcde9d76..31de7e4f 100644 --- a/docs/v3.11.2/changelog/index.html +++ b/docs/v3.11.2/changelog/index.html @@ -14,8 +14,8 @@ 更新日志 | XCharts - - + +
    @@ -87,7 +87,7 @@ v0.8.0
    v0.5.0
    v0.1.0

    master

    v3.11.2

    • (2024.08.01) 发布v3.11.2版本
    • (2024.07.29) 修复Tooltip在微信小游戏平台上报错的兼容问题 (#326)
    • (2024.07.27) 调整AxisAxisName的默认位置
    • (2024.07.22) 优化PieLabelTooltip触发时的表现
    • (2024.07.21) 修复Tooltip在开启DataZoom时指示内容不准确的问题
    • (2024.07.17) 修复MarkLineLabel在初始化时可能会闪烁的问题
    • (2024.07.16) 优化AxisTime时间轴时的Tooltip默认效果
    • (2024.07.15) 优化AxisTime时间轴时的分割效果
    • (2024.07.14) 优化AxisTime时间轴时的移动表现
    • (2024.07.12) 优化Label的初始化显示效果
    • (2024.07.06) 修复Chart在动态创建时背景没有自适应的问题 (#323)

    v3.11.1

    • (2024.07.01) 发布v3.11.1版本
    • (2024.07.01) 修复Serie有多个时颜色异常的问题
    • (2024.06.23) 修复Label在初始化时会堆积的问题

    v3.11.0

    版本要点:

    • 增加Line3DChart3D折线图
    • 增加GraphChart关系图
    • 增加3D坐标系支持
    • 增加TooltiptriggerOn设置触发条件
    • 其他问题修复和优化

    日志详情:

    • (2024.06.16) 发布v3.11.0版本
    • (2024.06.15) 增加EditorData的添加、删除、上下移动操作按钮
    • (2024.06.11) 修复AxisIndicatorLabel可能会遮挡住Tooltip的问题
    • (2024.06.11) 修复TooltipCrossAxisIndicatorLabel可能不显示的问题 (#315)
    • (2024.06.10) 调整TooltipCorss重命名为Cross
    • (2024.06.09) 增加AxisminCategorySpacing设置类目轴默认的最小类目间距
    • (2024.06.09) 修复TooltipCrossAxis是类目轴并且开启DataZoom的情况下指示位置不准确的问题
    • (2024.06.06) 修复SerieClone时动画异常问题 (#320)
    • (2024.06.04) 修复Seriestate在代码动态设置时不刷新的问题
    • (2024.05.29) 调整XChartsHierarchy视图下的右键菜单到UI/XCharts
    • (2024.05.29) 增加3D坐标系对类目轴的支持
    • (2024.05.19) 优化Editor下的编辑性能
    • (2024.05.09) 增加JsonUtil工具类
    • (2024.05.01) 修复Tooltip每帧产生GC的问题 (#311) (by @stefanbursuc)
    • (2024.04.23) 修复ConvertXYAxis()多次调用后图表异常的问题
    • (2024.04.22) 修复DataZoom控制多个轴时的GridCoord获取可能不正确的问题 (#317)
    • (2024.04.22) 增加3D坐标系
    • (2024.04.15) 优化DateTimeUtil时间戳转DateTime接口时区的问题
    • (2024.04.15) 优化GridCoord在开启GridLayout时也显示Left Right Top Bottom参数 (#316)
    • (2024.04.14) 修复TooltipCross在开启DataZoom的情况下label位置不正确的问题 (#315)
    • (2024.04.12) 修复Candlesticks效果不对的问题 (#313)
    • (2024.03.20) 增加TooltiptriggerOn设置触发条件
    • (2024.03.19) 修复Pie在设置ItemStyleopacity时颜色不对的问题 (#309)

    v3.10.2

    • (2024.03.11) 发布v3.10.2版本
    • (2024.03.11) 修复Legendformatter在设置{d}通配符时显示可能不匹配的问题 (#304)
    • (2024.03.11) 修复Tooltip移出坐标系后还显示的问题
    • (2024.03.08) 修复Tooltiptitle从旧版本升级后可能不显示的问题

    v3.10.1

    • (2024.02.21) 发布v3.10.1版本
    • (2024.02.19) 修复Tooltip的圆点标记不会自适应颜色的问题

    v3.10.0

    版本要点:

    • 增加双类目轴支持
    • 增加更多细分快捷菜单创建图表,可一键创建几十种图表
    • 增加图表边框设置,支持圆角图表
    • 修复若干问题

    扩展功能:

    • 增加SankeyChart桑基图
    • 增加UITable的边框设置

    日志详情:

    • (2024.02.01) 发布v3.10.0版本
    • (2024.01.31) 修复Tooltip在设置itemFormatter-后整个不显示的问题
    • (2024.01.27) 修复TextLimit在开启TextMeshPro后无效的问题 (#301)
    • (2024.01.24) 增加Bar支持X轴和Y轴都为Category类目轴
    • (2024.01.23) 增加{y}通配符用于获取Y轴的类目名
    • (2024.01.23) 增加Line支持X轴和Y轴都为Category类目轴
    • (2024.01.18) 修复Animationtype代码动态修改无效的问题
    • (2024.01.13) 增加Chart的更多快捷创建图表菜单
    • (2024.01.09) 增加BackgroundborderStyle,给图表默认设置圆角
    • (2024.01.07) 修复Tooltop的第一个ContentLabelStyle设置color无效的问题
    • (2024.01.01) 增加BorderStyle边框样式
    • (2023.12.26) 增加HeatmapmaxCache参数支持
    • (2023.12.25) 优化Line开启clip时绘制的顶点数
    • (2023.12.22) 修复Scatter散点图部分边界数据不显示的问题
    • (2023.12.21) 修复TriggerTooltip()接口在指定0或最大index时可能无法触发的问题
    • (2023.12.19) 修复LegendLabelStyle设置formatter后不生效的问题
    • (2023.12.12) 增加LegendTextLimit可限制图例显示文本的长度
    • (2023.12.11) 修复Serie添加double.MaxValue时坐标绘制失败的问题
    • (2023.12.10) 增加SerieminShowLabel可隐藏小于指定值的label
    • (2023.12.09) 增加LevelStyledepth指定所属层次
    • (2023.12.09) 增加LevelStyleLineStyle设置线条样式
    • (2023.12.09) 增加SerieLink可用于桑基图添加节点边关系
    • (2023.12.05) 增加ResetChartStatus()可主动重置图表状态

    v3.9.0

    版本要点:

    • 增加AxisAnimation,完善数据变更动画效果
    • 增加Axis的对数轴子刻度的支持
    • 增加MarkLineonTop设置是否显示在最上层
    • 完善代码注释和手册文档
    • 修复若干问题

    扩展功能:

    • UITable增加轮播功能
    • UITable增加数据操作接口和回调函数
    • Pie3DChart优化绘制表现

    日志详情:

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 修复TooltiptitleFormatter设置为{b}后显示不准确的问题
    • (2023.11.30) 增加SerieData可单独添加Label的支持
    • (2023.11.28) 修复Tooltip在对数轴时指示不准确的问题
    • (2023.11.24) 修复ChartUpdateData()接口返回值不准确的问题
    • (2023.11.24) 修复Axis的更新数据时效果不顺畅的问题
    • (2023.11.23) 增加AxisAnimation支持动画效果
    • (2023.11.16) 取消Legendformatter,用LabelStyle的代替
    • (2023.11.14) 完善LabelStyleformatter的注释和文档(#291)
    • (2023.11.11) 修复Documentation部分注释生成文档不完整的问题 (#290)
    • (2023.11.11) 修复Legendformatter在数据变更时没有自动刷新的问题
    • (2023.11.05) 修复SerieEventDatavalue一直是0的问题 (#287)
    • (2023.11.03) 修复Bar设置渐变色时鼠标移出效果异常的问题 (#285)
    • (2023.11.02) 优化SerieData设置ignoreformatter的忽略问题
    • (2023.11.01) 增加MarkLineonTop设置是否显示在最上层
    • (2023.10.21) 修复Pie有0数据时Label的位置异常的问题
    • (2023.10.21) 增加Axis的对数轴支持子刻度
    • (2023.10.19) 修复Pie设置玫瑰图时引导线异常的问题
    • (2023.10.15) 修复Line设置AnimationAlongPath时动画异常的问题 (#281)
    • (2023.10.12) 修复MarkLine指定yValue时对数值轴无效的问题
    • (2023.10.11) 修复SerieshowDataDimension设置无效的问题

    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) 增加PieradiusGradient可设置半径方向的渐变效果
    • (2023.09.05) 优化LabelLinelineEndXPie中的表现
    • (2023.09.05) 修复TriggerTooltip()接口对Ring无效的问题
    • (2023.09.05) 修复Radar数据全为0时绘制报错的问题

    v3.8.0

    版本要点:

    • 重构Animation动画系统,增加新增动画交互动画的支持
    • 完善PieChart的动画交互表现
    • 增加SymbolEmptyTriangleEmptyDiamondPlusMinus四种新标记
    • 完善Chart的鼠标交互回调
    • 增加LabelLine可固定横坐标的功能
    • 增加GridLayout网格布局组件
    • 增加TooltipAuto类型
    • 优化和修复若干其他问题

    日志详情:

    • (2023.09.03) 发布v3.8.0版本
    • (2023.09.01) 增加TooltipAuto自动设置显示类型和触发类型
    • (2023.08.29) 增加RinggridIndex支持设置指定网格
    • (2023.08.29) 增加RadargridIndex支持设置指定网格
    • (2023.08.29) 增加PiegridIndex支持设置指定网格
    • (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) 修复YAxisLabel可能会重复的问题
    • (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本地开启TextMeshProNewInputSystem后更新版本会报错的问题 (#272)
    • (2023.08.12) 修复Chart在运行时被删除时会异常报错的问题 (#269)
    • (2023.08.11) 修复DataZoom开启时可能会导致无法添加数据的问题
    • (2023.08.11) 修复SerieData单独设置ItemStyleitemFormatter不生效的问题
    • (2023.08.10) 优化BarChartTooltipTriggerItem时的表现
    • (2023.08.09) 增加Axis可通过设置IconStylecolorclear来实现动态图标颜色的支持
    • (2023.08.08) 增加PieLabelLinelineEndX的支持
    • (2023.08.05) 整理Examples的代码,删除不必要的用例
    • (2023.08.04) 增加LabelLinelineEndX可设置引导线固定X位置的支持
    • (2023.08.04) 增加RingavoidLabelOverlap避免文本堆叠的支持 (#247)
    • (2023.08.03) 完善ChartonSerieEnteronSerieExitonSerieClick回调
    • (2023.08.02) 修复BarChartonSerieEnteronSerieExit回调无效的问题
    • (2023.08.02) 增加SymbolPlus加号和Minus减号的支持
    • (2023.07.31) 增加SymbolEmptyTriangleEmptyDiamond的支持,优化Symbol表现效果
    • (2023.07.31) 优化Line的默认配置效果
    • (2023.07.27) 增加SerieminRadius可设置最小半径
    • (2023.07.26) 增加MLValue多样式数值
    • (2023.07.25) 增加XLog日志系统
    • (2023.07.18) 完善Pie饼图的交互动画效果
    • (2023.07.14) 增加AnimationInteraction交互动画配置支持
    • (2023.07.11) 增加AnimationAddition新增动画配置支持
    • (2023.07.11) 重构Animation动画系统,完善动画体验
    • (2023.06.30) 增加PolarCoodindicatorLabelOffset设置指示文本偏移的支持
    • (2023.06.30) 修复AxisIndicatorLabel的背景颜色可能不正常的问题
    • (2023.06.30) 增加AxisIndicatorLabel可自定义color的支持
    • (2023.06.12) 修复AxisLabelformatterFunction在数值轴时value不对的问题

    v3.7.0

    版本要点:

    • 增加HelpDoc官网帮助文档跳转
    • 增加LineClip的支持
    • 优化Axis的范围设置
    • 其他优化和修复

    日志详情:

    • (2023.06.08) 发布v3.7.0版本
    • (2023.06.04) 增加HelpDoc帮助文档跳转
    • (2023.05.30) 修复Serie的名字带_线导致Legend无法触发的问题 (#259) (by @svr2kos2)
    • (2023.05.10) 增加AxisMinMaxAuto范围类型
    • (2023.05.10) 增加LineClip的支持
    • (2023.05.04) 优化Axis在-1到1范围时设置CeilRate不生效的问题
    • (2023.05.04) 优化AxisMinMax类型范围计算
    • (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) 增加BaseChartTriggerTooltip()接口尝试触发ToolTip
    • (2023.04.12) 优化RadarCood设置startAngle时文本也跟随调整位置
    • (2023.04.12) 增加Radar对通配符{b}的支持
    • (2023.04.11) 修复Inspector在动态添加组件时可能异常的问题

    v3.6.0

    版本要点:

    • 增加InputSystem支持 (by @Bian-Sh)
    • 增加官网在线示例多版本支持 (by @SHL-COOL)
    • 完善对VR的支持 (by @Ambitroc)
    • 增加UITableUIStatistic扩展UI组件
    • 增加ItemStyleMarkColor
    • 增加通配符{h}的支持
    • 优化TooltipLegendDataZoomAxis等组件
    • 重构相关API接口,完善回调接口
    • 修复若干问题

    升级注意:

    • 部分接口有调整,可根据提示更换下接口即可。

    日志详情:

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.14) 修复TooltiptitleFormater设置{b}可能不生效的问题
    • (2023.03.14) 修复BarChart在数据为0时不绘制柱条背景的问题 (#250) (by @Ambitroc)
    • (2023.03.12) 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转
    • (2023.03.10) 增加VR等其他非鼠标输入方式的Point位置获取 (#248) (by @Ambitroc)
    • (2023.03.09) 增加ChartonSerieClickonSerieDownonSerieEnteronSerieExit回调
    • (2023.03.09) 修复Pie的点击选中偏移不生效的问题
    • (2023.03.04) 增加LegendPositions可自定义图例的位置
    • (2023.03.03) 修复Animation变更动画可能无效的问题
    • (2023.02.28) 修复Legend点击时SerieLabel不刷新的问题
    • (2023.02.26) 增加DataZoomstartEndFunction委托
    • (2023.02.12) 重构Component相关代码,调整API接口
    • (2023.02.10) 修复AxisLog轴时某些情况下最小值不正确的问题
    • (2023.02.10) 优化Axis的数值Label的默认显示格式
    • (2023.02.08) 增加DataZoomstartLockendLock参数支持锁定
    • (2023.02.02) 修复DataZoom开启时X轴Label可能会显示在图表外的问题
    • (2023.02.02) 优化SerieDataignore设置时的忽略数据判断
    • (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) 删除SerieMarkColor,增加ItemStyleMarkColor
    • (2022.12.29) 增加EditorList+添加编辑功能
    • (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) 修复AxisValue轴在某些情况下计算数值范围不准确的问题
    • (2022.12.12) 优化Legendformatter支持{h}通配符
    • (2022.12.12) 修复Legendformatter设置为固定值时显示不正常的问题
    • (2022.12.08) 增加AreaStyletoTop参数可设置折线图渐变色是到顶部还是到实际位置
    • (2022.12.07) 增加Formatter的文本通配符{h}支持设置当前颜色值

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Convert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/configuration/index.html b/docs/v3.11.2/configuration/index.html index 62c0eb67..f438372f 100644 --- a/docs/v3.11.2/configuration/index.html +++ b/docs/v3.11.2/configuration/index.html @@ -14,13 +14,13 @@ 配置项手册 | XCharts - - + +
    Version: v3.11.2

    配置项手册

    Serie 系列

    Theme 主题

    MainComponent 主组件

    ChildComponent 子组件

    ISerieComponent 可添加到Serie的组件

    ISerieDataComponent 可添加到SerieData的组件

    Other 其他

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    参数默认版本描述
    startAngle0起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn, AnimationFadeOut, AnimationChange, AnimationAddition, AnimationHiding, AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    参数默认版本描述
    enabletruev3.8.0是否开启动画效果。
    reversefalsev3.8.0是否开启反向动画效果。
    delay0v3.8.0动画开始前的延迟时间。
    duration1000v3.8.0动画的时长。

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    参数默认版本描述
    widthv3.8.0宽度的多样式数值。 MLValue
    radiusv3.8.0半径的多样式数值。 MLValue
    offsetv3.8.0交互的多样式数值。如饼图的扇形选中时的偏移。 MLValue

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    参数默认版本描述
    enabletrue是否开启动画效果。
    type动画类型。
    AnimationType:
    - Default: 默认。内部会根据实际情况选择一种动画播放方式。
    - LeftToRight: 从左往右播放动画。
    - BottomToTop: 从下往上播放动画。
    - InsideOut: 由内到外播放动画。
    - AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    - Clockwise: 顺时针播放动画。
    easting
    AnimationEasing:
    - Linear:
    threshold2000是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
    unscaledTimev3.4.0动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。
    fadeInv3.8.0渐入动画配置。 AnimationFadeIn
    fadeOutv3.8.0渐出动画配置。 AnimationFadeOut
    changev3.8.0数据变更动画配置。 AnimationChange
    additionv3.8.0数据新增动画配置。 AnimationAddition
    hidingv3.8.0数据隐藏动画配置。 AnimationHiding
    interactionv3.8.0交互动画配置。 AnimationInteraction

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    区域填充样式。

    参数默认版本描述
    showtrue是否显示区域填充。
    origin区域填充的起始位置。
    AreaStyle.AreaOrigin:
    - Auto: 填充坐标轴轴线到数据间的区域。
    - Start: 填充坐标轴底部到数据间的区域。
    - End: 填充坐标轴顶部到数据间的区域。
    color区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。
    toColor渐变色的终点颜色。
    opacity0.6f图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    innerFillv3.2.0是否只填充多边形区域。目前只支持凸多边形。
    toToptruev3.6.0渐变色是到顶部还是到实际位置。默认为true到顶部。

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    width10箭头宽。
    height15箭头高。
    offset0箭头偏移。
    dent3箭头的凹度。
    colorColor.clear箭头颜色。

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis, ParallelAxis, RadiusAxis, SingleAxis, XAxis, XAxis3D, YAxis, YAxis3D, ZAxis3D

    直角坐标系的坐标轴组件。

    参数默认版本描述
    showtrue是否显示坐标轴。
    type坐标轴类型。
    Axis.AxisType:
    - Value: 数值轴。适用于连续数据。
    - Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    - Log: 对数轴。适用于对数数据。
    - Time: 时间轴。适用于连续的时序数据。
    minMaxType坐标轴刻度最大最小值显示类型。
    Axis.AxisMinMaxType:
    - Default: 0-最大值。
    - MinMax: 最小值-最大值。
    - Custom: 自定义最小值最大值。
    - MinMaxAuto: [since("v3.7.0")]最小值-最大值。自动计算合适的值。
    gridIndex坐标轴所在的 grid 的索引,默认位于第一个 grid。
    polarIndex坐标轴所在的 ploar 的索引,默认位于第一个 polar。
    parallelIndex坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
    position坐标轴在Grid中的位置。
    Axis.AxisPosition:
    - Left: 坐标轴在Grid中的位置
    - Right: 坐标轴在Grid中的位置
    - Bottom: 坐标轴在Grid中的位置
    - Top: 坐标轴在Grid中的位置
    - Center: 坐标轴在Grid中的位置
    offset坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
    min设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
    max设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
    splitNumber0坐标轴的期望的分割段数。默认为0表示自动分割。
    interval0强制设置坐标轴分割间隔。无法在类目轴中使用。
    boundaryGaptrue坐标轴两边是否留白。只对类目轴有效。
    maxCache0The first data will be remove when the size of axis data is larger then maxCache.
    logBase10对数轴的底数,只在对数轴(type:'Log')中有效。
    logBaseEfalse对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    inversefalse是否反向坐标轴。在类目轴中无效。
    clockwisetrue刻度增长是否按顺时针,默认顺时针。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    minCategorySpacing0v3.11.0类目之间的最小间距。
    icons类目数据对应的图标。
    data类目数据,在类目轴(type: 'category')中有效。
    axisLine坐标轴轴线。 AxisLine
    axisName坐标轴名称。 AxisName
    axisTick坐标轴刻度。 AxisTick
    axisLabel坐标轴刻度标签。 AxisLabel
    splitLine坐标轴分割线。 AxisSplitLine
    splitArea坐标轴分割区域。 AxisSplitArea
    animation坐标轴动画。 AxisAnimation
    minorTickv3.2.0坐标轴次刻度。 AxisMinorTick
    minorSplitLinev3.2.0坐标轴次分割线。 AxisMinorSplitLine
    indicatorLabelv3.4.0指示器文本的样式。Tooltip为Cross时使用。 LabelStyle

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    参数默认版本描述
    showtrue是否开启动画。
    duration动画时长(ms)。 默认设置为0时,会自动获取serie的动画时长。
    unscaledTime动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    参数默认版本描述
    interval0坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    insidefalse刻度标签是否朝内,默认朝外。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。
    onZerofalse刻度标签显示在0刻度上。
    showStartLabeltrue是否显示第一个文本。
    showEndLabeltrue是否显示最后一个文本。
    textLimit文本限制。 TextLimit

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    参数默认版本描述
    onZeroX 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。
    showArrow是否显示箭头。
    arrow轴线箭头。 ArrowStyle

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    参数默认版本描述
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    参数默认版本描述
    splitNumber5分隔线之间分割的刻度数。
    autoColor

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    参数默认版本描述
    show是否显示坐标轴名称。
    name坐标轴名称。
    onZerov3.1.0坐标轴名称的位置是否保持和Y轴0刻度一致。
    labelStyle文本样式。 LabelStyle

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    参数默认版本描述
    show是否显示分隔区域。
    color分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    参数默认版本描述
    interval坐标轴分隔线的显示间隔。
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。
    showStartLinetruev3.3.0是否显示第一条分割线。
    showEndLinetruev3.3.0是否显示最后一条分割线。
    showZLinetruev3.11.0是否显示Z轴部分分割线。一般用于3D坐标系。

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    参数默认版本描述
    alignWithLabel类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。
    inside坐标轴刻度是否朝内,默认朝外。
    showStartTick是否显示第一个刻度。
    showEndTick是否显示最后一个刻度。
    distance刻度线与轴线的距离。
    splitNumber0分隔线之间分割的刻度数。
    autoColor

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    参数默认版本描述
    showtrue是否启用背景组件。
    image背景图。
    imageType背景图填充类型。
    imageColor背景图颜色。
    imageWidth0v3.10.0背景图宽度。
    imageHeight0v3.10.0背景图高度。
    autoColortrue当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。
    borderStylev3.10.0背景边框样式。 BorderStyle

    Bar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme, RadiusAxisTheme, AngleAxisTheme, PolarAxisTheme, RadarAxisTheme

    参数默认版本描述
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f坐标轴线宽。
    lineLength0f坐标轴线长。
    lineColor坐标轴线颜色。
    splitLineType分割线线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    splitLineWidth1f分割线线宽。
    splitLineLength0f分割线线长。
    splitLineColor分割线线颜色。
    minorSplitLineColor次分割线线颜色。
    tickWidth1f刻度线线宽。
    tickLength5f刻度线线长。
    tickColor坐标轴线颜色。
    splitAreaColors坐标轴分隔区域的颜色。

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine, AxisMinorSplitLine, AxisMinorTick, AxisSplitLine, AxisTick

    线条基础配置。

    参数默认版本描述
    show是否显示坐标轴轴线。
    lineStyle线条样式 LineStyle

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer / 子类: EffectScatter, Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    BorderStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    边框样式。

    参数默认版本描述
    showfalse是否显示边框。
    borderWidth边框宽度。
    borderColor边框颜色。
    roundedCornertrue是否显示圆角。
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。当为(1,1,1,1)时为全圆角。

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Candlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ChartText

    class in XCharts.Runtime

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle, AxisAnimation, AxisName, AxisSplitArea, AreaStyle, ArrowStyle, BaseLine, BorderStyle, IconStyle, ImageStyle, ItemStyle, Level, LevelStyle, LineArrow, LineStyle, Location, MLValue, MarqueeStyle, Padding, StageColor, SymbolStyle, TextLimit, TextStyle, CommentItem, CommentMarkStyle, LabelLine, LabelStyle, MarkAreaData, MarkLineData, StateStyle, VisualMapRange, ViewControl, UIComponentTheme, SerieData, SerieDataLink, ComponentTheme, SerieTheme, ThemeStyle

    Comment

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图表注解组件。

    参数默认版本描述
    showtrue是否显示注解组件。
    labelStyle所有组件的文本样式。 LabelStyle
    markStyle所有组件的文本样式。 CommentMarkStyle
    items注解项。每个注解组件可以设置多个注解项。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    参数默认版本描述
    showtrue是否显示当前注解项。
    content注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。
    markRect注解区域。
    markStyle注解标记区域样式。 CommentMarkStyle
    labelStyle注解项的文本样式。 LabelStyle
    locationv3.5.0Comment显示的位置。 Location

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    参数默认版本描述
    showtrue是否显示当前注解项。
    lineStyle线条样式。 LineStyle

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme, DataZoomTheme, LegendTheme, SubTitleTheme, TitleTheme, TooltipTheme, VisualMapTheme

    参数默认版本描述
    font字体。
    textColor文本颜色。
    textBackgroundColor文本颜色。
    fontSize18文本字体大小。
    tMPFont字体。

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord, CalendarCoord, GridCoord, GridCoord3D, ParallelCoord, PolarCoord, SingleAxisCoord

    坐标系系统。

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    参数默认版本描述
    enabletrue是否显示缩放区域。
    filterMode数据过滤类型。
    DataZoom.FilterMode:
    - Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    - WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    - Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    - None: 不过滤数据,只改变数轴范围。
    xAxisIndexs控制的 x 轴索引列表。
    yAxisIndexs控制的 y 轴索引列表。
    supportInside是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
    supportInsideScrolltrue是否支持坐标系内滚动
    supportInsideDragtrue是否支持坐标系内拖拽
    supportSlider是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。
    supportMarquee是否支持框选。提供一个选框进行数据区域缩放。
    showDataShadow是否显示数据阴影。数据阴影可以简单地反应数据走势。
    showDetail是否显示detail,即拖拽时候显示详细数值信息。
    zoomLock是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    borderWidth边框宽。
    backgroundColor组件的背景颜色。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    rangeMode取绝对值还是百分比。
    DataZoom.RangeMode:
    - //Value: The value type of start and end.取值类型
    - Percent: 百分比。
    start数据窗口范围的起始百分比。范围是:0 ~ 100。
    end数据窗口范围的结束百分比。范围是:0 ~ 100。
    minShowNum2最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。
    scrollSensitivity1.1f缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。
    orient布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    labelStyle文本标签格式。 LabelStyle
    lineStyle阴影线条样式。 LineStyle
    areaStyle阴影填充样式。 AreaStyle
    marqueeStylev3.5.0选取框样式。 MarqueeStyle
    startLockv3.6.0固定起始值,不让改变。
    endLockv3.6.0固定结束值,不让改变。

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    borderWidth边框线宽。
    dataLineWidth数据阴影线宽。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    dataLineColor数据阴影的线条颜色。
    dataAreaColor数据阴影的填充颜色。
    backgroundColor背景颜色。

    DebugInfo

    class in XCharts.Runtime

    参数默认版本描述
    showtrue是否显示Debug组件。
    showDebugInfofalse
    showAllChartObjectfalse是否在Hierarchy试图显示所有chart下的节点。
    foldSeriesfalse是否在Inspector上折叠Serie。
    labelStyleLabelStyle

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    参数默认版本描述
    scale1.1f高亮时的缩放倍数。
    focus在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。
    EmphasisStyle.FocusType:
    - None: 不淡出其它图形,默认使用该配置。
    - Self: 只聚焦(不淡出)当前高亮的数据的图形。
    - Series: 聚焦当前高亮的数据所在的系列的所有图形。
    blurScope在开启focus的时候,可以通过blurScope配置淡出的范围。
    EmphasisStyle.BlurScope:
    - GridCoord: 淡出范围为坐标系,默认使用该配置。
    - Series: 淡出范围为系列。
    - Global: 淡出范围为全局。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    layoutIndex-1v3.8.0网格所属的网格布局组件的索引。默认为-1,表示不属于任何网格布局组件。当设置了该值时,left、right、top、bottom属性将失效。
    left0.11fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.14fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。
    showBorderfalse是否显示网格边框。
    borderWidth0f网格边框宽。
    borderColor网格边框颜色。

    GridCoord3D

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    v3.11.0 开始支持

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    left0.15fgrid 组件离容器左侧的距离。
    right0.2fgrid 组件离容器右侧的距离。
    top0.3fgrid 组件离容器上侧的距离。
    bottom0.15fgrid 组件离容器下侧的距离。
    showBorderfalse是否显示网格边框。
    boxWidth0.55f坐标系的宽度。
    boxHeight0.4f坐标系的高度。
    boxDepth0.2f坐标系的深度。
    xYExchangedfalse
    viewControl3D视角控制组件。 ViewControl

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    row2网格布局的行数。
    column2网格布局的列数。
    spacingVector2.zero网格布局的间距。
    inversefalse是否反转网格布局。

    Heatmap

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    heatmapTypev3.3.0热力图类型。通过颜色映射划分。
    HeatmapType:
    - Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    - Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    showfalse是否显示图标。
    layer显示在上层还是在下层。
    IconStyle.Layer:
    - UnderText: The icon is display under the label text. 图标在标签文字下
    - AboveText: The icon is display above the label text. 图标在标签文字上
    align水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    sprite图标的图片。
    type图片的显示类型。
    color图标颜色。
    width20图标宽。
    height20图标高。
    offset图标偏移。
    autoHideWhenLabelEmptyfalse当label内容为空时是否自动隐藏图标

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    参数默认版本描述
    showtrue是否显示图标。
    sprite图标的图片。
    type图片的显示类型。
    autoColor是否自动颜色。
    color图标颜色。
    width0图标宽。
    height0图标高。

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    参数默认版本描述
    name指示器名称。
    max指示器的最大值,默认为 0 无限制。
    min指示器的最小值,默认为 0 无限制。
    range正常值范围。当数值不在这个范围时,会自动变更显示颜色。
    show是否显示雷达坐标系组件。
    shape雷达图绘制类型,支持 'Polygon' 和 'Circle'。
    radius100雷达图的半径。
    splitNumber5指示器轴的分割段数。
    center雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    axisLine轴线。 AxisLine
    axisName雷达图每个指示器名称的配置项。 AxisName
    splitLine分割线。 AxisSplitLine
    splitArea分割区域。 AxisSplitArea
    indicatortrue是否显示指示器。
    positionType显示位置类型。
    indicatorGap10指示器和雷达的间距。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    isAxisTooltip是否Tooltip显示轴线上的所有数据。
    outRangeColorColor.red数值超出范围时显示的颜色。
    connectCenterfalse数值是否连线到中心点。
    lineGradienttrue数值线段是否需要渐变。
    startAnglev3.4.0起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    indicatorList指示器列表。

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Radar, BaseScatter

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location, Comment, Legend, Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, LineArrow, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord, CalendarCoord, GridCoord, GridCoord3D, ParallelCoord, PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, ItemStyle, LineStyle, SerieSymbol, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar, SimplifiedCandlestick, SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    图形样式。

    参数默认版本描述
    showtrue是否启用。
    color数据项颜色。
    color0数据项颜色。
    toColor渐变色的颜色1。
    toColor2渐变色的颜色2。只在折线图中有效。
    markColorv3.6.0Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。
    backgroundColor数据项背景颜色。
    backgroundWidth数据项背景宽度。
    centerColor中心区域颜色。
    centerGap中心区域间隙。
    borderWidth0边框宽。
    borderGap0边框间隙。
    borderColor边框的颜色。
    borderColor0边框的颜色。
    borderToColor边框的渐变色。
    opacity1透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    itemMarker提示框单项的字符标志。用在Tooltip中。
    itemFormatter提示框单项的字符串模版格式器。具体配置参考Tooltipformatter
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis, DataZoom, CalendarCoord, GridCoord, GridLayout, GridCoord3D, ParallelCoord

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    标签的引导线

    参数默认版本描述
    showtrue是否显示视觉引导线。
    lineType视觉引导线类型。
    LabelLine.LineType:
    - BrokenLine: 折线
    - Curves: 曲线
    - HorizontalLine: 水平线
    lineColorColor32(0,0,0,0)视觉引导线颜色。默认和serie一致取自调色板。
    lineAngle60视觉引导线的固定角度。对折线和曲线有效。在Pie中无效。
    lineWidth1.0f视觉引导线的宽度。
    lineGap1.0f视觉引导线和容器的间距。
    lineLength125f视觉引导线第一段的长度。
    lineLength215f视觉引导线第二段的长度。
    lineEndX0fv3.8.0视觉引导线结束点的固定x位置。当不为0时,会代替lineLength2设定引导线的x位置。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent / 子类: AxisLabel, EndLabelStyle, TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    参数默认版本描述
    showtrue是否显示文本标签。
    Position标签的位置。
    autoOffsetfalse是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。
    offset距离图形元素的偏移
    rotate文本的旋转。
    autoRotatefalsev3.6.0是否自动旋转。
    distance距离轴线的距离。
    formatter标签内容字符串模版格式器。支持用 \n 换行。部分组件的格式器会不生效。
    模板通配符有以下这些,部分只适用于固定的组件:
    {.}:圆点标记。
    {a}:系列名。
    {b}:X轴类目名或数据名。
    {c}:数据值。
    {d}:百分比。
    {e}:数据名。
    {f}:数据和。
    {g}:数据总个数。
    {h}:十六进制颜色值。
    {y}:Y轴的类目名。
    {value}:坐标轴或图例的值。
    以下通配符适用UITable组件:
    {name}: 表格的行名。
    {index}:表格的行号。
    以下通配符适用UIStatistc组件:
    {title}:标题文本。
    {dd}:天。
    {hh}:小时。
    {mm}:分钟。
    {ss}:秒。
    {fff}:毫秒。
    {d}:天。
    {h}:小时。
    {m}:分钟。
    {s}:秒。
    {f}:毫秒。
    示例:“{b}:{c}”
    numericFormatter标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式常见的格式:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:yyyy-MM-dd HH:mm:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    width0标签的宽度。一般不用指定,不指定时则自动是文字的宽度。
    height0标签的高度。一般不用指定,不指定时则自动是文字的高度。
    icon图标样式。 IconStyle
    background背景图样式。 ImageStyle
    textPadding文本的边距。 TextPadding
    textStyle文本样式。 TextStyle

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    Legend

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    参数默认版本描述
    showtrue是否显示图例组件。
    iconType图例类型。
    Legend.Type:
    - Auto: 自动匹配。
    - Custom: 自定义图标。
    - EmptyCircle: 空心圆。
    - Circle: 圆形。
    - Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    - Triangle: 三角形。
    - Diamond: 菱形。
    - Candlestick: 烛台(可用于K线图)。
    selectedMode选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。
    Legend.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    - None: 无法选择。
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location图例显示的位置。 Location
    itemWidth25.0f图例标记的图形宽度。
    itemHeight12.0f图例标记的图形高度。
    itemGap10f图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
    itemAutoColortrue图例标记的图形是否自动匹配颜色。
    itemOpacity1图例标记的图形的颜色透明度。
    formatter不再使用,使用LabelStyle.formatter代替。
    labelStyle文本样式。 LabelStyle
    textLimitv3.10.0文本限制。 TextLimit
    data图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。
    icons自定义的图例标记图形。
    colors图例标记的颜色列表。
    backgroundv3.1.0背景图样式。 ImageStyle
    paddingv3.1.0图例标记和背景的间距。 Padding
    positionsv3.6.0图例标记的自定义位置列表。

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    unableColor文本颜色。

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    depth0v3.10.0层级深度。
    label文本标签样式。 LabelStyle
    upperLabel上方的文本标签样式。 LabelStyle
    lineStylev3.10.0线条样式。 LineStyle
    itemStyle数据项样式。 ItemStyle

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    参数默认版本描述
    showfalse是否启用LevelStyle
    levels各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    Line

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent

    参数默认版本描述
    show是否显示箭头。
    position箭头位置。
    LineArrow.Position:
    - End: 末端箭头
    - Start: 头端箭头
    arrow箭头。 ArrowStyle

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    参数默认版本描述
    showtrue是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。
    type线的类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    color线的颜色。
    toColor线的渐变颜色(需要水平方向渐变时)。
    toColor2线的渐变颜色2(需要水平方向三个渐变色的渐变时)。
    width0线宽。
    length0线长。
    opacity1线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    dashLength4v3.8.1虚线的长度。默认0时为线条宽度的12倍。在折线图中代表分割段数的倍数。
    dotLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。
    gapLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。

    Location

    class in XCharts.Runtime / 继承自: ChildComponent, IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    参数默认版本描述
    align对齐方式。
    Location.Align:
    - TopLeft: 对齐方式
    - TopRight: 对齐方式
    - TopCenter: 对齐方式
    - BottomLeft: 对齐方式
    - BottomRight: 对齐方式
    - BottomCenter: 对齐方式
    - Center: 对齐方式
    - CenterLeft: 对齐方式
    - CenterRight: 对齐方式
    left离容器左侧的距离。
    right离容器右侧的距离。
    top离容器上侧的距离。
    bottom离容器下侧的距离。

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis, Background, Comment, DataZoom, Legend, MarkArea, MarkLine, Settings, Title, Tooltip, VisualMap, GridLayout, CoordSystem

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    参数默认版本描述
    showtrue是否显示标域。
    textThe text of markArea. 标域显示的文本。
    serieIndex0Serie index of markArea. 标域影响的Serie索引。
    start标域范围的起始数据。 MarkAreaData
    end标域范围的结束数据。 MarkAreaData
    itemStyle标域样式。 ItemStyle
    label标域文本样式。 LabelStyle

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    参数默认版本描述
    type特殊的标域类型,用于标注最大值最小值等。
    MarkAreaType:
    - None: 标域类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标注名称。会作为文字显示。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    参数默认版本描述
    showtrue是否显示标线。
    serieIndex0标线影响的Serie索引。
    onToptruev3.9.0是否在最上层。
    animation标线的动画样式。 AnimationStyle
    data标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    参数默认版本描述
    type特殊的标线类型,用于标注最大值最小值等。
    MarkLineType:
    - None: 标线类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    group0分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。
    zeroPositionfalse是否为坐标系原点。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle
    lineStyle标线样式。 LineStyle
    label文本样式。可设置position为Start、Middle和End在不同的位置显示文本。 LabelStyle

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    参数默认版本描述
    applyfalsev3.5.0选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。
    realRectfalsev3.5.0是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。
    areaStylev3.5.0选取框区域填充样式。 AreaStyle
    lineStylev3.5.0选取框区域边框样式。 LineStyle

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    参数默认版本描述
    type
    MLValue.Type:
    - Percent: 百分比形式。
    - Absolute: 绝对值形式。
    - Extra: 额外形式。
    value

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    参数默认版本描述
    showtrueshow padding. 是否显示。
    top0顶部间距。
    right2f右部间距。
    left2f左边间距。
    bottom0底部间距。

    Parallel

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    orient坐标轴朝向。默认为垂直朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。

    Pie

    class in XCharts.Runtime / 继承自: Serie

    参数默认版本描述
    radiusGradientfalsev3.8.1是否开启半径方向的渐变效果。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    参数默认版本描述
    showtrue是否显示极坐标。
    center极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    backgroundColor极坐标的背景色,默认透明。
    indicatorLabelOffset30fv3.8.0指示器标签的偏移量。

    Radar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    smoothfalsev3.2.0是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    Ring

    class in XCharts.Runtime / 继承自: Serie

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie, IComparable / 子类: SerieHandler<T>, Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Pie, Radar, Ring, BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    参数默认版本描述
    index系列索引。
    showtrue系列是否显示在图表上。
    coordSystem使用的坐标系。
    serieType系列类型。
    serieName系列名称,用于 tooltip 的显示,legend 的图例筛选。
    statev3.2.0系列的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    colorByv3.2.0从主题中取色的策略。
    SerieColorBy:
    - Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略。
    - Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    - Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。
    stack数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。
    xAxisIndex0使用X轴的index。
    yAxisIndex0使用Y轴的index。
    radarIndex0雷达图所使用的 radar 组件的 index。
    vesselIndex0水位图所使用的 vessel 组件的 index。
    polarIndex0所使用的 polar 组件的 index。
    singleAxisIndex0所使用的 singleAxis 组件的 index。
    parallelIndex0所使用的 parallel coord 组件的 index。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    minShow系列所显示数据的最小索引
    maxShow系列所显示数据的最大索引
    maxCache系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。
    sampleDist0采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。
    sampleType采样类型。当sampleDist大于0时有效。
    SampleType:
    - Peak: 取峰值。
    - Average: 取过滤点的平均值。
    - Max: 取过滤点的最大值。
    - Min: 取过滤点的最小值。
    - Sum: 取过滤点的和。
    sampleAverage0设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。
    lineType折线图样式类型。
    LineType:
    - Normal: 普通折线图。
    - Smooth: 平滑曲线。
    - StepStart: 阶梯线图:当前点。
    - StepMiddle: 阶梯线图:当前点和下一个点的中间。
    - StepEnd: 阶梯线图:下一个拐点。
    smoothLimitfalsev3.4.0是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。
    barType柱形图类型。
    BarType:
    - Normal: 普通柱形图。
    - Zebra: 斑马柱形图。
    - Capsule: 胶囊柱形图。
    barPercentStackfalse柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。
    barWidth0柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。
    barMaxWidth0v3.5.0柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。
    barGap0.1f不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。
    barZebraWidth4f斑马线的粗细。
    barZebraGap2f斑马线的间距。
    min最小值。
    max最大值。
    minSize0f数据最小值 min 映射的宽度。
    maxSize1f数据最大值 max 映射的宽度。
    startAngle起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    endAngle结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    minAngle最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。
    clockwisetrue是否顺时针。
    roundCap是否开启圆弧效果。
    splitNumber刻度分割段数。最大可设置36。
    clickOffsettrue鼠标点击时是否开启偏移,一般用在PieChart图表中。
    roseType是否展示成南丁格尔图,通过半径区分数据大小。
    RoseType:
    - None: 不展示成南丁格尔玫瑰图。
    - Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    - Area: 所有扇区圆心角相同,仅通过半径展现数据大小。
    gap间距。
    center中心点。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    minRadius0fv3.8.0最小半径。可用于限制玫瑰图的最小半径。
    minShowLabelfalsev3.10.0是否开启值小于指定值minShowLabelValue时不显示标签。
    minShowLabelValue0v3.10.0当开启minShowLabel时,值小于该值时不显示标签。
    showDataDimension数据项里的数据维数。
    showDataName在Editor的inpsector上是否显示name参数
    clipfalse是否裁剪超出坐标系部分的图形。
    ignorefalse是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。
    ignoreValue0忽略数据的默认值。当ignore为true才有效。
    ignoreLineBreakfalse忽略数据时折线是断开还是连接。默认false为连接。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。
    largetrue是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。
    largeThreshold200开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。
    avoidLabelOverlapfalse在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。
    radarType雷达图类型。
    RadarType:
    - Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    - Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]
    placeHolderfalse占位模式。占位模式时,数据有效但不参与渲染和显示。
    dataSortType组件的数据排序。
    SerieDataSortType:
    - None: 按数据的顺序。
    - Ascending: 升序。
    - Descending: 降序。
    orient组件的朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    align组件水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    lineStyle线条样式。 LineStyle
    symbol标记的图形。 SerieSymbol
    animation起始动画。 AnimationStyle
    itemStyle图形样式。 ItemStyle
    data系列中的数据内容数组。SerieData可以设置1到n维数据。

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    参数默认版本描述
    index数据项索引。
    name数据项名称。
    id数据项的唯一id。唯一id不是必须设置的。
    parentId父节点id。父节点id不是必须设置的。
    ignore是否忽略数据。当为 true 时,数据不进行绘制。
    selected该数据项是否被选中。
    radius自定义半径。可用在饼图中自定义某个数据项的半径。
    statev3.2.0数据项的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    data可指定任意维数的数值列表。

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    数据节点之间的连线。可用于桑基图等,桑基图只支持有向无环图,请保证数据的连线是有向无环图。

    参数默认版本描述

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle, ISerieDataComponent

    系列数据项的标记的图形

    参数默认版本描述
    sizeType标记图形的大小获取方式。
    SymbolSizeType:
    - Custom: 自定义大小。
    - FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    - Function: 通过委托函数获取。
    dataIndex1当sizeType指定为FromData时,指定的数据源索引。
    dataScale1当sizeType指定为FromData时,指定的倍数系数。
    sizeFunction当sizeType指定为Function时,指定的委托函数。
    startIndex开始显示图形标记的索引。
    interval显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    forceShowLastfalse是否强制显示最后一个图形标记。
    repeatfalse图形是否重复。
    minSize0fv3.3.0图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。
    maxSize0fv3.3.0图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    lineWidth文本颜色。
    lineSymbolSize折线图的Symbol大小。
    scatterSymbolSize散点图的Symbol大小。
    candlestickColorColor32(235, 84, 84, 255)K线图阳线(涨)填充色
    candlestickColor0Color32(71, 178, 98, 255)K线图阴线(跌)填充色
    candlestickBorderWidth1K线图边框宽度
    candlestickBorderColorColor32(235, 84, 84, 255)K线图阳线(跌)边框色
    candlestickBorderColor0Color32(71, 178, 98, 255)K线图阴线(跌)边框色

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    参数默认版本描述
    showtrue
    maxPainter10设定的painter数量。
    reversePainterfalsePainter是否逆序。逆序时index大的serie最先绘制。
    basePainterMaterialBase Pointer 材质球,设置后会影响Axis等。
    seriePainterMaterialSerie Pointer 材质球,设置后会影响所有Serie。
    upperPainterMaterialUpper Pointer 材质球。
    topPainterMaterialTop Pointer 材质球。
    lineSmoothStyle2.5f曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。
    lineSmoothness2fWhen the area with gradient is filled, the larger the value, the worse the transition effect.
    lineSegmentDistance3f线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。
    cicleSmoothness2f圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。
    legendIconLineWidth2Line类型图例图标的线条宽度。
    legendIconCornerRadius图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    axisMaxSplitNumber50v3.1.0坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis, IUpdateRuntimeData

    单轴。

    参数默认版本描述
    orient坐标轴朝向。默认为水平朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1f组件离容器左侧的距离。
    right0.1f组件离容器右侧的距离。
    top0f组件离容器上侧的距离。
    bottom0.2f组件离容器下侧的距离。
    width0坐标轴宽。
    height50坐标轴高。

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    percent结束位置百分比。
    color颜色。

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle, EmphasisStyle, SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    参数默认版本描述
    showtrue是否启用高亮样式。
    label图形文本标签。 LabelStyle
    labelLine图形文本引导线样式。 LabelLine
    itemStyle图形样式。 ItemStyle
    lineStyle折线样式。 LineStyle
    areaStyle区域样式。 AreaStyle
    symbol标记样式。 SerieSymbol

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    参数默认版本描述
    showtrue是否显示标记。
    type标记类型。
    SymbolType:
    - None: 不显示标记。
    - Custom: 自定义标记。
    - Circle: 圆形。
    - EmptyCircle: 空心圆。
    - Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    - EmptyRect: 空心正方形。
    - Triangle: 三角形。
    - EmptyTriangle: 空心三角形。
    - Diamond: 菱形。
    - EmptyDiamond: 空心菱形。
    - Arrow: 箭头。
    - EmptyArrow: 空心箭头。
    - Plus: 加号。
    - Minus: 减号。
    size0f标记的大小。
    gap0图形标记和线条的间隙距离。
    width0f图形的宽。
    height0f图形的高。
    offsetVector2.zero图形的偏移。
    image自定义的标记图形。
    imageType图形填充类型。
    color图形的颜色。

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    参数默认版本描述
    enablefalse是否启用文本自适应。 [default:true]
    maxWidth0Clipping occurs when the width of the text is greater than this value.
    gap1两边留白像素距离。 [default:10f]
    suffix长度超出时的后缀。 [default: "..."]

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    参数默认版本描述
    showtrue文本的相关设置。
    font文本字体。 [default: null]
    autoWrapfalse是否自动换行。
    autoAligntrue文本是否让系统自动选对齐方式。为false时才会用alignment。
    rotate0文本的旋转。 [default: 0f]
    autoColorfalse是否开启自动颜色。当开启时,会自动设置颜色。
    color文本的颜色。 [default: Color.clear]
    fontSize0文本字体大小。 [default: 18]
    fontStyle文本字体的风格。 [default: FontStyle.Normal]
    lineSpacing1f行间距。 [default: 1f]
    alignment对齐方式。
    tMPFontTextMeshPro字体。
    tMPFontStyle
    tMPAlignment
    tMPSpriteAssetv3.1.0

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    参数默认版本描述
    themeType主题类型。
    ThemeType:
    - Default: 默认主题。
    - Light: 亮主题。
    - Dark: 暗主题。
    - Custom: 自定义主题。
    themeName主题名称。
    font主题字体。
    tMPFont主题字体。
    contrastColor对比色。
    backgroundColor背景颜色。
    colorPalette调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
    commonComponentTheme
    titleTitleTheme
    subTitleSubTitleTheme
    legendLegendTheme
    axisAxisTheme
    tooltipTooltipTheme
    dataZoomDataZoomTheme
    visualMapVisualMapTheme
    serieSerieTheme

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    参数默认版本描述
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse是否透明背景颜色。当设置为true时,不绘制背景颜色。
    enableCustomThemefalse是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。
    customFont
    customBackgroundColor自定义的背景颜色。
    customColorPalette

    Title

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    标题组件,包含主标题和副标题。

    参数默认版本描述
    showtrue是否显示标题组件。
    text主标题文本,支持使用 \n 换行。
    subText副标题文本,支持使用 \n 换行。
    labelStyle主标题文本样式。 LabelStyle
    subLabelStyle副标题文本样式。 LabelStyle
    itemGap0主副标题之间的间距。
    location标题显示位置。 Location

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle, ISerieDataComponent, ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    参数默认版本描述
    showtrue是否显示提示框组件。
    type提示框指示器类型。
    Tooltip.Type:
    - Line: 直线指示器
    - Shadow: 阴影指示器
    - None: 无指示器
    - Cross: 十字准星指示器。坐标轴显示Label和交叉线。
    - Auto: 根据serie的类型自动选择显示指示器。
    trigger触发类型。
    Tooltip.Trigger:
    - Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    - Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    - None: 什么都不触发。
    - Auto: 根据serie的类型自动选择触发类型。
    triggerOnv3.11.0触发条件。
    Tooltip.TriggerOn:
    - MouseMove: 鼠标移动时触发。
    - Click: 鼠标点击时触发。
    positionv3.3.0显示位置类型。
    Tooltip.Position:
    - Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    - Custom: 自定义。完全自定义显示位置(x,y)。
    - FixedX: 只固定坐标X。Y跟随鼠标位置。
    - FixedY:
    itemFormatter提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用
    titleFormatter提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {y}为value所对应的y轴的类目值。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
    markerserie的符号标志。
    fixedWidth0固定宽度。比 minWidth 优先。
    fixedHeight0固定高度。比 minHeight 优先。
    minWidth0最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。
    minHeight0最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。
    numericFormatter标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式常见的格式:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:yyyy-MM-dd HH:mm:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    paddingLeftRight10左右边距。
    paddingTopBottom10上下边距。
    ignoreDataShowfalse是否显示忽略数据在tooltip上。
    ignoreDataDefaultContent被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。
    showContenttrue是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。
    alwayShowContentfalse是否触发后一直显示提示框浮层。
    offsetVector2(18f, -25f)提示框相对于鼠标位置的偏移。
    backgroundImage提示框的背景图片。
    backgroundType提示框的背景图片显示类型。
    backgroundColor提示框的背景颜色。
    borderWidth2f边框线宽。
    fixedX0f固定X位置的坐标。
    fixedY0.7f固定Y位置的坐标。
    titleHeight25f标题文本的高。
    itemHeight25f数据项文本的高。
    borderColorColor32(230, 230, 230, 255)边框颜色。
    lineStyle指示线样式。 LineStyle
    titleLabelStyle标题的文本样式。 LabelStyle
    contentLabelStyles内容部分的文本样式列表。和列一一对应。

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f指示线线宽。
    lineColor指示线颜色。
    areaColor区域指示的颜色。
    labelTextColor十字指示器坐标轴标签的文本颜色。
    labelBackgroundColor十字指示器坐标轴标签的背景颜色。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse

    ViewControl

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.11.0 开始支持

    3D视角控制组件。

    参数默认版本描述
    alpha90f视角在x-z平面的角度。
    beta55f视角在y-z平面的角度。

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    参数默认版本描述
    showtrue组件是否生效。
    showUIfalse是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。
    type组件类型。
    VisualMap.Type:
    - Continuous: 连续型。
    - Piecewise: 分段型。
    selectedMode选择模式。
    VisualMap.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    serieIndex0影响的serie索引。
    min0范围最小值
    max0范围最大值
    range指定手柄对应数值的位置。range 应在[min,max]范围内。
    text两端的文本,如 ['High', 'Low']
    textGap两端文字主体之间的距离,单位为px。
    splitNumber5对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。
    calculablefalse是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。
    realtimetrue拖拽时,是否实时更新。
    itemWidth20f图形的宽度,即颜色条的宽度。
    itemHeight140f图形的高度,即颜色条的高度。
    itemGap10f每个图元之间的间隔距离。
    borderWidth0边框线宽,单位px。
    dimension-1Starting at 1, the default is 0 to take the last dimension in data.
    autoMinMaxtrueAutomatically set min, Max value 自动设置min,max的值
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location组件显示的位置。 Location
    workOnLinetrue组件是否对LineChart的LineStyle有效。
    workOnAreafalse组件是否对LineChart的AreaStyle有效。
    outOfRange定义 在选中范围外 的视觉颜色。
    inRange分段式每一段的相关配置。

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    min范围最小值
    max范围最大值
    label文字描述
    color颜色

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    borderWidth边框线宽。
    borderColor边框颜色。
    backgroundColor背景颜色。
    triangeLen20f可视化组件的调节三角形边长。

    Wrapper<T>

    class in XCharts.Runtime

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    XAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    class in XCharts.Runtime

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    参数默认版本描述
    langLang
    font
    tMPFont
    fontSizeLv128一级字体大小。
    fontSizeLv224
    fontSizeLv320
    fontSizeLv418
    axisLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisLineWidth0.8f
    axisSplitLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisSplitLineWidth0.8f
    axisTickWidth0.8f
    axisTickLength5f
    gaugeAxisLineWidth15f
    gaugeAxisSplitLineWidth0.8f
    gaugeAxisSplitLineLength15f
    gaugeAxisTickWidth0.8f
    gaugeAxisTickLength5f
    tootipLineWidth0.8f
    dataZoomBorderWidth0.5f
    dataZoomDataLineWidth0.5f
    visualMapBorderWidth0f
    serieLineWidth1.8f
    serieLineSymbolSize5f
    serieScatterSymbolSize20f
    serieSelectedRate1.3f
    serieCandlestickBorderWidth1f
    editorShowAllListDatafalse
    maxPainter10
    lineSmoothStyle3f
    lineSmoothness2f
    lineSegmentDistance3f
    cicleSmoothness2f
    visualMapTriangeLen20f
    customThemes

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    YAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    ZAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/extra/index.html b/docs/v3.11.2/extra/index.html index c4b35ed8..97ed8a04 100644 --- a/docs/v3.11.2/extra/index.html +++ b/docs/v3.11.2/extra/index.html @@ -14,13 +14,13 @@ 扩展图表 | XCharts - - + +
    Version: v3.11.2

    扩展图表

    XCharts的扩展图表。

    支持的扩展图表

    扩展图表如何导入到XCharts-Demo

    Pie3DChart 为例:

    1. 购买图表:购买扩展图表后,Github找到仓库 XCharts-Pie3DChart(私有仓库,购买后加入Team才可见)
    2. 下载图表:选择和XCharts最接近的版本
    3. 导入图表:将下载好的XCharts-Pie3DChart目录覆盖到XCharts-Demo项目中的Packages/XCharts-Pie3DChart
    4. 下载图表Demo:Github找到仓库 XCharts-Pie3DChart-Demo并下载
    5. 导入图表Demo:将下载好的XCharts-Pie3DChart-Demo目录覆盖到XCharts-Demo项目中的Assets/XChartsExtensionDemo/XCharts-Pie3DChart-Demo

    扩展图表如何导入自己的项目中

    Pie3DChart 为例:

    1. 先确保项目中已导入XCharts
    2. 再导入XCharts-Pie3DChart即可,不需要导入XCharts-Pie3DChart-Demo(如果要导入的话需要Unity版本接近2019.4.39f1)
    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/faq/index.html b/docs/v3.11.2/faq/index.html index de547033..b139eef4 100644 --- a/docs/v3.11.2/faq/index.html +++ b/docs/v3.11.2/faq/index.html @@ -14,8 +14,8 @@ 常见问题 | XCharts - - + +
    @@ -54,7 +54,7 @@ FAQ 33:折线图如何两边不留空白而从0坐标开始显示?
    FAQ 34:如何设置部分Serie不显示Tooltip?

    如何调整坐标轴与背景的边距

    调整Grid组件,可调整上下左右边距。

    如何让初始动画重新播放

    调用chart.AnimationReset()接口。

    如何自定义折线图饼图的颜色

    通过ThemecolorPalette调整,或者部分Serie下的LineStyleItemStyle

    如何给坐标轴上的文本加上单位

    通过formatternumericFormatter参数,在LegendAxisAxisLabelTooltopSerieLabel都提供该参数的配置。

    如何让柱形图的柱子堆叠显示

    设置Serie下的stackstack相同的serie会堆叠显示在一个柱子上。

    如何让柱形图的柱子同柱但不重叠

    设置Serie下的barGap-1stack为空。

    如何调整柱形图的柱子宽度和间距

    调整Serie下的barWidthbarGap,多个serie时最后一个seriebarWidthbarGap有效。

    如何调整柱形图单个柱子的颜色

    可通过调整单个Data下的ItemStyle调整,也可以通过两个serie同柱不堆叠来实现,通过设置数据项为0来达到类似效果。

    如何调整图表的对齐方式

    调整RectTransform的锚点,和UGUI的其他组件的用法一致。

    可以显示超过1000以上的大数据吗

    可以。但UGUI对单个Graphic限制65000个顶点,所以太多的数据不一定能显示完全。可通过设置采样距离sampleDist开启采样简化过密曲线。也可以通过设置一些参数来减少图表的顶点数有助于显示更多数据。如缩小图表的尺寸,关闭或减少坐标轴的客户端绘制,关闭Seriesymbollabel显示等。折线图的普通线图Normal比平滑线图Smooth占用顶点数更少。1.5.0以上版本可以设置largelargeThreshold参数来开启性能模式。

    折线图可以画虚线点线点划线吗

    可以。通过Serie下的lineType选择线条样式。当要显示的数据过多(成千以上)数据间过密时建议使用Normal或者Step样式。

    如何限定y轴的值范围

    设置Axis下的minMaxTypeCustom,自定义minmax

    如何自定义数值轴刻度大小

    默认时通过Axis下的splitNumer进行自动划分。也可以设置interval自定义刻度大小。

    如何在数据项顶上显示文本

    通过设置Serie下的Label。3.0版本需要先添加LabelStyle组件。

    如何给数据项自定义图标

    通过设置Seriedata下的数据项可单独设置icon相关参数。

    锯齿太严重如何让图表更顺滑

    开启抗锯齿设置(在Unity里设置)。调整UI渲染模式为Camera模式,开启MSAA,设置4倍或更高抗锯齿。

    为什么鼠标移上图表tooltip不显示

    确认Tooltip是否开启;确认父节点是否关闭了鼠标事件。

    如何取消tooltip的竖线

    设置TooltiptypeNone。或者调整lineStyle的参数。

    如何自定义tooltip的显示内容

    自定义总的内容可以通过Tooltipformatter。如果只是想调整所有的serie的显示格式可以用itemFormattertitleFormatter结合。如果想每个serie的显示格式不一样,可以定制serieitemStyle里的tooltipFormatter。具体的用法请查阅XCharts配置项手册

    如何让y轴显示多位小数

    设置Axis下的AxisLabel中的formatter{value:f1}{value:f2}1.5.0及以上版本通过numericFormatter设置。

    如何用代码动态更新数据

    请查阅Example下的代码,Example13_LineSimple.cs就是一个简单添加数据构建折线图的例子,其他Demo也都是通过代码控制不同的组件实现不同的功能,相关API请查看文档:XChartsAPI接口

    如何显示图例为什么有时候图例无法显示

    首先,你的serie里的name需有值不为空。然后开启Legend显示,里面的data可以默认为空,表示显示所有的图例。如果你只想显示部分serie的图例,在data中填入要显示的图例的name即可。如果data中的值都不是系列的name,那图例就不会显示。

    如何做成预设

    做成prefab前,执行一下Rebuild Chart Object重新刷新节点,避免有冗余的节点存在。

    如何在图表上画点画线等自定义内容

    XCharts有自定义绘制回调onCustomDraw,具体可参考Example12_CustomDrawing.cs

    如何实现心电图类似的数据移动效果

    参考Example目录下的Example_Dynamic.cs。主要通过设置maxCache参数实现。axisserie都设置相同的maxCachemaxCache可固定数据个数,当数据超过设定时会先删除第一个在添加新数据,实现数据移动效果。

    如何使用背景组件有什么条件限制

    设置background组件的showtrue

    区域折线图在用半透明颜色时有时候会一条叠加的线

    这是区域折线图绘制的bug。可以用浅的不透的颜色替代半透明颜色。

    mesh_cannot_have_more_than_65000_vertices

    这是UGUI对单个Graphic的顶点数限制。XCharts是将图形绘制在单个Graphic上,所以也会有这个限制。解决的办法可以参考:FAQ 10:可以显示超过1000以上的大数据吗?

    为什么serie里设置的参数运行后又被重置了

    检测下代码里是否调用了RemoveData()并重新添加Serie了。如果想保留Serie的配置可以只ClearData(),然后重新添加数据。

    如何修改serie的symbol的颜色

    Symbol 的颜色是使用的 ItemStylecolor

    导入或更新xcharts时tmp报错怎么办

    XCharts默认时不开启TMP,所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    支持空数据吗如何实现折线图断开的效果

    Seriedatadouble类型,所以无法表示空数据。可通过开启Serieignore和指定ignoreValue来达到空数据的效果。也可以每个SerieData设置ignore参数。忽略数据后断开还是连接可设置ignoreLineBreak参数。

    xcharts2升级xcharts3时常见的问题有哪些

    1. 'XCharts.Runtime.XChartsMgr' is missing the class attribute 'ExtensionOfNativeClass'! 3.x版本时不需要挂载XChartsMgr,直接删掉场景上的_xcharts_节点即可。

    折线图如何两边不留空白而从0坐标开始显示

    设置X轴的boundaryGap参数。

    如何设置部分serie不显示tooltip

    serieitemStyleitemFormatter设置为-可以忽略tooltip

    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/funnel/index.html b/docs/v3.11.2/funnel/index.html index 534a1ae8..8b48be6b 100644 --- a/docs/v3.11.2/funnel/index.html +++ b/docs/v3.11.2/funnel/index.html @@ -14,14 +14,14 @@ FunnelChart 漏斗图 | XCharts - - + +
    Version: v3.11.2

    FunnelChart 漏斗图

    XCharts的付费扩展图表 - 漏斗图。

    截图

    Funnel01Funnel02Funnel03Funnel04Funnel05
    Funnel07Funnel08Funnel09

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-FunnelChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    FunnelChart

    class in XCharts.Runtime.Funnels / 继承自: BaseChart

    漏斗图。适用于流程流量分析。

    API版本描述
    DefaultHorizonalFunnelChart()public void DefaultHorizonalFunnelChart()
    生成默认的横向漏斗图。

    配置项手册

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    参数默认版本描述
    rectEndv3.3.0是否最后以矩形结束。默认false以三角形结束。
    dynamicHeightv3.3.0是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。
    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/gantt/index.html b/docs/v3.11.2/gantt/index.html index 3643b47e..2e846ef0 100644 --- a/docs/v3.11.2/gantt/index.html +++ b/docs/v3.11.2/gantt/index.html @@ -14,14 +14,14 @@ GanttChart 甘特图 | XCharts - - + +
    Version: v3.11.2

    GanttChart 甘特图

    XCharts付费扩展图表 - 甘特图。

    截图

    Gantt01Gantt02Gantt03Gantt04Gantt05
    Gantt07

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-GanttChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Gantt的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.08.11) 增加鼠标事件支持

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    API版本描述
    AddDefaultCategorySerie()public static void AddDefaultCategorySerie(BaseChart chart, string serieName)
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    AddDefaultValueSerie()public static void AddDefaultValueSerie(BaseChart chart, string serieName)

    GanttChart

    class in XCharts.Runtime.Gantts / 继承自: BaseChart

    API版本描述
    DefaultCategoryAxisGanttChart()public void DefaultCategoryAxisGanttChart()
    生成默认的类目轴甘特图。
    DefaultMonomialGroupGanttChart()public void DefaultMonomialGroupGanttChart()
    生成默认的单维度分组甘特图。
    DefaultMultinomialGroupGanttChart()public void DefaultMultinomialGroupGanttChart()
    生成默认的多维度分组甘特图。
    DefaultValueAxisGanttChart()public void DefaultValueAxisGanttChart()
    生成默认的数值轴甘特图。
    GetSeriesMinMaxValue()public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    InitAxisRuntimeData()public override void InitAxisRuntimeData(Axis axis)
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    配置项手册

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    参数默认版本描述
    disableDrag

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    参数默认版本描述
    showtrue
    ganttType甘特图类型。
    GanttType:
    - Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    - Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。
    inverttrue
    dragEnabletrue是否可以拖拽甘特图。
    dragSensitivity1f拖拽的灵敏度。
    dragRangeMin0拖拽最小值限制。
    dragRangeMax0拖拽最大值限制。
    autoAdsorbAlignlinetrue拖拽结束后是否自动吸附到对齐线。
    alignlineDataIndex1显示对齐线的数据项索引。
    showAlignlineRange10f显示对齐线的范围。
    aliginLine对齐线样式。
    splitArea
    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/gauge/index.html b/docs/v3.11.2/gauge/index.html index 5b89082f..86619a72 100644 --- a/docs/v3.11.2/gauge/index.html +++ b/docs/v3.11.2/gauge/index.html @@ -14,14 +14,14 @@ GaugeChart 仪表盘 | XCharts - - + +
    Version: v3.11.2

    GaugeChart 仪表盘

    XCharts付费扩展图表 - 仪表盘。

    截图

    Gauge01Gauge02Gauge03Gauge04Gauge05
    Gauge07Gauge08Gauge09Gauge10Gauge11
    Gauge12Gauge13Gauge14

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-GaugeChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Gauge的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.17) 增加GaugerangeDataMode可设置是否使用范围数据模式
    • (2023.03.17) 增加Gaugeloop可设置是否循环数据,用于时钟甘特图
    • (2023.03.17) 增加GaugePointervalue可设置指针位置
    • (2023.03.17) 增加Clock时钟仪表盘支持
    • (2023.03.13) 增加GaugePointernowTime可设置指针指向当前时间
    • (2023.03.13) 增加GaugePointervalue可设置当前指针位置
    • (2023.03.13) 增加Clock类型的甘特图支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.10.05) 增加GaugeAxisLinestageGradient支持设置阶段渐变色过渡

    v3.3.0

    • (2022.09.28) 发布v3.3.0版本
    • (2022.08.26) 修复Pointer在普通模式下不显示的问题
    • (2022.08.25) 增加label颜色跟随数值变化的支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.15) 支持渐变

    API

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    仪表盘系列数据。

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    GetPointerColor()public Color32 GetPointerColor(ThemeStyle theme, int colorIndex, float angle, Color32 dataColor)

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    API版本描述
    GetPosition()public Vector3 GetPosition(Vector3 center, float radius)

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    API版本描述
    AddLabelObject()public void AddLabelObject(ChartLabel label)
    ClearLabelObject()public void ClearLabelObject()
    GaugeAxis()public GaugeAxis()
    GetLabelObject()public ChartLabel GetLabelObject(int index)
    GetStageColor()public Color32 GetStageColor(float rate)
    GetStageColorByAngle()public Color32 GetStageColorByAngle(float angle)
    SetLabelObjectActive()public void SetLabelObjectActive(bool flag)
    SetLabelObjectPosition()public void SetLabelObjectPosition(int index, Vector3 pos)
    SetLabelObjectText()public void SetLabelObjectText(int index, string text)

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    API版本描述
    GaugeAxisLine()public GaugeAxisLine(bool show) : base(show)

    GaugeChart

    class in XCharts.Runtime.Gauges / 继承自: BaseChart

    仪表盘。

    API版本描述
    DefaultBarometerGaugeChart()public void DefaultBarometerGaugeChart()
    生成气压计仪表盘。
    DefaultClockGaugeChart()public void DefaultClockGaugeChart()
    生成时钟仪表盘。
    DefaultMultipleGaugeChart()public void DefaultMultipleGaugeChart()
    生成多仪表盘。
    DefaultProgressGaugeChart()public void DefaultProgressGaugeChart()
    生成进度仪表盘。
    DefaultRangeClockGaugeChart()public void DefaultRangeClockGaugeChart()
    DefaultSectionGaugeChart()public void DefaultSectionGaugeChart()
    生成分段仪表盘。
    UpdateClockTime()public void UpdateClockTime()
    更新时钟时间。
    UpdateClockTime()public void UpdateClockTime(double hour, double minute, double second)
    更新时钟时间。
    UpdatePointerValue()public void UpdatePointerValue(double value)
    更新指针值。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    配置项手册

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    仪表盘系列数据。

    参数默认版本描述
    rangeDataModefalsev3.6.0数值是否为范围数据。启用该模式后,data中的每个值都是一个数组,数组中的第一个值为起始值,第二个值为结束值。指针只有一个,数据绘制为环形。
    loopfalsev3.6.0数值是否循环。可用在钟表图。
    gaugeAxis仪表盘轴线。 GaugeAxis
    gaugePointer仪表盘指针。 GaugePointer
    gaugeAnchor仪表盘指针固定点。 GaugeAnchor

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    参数默认版本描述
    showtrue是否显示指针固定点。
    showAbovetrue固定点是否显示在指针上面。
    type标记类型。
    size6标记的大小。
    gap0图形标记和线条的间隙距离。
    image自定义的标记图形。
    imageType
    offsetCenterVector2(0, 0)相对于中心的偏移位置。
    itemStyle图形样式。

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    参数默认版本描述
    showtrue
    type
    GaugeAxisType:
    - None: 仪表盘类型
    - Section: 分段
    - Progress: 进度
    overlaptrue
    distance
    axisLine仪表盘轴线样式。 GaugeAxisLine
    splitLine分割线。
    axisTick刻度。
    axisLabel文本标签。
    axisLabelText自定义Label的内容。

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    参数默认版本描述
    backgroundColorColor32(230, 235, 248, 255)进度条背景颜色。
    stageColor阶段颜色。
    stageGradientv3.4.0阶段颜色是否渐变过渡。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    参数默认版本描述
    showtrue是否显示指针。
    length0.6f指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backLength0.05f指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backExtraLength0.05f指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topLeftLength0f指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topRightLength0f指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomLeftLength0.025f指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomRightLength0.025f指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    distance
    roundCap
    autoColortrue
    color
    toColor
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    valuev3.6.0指针的值。当为时钟仪表盘时,可通过指定value值来控制指针的位置。
    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/graph/index.html b/docs/v3.11.2/graph/index.html index 437010cb..464b833d 100644 --- a/docs/v3.11.2/graph/index.html +++ b/docs/v3.11.2/graph/index.html @@ -14,14 +14,14 @@ GraphChart 关系图 | XCharts - - + +
    Version: v3.11.2

    GraphChart 关系图

    XCharts付费扩展图表 - 关系图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.05.15) 增加Graph关系图

    API

    Force

    class in XCharts.Runtime.Graphs / 继承自: ChildComponent

    图表的力引导布局。

    Graph

    class in XCharts.Runtime.Graphs / 继承自: Serie

    关系图,用于展现节点以及节点之间的关系数据。

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    AddLink()public override SerieDataLink AddLink(string sourceId, string targetId, double value = 0)
    AddSerieData()public override void AddSerieData(SerieData serieData)
    ClearData()public override void ClearData()
    清空所有数据
    GetLevelItemStyle()public ItemStyle GetLevelItemStyle(int depth)
    GetLevelLabel()public LabelStyle GetLevelLabel(int depth)
    GetLevelLineStyle()public LineStyle GetLevelLineStyle(int depth)

    GraphChart

    class in XCharts.Runtime.Graphs / 继承自: BaseChart

    配置项手册

    Force

    class in XCharts.Runtime.Graphs / 继承自: ChildComponent

    图表的力引导布局。

    参数默认版本描述
    showtrue
    stepFactor1f力引导布局的步进因子。
    stepCount1
    friction0.6f节点移动的摩擦因子,该值越大节点移动越慢。
    edgeLength80边的两个节点之间的距离,这个距离也会受 repulsion 影响。
    centerDataIndex-1中心节点数据的索引。
    iterations200力引导布局的迭代次数。

    Graph

    class in XCharts.Runtime.Graphs / 继承自: Serie

    关系图,用于展现节点以及节点之间的关系数据。

    参数默认版本描述
    levelStyle层级样式。
    force图表的力引导布局。 Force
    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/inputsystem/index.html b/docs/v3.11.2/inputsystem/index.html index 93ba2135..2543b9f9 100644 --- a/docs/v3.11.2/inputsystem/index.html +++ b/docs/v3.11.2/inputsystem/index.html @@ -14,13 +14,13 @@ 切换到新的输入系统Input System | XCharts - - + +
    Version: v3.11.2

    教程:切换到新的输入系统Input System

    1. 按图示修改项目配置中输入模式为 Input System

    Project Settings

    2. 使用 Unity Package Manager 安装 Input System

    UPM

    3. 选中场景中 EventSystem 游戏对象,更换输入模组

    Input Module

    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/lang/articles/ui/ui_statistic/index.html b/docs/v3.11.2/lang/articles/ui/ui_statistic/index.html index fbb4960a..cfcd2e0c 100644 --- a/docs/v3.11.2/lang/articles/ui/ui_statistic/index.html +++ b/docs/v3.11.2/lang/articles/ui/ui_statistic/index.html @@ -14,13 +14,13 @@ UIStatistic 统计数值 | XCharts - - + +
    Version: v3.11.2

    UIStatistic 统计数值

    statistic

    统计数值组件。用于展示统计数值。

    何时使用:

    • 当需要突出某个或某组数字时。
    • 当需要展示带描述的统计类数据时使用。

    支持的功能有:

    • 常规数值
    • 倒计时
    • 添加图标
    • 变更动画
    • 事件回调
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/lang/articles/ui/ui_table/index.html b/docs/v3.11.2/lang/articles/ui/ui_table/index.html index f3c0724c..d0deeefc 100644 --- a/docs/v3.11.2/lang/articles/ui/ui_table/index.html +++ b/docs/v3.11.2/lang/articles/ui/ui_table/index.html @@ -14,13 +14,13 @@ UITable 表格 | XCharts - - + +
    Version: v3.11.2

    UITable 表格

    table

    表格组件。可用于展示行列数据。

    支持的功能有:

    • 显示或隐藏列表头
    • 显示或隐藏行表头
    • 任意调整行列宽高
    • 支持行号
    • 支持选中
    • 支持分割线
    • 支持滚动和拖拽
    • 支持滚动条
    • 支持图标图片
    • 支持轮播
    • 排序(暂不支持)
    • 分页(暂不支持)
    • 查找(暂不支持)
    • 过滤(暂不支持)
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/line3d/index.html b/docs/v3.11.2/line3d/index.html index f1abd937..4f848367 100644 --- a/docs/v3.11.2/line3d/index.html +++ b/docs/v3.11.2/line3d/index.html @@ -14,14 +14,14 @@ Line3DChart 3D折线图 | XCharts - - + +
    Version: v3.11.2

    Line3DChart 3D折线图

    XCharts付费扩展图表 - 3D折线图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.05.15) 增加Line3D3D折线图

    API

    Line3D

    class in XCharts.Runtime.Line3Ds / 继承自: Serie,INeedSerieContainer

    关系图,用于展现节点以及节点之间的关系数据。

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    Line3DChart

    class in XCharts.Runtime.Line3Ds / 继承自: BaseChart

    Line3DHelper

    class in XCharts.Runtime.Line3Ds

    配置项手册

    Line3D

    class in XCharts.Runtime.Line3Ds / 继承自: Serie, INeedSerieContainer

    关系图,用于展现节点以及节点之间的关系数据。

    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/liquid/index.html b/docs/v3.11.2/liquid/index.html index 34a88283..01b42619 100644 --- a/docs/v3.11.2/liquid/index.html +++ b/docs/v3.11.2/liquid/index.html @@ -14,14 +14,14 @@ LiquidChart 水位图 | XCharts - - + +
    Version: v3.11.2

    LiquidChart 水位图

    XCharts的付费扩展图表 - 水位图。

    截图

    Liquid01Liquid02Liquid03Liquid04Liquid05
    Liquid07Liquid08

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-LiquidChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Liquid的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    LiquidChart

    class in XCharts.Runtime.Liquids / 继承自: BaseChart

    水位图

    API版本描述
    DefaultCapsuleLiquidChart()public void DefaultCapsuleLiquidChart()
    generate default capsule liquid chart. 生成默认的胶囊形水位图。
    DefaultRectLiquidChart()public void DefaultRectLiquidChart()
    generate default rect liquid chart. 生成默认的矩形水位图。
    DefaultRoundRectLiquidChart()public void DefaultRoundRectLiquidChart()
    generate default round rect liquid chart. 生成默认的圆角矩形水位图。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent,ISerieContainer,IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    API版本描述
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    VesselContext

    class in XCharts.Runtime.Liquids / 继承自: MainComponentContext

    配置项手册

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    waveHeight10f波高。
    waveLength20f波长。为0-1小数时指直线的百分比。
    waveSpeed5f波速。正数时左移,负数时右移。
    waveOffset0f波偏移。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent, ISerieContainer, IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    参数默认版本描述
    showtrue是否显示容器组件。 [defaut: true]
    shape容器形状。 [default: Shape.Circle]
    Vessel.Shape:
    - Circle: 圆形
    - Rect: 正方形。
    - Triangle: 三角形。
    - Diamond: 菱形。
    shapeWidth5f容器厚度。 [defaut: 5f]
    gap5f间隙。容器和液体的间隙。 [defaut: 10f]
    colorColor32(70, 70, 240, 255)容器颜色。默认和serie一致。
    backgroundColor背景色,默认透明。 [default: Color.clear]
    autoColortrue是否自动颜色。为true时颜色会和serie一致。 [default: true]
    centerWhen value between 0 and 1 represents a percentage relative to the chart.
    radius0.35fWhen value between 0 and 1 represents a percentage relative to the chart.
    smoothness1f水波平滑度。 [default: 1f]
    width0.5fWhen value between 0 and 1 represents a percentage relative to the chart.
    height0.7fWhen value between 0 and 1 represents a percentage relative to the chart.
    borderWidth0f内壁边框。
    borderColorColor32(70, 70, 240, 255)容器内壁边框颜色。默认和serie一致。
    cornerRadius容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。
    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/pictorialbar/index.html b/docs/v3.11.2/pictorialbar/index.html index 4886042a..cd7d4ddd 100644 --- a/docs/v3.11.2/pictorialbar/index.html +++ b/docs/v3.11.2/pictorialbar/index.html @@ -14,14 +14,14 @@ PictorialBarChart 象形柱图 | XCharts - - + +
    Version: v3.11.2

    PictorialBarChart 象形柱图

    XCharts付费扩展图表 - 象形柱图。

    截图

    PictorialBar01PictorialBar02PictorialBar03PictorialBar04

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-PictorialBarChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2023.12.19) 调整Border相关代码

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.1

    • (2023.09.26) 修复PictorialBar动态添加数据时不刷新的问题

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static PictorialBar ConvertSerie(Serie serie)

    PictorialBarChart

    class in XCharts.Runtime.PictorialBars / 继承自: BaseChart

    配置项手册

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie, INeedSerieContainer

    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/pie3d/index.html b/docs/v3.11.2/pie3d/index.html index fd26d15e..e72fdc91 100644 --- a/docs/v3.11.2/pie3d/index.html +++ b/docs/v3.11.2/pie3d/index.html @@ -14,14 +14,14 @@ Pie3DChart 3D饼图 | XCharts - - + +
    Version: v3.11.2

    Pie3DChart 3D饼图

    XCharts的付费扩展图表 - 3D饼图。

    截图

    Pie3D01Pie3D02Pie3D03Pie3D04Pie3D05
    Pie3D07Pie3D08

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-Pie3DChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.1

    • (2024.02.28) 修复Pie3D在动画过程中可能出现绘制异常的问题

    v3.10.0

    • (2024.01.16) 增加XCharts上的更多菜单栏快捷方式,一键创建多种3D饼图
    • (2023.12.17) 增加Pie3DStyledrawSplitSide设置是否绘制分割面
    • (2023.12.16) 增加Border描边支持
    • (2023.12.15) 增加Serielabel可指示在边缘的支持
    • (2023.12.10) 增加SerieminShowLabel可隐藏小于指定值的label

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.11.30) 优化SerieData只有一个时不绘制侧边
    • (2023.11.30) 增加SerieData可单独添加Label的支持

    v3.8.1

    • (2023.09.14) 修复SerieData的数据为全为0时图表显示异常的问题
    • (2023.09.08) 增加SerieDataradius可自定义各饼块高度的支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.2

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.1

    • (2023.05.21) 增加avoidLabelOverlap支持

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.3.0

    • (2022.09.02) 增加onPointerEnterPie回调支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    3D饼图系列。

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Pie3D ConvertSerie(Serie serie)

    Pie3DChart

    class in XCharts.Runtime.Pie3Ds / 继承自: BaseChart

    3D饼图。

    API版本描述
    DefaultAutoHeightPie3DChart()public void DefaultAutoHeightPie3DChart()
    生成默认3D自动高度饼图。
    DefaultDonutPie3DChart()public void DefaultDonutPie3DChart()
    生成默认3D甜甜圈饼图。
    DefaultEllipsePie3DChart()public void DefaultEllipsePie3DChart()
    生成默认2D椭圆饼图。

    Pie3DSlice

    class in XCharts.Runtime.Pie3Ds

    3D饼图的切块。

    API版本描述
    Contains()public bool Contains(float angle)
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    IsInSidePolygon()public bool IsInSidePolygon(Vector2 p)
    IsInStartOrEndSide()public bool IsInStartOrEndSide(Vector2 p)
    IsInTopPolygon()public bool IsInTopPolygon(Vector2 p)
    Pie3DSlice()public Pie3DSlice()
    UpdateValue()public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig)

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    配置项手册

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    3D饼图系列。

    参数默认版本描述
    pie3DStylePie3DStyle

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    参数默认版本描述
    showtrue
    ellipseMinorAxis0.65f椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。
    pieMaxHeight20f饼图厚度。
    pieAutoHeightfalse是否自动根据比例计算厚度。
    selectedOffsetVector2(0.1f, 0.5f)被选中状态的饼图块的额外偏移。
    peripherySideColorRate0.8f饼图切块的侧面颜色。
    startSideColorRate0.7f饼图切块的起始面颜色(顺时针)。
    endSideColorRate0.65f饼图切块的结束面颜色(顺时针)。
    drawSplitSidetruev3.10.0是否绘制分割面。当pieAutoHeight为true时,该值无效。
    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/pyramid/index.html b/docs/v3.11.2/pyramid/index.html index 45e51b4d..6386bf73 100644 --- a/docs/v3.11.2/pyramid/index.html +++ b/docs/v3.11.2/pyramid/index.html @@ -14,14 +14,14 @@ PyramidChart 金字塔 | XCharts - - + +
    Version: v3.11.2

    PyramidChart 金字塔

    XCharts付费扩展图表 - 金字塔。

    截图

    Pyramid01Pyramid02Pyramid03

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-PyramidChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Pyramid的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.21) 增加Tooltip支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    PyramidChart

    class in XCharts.Runtime.Pyramids / 继承自: BaseChart

    API版本描述
    Default2DPyramidChart()public void Default2DPyramidChart()
    生成默认的2D金字塔图。

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    配置项手册

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    参数默认版本描述
    pyramidStylePyramidStyle

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    3Dtrue
    drawToptrue
    bottomPointRate0.5f3D模式下,底部中点占金字塔宽度的比例
    leftPointRate0.1f3D模式下,底部左边点占金字塔高度的比例
    rightPointRate0.1f3D模式下,底部右边点占金字塔高度的比例
    leftColorOpacity0.9f3D模式下,金字塔左边的颜色透明度
    rightColorOpacity0.7f3D模式下,金字塔右边的颜色透明度
    topColorOpacity0.99f3D模式下,金字塔顶部的颜色透明度
    labelLineMargin10fLabel标签距离右边的距离
    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/sankey/index.html b/docs/v3.11.2/sankey/index.html index 48635a87..b1664025 100644 --- a/docs/v3.11.2/sankey/index.html +++ b/docs/v3.11.2/sankey/index.html @@ -14,14 +14,14 @@ SankeyChart 桑基图 | XCharts - - + +
    Version: v3.11.2

    SankeyChart 桑基图

    XCharts付费扩展图表 - 桑基图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.03.20) 增加Sankey的展开和折叠功能支持

    v3.10.0

    API

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    GetLevelItemStyle()public ItemStyle GetLevelItemStyle(int depth)
    GetLevelLabel()public LabelStyle GetLevelLabel(int depth)
    GetLevelLineStyle()public LineStyle GetLevelLineStyle(int depth)

    SankeyChart

    class in XCharts.Runtime.Sankeys / 继承自: BaseChart

    配置项手册

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    参数默认版本描述
    nodeAlign节点对齐方式。
    Sankey.NodeAlign:
    - Top: 顶部对齐
    - Center: 居中对齐
    - Bottom: 底部对齐
    nodeWidth20节点的宽度。
    nodeGap8节点的间距。
    draggable是否可拖拽。
    curveness0.5f线条的弯曲程度。
    collapsefalsev3.11.0是否开启折叠。
    collapseMutextruev3.11.0是否开启折叠互斥。
    collapseLevel-1v3.11.0折叠限制的层级。层级从0开始,-1表示不限制。
    defaultExpandDataIndex-1v3.11.0默认展开的数据索引。
    lineGradienttruev3.11.0是否开启线条渐变。开启后lineStyle的color将不生效。
    levelStyle层级样式。
    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/support/index.html b/docs/v3.11.2/support/index.html index 1ff9a3cd..3bca44ac 100644 --- a/docs/v3.11.2/support/index.html +++ b/docs/v3.11.2/support/index.html @@ -14,8 +14,8 @@ 订阅服务 | XCharts - - + +
    @@ -26,7 +26,7 @@ 增加席位 企业VIP支持增加席位,每个席位298¥一年。
    对公转账 有开专票需求时,可用企业银行帐号进行公对公转账支付。二维码支付不支持开专票,只能开普票。发票默认都是电子发票。
    *登记资料 订阅成功后,需提供手机号和Github帐号进行登记,手机号用于确认归属,Github帐号用于加入Github的Team组织,下载源码。

    购买扩展图表

    扩展图表为另付费购买图表,只对订阅了VIP服务的用户开放购买。对于个人SVIP企业VIP的订阅用户,所有扩展图表仓库在订阅期间可全部免费使用,不用再单独购买。

    对所有已购买的扩展图表,源码可永久持有但不能传播,并获得持续一年的更新支持和技术服务,一年后如需更新支持等服务,可再继续订阅VIP服务。

    编号扩展图表扩展图表价格
    101象形柱图PictorialBarChart98¥
    102漏斗图FunnelChart98¥
    1033D金字塔PyramidChart98¥
    104树形矩图TreemapChart98¥
    105桑基图SankeyChart98¥
    2013D柱图Bar3DChart198¥
    2023D饼图Pie3DChart198¥
    203甘特图GanttChart198¥
    204仪表盘GaugeChart198¥
    205水位图LiquidChart198¥
    2063D折线图Line3DChart198¥
    207关系图GraphChart198¥

    扩展图表的在线效果图也可以查看WebGL在线Demo

    捐助支持

    如果这个项目对您有帮助,请右上方点 Star 予以支持!也欢迎扫后面的二维码进行任意金额的捐助,XCharts需要您的支持和帮助。

    二维码

    如果看不到二维码图片,可以加Q联系XCharts技术支持:3525422251或邮件monitor1394@gmail.com咨询。

    alipay-qrcode wechat-qrcode

    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/treemap/index.html b/docs/v3.11.2/treemap/index.html index 18ad3574..11cef73f 100644 --- a/docs/v3.11.2/treemap/index.html +++ b/docs/v3.11.2/treemap/index.html @@ -14,14 +14,14 @@ TreemapChart 矩形树图 | XCharts - - + +
    Version: v3.11.2

    TreemapChart 矩形树图

    XCharts付费扩展图表 - 矩形树图。

    截图

    Treemap01Treemap02Treemap03Treemap04

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-TreemapChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.2

    • (2023.11.08) 修复ItemStyle设置borderColor后边框绘制异常的问题

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    CanGoUpALevel()public bool CanGoUpALevel()
    是否可以返回上一层
    GetLevelItemStyle()public ItemStyle GetLevelItemStyle(int level)
    GetLevelLabel()public LabelStyle GetLevelLabel(int level)
    GetLevelUpperLabel()public LabelStyle GetLevelUpperLabel(int level)
    GoUpALevel()public void GoUpALevel()
    返回上一层
    OnDataUpdate()public override void OnDataUpdate()
    SetSelectedSerieData()public bool SetSelectedSerieData(string serieDataName)
    设置选中(要展示的)的数据名
    SetSelectedSerieData()public void SetSelectedSerieData(SerieData serieData)

    TreemapChart

    class in XCharts.Runtime.Treemaps / 继承自: BaseChart

    配置项手册

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    参数默认版本描述
    leafDepth0默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。
    visualDimension0用于计算占比的数据维数。
    drillDownIcon当节点可以下钻时的提示符,只能是字符。默认为▶
    customGoUpLevelButton自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。
    upperLabel父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。
    levelStyle
    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/tutorial01/index.html b/docs/v3.11.2/tutorial01/index.html index 5a9fb925..27fd784e 100644 --- a/docs/v3.11.2/tutorial01/index.html +++ b/docs/v3.11.2/tutorial01/index.html @@ -14,8 +14,8 @@ 入门教程:5分钟上手 XCharts 3.0 | XCharts - - + +
    @@ -23,7 +23,7 @@ linechart2

    添加其他组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件按需额外添加。比如,需要给折线图区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent linechart3

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加Component。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent linechart4

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个至几十个不等的可配置参数,以支持各种灵活而复杂的功能。

    首次使用XCharts,可在 Inspector 视图添加各种图表,给图表添加或调整里面组件,Game 视图会实时反馈调整后的效果,以熟悉各种组件的使用。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是配置和数据来驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不需要去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时还原回来。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    通常颜色值为0000时表示用主题默认颜色,配置为0或null时表示用主题默认配置。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.EnsureChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.EnsureChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.EnsureChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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;

    清空默认数据,添加Line类型的Serie用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    用代码改图表参数

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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;

    注:低版本没有EnsureChartComponent()接口时,用GetOrAddChartComponent()

    改Serie的参数

    对于新添加的Serie:

    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:

    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添加额外组件:

    serie.EnsureComponent<AreaStyle>();

    var label = serie1.EnsureComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/tutorial02/index.html b/docs/v3.11.2/tutorial02/index.html index 2125facd..115d714b 100644 --- a/docs/v3.11.2/tutorial02/index.html +++ b/docs/v3.11.2/tutorial02/index.html @@ -14,13 +14,13 @@ 从文件或数据库读取数据显示图表 | XCharts - - + +
    Version: v3.11.2

    从文件或数据库读取数据显示图表

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.11.2/tutorial03/index.html b/docs/v3.11.2/tutorial03/index.html index 42c23f0e..5181890d 100644 --- a/docs/v3.11.2/tutorial03/index.html +++ b/docs/v3.11.2/tutorial03/index.html @@ -14,13 +14,13 @@ 心电图效果实现 | XCharts - - + + - - + + \ No newline at end of file diff --git a/docs/v3.11.2/ui/index.html b/docs/v3.11.2/ui/index.html index fc31498b..db11c73d 100644 --- a/docs/v3.11.2/ui/index.html +++ b/docs/v3.11.2/ui/index.html @@ -14,13 +14,13 @@ 扩展UI组件 | XCharts - - + +
    Version: v3.11.2

    扩展UI组件

    XCharts的扩展UI组件,VIP订阅用户专有。

    组件列表

    示例演示

    Demo仓库:XCharts-UI-Demo

    如何使用

    • 使用该仓库前先确保项目里已有对应版本的XCharts。
    • 下载本仓库放入Assets下或者通过Package Manager导入。

    更新日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.16) 增加UIImage图片组件
    • (2024.01.16) 优化Background组件,可设置圆角和边框
    • (2024.01.03) 增加UITablecarouselStylehoverPause
    • (2024.01.02) 增加UITablescrollStyleborderStyle
    • (2024.01.02) 增加UITablecolumnHeadStyleopaque
    • (2024.01.01) 调整UITableborder边框相关设置,用BorderStyle代替
    • (2023.12.22) 增加UITable的行边框

    v3.9.0

    • (2023.11.14) 增加UITableGetData()GetContent()接口
    • (2023.11.12) 增加UITableonTableClick点击表格回调
    • (2023.11.11) 重构UITableSeparatorStyle,可分开设置行列的分割线
    • (2023.11.05) 增加UITableColumnStyle,重构Column相关参数
    • (2023.11.05) 增加UITableRowStyle,重构Row相关参数
    • (2023.11.01) 增加UITableCarouselStyle轮播功能
    • (2023.11.01) 增加UITableAddColumn()UpdateColumn()接口
    • (2023.10.23) 修复UITable点击Rebuild Object异常的问题
    • (2023.10.23) 修复UITable尺寸变化时不刷新的问题
    • (2023.10.17) 修复UITable首次初始化异常的问题
    • (2023.10.17) 增加UITable的数据操作接口
    • (2023.10.17) 增加UITableRefreshTable()刷新接口

    v3.8.0

    • (2023.09.03) 发布v3.8.0版本
    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 增加UIStatistic
    • (2023.02.14) 增加UITable
    - - + + \ No newline at end of file diff --git a/docs/v3.5.0/about/index.html b/docs/v3.5.0/about/index.html index 0e55ea02..d871b7f2 100644 --- a/docs/v3.5.0/about/index.html +++ b/docs/v3.5.0/about/index.html @@ -14,8 +14,8 @@ 关于XCharts | XCharts - - + +
    @@ -30,7 +30,7 @@ 答:目前只支持在Unity平台使用。理论上任何支持UGUIUnity版本都能运行XCharts

  • 锯齿怎么解决?支持多大量级的数据?
    答:XCharts是基于UGUI实现的,所以UGUI中碰到的问题,在XCharts中也会存在。比如锯齿问题,比如Mesh顶点数超65535的问题。这两个问题的解决可参考问答16问答27
    由于Mesh65535顶点数的限制,目前XCharts的单条Line支持约2万的数据量,当然开启采样可以支持更多数据的绘制,但同时也会更消耗CPU。

  • Licenses

    • MIT License
    • 可免费商用,可二次开发
    • 扩展图表需单独购买授权

    日志

    其他

    • 邮箱:monitor1394@gmail.com
    • QQ群:XCharts交流群(202030963
    • VIP群:XCharts技术支持VIP群(867291970
    • 捐助、合作和技术支持:☞ 看这里
    - - + + \ No newline at end of file diff --git a/docs/v3.5.0/api/index.html b/docs/v3.5.0/api/index.html index 395b1da1..4f41b1e9 100644 --- a/docs/v3.5.0/api/index.html +++ b/docs/v3.5.0/api/index.html @@ -14,13 +14,13 @@ API手册 | XCharts - - + +
    Version: v3.5.0

    API手册

    所有类

    AnimationStyleHelperAxisContextAxisHandler<T>
    AxisHelperBarChartBaseChart
    BaseGraphCandlestickChartChartCached
    ChartConstChartDrawerChartHelper
    ChartLabelChartObjectCheckHelper
    ColorUtilComponentHandlerAttributeComponentHelper
    CoordOptionsAttributeDataZoomContextDataZoomHelper
    DateTimeUtilDefaultAnimationAttributeDefineSymbolsUtil
    FormatterHelperGridCoordContextHeatmapChart
    IgnoreDocInteractDataLayerHelper
    LegendContextLegendHelperLegendItem
    LineChartListForListForComponent
    ListForSerieMainComponentContextMainComponentHandler
    MainComponentHandler<T>MathUtilPainter
    ParallelChartParallelCoordContextPieChart
    PolarChartPolarCoordContextProgressBar
    PropertyUtilRadarChartRadarCoordContext
    ReflectionUtilRequireChartComponentAttributeRingChart
    RuntimeUtilScatterChartSerieContext
    SerieConvertAttributeSerieDataContextSerieDataExtraComponentAttribute
    SerieDataExtraFieldAttributeSerieExtraComponentAttributeSerieHandler
    SerieHandler<T>SerieHandlerAttributeSerieHelper
    SerieLabelHelperSerieLabelPoolSerieParams
    SeriesHelperSimplifiedBarChartSimplifiedCandlestickChart
    SimplifiedLineChartSinceSVG
    SVGImageSVGPathSVGPathSeg
    TooltipContextTooltipDataTooltipHelper
    TooltipViewTooltipViewItemUGL
    UGLExampleUGLHelperVisualMapContext
    VisualMapHelperXChartsMgrXCResourceImporterWindow
    XCThemeMgr

    AnimationStyleHelper

    public methoddescription
    CheckDataAnimation()public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)
    GetAnimationPosition()public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip)
    UpdateAnimationType()public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType)
    UpdateSerieAnimation()public static void UpdateSerieAnimation(Serie serie)

    AxisContext

    Inherits or Implemented: MainComponentContext

    AxisHandler<T>

    Inherits or Implemented: MainComponentHandler

    AxisHelper

    public methoddescription
    AdjustCircleLabelPos()public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    AdjustMinMaxValue()public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
    调整最大最小值
    AdjustRadiusAxisLabelPos()public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    GetAxisLineArrowOffset()public static float GetAxisLineArrowOffset(Axis axis)
    包含箭头偏移的轴线长度
    GetAxisPosition()public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)
    GetAxisPositionValue()public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)
    GetAxisPositionValue()public static double GetAxisPositionValue(GridCoord grid, Axis axis, Vector3 pos)
    GetAxisValueDistance()public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上相对起点的距离
    GetAxisValueLength()public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上对应的长度
    GetAxisValuePosition()public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上的坐标位置
    GetAxisValueSplitIndex()public static int GetAxisValueSplitIndex(Axis axis, double value, int totalSplitNumber = -1)
    获得数值value在坐标轴上对应的split索引
    GetAxisXOrY()public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)
    GetDataWidth()public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
    获得一个类目数据在坐标系中代表的宽度
    GetEachWidth()public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    GetScaleNumber()public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    获得分割线条数
    GetScaleWidth()public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
    获得分割段宽度
    GetSplitNumber()public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
    获得分割段数
    GetTotalSplitGridNum()public static int GetTotalSplitGridNum(Axis axis)
    获得分割网格个数,包含次刻度
    GetXAxisXOrY()public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)
    GetYAxisXOrY()public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)
    NeedShowSplit()public static bool NeedShowSplit(Axis axis)

    BarChart

    Inherits or Implemented: BaseChart

    BaseChart

    Inherits or Implemented: BaseGraph,ISerializationCallbackReceiver

    public methoddescription
    AddChartComponent()public MainComponent AddChartComponent(Type type)
    AddChartComponent<T>()public T AddChartComponent<T>() where T : MainComponent
    AddChartComponentWhenNoExist<T>()public T AddChartComponentWhenNoExist<T>() where T : MainComponent
    AddData()public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
    添加一个数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(string serieName, double data, string dataName = null, string dataId = null)
    If serieName doesn't exist in legend,will be add to legend.
    AddData()public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddSerie<T>()public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie
    AddXAxisData()public void AddXAxisData(string category, int xAxisIndex = 0)
    添加一个类目数据到指定的x轴。
    AddXAxisIcon()public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
    添加一个图标到指定的x轴。
    AddYAxisData()public void AddYAxisData(string category, int yAxisIndex = 0)
    添加一个类目数据到指定的y轴。
    AddYAxisIcon()public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
    添加一个图标到指定的y轴。
    AnimationEnable()public void AnimationEnable(bool flag)
    启用或关闭起始动画。
    AnimationFadeIn()public void AnimationFadeIn(bool reset = true)
    开始渐入动画。
    AnimationFadeOut()public void AnimationFadeOut()
    开始渐出动画。
    AnimationPause()public void AnimationPause()
    暂停动画。
    AnimationReset()public void AnimationReset()
    重置动画。
    AnimationResume()public void AnimationResume()
    继续动画。
    CanAddChartComponent()public bool CanAddChartComponent(Type type)
    CanAddSerie()public bool CanAddSerie(Type type)
    CanAddSerie<T>()public bool CanAddSerie<T>() where T : Serie
    CanMultipleComponent()public bool CanMultipleComponent(Type type)
    ClampInChart()public void ClampInChart(ref Vector3 pos)
    ClampInGrid()public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)
    ClearComponentData()public virtual void ClearComponentData()
    清空所有组件的数据。
    ClearData()public virtual void ClearData()
    清空所有组件和Serie的数据。注意:Serie只是清空数据,不会移除Serie。
    ClearSerieData()public virtual void ClearSerieData()
    清空所有serie的数据。
    ClickLegendButton()public void ClickLegendButton(int legendIndex, string legendName, bool show)
    点击图例按钮
    CovertSerie()public bool CovertSerie(Serie serie, Type type)
    CovertSerie<T>()public bool CovertSerie<T>(Serie serie) where T : Serie
    CovertXYAxis()public void CovertXYAxis(int index)
    转换X轴和Y轴的配置
    GenerateDefaultSerieName()public string GenerateDefaultSerieName()
    GetAllSerieDataCount()public int GetAllSerieDataCount()
    GetChartBackgroundColor()public Color32 GetChartBackgroundColor()
    GetChartComponent<T>()public T GetChartComponent<T>(int index = 0) where T : MainComponent
    GetChartComponentNum()public int GetChartComponentNum(Type type)
    GetChartComponentNum<T>()public int GetChartComponentNum<T>() where T : MainComponent
    GetChartComponents<T>()public List<MainComponent> GetChartComponents<T>() where T : MainComponent
    GetData()public double GetData(int serieIndex, int dataIndex, int dimension = 1)
    GetData()public double GetData(string serieName, int dataIndex, int dimension = 1)
    GetDataZoomOfAxis()public DataZoom GetDataZoomOfAxis(Axis axis)
    GetDataZoomOfSerie()public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)
    GetGrid()public GridCoord GetGrid(Vector2 local)
    GetGridOfDataZoom()public GridCoord GetGridOfDataZoom(DataZoom dataZoom)
    GetItemColor()public Color32 GetItemColor(Serie serie)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)
    GetLegendRealShowNameColor()public Color32 GetLegendRealShowNameColor(string name)
    GetLegendRealShowNameIndex()public int GetLegendRealShowNameIndex(string name)
    GetMarkColor()public Color32 GetMarkColor(Serie serie, SerieData serieData)
    获得Serie的标识颜色。
    GetOrAddChartComponent<T>()public T GetOrAddChartComponent<T>() where T : MainComponent
    GetPainter()public Painter GetPainter(int index)
    GetSerie()public Serie GetSerie(int serieIndex)
    GetSerie()public Serie GetSerie(string serieName)
    GetSerie<T>()public T GetSerie<T>() where T : Serie
    GetSerie<T>()public T GetSerie<T>(int serieIndex) where T : Serie
    GetSerieBarGap<T>()public float GetSerieBarGap<T>() where T : Serie
    GetSerieBarRealCount<T>()public int GetSerieBarRealCount<T>() where T : Serie
    GetSerieIndexIfStack<T>()public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie
    GetSerieSameStackTotalValue<T>()public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie
    GetSeriesMinMaxValue()public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    GetSerieTotalGap<T>()public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie
    GetSerieTotalWidth<T>()public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie
    GetTitlePosition()public Vector3 GetTitlePosition(Title title)
    GetVisualMapOfSerie()public VisualMap GetVisualMapOfSerie(Serie serie)
    GetXDataZoomOfSerie()public DataZoom GetXDataZoomOfSerie(Serie serie)
    GetXLerpColor()public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    GetYLerpColor()public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    HasChartComponent()public bool HasChartComponent(Type type)
    HasChartComponent<T>()public bool HasChartComponent<T>()
    HasSerie()public bool HasSerie(Type type)
    HasSerie<T>()public bool HasSerie<T>() where T : Serie
    Init()public void Init(bool defaultChart = true)
    InitAxisRuntimeData()public virtual void InitAxisRuntimeData(Axis axis) { }
    InsertSerie()public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)
    InsertSerie<T>()public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie
    Internal_CheckAnimation()public void Internal_CheckAnimation()
    IsActiveByLegend()public virtual bool IsActiveByLegend(string legendName)
    获得指定图例名字的系列是否显示。
    IsAllAxisCategory()public bool IsAllAxisCategory()
    纯类目轴。
    IsAllAxisValue()public bool IsAllAxisValue()
    纯数值坐标轴(数值轴或对数轴)。
    IsInAnyGrid()public bool IsInAnyGrid(Vector2 local)
    IsInChart()public bool IsInChart(float x, float y)
    IsInChart()public bool IsInChart(Vector2 local)
    坐标是否在图表范围内
    IsSerieName()public bool IsSerieName(string name)
    MoveDownSerie()public bool MoveDownSerie(int serieIndex)
    MoveUpSerie()public bool MoveUpSerie(int serieIndex)
    OnAfterDeserialize()public void OnAfterDeserialize()
    OnBeforeSerialize()public void OnBeforeSerialize()
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDataZoomRangeChanged()public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public override void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public override void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public override void OnPointerUp(PointerEventData eventData)
    OnScroll()public override void OnScroll(PointerEventData eventData)
    RefreshBasePainter()public void RefreshBasePainter()
    RefreshChart()public void RefreshChart()
    在下一帧刷新整个图表。
    RefreshChart()public void RefreshChart(int serieIndex)
    在下一帧刷新图表的指定serie。
    RefreshChart()public void RefreshChart(Serie serie)
    在下一帧刷新图表的指定serie。
    RefreshDataZoom()public void RefreshDataZoom()
    在下一帧刷新DataZoom
    RefreshGraph()public override void RefreshGraph()
    RefreshPainter()public void RefreshPainter(int index)
    RefreshPainter()public void RefreshPainter(Serie serie)
    RefreshTopPainter()public void RefreshTopPainter()
    RefreshUpperPainter()public void RefreshUpperPainter()
    RemoveAllChartComponent()public void RemoveAllChartComponent()
    RemoveAllSerie()public virtual void RemoveAllSerie()
    移除所有的Serie。当确认只需要移除Serie时使用该接口,其他情况下一般用RemoveData()。
    RemoveChartComponent()public bool RemoveChartComponent(MainComponent component)
    RemoveChartComponent()public bool RemoveChartComponent(Type type, int index = 0)
    RemoveChartComponent<T>()public bool RemoveChartComponent<T>(int index = 0)
    RemoveChartComponents()public int RemoveChartComponents(Type type)
    RemoveChartComponents<T>()public int RemoveChartComponents<T>()
    RemoveData()public virtual void RemoveData()
    清空所有组件数据,并移除所有Serie。一般在图表重新初始化时使用。 注意:组件只清空数据部分,参数会保留不会被重置。
    RemoveData()public virtual void RemoveData(string serieName)
    清除指定系列名称的数据。
    RemoveSerie()public void RemoveSerie(int serieIndex)
    RemoveSerie()public void RemoveSerie(Serie serie)
    RemoveSerie()public void RemoveSerie(string serieName)
    RemoveSerie<T>()public void RemoveSerie<T>() where T : Serie
    ReplaceSerie()public bool ReplaceSerie(Serie oldSerie, Serie newSerie)
    ResetDataIndex()public bool ResetDataIndex(int serieIndex)
    重置serie的数据项索引。避免数据项索引异常。
    SaveAsImage()public void SaveAsImage(string imageType = "png", string savePath = "")
    保存图表为图片。
    SetBasePainterMaterial()public void SetBasePainterMaterial(Material material)
    设置Base Painter的材质球
    SetMaxCache()public void SetMaxCache(int maxCache)
    设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。
    SetPainterActive()public void SetPainterActive(int index, bool flag)
    SetSerieActive()public void SetSerieActive(int serieIndex, bool active)
    设置指定系列是否显示。
    SetSerieActive()public void SetSerieActive(Serie serie, bool active)
    SetSerieActive()public void SetSerieActive(string serieName, bool active)
    设置指定系列是否显示。
    SetSeriePainterMaterial()public void SetSeriePainterMaterial(Material material)
    设置Serie Painter的材质球
    SetTopPainterMaterial()public void SetTopPainterMaterial(Material material)
    设置Top Painter的材质球
    SetUpperPainterMaterial()public void SetUpperPainterMaterial(Material material)
    设置Upper Painter的材质球
    TryAddChartComponent()public bool TryAddChartComponent(Type type)
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>() where T : MainComponent
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>(out T component) where T : MainComponent
    TryGetChartComponent<T>()public bool TryGetChartComponent<T>(out T component, int index = 0)
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateDataName()public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateDataName()public bool UpdateDataName(string serieName, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateLegendColor()public virtual void UpdateLegendColor(string legendName, bool active)
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。
    UpdateTheme()public void UpdateTheme(Theme theme)
    切换图表主题。
    UpdateXAxisData()public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
    更新X轴类目数据。
    UpdateXAxisIcon()public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
    更新X轴图标。
    UpdateYAxisData()public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
    更新Y轴类目数据。
    UpdateYAxisIcon()public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
    更新Y轴图标。

    BaseGraph

    Inherits or Implemented: MaskableGraphic,IPointerDownHandler,IPointerUpHandler,

    public methoddescription
    CheckWarning()public string CheckWarning()
    检测警告信息。
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData)
    OnDrag()public virtual void OnDrag(PointerEventData eventData)
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData)
    OnScroll()public virtual void OnScroll(PointerEventData eventData)
    RebuildChartObject()public void RebuildChartObject()
    移除并重新创建所有图表的Object。
    RefreshAllComponent()public void RefreshAllComponent()
    RefreshGraph()public virtual void RefreshGraph()
    在下一帧刷新图形。
    ScreenPointToChartPoint()public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)
    SetPainterDirty()public void SetPainterDirty()
    重新初始化Painter
    SetSize()public virtual void SetSize(float width, float height)
    设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform)

    CandlestickChart

    Inherits or Implemented: BaseChart

    ChartCached

    public methoddescription
    ColorToDotStr()public static string ColorToDotStr(Color color)
    ColorToStr()public static string ColorToStr(Color color)
    FloatToStr()public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)
    GetSerieLabelName()public static string GetSerieLabelName(string prefix, int i, int j)
    IntToStr()public static string IntToStr(int value, string numericFormatter = "")
    NumberToStr()public static string NumberToStr(double value, string formatter)

    ChartConst

    ChartDrawer

    ChartHelper

    public methoddescription
    ActiveAllObject()public static void ActiveAllObject(Transform parent, bool active, string match = null)
    AddIcon()public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)
    Cancat()public static string Cancat(string str1, int i)
    Cancat()public static string Cancat(string str1, string str2)
    ClearEventListener()public static void ClearEventListener(GameObject obj)
    CopyArray<T>()public static bool CopyArray<T>(T[] toList, T[] fromList)
    CopyList<T>()public static bool CopyList<T>(List<T> toList, List<T> fromList)
    DestoryGameObject()public static void DestoryGameObject(GameObject go)
    DestoryGameObject()public static void DestoryGameObject(Transform parent, string childName)
    DestoryGameObjectByMatch()public static void DestoryGameObjectByMatch(Transform parent, string match)
    DestroyAllChildren()public static void DestroyAllChildren(Transform parent)
    GetActualValue()public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBlurColor()public static Color32 GetBlurColor(Color32 color, float a = 0.3f)
    GetColor()public static Color32 GetColor(string hexColorStr)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetFloatAccuracy()public static int GetFloatAccuracy(double value)
    GetFullName()public static string GetFullName(Transform transform)
    GetHighlightColor()public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)
    GetLastValue()public static Vector3 GetLastValue(List<Vector3> list)
    GetMaxDivisibleValue()public static double GetMaxDivisibleValue(double max, double ceilRate)
    GetMaxLogValue()public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetMinDivisibleValue()public static double GetMinDivisibleValue(double min, double ceilRate)
    GetMinLogValue()public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(Transform transform) where T : Component
    GetPointList()public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetPosition()public static Vector3 GetPosition(Vector3 center, float angle, float radius)
    GetSelectColor()public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    HideAllObject()public static void HideAllObject(GameObject obj, string match = null)
    HideAllObject()public static void HideAllObject(Transform parent, string match = null)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsColorAlphaZero()public static bool IsColorAlphaZero(Color color)
    IsEquals()public static bool IsEquals(double d1, double d2)
    IsEquals()public static bool IsEquals(float d1, float d2)
    IsIngore()public static bool IsIngore(Vector3 pos)
    IsInRect()public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)
    IsPointInQuadrilateral()public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    ParseFloatFromString()public static List<float> ParseFloatFromString(string jsonData)
    ParseStringFromString()public static List<string> ParseStringFromString(string jsonData)
    RemoveComponent<T>()public static void RemoveComponent<T>(GameObject gameObject)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
    SaveAsImage()public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")
    SetActive()public static void SetActive(GameObject gameObject, bool active)
    SetActive()public static void SetActive(Image image, bool active)
    SetActive()public static void SetActive(Text text, bool active)
    SetActive()public static void SetActive(Transform transform, bool active)
    通过设置scale实现是否显示,优化性能,减少GC
    SetBackground()public static void SetBackground(Image background, ImageStyle imageStyle)
    SetColorOpacity()public static void SetColorOpacity(ref Color32 color, float opacity)

    ChartLabel

    Inherits or Implemented: Image

    public methoddescription
    GetHeight()public float GetHeight()
    GetPosition()public Vector3 GetPosition()
    GetTextHeight()public float GetTextHeight()
    GetTextWidth()public float GetTextWidth()
    GetWidth()public float GetWidth()
    SetActive()public void SetActive(bool flag)
    SetIcon()public void SetIcon(Image image)
    SetIconActive()public void SetIconActive(bool flag)
    SetIconSize()public void SetIconSize(float width, float height)
    SetIconSprite()public void SetIconSprite(Sprite sprite)
    SetPadding()public void SetPadding(float[] padding)
    SetPosition()public void SetPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetSize()public void SetSize(float width, float height)
    SetText()public bool SetText(string text)
    SetTextActive()public void SetTextActive(bool flag)
    SetTextColor()public void SetTextColor(Color color)
    SetTextPadding()public void SetTextPadding(TextPadding padding)
    SetTextRotate()public void SetTextRotate(float rotate)
    UpdateIcon()public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null)

    ChartObject

    public methoddescription
    Destroy()public virtual void Destroy()

    CheckHelper

    public methoddescription
    CheckChart()public static string CheckChart(BaseChart chart)
    CheckChart()public static string CheckChart(BaseGraph chart)

    ColorUtil

    public methoddescription
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。

    ComponentHandlerAttribute

    Inherits or Implemented: Attribute

    public methoddescription
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler)
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler, bool allowMultiple)

    ComponentHelper

    public methoddescription
    GetAngleAxis()public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)
    GetRadiusAxis()public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)
    GetXAxisOnZeroOffset()public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)
    GetYAxisOnZeroOffset()public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)
    IsAnyCategoryOfYAxis()public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)

    CoordOptionsAttribute

    Inherits or Implemented: Attribute

    public methoddescription
    Contains<T>()public bool Contains<T>() where T : CoordSystem
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)

    DataZoomContext

    Inherits or Implemented: MainComponentContext

    DataZoomHelper

    public methoddescription
    UpdateDataZoomRuntimeStartEndValue()public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)
    UpdateDataZoomRuntimeStartEndValue<T>()public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie

    DateTimeUtil

    public methoddescription
    GetDateTime()public static DateTime GetDateTime(int timestamp)
    GetTimestamp()public static int GetTimestamp()
    GetTimestamp()public static int GetTimestamp(DateTime time)

    DefaultAnimationAttribute

    Inherits or Implemented: Attribute

    public methoddescription
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler)

    DefineSymbolsUtil

    public methoddescription
    AddGlobalDefine()public static void AddGlobalDefine(string symbol)
    RemoveGlobalDefine()public static void RemoveGlobalDefine(string symbol)

    FormatterHelper

    public methoddescription
    NeedFormat()public static bool NeedFormat(string content)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string numericFormatter, double value)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string value)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(string content)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(StringBuilder sb)

    GridCoordContext

    Inherits or Implemented: MainComponentContext

    HeatmapChart

    Inherits or Implemented: BaseChart

    IgnoreDoc

    Inherits or Implemented: Attribute

    public methoddescription
    IgnoreDoc()public IgnoreDoc()

    InteractData

    public methoddescription
    Reset()public void Reset()
    SetColor()public void SetColor(ref bool needInteract, Color32 color)
    SetColor()public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)
    SetValue()public void SetValue(ref bool needInteract, float size)
    SetValue()public void SetValue(ref bool needInteract, float size, bool highlight, float rate = 1.3f)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)
    TryGetColor()public bool TryGetColor(ref Color32 color, ref bool interacting, float animationDuration = 250)
    TryGetColor()public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetValue()public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)

    LayerHelper

    public methoddescription
    IsFixedWidthHeight()public static bool IsFixedWidthHeight(RectTransform rt)
    IsStretchPivot()public static bool IsStretchPivot(RectTransform rt)

    LegendContext

    Inherits or Implemented: MainComponentContext

    LegendHelper

    public methoddescription
    CheckDataHighlighted()public static bool CheckDataHighlighted(Serie serie, string legendName, bool heighlight)
    CheckDataShow()public static bool CheckDataShow(Serie serie, string legendName, bool show)
    GetContentColor()public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)
    GetIconColor()public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)
    ResetItemPosition()public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)
    SetLegendBackground()public static void SetLegendBackground(Legend legend, ImageStyle style)

    LegendItem

    public methoddescription
    GetIconColor()public Color GetIconColor()
    GetIconRect()public Rect GetIconRect()
    SetActive()public void SetActive(bool active)
    SetBackground()public void SetBackground(ImageStyle imageStyle)
    SetButton()public void SetButton(Button button)
    SetContent()public bool SetContent(string content)
    SetContentBackgroundColor()public void SetContentBackgroundColor(Color color)
    SetContentColor()public void SetContentColor(Color color)
    SetContentPosition()public void SetContentPosition(Vector3 offset)
    SetIcon()public void SetIcon(Image icon)
    SetIconActive()public void SetIconActive(bool active)
    SetIconColor()public void SetIconColor(Color color)
    SetIconImage()public void SetIconImage(Sprite image)
    SetIconSize()public void SetIconSize(float width, float height)
    SetObject()public void SetObject(GameObject obj)
    SetPosition()public void SetPosition(Vector3 position)
    SetText()public void SetText(ChartText text)
    SetTextBackground()public void SetTextBackground(Image image)

    LineChart

    Inherits or Implemented: BaseChart

    ListFor

    Inherits or Implemented: Attribute

    public methoddescription
    ListFor()public ListFor(Type type)

    ListForComponent

    Inherits or Implemented: ListFor

    public methoddescription
    ListForComponent()public ListForComponent(Type type) : base(type)

    ListForSerie

    Inherits or Implemented: ListFor

    public methoddescription
    ListForSerie()public ListForSerie(Type type) : base(type)

    MainComponentContext

    MainComponentHandler

    public methoddescription
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    OnSerieDataUpdate()public virtual void OnSerieDataUpdate(int serieIndex) { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }

    MainComponentHandler<T>

    Inherits or Implemented: MainComponentHandler

    MathUtil

    public methoddescription
    Abs()public static double Abs(double d)
    Approximately()public static bool Approximately(double a, double b)
    Clamp()public static double Clamp(double d, double min, double max)
    Clamp01()public static double Clamp01(double value)
    Lerp()public static double Lerp(double a, double b, double t)

    ObjectPool<T> where T

    Inherits or Implemented: new()

    public methoddescription
    ClearAll()public void ClearAll()
    Get()public T Get()
    new()public class ObjectPool<T> where T : new()
    ObjectPool()public ObjectPool(UnityAction<T> actionOnGet, UnityAction<T> actionOnRelease, bool newIfEmpty = true)
    Release()public void Release(T element)

    Painter

    Inherits or Implemented: MaskableGraphic

    public methoddescription
    Init()public void Init()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag, bool isDebugMode = false)

    ParallelChart

    Inherits or Implemented: BaseChart

    ParallelCoordContext

    Inherits or Implemented: MainComponentContext

    PieChart

    Inherits or Implemented: BaseChart

    PolarChart

    Inherits or Implemented: BaseChart

    PolarCoordContext

    Inherits or Implemented: MainComponentContext

    ProgressBar

    Inherits or Implemented: BaseChart

    PropertyUtil

    public methoddescription
    SetClass<T>()public static bool SetClass<T>(ref T currentValue, T newValue, bool notNull = false) where T : class
    SetColor()public static bool SetColor(ref Color currentValue, Color newValue)
    SetColor()public static bool SetColor(ref Color32 currentValue, Color32 newValue)
    SetStruct<T>()public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct

    RadarChart

    Inherits or Implemented: BaseChart

    RadarCoordContext

    Inherits or Implemented: MainComponentContext

    ReflectionUtil

    public methoddescription
    DeepCloneSerializeField()public static object DeepCloneSerializeField(object obj)
    InvokeListAdd()public static void InvokeListAdd(object obj, FieldInfo field, object item)
    InvokeListAddTo<T>()public static void InvokeListAddTo<T>(object obj, FieldInfo field, Action<T> callback)
    InvokeListClear()public static void InvokeListClear(object obj, FieldInfo field)
    InvokeListCount()public static int InvokeListCount(object obj, FieldInfo field)
    InvokeListGet<T>()public static T InvokeListGet<T>(object obj, FieldInfo field, int i)

    RequireChartComponentAttribute

    Inherits or Implemented: Attribute

    public methoddescription
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)

    RingChart

    Inherits or Implemented: BaseChart

    RuntimeUtil

    public methoddescription
    GetAllAssemblyTypes()public static IEnumerable<Type> GetAllAssemblyTypes()
    GetAllTypesDerivedFrom()public static IEnumerable<Type> GetAllTypesDerivedFrom(Type type)
    GetAllTypesDerivedFrom<T>()public static IEnumerable<Type> GetAllTypesDerivedFrom<T>()
    GetAttribute<T>()public static T GetAttribute<T>(this MemberInfo type, bool check = true) where T : Attribute
    GetAttribute<T>()public static T GetAttribute<T>(this Type type, bool check = true) where T : Attribute
    HasSubclass()public static bool HasSubclass(Type type)

    ScatterChart

    Inherits or Implemented: BaseChart

    SerieContext

    SerieConvertAttribute

    Inherits or Implemented: Attribute

    public methoddescription
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : Serie
    SerieConvertAttribute()public SerieConvertAttribute(Type serie)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)

    SerieDataContext

    public methoddescription
    Reset()public void Reset()

    SerieDataExtraComponentAttribute

    Inherits or Implemented: Attribute

    public methoddescription
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieExtraComponent
    SerieDataExtraComponentAttribute()public SerieDataExtraComponentAttribute()
    SerieDataExtraComponentAttribute()public SerieDataExtraComponentAttribute(Type type1)
    SerieDataExtraComponentAttribute()public SerieDataExtraComponentAttribute(Type type1, Type type2)
    SerieDataExtraComponentAttribute()public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3)
    SerieDataExtraComponentAttribute()public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieDataExtraComponentAttribute()public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieDataExtraComponentAttribute()public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieDataExtraComponentAttribute()public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieDataExtraFieldAttribute

    Inherits or Implemented: Attribute

    public methoddescription
    Contains()public bool Contains(string field)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute()
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7)

    SerieExtraComponentAttribute

    Inherits or Implemented: Attribute

    public methoddescription
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieExtraComponent
    SerieExtraComponentAttribute()public SerieExtraComponentAttribute()
    SerieExtraComponentAttribute()public SerieExtraComponentAttribute(Type type1)
    SerieExtraComponentAttribute()public SerieExtraComponentAttribute(Type type1, Type type2)
    SerieExtraComponentAttribute()public SerieExtraComponentAttribute(Type type1, Type type2, Type type3)
    SerieExtraComponentAttribute()public SerieExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieExtraComponentAttribute()public SerieExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieExtraComponentAttribute()public SerieExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieExtraComponentAttribute()public SerieExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieHandler

    public methoddescription
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawSerie()public virtual void DrawSerie(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName) { }
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    RefreshLabelInternal()public virtual void RefreshLabelInternal() { }
    RefreshLabelNextFrame()public virtual void RefreshLabelNextFrame() { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }

    SerieHandler<T>

    Inherits or Implemented: [SerieHandler where T](#seriehandler where t),Serie

    public methoddescription
    DrawLabelLineSymbol()public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)
    GetSerieDataAutoColor()public virtual Color GetSerieDataAutoColor(SerieData serieData)
    GetSerieDataLabelOffset()public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)
    GetSerieDataLabelPosition()public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)
    GetSerieDataTitlePosition()public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)
    InitComponent()public override void InitComponent()
    OnLegendButtonClick()public override void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public override void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public override void OnLegendButtonExit(int index, string legendName)
    RefreshEndLabelInternal()public virtual void RefreshEndLabelInternal()
    RefreshLabelInternal()public override void RefreshLabelInternal()
    RefreshLabelNextFrame()public override void RefreshLabelNextFrame()
    RemoveComponent()public override void RemoveComponent()
    Update()public override void Update()

    SerieHandlerAttribute

    Inherits or Implemented: Attribute

    public methoddescription
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler)
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler, bool allowMultiple)

    SerieHelper

    public methoddescription
    CloneSerie<T>()public static T CloneSerie<T>(Serie serie) where T : Serie
    CopySerie()public static void CopySerie(Serie oldSerie, Serie newSerie)
    GetAllMinMaxData()public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)
    GetAreaStyle()public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)
    GetAverageData()public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetBlurStyle()public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)
    GetEmphasisStyle()public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData)
    GetItemColor()public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true)
    GetItemFormatter()public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetItemMarker()public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null)
    GetItemStyle()public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetLineColor()public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto)
    GetLineStyle()public static LineStyle GetLineStyle(Serie serie, SerieData serieData)
    GetMaxData()public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMaxSerieData()public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMedianData()public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinData()public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinMaxData()public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)
    获得系列所有数据的最大最小值。
    GetMinSerieData()public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetNumericFormatter()public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetSelectStyle()public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)
    GetSerieLabel()public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieLabelLine()public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieState()public static SerieState GetSerieState(Serie serie)
    GetSerieState()public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)
    GetSerieState()public static SerieState GetSerieState(SerieData serieData)
    GetSerieSymbol()public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetStateStyle()public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)
    GetSysmbolSize()public static float GetSysmbolSize(Serie serie, SerieData serieData, ThemeStyle theme, float defaultSize, SerieState state = SerieState.Auto)
    GetTitleStyle()public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)
    IsAllZeroValue()public static bool IsAllZeroValue(Serie serie, int dimension = 1)
    系列指定维数的数据是否全部为0。
    IsDownPoint()public static bool IsDownPoint(Serie serie, int index)
    UpdateCenter()public static void UpdateCenter(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
    更新运行时中心点和半径
    UpdateFilterData()public static void UpdateFilterData(Serie serie, DataZoom dataZoom)
    根据dataZoom更新数据列表缓存
    UpdateMinMaxData()public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)
    获得指定维数的最大最小值
    UpdateRect()public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
    UpdateSerieRuntimeFilterData()public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)

    SerieLabelHelper

    public methoddescription
    AvoidLabelOverlap()public static void AvoidLabelOverlap(Serie serie, ComponentTheme theme)
    CanShowLabel()public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)
    GetLabelColor()public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)
    GetRealLabelPosition()public static Vector3 GetRealLabelPosition(Serie serie, SerieData serieData, LabelStyle label, LabelLine labelLine)
    SetGaugeLabelText()public static void SetGaugeLabelText(Serie serie)
    UpdatePieLabelPosition()public static void UpdatePieLabelPosition(Serie serie, SerieData serieData)

    SerieLabelPool

    public methoddescription
    ClearAll()public static void ClearAll()
    Release()public static void Release(GameObject element)
    ReleaseAll()public static void ReleaseAll(Transform parent)

    SerieParams

    SeriesHelper

    public methoddescription
    GetLastStackSerie()public static Serie GetLastStackSerie(List<Serie> series, Serie serie)
    获得上一个同堆叠且显示的serie。
    GetLegalSerieNameList()public static List<string> GetLegalSerieNameList(List<Serie> series)
    GetMaxSerieDataCount()public static int GetMaxSerieDataCount(List<Serie> series)
    GetNameColor()public static Color GetNameColor(BaseChart chart, int index, string name)
    GetStackSeries()public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)
    获得堆叠系列列表
    IsAnyClipSerie()public static bool IsAnyClipSerie(List<Serie> series)
    是否有需裁剪的serie。
    IsLegalLegendName()public static bool IsLegalLegendName(string name)
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series) where T : Serie
    是否时百分比堆叠
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series, string stackName) where T : Serie
    是否时百分比堆叠
    IsStack()public static bool IsStack(List<Serie> series)
    是否由数据堆叠
    IsStack<T>()public static bool IsStack<T>(List<Serie> series, string stackName) where T : Serie
    是否堆叠
    UpdateSerieNameList()public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)
    获得所有系列名,不包含空名字。
    UpdateStackDataList()public static void UpdateStackDataList(List<Serie> series, Serie currSerie, DataZoom dataZoom, List<List<SerieData>> dataList)

    SimplifiedBarChart

    Inherits or Implemented: BaseChart

    SimplifiedCandlestickChart

    Inherits or Implemented: BaseChart

    SimplifiedLineChart

    Inherits or Implemented: BaseChart

    Since

    Inherits or Implemented: Attribute

    public methoddescription
    Since()public Since(string version)

    SVG

    public methoddescription
    DrawPath()public static void DrawPath(VertexHelper vh, string path)
    DrawPath()public static void DrawPath(VertexHelper vh, SVGPath path)
    Test()public static void Test(VertexHelper vh)

    SVGImage

    Inherits or Implemented: MaskableGraphic

    SVGPath

    public methoddescription
    AddSegment()public void AddSegment(SVGPathSeg seg)
    Draw()public void Draw(VertexHelper vh)
    Parse()public static SVGPath Parse(string path)

    SVGPathSeg

    public methoddescription
    SVGPathSeg()public SVGPathSeg(SVGPathSegType type)

    TooltipContext

    TooltipData

    TooltipHelper

    public methoddescription
    GetItemNumericFormatter()public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)
    GetLineColor()public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor)
    IsIgnoreFormatter()public static bool IsIgnoreFormatter(string itemFormatter)
    LimitInRect()public static void LimitInRect(Tooltip tooltip, Rect chartRect)

    TooltipView

    public methoddescription
    CreateView()public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)
    GetCurrentPos()public Vector3 GetCurrentPos()
    GetTargetPos()public Vector3 GetTargetPos()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag)
    Update()public void Update()
    UpdatePosition()public void UpdatePosition(Vector3 pos)

    TooltipViewItem

    UGL

    public methoddescription
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
    Draw a diamond. 画菱形(钻石形状)
    DrawEllipse()public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)
    DrawLine()public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color)
    Draw a line. 画直线
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
    Draw a line. 画直线
    DrawPolygon()public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
    填充任意多边形(目前只支持凸多边形)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Vector3 p1, Vector3 p2, float radius, Color32 color)
    Draw a rectangle. 画带长方形
    DrawSquare()public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
    Draw a square. 画正方形
    DrawSvgPath()public static void DrawSvgPath(VertexHelper vh, string path)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)

    UGLExample

    Inherits or Implemented: MaskableGraphic

    UGLHelper

    public methoddescription
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBezier()public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)
    GetBezier2()public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)
    GetBezierList()public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref Vector3 intersection)
    获得两直线的交点
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector3> polyons)
    IsPointInTriangle()public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)

    VisualMapContext

    Inherits or Implemented: MainComponentContext

    VisualMapHelper

    public methoddescription
    AutoSetLineMinMax()public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
    GetDimension()public static int GetDimension(VisualMap visualMap, int defaultDimension)
    IsNeedAreaGradient()public static bool IsNeedAreaGradient(VisualMap visualMap)
    IsNeedGradient()public static bool IsNeedGradient(VisualMap visualMap)
    IsNeedLineGradient()public static bool IsNeedLineGradient(VisualMap visualMap)
    SetMinMax()public static void SetMinMax(VisualMap visualMap, double min, double max)

    XChartsMgr

    public methoddescription
    AddChart()public static void AddChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(string chartName)
    DisableTextMeshPro()public static void DisableTextMeshPro()
    EnableTextMeshPro()public static void EnableTextMeshPro()
    GetChart()public static BaseChart GetChart(string chartName)
    GetCharts()public static List<BaseChart> GetCharts(string chartName)
    GetPackageFullPath()public static string GetPackageFullPath()
    GetRepeatChartNameInfo()public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
    IsExistTMPAssembly()public static bool IsExistTMPAssembly()
    IsRepeatChartName()public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
    ModifyTMPRefence()public static bool ModifyTMPRefence(bool removeTMP = false)
    RemoveAllChartObject()public static void RemoveAllChartObject()
    RemoveChart()public static void RemoveChart(string chartName)

    XCResourceImporterWindow

    Inherits or Implemented: UnityEditor.EditorWindow

    public methoddescription
    ShowPackageImporterWindow()public static void ShowPackageImporterWindow()

    XCThemeMgr

    public methoddescription
    AddTheme()public static void AddTheme(Theme theme)
    CheckReloadTheme()public static void CheckReloadTheme()
    ContainsTheme()public static bool ContainsTheme(string themeName)
    ExportTheme()public static bool ExportTheme(Theme theme)
    ExportTheme()public static bool ExportTheme(Theme theme, string themeNewName)
    GetAllThemeNames()public static List<string> GetAllThemeNames()
    GetTheme()public static Theme GetTheme(string themeName)
    GetTheme()public static Theme GetTheme(ThemeType type)
    GetThemeAssetPath()public static string GetThemeAssetPath(string themeName)
    GetThemeList()public static List<Theme> GetThemeList()
    LoadTheme()public static Theme LoadTheme(string themeName)
    LoadTheme()public static Theme LoadTheme(ThemeType type)
    ReloadThemeList()public static void ReloadThemeList()
    重新加载主题列表
    SwitchTheme()public static void SwitchTheme(BaseChart chart, string themeName)
    - - + + \ No newline at end of file diff --git a/docs/v3.5.0/bar3d/index.html b/docs/v3.5.0/bar3d/index.html index 5bdf88d8..ec43c34f 100644 --- a/docs/v3.5.0/bar3d/index.html +++ b/docs/v3.5.0/bar3d/index.html @@ -14,14 +14,14 @@ 3D柱图 | XCharts - - + +
    Version: v3.5.0

    3D柱图

    XCharts的付费扩展图表 - 3D柱图。

    bar3d

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.5.0

    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 增加SerieItemStylebackgroundColor的支持
    • (2022.11.27) 增加SeriecolorBy的支持
    • (2022.11.27) 更新文档

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    v3.1.0

    • (2022.07.14) 发布v3.1.0版本
    • (2022.07.14) 增加bottomColorRate,cylinderRate参数
    • (2022.07.14) 调整topColorBurnRate改名为topColorRate
    • (2022.07.14) 调整sideColorBurnRate改名为sideColorRate
    • (2022.07.14) 调整dire改名为cubeDire
    • (2022.07.14) 支持Cylinder圆柱和Cube立方柱

    API

    Bar3DChart

    Inherits or Implemented: BaseChart

    配置项手册

    Bar3D

    Inherits or Implemented: Serie,INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    fielddefaultsincecomment
    bar3DTypev3.1.0
    Bar3DType:
    - Cube: 立方柱。
    - Cylinder: 圆柱。
    bar3DStyleBar3DStyle

    Bar3DStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showtrue
    verticalArrangefalse是否垂直排列。
    verticalArrangeDireVector3(-1, 1)垂直排列时的方向。
    verticalArrangeGap0.5f垂直排列时两个柱子间的间隙。
    barOffsetVector3.zero柱子偏移。
    widthRate0.5f方形柱侧边宽度相对正面的比例。
    topColorRate0.8f柱子顶部相对正面的颜色比例。
    bottomColorRate1f柱子底部相对正面的颜色比例。
    sideColorRate0.7f方形柱侧边相对正面的颜色比例。
    cubeDireVector3(1, 1)方形柱形成3D效果的方向。
    cylinderRate0.5fv3.1.0圆柱的顶部椭圆比列。
    - - + + \ No newline at end of file diff --git a/docs/v3.5.0/changelog/index.html b/docs/v3.5.0/changelog/index.html index 5f74e76f..653b44c1 100644 --- a/docs/v3.5.0/changelog/index.html +++ b/docs/v3.5.0/changelog/index.html @@ -14,8 +14,8 @@ 更新日志 | XCharts - - + +
    @@ -76,7 +76,7 @@ v0.8.0
    v0.5.0
    v0.1.0

    master

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Covert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    - - + + \ No newline at end of file diff --git a/docs/v3.5.0/configuration/index.html b/docs/v3.5.0/configuration/index.html index 5d36662a..69652877 100644 --- a/docs/v3.5.0/configuration/index.html +++ b/docs/v3.5.0/configuration/index.html @@ -14,13 +14,13 @@ 配置项手册 | XCharts - - + +
    Version: v3.5.0

    配置项手册

    Serie 系列

    BarBaseScatterCandlestickEffectScatter
    HeatmapLineParallelPie
    RadarRingScatterSerie
    SimplifiedBarSimplifiedCandlestickSimplifiedLine

    Theme 主题

    AngleAxisThemeAxisThemeBaseAxisThemeComponentTheme
    DataZoomThemeLegendThemePolarAxisThemeRadarAxisTheme
    RadiusAxisThemeSerieThemeSubTitleThemeTheme
    ThemeStyleTitleThemeTooltipThemeVisualMapTheme

    MainComponent 主组件

    AngleAxisAxisBackgroundCalendarCoord
    CommentCoordSystemDataZoomGridCoord
    LegendMarkAreaMarkLineParallelAxis
    ParallelCoordPolarCoordRadarCoordRadiusAxis
    SettingsSingleAxisSingleAxisCoordTitle
    TooltipVisualMapXAxisYAxis

    ChildComponent 子组件

    AngleAxisThemeAnimationStyleAreaStyleArrowStyle
    AxisLabelAxisLineAxisMinorSplitLineAxisMinorTick
    AxisNameAxisSplitAreaAxisSplitLineAxisTheme
    AxisTickBaseAxisThemeBaseLineBlurStyle
    CommentItemCommentMarkStyleComponentThemeDataZoomTheme
    EmphasisStyleEndLabelStyleIconStyleImageStyle
    ItemStyleLabelLineLabelStyleLegendTheme
    LevelLevelStyleLineArrowLineStyle
    LocationMarkAreaDataMarkLineDataMarqueeStyle
    PaddingPolarAxisThemeRadarAxisThemeRadiusAxisTheme
    SelectStyleSerieDataSerieSymbolSerieTheme
    StageColorStateStyleSubTitleThemeSymbolStyle
    TextLimitTextPaddingTextStyleThemeStyle
    TitleStyleTitleThemeTooltipThemeVisualMapRange
    VisualMapTheme

    ISerieExtraComponent 系列的额外组件

    AreaStyleBlurStyleEmphasisStyleImageStyle
    LabelLineLabelStyleLineArrowSelectStyle
    TitleStyle

    ISerieDataComponent 数据项的额外组件

    AreaStyleBlurStyleEmphasisStyleImageStyle
    ItemStyleLabelLineLabelStyleLineStyle
    SelectStyleSerieSymbolTitleStyle

    Other 其他组件

    BaseSerieChartTextChildComponentDebugInfo
    IndicatorLangLangCandlestickLangTime
    MainComponentXCResourcesImporterXCSettings

    AngleAxis

    Inherits or Implemented: Axis

    极坐标系的角度轴。

    fielddefaultsincecomment
    startAngle0起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    Inherits or Implemented: BaseAxisTheme

    AnimationStyle

    Inherits or Implemented: ChildComponent

    动画表现。

    fielddefaultsincecomment
    enabletrue是否开启动画效果。
    type动画类型。
    AnimationType:
    - Default: 默认。内部会根据实际情况选择一种动画播放方式。
    - LeftToRight: 从左往右播放动画。
    - BottomToTop: 从下往上播放动画。
    - InsideOut: 由内到外播放动画。
    - AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    - Clockwise: 顺时针播放动画。
    easting动画的缓动效果。
    AnimationEasing:
    - Linear:
    threshold2000是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
    fadeInDuration1000设定的渐入动画时长(毫秒)。如果要设置单个数据项的渐入时长,可以用代码定制:customFadeInDuration。
    fadeInDelay0渐入动画延时(毫秒)。如果要设置单个数据项的延时,可以用代码定制:customFadeInDelay。
    fadeOutDuration1000f设定的渐出动画时长(毫秒)。如果要设置单个数据项的渐出时长,可以用代码定制:customFadeOutDuration。
    fadeOutDelay0渐出动画延时(毫秒)。如果要设置单个数据项的延时,可以用代码定制:customFadeOutDelay。
    dataChangeEnabletrue是否开启数据变更动画。
    dataChangeDuration500数据变更的动画时长(毫秒)。
    actualDuration实际的动画时长(毫秒)。
    unscaledTimev3.4.0动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AreaStyle

    Inherits or Implemented: ChildComponent,ISerieExtraComponent,ISerieDataComponent

    区域填充样式。

    fielddefaultsincecomment
    showtrue是否显示区域填充。
    origin区域填充的起始位置。
    AreaStyle.AreaOrigin:
    - Auto: 填充坐标轴轴线到数据间的区域。
    - Start: 填充坐标轴底部到数据间的区域。
    - End: 填充坐标轴顶部到数据间的区域。
    color区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。
    toColor渐变色的终点颜色。
    opacity0.6f图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    innerFillv3.2.0是否只填充多边形区域。目前只支持凸多边形。

    ArrowStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    width10箭头宽。
    height15箭头高。
    offset0箭头偏移。
    dent3箭头的凹度。
    colorColor.clear箭头颜色。

    Axis

    Inherits or Implemented: MainComponent

    直角坐标系的坐标轴组件。

    fielddefaultsincecomment
    showtrue是否显示坐标轴。
    type坐标轴类型。
    Axis.AxisType:
    - Value: 数值轴。适用于连续数据。
    - Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    - Log: 对数轴。适用于对数数据。
    - Time: 时间轴。适用于连续的时序数据。
    minMaxType坐标轴刻度最大最小值显示类型。
    Axis.AxisMinMaxType:
    - Default: 0-最大值。
    - MinMax: 最小值-最大值。
    - Custom: 自定义最小值最大值。
    gridIndex坐标轴所在的 grid 的索引,默认位于第一个 grid。
    polarIndex坐标轴所在的 ploar 的索引,默认位于第一个 polar。
    parallelIndex坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
    position坐标轴在Grid中的位置。
    Axis.AxisPosition:
    - Left: 坐标轴在Grid中的位置
    - Right: 坐标轴在Grid中的位置
    - Bottom: 坐标轴在Grid中的位置
    - Top: 坐标轴在Grid中的位置
    offset坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
    min设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
    max设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
    splitNumber0坐标轴的期望的分割段数。默认为0表示自动分割。
    interval0强制设置坐标轴分割间隔。无法在类目轴中使用。
    boundaryGaptrue坐标轴两边是否留白。只对类目轴有效。
    maxCache0The first data will be remove when the size of axis data is larger then maxCache.
    logBase10对数轴的底数,只在对数轴(type:'Log')中有效。
    logBaseEfalse对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    inversefalse是否反向坐标轴。在类目轴中无效。
    clockwisetrue刻度增长是否按顺时针,默认顺时针。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    icons类目数据对应的图标。
    data类目数据,在类目轴(type: 'category')中有效。
    axisLine坐标轴轴线。 AxisLine
    axisName坐标轴名称。 AxisName
    axisTick坐标轴刻度。 AxisTick
    axisLabel坐标轴刻度标签。 AxisLabel
    splitLine坐标轴分割线。 AxisSplitLine
    splitArea坐标轴分割区域。 AxisSplitArea
    minorTickv3.2.0坐标轴次刻度。 AxisMinorTick
    minorSplitLinev3.2.0坐标轴次分割线。 AxisMinorSplitLine
    indicatorLabelv3.4.0指示器文本的样式。Tooltip为Cross时使用。 LabelStyle

    AxisLabel

    Inherits or Implemented: LabelStyle

    坐标轴刻度标签的相关设置。

    fielddefaultsincecomment
    interval0坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    insidefalse刻度标签是否朝内,默认朝外。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。
    onZerofalse刻度标签显示在0刻度上。
    showStartLabeltrue是否显示第一个文本。
    showEndLabeltrue是否显示最后一个文本。
    textLimit文本限制。 TextLimit

    AxisLine

    Inherits or Implemented: BaseLine

    坐标轴轴线。

    fielddefaultsincecomment
    onZeroX 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。
    showArrow是否显示箭头。
    arrow轴线箭头。 ArrowStyle

    AxisMinorSplitLine

    Inherits or Implemented: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    fielddefaultsincecomment
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。

    AxisMinorTick

    Inherits or Implemented: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    fielddefaultsincecomment
    splitNumber5分隔线之间分割的刻度数。
    autoColor

    AxisName

    Inherits or Implemented: ChildComponent

    坐标轴名称。

    fielddefaultsincecomment
    show是否显示坐标轴名称。
    name坐标轴名称。
    onZerov3.1.0坐标轴名称的位置是否保持和Y轴0刻度一致。
    labelStyle文本样式。 LabelStyle

    AxisSplitArea

    Inherits or Implemented: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    fielddefaultsincecomment
    show是否显示分隔区域。
    color分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitLine

    Inherits or Implemented: BaseLine

    坐标轴在 grid 区域中的分隔线。

    fielddefaultsincecomment
    interval坐标轴分隔线的显示间隔。
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。
    showStartLinetruev3.3.0是否显示第一条分割线。
    showEndLinetruev3.3.0是否显示最后一条分割线。

    AxisTheme

    Inherits or Implemented: BaseAxisTheme

    AxisTick

    Inherits or Implemented: BaseLine

    坐标轴刻度相关设置。

    fielddefaultsincecomment
    alignWithLabel类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。
    inside坐标轴刻度是否朝内,默认朝外。
    showStartTick是否显示第一个刻度。
    showEndTick是否显示最后一个刻度。
    distance刻度线与轴线的距离。
    splitNumber0分隔线之间分割的刻度数。
    autoColor

    Background

    Inherits or Implemented: MainComponent

    背景组件。

    fielddefaultsincecomment
    showtrue是否启用背景组件。
    image背景图。
    imageType背景图填充类型。
    imageColor背景图颜色。
    autoColortrue当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。

    Bar

    Inherits or Implemented: Serie,INeedSerieContainer

    BaseAxisTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f坐标轴线宽。
    lineLength0f坐标轴线长。
    lineColor坐标轴线颜色。
    splitLineType分割线线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    splitLineWidth1f分割线线宽。
    splitLineLength0f分割线线长。
    splitLineColor分割线线颜色。
    minorSplitLineColor次分割线线颜色。
    tickWidth1f刻度线线宽。
    tickLength5f刻度线线长。
    tickColor坐标轴线颜色。
    splitAreaColors坐标轴分隔区域的颜色。

    BaseLine

    Inherits or Implemented: ChildComponent

    线条基础配置。

    fielddefaultsincecomment
    show是否显示坐标轴轴线。
    lineStyle线条样式 LineStyle

    BaseScatter

    Inherits or Implemented: Serie,INeedSerieContainer

    BaseSerie

    BlurStyle

    Inherits or Implemented: StateStyle,ISerieExtraComponent,ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    CalendarCoord

    Inherits or Implemented: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Candlestick

    Inherits or Implemented: Serie,INeedSerieContainer

    ChartText

    ChildComponent

    Comment

    Inherits or Implemented: MainComponent,IPropertyChanged

    图表注解组件。

    fielddefaultsincecomment
    showtrue是否显示注解组件。
    labelStyle所有组件的文本样式。 LabelStyle
    markStyle所有组件的文本样式。 CommentMarkStyle
    items注解项。每个注解组件可以设置多个注解项。

    CommentItem

    Inherits or Implemented: ChildComponent

    注解项。

    fielddefaultsincecomment
    showtrue是否显示当前注解项。
    content注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。
    markRect注解区域。
    markStyle注解标记区域样式。 CommentMarkStyle
    labelStyle注解项的文本样式。 LabelStyle
    locationv3.5.0Comment显示的位置。 Location

    CommentMarkStyle

    Inherits or Implemented: ChildComponent

    注解项区域样式。

    fielddefaultsincecomment
    showtrue是否显示当前注解项。
    lineStyle线条样式。 LineStyle

    ComponentTheme

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    font字体。
    textColor文本颜色。
    textBackgroundColor文本颜色。
    fontSize18文本字体大小。
    tMPFont字体。

    CoordSystem

    Inherits or Implemented: MainComponent

    坐标系系统。

    DataZoom

    Inherits or Implemented: MainComponent,IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    fielddefaultsincecomment
    enabletrue是否显示缩放区域。
    filterMode数据过滤类型。
    DataZoom.FilterMode:
    - Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    - WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    - Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    - None: 不过滤数据,只改变数轴范围。
    xAxisIndexs控制的 x 轴索引列表。
    yAxisIndexs控制的 y 轴索引列表。
    supportInside是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
    supportInsideScrolltrue是否支持坐标系内滚动
    supportInsideDragtrue是否支持坐标系内拖拽
    supportSlider是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。
    supportMarquee是否支持框选。提供一个选框进行数据区域缩放。
    showDataShadow是否显示数据阴影。数据阴影可以简单地反应数据走势。
    showDetail是否显示detail,即拖拽时候显示详细数值信息。
    zoomLock是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    borderWidth边框宽。
    backgroundColor组件的背景颜色。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    rangeMode取绝对值还是百分比。
    DataZoom.RangeMode:
    - //Value: The value type of start and end.取值类型
    - Percent: 百分比。
    start数据窗口范围的起始百分比。范围是:0 ~ 100。
    end数据窗口范围的结束百分比。范围是:0 ~ 100。
    minShowNum1最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。
    scrollSensitivity1.1f缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。
    orient布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    labelStyle文本标签格式。 LabelStyle
    lineStyle阴影线条样式。 LineStyle
    areaStyle阴影填充样式。 AreaStyle
    marqueeStylev3.5.0选取框样式。 MarqueeStyle

    DataZoomTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    borderWidth边框线宽。
    dataLineWidth数据阴影线宽。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    dataLineColor数据阴影的线条颜色。
    dataAreaColor数据阴影的填充颜色。
    backgroundColor背景颜色。

    DebugInfo

    fielddefaultsincecomment
    showtrue是否显示Debug组件。
    showDebugInfofalse
    showAllChartObjectfalse是否在Hierarchy试图显示所有chart下的节点。
    foldSeriesfalse是否在Inspector上折叠Serie。
    labelStyleLabelStyle

    EffectScatter

    Inherits or Implemented: BaseScatter

    EmphasisStyle

    Inherits or Implemented: StateStyle,ISerieExtraComponent,ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    fielddefaultsincecomment
    scale1.1f高亮时的缩放倍数。
    focus在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。
    EmphasisStyle.FocusType:
    - None: 不淡出其它图形,默认使用该配置。
    - Self: 只聚焦(不淡出)当前高亮的数据的图形。
    - Series: 聚焦当前高亮的数据所在的系列的所有图形。
    blurScope在开启focus的时候,可以通过blurScope配置淡出的范围。
    EmphasisStyle.BlurScope:
    - GridCoord: 淡出范围为坐标系,默认使用该配置。
    - Series: 淡出范围为系列。
    - Global: 淡出范围为全局。

    EndLabelStyle

    Inherits or Implemented: LabelStyle

    GridCoord

    Inherits or Implemented: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    fielddefaultsincecomment
    showtrue是否显示直角坐标系网格。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。
    showBorderfalse是否显示网格边框。
    borderWidth0f网格边框宽。
    borderColor网格边框颜色。

    Heatmap

    Inherits or Implemented: Serie,INeedSerieContainer

    fielddefaultsincecomment
    heatmapTypev3.3.0热力图类型。通过颜色映射划分。
    HeatmapType:
    - Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    - Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showfalse是否显示图标。
    layer显示在上层还是在下层。
    IconStyle.Layer:
    - UnderText: The icon is display under the label text. 图标在标签文字下
    - AboveText: The icon is display above the label text. 图标在标签文字上
    align水平方向对齐方式。
    Align:
    - Center: 对齐方式
    - Left: 对齐方式
    - Right: 对齐方式
    sprite图标的图片。
    type图片的显示类型。
    color图标颜色。
    width20图标宽。
    height20图标高。
    offset图标偏移。
    autoHideWhenLabelEmptyfalse当label内容为空时是否自动隐藏图标

    ImageStyle

    Inherits or Implemented: ChildComponent,ISerieExtraComponent,ISerieDataComponent

    fielddefaultsincecomment
    showtrue是否显示图标。
    sprite图标的图片。
    type图片的显示类型。
    autoColor是否自动颜色。
    color图标颜色。
    width0图标宽。
    height0图标高。

    Indicator

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    fielddefaultsincecomment
    name指示器名称。
    max指示器的最大值,默认为 0 无限制。
    min指示器的最小值,默认为 0 无限制。
    range正常值范围。当数值不在这个范围时,会自动变更显示颜色。
    show是否显示雷达坐标系组件。
    shape雷达图绘制类型,支持 'Polygon' 和 'Circle'。
    radius100雷达图的半径。
    splitNumber5指示器轴的分割段数。
    center雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    axisLine轴线。 AxisLine
    axisName雷达图每个指示器名称的配置项。 AxisName
    splitLine分割线。 AxisSplitLine
    splitArea分割区域。 AxisSplitArea
    indicatortrue是否显示指示器。
    positionType显示位置类型。
    indicatorGap10指示器和雷达的间距。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    isAxisTooltip是否Tooltip显示轴线上的所有数据。
    outRangeColorColor.red数值超出范围时显示的颜色。
    connectCenterfalse数值是否连线到中心点。
    lineGradienttrue数值线段是否需要渐变。
    startAnglev3.4.0起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    indicatorList指示器列表。

    ItemStyle

    Inherits or Implemented: ChildComponent,ISerieDataComponent

    图形样式。

    fielddefaultsincecomment
    showtrue是否启用。
    color数据项颜色。
    color0数据项颜色。
    toColor渐变色的颜色1。
    toColor2渐变色的颜色2。只在折线图中有效。
    backgroundColor数据项背景颜色。
    backgroundWidth数据项背景宽度。
    centerColor中心区域颜色。
    centerGap中心区域间隙。
    borderWidth0边框宽。
    borderGap0边框间隙。
    borderColor边框的颜色。
    borderColor0边框的颜色。
    borderToColor边框的渐变色。
    opacity1透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    itemMarker提示框单项的字符标志。用在Tooltip中。
    itemFormatter提示框单项的字符串模版格式器。具体配置参考Tooltipformatter
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    LabelLine

    Inherits or Implemented: ChildComponent,ISerieExtraComponent,ISerieDataComponent

    标签的引导线

    fielddefaultsincecomment
    showtrue是否显示视觉引导线。
    lineType视觉引导线类型。
    LabelLine.LineType:
    - BrokenLine: 折线
    - Curves: 曲线
    - HorizontalLine: 水平线
    lineColorChartConst.clearColor32视觉引导线颜色。默认和serie一致取自调色板。
    lineAngle0视觉引导线的固定角度。对折线和曲线有效。
    lineWidth1.0f视觉引导线的宽度。
    lineGap1.0f视觉引导线和容器的间距。
    lineLength125f视觉引导线第一段的长度。
    lineLength215f视觉引导线第二段的长度。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle

    LabelStyle

    Inherits or Implemented: ChildComponent,ISerieExtraComponent,ISerieDataComponent

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    fielddefaultsincecomment
    showtrue是否显示文本标签。
    Position标签的位置。
    autoOffsetfalse是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。
    offset距离图形元素的偏移
    rotate文本的旋转。
    distance距离轴线的距离。
    formatter标签内容字符串模版格式器。支持用 \n 换行。 模板变量有: {.}:圆点标记。 {a}:系列名。 {a}:系列名。 {b}:类目值或数据名。 {c}:数据值。 {d}:百分比。 {e}:数据名。 {f}:数据和。 示例:“{b}:{c}”
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    width0标签的宽度。一般不用指定,不指定时则自动是文字的宽度。
    height0标签的高度。一般不用指定,不指定时则自动是文字的高度。
    icon图标样式。 IconStyle
    background背景图样式。 ImageStyle
    textPadding文本的边距。 TextPadding
    textStyle文本样式。 TextStyle

    Lang

    Inherits or Implemented: ScriptableObject

    国际化语言表。

    LangCandlestick

    LangTime

    Legend

    Inherits or Implemented: MainComponent,IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    fielddefaultsincecomment
    showtrue是否显示图例组件。
    iconType图例类型。
    Legend.Type:
    - Auto: 自动匹配。
    - Custom: 自定义图标。
    - EmptyCircle: 空心圆。
    - Circle: 圆形。
    - Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    - Triangle: 三角形。
    - Diamond: 菱形。
    - Candlestick: 烛台(可用于K线图)。
    selectedMode选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。
    Legend.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    - None: 无法选择。
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location图例显示的位置。 Location
    itemWidth25.0f图例标记的图形宽度。
    itemHeight12.0f图例标记的图形高度。
    itemGap10f图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
    itemAutoColortrue图例标记的图形是否自动匹配颜色。
    itemOpacity1图例标记的图形的颜色透明度。
    formatter图例内容字符串模版格式器。支持用 \n 换行。 模板变量为图例名称 {value}。其他模板变量参考Toolip的itemFormatter。
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    labelStyle文本样式。 LabelStyle
    data图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。
    icons自定义的图例标记图形。
    colors图例标记的颜色列表。
    backgroundv3.1.0背景图样式。 ImageStyle
    paddingv3.1.0图例标记和背景的间距。 Padding

    LegendTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    unableColor文本颜色。

    Level

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    label文本标签样式。 LabelStyle
    upperLabel上方的文本标签样式。 LabelStyle
    itemStyle数据项样式。 ItemStyle

    LevelStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showfalse是否启用LevelStyle
    levels各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    Line

    Inherits or Implemented: Serie,INeedSerieContainer

    LineArrow

    Inherits or Implemented: ChildComponent,ISerieExtraComponent

    fielddefaultsincecomment
    show是否显示箭头。
    position箭头位置。
    LineArrow.Position:
    - End: 末端箭头
    - Start: 头端箭头
    arrow箭头。 ArrowStyle

    LineStyle

    Inherits or Implemented: ChildComponent,ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    fielddefaultsincecomment
    showtrue是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。
    type线的类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    color线的颜色。
    toColor线的渐变颜色(需要水平方向渐变时)。
    toColor2线的渐变颜色2(需要水平方向三个渐变色的渐变时)。
    width0线宽。
    length0线长。
    opacity1线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。

    Location

    Inherits or Implemented: ChildComponent,IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    fielddefaultsincecomment
    align对齐方式。
    Location.Align:
    - TopLeft: 对齐方式
    - TopRight: 对齐方式
    - TopCenter: 对齐方式
    - BottomLeft: 对齐方式
    - BottomRight: 对齐方式
    - BottomCenter: 对齐方式
    - Center: 对齐方式
    - CenterLeft: 对齐方式
    - CenterRight: 对齐方式
    left离容器左侧的距离。
    right离容器右侧的距离。
    top离容器上侧的距离。
    bottom离容器下侧的距离。

    MainComponent

    Inherits or Implemented: IComparable

    MarkArea

    Inherits or Implemented: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    fielddefaultsincecomment
    showtrue是否显示标域。
    textThe text of markArea. 标域显示的文本。
    serieIndex0Serie index of markArea. 标域影响的Serie索引。
    start标域范围的起始数据。 MarkAreaData
    end标域范围的结束数据。 MarkAreaData
    itemStyle标域样式。 ItemStyle
    label标域文本样式。 LabelStyle

    MarkAreaData

    Inherits or Implemented: ChildComponent

    标域的数据。

    fielddefaultsincecomment
    type特殊的标域类型,用于标注最大值最小值等。
    MarkAreaType:
    - None: 标域类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标注名称。会作为文字显示。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    Inherits or Implemented: MainComponent

    图表标线。

    fielddefaultsincecomment
    showtrue是否显示标线。
    serieIndex0标线影响的Serie索引。
    animation标线的动画样式。 AnimationStyle
    data标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLineData

    Inherits or Implemented: ChildComponent

    图表标线的数据。

    fielddefaultsincecomment
    type特殊的标线类型,用于标注最大值最小值等。
    MarkLineType:
    - None: 标线类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    group0分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。
    zeroPositionfalse是否为坐标系原点。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle
    lineStyle标线样式。 LineStyle
    label文本样式。可设置position为Start、Middle和End在不同的位置显示文本。 LabelStyle

    MarqueeStyle

    Inherits or Implemented: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    fielddefaultsincecomment
    applyfalsev3.5.0选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。
    realRectfalsev3.5.0是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。
    areaStylev3.5.0选取框区域填充样式。 AreaStyle
    lineStylev3.5.0选取框区域边框样式。 LineStyle

    Padding

    Inherits or Implemented: ChildComponent

    边距设置。

    fielddefaultsincecomment
    showtrueshow padding. 是否显示。
    top0顶部间距。
    right2f右部间距。
    left2f左边间距。
    bottom0底部间距。

    Parallel

    Inherits or Implemented: Serie,INeedSerieContainer

    ParallelAxis

    Inherits or Implemented: Axis

    ParallelCoord

    Inherits or Implemented: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    fielddefaultsincecomment
    showtrue是否显示直角坐标系网格。
    orient坐标轴朝向。默认为垂直朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。

    Pie

    Inherits or Implemented: Serie

    PolarAxisTheme

    Inherits or Implemented: BaseAxisTheme

    PolarCoord

    Inherits or Implemented: CoordSystem,ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    fielddefaultsincecomment
    showtrue是否显示极坐标。
    center极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    backgroundColor极坐标的背景色,默认透明。

    Radar

    Inherits or Implemented: Serie,INeedSerieContainer

    fielddefaultsincecomment
    smoothfalsev3.2.0是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    Inherits or Implemented: BaseAxisTheme

    RadarCoord

    Inherits or Implemented: CoordSystem,ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    Inherits or Implemented: Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    Inherits or Implemented: BaseAxisTheme

    Ring

    Inherits or Implemented: Serie

    Scatter

    Inherits or Implemented: BaseScatter

    SelectStyle

    Inherits or Implemented: StateStyle,ISerieExtraComponent,ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    Inherits or Implemented: BaseSerie,IComparable

    系列。

    fielddefaultsincecomment
    index系列索引。
    showtrue系列是否显示在图表上。
    coordSystem使用的坐标系。
    serieType系列类型。
    serieName系列名称,用于 tooltip 的显示,legend 的图例筛选。
    statev3.2.0系列的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    colorByv3.2.0从主题中取色的策略。
    SerieColorBy:
    - Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略
    - Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    - Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。
    markColorv3.4.0Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。
    stack数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。
    xAxisIndex0使用X轴的index。
    yAxisIndex0使用Y轴的index。
    radarIndex0雷达图所使用的 radar 组件的 index。
    vesselIndex0水位图所使用的 vessel 组件的 index。
    polarIndex0所使用的 polar 组件的 index。
    singleAxisIndex0所使用的 singleAxis 组件的 index。
    parallelIndex0所使用的 parallel coord 组件的 index。
    minShow系列所显示数据的最小索引
    maxShow系列所显示数据的最大索引
    maxCache系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。
    sampleDist0采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。
    sampleType采样类型。当sampleDist大于0时有效。
    SampleType:
    - Peak: 取峰值。
    - Average: 取过滤点的平均值。
    - Max: 取过滤点的最大值。
    - Min: 取过滤点的最小值。
    - Sum: 取过滤点的和。
    sampleAverage0设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。
    lineType折线图样式类型。
    LineType:
    - Normal: 普通折线图。
    - Smooth: 平滑曲线。
    - StepStart: 阶梯线图:当前点。
    - StepMiddle: 阶梯线图:当前点和下一个点的中间。
    - StepEnd: 阶梯线图:下一个拐点。
    smoothLimittruev3.4.0是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。
    barType柱形图类型。
    BarType:
    - Normal: 普通柱形图。
    - Zebra: 斑马柱形图。
    - Capsule: 胶囊柱形图。
    barPercentStackfalse柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。
    barWidth0柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。
    barMaxWidth0v3.5.0柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。
    barGap0.1f不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。
    barZebraWidth4f斑马线的粗细。
    barZebraGap2f斑马线的间距。
    min最小值。
    max最大值。
    minSize0f数据最小值 min 映射的宽度。
    maxSize1f数据最大值 max 映射的宽度。
    startAngle起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    endAngle结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    minAngle最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。
    clockwisetrue是否顺时针。
    roundCap是否开启圆弧效果。
    splitNumber刻度分割段数。最大可设置36。
    clickOffsettrue鼠标点击时是否开启偏移,一般用在PieChart图表中。
    roseType是否展示成南丁格尔图,通过半径区分数据大小。
    RoseType:
    - None: 不展示成南丁格尔玫瑰图。
    - Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    - Area: 所有扇区圆心角相同,仅通过半径展现数据大小。
    gap间距。
    center中心点。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    showDataDimension数据项里的数据维数。
    showDataName在Editor的inpsector上是否显示name参数
    clipfalse是否裁剪超出坐标系部分的图形。
    ignorefalse是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。
    ignoreValue0忽略数据的默认值。当ignore为true才有效。
    ignoreLineBreakfalse忽略数据时折线是断开还是连接。默认false为连接。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。
    largetrue是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。
    largeThreshold200开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。
    avoidLabelOverlapfalse在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。
    radarType雷达图类型。
    RadarType:
    - Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    - Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]
    placeHolderfalse占位模式。占位模式时,数据有效但不参与渲染和显示。
    dataSortType组件的数据排序。
    SerieDataSortType:
    - None: 按 data 的顺序
    - Ascending: 升序
    - Descending: 降序
    orient组件的朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    align组件水平方向对齐方式。
    Align:
    - Center: 对齐方式
    - Left: 对齐方式
    - Right: 对齐方式
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    lineStyle线条样式。 LineStyle
    symbol标记的图形。 SerieSymbol
    animation起始动画。 AnimationStyle
    itemStyle图形样式。 ItemStyle
    data系列中的数据内容数组。SerieData可以设置1到n维数据。

    SerieData

    Inherits or Implemented: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    fielddefaultsincecomment
    index数据项索引。
    name数据项名称。
    id数据项的唯一id。唯一id不是必须设置的。
    parentId父节点id。父节点id不是必须设置的。
    ignore是否忽略数据。当为 true 时,数据不进行绘制。
    selected该数据项是否被选中。
    radius自定义半径。可用在饼图中自定义某个数据项的半径。
    statev3.2.0数据项的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    data可指定任意维数的数值列表。

    SerieSymbol

    Inherits or Implemented: SymbolStyle,ISerieDataComponent

    系列数据项的标记的图形

    fielddefaultsincecomment
    sizeType标记图形的大小获取方式。
    SymbolSizeType:
    - Custom: 自定义大小。
    - FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    - Function: 通过委托函数获取。
    dataIndex1当sizeType指定为FromData时,指定的数据源索引。
    dataScale1当sizeType指定为FromData时,指定的倍数系数。
    sizeFunction当sizeType指定为Function时,指定的委托函数。
    startIndex开始显示图形标记的索引。
    interval显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    forceShowLastfalse是否强制显示最后一个图形标记。
    repeatfalse图形是否重复。
    minSize0fv3.3.0图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。
    maxSize0fv3.3.0图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieTheme

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    lineWidth文本颜色。
    lineSymbolSize折线图的Symbol大小。
    scatterSymbolSize散点图的Symbol大小。
    pieTooltipExtraRadius饼图鼠标移到高亮时的额外半径
    selectedRate1.3f折线图或散点图在被选中时的放大倍数。
    pieSelectedOffset饼图选中时的中心点偏移。
    candlestickColorColor32(235, 84, 84, 255)K线图阳线(涨)填充色
    candlestickColor0Color32(71, 178, 98, 255)K线图阴线(跌)填充色
    candlestickBorderWidth1K线图边框宽度
    candlestickBorderColorColor32(235, 84, 84, 255)K线图阳线(跌)边框色
    candlestickBorderColor0Color32(71, 178, 98, 255)K线图阴线(跌)边框色

    Settings

    Inherits or Implemented: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    fielddefaultsincecomment
    showtrue
    maxPainter10设定的painter数量。
    reversePainterfalsePainter是否逆序。逆序时index大的serie最先绘制。
    basePainterMaterialBase Pointer 材质球,设置后会影响Axis等。
    seriePainterMaterialSerie Pointer 材质球,设置后会影响所有Serie。
    upperPainterMaterialUpper Pointer 材质球。
    topPainterMaterialTop Pointer 材质球。
    lineSmoothStyle2.5f曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。
    lineSmoothness2fWhen the area with gradient is filled, the larger the value, the worse the transition effect.
    lineSegmentDistance3f线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。
    cicleSmoothness2f圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。
    legendIconLineWidth2Line类型图例图标的线条宽度。
    legendIconCornerRadius图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    axisMaxSplitNumber50v3.1.0坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    SimplifiedBar

    Inherits or Implemented: Serie,INeedSerieContainer,ISimplifiedSerie

    SimplifiedCandlestick

    Inherits or Implemented: Serie,INeedSerieContainer,ISimplifiedSerie

    SimplifiedLine

    Inherits or Implemented: Serie,INeedSerieContainer,ISimplifiedSerie

    SingleAxis

    Inherits or Implemented: Axis,IUpdateRuntimeData

    单轴。

    fielddefaultsincecomment
    orient坐标轴朝向。默认为水平朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1f组件离容器左侧的距离。
    right0.1f组件离容器右侧的距离。
    top0f组件离容器上侧的距离。
    bottom0.2f组件离容器下侧的距离。
    width0坐标轴宽。
    height50坐标轴高。

    SingleAxisCoord

    Inherits or Implemented: CoordSystem

    StageColor

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    percent结束位置百分比。
    color颜色。

    StateStyle

    Inherits or Implemented: ChildComponent

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    fielddefaultsincecomment
    showtrue是否启用高亮样式。
    label图形文本标签。 LabelStyle
    labelLine图形文本引导线样式。 LabelLine
    itemStyle图形样式。 ItemStyle
    lineStyle折线样式。 LineStyle
    areaStyle区域样式。 AreaStyle
    symbol标记样式。 SerieSymbol

    SubTitleTheme

    Inherits or Implemented: ComponentTheme

    SymbolStyle

    Inherits or Implemented: ChildComponent

    系列数据项的标记的图形

    fielddefaultsincecomment
    showtrue是否显示标记。
    type标记类型。
    SymbolType:
    - None: 不显示标记。
    - Custom: 自定义标记。
    - Circle: 圆形。
    - EmptyCircle: 空心圆。
    - Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    - EmptyRect: 空心正方形。
    - Triangle: 三角形。
    - EmptyTriangle: 空心三角形。
    - Diamond: 菱形。
    - EmptyDiamond: 空心菱形。
    - Arrow: 箭头。
    - EmptyArrow: 空心箭头。
    size0f标记的大小。
    gap0图形标记和线条的间隙距离。
    width0f图形的宽。
    height0f图形的高。
    offsetVector2.zero图形的偏移。
    image自定义的标记图形。
    imageType图形填充类型。
    color图形的颜色。

    TextLimit

    Inherits or Implemented: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    fielddefaultsincecomment
    enablefalse是否启用文本自适应。 [default:true]
    maxWidth0Clipping occurs when the width of the text is greater than this value.
    gap1两边留白像素距离。 [default:10f]
    suffix长度超出时的后缀。 [default: "..."]

    TextPadding

    Inherits or Implemented: Padding

    文本的内边距设置。

    TextStyle

    Inherits or Implemented: ChildComponent

    文本的相关设置。

    fielddefaultsincecomment
    showtrue文本的相关设置。
    font文本字体。 [default: null]
    autoWrapfalse是否自动换行。
    autoAligntrue文本是否让系统自动选对齐方式。为false时才会用alignment。
    rotate0文本的旋转。 [default: 0f]
    autoColorfalse是否开启自动颜色。当开启时,会自动设置颜色。
    color文本的颜色。 [default: Color.clear]
    fontSize0文本字体大小。 [default: 18]
    fontStyle文本字体的风格。 [default: FontStyle.Normal]
    lineSpacing1f行间距。 [default: 1f]
    alignment对齐方式。
    tMPFontTextMeshPro字体。
    tMPFontStyle
    tMPAlignment
    tMPSpriteAssetv3.1.0

    Theme

    Inherits or Implemented: ScriptableObject

    主题相关配置。

    fielddefaultsincecomment
    themeType主题类型。
    ThemeType:
    - Default: 默认主题。
    - Light: 亮主题。
    - Dark: 暗主题。
    - Custom: 自定义主题。
    themeName主题名称。
    font主题字体。
    tMPFont主题字体。
    contrastColor对比色。
    backgroundColor背景颜色。
    colorPalette调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
    commonComponentTheme
    titleTitleTheme
    subTitleSubTitleTheme
    legendLegendTheme
    axisAxisTheme
    tooltipTooltipTheme
    dataZoomDataZoomTheme
    visualMapVisualMapTheme
    serieSerieTheme

    ThemeStyle

    Inherits or Implemented: ChildComponent

    主题相关配置。

    fielddefaultsincecomment
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse是否透明背景颜色。当设置为true时,不绘制背景颜色。
    enableCustomThemefalse是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。
    customFont
    customBackgroundColor自定义的背景颜色。
    customColorPalette

    Title

    Inherits or Implemented: MainComponent,IPropertyChanged

    标题组件,包含主标题和副标题。

    fielddefaultsincecomment
    showtrue是否显示标题组件。
    text主标题文本,支持使用 \n 换行。
    subText副标题文本,支持使用 \n 换行。
    labelStyle主标题文本样式。 LabelStyle
    subLabelStyle副标题文本样式。 LabelStyle
    itemGap0主副标题之间的间距。
    location标题显示位置。 Location

    TitleStyle

    Inherits or Implemented: LabelStyle,ISerieDataComponent,ISerieExtraComponent

    标题相关设置。

    TitleTheme

    Inherits or Implemented: ComponentTheme

    Tooltip

    Inherits or Implemented: MainComponent

    提示框组件。

    fielddefaultsincecomment
    showtrue是否显示提示框组件。
    type提示框指示器类型。
    Tooltip.Type:
    - Line: 直线指示器
    - Shadow: 阴影指示器
    - None: 无指示器
    - Corss: 十字准星指示器。坐标轴显示Label和交叉线。
    trigger触发类型。
    Tooltip.Trigger:
    - Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    - Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    - None: 什么都不触发。
    positionv3.3.0显示位置类型。
    Tooltip.Position:
    - Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    - Custom: 自定义。完全自定义显示位置(x,y)。
    - FixedX: 只固定坐标X。Y跟随鼠标位置。
    - FixedY:
    itemFormatter提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用
    titleFormatter提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {f}为数据总和。
    {g}为数据总个数。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
    markerserie的符号标志。
    fixedWidth0固定宽度。比 minWidth 优先。
    fixedHeight0固定高度。比 minHeight 优先。
    minWidth0最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。
    minHeight0最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    paddingLeftRight10左右边距。
    paddingTopBottom10上下边距。
    ignoreDataShowfalse是否显示忽略数据在tooltip上。
    ignoreDataDefaultContent被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。
    showContenttrue是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。
    alwayShowContentfalse是否触发后一直显示提示框浮层。
    offsetVector2(18f, -25f)提示框相对于鼠标位置的偏移。
    backgroundImage提示框的背景图片。
    backgroundType提示框的背景图片显示类型。
    backgroundColor提示框的背景颜色。
    borderWidth2f边框线宽。
    fixedX0f固定X位置的坐标。
    fixedY0.7f固定Y位置的坐标。
    titleHeight25f标题文本的高。
    itemHeight25f数据项文本的高。
    borderColorColor32(230, 230, 230, 255)边框颜色。
    lineStyle指示线样式。 LineStyle
    titleLabelStyle标题的文本样式。 LabelStyle
    contentLabelStyles内容部分的文本样式列表。和列一一对应。

    TooltipTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f指示线线宽。
    lineColor指示线颜色。
    areaColor区域指示的颜色。
    labelTextColor十字指示器坐标轴标签的文本颜色。
    labelBackgroundColor十字指示器坐标轴标签的背景颜色。

    VisualMap

    Inherits or Implemented: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    fielddefaultsincecomment
    showtrue组件是否生效。
    showUIfalse是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。
    type组件类型。
    VisualMap.Type:
    - Continuous: 连续型。
    - Piecewise: 分段型。
    selectedMode选择模式。
    VisualMap.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    serieIndex0影响的serie索引。
    min0范围最小值
    max0范围最大值
    range指定手柄对应数值的位置。range 应在[min,max]范围内。
    text两端的文本,如 ['High', 'Low']
    textGap两端文字主体之间的距离,单位为px。
    splitNumber5对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。
    calculablefalse是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。
    realtimetrue拖拽时,是否实时更新。
    itemWidth20f图形的宽度,即颜色条的宽度。
    itemHeight140f图形的高度,即颜色条的高度。
    itemGap10f每个图元之间的间隔距离。
    borderWidth0边框线宽,单位px。
    dimension-1Starting at 1, the default is 0 to take the last dimension in data.
    hoverLinktrueConversely, when the mouse hovers over a graphic element in a diagram, the corresponding value of the visualMap component is triangulated in the corresponding position.
    autoMinMaxtrueAutomatically set min, Max value 自动设置min,max的值
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location组件显示的位置。 Location
    workOnLinetrue组件是否对LineChart的LineStyle有效。
    workOnAreafalse组件是否对LineChart的AreaStyle有效。
    outOfRange定义 在选中范围外 的视觉颜色。
    inRange分段式每一段的相关配置。

    VisualMapRange

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    min范围最小值
    max范围最大值
    label文字描述
    color颜色

    VisualMapTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    borderWidth边框线宽。
    borderColor边框颜色。
    backgroundColor背景颜色。
    triangeLen20f可视化组件的调节三角形边长。

    XAxis

    Inherits or Implemented: Axis

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    XCSettings

    Inherits or Implemented: ScriptableObject

    fielddefaultsincecomment
    langLang
    font
    tMPFont
    fontSizeLv128一级字体大小。
    fontSizeLv224
    fontSizeLv320
    fontSizeLv418
    axisLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisLineWidth0.8f
    axisSplitLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisSplitLineWidth0.8f
    axisTickWidth0.8f
    axisTickLength5f
    gaugeAxisLineWidth15f
    gaugeAxisSplitLineWidth0.8f
    gaugeAxisSplitLineLength15f
    gaugeAxisTickWidth0.8f
    gaugeAxisTickLength5f
    tootipLineWidth0.8f
    dataZoomBorderWidth0.5f
    dataZoomDataLineWidth0.5f
    visualMapBorderWidth0f
    serieLineWidth1.8f
    serieLineSymbolSize5f
    serieScatterSymbolSize20f
    serieSelectedRate1.3f
    serieCandlestickBorderWidth1f
    editorShowAllListDatafalse
    maxPainter10
    lineSmoothStyle3f
    lineSmoothness2f
    lineSegmentDistance3f
    cicleSmoothness2f
    visualMapTriangeLen20f
    pieTooltipExtraRadius8f
    pieSelectedOffset8f
    customThemes

    YAxis

    Inherits or Implemented: Axis

    直角坐标系 grid 中的 y 轴。

    - - + + \ No newline at end of file diff --git a/docs/v3.5.0/faq/index.html b/docs/v3.5.0/faq/index.html index 4906ab6a..9a798126 100644 --- a/docs/v3.5.0/faq/index.html +++ b/docs/v3.5.0/faq/index.html @@ -14,8 +14,8 @@ 常见问题 | XCharts - - + +
    @@ -50,7 +50,7 @@ QA 29:如何修改Serie的Symbol的颜色?
    QA 30:导入或更新XCharts时TMP报错怎么办?
    QA 31:支持空数据吗?如何实现折线图断开的效果?

    如何调整坐标轴与背景的边距

    答:Grid组件,可调整上下左右边距。

    如何让初始动画重新播放

    答:调用AnimationReset()接口。

    如何自定义折线图_饼图等数据项的颜色

    答:通过ThemecolorPalette调整,或者部分Serie下的LineStyleItemStyle

    如何格式化文字_如我想给坐标轴标签加上单位

    答:通过formatternumericFormatter参数,在LegendAxisAxisLabelTooltopSerieLabel都提供该参数的配置。

    如何让柱形图的柱子堆叠显示

    答:设置Serie下的stackstack相同的serie会堆叠显示在一个柱子上。

    如何让柱形图的柱子同柱但不重叠

    答:设置Serie下的barGap-1stack为空。

    如何调整柱形图的柱子宽度和间距

    答:调整Serie下的barWidthbarGap,多个serie时最后一个seriebarWidthbarGap有效。

    如何调整柱形图单个柱子的颜色

    答:可通过调整单个Data下的ItemStyle调整,也可以通过两个serie同柱不堆叠来实现,通过设置数据项为0来达到类似效果。

    如何调整图表的对齐方式

    答:调整RectTransform的锚点,和UGUI的其他组件的用法一致。

    可以显示超过1000以上的大数据吗

    答:可以。但UGUI对单个Graphic限制65000个顶点,所以太多的数据不一定能显示完全。可通过设置采样距离sampleDist开启采样简化过密曲线。也可以通过设置一些参数来减少图表的顶点数有助于显示更多数据。如缩小图表的尺寸,关闭或减少坐标轴的客户端绘制,关闭Seriesymbollabel显示等。折线图的普通线图Normal比平滑线图Smooth占用顶点数更少。1.5.0以上版本可以设置largelargeThreshold参数来开启性能模式。

    折线图可以画虚线点线点划线吗

    答:可以。通过Serie下的lineType选择线条样式。当要显示的数据过多(成千以上)数据间过密时建议使用Normal或者Step样式。

    如何限定Y轴的值范围

    答:设置Axis下的minMaxTypeCustom,自定义minmax

    如何自定义数值轴刻度大小

    答:默认时通过Axis下的splitNumer进行自动划分。也可以设置interval自定义刻度大小。

    如何在数据项顶上显示文本

    答:通过设置Serie下的Label。3.0版本需要先添加LabelStyle组件。

    如何给数据项自定义图标

    答:通过设置Seriedata下的数据项可单独设置icon相关参数。

    锯齿太严重_如何让图表更顺滑

    答:开启抗锯齿设置(在Unity里设置)。调整UI渲染模式为Camera模式,开启MSAA,设置4倍或更高抗锯齿。

    为什么鼠标移上图表Tooltip不显示

    答:确认Tooltip是否开启;确认父节点是否关闭了鼠标事件。

    如何取消Tooltip的竖线

    答:设置TooltiptypeNone。或者调整lineStyle的参数。

    如何自定义Tooltip的显示内容

    答:自定义总的内容可以通过Tooltipformatter。如果只是想调整所有的serie的显示格式可以用itemFormattertitleFormatter结合。如果想每个serie的显示格式不一样,可以定制serieitemStyle里的tooltipFormatter。具体的用法请查阅XCharts配置项手册

    如何让Y轴显示多位小数

    答:设置Axis下的AxisLabel中的formatter{value:f1}{value:f2}1.5.0及以上版本通过numericFormatter设置。

    如何用代码动态更新数据

    答:请查阅Example下的代码,Example13_LineSimple.cs就是一个简单添加数据构建折线图的例子,其他Demo也都是通过代码控制不同的组件实现不同的功能,相关API请查看文档:XChartsAPI接口

    如何显示图例_为什么有时候图例无法显示

    答:首先,你的serie里的name需有值不为空。然后开启Legend显示,里面的data可以默认为空,表示显示所有的图例。如果你只想显示部分serie的图例,在data中填入要显示的图例的name即可。如果data中的值都不是系列的name,那图例就不会显示。

    如何做成预设

    答:做成prefab前,执行一下Rebuild Chart Object重新刷新节点,避免有冗余的节点存在。

    如何在图表上画点画线等自定义内容

    答:XCharts有自定义绘制回调onCustomDraw,具体可参考Example12_CustomDrawing.cs

    如何实现心电图类似的数据移动效果

    答:参考Example目录下的Example_Dynamic.cs。主要通过设置maxCache参数实现。axisserie都设置相同的maxCachemaxCache可固定数据个数,当数据超过设定时会先删除第一个在添加新数据,实现数据移动效果。

    如何使用背景组件_有什么条件限制

    答:设置background组件的showtrue

    区域折线图在用半透明颜色时有时候会一条叠加的线

    答:这是区域折线图绘制的bug。可以用浅的不透的颜色替代半透明颜色。

    Mesh_cannot_have_more_than_65000_vertices

    答:这是UGUI对单个Graphic的顶点数限制。XCharts是将图形绘制在单个Graphic上,所以也会有这个限制。解决的办法可以参考:QA 10:可以显示超过1000以上的大数据吗?

    为什么serie里设置的参数运行后又被重置了

    答:检测下代码里是否调用了RemoveData()并重新添加Serie了。如果想保留Serie的配置可以只ClearData(),然后重新添加数据。

    如何修改Serie的Symbol的颜色

    答:Symbol 的颜色是使用的 ItemStylecolor

    导入或更新XCharts时TMP报错怎么办

    答:XCharts默认时不开启TMP,所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    支持空数据吗_如何实现折线图断开的效果

    答:Seriedatadouble类型,所以无法表示空数据。可通过开启Serieignore和指定ignoreValue来达到空数据的效果。也可以每个SerieData设置ignore参数。忽略数据后断开还是连接可设置ignoreLineBreak参数。

    - - + + \ No newline at end of file diff --git a/docs/v3.5.0/funnel/index.html b/docs/v3.5.0/funnel/index.html index 23d46bbb..b0cefdcc 100644 --- a/docs/v3.5.0/funnel/index.html +++ b/docs/v3.5.0/funnel/index.html @@ -14,14 +14,14 @@ 漏斗图 | XCharts - - + +
    Version: v3.5.0

    漏斗图

    XCharts的付费扩展图表 - 漏斗图。

    funnel

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    FunnelChart

    Inherits or Implemented: BaseChart

    配置项手册

    Funnel

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    rectEndv3.3.0是否最后以矩形结束。默认false以三角形结束。
    dynamicHeightv3.3.0是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。
    - - + + \ No newline at end of file diff --git a/docs/v3.5.0/gantt/index.html b/docs/v3.5.0/gantt/index.html index 12000509..e963be6a 100644 --- a/docs/v3.5.0/gantt/index.html +++ b/docs/v3.5.0/gantt/index.html @@ -14,14 +14,14 @@ 甘特图 | XCharts - - + +
    Version: v3.5.0

    甘特图

    XCharts付费扩展图表 - 甘特图。

    gantt

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    GanttChart

    Inherits or Implemented: BaseChart

    public methoddescription
    GetSeriesMinMaxValue()public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    InitAxisRuntimeData()public override void InitAxisRuntimeData(Axis axis)
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)

    配置项手册

    Gantt

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    disableDrag

    GanttStyle

    Inherits or Implemented: MainComponent

    fielddefaultsincecomment
    showtrue
    ganttType甘特图类型。
    GanttType:
    - Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    - Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。
    inverttrue
    dragEnabletrue是否可以拖拽甘特图。
    dragSensitivity1f拖拽的灵敏度。
    dragRangeMin0拖拽最小值限制。
    dragRangeMax0拖拽最大值限制。
    autoAdsorbAlignlinetrue拖拽结束后是否自动吸附到对齐线。
    alignlineDataIndex1显示对齐线的数据项索引。
    showAlignlineRange10f显示对齐线的范围。
    aliginLine对齐线样式。
    splitArea
    - - + + \ No newline at end of file diff --git a/docs/v3.5.0/gauge/index.html b/docs/v3.5.0/gauge/index.html index 2fab2b13..2703a6bf 100644 --- a/docs/v3.5.0/gauge/index.html +++ b/docs/v3.5.0/gauge/index.html @@ -14,14 +14,14 @@ 仪表盘 | XCharts - - + +
    Version: v3.5.0

    仪表盘

    XCharts付费扩展图表 - 仪表盘。

    gauge

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    master

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.10.05) 增加GaugeAxisLinestageGradient支持设置阶段渐变色过渡

    v3.3.0

    • (2022.09.28) 发布v3.3.0版本
    • (2022.08.26) 修复Pointer在普通模式下不显示的问题
    • (2022.08.25) 增加label颜色跟随数值变化的支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.15) 支持渐变

    API

    GaugeChart

    Inherits or Implemented: BaseChart

    配置项手册

    Gauge

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    gaugeAxis仪表盘轴线。 GaugeAxis
    gaugePointer仪表盘指针。 GaugePointer
    gaugeAnchor仪表盘指针固定点。 GaugeAnchor

    GaugeAnchor

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showtrue是否显示指针固定点。
    showAbovetrue固定点是否显示在指针上面。
    type标记类型。
    size6标记的大小。
    gap0图形标记和线条的间隙距离。
    image自定义的标记图形。
    imageType
    offsetCenterVector2(0, 0)相对于中心的偏移位置。
    itemStyle图形样式。

    GaugeAxis

    Inherits or Implemented: ChildComponent

    仪表盘轴线相关设置。

    fielddefaultsincecomment
    showtrue
    type
    GaugeAxisType:
    - None: 仪表盘类型
    - Section: 分段
    - Progress: 进度
    overlaptrue
    distance
    axisLine仪表盘轴线样式。 GaugeAxisLine
    splitLine分割线。
    axisTick刻度。
    axisLabel文本标签。
    axisLabelText自定义Label的内容。

    GaugeAxisLine

    Inherits or Implemented: BaseLine

    fielddefaultsincecomment
    backgroundColorColor32(230, 235, 248, 255)进度条背景颜色。
    stageColor阶段颜色。
    stageGradientv3.4.0阶段颜色是否渐变过渡。

    GaugePointer

    Inherits or Implemented: ChildComponent

    仪表盘指针相关设置。

    fielddefaultsincecomment
    showtrue是否显示指针。
    length0.6f指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backLength0.05f指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backExtraLength0.05f指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topLeftLength0f指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topRightLength0f指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomLeftLength0.025f指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomRightLength0.025f指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    distance
    roundCap
    autoColortrue
    color
    toColor
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    - - + + \ No newline at end of file diff --git a/docs/v3.5.0/liquid/index.html b/docs/v3.5.0/liquid/index.html index 6f83fb4a..fb6e8597 100644 --- a/docs/v3.5.0/liquid/index.html +++ b/docs/v3.5.0/liquid/index.html @@ -14,14 +14,14 @@ 水位图 | XCharts - - + +
    Version: v3.5.0

    水位图

    XCharts的付费扩展图表 - 水位图。

    liquid

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    LiquidChart

    Inherits or Implemented: BaseChart

    VesselContext

    Inherits or Implemented: MainComponentContext

    配置项手册

    Liquid

    Inherits or Implemented: Serie,INeedSerieContainer

    fielddefaultsincecomment
    waveHeight10f波高。
    waveLength20f波长。为0-1小数时指直线的百分比。
    waveSpeed5f波速。正数时左移,负数时右移。
    waveOffset0f波偏移。

    Vessel

    Inherits or Implemented: MainComponent,ISerieContainer,IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    fielddefaultsincecomment
    showtrue是否显示容器组件。 [defaut: true]
    shape容器形状。 [default: Shape.Circle]
    Vessel.Shape:
    - Circle: 圆形
    - Rect: 正方形。
    - Triangle: 三角形。
    - Diamond: 菱形。
    shapeWidth5f容器厚度。 [defaut: 5f]
    gap5f间隙。容器和液体的间隙。 [defaut: 10f]
    colorColor32(70, 70, 240, 255)容器颜色。默认和serie一致。
    backgroundColor背景色,默认透明。 [default: Color.clear]
    autoColortrue是否自动颜色。为true时颜色会和serie一致。 [default: true]
    centerWhen value between 0 and 1 represents a percentage relative to the chart.
    radius0.35fWhen value between 0 and 1 represents a percentage relative to the chart.
    smoothness1f水波平滑度。 [default: 1f]
    width0.5fWhen value between 0 and 1 represents a percentage relative to the chart.
    height0.7fWhen value between 0 and 1 represents a percentage relative to the chart.
    borderWidth0f内壁边框。
    borderColorColor32(70, 70, 240, 255)容器内壁边框颜色。默认和serie一致。
    cornerRadius容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。
    - - + + \ No newline at end of file diff --git a/docs/v3.5.0/pictorialbar/index.html b/docs/v3.5.0/pictorialbar/index.html index 3bc93ed4..ed5ec850 100644 --- a/docs/v3.5.0/pictorialbar/index.html +++ b/docs/v3.5.0/pictorialbar/index.html @@ -14,14 +14,14 @@ 象形柱图 | XCharts - - + +
    Version: v3.5.0

    象形柱图

    XCharts付费扩展图表 - 象形柱图。

    pictorialbar

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBarChart

    Inherits or Implemented: BaseChart

    配置项手册

    PictorialBar

    Inherits or Implemented: Serie,INeedSerieContainer

    - - + + \ No newline at end of file diff --git a/docs/v3.5.0/pie3d/index.html b/docs/v3.5.0/pie3d/index.html index 76ecbd11..f5d5db3f 100644 --- a/docs/v3.5.0/pie3d/index.html +++ b/docs/v3.5.0/pie3d/index.html @@ -14,14 +14,14 @@ 3D饼图 | XCharts - - + +
    Version: v3.5.0

    3D饼图

    XCharts的付费扩展图表 - 3D饼图。

    pie3d

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.3.0

    • (2022.09.02) 增加onPointerEnterPie回调支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pie3DChart

    Inherits or Implemented: BaseChart

    Pie3DSlice

    public methoddescription
    Contains()public bool Contains(float angle)
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    IsInSidePolygon()public bool IsInSidePolygon(Vector2 p)
    IsInStartOrEndSide()public bool IsInStartOrEndSide(Vector2 p)
    IsInTopPolygon()public bool IsInTopPolygon(Vector2 p)
    Pie3DSlice()public Pie3DSlice()
    UpdateValue()public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig)

    配置项手册

    Pie3D

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    pie3DStylePie3DStyle

    Pie3DStyle

    Inherits or Implemented: ChildComponent

    3D饼图样式。

    fielddefaultsincecomment
    showtrue
    ellipseMinorAxis0.65f椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。
    pieMaxHeight20f饼图厚度。
    pieAutoHeightfalse是否自动根据比例计算厚度。
    selectedOffsetVector2(0.1f, 0.5f)The offset of selected pie slice. 被选中状态的饼图块的额外偏移。
    peripherySideColorRate0.8f饼图切块的侧面颜色。
    startSideColorRate0.7f饼图切块的起始面颜色(顺时针)。
    endSideColorRate0.65f饼图切块的结束面颜色(顺时针)。
    - - + + \ No newline at end of file diff --git a/docs/v3.5.0/pyramid/index.html b/docs/v3.5.0/pyramid/index.html index d14789e3..c11b73f1 100644 --- a/docs/v3.5.0/pyramid/index.html +++ b/docs/v3.5.0/pyramid/index.html @@ -14,14 +14,14 @@ 金字塔 | XCharts - - + +
    Version: v3.5.0

    金字塔

    XCharts付费扩展图表 - 金字塔。

    pyramid

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    PyramidChart

    Inherits or Implemented: BaseChart

    配置项手册

    Pyramid

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    pyramidStylePyramidStyle

    PyramidStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showtrue
    3Dtrue
    drawToptrue
    bottomPointRate0.5f3D模式下,底部中点占金字塔宽度的比例
    leftPointRate0.1f3D模式下,底部左边点占金字塔高度的比例
    rightPointRate0.1f3D模式下,底部右边点占金字塔高度的比例
    leftColorOpacity0.9f3D模式下,金字塔左边的颜色透明度
    rightColorOpacity0.7f3D模式下,金字塔右边的颜色透明度
    topColorOpacity0.99f3D模式下,金字塔顶部的颜色透明度
    labelLineMargin10fLabel标签距离右边的距离
    - - + + \ No newline at end of file diff --git a/docs/v3.5.0/support/index.html b/docs/v3.5.0/support/index.html index 3701546e..ce446007 100644 --- a/docs/v3.5.0/support/index.html +++ b/docs/v3.5.0/support/index.html @@ -14,15 +14,15 @@ 订阅服务 | XCharts - - + +
    Version: v3.5.0

    订阅服务

    如需技术支持,可订阅个人VIP服务。扫后面的二维码后可加VIP群867291970,验证信息请输入付费的账号。
    企业商务合作可联系QQ:3525422251(XCharts技术支持)。

    订阅VIP服务

    订阅服务分个人订阅和企业订阅:

    • 个人订阅:个人VIP属于个人,不可转让,XCharts团队只服务于订阅当事人。
    • 企业订阅:企业VIP属于企业,席位内可安排固定职员,职员离职后席位可重新安排,XCharts团队通过专属企业群为企业服务。

    订阅服务的优势?

    • 提高工作效率,节省时间成本。一方面,XCharts功能强大,相关配置项非常多,VIP服务可快速帮您定位,节省去查找和核对的时间;另一方面,VIP的即时回答服务可快速为您答疑解惑,避免中断开发流程。总之,订阅VIP可让您能快速上手,快速处理问题,至少能提高10倍以上的工作效率。
    • 更多技术交流,更多经验交流。XCharts团队成员从业多年,有丰富的技术和工作经验。VIP服务不仅可以交流XCharts相关的内容,也可以咨询其他方面的技术。VIP群也有更多的交流。
    • 扩展图表的需要订阅VIP服务后才能购买,扩展图表超过1年后的更新支持也需要持续订阅VIP服务。
    • VIP用户可加入XChartsGitHub组织,参与XCharts社区构建,访问专有仓库。
    免费用户付费咨询个人VIP个人SVIP企业VIP
    订阅费用--98¥298¥首年1298¥
    后续298¥*
    联系我们
    订阅时长--7天*11年*1
    订阅席位--1个席位1个席位1个席位5个以上席位
    服务方式:
    官方QQ群交流
    即时一对一交流
    专属VIP群交流√(专属企业群)
    服务内容:
    可商用
    可二次开发
    有问必答
    即时回答
    新手指导
    开发指导
    优化指导
    其他技术支持
    问题及时处理
    需求优先考虑
    可另付费定制
    可另付费加急
    VIP专有功能教程和文档√待开放√待开放√待开放
    扩展图表购买按需购买全部免费全部免费
    扩展图表源码永久持有永久持有永久持有
    扩展图表更新1年更新支持1年更新支持1年更新支持

    购买扩展图表

    扩展图表为另付费购买图表,只对订阅了VIP服务的用户开放购买。对于SVIP的订阅用户,所有扩展图表仓库可免费使用,不用再单独购买。

    对所有已购买的扩展图表,源码可永久持有,并获得持续一年的更新支持,一年后如需更新支持服务,可继续订阅VIP服务。

    编号扩展图表价格备注
    101PictorialBarChart98¥象形柱图
    102FunnelChart98¥漏斗图
    103PyramidChart98¥3D金字塔
    104TreemapChart98¥树形矩图
    201Bar3DChart198¥3D柱图
    202Pie3DChart198¥3D饼图
    203GanttChart198¥甘特图
    204GaugeChart198¥仪表盘
    205LiquidChart198¥水位图

    备注说明

    1. 付费定制 是指用户可根据自己的需求定制不同的图表或新功能,只有VIP用户才享有付费定制权利。
    2. 付费加急 是指用户可对自己非常紧急的需求进行付费,将开发优先级提到最高,并可要求在Deadline内交付,只有VIP用户才享有付费加急权利。
    3. 付费咨询 付费咨询有效期7天,且总咨询时长不超过7个小时。
    4. 扩展图表 购买后代码可永久持有和商用,1年的更新支持。

    捐助支持

    如果这个项目对您有帮助,请右上方点 Star 予以支持!也欢迎任意金额的捐助,非常您的支持!

    alipay-qrcode wechat-qrcode

    - - + + \ No newline at end of file diff --git a/docs/v3.5.0/treemap/index.html b/docs/v3.5.0/treemap/index.html index 53fa43e2..748bfaa4 100644 --- a/docs/v3.5.0/treemap/index.html +++ b/docs/v3.5.0/treemap/index.html @@ -14,14 +14,14 @@ 矩形树图 | XCharts - - + +
    Version: v3.5.0

    矩形树图

    XCharts付费扩展图表 - 矩形树图。

    treemap

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    TreemapChart

    Inherits or Implemented: BaseChart

    配置项手册

    Treemap

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    leafDepth0默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。
    visualDimension0用于计算占比的数据维数。
    drillDownIcon当节点可以下钻时的提示符,只能是字符。默认为▶
    customGoUpLevelButton自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。
    upperLabel父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。
    levelStyle
    - - + + \ No newline at end of file diff --git a/docs/v3.5.0/tutorial01/index.html b/docs/v3.5.0/tutorial01/index.html index 663817b8..7d2a164d 100644 --- a/docs/v3.5.0/tutorial01/index.html +++ b/docs/v3.5.0/tutorial01/index.html @@ -14,8 +14,8 @@ 入门教程:5分钟上手 XCharts 3.0 | XCharts - - + +
    @@ -23,7 +23,7 @@ linechart2

    添加其他组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件按需额外添加。比如,需要给折线图区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent linechart3

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加Component。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent linechart4

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个至几十个不等的可配置参数,以支持各种灵活而复杂的功能。

    首次使用XCharts,可在 Inspector 视图添加各种图表,给图表添加或调整里面组件,Game 视图会实时反馈调整后的效果,以熟悉各种组件的使用。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是配置和数据来驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不需要去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时还原回来。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    通常颜色值为0000时表示用主题默认颜色,配置为0或null时表示用主题默认配置。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.GetOrAddChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.GetOrAddChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.GetOrAddChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    用代码改图表参数

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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:

    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:

    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添加额外组件:

    serie.AddExtraComponent<AreaStyle>();

    var label = serie1.AddExtraComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.GetOrAddComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    - - + + \ No newline at end of file diff --git a/docs/v3.5.0/tutorial02/index.html b/docs/v3.5.0/tutorial02/index.html index 8cbb0ffb..03c6e5a2 100644 --- a/docs/v3.5.0/tutorial02/index.html +++ b/docs/v3.5.0/tutorial02/index.html @@ -14,13 +14,13 @@ 从文件或数据库读取数据显示图表 | XCharts - - + +
    Version: v3.5.0

    从文件或数据库读取数据显示图表

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.5.0/tutorial03/index.html b/docs/v3.5.0/tutorial03/index.html index ac85fef4..988522bb 100644 --- a/docs/v3.5.0/tutorial03/index.html +++ b/docs/v3.5.0/tutorial03/index.html @@ -14,13 +14,13 @@ 心电图效果实现 | XCharts - - + +
    Version: v3.5.0

    心电图效果实现

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/about/index.html b/docs/v3.6.0/about/index.html index 311a156c..2e47fced 100644 --- a/docs/v3.6.0/about/index.html +++ b/docs/v3.6.0/about/index.html @@ -14,8 +14,8 @@ 关于XCharts | XCharts - - + +
    @@ -31,7 +31,7 @@ 答:目前只支持在Unity平台使用。理论上任何支持UGUIUnity版本都能运行XCharts

  • 锯齿怎么解决?支持多大量级的数据?
    答:XCharts是基于UGUI实现的,所以UGUI中碰到的问题,在XCharts中也会存在。比如锯齿问题,比如Mesh顶点数超65535的问题。这两个问题的解决可参考问答16问答27
    由于Mesh65535顶点数的限制,目前XCharts的单条Line支持约2万的数据量,当然开启采样可以支持更多数据的绘制,但同时也会更消耗CPU。

  • Licenses

    • MIT License
    • 可免费商用,可二次开发
    • 扩展图表需单独购买授权

    日志

    其他

    • 邮箱:monitor1394@gmail.com
    • QQ群:XCharts交流群(202030963
    • VIP群:XCharts技术支持VIP群(867291970
    • 捐助、合作、订阅和技术支持:☞ 看这里
    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/api/index.html b/docs/v3.6.0/api/index.html index 0b5f0cb6..a16d15ca 100644 --- a/docs/v3.6.0/api/index.html +++ b/docs/v3.6.0/api/index.html @@ -14,13 +14,13 @@ API手册 | XCharts - - + +
    Version: v3.6.0

    API手册

    所有类

    AnimationStyleHelper

    public methodsincedescription
    CheckDataAnimation()public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)
    GetAnimationPosition()public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip)
    UpdateAnimationType()public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType)
    UpdateSerieAnimation()public static void UpdateSerieAnimation(Serie serie)

    AxisContext

    Inherits or Implemented: MainComponentContext

    AxisHandler<T>

    Inherits or Implemented: MainComponentHandler

    AxisHelper

    public methodsincedescription
    AdjustCircleLabelPos()public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    AdjustMinMaxValue()public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
    调整最大最小值
    AdjustRadiusAxisLabelPos()public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    GetAxisLineArrowOffset()public static float GetAxisLineArrowOffset(Axis axis)
    包含箭头偏移的轴线长度
    GetAxisPosition()public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)
    GetAxisPositionValue()public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)
    GetAxisPositionValue()public static double GetAxisPositionValue(GridCoord grid, Axis axis, Vector3 pos)
    GetAxisValueDistance()public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上相对起点的距离
    GetAxisValueLength()public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上对应的长度
    GetAxisValuePosition()public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上的坐标位置
    GetAxisValueSplitIndex()public static int GetAxisValueSplitIndex(Axis axis, double value, int totalSplitNumber = -1)
    获得数值value在坐标轴上对应的split索引
    GetAxisXOrY()public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)
    GetDataWidth()public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
    获得一个类目数据在坐标系中代表的宽度
    GetEachWidth()public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    GetScaleNumber()public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    获得分割线条数
    GetScaleWidth()public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
    获得分割段宽度
    GetSplitNumber()public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
    获得分割段数
    GetTotalSplitGridNum()public static int GetTotalSplitGridNum(Axis axis)
    获得分割网格个数,包含次刻度
    GetXAxisXOrY()public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)
    GetYAxisXOrY()public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)
    NeedShowSplit()public static bool NeedShowSplit(Axis axis)

    BarChart

    Inherits or Implemented: BaseChart

    BaseChart

    Inherits or Implemented: BaseGraph,ISerializationCallbackReceiver

    public methodsincedescription
    onAxisPointerValueChangedpublic Action<Axis, double> onAxisPointerValueChanged
    坐标轴变更数据索引时回调。参数:axis, dataIndex/dataValue
    onDrawpublic Action<VertexHelper> onDraw
    自定义绘制回调。在绘制Serie前调用。
    onDrawAfterSeriepublic Action<VertexHelper, Serie> onDrawAfterSerie
    自定义Serie绘制回调。在每个Serie绘制完后调用。
    onDrawBeforeSeriepublic Action<VertexHelper, Serie> onDrawBeforeSerie
    自定义Serie绘制回调。在每个Serie绘制完前调用。
    onDrawToppublic Action<VertexHelper> onDrawTop
    自定义Top层绘制回调。在绘制Tooltip前调用。
    onDrawUpperpublic Action<VertexHelper> onDrawUpper
    自定义Upper层绘制回调。在绘制Tooltip前调用。
    onInitpublic Action onInit
    图表的初始化完成回调。
    onLegendClickpublic Action<Legend, int, string, bool> onLegendClick
    点击图例按钮回调。参数:legendIndex, legendName, show
    onLegendEnterpublic Action<Legend, int, string> onLegendEnter
    鼠标进入图例回调。参数:legendIndex, legendName
    onLegendExitpublic Action<Legend, int, string> onLegendExit
    鼠标退出图例回调。参数:legendIndex, legendName
    onPointerClickBarpublic Action<PointerEventData, int> onPointerClickBar
    点击柱形图柱条回调。参数:eventData, dataIndex
    onPointerClickPiepublic Action<PointerEventData, int, int> onPointerClickPie
    点击饼图区域回调。参数:PointerEventData,SerieIndex,SerieDataIndex
    onPointerEnterPiepublic Action<int, int> onPointerEnterPie
    鼠标进入和离开饼图区域回调,SerieDataIndex为-1时表示离开。参数:PointerEventData,SerieIndex,SerieDataIndex
    onSerieClickv3.6.0public Action<SerieEventData> onSerieClick
    鼠标点击Serie回调。
    onSerieDownv3.6.0public Action<SerieEventData> onSerieDown
    鼠标按下Serie回调。
    onSerieEnterv3.6.0public Action<SerieEventData> onSerieEnter
    鼠标进入Serie回调。
    onSerieExitv3.6.0public Action<SerieEventData> onSerieExit
    鼠标离开Serie回调。
    onUpdatepublic Action onUpdate
    图表的Update回调。
    AddChartComponent()public MainComponent AddChartComponent(Type type)
    AddChartComponent<T>()public T AddChartComponent<T>() where T : MainComponent
    AddChartComponentWhenNoExist<T>()public T AddChartComponentWhenNoExist<T>() where T : MainComponent
    AddData()public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
    添加一个数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(string serieName, double data, string dataName = null, string dataId = null)
    If serieName doesn't exist in legend,will be add to legend.
    AddData()public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddSerie<T>()public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie
    AddXAxisData()public void AddXAxisData(string category, int xAxisIndex = 0)
    添加一个类目数据到指定的x轴。
    AddXAxisIcon()public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
    添加一个图标到指定的x轴。
    AddYAxisData()public void AddYAxisData(string category, int yAxisIndex = 0)
    添加一个类目数据到指定的y轴。
    AddYAxisIcon()public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
    添加一个图标到指定的y轴。
    AnimationEnable()public void AnimationEnable(bool flag)
    启用或关闭起始动画。
    AnimationFadeIn()public void AnimationFadeIn(bool reset = true)
    开始渐入动画。
    AnimationFadeOut()public void AnimationFadeOut()
    开始渐出动画。
    AnimationPause()public void AnimationPause()
    暂停动画。
    AnimationReset()public void AnimationReset()
    重置动画。
    AnimationResume()public void AnimationResume()
    继续动画。
    CanAddChartComponent()public bool CanAddChartComponent(Type type)
    CanAddSerie()public bool CanAddSerie(Type type)
    CanAddSerie<T>()public bool CanAddSerie<T>() where T : Serie
    CanMultipleComponent()public bool CanMultipleComponent(Type type)
    ClampInChart()public void ClampInChart(ref Vector3 pos)
    ClampInGrid()public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)
    ClearComponentData()public virtual void ClearComponentData()
    清空所有组件的数据。
    ClearData()public virtual void ClearData()
    清空所有组件和Serie的数据。注意:Serie只是清空数据,不会移除Serie。
    ClearSerieData()public virtual void ClearSerieData()
    清空所有serie的数据。
    ClickLegendButton()public void ClickLegendButton(int legendIndex, string legendName, bool show)
    点击图例按钮
    ConvertSerie()public bool ConvertSerie(Serie serie, Type type)
    ConvertSerie<T>()public bool ConvertSerie<T>(Serie serie) where T : Serie
    ConvertXYAxis()public void ConvertXYAxis(int index)
    转换X轴和Y轴的配置
    EnsureChartComponent<T>()v3.6.0public T EnsureChartComponent<T>() where T : MainComponent
    确保图表有该组件,如果没有则添加。注意:有可能添加不成功。
    GenerateDefaultSerieName()public string GenerateDefaultSerieName()
    GetAllSerieDataCount()public int GetAllSerieDataCount()
    GetChartBackgroundColor()public Color32 GetChartBackgroundColor()
    GetChartComponent<T>()public T GetChartComponent<T>(int index = 0) where T : MainComponent
    GetChartComponentNum()public int GetChartComponentNum(Type type)
    GetChartComponentNum<T>()public int GetChartComponentNum<T>() where T : MainComponent
    GetChartComponents<T>()public List<MainComponent> GetChartComponents<T>() where T : MainComponent
    GetData()public double GetData(int serieIndex, int dataIndex, int dimension = 1)
    GetData()public double GetData(string serieName, int dataIndex, int dimension = 1)
    GetDataZoomOfAxis()public DataZoom GetDataZoomOfAxis(Axis axis)
    GetDataZoomOfSerie()public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)
    GetGrid()public GridCoord GetGrid(Vector2 local)
    GetGridOfDataZoom()public GridCoord GetGridOfDataZoom(DataZoom dataZoom)
    GetItemColor()public Color32 GetItemColor(Serie serie)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)
    GetLegendRealShowNameColor()public Color32 GetLegendRealShowNameColor(string name)
    GetLegendRealShowNameIndex()public int GetLegendRealShowNameIndex(string name)
    GetMarkColor()public Color32 GetMarkColor(Serie serie, SerieData serieData)
    获得Serie的标识颜色。
    GetOrAddChartComponent<T>()public T GetOrAddChartComponent<T>() where T : MainComponent
    GetPainter()public Painter GetPainter(int index)
    GetSerie()public Serie GetSerie(int serieIndex)
    GetSerie()public Serie GetSerie(string serieName)
    GetSerie<T>()public T GetSerie<T>() where T : Serie
    GetSerie<T>()public T GetSerie<T>(int serieIndex) where T : Serie
    GetSerieBarGap<T>()public float GetSerieBarGap<T>() where T : Serie
    GetSerieBarRealCount<T>()public int GetSerieBarRealCount<T>() where T : Serie
    GetSerieIndexIfStack<T>()public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie
    GetSerieSameStackTotalValue<T>()public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie
    GetSeriesMinMaxValue()public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    GetSerieTotalGap<T>()public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie
    GetSerieTotalWidth<T>()public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie
    GetTitlePosition()public Vector3 GetTitlePosition(Title title)
    GetVisualMapOfSerie()public VisualMap GetVisualMapOfSerie(Serie serie)
    GetXDataZoomOfSerie()public DataZoom GetXDataZoomOfSerie(Serie serie)
    GetXLerpColor()public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    GetYLerpColor()public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    HasChartComponent()public bool HasChartComponent(Type type)
    HasChartComponent<T>()public bool HasChartComponent<T>()
    HasSerie()public bool HasSerie(Type type)
    HasSerie<T>()public bool HasSerie<T>() where T : Serie
    Init()public void Init(bool defaultChart = true)
    InitAxisRuntimeData()public virtual void InitAxisRuntimeData(Axis axis) { }
    InsertSerie()public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)
    InsertSerie<T>()public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie
    Internal_CheckAnimation()public void Internal_CheckAnimation()
    IsActiveByLegend()public virtual bool IsActiveByLegend(string legendName)
    获得指定图例名字的系列是否显示。
    IsAllAxisCategory()public bool IsAllAxisCategory()
    纯类目轴。
    IsAllAxisValue()public bool IsAllAxisValue()
    纯数值坐标轴(数值轴或对数轴)。
    IsInAnyGrid()public bool IsInAnyGrid(Vector2 local)
    IsInChart()public bool IsInChart(float x, float y)
    IsInChart()public bool IsInChart(Vector2 local)
    坐标是否在图表范围内
    IsSerieName()public bool IsSerieName(string name)
    MoveDownSerie()public bool MoveDownSerie(int serieIndex)
    MoveUpSerie()public bool MoveUpSerie(int serieIndex)
    OnAfterDeserialize()public void OnAfterDeserialize()
    OnBeforeSerialize()public void OnBeforeSerialize()
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDataZoomRangeChanged()public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public override void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public override void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public override void OnPointerUp(PointerEventData eventData)
    OnScroll()public override void OnScroll(PointerEventData eventData)
    RefreshBasePainter()public void RefreshBasePainter()
    RefreshChart()public void RefreshChart()
    在下一帧刷新整个图表。
    RefreshChart()public void RefreshChart(int serieIndex)
    在下一帧刷新图表的指定serie。
    RefreshChart()public void RefreshChart(Serie serie)
    在下一帧刷新图表的指定serie。
    RefreshDataZoom()public void RefreshDataZoom()
    在下一帧刷新DataZoom
    RefreshGraph()public override void RefreshGraph()
    RefreshPainter()public void RefreshPainter(int index)
    RefreshPainter()public void RefreshPainter(Serie serie)
    RefreshTopPainter()public void RefreshTopPainter()
    RefreshUpperPainter()public void RefreshUpperPainter()
    RemoveAllChartComponent()public void RemoveAllChartComponent()
    RemoveAllSerie()v3.2.0public virtual void RemoveAllSerie()
    移除所有的Serie。当确认只需要移除Serie时使用该接口,其他情况下一般用RemoveData()。
    RemoveChartComponent()public bool RemoveChartComponent(MainComponent component)
    RemoveChartComponent()public bool RemoveChartComponent(Type type, int index = 0)
    RemoveChartComponent<T>()public bool RemoveChartComponent<T>(int index = 0)
    RemoveChartComponents()public int RemoveChartComponents(Type type)
    RemoveChartComponents<T>()public int RemoveChartComponents<T>()
    RemoveData()public virtual void RemoveData()
    清空所有组件数据,并移除所有Serie。一般在图表重新初始化时使用。 注意:组件只清空数据部分,参数会保留不会被重置。
    RemoveData()public virtual void RemoveData(string serieName)
    清除指定系列名称的数据。
    RemoveSerie()public void RemoveSerie(int serieIndex)
    RemoveSerie()public void RemoveSerie(Serie serie)
    RemoveSerie()public void RemoveSerie(string serieName)
    RemoveSerie<T>()public void RemoveSerie<T>() where T : Serie
    ReplaceSerie()public bool ReplaceSerie(Serie oldSerie, Serie newSerie)
    ResetDataIndex()public bool ResetDataIndex(int serieIndex)
    重置serie的数据项索引。避免数据项索引异常。
    SetBasePainterMaterial()public void SetBasePainterMaterial(Material material)
    设置Base Painter的材质球
    SetMaxCache()public void SetMaxCache(int maxCache)
    设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。
    SetPainterActive()public void SetPainterActive(int index, bool flag)
    SetSerieActive()public void SetSerieActive(int serieIndex, bool active)
    设置指定系列是否显示。
    SetSerieActive()public void SetSerieActive(Serie serie, bool active)
    SetSerieActive()public void SetSerieActive(string serieName, bool active)
    设置指定系列是否显示。
    SetSeriePainterMaterial()public void SetSeriePainterMaterial(Material material)
    设置Serie Painter的材质球
    SetTopPainterMaterial()public void SetTopPainterMaterial(Material material)
    设置Top Painter的材质球
    SetUpperPainterMaterial()public void SetUpperPainterMaterial(Material material)
    设置Upper Painter的材质球
    TryAddChartComponent()public bool TryAddChartComponent(Type type)
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>() where T : MainComponent
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>(out T component) where T : MainComponent
    TryGetChartComponent<T>()public bool TryGetChartComponent<T>(out T component, int index = 0)
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateDataName()public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateDataName()public bool UpdateDataName(string serieName, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateLegendColor()public virtual void UpdateLegendColor(string legendName, bool active)
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。
    UpdateTheme()public void UpdateTheme(Theme theme)
    切换图表主题。
    UpdateXAxisData()public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
    更新X轴类目数据。
    UpdateXAxisIcon()public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
    更新X轴图标。
    UpdateYAxisData()public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
    更新Y轴类目数据。
    UpdateYAxisIcon()public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
    更新Y轴图标。

    BaseGraph

    Inherits or Implemented: MaskableGraphic,IPointerDownHandler,IPointerUpHandler,

    public methodsincedescription
    onBeginDragpublic Action<PointerEventData, BaseGraph> onBeginDrag
    鼠标开始拖拽回调。
    onDragpublic Action<PointerEventData, BaseGraph> onDrag
    鼠标拖拽回调。
    onEndDragpublic Action<PointerEventData, BaseGraph> onEndDrag
    鼠标结束拖拽回调。
    onPointerClickpublic Action<PointerEventData, BaseGraph> onPointerClick
    鼠标点击回调。
    onPointerDownpublic Action<PointerEventData, BaseGraph> onPointerDown
    鼠标按下回调。
    onPointerEnterpublic Action<PointerEventData, BaseGraph> onPointerEnter
    鼠标进入回调。
    onPointerExitpublic Action<PointerEventData, BaseGraph> onPointerExit
    鼠标退出回调。
    onPointerUppublic Action<PointerEventData, BaseGraph> onPointerUp
    鼠标弹起回调。
    onScrollpublic Action<PointerEventData, BaseGraph> onScroll
    鼠标滚动回调。
    CheckWarning()public string CheckWarning()
    检测警告信息。
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData)
    OnDrag()public virtual void OnDrag(PointerEventData eventData)
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData)
    OnScroll()public virtual void OnScroll(PointerEventData eventData)
    RebuildChartObject()public void RebuildChartObject()
    移除并重新创建所有图表的Object。
    RefreshAllComponent()public void RefreshAllComponent()
    RefreshGraph()public virtual void RefreshGraph()
    在下一帧刷新图形。
    SaveAsImage()public void SaveAsImage(string imageType = "png", string savePath = "")
    保存图表为图片。
    ScreenPointToChartPoint()public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)
    SetPainterDirty()public void SetPainterDirty()
    重新初始化Painter
    SetSize()public virtual void SetSize(float width, float height)
    设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform)

    CandlestickChart

    Inherits or Implemented: BaseChart

    ChartCached

    public methodsincedescription
    ColorToDotStr()public static string ColorToDotStr(Color color)
    ColorToStr()public static string ColorToStr(Color color)
    FloatToStr()public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)
    GetSerieLabelName()public static string GetSerieLabelName(string prefix, int i, int j)
    IntToStr()public static string IntToStr(int value, string numericFormatter = "")
    NumberToStr()public static string NumberToStr(double value, string formatter)

    ChartConst

    ChartDrawer

    ChartHelper

    public methodsincedescription
    ActiveAllObject()public static void ActiveAllObject(Transform parent, bool active, string match = null)
    AddIcon()public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)
    Cancat()public static string Cancat(string str1, int i)
    Cancat()public static string Cancat(string str1, string str2)
    ClearEventListener()public static void ClearEventListener(GameObject obj)
    CopyArray<T>()public static bool CopyArray<T>(T[] toList, T[] fromList)
    CopyList<T>()public static bool CopyList<T>(List<T> toList, List<T> fromList)
    DestoryGameObject()public static void DestoryGameObject(GameObject go)
    DestoryGameObject()public static void DestoryGameObject(Transform parent, string childName)
    DestoryGameObjectByMatch()public static void DestoryGameObjectByMatch(Transform parent, string containString)
    DestroyAllChildren()public static void DestroyAllChildren(Transform parent)
    EnsureComponent<T>()public static T EnsureComponent<T>(GameObject gameObject) where T : Component
    确保对象有指定的组件,如果没有则添加。
    EnsureComponent<T>()public static T EnsureComponent<T>(Transform transform) where T : Component
    确保对象有指定的组件,如果没有则添加。
    GetActualValue()public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBlurColor()public static Color32 GetBlurColor(Color32 color, float a = 0.3f)
    GetColor()public static Color32 GetColor(string hexColorStr)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetFullName()public static string GetFullName(Transform transform)
    GetHighlightColor()public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)
    GetLastValue()public static Vector3 GetLastValue(List<Vector3> list)
    GetMaxDivisibleValue()public static double GetMaxDivisibleValue(double max, double ceilRate)
    GetMaxLogValue()public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetMinDivisibleValue()public static double GetMinDivisibleValue(double min, double ceilRate)
    GetMinLogValue()public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(Transform transform) where T : Component
    GetPointList()public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetPosition()public static Vector3 GetPosition(Vector3 center, float angle, float radius)
    GetSelectColor()public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    HideAllObject()public static void HideAllObject(GameObject obj, string match = null)
    HideAllObject()public static void HideAllObject(Transform parent, string match = null)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsColorAlphaZero()public static bool IsColorAlphaZero(Color color)
    IsEquals()public static bool IsEquals(double d1, double d2)
    IsEquals()public static bool IsEquals(float d1, float d2)
    IsIngore()public static bool IsIngore(Vector3 pos)
    IsInRect()public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)
    IsPointInQuadrilateral()public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    ParseFloatFromString()public static List<float> ParseFloatFromString(string jsonData)
    ParseStringFromString()public static List<string> ParseStringFromString(string jsonData)
    RemoveComponent<T>()public static void RemoveComponent<T>(GameObject gameObject)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
    SaveAsImage()public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")
    SetActive()public static void SetActive(GameObject gameObject, bool active)
    SetActive()public static void SetActive(Image image, bool active)
    SetActive()public static void SetActive(Text text, bool active)
    SetActive()public static void SetActive(Transform transform, bool active)
    通过设置scale实现是否显示,优化性能,减少GC
    SetBackground()public static void SetBackground(Image background, ImageStyle imageStyle)
    SetColorOpacity()public static void SetColorOpacity(ref Color32 color, float opacity)

    ChartLabel

    Inherits or Implemented: Image

    public methodsincedescription
    GetHeight()public float GetHeight()
    GetPosition()public Vector3 GetPosition()
    GetTextHeight()public float GetTextHeight()
    GetTextWidth()public float GetTextWidth()
    GetWidth()public float GetWidth()
    IsActive()public override bool IsActive()
    SetActive()public void SetActive(bool flag)
    SetIcon()public void SetIcon(Image image)
    SetIconActive()public void SetIconActive(bool flag)
    SetIconSize()public void SetIconSize(float width, float height)
    SetIconSprite()public void SetIconSprite(Sprite sprite)
    SetPadding()public void SetPadding(float[] padding)
    SetPosition()public void SetPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetRotate()public void SetRotate(float rotate)
    SetSize()public void SetSize(float width, float height)
    SetText()public bool SetText(string text)
    SetTextActive()public void SetTextActive(bool flag)
    SetTextColor()public void SetTextColor(Color color)
    SetTextPadding()public void SetTextPadding(TextPadding padding)
    SetTextRotate()public void SetTextRotate(float rotate)
    UpdateIcon()public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null)

    ChartObject

    public methodsincedescription
    Destroy()public virtual void Destroy()

    CheckHelper

    public methodsincedescription
    CheckChart()public static string CheckChart(BaseChart chart)
    CheckChart()public static string CheckChart(BaseGraph chart)

    ColorUtil

    public methodsincedescription
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。

    ComponentHandlerAttribute

    Inherits or Implemented: Attribute

    public methodsincedescription
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler)
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler, bool allowMultiple)

    ComponentHelper

    public methodsincedescription
    GetAngleAxis()public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)
    GetRadiusAxis()public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)
    GetXAxisOnZeroOffset()public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)
    GetYAxisOnZeroOffset()public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)
    IsAnyCategoryOfYAxis()public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)

    CoordOptionsAttribute

    Inherits or Implemented: Attribute

    public methodsincedescription
    Contains<T>()public bool Contains<T>() where T : CoordSystem
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)

    DataZoomContext

    Inherits or Implemented: MainComponentContext

    DataZoomHelper

    public methodsincedescription
    UpdateDataZoomRuntimeStartEndValue()public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)
    UpdateDataZoomRuntimeStartEndValue<T>()public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie

    DateTimeUtil

    public methodsincedescription
    GetDateTime()public static DateTime GetDateTime(int timestamp)
    GetTimestamp()public static int GetTimestamp()
    GetTimestamp()public static int GetTimestamp(DateTime time)

    DefaultAnimationAttribute

    Inherits or Implemented: Attribute

    public methodsincedescription
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler)

    DefineSymbolsUtil

    public methodsincedescription
    AddGlobalDefine()public static void AddGlobalDefine(string symbol)
    RemoveGlobalDefine()public static void RemoveGlobalDefine(string symbol)

    FormatterHelper

    public methodsincedescription
    NeedFormat()public static bool NeedFormat(string content)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string numericFormatter, double value)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string value)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(string content)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(StringBuilder sb)

    GridCoordContext

    Inherits or Implemented: MainComponentContext

    HeatmapChart

    Inherits or Implemented: BaseChart

    IgnoreDoc

    Inherits or Implemented: Attribute

    public methodsincedescription
    IgnoreDoc()public IgnoreDoc()

    InputHelper

    public methodsincedescription
    GetKeyDown()public static bool GetKeyDown(KeyCode keyCode)
    GetTouch()public static Touch GetTouch(int v)

    InteractData

    public methodsincedescription
    Reset()public void Reset()
    SetColor()public void SetColor(ref bool needInteract, Color32 color)
    SetColor()public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)
    SetValue()public void SetValue(ref bool needInteract, float size)
    SetValue()public void SetValue(ref bool needInteract, float size, bool highlight, float rate = 1.3f)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)
    TryGetColor()public bool TryGetColor(ref Color32 color, ref bool interacting, float animationDuration = 250)
    TryGetColor()public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetValue()public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)

    LayerHelper

    public methodsincedescription
    IsFixedWidthHeight()public static bool IsFixedWidthHeight(RectTransform rt)
    IsStretchPivot()public static bool IsStretchPivot(RectTransform rt)

    LegendContext

    Inherits or Implemented: MainComponentContext

    LegendHelper

    public methodsincedescription
    CheckDataHighlighted()public static bool CheckDataHighlighted(Serie serie, string legendName, bool heighlight)
    CheckDataShow()public static bool CheckDataShow(Serie serie, string legendName, bool show)
    GetContentColor()public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)
    GetIconColor()public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)
    ResetItemPosition()public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)
    SetLegendBackground()public static void SetLegendBackground(Legend legend, ImageStyle style)

    LegendItem

    public methodsincedescription
    GetIconColor()public Color GetIconColor()
    GetIconRect()public Rect GetIconRect()
    SetActive()public void SetActive(bool active)
    SetBackground()public void SetBackground(ImageStyle imageStyle)
    SetButton()public void SetButton(Button button)
    SetContent()public bool SetContent(string content)
    SetContentBackgroundColor()public void SetContentBackgroundColor(Color color)
    SetContentColor()public void SetContentColor(Color color)
    SetContentPosition()public void SetContentPosition(Vector3 offset)
    SetIcon()public void SetIcon(Image icon)
    SetIconActive()public void SetIconActive(bool active)
    SetIconColor()public void SetIconColor(Color color)
    SetIconImage()public void SetIconImage(Sprite image)
    SetIconSize()public void SetIconSize(float width, float height)
    SetObject()public void SetObject(GameObject obj)
    SetPosition()public void SetPosition(Vector3 position)
    SetText()public void SetText(ChartText text)
    SetTextBackground()public void SetTextBackground(Image image)

    LineChart

    Inherits or Implemented: BaseChart

    ListFor

    Inherits or Implemented: Attribute

    public methodsincedescription
    ListFor()public ListFor(Type type)

    ListForComponent

    Inherits or Implemented: ListFor

    public methodsincedescription
    ListForComponent()public ListForComponent(Type type) : base(type)

    ListForSerie

    Inherits or Implemented: ListFor

    public methodsincedescription
    ListForSerie()public ListForSerie(Type type) : base(type)

    MainComponentContext

    MainComponentHandler

    public methodsincedescription
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    OnSerieDataUpdate()public virtual void OnSerieDataUpdate(int serieIndex) { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }

    MainComponentHandler<T>

    Inherits or Implemented: MainComponentHandler

    MathUtil

    public methodsincedescription
    Abs()public static double Abs(double d)
    Approximately()public static bool Approximately(double a, double b)
    Clamp()public static double Clamp(double d, double min, double max)
    Clamp01()public static double Clamp01(double value)
    GetPrecision()public static int GetPrecision(double value)
    IsInteger()public static bool IsInteger(double value)
    Lerp()public static double Lerp(double a, double b, double t)

    ObjectPool<T> where T

    Inherits or Implemented: new()

    public methodsincedescription
    ClearAll()public void ClearAll()
    Get()public T Get()
    new()public class ObjectPool<T> where T : new()
    ObjectPool()public ObjectPool(UnityAction<T> actionOnGet, UnityAction<T> actionOnRelease, bool newIfEmpty = true)
    Release()public void Release(T element)

    Painter

    Inherits or Implemented: MaskableGraphic

    public methodsincedescription
    onPopulateMeshpublic Action<VertexHelper, Painter> onPopulateMesh
    CheckRefresh()public void CheckRefresh()
    Init()public void Init()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag, bool isDebugMode = false)

    ParallelChart

    Inherits or Implemented: BaseChart

    ParallelCoordContext

    Inherits or Implemented: MainComponentContext

    PieChart

    Inherits or Implemented: BaseChart

    PolarChart

    Inherits or Implemented: BaseChart

    PolarCoordContext

    Inherits or Implemented: MainComponentContext

    PropertyUtil

    public methodsincedescription
    SetClass<T>()public static bool SetClass<T>(ref T currentValue, T newValue, bool notNull = false) where T : class
    SetColor()public static bool SetColor(ref Color currentValue, Color newValue)
    SetColor()public static bool SetColor(ref Color32 currentValue, Color32 newValue)
    SetStruct<T>()public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct

    RadarChart

    Inherits or Implemented: BaseChart

    RadarCoordContext

    Inherits or Implemented: MainComponentContext

    ReflectionUtil

    public methodsincedescription
    DeepCloneSerializeField()public static object DeepCloneSerializeField(object obj)
    InvokeListAdd()public static void InvokeListAdd(object obj, FieldInfo field, object item)
    InvokeListAddTo<T>()public static void InvokeListAddTo<T>(object obj, FieldInfo field, Action<T> callback)
    InvokeListClear()public static void InvokeListClear(object obj, FieldInfo field)
    InvokeListCount()public static int InvokeListCount(object obj, FieldInfo field)
    InvokeListGet<T>()public static T InvokeListGet<T>(object obj, FieldInfo field, int i)

    RequireChartComponentAttribute

    Inherits or Implemented: Attribute

    public methodsincedescription
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)

    RingChart

    Inherits or Implemented: BaseChart

    RuntimeUtil

    public methodsincedescription
    GetAllAssemblyTypes()public static IEnumerable<Type> GetAllAssemblyTypes()
    GetAllTypesDerivedFrom()public static IEnumerable<Type> GetAllTypesDerivedFrom(Type type)
    GetAllTypesDerivedFrom<T>()public static IEnumerable<Type> GetAllTypesDerivedFrom<T>()
    GetAttribute<T>()public static T GetAttribute<T>(this MemberInfo type, bool check = true) where T : Attribute
    GetAttribute<T>()public static T GetAttribute<T>(this Type type, bool check = true) where T : Attribute
    HasSubclass()public static bool HasSubclass(Type type)

    ScatterChart

    Inherits or Implemented: BaseChart

    SerieComponentAttribute

    Inherits or Implemented: Attribute

    public methodsincedescription
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieComponentAttribute()public SerieComponentAttribute()
    SerieComponentAttribute()public SerieComponentAttribute(Type type1)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieContext

    SerieConvertAttribute

    Inherits or Implemented: Attribute

    public methodsincedescription
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : Serie
    SerieConvertAttribute()public SerieConvertAttribute(Type serie)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)

    SerieDataComponentAttribute

    Inherits or Implemented: Attribute

    public methodsincedescription
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieDataComponentAttribute()public SerieDataComponentAttribute()
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieDataContext

    public methodsincedescription
    Reset()public void Reset()

    SerieDataExtraFieldAttribute

    Inherits or Implemented: Attribute

    public methodsincedescription
    Contains()public bool Contains(string field)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute()
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7)

    SerieEventData

    public methodsincedescription
    Reset()public void Reset()

    SerieEventDataPool

    public methodsincedescription
    Get()public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)
    Release()public static void Release(SerieEventData toRelease)

    SerieHandler

    public methodsincedescription
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawSerie()public virtual void DrawSerie(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName) { }
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    RefreshLabelInternal()public virtual void RefreshLabelInternal() { }
    RefreshLabelNextFrame()public virtual void RefreshLabelNextFrame() { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }
    UpdateSerieContext()public virtual void UpdateSerieContext() { }

    SerieHandler<T>

    Inherits or Implemented: [SerieHandler where T](#seriehandler where t),Serie

    public methodsincedescription
    DrawLabelLineSymbol()public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)
    GetPointerItemDataDimension()public override int GetPointerItemDataDimension()
    GetPointerItemDataIndex()public override int GetPointerItemDataIndex()
    GetSerieDataAutoColor()public virtual Color GetSerieDataAutoColor(SerieData serieData)
    GetSerieDataLabelOffset()public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)
    GetSerieDataLabelPosition()public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)
    GetSerieDataTitlePosition()public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)
    InitComponent()public override void InitComponent()
    OnLegendButtonClick()public override void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public override void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public override void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    RefreshEndLabelInternal()public virtual void RefreshEndLabelInternal()
    RefreshLabelInternal()public override void RefreshLabelInternal()
    RefreshLabelNextFrame()public override void RefreshLabelNextFrame()
    RemoveComponent()public override void RemoveComponent()
    Update()public override void Update()

    SerieHandlerAttribute

    Inherits or Implemented: Attribute

    public methodsincedescription
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler)
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler, bool allowMultiple)

    SerieHelper

    public methodsincedescription
    CloneSerie<T>()public static T CloneSerie<T>(Serie serie) where T : Serie
    CopySerie()public static void CopySerie(Serie oldSerie, Serie newSerie)
    GetAllMinMaxData()public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)
    GetAreaStyle()public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)
    GetAverageData()public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetBlurStyle()public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)
    GetEmphasisStyle()public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData)
    GetItemColor()public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true)
    GetItemFormatter()public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetItemMarker()public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null)
    GetItemStyle()public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetLineColor()public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto)
    GetLineStyle()public static LineStyle GetLineStyle(Serie serie, SerieData serieData)
    GetMaxData()public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMaxSerieData()public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMedianData()public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinData()public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinMaxData()public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)
    获得系列所有数据的最大最小值。
    GetMinSerieData()public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetNumericFormatter()public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetSelectStyle()public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)
    GetSerieLabel()public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieLabelLine()public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieState()public static SerieState GetSerieState(Serie serie)
    GetSerieState()public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)
    GetSerieState()public static SerieState GetSerieState(SerieData serieData)
    GetSerieSymbol()public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetStateStyle()public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)
    GetSysmbolSize()public static float GetSysmbolSize(Serie serie, SerieData serieData, ThemeStyle theme, float defaultSize, SerieState state = SerieState.Auto)
    GetTitleStyle()public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)
    IsAllZeroValue()public static bool IsAllZeroValue(Serie serie, int dimension = 1)
    系列指定维数的数据是否全部为0。
    IsDownPoint()public static bool IsDownPoint(Serie serie, int index)
    UpdateCenter()public static void UpdateCenter(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
    更新运行时中心点和半径
    UpdateFilterData()public static void UpdateFilterData(Serie serie, DataZoom dataZoom)
    根据dataZoom更新数据列表缓存
    UpdateMinMaxData()public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)
    获得指定维数的最大最小值
    UpdateRect()public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
    UpdateSerieRuntimeFilterData()public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)

    SerieLabelHelper

    public methodsincedescription
    AvoidLabelOverlap()public static void AvoidLabelOverlap(Serie serie, ComponentTheme theme)
    CanShowLabel()public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)
    GetLabelColor()public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)
    GetRealLabelPosition()public static Vector3 GetRealLabelPosition(Serie serie, SerieData serieData, LabelStyle label, LabelLine labelLine)
    SetGaugeLabelText()public static void SetGaugeLabelText(Serie serie)
    UpdatePieLabelPosition()public static void UpdatePieLabelPosition(Serie serie, SerieData serieData)

    SerieLabelPool

    public methodsincedescription
    ClearAll()public static void ClearAll()
    Release()public static void Release(GameObject element)
    ReleaseAll()public static void ReleaseAll(Transform parent)

    SerieParams

    SeriesHelper

    public methodsincedescription
    GetLastStackSerie()public static Serie GetLastStackSerie(List<Serie> series, Serie serie)
    获得上一个同堆叠且显示的serie。
    GetLegalSerieNameList()public static List<string> GetLegalSerieNameList(List<Serie> series)
    GetMaxSerieDataCount()public static int GetMaxSerieDataCount(List<Serie> series)
    GetNameColor()public static Color GetNameColor(BaseChart chart, int index, string name)
    GetStackSeries()public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)
    获得堆叠系列列表
    IsAnyClipSerie()public static bool IsAnyClipSerie(List<Serie> series)
    是否有需裁剪的serie。
    IsLegalLegendName()public static bool IsLegalLegendName(string name)
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series) where T : Serie
    是否时百分比堆叠
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series, string stackName) where T : Serie
    是否时百分比堆叠
    IsStack()public static bool IsStack(List<Serie> series)
    是否由数据堆叠
    IsStack<T>()public static bool IsStack<T>(List<Serie> series, string stackName) where T : Serie
    是否堆叠
    UpdateSerieNameList()public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)
    获得所有系列名,不包含空名字。
    UpdateStackDataList()public static void UpdateStackDataList(List<Serie> series, Serie currSerie, DataZoom dataZoom, List<List<SerieData>> dataList)

    SimplifiedBarChart

    Inherits or Implemented: BaseChart

    SimplifiedCandlestickChart

    Inherits or Implemented: BaseChart

    SimplifiedLineChart

    Inherits or Implemented: BaseChart

    Since

    Inherits or Implemented: Attribute

    public methodsincedescription
    Since()public Since(string version)

    SVG

    public methodsincedescription
    DrawPath()public static void DrawPath(VertexHelper vh, string path)
    DrawPath()public static void DrawPath(VertexHelper vh, SVGPath path)
    Test()public static void Test(VertexHelper vh)

    SVGImage

    Inherits or Implemented: MaskableGraphic

    SVGPath

    public methodsincedescription
    AddSegment()public void AddSegment(SVGPathSeg seg)
    Draw()public void Draw(VertexHelper vh)
    Parse()public static SVGPath Parse(string path)

    SVGPathSeg

    public methodsincedescription
    SVGPathSeg()public SVGPathSeg(SVGPathSegType type)

    TooltipContext

    TooltipData

    TooltipHelper

    public methodsincedescription
    GetItemNumericFormatter()public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)
    GetLineColor()public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor)
    IsIgnoreFormatter()public static bool IsIgnoreFormatter(string itemFormatter)
    LimitInRect()public static void LimitInRect(Tooltip tooltip, Rect chartRect)

    TooltipView

    public methodsincedescription
    CreateView()public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)
    GetCurrentPos()public Vector3 GetCurrentPos()
    GetTargetPos()public Vector3 GetTargetPos()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag)
    Update()public void Update()
    UpdatePosition()public void UpdatePosition(Vector3 pos)

    TooltipViewItem

    UGL

    public methodsincedescription
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
    Draw a diamond. 画菱形(钻石形状)
    DrawEllipse()public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)
    DrawLine()public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color)
    Draw a line. 画直线
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
    Draw a line. 画直线
    DrawPolygon()public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
    填充任意多边形(目前只支持凸多边形)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Vector3 p1, Vector3 p2, float radius, Color32 color)
    Draw a rectangle. 画带长方形
    DrawSquare()public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
    Draw a square. 画正方形
    DrawSvgPath()public static void DrawSvgPath(VertexHelper vh, string path)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)

    UGLExample

    Inherits or Implemented: MaskableGraphic

    UGLHelper

    public methodsincedescription
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBezier()public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)
    GetBezier2()public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)
    GetBezierList()public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref Vector3 intersection)
    获得两直线的交点
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector3> polyons)
    IsPointInTriangle()public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)

    UIComponent

    Inherits or Implemented: BaseGraph

    public methodsincedescription
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。

    UIHelper

    public methodsincedescription
    GetBackgroundColor()public static Color32 GetBackgroundColor(UIComponent component)

    VisualMapContext

    Inherits or Implemented: MainComponentContext

    VisualMapHelper

    public methodsincedescription
    AutoSetLineMinMax()public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
    GetDimension()public static int GetDimension(VisualMap visualMap, int defaultDimension)
    IsNeedAreaGradient()public static bool IsNeedAreaGradient(VisualMap visualMap)
    IsNeedGradient()public static bool IsNeedGradient(VisualMap visualMap)
    IsNeedLineGradient()public static bool IsNeedLineGradient(VisualMap visualMap)
    SetMinMax()public static void SetMinMax(VisualMap visualMap, double min, double max)

    XChartsMgr

    public methodsincedescription
    AddChart()public static void AddChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(string chartName)
    GetChart()public static BaseChart GetChart(string chartName)
    GetCharts()public static List<BaseChart> GetCharts(string chartName)
    GetPackageFullPath()public static string GetPackageFullPath()
    GetRepeatChartNameInfo()public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
    IsRepeatChartName()public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
    RemoveAllChartObject()public static void RemoveAllChartObject()
    RemoveChart()public static void RemoveChart(string chartName)

    XCResourceImporterWindow

    Inherits or Implemented: UnityEditor.EditorWindow

    public methodsincedescription
    ShowPackageImporterWindow()public static void ShowPackageImporterWindow()

    XCThemeMgr

    public methodsincedescription
    AddTheme()public static void AddTheme(Theme theme)
    CheckReloadTheme()public static void CheckReloadTheme()
    ContainsTheme()public static bool ContainsTheme(string themeName)
    ExportTheme()public static bool ExportTheme(Theme theme)
    ExportTheme()public static bool ExportTheme(Theme theme, string themeNewName)
    GetAllThemeNames()public static List<string> GetAllThemeNames()
    GetTheme()public static Theme GetTheme(string themeName)
    GetTheme()public static Theme GetTheme(ThemeType type)
    GetThemeAssetPath()public static string GetThemeAssetPath(string themeName)
    GetThemeList()public static List<Theme> GetThemeList()
    LoadTheme()public static Theme LoadTheme(string themeName)
    LoadTheme()public static Theme LoadTheme(ThemeType type)
    ReloadThemeList()public static void ReloadThemeList()
    重新加载主题列表
    SwitchTheme()public static void SwitchTheme(BaseChart chart, string themeName)
    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/bar3d/index.html b/docs/v3.6.0/bar3d/index.html index 912e8586..8d7f0478 100644 --- a/docs/v3.6.0/bar3d/index.html +++ b/docs/v3.6.0/bar3d/index.html @@ -14,14 +14,14 @@ Bar3DChart 3D柱图 | XCharts - - + +
    Version: v3.6.0

    Bar3DChart 3D柱图

    XCharts的付费扩展图表 - 3D柱图。

    bar3d

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0
    • (2023.02.14) 增加Bar3DStyletopColorbottomColorsideColor参数支持

    v3.5.0

    • (2022.11.29) 增加SeriebarMaxWidth参数支持
    • (2022.11.27) 增加SerieItemStylebackgroundColor参数支持
    • (2022.11.27) 增加SeriecolorBy的支持
    • (2022.11.27) 更新文档

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    v3.1.0

    • (2022.07.14) 发布v3.1.0版本
    • (2022.07.14) 增加bottomColorRate,cylinderRate参数
    • (2022.07.14) 调整topColorBurnRate改名为topColorRate
    • (2022.07.14) 调整sideColorBurnRate改名为sideColorRate
    • (2022.07.14) 调整dire改名为cubeDire
    • (2022.07.14) 支持Cylinder圆柱和Cube立方柱

    API

    Bar3DChart

    Inherits or Implemented: BaseChart

    配置项手册

    Bar3D

    Inherits or Implemented: Serie,INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    fielddefaultsincecomment
    bar3DTypev3.1.0
    Bar3DType:
    - Cube: 立方柱。
    - Cylinder: 圆柱。
    bar3DStyleBar3DStyle

    Bar3DStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showtrue
    verticalArrangefalse是否垂直排列。
    verticalArrangeDireVector3(-1, 1)垂直排列时的方向。
    verticalArrangeGap0.5f垂直排列时两个柱子间的间隙。
    barOffsetVector3.zero柱子偏移。
    widthRate0.5f方形柱侧边宽度相对正面的比例。
    topColorRate0.8f柱子顶部相对正面的颜色比例。
    bottomColorRate1f柱子底部相对正面的颜色比例。
    sideColorRate0.7f方形柱侧边相对正面的颜色比例。
    cubeDireVector3(1, 1)方形柱形成3D效果的方向。
    cylinderRate0.5fv3.1.0圆柱的顶部椭圆比列。
    topColorv3.6.0
    bottomColorv3.6.0
    sideColorv3.6.0
    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/changelog/index.html b/docs/v3.6.0/changelog/index.html index c4810093..27d8f9e4 100644 --- a/docs/v3.6.0/changelog/index.html +++ b/docs/v3.6.0/changelog/index.html @@ -14,8 +14,8 @@ 更新日志 | XCharts - - + +
    @@ -77,7 +77,7 @@ v0.8.0
    v0.5.0
    v0.1.0

    master

    v3.6.0

    版本要点:

    • 增加InputSystem支持 (by Bian-Sh)
    • 增加官网在线示例多版本支持 (by SHL-COOL)
    • 完善对VR的支持 (by Ambitroc)
    • 增加UITableUIStatistic扩展UI组件
    • 增加ItemStyleMarkColor
    • 增加通配符{h}的支持
    • 优化TooltipLegendDataZoomAxis等组件
    • 重构相关API接口,完善回调接口
    • 修复若干问题

    升级注意:

    • 部分接口有调整,可根据提示更换下接口即可。

    日志详情:

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.14) 修复TooltiptitleFormater设置{b}可能不生效的问题
    • (2023.03.14) 修复BarChart在数据为0时不绘制柱条背景的问题 (#250) (by Ambitroc)
    • (2023.03.12) 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转
    • (2023.03.10) 增加VR等其他非鼠标输入方式的Point位置获取 (#248) (by Ambitroc)
    • (2023.03.09) 增加ChartonSerieClickonSerieDownonSerieEnteronSerieExit回调
    • (2023.03.09) 修复Pie的点击选中偏移不生效的问题
    • (2023.03.04) 增加LegendPositions可自定义图例的位置
    • (2023.03.03) 修复Animation变更动画可能无效的问题
    • (2023.02.28) 修复Legend点击时SerieLabel不刷新的问题
    • (2023.02.26) 增加DataZoomstartEndFunction委托
    • (2023.02.12) 重构Component相关代码,调整API接口
    • (2023.02.10) 修复AxisLog轴时某些情况下最小值不正确的问题
    • (2023.02.10) 优化Axis的数值Label的默认显示格式
    • (2023.02.08) 增加DataZoomstartLockendLock参数支持锁定
    • (2023.02.02) 修复DataZoom开启时X轴Label可能会显示在图表外的问题
    • (2023.02.02) 优化SerieDataignore设置时的忽略数据判断
    • (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) 删除SerieMarkColor,增加ItemStyleMarkColor
    • (2022.12.29) 增加EditorList+添加编辑功能
    • (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) 修复AxisValue轴在某些情况下计算数值范围不准确的问题
    • (2022.12.12) 优化Legendformatter支持{h}通配符
    • (2022.12.12) 修复Legendformatter设置为固定值时显示不正常的问题
    • (2022.12.08) 增加AreaStyletoTop参数可设置折线图渐变色是到顶部还是到实际位置
    • (2022.12.07) 增加Formatter的文本通配符{h}支持设置当前颜色值

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Convert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/configuration/index.html b/docs/v3.6.0/configuration/index.html index f13db539..bf287edc 100644 --- a/docs/v3.6.0/configuration/index.html +++ b/docs/v3.6.0/configuration/index.html @@ -14,13 +14,13 @@ 配置项手册 | XCharts - - + +
    Version: v3.6.0

    配置项手册

    Serie 系列

    Theme 主题

    MainComponent 主组件

    ChildComponent 子组件

    ISerieComponent 可添加到Serie的组件

    ISerieDataComponent 可添加到SerieData的组件

    Other 其他组件

    AngleAxis

    Inherits or Implemented: Axis

    极坐标系的角度轴。

    fielddefaultsincecomment
    startAngle0起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    Inherits or Implemented: BaseAxisTheme

    AnimationStyle

    Inherits or Implemented: ChildComponent

    动画表现。

    fielddefaultsincecomment
    enabletrue是否开启动画效果。
    type动画类型。
    AnimationType:
    - Default: 默认。内部会根据实际情况选择一种动画播放方式。
    - LeftToRight: 从左往右播放动画。
    - BottomToTop: 从下往上播放动画。
    - InsideOut: 由内到外播放动画。
    - AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    - Clockwise: 顺时针播放动画。
    easting动画的缓动效果。
    AnimationEasing:
    - Linear:
    threshold2000是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
    fadeInDuration1000设定的渐入动画时长(毫秒)。如果要设置单个数据项的渐入时长,可以用代码定制:customFadeInDuration。
    fadeInDelay0渐入动画延时(毫秒)。如果要设置单个数据项的延时,可以用代码定制:customFadeInDelay。
    fadeOutDuration1000f设定的渐出动画时长(毫秒)。如果要设置单个数据项的渐出时长,可以用代码定制:customFadeOutDuration。
    fadeOutDelay0渐出动画延时(毫秒)。如果要设置单个数据项的延时,可以用代码定制:customFadeOutDelay。
    dataChangeEnabletrue是否开启数据变更动画。
    dataChangeDuration500数据变更的动画时长(毫秒)。
    actualDuration实际的动画时长(毫秒)。
    unscaledTimev3.4.0动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AreaStyle

    Inherits or Implemented: ChildComponent,ISerieComponent,ISerieDataComponent

    区域填充样式。

    fielddefaultsincecomment
    showtrue是否显示区域填充。
    origin区域填充的起始位置。
    AreaStyle.AreaOrigin:
    - Auto: 填充坐标轴轴线到数据间的区域。
    - Start: 填充坐标轴底部到数据间的区域。
    - End: 填充坐标轴顶部到数据间的区域。
    color区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。
    toColor渐变色的终点颜色。
    opacity0.6f图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    innerFillv3.2.0是否只填充多边形区域。目前只支持凸多边形。
    toToptruev3.6.0渐变色是到顶部还是到实际位置。默认为true到顶部。

    ArrowStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    width10箭头宽。
    height15箭头高。
    offset0箭头偏移。
    dent3箭头的凹度。
    colorColor.clear箭头颜色。

    Axis

    Inherits or Implemented: MainComponent

    直角坐标系的坐标轴组件。

    fielddefaultsincecomment
    showtrue是否显示坐标轴。
    type坐标轴类型。
    Axis.AxisType:
    - Value: 数值轴。适用于连续数据。
    - Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    - Log: 对数轴。适用于对数数据。
    - Time: 时间轴。适用于连续的时序数据。
    minMaxType坐标轴刻度最大最小值显示类型。
    Axis.AxisMinMaxType:
    - Default: 0-最大值。
    - MinMax: 最小值-最大值。
    - Custom: 自定义最小值最大值。
    gridIndex坐标轴所在的 grid 的索引,默认位于第一个 grid。
    polarIndex坐标轴所在的 ploar 的索引,默认位于第一个 polar。
    parallelIndex坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
    position坐标轴在Grid中的位置。
    Axis.AxisPosition:
    - Left: 坐标轴在Grid中的位置
    - Right: 坐标轴在Grid中的位置
    - Bottom: 坐标轴在Grid中的位置
    - Top: 坐标轴在Grid中的位置
    offset坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
    min设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
    max设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
    splitNumber0坐标轴的期望的分割段数。默认为0表示自动分割。
    interval0强制设置坐标轴分割间隔。无法在类目轴中使用。
    boundaryGaptrue坐标轴两边是否留白。只对类目轴有效。
    maxCache0The first data will be remove when the size of axis data is larger then maxCache.
    logBase10对数轴的底数,只在对数轴(type:'Log')中有效。
    logBaseEfalse对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    inversefalse是否反向坐标轴。在类目轴中无效。
    clockwisetrue刻度增长是否按顺时针,默认顺时针。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    icons类目数据对应的图标。
    data类目数据,在类目轴(type: 'category')中有效。
    axisLine坐标轴轴线。 AxisLine
    axisName坐标轴名称。 AxisName
    axisTick坐标轴刻度。 AxisTick
    axisLabel坐标轴刻度标签。 AxisLabel
    splitLine坐标轴分割线。 AxisSplitLine
    splitArea坐标轴分割区域。 AxisSplitArea
    minorTickv3.2.0坐标轴次刻度。 AxisMinorTick
    minorSplitLinev3.2.0坐标轴次分割线。 AxisMinorSplitLine
    indicatorLabelv3.4.0指示器文本的样式。Tooltip为Cross时使用。 LabelStyle

    AxisLabel

    Inherits or Implemented: LabelStyle

    坐标轴刻度标签的相关设置。

    fielddefaultsincecomment
    interval0坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    insidefalse刻度标签是否朝内,默认朝外。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。
    onZerofalse刻度标签显示在0刻度上。
    showStartLabeltrue是否显示第一个文本。
    showEndLabeltrue是否显示最后一个文本。
    textLimit文本限制。 TextLimit

    AxisLine

    Inherits or Implemented: BaseLine

    坐标轴轴线。

    fielddefaultsincecomment
    onZeroX 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。
    showArrow是否显示箭头。
    arrow轴线箭头。 ArrowStyle

    AxisMinorSplitLine

    Inherits or Implemented: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    fielddefaultsincecomment
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。

    AxisMinorTick

    Inherits or Implemented: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    fielddefaultsincecomment
    splitNumber5分隔线之间分割的刻度数。
    autoColor

    AxisName

    Inherits or Implemented: ChildComponent

    坐标轴名称。

    fielddefaultsincecomment
    show是否显示坐标轴名称。
    name坐标轴名称。
    onZerov3.1.0坐标轴名称的位置是否保持和Y轴0刻度一致。
    labelStyle文本样式。 LabelStyle

    AxisSplitArea

    Inherits or Implemented: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    fielddefaultsincecomment
    show是否显示分隔区域。
    color分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitLine

    Inherits or Implemented: BaseLine

    坐标轴在 grid 区域中的分隔线。

    fielddefaultsincecomment
    interval坐标轴分隔线的显示间隔。
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。
    showStartLinetruev3.3.0是否显示第一条分割线。
    showEndLinetruev3.3.0是否显示最后一条分割线。

    AxisTheme

    Inherits or Implemented: BaseAxisTheme

    AxisTick

    Inherits or Implemented: BaseLine

    坐标轴刻度相关设置。

    fielddefaultsincecomment
    alignWithLabel类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。
    inside坐标轴刻度是否朝内,默认朝外。
    showStartTick是否显示第一个刻度。
    showEndTick是否显示最后一个刻度。
    distance刻度线与轴线的距离。
    splitNumber0分隔线之间分割的刻度数。
    autoColor

    Background

    Inherits or Implemented: MainComponent

    背景组件。

    fielddefaultsincecomment
    showtrue是否启用背景组件。
    image背景图。
    imageType背景图填充类型。
    imageColor背景图颜色。
    autoColortrue当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。

    Bar

    Inherits or Implemented: Serie,INeedSerieContainer

    BaseAxisTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f坐标轴线宽。
    lineLength0f坐标轴线长。
    lineColor坐标轴线颜色。
    splitLineType分割线线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    splitLineWidth1f分割线线宽。
    splitLineLength0f分割线线长。
    splitLineColor分割线线颜色。
    minorSplitLineColor次分割线线颜色。
    tickWidth1f刻度线线宽。
    tickLength5f刻度线线长。
    tickColor坐标轴线颜色。
    splitAreaColors坐标轴分隔区域的颜色。

    BaseLine

    Inherits or Implemented: ChildComponent

    线条基础配置。

    fielddefaultsincecomment
    show是否显示坐标轴轴线。
    lineStyle线条样式 LineStyle

    BaseScatter

    Inherits or Implemented: Serie,INeedSerieContainer

    BaseSerie

    BlurStyle

    Inherits or Implemented: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    CalendarCoord

    Inherits or Implemented: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Candlestick

    Inherits or Implemented: Serie,INeedSerieContainer

    ChartText

    ChildComponent

    Comment

    Inherits or Implemented: MainComponent,IPropertyChanged

    图表注解组件。

    fielddefaultsincecomment
    showtrue是否显示注解组件。
    labelStyle所有组件的文本样式。 LabelStyle
    markStyle所有组件的文本样式。 CommentMarkStyle
    items注解项。每个注解组件可以设置多个注解项。

    CommentItem

    Inherits or Implemented: ChildComponent

    注解项。

    fielddefaultsincecomment
    showtrue是否显示当前注解项。
    content注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。
    markRect注解区域。
    markStyle注解标记区域样式。 CommentMarkStyle
    labelStyle注解项的文本样式。 LabelStyle
    locationv3.5.0Comment显示的位置。 Location

    CommentMarkStyle

    Inherits or Implemented: ChildComponent

    注解项区域样式。

    fielddefaultsincecomment
    showtrue是否显示当前注解项。
    lineStyle线条样式。 LineStyle

    ComponentTheme

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    font字体。
    textColor文本颜色。
    textBackgroundColor文本颜色。
    fontSize18文本字体大小。
    tMPFont字体。

    CoordSystem

    Inherits or Implemented: MainComponent

    坐标系系统。

    DataZoom

    Inherits or Implemented: MainComponent,IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    fielddefaultsincecomment
    enabletrue是否显示缩放区域。
    filterMode数据过滤类型。
    DataZoom.FilterMode:
    - Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    - WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    - Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    - None: 不过滤数据,只改变数轴范围。
    xAxisIndexs控制的 x 轴索引列表。
    yAxisIndexs控制的 y 轴索引列表。
    supportInside是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
    supportInsideScrolltrue是否支持坐标系内滚动
    supportInsideDragtrue是否支持坐标系内拖拽
    supportSlider是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。
    supportMarquee是否支持框选。提供一个选框进行数据区域缩放。
    showDataShadow是否显示数据阴影。数据阴影可以简单地反应数据走势。
    showDetail是否显示detail,即拖拽时候显示详细数值信息。
    zoomLock是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    borderWidth边框宽。
    backgroundColor组件的背景颜色。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    rangeMode取绝对值还是百分比。
    DataZoom.RangeMode:
    - //Value: The value type of start and end.取值类型
    - Percent: 百分比。
    start数据窗口范围的起始百分比。范围是:0 ~ 100。
    end数据窗口范围的结束百分比。范围是:0 ~ 100。
    minShowNum1最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。
    scrollSensitivity1.1f缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。
    orient布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    labelStyle文本标签格式。 LabelStyle
    lineStyle阴影线条样式。 LineStyle
    areaStyle阴影填充样式。 AreaStyle
    marqueeStylev3.5.0选取框样式。 MarqueeStyle
    startLockv3.6.0固定起始值,不让改变。
    endLockv3.6.0固定结束值,不让改变。

    DataZoomTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    borderWidth边框线宽。
    dataLineWidth数据阴影线宽。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    dataLineColor数据阴影的线条颜色。
    dataAreaColor数据阴影的填充颜色。
    backgroundColor背景颜色。

    DebugInfo

    fielddefaultsincecomment
    showtrue是否显示Debug组件。
    showDebugInfofalse
    showAllChartObjectfalse是否在Hierarchy试图显示所有chart下的节点。
    foldSeriesfalse是否在Inspector上折叠Serie。
    labelStyleLabelStyle

    EffectScatter

    Inherits or Implemented: BaseScatter

    EmphasisStyle

    Inherits or Implemented: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    fielddefaultsincecomment
    scale1.1f高亮时的缩放倍数。
    focus在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。
    EmphasisStyle.FocusType:
    - None: 不淡出其它图形,默认使用该配置。
    - Self: 只聚焦(不淡出)当前高亮的数据的图形。
    - Series: 聚焦当前高亮的数据所在的系列的所有图形。
    blurScope在开启focus的时候,可以通过blurScope配置淡出的范围。
    EmphasisStyle.BlurScope:
    - GridCoord: 淡出范围为坐标系,默认使用该配置。
    - Series: 淡出范围为系列。
    - Global: 淡出范围为全局。

    EndLabelStyle

    Inherits or Implemented: LabelStyle

    GridCoord

    Inherits or Implemented: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    fielddefaultsincecomment
    showtrue是否显示直角坐标系网格。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。
    showBorderfalse是否显示网格边框。
    borderWidth0f网格边框宽。
    borderColor网格边框颜色。

    Heatmap

    Inherits or Implemented: Serie,INeedSerieContainer

    fielddefaultsincecomment
    heatmapTypev3.3.0热力图类型。通过颜色映射划分。
    HeatmapType:
    - Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    - Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showfalse是否显示图标。
    layer显示在上层还是在下层。
    IconStyle.Layer:
    - UnderText: The icon is display under the label text. 图标在标签文字下
    - AboveText: The icon is display above the label text. 图标在标签文字上
    align水平方向对齐方式。
    Align:
    - Center: 对齐方式
    - Left: 对齐方式
    - Right: 对齐方式
    sprite图标的图片。
    type图片的显示类型。
    color图标颜色。
    width20图标宽。
    height20图标高。
    offset图标偏移。
    autoHideWhenLabelEmptyfalse当label内容为空时是否自动隐藏图标

    ImageStyle

    Inherits or Implemented: ChildComponent,ISerieComponent,ISerieDataComponent

    fielddefaultsincecomment
    showtrue是否显示图标。
    sprite图标的图片。
    type图片的显示类型。
    autoColor是否自动颜色。
    color图标颜色。
    width0图标宽。
    height0图标高。

    Indicator

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    fielddefaultsincecomment
    name指示器名称。
    max指示器的最大值,默认为 0 无限制。
    min指示器的最小值,默认为 0 无限制。
    range正常值范围。当数值不在这个范围时,会自动变更显示颜色。
    show是否显示雷达坐标系组件。
    shape雷达图绘制类型,支持 'Polygon' 和 'Circle'。
    radius100雷达图的半径。
    splitNumber5指示器轴的分割段数。
    center雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    axisLine轴线。 AxisLine
    axisName雷达图每个指示器名称的配置项。 AxisName
    splitLine分割线。 AxisSplitLine
    splitArea分割区域。 AxisSplitArea
    indicatortrue是否显示指示器。
    positionType显示位置类型。
    indicatorGap10指示器和雷达的间距。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    isAxisTooltip是否Tooltip显示轴线上的所有数据。
    outRangeColorColor.red数值超出范围时显示的颜色。
    connectCenterfalse数值是否连线到中心点。
    lineGradienttrue数值线段是否需要渐变。
    startAnglev3.4.0起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    indicatorList指示器列表。

    ItemStyle

    Inherits or Implemented: ChildComponent,ISerieDataComponent

    图形样式。

    fielddefaultsincecomment
    showtrue是否启用。
    color数据项颜色。
    color0数据项颜色。
    toColor渐变色的颜色1。
    toColor2渐变色的颜色2。只在折线图中有效。
    markColorv3.6.0Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。
    backgroundColor数据项背景颜色。
    backgroundWidth数据项背景宽度。
    centerColor中心区域颜色。
    centerGap中心区域间隙。
    borderWidth0边框宽。
    borderGap0边框间隙。
    borderColor边框的颜色。
    borderColor0边框的颜色。
    borderToColor边框的渐变色。
    opacity1透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    itemMarker提示框单项的字符标志。用在Tooltip中。
    itemFormatter提示框单项的字符串模版格式器。具体配置参考Tooltipformatter
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    LabelLine

    Inherits or Implemented: ChildComponent,ISerieComponent,ISerieDataComponent

    标签的引导线

    fielddefaultsincecomment
    showtrue是否显示视觉引导线。
    lineType视觉引导线类型。
    LabelLine.LineType:
    - BrokenLine: 折线
    - Curves: 曲线
    - HorizontalLine: 水平线
    lineColorChartConst.clearColor32视觉引导线颜色。默认和serie一致取自调色板。
    lineAngle0视觉引导线的固定角度。对折线和曲线有效。
    lineWidth1.0f视觉引导线的宽度。
    lineGap1.0f视觉引导线和容器的间距。
    lineLength125f视觉引导线第一段的长度。
    lineLength215f视觉引导线第二段的长度。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle

    LabelStyle

    Inherits or Implemented: ChildComponent,ISerieComponent,ISerieDataComponent

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    fielddefaultsincecomment
    showtrue是否显示文本标签。
    Position标签的位置。
    autoOffsetfalse是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。
    offset距离图形元素的偏移
    rotate文本的旋转。
    autoRotatefalsev3.6.0是否自动旋转。
    distance距离轴线的距离。
    formatter标签内容字符串模版格式器。支持用 \n 换行。 模板变量有: {.}:圆点标记。 {a}:系列名。 {a}:系列名。 {b}:类目值或数据名。 {c}:数据值。 {d}:百分比。 {e}:数据名。 {f}:数据和。 示例:“{b}:{c}”
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    width0标签的宽度。一般不用指定,不指定时则自动是文字的宽度。
    height0标签的高度。一般不用指定,不指定时则自动是文字的高度。
    icon图标样式。 IconStyle
    background背景图样式。 ImageStyle
    textPadding文本的边距。 TextPadding
    textStyle文本样式。 TextStyle

    Lang

    Inherits or Implemented: ScriptableObject

    国际化语言表。

    LangCandlestick

    LangTime

    Legend

    Inherits or Implemented: MainComponent,IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    fielddefaultsincecomment
    showtrue是否显示图例组件。
    iconType图例类型。
    Legend.Type:
    - Auto: 自动匹配。
    - Custom: 自定义图标。
    - EmptyCircle: 空心圆。
    - Circle: 圆形。
    - Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    - Triangle: 三角形。
    - Diamond: 菱形。
    - Candlestick: 烛台(可用于K线图)。
    selectedMode选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。
    Legend.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    - None: 无法选择。
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location图例显示的位置。 Location
    itemWidth25.0f图例标记的图形宽度。
    itemHeight12.0f图例标记的图形高度。
    itemGap10f图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
    itemAutoColortrue图例标记的图形是否自动匹配颜色。
    itemOpacity1图例标记的图形的颜色透明度。
    formatter图例内容字符串模版格式器。支持用 \n 换行。 模板变量为图例名称 {value}。其他模板变量参考Toolip的itemFormatter。
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    labelStyle文本样式。 LabelStyle
    data图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。
    icons自定义的图例标记图形。
    colors图例标记的颜色列表。
    backgroundv3.1.0背景图样式。 ImageStyle
    paddingv3.1.0图例标记和背景的间距。 Padding
    positionsv3.6.0图例标记的自定义位置列表。

    LegendTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    unableColor文本颜色。

    Level

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    label文本标签样式。 LabelStyle
    upperLabel上方的文本标签样式。 LabelStyle
    itemStyle数据项样式。 ItemStyle

    LevelStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showfalse是否启用LevelStyle
    levels各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    Line

    Inherits or Implemented: Serie,INeedSerieContainer

    LineArrow

    Inherits or Implemented: ChildComponent,ISerieComponent

    fielddefaultsincecomment
    show是否显示箭头。
    position箭头位置。
    LineArrow.Position:
    - End: 末端箭头
    - Start: 头端箭头
    arrow箭头。 ArrowStyle

    LineStyle

    Inherits or Implemented: ChildComponent,ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    fielddefaultsincecomment
    showtrue是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。
    type线的类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    color线的颜色。
    toColor线的渐变颜色(需要水平方向渐变时)。
    toColor2线的渐变颜色2(需要水平方向三个渐变色的渐变时)。
    width0线宽。
    length0线长。
    opacity1线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。

    Location

    Inherits or Implemented: ChildComponent,IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    fielddefaultsincecomment
    align对齐方式。
    Location.Align:
    - TopLeft: 对齐方式
    - TopRight: 对齐方式
    - TopCenter: 对齐方式
    - BottomLeft: 对齐方式
    - BottomRight: 对齐方式
    - BottomCenter: 对齐方式
    - Center: 对齐方式
    - CenterLeft: 对齐方式
    - CenterRight: 对齐方式
    left离容器左侧的距离。
    right离容器右侧的距离。
    top离容器上侧的距离。
    bottom离容器下侧的距离。

    MainComponent

    Inherits or Implemented: IComparable

    MarkArea

    Inherits or Implemented: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    fielddefaultsincecomment
    showtrue是否显示标域。
    textThe text of markArea. 标域显示的文本。
    serieIndex0Serie index of markArea. 标域影响的Serie索引。
    start标域范围的起始数据。 MarkAreaData
    end标域范围的结束数据。 MarkAreaData
    itemStyle标域样式。 ItemStyle
    label标域文本样式。 LabelStyle

    MarkAreaData

    Inherits or Implemented: ChildComponent

    标域的数据。

    fielddefaultsincecomment
    type特殊的标域类型,用于标注最大值最小值等。
    MarkAreaType:
    - None: 标域类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标注名称。会作为文字显示。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    Inherits or Implemented: MainComponent

    图表标线。

    fielddefaultsincecomment
    showtrue是否显示标线。
    serieIndex0标线影响的Serie索引。
    animation标线的动画样式。 AnimationStyle
    data标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLineData

    Inherits or Implemented: ChildComponent

    图表标线的数据。

    fielddefaultsincecomment
    type特殊的标线类型,用于标注最大值最小值等。
    MarkLineType:
    - None: 标线类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    group0分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。
    zeroPositionfalse是否为坐标系原点。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle
    lineStyle标线样式。 LineStyle
    label文本样式。可设置position为Start、Middle和End在不同的位置显示文本。 LabelStyle

    MarqueeStyle

    Inherits or Implemented: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    fielddefaultsincecomment
    applyfalsev3.5.0选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。
    realRectfalsev3.5.0是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。
    areaStylev3.5.0选取框区域填充样式。 AreaStyle
    lineStylev3.5.0选取框区域边框样式。 LineStyle

    Padding

    Inherits or Implemented: ChildComponent

    边距设置。

    fielddefaultsincecomment
    showtrueshow padding. 是否显示。
    top0顶部间距。
    right2f右部间距。
    left2f左边间距。
    bottom0底部间距。

    Parallel

    Inherits or Implemented: Serie,INeedSerieContainer

    ParallelAxis

    Inherits or Implemented: Axis

    ParallelCoord

    Inherits or Implemented: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    fielddefaultsincecomment
    showtrue是否显示直角坐标系网格。
    orient坐标轴朝向。默认为垂直朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。

    Pie

    Inherits or Implemented: Serie

    PolarAxisTheme

    Inherits or Implemented: BaseAxisTheme

    PolarCoord

    Inherits or Implemented: CoordSystem,ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    fielddefaultsincecomment
    showtrue是否显示极坐标。
    center极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    backgroundColor极坐标的背景色,默认透明。

    Radar

    Inherits or Implemented: Serie,INeedSerieContainer

    fielddefaultsincecomment
    smoothfalsev3.2.0是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    Inherits or Implemented: BaseAxisTheme

    RadarCoord

    Inherits or Implemented: CoordSystem,ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    Inherits or Implemented: Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    Inherits or Implemented: BaseAxisTheme

    Ring

    Inherits or Implemented: Serie

    Scatter

    Inherits or Implemented: BaseScatter

    SelectStyle

    Inherits or Implemented: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    Inherits or Implemented: BaseSerie,IComparable

    系列。

    fielddefaultsincecomment
    index系列索引。
    showtrue系列是否显示在图表上。
    coordSystem使用的坐标系。
    serieType系列类型。
    serieName系列名称,用于 tooltip 的显示,legend 的图例筛选。
    statev3.2.0系列的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    colorByv3.2.0从主题中取色的策略。
    SerieColorBy:
    - Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略
    - Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    - Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。
    stack数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。
    xAxisIndex0使用X轴的index。
    yAxisIndex0使用Y轴的index。
    radarIndex0雷达图所使用的 radar 组件的 index。
    vesselIndex0水位图所使用的 vessel 组件的 index。
    polarIndex0所使用的 polar 组件的 index。
    singleAxisIndex0所使用的 singleAxis 组件的 index。
    parallelIndex0所使用的 parallel coord 组件的 index。
    minShow系列所显示数据的最小索引
    maxShow系列所显示数据的最大索引
    maxCache系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。
    sampleDist0采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。
    sampleType采样类型。当sampleDist大于0时有效。
    SampleType:
    - Peak: 取峰值。
    - Average: 取过滤点的平均值。
    - Max: 取过滤点的最大值。
    - Min: 取过滤点的最小值。
    - Sum: 取过滤点的和。
    sampleAverage0设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。
    lineType折线图样式类型。
    LineType:
    - Normal: 普通折线图。
    - Smooth: 平滑曲线。
    - StepStart: 阶梯线图:当前点。
    - StepMiddle: 阶梯线图:当前点和下一个点的中间。
    - StepEnd: 阶梯线图:下一个拐点。
    smoothLimitfalsev3.4.0是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。
    barType柱形图类型。
    BarType:
    - Normal: 普通柱形图。
    - Zebra: 斑马柱形图。
    - Capsule: 胶囊柱形图。
    barPercentStackfalse柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。
    barWidth0柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。
    barMaxWidth0v3.5.0柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。
    barGap0.1f不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。
    barZebraWidth4f斑马线的粗细。
    barZebraGap2f斑马线的间距。
    min最小值。
    max最大值。
    minSize0f数据最小值 min 映射的宽度。
    maxSize1f数据最大值 max 映射的宽度。
    startAngle起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    endAngle结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    minAngle最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。
    clockwisetrue是否顺时针。
    roundCap是否开启圆弧效果。
    splitNumber刻度分割段数。最大可设置36。
    clickOffsettrue鼠标点击时是否开启偏移,一般用在PieChart图表中。
    roseType是否展示成南丁格尔图,通过半径区分数据大小。
    RoseType:
    - None: 不展示成南丁格尔玫瑰图。
    - Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    - Area: 所有扇区圆心角相同,仅通过半径展现数据大小。
    gap间距。
    center中心点。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    showDataDimension数据项里的数据维数。
    showDataName在Editor的inpsector上是否显示name参数
    clipfalse是否裁剪超出坐标系部分的图形。
    ignorefalse是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。
    ignoreValue0忽略数据的默认值。当ignore为true才有效。
    ignoreLineBreakfalse忽略数据时折线是断开还是连接。默认false为连接。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。
    largetrue是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。
    largeThreshold200开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。
    avoidLabelOverlapfalse在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。
    radarType雷达图类型。
    RadarType:
    - Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    - Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]
    placeHolderfalse占位模式。占位模式时,数据有效但不参与渲染和显示。
    dataSortType组件的数据排序。
    SerieDataSortType:
    - None: 按 data 的顺序
    - Ascending: 升序
    - Descending: 降序
    orient组件的朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    align组件水平方向对齐方式。
    Align:
    - Center: 对齐方式
    - Left: 对齐方式
    - Right: 对齐方式
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    lineStyle线条样式。 LineStyle
    symbol标记的图形。 SerieSymbol
    animation起始动画。 AnimationStyle
    itemStyle图形样式。 ItemStyle
    data系列中的数据内容数组。SerieData可以设置1到n维数据。

    SerieData

    Inherits or Implemented: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    fielddefaultsincecomment
    index数据项索引。
    name数据项名称。
    id数据项的唯一id。唯一id不是必须设置的。
    parentId父节点id。父节点id不是必须设置的。
    ignore是否忽略数据。当为 true 时,数据不进行绘制。
    selected该数据项是否被选中。
    radius自定义半径。可用在饼图中自定义某个数据项的半径。
    statev3.2.0数据项的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    data可指定任意维数的数值列表。

    SerieSymbol

    Inherits or Implemented: SymbolStyle,ISerieDataComponent

    系列数据项的标记的图形

    fielddefaultsincecomment
    sizeType标记图形的大小获取方式。
    SymbolSizeType:
    - Custom: 自定义大小。
    - FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    - Function: 通过委托函数获取。
    dataIndex1当sizeType指定为FromData时,指定的数据源索引。
    dataScale1当sizeType指定为FromData时,指定的倍数系数。
    sizeFunction当sizeType指定为Function时,指定的委托函数。
    startIndex开始显示图形标记的索引。
    interval显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    forceShowLastfalse是否强制显示最后一个图形标记。
    repeatfalse图形是否重复。
    minSize0fv3.3.0图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。
    maxSize0fv3.3.0图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieTheme

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    lineWidth文本颜色。
    lineSymbolSize折线图的Symbol大小。
    scatterSymbolSize散点图的Symbol大小。
    pieTooltipExtraRadius饼图鼠标移到高亮时的额外半径
    selectedRate1.3f折线图或散点图在被选中时的放大倍数。
    pieSelectedOffset饼图选中时的中心点偏移。
    candlestickColorColor32(235, 84, 84, 255)K线图阳线(涨)填充色
    candlestickColor0Color32(71, 178, 98, 255)K线图阴线(跌)填充色
    candlestickBorderWidth1K线图边框宽度
    candlestickBorderColorColor32(235, 84, 84, 255)K线图阳线(跌)边框色
    candlestickBorderColor0Color32(71, 178, 98, 255)K线图阴线(跌)边框色

    Settings

    Inherits or Implemented: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    fielddefaultsincecomment
    showtrue
    maxPainter10设定的painter数量。
    reversePainterfalsePainter是否逆序。逆序时index大的serie最先绘制。
    basePainterMaterialBase Pointer 材质球,设置后会影响Axis等。
    seriePainterMaterialSerie Pointer 材质球,设置后会影响所有Serie。
    upperPainterMaterialUpper Pointer 材质球。
    topPainterMaterialTop Pointer 材质球。
    lineSmoothStyle2.5f曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。
    lineSmoothness2fWhen the area with gradient is filled, the larger the value, the worse the transition effect.
    lineSegmentDistance3f线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。
    cicleSmoothness2f圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。
    legendIconLineWidth2Line类型图例图标的线条宽度。
    legendIconCornerRadius图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    axisMaxSplitNumber50v3.1.0坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    SimplifiedBar

    Inherits or Implemented: Serie,INeedSerieContainer,ISimplifiedSerie

    SimplifiedCandlestick

    Inherits or Implemented: Serie,INeedSerieContainer,ISimplifiedSerie

    SimplifiedLine

    Inherits or Implemented: Serie,INeedSerieContainer,ISimplifiedSerie

    SingleAxis

    Inherits or Implemented: Axis,IUpdateRuntimeData

    单轴。

    fielddefaultsincecomment
    orient坐标轴朝向。默认为水平朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1f组件离容器左侧的距离。
    right0.1f组件离容器右侧的距离。
    top0f组件离容器上侧的距离。
    bottom0.2f组件离容器下侧的距离。
    width0坐标轴宽。
    height50坐标轴高。

    SingleAxisCoord

    Inherits or Implemented: CoordSystem

    StageColor

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    percent结束位置百分比。
    color颜色。

    StateStyle

    Inherits or Implemented: ChildComponent

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    fielddefaultsincecomment
    showtrue是否启用高亮样式。
    label图形文本标签。 LabelStyle
    labelLine图形文本引导线样式。 LabelLine
    itemStyle图形样式。 ItemStyle
    lineStyle折线样式。 LineStyle
    areaStyle区域样式。 AreaStyle
    symbol标记样式。 SerieSymbol

    SubTitleTheme

    Inherits or Implemented: ComponentTheme

    SymbolStyle

    Inherits or Implemented: ChildComponent

    系列数据项的标记的图形

    fielddefaultsincecomment
    showtrue是否显示标记。
    type标记类型。
    SymbolType:
    - None: 不显示标记。
    - Custom: 自定义标记。
    - Circle: 圆形。
    - EmptyCircle: 空心圆。
    - Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    - EmptyRect: 空心正方形。
    - Triangle: 三角形。
    - EmptyTriangle: 空心三角形。
    - Diamond: 菱形。
    - EmptyDiamond: 空心菱形。
    - Arrow: 箭头。
    - EmptyArrow: 空心箭头。
    size0f标记的大小。
    gap0图形标记和线条的间隙距离。
    width0f图形的宽。
    height0f图形的高。
    offsetVector2.zero图形的偏移。
    image自定义的标记图形。
    imageType图形填充类型。
    color图形的颜色。

    TextLimit

    Inherits or Implemented: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    fielddefaultsincecomment
    enablefalse是否启用文本自适应。 [default:true]
    maxWidth0Clipping occurs when the width of the text is greater than this value.
    gap1两边留白像素距离。 [default:10f]
    suffix长度超出时的后缀。 [default: "..."]

    TextPadding

    Inherits or Implemented: Padding

    文本的内边距设置。

    TextStyle

    Inherits or Implemented: ChildComponent

    文本的相关设置。

    fielddefaultsincecomment
    showtrue文本的相关设置。
    font文本字体。 [default: null]
    autoWrapfalse是否自动换行。
    autoAligntrue文本是否让系统自动选对齐方式。为false时才会用alignment。
    rotate0文本的旋转。 [default: 0f]
    autoColorfalse是否开启自动颜色。当开启时,会自动设置颜色。
    color文本的颜色。 [default: Color.clear]
    fontSize0文本字体大小。 [default: 18]
    fontStyle文本字体的风格。 [default: FontStyle.Normal]
    lineSpacing1f行间距。 [default: 1f]
    alignment对齐方式。
    tMPFontTextMeshPro字体。
    tMPFontStyle
    tMPAlignment
    tMPSpriteAssetv3.1.0

    Theme

    Inherits or Implemented: ScriptableObject

    主题相关配置。

    fielddefaultsincecomment
    themeType主题类型。
    ThemeType:
    - Default: 默认主题。
    - Light: 亮主题。
    - Dark: 暗主题。
    - Custom: 自定义主题。
    themeName主题名称。
    font主题字体。
    tMPFont主题字体。
    contrastColor对比色。
    backgroundColor背景颜色。
    colorPalette调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
    commonComponentTheme
    titleTitleTheme
    subTitleSubTitleTheme
    legendLegendTheme
    axisAxisTheme
    tooltipTooltipTheme
    dataZoomDataZoomTheme
    visualMapVisualMapTheme
    serieSerieTheme

    ThemeStyle

    Inherits or Implemented: ChildComponent

    主题相关配置。

    fielddefaultsincecomment
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse是否透明背景颜色。当设置为true时,不绘制背景颜色。
    enableCustomThemefalse是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。
    customFont
    customBackgroundColor自定义的背景颜色。
    customColorPalette

    Title

    Inherits or Implemented: MainComponent,IPropertyChanged

    标题组件,包含主标题和副标题。

    fielddefaultsincecomment
    showtrue是否显示标题组件。
    text主标题文本,支持使用 \n 换行。
    subText副标题文本,支持使用 \n 换行。
    labelStyle主标题文本样式。 LabelStyle
    subLabelStyle副标题文本样式。 LabelStyle
    itemGap0主副标题之间的间距。
    location标题显示位置。 Location

    TitleStyle

    Inherits or Implemented: LabelStyle,ISerieDataComponent,ISerieComponent

    标题相关设置。

    TitleTheme

    Inherits or Implemented: ComponentTheme

    Tooltip

    Inherits or Implemented: MainComponent

    提示框组件。

    fielddefaultsincecomment
    showtrue是否显示提示框组件。
    type提示框指示器类型。
    Tooltip.Type:
    - Line: 直线指示器
    - Shadow: 阴影指示器
    - None: 无指示器
    - Corss: 十字准星指示器。坐标轴显示Label和交叉线。
    trigger触发类型。
    Tooltip.Trigger:
    - Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    - Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    - None: 什么都不触发。
    positionv3.3.0显示位置类型。
    Tooltip.Position:
    - Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    - Custom: 自定义。完全自定义显示位置(x,y)。
    - FixedX: 只固定坐标X。Y跟随鼠标位置。
    - FixedY:
    itemFormatter提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用
    titleFormatter提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
    markerserie的符号标志。
    fixedWidth0固定宽度。比 minWidth 优先。
    fixedHeight0固定高度。比 minHeight 优先。
    minWidth0最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。
    minHeight0最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    paddingLeftRight10左右边距。
    paddingTopBottom10上下边距。
    ignoreDataShowfalse是否显示忽略数据在tooltip上。
    ignoreDataDefaultContent被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。
    showContenttrue是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。
    alwayShowContentfalse是否触发后一直显示提示框浮层。
    offsetVector2(18f, -25f)提示框相对于鼠标位置的偏移。
    backgroundImage提示框的背景图片。
    backgroundType提示框的背景图片显示类型。
    backgroundColor提示框的背景颜色。
    borderWidth2f边框线宽。
    fixedX0f固定X位置的坐标。
    fixedY0.7f固定Y位置的坐标。
    titleHeight25f标题文本的高。
    itemHeight25f数据项文本的高。
    borderColorColor32(230, 230, 230, 255)边框颜色。
    lineStyle指示线样式。 LineStyle
    titleLabelStyle标题的文本样式。 LabelStyle
    contentLabelStyles内容部分的文本样式列表。和列一一对应。

    TooltipTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f指示线线宽。
    lineColor指示线颜色。
    areaColor区域指示的颜色。
    labelTextColor十字指示器坐标轴标签的文本颜色。
    labelBackgroundColor十字指示器坐标轴标签的背景颜色。

    UIComponentTheme

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse

    VisualMap

    Inherits or Implemented: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    fielddefaultsincecomment
    showtrue组件是否生效。
    showUIfalse是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。
    type组件类型。
    VisualMap.Type:
    - Continuous: 连续型。
    - Piecewise: 分段型。
    selectedMode选择模式。
    VisualMap.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    serieIndex0影响的serie索引。
    min0范围最小值
    max0范围最大值
    range指定手柄对应数值的位置。range 应在[min,max]范围内。
    text两端的文本,如 ['High', 'Low']
    textGap两端文字主体之间的距离,单位为px。
    splitNumber5对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。
    calculablefalse是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。
    realtimetrue拖拽时,是否实时更新。
    itemWidth20f图形的宽度,即颜色条的宽度。
    itemHeight140f图形的高度,即颜色条的高度。
    itemGap10f每个图元之间的间隔距离。
    borderWidth0边框线宽,单位px。
    dimension-1Starting at 1, the default is 0 to take the last dimension in data.
    hoverLinktrueConversely, when the mouse hovers over a graphic element in a diagram, the corresponding value of the visualMap component is triangulated in the corresponding position.
    autoMinMaxtrueAutomatically set min, Max value 自动设置min,max的值
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location组件显示的位置。 Location
    workOnLinetrue组件是否对LineChart的LineStyle有效。
    workOnAreafalse组件是否对LineChart的AreaStyle有效。
    outOfRange定义 在选中范围外 的视觉颜色。
    inRange分段式每一段的相关配置。

    VisualMapRange

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    min范围最小值
    max范围最大值
    label文字描述
    color颜色

    VisualMapTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    borderWidth边框线宽。
    borderColor边框颜色。
    backgroundColor背景颜色。
    triangeLen20f可视化组件的调节三角形边长。

    XAxis

    Inherits or Implemented: Axis

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    XCSettings

    Inherits or Implemented: ScriptableObject

    fielddefaultsincecomment
    langLang
    font
    tMPFont
    fontSizeLv128一级字体大小。
    fontSizeLv224
    fontSizeLv320
    fontSizeLv418
    axisLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisLineWidth0.8f
    axisSplitLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisSplitLineWidth0.8f
    axisTickWidth0.8f
    axisTickLength5f
    gaugeAxisLineWidth15f
    gaugeAxisSplitLineWidth0.8f
    gaugeAxisSplitLineLength15f
    gaugeAxisTickWidth0.8f
    gaugeAxisTickLength5f
    tootipLineWidth0.8f
    dataZoomBorderWidth0.5f
    dataZoomDataLineWidth0.5f
    visualMapBorderWidth0f
    serieLineWidth1.8f
    serieLineSymbolSize5f
    serieScatterSymbolSize20f
    serieSelectedRate1.3f
    serieCandlestickBorderWidth1f
    editorShowAllListDatafalse
    maxPainter10
    lineSmoothStyle3f
    lineSmoothness2f
    lineSegmentDistance3f
    cicleSmoothness2f
    visualMapTriangeLen20f
    pieTooltipExtraRadius8f
    pieSelectedOffset8f
    customThemes

    YAxis

    Inherits or Implemented: Axis

    直角坐标系 grid 中的 y 轴。

    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/extra/index.html b/docs/v3.6.0/extra/index.html index b81fdc00..743b10c9 100644 --- a/docs/v3.6.0/extra/index.html +++ b/docs/v3.6.0/extra/index.html @@ -14,13 +14,13 @@ 扩展图表 | XCharts - - + +
    Version: v3.6.0

    扩展图表

    XCharts的扩展图表。

    支持的扩展图表

    扩展图表如何导入到XCharts-Demo

    Pie3DChart 为例:

    1. 购买图表:购买扩展图表后,Github找到仓库 XCharts-Pie3DChart(私有仓库,购买后加入Team才可见)
    2. 下载图表:选择和XCharts最接近的版本
    3. 导入图表:将下载好的XCharts-Pie3DChart目录覆盖到XCharts-Demo项目中的Packages/XCharts-Pie3DChart
    4. 下载图表Demo:Github找到仓库 XCharts-Pie3DChart-Demo并下载
    5. 导入图表Demo:将下载好的XCharts-Pie3DChart-Demo目录覆盖到XCharts-Demo项目中的Assets/XChartsExtensionDemo/XCharts-Pie3DChart-Demo

    扩展图表如何导入自己的项目中

    Pie3DChart 为例:

    1. 先确保项目中已导入XCharts
    2. 再导入XCharts-Pie3DChart即可,不需要导入XCharts-Pie3DChart-Demo(如果要导入的话需要Unity版本接近2019.4.39f1)
    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/faq/index.html b/docs/v3.6.0/faq/index.html index 885ce760..8969e53b 100644 --- a/docs/v3.6.0/faq/index.html +++ b/docs/v3.6.0/faq/index.html @@ -14,8 +14,8 @@ 常见问题 | XCharts - - + +
    @@ -50,7 +50,7 @@ QA 29:如何修改Serie的Symbol的颜色?
    QA 30:导入或更新XCharts时TMP报错怎么办?
    QA 31:支持空数据吗?如何实现折线图断开的效果?

    如何调整坐标轴与背景的边距

    答:Grid组件,可调整上下左右边距。

    如何让初始动画重新播放

    答:调用AnimationReset()接口。

    如何自定义折线图_饼图等数据项的颜色

    答:通过ThemecolorPalette调整,或者部分Serie下的LineStyleItemStyle

    如何格式化文字_如我想给坐标轴标签加上单位

    答:通过formatternumericFormatter参数,在LegendAxisAxisLabelTooltopSerieLabel都提供该参数的配置。

    如何让柱形图的柱子堆叠显示

    答:设置Serie下的stackstack相同的serie会堆叠显示在一个柱子上。

    如何让柱形图的柱子同柱但不重叠

    答:设置Serie下的barGap-1stack为空。

    如何调整柱形图的柱子宽度和间距

    答:调整Serie下的barWidthbarGap,多个serie时最后一个seriebarWidthbarGap有效。

    如何调整柱形图单个柱子的颜色

    答:可通过调整单个Data下的ItemStyle调整,也可以通过两个serie同柱不堆叠来实现,通过设置数据项为0来达到类似效果。

    如何调整图表的对齐方式

    答:调整RectTransform的锚点,和UGUI的其他组件的用法一致。

    可以显示超过1000以上的大数据吗

    答:可以。但UGUI对单个Graphic限制65000个顶点,所以太多的数据不一定能显示完全。可通过设置采样距离sampleDist开启采样简化过密曲线。也可以通过设置一些参数来减少图表的顶点数有助于显示更多数据。如缩小图表的尺寸,关闭或减少坐标轴的客户端绘制,关闭Seriesymbollabel显示等。折线图的普通线图Normal比平滑线图Smooth占用顶点数更少。1.5.0以上版本可以设置largelargeThreshold参数来开启性能模式。

    折线图可以画虚线点线点划线吗

    答:可以。通过Serie下的lineType选择线条样式。当要显示的数据过多(成千以上)数据间过密时建议使用Normal或者Step样式。

    如何限定Y轴的值范围

    答:设置Axis下的minMaxTypeCustom,自定义minmax

    如何自定义数值轴刻度大小

    答:默认时通过Axis下的splitNumer进行自动划分。也可以设置interval自定义刻度大小。

    如何在数据项顶上显示文本

    答:通过设置Serie下的Label。3.0版本需要先添加LabelStyle组件。

    如何给数据项自定义图标

    答:通过设置Seriedata下的数据项可单独设置icon相关参数。

    锯齿太严重_如何让图表更顺滑

    答:开启抗锯齿设置(在Unity里设置)。调整UI渲染模式为Camera模式,开启MSAA,设置4倍或更高抗锯齿。

    为什么鼠标移上图表Tooltip不显示

    答:确认Tooltip是否开启;确认父节点是否关闭了鼠标事件。

    如何取消Tooltip的竖线

    答:设置TooltiptypeNone。或者调整lineStyle的参数。

    如何自定义Tooltip的显示内容

    答:自定义总的内容可以通过Tooltipformatter。如果只是想调整所有的serie的显示格式可以用itemFormattertitleFormatter结合。如果想每个serie的显示格式不一样,可以定制serieitemStyle里的tooltipFormatter。具体的用法请查阅XCharts配置项手册

    如何让Y轴显示多位小数

    答:设置Axis下的AxisLabel中的formatter{value:f1}{value:f2}1.5.0及以上版本通过numericFormatter设置。

    如何用代码动态更新数据

    答:请查阅Example下的代码,Example13_LineSimple.cs就是一个简单添加数据构建折线图的例子,其他Demo也都是通过代码控制不同的组件实现不同的功能,相关API请查看文档:XChartsAPI接口

    如何显示图例_为什么有时候图例无法显示

    答:首先,你的serie里的name需有值不为空。然后开启Legend显示,里面的data可以默认为空,表示显示所有的图例。如果你只想显示部分serie的图例,在data中填入要显示的图例的name即可。如果data中的值都不是系列的name,那图例就不会显示。

    如何做成预设

    答:做成prefab前,执行一下Rebuild Chart Object重新刷新节点,避免有冗余的节点存在。

    如何在图表上画点画线等自定义内容

    答:XCharts有自定义绘制回调onCustomDraw,具体可参考Example12_CustomDrawing.cs

    如何实现心电图类似的数据移动效果

    答:参考Example目录下的Example_Dynamic.cs。主要通过设置maxCache参数实现。axisserie都设置相同的maxCachemaxCache可固定数据个数,当数据超过设定时会先删除第一个在添加新数据,实现数据移动效果。

    如何使用背景组件_有什么条件限制

    答:设置background组件的showtrue

    区域折线图在用半透明颜色时有时候会一条叠加的线

    答:这是区域折线图绘制的bug。可以用浅的不透的颜色替代半透明颜色。

    Mesh_cannot_have_more_than_65000_vertices

    答:这是UGUI对单个Graphic的顶点数限制。XCharts是将图形绘制在单个Graphic上,所以也会有这个限制。解决的办法可以参考:QA 10:可以显示超过1000以上的大数据吗?

    为什么serie里设置的参数运行后又被重置了

    答:检测下代码里是否调用了RemoveData()并重新添加Serie了。如果想保留Serie的配置可以只ClearData(),然后重新添加数据。

    如何修改Serie的Symbol的颜色

    答:Symbol 的颜色是使用的 ItemStylecolor

    导入或更新XCharts时TMP报错怎么办

    答:XCharts默认时不开启TMP,所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    支持空数据吗_如何实现折线图断开的效果

    答:Seriedatadouble类型,所以无法表示空数据。可通过开启Serieignore和指定ignoreValue来达到空数据的效果。也可以每个SerieData设置ignore参数。忽略数据后断开还是连接可设置ignoreLineBreak参数。

    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/funnel/index.html b/docs/v3.6.0/funnel/index.html index bac1746c..265ba7e6 100644 --- a/docs/v3.6.0/funnel/index.html +++ b/docs/v3.6.0/funnel/index.html @@ -14,14 +14,14 @@ FunnelChart 漏斗图 | XCharts - - + +
    Version: v3.6.0

    FunnelChart 漏斗图

    XCharts的付费扩展图表 - 漏斗图。

    funnel

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    FunnelChart

    Inherits or Implemented: BaseChart

    配置项手册

    Funnel

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    rectEndv3.3.0是否最后以矩形结束。默认false以三角形结束。
    dynamicHeightv3.3.0是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。
    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/gantt/index.html b/docs/v3.6.0/gantt/index.html index a2356db3..4774ab34 100644 --- a/docs/v3.6.0/gantt/index.html +++ b/docs/v3.6.0/gantt/index.html @@ -14,14 +14,14 @@ GanttChart 甘特图 | XCharts - - + +
    Version: v3.6.0

    GanttChart 甘特图

    XCharts付费扩展图表 - 甘特图。

    gantt

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    GanttChart

    Inherits or Implemented: BaseChart

    public methodsincedescription
    GetSeriesMinMaxValue()public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    InitAxisRuntimeData()public override void InitAxisRuntimeData(Axis axis)
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)

    配置项手册

    Gantt

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    disableDrag

    GanttStyle

    Inherits or Implemented: MainComponent

    fielddefaultsincecomment
    showtrue
    ganttType甘特图类型。
    GanttType:
    - Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    - Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。
    inverttrue
    dragEnabletrue是否可以拖拽甘特图。
    dragSensitivity1f拖拽的灵敏度。
    dragRangeMin0拖拽最小值限制。
    dragRangeMax0拖拽最大值限制。
    autoAdsorbAlignlinetrue拖拽结束后是否自动吸附到对齐线。
    alignlineDataIndex1显示对齐线的数据项索引。
    showAlignlineRange10f显示对齐线的范围。
    aliginLine对齐线样式。
    splitArea
    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/gauge/index.html b/docs/v3.6.0/gauge/index.html index 8cfcb6a1..14a7fbc7 100644 --- a/docs/v3.6.0/gauge/index.html +++ b/docs/v3.6.0/gauge/index.html @@ -14,14 +14,14 @@ GaugeChart 仪表盘 | XCharts - - + +
    Version: v3.6.0

    GaugeChart 仪表盘

    XCharts付费扩展图表 - 仪表盘。

    gauge

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    master

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.17) 增加GaugerangeDataMode可设置是否使用范围数据模式
    • (2023.03.17) 增加Gaugeloop可设置是否循环数据,用于时钟甘特图
    • (2023.03.17) 增加GaugePointervalue可设置指针位置
    • (2023.03.17) 增加Clock时钟仪表盘支持
    • (2023.03.13) 增加GaugePointernowTime可设置指针指向当前时间
    • (2023.03.13) 增加GaugePointervalue可设置当前指针位置
    • (2023.03.13) 增加Clock类型的甘特图支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.10.05) 增加GaugeAxisLinestageGradient支持设置阶段渐变色过渡

    v3.3.0

    • (2022.09.28) 发布v3.3.0版本
    • (2022.08.26) 修复Pointer在普通模式下不显示的问题
    • (2022.08.25) 增加label颜色跟随数值变化的支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.15) 支持渐变

    API

    GaugeChart

    Inherits or Implemented: BaseChart

    配置项手册

    Gauge

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    rangeDataModefalsev3.6.0数值是否为范围数据。启用该模式后,data中的每个值都是一个数组,数组中的第一个值为起始值,第二个值为结束值。指针只有一个,数据绘制为环形。
    loopfalsev3.6.0数值是否循环。可用在钟表图。
    gaugeAxis仪表盘轴线。 GaugeAxis
    gaugePointer仪表盘指针。 GaugePointer
    gaugeAnchor仪表盘指针固定点。 GaugeAnchor

    GaugeAnchor

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showtrue是否显示指针固定点。
    showAbovetrue固定点是否显示在指针上面。
    type标记类型。
    size6标记的大小。
    gap0图形标记和线条的间隙距离。
    image自定义的标记图形。
    imageType
    offsetCenterVector2(0, 0)相对于中心的偏移位置。
    itemStyle图形样式。

    GaugeAxis

    Inherits or Implemented: ChildComponent

    仪表盘轴线相关设置。

    fielddefaultsincecomment
    showtrue
    type
    GaugeAxisType:
    - None: 仪表盘类型
    - Section: 分段
    - Progress: 进度
    overlaptrue
    distance
    axisLine仪表盘轴线样式。 GaugeAxisLine
    splitLine分割线。
    axisTick刻度。
    axisLabel文本标签。
    axisLabelText自定义Label的内容。

    GaugeAxisLine

    Inherits or Implemented: BaseLine

    fielddefaultsincecomment
    backgroundColorColor32(230, 235, 248, 255)进度条背景颜色。
    stageColor阶段颜色。
    stageGradientv3.4.0阶段颜色是否渐变过渡。

    GaugePointer

    Inherits or Implemented: ChildComponent

    仪表盘指针相关设置。

    fielddefaultsincecomment
    showtrue是否显示指针。
    length0.6f指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backLength0.05f指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backExtraLength0.05f指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topLeftLength0f指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topRightLength0f指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomLeftLength0.025f指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomRightLength0.025f指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    distance
    roundCap
    autoColortrue
    color
    toColor
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    valuev3.6.0指针的值。当为时钟仪表盘时,可通过指定value值来控制指针的位置。
    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/inputsystem/index.html b/docs/v3.6.0/inputsystem/index.html index a44e0a8a..631304ae 100644 --- a/docs/v3.6.0/inputsystem/index.html +++ b/docs/v3.6.0/inputsystem/index.html @@ -14,13 +14,13 @@ 切换到新的输入系统Input System | XCharts - - + +
    Version: v3.6.0

    教程:切换到新的输入系统Input System

    1. 按图示修改项目配置中输入模式为 Input System

    Project Settings

    2. 使用 Unity Package Manager 安装 Input System

    UPM

    3. 选中场景中 EventSystem 游戏对象,更换输入模组

    Input Module

    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/lang/articles/ui/ui_statistic/index.html b/docs/v3.6.0/lang/articles/ui/ui_statistic/index.html index e68f3981..1ef4bbac 100644 --- a/docs/v3.6.0/lang/articles/ui/ui_statistic/index.html +++ b/docs/v3.6.0/lang/articles/ui/ui_statistic/index.html @@ -14,13 +14,13 @@ UIStatistic 统计数值 | XCharts - - + +
    Version: v3.6.0

    UIStatistic 统计数值

    statistic

    统计数值组件。用于展示统计数值。

    何时使用:

    • 当需要突出某个或某组数字时。
    • 当需要展示带描述的统计类数据时使用。

    支持的功能有:

    • 常规数值
    • 倒计时
    • 添加图标
    • 变更动画
    • 事件回调
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/lang/articles/ui/ui_table/index.html b/docs/v3.6.0/lang/articles/ui/ui_table/index.html index 6707cafb..4b1163e4 100644 --- a/docs/v3.6.0/lang/articles/ui/ui_table/index.html +++ b/docs/v3.6.0/lang/articles/ui/ui_table/index.html @@ -14,13 +14,13 @@ UITable 表格 | XCharts - - + +
    Version: v3.6.0

    UITable 表格

    table

    表格组件。可用于展示行列数据。

    支持的功能有:

    • 显示或隐藏列表头
    • 显示或隐藏行表头
    • 任意调整行列宽高
    • 支持行号
    • 支持选中
    • 支持分割线
    • 支持滚动和拖拽
    • 支持滚动条
    • 支持图标图片
    • 排序(暂不支持)
    • 分页(暂不支持)
    • 查找(暂不支持)
    • 过滤(暂不支持)
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/liquid/index.html b/docs/v3.6.0/liquid/index.html index 3c5b269e..c3f1a53b 100644 --- a/docs/v3.6.0/liquid/index.html +++ b/docs/v3.6.0/liquid/index.html @@ -14,14 +14,14 @@ LiquidChart 水位图 | XCharts - - + +
    Version: v3.6.0

    LiquidChart 水位图

    XCharts的付费扩展图表 - 水位图。

    liquid

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    LiquidChart

    Inherits or Implemented: BaseChart

    VesselContext

    Inherits or Implemented: MainComponentContext

    配置项手册

    Liquid

    Inherits or Implemented: Serie,INeedSerieContainer

    fielddefaultsincecomment
    waveHeight10f波高。
    waveLength20f波长。为0-1小数时指直线的百分比。
    waveSpeed5f波速。正数时左移,负数时右移。
    waveOffset0f波偏移。

    Vessel

    Inherits or Implemented: MainComponent,ISerieContainer,IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    fielddefaultsincecomment
    showtrue是否显示容器组件。 [defaut: true]
    shape容器形状。 [default: Shape.Circle]
    Vessel.Shape:
    - Circle: 圆形
    - Rect: 正方形。
    - Triangle: 三角形。
    - Diamond: 菱形。
    shapeWidth5f容器厚度。 [defaut: 5f]
    gap5f间隙。容器和液体的间隙。 [defaut: 10f]
    colorColor32(70, 70, 240, 255)容器颜色。默认和serie一致。
    backgroundColor背景色,默认透明。 [default: Color.clear]
    autoColortrue是否自动颜色。为true时颜色会和serie一致。 [default: true]
    centerWhen value between 0 and 1 represents a percentage relative to the chart.
    radius0.35fWhen value between 0 and 1 represents a percentage relative to the chart.
    smoothness1f水波平滑度。 [default: 1f]
    width0.5fWhen value between 0 and 1 represents a percentage relative to the chart.
    height0.7fWhen value between 0 and 1 represents a percentage relative to the chart.
    borderWidth0f内壁边框。
    borderColorColor32(70, 70, 240, 255)容器内壁边框颜色。默认和serie一致。
    cornerRadius容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。
    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/pictorialbar/index.html b/docs/v3.6.0/pictorialbar/index.html index 0ffeea24..3deba919 100644 --- a/docs/v3.6.0/pictorialbar/index.html +++ b/docs/v3.6.0/pictorialbar/index.html @@ -14,14 +14,14 @@ PictorialBarChart 象形柱图 | XCharts - - + +
    Version: v3.6.0

    PictorialBarChart 象形柱图

    XCharts付费扩展图表 - 象形柱图。

    pictorialbar

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBarChart

    Inherits or Implemented: BaseChart

    配置项手册

    PictorialBar

    Inherits or Implemented: Serie,INeedSerieContainer

    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/pie3d/index.html b/docs/v3.6.0/pie3d/index.html index 596d54af..e65377b8 100644 --- a/docs/v3.6.0/pie3d/index.html +++ b/docs/v3.6.0/pie3d/index.html @@ -14,14 +14,14 @@ Pie3DChart 3D饼图 | XCharts - - + +
    Version: v3.6.0

    Pie3DChart 3D饼图

    XCharts的付费扩展图表 - 3D饼图。

    pie3d

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.3.0

    • (2022.09.02) 增加onPointerEnterPie回调支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pie3DChart

    Inherits or Implemented: BaseChart

    Pie3DSlice

    public methodsincedescription
    Contains()public bool Contains(float angle)
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    IsInSidePolygon()public bool IsInSidePolygon(Vector2 p)
    IsInStartOrEndSide()public bool IsInStartOrEndSide(Vector2 p)
    IsInTopPolygon()public bool IsInTopPolygon(Vector2 p)
    Pie3DSlice()public Pie3DSlice()
    UpdateValue()public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig)

    配置项手册

    Pie3D

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    pie3DStylePie3DStyle

    Pie3DStyle

    Inherits or Implemented: ChildComponent

    3D饼图样式。

    fielddefaultsincecomment
    showtrue
    ellipseMinorAxis0.65f椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。
    pieMaxHeight20f饼图厚度。
    pieAutoHeightfalse是否自动根据比例计算厚度。
    selectedOffsetVector2(0.1f, 0.5f)The offset of selected pie slice. 被选中状态的饼图块的额外偏移。
    peripherySideColorRate0.8f饼图切块的侧面颜色。
    startSideColorRate0.7f饼图切块的起始面颜色(顺时针)。
    endSideColorRate0.65f饼图切块的结束面颜色(顺时针)。
    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/pyramid/index.html b/docs/v3.6.0/pyramid/index.html index 85094de6..fbcc1bf9 100644 --- a/docs/v3.6.0/pyramid/index.html +++ b/docs/v3.6.0/pyramid/index.html @@ -14,14 +14,14 @@ PyramidChart 金字塔 | XCharts - - + +
    Version: v3.6.0

    PyramidChart 金字塔

    XCharts付费扩展图表 - 金字塔。

    pyramid

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.21) 增加Tooltip支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    PyramidChart

    Inherits or Implemented: BaseChart

    配置项手册

    Pyramid

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    pyramidStylePyramidStyle

    PyramidStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showtrue
    3Dtrue
    drawToptrue
    bottomPointRate0.5f3D模式下,底部中点占金字塔宽度的比例
    leftPointRate0.1f3D模式下,底部左边点占金字塔高度的比例
    rightPointRate0.1f3D模式下,底部右边点占金字塔高度的比例
    leftColorOpacity0.9f3D模式下,金字塔左边的颜色透明度
    rightColorOpacity0.7f3D模式下,金字塔右边的颜色透明度
    topColorOpacity0.99f3D模式下,金字塔顶部的颜色透明度
    labelLineMargin10fLabel标签距离右边的距离
    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/support/index.html b/docs/v3.6.0/support/index.html index e7853819..849648c9 100644 --- a/docs/v3.6.0/support/index.html +++ b/docs/v3.6.0/support/index.html @@ -14,15 +14,15 @@ 订阅服务 | XCharts - - + +
    Version: v3.6.0

    订阅服务

    如需技术支持,可订阅个人VIP服务。扫后面的二维码付费后可加VIP群867291970,验证信息请输入付费的账号。
    企业商务合作可联系QQ:3525422251(XCharts技术支持)。

    订阅VIP服务

    订阅服务分个人订阅企业订阅

    • 个人订阅个人VIP属于个人,不可转让,XCharts团队只服务于订阅当事人。
    • 企业订阅企业VIP属于企业,席位内可安排固定职员,职员离职后席位可重新安排,XCharts团队通过专属企业群为企业服务。

    订阅服务有哪些优势?

    • 提高工作效率,节省时间成本。一方面,XCharts功能强大,相关配置项非常多,VIP服务可快速帮您定位,节省去查找和核对的时间;另一方面,VIP的即时回答服务可快速为您答疑解惑,避免中断开发流程,快速上手,快速处理问题,至少能提高10倍以上的工作效率。
    • 更多技术交流,更多经验交流。XCharts团队成员从业多年,有丰富的技术和工作经验。VIP服务不仅可以交流XCharts相关的内容,也可以咨询其他方面的技术。VIP群也有更多的交流。
    • 扩展图表需要订阅VIP服务后才能购买,扩展图表超过1年后的更新支持也需要持续订阅VIP服务。
    • VIP用户可加入XChartsGitHub组织,参与XCharts的社区构建,访问专有仓库。拥有扩展UI组件等专属功能。
    • XCharts交流群里拥有VIP专属标识,问题会第一时间得到响应,有问即答。
    免费用户付费咨询个人VIP个人SVIP企业VIP
    订阅费用--98¥298¥首年1298¥
    后续298¥*
    联系我们
    订阅时长--7天*11年*1
    订阅席位--1个席位1个席位1个席位5个以上席位
    服务方式:
    官方QQ群交流
    即时一对一交流
    专属VIP群交流√(专属企业群)
    服务内容:
    可商用
    可二次开发
    有问即答
    新手指导
    开发指导
    优化指导
    其他技术支持
    问题及时处理
    需求优先考虑
    可另付费定制
    可另付费加急
    扩展UI组件
    扩展图表购买按需购买全部免费全部免费
    扩展图表源码永久持有永久持有永久持有
    扩展图表更新1年更新支持1年更新支持1年更新支持

    购买扩展图表

    扩展图表为另付费购买图表,只对订阅了VIP服务的用户开放购买。对于SVIP的订阅用户,所有扩展图表仓库可免费使用,不用再单独购买。

    对所有已购买的扩展图表,源码可永久持有,并获得持续一年的更新支持,一年后如需更新支持服务,可再继续订阅VIP服务。

    编号扩展图表价格备注
    101PictorialBarChart98¥象形柱图
    102FunnelChart98¥漏斗图
    103PyramidChart98¥3D金字塔
    104TreemapChart98¥树形矩图
    201Bar3DChart198¥3D柱图
    202Pie3DChart198¥3D饼图
    203GanttChart198¥甘特图
    204GaugeChart198¥仪表盘
    205LiquidChart198¥水位图

    备注说明

    1. 付费定制 是指用户可根据自己的需求定制不同的图表或新功能,只有VIP用户才享有付费定制权利。
    2. 付费加急 是指用户可对自己非常紧急的需求进行付费,将开发优先级提到最高,并可要求在指定截止日期内交付,只有VIP用户才享有付费加急权利。
    3. 付费咨询 付费咨询有效期7天,且总咨询时长不超过7个小时。
    4. 扩展图表 购买后代码可永久持有和商用,1年的更新和技术支持。

    捐助支持

    如果这个项目对您有帮助,请右上方点 Star 予以支持!也欢迎任意金额的捐助,非常感谢您的支持!

    二维码

    如果看不到二维码图片,可以加QQXCharts技术支持:3525422251或邮件monitor1394@gmail.com咨询。

    alipay-qrcode wechat-qrcode

    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/treemap/index.html b/docs/v3.6.0/treemap/index.html index 29685072..1851e7f4 100644 --- a/docs/v3.6.0/treemap/index.html +++ b/docs/v3.6.0/treemap/index.html @@ -14,14 +14,14 @@ TreemapChart 矩形树图 | XCharts - - + +
    Version: v3.6.0

    TreemapChart 矩形树图

    XCharts付费扩展图表 - 矩形树图。

    treemap

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    TreemapChart

    Inherits or Implemented: BaseChart

    配置项手册

    Treemap

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    leafDepth0默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。
    visualDimension0用于计算占比的数据维数。
    drillDownIcon当节点可以下钻时的提示符,只能是字符。默认为▶
    customGoUpLevelButton自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。
    upperLabel父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。
    levelStyle
    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/tutorial01/index.html b/docs/v3.6.0/tutorial01/index.html index e76329dd..8ae54d8d 100644 --- a/docs/v3.6.0/tutorial01/index.html +++ b/docs/v3.6.0/tutorial01/index.html @@ -14,8 +14,8 @@ 入门教程:5分钟上手 XCharts 3.0 | XCharts - - + +
    @@ -23,7 +23,7 @@ linechart2

    添加其他组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件按需额外添加。比如,需要给折线图区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent linechart3

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加Component。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent linechart4

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个至几十个不等的可配置参数,以支持各种灵活而复杂的功能。

    首次使用XCharts,可在 Inspector 视图添加各种图表,给图表添加或调整里面组件,Game 视图会实时反馈调整后的效果,以熟悉各种组件的使用。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是配置和数据来驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不需要去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时还原回来。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    通常颜色值为0000时表示用主题默认颜色,配置为0或null时表示用主题默认配置。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.EnsureChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.EnsureChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.EnsureChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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;

    清空默认数据,添加Line类型的Serie用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    用代码改图表参数

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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;

    改Serie的参数

    对于新添加的Serie:

    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:

    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添加额外组件:

    serie.EnsureComponent<AreaStyle>();

    var label = serie1.EnsureComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/tutorial02/index.html b/docs/v3.6.0/tutorial02/index.html index 9e3cb702..25a2859e 100644 --- a/docs/v3.6.0/tutorial02/index.html +++ b/docs/v3.6.0/tutorial02/index.html @@ -14,13 +14,13 @@ 从文件或数据库读取数据显示图表 | XCharts - - + +
    Version: v3.6.0

    从文件或数据库读取数据显示图表

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.6.0/tutorial03/index.html b/docs/v3.6.0/tutorial03/index.html index 2894d4db..f6cb7b8c 100644 --- a/docs/v3.6.0/tutorial03/index.html +++ b/docs/v3.6.0/tutorial03/index.html @@ -14,13 +14,13 @@ 心电图效果实现 | XCharts - - + + - - + + \ No newline at end of file diff --git a/docs/v3.6.0/ui/index.html b/docs/v3.6.0/ui/index.html index 2878f538..75a7f31f 100644 --- a/docs/v3.6.0/ui/index.html +++ b/docs/v3.6.0/ui/index.html @@ -14,13 +14,13 @@ 扩展UI组件 | XCharts - - + +
    Version: v3.6.0

    扩展UI组件

    XCharts的扩展UI组件,VIP订阅用户专有。

    组件列表

    如何使用

    • 使用该仓库前先确保项目里已有对应版本的XCharts。
    • 下载本仓库放入Assets下或者通过Package Manager导入。

    更新日志

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 增加UIStatistic
    • (2023.02.14) 增加UITable
    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/about/index.html b/docs/v3.7.0/about/index.html index b48436eb..b525d4b8 100644 --- a/docs/v3.7.0/about/index.html +++ b/docs/v3.7.0/about/index.html @@ -14,8 +14,8 @@ 关于XCharts | XCharts - - + +
    @@ -31,7 +31,7 @@ 答:目前只支持在Unity平台使用。理论上任何支持UGUIUnity版本都能运行XCharts

  • 锯齿怎么解决?支持多大量级的数据?
    答:XCharts是基于UGUI实现的,所以UGUI中碰到的问题,在XCharts中也会存在。比如锯齿问题,比如Mesh顶点数超65535的问题。这两个问题的解决可参考问答16问答27
    由于Mesh65535顶点数的限制,目前XCharts的单条Line支持约2万的数据量,当然开启采样可以支持更多数据的绘制,但同时也会更消耗CPU。

  • Licenses

    • MIT License
    • 可免费商用,可二次开发
    • 扩展图表需单独购买授权

    日志

    其他

    • 邮箱:monitor1394@gmail.com
    • QQ群:XCharts交流群(202030963
    • VIP群:XCharts技术支持VIP群(867291970
    • 捐助、合作、订阅和技术支持:☞ 看这里
    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/api/index.html b/docs/v3.7.0/api/index.html index eff88dac..cec88db6 100644 --- a/docs/v3.7.0/api/index.html +++ b/docs/v3.7.0/api/index.html @@ -14,8 +14,8 @@ API手册 | XCharts - - + +
    @@ -30,7 +30,7 @@ UGUI 图形库

    public methodsincedescription
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
    Draw a diamond. 画菱形(钻石形状)
    DrawEllipse()public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)
    DrawLine()public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color)
    Draw a line. 画直线
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
    Draw a line. 画直线
    DrawPolygon()public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
    填充任意多边形(目前只支持凸多边形)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Vector3 p1, Vector3 p2, float radius, Color32 color)
    Draw a rectangle. 画带长方形
    DrawSquare()public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
    Draw a square. 画正方形
    DrawSvgPath()public static void DrawSvgPath(VertexHelper vh, string path)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)

    UGLExample

    XUGL.UGLExample : MaskableGraphic

    UGLHelper

    XUGL.UGLHelper

    public methodsincedescription
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBezier()public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)
    GetBezier2()public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)
    GetBezierList()public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref List<Vector3> intersection)
    获得两直线的交点
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref Vector3 intersection)
    获得两直线的交点
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector3> polyons)
    IsPointInTriangle()public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)

    UIComponent

    XCharts.Runtime.UIComponent : BaseGraph UI组件基类。

    public methodsincedescription
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。

    UIHelper

    XCharts.Runtime.UIHelper UI帮助类。

    public methodsincedescription
    GetBackgroundColor()public static Color32 GetBackgroundColor(UIComponent component)

    VisualMapContext

    XCharts.Runtime.VisualMapContext : MainComponentContext

    VisualMapHelper

    XCharts.Runtime.VisualMapHelper

    public methodsincedescription
    AutoSetLineMinMax()public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
    GetDimension()public static int GetDimension(VisualMap visualMap, int defaultDimension)
    IsNeedAreaGradient()public static bool IsNeedAreaGradient(VisualMap visualMap)
    IsNeedGradient()public static bool IsNeedGradient(VisualMap visualMap)
    IsNeedLineGradient()public static bool IsNeedLineGradient(VisualMap visualMap)
    SetMinMax()public static void SetMinMax(VisualMap visualMap, double min, double max)

    XChartsMgr

    XCharts.Runtime.XChartsMgr

    public methodsincedescription
    AddChart()public static void AddChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(string chartName)
    GetChart()public static BaseChart GetChart(string chartName)
    GetCharts()public static List<BaseChart> GetCharts(string chartName)
    GetPackageFullPath()public static string GetPackageFullPath()
    GetRepeatChartNameInfo()public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
    IsRepeatChartName()public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
    RemoveAllChartObject()public static void RemoveAllChartObject()
    RemoveChart()public static void RemoveChart(string chartName)

    XCResourceImporterWindow

    XCharts.Runtime.XCResourceImporterWindow : UnityEditor.EditorWindow

    public methodsincedescription
    ShowPackageImporterWindow()public static void ShowPackageImporterWindow()

    XCThemeMgr

    XCharts.Runtime.XCThemeMgr

    public methodsincedescription
    AddTheme()public static void AddTheme(Theme theme)
    CheckReloadTheme()public static void CheckReloadTheme()
    ContainsTheme()public static bool ContainsTheme(string themeName)
    ExportTheme()public static bool ExportTheme(Theme theme)
    ExportTheme()public static bool ExportTheme(Theme theme, string themeNewName)
    GetAllThemeNames()public static List<string> GetAllThemeNames()
    GetTheme()public static Theme GetTheme(string themeName)
    GetTheme()public static Theme GetTheme(ThemeType type)
    GetThemeAssetPath()public static string GetThemeAssetPath(string themeName)
    GetThemeList()public static List<Theme> GetThemeList()
    LoadTheme()public static Theme LoadTheme(string themeName)
    LoadTheme()public static Theme LoadTheme(ThemeType type)
    ReloadThemeList()public static void ReloadThemeList()
    重新加载主题列表
    SwitchTheme()public static void SwitchTheme(BaseChart chart, string themeName)
    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/bar3d/index.html b/docs/v3.7.0/bar3d/index.html index ea69239a..97e115c9 100644 --- a/docs/v3.7.0/bar3d/index.html +++ b/docs/v3.7.0/bar3d/index.html @@ -14,14 +14,14 @@ Bar3DChart 3D柱图 | XCharts - - + +
    Version: v3.7.0

    Bar3DChart 3D柱图

    XCharts的付费扩展图表 - 3D柱图。

    bar3d

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0
    • (2023.02.14) 增加Bar3DStyletopColorbottomColorsideColor参数支持

    v3.5.0

    • (2022.11.29) 增加SeriebarMaxWidth参数支持
    • (2022.11.27) 增加SerieItemStylebackgroundColor参数支持
    • (2022.11.27) 增加SeriecolorBy的支持
    • (2022.11.27) 更新文档

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    v3.1.0

    • (2022.07.14) 发布v3.1.0版本
    • (2022.07.14) 增加bottomColorRate,cylinderRate参数
    • (2022.07.14) 调整topColorBurnRate改名为topColorRate
    • (2022.07.14) 调整sideColorBurnRate改名为sideColorRate
    • (2022.07.14) 调整dire改名为cubeDire
    • (2022.07.14) 支持Cylinder圆柱和Cube立方柱

    API

    Bar3DChart

    XCharts.Runtime.Bar3Ds.Bar3DChart : BaseChart

    配置项手册

    Bar3D

    XCharts.Runtime.Bar3Ds.Bar3D : Serie, INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    fielddefaultsincecomment
    bar3DTypev3.1.0
    Bar3DType:
    - Cube: 立方柱。
    - Cylinder: 圆柱。
    bar3DStyleBar3DStyle

    Bar3DStyle

    XCharts.Runtime.Bar3Ds.Bar3DStyle : ChildComponent

    fielddefaultsincecomment
    showtrue
    verticalArrangefalse是否垂直排列。
    verticalArrangeDireVector3(-1, 1)垂直排列时的方向。
    verticalArrangeGap0.5f垂直排列时两个柱子间的间隙。
    barOffsetVector3.zero柱子偏移。
    widthRate0.5f方形柱侧边宽度相对正面的比例。
    topColorRate0.8f柱子顶部相对正面的颜色比例。
    bottomColorRate1f柱子底部相对正面的颜色比例。
    sideColorRate0.7f方形柱侧边相对正面的颜色比例。
    cubeDireVector3(1, 1)方形柱形成3D效果的方向。
    cylinderRate0.5fv3.1.0圆柱的顶部椭圆比列。
    topColorv3.6.0
    bottomColorv3.6.0
    sideColorv3.6.0
    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/changelog/index.html b/docs/v3.7.0/changelog/index.html index a5876b23..93d49c11 100644 --- a/docs/v3.7.0/changelog/index.html +++ b/docs/v3.7.0/changelog/index.html @@ -14,8 +14,8 @@ 更新日志 | XCharts - - + +
    @@ -77,7 +77,7 @@ v0.8.0
    v0.5.0
    v0.1.0

    master

    v3.7.0

    版本要点:

    • 增加HelpDoc官网帮助文档跳转
    • 增加LineClip的支持
    • 优化Axis的范围设置
    • 其他优化和修复

    日志详情:

    • (2023.06.08) 发布v3.7.0版本
    • (2023.06.04) 增加HelpDoc帮助文档跳转
    • (2023.05.30) 修复Serie的名字带_线导致Legend无法触发的问题 (#252) (by svr2kos2)
    • (2023.05.10) 增加AxisMinMaxAuto范围类型
    • (2023.05.10) 增加LineClip的支持
    • (2023.05.04) 优化Axis在-1到1范围时设置CeilRate不生效的问题
    • (2023.05.04) 优化AxisMinMax类型范围计算
    • (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) 增加BaseChartTriggerTooltip()接口尝试触发ToolTip
    • (2023.04.12) 优化RadarCood设置startAngle时文本也跟随调整位置
    • (2023.04.12) 增加Radar对通配符{b}的支持
    • (2023.04.11) 修复Inspector在动态添加组件时可能异常的问题

    v3.6.0

    版本要点:

    • 增加InputSystem支持 (by Bian-Sh)
    • 增加官网在线示例多版本支持 (by SHL-COOL)
    • 完善对VR的支持 (by Ambitroc)
    • 增加UITableUIStatistic扩展UI组件
    • 增加ItemStyleMarkColor
    • 增加通配符{h}的支持
    • 优化TooltipLegendDataZoomAxis等组件
    • 重构相关API接口,完善回调接口
    • 修复若干问题

    升级注意:

    • 部分接口有调整,可根据提示更换下接口即可。

    日志详情:

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.14) 修复TooltiptitleFormater设置{b}可能不生效的问题
    • (2023.03.14) 修复BarChart在数据为0时不绘制柱条背景的问题 (#250) (by Ambitroc)
    • (2023.03.12) 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转
    • (2023.03.10) 增加VR等其他非鼠标输入方式的Point位置获取 (#248) (by Ambitroc)
    • (2023.03.09) 增加ChartonSerieClickonSerieDownonSerieEnteronSerieExit回调
    • (2023.03.09) 修复Pie的点击选中偏移不生效的问题
    • (2023.03.04) 增加LegendPositions可自定义图例的位置
    • (2023.03.03) 修复Animation变更动画可能无效的问题
    • (2023.02.28) 修复Legend点击时SerieLabel不刷新的问题
    • (2023.02.26) 增加DataZoomstartEndFunction委托
    • (2023.02.12) 重构Component相关代码,调整API接口
    • (2023.02.10) 修复AxisLog轴时某些情况下最小值不正确的问题
    • (2023.02.10) 优化Axis的数值Label的默认显示格式
    • (2023.02.08) 增加DataZoomstartLockendLock参数支持锁定
    • (2023.02.02) 修复DataZoom开启时X轴Label可能会显示在图表外的问题
    • (2023.02.02) 优化SerieDataignore设置时的忽略数据判断
    • (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) 删除SerieMarkColor,增加ItemStyleMarkColor
    • (2022.12.29) 增加EditorList+添加编辑功能
    • (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) 修复AxisValue轴在某些情况下计算数值范围不准确的问题
    • (2022.12.12) 优化Legendformatter支持{h}通配符
    • (2022.12.12) 修复Legendformatter设置为固定值时显示不正常的问题
    • (2022.12.08) 增加AreaStyletoTop参数可设置折线图渐变色是到顶部还是到实际位置
    • (2022.12.07) 增加Formatter的文本通配符{h}支持设置当前颜色值

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Convert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/configuration/index.html b/docs/v3.7.0/configuration/index.html index 4f53a374..b5c72434 100644 --- a/docs/v3.7.0/configuration/index.html +++ b/docs/v3.7.0/configuration/index.html @@ -14,13 +14,13 @@ 配置项手册 | XCharts - - + +
    Version: v3.7.0

    配置项手册

    Serie 系列

    Theme 主题

    MainComponent 主组件

    ChildComponent 子组件

    ISerieComponent 可添加到Serie的组件

    ISerieDataComponent 可添加到SerieData的组件

    Other 其他

    AngleAxis

    XCharts.Runtime.AngleAxis : Axis

    极坐标系的角度轴。

    fielddefaultsincecomment
    startAngle0起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    XCharts.Runtime.AngleAxisTheme : BaseAxisTheme

    AnimationStyle

    XCharts.Runtime.AnimationStyle : ChildComponent

    动画表现。

    fielddefaultsincecomment
    enabletrue是否开启动画效果。
    type动画类型。
    AnimationType:
    - Default: 默认。内部会根据实际情况选择一种动画播放方式。
    - LeftToRight: 从左往右播放动画。
    - BottomToTop: 从下往上播放动画。
    - InsideOut: 由内到外播放动画。
    - AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    - Clockwise: 顺时针播放动画。
    easting动画的缓动效果。
    AnimationEasing:
    - Linear:
    threshold2000是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
    fadeInDuration1000设定的渐入动画时长(毫秒)。如果要设置单个数据项的渐入时长,可以用代码定制:customFadeInDuration。
    fadeInDelay0渐入动画延时(毫秒)。如果要设置单个数据项的延时,可以用代码定制:customFadeInDelay。
    fadeOutDuration1000f设定的渐出动画时长(毫秒)。如果要设置单个数据项的渐出时长,可以用代码定制:customFadeOutDuration。
    fadeOutDelay0渐出动画延时(毫秒)。如果要设置单个数据项的延时,可以用代码定制:customFadeOutDelay。
    dataChangeEnabletrue是否开启数据变更动画。
    dataChangeDuration500数据变更的动画时长(毫秒)。
    actualDuration实际的动画时长(毫秒)。
    unscaledTimev3.4.0动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AreaStyle

    XCharts.Runtime.AreaStyle : ChildComponent, ISerieComponent, ISerieDataComponent

    区域填充样式。

    fielddefaultsincecomment
    showtrue是否显示区域填充。
    origin区域填充的起始位置。
    AreaStyle.AreaOrigin:
    - Auto: 填充坐标轴轴线到数据间的区域。
    - Start: 填充坐标轴底部到数据间的区域。
    - End: 填充坐标轴顶部到数据间的区域。
    color区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。
    toColor渐变色的终点颜色。
    opacity0.6f图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    innerFillv3.2.0是否只填充多边形区域。目前只支持凸多边形。
    toToptruev3.6.0渐变色是到顶部还是到实际位置。默认为true到顶部。

    ArrowStyle

    XCharts.Runtime.ArrowStyle : ChildComponent

    fielddefaultsincecomment
    width10箭头宽。
    height15箭头高。
    offset0箭头偏移。
    dent3箭头的凹度。
    colorColor.clear箭头颜色。

    Axis

    XCharts.Runtime.Axis : MainComponent / Subclasses: AngleAxis, ParallelAxis, RadiusAxis, SingleAxis, XAxis, YAxis

    直角坐标系的坐标轴组件。

    fielddefaultsincecomment
    showtrue是否显示坐标轴。
    type坐标轴类型。
    Axis.AxisType:
    - Value: 数值轴。适用于连续数据。
    - Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    - Log: 对数轴。适用于对数数据。
    - Time: 时间轴。适用于连续的时序数据。
    minMaxType坐标轴刻度最大最小值显示类型。
    Axis.AxisMinMaxType:
    - Default: 0-最大值。
    - MinMax: 最小值-最大值。
    - Custom: 自定义最小值最大值。
    - MinMaxAuto: [since("v3.7.0")]最小值-最大值。自动计算合适的值。
    gridIndex坐标轴所在的 grid 的索引,默认位于第一个 grid。
    polarIndex坐标轴所在的 ploar 的索引,默认位于第一个 polar。
    parallelIndex坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
    position坐标轴在Grid中的位置。
    Axis.AxisPosition:
    - Left: 坐标轴在Grid中的位置
    - Right: 坐标轴在Grid中的位置
    - Bottom: 坐标轴在Grid中的位置
    - Top: 坐标轴在Grid中的位置
    offset坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
    min设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
    max设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
    splitNumber0坐标轴的期望的分割段数。默认为0表示自动分割。
    interval0强制设置坐标轴分割间隔。无法在类目轴中使用。
    boundaryGaptrue坐标轴两边是否留白。只对类目轴有效。
    maxCache0The first data will be remove when the size of axis data is larger then maxCache.
    logBase10对数轴的底数,只在对数轴(type:'Log')中有效。
    logBaseEfalse对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    inversefalse是否反向坐标轴。在类目轴中无效。
    clockwisetrue刻度增长是否按顺时针,默认顺时针。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    icons类目数据对应的图标。
    data类目数据,在类目轴(type: 'category')中有效。
    axisLine坐标轴轴线。 AxisLine
    axisName坐标轴名称。 AxisName
    axisTick坐标轴刻度。 AxisTick
    axisLabel坐标轴刻度标签。 AxisLabel
    splitLine坐标轴分割线。 AxisSplitLine
    splitArea坐标轴分割区域。 AxisSplitArea
    minorTickv3.2.0坐标轴次刻度。 AxisMinorTick
    minorSplitLinev3.2.0坐标轴次分割线。 AxisMinorSplitLine
    indicatorLabelv3.4.0指示器文本的样式。Tooltip为Cross时使用。 LabelStyle

    AxisLabel

    XCharts.Runtime.AxisLabel : LabelStyle

    坐标轴刻度标签的相关设置。

    fielddefaultsincecomment
    interval0坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    insidefalse刻度标签是否朝内,默认朝外。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。
    onZerofalse刻度标签显示在0刻度上。
    showStartLabeltrue是否显示第一个文本。
    showEndLabeltrue是否显示最后一个文本。
    textLimit文本限制。 TextLimit

    AxisLine

    XCharts.Runtime.AxisLine : BaseLine

    坐标轴轴线。

    fielddefaultsincecomment
    onZeroX 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。
    showArrow是否显示箭头。
    arrow轴线箭头。 ArrowStyle

    AxisMinorSplitLine

    XCharts.Runtime.AxisMinorSplitLine : BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    fielddefaultsincecomment
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。

    AxisMinorTick

    XCharts.Runtime.AxisMinorTick : BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    fielddefaultsincecomment
    splitNumber5分隔线之间分割的刻度数。
    autoColor

    AxisName

    XCharts.Runtime.AxisName : ChildComponent

    坐标轴名称。

    fielddefaultsincecomment
    show是否显示坐标轴名称。
    name坐标轴名称。
    onZerov3.1.0坐标轴名称的位置是否保持和Y轴0刻度一致。
    labelStyle文本样式。 LabelStyle

    AxisSplitArea

    XCharts.Runtime.AxisSplitArea : ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    fielddefaultsincecomment
    show是否显示分隔区域。
    color分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitLine

    XCharts.Runtime.AxisSplitLine : BaseLine

    坐标轴在 grid 区域中的分隔线。

    fielddefaultsincecomment
    interval坐标轴分隔线的显示间隔。
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。
    showStartLinetruev3.3.0是否显示第一条分割线。
    showEndLinetruev3.3.0是否显示最后一条分割线。

    AxisTheme

    XCharts.Runtime.AxisTheme : BaseAxisTheme

    AxisTick

    XCharts.Runtime.AxisTick : BaseLine

    坐标轴刻度相关设置。

    fielddefaultsincecomment
    alignWithLabel类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。
    inside坐标轴刻度是否朝内,默认朝外。
    showStartTick是否显示第一个刻度。
    showEndTick是否显示最后一个刻度。
    distance刻度线与轴线的距离。
    splitNumber0分隔线之间分割的刻度数。
    autoColor

    Background

    XCharts.Runtime.Background : MainComponent

    背景组件。

    fielddefaultsincecomment
    showtrue是否启用背景组件。
    image背景图。
    imageType背景图填充类型。
    imageColor背景图颜色。
    autoColortrue当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。

    Bar

    XCharts.Runtime.Bar : Serie, INeedSerieContainer

    BaseAxisTheme

    XCharts.Runtime.BaseAxisTheme : ComponentTheme / Subclasses: AxisTheme, RadiusAxisTheme, AngleAxisTheme, PolarAxisTheme, RadarAxisTheme

    fielddefaultsincecomment
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f坐标轴线宽。
    lineLength0f坐标轴线长。
    lineColor坐标轴线颜色。
    splitLineType分割线线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    splitLineWidth1f分割线线宽。
    splitLineLength0f分割线线长。
    splitLineColor分割线线颜色。
    minorSplitLineColor次分割线线颜色。
    tickWidth1f刻度线线宽。
    tickLength5f刻度线线长。
    tickColor坐标轴线颜色。
    splitAreaColors坐标轴分隔区域的颜色。

    BaseLine

    XCharts.Runtime.BaseLine : ChildComponent / Subclasses: AxisLine, AxisMinorSplitLine, AxisMinorTick, AxisSplitLine, AxisTick

    线条基础配置。

    fielddefaultsincecomment
    show是否显示坐标轴轴线。
    lineStyle线条样式 LineStyle

    BaseScatter

    XCharts.Runtime.BaseScatter : Serie, INeedSerieContainer / Subclasses: EffectScatter, Scatter

    BaseSerie

    XCharts.Runtime.BaseSerie / Subclasses: Serie

    BlurStyle

    XCharts.Runtime.BlurStyle : StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    CalendarCoord

    XCharts.Runtime.CalendarCoord : CoordSystem, IUpdateRuntimeData, ISerieContainer

    Candlestick

    XCharts.Runtime.Candlestick : Serie, INeedSerieContainer

    ChartText

    XCharts.Runtime.ChartText

    ChildComponent

    XCharts.Runtime.ChildComponent / Subclasses: AnimationStyle, AxisName, AxisSplitArea, AreaStyle, ArrowStyle, BaseLine, IconStyle, ImageStyle, ItemStyle, Level, LevelStyle, LineArrow, LineStyle, Location, MarqueeStyle, Padding, StageColor, SymbolStyle, TextLimit, TextStyle, CommentItem, CommentMarkStyle, LabelLine, LabelStyle, MarkAreaData, MarkLineData, StateStyle, VisualMapRange, UIComponentTheme, SerieData, ComponentTheme, SerieTheme, ThemeStyle

    Comment

    XCharts.Runtime.Comment : MainComponent, IPropertyChanged

    图表注解组件。

    fielddefaultsincecomment
    showtrue是否显示注解组件。
    labelStyle所有组件的文本样式。 LabelStyle
    markStyle所有组件的文本样式。 CommentMarkStyle
    items注解项。每个注解组件可以设置多个注解项。

    CommentItem

    XCharts.Runtime.CommentItem : ChildComponent

    注解项。

    fielddefaultsincecomment
    showtrue是否显示当前注解项。
    content注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。
    markRect注解区域。
    markStyle注解标记区域样式。 CommentMarkStyle
    labelStyle注解项的文本样式。 LabelStyle
    locationv3.5.0Comment显示的位置。 Location

    CommentMarkStyle

    XCharts.Runtime.CommentMarkStyle : ChildComponent

    注解项区域样式。

    fielddefaultsincecomment
    showtrue是否显示当前注解项。
    lineStyle线条样式。 LineStyle

    ComponentTheme

    XCharts.Runtime.ComponentTheme : ChildComponent / Subclasses: BaseAxisTheme, DataZoomTheme, LegendTheme, SubTitleTheme, TitleTheme, TooltipTheme, VisualMapTheme

    fielddefaultsincecomment
    font字体。
    textColor文本颜色。
    textBackgroundColor文本颜色。
    fontSize18文本字体大小。
    tMPFont字体。

    CoordSystem

    XCharts.Runtime.CoordSystem : MainComponent / Subclasses: RadarCoord, CalendarCoord, GridCoord, ParallelCoord, PolarCoord, SingleAxisCoord

    坐标系系统。

    DataZoom

    XCharts.Runtime.DataZoom : MainComponent, IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    fielddefaultsincecomment
    enabletrue是否显示缩放区域。
    filterMode数据过滤类型。
    DataZoom.FilterMode:
    - Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    - WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    - Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    - None: 不过滤数据,只改变数轴范围。
    xAxisIndexs控制的 x 轴索引列表。
    yAxisIndexs控制的 y 轴索引列表。
    supportInside是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
    supportInsideScrolltrue是否支持坐标系内滚动
    supportInsideDragtrue是否支持坐标系内拖拽
    supportSlider是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。
    supportMarquee是否支持框选。提供一个选框进行数据区域缩放。
    showDataShadow是否显示数据阴影。数据阴影可以简单地反应数据走势。
    showDetail是否显示detail,即拖拽时候显示详细数值信息。
    zoomLock是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    borderWidth边框宽。
    backgroundColor组件的背景颜色。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    rangeMode取绝对值还是百分比。
    DataZoom.RangeMode:
    - //Value: The value type of start and end.取值类型
    - Percent: 百分比。
    start数据窗口范围的起始百分比。范围是:0 ~ 100。
    end数据窗口范围的结束百分比。范围是:0 ~ 100。
    minShowNum2最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。
    scrollSensitivity1.1f缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。
    orient布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    labelStyle文本标签格式。 LabelStyle
    lineStyle阴影线条样式。 LineStyle
    areaStyle阴影填充样式。 AreaStyle
    marqueeStylev3.5.0选取框样式。 MarqueeStyle
    startLockv3.6.0固定起始值,不让改变。
    endLockv3.6.0固定结束值,不让改变。

    DataZoomTheme

    XCharts.Runtime.DataZoomTheme : ComponentTheme

    fielddefaultsincecomment
    borderWidth边框线宽。
    dataLineWidth数据阴影线宽。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    dataLineColor数据阴影的线条颜色。
    dataAreaColor数据阴影的填充颜色。
    backgroundColor背景颜色。

    DebugInfo

    XCharts.Runtime.DebugInfo

    fielddefaultsincecomment
    showtrue是否显示Debug组件。
    showDebugInfofalse
    showAllChartObjectfalse是否在Hierarchy试图显示所有chart下的节点。
    foldSeriesfalse是否在Inspector上折叠Serie。
    labelStyleLabelStyle

    EffectScatter

    XCharts.Runtime.EffectScatter : BaseScatter

    EmphasisStyle

    XCharts.Runtime.EmphasisStyle : StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    fielddefaultsincecomment
    scale1.1f高亮时的缩放倍数。
    focus在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。
    EmphasisStyle.FocusType:
    - None: 不淡出其它图形,默认使用该配置。
    - Self: 只聚焦(不淡出)当前高亮的数据的图形。
    - Series: 聚焦当前高亮的数据所在的系列的所有图形。
    blurScope在开启focus的时候,可以通过blurScope配置淡出的范围。
    EmphasisStyle.BlurScope:
    - GridCoord: 淡出范围为坐标系,默认使用该配置。
    - Series: 淡出范围为系列。
    - Global: 淡出范围为全局。

    EndLabelStyle

    XCharts.Runtime.EndLabelStyle : LabelStyle

    GridCoord

    XCharts.Runtime.GridCoord : CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    fielddefaultsincecomment
    showtrue是否显示直角坐标系网格。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。
    showBorderfalse是否显示网格边框。
    borderWidth0f网格边框宽。
    borderColor网格边框颜色。

    Heatmap

    XCharts.Runtime.Heatmap : Serie, INeedSerieContainer

    fielddefaultsincecomment
    heatmapTypev3.3.0热力图类型。通过颜色映射划分。
    HeatmapType:
    - Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    - Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    XCharts.Runtime.IconStyle : ChildComponent

    fielddefaultsincecomment
    showfalse是否显示图标。
    layer显示在上层还是在下层。
    IconStyle.Layer:
    - UnderText: The icon is display under the label text. 图标在标签文字下
    - AboveText: The icon is display above the label text. 图标在标签文字上
    align水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    sprite图标的图片。
    type图片的显示类型。
    color图标颜色。
    width20图标宽。
    height20图标高。
    offset图标偏移。
    autoHideWhenLabelEmptyfalse当label内容为空时是否自动隐藏图标

    ImageStyle

    XCharts.Runtime.ImageStyle : ChildComponent, ISerieComponent, ISerieDataComponent

    fielddefaultsincecomment
    showtrue是否显示图标。
    sprite图标的图片。
    type图片的显示类型。
    autoColor是否自动颜色。
    color图标颜色。
    width0图标宽。
    height0图标高。

    Indicator

    XCharts.Runtime.Indicator

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    fielddefaultsincecomment
    name指示器名称。
    max指示器的最大值,默认为 0 无限制。
    min指示器的最小值,默认为 0 无限制。
    range正常值范围。当数值不在这个范围时,会自动变更显示颜色。
    show是否显示雷达坐标系组件。
    shape雷达图绘制类型,支持 'Polygon' 和 'Circle'。
    radius100雷达图的半径。
    splitNumber5指示器轴的分割段数。
    center雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    axisLine轴线。 AxisLine
    axisName雷达图每个指示器名称的配置项。 AxisName
    splitLine分割线。 AxisSplitLine
    splitArea分割区域。 AxisSplitArea
    indicatortrue是否显示指示器。
    positionType显示位置类型。
    indicatorGap10指示器和雷达的间距。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    isAxisTooltip是否Tooltip显示轴线上的所有数据。
    outRangeColorColor.red数值超出范围时显示的颜色。
    connectCenterfalse数值是否连线到中心点。
    lineGradienttrue数值线段是否需要渐变。
    startAnglev3.4.0起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    indicatorList指示器列表。

    INeedSerieContainer

    XCharts.Runtime.INeedSerieContainer / Subclasses: Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Radar, BaseScatter

    IPropertyChanged

    XCharts.Runtime.IPropertyChanged / Subclasses: Location, Comment, Legend, Title

    属性变更接口

    ISerieComponent

    XCharts.Runtime.ISerieComponent / Subclasses: AreaStyle, ImageStyle, LineArrow, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于Serie的组件。

    ISerieContainer

    XCharts.Runtime.ISerieContainer / Subclasses: RadarCoord, CalendarCoord, GridCoord, ParallelCoord, PolarCoord

    ISerieDataComponent

    XCharts.Runtime.ISerieDataComponent / Subclasses: AreaStyle, ImageStyle, ItemStyle, LineStyle, SerieSymbol, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    XCharts.Runtime.ISimplifiedSerie / Subclasses: SimplifiedBar, SimplifiedCandlestick, SimplifiedLine

    ItemStyle

    XCharts.Runtime.ItemStyle : ChildComponent, ISerieDataComponent

    图形样式。

    fielddefaultsincecomment
    showtrue是否启用。
    color数据项颜色。
    color0数据项颜色。
    toColor渐变色的颜色1。
    toColor2渐变色的颜色2。只在折线图中有效。
    markColorv3.6.0Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。
    backgroundColor数据项背景颜色。
    backgroundWidth数据项背景宽度。
    centerColor中心区域颜色。
    centerGap中心区域间隙。
    borderWidth0边框宽。
    borderGap0边框间隙。
    borderColor边框的颜色。
    borderColor0边框的颜色。
    borderToColor边框的渐变色。
    opacity1透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    itemMarker提示框单项的字符标志。用在Tooltip中。
    itemFormatter提示框单项的字符串模版格式器。具体配置参考Tooltipformatter
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    IUpdateRuntimeData

    XCharts.Runtime.IUpdateRuntimeData / Subclasses: SingleAxis, DataZoom, CalendarCoord, GridCoord, ParallelCoord

    LabelLine

    XCharts.Runtime.LabelLine : ChildComponent, ISerieComponent, ISerieDataComponent

    标签的引导线

    fielddefaultsincecomment
    showtrue是否显示视觉引导线。
    lineType视觉引导线类型。
    LabelLine.LineType:
    - BrokenLine: 折线
    - Curves: 曲线
    - HorizontalLine: 水平线
    lineColorColor32(0,0,0,0)视觉引导线颜色。默认和serie一致取自调色板。
    lineAngle0视觉引导线的固定角度。对折线和曲线有效。
    lineWidth1.0f视觉引导线的宽度。
    lineGap1.0f视觉引导线和容器的间距。
    lineLength125f视觉引导线第一段的长度。
    lineLength215f视觉引导线第二段的长度。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle

    LabelStyle

    XCharts.Runtime.LabelStyle : ChildComponent, ISerieComponent, ISerieDataComponent / Subclasses: AxisLabel, EndLabelStyle, TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    fielddefaultsincecomment
    showtrue是否显示文本标签。
    Position标签的位置。
    autoOffsetfalse是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。
    offset距离图形元素的偏移
    rotate文本的旋转。
    autoRotatefalsev3.6.0是否自动旋转。
    distance距离轴线的距离。
    formatter标签内容字符串模版格式器。支持用 \n 换行。 模板变量有: {.}:圆点标记。 {a}:系列名。 {a}:系列名。 {b}:类目值或数据名。 {c}:数据值。 {d}:百分比。 {e}:数据名。 {f}:数据和。 示例:“{b}:{c}”
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    width0标签的宽度。一般不用指定,不指定时则自动是文字的宽度。
    height0标签的高度。一般不用指定,不指定时则自动是文字的高度。
    icon图标样式。 IconStyle
    background背景图样式。 ImageStyle
    textPadding文本的边距。 TextPadding
    textStyle文本样式。 TextStyle

    Lang

    XCharts.Runtime.Lang : ScriptableObject

    国际化语言表。

    LangCandlestick

    XCharts.Runtime.LangCandlestick

    LangTime

    XCharts.Runtime.LangTime

    Legend

    XCharts.Runtime.Legend : MainComponent, IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    fielddefaultsincecomment
    showtrue是否显示图例组件。
    iconType图例类型。
    Legend.Type:
    - Auto: 自动匹配。
    - Custom: 自定义图标。
    - EmptyCircle: 空心圆。
    - Circle: 圆形。
    - Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    - Triangle: 三角形。
    - Diamond: 菱形。
    - Candlestick: 烛台(可用于K线图)。
    selectedMode选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。
    Legend.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    - None: 无法选择。
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location图例显示的位置。 Location
    itemWidth25.0f图例标记的图形宽度。
    itemHeight12.0f图例标记的图形高度。
    itemGap10f图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
    itemAutoColortrue图例标记的图形是否自动匹配颜色。
    itemOpacity1图例标记的图形的颜色透明度。
    formatter图例内容字符串模版格式器。支持用 \n 换行。 模板变量为图例名称 {value}。其他模板变量参考Toolip的itemFormatter。
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    labelStyle文本样式。 LabelStyle
    data图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。
    icons自定义的图例标记图形。
    colors图例标记的颜色列表。
    backgroundv3.1.0背景图样式。 ImageStyle
    paddingv3.1.0图例标记和背景的间距。 Padding
    positionsv3.6.0图例标记的自定义位置列表。

    LegendTheme

    XCharts.Runtime.LegendTheme : ComponentTheme

    fielddefaultsincecomment
    unableColor文本颜色。

    Level

    XCharts.Runtime.Level : ChildComponent

    fielddefaultsincecomment
    label文本标签样式。 LabelStyle
    upperLabel上方的文本标签样式。 LabelStyle
    itemStyle数据项样式。 ItemStyle

    LevelStyle

    XCharts.Runtime.LevelStyle : ChildComponent

    fielddefaultsincecomment
    showfalse是否启用LevelStyle
    levels各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    Line

    XCharts.Runtime.Line : Serie, INeedSerieContainer

    LineArrow

    XCharts.Runtime.LineArrow : ChildComponent, ISerieComponent

    fielddefaultsincecomment
    show是否显示箭头。
    position箭头位置。
    LineArrow.Position:
    - End: 末端箭头
    - Start: 头端箭头
    arrow箭头。 ArrowStyle

    LineStyle

    XCharts.Runtime.LineStyle : ChildComponent, ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    fielddefaultsincecomment
    showtrue是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。
    type线的类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    color线的颜色。
    toColor线的渐变颜色(需要水平方向渐变时)。
    toColor2线的渐变颜色2(需要水平方向三个渐变色的渐变时)。
    width0线宽。
    length0线长。
    opacity1线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。

    Location

    XCharts.Runtime.Location : ChildComponent, IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    fielddefaultsincecomment
    align对齐方式。
    Location.Align:
    - TopLeft: 对齐方式
    - TopRight: 对齐方式
    - TopCenter: 对齐方式
    - BottomLeft: 对齐方式
    - BottomRight: 对齐方式
    - BottomCenter: 对齐方式
    - Center: 对齐方式
    - CenterLeft: 对齐方式
    - CenterRight: 对齐方式
    left离容器左侧的距离。
    right离容器右侧的距离。
    top离容器上侧的距离。
    bottom离容器下侧的距离。

    MainComponent

    XCharts.Runtime.MainComponent : IComparable / Subclasses: Axis, Background, Comment, DataZoom, Legend, MarkArea, MarkLine, Settings, Title, Tooltip, VisualMap, CoordSystem

    MarkArea

    XCharts.Runtime.MarkArea : MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    fielddefaultsincecomment
    showtrue是否显示标域。
    textThe text of markArea. 标域显示的文本。
    serieIndex0Serie index of markArea. 标域影响的Serie索引。
    start标域范围的起始数据。 MarkAreaData
    end标域范围的结束数据。 MarkAreaData
    itemStyle标域样式。 ItemStyle
    label标域文本样式。 LabelStyle

    MarkAreaData

    XCharts.Runtime.MarkAreaData : ChildComponent

    标域的数据。

    fielddefaultsincecomment
    type特殊的标域类型,用于标注最大值最小值等。
    MarkAreaType:
    - None: 标域类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标注名称。会作为文字显示。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    XCharts.Runtime.MarkLine : MainComponent

    图表标线。

    fielddefaultsincecomment
    showtrue是否显示标线。
    serieIndex0标线影响的Serie索引。
    animation标线的动画样式。 AnimationStyle
    data标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLineData

    XCharts.Runtime.MarkLineData : ChildComponent

    图表标线的数据。

    fielddefaultsincecomment
    type特殊的标线类型,用于标注最大值最小值等。
    MarkLineType:
    - None: 标线类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    group0分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。
    zeroPositionfalse是否为坐标系原点。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle
    lineStyle标线样式。 LineStyle
    label文本样式。可设置position为Start、Middle和End在不同的位置显示文本。 LabelStyle

    MarqueeStyle

    XCharts.Runtime.MarqueeStyle : ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    fielddefaultsincecomment
    applyfalsev3.5.0选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。
    realRectfalsev3.5.0是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。
    areaStylev3.5.0选取框区域填充样式。 AreaStyle
    lineStylev3.5.0选取框区域边框样式。 LineStyle

    Padding

    XCharts.Runtime.Padding : ChildComponent / Subclasses: TextPadding

    边距设置。

    fielddefaultsincecomment
    showtrueshow padding. 是否显示。
    top0顶部间距。
    right2f右部间距。
    left2f左边间距。
    bottom0底部间距。

    Parallel

    XCharts.Runtime.Parallel : Serie, INeedSerieContainer

    ParallelAxis

    XCharts.Runtime.ParallelAxis : Axis

    ParallelCoord

    XCharts.Runtime.ParallelCoord : CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    fielddefaultsincecomment
    showtrue是否显示直角坐标系网格。
    orient坐标轴朝向。默认为垂直朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。

    Pie

    XCharts.Runtime.Pie : Serie

    PolarAxisTheme

    XCharts.Runtime.PolarAxisTheme : BaseAxisTheme

    PolarCoord

    XCharts.Runtime.PolarCoord : CoordSystem, ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    fielddefaultsincecomment
    showtrue是否显示极坐标。
    center极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    backgroundColor极坐标的背景色,默认透明。

    Radar

    XCharts.Runtime.Radar : Serie, INeedSerieContainer

    fielddefaultsincecomment
    smoothfalsev3.2.0是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    XCharts.Runtime.RadarAxisTheme : BaseAxisTheme

    RadarCoord

    XCharts.Runtime.RadarCoord : CoordSystem, ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    XCharts.Runtime.RadiusAxis : Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    XCharts.Runtime.RadiusAxisTheme : BaseAxisTheme

    Ring

    XCharts.Runtime.Ring : Serie

    Scatter

    XCharts.Runtime.Scatter : BaseScatter

    SelectStyle

    XCharts.Runtime.SelectStyle : StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    XCharts.Runtime.Serie : BaseSerie, IComparable / Subclasses: SerieHandler<T>, Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Pie, Radar, Ring, BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    fielddefaultsincecomment
    index系列索引。
    showtrue系列是否显示在图表上。
    coordSystem使用的坐标系。
    serieType系列类型。
    serieName系列名称,用于 tooltip 的显示,legend 的图例筛选。
    statev3.2.0系列的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    colorByv3.2.0从主题中取色的策略。
    SerieColorBy:
    - Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略。
    - Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    - Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。
    stack数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。
    xAxisIndex0使用X轴的index。
    yAxisIndex0使用Y轴的index。
    radarIndex0雷达图所使用的 radar 组件的 index。
    vesselIndex0水位图所使用的 vessel 组件的 index。
    polarIndex0所使用的 polar 组件的 index。
    singleAxisIndex0所使用的 singleAxis 组件的 index。
    parallelIndex0所使用的 parallel coord 组件的 index。
    minShow系列所显示数据的最小索引
    maxShow系列所显示数据的最大索引
    maxCache系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。
    sampleDist0采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。
    sampleType采样类型。当sampleDist大于0时有效。
    SampleType:
    - Peak: 取峰值。
    - Average: 取过滤点的平均值。
    - Max: 取过滤点的最大值。
    - Min: 取过滤点的最小值。
    - Sum: 取过滤点的和。
    sampleAverage0设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。
    lineType折线图样式类型。
    LineType:
    - Normal: 普通折线图。
    - Smooth: 平滑曲线。
    - StepStart: 阶梯线图:当前点。
    - StepMiddle: 阶梯线图:当前点和下一个点的中间。
    - StepEnd: 阶梯线图:下一个拐点。
    smoothLimitfalsev3.4.0是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。
    barType柱形图类型。
    BarType:
    - Normal: 普通柱形图。
    - Zebra: 斑马柱形图。
    - Capsule: 胶囊柱形图。
    barPercentStackfalse柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。
    barWidth0柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。
    barMaxWidth0v3.5.0柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。
    barGap0.1f不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。
    barZebraWidth4f斑马线的粗细。
    barZebraGap2f斑马线的间距。
    min最小值。
    max最大值。
    minSize0f数据最小值 min 映射的宽度。
    maxSize1f数据最大值 max 映射的宽度。
    startAngle起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    endAngle结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    minAngle最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。
    clockwisetrue是否顺时针。
    roundCap是否开启圆弧效果。
    splitNumber刻度分割段数。最大可设置36。
    clickOffsettrue鼠标点击时是否开启偏移,一般用在PieChart图表中。
    roseType是否展示成南丁格尔图,通过半径区分数据大小。
    RoseType:
    - None: 不展示成南丁格尔玫瑰图。
    - Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    - Area: 所有扇区圆心角相同,仅通过半径展现数据大小。
    gap间距。
    center中心点。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    showDataDimension数据项里的数据维数。
    showDataName在Editor的inpsector上是否显示name参数
    clipfalse是否裁剪超出坐标系部分的图形。
    ignorefalse是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。
    ignoreValue0忽略数据的默认值。当ignore为true才有效。
    ignoreLineBreakfalse忽略数据时折线是断开还是连接。默认false为连接。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。
    largetrue是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。
    largeThreshold200开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。
    avoidLabelOverlapfalse在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。
    radarType雷达图类型。
    RadarType:
    - Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    - Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]
    placeHolderfalse占位模式。占位模式时,数据有效但不参与渲染和显示。
    dataSortType组件的数据排序。
    SerieDataSortType:
    - None: 按数据的顺序。
    - Ascending: 升序。
    - Descending: 降序。
    orient组件的朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    align组件水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    lineStyle线条样式。 LineStyle
    symbol标记的图形。 SerieSymbol
    animation起始动画。 AnimationStyle
    itemStyle图形样式。 ItemStyle
    data系列中的数据内容数组。SerieData可以设置1到n维数据。

    SerieData

    XCharts.Runtime.SerieData : ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    fielddefaultsincecomment
    index数据项索引。
    name数据项名称。
    id数据项的唯一id。唯一id不是必须设置的。
    parentId父节点id。父节点id不是必须设置的。
    ignore是否忽略数据。当为 true 时,数据不进行绘制。
    selected该数据项是否被选中。
    radius自定义半径。可用在饼图中自定义某个数据项的半径。
    statev3.2.0数据项的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    data可指定任意维数的数值列表。

    SerieSymbol

    XCharts.Runtime.SerieSymbol : SymbolStyle, ISerieDataComponent

    系列数据项的标记的图形

    fielddefaultsincecomment
    sizeType标记图形的大小获取方式。
    SymbolSizeType:
    - Custom: 自定义大小。
    - FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    - Function: 通过委托函数获取。
    dataIndex1当sizeType指定为FromData时,指定的数据源索引。
    dataScale1当sizeType指定为FromData时,指定的倍数系数。
    sizeFunction当sizeType指定为Function时,指定的委托函数。
    startIndex开始显示图形标记的索引。
    interval显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    forceShowLastfalse是否强制显示最后一个图形标记。
    repeatfalse图形是否重复。
    minSize0fv3.3.0图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。
    maxSize0fv3.3.0图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieTheme

    XCharts.Runtime.SerieTheme : ChildComponent

    fielddefaultsincecomment
    lineWidth文本颜色。
    lineSymbolSize折线图的Symbol大小。
    scatterSymbolSize散点图的Symbol大小。
    pieTooltipExtraRadius饼图鼠标移到高亮时的额外半径
    selectedRate1.3f折线图或散点图在被选中时的放大倍数。
    pieSelectedOffset饼图选中时的中心点偏移。
    candlestickColorColor32(235, 84, 84, 255)K线图阳线(涨)填充色
    candlestickColor0Color32(71, 178, 98, 255)K线图阴线(跌)填充色
    candlestickBorderWidth1K线图边框宽度
    candlestickBorderColorColor32(235, 84, 84, 255)K线图阳线(跌)边框色
    candlestickBorderColor0Color32(71, 178, 98, 255)K线图阴线(跌)边框色

    Settings

    XCharts.Runtime.Settings : MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    fielddefaultsincecomment
    showtrue
    maxPainter10设定的painter数量。
    reversePainterfalsePainter是否逆序。逆序时index大的serie最先绘制。
    basePainterMaterialBase Pointer 材质球,设置后会影响Axis等。
    seriePainterMaterialSerie Pointer 材质球,设置后会影响所有Serie。
    upperPainterMaterialUpper Pointer 材质球。
    topPainterMaterialTop Pointer 材质球。
    lineSmoothStyle2.5f曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。
    lineSmoothness2fWhen the area with gradient is filled, the larger the value, the worse the transition effect.
    lineSegmentDistance3f线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。
    cicleSmoothness2f圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。
    legendIconLineWidth2Line类型图例图标的线条宽度。
    legendIconCornerRadius图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    axisMaxSplitNumber50v3.1.0坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    SimplifiedBar

    XCharts.Runtime.SimplifiedBar : Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedCandlestick

    XCharts.Runtime.SimplifiedCandlestick : Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedLine

    XCharts.Runtime.SimplifiedLine : Serie, INeedSerieContainer, ISimplifiedSerie

    SingleAxis

    XCharts.Runtime.SingleAxis : Axis, IUpdateRuntimeData

    单轴。

    fielddefaultsincecomment
    orient坐标轴朝向。默认为水平朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1f组件离容器左侧的距离。
    right0.1f组件离容器右侧的距离。
    top0f组件离容器上侧的距离。
    bottom0.2f组件离容器下侧的距离。
    width0坐标轴宽。
    height50坐标轴高。

    SingleAxisCoord

    XCharts.Runtime.SingleAxisCoord : CoordSystem

    StageColor

    XCharts.Runtime.StageColor : ChildComponent

    fielddefaultsincecomment
    percent结束位置百分比。
    color颜色。

    StateStyle

    XCharts.Runtime.StateStyle : ChildComponent / Subclasses: BlurStyle, EmphasisStyle, SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    fielddefaultsincecomment
    showtrue是否启用高亮样式。
    label图形文本标签。 LabelStyle
    labelLine图形文本引导线样式。 LabelLine
    itemStyle图形样式。 ItemStyle
    lineStyle折线样式。 LineStyle
    areaStyle区域样式。 AreaStyle
    symbol标记样式。 SerieSymbol

    SubTitleTheme

    XCharts.Runtime.SubTitleTheme : ComponentTheme

    SymbolStyle

    XCharts.Runtime.SymbolStyle : ChildComponent / Subclasses: SerieSymbol

    系列数据项的标记的图形

    fielddefaultsincecomment
    showtrue是否显示标记。
    type标记类型。
    SymbolType:
    - None: 不显示标记。
    - Custom: 自定义标记。
    - Circle: 圆形。
    - EmptyCircle: 空心圆。
    - Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    - EmptyRect: 空心正方形。
    - Triangle: 三角形。
    - EmptyTriangle: 空心三角形。
    - Diamond: 菱形。
    - EmptyDiamond: 空心菱形。
    - Arrow: 箭头。
    - EmptyArrow: 空心箭头。
    size0f标记的大小。
    gap0图形标记和线条的间隙距离。
    width0f图形的宽。
    height0f图形的高。
    offsetVector2.zero图形的偏移。
    image自定义的标记图形。
    imageType图形填充类型。
    color图形的颜色。

    TextLimit

    XCharts.Runtime.TextLimit : ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    fielddefaultsincecomment
    enablefalse是否启用文本自适应。 [default:true]
    maxWidth0Clipping occurs when the width of the text is greater than this value.
    gap1两边留白像素距离。 [default:10f]
    suffix长度超出时的后缀。 [default: "..."]

    TextPadding

    XCharts.Runtime.TextPadding : Padding

    文本的内边距设置。

    TextStyle

    XCharts.Runtime.TextStyle : ChildComponent

    文本的相关设置。

    fielddefaultsincecomment
    showtrue文本的相关设置。
    font文本字体。 [default: null]
    autoWrapfalse是否自动换行。
    autoAligntrue文本是否让系统自动选对齐方式。为false时才会用alignment。
    rotate0文本的旋转。 [default: 0f]
    autoColorfalse是否开启自动颜色。当开启时,会自动设置颜色。
    color文本的颜色。 [default: Color.clear]
    fontSize0文本字体大小。 [default: 18]
    fontStyle文本字体的风格。 [default: FontStyle.Normal]
    lineSpacing1f行间距。 [default: 1f]
    alignment对齐方式。
    tMPFontTextMeshPro字体。
    tMPFontStyle
    tMPAlignment
    tMPSpriteAssetv3.1.0

    Theme

    XCharts.Runtime.Theme : ScriptableObject

    主题相关配置。

    fielddefaultsincecomment
    themeType主题类型。
    ThemeType:
    - Default: 默认主题。
    - Light: 亮主题。
    - Dark: 暗主题。
    - Custom: 自定义主题。
    themeName主题名称。
    font主题字体。
    tMPFont主题字体。
    contrastColor对比色。
    backgroundColor背景颜色。
    colorPalette调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
    commonComponentTheme
    titleTitleTheme
    subTitleSubTitleTheme
    legendLegendTheme
    axisAxisTheme
    tooltipTooltipTheme
    dataZoomDataZoomTheme
    visualMapVisualMapTheme
    serieSerieTheme

    ThemeStyle

    XCharts.Runtime.ThemeStyle : ChildComponent

    主题相关配置。

    fielddefaultsincecomment
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse是否透明背景颜色。当设置为true时,不绘制背景颜色。
    enableCustomThemefalse是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。
    customFont
    customBackgroundColor自定义的背景颜色。
    customColorPalette

    Title

    XCharts.Runtime.Title : MainComponent, IPropertyChanged

    标题组件,包含主标题和副标题。

    fielddefaultsincecomment
    showtrue是否显示标题组件。
    text主标题文本,支持使用 \n 换行。
    subText副标题文本,支持使用 \n 换行。
    labelStyle主标题文本样式。 LabelStyle
    subLabelStyle副标题文本样式。 LabelStyle
    itemGap0主副标题之间的间距。
    location标题显示位置。 Location

    TitleStyle

    XCharts.Runtime.TitleStyle : LabelStyle, ISerieDataComponent, ISerieComponent

    标题相关设置。

    TitleTheme

    XCharts.Runtime.TitleTheme : ComponentTheme

    Tooltip

    XCharts.Runtime.Tooltip : MainComponent

    提示框组件。

    fielddefaultsincecomment
    showtrue是否显示提示框组件。
    type提示框指示器类型。
    Tooltip.Type:
    - Line: 直线指示器
    - Shadow: 阴影指示器
    - None: 无指示器
    - Corss: 十字准星指示器。坐标轴显示Label和交叉线。
    trigger触发类型。
    Tooltip.Trigger:
    - Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    - Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    - None: 什么都不触发。
    positionv3.3.0显示位置类型。
    Tooltip.Position:
    - Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    - Custom: 自定义。完全自定义显示位置(x,y)。
    - FixedX: 只固定坐标X。Y跟随鼠标位置。
    - FixedY:
    itemFormatter提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用
    titleFormatter提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
    markerserie的符号标志。
    fixedWidth0固定宽度。比 minWidth 优先。
    fixedHeight0固定高度。比 minHeight 优先。
    minWidth0最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。
    minHeight0最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    paddingLeftRight10左右边距。
    paddingTopBottom10上下边距。
    ignoreDataShowfalse是否显示忽略数据在tooltip上。
    ignoreDataDefaultContent被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。
    showContenttrue是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。
    alwayShowContentfalse是否触发后一直显示提示框浮层。
    offsetVector2(18f, -25f)提示框相对于鼠标位置的偏移。
    backgroundImage提示框的背景图片。
    backgroundType提示框的背景图片显示类型。
    backgroundColor提示框的背景颜色。
    borderWidth2f边框线宽。
    fixedX0f固定X位置的坐标。
    fixedY0.7f固定Y位置的坐标。
    titleHeight25f标题文本的高。
    itemHeight25f数据项文本的高。
    borderColorColor32(230, 230, 230, 255)边框颜色。
    lineStyle指示线样式。 LineStyle
    titleLabelStyle标题的文本样式。 LabelStyle
    contentLabelStyles内容部分的文本样式列表。和列一一对应。

    TooltipTheme

    XCharts.Runtime.TooltipTheme : ComponentTheme

    fielddefaultsincecomment
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f指示线线宽。
    lineColor指示线颜色。
    areaColor区域指示的颜色。
    labelTextColor十字指示器坐标轴标签的文本颜色。
    labelBackgroundColor十字指示器坐标轴标签的背景颜色。

    UIComponentTheme

    XCharts.Runtime.UIComponentTheme : ChildComponent

    fielddefaultsincecomment
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse

    VisualMap

    XCharts.Runtime.VisualMap : MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    fielddefaultsincecomment
    showtrue组件是否生效。
    showUIfalse是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。
    type组件类型。
    VisualMap.Type:
    - Continuous: 连续型。
    - Piecewise: 分段型。
    selectedMode选择模式。
    VisualMap.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    serieIndex0影响的serie索引。
    min0范围最小值
    max0范围最大值
    range指定手柄对应数值的位置。range 应在[min,max]范围内。
    text两端的文本,如 ['High', 'Low']
    textGap两端文字主体之间的距离,单位为px。
    splitNumber5对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。
    calculablefalse是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。
    realtimetrue拖拽时,是否实时更新。
    itemWidth20f图形的宽度,即颜色条的宽度。
    itemHeight140f图形的高度,即颜色条的高度。
    itemGap10f每个图元之间的间隔距离。
    borderWidth0边框线宽,单位px。
    dimension-1Starting at 1, the default is 0 to take the last dimension in data.
    autoMinMaxtrueAutomatically set min, Max value 自动设置min,max的值
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location组件显示的位置。 Location
    workOnLinetrue组件是否对LineChart的LineStyle有效。
    workOnAreafalse组件是否对LineChart的AreaStyle有效。
    outOfRange定义 在选中范围外 的视觉颜色。
    inRange分段式每一段的相关配置。

    VisualMapRange

    XCharts.Runtime.VisualMapRange : ChildComponent

    fielddefaultsincecomment
    min范围最小值
    max范围最大值
    label文字描述
    color颜色

    VisualMapTheme

    XCharts.Runtime.VisualMapTheme : ComponentTheme

    fielddefaultsincecomment
    borderWidth边框线宽。
    borderColor边框颜色。
    backgroundColor背景颜色。
    triangeLen20f可视化组件的调节三角形边长。

    XAxis

    XCharts.Runtime.XAxis : Axis

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    XCharts.Runtime.XCResourcesImporter

    XCSettings

    XCharts.Runtime.XCSettings : ScriptableObject

    fielddefaultsincecomment
    langLang
    font
    tMPFont
    fontSizeLv128一级字体大小。
    fontSizeLv224
    fontSizeLv320
    fontSizeLv418
    axisLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisLineWidth0.8f
    axisSplitLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisSplitLineWidth0.8f
    axisTickWidth0.8f
    axisTickLength5f
    gaugeAxisLineWidth15f
    gaugeAxisSplitLineWidth0.8f
    gaugeAxisSplitLineLength15f
    gaugeAxisTickWidth0.8f
    gaugeAxisTickLength5f
    tootipLineWidth0.8f
    dataZoomBorderWidth0.5f
    dataZoomDataLineWidth0.5f
    visualMapBorderWidth0f
    serieLineWidth1.8f
    serieLineSymbolSize5f
    serieScatterSymbolSize20f
    serieSelectedRate1.3f
    serieCandlestickBorderWidth1f
    editorShowAllListDatafalse
    maxPainter10
    lineSmoothStyle3f
    lineSmoothness2f
    lineSegmentDistance3f
    cicleSmoothness2f
    visualMapTriangeLen20f
    pieTooltipExtraRadius8f
    pieSelectedOffset8f
    customThemes

    YAxis

    XCharts.Runtime.YAxis : Axis

    直角坐标系 grid 中的 y 轴。

    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/extra/index.html b/docs/v3.7.0/extra/index.html index 7d641635..3fe92076 100644 --- a/docs/v3.7.0/extra/index.html +++ b/docs/v3.7.0/extra/index.html @@ -14,13 +14,13 @@ 扩展图表 | XCharts - - + +
    Version: v3.7.0

    扩展图表

    XCharts的扩展图表。

    支持的扩展图表

    扩展图表如何导入到XCharts-Demo

    Pie3DChart 为例:

    1. 购买图表:购买扩展图表后,Github找到仓库 XCharts-Pie3DChart(私有仓库,购买后加入Team才可见)
    2. 下载图表:选择和XCharts最接近的版本
    3. 导入图表:将下载好的XCharts-Pie3DChart目录覆盖到XCharts-Demo项目中的Packages/XCharts-Pie3DChart
    4. 下载图表Demo:Github找到仓库 XCharts-Pie3DChart-Demo并下载
    5. 导入图表Demo:将下载好的XCharts-Pie3DChart-Demo目录覆盖到XCharts-Demo项目中的Assets/XChartsExtensionDemo/XCharts-Pie3DChart-Demo

    扩展图表如何导入自己的项目中

    Pie3DChart 为例:

    1. 先确保项目中已导入XCharts
    2. 再导入XCharts-Pie3DChart即可,不需要导入XCharts-Pie3DChart-Demo(如果要导入的话需要Unity版本接近2019.4.39f1)
    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/faq/index.html b/docs/v3.7.0/faq/index.html index f4634e2a..f1a4fa2e 100644 --- a/docs/v3.7.0/faq/index.html +++ b/docs/v3.7.0/faq/index.html @@ -14,8 +14,8 @@ 常见问题 | XCharts - - + +
    @@ -50,7 +50,7 @@ QA 29:如何修改Serie的Symbol的颜色?
    QA 30:导入或更新XCharts时TMP报错怎么办?
    QA 31:支持空数据吗?如何实现折线图断开的效果?

    如何调整坐标轴与背景的边距

    答:Grid组件,可调整上下左右边距。

    如何让初始动画重新播放

    答:调用AnimationReset()接口。

    如何自定义折线图_饼图等数据项的颜色

    答:通过ThemecolorPalette调整,或者部分Serie下的LineStyleItemStyle

    如何格式化文字_如我想给坐标轴标签加上单位

    答:通过formatternumericFormatter参数,在LegendAxisAxisLabelTooltopSerieLabel都提供该参数的配置。

    如何让柱形图的柱子堆叠显示

    答:设置Serie下的stackstack相同的serie会堆叠显示在一个柱子上。

    如何让柱形图的柱子同柱但不重叠

    答:设置Serie下的barGap-1stack为空。

    如何调整柱形图的柱子宽度和间距

    答:调整Serie下的barWidthbarGap,多个serie时最后一个seriebarWidthbarGap有效。

    如何调整柱形图单个柱子的颜色

    答:可通过调整单个Data下的ItemStyle调整,也可以通过两个serie同柱不堆叠来实现,通过设置数据项为0来达到类似效果。

    如何调整图表的对齐方式

    答:调整RectTransform的锚点,和UGUI的其他组件的用法一致。

    可以显示超过1000以上的大数据吗

    答:可以。但UGUI对单个Graphic限制65000个顶点,所以太多的数据不一定能显示完全。可通过设置采样距离sampleDist开启采样简化过密曲线。也可以通过设置一些参数来减少图表的顶点数有助于显示更多数据。如缩小图表的尺寸,关闭或减少坐标轴的客户端绘制,关闭Seriesymbollabel显示等。折线图的普通线图Normal比平滑线图Smooth占用顶点数更少。1.5.0以上版本可以设置largelargeThreshold参数来开启性能模式。

    折线图可以画虚线点线点划线吗

    答:可以。通过Serie下的lineType选择线条样式。当要显示的数据过多(成千以上)数据间过密时建议使用Normal或者Step样式。

    如何限定Y轴的值范围

    答:设置Axis下的minMaxTypeCustom,自定义minmax

    如何自定义数值轴刻度大小

    答:默认时通过Axis下的splitNumer进行自动划分。也可以设置interval自定义刻度大小。

    如何在数据项顶上显示文本

    答:通过设置Serie下的Label。3.0版本需要先添加LabelStyle组件。

    如何给数据项自定义图标

    答:通过设置Seriedata下的数据项可单独设置icon相关参数。

    锯齿太严重_如何让图表更顺滑

    答:开启抗锯齿设置(在Unity里设置)。调整UI渲染模式为Camera模式,开启MSAA,设置4倍或更高抗锯齿。

    为什么鼠标移上图表Tooltip不显示

    答:确认Tooltip是否开启;确认父节点是否关闭了鼠标事件。

    如何取消Tooltip的竖线

    答:设置TooltiptypeNone。或者调整lineStyle的参数。

    如何自定义Tooltip的显示内容

    答:自定义总的内容可以通过Tooltipformatter。如果只是想调整所有的serie的显示格式可以用itemFormattertitleFormatter结合。如果想每个serie的显示格式不一样,可以定制serieitemStyle里的tooltipFormatter。具体的用法请查阅XCharts配置项手册

    如何让Y轴显示多位小数

    答:设置Axis下的AxisLabel中的formatter{value:f1}{value:f2}1.5.0及以上版本通过numericFormatter设置。

    如何用代码动态更新数据

    答:请查阅Example下的代码,Example13_LineSimple.cs就是一个简单添加数据构建折线图的例子,其他Demo也都是通过代码控制不同的组件实现不同的功能,相关API请查看文档:XChartsAPI接口

    如何显示图例_为什么有时候图例无法显示

    答:首先,你的serie里的name需有值不为空。然后开启Legend显示,里面的data可以默认为空,表示显示所有的图例。如果你只想显示部分serie的图例,在data中填入要显示的图例的name即可。如果data中的值都不是系列的name,那图例就不会显示。

    如何做成预设

    答:做成prefab前,执行一下Rebuild Chart Object重新刷新节点,避免有冗余的节点存在。

    如何在图表上画点画线等自定义内容

    答:XCharts有自定义绘制回调onCustomDraw,具体可参考Example12_CustomDrawing.cs

    如何实现心电图类似的数据移动效果

    答:参考Example目录下的Example_Dynamic.cs。主要通过设置maxCache参数实现。axisserie都设置相同的maxCachemaxCache可固定数据个数,当数据超过设定时会先删除第一个在添加新数据,实现数据移动效果。

    如何使用背景组件_有什么条件限制

    答:设置background组件的showtrue

    区域折线图在用半透明颜色时有时候会一条叠加的线

    答:这是区域折线图绘制的bug。可以用浅的不透的颜色替代半透明颜色。

    Mesh_cannot_have_more_than_65000_vertices

    答:这是UGUI对单个Graphic的顶点数限制。XCharts是将图形绘制在单个Graphic上,所以也会有这个限制。解决的办法可以参考:QA 10:可以显示超过1000以上的大数据吗?

    为什么serie里设置的参数运行后又被重置了

    答:检测下代码里是否调用了RemoveData()并重新添加Serie了。如果想保留Serie的配置可以只ClearData(),然后重新添加数据。

    如何修改Serie的Symbol的颜色

    答:Symbol 的颜色是使用的 ItemStylecolor

    导入或更新XCharts时TMP报错怎么办

    答:XCharts默认时不开启TMP,所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    支持空数据吗_如何实现折线图断开的效果

    答:Seriedatadouble类型,所以无法表示空数据。可通过开启Serieignore和指定ignoreValue来达到空数据的效果。也可以每个SerieData设置ignore参数。忽略数据后断开还是连接可设置ignoreLineBreak参数。

    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/funnel/index.html b/docs/v3.7.0/funnel/index.html index 003634b2..b37b546f 100644 --- a/docs/v3.7.0/funnel/index.html +++ b/docs/v3.7.0/funnel/index.html @@ -14,14 +14,14 @@ FunnelChart 漏斗图 | XCharts - - + +
    Version: v3.7.0

    FunnelChart 漏斗图

    XCharts的付费扩展图表 - 漏斗图。

    funnel

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    FunnelChart

    XCharts.Runtime.Funnels.FunnelChart : BaseChart

    配置项手册

    Funnel

    XCharts.Runtime.Funnels.Funnel : Serie

    fielddefaultsincecomment
    rectEndv3.3.0是否最后以矩形结束。默认false以三角形结束。
    dynamicHeightv3.3.0是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。
    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/gantt/index.html b/docs/v3.7.0/gantt/index.html index b984c831..71311a36 100644 --- a/docs/v3.7.0/gantt/index.html +++ b/docs/v3.7.0/gantt/index.html @@ -14,14 +14,14 @@ GanttChart 甘特图 | XCharts - - + +
    Version: v3.7.0

    GanttChart 甘特图

    XCharts付费扩展图表 - 甘特图。

    gantt

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    GanttChart

    XCharts.Runtime.Gantts.GanttChart : BaseChart

    public methodsincedescription
    GetSeriesMinMaxValue()public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    InitAxisRuntimeData()public override void InitAxisRuntimeData(Axis axis)
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)

    配置项手册

    Gantt

    XCharts.Runtime.Gantts.Gantt : Serie

    fielddefaultsincecomment
    disableDrag

    GanttStyle

    XCharts.Runtime.Gantts.GanttStyle : MainComponent

    fielddefaultsincecomment
    showtrue
    ganttType甘特图类型。
    GanttType:
    - Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    - Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。
    inverttrue
    dragEnabletrue是否可以拖拽甘特图。
    dragSensitivity1f拖拽的灵敏度。
    dragRangeMin0拖拽最小值限制。
    dragRangeMax0拖拽最大值限制。
    autoAdsorbAlignlinetrue拖拽结束后是否自动吸附到对齐线。
    alignlineDataIndex1显示对齐线的数据项索引。
    showAlignlineRange10f显示对齐线的范围。
    aliginLine对齐线样式。
    splitArea
    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/gauge/index.html b/docs/v3.7.0/gauge/index.html index a87bbabb..bd37a2d2 100644 --- a/docs/v3.7.0/gauge/index.html +++ b/docs/v3.7.0/gauge/index.html @@ -14,14 +14,14 @@ GaugeChart 仪表盘 | XCharts - - + +
    Version: v3.7.0

    GaugeChart 仪表盘

    XCharts付费扩展图表 - 仪表盘。

    gauge

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    master

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.17) 增加GaugerangeDataMode可设置是否使用范围数据模式
    • (2023.03.17) 增加Gaugeloop可设置是否循环数据,用于时钟甘特图
    • (2023.03.17) 增加GaugePointervalue可设置指针位置
    • (2023.03.17) 增加Clock时钟仪表盘支持
    • (2023.03.13) 增加GaugePointernowTime可设置指针指向当前时间
    • (2023.03.13) 增加GaugePointervalue可设置当前指针位置
    • (2023.03.13) 增加Clock类型的甘特图支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.10.05) 增加GaugeAxisLinestageGradient支持设置阶段渐变色过渡

    v3.3.0

    • (2022.09.28) 发布v3.3.0版本
    • (2022.08.26) 修复Pointer在普通模式下不显示的问题
    • (2022.08.25) 增加label颜色跟随数值变化的支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.15) 支持渐变

    API

    GaugeChart

    XCharts.Runtime.Gauges.GaugeChart : BaseChart

    配置项手册

    Gauge

    XCharts.Runtime.Gauges.Gauge : Serie

    fielddefaultsincecomment
    rangeDataModefalsev3.6.0数值是否为范围数据。启用该模式后,data中的每个值都是一个数组,数组中的第一个值为起始值,第二个值为结束值。指针只有一个,数据绘制为环形。
    loopfalsev3.6.0数值是否循环。可用在钟表图。
    gaugeAxis仪表盘轴线。 GaugeAxis
    gaugePointer仪表盘指针。 GaugePointer
    gaugeAnchor仪表盘指针固定点。 GaugeAnchor

    GaugeAnchor

    XCharts.Runtime.Gauges.GaugeAnchor : ChildComponent

    fielddefaultsincecomment
    showtrue是否显示指针固定点。
    showAbovetrue固定点是否显示在指针上面。
    type标记类型。
    size6标记的大小。
    gap0图形标记和线条的间隙距离。
    image自定义的标记图形。
    imageType
    offsetCenterVector2(0, 0)相对于中心的偏移位置。
    itemStyle图形样式。

    GaugeAxis

    XCharts.Runtime.Gauges.GaugeAxis : ChildComponent

    仪表盘轴线相关设置。

    fielddefaultsincecomment
    showtrue
    type
    GaugeAxisType:
    - None: 仪表盘类型
    - Section: 分段
    - Progress: 进度
    overlaptrue
    distance
    axisLine仪表盘轴线样式。 GaugeAxisLine
    splitLine分割线。
    axisTick刻度。
    axisLabel文本标签。
    axisLabelText自定义Label的内容。

    GaugeAxisLine

    XCharts.Runtime.Gauges.GaugeAxisLine : BaseLine

    fielddefaultsincecomment
    backgroundColorColor32(230, 235, 248, 255)进度条背景颜色。
    stageColor阶段颜色。
    stageGradientv3.4.0阶段颜色是否渐变过渡。

    GaugePointer

    XCharts.Runtime.Gauges.GaugePointer : ChildComponent

    仪表盘指针相关设置。

    fielddefaultsincecomment
    showtrue是否显示指针。
    length0.6f指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backLength0.05f指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backExtraLength0.05f指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topLeftLength0f指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topRightLength0f指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomLeftLength0.025f指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomRightLength0.025f指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    distance
    roundCap
    autoColortrue
    color
    toColor
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    valuev3.6.0指针的值。当为时钟仪表盘时,可通过指定value值来控制指针的位置。
    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/inputsystem/index.html b/docs/v3.7.0/inputsystem/index.html index 23969486..6dc5e042 100644 --- a/docs/v3.7.0/inputsystem/index.html +++ b/docs/v3.7.0/inputsystem/index.html @@ -14,13 +14,13 @@ 切换到新的输入系统Input System | XCharts - - + +
    Version: v3.7.0

    教程:切换到新的输入系统Input System

    1. 按图示修改项目配置中输入模式为 Input System

    Project Settings

    2. 使用 Unity Package Manager 安装 Input System

    UPM

    3. 选中场景中 EventSystem 游戏对象,更换输入模组

    Input Module

    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/lang/articles/ui/ui_statistic/index.html b/docs/v3.7.0/lang/articles/ui/ui_statistic/index.html index 773807fc..f623a491 100644 --- a/docs/v3.7.0/lang/articles/ui/ui_statistic/index.html +++ b/docs/v3.7.0/lang/articles/ui/ui_statistic/index.html @@ -14,13 +14,13 @@ UIStatistic 统计数值 | XCharts - - + +
    Version: v3.7.0

    UIStatistic 统计数值

    statistic

    统计数值组件。用于展示统计数值。

    何时使用:

    • 当需要突出某个或某组数字时。
    • 当需要展示带描述的统计类数据时使用。

    支持的功能有:

    • 常规数值
    • 倒计时
    • 添加图标
    • 变更动画
    • 事件回调
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/lang/articles/ui/ui_table/index.html b/docs/v3.7.0/lang/articles/ui/ui_table/index.html index f59b7cde..0e1a2174 100644 --- a/docs/v3.7.0/lang/articles/ui/ui_table/index.html +++ b/docs/v3.7.0/lang/articles/ui/ui_table/index.html @@ -14,13 +14,13 @@ UITable 表格 | XCharts - - + +
    Version: v3.7.0

    UITable 表格

    table

    表格组件。可用于展示行列数据。

    支持的功能有:

    • 显示或隐藏列表头
    • 显示或隐藏行表头
    • 任意调整行列宽高
    • 支持行号
    • 支持选中
    • 支持分割线
    • 支持滚动和拖拽
    • 支持滚动条
    • 支持图标图片
    • 排序(暂不支持)
    • 分页(暂不支持)
    • 查找(暂不支持)
    • 过滤(暂不支持)
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/liquid/index.html b/docs/v3.7.0/liquid/index.html index 9cea72f9..64352c75 100644 --- a/docs/v3.7.0/liquid/index.html +++ b/docs/v3.7.0/liquid/index.html @@ -14,15 +14,15 @@ LiquidChart 水位图 | XCharts - - + +
    Version: v3.7.0

    LiquidChart 水位图

    XCharts的付费扩展图表 - 水位图。

    liquid

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    LiquidChart

    XCharts.Runtime.Liquids.LiquidChart : BaseChart 水位图

    VesselContext

    XCharts.Runtime.Liquids.VesselContext : MainComponentContext

    配置项手册

    Liquid

    XCharts.Runtime.Liquids.Liquid : Serie, INeedSerieContainer

    fielddefaultsincecomment
    waveHeight10f波高。
    waveLength20f波长。为0-1小数时指直线的百分比。
    waveSpeed5f波速。正数时左移,负数时右移。
    waveOffset0f波偏移。

    Vessel

    XCharts.Runtime.Liquids.Vessel : MainComponent, ISerieContainer, IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    fielddefaultsincecomment
    showtrue是否显示容器组件。 [defaut: true]
    shape容器形状。 [default: Shape.Circle]
    Vessel.Shape:
    - Circle: 圆形
    - Rect: 正方形。
    - Triangle: 三角形。
    - Diamond: 菱形。
    shapeWidth5f容器厚度。 [defaut: 5f]
    gap5f间隙。容器和液体的间隙。 [defaut: 10f]
    colorColor32(70, 70, 240, 255)容器颜色。默认和serie一致。
    backgroundColor背景色,默认透明。 [default: Color.clear]
    autoColortrue是否自动颜色。为true时颜色会和serie一致。 [default: true]
    centerWhen value between 0 and 1 represents a percentage relative to the chart.
    radius0.35fWhen value between 0 and 1 represents a percentage relative to the chart.
    smoothness1f水波平滑度。 [default: 1f]
    width0.5fWhen value between 0 and 1 represents a percentage relative to the chart.
    height0.7fWhen value between 0 and 1 represents a percentage relative to the chart.
    borderWidth0f内壁边框。
    borderColorColor32(70, 70, 240, 255)容器内壁边框颜色。默认和serie一致。
    cornerRadius容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。
    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/pictorialbar/index.html b/docs/v3.7.0/pictorialbar/index.html index d7b999b6..dba811a8 100644 --- a/docs/v3.7.0/pictorialbar/index.html +++ b/docs/v3.7.0/pictorialbar/index.html @@ -14,14 +14,14 @@ PictorialBarChart 象形柱图 | XCharts - - + +
    Version: v3.7.0

    PictorialBarChart 象形柱图

    XCharts付费扩展图表 - 象形柱图。

    pictorialbar

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBarChart

    XCharts.Runtime.PictorialBars.PictorialBarChart : BaseChart

    配置项手册

    PictorialBar

    XCharts.Runtime.PictorialBars.PictorialBar : Serie, INeedSerieContainer

    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/pie3d/index.html b/docs/v3.7.0/pie3d/index.html index 54976323..086d5923 100644 --- a/docs/v3.7.0/pie3d/index.html +++ b/docs/v3.7.0/pie3d/index.html @@ -14,8 +14,8 @@ Pie3DChart 3D饼图 | XCharts - - + +
    @@ -23,7 +23,7 @@ 配置项手册

    日志

    v3.6.2

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.1

    • (2023.05.21) 增加avoidLabelOverlap支持

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.3.0

    • (2022.09.02) 增加onPointerEnterPie回调支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pie3DChart

    XCharts.Runtime.Pie3Ds.Pie3DChart : BaseChart 3D饼图。

    Pie3DSlice

    XCharts.Runtime.Pie3Ds.Pie3DSlice 3D饼图的切块。

    public methodsincedescription
    Contains()public bool Contains(float angle)
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    IsInSidePolygon()public bool IsInSidePolygon(Vector2 p)
    IsInStartOrEndSide()public bool IsInStartOrEndSide(Vector2 p)
    IsInTopPolygon()public bool IsInTopPolygon(Vector2 p)
    Pie3DSlice()public Pie3DSlice()
    UpdateValue()public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig)

    配置项手册

    Pie3D

    XCharts.Runtime.Pie3Ds.Pie3D : Serie

    fielddefaultsincecomment
    pie3DStylePie3DStyle

    Pie3DStyle

    XCharts.Runtime.Pie3Ds.Pie3DStyle : ChildComponent

    3D饼图样式。

    fielddefaultsincecomment
    showtrue
    ellipseMinorAxis0.65f椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。
    pieMaxHeight20f饼图厚度。
    pieAutoHeightfalse是否自动根据比例计算厚度。
    selectedOffsetVector2(0.1f, 0.5f)The offset of selected pie slice. 被选中状态的饼图块的额外偏移。
    peripherySideColorRate0.8f饼图切块的侧面颜色。
    startSideColorRate0.7f饼图切块的起始面颜色(顺时针)。
    endSideColorRate0.65f饼图切块的结束面颜色(顺时针)。
    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/pyramid/index.html b/docs/v3.7.0/pyramid/index.html index 2f4bca13..b35bd3c1 100644 --- a/docs/v3.7.0/pyramid/index.html +++ b/docs/v3.7.0/pyramid/index.html @@ -14,14 +14,14 @@ PyramidChart 金字塔 | XCharts - - + +
    Version: v3.7.0

    PyramidChart 金字塔

    XCharts付费扩展图表 - 金字塔。

    pyramid

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.21) 增加Tooltip支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    PyramidChart

    XCharts.Runtime.Pyramids.PyramidChart : BaseChart

    配置项手册

    Pyramid

    XCharts.Runtime.Pyramids.Pyramid : Serie

    fielddefaultsincecomment
    pyramidStylePyramidStyle

    PyramidStyle

    XCharts.Runtime.Pyramids.PyramidStyle : ChildComponent

    fielddefaultsincecomment
    showtrue
    3Dtrue
    drawToptrue
    bottomPointRate0.5f3D模式下,底部中点占金字塔宽度的比例
    leftPointRate0.1f3D模式下,底部左边点占金字塔高度的比例
    rightPointRate0.1f3D模式下,底部右边点占金字塔高度的比例
    leftColorOpacity0.9f3D模式下,金字塔左边的颜色透明度
    rightColorOpacity0.7f3D模式下,金字塔右边的颜色透明度
    topColorOpacity0.99f3D模式下,金字塔顶部的颜色透明度
    labelLineMargin10fLabel标签距离右边的距离
    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/support/index.html b/docs/v3.7.0/support/index.html index 2ac27aaa..67441932 100644 --- a/docs/v3.7.0/support/index.html +++ b/docs/v3.7.0/support/index.html @@ -14,15 +14,15 @@ 订阅服务 | XCharts - - + +
    Version: v3.7.0

    订阅服务

    如需技术支持,可订阅个人VIP服务。扫后面的二维码付费后可加VIP群867291970,验证信息请输入付费的账号。
    企业商务合作可联系QQ:3525422251(XCharts技术支持)。

    订阅VIP服务

    订阅服务分个人订阅企业订阅

    • 个人订阅个人VIP属于个人,不可转让,XCharts团队只服务于订阅当事人。
    • 企业订阅企业VIP属于企业,席位内可安排固定职员,职员离职后席位可重新安排,XCharts团队通过专属企业群为企业服务。

    订阅服务有哪些优势?

    • 提高工作效率,节省时间成本。一方面,XCharts功能强大,相关配置项非常多,VIP服务可快速帮您定位,节省去查找和核对的时间;另一方面,VIP的即时回答服务可快速为您答疑解惑,避免中断开发流程,快速上手,快速处理问题,至少能提高10倍以上的工作效率。
    • 更多技术交流,更多经验交流。XCharts团队成员从业多年,有丰富的技术和工作经验。VIP服务不仅可以交流XCharts相关的内容,也可以咨询其他方面的技术。VIP群也有更多的交流。
    • 扩展图表需要订阅VIP服务后才能购买,扩展图表超过1年后的更新支持也需要持续订阅VIP服务。
    • VIP用户可加入XChartsGitHub组织,参与XCharts的社区构建,访问专有仓库。拥有扩展UI组件等专属功能。
    • XCharts交流群里拥有VIP专属标识,问题会第一时间得到响应,有问即答。
    免费用户付费咨询个人VIP个人SVIP企业VIP
    订阅费用--98¥298¥首年1298¥
    后续298¥*
    联系我们
    订阅时长--7天*11年*1
    订阅席位--1个席位1个席位1个席位5个以上席位
    服务方式:
    官方QQ群交流
    即时一对一交流
    专属VIP群交流√(专属企业群)
    服务内容:
    可商用
    可二次开发
    有问即答
    新手指导
    开发指导
    优化指导
    其他技术支持
    问题及时处理
    需求优先考虑
    可另付费定制
    可另付费加急
    扩展UI组件
    扩展图表购买按需购买全部免费全部免费
    扩展图表源码永久持有永久持有永久持有
    扩展图表更新1年更新支持1年更新支持1年更新支持

    购买扩展图表

    扩展图表为另付费购买图表,只对订阅了VIP服务的用户开放购买。对于SVIP的订阅用户,所有扩展图表仓库可免费使用,不用再单独购买。

    对所有已购买的扩展图表,源码可永久持有,并获得持续一年的更新支持,一年后如需更新支持服务,可再继续订阅VIP服务。

    编号扩展图表价格备注
    101PictorialBarChart98¥象形柱图
    102FunnelChart98¥漏斗图
    103PyramidChart98¥3D金字塔
    104TreemapChart98¥树形矩图
    201Bar3DChart198¥3D柱图
    202Pie3DChart198¥3D饼图
    203GanttChart198¥甘特图
    204GaugeChart198¥仪表盘
    205LiquidChart198¥水位图

    备注说明

    1. 付费定制 是指用户可根据自己的需求定制不同的图表或新功能,只有VIP用户才享有付费定制权利。
    2. 付费加急 是指用户可对自己非常紧急的需求进行付费,将开发优先级提到最高,并可要求在指定截止日期内交付,只有VIP用户才享有付费加急权利。
    3. 付费咨询 付费咨询有效期7天,且总咨询时长不超过7个小时。
    4. 扩展图表 购买后代码可永久持有和商用,1年的更新和技术支持。

    捐助支持

    如果这个项目对您有帮助,请右上方点 Star 予以支持!也欢迎任意金额的捐助,非常感谢您的支持!

    二维码

    如果看不到二维码图片,可以加QQXCharts技术支持:3525422251或邮件monitor1394@gmail.com咨询。

    alipay-qrcode wechat-qrcode

    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/treemap/index.html b/docs/v3.7.0/treemap/index.html index 000c5014..7f7831b0 100644 --- a/docs/v3.7.0/treemap/index.html +++ b/docs/v3.7.0/treemap/index.html @@ -14,14 +14,14 @@ TreemapChart 矩形树图 | XCharts - - + +
    Version: v3.7.0

    TreemapChart 矩形树图

    XCharts付费扩展图表 - 矩形树图。

    treemap

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    TreemapChart

    XCharts.Runtime.Treemaps.TreemapChart : BaseChart

    配置项手册

    Treemap

    XCharts.Runtime.Treemaps.Treemap : Serie

    fielddefaultsincecomment
    leafDepth0默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。
    visualDimension0用于计算占比的数据维数。
    drillDownIcon当节点可以下钻时的提示符,只能是字符。默认为▶
    customGoUpLevelButton自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。
    upperLabel父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。
    levelStyle
    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/tutorial01/index.html b/docs/v3.7.0/tutorial01/index.html index 173b8783..61eaf152 100644 --- a/docs/v3.7.0/tutorial01/index.html +++ b/docs/v3.7.0/tutorial01/index.html @@ -14,8 +14,8 @@ 入门教程:5分钟上手 XCharts 3.0 | XCharts - - + +
    @@ -23,7 +23,7 @@ linechart2

    添加其他组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件按需额外添加。比如,需要给折线图区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent linechart3

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加Component。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent linechart4

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个至几十个不等的可配置参数,以支持各种灵活而复杂的功能。

    首次使用XCharts,可在 Inspector 视图添加各种图表,给图表添加或调整里面组件,Game 视图会实时反馈调整后的效果,以熟悉各种组件的使用。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是配置和数据来驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不需要去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时还原回来。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    通常颜色值为0000时表示用主题默认颜色,配置为0或null时表示用主题默认配置。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.EnsureChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.EnsureChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.EnsureChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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;

    清空默认数据,添加Line类型的Serie用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    用代码改图表参数

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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;

    注:低版本没有EnsureChartComponent()接口时,用GetOrAddChartComponent()

    改Serie的参数

    对于新添加的Serie:

    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:

    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添加额外组件:

    serie.EnsureComponent<AreaStyle>();

    var label = serie1.EnsureComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/tutorial02/index.html b/docs/v3.7.0/tutorial02/index.html index a2da11cc..93415993 100644 --- a/docs/v3.7.0/tutorial02/index.html +++ b/docs/v3.7.0/tutorial02/index.html @@ -14,13 +14,13 @@ 从文件或数据库读取数据显示图表 | XCharts - - + +
    Version: v3.7.0

    从文件或数据库读取数据显示图表

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.7.0/tutorial03/index.html b/docs/v3.7.0/tutorial03/index.html index ffb59bfe..d735dccb 100644 --- a/docs/v3.7.0/tutorial03/index.html +++ b/docs/v3.7.0/tutorial03/index.html @@ -14,13 +14,13 @@ 心电图效果实现 | XCharts - - + + - - + + \ No newline at end of file diff --git a/docs/v3.7.0/ui/index.html b/docs/v3.7.0/ui/index.html index 063b0a3b..ec761570 100644 --- a/docs/v3.7.0/ui/index.html +++ b/docs/v3.7.0/ui/index.html @@ -14,13 +14,13 @@ 扩展UI组件 | XCharts - - + +
    Version: v3.7.0

    扩展UI组件

    XCharts的扩展UI组件,VIP订阅用户专有。

    组件列表

    如何使用

    • 使用该仓库前先确保项目里已有对应版本的XCharts。
    • 下载本仓库放入Assets下或者通过Package Manager导入。

    更新日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 增加UIStatistic
    • (2023.02.14) 增加UITable
    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/about/index.html b/docs/v3.8.1/about/index.html index c101c34c..a1554199 100644 --- a/docs/v3.8.1/about/index.html +++ b/docs/v3.8.1/about/index.html @@ -14,8 +14,8 @@ 关于XCharts | XCharts - - + +
    @@ -31,7 +31,7 @@ 答:XCharts只支持在Unity平台使用。理论上任何支持UGUIUnity版本都能运行XCharts

  • 锯齿怎么解决?支持多大量级的数据?
    答:XCharts是基于UGUI实现的,所以UGUI中碰到的问题,在XCharts中也会存在。比如锯齿问题,比如Mesh顶点数超65535的问题。这两个问题的解决可参考问答16问答27
    由于Mesh65535顶点数的限制,目前XCharts的单条Line支持约2万的数据量,当然开启采样可以支持更多数据的绘制,但同时也会更消耗CPU。

  • Licenses

    • MIT License
    • 可免费商用,可二次开发
    • 扩展图表和高级功能部分需单独购买授权

    日志

    订阅

    • XCharts核心库是开源的,可免费使用的。在此基础上,我们也提供多种订阅服务以满足不同用户的需求,订阅详情☞ 请看这里
    • 订阅不是必须的,不影响XCharts的常用功能使用。
    • 订阅是按年付费制,部分订阅服务的首年费用比次年要高,是因为包含了购买部分源码。次年的费用基本都是服务费。
    • 订阅到期后,不要求必须续订,但中断订阅期间无法享受技术支持等服务。如需继续服务,可从当日继续续订即可。

    其他

    • 邮箱:monitor1394@gmail.com
    • QQ群:XCharts交流群(202030963
    • VIP群:XCharts技术支持VIP群(867291970
    • 捐助、合作、订阅和技术支持:☞ 看这里
    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/api/index.html b/docs/v3.8.1/api/index.html index 0d30af46..e75fd9bc 100644 --- a/docs/v3.8.1/api/index.html +++ b/docs/v3.8.1/api/index.html @@ -14,8 +14,8 @@ API手册 | XCharts - - + +
    @@ -31,7 +31,7 @@ UI组件基类。

    public methodsincedescription
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。

    UIHelper

    XCharts.Runtime.UIHelper UI帮助类。

    public methodsincedescription
    GetBackgroundColor()public static Color32 GetBackgroundColor(UIComponent component)

    VisualMapContext

    XCharts.Runtime.VisualMapContext : MainComponentContext

    VisualMapHelper

    XCharts.Runtime.VisualMapHelper

    public methodsincedescription
    AutoSetLineMinMax()public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
    GetDimension()public static int GetDimension(VisualMap visualMap, int defaultDimension)
    IsNeedAreaGradient()public static bool IsNeedAreaGradient(VisualMap visualMap)
    IsNeedGradient()public static bool IsNeedGradient(VisualMap visualMap)
    IsNeedLineGradient()public static bool IsNeedLineGradient(VisualMap visualMap)
    SetMinMax()public static void SetMinMax(VisualMap visualMap, double min, double max)

    XChartsMgr

    XCharts.Runtime.XChartsMgr

    public methodsincedescription
    AddChart()public static void AddChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(string chartName)
    GetChart()public static BaseChart GetChart(string chartName)
    GetCharts()public static List<BaseChart> GetCharts(string chartName)
    GetPackageFullPath()public static string GetPackageFullPath()
    GetRepeatChartNameInfo()public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
    IsRepeatChartName()public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
    RemoveAllChartObject()public static void RemoveAllChartObject()
    RemoveChart()public static void RemoveChart(string chartName)

    XCResourceImporterWindow

    XCharts.Runtime.XCResourceImporterWindow : UnityEditor.EditorWindow

    public methodsincedescription
    ShowPackageImporterWindow()public static void ShowPackageImporterWindow()

    XCThemeMgr

    XCharts.Runtime.XCThemeMgr

    public methodsincedescription
    AddTheme()public static void AddTheme(Theme theme)
    CheckReloadTheme()public static void CheckReloadTheme()
    ContainsTheme()public static bool ContainsTheme(string themeName)
    ExportTheme()public static bool ExportTheme(Theme theme)
    ExportTheme()public static bool ExportTheme(Theme theme, string themeNewName)
    GetAllThemeNames()public static List<string> GetAllThemeNames()
    GetTheme()public static Theme GetTheme(string themeName)
    GetTheme()public static Theme GetTheme(ThemeType type)
    GetThemeAssetPath()public static string GetThemeAssetPath(string themeName)
    GetThemeList()public static List<Theme> GetThemeList()
    LoadTheme()public static Theme LoadTheme(string themeName)
    LoadTheme()public static Theme LoadTheme(ThemeType type)
    ReloadThemeList()public static void ReloadThemeList()
    重新加载主题列表
    SwitchTheme()public static void SwitchTheme(BaseChart chart, string themeName)

    XLog

    XCharts.Runtime.XLog : MonoBehaviour 日志系统。用于输出带日期和日志类型的日志,支持输出到文件,支持自定义输出的日志类型。

    public methodsincedescription
    CanLog()public static bool CanLog(int level)
    ClearAllLog()public static void ClearAllLog()
    Debug()public static void Debug(string log)
    EnableLog()public static void EnableLog(int logType)
    Error()public static void Error(string log)
    FlushLog()public static void FlushLog()
    GetNowTime()public static string GetNowTime(string formatter = null)
    GetTimestamp()public static ulong GetTimestamp()
    Info()public static void Info(string log)
    Log()public static void Log(string log)
    LogError()public static void LogError(string log)
    LogWarning()public static void LogWarning(string log)
    Proto()public static void Proto(string log)
    Vital()public static void Vital(string log)
    Warning()public static void Warning(string log)
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/bar3d/index.html b/docs/v3.8.1/bar3d/index.html index c40bbb15..76720fea 100644 --- a/docs/v3.8.1/bar3d/index.html +++ b/docs/v3.8.1/bar3d/index.html @@ -14,14 +14,14 @@ Bar3DChart 3D柱图 | XCharts - - + +
    Version: v3.8.1

    Bar3DChart 3D柱图

    XCharts的付费扩展图表 - 3D柱图。

    截图

    Bar3D01Bar3D02Bar3D03Bar3D04Bar3D05
    Bar3D07Bar3D08Bar3D09Bar3D10

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0
    • (2023.02.14) 增加Bar3DStyletopColorbottomColorsideColor参数支持

    v3.5.0

    • (2022.11.29) 增加SeriebarMaxWidth参数支持
    • (2022.11.27) 增加SerieItemStylebackgroundColor参数支持
    • (2022.11.27) 增加SeriecolorBy的支持
    • (2022.11.27) 更新文档

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    v3.1.0

    • (2022.07.14) 发布v3.1.0版本
    • (2022.07.14) 增加bottomColorRate,cylinderRate参数
    • (2022.07.14) 调整topColorBurnRate改名为topColorRate
    • (2022.07.14) 调整sideColorBurnRate改名为sideColorRate
    • (2022.07.14) 调整dire改名为cubeDire
    • (2022.07.14) 支持Cylinder圆柱和Cube立方柱

    API

    Bar3DChart

    XCharts.Runtime.Bar3Ds.Bar3DChart : BaseChart

    配置项手册

    Bar3D

    XCharts.Runtime.Bar3Ds.Bar3D : Serie, INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    fielddefaultsincecomment
    bar3DTypev3.1.0
    Bar3DType:
    - Cube: 立方柱。
    - Cylinder: 圆柱。
    bar3DStyleBar3DStyle

    Bar3DStyle

    XCharts.Runtime.Bar3Ds.Bar3DStyle : ChildComponent

    fielddefaultsincecomment
    showtrue
    verticalArrangefalse是否垂直排列。
    verticalArrangeDireVector3(-1, 1)垂直排列时的方向。
    verticalArrangeGap0.5f垂直排列时两个柱子间的间隙。
    barOffsetVector3.zero柱子偏移。
    widthRate0.5f方形柱侧边宽度相对正面的比例。
    topColorRate0.8f柱子顶部相对正面的颜色比例。
    bottomColorRate1f柱子底部相对正面的颜色比例。
    sideColorRate0.7f方形柱侧边相对正面的颜色比例。
    cubeDireVector3(1, 1)方形柱形成3D效果的方向。
    cylinderRate0.5fv3.1.0圆柱的顶部椭圆比列。
    topColorv3.6.0
    bottomColorv3.6.0
    sideColorv3.6.0
    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/changelog/index.html b/docs/v3.8.1/changelog/index.html index d23d912f..34265ccc 100644 --- a/docs/v3.8.1/changelog/index.html +++ b/docs/v3.8.1/changelog/index.html @@ -14,8 +14,8 @@ 更新日志 | XCharts - - + +
    @@ -80,7 +80,7 @@ v0.8.0
    v0.5.0
    v0.1.0

    master

    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) 增加PieradiusGradient可设置半径方向的渐变效果
    • (2023.09.05) 优化LabelLinelineEndXPie中的表现
    • (2023.09.05) 修复TriggerTooltip()接口对Ring无效的问题
    • (2023.09.05) 修复Radar数据全为0时绘制报错的问题

    v3.8.0

    版本要点:

    • 重构Animation动画系统,增加新增动画交互动画的支持
    • 完善PieChart的动画交互表现
    • 增加SymbolEmptyTriangleEmptyDiamondPlusMinus四种新标记
    • 完善Chart的鼠标交互回调
    • 增加LabelLine可固定横坐标的功能
    • 增加GridLayout网格布局组件
    • 增加TooltipAuto类型
    • 优化和修复若干其他问题

    日志详情:

    • (2023.09.03) 发布v3.8.0版本
    • (2023.09.01) 增加TooltipAuto自动设置显示类型和触发类型
    • (2023.08.29) 增加RinggridIndex支持设置指定网格
    • (2023.08.29) 增加RadargridIndex支持设置指定网格
    • (2023.08.29) 增加PiegridIndex支持设置指定网格
    • (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) 修复YAxisLabel可能会重复的问题
    • (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本地开启TextMeshProNewInputSystem后更新版本会报错的问题 (#272)
    • (2023.08.12) 修复Chart在运行时被删除时会异常报错的问题 (#269)
    • (2023.08.11) 修复DataZoom开启时可能会导致无法添加数据的问题
    • (2023.08.11) 修复SerieData单独设置ItemStyleitemFormatter不生效的问题
    • (2023.08.10) 优化BarChartTooltipTriggerItem时的表现
    • (2023.08.09) 增加Axis可通过设置IconStylecolorclear来实现动态图标颜色的支持
    • (2023.08.08) 增加PieLabelLinelineEndX的支持
    • (2023.08.05) 整理Examples的代码,删除不必要的用例
    • (2023.08.04) 增加LabelLinelineEndX可设置引导线固定X位置的支持
    • (2023.08.04) 增加RingavoidLabelOverlap避免文本堆叠的支持 (#247)
    • (2023.08.03) 完善ChartonSerieEnteronSerieExitonSerieClick回调
    • (2023.08.02) 修复BarChartonSerieEnteronSerieExit回调无效的问题
    • (2023.08.02) 增加SymbolPlus加号和Minus减号的支持
    • (2023.07.31) 增加SymbolEmptyTriangleEmptyDiamond的支持,优化Symbol表现效果
    • (2023.07.31) 优化Line的默认配置效果
    • (2023.07.27) 增加SerieminRadius可设置最小半径
    • (2023.07.26) 增加MLValue多样式数值
    • (2023.07.25) 增加XLog日志系统
    • (2023.07.18) 完善Pie饼图的交互动画效果
    • (2023.07.14) 增加AnimationInteraction交互动画配置支持
    • (2023.07.11) 增加AnimationAddition新增动画配置支持
    • (2023.07.11) 重构Animation动画系统,完善动画体验
    • (2023.06.30) 增加PolarCoodindicatorLabelOffset设置指示文本偏移的支持
    • (2023.06.30) 修复AxisIndicatorLabel的背景颜色可能不正常的问题
    • (2023.06.30) 增加AxisIndicatorLabel可自定义color的支持
    • (2023.06.12) 修复AxisLabelformatterFunction在数值轴时value不对的问题

    v3.7.0

    版本要点:

    • 增加HelpDoc官网帮助文档跳转
    • 增加LineClip的支持
    • 优化Axis的范围设置
    • 其他优化和修复

    日志详情:

    • (2023.06.08) 发布v3.7.0版本
    • (2023.06.04) 增加HelpDoc帮助文档跳转
    • (2023.05.30) 修复Serie的名字带_线导致Legend无法触发的问题 (#259) (by svr2kos2)
    • (2023.05.10) 增加AxisMinMaxAuto范围类型
    • (2023.05.10) 增加LineClip的支持
    • (2023.05.04) 优化Axis在-1到1范围时设置CeilRate不生效的问题
    • (2023.05.04) 优化AxisMinMax类型范围计算
    • (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) 增加BaseChartTriggerTooltip()接口尝试触发ToolTip
    • (2023.04.12) 优化RadarCood设置startAngle时文本也跟随调整位置
    • (2023.04.12) 增加Radar对通配符{b}的支持
    • (2023.04.11) 修复Inspector在动态添加组件时可能异常的问题

    v3.6.0

    版本要点:

    • 增加InputSystem支持 (by Bian-Sh)
    • 增加官网在线示例多版本支持 (by SHL-COOL)
    • 完善对VR的支持 (by Ambitroc)
    • 增加UITableUIStatistic扩展UI组件
    • 增加ItemStyleMarkColor
    • 增加通配符{h}的支持
    • 优化TooltipLegendDataZoomAxis等组件
    • 重构相关API接口,完善回调接口
    • 修复若干问题

    升级注意:

    • 部分接口有调整,可根据提示更换下接口即可。

    日志详情:

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.14) 修复TooltiptitleFormater设置{b}可能不生效的问题
    • (2023.03.14) 修复BarChart在数据为0时不绘制柱条背景的问题 (#250) (by Ambitroc)
    • (2023.03.12) 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转
    • (2023.03.10) 增加VR等其他非鼠标输入方式的Point位置获取 (#248) (by Ambitroc)
    • (2023.03.09) 增加ChartonSerieClickonSerieDownonSerieEnteronSerieExit回调
    • (2023.03.09) 修复Pie的点击选中偏移不生效的问题
    • (2023.03.04) 增加LegendPositions可自定义图例的位置
    • (2023.03.03) 修复Animation变更动画可能无效的问题
    • (2023.02.28) 修复Legend点击时SerieLabel不刷新的问题
    • (2023.02.26) 增加DataZoomstartEndFunction委托
    • (2023.02.12) 重构Component相关代码,调整API接口
    • (2023.02.10) 修复AxisLog轴时某些情况下最小值不正确的问题
    • (2023.02.10) 优化Axis的数值Label的默认显示格式
    • (2023.02.08) 增加DataZoomstartLockendLock参数支持锁定
    • (2023.02.02) 修复DataZoom开启时X轴Label可能会显示在图表外的问题
    • (2023.02.02) 优化SerieDataignore设置时的忽略数据判断
    • (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) 删除SerieMarkColor,增加ItemStyleMarkColor
    • (2022.12.29) 增加EditorList+添加编辑功能
    • (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) 修复AxisValue轴在某些情况下计算数值范围不准确的问题
    • (2022.12.12) 优化Legendformatter支持{h}通配符
    • (2022.12.12) 修复Legendformatter设置为固定值时显示不正常的问题
    • (2022.12.08) 增加AreaStyletoTop参数可设置折线图渐变色是到顶部还是到实际位置
    • (2022.12.07) 增加Formatter的文本通配符{h}支持设置当前颜色值

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Convert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/configuration/index.html b/docs/v3.8.1/configuration/index.html index 4e90b37a..5dbae4bb 100644 --- a/docs/v3.8.1/configuration/index.html +++ b/docs/v3.8.1/configuration/index.html @@ -14,13 +14,13 @@ 配置项手册 | XCharts - - + +
    Version: v3.8.1

    配置项手册

    Serie 系列

    Theme 主题

    MainComponent 主组件

    ChildComponent 子组件

    ISerieComponent 可添加到Serie的组件

    ISerieDataComponent 可添加到SerieData的组件

    Other 其他

    AngleAxis

    XCharts.Runtime.AngleAxis : Axis

    极坐标系的角度轴。

    fielddefaultsincecomment
    startAngle0起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    XCharts.Runtime.AngleAxisTheme : BaseAxisTheme

    AnimationAddition

    XCharts.Runtime.AnimationAddition : AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    XCharts.Runtime.AnimationChange : AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    XCharts.Runtime.AnimationFadeIn : AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    XCharts.Runtime.AnimationFadeOut : AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    XCharts.Runtime.AnimationHiding : AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    XCharts.Runtime.AnimationInfo / Subclasses: AnimationFadeIn, AnimationFadeOut, AnimationChange, AnimationAddition, AnimationHiding, AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    fielddefaultsincecomment
    enabletruev3.8.0是否开启动画效果。
    reversefalsev3.8.0是否开启反向动画效果。
    delay0v3.8.0动画开始前的延迟时间。
    duration1000v3.8.0动画的时长。

    AnimationInteraction

    XCharts.Runtime.AnimationInteraction : AnimationInfo

    v3.8.0 开始支持

    交互动画。

    fielddefaultsincecomment
    widthv3.8.0宽度的多样式数值。 MLValue
    radiusv3.8.0半径的多样式数值。 MLValue
    offsetv3.8.0交互的多样式数值。如饼图的扇形选中时的偏移。 MLValue

    AnimationStyle

    XCharts.Runtime.AnimationStyle : ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    fielddefaultsincecomment
    enabletrue是否开启动画效果。
    type动画类型。
    AnimationType:
    - Default: 默认。内部会根据实际情况选择一种动画播放方式。
    - LeftToRight: 从左往右播放动画。
    - BottomToTop: 从下往上播放动画。
    - InsideOut: 由内到外播放动画。
    - AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    - Clockwise: 顺时针播放动画。
    easting
    AnimationEasing:
    - Linear:
    threshold2000是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
    unscaledTimev3.4.0动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。
    fadeInv3.8.0渐入动画配置。 AnimationFadeIn
    fadeOutv3.8.0渐出动画配置。 AnimationFadeOut
    changev3.8.0数据变更动画配置。 AnimationChange
    additionv3.8.0数据新增动画配置。 AnimationAddition
    hidingv3.8.0数据隐藏动画配置。 AnimationHiding
    interactionv3.8.0交互动画配置。 AnimationInteraction

    AreaStyle

    XCharts.Runtime.AreaStyle : ChildComponent, ISerieComponent, ISerieDataComponent

    区域填充样式。

    fielddefaultsincecomment
    showtrue是否显示区域填充。
    origin区域填充的起始位置。
    AreaStyle.AreaOrigin:
    - Auto: 填充坐标轴轴线到数据间的区域。
    - Start: 填充坐标轴底部到数据间的区域。
    - End: 填充坐标轴顶部到数据间的区域。
    color区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。
    toColor渐变色的终点颜色。
    opacity0.6f图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    innerFillv3.2.0是否只填充多边形区域。目前只支持凸多边形。
    toToptruev3.6.0渐变色是到顶部还是到实际位置。默认为true到顶部。

    ArrowStyle

    XCharts.Runtime.ArrowStyle : ChildComponent

    fielddefaultsincecomment
    width10箭头宽。
    height15箭头高。
    offset0箭头偏移。
    dent3箭头的凹度。
    colorColor.clear箭头颜色。

    Axis

    XCharts.Runtime.Axis : MainComponent / Subclasses: AngleAxis, ParallelAxis, RadiusAxis, SingleAxis, XAxis, YAxis

    直角坐标系的坐标轴组件。

    fielddefaultsincecomment
    showtrue是否显示坐标轴。
    type坐标轴类型。
    Axis.AxisType:
    - Value: 数值轴。适用于连续数据。
    - Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    - Log: 对数轴。适用于对数数据。
    - Time: 时间轴。适用于连续的时序数据。
    minMaxType坐标轴刻度最大最小值显示类型。
    Axis.AxisMinMaxType:
    - Default: 0-最大值。
    - MinMax: 最小值-最大值。
    - Custom: 自定义最小值最大值。
    - MinMaxAuto: [since("v3.7.0")]最小值-最大值。自动计算合适的值。
    gridIndex坐标轴所在的 grid 的索引,默认位于第一个 grid。
    polarIndex坐标轴所在的 ploar 的索引,默认位于第一个 polar。
    parallelIndex坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
    position坐标轴在Grid中的位置。
    Axis.AxisPosition:
    - Left: 坐标轴在Grid中的位置
    - Right: 坐标轴在Grid中的位置
    - Bottom: 坐标轴在Grid中的位置
    - Top: 坐标轴在Grid中的位置
    offset坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
    min设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
    max设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
    splitNumber0坐标轴的期望的分割段数。默认为0表示自动分割。
    interval0强制设置坐标轴分割间隔。无法在类目轴中使用。
    boundaryGaptrue坐标轴两边是否留白。只对类目轴有效。
    maxCache0The first data will be remove when the size of axis data is larger then maxCache.
    logBase10对数轴的底数,只在对数轴(type:'Log')中有效。
    logBaseEfalse对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    inversefalse是否反向坐标轴。在类目轴中无效。
    clockwisetrue刻度增长是否按顺时针,默认顺时针。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    icons类目数据对应的图标。
    data类目数据,在类目轴(type: 'category')中有效。
    axisLine坐标轴轴线。 AxisLine
    axisName坐标轴名称。 AxisName
    axisTick坐标轴刻度。 AxisTick
    axisLabel坐标轴刻度标签。 AxisLabel
    splitLine坐标轴分割线。 AxisSplitLine
    splitArea坐标轴分割区域。 AxisSplitArea
    minorTickv3.2.0坐标轴次刻度。 AxisMinorTick
    minorSplitLinev3.2.0坐标轴次分割线。 AxisMinorSplitLine
    indicatorLabelv3.4.0指示器文本的样式。Tooltip为Cross时使用。 LabelStyle

    AxisLabel

    XCharts.Runtime.AxisLabel : LabelStyle

    坐标轴刻度标签的相关设置。

    fielddefaultsincecomment
    interval0坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    insidefalse刻度标签是否朝内,默认朝外。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。
    onZerofalse刻度标签显示在0刻度上。
    showStartLabeltrue是否显示第一个文本。
    showEndLabeltrue是否显示最后一个文本。
    textLimit文本限制。 TextLimit

    AxisLine

    XCharts.Runtime.AxisLine : BaseLine

    坐标轴轴线。

    fielddefaultsincecomment
    onZeroX 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。
    showArrow是否显示箭头。
    arrow轴线箭头。 ArrowStyle

    AxisMinorSplitLine

    XCharts.Runtime.AxisMinorSplitLine : BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    fielddefaultsincecomment
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。

    AxisMinorTick

    XCharts.Runtime.AxisMinorTick : BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    fielddefaultsincecomment
    splitNumber5分隔线之间分割的刻度数。
    autoColor

    AxisName

    XCharts.Runtime.AxisName : ChildComponent

    坐标轴名称。

    fielddefaultsincecomment
    show是否显示坐标轴名称。
    name坐标轴名称。
    onZerov3.1.0坐标轴名称的位置是否保持和Y轴0刻度一致。
    labelStyle文本样式。 LabelStyle

    AxisSplitArea

    XCharts.Runtime.AxisSplitArea : ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    fielddefaultsincecomment
    show是否显示分隔区域。
    color分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitLine

    XCharts.Runtime.AxisSplitLine : BaseLine

    坐标轴在 grid 区域中的分隔线。

    fielddefaultsincecomment
    interval坐标轴分隔线的显示间隔。
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。
    showStartLinetruev3.3.0是否显示第一条分割线。
    showEndLinetruev3.3.0是否显示最后一条分割线。

    AxisTheme

    XCharts.Runtime.AxisTheme : BaseAxisTheme

    AxisTick

    XCharts.Runtime.AxisTick : BaseLine

    坐标轴刻度相关设置。

    fielddefaultsincecomment
    alignWithLabel类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。
    inside坐标轴刻度是否朝内,默认朝外。
    showStartTick是否显示第一个刻度。
    showEndTick是否显示最后一个刻度。
    distance刻度线与轴线的距离。
    splitNumber0分隔线之间分割的刻度数。
    autoColor

    Background

    XCharts.Runtime.Background : MainComponent

    背景组件。

    fielddefaultsincecomment
    showtrue是否启用背景组件。
    image背景图。
    imageType背景图填充类型。
    imageColor背景图颜色。
    autoColortrue当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。

    Bar

    XCharts.Runtime.Bar : Serie, INeedSerieContainer

    BaseAxisTheme

    XCharts.Runtime.BaseAxisTheme : ComponentTheme / Subclasses: AxisTheme, RadiusAxisTheme, AngleAxisTheme, PolarAxisTheme, RadarAxisTheme

    fielddefaultsincecomment
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f坐标轴线宽。
    lineLength0f坐标轴线长。
    lineColor坐标轴线颜色。
    splitLineType分割线线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    splitLineWidth1f分割线线宽。
    splitLineLength0f分割线线长。
    splitLineColor分割线线颜色。
    minorSplitLineColor次分割线线颜色。
    tickWidth1f刻度线线宽。
    tickLength5f刻度线线长。
    tickColor坐标轴线颜色。
    splitAreaColors坐标轴分隔区域的颜色。

    BaseLine

    XCharts.Runtime.BaseLine : ChildComponent / Subclasses: AxisLine, AxisMinorSplitLine, AxisMinorTick, AxisSplitLine, AxisTick

    线条基础配置。

    fielddefaultsincecomment
    show是否显示坐标轴轴线。
    lineStyle线条样式 LineStyle

    BaseScatter

    XCharts.Runtime.BaseScatter : Serie, INeedSerieContainer / Subclasses: EffectScatter, Scatter

    BaseSerie

    XCharts.Runtime.BaseSerie / Subclasses: Serie

    BlurStyle

    XCharts.Runtime.BlurStyle : StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    CalendarCoord

    XCharts.Runtime.CalendarCoord : CoordSystem, IUpdateRuntimeData, ISerieContainer

    Candlestick

    XCharts.Runtime.Candlestick : Serie, INeedSerieContainer

    ChartText

    XCharts.Runtime.ChartText

    ChildComponent

    XCharts.Runtime.ChildComponent / Subclasses: AnimationStyle, AxisName, AxisSplitArea, AreaStyle, ArrowStyle, BaseLine, IconStyle, ImageStyle, ItemStyle, Level, LevelStyle, LineArrow, LineStyle, Location, MLValue, MarqueeStyle, Padding, StageColor, SymbolStyle, TextLimit, TextStyle, CommentItem, CommentMarkStyle, LabelLine, LabelStyle, MarkAreaData, MarkLineData, StateStyle, VisualMapRange, UIComponentTheme, SerieData, ComponentTheme, SerieTheme, ThemeStyle

    Comment

    XCharts.Runtime.Comment : MainComponent, IPropertyChanged

    图表注解组件。

    fielddefaultsincecomment
    showtrue是否显示注解组件。
    labelStyle所有组件的文本样式。 LabelStyle
    markStyle所有组件的文本样式。 CommentMarkStyle
    items注解项。每个注解组件可以设置多个注解项。

    CommentItem

    XCharts.Runtime.CommentItem : ChildComponent

    注解项。

    fielddefaultsincecomment
    showtrue是否显示当前注解项。
    content注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。
    markRect注解区域。
    markStyle注解标记区域样式。 CommentMarkStyle
    labelStyle注解项的文本样式。 LabelStyle
    locationv3.5.0Comment显示的位置。 Location

    CommentMarkStyle

    XCharts.Runtime.CommentMarkStyle : ChildComponent

    注解项区域样式。

    fielddefaultsincecomment
    showtrue是否显示当前注解项。
    lineStyle线条样式。 LineStyle

    ComponentTheme

    XCharts.Runtime.ComponentTheme : ChildComponent / Subclasses: BaseAxisTheme, DataZoomTheme, LegendTheme, SubTitleTheme, TitleTheme, TooltipTheme, VisualMapTheme

    fielddefaultsincecomment
    font字体。
    textColor文本颜色。
    textBackgroundColor文本颜色。
    fontSize18文本字体大小。
    tMPFont字体。

    CoordSystem

    XCharts.Runtime.CoordSystem : MainComponent / Subclasses: RadarCoord, CalendarCoord, GridCoord, ParallelCoord, PolarCoord, SingleAxisCoord

    坐标系系统。

    DataZoom

    XCharts.Runtime.DataZoom : MainComponent, IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    fielddefaultsincecomment
    enabletrue是否显示缩放区域。
    filterMode数据过滤类型。
    DataZoom.FilterMode:
    - Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    - WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    - Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    - None: 不过滤数据,只改变数轴范围。
    xAxisIndexs控制的 x 轴索引列表。
    yAxisIndexs控制的 y 轴索引列表。
    supportInside是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
    supportInsideScrolltrue是否支持坐标系内滚动
    supportInsideDragtrue是否支持坐标系内拖拽
    supportSlider是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。
    supportMarquee是否支持框选。提供一个选框进行数据区域缩放。
    showDataShadow是否显示数据阴影。数据阴影可以简单地反应数据走势。
    showDetail是否显示detail,即拖拽时候显示详细数值信息。
    zoomLock是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    borderWidth边框宽。
    backgroundColor组件的背景颜色。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    rangeMode取绝对值还是百分比。
    DataZoom.RangeMode:
    - //Value: The value type of start and end.取值类型
    - Percent: 百分比。
    start数据窗口范围的起始百分比。范围是:0 ~ 100。
    end数据窗口范围的结束百分比。范围是:0 ~ 100。
    minShowNum2最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。
    scrollSensitivity1.1f缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。
    orient布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    labelStyle文本标签格式。 LabelStyle
    lineStyle阴影线条样式。 LineStyle
    areaStyle阴影填充样式。 AreaStyle
    marqueeStylev3.5.0选取框样式。 MarqueeStyle
    startLockv3.6.0固定起始值,不让改变。
    endLockv3.6.0固定结束值,不让改变。

    DataZoomTheme

    XCharts.Runtime.DataZoomTheme : ComponentTheme

    fielddefaultsincecomment
    borderWidth边框线宽。
    dataLineWidth数据阴影线宽。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    dataLineColor数据阴影的线条颜色。
    dataAreaColor数据阴影的填充颜色。
    backgroundColor背景颜色。

    DebugInfo

    XCharts.Runtime.DebugInfo

    fielddefaultsincecomment
    showtrue是否显示Debug组件。
    showDebugInfofalse
    showAllChartObjectfalse是否在Hierarchy试图显示所有chart下的节点。
    foldSeriesfalse是否在Inspector上折叠Serie。
    labelStyleLabelStyle

    EffectScatter

    XCharts.Runtime.EffectScatter : BaseScatter

    EmphasisStyle

    XCharts.Runtime.EmphasisStyle : StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    fielddefaultsincecomment
    scale1.1f高亮时的缩放倍数。
    focus在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。
    EmphasisStyle.FocusType:
    - None: 不淡出其它图形,默认使用该配置。
    - Self: 只聚焦(不淡出)当前高亮的数据的图形。
    - Series: 聚焦当前高亮的数据所在的系列的所有图形。
    blurScope在开启focus的时候,可以通过blurScope配置淡出的范围。
    EmphasisStyle.BlurScope:
    - GridCoord: 淡出范围为坐标系,默认使用该配置。
    - Series: 淡出范围为系列。
    - Global: 淡出范围为全局。

    EndLabelStyle

    XCharts.Runtime.EndLabelStyle : LabelStyle

    GridCoord

    XCharts.Runtime.GridCoord : CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    fielddefaultsincecomment
    showtrue是否显示直角坐标系网格。
    layoutIndex-1v3.8.0网格所属的网格布局组件的索引。默认为-1,表示不属于任何网格布局组件。当设置了该值时,left、right、top、bottom属性将失效。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。
    showBorderfalse是否显示网格边框。
    borderWidth0f网格边框宽。
    borderColor网格边框颜色。

    GridLayout

    XCharts.Runtime.GridLayout : MainComponent, IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    fielddefaultsincecomment
    showtrue是否显示直角坐标系网格。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    row2网格布局的行数。
    column2网格布局的列数。
    spacingVector2.zero网格布局的间距。
    inversefalse是否反转网格布局。

    Heatmap

    XCharts.Runtime.Heatmap : Serie, INeedSerieContainer

    fielddefaultsincecomment
    heatmapTypev3.3.0热力图类型。通过颜色映射划分。
    HeatmapType:
    - Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    - Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    XCharts.Runtime.IconStyle : ChildComponent

    fielddefaultsincecomment
    showfalse是否显示图标。
    layer显示在上层还是在下层。
    IconStyle.Layer:
    - UnderText: The icon is display under the label text. 图标在标签文字下
    - AboveText: The icon is display above the label text. 图标在标签文字上
    align水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    sprite图标的图片。
    type图片的显示类型。
    color图标颜色。
    width20图标宽。
    height20图标高。
    offset图标偏移。
    autoHideWhenLabelEmptyfalse当label内容为空时是否自动隐藏图标

    ImageStyle

    XCharts.Runtime.ImageStyle : ChildComponent, ISerieComponent, ISerieDataComponent

    fielddefaultsincecomment
    showtrue是否显示图标。
    sprite图标的图片。
    type图片的显示类型。
    autoColor是否自动颜色。
    color图标颜色。
    width0图标宽。
    height0图标高。

    Indicator

    XCharts.Runtime.Indicator

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    fielddefaultsincecomment
    name指示器名称。
    max指示器的最大值,默认为 0 无限制。
    min指示器的最小值,默认为 0 无限制。
    range正常值范围。当数值不在这个范围时,会自动变更显示颜色。
    show是否显示雷达坐标系组件。
    shape雷达图绘制类型,支持 'Polygon' 和 'Circle'。
    radius100雷达图的半径。
    splitNumber5指示器轴的分割段数。
    center雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    axisLine轴线。 AxisLine
    axisName雷达图每个指示器名称的配置项。 AxisName
    splitLine分割线。 AxisSplitLine
    splitArea分割区域。 AxisSplitArea
    indicatortrue是否显示指示器。
    positionType显示位置类型。
    indicatorGap10指示器和雷达的间距。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    isAxisTooltip是否Tooltip显示轴线上的所有数据。
    outRangeColorColor.red数值超出范围时显示的颜色。
    connectCenterfalse数值是否连线到中心点。
    lineGradienttrue数值线段是否需要渐变。
    startAnglev3.4.0起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    indicatorList指示器列表。

    INeedSerieContainer

    XCharts.Runtime.INeedSerieContainer / Subclasses: Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Radar, BaseScatter

    IPropertyChanged

    XCharts.Runtime.IPropertyChanged / Subclasses: Location, Comment, Legend, Title

    属性变更接口

    ISerieComponent

    XCharts.Runtime.ISerieComponent / Subclasses: AreaStyle, ImageStyle, LineArrow, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于Serie的组件。

    ISerieContainer

    XCharts.Runtime.ISerieContainer / Subclasses: RadarCoord, CalendarCoord, GridCoord, ParallelCoord, PolarCoord

    ISerieDataComponent

    XCharts.Runtime.ISerieDataComponent / Subclasses: AreaStyle, ImageStyle, ItemStyle, LineStyle, SerieSymbol, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    XCharts.Runtime.ISimplifiedSerie / Subclasses: SimplifiedBar, SimplifiedCandlestick, SimplifiedLine

    ItemStyle

    XCharts.Runtime.ItemStyle : ChildComponent, ISerieDataComponent

    图形样式。

    fielddefaultsincecomment
    showtrue是否启用。
    color数据项颜色。
    color0数据项颜色。
    toColor渐变色的颜色1。
    toColor2渐变色的颜色2。只在折线图中有效。
    markColorv3.6.0Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。
    backgroundColor数据项背景颜色。
    backgroundWidth数据项背景宽度。
    centerColor中心区域颜色。
    centerGap中心区域间隙。
    borderWidth0边框宽。
    borderGap0边框间隙。
    borderColor边框的颜色。
    borderColor0边框的颜色。
    borderToColor边框的渐变色。
    opacity1透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    itemMarker提示框单项的字符标志。用在Tooltip中。
    itemFormatter提示框单项的字符串模版格式器。具体配置参考Tooltipformatter
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    IUpdateRuntimeData

    XCharts.Runtime.IUpdateRuntimeData / Subclasses: SingleAxis, DataZoom, CalendarCoord, GridCoord, GridLayout, ParallelCoord

    LabelLine

    XCharts.Runtime.LabelLine : ChildComponent, ISerieComponent, ISerieDataComponent

    标签的引导线

    fielddefaultsincecomment
    showtrue是否显示视觉引导线。
    lineType视觉引导线类型。
    LabelLine.LineType:
    - BrokenLine: 折线
    - Curves: 曲线
    - HorizontalLine: 水平线
    lineColorColor32(0,0,0,0)视觉引导线颜色。默认和serie一致取自调色板。
    lineAngle60视觉引导线的固定角度。对折线和曲线有效。在Pie中无效。
    lineWidth1.0f视觉引导线的宽度。
    lineGap1.0f视觉引导线和容器的间距。
    lineLength125f视觉引导线第一段的长度。
    lineLength215f视觉引导线第二段的长度。
    lineEndX0fv3.8.0视觉引导线结束点的固定x位置。当不为0时,会代替lineLength2设定引导线的x位置。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle

    LabelStyle

    XCharts.Runtime.LabelStyle : ChildComponent, ISerieComponent, ISerieDataComponent / Subclasses: AxisLabel, EndLabelStyle, TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    fielddefaultsincecomment
    showtrue是否显示文本标签。
    Position标签的位置。
    autoOffsetfalse是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。
    offset距离图形元素的偏移
    rotate文本的旋转。
    autoRotatefalsev3.6.0是否自动旋转。
    distance距离轴线的距离。
    formatter标签内容字符串模版格式器。支持用 \n 换行。 模板变量有: {.}:圆点标记。 {a}:系列名。 {a}:系列名。 {b}:类目值或数据名。 {c}:数据值。 {d}:百分比。 {e}:数据名。 {f}:数据和。 示例:“{b}:{c}”
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    width0标签的宽度。一般不用指定,不指定时则自动是文字的宽度。
    height0标签的高度。一般不用指定,不指定时则自动是文字的高度。
    icon图标样式。 IconStyle
    background背景图样式。 ImageStyle
    textPadding文本的边距。 TextPadding
    textStyle文本样式。 TextStyle

    Lang

    XCharts.Runtime.Lang : ScriptableObject

    国际化语言表。

    LangCandlestick

    XCharts.Runtime.LangCandlestick

    LangTime

    XCharts.Runtime.LangTime

    Legend

    XCharts.Runtime.Legend : MainComponent, IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    fielddefaultsincecomment
    showtrue是否显示图例组件。
    iconType图例类型。
    Legend.Type:
    - Auto: 自动匹配。
    - Custom: 自定义图标。
    - EmptyCircle: 空心圆。
    - Circle: 圆形。
    - Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    - Triangle: 三角形。
    - Diamond: 菱形。
    - Candlestick: 烛台(可用于K线图)。
    selectedMode选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。
    Legend.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    - None: 无法选择。
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location图例显示的位置。 Location
    itemWidth25.0f图例标记的图形宽度。
    itemHeight12.0f图例标记的图形高度。
    itemGap10f图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
    itemAutoColortrue图例标记的图形是否自动匹配颜色。
    itemOpacity1图例标记的图形的颜色透明度。
    formatter图例内容字符串模版格式器。支持用 \n 换行。 模板变量为图例名称 {value}。其他模板变量参考Toolip的itemFormatter。
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    labelStyle文本样式。 LabelStyle
    data图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。
    icons自定义的图例标记图形。
    colors图例标记的颜色列表。
    backgroundv3.1.0背景图样式。 ImageStyle
    paddingv3.1.0图例标记和背景的间距。 Padding
    positionsv3.6.0图例标记的自定义位置列表。

    LegendTheme

    XCharts.Runtime.LegendTheme : ComponentTheme

    fielddefaultsincecomment
    unableColor文本颜色。

    Level

    XCharts.Runtime.Level : ChildComponent

    fielddefaultsincecomment
    label文本标签样式。 LabelStyle
    upperLabel上方的文本标签样式。 LabelStyle
    itemStyle数据项样式。 ItemStyle

    LevelStyle

    XCharts.Runtime.LevelStyle : ChildComponent

    fielddefaultsincecomment
    showfalse是否启用LevelStyle
    levels各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    Line

    XCharts.Runtime.Line : Serie, INeedSerieContainer

    LineArrow

    XCharts.Runtime.LineArrow : ChildComponent, ISerieComponent

    fielddefaultsincecomment
    show是否显示箭头。
    position箭头位置。
    LineArrow.Position:
    - End: 末端箭头
    - Start: 头端箭头
    arrow箭头。 ArrowStyle

    LineStyle

    XCharts.Runtime.LineStyle : ChildComponent, ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    fielddefaultsincecomment
    showtrue是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。
    type线的类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    color线的颜色。
    toColor线的渐变颜色(需要水平方向渐变时)。
    toColor2线的渐变颜色2(需要水平方向三个渐变色的渐变时)。
    width0线宽。
    length0线长。
    opacity1线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    dashLength4v3.8.1虚线的长度。默认0时为线条宽度的12倍。在折线图中代表分割段数的倍数。
    dotLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。
    gapLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。

    Location

    XCharts.Runtime.Location : ChildComponent, IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    fielddefaultsincecomment
    align对齐方式。
    Location.Align:
    - TopLeft: 对齐方式
    - TopRight: 对齐方式
    - TopCenter: 对齐方式
    - BottomLeft: 对齐方式
    - BottomRight: 对齐方式
    - BottomCenter: 对齐方式
    - Center: 对齐方式
    - CenterLeft: 对齐方式
    - CenterRight: 对齐方式
    left离容器左侧的距离。
    right离容器右侧的距离。
    top离容器上侧的距离。
    bottom离容器下侧的距离。

    MainComponent

    XCharts.Runtime.MainComponent : IComparable / Subclasses: Axis, Background, Comment, DataZoom, Legend, MarkArea, MarkLine, Settings, Title, Tooltip, VisualMap, GridLayout, CoordSystem

    MarkArea

    XCharts.Runtime.MarkArea : MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    fielddefaultsincecomment
    showtrue是否显示标域。
    textThe text of markArea. 标域显示的文本。
    serieIndex0Serie index of markArea. 标域影响的Serie索引。
    start标域范围的起始数据。 MarkAreaData
    end标域范围的结束数据。 MarkAreaData
    itemStyle标域样式。 ItemStyle
    label标域文本样式。 LabelStyle

    MarkAreaData

    XCharts.Runtime.MarkAreaData : ChildComponent

    标域的数据。

    fielddefaultsincecomment
    type特殊的标域类型,用于标注最大值最小值等。
    MarkAreaType:
    - None: 标域类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标注名称。会作为文字显示。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    XCharts.Runtime.MarkLine : MainComponent

    图表标线。

    fielddefaultsincecomment
    showtrue是否显示标线。
    serieIndex0标线影响的Serie索引。
    animation标线的动画样式。 AnimationStyle
    data标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLineData

    XCharts.Runtime.MarkLineData : ChildComponent

    图表标线的数据。

    fielddefaultsincecomment
    type特殊的标线类型,用于标注最大值最小值等。
    MarkLineType:
    - None: 标线类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    group0分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。
    zeroPositionfalse是否为坐标系原点。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle
    lineStyle标线样式。 LineStyle
    label文本样式。可设置position为Start、Middle和End在不同的位置显示文本。 LabelStyle

    MarqueeStyle

    XCharts.Runtime.MarqueeStyle : ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    fielddefaultsincecomment
    applyfalsev3.5.0选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。
    realRectfalsev3.5.0是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。
    areaStylev3.5.0选取框区域填充样式。 AreaStyle
    lineStylev3.5.0选取框区域边框样式。 LineStyle

    MLValue

    XCharts.Runtime.MLValue : ChildComponent

    v3.8.0 开始支持

    多样式数值。

    fielddefaultsincecomment
    type
    MLValue.Type:
    - Percent: 百分比形式。
    - Absolute: 绝对值形式。
    - Extra: 额外形式。
    value

    Padding

    XCharts.Runtime.Padding : ChildComponent / Subclasses: TextPadding

    边距设置。

    fielddefaultsincecomment
    showtrueshow padding. 是否显示。
    top0顶部间距。
    right2f右部间距。
    left2f左边间距。
    bottom0底部间距。

    Parallel

    XCharts.Runtime.Parallel : Serie, INeedSerieContainer

    ParallelAxis

    XCharts.Runtime.ParallelAxis : Axis

    ParallelCoord

    XCharts.Runtime.ParallelCoord : CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    fielddefaultsincecomment
    showtrue是否显示直角坐标系网格。
    orient坐标轴朝向。默认为垂直朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。

    Pie

    XCharts.Runtime.Pie : Serie

    fielddefaultsincecomment
    radiusGradientfalsev3.8.1是否开启半径方向的渐变效果。

    PolarAxisTheme

    XCharts.Runtime.PolarAxisTheme : BaseAxisTheme

    PolarCoord

    XCharts.Runtime.PolarCoord : CoordSystem, ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    fielddefaultsincecomment
    showtrue是否显示极坐标。
    center极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    backgroundColor极坐标的背景色,默认透明。
    indicatorLabelOffset30fv3.8.0指示器标签的偏移量。

    Radar

    XCharts.Runtime.Radar : Serie, INeedSerieContainer

    fielddefaultsincecomment
    smoothfalsev3.2.0是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    XCharts.Runtime.RadarAxisTheme : BaseAxisTheme

    RadarCoord

    XCharts.Runtime.RadarCoord : CoordSystem, ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    XCharts.Runtime.RadiusAxis : Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    XCharts.Runtime.RadiusAxisTheme : BaseAxisTheme

    Ring

    XCharts.Runtime.Ring : Serie

    Scatter

    XCharts.Runtime.Scatter : BaseScatter

    SelectStyle

    XCharts.Runtime.SelectStyle : StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    XCharts.Runtime.Serie : BaseSerie, IComparable / Subclasses: SerieHandler<T>, Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Pie, Radar, Ring, BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    fielddefaultsincecomment
    index系列索引。
    showtrue系列是否显示在图表上。
    coordSystem使用的坐标系。
    serieType系列类型。
    serieName系列名称,用于 tooltip 的显示,legend 的图例筛选。
    statev3.2.0系列的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    colorByv3.2.0从主题中取色的策略。
    SerieColorBy:
    - Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略。
    - Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    - Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。
    stack数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。
    xAxisIndex0使用X轴的index。
    yAxisIndex0使用Y轴的index。
    radarIndex0雷达图所使用的 radar 组件的 index。
    vesselIndex0水位图所使用的 vessel 组件的 index。
    polarIndex0所使用的 polar 组件的 index。
    singleAxisIndex0所使用的 singleAxis 组件的 index。
    parallelIndex0所使用的 parallel coord 组件的 index。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    minShow系列所显示数据的最小索引
    maxShow系列所显示数据的最大索引
    maxCache系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。
    sampleDist0采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。
    sampleType采样类型。当sampleDist大于0时有效。
    SampleType:
    - Peak: 取峰值。
    - Average: 取过滤点的平均值。
    - Max: 取过滤点的最大值。
    - Min: 取过滤点的最小值。
    - Sum: 取过滤点的和。
    sampleAverage0设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。
    lineType折线图样式类型。
    LineType:
    - Normal: 普通折线图。
    - Smooth: 平滑曲线。
    - StepStart: 阶梯线图:当前点。
    - StepMiddle: 阶梯线图:当前点和下一个点的中间。
    - StepEnd: 阶梯线图:下一个拐点。
    smoothLimitfalsev3.4.0是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。
    barType柱形图类型。
    BarType:
    - Normal: 普通柱形图。
    - Zebra: 斑马柱形图。
    - Capsule: 胶囊柱形图。
    barPercentStackfalse柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。
    barWidth0柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。
    barMaxWidth0v3.5.0柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。
    barGap0.1f不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。
    barZebraWidth4f斑马线的粗细。
    barZebraGap2f斑马线的间距。
    min最小值。
    max最大值。
    minSize0f数据最小值 min 映射的宽度。
    maxSize1f数据最大值 max 映射的宽度。
    startAngle起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    endAngle结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    minAngle最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。
    clockwisetrue是否顺时针。
    roundCap是否开启圆弧效果。
    splitNumber刻度分割段数。最大可设置36。
    clickOffsettrue鼠标点击时是否开启偏移,一般用在PieChart图表中。
    roseType是否展示成南丁格尔图,通过半径区分数据大小。
    RoseType:
    - None: 不展示成南丁格尔玫瑰图。
    - Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    - Area: 所有扇区圆心角相同,仅通过半径展现数据大小。
    gap间距。
    center中心点。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    minRadius0fv3.8.0最小半径。可用于限制玫瑰图的最小半径。
    showDataDimension数据项里的数据维数。
    showDataName在Editor的inpsector上是否显示name参数
    clipfalse是否裁剪超出坐标系部分的图形。
    ignorefalse是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。
    ignoreValue0忽略数据的默认值。当ignore为true才有效。
    ignoreLineBreakfalse忽略数据时折线是断开还是连接。默认false为连接。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。
    largetrue是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。
    largeThreshold200开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。
    avoidLabelOverlapfalse在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。
    radarType雷达图类型。
    RadarType:
    - Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    - Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]
    placeHolderfalse占位模式。占位模式时,数据有效但不参与渲染和显示。
    dataSortType组件的数据排序。
    SerieDataSortType:
    - None: 按数据的顺序。
    - Ascending: 升序。
    - Descending: 降序。
    orient组件的朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    align组件水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    lineStyle线条样式。 LineStyle
    symbol标记的图形。 SerieSymbol
    animation起始动画。 AnimationStyle
    itemStyle图形样式。 ItemStyle
    data系列中的数据内容数组。SerieData可以设置1到n维数据。

    SerieData

    XCharts.Runtime.SerieData : ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    fielddefaultsincecomment
    index数据项索引。
    name数据项名称。
    id数据项的唯一id。唯一id不是必须设置的。
    parentId父节点id。父节点id不是必须设置的。
    ignore是否忽略数据。当为 true 时,数据不进行绘制。
    selected该数据项是否被选中。
    radius自定义半径。可用在饼图中自定义某个数据项的半径。
    statev3.2.0数据项的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    data可指定任意维数的数值列表。

    SerieSymbol

    XCharts.Runtime.SerieSymbol : SymbolStyle, ISerieDataComponent

    系列数据项的标记的图形

    fielddefaultsincecomment
    sizeType标记图形的大小获取方式。
    SymbolSizeType:
    - Custom: 自定义大小。
    - FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    - Function: 通过委托函数获取。
    dataIndex1当sizeType指定为FromData时,指定的数据源索引。
    dataScale1当sizeType指定为FromData时,指定的倍数系数。
    sizeFunction当sizeType指定为Function时,指定的委托函数。
    startIndex开始显示图形标记的索引。
    interval显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    forceShowLastfalse是否强制显示最后一个图形标记。
    repeatfalse图形是否重复。
    minSize0fv3.3.0图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。
    maxSize0fv3.3.0图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieTheme

    XCharts.Runtime.SerieTheme : ChildComponent

    fielddefaultsincecomment
    lineWidth文本颜色。
    lineSymbolSize折线图的Symbol大小。
    scatterSymbolSize散点图的Symbol大小。
    candlestickColorColor32(235, 84, 84, 255)K线图阳线(涨)填充色
    candlestickColor0Color32(71, 178, 98, 255)K线图阴线(跌)填充色
    candlestickBorderWidth1K线图边框宽度
    candlestickBorderColorColor32(235, 84, 84, 255)K线图阳线(跌)边框色
    candlestickBorderColor0Color32(71, 178, 98, 255)K线图阴线(跌)边框色

    Settings

    XCharts.Runtime.Settings : MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    fielddefaultsincecomment
    showtrue
    maxPainter10设定的painter数量。
    reversePainterfalsePainter是否逆序。逆序时index大的serie最先绘制。
    basePainterMaterialBase Pointer 材质球,设置后会影响Axis等。
    seriePainterMaterialSerie Pointer 材质球,设置后会影响所有Serie。
    upperPainterMaterialUpper Pointer 材质球。
    topPainterMaterialTop Pointer 材质球。
    lineSmoothStyle2.5f曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。
    lineSmoothness2fWhen the area with gradient is filled, the larger the value, the worse the transition effect.
    lineSegmentDistance3f线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。
    cicleSmoothness2f圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。
    legendIconLineWidth2Line类型图例图标的线条宽度。
    legendIconCornerRadius图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    axisMaxSplitNumber50v3.1.0坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    SimplifiedBar

    XCharts.Runtime.SimplifiedBar : Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedCandlestick

    XCharts.Runtime.SimplifiedCandlestick : Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedLine

    XCharts.Runtime.SimplifiedLine : Serie, INeedSerieContainer, ISimplifiedSerie

    SingleAxis

    XCharts.Runtime.SingleAxis : Axis, IUpdateRuntimeData

    单轴。

    fielddefaultsincecomment
    orient坐标轴朝向。默认为水平朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1f组件离容器左侧的距离。
    right0.1f组件离容器右侧的距离。
    top0f组件离容器上侧的距离。
    bottom0.2f组件离容器下侧的距离。
    width0坐标轴宽。
    height50坐标轴高。

    SingleAxisCoord

    XCharts.Runtime.SingleAxisCoord : CoordSystem

    StageColor

    XCharts.Runtime.StageColor : ChildComponent

    fielddefaultsincecomment
    percent结束位置百分比。
    color颜色。

    StateStyle

    XCharts.Runtime.StateStyle : ChildComponent / Subclasses: BlurStyle, EmphasisStyle, SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    fielddefaultsincecomment
    showtrue是否启用高亮样式。
    label图形文本标签。 LabelStyle
    labelLine图形文本引导线样式。 LabelLine
    itemStyle图形样式。 ItemStyle
    lineStyle折线样式。 LineStyle
    areaStyle区域样式。 AreaStyle
    symbol标记样式。 SerieSymbol

    SubTitleTheme

    XCharts.Runtime.SubTitleTheme : ComponentTheme

    SymbolStyle

    XCharts.Runtime.SymbolStyle : ChildComponent / Subclasses: SerieSymbol

    系列数据项的标记的图形

    fielddefaultsincecomment
    showtrue是否显示标记。
    type标记类型。
    SymbolType:
    - None: 不显示标记。
    - Custom: 自定义标记。
    - Circle: 圆形。
    - EmptyCircle: 空心圆。
    - Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    - EmptyRect: 空心正方形。
    - Triangle: 三角形。
    - EmptyTriangle: 空心三角形。
    - Diamond: 菱形。
    - EmptyDiamond: 空心菱形。
    - Arrow: 箭头。
    - EmptyArrow: 空心箭头。
    - Plus: 加号。
    - Minus: 减号。
    size0f标记的大小。
    gap0图形标记和线条的间隙距离。
    width0f图形的宽。
    height0f图形的高。
    offsetVector2.zero图形的偏移。
    image自定义的标记图形。
    imageType图形填充类型。
    color图形的颜色。

    TextLimit

    XCharts.Runtime.TextLimit : ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    fielddefaultsincecomment
    enablefalse是否启用文本自适应。 [default:true]
    maxWidth0Clipping occurs when the width of the text is greater than this value.
    gap1两边留白像素距离。 [default:10f]
    suffix长度超出时的后缀。 [default: "..."]

    TextPadding

    XCharts.Runtime.TextPadding : Padding

    文本的内边距设置。

    TextStyle

    XCharts.Runtime.TextStyle : ChildComponent

    文本的相关设置。

    fielddefaultsincecomment
    showtrue文本的相关设置。
    font文本字体。 [default: null]
    autoWrapfalse是否自动换行。
    autoAligntrue文本是否让系统自动选对齐方式。为false时才会用alignment。
    rotate0文本的旋转。 [default: 0f]
    autoColorfalse是否开启自动颜色。当开启时,会自动设置颜色。
    color文本的颜色。 [default: Color.clear]
    fontSize0文本字体大小。 [default: 18]
    fontStyle文本字体的风格。 [default: FontStyle.Normal]
    lineSpacing1f行间距。 [default: 1f]
    alignment对齐方式。
    tMPFontTextMeshPro字体。
    tMPFontStyle
    tMPAlignment
    tMPSpriteAssetv3.1.0

    Theme

    XCharts.Runtime.Theme : ScriptableObject

    主题相关配置。

    fielddefaultsincecomment
    themeType主题类型。
    ThemeType:
    - Default: 默认主题。
    - Light: 亮主题。
    - Dark: 暗主题。
    - Custom: 自定义主题。
    themeName主题名称。
    font主题字体。
    tMPFont主题字体。
    contrastColor对比色。
    backgroundColor背景颜色。
    colorPalette调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
    commonComponentTheme
    titleTitleTheme
    subTitleSubTitleTheme
    legendLegendTheme
    axisAxisTheme
    tooltipTooltipTheme
    dataZoomDataZoomTheme
    visualMapVisualMapTheme
    serieSerieTheme

    ThemeStyle

    XCharts.Runtime.ThemeStyle : ChildComponent

    主题相关配置。

    fielddefaultsincecomment
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse是否透明背景颜色。当设置为true时,不绘制背景颜色。
    enableCustomThemefalse是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。
    customFont
    customBackgroundColor自定义的背景颜色。
    customColorPalette

    Title

    XCharts.Runtime.Title : MainComponent, IPropertyChanged

    标题组件,包含主标题和副标题。

    fielddefaultsincecomment
    showtrue是否显示标题组件。
    text主标题文本,支持使用 \n 换行。
    subText副标题文本,支持使用 \n 换行。
    labelStyle主标题文本样式。 LabelStyle
    subLabelStyle副标题文本样式。 LabelStyle
    itemGap0主副标题之间的间距。
    location标题显示位置。 Location

    TitleStyle

    XCharts.Runtime.TitleStyle : LabelStyle, ISerieDataComponent, ISerieComponent

    标题相关设置。

    TitleTheme

    XCharts.Runtime.TitleTheme : ComponentTheme

    Tooltip

    XCharts.Runtime.Tooltip : MainComponent

    提示框组件。

    fielddefaultsincecomment
    showtrue是否显示提示框组件。
    type提示框指示器类型。
    Tooltip.Type:
    - Line: 直线指示器
    - Shadow: 阴影指示器
    - None: 无指示器
    - Corss: 十字准星指示器。坐标轴显示Label和交叉线。
    - Auto: 根据serie的类型自动选择显示指示器。
    trigger触发类型。
    Tooltip.Trigger:
    - Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    - Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    - None: 什么都不触发。
    - Auto: 根据serie的类型自动选择触发类型。
    positionv3.3.0显示位置类型。
    Tooltip.Position:
    - Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    - Custom: 自定义。完全自定义显示位置(x,y)。
    - FixedX: 只固定坐标X。Y跟随鼠标位置。
    - FixedY:
    itemFormatter提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用
    titleFormatter提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
    markerserie的符号标志。
    fixedWidth0固定宽度。比 minWidth 优先。
    fixedHeight0固定高度。比 minHeight 优先。
    minWidth0最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。
    minHeight0最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    paddingLeftRight10左右边距。
    paddingTopBottom10上下边距。
    ignoreDataShowfalse是否显示忽略数据在tooltip上。
    ignoreDataDefaultContent被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。
    showContenttrue是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。
    alwayShowContentfalse是否触发后一直显示提示框浮层。
    offsetVector2(18f, -25f)提示框相对于鼠标位置的偏移。
    backgroundImage提示框的背景图片。
    backgroundType提示框的背景图片显示类型。
    backgroundColor提示框的背景颜色。
    borderWidth2f边框线宽。
    fixedX0f固定X位置的坐标。
    fixedY0.7f固定Y位置的坐标。
    titleHeight25f标题文本的高。
    itemHeight25f数据项文本的高。
    borderColorColor32(230, 230, 230, 255)边框颜色。
    lineStyle指示线样式。 LineStyle
    titleLabelStyle标题的文本样式。 LabelStyle
    contentLabelStyles内容部分的文本样式列表。和列一一对应。

    TooltipTheme

    XCharts.Runtime.TooltipTheme : ComponentTheme

    fielddefaultsincecomment
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f指示线线宽。
    lineColor指示线颜色。
    areaColor区域指示的颜色。
    labelTextColor十字指示器坐标轴标签的文本颜色。
    labelBackgroundColor十字指示器坐标轴标签的背景颜色。

    UIComponentTheme

    XCharts.Runtime.UIComponentTheme : ChildComponent

    fielddefaultsincecomment
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse

    VisualMap

    XCharts.Runtime.VisualMap : MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    fielddefaultsincecomment
    showtrue组件是否生效。
    showUIfalse是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。
    type组件类型。
    VisualMap.Type:
    - Continuous: 连续型。
    - Piecewise: 分段型。
    selectedMode选择模式。
    VisualMap.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    serieIndex0影响的serie索引。
    min0范围最小值
    max0范围最大值
    range指定手柄对应数值的位置。range 应在[min,max]范围内。
    text两端的文本,如 ['High', 'Low']
    textGap两端文字主体之间的距离,单位为px。
    splitNumber5对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。
    calculablefalse是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。
    realtimetrue拖拽时,是否实时更新。
    itemWidth20f图形的宽度,即颜色条的宽度。
    itemHeight140f图形的高度,即颜色条的高度。
    itemGap10f每个图元之间的间隔距离。
    borderWidth0边框线宽,单位px。
    dimension-1Starting at 1, the default is 0 to take the last dimension in data.
    autoMinMaxtrueAutomatically set min, Max value 自动设置min,max的值
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location组件显示的位置。 Location
    workOnLinetrue组件是否对LineChart的LineStyle有效。
    workOnAreafalse组件是否对LineChart的AreaStyle有效。
    outOfRange定义 在选中范围外 的视觉颜色。
    inRange分段式每一段的相关配置。

    VisualMapRange

    XCharts.Runtime.VisualMapRange : ChildComponent

    fielddefaultsincecomment
    min范围最小值
    max范围最大值
    label文字描述
    color颜色

    VisualMapTheme

    XCharts.Runtime.VisualMapTheme : ComponentTheme

    fielddefaultsincecomment
    borderWidth边框线宽。
    borderColor边框颜色。
    backgroundColor背景颜色。
    triangeLen20f可视化组件的调节三角形边长。

    XAxis

    XCharts.Runtime.XAxis : Axis

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    XCharts.Runtime.XCResourcesImporter

    XCSettings

    XCharts.Runtime.XCSettings : ScriptableObject

    fielddefaultsincecomment
    langLang
    font
    tMPFont
    fontSizeLv128一级字体大小。
    fontSizeLv224
    fontSizeLv320
    fontSizeLv418
    axisLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisLineWidth0.8f
    axisSplitLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisSplitLineWidth0.8f
    axisTickWidth0.8f
    axisTickLength5f
    gaugeAxisLineWidth15f
    gaugeAxisSplitLineWidth0.8f
    gaugeAxisSplitLineLength15f
    gaugeAxisTickWidth0.8f
    gaugeAxisTickLength5f
    tootipLineWidth0.8f
    dataZoomBorderWidth0.5f
    dataZoomDataLineWidth0.5f
    visualMapBorderWidth0f
    serieLineWidth1.8f
    serieLineSymbolSize5f
    serieScatterSymbolSize20f
    serieSelectedRate1.3f
    serieCandlestickBorderWidth1f
    editorShowAllListDatafalse
    maxPainter10
    lineSmoothStyle3f
    lineSmoothness2f
    lineSegmentDistance3f
    cicleSmoothness2f
    visualMapTriangeLen20f
    customThemes

    YAxis

    XCharts.Runtime.YAxis : Axis

    直角坐标系 grid 中的 y 轴。

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/extra/index.html b/docs/v3.8.1/extra/index.html index 742eb94c..4dad61bd 100644 --- a/docs/v3.8.1/extra/index.html +++ b/docs/v3.8.1/extra/index.html @@ -14,13 +14,13 @@ 扩展图表 | XCharts - - + +
    Version: v3.8.1

    扩展图表

    XCharts的扩展图表。

    支持的扩展图表

    扩展图表如何导入到XCharts-Demo

    Pie3DChart 为例:

    1. 购买图表:购买扩展图表后,Github找到仓库 XCharts-Pie3DChart(私有仓库,购买后加入Team才可见)
    2. 下载图表:选择和XCharts最接近的版本
    3. 导入图表:将下载好的XCharts-Pie3DChart目录覆盖到XCharts-Demo项目中的Packages/XCharts-Pie3DChart
    4. 下载图表Demo:Github找到仓库 XCharts-Pie3DChart-Demo并下载
    5. 导入图表Demo:将下载好的XCharts-Pie3DChart-Demo目录覆盖到XCharts-Demo项目中的Assets/XChartsExtensionDemo/XCharts-Pie3DChart-Demo

    扩展图表如何导入自己的项目中

    Pie3DChart 为例:

    1. 先确保项目中已导入XCharts
    2. 再导入XCharts-Pie3DChart即可,不需要导入XCharts-Pie3DChart-Demo(如果要导入的话需要Unity版本接近2019.4.39f1)
    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/faq/index.html b/docs/v3.8.1/faq/index.html index 2b8db50b..a3939551 100644 --- a/docs/v3.8.1/faq/index.html +++ b/docs/v3.8.1/faq/index.html @@ -14,8 +14,8 @@ 常见问题 | XCharts - - + +
    @@ -50,7 +50,7 @@ QA 29:如何修改Serie的Symbol的颜色?
    QA 30:导入或更新XCharts时TMP报错如何处理?
    QA 31:支持空数据吗?如何实现折线图断开的效果?

    如何调整坐标轴与背景的边距

    答:调整Grid组件,可调整上下左右边距。

    如何让初始动画重新播放

    答:调用chart.AnimationReset()接口。

    如何自定义折线图饼图的颜色

    答:通过ThemecolorPalette调整,或者部分Serie下的LineStyleItemStyle

    如何给坐标轴上的文本加上单位

    答:通过formatternumericFormatter参数,在LegendAxisAxisLabelTooltopSerieLabel都提供该参数的配置。

    如何让柱形图的柱子堆叠显示

    答:设置Serie下的stackstack相同的serie会堆叠显示在一个柱子上。

    如何让柱形图的柱子同柱但不重叠

    答:设置Serie下的barGap-1stack为空。

    如何调整柱形图的柱子宽度和间距

    答:调整Serie下的barWidthbarGap,多个serie时最后一个seriebarWidthbarGap有效。

    如何调整柱形图单个柱子的颜色

    答:可通过调整单个Data下的ItemStyle调整,也可以通过两个serie同柱不堆叠来实现,通过设置数据项为0来达到类似效果。

    如何调整图表的对齐方式

    答:调整RectTransform的锚点,和UGUI的其他组件的用法一致。

    可以显示超过1000以上的大数据吗

    答:可以。但UGUI对单个Graphic限制65000个顶点,所以太多的数据不一定能显示完全。可通过设置采样距离sampleDist开启采样简化过密曲线。也可以通过设置一些参数来减少图表的顶点数有助于显示更多数据。如缩小图表的尺寸,关闭或减少坐标轴的客户端绘制,关闭Seriesymbollabel显示等。折线图的普通线图Normal比平滑线图Smooth占用顶点数更少。1.5.0以上版本可以设置largelargeThreshold参数来开启性能模式。

    折线图可以画虚线点线点划线吗

    答:可以。通过Serie下的lineType选择线条样式。当要显示的数据过多(成千以上)数据间过密时建议使用Normal或者Step样式。

    如何限定Y轴的值范围

    答:设置Axis下的minMaxTypeCustom,自定义minmax

    如何自定义数值轴刻度大小

    答:默认时通过Axis下的splitNumer进行自动划分。也可以设置interval自定义刻度大小。

    如何在数据项顶上显示文本

    答:通过设置Serie下的Label。3.0版本需要先添加LabelStyle组件。

    如何给数据项自定义图标

    答:通过设置Seriedata下的数据项可单独设置icon相关参数。

    锯齿太严重如何让图表更顺滑

    答:开启抗锯齿设置(在Unity里设置)。调整UI渲染模式为Camera模式,开启MSAA,设置4倍或更高抗锯齿。

    为什么鼠标移上图表Tooltip不显示

    答:确认Tooltip是否开启;确认父节点是否关闭了鼠标事件。

    如何取消Tooltip的竖线

    答:设置TooltiptypeNone。或者调整lineStyle的参数。

    如何自定义Tooltip的显示内容

    答:自定义总的内容可以通过Tooltipformatter。如果只是想调整所有的serie的显示格式可以用itemFormattertitleFormatter结合。如果想每个serie的显示格式不一样,可以定制serieitemStyle里的tooltipFormatter。具体的用法请查阅XCharts配置项手册

    如何让Y轴显示多位小数

    答:设置Axis下的AxisLabel中的formatter{value:f1}{value:f2}1.5.0及以上版本通过numericFormatter设置。

    如何用代码动态更新数据

    答:请查阅Example下的代码,Example13_LineSimple.cs就是一个简单添加数据构建折线图的例子,其他Demo也都是通过代码控制不同的组件实现不同的功能,相关API请查看文档:XChartsAPI接口

    如何显示图例为什么有时候图例无法显示

    答:首先,你的serie里的name需有值不为空。然后开启Legend显示,里面的data可以默认为空,表示显示所有的图例。如果你只想显示部分serie的图例,在data中填入要显示的图例的name即可。如果data中的值都不是系列的name,那图例就不会显示。

    如何做成预设

    答:做成prefab前,执行一下Rebuild Chart Object重新刷新节点,避免有冗余的节点存在。

    如何在图表上画点画线等自定义内容

    答:XCharts有自定义绘制回调onCustomDraw,具体可参考Example12_CustomDrawing.cs

    如何实现心电图类似的数据移动效果

    答:参考Example目录下的Example_Dynamic.cs。主要通过设置maxCache参数实现。axisserie都设置相同的maxCachemaxCache可固定数据个数,当数据超过设定时会先删除第一个在添加新数据,实现数据移动效果。

    如何使用背景组件有什么条件限制

    答:设置background组件的showtrue

    区域折线图在用半透明颜色时有时候会一条叠加的线

    答:这是区域折线图绘制的bug。可以用浅的不透的颜色替代半透明颜色。

    Mesh_cannot_have_more_than_65000_vertices

    答:这是UGUI对单个Graphic的顶点数限制。XCharts是将图形绘制在单个Graphic上,所以也会有这个限制。解决的办法可以参考:QA 10:可以显示超过1000以上的大数据吗?

    为什么serie里设置的参数运行后又被重置了

    答:检测下代码里是否调用了RemoveData()并重新添加Serie了。如果想保留Serie的配置可以只ClearData(),然后重新添加数据。

    如何修改Serie的Symbol的颜色

    答:Symbol 的颜色是使用的 ItemStylecolor

    导入或更新XCharts时TMP报错怎么办

    答:XCharts默认时不开启TMP,所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    支持空数据吗如何实现折线图断开的效果

    答:Seriedatadouble类型,所以无法表示空数据。可通过开启Serieignore和指定ignoreValue来达到空数据的效果。也可以每个SerieData设置ignore参数。忽略数据后断开还是连接可设置ignoreLineBreak参数。

    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/funnel/index.html b/docs/v3.8.1/funnel/index.html index fb114408..a4b893a4 100644 --- a/docs/v3.8.1/funnel/index.html +++ b/docs/v3.8.1/funnel/index.html @@ -14,14 +14,14 @@ FunnelChart 漏斗图 | XCharts - - + +
    Version: v3.8.1

    FunnelChart 漏斗图

    XCharts的付费扩展图表 - 漏斗图。

    截图

    Funnel01Funnel02Funnel03Funnel04Funnel05
    Funnel07Funnel08Funnel09

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    FunnelChart

    XCharts.Runtime.Funnels.FunnelChart : BaseChart

    配置项手册

    Funnel

    XCharts.Runtime.Funnels.Funnel : Serie

    fielddefaultsincecomment
    rectEndv3.3.0是否最后以矩形结束。默认false以三角形结束。
    dynamicHeightv3.3.0是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。
    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/gantt/index.html b/docs/v3.8.1/gantt/index.html index 8319686c..998ab98b 100644 --- a/docs/v3.8.1/gantt/index.html +++ b/docs/v3.8.1/gantt/index.html @@ -14,14 +14,14 @@ GanttChart 甘特图 | XCharts - - + +
    Version: v3.8.1

    GanttChart 甘特图

    XCharts付费扩展图表 - 甘特图。

    截图

    Gantt01Gantt02Gantt03Gantt04Gantt05
    Gantt07

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.8.0

    • (2023.08.11) 增加鼠标事件支持

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    GanttChart

    XCharts.Runtime.Gantts.GanttChart : BaseChart

    public methodsincedescription
    GetSeriesMinMaxValue()public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    InitAxisRuntimeData()public override void InitAxisRuntimeData(Axis axis)
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)

    配置项手册

    Gantt

    XCharts.Runtime.Gantts.Gantt : Serie

    fielddefaultsincecomment
    disableDrag

    GanttStyle

    XCharts.Runtime.Gantts.GanttStyle : MainComponent

    fielddefaultsincecomment
    showtrue
    ganttType甘特图类型。
    GanttType:
    - Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    - Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。
    inverttrue
    dragEnabletrue是否可以拖拽甘特图。
    dragSensitivity1f拖拽的灵敏度。
    dragRangeMin0拖拽最小值限制。
    dragRangeMax0拖拽最大值限制。
    autoAdsorbAlignlinetrue拖拽结束后是否自动吸附到对齐线。
    alignlineDataIndex1显示对齐线的数据项索引。
    showAlignlineRange10f显示对齐线的范围。
    aliginLine对齐线样式。
    splitArea
    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/gauge/index.html b/docs/v3.8.1/gauge/index.html index d1c9bd4d..731f8bbb 100644 --- a/docs/v3.8.1/gauge/index.html +++ b/docs/v3.8.1/gauge/index.html @@ -14,14 +14,14 @@ GaugeChart 仪表盘 | XCharts - - + +
    Version: v3.8.1

    GaugeChart 仪表盘

    XCharts付费扩展图表 - 仪表盘。

    截图

    Gauge01Gauge02Gauge03Gauge04Gauge05
    Gauge07Gauge08Gauge09Gauge10Gauge11
    Gauge12Gauge13Gauge14

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    master

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.17) 增加GaugerangeDataMode可设置是否使用范围数据模式
    • (2023.03.17) 增加Gaugeloop可设置是否循环数据,用于时钟甘特图
    • (2023.03.17) 增加GaugePointervalue可设置指针位置
    • (2023.03.17) 增加Clock时钟仪表盘支持
    • (2023.03.13) 增加GaugePointernowTime可设置指针指向当前时间
    • (2023.03.13) 增加GaugePointervalue可设置当前指针位置
    • (2023.03.13) 增加Clock类型的甘特图支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.10.05) 增加GaugeAxisLinestageGradient支持设置阶段渐变色过渡

    v3.3.0

    • (2022.09.28) 发布v3.3.0版本
    • (2022.08.26) 修复Pointer在普通模式下不显示的问题
    • (2022.08.25) 增加label颜色跟随数值变化的支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.15) 支持渐变

    API

    GaugeChart

    XCharts.Runtime.Gauges.GaugeChart : BaseChart

    配置项手册

    Gauge

    XCharts.Runtime.Gauges.Gauge : Serie

    fielddefaultsincecomment
    rangeDataModefalsev3.6.0数值是否为范围数据。启用该模式后,data中的每个值都是一个数组,数组中的第一个值为起始值,第二个值为结束值。指针只有一个,数据绘制为环形。
    loopfalsev3.6.0数值是否循环。可用在钟表图。
    gaugeAxis仪表盘轴线。 GaugeAxis
    gaugePointer仪表盘指针。 GaugePointer
    gaugeAnchor仪表盘指针固定点。 GaugeAnchor

    GaugeAnchor

    XCharts.Runtime.Gauges.GaugeAnchor : ChildComponent

    fielddefaultsincecomment
    showtrue是否显示指针固定点。
    showAbovetrue固定点是否显示在指针上面。
    type标记类型。
    size6标记的大小。
    gap0图形标记和线条的间隙距离。
    image自定义的标记图形。
    imageType
    offsetCenterVector2(0, 0)相对于中心的偏移位置。
    itemStyle图形样式。

    GaugeAxis

    XCharts.Runtime.Gauges.GaugeAxis : ChildComponent

    仪表盘轴线相关设置。

    fielddefaultsincecomment
    showtrue
    type
    GaugeAxisType:
    - None: 仪表盘类型
    - Section: 分段
    - Progress: 进度
    overlaptrue
    distance
    axisLine仪表盘轴线样式。 GaugeAxisLine
    splitLine分割线。
    axisTick刻度。
    axisLabel文本标签。
    axisLabelText自定义Label的内容。

    GaugeAxisLine

    XCharts.Runtime.Gauges.GaugeAxisLine : BaseLine

    fielddefaultsincecomment
    backgroundColorColor32(230, 235, 248, 255)进度条背景颜色。
    stageColor阶段颜色。
    stageGradientv3.4.0阶段颜色是否渐变过渡。

    GaugePointer

    XCharts.Runtime.Gauges.GaugePointer : ChildComponent

    仪表盘指针相关设置。

    fielddefaultsincecomment
    showtrue是否显示指针。
    length0.6f指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backLength0.05f指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backExtraLength0.05f指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topLeftLength0f指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topRightLength0f指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomLeftLength0.025f指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomRightLength0.025f指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    distance
    roundCap
    autoColortrue
    color
    toColor
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    valuev3.6.0指针的值。当为时钟仪表盘时,可通过指定value值来控制指针的位置。
    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/inputsystem/index.html b/docs/v3.8.1/inputsystem/index.html index 1b16174d..c744afb0 100644 --- a/docs/v3.8.1/inputsystem/index.html +++ b/docs/v3.8.1/inputsystem/index.html @@ -14,13 +14,13 @@ 切换到新的输入系统Input System | XCharts - - + +
    Version: v3.8.1

    教程:切换到新的输入系统Input System

    1. 按图示修改项目配置中输入模式为 Input System

    Project Settings

    2. 使用 Unity Package Manager 安装 Input System

    UPM

    3. 选中场景中 EventSystem 游戏对象,更换输入模组

    Input Module

    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/lang/articles/ui/ui_statistic/index.html b/docs/v3.8.1/lang/articles/ui/ui_statistic/index.html index 20486842..f0af9301 100644 --- a/docs/v3.8.1/lang/articles/ui/ui_statistic/index.html +++ b/docs/v3.8.1/lang/articles/ui/ui_statistic/index.html @@ -14,13 +14,13 @@ UIStatistic 统计数值 | XCharts - - + +
    Version: v3.8.1

    UIStatistic 统计数值

    statistic

    统计数值组件。用于展示统计数值。

    何时使用:

    • 当需要突出某个或某组数字时。
    • 当需要展示带描述的统计类数据时使用。

    支持的功能有:

    • 常规数值
    • 倒计时
    • 添加图标
    • 变更动画
    • 事件回调
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/lang/articles/ui/ui_table/index.html b/docs/v3.8.1/lang/articles/ui/ui_table/index.html index 3f5a11b6..cb181edd 100644 --- a/docs/v3.8.1/lang/articles/ui/ui_table/index.html +++ b/docs/v3.8.1/lang/articles/ui/ui_table/index.html @@ -14,13 +14,13 @@ UITable 表格 | XCharts - - + +
    Version: v3.8.1

    UITable 表格

    table

    表格组件。可用于展示行列数据。

    支持的功能有:

    • 显示或隐藏列表头
    • 显示或隐藏行表头
    • 任意调整行列宽高
    • 支持行号
    • 支持选中
    • 支持分割线
    • 支持滚动和拖拽
    • 支持滚动条
    • 支持图标图片
    • 排序(暂不支持)
    • 分页(暂不支持)
    • 查找(暂不支持)
    • 过滤(暂不支持)
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/liquid/index.html b/docs/v3.8.1/liquid/index.html index f6d3a995..06cbceb1 100644 --- a/docs/v3.8.1/liquid/index.html +++ b/docs/v3.8.1/liquid/index.html @@ -14,15 +14,15 @@ LiquidChart 水位图 | XCharts - - + +
    Version: v3.8.1

    LiquidChart 水位图

    XCharts的付费扩展图表 - 水位图。

    截图

    Liquid01Liquid02Liquid03Liquid04Liquid05
    Liquid07Liquid08

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    LiquidChart

    XCharts.Runtime.Liquids.LiquidChart : BaseChart 水位图

    VesselContext

    XCharts.Runtime.Liquids.VesselContext : MainComponentContext

    配置项手册

    Liquid

    XCharts.Runtime.Liquids.Liquid : Serie, INeedSerieContainer

    fielddefaultsincecomment
    waveHeight10f波高。
    waveLength20f波长。为0-1小数时指直线的百分比。
    waveSpeed5f波速。正数时左移,负数时右移。
    waveOffset0f波偏移。

    Vessel

    XCharts.Runtime.Liquids.Vessel : MainComponent, ISerieContainer, IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    fielddefaultsincecomment
    showtrue是否显示容器组件。 [defaut: true]
    shape容器形状。 [default: Shape.Circle]
    Vessel.Shape:
    - Circle: 圆形
    - Rect: 正方形。
    - Triangle: 三角形。
    - Diamond: 菱形。
    shapeWidth5f容器厚度。 [defaut: 5f]
    gap5f间隙。容器和液体的间隙。 [defaut: 10f]
    colorColor32(70, 70, 240, 255)容器颜色。默认和serie一致。
    backgroundColor背景色,默认透明。 [default: Color.clear]
    autoColortrue是否自动颜色。为true时颜色会和serie一致。 [default: true]
    centerWhen value between 0 and 1 represents a percentage relative to the chart.
    radius0.35fWhen value between 0 and 1 represents a percentage relative to the chart.
    smoothness1f水波平滑度。 [default: 1f]
    width0.5fWhen value between 0 and 1 represents a percentage relative to the chart.
    height0.7fWhen value between 0 and 1 represents a percentage relative to the chart.
    borderWidth0f内壁边框。
    borderColorColor32(70, 70, 240, 255)容器内壁边框颜色。默认和serie一致。
    cornerRadius容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。
    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/pictorialbar/index.html b/docs/v3.8.1/pictorialbar/index.html index bb930860..e9b97a2c 100644 --- a/docs/v3.8.1/pictorialbar/index.html +++ b/docs/v3.8.1/pictorialbar/index.html @@ -14,14 +14,14 @@ PictorialBarChart 象形柱图 | XCharts - - + +
    Version: v3.8.1

    PictorialBarChart 象形柱图

    XCharts付费扩展图表 - 象形柱图。

    截图

    PictorialBar01PictorialBar02PictorialBar03PictorialBar04

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.8.1

    • (2023.09.26) 修复PictorialBar动态添加数据时不刷新的问题

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBarChart

    XCharts.Runtime.PictorialBars.PictorialBarChart : BaseChart

    配置项手册

    PictorialBar

    XCharts.Runtime.PictorialBars.PictorialBar : Serie, INeedSerieContainer

    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/pie3d/index.html b/docs/v3.8.1/pie3d/index.html index 442ebe35..63f93512 100644 --- a/docs/v3.8.1/pie3d/index.html +++ b/docs/v3.8.1/pie3d/index.html @@ -14,8 +14,8 @@ Pie3DChart 3D饼图 | XCharts - - + +
    @@ -23,7 +23,7 @@ 配置项手册

    日志

    v3.8.1

    • (2023.09.14) 修复SerieData的数据为全为0时图表显示异常的问题
    • (2023.09.08) 增加SerieDataradius可自定义各饼块高度的支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.2

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.1

    • (2023.05.21) 增加avoidLabelOverlap支持

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.3.0

    • (2022.09.02) 增加onPointerEnterPie回调支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pie3DChart

    XCharts.Runtime.Pie3Ds.Pie3DChart : BaseChart 3D饼图。

    Pie3DSlice

    XCharts.Runtime.Pie3Ds.Pie3DSlice 3D饼图的切块。

    public methodsincedescription
    Contains()public bool Contains(float angle)
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    IsInSidePolygon()public bool IsInSidePolygon(Vector2 p)
    IsInStartOrEndSide()public bool IsInStartOrEndSide(Vector2 p)
    IsInTopPolygon()public bool IsInTopPolygon(Vector2 p)
    Pie3DSlice()public Pie3DSlice()
    UpdateValue()public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig)

    配置项手册

    Pie3D

    XCharts.Runtime.Pie3Ds.Pie3D : Serie

    fielddefaultsincecomment
    pie3DStylePie3DStyle

    Pie3DStyle

    XCharts.Runtime.Pie3Ds.Pie3DStyle : ChildComponent

    3D饼图样式。

    fielddefaultsincecomment
    showtrue
    ellipseMinorAxis0.65f椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。
    pieMaxHeight20f饼图厚度。
    pieAutoHeightfalse是否自动根据比例计算厚度。
    selectedOffsetVector2(0.1f, 0.5f)The offset of selected pie slice. 被选中状态的饼图块的额外偏移。
    peripherySideColorRate0.8f饼图切块的侧面颜色。
    startSideColorRate0.7f饼图切块的起始面颜色(顺时针)。
    endSideColorRate0.65f饼图切块的结束面颜色(顺时针)。
    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/pyramid/index.html b/docs/v3.8.1/pyramid/index.html index 0a51a42a..4838649f 100644 --- a/docs/v3.8.1/pyramid/index.html +++ b/docs/v3.8.1/pyramid/index.html @@ -14,14 +14,14 @@ PyramidChart 金字塔 | XCharts - - + +
    Version: v3.8.1

    PyramidChart 金字塔

    XCharts付费扩展图表 - 金字塔。

    截图

    Pyramid01Pyramid02Pyramid03

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.21) 增加Tooltip支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    PyramidChart

    XCharts.Runtime.Pyramids.PyramidChart : BaseChart

    配置项手册

    Pyramid

    XCharts.Runtime.Pyramids.Pyramid : Serie

    fielddefaultsincecomment
    pyramidStylePyramidStyle

    PyramidStyle

    XCharts.Runtime.Pyramids.PyramidStyle : ChildComponent

    fielddefaultsincecomment
    showtrue
    3Dtrue
    drawToptrue
    bottomPointRate0.5f3D模式下,底部中点占金字塔宽度的比例
    leftPointRate0.1f3D模式下,底部左边点占金字塔高度的比例
    rightPointRate0.1f3D模式下,底部右边点占金字塔高度的比例
    leftColorOpacity0.9f3D模式下,金字塔左边的颜色透明度
    rightColorOpacity0.7f3D模式下,金字塔右边的颜色透明度
    topColorOpacity0.99f3D模式下,金字塔顶部的颜色透明度
    labelLineMargin10fLabel标签距离右边的距离
    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/support/index.html b/docs/v3.8.1/support/index.html index 9082b389..921460f6 100644 --- a/docs/v3.8.1/support/index.html +++ b/docs/v3.8.1/support/index.html @@ -14,8 +14,8 @@ 订阅服务 | XCharts - - + +
    @@ -26,7 +26,7 @@ 增加席位 企业VIP支持增加席位,每个席位298¥一年。
    对公转账 有开专票需求时,可用企业银行帐号进行公对公转账支付。二维码支付不支持开专票,只能开普票。发票默认都是电子发票。
    *登记资料 订阅成功后,需提供手机号和Github帐号进行登记,手机号用于确认归属,Github帐号用于下载源码。

    购买扩展图表

    扩展图表为另付费购买图表,只对订阅了VIP服务的用户开放购买。对于个人SVIP企业VIP的订阅用户,所有扩展图表仓库在订阅期间可全部免费使用,不用再单独购买。

    对所有已购买的扩展图表,源码可永久持有但不能传播,并获得持续一年的更新支持和技术服务,一年后如需更新支持等服务,可再继续订阅VIP服务。

    编号扩展图表扩展图表价格
    101象形柱图PictorialBarChart98¥
    102漏斗图FunnelChart98¥
    1033D金字塔PyramidChart98¥
    104树形矩图TreemapChart98¥
    2013D柱图Bar3DChart198¥
    2023D饼图Pie3DChart198¥
    203甘特图GanttChart198¥
    204仪表盘GaugeChart198¥
    205水位图LiquidChart198¥

    扩展图表的在线效果图也可以查看WebGL在线Demo

    捐助支持

    如果这个项目对您有帮助,请右上方点 Star 予以支持!也欢迎扫后面的二维码进行任意金额的捐助,XCharts需要您的支持和帮助。

    二维码

    如果看不到二维码图片,可以加Q联系XCharts技术支持:3525422251或邮件monitor1394@gmail.com咨询。

    alipay-qrcode wechat-qrcode

    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/treemap/index.html b/docs/v3.8.1/treemap/index.html index 3c5e1c79..1a46f5bd 100644 --- a/docs/v3.8.1/treemap/index.html +++ b/docs/v3.8.1/treemap/index.html @@ -14,14 +14,14 @@ TreemapChart 矩形树图 | XCharts - - + +
    Version: v3.8.1

    TreemapChart 矩形树图

    XCharts付费扩展图表 - 矩形树图。

    截图

    Treemap01Treemap02Treemap03Treemap04

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    TreemapChart

    XCharts.Runtime.Treemaps.TreemapChart : BaseChart

    配置项手册

    Treemap

    XCharts.Runtime.Treemaps.Treemap : Serie

    fielddefaultsincecomment
    leafDepth0默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。
    visualDimension0用于计算占比的数据维数。
    drillDownIcon当节点可以下钻时的提示符,只能是字符。默认为▶
    customGoUpLevelButton自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。
    upperLabel父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。
    levelStyle
    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/tutorial01/index.html b/docs/v3.8.1/tutorial01/index.html index 0cdf572c..36ddeaf9 100644 --- a/docs/v3.8.1/tutorial01/index.html +++ b/docs/v3.8.1/tutorial01/index.html @@ -14,8 +14,8 @@ 入门教程:5分钟上手 XCharts 3.0 | XCharts - - + +
    @@ -23,7 +23,7 @@ linechart2

    添加其他组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件按需额外添加。比如,需要给折线图区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent linechart3

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加Component。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent linechart4

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个至几十个不等的可配置参数,以支持各种灵活而复杂的功能。

    首次使用XCharts,可在 Inspector 视图添加各种图表,给图表添加或调整里面组件,Game 视图会实时反馈调整后的效果,以熟悉各种组件的使用。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是配置和数据来驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不需要去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时还原回来。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    通常颜色值为0000时表示用主题默认颜色,配置为0或null时表示用主题默认配置。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.EnsureChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.EnsureChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.EnsureChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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;

    清空默认数据,添加Line类型的Serie用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    用代码改图表参数

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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;

    注:低版本没有EnsureChartComponent()接口时,用GetOrAddChartComponent()

    改Serie的参数

    对于新添加的Serie:

    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:

    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添加额外组件:

    serie.EnsureComponent<AreaStyle>();

    var label = serie1.EnsureComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/tutorial02/index.html b/docs/v3.8.1/tutorial02/index.html index 2937cced..8d776622 100644 --- a/docs/v3.8.1/tutorial02/index.html +++ b/docs/v3.8.1/tutorial02/index.html @@ -14,13 +14,13 @@ 从文件或数据库读取数据显示图表 | XCharts - - + +
    Version: v3.8.1

    从文件或数据库读取数据显示图表

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.8.1/tutorial03/index.html b/docs/v3.8.1/tutorial03/index.html index a4098a67..c99dfbb6 100644 --- a/docs/v3.8.1/tutorial03/index.html +++ b/docs/v3.8.1/tutorial03/index.html @@ -14,13 +14,13 @@ 心电图效果实现 | XCharts - - + + - - + + \ No newline at end of file diff --git a/docs/v3.8.1/ui/index.html b/docs/v3.8.1/ui/index.html index d31d2773..0c7219d8 100644 --- a/docs/v3.8.1/ui/index.html +++ b/docs/v3.8.1/ui/index.html @@ -14,13 +14,13 @@ 扩展UI组件 | XCharts - - + +
    Version: v3.8.1

    扩展UI组件

    XCharts的扩展UI组件,VIP订阅用户专有。

    组件列表

    如何使用

    • 使用该仓库前先确保项目里已有对应版本的XCharts。
    • 下载本仓库放入Assets下或者通过Package Manager导入。

    更新日志

    v3.8.0

    • (2023.09.03) 发布v3.8.0版本
    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 增加UIStatistic
    • (2023.02.14) 增加UITable
    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/about/index.html b/docs/v3.9.0/about/index.html index e1527bde..8b144d1e 100644 --- a/docs/v3.9.0/about/index.html +++ b/docs/v3.9.0/about/index.html @@ -14,8 +14,8 @@ 关于XCharts | XCharts - - + +
    @@ -31,7 +31,7 @@ 答:XCharts只支持在Unity平台使用。理论上任何支持UGUIUnity版本都能运行XCharts

  • 锯齿怎么解决?支持多大量级的数据?
    答:XCharts是基于UGUI实现的,所以UGUI中碰到的问题,在XCharts中也会存在。比如锯齿问题,比如Mesh顶点数超65535的问题。这两个问题的解决可参考问答16问答27
    由于Mesh65535顶点数的限制,目前XCharts的单条Line支持约2万的数据量,当然开启采样可以支持更多数据的绘制,但同时也会更消耗CPU。

  • Licenses

    • MIT License
    • 可免费商用,可二次开发
    • 扩展图表和高级功能部分需单独购买授权

    日志

    订阅

    • XCharts核心库是开源的,可免费使用的。在此基础上,我们也提供多种订阅服务以满足不同用户的需求,订阅详情☞ 请看这里
    • 订阅不是必须的,不影响XCharts的核心功能使用。
    • 订阅是按年付费,订阅到期后,不要求必须续订,但中断订阅期间无法享受技术支持等服务。如需继续服务,可从当日起续订即可。

    其他

    • 邮箱:monitor1394@gmail.com
    • QQ群:XCharts交流群(202030963
    • VIP群:XCharts VIP群(867291970
    • 捐助、合作、订阅和技术支持:☞ 看这里
    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/api/index.html b/docs/v3.9.0/api/index.html index 3ea5310c..1b319d50 100644 --- a/docs/v3.9.0/api/index.html +++ b/docs/v3.9.0/api/index.html @@ -14,13 +14,13 @@ API手册 | XCharts - - + +
    Version: v3.9.0

    API手册

    所有类

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    API版本描述
    GetValueAngle()public float GetValueAngle(double value)
    GetValueAngle()public float GetValueAngle(float value)
    SetDefaultValue()public override void SetDefaultValue()

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    AngleAxisTheme()public AngleAxisTheme(ThemeType theme) : base(theme) { }

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn,AnimationFadeOut,AnimationChange,AnimationAddition,AnimationHiding,AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    API版本描述
    End()public void End()
    结束动画。
    GetIndexDelay()public float GetIndexDelay(int dataIndex)
    获取动画延迟。
    Init()public bool Init(float curr, float dest, int totalPointIndex)
    初始化动画。
    IsFinish()public bool IsFinish()
    动画是否结束。
    IsInDelay()public bool IsInDelay()
    动画是否在延迟中。
    IsInIndexDelay()public bool IsInIndexDelay(int dataIndex)
    动画是否在索引延迟中。
    Pause()public void Pause()
    暂停动画。
    Reset()public void Reset()
    重置动画。
    Resume()public void Resume()
    恢复动画。
    Start()public void Start(bool reset = true)
    开始动画。

    AnimationInfoContext

    class in XCharts.Runtime

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    API版本描述
    GetOffset()public float GetOffset()
    GetOffset()public float GetOffset(float total)
    GetRadius()public float GetRadius(float radius)
    GetWidth()public float GetWidth(float width)

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    API版本描述
    Addition()public void Addition()
    开始数据新增动画。
    CanCheckInteract()public bool CanCheckInteract()
    CheckDetailBreak()public bool CheckDetailBreak(float detail)
    CheckDetailBreak()public bool CheckDetailBreak(Vector3 pos, bool isYAxis)
    CheckProgress()public void CheckProgress()
    CheckProgress()public void CheckProgress(double total)
    CheckSymbol()public void CheckSymbol(float dest)
    FadeIn()public void FadeIn()
    开始渐入动画。
    FadeOut()public void FadeOut()
    开始渐出动画。
    GetAdditionDuration()public float GetAdditionDuration()
    GetChangeDuration()public float GetChangeDuration()
    GetCurrDetail()public float GetCurrDetail()
    GetCurrIndex()public int GetCurrIndex()
    GetCurrRate()public float GetCurrRate()
    GetInteractionDuration()public float GetInteractionDuration()
    GetInteractionRadius()public float GetInteractionRadius(float radius)
    GetSysmbolSize()public float GetSysmbolSize(float dest)
    HasFadeOut()public bool HasFadeOut()
    InitProgress()public void InitProgress(float curr, float dest)
    初始化动画配置。
    InitProgress()public void InitProgress(List<Vector3> paths, bool isY)
    初始化动画配置。
    IsDataAnimation()public bool IsDataAnimation()
    是否为数据动画。BottomToTop和InsideOut类型的为数据动画。
    IsEnd()public bool IsEnd()
    IsFadeIn()public bool IsFadeIn()
    IsFadeOut()public bool IsFadeOut()
    IsFinish()public bool IsFinish()
    IsInDelay()public bool IsInDelay()
    IsSerieAnimation()public bool IsSerieAnimation()
    是否为系列动画。LeftToRight、AlongPath和Clockwise类型的为系列动画。
    Pause()public void Pause()
    暂停所有动画。
    Reset()public void Reset()
    Reset all animations.
    Restart()public void Restart()
    重启当前激活的动画。
    Resume()public void Resume()
    恢复所有动画。

    AnimationStyleHelper

    class in XCharts.Runtime

    API版本描述
    CheckDataAnimation()public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)
    GetAnimationPosition()public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip)
    UpdateAnimationType()public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType, bool enableSerieDataAnimation)
    UpdateSerieAnimation()public static void UpdateSerieAnimation(Serie serie)

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    区域填充样式。

    API版本描述
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 themeColor)

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Clone()public ArrowStyle Clone()
    Copy()public void Copy(ArrowStyle arrow)
    GetColor()public Color32 GetColor(Color32 defaultColor)

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis,ParallelAxis,RadiusAxis,SingleAxis,XAxis,YAxis

    直角坐标系的坐标轴组件。

    API版本描述
    AddData()public void AddData(string category)
    添加一个类目到类目数据列表
    AddIcon()public void AddIcon(Sprite icon)
    添加图标
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空类目数据
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public Axis Clone()
    Copy()public void Copy(Axis axis)
    GetData()public string GetData(int index)
    获得指定索引的类目数据
    GetData()public string GetData(int index, DataZoom dataZoom)
    获得在dataZoom范围内指定索引的类目数据
    GetDistance()public float GetDistance(double value, float axisLength)
    获得值在坐标轴上的距离
    GetIcon()public Sprite GetIcon(int index)
    GetLabelValue()public double GetLabelValue(int index)
    GetLastLabelValue()public double GetLastLabelValue()
    GetLogMaxIndex()public double GetLogMaxIndex()
    GetLogMinIndex()public double GetLogMinIndex()
    GetLogValue()public float GetLogValue(double value)
    GetValueLength()public float GetValueLength(double value, float axisLength)
    IsBottom()public bool IsBottom()
    IsCategory()public bool IsCategory()
    是否为类目轴。
    IsLeft()public bool IsLeft()
    IsLog()public bool IsLog()
    是否为对数轴。
    IsNeedShowLabel()public bool IsNeedShowLabel(int index, int total = 0)
    IsRight()public bool IsRight()
    IsTime()public bool IsTime()
    是否为时间轴。
    IsTop()public bool IsTop()
    IsValue()public bool IsValue()
    是否为数值轴。
    RemoveData()public void RemoveData(int dataIndex)
    SetComponentDirty()public override void SetComponentDirty()
    SetNeedUpdateFilterData()public void SetNeedUpdateFilterData()
    UpdateData()public void UpdateData(int index, string category)
    更新类目数据
    UpdateIcon()public void UpdateIcon(int index, Sprite icon)
    更新图标
    UpdateZeroOffset()public void UpdateZeroOffset(float axisLength)

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    API版本描述
    Clone()public AxisAnimation Clone()
    Copy()public void Copy(AxisAnimation animation)

    AxisContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    AxisHandler<T>

    class in XCharts / 继承自: MainComponentHandler

    AxisHelper

    class in XCharts.Runtime

    API版本描述
    AdjustCircleLabelPos()public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    AdjustMinMaxValue()public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
    调整最大最小值
    AdjustRadiusAxisLabelPos()public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    GetAxisLineArrowOffset()public static float GetAxisLineArrowOffset(Axis axis)
    包含箭头偏移的轴线长度
    GetAxisPosition()public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)
    GetAxisPositionValue()public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)
    GetAxisPositionValue()public static double GetAxisPositionValue(GridCoord grid, Axis axis, Vector3 pos)
    GetAxisValueDistance()public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上相对起点的距离
    GetAxisValueLength()public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上对应的长度
    GetAxisValuePosition()public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上的坐标位置
    GetAxisValueSplitIndex()public static int GetAxisValueSplitIndex(Axis axis, double value, int totalSplitNumber = -1)
    获得数值value在坐标轴上对应的split索引
    GetAxisXOrY()public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)
    GetDataWidth()public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
    获得一个类目数据在坐标系中代表的宽度
    GetEachWidth()public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    GetScaleNumber()public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    获得分割线条数
    GetScaleWidth()public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
    获得分割段宽度
    GetSplitNumber()public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
    获得分割段数
    GetTotalSplitGridNum()public static int GetTotalSplitGridNum(Axis axis)
    获得分割网格个数,包含次刻度
    GetXAxisXOrY()public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)
    GetYAxisXOrY()public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)
    NeedShowSplit()public static bool NeedShowSplit(Axis axis)

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    Clone()public new AxisLabel Clone()
    Copy()public void Copy(AxisLabel axisLabel)
    GetFormatterContent()public override string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
    GetFormatterContent()public override string GetFormatterContent(int labelIndex, string category)
    IsNeedShowLabel()public bool IsNeedShowLabel(int index, int total)
    SetRelatedText()public void SetRelatedText(ChartText txt, float labelWidth)

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    API版本描述
    Clone()public AxisLine Clone()
    Copy()public void Copy(AxisLine axisLine)

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisMinorSplitLine Clone()
    Copy()public void Copy(AxisMinorSplitLine splitLine)

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisMinorTick Clone()
    Copy()public void Copy(AxisMinorTick axisTick)

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    API版本描述
    Clone()public AxisName Clone()
    Copy()public void Copy(AxisName axisName)

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    API版本描述
    Clone()public AxisSplitArea Clone()
    Copy()public void Copy(AxisSplitArea splitArea)
    GetColor()public Color32 GetColor(int index, BaseAxisTheme theme)

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisSplitLine Clone()
    Copy()public void Copy(AxisSplitLine splitLine)

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    AxisTheme()public AxisTheme(ThemeType theme) : base(theme) { }

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    API版本描述
    Clone()public AxisTick Clone()
    Copy()public void Copy(AxisTick axisTick)

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    Bar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Bar ConvertSerie(Serie serie)

    BarChart

    class in XCharts.Runtime / 继承自: BaseChart

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme,RadiusAxisTheme,AngleAxisTheme,PolarAxisTheme,RadarAxisTheme

    API版本描述
    BaseAxisTheme()public BaseAxisTheme(ThemeType theme) : base(theme)
    Copy()public void Copy(BaseAxisTheme theme)

    BaseChart

    class in XCharts.Runtime / 继承自: BaseGraph,ISerializationCallbackReceiver / 子类: BarChart,CandlestickChart,HeatmapChart,LineChart,ParallelChart,PieChart,PolarChart,RadarChart,RingChart,ScatterChart,SimplifiedBarChart,SimplifiedCandlestickChart,SimplifiedLineChart

    API版本描述
    onAxisPointerValueChangedpublic Action<Axis, double> onAxisPointerValueChanged
    坐标轴变更数据索引时回调。参数:axis, dataIndex/dataValue
    onDrawpublic Action<VertexHelper> onDraw
    自定义绘制回调。在绘制Serie前调用。
    onDrawAfterSeriepublic Action<VertexHelper, Serie> onDrawAfterSerie
    自定义Serie绘制回调。在每个Serie绘制完后调用。
    onDrawBeforeSeriepublic Action<VertexHelper, Serie> onDrawBeforeSerie
    自定义Serie绘制回调。在每个Serie绘制完前调用。
    onDrawToppublic Action<VertexHelper> onDrawTop
    自定义Top层绘制回调。在绘制Tooltip前调用。
    onDrawUpperpublic Action<VertexHelper> onDrawUpper
    自定义Upper层绘制回调。在绘制Tooltip前调用。
    onInitpublic Action onInit
    图表的初始化完成回调。
    onLegendClickpublic Action<Legend, int, string, bool> onLegendClick
    点击图例按钮回调。参数:legendIndex, legendName, show
    onLegendEnterpublic Action<Legend, int, string> onLegendEnter
    鼠标进入图例回调。参数:legendIndex, legendName
    onLegendExitpublic Action<Legend, int, string> onLegendExit
    鼠标退出图例回调。参数:legendIndex, legendName
    onPointerClickBarpublic Action<PointerEventData, int> onPointerClickBar
    点击柱形图柱条回调。参数:eventData, dataIndex
    onPointerClickPiepublic Action<PointerEventData, int, int> onPointerClickPie
    点击饼图区域回调。参数:PointerEventData,SerieIndex,SerieDataIndex
    onPointerEnterPiepublic Action<int, int> onPointerEnterPie
    鼠标进入和离开饼图区域回调,SerieDataIndex为-1时表示离开。参数:PointerEventData,SerieIndex,SerieDataIndex
    onSerieClickv3.6.0public Action<SerieEventData> onSerieClick
    鼠标点击Serie回调。
    onSerieDownv3.6.0public Action<SerieEventData> onSerieDown
    鼠标按下Serie回调。
    onSerieEnterv3.6.0public Action<SerieEventData> onSerieEnter
    鼠标进入Serie回调。
    onSerieExitv3.6.0public Action<SerieEventData> onSerieExit
    鼠标离开Serie回调。
    onUpdatepublic Action onUpdate
    图表的Update回调。
    AddChartComponent()public MainComponent AddChartComponent(Type type)
    AddChartComponent<T>()public T AddChartComponent<T>() where T : MainComponent
    AddChartComponentWhenNoExist<T>()public T AddChartComponentWhenNoExist<T>() where T : MainComponent
    AddData()public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
    添加一个数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(string serieName, double data, string dataName = null, string dataId = null)
    If serieName doesn't exist in legend,will be add to legend.
    AddData()public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddSerie<T>()public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie
    AddXAxisData()public void AddXAxisData(string category, int xAxisIndex = 0)
    添加一个类目数据到指定的x轴。
    AddXAxisIcon()public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
    添加一个图标到指定的x轴。
    AddYAxisData()public void AddYAxisData(string category, int yAxisIndex = 0)
    添加一个类目数据到指定的y轴。
    AddYAxisIcon()public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
    添加一个图标到指定的y轴。
    AnimationEnable()public void AnimationEnable(bool flag)
    是否启用Serie动画。
    AnimationFadeIn()public void AnimationFadeIn(bool reset = true)
    开始所有Serie的渐入动画。
    AnimationFadeOut()public void AnimationFadeOut()
    开始所有Serie的渐出动画。
    AnimationPause()public void AnimationPause()
    暂停所有Serie的动画。
    AnimationReset()public void AnimationReset()
    重置所有Serie的动画。
    AnimationResume()public void AnimationResume()
    继续所有Serie的动画。
    CanAddChartComponent()public bool CanAddChartComponent(Type type)
    CanAddSerie()public bool CanAddSerie(Type type)
    CanAddSerie<T>()public bool CanAddSerie<T>() where T : Serie
    CancelTooltip()v3.7.0public void CancelTooltip()
    取消Tooltip.
    CanMultipleComponent()public bool CanMultipleComponent(Type type)
    ClampInChart()public void ClampInChart(ref Vector3 pos)
    ClampInGrid()public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)
    ClearComponentData()public virtual void ClearComponentData()
    清空所有组件的数据。
    ClearData()public virtual void ClearData()
    清空所有组件和Serie的数据。注意:Serie只是清空数据,不会移除Serie。
    ClearSerieData()public virtual void ClearSerieData()
    清空所有serie的数据。
    ClickLegendButton()public void ClickLegendButton(int legendIndex, string legendName, bool show)
    点击图例按钮
    ConvertSerie()public bool ConvertSerie(Serie serie, Type type)
    ConvertSerie<T>()public bool ConvertSerie<T>(Serie serie) where T : Serie
    ConvertXYAxis()public void ConvertXYAxis(int index)
    转换X轴和Y轴的配置
    EnsureChartComponent<T>()v3.6.0public T EnsureChartComponent<T>() where T : MainComponent
    确保图表有该组件,如果没有则添加。注意:有可能添加不成功。
    GenerateDefaultSerieName()public string GenerateDefaultSerieName()
    GetAllSerieDataCount()public int GetAllSerieDataCount()
    GetChartBackgroundColor()public Color32 GetChartBackgroundColor()
    GetChartComponent<T>()public T GetChartComponent<T>(int index = 0) where T : MainComponent
    GetChartComponentNum()public int GetChartComponentNum(Type type)
    GetChartComponentNum<T>()public int GetChartComponentNum<T>() where T : MainComponent
    GetChartComponents<T>()public List<MainComponent> GetChartComponents<T>() where T : MainComponent
    GetData()public double GetData(int serieIndex, int dataIndex, int dimension = 1)
    GetData()public double GetData(string serieName, int dataIndex, int dimension = 1)
    GetDataZoomOfAxis()public DataZoom GetDataZoomOfAxis(Axis axis)
    GetDataZoomOfSerie()public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)
    GetGrid()public GridCoord GetGrid(Vector2 local)
    GetGridOfDataZoom()public GridCoord GetGridOfDataZoom(DataZoom dataZoom)
    GetItemColor()public Color32 GetItemColor(Serie serie)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)
    GetLegendRealShowNameColor()public Color32 GetLegendRealShowNameColor(string name)
    GetLegendRealShowNameIndex()public int GetLegendRealShowNameIndex(string name)
    GetMarkColor()public Color32 GetMarkColor(Serie serie, SerieData serieData)
    获得Serie的标识颜色。
    GetOrAddChartComponent<T>()public T GetOrAddChartComponent<T>() where T : MainComponent
    GetPainter()public Painter GetPainter(int index)
    GetSerie()public Serie GetSerie(int serieIndex)
    GetSerie()public Serie GetSerie(string serieName)
    GetSerie<T>()public T GetSerie<T>() where T : Serie
    GetSerie<T>()public T GetSerie<T>(int serieIndex) where T : Serie
    GetSerieBarGap<T>()public float GetSerieBarGap<T>() where T : Serie
    GetSerieBarRealCount<T>()public int GetSerieBarRealCount<T>() where T : Serie
    GetSerieIndexIfStack<T>()public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie
    GetSerieSameStackTotalValue<T>()public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie
    GetSeriesMinMaxValue()public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    GetSerieTotalGap<T>()public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie
    GetSerieTotalWidth<T>()public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie
    GetTitlePosition()public Vector3 GetTitlePosition(Title title)
    GetVisualMapOfSerie()public VisualMap GetVisualMapOfSerie(Serie serie)
    GetXDataZoomOfSerie()public DataZoom GetXDataZoomOfSerie(Serie serie)
    GetXLerpColor()public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    GetYLerpColor()public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    HasChartComponent()public bool HasChartComponent(Type type)
    HasChartComponent<T>()public bool HasChartComponent<T>()
    HasSerie()public bool HasSerie(Type type)
    HasSerie<T>()public bool HasSerie<T>() where T : Serie
    Init()public void Init(bool defaultChart = true)
    InitAxisRuntimeData()public virtual void InitAxisRuntimeData(Axis axis) { }
    InsertSerie()public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)
    InsertSerie<T>()public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie
    Internal_CheckAnimation()public void Internal_CheckAnimation()
    IsActiveByLegend()public virtual bool IsActiveByLegend(string legendName)
    获得指定图例名字的系列是否显示。
    IsAllAxisCategory()public bool IsAllAxisCategory()
    纯类目轴。
    IsAllAxisValue()public bool IsAllAxisValue()
    纯数值坐标轴(数值轴或对数轴)。
    IsInAnyGrid()public bool IsInAnyGrid(Vector2 local)
    IsInChart()public bool IsInChart(float x, float y)
    IsInChart()public bool IsInChart(Vector2 local)
    坐标是否在图表范围内
    IsSerieName()public bool IsSerieName(string name)
    MoveDownSerie()public bool MoveDownSerie(int serieIndex)
    MoveUpSerie()public bool MoveUpSerie(int serieIndex)
    OnAfterDeserialize()public void OnAfterDeserialize()
    OnBeforeSerialize()public void OnBeforeSerialize()
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDataZoomRangeChanged()public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public override void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public override void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public override void OnPointerUp(PointerEventData eventData)
    OnScroll()public override void OnScroll(PointerEventData eventData)
    RefreshBasePainter()public void RefreshBasePainter()
    RefreshChart()public void RefreshChart()
    在下一帧刷新整个图表。
    RefreshChart()public void RefreshChart(int serieIndex)
    在下一帧刷新图表的指定serie。
    RefreshChart()public void RefreshChart(Serie serie)
    在下一帧刷新图表的指定serie。
    RefreshDataZoom()public void RefreshDataZoom()
    在下一帧刷新DataZoom
    RefreshGraph()public override void RefreshGraph()
    RefreshPainter()public void RefreshPainter(int index)
    RefreshPainter()public void RefreshPainter(Serie serie)
    RefreshTopPainter()public void RefreshTopPainter()
    RefreshUpperPainter()public void RefreshUpperPainter()
    RemoveAllChartComponent()public void RemoveAllChartComponent()
    RemoveAllSerie()v3.2.0public virtual void RemoveAllSerie()
    移除所有的Serie。当确认只需要移除Serie时使用该接口,其他情况下一般用RemoveData()。
    RemoveChartComponent()public bool RemoveChartComponent(MainComponent component)
    RemoveChartComponent()public bool RemoveChartComponent(Type type, int index = 0)
    RemoveChartComponent<T>()public bool RemoveChartComponent<T>(int index = 0)
    RemoveChartComponents()public int RemoveChartComponents(Type type)
    RemoveChartComponents<T>()public int RemoveChartComponents<T>()
    RemoveData()public virtual void RemoveData()
    清空所有组件数据,并移除所有Serie。一般在图表重新初始化时使用。 注意:组件只清空数据部分,参数会保留不会被重置。
    RemoveData()public virtual void RemoveData(string serieName)
    清除指定系列名称的数据。
    RemoveSerie()public void RemoveSerie(int serieIndex)
    RemoveSerie()public void RemoveSerie(Serie serie)
    RemoveSerie()public void RemoveSerie(string serieName)
    RemoveSerie<T>()public void RemoveSerie<T>() where T : Serie
    ReplaceSerie()public bool ReplaceSerie(Serie oldSerie, Serie newSerie)
    ResetDataIndex()public bool ResetDataIndex(int serieIndex)
    重置serie的数据项索引。避免数据项索引异常。
    SetBasePainterMaterial()public void SetBasePainterMaterial(Material material)
    设置Base Painter的材质球
    SetMaxCache()public void SetMaxCache(int maxCache)
    设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。
    SetPainterActive()public void SetPainterActive(int index, bool flag)
    SetSerieActive()public void SetSerieActive(int serieIndex, bool active)
    设置指定系列是否显示。
    SetSerieActive()public void SetSerieActive(Serie serie, bool active)
    SetSerieActive()public void SetSerieActive(string serieName, bool active)
    设置指定系列是否显示。
    SetSeriePainterMaterial()public void SetSeriePainterMaterial(Material material)
    设置Serie Painter的材质球
    SetTopPainterMaterial()public void SetTopPainterMaterial(Material material)
    设置Top Painter的材质球
    SetUpperPainterMaterial()public void SetUpperPainterMaterial(Material material)
    设置Upper Painter的材质球
    TriggerTooltip()v3.7.0public bool TriggerTooltip(int dataIndex, int serieIndex = 0)
    尝试触发指定数据项的Tooltip.
    TriggerTooltip()v3.7.0public bool TriggerTooltip(Vector3 localPosition)
    在指定的位置尝试触发Tooltip.
    TryAddChartComponent()public bool TryAddChartComponent(Type type)
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>() where T : MainComponent
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>(out T component) where T : MainComponent
    TryGetChartComponent<T>()public bool TryGetChartComponent<T>(out T component, int index = 0)
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateDataName()public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateDataName()public bool UpdateDataName(string serieName, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateLegendColor()public virtual void UpdateLegendColor(string legendName, bool active)
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。
    UpdateTheme()public void UpdateTheme(Theme theme)
    切换图表主题。
    UpdateXAxisData()public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
    更新X轴类目数据。
    UpdateXAxisIcon()public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
    更新X轴图标。
    UpdateYAxisData()public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
    更新Y轴类目数据。
    UpdateYAxisIcon()public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
    更新Y轴图标。

    BaseGraph

    class in XCharts.Runtime / 继承自: MaskableGraphic,IPointerDownHandler,IPointerUpHandler, / 子类: BaseChart,UIComponent

    API版本描述
    onBeginDragpublic Action<PointerEventData, BaseGraph> onBeginDrag
    鼠标开始拖拽回调。
    onDragpublic Action<PointerEventData, BaseGraph> onDrag
    鼠标拖拽回调。
    onEndDragpublic Action<PointerEventData, BaseGraph> onEndDrag
    鼠标结束拖拽回调。
    onPointerClickpublic Action<PointerEventData, BaseGraph> onPointerClick
    鼠标点击回调。
    onPointerDownpublic Action<PointerEventData, BaseGraph> onPointerDown
    鼠标按下回调。
    onPointerEnterpublic Action<PointerEventData, BaseGraph> onPointerEnter
    鼠标进入回调。
    onPointerExitpublic Action<PointerEventData, BaseGraph> onPointerExit
    鼠标退出回调。
    onPointerUppublic Action<PointerEventData, BaseGraph> onPointerUp
    鼠标弹起回调。
    onScrollpublic Action<PointerEventData, BaseGraph> onScroll
    鼠标滚动回调。
    CheckWarning()public string CheckWarning()
    检测警告信息。
    LocalPointToScreenPoint()v3.7.0public Vector2 LocalPointToScreenPoint(Vector2 localPoint)
    图表内坐标转屏幕坐标。
    LocalPointToWorldPoint()v3.7.0public Vector2 LocalPointToWorldPoint(Vector2 localPoint)
    图表内坐标转世界坐标。
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData)
    OnDrag()public virtual void OnDrag(PointerEventData eventData)
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData)
    OnScroll()public virtual void OnScroll(PointerEventData eventData)
    RebuildChartObject()public void RebuildChartObject()
    移除并重新创建所有图表的Object。
    RefreshAllComponent()public void RefreshAllComponent()
    RefreshGraph()public virtual void RefreshGraph()
    在下一帧刷新图形。
    SaveAsImage()public void SaveAsImage(string imageType = "png", string savePath = "")
    保存图表为图片。
    ScreenPointToChartPoint()public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)
    SetPainterDirty()public void SetPainterDirty()
    重新初始化Painter
    SetSize()public virtual void SetSize(float width, float height)
    设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform)

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine,AxisMinorSplitLine,AxisMinorTick,AxisSplitLine,AxisTick

    线条基础配置。

    API版本描述
    BaseLine()public BaseLine()
    BaseLine()public BaseLine(bool show) : base()
    Copy()public void Copy(BaseLine axisLine)
    GetColor()public Color32 GetColor(Color32 themeColor)
    GetLength()public float GetLength(float themeLength)
    GetType()public LineStyle.Type GetType(LineStyle.Type themeType)
    GetWidth()public float GetWidth(float themeWidth)

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer / 子类: EffectScatter,Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    API版本描述
    ClearComponentDirty()public static void ClearComponentDirty(ChildComponent component)
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearData()public virtual void ClearData() { }
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public static void ClearVerticesDirty(ChildComponent component)
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    IsComponentDirty()public static bool IsComponentDirty(ChildComponent component)
    IsVertsDirty()public static bool IsVertsDirty(ChildComponent component)
    OnAfterDeserialize()public virtual void OnAfterDeserialize()
    OnBeforeSerialize()public virtual void OnBeforeSerialize() { }
    OnDataUpdate()public virtual void OnDataUpdate() { }
    OnRemove()public virtual void OnRemove()
    RefreshLabel()public void RefreshLabel()
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetVerticesDirty()public virtual void SetVerticesDirty()

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    API版本描述
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    Candlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    CandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    ChartCached

    class in XCharts.Runtime

    API版本描述
    ColorToDotStr()public static string ColorToDotStr(Color color)
    ColorToStr()public static string ColorToStr(Color color)
    FloatToStr()public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)
    GetSerieLabelName()public static string GetSerieLabelName(string prefix, int i, int j)
    GetString()public static string GetString(string prefix, int suffix)
    IntToStr()public static string IntToStr(int value, string numericFormatter = "")
    NumberToStr()public static string NumberToStr(double value, string formatter)

    ChartConst

    class in XCharts.Runtime

    ChartDrawer

    class in XCharts.Runtime

    ChartHelper

    class in XCharts.Runtime

    API版本描述
    ActiveAllObject()public static void ActiveAllObject(Transform parent, bool active, string match = null)
    AddIcon()public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)
    Cancat()public static string Cancat(string str1, int i)
    Cancat()public static string Cancat(string str1, string str2)
    ClearEventListener()public static void ClearEventListener(GameObject obj)
    CopyArray<T>()public static bool CopyArray<T>(T[] toList, T[] fromList)
    CopyList<T>()public static bool CopyList<T>(List<T> toList, List<T> fromList)
    DestoryGameObject()public static void DestoryGameObject(GameObject go)
    DestoryGameObject()public static void DestoryGameObject(Transform parent, string childName)
    DestoryGameObjectByMatch()public static void DestoryGameObjectByMatch(Transform parent, string containString)
    DestroyAllChildren()public static void DestroyAllChildren(Transform parent)
    EnsureComponent<T>()public static T EnsureComponent<T>(GameObject gameObject) where T : Component
    确保对象有指定的组件,如果没有则添加。
    EnsureComponent<T>()public static T EnsureComponent<T>(Transform transform) where T : Component
    确保对象有指定的组件,如果没有则添加。
    GetActualValue()public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBlurColor()public static Color32 GetBlurColor(Color32 color, float a = 0.3f)
    GetColor()public static Color32 GetColor(string hexColorStr)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetFullName()public static string GetFullName(Transform transform)
    GetHighlightColor()public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)
    GetLastValue()public static Vector3 GetLastValue(List<Vector3> list)
    GetMaxCeilRate()public static double GetMaxCeilRate(double value, double ceilRate)
    GetMaxDivisibleValue()public static double GetMaxDivisibleValue(double max, double ceilRate)
    GetMaxLogValue()public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetMinCeilRate()public static double GetMinCeilRate(double value, double ceilRate)
    GetMinDivisibleValue()public static double GetMinDivisibleValue(double min, double ceilRate)
    GetMinLogValue()public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(Transform transform) where T : Component
    GetPointList()public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetPosition()public static Vector3 GetPosition(Vector3 center, float angle, float radius)
    GetSelectColor()public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    HideAllObject()public static void HideAllObject(GameObject obj, string match = null)
    HideAllObject()public static void HideAllObject(Transform parent, string match = null)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsColorAlphaZero()public static bool IsColorAlphaZero(Color color)
    IsEquals()public static bool IsEquals(double d1, double d2)
    IsEquals()public static bool IsEquals(float d1, float d2)
    IsIngore()public static bool IsIngore(Vector3 pos)
    IsInRect()public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)
    IsPointInQuadrilateral()public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    ParseFloatFromString()public static List<float> ParseFloatFromString(string jsonData)
    ParseStringFromString()public static List<string> ParseStringFromString(string jsonData)
    RemoveComponent<T>()public static void RemoveComponent<T>(GameObject gameObject)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
    SaveAsImage()public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")
    SetActive()public static void SetActive(GameObject gameObject, bool active)
    SetActive()public static void SetActive(Image image, bool active)
    SetActive()public static void SetActive(Text text, bool active)
    SetActive()public static void SetActive(Transform transform, bool active)
    通过设置scale实现是否显示,优化性能,减少GC
    SetBackground()public static void SetBackground(Image background, ImageStyle imageStyle)
    SetColorOpacity()public static void SetColorOpacity(ref Color32 color, float opacity)

    ChartLabel

    class in XCharts.Runtime / 继承自: Image

    API版本描述
    GetHeight()public float GetHeight()
    GetPosition()public Vector3 GetPosition()
    GetTextHeight()public float GetTextHeight()
    GetTextWidth()public float GetTextWidth()
    GetWidth()public float GetWidth()
    IsActiveByScale()public bool IsActiveByScale()
    SetActive()public void SetActive(bool flag)
    SetIcon()public void SetIcon(Image image)
    SetIconActive()public void SetIconActive(bool flag)
    SetIconSize()public void SetIconSize(float width, float height)
    SetIconSprite()public void SetIconSprite(Sprite sprite)
    SetPadding()public void SetPadding(float[] padding)
    SetPosition()public void SetPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetRotate()public void SetRotate(float rotate)
    SetSize()public void SetSize(float width, float height)
    SetText()public bool SetText(string text)
    SetTextActive()public void SetTextActive(bool flag)
    SetTextColor()public void SetTextColor(Color color)
    SetTextPadding()public void SetTextPadding(TextPadding padding)
    SetTextRotate()public void SetTextRotate(float rotate)
    UpdateIcon()public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null, Color color = default(Color))

    ChartObject

    class in XCharts.Runtime

    API版本描述
    Destroy()public virtual void Destroy()

    ChartText

    class in XCharts.Runtime

    API版本描述
    ChartText()public ChartText()
    ChartText()public ChartText(GameObject textParent)
    GetPreferredHeight()public float GetPreferredHeight()
    GetPreferredText()public string GetPreferredText(string content, string suffix, float maxWidth)
    GetPreferredWidth()public float GetPreferredWidth()
    GetPreferredWidth()public float GetPreferredWidth(string content)
    GetText()public string GetText()
    SetActive()public void SetActive(bool flag)
    SetAlignment()public void SetAlignment(TextAnchor alignment)
    SetColor()public void SetColor(Color color)
    SetFont()public void SetFont(Font font)
    SetFont()public void SetFont(TMP_FontAsset font)
    SetFontAndSizeAndStyle()public void SetFontAndSizeAndStyle(TextStyle textStyle, ComponentTheme theme)
    SetFontSize()public void SetFontSize(float fontSize)
    SetFontStyle()public void SetFontStyle(FontStyle fontStyle)
    SetLineSpacing()public void SetLineSpacing(float lineSpacing)
    SetLocalEulerAngles()public void SetLocalEulerAngles(Vector3 position)
    SetLocalPosition()public void SetLocalPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetSizeDelta()public void SetSizeDelta(Vector2 sizeDelta)
    SetText()public void SetText(string text)

    CheckHelper

    class in XCharts.Runtime

    API版本描述
    CheckChart()public static string CheckChart(BaseChart chart)
    CheckChart()public static string CheckChart(BaseGraph chart)

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle,AxisAnimation,AxisName,AxisSplitArea,AreaStyle,ArrowStyle,BaseLine,IconStyle,ImageStyle,ItemStyle,Level,LevelStyle,LineArrow,LineStyle,Location,MLValue,MarqueeStyle,Padding,StageColor,SymbolStyle,TextLimit,TextStyle,CommentItem,CommentMarkStyle,LabelLine,LabelStyle,MarkAreaData,MarkLineData,StateStyle,VisualMapRange,UIComponentTheme,SerieData,ComponentTheme,SerieTheme,ThemeStyle

    API版本描述
    ClearComponentDirty()public static void ClearComponentDirty(ChildComponent component)
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public static void ClearVerticesDirty(ChildComponent component)
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    IsComponentDirty()public static bool IsComponentDirty(ChildComponent component)
    IsVertsDirty()public static bool IsVertsDirty(ChildComponent component)
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetVerticesDirty()public virtual void SetVerticesDirty()

    ColorUtil

    class in XCharts.Runtime

    API版本描述
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。

    Comment

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图表注解组件。

    API版本描述
    GetLabelStyle()public LabelStyle GetLabelStyle(int index)
    GetMarkStyle()public CommentMarkStyle GetMarkStyle(int index)
    OnChanged()public void OnChanged()
    参数变更时的回调处理。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    ComponentHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler)
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler, bool allowMultiple)

    ComponentHelper

    class in XCharts.Runtime

    API版本描述
    GetAngleAxis()public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)
    GetRadiusAxis()public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)
    GetXAxisOnZeroOffset()public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)
    GetYAxisOnZeroOffset()public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)
    IsAnyCategoryOfYAxis()public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme,DataZoomTheme,LegendTheme,SubTitleTheme,TitleTheme,TooltipTheme,VisualMapTheme

    API版本描述
    ComponentTheme()public ComponentTheme(ThemeType theme)
    Copy()public virtual void Copy(ComponentTheme theme)
    Reset()public virtual void Reset(ComponentTheme defaultTheme)

    CoordOptionsAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Contains<T>()public bool Contains<T>() where T : CoordSystem
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord,CalendarCoord,GridCoord,ParallelCoord,PolarCoord,SingleAxisCoord

    坐标系系统。

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    API版本描述
    GetBackgroundColor()public Color32 GetBackgroundColor(Color32 themeColor)
    GetBorderColor()public Color32 GetBorderColor(Color32 themeColor)
    GetFillerColor()public Color32 GetFillerColor(Color32 themeColor)
    IsContainsAxis()public bool IsContainsAxis(Axis axis)
    IsContainsXAxis()public bool IsContainsXAxis(int index)
    IsContainsYAxis()public bool IsContainsYAxis(int index)
    IsInEndZoom()public bool IsInEndZoom(Vector2 pos)
    给定的坐标是否在结束活动条触发区域内
    IsInMarqueeArea()public bool IsInMarqueeArea(SerieData serieData)
    IsInMarqueeArea()public bool IsInMarqueeArea(Vector2 pos)
    IsInSelectedZoom()public bool IsInSelectedZoom(int totalIndex, int index, bool invert)
    IsInSelectedZoom()public bool IsInSelectedZoom(Vector2 pos)
    给定的坐标是否在选中区域内
    IsInStartZoom()public bool IsInStartZoom(Vector2 pos)
    给定的坐标是否在开始活动条触发区域内
    IsInZoom()public bool IsInZoom(Vector2 pos)
    给定的坐标是否在缩放区域内
    SetDefaultValue()public override void SetDefaultValue()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    DataZoomContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    DataZoomHelper

    class in XCharts.Runtime

    API版本描述
    UpdateDataZoomRuntimeStartEndValue()public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)
    UpdateDataZoomRuntimeStartEndValue<T>()public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(DataZoomTheme theme)
    DataZoomTheme()public DataZoomTheme(ThemeType theme) : base(theme)

    DateTimeUtil

    class in XCharts.Runtime

    API版本描述
    GetDateTime()public static DateTime GetDateTime(int timestamp)
    GetTimestamp()public static int GetTimestamp()
    GetTimestamp()public static int GetTimestamp(DateTime time)

    DebugInfo

    class in XCharts.Runtime

    API版本描述
    Init()public void Init(BaseChart chart)
    Update()public void Update()

    DefaultAnimationAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler)
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler, bool enableSerieDataAddedAnimation)

    DefaultTooltipAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    DefaultTooltipAttribute()public DefaultTooltipAttribute(Tooltip.Type type, Tooltip.Trigger trigger)

    DefineSymbolsUtil

    class in XCharts.Runtime

    API版本描述
    AddGlobalDefine()public static void AddGlobalDefine(string symbol)
    RemoveGlobalDefine()public static void RemoveGlobalDefine(string symbol)

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    API版本描述
    EndLabelStyle()public EndLabelStyle()

    FormatterHelper

    class in XCharts.Runtime

    API版本描述
    NeedFormat()public static bool NeedFormat(string content)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string numericFormatter, double value)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string value)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(string content)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(StringBuilder sb)

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    BoundaryPoint()public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref List<Vector3> point)
    给定的线段和Grid边界的交点
    BoundaryPoint()public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref Vector3 point)
    给定的线段和Grid边界的交点
    Clamp()v3.7.0public void Clamp(ref Vector3 pos)
    将位置限制在网格内。
    ClampX()v3.7.0public void ClampX(ref Vector3 pos)
    将位置的X限制在网格内。
    ClampY()v3.7.0public void ClampY(ref Vector3 pos)
    将位置的Y限制在网格内。
    Contains()public bool Contains(float x, float y)
    给定的位置是否在网格内。
    Contains()public bool Contains(Vector3 pos)
    给定的位置是否在网格内。
    Contains()v3.7.0public bool Contains(Vector3 pos, bool isYAxis)
    给定的位置是否在网格内。
    ContainsX()v3.7.0public bool ContainsX(float x)
    给定的x是否在网格内。
    ContainsY()v3.7.0public bool ContainsY(float y)
    给定的y是否在网格内。
    IsPointerEnter()public bool IsPointerEnter()
    指针是否在网格内。
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    API版本描述
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridLayoutContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Heatmap

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    HeatmapChart

    class in XCharts.Runtime / 继承自: BaseChart

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Clone()public IconStyle Clone()
    Copy()public void Copy(IconStyle iconStyle)
    Reset()public void Reset()

    IgnoreDoc

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    IgnoreDoc()public IgnoreDoc()

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    API版本描述
    Clone()public ImageStyle Clone()
    Copy()public void Copy(ImageStyle imageStyle)
    Reset()public void Reset()

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    API版本描述
    AddIndicator()public RadarCoord.Indicator AddIndicator(string name, double min, double max)
    AddIndicator()public void AddIndicator(RadarCoord.Indicator indicator)
    AddIndicatorList()v3.3.0public void AddIndicatorList(List<string> nameList, double min = 0, double max = 0)
    ClearData()public override void ClearData()
    GetFormatterIndicatorContent()public string GetFormatterIndicatorContent(int indicatorIndex)
    GetFormatterIndicatorContent()public string GetFormatterIndicatorContent(string indicatorName)
    GetIndicator()public RadarCoord.Indicator GetIndicator(int indicatorIndex)
    GetIndicatorMax()public double GetIndicatorMax(int index)
    GetIndicatorMin()public double GetIndicatorMin(int index)
    GetIndicatorName()public string GetIndicatorName(int indicatorIndex)
    GetIndicatorPosition()public Vector3 GetIndicatorPosition(int index)
    IsInIndicatorRange()public bool IsInIndicatorRange(int index, double value)
    IsInRange()public bool IsInRange(double value)
    IsPointerEnter()public bool IsPointerEnter()
    SetDefaultValue()public override void SetDefaultValue()
    UpdateIndicator()public bool UpdateIndicator(int indicatorIndex, string name, double min, double max)

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Radar,BaseScatter

    InputHelper

    class in XCharts.Runtime

    API版本描述
    GetKeyDown()public static bool GetKeyDown(KeyCode keyCode)
    GetTouch()public static Touch GetTouch(int v)

    InteractData

    class in XCharts.Runtime

    API版本描述
    Reset()public void Reset()
    SetColor()public void SetColor(ref bool needInteract, Color32 color)
    SetColor()public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)
    SetPosition()public void SetPosition(ref bool needInteract, Vector3 pos)
    SetValue()public void SetValue(ref bool needInteract, float value, bool highlight, float rate = 1.3f)
    SetValue()public void SetValue(ref bool needInteract, float value, bool previousValueZero = false)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)
    ToString()public override string ToString()
    TryGetColor()public bool TryGetColor(ref Color32 color, ref bool interacting, float animationDuration = 250)
    TryGetColor()public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetPosition()public bool TryGetPosition(ref Vector3 pos, ref bool interacting, float animationDuration = 250)
    TryGetValue()public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location,Comment,Legend,Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,LineArrow,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord,CalendarCoord,GridCoord,ParallelCoord,PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,ItemStyle,LineStyle,SerieSymbol,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar,SimplifiedCandlestick,SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    图形样式。

    API版本描述
    GetBorderColor()public Color32 GetBorderColor(Color32 defaultColor)
    GetBorderColor0()public Color32 GetBorderColor0(Color32 defaultColor)
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 defaultColor)
    GetColor0()public Color32 GetColor0()
    GetColor0()public Color32 GetColor0(Color32 defaultColor)
    GetGradientColor()public Color32 GetGradientColor(float value, Color32 defaultColor)
    GetToColor()public Color32 GetToColor()
    IsNeedCorner()public bool IsNeedCorner()
    IsNeedGradient()public bool IsNeedGradient()
    NeedShowBorder()public bool NeedShowBorder()
    是否需要显示边框。
    Reset()public void Reset()

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis,DataZoom,CalendarCoord,GridCoord,GridLayout,ParallelCoord

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    标签的引导线

    API版本描述
    GetEndSymbolOffset()public Vector3 GetEndSymbolOffset()
    GetStartSymbolOffset()public Vector3 GetStartSymbolOffset()
    Reset()public void Reset()

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent / 子类: AxisLabel,EndLabelStyle,TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    API版本描述
    Clone()public virtual LabelStyle Clone()
    Copy()public virtual void Copy(LabelStyle label)
    GetColor()public Color GetColor(Color defaultColor)
    GetFormatterContent()public virtual string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
    GetFormatterContent()public virtual string GetFormatterContent(int labelIndex, string category)
    GetFormatterDateTime()public string GetFormatterDateTime(int labelIndex, double value, double minValue, double maxValue)
    GetOffset()public Vector3 GetOffset(float radius)
    IsAutoSize()public bool IsAutoSize()
    IsDefaultPosition()public bool IsDefaultPosition(Position position)
    IsInside()public bool IsInside()
    是否在内部。
    Reset()public void Reset()

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    API版本描述
    GetCandlestickDimensionName()public string GetCandlestickDimensionName(int i)
    GetDay()public string GetDay(int day)
    GetMonthAbbr()public string GetMonthAbbr(int month)

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    API版本描述
    List<string>()public List<string> dayOfMonth = new List<string>()
    List<string>()public List<string> dayOfWeek = new List<string>()
    List<string>()public List<string> dayOfWeekAbbr = new List<string>()
    List<string>()public List<string> monthAbbr = new List<string>()
    List<string>()public List<string> months = new List<string>()

    LayerHelper

    class in XCharts.Runtime

    API版本描述
    IsFixedWidthHeight()public static bool IsFixedWidthHeight(RectTransform rt)
    IsStretchPivot()public static bool IsStretchPivot(RectTransform rt)

    Legend

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    API版本描述
    AddData()public void AddData(string name)
    添加图例。
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空。
    ContainsData()public bool ContainsData(string name)
    是否包括由指定名字的图例
    GetColor()public Color GetColor(int index)
    GetData()public string GetData(int index)
    获得指定索引的图例。
    GetIcon()public Sprite GetIcon(int index)
    获得指定索引的图例按钮。
    GetIndex()public int GetIndex(string legendName)
    获得指定图例的索引。
    GetPosition()public Vector3 GetPosition(int index, Vector3 defaultPos)
    OnChanged()public void OnChanged()
    参数变更时的回调处理。
    RemoveButton()public void RemoveButton()
    移除所有图例按钮。
    RemoveData()public void RemoveData(string name)
    移除指定名字的图例。
    SetButton()public void SetButton(string name, LegendItem item, int total)
    给图例绑定按钮。
    UpdateButtonColor()public void UpdateButtonColor(string name, Color color)
    更新图例按钮颜色。
    UpdateContentColor()public void UpdateContentColor(string name, Color color)
    更新图例文字颜色。

    LegendContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    LegendHelper

    class in XCharts.Runtime

    API版本描述
    CheckDataHighlighted()public static int CheckDataHighlighted(Serie serie, string legendName, bool heighlight)
    CheckDataShow()public static bool CheckDataShow(Serie serie, string legendName, bool show)
    GetContentColor()public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)
    GetIconColor()public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)
    ResetItemPosition()public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)
    SetLegendBackground()public static void SetLegendBackground(Legend legend, ImageStyle style)

    LegendItem

    class in XCharts.Runtime

    API版本描述
    GetIconColor()public Color GetIconColor()
    GetIconRect()public Rect GetIconRect()
    SetActive()public void SetActive(bool active)
    SetBackground()public void SetBackground(ImageStyle imageStyle)
    SetButton()public void SetButton(Button button)
    SetContent()public bool SetContent(string content)
    SetContentBackgroundColor()public void SetContentBackgroundColor(Color color)
    SetContentColor()public void SetContentColor(Color color)
    SetContentPosition()public void SetContentPosition(Vector3 offset)
    SetIcon()public void SetIcon(Image icon)
    SetIconActive()public void SetIconActive(bool active)
    SetIconColor()public void SetIconColor(Color color)
    SetIconImage()public void SetIconImage(Sprite image)
    SetIconSize()public void SetIconSize(float width, float height)
    SetObject()public void SetObject(GameObject obj)
    SetPosition()public void SetPosition(Vector3 position)
    SetText()public void SetText(ChartText text)
    SetTextBackground()public void SetTextBackground(Image image)

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(LegendTheme theme)
    LegendTheme()public LegendTheme(ThemeType theme) : base(theme)

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    Line

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Line ConvertSerie(Serie serie)

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent

    LineChart

    class in XCharts.Runtime / 继承自: BaseChart

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    API版本描述
    Clone()public LineStyle Clone()
    Copy()public void Copy(LineStyle lineStyle)
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 themeColor)
    GetGradientColor()public Color32 GetGradientColor(float value, Color32 defaultColor)
    GetLength()public float GetLength(float themeLength)
    GetType()public Type GetType(Type themeType)
    GetWidth()public float GetWidth(float themeWidth)
    IsNeedGradient()public bool IsNeedGradient()
    IsNotSolidLine()public bool IsNotSolidLine()
    LineStyle()public LineStyle()
    LineStyle()public LineStyle(float width)
    LineStyle()public LineStyle(LineStyle.Type type)
    LineStyle()public LineStyle(LineStyle.Type type, float width)

    ListFor

    class in XCharts.Runtime / 继承自: Attribute / 子类: ListForComponent,ListForSerie

    API版本描述
    ListFor()public ListFor(Type type)

    ListForComponent

    class in XCharts.Runtime / 继承自: ListFor

    API版本描述
    ListForComponent()public ListForComponent(Type type) : base(type)

    ListForSerie

    class in XCharts.Runtime / 继承自: ListFor

    API版本描述
    ListForSerie()public ListForSerie(Type type) : base(type)

    Location

    class in XCharts.Runtime / 继承自: ChildComponent,IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    API版本描述
    GetPosition()public Vector3 GetPosition(float chartWidth, float chartHeight)
    返回在坐标系中的具体位置
    IsBottom()public bool IsBottom()
    IsCenter()public bool IsCenter()
    IsTop()public bool IsTop()
    OnChanged()public void OnChanged()
    属性变更时更新textAnchor,minAnchor,maxAnchor,pivot
    UpdateRuntimeData()public void UpdateRuntimeData(float chartWidth, float chartHeight)

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis,Background,Comment,DataZoom,Legend,MarkArea,MarkLine,Settings,Title,Tooltip,VisualMap,GridLayout,CoordSystem

    API版本描述
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearData()public virtual void ClearData() { }
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    CompareTo()public int CompareTo(object obj)
    OnRemove()public virtual void OnRemove()
    Reset()public virtual void Reset() { }
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetDefaultValue()public virtual void SetDefaultValue() { }
    SetVerticesDirty()public virtual void SetVerticesDirty()

    MainComponentContext

    class in XCharts.Runtime / 子类: AxisContext,DataZoomContext,LegendContext,RadarCoordContext,VisualMapContext,GridCoordContext,GridLayoutContext,ParallelCoordContext,PolarCoordContext

    MainComponentHandler

    class in XCharts.Runtime / 子类: AxisHandler<T>,MainComponentHandler<T>

    API版本描述
    BeforceSerieUpdate()public virtual void BeforceSerieUpdate() { }
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    OnSerieDataUpdate()public virtual void OnSerieDataUpdate(int serieIndex) { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }

    MainComponentHandler<T>

    class in XCharts.Runtime / 继承自: MainComponentHandler

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    API版本描述
    onEndpublic Action<DataZoom> onEnd
    自定义选取框结束选取时的回调。
    onGoingpublic Action<DataZoom> onGoing
    自定义选取框选取进行时的回调。
    onStartpublic Action<DataZoom> onStart
    自定义选取框开始选取时的回调。

    MathUtil

    class in XCharts.Runtime

    API版本描述
    Abs()public static double Abs(double d)
    Approximately()public static bool Approximately(double a, double b)
    Clamp()public static double Clamp(double d, double min, double max)
    Clamp01()public static double Clamp01(double value)
    GetPrecision()public static int GetPrecision(double value)
    IsInteger()public static bool IsInteger(double value)
    Lerp()public static double Lerp(double a, double b, double t)

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    API版本描述
    GetValue()public float GetValue(float total)
    根据类型获取值。
    MLValue()public MLValue(float value)
    MLValue()public MLValue(Type type, float value)

    MonoBehaviour

    class in / 子类: XLog

    ObjectPool<T> where T

    class in XCharts.Runtime / 继承自: new()

    API版本描述
    ClearAll()public void ClearAll()
    Get()public T Get()
    new()public class ObjectPool<T> where T : new()
    ObjectPool()public ObjectPool(UnityAction<T> actionOnGet, UnityAction<T> actionOnRelease, bool newIfEmpty = true)
    Release()public void Release(T element)

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    API版本描述
    Padding()public Padding() { }
    Padding()public Padding(float top, float right, float bottom, float left)
    SetPadding()public void SetPadding(float top, float right, float bottom, float left)

    Painter

    class in XCharts.Runtime / 继承自: MaskableGraphic

    API版本描述
    onPopulateMeshpublic Action<VertexHelper, Painter> onPopulateMesh
    CheckRefresh()public void CheckRefresh()
    Init()public void Init()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag, bool isDebugMode = false)

    Parallel

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    ParallelChart

    class in XCharts.Runtime / 继承自: BaseChart

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    Contains()public bool Contains(float x, float y)
    Contains()public bool Contains(Vector3 pos)
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    ParallelCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Pie

    class in XCharts.Runtime / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Pie ConvertSerie(Serie serie)

    PieChart

    class in XCharts.Runtime / 继承自: BaseChart

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    PolarAxisTheme()public PolarAxisTheme(ThemeType theme) : base(theme) { }

    PolarChart

    class in XCharts.Runtime / 继承自: BaseChart

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    API版本描述
    Contains()public bool Contains(Vector3 pos)
    IsPointerEnter()public bool IsPointerEnter()

    PolarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    PropertyUtil

    class in XCharts.Runtime

    API版本描述
    SetClass<T>()public static bool SetClass<T>(ref T currentValue, T newValue, bool notNull = false) where T : class
    SetColor()public static bool SetColor(ref Color currentValue, Color newValue)
    SetColor()public static bool SetColor(ref Color32 currentValue, Color32 newValue)
    SetStruct<T>()public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct

    Radar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    RadarAxisTheme()public RadarAxisTheme(ThemeType theme) : base(theme)

    RadarChart

    class in XCharts.Runtime / 继承自: BaseChart

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    RadiusAxisTheme()public RadiusAxisTheme(ThemeType theme) : base(theme) { }

    ReflectionUtil

    class in XCharts.Runtime

    API版本描述
    DeepCloneSerializeField()public static object DeepCloneSerializeField(object obj)
    InvokeListAdd()public static void InvokeListAdd(object obj, FieldInfo field, object item)
    InvokeListAddTo<T>()public static void InvokeListAddTo<T>(object obj, FieldInfo field, Action<T> callback)
    InvokeListClear()public static void InvokeListClear(object obj, FieldInfo field)
    InvokeListCount()public static int InvokeListCount(object obj, FieldInfo field)
    InvokeListGet<T>()public static T InvokeListGet<T>(object obj, FieldInfo field, int i)

    RequireChartComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)

    Ring

    class in XCharts.Runtime / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    GetDataTotal()public override double GetDataTotal(int dimension, SerieData serieData = null)

    RingChart

    class in XCharts.Runtime / 继承自: BaseChart

    RuntimeUtil

    class in XCharts.Runtime

    API版本描述
    GetAllAssemblyTypes()public static IEnumerable<Type> GetAllAssemblyTypes()
    GetAllTypesDerivedFrom()public static IEnumerable<Type> GetAllTypesDerivedFrom(Type type)
    GetAllTypesDerivedFrom<T>()public static IEnumerable<Type> GetAllTypesDerivedFrom<T>()
    GetAttribute<T>()public static T GetAttribute<T>(this MemberInfo type, bool check = true) where T : Attribute
    GetAttribute<T>()public static T GetAttribute<T>(this Type type, bool check = true) where T : Attribute
    HasSubclass()public static bool HasSubclass(Type type)

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ScatterChart

    class in XCharts.Runtime / 继承自: BaseChart

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie,IComparable / 子类: SerieHandler<T>,Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Pie,Radar,Ring,BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    API版本描述
    onClickpublic Action<SerieEventData> onClick
    点击系列时的回调。
    onDownpublic Action<SerieEventData> onDown
    鼠标按下时的回调。
    onEnterpublic Action<SerieEventData> onEnter
    鼠标进入时的回调。
    onExitpublic Action<SerieEventData> onExit
    鼠标离开时的回调。
    AddChildData()public SerieData AddChildData(SerieData parent, double value, string name, string id)
    AddChildData()public SerieData AddChildData(SerieData parent, List<double> value, string name, string id)
    AddChildData()public void AddChildData(SerieData parent, SerieData serieData)
    AddData()public SerieData AddData(double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    添加 (open, close, lowest, heighest) 数据
    AddData()public SerieData AddData(List<double> valueList, string dataName = null, string dataId = null)
    将一组数据添加到系列中。 如果数据只有一个,默认添加到维度Y中。
    AddData()public SerieData AddData(params double[] values)
    添加任意维数据到系列中。
    AddExtraComponent<T>()public T AddExtraComponent<T>() where T : ChildComponent, ISerieComponent
    AddSerieData()public void AddSerieData(SerieData serieData)
    AddXYData()public SerieData AddXYData(double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到维度X和维度Y
    AddYData()public SerieData AddYData(double value, string dataName = null, string dataId = null)
    添加一个数据到维度Y(此时维度X对应的数据是索引)
    AnimationEnable()public void AnimationEnable(bool flag)
    启用或取消初始动画
    AnimationFadeIn()public void AnimationFadeIn()
    渐入动画
    AnimationFadeOut()public void AnimationFadeOut()
    渐出动画
    AnimationPause()public void AnimationPause()
    暂停动画
    AnimationReset()public void AnimationReset()
    重置动画
    AnimationRestart()public void AnimationRestart()
    重置动画
    AnimationResume()public void AnimationResume()
    继续动画
    CanAddComponent()public bool CanAddComponent(Type type)
    CanAddComponent<T>()public bool CanAddComponent<T>() where T : ChildComponent, ISerieComponent
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空所有数据
    ClearDirty()public override void ClearDirty()
    ClearHighlight()public void ClearHighlight()
    清除所有数据的高亮标志
    ClearSerieNameDirty()public void ClearSerieNameDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public Serie Clone()
    Clone<T>()public T Clone<T>() where T : Serie
    CompareTo()public int CompareTo(object obj)
    EnsureComponent()public ISerieComponent EnsureComponent(Type type)
    EnsureComponent<T>()public T EnsureComponent<T>() where T : ChildComponent, ISerieComponent
    确保系列有该组件。如果没有,则添加。
    GetBarWidth()public float GetBarWidth(float categoryWidth, int barCount = 0)
    GetComponent()public ISerieComponent GetComponent(Type type)
    GetComponent<T>()public T GetComponent<T>() where T : ChildComponent, ISerieComponent
    GetData()public double GetData(int index, int dimension, DataZoom dataZoom = null)
    获得指定index指定维数的数据
    GetDataList()public List<SerieData> GetDataList(DataZoom dataZoom = null)
    获得系列的数据列表
    GetDataTotal()public virtual double GetDataTotal(int dimension, SerieData serieData = null)
    GetSerieData()public SerieData GetSerieData(int index, DataZoom dataZoom = null)
    获得指定索引的数据项
    GetSerieData()public SerieData GetSerieData(SerieData parent, string id)
    GetSerieData()public SerieData GetSerieData(string id, DataZoom dataZoom = null)
    GetXYData()public void GetXYData(int index, DataZoom dataZoom, out double xValue, out double yVlaue)
    获得指定索引的维度X和维度Y的数据
    GetYCurrData()public double GetYCurrData(int index, DataZoom dataZoom = null)
    GetYData()public double GetYData(int index, DataZoom dataZoom = null)
    获得维度Y索引对应的数据
    GetYData()public void GetYData(int index, out double yData, out string dataName, DataZoom dataZoom = null)
    获得维度Y索引对应的数据和数据名
    IsIgnoreIndex()public bool IsIgnoreIndex(int index, int dimension = 1)
    IsIgnorePoint()public bool IsIgnorePoint(int index)
    IsIgnoreValue()public bool IsIgnoreValue(double value)
    IsIgnoreValue()public bool IsIgnoreValue(SerieData serieData, double value)
    IsIgnoreValue()public bool IsIgnoreValue(SerieData serieData, int dimension = 1)
    IsLegendName()public bool IsLegendName(string legendName)
    IsPerformanceMode()public bool IsPerformanceMode()
    是否为性能模式。性能模式下不绘制Symbol,不刷新Label,不单独设置数据项配置。
    IsSerie<T>()public bool IsSerie<T>() where T : Serie
    IsSerieDataLegendName()public bool IsSerieDataLegendName(string legendName)
    IsSerieLegendName()public bool IsSerieLegendName(string legendName)
    IsUseCoord<T>()public bool IsUseCoord<T>() where T : CoordSystem
    RemoveAllComponents()public void RemoveAllComponents()
    移除所有额外组件。
    RemoveComponent()public void RemoveComponent(Type type)
    RemoveComponent<T>()public void RemoveComponent<T>() where T : ISerieComponent
    RemoveData()public void RemoveData(int index)
    移除指定索引的数据
    ResetDataIndex()public bool ResetDataIndex()
    重置数据项索引。避免部分数据项的索引异常。
    ResetInteract()public void ResetInteract()
    SetAllDirty()public override void SetAllDirty()
    SetCoord<T>()public bool SetCoord<T>() where T : CoordSystem
    SetHighlight()public void SetHighlight(int index, bool flag)
    设置指定索引的数据为高亮状态
    SetVerticesDirty()public override void SetVerticesDirty()
    UpdateData()public bool UpdateData(int index, int dimension, double value)
    更新指定索引指定维数的数据
    UpdateData()public bool UpdateData(int index, List<double> values)
    更新指定索引的数据项数据列表
    UpdateDataName()public bool UpdateDataName(int index, string name)
    UpdateXYData()public bool UpdateXYData(int index, double xValue, double yValue)
    更新指定索引的维度X和维度Y的数据
    UpdateYData()public bool UpdateYData(int index, double value)
    更新指定索引的维度Y数据

    SerieComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到Serie的组件。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieComponentAttribute()public SerieComponentAttribute()
    SerieComponentAttribute()public SerieComponentAttribute(Type type1)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieContext

    class in XCharts.Runtime

    SerieConvertAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可转化为哪些Serie类型。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : Serie
    SerieConvertAttribute()public SerieConvertAttribute(Type serie)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    EnsureComponent()v3.6.0public ISerieDataComponent EnsureComponent(Type type)
    确保数据项有指定类型的组件,如果没有则添加。
    EnsureComponent<T>()v3.6.0public T EnsureComponent<T>() where T : ChildComponent, ISerieDataComponent
    确保数据项有指定类型的组件,如果没有则添加。
    GetAddAnimationData()public double GetAddAnimationData(double min, double max, float animationDuration = 500f, bool unscaledTime = false)
    GetComponent<T>()public T GetComponent<T>() where T : ChildComponent, ISerieDataComponent
    获取数据项的指定类型的组件,如果不存在则返回null。
    GetCurrData()public double GetCurrData(int index, AnimationStyle animation, bool inverse = false, bool loop = false)
    GetCurrData()public double GetCurrData(int index, AnimationStyle animation, bool inverse, double min, double max, bool loop = false)
    GetCurrData()public double GetCurrData(int index, float dataAddDuration = 500f, float animationDuration = 500f, bool unscaledTime = false, bool inverse = false)
    GetCurrData()public double GetCurrData(int index, float dataAddDuration, float animationDuration, bool inverse, double min, double max, bool unscaledTime, bool loop = false)
    GetData()public double GetData(int index, bool inverse = false)
    GetData()public double GetData(int index, double min, double max)
    GetFirstData()public double GetFirstData(bool unscaledTime, float animationDuration = 500f)
    GetLabelHeight()public float GetLabelHeight()
    GetLabelWidth()public float GetLabelWidth()
    GetLastData()public double GetLastData()
    GetMaxData()public double GetMaxData(bool inverse = false)
    最大值。
    GetMinData()public double GetMinData(bool inverse = false)
    最小值。
    GetMinMaxData()public void GetMinMaxData(int startDimensionIndex, bool inverse, out double min, out double max)
    GetOrAddComponent<T>()public T GetOrAddComponent<T>() where T : ChildComponent, ISerieDataComponent
    GetPreviousData()public double GetPreviousData(int index, bool inverse = false)
    GetTotalData()public double GetTotalData()
    IsDataChanged()public bool IsDataChanged()
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    List<string>()public static List<string> extraFieldList = new List<string>()
    系列中的一个数据项。可存储数据名和1-n维个数据。
    OnAdd()public void OnAdd(AnimationStyle animation, double startValue = 0)
    RemoveAllComponent()public void RemoveAllComponent()
    RemoveComponent()public void RemoveComponent(Type type)
    RemoveComponent<T>()public void RemoveComponent<T>() where T : ISerieDataComponent
    Reset()public void Reset()
    SetIconActive()public void SetIconActive(bool flag)
    SetLabelActive()public void SetLabelActive(bool flag)
    SetPolygon()public void SetPolygon(params Vector2[] points)
    SetPolygon()public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)
    SetPolygon()public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5)
    UpdateData()public bool UpdateData(int dimension, double value)
    UpdateData()public bool UpdateData(int dimension, double value, bool updateAnimation, bool unscaledTime, float animationDuration = 500f)

    SerieDataComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到SerieData的组件。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieDataComponentAttribute()public SerieDataComponentAttribute()
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieDataContext

    class in XCharts.Runtime

    API版本描述
    Reset()public void Reset()

    SerieDataExtraFieldAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Contains()public bool Contains(string field)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute()
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7)

    SerieEventData

    class in XCharts.Runtime

    serie事件的数据。

    API版本描述
    Reset()public void Reset()

    SerieEventDataPool

    class in XCharts.Runtime

    API版本描述
    Get()public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)
    Release()public static void Release(SerieEventData toRelease)

    SerieHandler

    class in XCharts.Runtime

    API版本描述
    AfterUpdate()public virtual void AfterUpdate() { }
    BeforeUpdate()public virtual void BeforeUpdate() { }
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawSerie()public virtual void DrawSerie(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    ForceUpdateSerieContext()public virtual void ForceUpdateSerieContext() { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName) { }
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    RefreshLabelInternal()public virtual void RefreshLabelInternal() { }
    RefreshLabelNextFrame()public virtual void RefreshLabelNextFrame() { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }
    UpdateSerieContext()public virtual void UpdateSerieContext() { }

    SerieHandler where T

    class in / 子类: SerieHandler<T>

    SerieHandler<T>

    class in XCharts.Runtime / 继承自: [SerieHandler where T](#seriehandler where t),Serie

    API版本描述
    AfterUpdate()public override void AfterUpdate()
    BeforeUpdate()public override void BeforeUpdate()
    DrawLabelLineSymbol()public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)
    ForceUpdateSerieContext()public override void ForceUpdateSerieContext()
    GetPointerItemDataDimension()public override int GetPointerItemDataDimension()
    GetPointerItemDataIndex()public override int GetPointerItemDataIndex()
    GetSerieDataAutoColor()public virtual Color GetSerieDataAutoColor(SerieData serieData)
    GetSerieDataLabelOffset()public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)
    GetSerieDataLabelPosition()public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)
    GetSerieDataTitlePosition()public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)
    InitComponent()public override void InitComponent()
    OnLegendButtonClick()public override void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public override void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public override void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    RefreshEndLabelInternal()public virtual void RefreshEndLabelInternal()
    RefreshLabelInternal()public override void RefreshLabelInternal()
    RefreshLabelNextFrame()public override void RefreshLabelNextFrame()
    RemoveComponent()public override void RemoveComponent()
    Update()public override void Update()

    SerieHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler)
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler, bool allowMultiple)

    SerieHelper

    class in XCharts.Runtime

    API版本描述
    CloneSerie<T>()public static T CloneSerie<T>(Serie serie) where T : Serie
    CopySerie()public static void CopySerie(Serie oldSerie, Serie newSerie)
    GetAllMinMaxData()public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)
    GetAreaStyle()public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)
    GetAverageData()public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetBlurStyle()public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)
    GetEmphasisStyle()public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData)
    GetItemColor()public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true)
    GetItemFormatter()public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetItemMarker()public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null)
    GetItemStyle()public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetLineColor()public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto)
    GetLineStyle()public static LineStyle GetLineStyle(Serie serie, SerieData serieData)
    GetMaxData()public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMaxSerieData()public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMedianData()public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinData()public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinMaxData()public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)
    获得系列所有数据的最大最小值。
    GetMinSerieData()public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetNumericFormatter()public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetSelectStyle()public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)
    GetSerieLabel()public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieLabelLine()public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieState()public static SerieState GetSerieState(Serie serie)
    GetSerieState()public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)
    GetSerieState()public static SerieState GetSerieState(SerieData serieData)
    GetSerieSymbol()public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetStateStyle()public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)
    GetSysmbolSize()public static float GetSysmbolSize(Serie serie, SerieData serieData, float defaultSize, SerieState state = SerieState.Auto, bool checkAnimation = false)
    GetTitleStyle()public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)
    IsAllZeroValue()public static bool IsAllZeroValue(Serie serie, int dimension = 1)
    系列指定维数的数据是否全部为0。
    IsDownPoint()public static bool IsDownPoint(Serie serie, int index)
    UpdateCenter()public static void UpdateCenter(Serie serie, BaseChart chart)
    更新运行时中心点和半径
    UpdateFilterData()public static void UpdateFilterData(Serie serie, DataZoom dataZoom)
    根据dataZoom更新数据列表缓存
    UpdateMinMaxData()public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)
    获得指定维数的最大最小值
    UpdateRect()public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
    UpdateSerieRuntimeFilterData()public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)

    SerieLabelHelper

    class in XCharts.Runtime

    API版本描述
    CanShowLabel()public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)
    GetLabelColor()public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)
    SetGaugeLabelText()public static void SetGaugeLabelText(Serie serie)

    SerieLabelPool

    class in XCharts.Runtime

    API版本描述
    ClearAll()public static void ClearAll()
    Release()public static void Release(GameObject element)
    ReleaseAll()public static void ReleaseAll(Transform parent)

    SerieParams

    class in XCharts.Runtime

    SeriesHelper

    class in XCharts.Runtime

    API版本描述
    GetLastStackSerie()public static Serie GetLastStackSerie(List<Serie> series, Serie serie)
    获得上一个同堆叠且显示的serie。
    GetLegalSerieNameList()public static List<string> GetLegalSerieNameList(List<Serie> series)
    GetMaxSerieDataCount()public static int GetMaxSerieDataCount(List<Serie> series)
    GetMinAnimationDuration()public static float GetMinAnimationDuration(List<Serie> series)
    GetNameColor()public static Color GetNameColor(BaseChart chart, int index, string name)
    GetStackSeries()public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)
    获得堆叠系列列表
    IsAnyClipSerie()public static bool IsAnyClipSerie(List<Serie> series)
    是否有需裁剪的serie。
    IsLegalLegendName()public static bool IsLegalLegendName(string name)
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series) where T : Serie
    是否时百分比堆叠
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series, string stackName) where T : Serie
    是否时百分比堆叠
    IsStack()public static bool IsStack(List<Serie> series)
    是否由数据堆叠
    IsStack<T>()public static bool IsStack<T>(List<Serie> series, string stackName) where T : Serie
    是否堆叠
    UpdateSerieNameList()public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)
    获得所有系列名,不包含空名字。
    UpdateStackDataList()public static void UpdateStackDataList(List<Serie> series, Serie currSerie, DataZoom dataZoom, List<List<SerieData>> dataList)

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle,ISerieDataComponent

    系列数据项的标记的图形

    API版本描述
    GetSize()public float GetSize(List<double> data, float themeSize)
    根据指定的sizeType获得标记的大小
    Reset()public override void Reset()
    ShowSymbol()public bool ShowSymbol(int dataIndex, int dataCount)

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Copy()public void Copy(SerieTheme theme)
    SerieTheme()public SerieTheme(ThemeType theme)

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    API版本描述
    Copy()public void Copy(Settings settings)
    Reset()public override void Reset()

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedBar ConvertSerie(Serie serie)

    SimplifiedBarChart

    class in XCharts.Runtime / 继承自: BaseChart

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedCandlestick ConvertSerie(Serie serie)

    SimplifiedCandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedLine ConvertSerie(Serie serie)

    SimplifiedLineChart

    class in XCharts.Runtime / 继承自: BaseChart

    Since

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Since()public Since(string version)

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis,IUpdateRuntimeData

    单轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    StageColor()public StageColor(float percent, Color32 color)

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle,EmphasisStyle,SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Reset()public void Reset()

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    SubTitleTheme()public SubTitleTheme(ThemeType theme) : base(theme)

    SVG

    class in XUGL

    API版本描述
    DrawPath()public static void DrawPath(VertexHelper vh, string path)
    DrawPath()public static void DrawPath(VertexHelper vh, SVGPath path)
    Test()public static void Test(VertexHelper vh)

    SVGImage

    class in XCharts.Runtime / 继承自: MaskableGraphic

    SVGPath

    class in XUGL

    API版本描述
    AddSegment()public void AddSegment(SVGPathSeg seg)
    Draw()public void Draw(VertexHelper vh)
    Parse()public static SVGPath Parse(string path)

    SVGPathSeg

    class in XUGL

    API版本描述
    SVGPathSeg()public SVGPathSeg(SVGPathSegType type)

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    API版本描述
    GetColor()public Color32 GetColor(Color32 defaultColor)
    Reset()public virtual void Reset()

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    API版本描述
    Clone()public TextLimit Clone()
    Copy()public void Copy(TextLimit textLimit)
    GetLimitContent()public string GetLimitContent(string content)
    SetRelatedText()public void SetRelatedText(ChartText txt, float labelWidth)

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    API版本描述
    TextPadding()public TextPadding() { }
    TextPadding()public TextPadding(float top, float right, float bottom, float left)

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    API版本描述
    Copy()public void Copy(TextStyle textStyle)
    GetAlignment()public TextAnchor GetAlignment(TextAnchor defaultAlignment)
    GetColor()public Color GetColor(Color defaultColor)
    GetFontSize()public int GetFontSize(ComponentTheme defaultTheme)
    TextStyle()public TextStyle() { }
    TextStyle()public TextStyle(int fontSize)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle, Color color)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle, Color color, int rorate)
    UpdateAlignmentByLocation()public void UpdateAlignmentByLocation(Location location)

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    API版本描述
    CheckWarning()public void CheckWarning(StringBuilder sb)
    CloneTheme()public Theme CloneTheme()
    克隆主题。
    CopyTheme()public bool CopyTheme(ThemeType theme)
    CopyTheme()public void CopyTheme(Theme theme)
    复制主题的所有配置。
    GetColor()public Color32 GetColor(int index)
    获得调色盘对应系列索引的颜色值。
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。
    GetColorStr()public string GetColorStr(int index)
    获得指定索引的十六进制颜色值字符串。
    GetHashCode()public override int GetHashCode()
    ResetTheme()public bool ResetTheme()
    重置,清除所有自定义配置。
    ResetToDarkTheme()public static void ResetToDarkTheme(Theme theme)
    暗主题。
    ResetToDefaultTheme()public static void ResetToDefaultTheme(Theme theme)
    默认主题。
    SetColorPalette()public void SetColorPalette(List<string> hexColorStringList)
    SetDefaultFont()public void SetDefaultFont()
    SyncFontToSubComponent()public void SyncFontToSubComponent()
    SyncTMPFontToSubComponent()public void SyncTMPFontToSubComponent()

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    API版本描述
    CheckWarning()public void CheckWarning(StringBuilder sb)
    GetBackgroundColor()public Color32 GetBackgroundColor(Background background)
    GetColor()public Color32 GetColor(int index)
    获得调色盘对应系列索引的颜色值。
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。
    GetColorStr()public string GetColorStr(int index)
    获得指定索引的十六进制颜色值字符串。
    SyncSharedThemeColorToCustom()public void SyncSharedThemeColorToCustom()

    Title

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    标题组件,包含主标题和副标题。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    OnChanged()public void OnChanged()

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle,ISerieDataComponent,ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    TitleTheme()public TitleTheme(ThemeType theme) : base(theme)

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    API版本描述
    AddSerieDataIndex()public void AddSerieDataIndex(int serieIndex, int dataIndex)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    ClearSerieDataIndex()public void ClearSerieDataIndex()
    GetContentLabelStyle()public LabelStyle GetContentLabelStyle(int index)
    IsActive()public bool IsActive()
    提示框是否显示
    isAnySerieDataIndex()public bool isAnySerieDataIndex()
    IsSelected()public bool IsSelected()
    当前提示框是否选中数据项
    IsSelected()public bool IsSelected(int index)
    指定索引的数据项是否被提示框选中
    IsTriggerAxis()public bool IsTriggerAxis()
    IsTriggerItem()public bool IsTriggerItem()
    KeepTop()public void KeepTop()
    保持Tooltiop显示在最顶上
    SetActive()public void SetActive(bool flag)
    设置Tooltip组件是否显示
    SetContentActive()public void SetContentActive(bool flag)
    设置文本框是否显示
    UpdateContentPos()public void UpdateContentPos(Vector2 pos, float width, float height)
    更新文本框位置

    TooltipContext

    class in XCharts.Runtime

    TooltipData

    class in XCharts.Runtime

    TooltipHelper

    class in XCharts.Runtime

    API版本描述
    GetItemNumericFormatter()public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)
    GetLineColor()public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor)
    IsIgnoreFormatter()public static bool IsIgnoreFormatter(string itemFormatter)
    LimitInRect()public static void LimitInRect(Tooltip tooltip, Rect chartRect)

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(TooltipTheme theme)
    TooltipTheme()public TooltipTheme(ThemeType theme) : base(theme)

    TooltipView

    class in XCharts.Runtime

    API版本描述
    CreateView()public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)
    GetCurrentPos()public Vector3 GetCurrentPos()
    GetTargetPos()public Vector3 GetTargetPos()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag)
    Update()public void Update()
    UpdatePosition()public void UpdatePosition(Vector3 pos)

    TooltipViewItem

    class in XCharts.Runtime

    UGL

    class in XUGL

    UGUI 图形库

    API版本描述
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, Color32 color, Color32 toColor)
    DrawEllipse()public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)
    DrawEmptyDiamond()public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color)
    DrawEmptyDiamond()public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color, Color32 emptyColor)
    DrawEmptyTriangle()public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color)
    DrawEmptyTriangle()public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color, Color32 backgroundColor)
    DrawLine()public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color)
    Draw a line. 画直线
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
    Draw a line. 画直线
    DrawMinus()public static void DrawMinus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    绘制减号
    DrawPlus()public static void DrawPlus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    绘制加号
    DrawPolygon()public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
    填充任意多边形(目前只支持凸多边形)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Vector3 p1, Vector3 p2, float radius, Color32 color)
    Draw a rectangle. 画带长方形
    DrawSquare()public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
    Draw a square. 画正方形
    DrawSvgPath()public static void DrawSvgPath(VertexHelper vh, string path)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)

    UGLExample

    class in XUGL / 继承自: MaskableGraphic

    UGLHelper

    class in XUGL

    API版本描述
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBezier()public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)
    GetBezier2()public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)
    GetBezierList()public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref List<Vector3> intersection)
    获得两直线的交点
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref Vector3 intersection)
    获得两直线的交点
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector3> polyons)
    IsPointInTriangle()public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)

    UIComponent

    class in XCharts.Runtime / 继承自: BaseGraph

    UI组件基类。

    API版本描述
    SetAllDirty()public override void SetAllDirty()
    SetDataDirty()v3.9.0public void SetDataDirty()
    SetVerticesDirty()public override void SetVerticesDirty()
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    UIHelper

    class in XCharts.Runtime

    UI帮助类。

    API版本描述
    GetBackgroundColor()public static Color32 GetBackgroundColor(UIComponent component)

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    API版本描述
    AddColors()public void AddColors(List<Color32> colors)
    AddColors()public void AddColors(List<string> colors)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    GetColor()public Color32 GetColor(double value)
    GetIndex()public int GetIndex(double value)
    GetValue()public double GetValue(Vector3 pos, Rect chartRect)
    IsInRangeMaxRect()public bool IsInRangeMaxRect(Vector3 local, Rect chartRect, float triangleLen)
    IsInRangeMinRect()public bool IsInRangeMinRect(Vector3 local, Rect chartRect, float triangleLen)
    IsInRangeRect()public bool IsInRangeRect(Vector3 local, Rect chartRect)
    IsInRect()public bool IsInRect(Vector3 local, Rect chartRect, float triangleLen = 20)
    IsInSelectedValue()public bool IsInSelectedValue(double value)
    IsPiecewise()public bool IsPiecewise()

    VisualMapContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    VisualMapHelper

    class in XCharts.Runtime

    API版本描述
    AutoSetLineMinMax()public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
    GetDimension()public static int GetDimension(VisualMap visualMap, int defaultDimension)
    IsNeedAreaGradient()public static bool IsNeedAreaGradient(VisualMap visualMap)
    IsNeedGradient()public static bool IsNeedGradient(VisualMap visualMap)
    IsNeedLineGradient()public static bool IsNeedLineGradient(VisualMap visualMap)
    SetMinMax()public static void SetMinMax(VisualMap visualMap, double min, double max)

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Contains()public bool Contains(double value, double minMaxRange)

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(VisualMapTheme theme)
    VisualMapTheme()public VisualMapTheme(ThemeType theme) : base(theme)

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 x 轴。

    XChartsMgr

    class in XCharts.Runtime

    API版本描述
    AddChart()public static void AddChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(string chartName)
    GetChart()public static BaseChart GetChart(string chartName)
    GetCharts()public static List<BaseChart> GetCharts(string chartName)
    GetPackageFullPath()public static string GetPackageFullPath()
    GetRepeatChartNameInfo()public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
    IsRepeatChartName()public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
    RemoveAllChartObject()public static void RemoveAllChartObject()
    RemoveChart()public static void RemoveChart(string chartName)

    XCResourceImporterWindow

    class in XCharts.Runtime / 继承自: UnityEditor.EditorWindow

    API版本描述
    ShowPackageImporterWindow()public static void ShowPackageImporterWindow()

    XCResourcesImporter

    class in XCharts.Runtime

    API版本描述
    OnDestroy()public void OnDestroy() { }
    OnGUI()public void OnGUI()
    XCResourcesImporter()public XCResourcesImporter() { }

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    API版本描述
    AddCustomTheme()public static bool AddCustomTheme(Theme theme)
    ExistAssetFile()public static bool ExistAssetFile()
    GetSettingAssetPath()public static string GetSettingAssetPath()

    XCThemeMgr

    class in XCharts.Runtime

    API版本描述
    AddTheme()public static void AddTheme(Theme theme)
    CheckReloadTheme()public static void CheckReloadTheme()
    ContainsTheme()public static bool ContainsTheme(string themeName)
    ExportTheme()public static bool ExportTheme(Theme theme)
    ExportTheme()public static bool ExportTheme(Theme theme, string themeNewName)
    GetAllThemeNames()public static List<string> GetAllThemeNames()
    GetTheme()public static Theme GetTheme(string themeName)
    GetTheme()public static Theme GetTheme(ThemeType type)
    GetThemeAssetPath()public static string GetThemeAssetPath(string themeName)
    GetThemeList()public static List<Theme> GetThemeList()
    LoadTheme()public static Theme LoadTheme(string themeName)
    LoadTheme()public static Theme LoadTheme(ThemeType type)
    ReloadThemeList()public static void ReloadThemeList()
    重新加载主题列表
    SwitchTheme()public static void SwitchTheme(BaseChart chart, string themeName)

    XLog

    class in XCharts.Runtime / 继承自: MonoBehaviour

    日志系统。用于输出带日期和日志类型的日志,支持输出到文件,支持自定义输出的日志类型。

    API版本描述
    CanLog()public static bool CanLog(int level)
    ClearAllLog()public static void ClearAllLog()
    Debug()public static void Debug(string log)
    EnableLog()public static void EnableLog(int logType)
    Error()public static void Error(string log)
    FlushLog()public static void FlushLog()
    GetNowTime()public static string GetNowTime(string formatter = null)
    GetTimestamp()public static ulong GetTimestamp()
    Info()public static void Info(string log)
    Log()public static void Log(string log)
    LogError()public static void LogError(string log)
    LogWarning()public static void LogWarning(string log)
    Proto()public static void Proto(string log)
    Vital()public static void Vital(string log)
    Warning()public static void Warning(string log)

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/bar3d/index.html b/docs/v3.9.0/bar3d/index.html index 836199f6..b6b1092e 100644 --- a/docs/v3.9.0/bar3d/index.html +++ b/docs/v3.9.0/bar3d/index.html @@ -14,14 +14,14 @@ Bar3DChart 3D柱图 | XCharts - - + +
    Version: v3.9.0

    Bar3DChart 3D柱图

    XCharts的付费扩展图表 - 3D柱图。

    截图

    Bar3D01Bar3D02Bar3D03Bar3D04Bar3D05
    Bar3D07Bar3D08Bar3D09Bar3D10

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0
    • (2023.02.14) 增加Bar3DStyletopColorbottomColorsideColor参数支持

    v3.5.0

    • (2022.11.29) 增加SeriebarMaxWidth参数支持
    • (2022.11.27) 增加SerieItemStylebackgroundColor参数支持
    • (2022.11.27) 增加SeriecolorBy的支持
    • (2022.11.27) 更新文档

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    v3.1.0

    • (2022.07.14) 发布v3.1.0版本
    • (2022.07.14) 增加bottomColorRate,cylinderRate参数
    • (2022.07.14) 调整topColorBurnRate改名为topColorRate
    • (2022.07.14) 调整sideColorBurnRate改名为sideColorRate
    • (2022.07.14) 调整dire改名为cubeDire
    • (2022.07.14) 支持Cylinder圆柱和Cube立方柱

    API

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie,INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    API版本描述
    AddDefaultSerie()public static Bar3D AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Bar3D ConvertSerie(Serie serie)

    Bar3DChart

    class in XCharts.Runtime.Bar3Ds / 继承自: BaseChart

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    配置项手册

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie, INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    参数默认版本描述
    bar3DTypev3.1.0
    Bar3DType:
    - Cube: 立方柱。
    - Cylinder: 圆柱。
    bar3DStyleBar3DStyle

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    verticalArrangefalse是否垂直排列。
    verticalArrangeDireVector3(-1, 1)垂直排列时的方向。
    verticalArrangeGap0.5f垂直排列时两个柱子间的间隙。
    barOffsetVector3.zero柱子偏移。
    widthRate0.5f方形柱侧边宽度相对正面的比例。
    topColorRate0.8f柱子顶部相对正面的颜色比例。
    bottomColorRate1f柱子底部相对正面的颜色比例。
    sideColorRate0.7f方形柱侧边相对正面的颜色比例。
    cubeDireVector3(1, 1)方形柱形成3D效果的方向。
    cylinderRate0.5fv3.1.0圆柱的顶部椭圆比列。
    topColorv3.6.0
    bottomColorv3.6.0
    sideColorv3.6.0
    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/changelog/index.html b/docs/v3.9.0/changelog/index.html index dfccf61a..b01182a2 100644 --- a/docs/v3.9.0/changelog/index.html +++ b/docs/v3.9.0/changelog/index.html @@ -14,8 +14,8 @@ 更新日志 | XCharts - - + +
    @@ -81,7 +81,7 @@ v0.8.0
    v0.5.0
    v0.1.0

    master

    v3.9.0

    版本要点:

    • 增加AxisAnimation,完善数据变更动画效果
    • 增加Axis的对数轴子刻度的支持
    • 增加MarkLineonTop设置是否显示在最上层
    • 完善代码注释和手册文档
    • 修复若干问题

    扩展功能:

    • UITable增加轮播功能
    • UITable增加数据操作接口和回调函数
    • Pie3DChart优化绘制表现

    日志详情:

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 修复TooltiptitleFormatter设置为{b}后显示不准确的问题
    • (2023.11.30) 增加SerieData可单独添加Label的支持
    • (2023.11.28) 修复Tooltip在对数轴时指示不准确的问题
    • (2023.11.24) 修复ChartUpdateData()接口返回值不准确的问题
    • (2023.11.24) 修复Axis的更新数据时效果不顺畅的问题
    • (2023.11.23) 增加AxisAnimation支持动画效果
    • (2023.11.16) 取消Legendformatter,用LabelStyle的代替
    • (2023.11.14) 完善LabelStyleformatter的注释和文档(#291)
    • (2023.11.11) 修复Documentation部分注释生成文档不完整的问题 (#290)
    • (2023.11.11) 修复Legendformatter在数据变更时没有自动刷新的问题
    • (2023.11.05) 修复SerieEventDatavalue一直是0的问题 (#287)
    • (2023.11.03) 修复Bar设置渐变色时鼠标移出效果异常的问题 (#285)
    • (2023.11.02) 优化SerieData设置ignoreformatter的忽略问题
    • (2023.11.01) 增加MarkLineonTop设置是否显示在最上层
    • (2023.10.21) 修复Pie有0数据时Label的位置异常的问题
    • (2023.10.21) 增加Axis的对数轴支持子刻度
    • (2023.10.19) 修复Pie设置玫瑰图时引导线异常的问题
    • (2023.10.15) 修复Line设置AnimationAlongPath时动画异常的问题 (#281)
    • (2023.10.12) 修复MarkLine指定yValue时对数值轴无效的问题
    • (2023.10.11) 修复SerieshowDataDimension设置无效的问题

    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) 增加PieradiusGradient可设置半径方向的渐变效果
    • (2023.09.05) 优化LabelLinelineEndXPie中的表现
    • (2023.09.05) 修复TriggerTooltip()接口对Ring无效的问题
    • (2023.09.05) 修复Radar数据全为0时绘制报错的问题

    v3.8.0

    版本要点:

    • 重构Animation动画系统,增加新增动画交互动画的支持
    • 完善PieChart的动画交互表现
    • 增加SymbolEmptyTriangleEmptyDiamondPlusMinus四种新标记
    • 完善Chart的鼠标交互回调
    • 增加LabelLine可固定横坐标的功能
    • 增加GridLayout网格布局组件
    • 增加TooltipAuto类型
    • 优化和修复若干其他问题

    日志详情:

    • (2023.09.03) 发布v3.8.0版本
    • (2023.09.01) 增加TooltipAuto自动设置显示类型和触发类型
    • (2023.08.29) 增加RinggridIndex支持设置指定网格
    • (2023.08.29) 增加RadargridIndex支持设置指定网格
    • (2023.08.29) 增加PiegridIndex支持设置指定网格
    • (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) 修复YAxisLabel可能会重复的问题
    • (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本地开启TextMeshProNewInputSystem后更新版本会报错的问题 (#272)
    • (2023.08.12) 修复Chart在运行时被删除时会异常报错的问题 (#269)
    • (2023.08.11) 修复DataZoom开启时可能会导致无法添加数据的问题
    • (2023.08.11) 修复SerieData单独设置ItemStyleitemFormatter不生效的问题
    • (2023.08.10) 优化BarChartTooltipTriggerItem时的表现
    • (2023.08.09) 增加Axis可通过设置IconStylecolorclear来实现动态图标颜色的支持
    • (2023.08.08) 增加PieLabelLinelineEndX的支持
    • (2023.08.05) 整理Examples的代码,删除不必要的用例
    • (2023.08.04) 增加LabelLinelineEndX可设置引导线固定X位置的支持
    • (2023.08.04) 增加RingavoidLabelOverlap避免文本堆叠的支持 (#247)
    • (2023.08.03) 完善ChartonSerieEnteronSerieExitonSerieClick回调
    • (2023.08.02) 修复BarChartonSerieEnteronSerieExit回调无效的问题
    • (2023.08.02) 增加SymbolPlus加号和Minus减号的支持
    • (2023.07.31) 增加SymbolEmptyTriangleEmptyDiamond的支持,优化Symbol表现效果
    • (2023.07.31) 优化Line的默认配置效果
    • (2023.07.27) 增加SerieminRadius可设置最小半径
    • (2023.07.26) 增加MLValue多样式数值
    • (2023.07.25) 增加XLog日志系统
    • (2023.07.18) 完善Pie饼图的交互动画效果
    • (2023.07.14) 增加AnimationInteraction交互动画配置支持
    • (2023.07.11) 增加AnimationAddition新增动画配置支持
    • (2023.07.11) 重构Animation动画系统,完善动画体验
    • (2023.06.30) 增加PolarCoodindicatorLabelOffset设置指示文本偏移的支持
    • (2023.06.30) 修复AxisIndicatorLabel的背景颜色可能不正常的问题
    • (2023.06.30) 增加AxisIndicatorLabel可自定义color的支持
    • (2023.06.12) 修复AxisLabelformatterFunction在数值轴时value不对的问题

    v3.7.0

    版本要点:

    • 增加HelpDoc官网帮助文档跳转
    • 增加LineClip的支持
    • 优化Axis的范围设置
    • 其他优化和修复

    日志详情:

    • (2023.06.08) 发布v3.7.0版本
    • (2023.06.04) 增加HelpDoc帮助文档跳转
    • (2023.05.30) 修复Serie的名字带_线导致Legend无法触发的问题 (#259) (by svr2kos2)
    • (2023.05.10) 增加AxisMinMaxAuto范围类型
    • (2023.05.10) 增加LineClip的支持
    • (2023.05.04) 优化Axis在-1到1范围时设置CeilRate不生效的问题
    • (2023.05.04) 优化AxisMinMax类型范围计算
    • (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) 增加BaseChartTriggerTooltip()接口尝试触发ToolTip
    • (2023.04.12) 优化RadarCood设置startAngle时文本也跟随调整位置
    • (2023.04.12) 增加Radar对通配符{b}的支持
    • (2023.04.11) 修复Inspector在动态添加组件时可能异常的问题

    v3.6.0

    版本要点:

    • 增加InputSystem支持 (by Bian-Sh)
    • 增加官网在线示例多版本支持 (by SHL-COOL)
    • 完善对VR的支持 (by Ambitroc)
    • 增加UITableUIStatistic扩展UI组件
    • 增加ItemStyleMarkColor
    • 增加通配符{h}的支持
    • 优化TooltipLegendDataZoomAxis等组件
    • 重构相关API接口,完善回调接口
    • 修复若干问题

    升级注意:

    • 部分接口有调整,可根据提示更换下接口即可。

    日志详情:

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.14) 修复TooltiptitleFormater设置{b}可能不生效的问题
    • (2023.03.14) 修复BarChart在数据为0时不绘制柱条背景的问题 (#250) (by Ambitroc)
    • (2023.03.12) 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转
    • (2023.03.10) 增加VR等其他非鼠标输入方式的Point位置获取 (#248) (by Ambitroc)
    • (2023.03.09) 增加ChartonSerieClickonSerieDownonSerieEnteronSerieExit回调
    • (2023.03.09) 修复Pie的点击选中偏移不生效的问题
    • (2023.03.04) 增加LegendPositions可自定义图例的位置
    • (2023.03.03) 修复Animation变更动画可能无效的问题
    • (2023.02.28) 修复Legend点击时SerieLabel不刷新的问题
    • (2023.02.26) 增加DataZoomstartEndFunction委托
    • (2023.02.12) 重构Component相关代码,调整API接口
    • (2023.02.10) 修复AxisLog轴时某些情况下最小值不正确的问题
    • (2023.02.10) 优化Axis的数值Label的默认显示格式
    • (2023.02.08) 增加DataZoomstartLockendLock参数支持锁定
    • (2023.02.02) 修复DataZoom开启时X轴Label可能会显示在图表外的问题
    • (2023.02.02) 优化SerieDataignore设置时的忽略数据判断
    • (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) 删除SerieMarkColor,增加ItemStyleMarkColor
    • (2022.12.29) 增加EditorList+添加编辑功能
    • (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) 修复AxisValue轴在某些情况下计算数值范围不准确的问题
    • (2022.12.12) 优化Legendformatter支持{h}通配符
    • (2022.12.12) 修复Legendformatter设置为固定值时显示不正常的问题
    • (2022.12.08) 增加AreaStyletoTop参数可设置折线图渐变色是到顶部还是到实际位置
    • (2022.12.07) 增加Formatter的文本通配符{h}支持设置当前颜色值

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Convert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/configuration/index.html b/docs/v3.9.0/configuration/index.html index eab39931..75d90855 100644 --- a/docs/v3.9.0/configuration/index.html +++ b/docs/v3.9.0/configuration/index.html @@ -14,13 +14,13 @@ 配置项手册 | XCharts - - + +
    Version: v3.9.0

    配置项手册

    Serie 系列

    Theme 主题

    MainComponent 主组件

    ChildComponent 子组件

    ISerieComponent 可添加到Serie的组件

    ISerieDataComponent 可添加到SerieData的组件

    Other 其他

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    参数默认版本描述
    startAngle0起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn, AnimationFadeOut, AnimationChange, AnimationAddition, AnimationHiding, AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    参数默认版本描述
    enabletruev3.8.0是否开启动画效果。
    reversefalsev3.8.0是否开启反向动画效果。
    delay0v3.8.0动画开始前的延迟时间。
    duration1000v3.8.0动画的时长。

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    参数默认版本描述
    widthv3.8.0宽度的多样式数值。 MLValue
    radiusv3.8.0半径的多样式数值。 MLValue
    offsetv3.8.0交互的多样式数值。如饼图的扇形选中时的偏移。 MLValue

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    参数默认版本描述
    enabletrue是否开启动画效果。
    type动画类型。
    AnimationType:
    - Default: 默认。内部会根据实际情况选择一种动画播放方式。
    - LeftToRight: 从左往右播放动画。
    - BottomToTop: 从下往上播放动画。
    - InsideOut: 由内到外播放动画。
    - AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    - Clockwise: 顺时针播放动画。
    easting
    AnimationEasing:
    - Linear:
    threshold2000是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
    unscaledTimev3.4.0动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。
    fadeInv3.8.0渐入动画配置。 AnimationFadeIn
    fadeOutv3.8.0渐出动画配置。 AnimationFadeOut
    changev3.8.0数据变更动画配置。 AnimationChange
    additionv3.8.0数据新增动画配置。 AnimationAddition
    hidingv3.8.0数据隐藏动画配置。 AnimationHiding
    interactionv3.8.0交互动画配置。 AnimationInteraction

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    区域填充样式。

    参数默认版本描述
    showtrue是否显示区域填充。
    origin区域填充的起始位置。
    AreaStyle.AreaOrigin:
    - Auto: 填充坐标轴轴线到数据间的区域。
    - Start: 填充坐标轴底部到数据间的区域。
    - End: 填充坐标轴顶部到数据间的区域。
    color区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。
    toColor渐变色的终点颜色。
    opacity0.6f图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    innerFillv3.2.0是否只填充多边形区域。目前只支持凸多边形。
    toToptruev3.6.0渐变色是到顶部还是到实际位置。默认为true到顶部。

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    width10箭头宽。
    height15箭头高。
    offset0箭头偏移。
    dent3箭头的凹度。
    colorColor.clear箭头颜色。

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis, ParallelAxis, RadiusAxis, SingleAxis, XAxis, YAxis

    直角坐标系的坐标轴组件。

    参数默认版本描述
    showtrue是否显示坐标轴。
    type坐标轴类型。
    Axis.AxisType:
    - Value: 数值轴。适用于连续数据。
    - Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    - Log: 对数轴。适用于对数数据。
    - Time: 时间轴。适用于连续的时序数据。
    minMaxType坐标轴刻度最大最小值显示类型。
    Axis.AxisMinMaxType:
    - Default: 0-最大值。
    - MinMax: 最小值-最大值。
    - Custom: 自定义最小值最大值。
    - MinMaxAuto: [since("v3.7.0")]最小值-最大值。自动计算合适的值。
    gridIndex坐标轴所在的 grid 的索引,默认位于第一个 grid。
    polarIndex坐标轴所在的 ploar 的索引,默认位于第一个 polar。
    parallelIndex坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
    position坐标轴在Grid中的位置。
    Axis.AxisPosition:
    - Left: 坐标轴在Grid中的位置
    - Right: 坐标轴在Grid中的位置
    - Bottom: 坐标轴在Grid中的位置
    - Top: 坐标轴在Grid中的位置
    offset坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
    min设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
    max设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
    splitNumber0坐标轴的期望的分割段数。默认为0表示自动分割。
    interval0强制设置坐标轴分割间隔。无法在类目轴中使用。
    boundaryGaptrue坐标轴两边是否留白。只对类目轴有效。
    maxCache0The first data will be remove when the size of axis data is larger then maxCache.
    logBase10对数轴的底数,只在对数轴(type:'Log')中有效。
    logBaseEfalse对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    inversefalse是否反向坐标轴。在类目轴中无效。
    clockwisetrue刻度增长是否按顺时针,默认顺时针。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    icons类目数据对应的图标。
    data类目数据,在类目轴(type: 'category')中有效。
    axisLine坐标轴轴线。 AxisLine
    axisName坐标轴名称。 AxisName
    axisTick坐标轴刻度。 AxisTick
    axisLabel坐标轴刻度标签。 AxisLabel
    splitLine坐标轴分割线。 AxisSplitLine
    splitArea坐标轴分割区域。 AxisSplitArea
    animation坐标轴动画。 AxisAnimation
    minorTickv3.2.0坐标轴次刻度。 AxisMinorTick
    minorSplitLinev3.2.0坐标轴次分割线。 AxisMinorSplitLine
    indicatorLabelv3.4.0指示器文本的样式。Tooltip为Cross时使用。 LabelStyle

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    参数默认版本描述
    showtrue是否开启动画。
    duration动画时长(ms)。 默认设置为0时,会自动获取serie的动画时长。
    unscaledTime动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    参数默认版本描述
    interval0坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    insidefalse刻度标签是否朝内,默认朝外。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。
    onZerofalse刻度标签显示在0刻度上。
    showStartLabeltrue是否显示第一个文本。
    showEndLabeltrue是否显示最后一个文本。
    textLimit文本限制。 TextLimit

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    参数默认版本描述
    onZeroX 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。
    showArrow是否显示箭头。
    arrow轴线箭头。 ArrowStyle

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    参数默认版本描述
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    参数默认版本描述
    splitNumber5分隔线之间分割的刻度数。
    autoColor

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    参数默认版本描述
    show是否显示坐标轴名称。
    name坐标轴名称。
    onZerov3.1.0坐标轴名称的位置是否保持和Y轴0刻度一致。
    labelStyle文本样式。 LabelStyle

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    参数默认版本描述
    show是否显示分隔区域。
    color分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    参数默认版本描述
    interval坐标轴分隔线的显示间隔。
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。
    showStartLinetruev3.3.0是否显示第一条分割线。
    showEndLinetruev3.3.0是否显示最后一条分割线。

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    参数默认版本描述
    alignWithLabel类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。
    inside坐标轴刻度是否朝内,默认朝外。
    showStartTick是否显示第一个刻度。
    showEndTick是否显示最后一个刻度。
    distance刻度线与轴线的距离。
    splitNumber0分隔线之间分割的刻度数。
    autoColor

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    参数默认版本描述
    showtrue是否启用背景组件。
    image背景图。
    imageType背景图填充类型。
    imageColor背景图颜色。
    autoColortrue当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。

    Bar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme, RadiusAxisTheme, AngleAxisTheme, PolarAxisTheme, RadarAxisTheme

    参数默认版本描述
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f坐标轴线宽。
    lineLength0f坐标轴线长。
    lineColor坐标轴线颜色。
    splitLineType分割线线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    splitLineWidth1f分割线线宽。
    splitLineLength0f分割线线长。
    splitLineColor分割线线颜色。
    minorSplitLineColor次分割线线颜色。
    tickWidth1f刻度线线宽。
    tickLength5f刻度线线长。
    tickColor坐标轴线颜色。
    splitAreaColors坐标轴分隔区域的颜色。

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine, AxisMinorSplitLine, AxisMinorTick, AxisSplitLine, AxisTick

    线条基础配置。

    参数默认版本描述
    show是否显示坐标轴轴线。
    lineStyle线条样式 LineStyle

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer / 子类: EffectScatter, Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Candlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ChartText

    class in XCharts.Runtime

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle, AxisAnimation, AxisName, AxisSplitArea, AreaStyle, ArrowStyle, BaseLine, IconStyle, ImageStyle, ItemStyle, Level, LevelStyle, LineArrow, LineStyle, Location, MLValue, MarqueeStyle, Padding, StageColor, SymbolStyle, TextLimit, TextStyle, CommentItem, CommentMarkStyle, LabelLine, LabelStyle, MarkAreaData, MarkLineData, StateStyle, VisualMapRange, UIComponentTheme, SerieData, ComponentTheme, SerieTheme, ThemeStyle

    Comment

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图表注解组件。

    参数默认版本描述
    showtrue是否显示注解组件。
    labelStyle所有组件的文本样式。 LabelStyle
    markStyle所有组件的文本样式。 CommentMarkStyle
    items注解项。每个注解组件可以设置多个注解项。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    参数默认版本描述
    showtrue是否显示当前注解项。
    content注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。
    markRect注解区域。
    markStyle注解标记区域样式。 CommentMarkStyle
    labelStyle注解项的文本样式。 LabelStyle
    locationv3.5.0Comment显示的位置。 Location

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    参数默认版本描述
    showtrue是否显示当前注解项。
    lineStyle线条样式。 LineStyle

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme, DataZoomTheme, LegendTheme, SubTitleTheme, TitleTheme, TooltipTheme, VisualMapTheme

    参数默认版本描述
    font字体。
    textColor文本颜色。
    textBackgroundColor文本颜色。
    fontSize18文本字体大小。
    tMPFont字体。

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord, CalendarCoord, GridCoord, ParallelCoord, PolarCoord, SingleAxisCoord

    坐标系系统。

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    参数默认版本描述
    enabletrue是否显示缩放区域。
    filterMode数据过滤类型。
    DataZoom.FilterMode:
    - Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    - WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    - Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    - None: 不过滤数据,只改变数轴范围。
    xAxisIndexs控制的 x 轴索引列表。
    yAxisIndexs控制的 y 轴索引列表。
    supportInside是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
    supportInsideScrolltrue是否支持坐标系内滚动
    supportInsideDragtrue是否支持坐标系内拖拽
    supportSlider是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。
    supportMarquee是否支持框选。提供一个选框进行数据区域缩放。
    showDataShadow是否显示数据阴影。数据阴影可以简单地反应数据走势。
    showDetail是否显示detail,即拖拽时候显示详细数值信息。
    zoomLock是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    borderWidth边框宽。
    backgroundColor组件的背景颜色。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    rangeMode取绝对值还是百分比。
    DataZoom.RangeMode:
    - //Value: The value type of start and end.取值类型
    - Percent: 百分比。
    start数据窗口范围的起始百分比。范围是:0 ~ 100。
    end数据窗口范围的结束百分比。范围是:0 ~ 100。
    minShowNum2最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。
    scrollSensitivity1.1f缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。
    orient布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    labelStyle文本标签格式。 LabelStyle
    lineStyle阴影线条样式。 LineStyle
    areaStyle阴影填充样式。 AreaStyle
    marqueeStylev3.5.0选取框样式。 MarqueeStyle
    startLockv3.6.0固定起始值,不让改变。
    endLockv3.6.0固定结束值,不让改变。

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    borderWidth边框线宽。
    dataLineWidth数据阴影线宽。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    dataLineColor数据阴影的线条颜色。
    dataAreaColor数据阴影的填充颜色。
    backgroundColor背景颜色。

    DebugInfo

    class in XCharts.Runtime

    参数默认版本描述
    showtrue是否显示Debug组件。
    showDebugInfofalse
    showAllChartObjectfalse是否在Hierarchy试图显示所有chart下的节点。
    foldSeriesfalse是否在Inspector上折叠Serie。
    labelStyleLabelStyle

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    参数默认版本描述
    scale1.1f高亮时的缩放倍数。
    focus在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。
    EmphasisStyle.FocusType:
    - None: 不淡出其它图形,默认使用该配置。
    - Self: 只聚焦(不淡出)当前高亮的数据的图形。
    - Series: 聚焦当前高亮的数据所在的系列的所有图形。
    blurScope在开启focus的时候,可以通过blurScope配置淡出的范围。
    EmphasisStyle.BlurScope:
    - GridCoord: 淡出范围为坐标系,默认使用该配置。
    - Series: 淡出范围为系列。
    - Global: 淡出范围为全局。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    layoutIndex-1v3.8.0网格所属的网格布局组件的索引。默认为-1,表示不属于任何网格布局组件。当设置了该值时,left、right、top、bottom属性将失效。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。
    showBorderfalse是否显示网格边框。
    borderWidth0f网格边框宽。
    borderColor网格边框颜色。

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    row2网格布局的行数。
    column2网格布局的列数。
    spacingVector2.zero网格布局的间距。
    inversefalse是否反转网格布局。

    Heatmap

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    heatmapTypev3.3.0热力图类型。通过颜色映射划分。
    HeatmapType:
    - Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    - Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    showfalse是否显示图标。
    layer显示在上层还是在下层。
    IconStyle.Layer:
    - UnderText: The icon is display under the label text. 图标在标签文字下
    - AboveText: The icon is display above the label text. 图标在标签文字上
    align水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    sprite图标的图片。
    type图片的显示类型。
    color图标颜色。
    width20图标宽。
    height20图标高。
    offset图标偏移。
    autoHideWhenLabelEmptyfalse当label内容为空时是否自动隐藏图标

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    参数默认版本描述
    showtrue是否显示图标。
    sprite图标的图片。
    type图片的显示类型。
    autoColor是否自动颜色。
    color图标颜色。
    width0图标宽。
    height0图标高。

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    参数默认版本描述
    name指示器名称。
    max指示器的最大值,默认为 0 无限制。
    min指示器的最小值,默认为 0 无限制。
    range正常值范围。当数值不在这个范围时,会自动变更显示颜色。
    show是否显示雷达坐标系组件。
    shape雷达图绘制类型,支持 'Polygon' 和 'Circle'。
    radius100雷达图的半径。
    splitNumber5指示器轴的分割段数。
    center雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    axisLine轴线。 AxisLine
    axisName雷达图每个指示器名称的配置项。 AxisName
    splitLine分割线。 AxisSplitLine
    splitArea分割区域。 AxisSplitArea
    indicatortrue是否显示指示器。
    positionType显示位置类型。
    indicatorGap10指示器和雷达的间距。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    isAxisTooltip是否Tooltip显示轴线上的所有数据。
    outRangeColorColor.red数值超出范围时显示的颜色。
    connectCenterfalse数值是否连线到中心点。
    lineGradienttrue数值线段是否需要渐变。
    startAnglev3.4.0起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    indicatorList指示器列表。

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Radar, BaseScatter

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location, Comment, Legend, Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, LineArrow, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord, CalendarCoord, GridCoord, ParallelCoord, PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, ItemStyle, LineStyle, SerieSymbol, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar, SimplifiedCandlestick, SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    图形样式。

    参数默认版本描述
    showtrue是否启用。
    color数据项颜色。
    color0数据项颜色。
    toColor渐变色的颜色1。
    toColor2渐变色的颜色2。只在折线图中有效。
    markColorv3.6.0Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。
    backgroundColor数据项背景颜色。
    backgroundWidth数据项背景宽度。
    centerColor中心区域颜色。
    centerGap中心区域间隙。
    borderWidth0边框宽。
    borderGap0边框间隙。
    borderColor边框的颜色。
    borderColor0边框的颜色。
    borderToColor边框的渐变色。
    opacity1透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    itemMarker提示框单项的字符标志。用在Tooltip中。
    itemFormatter提示框单项的字符串模版格式器。具体配置参考Tooltipformatter
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis, DataZoom, CalendarCoord, GridCoord, GridLayout, ParallelCoord

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    标签的引导线

    参数默认版本描述
    showtrue是否显示视觉引导线。
    lineType视觉引导线类型。
    LabelLine.LineType:
    - BrokenLine: 折线
    - Curves: 曲线
    - HorizontalLine: 水平线
    lineColorColor32(0,0,0,0)视觉引导线颜色。默认和serie一致取自调色板。
    lineAngle60视觉引导线的固定角度。对折线和曲线有效。在Pie中无效。
    lineWidth1.0f视觉引导线的宽度。
    lineGap1.0f视觉引导线和容器的间距。
    lineLength125f视觉引导线第一段的长度。
    lineLength215f视觉引导线第二段的长度。
    lineEndX0fv3.8.0视觉引导线结束点的固定x位置。当不为0时,会代替lineLength2设定引导线的x位置。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent / 子类: AxisLabel, EndLabelStyle, TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    参数默认版本描述
    showtrue是否显示文本标签。
    Position标签的位置。
    autoOffsetfalse是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。
    offset距离图形元素的偏移
    rotate文本的旋转。
    autoRotatefalsev3.6.0是否自动旋转。
    distance距离轴线的距离。
    formatter标签内容字符串模版格式器。支持用 \n 换行。部分组件的格式器会不生效。
    模板通配符有以下这些,部分只适用于固定的组件:
    {.}:圆点标记。
    {a}:系列名。
    {b}:类目值或数据名。
    {c}:数据值。
    {d}:百分比。
    {e}:数据名。
    {f}:数据和。
    {g}:数据总个数。
    {h}:十六进制颜色值。
    {value}:坐标轴或图例的值。
    以下通配符适用UITable组件:
    {name}: 表格的行名。
    {index}:表格的行号。
    以下通配符适用UIStatistc组件:
    {title}:标题文本。
    {dd}:天。
    {hh}:小时。
    {mm}:分钟。
    {ss}:秒。
    {fff}:毫秒。
    {d}:天。
    {h}:小时。
    {m}:分钟。
    {s}:秒。
    {f}:毫秒。
    示例:“{b}:{c}”
    numericFormatter标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式常见的格式:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:yyyy-MM-dd HH:mm:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    width0标签的宽度。一般不用指定,不指定时则自动是文字的宽度。
    height0标签的高度。一般不用指定,不指定时则自动是文字的高度。
    icon图标样式。 IconStyle
    background背景图样式。 ImageStyle
    textPadding文本的边距。 TextPadding
    textStyle文本样式。 TextStyle

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    Legend

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    参数默认版本描述
    showtrue是否显示图例组件。
    iconType图例类型。
    Legend.Type:
    - Auto: 自动匹配。
    - Custom: 自定义图标。
    - EmptyCircle: 空心圆。
    - Circle: 圆形。
    - Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    - Triangle: 三角形。
    - Diamond: 菱形。
    - Candlestick: 烛台(可用于K线图)。
    selectedMode选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。
    Legend.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    - None: 无法选择。
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location图例显示的位置。 Location
    itemWidth25.0f图例标记的图形宽度。
    itemHeight12.0f图例标记的图形高度。
    itemGap10f图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
    itemAutoColortrue图例标记的图形是否自动匹配颜色。
    itemOpacity1图例标记的图形的颜色透明度。
    formatter不再使用,使用LabelStyle.formatter代替。
    labelStyle文本样式。 LabelStyle
    data图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。
    icons自定义的图例标记图形。
    colors图例标记的颜色列表。
    backgroundv3.1.0背景图样式。 ImageStyle
    paddingv3.1.0图例标记和背景的间距。 Padding
    positionsv3.6.0图例标记的自定义位置列表。

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    unableColor文本颜色。

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    label文本标签样式。 LabelStyle
    upperLabel上方的文本标签样式。 LabelStyle
    itemStyle数据项样式。 ItemStyle

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    showfalse是否启用LevelStyle
    levels各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    Line

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent

    参数默认版本描述
    show是否显示箭头。
    position箭头位置。
    LineArrow.Position:
    - End: 末端箭头
    - Start: 头端箭头
    arrow箭头。 ArrowStyle

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    参数默认版本描述
    showtrue是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。
    type线的类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    color线的颜色。
    toColor线的渐变颜色(需要水平方向渐变时)。
    toColor2线的渐变颜色2(需要水平方向三个渐变色的渐变时)。
    width0线宽。
    length0线长。
    opacity1线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    dashLength4v3.8.1虚线的长度。默认0时为线条宽度的12倍。在折线图中代表分割段数的倍数。
    dotLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。
    gapLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。

    Location

    class in XCharts.Runtime / 继承自: ChildComponent, IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    参数默认版本描述
    align对齐方式。
    Location.Align:
    - TopLeft: 对齐方式
    - TopRight: 对齐方式
    - TopCenter: 对齐方式
    - BottomLeft: 对齐方式
    - BottomRight: 对齐方式
    - BottomCenter: 对齐方式
    - Center: 对齐方式
    - CenterLeft: 对齐方式
    - CenterRight: 对齐方式
    left离容器左侧的距离。
    right离容器右侧的距离。
    top离容器上侧的距离。
    bottom离容器下侧的距离。

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis, Background, Comment, DataZoom, Legend, MarkArea, MarkLine, Settings, Title, Tooltip, VisualMap, GridLayout, CoordSystem

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    参数默认版本描述
    showtrue是否显示标域。
    textThe text of markArea. 标域显示的文本。
    serieIndex0Serie index of markArea. 标域影响的Serie索引。
    start标域范围的起始数据。 MarkAreaData
    end标域范围的结束数据。 MarkAreaData
    itemStyle标域样式。 ItemStyle
    label标域文本样式。 LabelStyle

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    参数默认版本描述
    type特殊的标域类型,用于标注最大值最小值等。
    MarkAreaType:
    - None: 标域类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标注名称。会作为文字显示。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    参数默认版本描述
    showtrue是否显示标线。
    serieIndex0标线影响的Serie索引。
    onToptruev3.9.0是否在最上层。
    animation标线的动画样式。 AnimationStyle
    data标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    参数默认版本描述
    type特殊的标线类型,用于标注最大值最小值等。
    MarkLineType:
    - None: 标线类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    group0分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。
    zeroPositionfalse是否为坐标系原点。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle
    lineStyle标线样式。 LineStyle
    label文本样式。可设置position为Start、Middle和End在不同的位置显示文本。 LabelStyle

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    参数默认版本描述
    applyfalsev3.5.0选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。
    realRectfalsev3.5.0是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。
    areaStylev3.5.0选取框区域填充样式。 AreaStyle
    lineStylev3.5.0选取框区域边框样式。 LineStyle

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    参数默认版本描述
    type
    MLValue.Type:
    - Percent: 百分比形式。
    - Absolute: 绝对值形式。
    - Extra: 额外形式。
    value

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    参数默认版本描述
    showtrueshow padding. 是否显示。
    top0顶部间距。
    right2f右部间距。
    left2f左边间距。
    bottom0底部间距。

    Parallel

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    orient坐标轴朝向。默认为垂直朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。

    Pie

    class in XCharts.Runtime / 继承自: Serie

    参数默认版本描述
    radiusGradientfalsev3.8.1是否开启半径方向的渐变效果。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    参数默认版本描述
    showtrue是否显示极坐标。
    center极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    backgroundColor极坐标的背景色,默认透明。
    indicatorLabelOffset30fv3.8.0指示器标签的偏移量。

    Radar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    smoothfalsev3.2.0是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    Ring

    class in XCharts.Runtime / 继承自: Serie

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie, IComparable / 子类: SerieHandler<T>, Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Pie, Radar, Ring, BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    参数默认版本描述
    index系列索引。
    showtrue系列是否显示在图表上。
    coordSystem使用的坐标系。
    serieType系列类型。
    serieName系列名称,用于 tooltip 的显示,legend 的图例筛选。
    statev3.2.0系列的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    colorByv3.2.0从主题中取色的策略。
    SerieColorBy:
    - Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略。
    - Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    - Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。
    stack数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。
    xAxisIndex0使用X轴的index。
    yAxisIndex0使用Y轴的index。
    radarIndex0雷达图所使用的 radar 组件的 index。
    vesselIndex0水位图所使用的 vessel 组件的 index。
    polarIndex0所使用的 polar 组件的 index。
    singleAxisIndex0所使用的 singleAxis 组件的 index。
    parallelIndex0所使用的 parallel coord 组件的 index。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    minShow系列所显示数据的最小索引
    maxShow系列所显示数据的最大索引
    maxCache系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。
    sampleDist0采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。
    sampleType采样类型。当sampleDist大于0时有效。
    SampleType:
    - Peak: 取峰值。
    - Average: 取过滤点的平均值。
    - Max: 取过滤点的最大值。
    - Min: 取过滤点的最小值。
    - Sum: 取过滤点的和。
    sampleAverage0设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。
    lineType折线图样式类型。
    LineType:
    - Normal: 普通折线图。
    - Smooth: 平滑曲线。
    - StepStart: 阶梯线图:当前点。
    - StepMiddle: 阶梯线图:当前点和下一个点的中间。
    - StepEnd: 阶梯线图:下一个拐点。
    smoothLimitfalsev3.4.0是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。
    barType柱形图类型。
    BarType:
    - Normal: 普通柱形图。
    - Zebra: 斑马柱形图。
    - Capsule: 胶囊柱形图。
    barPercentStackfalse柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。
    barWidth0柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。
    barMaxWidth0v3.5.0柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。
    barGap0.1f不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。
    barZebraWidth4f斑马线的粗细。
    barZebraGap2f斑马线的间距。
    min最小值。
    max最大值。
    minSize0f数据最小值 min 映射的宽度。
    maxSize1f数据最大值 max 映射的宽度。
    startAngle起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    endAngle结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    minAngle最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。
    clockwisetrue是否顺时针。
    roundCap是否开启圆弧效果。
    splitNumber刻度分割段数。最大可设置36。
    clickOffsettrue鼠标点击时是否开启偏移,一般用在PieChart图表中。
    roseType是否展示成南丁格尔图,通过半径区分数据大小。
    RoseType:
    - None: 不展示成南丁格尔玫瑰图。
    - Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    - Area: 所有扇区圆心角相同,仅通过半径展现数据大小。
    gap间距。
    center中心点。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    minRadius0fv3.8.0最小半径。可用于限制玫瑰图的最小半径。
    showDataDimension数据项里的数据维数。
    showDataName在Editor的inpsector上是否显示name参数
    clipfalse是否裁剪超出坐标系部分的图形。
    ignorefalse是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。
    ignoreValue0忽略数据的默认值。当ignore为true才有效。
    ignoreLineBreakfalse忽略数据时折线是断开还是连接。默认false为连接。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。
    largetrue是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。
    largeThreshold200开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。
    avoidLabelOverlapfalse在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。
    radarType雷达图类型。
    RadarType:
    - Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    - Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]
    placeHolderfalse占位模式。占位模式时,数据有效但不参与渲染和显示。
    dataSortType组件的数据排序。
    SerieDataSortType:
    - None: 按数据的顺序。
    - Ascending: 升序。
    - Descending: 降序。
    orient组件的朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    align组件水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    lineStyle线条样式。 LineStyle
    symbol标记的图形。 SerieSymbol
    animation起始动画。 AnimationStyle
    itemStyle图形样式。 ItemStyle
    data系列中的数据内容数组。SerieData可以设置1到n维数据。

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    参数默认版本描述
    index数据项索引。
    name数据项名称。
    id数据项的唯一id。唯一id不是必须设置的。
    parentId父节点id。父节点id不是必须设置的。
    ignore是否忽略数据。当为 true 时,数据不进行绘制。
    selected该数据项是否被选中。
    radius自定义半径。可用在饼图中自定义某个数据项的半径。
    statev3.2.0数据项的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    data可指定任意维数的数值列表。

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle, ISerieDataComponent

    系列数据项的标记的图形

    参数默认版本描述
    sizeType标记图形的大小获取方式。
    SymbolSizeType:
    - Custom: 自定义大小。
    - FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    - Function: 通过委托函数获取。
    dataIndex1当sizeType指定为FromData时,指定的数据源索引。
    dataScale1当sizeType指定为FromData时,指定的倍数系数。
    sizeFunction当sizeType指定为Function时,指定的委托函数。
    startIndex开始显示图形标记的索引。
    interval显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    forceShowLastfalse是否强制显示最后一个图形标记。
    repeatfalse图形是否重复。
    minSize0fv3.3.0图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。
    maxSize0fv3.3.0图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    lineWidth文本颜色。
    lineSymbolSize折线图的Symbol大小。
    scatterSymbolSize散点图的Symbol大小。
    candlestickColorColor32(235, 84, 84, 255)K线图阳线(涨)填充色
    candlestickColor0Color32(71, 178, 98, 255)K线图阴线(跌)填充色
    candlestickBorderWidth1K线图边框宽度
    candlestickBorderColorColor32(235, 84, 84, 255)K线图阳线(跌)边框色
    candlestickBorderColor0Color32(71, 178, 98, 255)K线图阴线(跌)边框色

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    参数默认版本描述
    showtrue
    maxPainter10设定的painter数量。
    reversePainterfalsePainter是否逆序。逆序时index大的serie最先绘制。
    basePainterMaterialBase Pointer 材质球,设置后会影响Axis等。
    seriePainterMaterialSerie Pointer 材质球,设置后会影响所有Serie。
    upperPainterMaterialUpper Pointer 材质球。
    topPainterMaterialTop Pointer 材质球。
    lineSmoothStyle2.5f曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。
    lineSmoothness2fWhen the area with gradient is filled, the larger the value, the worse the transition effect.
    lineSegmentDistance3f线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。
    cicleSmoothness2f圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。
    legendIconLineWidth2Line类型图例图标的线条宽度。
    legendIconCornerRadius图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    axisMaxSplitNumber50v3.1.0坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis, IUpdateRuntimeData

    单轴。

    参数默认版本描述
    orient坐标轴朝向。默认为水平朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1f组件离容器左侧的距离。
    right0.1f组件离容器右侧的距离。
    top0f组件离容器上侧的距离。
    bottom0.2f组件离容器下侧的距离。
    width0坐标轴宽。
    height50坐标轴高。

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    percent结束位置百分比。
    color颜色。

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle, EmphasisStyle, SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    参数默认版本描述
    showtrue是否启用高亮样式。
    label图形文本标签。 LabelStyle
    labelLine图形文本引导线样式。 LabelLine
    itemStyle图形样式。 ItemStyle
    lineStyle折线样式。 LineStyle
    areaStyle区域样式。 AreaStyle
    symbol标记样式。 SerieSymbol

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    参数默认版本描述
    showtrue是否显示标记。
    type标记类型。
    SymbolType:
    - None: 不显示标记。
    - Custom: 自定义标记。
    - Circle: 圆形。
    - EmptyCircle: 空心圆。
    - Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    - EmptyRect: 空心正方形。
    - Triangle: 三角形。
    - EmptyTriangle: 空心三角形。
    - Diamond: 菱形。
    - EmptyDiamond: 空心菱形。
    - Arrow: 箭头。
    - EmptyArrow: 空心箭头。
    - Plus: 加号。
    - Minus: 减号。
    size0f标记的大小。
    gap0图形标记和线条的间隙距离。
    width0f图形的宽。
    height0f图形的高。
    offsetVector2.zero图形的偏移。
    image自定义的标记图形。
    imageType图形填充类型。
    color图形的颜色。

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    参数默认版本描述
    enablefalse是否启用文本自适应。 [default:true]
    maxWidth0Clipping occurs when the width of the text is greater than this value.
    gap1两边留白像素距离。 [default:10f]
    suffix长度超出时的后缀。 [default: "..."]

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    参数默认版本描述
    showtrue文本的相关设置。
    font文本字体。 [default: null]
    autoWrapfalse是否自动换行。
    autoAligntrue文本是否让系统自动选对齐方式。为false时才会用alignment。
    rotate0文本的旋转。 [default: 0f]
    autoColorfalse是否开启自动颜色。当开启时,会自动设置颜色。
    color文本的颜色。 [default: Color.clear]
    fontSize0文本字体大小。 [default: 18]
    fontStyle文本字体的风格。 [default: FontStyle.Normal]
    lineSpacing1f行间距。 [default: 1f]
    alignment对齐方式。
    tMPFontTextMeshPro字体。
    tMPFontStyle
    tMPAlignment
    tMPSpriteAssetv3.1.0

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    参数默认版本描述
    themeType主题类型。
    ThemeType:
    - Default: 默认主题。
    - Light: 亮主题。
    - Dark: 暗主题。
    - Custom: 自定义主题。
    themeName主题名称。
    font主题字体。
    tMPFont主题字体。
    contrastColor对比色。
    backgroundColor背景颜色。
    colorPalette调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
    commonComponentTheme
    titleTitleTheme
    subTitleSubTitleTheme
    legendLegendTheme
    axisAxisTheme
    tooltipTooltipTheme
    dataZoomDataZoomTheme
    visualMapVisualMapTheme
    serieSerieTheme

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    参数默认版本描述
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse是否透明背景颜色。当设置为true时,不绘制背景颜色。
    enableCustomThemefalse是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。
    customFont
    customBackgroundColor自定义的背景颜色。
    customColorPalette

    Title

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    标题组件,包含主标题和副标题。

    参数默认版本描述
    showtrue是否显示标题组件。
    text主标题文本,支持使用 \n 换行。
    subText副标题文本,支持使用 \n 换行。
    labelStyle主标题文本样式。 LabelStyle
    subLabelStyle副标题文本样式。 LabelStyle
    itemGap0主副标题之间的间距。
    location标题显示位置。 Location

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle, ISerieDataComponent, ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    参数默认版本描述
    showtrue是否显示提示框组件。
    type提示框指示器类型。
    Tooltip.Type:
    - Line: 直线指示器
    - Shadow: 阴影指示器
    - None: 无指示器
    - Corss: 十字准星指示器。坐标轴显示Label和交叉线。
    - Auto: 根据serie的类型自动选择显示指示器。
    trigger触发类型。
    Tooltip.Trigger:
    - Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    - Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    - None: 什么都不触发。
    - Auto: 根据serie的类型自动选择触发类型。
    positionv3.3.0显示位置类型。
    Tooltip.Position:
    - Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    - Custom: 自定义。完全自定义显示位置(x,y)。
    - FixedX: 只固定坐标X。Y跟随鼠标位置。
    - FixedY:
    itemFormatter提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用
    titleFormatter提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
    markerserie的符号标志。
    fixedWidth0固定宽度。比 minWidth 优先。
    fixedHeight0固定高度。比 minHeight 优先。
    minWidth0最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。
    minHeight0最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。
    numericFormatter标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式常见的格式:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:yyyy-MM-dd HH:mm:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    paddingLeftRight10左右边距。
    paddingTopBottom10上下边距。
    ignoreDataShowfalse是否显示忽略数据在tooltip上。
    ignoreDataDefaultContent被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。
    showContenttrue是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。
    alwayShowContentfalse是否触发后一直显示提示框浮层。
    offsetVector2(18f, -25f)提示框相对于鼠标位置的偏移。
    backgroundImage提示框的背景图片。
    backgroundType提示框的背景图片显示类型。
    backgroundColor提示框的背景颜色。
    borderWidth2f边框线宽。
    fixedX0f固定X位置的坐标。
    fixedY0.7f固定Y位置的坐标。
    titleHeight25f标题文本的高。
    itemHeight25f数据项文本的高。
    borderColorColor32(230, 230, 230, 255)边框颜色。
    lineStyle指示线样式。 LineStyle
    titleLabelStyle标题的文本样式。 LabelStyle
    contentLabelStyles内容部分的文本样式列表。和列一一对应。

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f指示线线宽。
    lineColor指示线颜色。
    areaColor区域指示的颜色。
    labelTextColor十字指示器坐标轴标签的文本颜色。
    labelBackgroundColor十字指示器坐标轴标签的背景颜色。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    参数默认版本描述
    showtrue组件是否生效。
    showUIfalse是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。
    type组件类型。
    VisualMap.Type:
    - Continuous: 连续型。
    - Piecewise: 分段型。
    selectedMode选择模式。
    VisualMap.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    serieIndex0影响的serie索引。
    min0范围最小值
    max0范围最大值
    range指定手柄对应数值的位置。range 应在[min,max]范围内。
    text两端的文本,如 ['High', 'Low']
    textGap两端文字主体之间的距离,单位为px。
    splitNumber5对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。
    calculablefalse是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。
    realtimetrue拖拽时,是否实时更新。
    itemWidth20f图形的宽度,即颜色条的宽度。
    itemHeight140f图形的高度,即颜色条的高度。
    itemGap10f每个图元之间的间隔距离。
    borderWidth0边框线宽,单位px。
    dimension-1Starting at 1, the default is 0 to take the last dimension in data.
    autoMinMaxtrueAutomatically set min, Max value 自动设置min,max的值
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location组件显示的位置。 Location
    workOnLinetrue组件是否对LineChart的LineStyle有效。
    workOnAreafalse组件是否对LineChart的AreaStyle有效。
    outOfRange定义 在选中范围外 的视觉颜色。
    inRange分段式每一段的相关配置。

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    min范围最小值
    max范围最大值
    label文字描述
    color颜色

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    borderWidth边框线宽。
    borderColor边框颜色。
    backgroundColor背景颜色。
    triangeLen20f可视化组件的调节三角形边长。

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    class in XCharts.Runtime

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    参数默认版本描述
    langLang
    font
    tMPFont
    fontSizeLv128一级字体大小。
    fontSizeLv224
    fontSizeLv320
    fontSizeLv418
    axisLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisLineWidth0.8f
    axisSplitLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisSplitLineWidth0.8f
    axisTickWidth0.8f
    axisTickLength5f
    gaugeAxisLineWidth15f
    gaugeAxisSplitLineWidth0.8f
    gaugeAxisSplitLineLength15f
    gaugeAxisTickWidth0.8f
    gaugeAxisTickLength5f
    tootipLineWidth0.8f
    dataZoomBorderWidth0.5f
    dataZoomDataLineWidth0.5f
    visualMapBorderWidth0f
    serieLineWidth1.8f
    serieLineSymbolSize5f
    serieScatterSymbolSize20f
    serieSelectedRate1.3f
    serieCandlestickBorderWidth1f
    editorShowAllListDatafalse
    maxPainter10
    lineSmoothStyle3f
    lineSmoothness2f
    lineSegmentDistance3f
    cicleSmoothness2f
    visualMapTriangeLen20f
    customThemes

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/extra/index.html b/docs/v3.9.0/extra/index.html index 34dec111..118b22d0 100644 --- a/docs/v3.9.0/extra/index.html +++ b/docs/v3.9.0/extra/index.html @@ -14,13 +14,13 @@ 扩展图表 | XCharts - - + +
    Version: v3.9.0

    扩展图表

    XCharts的扩展图表。

    支持的扩展图表

    扩展图表如何导入到XCharts-Demo

    Pie3DChart 为例:

    1. 购买图表:购买扩展图表后,Github找到仓库 XCharts-Pie3DChart(私有仓库,购买后加入Team才可见)
    2. 下载图表:选择和XCharts最接近的版本
    3. 导入图表:将下载好的XCharts-Pie3DChart目录覆盖到XCharts-Demo项目中的Packages/XCharts-Pie3DChart
    4. 下载图表Demo:Github找到仓库 XCharts-Pie3DChart-Demo并下载
    5. 导入图表Demo:将下载好的XCharts-Pie3DChart-Demo目录覆盖到XCharts-Demo项目中的Assets/XChartsExtensionDemo/XCharts-Pie3DChart-Demo

    扩展图表如何导入自己的项目中

    Pie3DChart 为例:

    1. 先确保项目中已导入XCharts
    2. 再导入XCharts-Pie3DChart即可,不需要导入XCharts-Pie3DChart-Demo(如果要导入的话需要Unity版本接近2019.4.39f1)
    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/faq/index.html b/docs/v3.9.0/faq/index.html index 68bcbd6c..9a007a5a 100644 --- a/docs/v3.9.0/faq/index.html +++ b/docs/v3.9.0/faq/index.html @@ -14,8 +14,8 @@ 常见问题 | XCharts - - + +
    @@ -50,7 +50,7 @@ QA 29:如何修改Serie的Symbol的颜色?
    QA 30:导入或更新XCharts时TMP报错如何处理?
    QA 31:支持空数据吗?如何实现折线图断开的效果?

    如何调整坐标轴与背景的边距

    答:调整Grid组件,可调整上下左右边距。

    如何让初始动画重新播放

    答:调用chart.AnimationReset()接口。

    如何自定义折线图饼图的颜色

    答:通过ThemecolorPalette调整,或者部分Serie下的LineStyleItemStyle

    如何给坐标轴上的文本加上单位

    答:通过formatternumericFormatter参数,在LegendAxisAxisLabelTooltopSerieLabel都提供该参数的配置。

    如何让柱形图的柱子堆叠显示

    答:设置Serie下的stackstack相同的serie会堆叠显示在一个柱子上。

    如何让柱形图的柱子同柱但不重叠

    答:设置Serie下的barGap-1stack为空。

    如何调整柱形图的柱子宽度和间距

    答:调整Serie下的barWidthbarGap,多个serie时最后一个seriebarWidthbarGap有效。

    如何调整柱形图单个柱子的颜色

    答:可通过调整单个Data下的ItemStyle调整,也可以通过两个serie同柱不堆叠来实现,通过设置数据项为0来达到类似效果。

    如何调整图表的对齐方式

    答:调整RectTransform的锚点,和UGUI的其他组件的用法一致。

    可以显示超过1000以上的大数据吗

    答:可以。但UGUI对单个Graphic限制65000个顶点,所以太多的数据不一定能显示完全。可通过设置采样距离sampleDist开启采样简化过密曲线。也可以通过设置一些参数来减少图表的顶点数有助于显示更多数据。如缩小图表的尺寸,关闭或减少坐标轴的客户端绘制,关闭Seriesymbollabel显示等。折线图的普通线图Normal比平滑线图Smooth占用顶点数更少。1.5.0以上版本可以设置largelargeThreshold参数来开启性能模式。

    折线图可以画虚线点线点划线吗

    答:可以。通过Serie下的lineType选择线条样式。当要显示的数据过多(成千以上)数据间过密时建议使用Normal或者Step样式。

    如何限定Y轴的值范围

    答:设置Axis下的minMaxTypeCustom,自定义minmax

    如何自定义数值轴刻度大小

    答:默认时通过Axis下的splitNumer进行自动划分。也可以设置interval自定义刻度大小。

    如何在数据项顶上显示文本

    答:通过设置Serie下的Label。3.0版本需要先添加LabelStyle组件。

    如何给数据项自定义图标

    答:通过设置Seriedata下的数据项可单独设置icon相关参数。

    锯齿太严重如何让图表更顺滑

    答:开启抗锯齿设置(在Unity里设置)。调整UI渲染模式为Camera模式,开启MSAA,设置4倍或更高抗锯齿。

    为什么鼠标移上图表Tooltip不显示

    答:确认Tooltip是否开启;确认父节点是否关闭了鼠标事件。

    如何取消Tooltip的竖线

    答:设置TooltiptypeNone。或者调整lineStyle的参数。

    如何自定义Tooltip的显示内容

    答:自定义总的内容可以通过Tooltipformatter。如果只是想调整所有的serie的显示格式可以用itemFormattertitleFormatter结合。如果想每个serie的显示格式不一样,可以定制serieitemStyle里的tooltipFormatter。具体的用法请查阅XCharts配置项手册

    如何让Y轴显示多位小数

    答:设置Axis下的AxisLabel中的formatter{value:f1}{value:f2}1.5.0及以上版本通过numericFormatter设置。

    如何用代码动态更新数据

    答:请查阅Example下的代码,Example13_LineSimple.cs就是一个简单添加数据构建折线图的例子,其他Demo也都是通过代码控制不同的组件实现不同的功能,相关API请查看文档:XChartsAPI接口

    如何显示图例为什么有时候图例无法显示

    答:首先,你的serie里的name需有值不为空。然后开启Legend显示,里面的data可以默认为空,表示显示所有的图例。如果你只想显示部分serie的图例,在data中填入要显示的图例的name即可。如果data中的值都不是系列的name,那图例就不会显示。

    如何做成预设

    答:做成prefab前,执行一下Rebuild Chart Object重新刷新节点,避免有冗余的节点存在。

    如何在图表上画点画线等自定义内容

    答:XCharts有自定义绘制回调onCustomDraw,具体可参考Example12_CustomDrawing.cs

    如何实现心电图类似的数据移动效果

    答:参考Example目录下的Example_Dynamic.cs。主要通过设置maxCache参数实现。axisserie都设置相同的maxCachemaxCache可固定数据个数,当数据超过设定时会先删除第一个在添加新数据,实现数据移动效果。

    如何使用背景组件有什么条件限制

    答:设置background组件的showtrue

    区域折线图在用半透明颜色时有时候会一条叠加的线

    答:这是区域折线图绘制的bug。可以用浅的不透的颜色替代半透明颜色。

    Mesh_cannot_have_more_than_65000_vertices

    答:这是UGUI对单个Graphic的顶点数限制。XCharts是将图形绘制在单个Graphic上,所以也会有这个限制。解决的办法可以参考:QA 10:可以显示超过1000以上的大数据吗?

    为什么serie里设置的参数运行后又被重置了

    答:检测下代码里是否调用了RemoveData()并重新添加Serie了。如果想保留Serie的配置可以只ClearData(),然后重新添加数据。

    如何修改Serie的Symbol的颜色

    答:Symbol 的颜色是使用的 ItemStylecolor

    导入或更新XCharts时TMP报错怎么办

    答:XCharts默认时不开启TMP,所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    支持空数据吗如何实现折线图断开的效果

    答:Seriedatadouble类型,所以无法表示空数据。可通过开启Serieignore和指定ignoreValue来达到空数据的效果。也可以每个SerieData设置ignore参数。忽略数据后断开还是连接可设置ignoreLineBreak参数。

    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/funnel/index.html b/docs/v3.9.0/funnel/index.html index bf05e333..01eb195b 100644 --- a/docs/v3.9.0/funnel/index.html +++ b/docs/v3.9.0/funnel/index.html @@ -14,14 +14,14 @@ FunnelChart 漏斗图 | XCharts - - + +
    Version: v3.9.0

    FunnelChart 漏斗图

    XCharts的付费扩展图表 - 漏斗图。

    截图

    Funnel01Funnel02Funnel03Funnel04Funnel05
    Funnel07Funnel08Funnel09

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    FunnelChart

    class in XCharts.Runtime.Funnels / 继承自: BaseChart

    配置项手册

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    参数默认版本描述
    rectEndv3.3.0是否最后以矩形结束。默认false以三角形结束。
    dynamicHeightv3.3.0是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。
    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/gantt/index.html b/docs/v3.9.0/gantt/index.html index 209b8977..385a5871 100644 --- a/docs/v3.9.0/gantt/index.html +++ b/docs/v3.9.0/gantt/index.html @@ -14,14 +14,14 @@ GanttChart 甘特图 | XCharts - - + +
    Version: v3.9.0

    GanttChart 甘特图

    XCharts付费扩展图表 - 甘特图。

    截图

    Gantt01Gantt02Gantt03Gantt04Gantt05
    Gantt07

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.08.11) 增加鼠标事件支持

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    GanttChart

    class in XCharts.Runtime.Gantts / 继承自: BaseChart

    API版本描述
    GetSeriesMinMaxValue()public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    InitAxisRuntimeData()public override void InitAxisRuntimeData(Axis axis)
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    配置项手册

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    参数默认版本描述
    disableDrag

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    参数默认版本描述
    showtrue
    ganttType甘特图类型。
    GanttType:
    - Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    - Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。
    inverttrue
    dragEnabletrue是否可以拖拽甘特图。
    dragSensitivity1f拖拽的灵敏度。
    dragRangeMin0拖拽最小值限制。
    dragRangeMax0拖拽最大值限制。
    autoAdsorbAlignlinetrue拖拽结束后是否自动吸附到对齐线。
    alignlineDataIndex1显示对齐线的数据项索引。
    showAlignlineRange10f显示对齐线的范围。
    aliginLine对齐线样式。
    splitArea
    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/gauge/index.html b/docs/v3.9.0/gauge/index.html index cc4aa379..48b138dd 100644 --- a/docs/v3.9.0/gauge/index.html +++ b/docs/v3.9.0/gauge/index.html @@ -14,14 +14,14 @@ GaugeChart 仪表盘 | XCharts - - + +
    Version: v3.9.0

    GaugeChart 仪表盘

    XCharts付费扩展图表 - 仪表盘。

    截图

    Gauge01Gauge02Gauge03Gauge04Gauge05
    Gauge07Gauge08Gauge09Gauge10Gauge11
    Gauge12Gauge13Gauge14

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.17) 增加GaugerangeDataMode可设置是否使用范围数据模式
    • (2023.03.17) 增加Gaugeloop可设置是否循环数据,用于时钟甘特图
    • (2023.03.17) 增加GaugePointervalue可设置指针位置
    • (2023.03.17) 增加Clock时钟仪表盘支持
    • (2023.03.13) 增加GaugePointernowTime可设置指针指向当前时间
    • (2023.03.13) 增加GaugePointervalue可设置当前指针位置
    • (2023.03.13) 增加Clock类型的甘特图支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.10.05) 增加GaugeAxisLinestageGradient支持设置阶段渐变色过渡

    v3.3.0

    • (2022.09.28) 发布v3.3.0版本
    • (2022.08.26) 修复Pointer在普通模式下不显示的问题
    • (2022.08.25) 增加label颜色跟随数值变化的支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.15) 支持渐变

    API

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    GetPointerColor()public Color32 GetPointerColor(ThemeStyle theme, int colorIndex, float angle, Color32 dataColor)

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    API版本描述
    GetPosition()public Vector3 GetPosition(Vector3 center, float radius)

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    API版本描述
    AddLabelObject()public void AddLabelObject(ChartLabel label)
    ClearLabelObject()public void ClearLabelObject()
    GaugeAxis()public GaugeAxis()
    GetLabelObject()public ChartLabel GetLabelObject(int index)
    GetStageColor()public Color32 GetStageColor(float rate)
    GetStageColorByAngle()public Color32 GetStageColorByAngle(float angle)
    SetLabelObjectActive()public void SetLabelObjectActive(bool flag)
    SetLabelObjectPosition()public void SetLabelObjectPosition(int index, Vector3 pos)
    SetLabelObjectText()public void SetLabelObjectText(int index, string text)

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    API版本描述
    GaugeAxisLine()public GaugeAxisLine(bool show) : base(show)

    GaugeChart

    class in XCharts.Runtime.Gauges / 继承自: BaseChart

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    配置项手册

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    参数默认版本描述
    rangeDataModefalsev3.6.0数值是否为范围数据。启用该模式后,data中的每个值都是一个数组,数组中的第一个值为起始值,第二个值为结束值。指针只有一个,数据绘制为环形。
    loopfalsev3.6.0数值是否循环。可用在钟表图。
    gaugeAxis仪表盘轴线。 GaugeAxis
    gaugePointer仪表盘指针。 GaugePointer
    gaugeAnchor仪表盘指针固定点。 GaugeAnchor

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    参数默认版本描述
    showtrue是否显示指针固定点。
    showAbovetrue固定点是否显示在指针上面。
    type标记类型。
    size6标记的大小。
    gap0图形标记和线条的间隙距离。
    image自定义的标记图形。
    imageType
    offsetCenterVector2(0, 0)相对于中心的偏移位置。
    itemStyle图形样式。

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    参数默认版本描述
    showtrue
    type
    GaugeAxisType:
    - None: 仪表盘类型
    - Section: 分段
    - Progress: 进度
    overlaptrue
    distance
    axisLine仪表盘轴线样式。 GaugeAxisLine
    splitLine分割线。
    axisTick刻度。
    axisLabel文本标签。
    axisLabelText自定义Label的内容。

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    参数默认版本描述
    backgroundColorColor32(230, 235, 248, 255)进度条背景颜色。
    stageColor阶段颜色。
    stageGradientv3.4.0阶段颜色是否渐变过渡。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    参数默认版本描述
    showtrue是否显示指针。
    length0.6f指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backLength0.05f指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backExtraLength0.05f指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topLeftLength0f指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topRightLength0f指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomLeftLength0.025f指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomRightLength0.025f指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    distance
    roundCap
    autoColortrue
    color
    toColor
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    valuev3.6.0指针的值。当为时钟仪表盘时,可通过指定value值来控制指针的位置。
    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/inputsystem/index.html b/docs/v3.9.0/inputsystem/index.html index 9d367927..325062d4 100644 --- a/docs/v3.9.0/inputsystem/index.html +++ b/docs/v3.9.0/inputsystem/index.html @@ -14,13 +14,13 @@ 切换到新的输入系统Input System | XCharts - - + +
    Version: v3.9.0

    教程:切换到新的输入系统Input System

    1. 按图示修改项目配置中输入模式为 Input System

    Project Settings

    2. 使用 Unity Package Manager 安装 Input System

    UPM

    3. 选中场景中 EventSystem 游戏对象,更换输入模组

    Input Module

    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/lang/articles/ui/ui_statistic/index.html b/docs/v3.9.0/lang/articles/ui/ui_statistic/index.html index e82d70e5..7c8d4e03 100644 --- a/docs/v3.9.0/lang/articles/ui/ui_statistic/index.html +++ b/docs/v3.9.0/lang/articles/ui/ui_statistic/index.html @@ -14,13 +14,13 @@ UIStatistic 统计数值 | XCharts - - + +
    Version: v3.9.0

    UIStatistic 统计数值

    statistic

    统计数值组件。用于展示统计数值。

    何时使用:

    • 当需要突出某个或某组数字时。
    • 当需要展示带描述的统计类数据时使用。

    支持的功能有:

    • 常规数值
    • 倒计时
    • 添加图标
    • 变更动画
    • 事件回调
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/lang/articles/ui/ui_table/index.html b/docs/v3.9.0/lang/articles/ui/ui_table/index.html index 16871e15..080a9e88 100644 --- a/docs/v3.9.0/lang/articles/ui/ui_table/index.html +++ b/docs/v3.9.0/lang/articles/ui/ui_table/index.html @@ -14,13 +14,13 @@ UITable 表格 | XCharts - - + +
    Version: v3.9.0

    UITable 表格

    table

    表格组件。可用于展示行列数据。

    支持的功能有:

    • 显示或隐藏列表头
    • 显示或隐藏行表头
    • 任意调整行列宽高
    • 支持行号
    • 支持选中
    • 支持分割线
    • 支持滚动和拖拽
    • 支持滚动条
    • 支持图标图片
    • 支持轮播
    • 排序(暂不支持)
    • 分页(暂不支持)
    • 查找(暂不支持)
    • 过滤(暂不支持)
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/liquid/index.html b/docs/v3.9.0/liquid/index.html index 372f7195..9c3a1765 100644 --- a/docs/v3.9.0/liquid/index.html +++ b/docs/v3.9.0/liquid/index.html @@ -14,14 +14,14 @@ LiquidChart 水位图 | XCharts - - + +
    Version: v3.9.0

    LiquidChart 水位图

    XCharts的付费扩展图表 - 水位图。

    截图

    Liquid01Liquid02Liquid03Liquid04Liquid05
    Liquid07Liquid08

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    LiquidChart

    class in XCharts.Runtime.Liquids / 继承自: BaseChart

    水位图

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent,ISerieContainer,IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    API版本描述
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    VesselContext

    class in XCharts.Runtime.Liquids / 继承自: MainComponentContext

    配置项手册

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    waveHeight10f波高。
    waveLength20f波长。为0-1小数时指直线的百分比。
    waveSpeed5f波速。正数时左移,负数时右移。
    waveOffset0f波偏移。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent, ISerieContainer, IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    参数默认版本描述
    showtrue是否显示容器组件。 [defaut: true]
    shape容器形状。 [default: Shape.Circle]
    Vessel.Shape:
    - Circle: 圆形
    - Rect: 正方形。
    - Triangle: 三角形。
    - Diamond: 菱形。
    shapeWidth5f容器厚度。 [defaut: 5f]
    gap5f间隙。容器和液体的间隙。 [defaut: 10f]
    colorColor32(70, 70, 240, 255)容器颜色。默认和serie一致。
    backgroundColor背景色,默认透明。 [default: Color.clear]
    autoColortrue是否自动颜色。为true时颜色会和serie一致。 [default: true]
    centerWhen value between 0 and 1 represents a percentage relative to the chart.
    radius0.35fWhen value between 0 and 1 represents a percentage relative to the chart.
    smoothness1f水波平滑度。 [default: 1f]
    width0.5fWhen value between 0 and 1 represents a percentage relative to the chart.
    height0.7fWhen value between 0 and 1 represents a percentage relative to the chart.
    borderWidth0f内壁边框。
    borderColorColor32(70, 70, 240, 255)容器内壁边框颜色。默认和serie一致。
    cornerRadius容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。
    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/pictorialbar/index.html b/docs/v3.9.0/pictorialbar/index.html index e7394ac3..df5f33a4 100644 --- a/docs/v3.9.0/pictorialbar/index.html +++ b/docs/v3.9.0/pictorialbar/index.html @@ -14,14 +14,14 @@ PictorialBarChart 象形柱图 | XCharts - - + +
    Version: v3.9.0

    PictorialBarChart 象形柱图

    XCharts付费扩展图表 - 象形柱图。

    截图

    PictorialBar01PictorialBar02PictorialBar03PictorialBar04

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.1

    • (2023.09.26) 修复PictorialBar动态添加数据时不刷新的问题

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static PictorialBar ConvertSerie(Serie serie)

    PictorialBarChart

    class in XCharts.Runtime.PictorialBars / 继承自: BaseChart

    配置项手册

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie, INeedSerieContainer

    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/pie3d/index.html b/docs/v3.9.0/pie3d/index.html index 16c0da6a..c959d921 100644 --- a/docs/v3.9.0/pie3d/index.html +++ b/docs/v3.9.0/pie3d/index.html @@ -14,14 +14,14 @@ Pie3DChart 3D饼图 | XCharts - - + +
    Version: v3.9.0

    Pie3DChart 3D饼图

    XCharts的付费扩展图表 - 3D饼图。

    截图

    Pie3D01Pie3D02Pie3D03Pie3D04Pie3D05
    Pie3D07Pie3D08

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.11.30) 优化SerieData只有一个时不绘制侧边
    • (2023.11.30) 增加SerieData可单独添加Label的支持

    v3.8.1

    • (2023.09.14) 修复SerieData的数据为全为0时图表显示异常的问题
    • (2023.09.08) 增加SerieDataradius可自定义各饼块高度的支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.2

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.1

    • (2023.05.21) 增加avoidLabelOverlap支持

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.3.0

    • (2022.09.02) 增加onPointerEnterPie回调支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Pie3D ConvertSerie(Serie serie)

    Pie3DChart

    class in XCharts.Runtime.Pie3Ds / 继承自: BaseChart

    3D饼图。

    Pie3DSlice

    class in XCharts.Runtime.Pie3Ds

    3D饼图的切块。

    API版本描述
    Contains()public bool Contains(float angle)
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    IsInSidePolygon()public bool IsInSidePolygon(Vector2 p)
    IsInStartOrEndSide()public bool IsInStartOrEndSide(Vector2 p)
    IsInTopPolygon()public bool IsInTopPolygon(Vector2 p)
    Pie3DSlice()public Pie3DSlice()
    UpdateValue()public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig)

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    配置项手册

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    参数默认版本描述
    pie3DStylePie3DStyle

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    参数默认版本描述
    showtrue
    ellipseMinorAxis0.65f椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。
    pieMaxHeight20f饼图厚度。
    pieAutoHeightfalse是否自动根据比例计算厚度。
    selectedOffsetVector2(0.1f, 0.5f)The offset of selected pie slice. 被选中状态的饼图块的额外偏移。
    peripherySideColorRate0.8f饼图切块的侧面颜色。
    startSideColorRate0.7f饼图切块的起始面颜色(顺时针)。
    endSideColorRate0.65f饼图切块的结束面颜色(顺时针)。
    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/pyramid/index.html b/docs/v3.9.0/pyramid/index.html index d1c62874..6537a95f 100644 --- a/docs/v3.9.0/pyramid/index.html +++ b/docs/v3.9.0/pyramid/index.html @@ -14,14 +14,14 @@ PyramidChart 金字塔 | XCharts - - + +
    Version: v3.9.0

    PyramidChart 金字塔

    XCharts付费扩展图表 - 金字塔。

    截图

    Pyramid01Pyramid02Pyramid03

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.21) 增加Tooltip支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    PyramidChart

    class in XCharts.Runtime.Pyramids / 继承自: BaseChart

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    配置项手册

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    参数默认版本描述
    pyramidStylePyramidStyle

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    3Dtrue
    drawToptrue
    bottomPointRate0.5f3D模式下,底部中点占金字塔宽度的比例
    leftPointRate0.1f3D模式下,底部左边点占金字塔高度的比例
    rightPointRate0.1f3D模式下,底部右边点占金字塔高度的比例
    leftColorOpacity0.9f3D模式下,金字塔左边的颜色透明度
    rightColorOpacity0.7f3D模式下,金字塔右边的颜色透明度
    topColorOpacity0.99f3D模式下,金字塔顶部的颜色透明度
    labelLineMargin10fLabel标签距离右边的距离
    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/sankey/index.html b/docs/v3.9.0/sankey/index.html index 3243ddc8..b6974397 100644 --- a/docs/v3.9.0/sankey/index.html +++ b/docs/v3.9.0/sankey/index.html @@ -14,14 +14,14 @@ SankeyChart 桑基图 | XCharts - - + +
    Version: v3.9.0

    SankeyChart 桑基图

    XCharts付费扩展图表 - 桑基图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.10.0

    API

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    SankeyChart

    class in XCharts.Runtime.Sankeys / 继承自: BaseChart

    SankeyStyle

    class in XCharts.Runtime.Sankeys / 继承自: ChildComponent

    配置项手册

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    参数默认版本描述
    sankeyStyleSankeyStyle

    SankeyStyle

    class in XCharts.Runtime.Sankeys / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    3Dtrue
    drawToptrue
    bottomPointRate0.5f3D模式下,底部中点占金字塔宽度的比例
    leftPointRate0.1f3D模式下,底部左边点占金字塔高度的比例
    rightPointRate0.1f3D模式下,底部右边点占金字塔高度的比例
    leftColorOpacity0.9f3D模式下,金字塔左边的颜色透明度
    rightColorOpacity0.7f3D模式下,金字塔右边的颜色透明度
    topColorOpacity0.99f3D模式下,金字塔顶部的颜色透明度
    labelLineMargin10fLabel标签距离右边的距离
    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/support/index.html b/docs/v3.9.0/support/index.html index 8f6139b3..dc3075a1 100644 --- a/docs/v3.9.0/support/index.html +++ b/docs/v3.9.0/support/index.html @@ -14,8 +14,8 @@ 订阅服务 | XCharts - - + +
    @@ -26,7 +26,7 @@ 增加席位 企业VIP支持增加席位,每个席位298¥一年。
    对公转账 有开专票需求时,可用企业银行帐号进行公对公转账支付。二维码支付不支持开专票,只能开普票。发票默认都是电子发票。
    *登记资料 订阅成功后,需提供手机号和Github帐号进行登记,手机号用于确认归属,Github帐号用于加入Github的Team组织,下载源码。

    购买扩展图表

    扩展图表为另付费购买图表,只对订阅了VIP服务的用户开放购买。对于个人SVIP企业VIP的订阅用户,所有扩展图表仓库在订阅期间可全部免费使用,不用再单独购买。

    对所有已购买的扩展图表,源码可永久持有但不能传播,并获得持续一年的更新支持和技术服务,一年后如需更新支持等服务,可再继续订阅VIP服务。

    编号扩展图表扩展图表价格
    101象形柱图PictorialBarChart98¥
    102漏斗图FunnelChart98¥
    1033D金字塔PyramidChart98¥
    104树形矩图TreemapChart98¥
    2013D柱图Bar3DChart198¥
    2023D饼图Pie3DChart198¥
    203甘特图GanttChart198¥
    204仪表盘GaugeChart198¥
    205水位图LiquidChart198¥

    扩展图表的在线效果图也可以查看WebGL在线Demo

    捐助支持

    如果这个项目对您有帮助,请右上方点 Star 予以支持!也欢迎扫后面的二维码进行任意金额的捐助,XCharts需要您的支持和帮助。

    二维码

    如果看不到二维码图片,可以加Q联系XCharts技术支持:3525422251或邮件monitor1394@gmail.com咨询。

    alipay-qrcode wechat-qrcode

    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/treemap/index.html b/docs/v3.9.0/treemap/index.html index b71860cd..b6396379 100644 --- a/docs/v3.9.0/treemap/index.html +++ b/docs/v3.9.0/treemap/index.html @@ -14,14 +14,14 @@ TreemapChart 矩形树图 | XCharts - - + +
    Version: v3.9.0

    TreemapChart 矩形树图

    XCharts付费扩展图表 - 矩形树图。

    截图

    Treemap01Treemap02Treemap03Treemap04

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.2

    • (2023.11.08) 修复ItemStyle设置borderColor后边框绘制异常的问题

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    CanGoUpALevel()public bool CanGoUpALevel()
    是否可以返回上一层
    GetLevelItemStyle()public ItemStyle GetLevelItemStyle(int level)
    GetLevelLabel()public LabelStyle GetLevelLabel(int level)
    GetLevelUpperLabel()public LabelStyle GetLevelUpperLabel(int level)
    GoUpALevel()public void GoUpALevel()
    返回上一层
    OnDataUpdate()public override void OnDataUpdate()
    SetSelectedSerieData()public bool SetSelectedSerieData(string serieDataName)
    设置选中(要展示的)的数据名
    SetSelectedSerieData()public void SetSelectedSerieData(SerieData serieData)

    TreemapChart

    class in XCharts.Runtime.Treemaps / 继承自: BaseChart

    配置项手册

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    参数默认版本描述
    leafDepth0默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。
    visualDimension0用于计算占比的数据维数。
    drillDownIcon当节点可以下钻时的提示符,只能是字符。默认为▶
    customGoUpLevelButton自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。
    upperLabel父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。
    levelStyle
    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/tutorial01/index.html b/docs/v3.9.0/tutorial01/index.html index 60893103..d4591026 100644 --- a/docs/v3.9.0/tutorial01/index.html +++ b/docs/v3.9.0/tutorial01/index.html @@ -14,8 +14,8 @@ 入门教程:5分钟上手 XCharts 3.0 | XCharts - - + +
    @@ -23,7 +23,7 @@ linechart2

    添加其他组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件按需额外添加。比如,需要给折线图区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent linechart3

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加Component。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent linechart4

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个至几十个不等的可配置参数,以支持各种灵活而复杂的功能。

    首次使用XCharts,可在 Inspector 视图添加各种图表,给图表添加或调整里面组件,Game 视图会实时反馈调整后的效果,以熟悉各种组件的使用。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是配置和数据来驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不需要去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时还原回来。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    通常颜色值为0000时表示用主题默认颜色,配置为0或null时表示用主题默认配置。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.EnsureChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.EnsureChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.EnsureChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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;

    清空默认数据,添加Line类型的Serie用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    用代码改图表参数

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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;

    注:低版本没有EnsureChartComponent()接口时,用GetOrAddChartComponent()

    改Serie的参数

    对于新添加的Serie:

    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:

    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添加额外组件:

    serie.EnsureComponent<AreaStyle>();

    var label = serie1.EnsureComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/tutorial02/index.html b/docs/v3.9.0/tutorial02/index.html index a9dde6e2..895bcbe9 100644 --- a/docs/v3.9.0/tutorial02/index.html +++ b/docs/v3.9.0/tutorial02/index.html @@ -14,13 +14,13 @@ 从文件或数据库读取数据显示图表 | XCharts - - + +
    Version: v3.9.0

    从文件或数据库读取数据显示图表

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/docs/v3.9.0/tutorial03/index.html b/docs/v3.9.0/tutorial03/index.html index 6e69e0cc..23c97725 100644 --- a/docs/v3.9.0/tutorial03/index.html +++ b/docs/v3.9.0/tutorial03/index.html @@ -14,13 +14,13 @@ 心电图效果实现 | XCharts - - + + - - + + \ No newline at end of file diff --git a/docs/v3.9.0/ui/index.html b/docs/v3.9.0/ui/index.html index 4dc74a27..06e0c64e 100644 --- a/docs/v3.9.0/ui/index.html +++ b/docs/v3.9.0/ui/index.html @@ -14,13 +14,13 @@ 扩展UI组件 | XCharts - - + +
    Version: v3.9.0

    扩展UI组件

    XCharts的扩展UI组件,VIP订阅用户专有。

    组件列表

    如何使用

    • 使用该仓库前先确保项目里已有对应版本的XCharts。
    • 下载本仓库放入Assets下或者通过Package Manager导入。

    更新日志

    v3.9.0

    • (2023.11.14) 增加UITableGetData()GetContent()接口
    • (2023.11.12) 增加UITableonTableClick点击表格回调
    • (2023.11.11) 重构UITableSeparatorStyle,可分开设置行列的分割线
    • (2023.11.05) 增加UITableColumnStyle,重构Column相关参数
    • (2023.11.05) 增加UITableRowStyle,重构Row相关参数
    • (2023.11.01) 增加UITableCarouselStyle轮播功能
    • (2023.11.01) 增加UITableAddColumn()UpdateColumn()接口
    • (2023.10.23) 修复UITable点击Rebuild Object异常的问题
    • (2023.10.23) 修复UITable尺寸变化时不刷新的问题
    • (2023.10.17) 修复UITable首次初始化异常的问题
    • (2023.10.17) 增加UITable的数据操作接口
    • (2023.10.17) 增加UITableRefreshTable()刷新接口

    v3.8.0

    • (2023.09.03) 发布v3.8.0版本
    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 增加UIStatistic
    • (2023.02.14) 增加UITable
    - - + + \ No newline at end of file diff --git a/en/404.html b/en/404.html index 45790a2e..78f3f766 100644 --- a/en/404.html +++ b/en/404.html @@ -14,13 +14,13 @@ Page Not Found | XCharts - - + +

    Page not found.

    Refresh the page or get back later
    - - + + \ No newline at end of file diff --git a/en/acknowledgments/index.html b/en/acknowledgments/index.html index 4c73d50c..b9cc2d2b 100644 --- a/en/acknowledgments/index.html +++ b/en/acknowledgments/index.html @@ -14,13 +14,13 @@ Acknowledgments | XCharts - - + +

    Acknowledgments

    - - + + \ No newline at end of file diff --git a/en/api/index.html b/en/api/index.html index 6b4007ba..304d6105 100644 --- a/en/api/index.html +++ b/en/api/index.html @@ -14,13 +14,13 @@ - - + +
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/api/master/index.html b/en/api/master/index.html index aaf16ec7..f9d766f9 100644 --- a/en/api/master/index.html +++ b/en/api/master/index.html @@ -14,13 +14,13 @@ - - + +
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/api/v3.10.2/index.html b/en/api/v3.10.2/index.html index 90380e3e..47f9d536 100644 --- a/en/api/v3.10.2/index.html +++ b/en/api/v3.10.2/index.html @@ -14,13 +14,13 @@ - - + +
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/api/v3.11.2/index.html b/en/api/v3.11.2/index.html index b802162a..4a7e1093 100644 --- a/en/api/v3.11.2/index.html +++ b/en/api/v3.11.2/index.html @@ -14,13 +14,13 @@ - - + +
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/api/v3.5.0/index.html b/en/api/v3.5.0/index.html index ee5af10c..2c6b0289 100644 --- a/en/api/v3.5.0/index.html +++ b/en/api/v3.5.0/index.html @@ -14,13 +14,13 @@ - - + +
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/api/v3.6.0/index.html b/en/api/v3.6.0/index.html index 44e06ca9..90fa34fe 100644 --- a/en/api/v3.6.0/index.html +++ b/en/api/v3.6.0/index.html @@ -14,13 +14,13 @@ - - + +
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/api/v3.7.0/index.html b/en/api/v3.7.0/index.html index 31bf6e0c..f65baccc 100644 --- a/en/api/v3.7.0/index.html +++ b/en/api/v3.7.0/index.html @@ -14,13 +14,13 @@ - - + +
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/api/v3.8.1/index.html b/en/api/v3.8.1/index.html index 0ab33049..6889bb65 100644 --- a/en/api/v3.8.1/index.html +++ b/en/api/v3.8.1/index.html @@ -14,13 +14,13 @@ - - + +
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/api/v3.9.0/index.html b/en/api/v3.9.0/index.html index f5020947..be31c7c3 100644 --- a/en/api/v3.9.0/index.html +++ b/en/api/v3.9.0/index.html @@ -14,13 +14,13 @@ - - + +
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/assets/js/160ef12c.918de38a.js b/en/assets/js/160ef12c.918de38a.js new file mode 100644 index 00000000..395abb79 --- /dev/null +++ b/en/assets/js/160ef12c.918de38a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2089],{3905:function(e,t,l){l.d(t,{Zo:function(){return s},kt:function(){return c}});var i=l(67294);function a(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}function n(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,i)}return l}function r(e){for(var t=1;t=0||(a[l]=e[l]);return a}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(a[l]=e[l])}return a}var d=i.createContext({}),p=function(e){var t=i.useContext(d),l=t;return e&&(l="function"==typeof e?e(t):r(r({},t),e)),l},s=function(e){var t=p(e.components);return i.createElement(d.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},h=i.forwardRef((function(e,t){var l=e.components,a=e.mdxType,n=e.originalType,d=e.parentName,s=o(e,["components","mdxType","originalType","parentName"]),h=p(l),c=a,m=h["".concat(d,".").concat(c)]||h[c]||u[c]||n;return l?i.createElement(m,r(r({ref:t},s),{},{components:l})):i.createElement(m,r({ref:t},s))}));function c(e,t){var l=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var n=l.length,r=new Array(n);r[0]=h;var o={};for(var d in t)hasOwnProperty.call(t,d)&&(o[d]=t[d]);o.originalType=e,o.mdxType="string"==typeof e?e:a,r[1]=o;for(var p=2;p")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axishelper"},"AxisHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axislabel"},"AxisLabel")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axisline"},"AxisLine")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axisminorsplitline"},"AxisMinorSplitLine")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axisminortick"},"AxisMinorTick")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axisname"},"AxisName")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axissplitarea"},"AxisSplitArea")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axissplitline"},"AxisSplitLine")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axistheme"},"AxisTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#axistick"},"AxisTick")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#background"},"Background")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#bar"},"Bar")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#barchart"},"BarChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#bartype"},"BarType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#basechart"},"BaseChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#basegraph"},"BaseGraph")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#baseline"},"BaseLine")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#basescatter"},"BaseScatter")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#baseserie"},"BaseSerie")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#blurstyle"},"BlurStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#borderstyle"},"BorderStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#calendarcoord"},"CalendarCoord")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#candlestick"},"Candlestick")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#candlestickchart"},"CandlestickChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#chartcached"},"ChartCached")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#chartconst"},"ChartConst")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#chartdrawer"},"ChartDrawer")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#charthelper"},"ChartHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#chartlabel"},"ChartLabel")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#chartobject"},"ChartObject")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#charttext"},"ChartText")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#checkhelper"},"CheckHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#colorutil"},"ColorUtil")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#comment"},"Comment")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#commentitem"},"CommentItem")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#commentmarkstyle"},"CommentMarkStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#componenthandlerattribute"},"ComponentHandlerAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#componenthelper"},"ComponentHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#coordoptionsattribute"},"CoordOptionsAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#coordsystem"},"CoordSystem")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#datahelper"},"DataHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#datazoom"},"DataZoom")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#datazoomfiltermode"},"DataZoom.FilterMode")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#datazoomrangemode"},"DataZoom.RangeMode")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#datazoomcontext"},"DataZoomContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#datazoomhelper"},"DataZoomHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#datazoomtheme"},"DataZoomTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#datetimeutil"},"DateTimeUtil")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#debuginfo"},"DebugInfo")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#defaultanimationattribute"},"DefaultAnimationAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#defaulttooltipattribute"},"DefaultTooltipAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#definesymbolsutil"},"DefineSymbolsUtil")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#effectscatter"},"EffectScatter")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#emphasisstyle"},"EmphasisStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#emphasisstyleblurscope"},"EmphasisStyle.BlurScope")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#emphasisstylefocustype"},"EmphasisStyle.FocusType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#endlabelstyle"},"EndLabelStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#formatterhelper"},"FormatterHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#graphdata"},"GraphData")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#graphedge"},"GraphEdge")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#graphnode"},"GraphNode")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#gridcoord"},"GridCoord")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#gridcoord3d"},"GridCoord3D")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#gridcoord3dcontext"},"GridCoord3DContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#gridcoordcontext"},"GridCoordContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#gridlayout"},"GridLayout")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#gridlayoutcontext"},"GridLayoutContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#heatmap"},"Heatmap")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#heatmapchart"},"HeatmapChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#heatmaptype"},"HeatmapType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#iconstyle"},"IconStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#iconstylelayer"},"IconStyle.Layer")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#ignoredoc"},"IgnoreDoc")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#imagestyle"},"ImageStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#indicator"},"Indicator")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#inputhelper"},"InputHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#interactdata"},"InteractData")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#ipropertychanged"},"IPropertyChanged")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#iseriecomponent"},"ISerieComponent")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#isimplifiedserie"},"ISimplifiedSerie")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#itemstyle"},"ItemStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#iupdateruntimedata"},"IUpdateRuntimeData")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#jsonutil"},"JsonUtil")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#labelline"},"LabelLine")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#labellinelinetype"},"LabelLine.LineType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#labelstyleposition"},"LabelStyle.Position")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#lang"},"Lang")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#langcandlestick"},"LangCandlestick")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#langtime"},"LangTime")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#layerhelper"},"LayerHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#legend"},"Legend")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#legendselectedmode"},"Legend.SelectedMode")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#legendtype"},"Legend.Type")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#legendcontext"},"LegendContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#legendhelper"},"LegendHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#legenditem"},"LegendItem")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#legendtheme"},"LegendTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#level"},"Level")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#levelstyle"},"LevelStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#line"},"Line")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#linearrow"},"LineArrow")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#linearrowposition"},"LineArrow.Position")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#linechart"},"LineChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#linehelper"},"LineHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#linestyle"},"LineStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#linestyletype"},"LineStyle.Type")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#linetype"},"LineType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#listfor"},"ListFor")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#listforcomponent"},"ListForComponent")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#listforserie"},"ListForSerie")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#listpoolt"},"ListPool","<","T",">")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#location"},"Location")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#locationalign"},"Location.Align")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#maincomponent"},"MainComponent")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#maincomponenthandler"},"MainComponentHandler")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#maincomponenthandlert"},"MainComponentHandler","<","T",">")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#markarea"},"MarkArea")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#markareadata"},"MarkAreaData")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#markareatype"},"MarkAreaType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#markline"},"MarkLine")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#marklinedata"},"MarkLineData")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#marklinetype"},"MarkLineType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#marqueestyle"},"MarqueeStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#mathutil"},"MathUtil")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#mlvalue"},"MLValue")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#mlvaluetype"},"MLValue.Type")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#monobehaviour"},"MonoBehaviour")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#orient"},"Orient")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#padding"},"Padding")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#painter"},"Painter")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#paintertype"},"Painter.Type")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#parallel"},"Parallel")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#parallelaxis"},"ParallelAxis")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#parallelchart"},"ParallelChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#parallelcoord"},"ParallelCoord")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#parallelcoordcontext"},"ParallelCoordContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#pie"},"Pie")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#piechart"},"PieChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#polaraxistheme"},"PolarAxisTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#polarchart"},"PolarChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#polarcoord"},"PolarCoord")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#polarcoordcontext"},"PolarCoordContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#propertyutil"},"PropertyUtil")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radar"},"Radar")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radaraxistheme"},"RadarAxisTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radarchart"},"RadarChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radarcoord"},"RadarCoord")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radarcoordpositiontype"},"RadarCoord.PositionType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radarcoordshape"},"RadarCoord.Shape")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radarcoordcontext"},"RadarCoordContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radartype"},"RadarType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radiusaxis"},"RadiusAxis")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#radiusaxistheme"},"RadiusAxisTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#reflectionutil"},"ReflectionUtil")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#requirechartcomponentattribute"},"RequireChartComponentAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#ring"},"Ring")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#ringchart"},"RingChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#rosetype"},"RoseType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#runtimeutil"},"RuntimeUtil")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#sampletype"},"SampleType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#scatter"},"Scatter")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#scatterchart"},"ScatterChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#selectstyle"},"SelectStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#serie"},"Serie")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriecolorby"},"SerieColorBy")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriecomponentattribute"},"SerieComponentAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriecontext"},"SerieContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#serieconvertattribute"},"SerieConvertAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriedata"},"SerieData")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriedatacomponentattribute"},"SerieDataComponentAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriedatacontext"},"SerieDataContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriedataextrafieldattribute"},"SerieDataExtraFieldAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriedatalink"},"SerieDataLink")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriedatasorttype"},"SerieDataSortType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#serieeventdata"},"SerieEventData")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#serieeventdatapool"},"SerieEventDataPool")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriehandler"},"SerieHandler")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriehandlert"},"SerieHandler","<","T",">")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriehandlerattribute"},"SerieHandlerAttribute")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriehelper"},"SerieHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#serielabelhelper"},"SerieLabelHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#serielabelpool"},"SerieLabelPool")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#serieparams"},"SerieParams")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#serieshelper"},"SeriesHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriestate"},"SerieState")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#seriesymbol"},"SerieSymbol")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#serietheme"},"SerieTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#settings"},"Settings")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#simplifiedbar"},"SimplifiedBar")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#simplifiedbarchart"},"SimplifiedBarChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#simplifiedcandlestick"},"SimplifiedCandlestick")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#simplifiedcandlestickchart"},"SimplifiedCandlestickChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#simplifiedline"},"SimplifiedLine")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#simplifiedlinechart"},"SimplifiedLineChart")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#since"},"Since")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#singleaxis"},"SingleAxis")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#singleaxiscoord"},"SingleAxisCoord")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#stagecolor"},"StageColor")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#statestyle"},"StateStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#subtitletheme"},"SubTitleTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#svg"},"SVG")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#svgpath"},"SVGPath")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#svgpathseg"},"SVGPathSeg")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#svgpathsegtype"},"SVGPathSegType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#symbolsizetype"},"SymbolSizeType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#symbolstyle"},"SymbolStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#symboltype"},"SymbolType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#textlimit"},"TextLimit")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#textpadding"},"TextPadding")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#textstyle"},"TextStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#theme"},"Theme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#themestyle"},"ThemeStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#themetype"},"ThemeType")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#title"},"Title")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#titlestyle"},"TitleStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#titletheme"},"TitleTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltip"},"Tooltip")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltipposition"},"Tooltip.Position")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltiptrigger"},"Tooltip.Trigger")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltiptriggeron"},"Tooltip.TriggerOn")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltiptype"},"Tooltip.Type")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltipcontext"},"TooltipContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltipdata"},"TooltipData")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltiphelper"},"TooltipHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltiptheme"},"TooltipTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltipview"},"TooltipView")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#tooltipviewitem"},"TooltipViewItem")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#ugl"},"UGL")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#ugldirection"},"UGL.Direction")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#uglexample"},"UGLExample")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#uglhelper"},"UGLHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#uicomponent"},"UIComponent")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#uicomponenttheme"},"UIComponentTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#uihelper"},"UIHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#viewcontrol"},"ViewControl")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#visualmap"},"VisualMap")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#visualmapselectedmode"},"VisualMap.SelectedMode")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#visualmaptype"},"VisualMap.Type")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#visualmapcontext"},"VisualMapContext")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#visualmaphelper"},"VisualMapHelper")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#visualmaprange"},"VisualMapRange")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#visualmaptheme"},"VisualMapTheme")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#wrappert"},"Wrapper","<","T",">")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xaxis"},"XAxis")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xaxis3d"},"XAxis3D")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xchartsmgr"},"XChartsMgr")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xcresourceimporterwindow"},"XCResourceImporterWindow")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xcresourcesimporter"},"XCResourcesImporter")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xcsettings"},"XCSettings")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xcthememgr"},"XCThemeMgr")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xlog"},"XLog")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#yaxis"},"YAxis")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#yaxis3d"},"YAxis3D")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#zaxis3d"},"ZAxis3D"))),(0,n.kt)("h2",{id:"align"},"Align"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Center"),": \u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Left"),": \u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Right"),": \u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002")),(0,n.kt)("h2",{id:"angleaxis"},"AngleAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("p",null,"\u6781\u5750\u6807\u7cfb\u7684\u89d2\u5ea6\u8f74\u3002"),(0,n.kt)("h3",{id:"angleaxisgetvalueangle"},"AngleAxis.GetValueAngle"),(0,n.kt)("p",null,"public float GetValueAngle(double value) "),(0,n.kt)("h3",{id:"angleaxissetdefaultvalue"},"AngleAxis.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue() "),(0,n.kt)("h2",{id:"angleaxistheme"},"AngleAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h3",{id:"angleaxisthemebasetheme"},"AngleAxisTheme.base(theme)"),(0,n.kt)("p",null,"public AngleAxisTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h3",{id:"angleaxisthemeangleaxistheme"},"AngleAxisTheme.AngleAxisTheme"),(0,n.kt)("p",null,"public AngleAxisTheme(ThemeType theme) : base(theme) { } "),(0,n.kt)("h2",{id:"animationaddition"},"AnimationAddition"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6570\u636e\u65b0\u589e\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationchange"},"AnimationChange"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6570\u636e\u53d8\u66f4\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationeasing"},"AnimationEasing"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Linear"),": ")),(0,n.kt)("h2",{id:"animationfadein"},"AnimationFadeIn"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6de1\u5165\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationfadeout"},"AnimationFadeOut"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6de1\u51fa\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationhiding"},"AnimationHiding"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6570\u636e\u9690\u85cf\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationinfo"},"AnimationInfo"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#animationfadein"},"AnimationFadeIn"),",",(0,n.kt)("a",{parentName:"p",href:"#animationfadeout"},"AnimationFadeOut"),",",(0,n.kt)("a",{parentName:"p",href:"#animationchange"},"AnimationChange"),",",(0,n.kt)("a",{parentName:"p",href:"#animationaddition"},"AnimationAddition"),",",(0,n.kt)("a",{parentName:"p",href:"#animationhiding"},"AnimationHiding"),",",(0,n.kt)("a",{parentName:"p",href:"#animationinteraction"},"AnimationInteraction")," "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u52a8\u753b\u914d\u7f6e\u53c2\u6570\u3002"),(0,n.kt)("h3",{id:"animationinfodelay"},"AnimationInfo.delay"),(0,n.kt)("p",null,"public float delay",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u5f00\u59cb\u524d\u7684\u5ef6\u8fdf\u65f6\u95f4\u3002"),(0,n.kt)("h3",{id:"animationinfodelayfunction"},"AnimationInfo.delayFunction"),(0,n.kt)("p",null,"public AnimationDelayFunction delayFunction",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u5ef6\u8fdf\u7684\u59d4\u6258\u51fd\u6570\u3002"),(0,n.kt)("h3",{id:"animationinfoduration"},"AnimationInfo.duration"),(0,n.kt)("p",null,"public float duration",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u7684\u65f6\u957f\u3002"),(0,n.kt)("h3",{id:"animationinfodurationfunction"},"AnimationInfo.durationFunction"),(0,n.kt)("p",null,"public AnimationDurationFunction durationFunction",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u65f6\u957f\u7684\u59d4\u6258\u51fd\u6570\u3002"),(0,n.kt)("h3",{id:"animationinfoenable"},"AnimationInfo.enable"),(0,n.kt)("p",null,"public bool enable",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u5f00\u542f\u52a8\u753b\u6548\u679c\u3002"),(0,n.kt)("h3",{id:"animationinfoonanimationend"},"AnimationInfo.OnAnimationEnd"),(0,n.kt)("p",null,"public Action OnAnimationEnd",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u7ed3\u675f\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"animationinfoonanimationstart"},"AnimationInfo.OnAnimationStart"),(0,n.kt)("p",null,"public Action OnAnimationStart",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u5f00\u59cb\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"animationinforeverse"},"AnimationInfo.reverse"),(0,n.kt)("p",null,"public bool reverse",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u5f00\u542f\u53cd\u5411\u52a8\u753b\u6548\u679c\u3002"),(0,n.kt)("h3",{id:"animationinfoend"},"AnimationInfo.End"),(0,n.kt)("p",null,"public void End()",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed3\u675f\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationinfogetindexdelay"},"AnimationInfo.GetIndexDelay"),(0,n.kt)("p",null,"public float GetIndexDelay(int dataIndex)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u53d6\u52a8\u753b\u5ef6\u8fdf\u3002"),(0,n.kt)("h3",{id:"animationinfoinit"},"AnimationInfo.Init"),(0,n.kt)("p",null,"public bool Init(float curr, float dest, int totalPointIndex)",(0,n.kt)("br",{parentName:"p"}),"\n","\u521d\u59cb\u5316\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationinfoisfinish"},"AnimationInfo.IsFinish"),(0,n.kt)("p",null,"public bool IsFinish()",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u662f\u5426\u7ed3\u675f\u3002"),(0,n.kt)("h3",{id:"animationinfoisindelay"},"AnimationInfo.IsInDelay"),(0,n.kt)("p",null,"public bool IsInDelay()",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u662f\u5426\u5728\u5ef6\u8fdf\u4e2d\u3002"),(0,n.kt)("h3",{id:"animationinfoisinindexdelay"},"AnimationInfo.IsInIndexDelay"),(0,n.kt)("p",null,"public bool IsInIndexDelay(int dataIndex)",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u662f\u5426\u5728\u7d22\u5f15\u5ef6\u8fdf\u4e2d\u3002"),(0,n.kt)("h3",{id:"animationinfopause"},"AnimationInfo.Pause"),(0,n.kt)("p",null,"public void Pause()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6682\u505c\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationinforeset"},"AnimationInfo.Reset"),(0,n.kt)("p",null,"public void Reset()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u7f6e\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationinforesume"},"AnimationInfo.Resume"),(0,n.kt)("p",null,"public void Resume()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6062\u590d\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationinfostart"},"AnimationInfo.Start"),(0,n.kt)("p",null,"public void Start(bool reset = true)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f00\u59cb\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationinfocontext"},"AnimationInfoContext"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"animationinteraction"},"AnimationInteraction"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u4ea4\u4e92\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationinteractionoffset"},"AnimationInteraction.offset"),(0,n.kt)("p",null,"public MLValue offset",(0,n.kt)("br",{parentName:"p"}),"\n","\u4ea4\u4e92\u7684\u591a\u6837\u5f0f\u6570\u503c\u3002\u5982\u997c\u56fe\u7684\u6247\u5f62\u9009\u4e2d\u65f6\u7684\u504f\u79fb\u3002"),(0,n.kt)("h3",{id:"animationinteractionradius"},"AnimationInteraction.radius"),(0,n.kt)("p",null,"public MLValue radius",(0,n.kt)("br",{parentName:"p"}),"\n","\u534a\u5f84\u7684\u591a\u6837\u5f0f\u6570\u503c\u3002"),(0,n.kt)("h3",{id:"animationinteractionwidth"},"AnimationInteraction.width"),(0,n.kt)("p",null,"public MLValue width",(0,n.kt)("br",{parentName:"p"}),"\n","\u5bbd\u5ea6\u7684\u591a\u6837\u5f0f\u6570\u503c\u3002"),(0,n.kt)("h3",{id:"animationinteractiongetoffset"},"AnimationInteraction.GetOffset"),(0,n.kt)("p",null,"public float GetOffset() "),(0,n.kt)("h3",{id:"animationinteractiongetradius"},"AnimationInteraction.GetRadius"),(0,n.kt)("p",null,"public float GetRadius(float radius) "),(0,n.kt)("h3",{id:"animationinteractiongetwidth"},"AnimationInteraction.GetWidth"),(0,n.kt)("p",null,"public float GetWidth(float width) "),(0,n.kt)("h2",{id:"animationstyle"},"AnimationStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u52a8\u753b\u7ec4\u4ef6\uff0c\u7528\u4e8e\u63a7\u5236\u56fe\u8868\u7684\u52a8\u753b\u64ad\u653e\u3002\u652f\u6301\u914d\u7f6e\u4e94\u79cd\u52a8\u753b\u8868\u73b0\uff1aFadeIn\uff08\u6e10\u5165\u52a8\u753b\uff09\uff0cFadeOut\uff08\u6e10\u51fa\u52a8\u753b\uff09\uff0cChange\uff08\u53d8\u66f4\u52a8\u753b\uff09\uff0cAddition\uff08\u65b0\u589e\u52a8\u753b\uff09\uff0cInteraction\uff08\u4ea4\u4e92\u52a8\u753b\uff09\u3002 \u6309\u4f5c\u7528\u7684\u5bf9\u8c61\u53ef\u4ee5\u5206\u4e3a\u4e24\u7c7b\uff1aSerieAnimation\uff08\u7cfb\u5217\u52a8\u753b\uff09\u548cDataAnimation\uff08\u6570\u636e\u52a8\u753b\uff09\u3002"),(0,n.kt)("h3",{id:"animationstyleaddition"},"AnimationStyle.addition"),(0,n.kt)("p",null,"public AnimationAddition addition",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u65b0\u589e\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstylechange"},"AnimationStyle.change"),(0,n.kt)("p",null,"public AnimationChange change",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u53d8\u66f4\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstyleenable"},"AnimationStyle.enable"),(0,n.kt)("p",null,"public bool enable",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u5f00\u542f\u52a8\u753b\u6548\u679c\u3002"),(0,n.kt)("h3",{id:"animationstylefadein"},"AnimationStyle.fadeIn"),(0,n.kt)("p",null,"public AnimationFadeIn fadeIn",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e10\u5165\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstylefadeinfinishcallback"},"AnimationStyle.fadeInFinishCallback"),(0,n.kt)("p",null,"public Action fadeInFinishCallback "),(0,n.kt)("h3",{id:"animationstylefadeout"},"AnimationStyle.fadeOut"),(0,n.kt)("p",null,"public AnimationFadeOut fadeOut",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e10\u51fa\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstylefadeoutfinishcallback"},"AnimationStyle.fadeOutFinishCallback"),(0,n.kt)("p",null,"public Action fadeOutFinishCallback "),(0,n.kt)("h3",{id:"animationstylehiding"},"AnimationStyle.hiding"),(0,n.kt)("p",null,"public AnimationHiding hiding",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9690\u85cf\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstyleinteraction"},"AnimationStyle.interaction"),(0,n.kt)("p",null,"public AnimationInteraction interaction",(0,n.kt)("br",{parentName:"p"}),"\n","\u4ea4\u4e92\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstylethreshold"},"AnimationStyle.threshold"),(0,n.kt)("p",null,"public int threshold",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u5f00\u542f\u52a8\u753b\u7684\u9608\u503c\uff0c\u5f53\u5355\u4e2a\u7cfb\u5217\u663e\u793a\u7684\u56fe\u5f62\u6570\u91cf\u5927\u4e8e\u8fd9\u4e2a\u9608\u503c\u65f6\u4f1a\u5173\u95ed\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationstyleunscaledtime"},"AnimationStyle.unscaledTime"),(0,n.kt)("p",null,"public bool unscaledTime",(0,n.kt)("br",{parentName:"p"}),"\n","\u52a8\u753b\u662f\u5426\u53d7TimeScaled\u7684\u5f71\u54cd\u3002\u9ed8\u8ba4\u4e3a false \u53d7TimeScaled\u7684\u5f71\u54cd\u3002"),(0,n.kt)("h3",{id:"animationstyleaddition-1"},"AnimationStyle.Addition"),(0,n.kt)("p",null,"public void Addition()",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f00\u59cb\u6570\u636e\u65b0\u589e\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationstylecancheckinteract"},"AnimationStyle.CanCheckInteract"),(0,n.kt)("p",null,"public bool CanCheckInteract() "),(0,n.kt)("h3",{id:"animationstylecheckdetailbreak"},"AnimationStyle.CheckDetailBreak"),(0,n.kt)("p",null,"public bool CheckDetailBreak(Vector3 pos, bool isYAxis) "),(0,n.kt)("h3",{id:"animationstylecheckprogress"},"AnimationStyle.CheckProgress"),(0,n.kt)("p",null,"public void CheckProgress(double total) "),(0,n.kt)("h3",{id:"animationstylechecksymbol"},"AnimationStyle.CheckSymbol"),(0,n.kt)("p",null,"public void CheckSymbol(float dest) "),(0,n.kt)("h3",{id:"animationstylefadein-1"},"AnimationStyle.FadeIn"),(0,n.kt)("p",null,"public void FadeIn()",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f00\u59cb\u6e10\u5165\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationstylefadeout-1"},"AnimationStyle.FadeOut"),(0,n.kt)("p",null,"public void FadeOut()",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f00\u59cb\u6e10\u51fa\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationstylegetadditionduration"},"AnimationStyle.GetAdditionDuration"),(0,n.kt)("p",null,"public float GetAdditionDuration() "),(0,n.kt)("h3",{id:"animationstylegetchangeduration"},"AnimationStyle.GetChangeDuration"),(0,n.kt)("p",null,"public float GetChangeDuration() "),(0,n.kt)("h3",{id:"animationstylegetcurrdetail"},"AnimationStyle.GetCurrDetail"),(0,n.kt)("p",null,"public float GetCurrDetail() "),(0,n.kt)("h3",{id:"animationstylegetcurrindex"},"AnimationStyle.GetCurrIndex"),(0,n.kt)("p",null,"public int GetCurrIndex() "),(0,n.kt)("h3",{id:"animationstylegetcurrrate"},"AnimationStyle.GetCurrRate"),(0,n.kt)("p",null,"public float GetCurrRate() "),(0,n.kt)("h3",{id:"animationstylegetinteractionduration"},"AnimationStyle.GetInteractionDuration"),(0,n.kt)("p",null,"public float GetInteractionDuration() "),(0,n.kt)("h3",{id:"animationstylegetinteractionradius"},"AnimationStyle.GetInteractionRadius"),(0,n.kt)("p",null,"public float GetInteractionRadius(float radius) "),(0,n.kt)("h3",{id:"animationstylegetsysmbolsize"},"AnimationStyle.GetSysmbolSize"),(0,n.kt)("p",null,"public float GetSysmbolSize(float dest) "),(0,n.kt)("h3",{id:"animationstylehasfadeout"},"AnimationStyle.HasFadeOut"),(0,n.kt)("p",null,"public bool HasFadeOut() "),(0,n.kt)("h3",{id:"animationstyleinitprogress"},"AnimationStyle.InitProgress"),(0,n.kt)("p",null,"public void InitProgress(List","<","Vector3",">"," paths, bool isY)",(0,n.kt)("br",{parentName:"p"}),"\n","\u521d\u59cb\u5316\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstyleisdataanimation"},"AnimationStyle.IsDataAnimation"),(0,n.kt)("p",null,"public bool IsDataAnimation()",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u4e3a\u6570\u636e\u52a8\u753b\u3002BottomToTop\u548cInsideOut\u7c7b\u578b\u7684\u4e3a\u6570\u636e\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationstyleisend"},"AnimationStyle.IsEnd"),(0,n.kt)("p",null,"public bool IsEnd() "),(0,n.kt)("h3",{id:"animationstyleisfadein"},"AnimationStyle.IsFadeIn"),(0,n.kt)("p",null,"public bool IsFadeIn() "),(0,n.kt)("h3",{id:"animationstyleisfadeout"},"AnimationStyle.IsFadeOut"),(0,n.kt)("p",null,"public bool IsFadeOut() "),(0,n.kt)("h3",{id:"animationstyleisfinish"},"AnimationStyle.IsFinish"),(0,n.kt)("p",null,"public bool IsFinish() "),(0,n.kt)("h3",{id:"animationstyleisindelay"},"AnimationStyle.IsInDelay"),(0,n.kt)("p",null,"public bool IsInDelay() "),(0,n.kt)("h3",{id:"animationstyleisserieanimation"},"AnimationStyle.IsSerieAnimation"),(0,n.kt)("p",null,"public bool IsSerieAnimation()",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u4e3a\u7cfb\u5217\u52a8\u753b\u3002LeftToRight\u3001AlongPath\u548cClockwise\u7c7b\u578b\u7684\u4e3a\u7cfb\u5217\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationstylepause"},"AnimationStyle.Pause"),(0,n.kt)("p",null,"public void Pause()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6682\u505c\u6240\u6709\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationstylereset"},"AnimationStyle.Reset"),(0,n.kt)("p",null,"public void Reset()",(0,n.kt)("br",{parentName:"p"}),"\n","Reset all animations."),(0,n.kt)("h3",{id:"animationstylerestart"},"AnimationStyle.Restart"),(0,n.kt)("p",null,"public void Restart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u542f\u5f53\u524d\u6fc0\u6d3b\u7684\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationstyleresume"},"AnimationStyle.Resume"),(0,n.kt)("p",null,"public void Resume()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6062\u590d\u6240\u6709\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationstylehelper"},"AnimationStyleHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"animationstylehelpercheckdataanimation"},"AnimationStyleHelper.CheckDataAnimation"),(0,n.kt)("p",null,"public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0) "),(0,n.kt)("h3",{id:"animationstylehelpergetanimationposition"},"AnimationStyleHelper.GetAnimationPosition"),(0,n.kt)("p",null,"public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip, ref float rate) "),(0,n.kt)("h3",{id:"animationstylehelperupdateanimationtype"},"AnimationStyleHelper.UpdateAnimationType"),(0,n.kt)("p",null,"public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType, bool enableSerieDataAnimation) "),(0,n.kt)("h3",{id:"animationstylehelperupdateserieanimation"},"AnimationStyleHelper.UpdateSerieAnimation"),(0,n.kt)("p",null,"public static void UpdateSerieAnimation(Serie serie) "),(0,n.kt)("h2",{id:"animationtype"},"AnimationType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Default"),": \u9ed8\u8ba4\u3002\u5185\u90e8\u4f1a\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u9009\u62e9\u4e00\u79cd\u52a8\u753b\u64ad\u653e\u65b9\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"LeftToRight"),": \u4ece\u5de6\u5f80\u53f3\u64ad\u653e\u52a8\u753b\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BottomToTop"),": \u4ece\u4e0b\u5f80\u4e0a\u64ad\u653e\u52a8\u753b\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"InsideOut"),": \u7531\u5185\u5230\u5916\u64ad\u653e\u52a8\u753b\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"AlongPath"),": \u6cbf\u7740\u8def\u5f84\u64ad\u653e\u52a8\u753b\u3002\u5f53\u6298\u7ebf\u56fe\u4ece\u5de6\u5230\u53f3\u65e0\u5e8f\u6216\u6709\u6298\u8fd4\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u8be5\u6a21\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Clockwise"),": \u987a\u65f6\u9488\u64ad\u653e\u52a8\u753b\u3002")),(0,n.kt)("h2",{id:"areastyle"},"AreaStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u533a\u57df\u586b\u5145\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"areastylegetcolor"},"AreaStyle.GetColor"),(0,n.kt)("p",null,"public Color32 GetColor(Color32 themeColor) "),(0,n.kt)("h2",{id:"areastyleareaorigin"},"AreaStyle.AreaOrigin"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u56fe\u5f62\u533a\u57df\u7684\u8d77\u59cb\u4f4d\u7f6e\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u56fe\u5f62\u4f1a\u4ece\u5750\u6807\u8f74\u8f74\u7ebf\u5230\u6570\u636e\u95f4\u8fdb\u884c\u586b\u5145\u3002\u5982\u679c\u9700\u8981\u586b\u5145\u7684\u533a\u57df\u662f\u5750\u6807\u8f74\u6700\u5927\u503c\u5230\u6570\u636e\u95f4\uff0c\u6216\u8005\u5750\u6807\u8f74\u6700\u5c0f\u503c\u5230\u6570\u636e\u95f4\uff0c\u5219\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e2a\u914d\u7f6e\u9879\u8fdb\u884c\u8bbe\u7f6e\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u586b\u5145\u5750\u6807\u8f74\u8f74\u7ebf\u5230\u6570\u636e\u95f4\u7684\u533a\u57df\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Start"),": \u586b\u5145\u5750\u6807\u8f74\u5e95\u90e8\u5230\u6570\u636e\u95f4\u7684\u533a\u57df\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"End"),": \u586b\u5145\u5750\u6807\u8f74\u9876\u90e8\u5230\u6570\u636e\u95f4\u7684\u533a\u57df\u3002")),(0,n.kt)("h2",{id:"arrowstyle"},"ArrowStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"arrowstyleclone"},"ArrowStyle.Clone"),(0,n.kt)("p",null,"public ArrowStyle Clone() "),(0,n.kt)("h3",{id:"arrowstylecopy"},"ArrowStyle.Copy"),(0,n.kt)("p",null,"public void Copy(ArrowStyle arrow) "),(0,n.kt)("h3",{id:"arrowstylegetcolor"},"ArrowStyle.GetColor"),(0,n.kt)("p",null,"public Color32 GetColor(Color32 defaultColor) "),(0,n.kt)("h2",{id:"axis"},"Axis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#angleaxis"},"AngleAxis"),",",(0,n.kt)("a",{parentName:"p",href:"#parallelaxis"},"ParallelAxis"),",",(0,n.kt)("a",{parentName:"p",href:"#radiusaxis"},"RadiusAxis"),",",(0,n.kt)("a",{parentName:"p",href:"#singleaxis"},"SingleAxis"),",",(0,n.kt)("a",{parentName:"p",href:"#xaxis"},"XAxis"),",",(0,n.kt)("a",{parentName:"p",href:"#xaxis3d"},"XAxis3D"),",",(0,n.kt)("a",{parentName:"p",href:"#yaxis"},"YAxis"),",",(0,n.kt)("a",{parentName:"p",href:"#yaxis3d"},"YAxis3D"),",",(0,n.kt)("a",{parentName:"p",href:"#zaxis3d"},"ZAxis3D")," "),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb\u7684\u5750\u6807\u8f74\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"axisadddata"},"Axis.AddData"),(0,n.kt)("p",null,"public void AddData(string category)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4e00\u4e2a\u7c7b\u76ee\u5230\u7c7b\u76ee\u6570\u636e\u5217\u8868"),(0,n.kt)("h3",{id:"axisaddicon"},"Axis.AddIcon"),(0,n.kt)("p",null,"public void AddIcon(Sprite icon)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u56fe\u6807"),(0,n.kt)("h3",{id:"axisclearcomponentdirty"},"Axis.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h3",{id:"axiscleardata"},"Axis.ClearData"),(0,n.kt)("p",null,"public override void ClearData()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e05\u7a7a\u7c7b\u76ee\u6570\u636e"),(0,n.kt)("h3",{id:"axisclearverticesdirty"},"Axis.ClearVerticesDirty"),(0,n.kt)("p",null,"public override void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"axisclone"},"Axis.Clone"),(0,n.kt)("p",null,"public Axis Clone() "),(0,n.kt)("h3",{id:"axiscopy"},"Axis.Copy"),(0,n.kt)("p",null,"public void Copy(Axis axis) "),(0,n.kt)("h3",{id:"axisgetaddeddatacount"},"Axis.GetAddedDataCount"),(0,n.kt)("p",null,"public int GetAddedDataCount()",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6dfb\u52a0\u8fc7\u7684\u5386\u53f2\u6570\u636e\u603b\u6570"),(0,n.kt)("h3",{id:"axisgetcategoryposition"},"Axis.GetCategoryPosition"),(0,n.kt)("p",null,"public Vector3 GetCategoryPosition(int categoryIndex, int dataCount = 0) "),(0,n.kt)("h3",{id:"axisgetdata"},"Axis.GetData"),(0,n.kt)("p",null,"public string GetData(int index, DataZoom dataZoom)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u5728dataZoom\u8303\u56f4\u5185\u6307\u5b9a\u7d22\u5f15\u7684\u7c7b\u76ee\u6570\u636e"),(0,n.kt)("h3",{id:"axisgetdistance"},"Axis.GetDistance"),(0,n.kt)("p",null,"public float GetDistance(double value, float axisLength = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u503c\u5728\u5750\u6807\u8f74\u4e0a\u7684\u8ddd\u79bb"),(0,n.kt)("h3",{id:"axisgeticon"},"Axis.GetIcon"),(0,n.kt)("p",null,"public Sprite GetIcon(int index) "),(0,n.kt)("h3",{id:"axisgetlabelvalue"},"Axis.GetLabelValue"),(0,n.kt)("p",null,"public double GetLabelValue(int index) "),(0,n.kt)("h3",{id:"axisgetlastlabelvalue"},"Axis.GetLastLabelValue"),(0,n.kt)("p",null,"public double GetLastLabelValue() "),(0,n.kt)("h3",{id:"axisgetlogmaxindex"},"Axis.GetLogMaxIndex"),(0,n.kt)("p",null,"public double GetLogMaxIndex() "),(0,n.kt)("h3",{id:"axisgetlogminindex"},"Axis.GetLogMinIndex"),(0,n.kt)("p",null,"public double GetLogMinIndex() "),(0,n.kt)("h3",{id:"axisgetlogvalue"},"Axis.GetLogValue"),(0,n.kt)("p",null,"public float GetLogValue(double value) "),(0,n.kt)("h3",{id:"axisgetvaluelength"},"Axis.GetValueLength"),(0,n.kt)("p",null,"public float GetValueLength(double value, float axisLength) "),(0,n.kt)("h3",{id:"axisisbottom"},"Axis.IsBottom"),(0,n.kt)("p",null,"public bool IsBottom() "),(0,n.kt)("h3",{id:"axisiscategory"},"Axis.IsCategory"),(0,n.kt)("p",null,"public bool IsCategory()",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u4e3a\u7c7b\u76ee\u8f74\u3002"),(0,n.kt)("h3",{id:"axisisleft"},"Axis.IsLeft"),(0,n.kt)("p",null,"public bool IsLeft() "),(0,n.kt)("h3",{id:"axisislog"},"Axis.IsLog"),(0,n.kt)("p",null,"public bool IsLog()",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u4e3a\u5bf9\u6570\u8f74\u3002"),(0,n.kt)("h3",{id:"axisisneedshowlabel"},"Axis.IsNeedShowLabel"),(0,n.kt)("p",null,"public bool IsNeedShowLabel(int index, int total = 0) "),(0,n.kt)("h3",{id:"axisisright"},"Axis.IsRight"),(0,n.kt)("p",null,"public bool IsRight() "),(0,n.kt)("h3",{id:"axisistime"},"Axis.IsTime"),(0,n.kt)("p",null,"public bool IsTime()",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u4e3a\u65f6\u95f4\u8f74\u3002"),(0,n.kt)("h3",{id:"axisistop"},"Axis.IsTop"),(0,n.kt)("p",null,"public bool IsTop() "),(0,n.kt)("h3",{id:"axisisvalue"},"Axis.IsValue"),(0,n.kt)("p",null,"public bool IsValue()",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u4e3a\u6570\u503c\u8f74\u3002"),(0,n.kt)("h3",{id:"axisremovedata"},"Axis.RemoveData"),(0,n.kt)("p",null,"public void RemoveData(int dataIndex) "),(0,n.kt)("h3",{id:"axisresetstatus"},"Axis.ResetStatus"),(0,n.kt)("p",null,"public override void ResetStatus()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u7f6e\u72b6\u6001\u3002"),(0,n.kt)("h3",{id:"axissetcomponentdirty"},"Axis.SetComponentDirty"),(0,n.kt)("p",null,"public override void SetComponentDirty() "),(0,n.kt)("h3",{id:"axissetneedupdatefilterdata"},"Axis.SetNeedUpdateFilterData"),(0,n.kt)("p",null,"public void SetNeedUpdateFilterData() "),(0,n.kt)("h3",{id:"axisupdatedata"},"Axis.UpdateData"),(0,n.kt)("p",null,"public void UpdateData(int index, string category)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u7c7b\u76ee\u6570\u636e"),(0,n.kt)("h3",{id:"axisupdateicon"},"Axis.UpdateIcon"),(0,n.kt)("p",null,"public void UpdateIcon(int index, Sprite icon)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u56fe\u6807"),(0,n.kt)("h3",{id:"axisupdatezerooffset"},"Axis.UpdateZeroOffset"),(0,n.kt)("p",null,"public void UpdateZeroOffset(float axisLength) "),(0,n.kt)("h2",{id:"axisaxisminmaxtype"},"Axis.AxisMinMaxType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u6700\u5927\u6700\u5c0f\u523b\u5ea6\u663e\u793a\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Default"),": 0-\u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"MinMax"),": \u6700\u5c0f\u503c-\u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u6700\u5c0f\u503c\u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"MinMaxAuto"),": ",'[since("v3.7.0")]',"\u6700\u5c0f\u503c-\u6700\u5927\u503c\u3002\u81ea\u52a8\u8ba1\u7b97\u5408\u9002\u7684\u503c\u3002")),(0,n.kt)("h2",{id:"axisaxisposition"},"Axis.AxisPosition"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Left"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Right"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Bottom"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Top"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Center"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e")),(0,n.kt)("h2",{id:"axisaxistype"},"Axis.AxisType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Value"),": \u6570\u503c\u8f74\u3002\u9002\u7528\u4e8e\u8fde\u7eed\u6570\u636e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Category"),": \u7c7b\u76ee\u8f74\u3002\u9002\u7528\u4e8e\u79bb\u6563\u7684\u7c7b\u76ee\u6570\u636e\uff0c\u4e3a\u8be5\u7c7b\u578b\u65f6\u5fc5\u987b\u901a\u8fc7 data \u8bbe\u7f6e\u7c7b\u76ee\u6570\u636e\u3002serie\u7684\u6570\u636e\u7b2c0\u7ef4\u6570\u636e\u5bf9\u5e94\u5750\u6807\u8f74data\u7684index\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Log"),": \u5bf9\u6570\u8f74\u3002\u9002\u7528\u4e8e\u5bf9\u6570\u6570\u636e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Time"),": \u65f6\u95f4\u8f74\u3002\u9002\u7528\u4e8e\u8fde\u7eed\u7684\u65f6\u5e8f\u6570\u636e\u3002")),(0,n.kt)("h2",{id:"axis3dhelper"},"Axis3DHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"axis3dhelperget3dgridposition"},"Axis3DHelper.Get3DGridPosition"),(0,n.kt)("p",null,"public static Vector3 Get3DGridPosition(GridCoord3D grid, XAxis3D xAxis, YAxis3D yAxis, double xValue, double yValue) "),(0,n.kt)("h3",{id:"axis3dhelpergetlabelposition"},"Axis3DHelper.GetLabelPosition"),(0,n.kt)("p",null,"public static Vector3 GetLabelPosition(int i, Axis axis, Axis relativedAxis, AxisTheme theme, float scaleWid) "),(0,n.kt)("h2",{id:"axisanimation"},"AxisAnimation"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.9.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"axisanimationclone"},"AxisAnimation.Clone"),(0,n.kt)("p",null,"public AxisAnimation Clone() "),(0,n.kt)("h3",{id:"axisanimationcopy"},"AxisAnimation.Copy"),(0,n.kt)("p",null,"public void Copy(AxisAnimation animation) "),(0,n.kt)("h2",{id:"axiscontext"},"AxisContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h3",{id:"axiscontextdestmaxvalue"},"AxisContext.destMaxValue"),(0,n.kt)("p",null,"public double destMaxValue "),(0,n.kt)("h3",{id:"axiscontextdestminvalue"},"AxisContext.destMinValue"),(0,n.kt)("p",null,"public double destMinValue "),(0,n.kt)("h3",{id:"axiscontextlabelobjectlist"},"AxisContext.labelObjectList"),(0,n.kt)("p",null,"public List","<","ChartLabel",">"," labelObjectList "),(0,n.kt)("h3",{id:"axiscontextlabelvaluelist"},"AxisContext.labelValueList"),(0,n.kt)("p",null,"public List","<","double",">"," labelValueList "),(0,n.kt)("h3",{id:"axiscontextlastmaxvalue"},"AxisContext.lastMaxValue"),(0,n.kt)("p",null,"public double lastMaxValue",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f53\u524d\u6700\u5927\u503c\u3002"),(0,n.kt)("h3",{id:"axiscontextlastminvalue"},"AxisContext.lastMinValue"),(0,n.kt)("p",null,"public double lastMinValue",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f53\u524d\u6700\u5c0f\u503c\u3002"),(0,n.kt)("h3",{id:"axiscontextneedanimation"},"AxisContext.needAnimation"),(0,n.kt)("p",null,"public bool needAnimation "),(0,n.kt)("h3",{id:"axiscontextruntimedata"},"AxisContext.runtimeData"),(0,n.kt)("p",null,"public List","<","string",">"," runtimeData",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u503c\u8f74\u65f6\u6bcf\u4e2atick\u7684\u6570\u503c\u3002"),(0,n.kt)("h2",{id:"axishandlert"},"AxisHandler","<","T",">"),(0,n.kt)("p",null,"class in XCharts / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponenthandler"},"MainComponentHandler")),(0,n.kt)("h3",{id:"axishandlertcomponent"},"AxisHandler","<","T",">",".component"),(0,n.kt)("p",null,"public T component "),(0,n.kt)("h2",{id:"axishelper"},"AxisHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"axishelperadjustcirclelabelpos"},"AxisHelper.AdjustCircleLabelPos"),(0,n.kt)("p",null,"public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset) "),(0,n.kt)("h3",{id:"axishelperadjustminmaxvalue"},"AxisHelper.AdjustMinMaxValue"),(0,n.kt)("p",null,"public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8c03\u6574\u6700\u5927\u6700\u5c0f\u503c"),(0,n.kt)("h3",{id:"axishelperadjustradiusaxislabelpos"},"AxisHelper.AdjustRadiusAxisLabelPos"),(0,n.kt)("p",null,"public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset) "),(0,n.kt)("h3",{id:"axishelpergetaxislinearrowoffset"},"AxisHelper.GetAxisLineArrowOffset"),(0,n.kt)("p",null,"public static float GetAxisLineArrowOffset(Axis axis)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5305\u542b\u7bad\u5934\u504f\u79fb\u7684\u8f74\u7ebf\u957f\u5ea6"),(0,n.kt)("h3",{id:"axishelpergetaxisposition"},"AxisHelper.GetAxisPosition"),(0,n.kt)("p",null,"public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"axishelpergetaxispositionvalue"},"AxisHelper.GetAxisPositionValue"),(0,n.kt)("p",null,"public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset) "),(0,n.kt)("h3",{id:"axishelpergetaxisvaluedistance"},"AxisHelper.GetAxisValueDistance"),(0,n.kt)("p",null,"public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6570\u503cvalue\u5728\u5750\u6807\u8f74\u4e0a\u76f8\u5bf9\u8d77\u70b9\u7684\u8ddd\u79bb"),(0,n.kt)("h3",{id:"axishelpergetaxisvaluelength"},"AxisHelper.GetAxisValueLength"),(0,n.kt)("p",null,"public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6570\u503cvalue\u5728\u5750\u6807\u8f74\u4e0a\u5bf9\u5e94\u7684\u957f\u5ea6"),(0,n.kt)("h3",{id:"axishelpergetaxisvalueposition"},"AxisHelper.GetAxisValuePosition"),(0,n.kt)("p",null,"public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6570\u503cvalue\u5728\u5750\u6807\u8f74\u4e0a\u7684\u5750\u6807\u4f4d\u7f6e"),(0,n.kt)("h3",{id:"axishelpergetaxisvaluesplitindex"},"AxisHelper.GetAxisValueSplitIndex"),(0,n.kt)("p",null,"public static int GetAxisValueSplitIndex(Axis axis, double value, bool checkMaxCache, int totalSplitNumber = -1)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6570\u503cvalue\u5728\u5750\u6807\u8f74\u4e0a\u5bf9\u5e94\u7684split\u7d22\u5f15"),(0,n.kt)("h3",{id:"axishelpergetaxisxory"},"AxisHelper.GetAxisXOrY"),(0,n.kt)("p",null,"public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis) "),(0,n.kt)("h3",{id:"axishelpergetdatawidth"},"AxisHelper.GetDataWidth"),(0,n.kt)("p",null,"public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u4e00\u4e2a\u7c7b\u76ee\u6570\u636e\u5728\u5750\u6807\u7cfb\u4e2d\u4ee3\u8868\u7684\u5bbd\u5ea6"),(0,n.kt)("h3",{id:"axishelpergeteachwidth"},"AxisHelper.GetEachWidth"),(0,n.kt)("p",null,"public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"axishelpergetscalenumber"},"AxisHelper.GetScaleNumber"),(0,n.kt)("p",null,"public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u5206\u5272\u7ebf\u6761\u6570"),(0,n.kt)("h3",{id:"axishelpergetscalewidth"},"AxisHelper.GetScaleWidth"),(0,n.kt)("p",null,"public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u5206\u5272\u6bb5\u5bbd\u5ea6"),(0,n.kt)("h3",{id:"axishelpergetsplitnumber"},"AxisHelper.GetSplitNumber"),(0,n.kt)("p",null,"public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u5206\u5272\u6bb5\u6570"),(0,n.kt)("h3",{id:"axishelpergettotalsplitgridnum"},"AxisHelper.GetTotalSplitGridNum"),(0,n.kt)("p",null,"public static int GetTotalSplitGridNum(Axis axis)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u5206\u5272\u7f51\u683c\u4e2a\u6570\uff0c\u5305\u542b\u6b21\u523b\u5ea6"),(0,n.kt)("h3",{id:"axishelpergetxaxisxory"},"AxisHelper.GetXAxisXOrY"),(0,n.kt)("p",null,"public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis) "),(0,n.kt)("h3",{id:"axishelpergetyaxisxory"},"AxisHelper.GetYAxisXOrY"),(0,n.kt)("p",null,"public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis) "),(0,n.kt)("h3",{id:"axishelperneedshowsplit"},"AxisHelper.NeedShowSplit"),(0,n.kt)("p",null,"public static bool NeedShowSplit(Axis axis) "),(0,n.kt)("h2",{id:"axislabel"},"AxisLabel"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u523b\u5ea6\u6807\u7b7e\u7684\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"axislabelcomponentdirty"},"AxisLabel.componentDirty"),(0,n.kt)("p",null,"public override bool componentDirty "),(0,n.kt)("h3",{id:"axislabelclearcomponentdirty"},"AxisLabel.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h3",{id:"axislabelclone"},"AxisLabel.Clone"),(0,n.kt)("p",null,"public new AxisLabel Clone() "),(0,n.kt)("h3",{id:"axislabelcopy"},"AxisLabel.Copy"),(0,n.kt)("p",null,"public void Copy(AxisLabel axisLabel) "),(0,n.kt)("h3",{id:"axislabelgetformattercontent"},"AxisLabel.GetFormatterContent"),(0,n.kt)("p",null,"public override string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false) "),(0,n.kt)("h3",{id:"axislabelisneedshowlabel"},"AxisLabel.IsNeedShowLabel"),(0,n.kt)("p",null,"public bool IsNeedShowLabel(int index, int total) "),(0,n.kt)("h3",{id:"axislabelsetrelatedtext"},"AxisLabel.SetRelatedText"),(0,n.kt)("p",null,"public void SetRelatedText(ChartText txt, float labelWidth) "),(0,n.kt)("h2",{id:"axisline"},"AxisLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u8f74\u7ebf\u3002"),(0,n.kt)("h3",{id:"axislineclone"},"AxisLine.Clone"),(0,n.kt)("p",null,"public AxisLine Clone() "),(0,n.kt)("h3",{id:"axislinecopy"},"AxisLine.Copy"),(0,n.kt)("p",null,"public void Copy(AxisLine axisLine) "),(0,n.kt)("h2",{id:"axisminorsplitline"},"AxisMinorSplitLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5728 grid \u533a\u57df\u4e2d\u7684\u6b21\u5206\u9694\u7ebf\u3002\u6b21\u5206\u5272\u7ebf\u4f1a\u5bf9\u9f50\u6b21\u523b\u5ea6\u7ebf minorTick\u3002"),(0,n.kt)("h3",{id:"axisminorsplitlineautocolor"},"AxisMinorSplitLine.autoColor"),(0,n.kt)("p",null,"public bool autoColor",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u52a8\u8bbe\u7f6e\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"axisminorsplitlinedistance"},"AxisMinorSplitLine.distance"),(0,n.kt)("p",null,"public float distance",(0,n.kt)("br",{parentName:"p"}),"\n","\u523b\u5ea6\u7ebf\u4e0e\u8f74\u7ebf\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"axisminorsplitlinevertsdirty"},"AxisMinorSplitLine.vertsDirty"),(0,n.kt)("p",null,"public override bool vertsDirty "),(0,n.kt)("h3",{id:"axisminorsplitlineclearverticesdirty"},"AxisMinorSplitLine.ClearVerticesDirty"),(0,n.kt)("p",null,"public override void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"axisminorsplitlineclone"},"AxisMinorSplitLine.Clone"),(0,n.kt)("p",null,"public AxisMinorSplitLine Clone() "),(0,n.kt)("h3",{id:"axisminorsplitlinecopy"},"AxisMinorSplitLine.Copy"),(0,n.kt)("p",null,"public void Copy(AxisMinorSplitLine splitLine) "),(0,n.kt)("h2",{id:"axisminortick"},"AxisMinorTick"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u6b21\u523b\u5ea6\u76f8\u5173\u8bbe\u7f6e\u3002\u6ce8\u610f\uff1a\u6b21\u523b\u5ea6\u65e0\u6cd5\u5728\u7c7b\u76ee\u8f74\u4e2d\u4f7f\u7528\u3002"),(0,n.kt)("h3",{id:"axisminortickautocolor"},"AxisMinorTick.autoColor"),(0,n.kt)("p",null,"public bool autoColor "),(0,n.kt)("h3",{id:"axisminortickvertsdirty"},"AxisMinorTick.vertsDirty"),(0,n.kt)("p",null,"public override bool vertsDirty "),(0,n.kt)("h3",{id:"axisminortickclearverticesdirty"},"AxisMinorTick.ClearVerticesDirty"),(0,n.kt)("p",null,"public override void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"axisminortickclone"},"AxisMinorTick.Clone"),(0,n.kt)("p",null,"public AxisMinorTick Clone() "),(0,n.kt)("h3",{id:"axisminortickcopy"},"AxisMinorTick.Copy"),(0,n.kt)("p",null,"public void Copy(AxisMinorTick axisTick) "),(0,n.kt)("h2",{id:"axisname"},"AxisName"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"axisnameclone"},"AxisName.Clone"),(0,n.kt)("p",null,"public AxisName Clone() "),(0,n.kt)("h3",{id:"axisnamecopy"},"AxisName.Copy"),(0,n.kt)("p",null,"public void Copy(AxisName axisName) "),(0,n.kt)("h2",{id:"axissplitarea"},"AxisSplitArea"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5728 grid \u533a\u57df\u4e2d\u7684\u5206\u9694\u533a\u57df\uff0c\u9ed8\u8ba4\u4e0d\u663e\u793a\u3002"),(0,n.kt)("h3",{id:"axissplitareaclone"},"AxisSplitArea.Clone"),(0,n.kt)("p",null,"public AxisSplitArea Clone() "),(0,n.kt)("h3",{id:"axissplitareacopy"},"AxisSplitArea.Copy"),(0,n.kt)("p",null,"public void Copy(AxisSplitArea splitArea) "),(0,n.kt)("h3",{id:"axissplitareagetcolor"},"AxisSplitArea.GetColor"),(0,n.kt)("p",null,"public Color32 GetColor(int index, BaseAxisTheme theme) "),(0,n.kt)("h2",{id:"axissplitline"},"AxisSplitLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5728 grid \u533a\u57df\u4e2d\u7684\u5206\u9694\u7ebf\u3002"),(0,n.kt)("h3",{id:"axissplitlineautocolor"},"AxisSplitLine.autoColor"),(0,n.kt)("p",null,"public bool autoColor",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u52a8\u8bbe\u7f6e\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"axissplitlinedistance"},"AxisSplitLine.distance"),(0,n.kt)("p",null,"public float distance",(0,n.kt)("br",{parentName:"p"}),"\n","\u523b\u5ea6\u7ebf\u4e0e\u8f74\u7ebf\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"axissplitlinevertsdirty"},"AxisSplitLine.vertsDirty"),(0,n.kt)("p",null,"public override bool vertsDirty "),(0,n.kt)("h3",{id:"axissplitlineclearverticesdirty"},"AxisSplitLine.ClearVerticesDirty"),(0,n.kt)("p",null,"public override void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"axissplitlineclone"},"AxisSplitLine.Clone"),(0,n.kt)("p",null,"public AxisSplitLine Clone() "),(0,n.kt)("h3",{id:"axissplitlinecopy"},"AxisSplitLine.Copy"),(0,n.kt)("p",null,"public void Copy(AxisSplitLine splitLine) "),(0,n.kt)("h2",{id:"axistheme"},"AxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h3",{id:"axisthemebasetheme"},"AxisTheme.base(theme)"),(0,n.kt)("p",null,"public AxisTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h3",{id:"axisthemeaxistheme"},"AxisTheme.AxisTheme"),(0,n.kt)("p",null,"public AxisTheme(ThemeType theme) : base(theme) { } "),(0,n.kt)("h2",{id:"axistick"},"AxisTick"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u523b\u5ea6\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"axistickautocolor"},"AxisTick.autoColor"),(0,n.kt)("p",null,"public bool autoColor "),(0,n.kt)("h3",{id:"axistickdistance"},"AxisTick.distance"),(0,n.kt)("p",null,"public float distance",(0,n.kt)("br",{parentName:"p"}),"\n","\u523b\u5ea6\u7ebf\u4e0e\u8f74\u7ebf\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"axistickclone"},"AxisTick.Clone"),(0,n.kt)("p",null,"public AxisTick Clone() "),(0,n.kt)("h3",{id:"axistickcopy"},"AxisTick.Copy"),(0,n.kt)("p",null,"public void Copy(AxisTick axisTick) "),(0,n.kt)("h2",{id:"background"},"Background"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u80cc\u666f\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"backgroundsetdefaultvalue"},"Background.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue() "),(0,n.kt)("h2",{id:"bar"},"Bar"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h3",{id:"barcontainerindex"},"Bar.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"barcontainterinstanceid"},"Bar.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h3",{id:"baradddefaultserie"},"Bar.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h3",{id:"barconvertserie"},"Bar.ConvertSerie"),(0,n.kt)("p",null,"public static Bar ConvertSerie(Serie serie) "),(0,n.kt)("h2",{id:"barchart"},"BarChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u67f1\u72b6\u56fe\uff08\u6216\u79f0\u6761\u5f62\u56fe\uff09\u662f\u4e00\u79cd\u901a\u8fc7\u67f1\u5f62\u7684\u9ad8\u5ea6\uff08\u6a2a\u5411\u7684\u60c5\u51b5\u4e0b\u5219\u662f\u5bbd\u5ea6\uff09\u6765\u8868\u73b0\u6570\u636e\u5927\u5c0f\u7684\u4e00\u79cd\u5e38\u7528\u56fe\u8868\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"barchartdefaultbarchart"},"BarChart.DefaultBarChart"),(0,n.kt)("p",null,"public void DefaultBarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u6761\u5f62\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultcapsulebarchart"},"BarChart.DefaultCapsuleBarChart"),(0,n.kt)("p",null,"public void DefaultCapsuleBarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u80f6\u56ca\u6761\u5f62\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultcapsulecolumnchart"},"BarChart.DefaultCapsuleColumnChart"),(0,n.kt)("p",null,"public void DefaultCapsuleColumnChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u80f6\u56ca\u67f1\u72b6\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultgroupedbarchart"},"BarChart.DefaultGroupedBarChart"),(0,n.kt)("p",null,"public void DefaultGroupedBarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5206\u7ec4\u6761\u5f62\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultgroupedcolumnchart"},"BarChart.DefaultGroupedColumnChart"),(0,n.kt)("p",null,"public void DefaultGroupedColumnChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5206\u7ec4\u67f1\u72b6\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultpercentbarchart"},"BarChart.DefaultPercentBarChart"),(0,n.kt)("p",null,"public void DefaultPercentBarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u767e\u5206\u6bd4\u6761\u5f62\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultpercentcolumnchart"},"BarChart.DefaultPercentColumnChart"),(0,n.kt)("p",null,"public void DefaultPercentColumnChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u767e\u5206\u6bd4\u67f1\u72b6\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultstackedbarchart"},"BarChart.DefaultStackedBarChart"),(0,n.kt)("p",null,"public void DefaultStackedBarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5806\u53e0\u6761\u5f62\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultstackedcolumnchart"},"BarChart.DefaultStackedColumnChart"),(0,n.kt)("p",null,"public void DefaultStackedColumnChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5806\u53e0\u5206\u7ec4\u67f1\u72b6\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultzebrabarchart"},"BarChart.DefaultZebraBarChart"),(0,n.kt)("p",null,"public void DefaultZebraBarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u6591\u9a6c\u6761\u5f62\u56fe\u3002"),(0,n.kt)("h3",{id:"barchartdefaultzebracolumnchart"},"BarChart.DefaultZebraColumnChart"),(0,n.kt)("p",null,"public void DefaultZebraColumnChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6591\u9a6c\u67f1\u72b6\u56fe\u3002"),(0,n.kt)("h2",{id:"bartype"},"BarType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u67f1\u72b6\u56fe\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Normal"),": \u666e\u901a\u67f1\u5f62\u56fe\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Zebra"),": \u6591\u9a6c\u67f1\u5f62\u56fe\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Capsule"),": \u80f6\u56ca\u67f1\u5f62\u56fe\u3002")),(0,n.kt)("h2",{id:"baseaxistheme"},"BaseAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axistheme"},"AxisTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#radiusaxistheme"},"RadiusAxisTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#angleaxistheme"},"AngleAxisTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#polaraxistheme"},"PolarAxisTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#radaraxistheme"},"RadarAxisTheme")," "),(0,n.kt)("h3",{id:"baseaxisthemebaseaxistheme"},"BaseAxisTheme.BaseAxisTheme"),(0,n.kt)("p",null,"public BaseAxisTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h3",{id:"baseaxisthemecopy"},"BaseAxisTheme.Copy"),(0,n.kt)("p",null,"public void Copy(BaseAxisTheme theme) "),(0,n.kt)("h2",{id:"basechart"},"BaseChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basegraph"},"BaseGraph"),",",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=iserializationcallbackreceiver"},"ISerializationCallbackReceiver")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#barchart"},"BarChart"),",",(0,n.kt)("a",{parentName:"p",href:"#candlestickchart"},"CandlestickChart"),",",(0,n.kt)("a",{parentName:"p",href:"#heatmapchart"},"HeatmapChart"),",",(0,n.kt)("a",{parentName:"p",href:"#linechart"},"LineChart"),",",(0,n.kt)("a",{parentName:"p",href:"#parallelchart"},"ParallelChart"),",",(0,n.kt)("a",{parentName:"p",href:"#piechart"},"PieChart"),",",(0,n.kt)("a",{parentName:"p",href:"#polarchart"},"PolarChart"),",",(0,n.kt)("a",{parentName:"p",href:"#radarchart"},"RadarChart"),",",(0,n.kt)("a",{parentName:"p",href:"#ringchart"},"RingChart"),",",(0,n.kt)("a",{parentName:"p",href:"#scatterchart"},"ScatterChart"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedbarchart"},"SimplifiedBarChart"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedcandlestickchart"},"SimplifiedCandlestickChart"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedlinechart"},"SimplifiedLineChart")," "),(0,n.kt)("h3",{id:"basechartaxis"},"BaseChart.axis)"),(0,n.kt)("p",null,"public virtual void InitAxisRuntimeData(Axis axis) "),(0,n.kt)("h3",{id:"basechartchartheight"},"BaseChart.chartHeight"),(0,n.kt)("p",null,"public float chartHeight",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u7684\u9ad8"),(0,n.kt)("h3",{id:"basechartcharthideflags"},"BaseChart.chartHideFlags"),(0,n.kt)("p",null,"public override HideFlags chartHideFlags "),(0,n.kt)("h3",{id:"basechartchartmaxanchor"},"BaseChart.chartMaxAnchor"),(0,n.kt)("p",null,"public Vector2 chartMaxAnchor "),(0,n.kt)("h3",{id:"basechartchartminanchor"},"BaseChart.chartMinAnchor"),(0,n.kt)("p",null,"public Vector2 chartMinAnchor "),(0,n.kt)("h3",{id:"basechartchartpivot"},"BaseChart.chartPivot"),(0,n.kt)("p",null,"public Vector2 chartPivot "),(0,n.kt)("h3",{id:"basechartchartposition"},"BaseChart.chartPosition"),(0,n.kt)("p",null,"public Vector3 chartPosition",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u7684\u5de6\u4e0b\u89d2\u8d77\u59cb\u5750\u6807\u3002"),(0,n.kt)("h3",{id:"basechartchartrect"},"BaseChart.chartRect"),(0,n.kt)("p",null,"public Rect chartRect "),(0,n.kt)("h3",{id:"basechartchartsizedelta"},"BaseChart.chartSizeDelta"),(0,n.kt)("p",null,"public Vector2 chartSizeDelta "),(0,n.kt)("h3",{id:"basechartchartwidth"},"BaseChart.chartWidth"),(0,n.kt)("p",null,"public float chartWidth",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u7684\u5bbd"),(0,n.kt)("h3",{id:"basechartchartx"},"BaseChart.chartX"),(0,n.kt)("p",null,"public float chartX",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u7684X"),(0,n.kt)("h3",{id:"basechartcharty"},"BaseChart.chartY"),(0,n.kt)("p",null,"public float chartY",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u7684Y"),(0,n.kt)("h3",{id:"basechartcomponents"},"BaseChart.components"),(0,n.kt)("p",null,"public List","<","MainComponent",">"," components "),(0,n.kt)("h3",{id:"basechartcustomdrawgaugepointerfunction"},"BaseChart.customDrawGaugePointerFunction"),(0,n.kt)("p",null,"public CustomDrawGaugePointerFunction customDrawGaugePointerFunction",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49\u4eea\u8868\u76d8\u6307\u9488\u7ed8\u5236\u59d4\u6258\u3002"),(0,n.kt)("h3",{id:"basechartdebug"},"BaseChart.debug"),(0,n.kt)("p",null,"public DebugInfo debug "),(0,n.kt)("h3",{id:"basechartonaxispointervaluechanged"},"BaseChart.onAxisPointerValueChanged"),(0,n.kt)("p",null,"public Action","<","Axis, double",">"," onAxisPointerValueChanged",(0,n.kt)("br",{parentName:"p"}),"\n","\u5750\u6807\u8f74\u53d8\u66f4\u6570\u636e\u7d22\u5f15\u65f6\u56de\u8c03\u3002\u53c2\u6570\uff1aaxis, dataIndex/dataValue"),(0,n.kt)("h3",{id:"basechartondraw"},"BaseChart.onDraw"),(0,n.kt)("p",null,"public Action","<","VertexHelper",">"," onDraw",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49\u7ed8\u5236\u56de\u8c03\u3002\u5728\u7ed8\u5236Serie\u524d\u8c03\u7528\u3002"),(0,n.kt)("h3",{id:"basechartondrawafterserie"},"BaseChart.onDrawAfterSerie"),(0,n.kt)("p",null,"public Action","<","VertexHelper, Serie",">"," onDrawAfterSerie",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49Serie\u7ed8\u5236\u56de\u8c03\u3002\u5728\u6bcf\u4e2aSerie\u7ed8\u5236\u5b8c\u540e\u8c03\u7528\u3002"),(0,n.kt)("h3",{id:"basechartondrawbeforeserie"},"BaseChart.onDrawBeforeSerie"),(0,n.kt)("p",null,"public Action","<","VertexHelper, Serie",">"," onDrawBeforeSerie",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49Serie\u7ed8\u5236\u56de\u8c03\u3002\u5728\u6bcf\u4e2aSerie\u7ed8\u5236\u5b8c\u524d\u8c03\u7528\u3002"),(0,n.kt)("h3",{id:"basechartondrawtop"},"BaseChart.onDrawTop"),(0,n.kt)("p",null,"public Action","<","VertexHelper",">"," onDrawTop",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49Top\u5c42\u7ed8\u5236\u56de\u8c03\u3002\u5728\u7ed8\u5236Tooltip\u524d\u8c03\u7528\u3002"),(0,n.kt)("h3",{id:"basechartondrawupper"},"BaseChart.onDrawUpper"),(0,n.kt)("p",null,"public Action","<","VertexHelper",">"," onDrawUpper",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49Upper\u5c42\u7ed8\u5236\u56de\u8c03\u3002\u5728\u7ed8\u5236Tooltip\u524d\u8c03\u7528\u3002"),(0,n.kt)("h3",{id:"basechartoninit"},"BaseChart.onInit"),(0,n.kt)("p",null,"public Action onInit",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u7684\u521d\u59cb\u5316\u5b8c\u6210\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basechartonlegendclick"},"BaseChart.onLegendClick"),(0,n.kt)("p",null,"public Action","<","Legend, int, string, bool",">"," onLegendClick",(0,n.kt)("br",{parentName:"p"}),"\n","\u70b9\u51fb\u56fe\u4f8b\u6309\u94ae\u56de\u8c03\u3002\u53c2\u6570\uff1alegendIndex, legendName, show"),(0,n.kt)("h3",{id:"basechartonlegendenter"},"BaseChart.onLegendEnter"),(0,n.kt)("p",null,"public Action","<","Legend, int, string",">"," onLegendEnter",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u8fdb\u5165\u56fe\u4f8b\u56de\u8c03\u3002\u53c2\u6570\uff1alegendIndex, legendName"),(0,n.kt)("h3",{id:"basechartonlegendexit"},"BaseChart.onLegendExit"),(0,n.kt)("p",null,"public Action","<","Legend, int, string",">"," onLegendExit",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u9000\u51fa\u56fe\u4f8b\u56de\u8c03\u3002\u53c2\u6570\uff1alegendIndex, legendName"),(0,n.kt)("h3",{id:"basechartonpointerclickbar"},"BaseChart.onPointerClickBar"),(0,n.kt)("p",null,"public Action","<","PointerEventData, int",">"," onPointerClickBar",(0,n.kt)("br",{parentName:"p"}),"\n","\u70b9\u51fb\u67f1\u5f62\u56fe\u67f1\u6761\u56de\u8c03\u3002\u53c2\u6570\uff1aeventData, dataIndex"),(0,n.kt)("h3",{id:"basechartonpointerclickpie"},"BaseChart.onPointerClickPie"),(0,n.kt)("p",null,"public Action","<","PointerEventData, int, int",">"," onPointerClickPie",(0,n.kt)("br",{parentName:"p"}),"\n","\u70b9\u51fb\u997c\u56fe\u533a\u57df\u56de\u8c03\u3002\u53c2\u6570\uff1aPointerEventData\uff0cSerieIndex\uff0cSerieDataIndex"),(0,n.kt)("h3",{id:"basechartonpointerenterpie"},"BaseChart.onPointerEnterPie"),(0,n.kt)("p",null,"public Action","<","int, int",">"," onPointerEnterPie",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u8fdb\u5165\u548c\u79bb\u5f00\u997c\u56fe\u533a\u57df\u56de\u8c03\uff0cSerieDataIndex\u4e3a-1\u65f6\u8868\u793a\u79bb\u5f00\u3002\u53c2\u6570\uff1aPointerEventData\uff0cSerieIndex\uff0cSerieDataIndex"),(0,n.kt)("h3",{id:"basechartonserieclick"},"BaseChart.onSerieClick"),(0,n.kt)("p",null,"public Action","<","SerieEventData",">"," onSerieClick "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u9f20\u6807\u70b9\u51fbSerie\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basechartonseriedown"},"BaseChart.onSerieDown"),(0,n.kt)("p",null,"public Action","<","SerieEventData",">"," onSerieDown "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u9f20\u6807\u6309\u4e0bSerie\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basechartonserieenter"},"BaseChart.onSerieEnter"),(0,n.kt)("p",null,"public Action","<","SerieEventData",">"," onSerieEnter "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u9f20\u6807\u8fdb\u5165Serie\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basechartonserieexit"},"BaseChart.onSerieExit"),(0,n.kt)("p",null,"public Action","<","SerieEventData",">"," onSerieExit "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u9f20\u6807\u79bb\u5f00Serie\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basechartonupdate"},"BaseChart.onUpdate"),(0,n.kt)("p",null,"public Action onUpdate",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u7684Update\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basechartseries"},"BaseChart.series"),(0,n.kt)("p",null,"public List","<","Serie",">"," series "),(0,n.kt)("h3",{id:"basechartsettings"},"BaseChart.settings"),(0,n.kt)("p",null,"public Settings settings",(0,n.kt)("br",{parentName:"p"}),"\n","\u5168\u5c40\u8bbe\u7f6e\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"basecharttheme"},"BaseChart.theme"),(0,n.kt)("p",null,"public ThemeStyle theme "),(0,n.kt)("h3",{id:"basecharttypelistforcomponent"},"BaseChart.typeListForComponent"),(0,n.kt)("p",null,"public Dictionary","<","Type, FieldInfo",">"," typeListForComponent "),(0,n.kt)("h3",{id:"basecharttypelistforserie"},"BaseChart.typeListForSerie"),(0,n.kt)("p",null,"public Dictionary","<","Type, FieldInfo",">"," typeListForSerie "),(0,n.kt)("h3",{id:"basechartaddchartcomponent"},"BaseChart.AddChartComponent"),(0,n.kt)("p",null,"public MainComponent AddChartComponent(Type type) "),(0,n.kt)("h3",{id:"basechartaddchartcomponentt"},"BaseChart.AddChartComponent","<","T",">"),(0,n.kt)("p",null,"public T AddChartComponent","<","T",">","() where T : MainComponent "),(0,n.kt)("h3",{id:"basechartaddchartcomponentwhennoexistt"},"BaseChart.AddChartComponentWhenNoExist","<","T",">"),(0,n.kt)("p",null,"public T AddChartComponentWhenNoExist","<","T",">","() where T : MainComponent "),(0,n.kt)("h3",{id:"basechartadddata"},"BaseChart.AddData"),(0,n.kt)("p",null,"public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\uff08time,y\uff09\u6570\u636e\u5230\u6307\u5b9a\u7684\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("p",null,"public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4e00\u4e2a\u6570\u636e\u5230\u6307\u5b9a\u7684\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("p",null,"public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null) "),(0,n.kt)("p",null,"public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\uff08x,y\uff09\u6570\u636e\u5230\u6307\u5b9a\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("p",null,"public SerieData AddData(int serieIndex, List","<","double",">"," multidimensionalData, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u591a\u7ef4\u6570\u636e\uff08x,y,z...\uff09\u5230\u6307\u5b9a\u7684\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("p",null,"public SerieData AddData(int serieIndex, params double[] multidimensionalData)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u591a\u7ef4\u6570\u636e\uff08x,y,z...\uff09\u5230\u6307\u5b9a\u7684\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("p",null,"public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\uff08time,y\uff09\u6570\u636e\u5230\u6307\u5b9a\u7684\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("p",null,"public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null) "),(0,n.kt)("p",null,"public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\uff08x,y\uff09\u6570\u636e\u5230\u6307\u5b9a\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("p",null,"public SerieData AddData(string serieName, List","<","double",">"," multidimensionalData, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u591a\u7ef4\u6570\u636e\uff08x,y,z...\uff09\u5230\u6307\u5b9a\u7684\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("p",null,"public SerieData AddData(string serieName, params double[] multidimensionalData)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u591a\u7ef4\u6570\u636e\uff08x,y,z...\uff09\u5230\u6307\u5b9a\u7684\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("h3",{id:"basechartaddlink"},"BaseChart.AddLink"),(0,n.kt)("p",null,"public SerieDataLink AddLink(int serieIndex, string sourceId, string targetId, double value = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4e00\u4e2a\u5173\u7cfb\u56fe\u7684\u5173\u7cfb\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"basechartaddseriet"},"BaseChart.AddSerie","<","T",">"),(0,n.kt)("p",null,"public T AddSerie","<","T",">","(string serieName = null, bool show = true, bool addToHead = false) where T : Serie "),(0,n.kt)("h3",{id:"basechartaddxaxisdata"},"BaseChart.AddXAxisData"),(0,n.kt)("p",null,"public void AddXAxisData(string category, int xAxisIndex = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4e00\u4e2a\u7c7b\u76ee\u6570\u636e\u5230\u6307\u5b9a\u7684x\u8f74\u3002"),(0,n.kt)("h3",{id:"basechartaddxaxisicon"},"BaseChart.AddXAxisIcon"),(0,n.kt)("p",null,"public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4e00\u4e2a\u56fe\u6807\u5230\u6307\u5b9a\u7684x\u8f74\u3002"),(0,n.kt)("h3",{id:"basechartaddyaxisdata"},"BaseChart.AddYAxisData"),(0,n.kt)("p",null,"public void AddYAxisData(string category, int yAxisIndex = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4e00\u4e2a\u7c7b\u76ee\u6570\u636e\u5230\u6307\u5b9a\u7684y\u8f74\u3002"),(0,n.kt)("h3",{id:"basechartaddyaxisicon"},"BaseChart.AddYAxisIcon"),(0,n.kt)("p",null,"public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4e00\u4e2a\u56fe\u6807\u5230\u6307\u5b9a\u7684y\u8f74\u3002"),(0,n.kt)("h3",{id:"basechartanimationenable"},"BaseChart.AnimationEnable"),(0,n.kt)("p",null,"public void AnimationEnable(bool flag)",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u542f\u7528Serie\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"basechartanimationfadein"},"BaseChart.AnimationFadeIn"),(0,n.kt)("p",null,"public void AnimationFadeIn(bool reset = true)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f00\u59cb\u6240\u6709Serie\u7684\u6e10\u5165\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"basechartanimationfadeout"},"BaseChart.AnimationFadeOut"),(0,n.kt)("p",null,"public void AnimationFadeOut()",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f00\u59cb\u6240\u6709Serie\u7684\u6e10\u51fa\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"basechartanimationpause"},"BaseChart.AnimationPause"),(0,n.kt)("p",null,"public void AnimationPause()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6682\u505c\u6240\u6709Serie\u7684\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"basechartanimationreset"},"BaseChart.AnimationReset"),(0,n.kt)("p",null,"public void AnimationReset()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u7f6e\u6240\u6709Serie\u7684\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"basechartanimationresume"},"BaseChart.AnimationResume"),(0,n.kt)("p",null,"public void AnimationResume()",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ee7\u7eed\u6240\u6709Serie\u7684\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"basechartcanaddchartcomponent"},"BaseChart.CanAddChartComponent"),(0,n.kt)("p",null,"public bool CanAddChartComponent(Type type) "),(0,n.kt)("h3",{id:"basechartcanaddserie"},"BaseChart.CanAddSerie"),(0,n.kt)("p",null,"public bool CanAddSerie(Type type) "),(0,n.kt)("h3",{id:"basechartcanaddseriet"},"BaseChart.CanAddSerie","<","T",">"),(0,n.kt)("p",null,"public bool CanAddSerie","<","T",">","() where T : Serie "),(0,n.kt)("h3",{id:"basechartcanceltooltip"},"BaseChart.CancelTooltip"),(0,n.kt)("p",null,"public void CancelTooltip() "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u53d6\u6d88Tooltip."),(0,n.kt)("h3",{id:"basechartcanmultiplecomponent"},"BaseChart.CanMultipleComponent"),(0,n.kt)("p",null,"public bool CanMultipleComponent(Type type) "),(0,n.kt)("h3",{id:"basechartclampinchart"},"BaseChart.ClampInChart"),(0,n.kt)("p",null,"public void ClampInChart(ref Vector3 pos) "),(0,n.kt)("h3",{id:"basechartclampingrid"},"BaseChart.ClampInGrid"),(0,n.kt)("p",null,"public Vector3 ClampInGrid(GridCoord grid, Vector3 pos) "),(0,n.kt)("h3",{id:"basechartclearcomponentdata"},"BaseChart.ClearComponentData"),(0,n.kt)("p",null,"public virtual void ClearComponentData() "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.4.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6e05\u7a7a\u6240\u6709\u7ec4\u4ef6\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"basechartcleardata"},"BaseChart.ClearData"),(0,n.kt)("p",null,"public virtual void ClearData()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e05\u7a7a\u6240\u6709\u7ec4\u4ef6\u548cSerie\u7684\u6570\u636e\u3002\u6ce8\u610f\uff1aSerie\u53ea\u662f\u6e05\u7a7a\u6570\u636e\uff0c\u4e0d\u4f1a\u79fb\u9664Serie\u3002"),(0,n.kt)("h3",{id:"basechartclearseriedata"},"BaseChart.ClearSerieData"),(0,n.kt)("p",null,"public virtual void ClearSerieData() "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.4.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6e05\u7a7a\u6240\u6709serie\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"basechartclearserielinks"},"BaseChart.ClearSerieLinks"),(0,n.kt)("p",null,"public virtual void ClearSerieLinks() "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6e05\u7a7a\u6240\u6709serie\u7684link\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"basechartclicklegendbutton"},"BaseChart.ClickLegendButton"),(0,n.kt)("p",null,"public void ClickLegendButton(int legendIndex, string legendName, bool show)",(0,n.kt)("br",{parentName:"p"}),"\n","\u70b9\u51fb\u56fe\u4f8b\u6309\u94ae"),(0,n.kt)("h3",{id:"basechartconvertserie"},"BaseChart.ConvertSerie"),(0,n.kt)("p",null,"public bool ConvertSerie(Serie serie, Type type) "),(0,n.kt)("h3",{id:"basechartconvertseriet"},"BaseChart.ConvertSerie","<","T",">"),(0,n.kt)("p",null,"public bool ConvertSerie","<","T",">","(Serie serie) where T : Serie "),(0,n.kt)("h3",{id:"basechartconvertxyaxis"},"BaseChart.ConvertXYAxis"),(0,n.kt)("p",null,"public void ConvertXYAxis(int index)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8f6c\u6362X\u8f74\u548cY\u8f74\u7684\u914d\u7f6e"),(0,n.kt)("h3",{id:"basechartensurechartcomponentt"},"BaseChart.EnsureChartComponent","<","T",">"),(0,n.kt)("p",null,"public T EnsureChartComponent","<","T",">","() where T : MainComponent "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u786e\u4fdd\u56fe\u8868\u6709\u8be5\u7ec4\u4ef6\uff0c\u5982\u679c\u6ca1\u6709\u5219\u6dfb\u52a0\u3002\u6ce8\u610f\uff1a\u6709\u53ef\u80fd\u6dfb\u52a0\u4e0d\u6210\u529f\u3002"),(0,n.kt)("h3",{id:"basechartgeneratedefaultseriename"},"BaseChart.GenerateDefaultSerieName"),(0,n.kt)("p",null,"public string GenerateDefaultSerieName() "),(0,n.kt)("h3",{id:"basechartgetallseriedatacount"},"BaseChart.GetAllSerieDataCount"),(0,n.kt)("p",null,"public int GetAllSerieDataCount() "),(0,n.kt)("h3",{id:"basechartgetchartbackgroundcolor"},"BaseChart.GetChartBackgroundColor"),(0,n.kt)("p",null,"public Color32 GetChartBackgroundColor() "),(0,n.kt)("h3",{id:"basechartgetchartcomponentt"},"BaseChart.GetChartComponent","<","T",">"),(0,n.kt)("p",null,"public T GetChartComponent","<","T",">","(int index = 0) where T : MainComponent "),(0,n.kt)("h3",{id:"basechartgetchartcomponentnum"},"BaseChart.GetChartComponentNum"),(0,n.kt)("p",null,"public int GetChartComponentNum(Type type) "),(0,n.kt)("h3",{id:"basechartgetchartcomponentnumt"},"BaseChart.GetChartComponentNum","<","T",">"),(0,n.kt)("p",null,"public int GetChartComponentNum","<","T",">","() where T : MainComponent "),(0,n.kt)("h3",{id:"basechartgetchartcomponentst"},"BaseChart.GetChartComponents","<","T",">"),(0,n.kt)("p",null,"public List","<","MainComponent",">"," GetChartComponents","<","T",">","() where T : MainComponent "),(0,n.kt)("h3",{id:"basechartgetdata"},"BaseChart.GetData"),(0,n.kt)("p",null,"public double GetData(int serieIndex, int dataIndex, int dimension = 1) "),(0,n.kt)("h3",{id:"basechartgetdatazoomofaxis"},"BaseChart.GetDataZoomOfAxis"),(0,n.kt)("p",null,"public DataZoom GetDataZoomOfAxis(Axis axis) "),(0,n.kt)("h3",{id:"basechartgetdatazoomofserie"},"BaseChart.GetDataZoomOfSerie"),(0,n.kt)("p",null,"public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom) "),(0,n.kt)("h3",{id:"basechartgetgrid"},"BaseChart.GetGrid"),(0,n.kt)("p",null,"public GridCoord GetGrid(Vector2 local) "),(0,n.kt)("h3",{id:"basechartgetgridofdatazoom"},"BaseChart.GetGridOfDataZoom"),(0,n.kt)("p",null,"public GridCoord GetGridOfDataZoom(DataZoom dataZoom) "),(0,n.kt)("h3",{id:"basechartgetitemcolor"},"BaseChart.GetItemColor"),(0,n.kt)("p",null,"public Color32 GetItemColor(Serie serie) "),(0,n.kt)("p",null,"public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex) "),(0,n.kt)("h3",{id:"basechartgetlegendrealshownamecolor"},"BaseChart.GetLegendRealShowNameColor"),(0,n.kt)("p",null,"public Color32 GetLegendRealShowNameColor(string name) "),(0,n.kt)("h3",{id:"basechartgetlegendrealshownameindex"},"BaseChart.GetLegendRealShowNameIndex"),(0,n.kt)("p",null,"public int GetLegendRealShowNameIndex(string name) "),(0,n.kt)("h3",{id:"basechartgetmarkcolor"},"BaseChart.GetMarkColor"),(0,n.kt)("p",null,"public Color32 GetMarkColor(Serie serie, SerieData serieData) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.4.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u83b7\u5f97Serie\u7684\u6807\u8bc6\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"basechartgetoraddchartcomponentt"},"BaseChart.GetOrAddChartComponent","<","T",">"),(0,n.kt)("p",null,"public T GetOrAddChartComponent","<","T",">","() where T : MainComponent "),(0,n.kt)("h3",{id:"basechartgetpainter"},"BaseChart.GetPainter"),(0,n.kt)("p",null,"public Painter GetPainter(int index) "),(0,n.kt)("h3",{id:"basechartgetserie"},"BaseChart.GetSerie"),(0,n.kt)("p",null,"public Serie GetSerie(int serieIndex) "),(0,n.kt)("h3",{id:"basechartgetseriet"},"BaseChart.GetSerie","<","T",">"),(0,n.kt)("p",null,"public T GetSerie","<","T",">","(int serieIndex) where T : Serie "),(0,n.kt)("h3",{id:"basechartgetseriebargapt"},"BaseChart.GetSerieBarGap","<","T",">"),(0,n.kt)("p",null,"public float GetSerieBarGap","<","T",">","() where T : Serie "),(0,n.kt)("h3",{id:"basechartgetseriebarrealcountt"},"BaseChart.GetSerieBarRealCount","<","T",">"),(0,n.kt)("p",null,"public int GetSerieBarRealCount","<","T",">","() where T : Serie "),(0,n.kt)("h3",{id:"basechartgetserieindexifstackt"},"BaseChart.GetSerieIndexIfStack","<","T",">"),(0,n.kt)("p",null,"public int GetSerieIndexIfStack","<","T",">","(Serie currSerie) where T : Serie "),(0,n.kt)("h3",{id:"basechartgetseriesamestacktotalvaluet"},"BaseChart.GetSerieSameStackTotalValue","<","T",">"),(0,n.kt)("p",null,"public double GetSerieSameStackTotalValue","<","T",">","(string stack, int dataIndex) where T : Serie "),(0,n.kt)("h3",{id:"basechartgetseriesminmaxvalue"},"BaseChart.GetSeriesMinMaxValue"),(0,n.kt)("p",null,"public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue) "),(0,n.kt)("h3",{id:"basechartgetserietotalgapt"},"BaseChart.GetSerieTotalGap","<","T",">"),(0,n.kt)("p",null,"public float GetSerieTotalGap","<","T",">","(float categoryWidth, float gap, int index) where T : Serie "),(0,n.kt)("h3",{id:"basechartgetserietotalwidtht"},"BaseChart.GetSerieTotalWidth","<","T",">"),(0,n.kt)("p",null,"public float GetSerieTotalWidth","<","T",">","(float categoryWidth, float gap, int realBarCount) where T : Serie "),(0,n.kt)("h3",{id:"basechartgettitleposition"},"BaseChart.GetTitlePosition"),(0,n.kt)("p",null,"public Vector3 GetTitlePosition(Title title) "),(0,n.kt)("h3",{id:"basechartgetvisualmapofserie"},"BaseChart.GetVisualMapOfSerie"),(0,n.kt)("p",null,"public VisualMap GetVisualMapOfSerie(Serie serie) "),(0,n.kt)("h3",{id:"basechartgetxdatazoomofserie"},"BaseChart.GetXDataZoomOfSerie"),(0,n.kt)("p",null,"public DataZoom GetXDataZoomOfSerie(Serie serie) "),(0,n.kt)("h3",{id:"basechartgetxlerpcolor"},"BaseChart.GetXLerpColor"),(0,n.kt)("p",null,"public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid) "),(0,n.kt)("h3",{id:"basechartgetylerpcolor"},"BaseChart.GetYLerpColor"),(0,n.kt)("p",null,"public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid) "),(0,n.kt)("h3",{id:"basecharthaschartcomponent"},"BaseChart.HasChartComponent"),(0,n.kt)("p",null,"public bool HasChartComponent(Type type) "),(0,n.kt)("h3",{id:"basecharthaschartcomponentt"},"BaseChart.HasChartComponent","<","T",">"),(0,n.kt)("p",null,"public bool HasChartComponent","<","T",">","() "),(0,n.kt)("h3",{id:"basecharthasserie"},"BaseChart.HasSerie"),(0,n.kt)("p",null,"public bool HasSerie(Type type) "),(0,n.kt)("h3",{id:"basecharthasseriet"},"BaseChart.HasSerie","<","T",">"),(0,n.kt)("p",null,"public bool HasSerie","<","T",">","() where T : Serie "),(0,n.kt)("h3",{id:"basechartinit"},"BaseChart.Init"),(0,n.kt)("p",null,"public void Init(bool defaultChart = true) "),(0,n.kt)("h3",{id:"basechartinitaxisruntimedata"},"BaseChart.InitAxisRuntimeData"),(0,n.kt)("p",null,"public virtual void InitAxisRuntimeData(Axis axis) { } "),(0,n.kt)("h3",{id:"basechartinsertserie"},"BaseChart.InsertSerie"),(0,n.kt)("p",null,"public void InsertSerie(Serie serie, int index = -1, bool addToHead = false) "),(0,n.kt)("h3",{id:"basechartinsertseriet"},"BaseChart.InsertSerie","<","T",">"),(0,n.kt)("p",null,"public T InsertSerie","<","T",">","(int index, string serieName = null, bool show = true) where T : Serie "),(0,n.kt)("h3",{id:"basechartinternal_checkanimation"},"BaseChart.Internal_CheckAnimation"),(0,n.kt)("p",null,"public void Internal_CheckAnimation() "),(0,n.kt)("h3",{id:"basechartisactivebylegend"},"BaseChart.IsActiveByLegend"),(0,n.kt)("p",null,"public virtual bool IsActiveByLegend(string legendName)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6307\u5b9a\u56fe\u4f8b\u540d\u5b57\u7684\u7cfb\u5217\u662f\u5426\u663e\u793a\u3002"),(0,n.kt)("h3",{id:"basechartisallaxiscategory"},"BaseChart.IsAllAxisCategory"),(0,n.kt)("p",null,"public bool IsAllAxisCategory()",(0,n.kt)("br",{parentName:"p"}),"\n","\u7eaf\u7c7b\u76ee\u8f74\u3002"),(0,n.kt)("h3",{id:"basechartisallaxisvalue"},"BaseChart.IsAllAxisValue"),(0,n.kt)("p",null,"public bool IsAllAxisValue()",(0,n.kt)("br",{parentName:"p"}),"\n","\u7eaf\u6570\u503c\u5750\u6807\u8f74\uff08\u6570\u503c\u8f74\u6216\u5bf9\u6570\u8f74\uff09\u3002"),(0,n.kt)("h3",{id:"basechartisinanygrid"},"BaseChart.IsInAnyGrid"),(0,n.kt)("p",null,"public bool IsInAnyGrid(Vector2 local) "),(0,n.kt)("h3",{id:"basechartisinchart"},"BaseChart.IsInChart"),(0,n.kt)("p",null,"public bool IsInChart(float x, float y) "),(0,n.kt)("h3",{id:"basechartisseriename"},"BaseChart.IsSerieName"),(0,n.kt)("p",null,"public bool IsSerieName(string name) "),(0,n.kt)("h3",{id:"basechartmovedownserie"},"BaseChart.MoveDownSerie"),(0,n.kt)("p",null,"public bool MoveDownSerie(int serieIndex) "),(0,n.kt)("h3",{id:"basechartmoveupserie"},"BaseChart.MoveUpSerie"),(0,n.kt)("p",null,"public bool MoveUpSerie(int serieIndex) "),(0,n.kt)("h3",{id:"basechartonafterdeserialize"},"BaseChart.OnAfterDeserialize"),(0,n.kt)("p",null,"public void OnAfterDeserialize() "),(0,n.kt)("h3",{id:"basechartonbeforeserialize"},"BaseChart.OnBeforeSerialize"),(0,n.kt)("p",null,"public void OnBeforeSerialize() "),(0,n.kt)("h3",{id:"basechartonbegindrag"},"BaseChart.OnBeginDrag"),(0,n.kt)("p",null,"public override void OnBeginDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basechartondatazoomrangechanged"},"BaseChart.OnDataZoomRangeChanged"),(0,n.kt)("p",null,"public virtual void OnDataZoomRangeChanged(DataZoom dataZoom) "),(0,n.kt)("h3",{id:"basechartondrag"},"BaseChart.OnDrag"),(0,n.kt)("p",null,"public override void OnDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basechartonenddrag"},"BaseChart.OnEndDrag"),(0,n.kt)("p",null,"public override void OnEndDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basechartonlegendbuttonclick"},"BaseChart.OnLegendButtonClick"),(0,n.kt)("p",null,"public virtual void OnLegendButtonClick(int index, string legendName, bool show) "),(0,n.kt)("h3",{id:"basechartonlegendbuttonenter"},"BaseChart.OnLegendButtonEnter"),(0,n.kt)("p",null,"public virtual void OnLegendButtonEnter(int index, string legendName) "),(0,n.kt)("h3",{id:"basechartonlegendbuttonexit"},"BaseChart.OnLegendButtonExit"),(0,n.kt)("p",null,"public virtual void OnLegendButtonExit(int index, string legendName) "),(0,n.kt)("h3",{id:"basechartonpointerclick"},"BaseChart.OnPointerClick"),(0,n.kt)("p",null,"public override void OnPointerClick(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basechartonpointerdown"},"BaseChart.OnPointerDown"),(0,n.kt)("p",null,"public override void OnPointerDown(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basechartonpointerenter"},"BaseChart.OnPointerEnter"),(0,n.kt)("p",null,"public override void OnPointerEnter(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basechartonpointerexit"},"BaseChart.OnPointerExit"),(0,n.kt)("p",null,"public override void OnPointerExit(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basechartonpointerup"},"BaseChart.OnPointerUp"),(0,n.kt)("p",null,"public override void OnPointerUp(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basechartonscroll"},"BaseChart.OnScroll"),(0,n.kt)("p",null,"public override void OnScroll(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basechartrefreshbasepainter"},"BaseChart.RefreshBasePainter"),(0,n.kt)("p",null,"public void RefreshBasePainter() "),(0,n.kt)("h3",{id:"basechartrefreshchart"},"BaseChart.RefreshChart"),(0,n.kt)("p",null,"public void RefreshChart(int serieIndex)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5728\u4e0b\u4e00\u5e27\u5237\u65b0\u56fe\u8868\u7684\u6307\u5b9aserie\u3002"),(0,n.kt)("p",null,"public void RefreshChart(Serie serie)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5728\u4e0b\u4e00\u5e27\u5237\u65b0\u56fe\u8868\u7684\u6307\u5b9aserie\u3002"),(0,n.kt)("h3",{id:"basechartrefreshdatazoom"},"BaseChart.RefreshDataZoom"),(0,n.kt)("p",null,"public void RefreshDataZoom()",(0,n.kt)("br",{parentName:"p"}),"\n","\u5728\u4e0b\u4e00\u5e27\u5237\u65b0DataZoom"),(0,n.kt)("h3",{id:"basechartrefreshgraph"},"BaseChart.RefreshGraph"),(0,n.kt)("p",null,"public override void RefreshGraph() "),(0,n.kt)("h3",{id:"basechartrefreshpainter"},"BaseChart.RefreshPainter"),(0,n.kt)("p",null,"public void RefreshPainter(Serie serie) "),(0,n.kt)("h3",{id:"basechartrefreshtoppainter"},"BaseChart.RefreshTopPainter"),(0,n.kt)("p",null,"public void RefreshTopPainter() "),(0,n.kt)("h3",{id:"basechartrefreshupperpainter"},"BaseChart.RefreshUpperPainter"),(0,n.kt)("p",null,"public void RefreshUpperPainter() "),(0,n.kt)("h3",{id:"basechartremoveallchartcomponent"},"BaseChart.RemoveAllChartComponent"),(0,n.kt)("p",null,"public void RemoveAllChartComponent() "),(0,n.kt)("h3",{id:"basechartremoveallserie"},"BaseChart.RemoveAllSerie"),(0,n.kt)("p",null,"public virtual void RemoveAllSerie() "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u79fb\u9664\u6240\u6709\u7684Serie\u3002\u5f53\u786e\u8ba4\u53ea\u9700\u8981\u79fb\u9664Serie\u65f6\u4f7f\u7528\u8be5\u63a5\u53e3\uff0c\u5176\u4ed6\u60c5\u51b5\u4e0b\u4e00\u822c\u7528RemoveData()\u3002"),(0,n.kt)("h3",{id:"basechartremovechartcomponent"},"BaseChart.RemoveChartComponent"),(0,n.kt)("p",null,"public bool RemoveChartComponent(MainComponent component) "),(0,n.kt)("h3",{id:"basechartremovechartcomponentt"},"BaseChart.RemoveChartComponent","<","T",">"),(0,n.kt)("p",null,"public bool RemoveChartComponent","<","T",">","(int index = 0) "),(0,n.kt)("h3",{id:"basechartremovechartcomponents"},"BaseChart.RemoveChartComponents"),(0,n.kt)("p",null,"public int RemoveChartComponents(Type type) "),(0,n.kt)("h3",{id:"basechartremovechartcomponentst"},"BaseChart.RemoveChartComponents","<","T",">"),(0,n.kt)("p",null,"public int RemoveChartComponents","<","T",">","() "),(0,n.kt)("h3",{id:"basechartremovedata"},"BaseChart.RemoveData"),(0,n.kt)("p",null,"public virtual void RemoveData(string serieName)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e05\u9664\u6307\u5b9a\u7cfb\u5217\u540d\u79f0\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"basechartremoveserie"},"BaseChart.RemoveSerie"),(0,n.kt)("p",null,"public void RemoveSerie(int serieIndex) "),(0,n.kt)("p",null,"public void RemoveSerie(Serie serie) "),(0,n.kt)("h3",{id:"basechartremoveseriet"},"BaseChart.RemoveSerie","<","T",">"),(0,n.kt)("p",null,"public void RemoveSerie","<","T",">","() where T : Serie "),(0,n.kt)("h3",{id:"basechartreplaceserie"},"BaseChart.ReplaceSerie"),(0,n.kt)("p",null,"public bool ReplaceSerie(Serie oldSerie, Serie newSerie) "),(0,n.kt)("h3",{id:"basechartresetchartstatus"},"BaseChart.ResetChartStatus"),(0,n.kt)("p",null,"public void ResetChartStatus() "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u91cd\u7f6e\u56fe\u8868\u72b6\u6001\u3002\u5f53\u8bbe\u7f6e\u67d0\u4e9b\u53c2\u6570\u540e\uff0c\u7531\u4e8e\u52a8\u753b\u5f71\u54cd\uff0c\u53ef\u80fd\u5bfc\u81f4\u56fe\u8868\u72b6\u6001\u4e0d\u6b63\u786e\uff0c\u6b64\u65f6\u53ef\u4ee5\u8c03\u7528\u8be5\u63a5\u53e3\u91cd\u7f6e\u56fe\u8868\u72b6\u6001\u3002"),(0,n.kt)("h3",{id:"basechartresetdataindex"},"BaseChart.ResetDataIndex"),(0,n.kt)("p",null,"public bool ResetDataIndex(int serieIndex)",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u7f6eserie\u7684\u6570\u636e\u9879\u7d22\u5f15\u3002\u907f\u514d\u6570\u636e\u9879\u7d22\u5f15\u5f02\u5e38\u3002"),(0,n.kt)("h3",{id:"basechartsetbasepaintermaterial"},"BaseChart.SetBasePainterMaterial"),(0,n.kt)("p",null,"public void SetBasePainterMaterial(Material material)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6eBase Painter\u7684\u6750\u8d28\u7403"),(0,n.kt)("h3",{id:"basechartsetinsertdatatohead"},"BaseChart.SetInsertDataToHead"),(0,n.kt)("p",null,"public void SetInsertDataToHead(bool insertDataToHead) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u8bbe\u7f6e\u6570\u636e\u63d2\u5165\u5230\u5934\u90e8\u3002"),(0,n.kt)("h3",{id:"basechartsetmaxcache"},"BaseChart.SetMaxCache"),(0,n.kt)("p",null,"public void SetMaxCache(int maxCache)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6e\u53ef\u7f13\u5b58\u7684\u6700\u5927\u6570\u636e\u91cf\u3002\u5f53\u6570\u636e\u91cf\u8d85\u8fc7\u8be5\u503c\u65f6\uff0c\u4f1a\u81ea\u52a8\u5220\u9664\u7b2c\u4e00\u4e2a\u503c\u518d\u52a0\u5165\u6700\u65b0\u503c\u3002"),(0,n.kt)("h3",{id:"basechartsetpainteractive"},"BaseChart.SetPainterActive"),(0,n.kt)("p",null,"public void SetPainterActive(int index, bool flag) "),(0,n.kt)("h3",{id:"basechartsetserieactive"},"BaseChart.SetSerieActive"),(0,n.kt)("p",null,"public void SetSerieActive(int serieIndex, bool active)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6e\u6307\u5b9a\u7cfb\u5217\u662f\u5426\u663e\u793a\u3002"),(0,n.kt)("p",null,"public void SetSerieActive(Serie serie, bool active) "),(0,n.kt)("h3",{id:"basechartsetseriepaintermaterial"},"BaseChart.SetSeriePainterMaterial"),(0,n.kt)("p",null,"public void SetSeriePainterMaterial(Material material)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6eSerie Painter\u7684\u6750\u8d28\u7403"),(0,n.kt)("h3",{id:"basechartsettoppaintermaterial"},"BaseChart.SetTopPainterMaterial"),(0,n.kt)("p",null,"public void SetTopPainterMaterial(Material material)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6eTop Painter\u7684\u6750\u8d28\u7403"),(0,n.kt)("h3",{id:"basechartsetupperpaintermaterial"},"BaseChart.SetUpperPainterMaterial"),(0,n.kt)("p",null,"public void SetUpperPainterMaterial(Material material)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6eUpper Painter\u7684\u6750\u8d28\u7403"),(0,n.kt)("h3",{id:"basecharttriggertooltip"},"BaseChart.TriggerTooltip"),(0,n.kt)("p",null,"public bool TriggerTooltip(Vector3 localPosition) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5728\u6307\u5b9a\u7684\u4f4d\u7f6e\u5c1d\u8bd5\u89e6\u53d1Tooltip."),(0,n.kt)("h3",{id:"basecharttryaddchartcomponent"},"BaseChart.TryAddChartComponent"),(0,n.kt)("p",null,"public bool TryAddChartComponent(Type type) "),(0,n.kt)("h3",{id:"basecharttryaddchartcomponentt"},"BaseChart.TryAddChartComponent","<","T",">"),(0,n.kt)("p",null,"public bool TryAddChartComponent","<","T",">","(out T component) where T : MainComponent "),(0,n.kt)("h3",{id:"basecharttrygetchartcomponentt"},"BaseChart.TryGetChartComponent","<","T",">"),(0,n.kt)("p",null,"public bool TryGetChartComponent","<","T",">","(out T component, int index = 0) "),(0,n.kt)("h3",{id:"basechartupdatedata"},"BaseChart.UpdateData"),(0,n.kt)("p",null,"public bool UpdateData(int serieIndex, int dataIndex, double value)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u5b9a\u7cfb\u5217\u4e2d\u7684\u6307\u5b9a\u7d22\u5f15\u6570\u636e\u3002"),(0,n.kt)("p",null,"public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u5b9a\u7cfb\u5217\u6307\u5b9a\u7d22\u5f15\u6307\u5b9a\u7ef4\u6570\u7684\u6570\u636e\u3002\u7ef4\u6570\u4ece0\u5f00\u59cb\u3002"),(0,n.kt)("p",null,"public bool UpdateData(int serieIndex, int dataIndex, List","<","double",">"," multidimensionalData)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u5b9a\u7cfb\u5217\u6307\u5b9a\u7d22\u5f15\u7684\u6570\u636e\u9879\u7684\u591a\u7ef4\u6570\u636e\u3002"),(0,n.kt)("p",null,"public bool UpdateData(string serieName, int dataIndex, int dimension, double value)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u5b9a\u7cfb\u5217\u6307\u5b9a\u7d22\u5f15\u6307\u5b9a\u7ef4\u6570\u7684\u6570\u636e\u3002\u7ef4\u6570\u4ece0\u5f00\u59cb\u3002"),(0,n.kt)("p",null,"public bool UpdateData(string serieName, int dataIndex, List","<","double",">"," multidimensionalData)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u5b9a\u7cfb\u5217\u6307\u5b9a\u7d22\u5f15\u7684\u6570\u636e\u9879\u7684\u591a\u7ef4\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"basechartupdatedataname"},"BaseChart.UpdateDataName"),(0,n.kt)("p",null,"public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u5b9a\u7cfb\u5217\u4e2d\u7684\u6307\u5b9a\u7d22\u5f15\u6570\u636e\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"basechartupdatelegendcolor"},"BaseChart.UpdateLegendColor"),(0,n.kt)("p",null,"public virtual void UpdateLegendColor(string legendName, bool active) "),(0,n.kt)("h3",{id:"basechartupdatetheme"},"BaseChart.UpdateTheme"),(0,n.kt)("p",null,"public void UpdateTheme(Theme theme)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5207\u6362\u56fe\u8868\u4e3b\u9898\u3002"),(0,n.kt)("h3",{id:"basechartupdatexaxisdata"},"BaseChart.UpdateXAxisData"),(0,n.kt)("p",null,"public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0X\u8f74\u7c7b\u76ee\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"basechartupdatexaxisicon"},"BaseChart.UpdateXAxisIcon"),(0,n.kt)("p",null,"public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0X\u8f74\u56fe\u6807\u3002"),(0,n.kt)("h3",{id:"basechartupdateyaxisdata"},"BaseChart.UpdateYAxisData"),(0,n.kt)("p",null,"public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0Y\u8f74\u7c7b\u76ee\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"basechartupdateyaxisicon"},"BaseChart.UpdateYAxisIcon"),(0,n.kt)("p",null,"public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0Y\u8f74\u56fe\u6807\u3002"),(0,n.kt)("h2",{id:"basegraph"},"BaseGraph"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=maskablegraphic"},"MaskableGraphic"),",",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=ipointerdownhandler"},"IPointerDownHandler"),",",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=ipointeruphandler"},"IPointerUpHandler"),",",(0,n.kt)("a",{parentName:"p",href:"#"})," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart"),",",(0,n.kt)("a",{parentName:"p",href:"#uicomponent"},"UIComponent")," "),(0,n.kt)("h3",{id:"basegraphcharthideflags"},"BaseGraph.chartHideFlags"),(0,n.kt)("p",null,"public virtual HideFlags chartHideFlags "),(0,n.kt)("h3",{id:"basegraphclickpos"},"BaseGraph.clickPos"),(0,n.kt)("p",null,"public Vector2 clickPos "),(0,n.kt)("h3",{id:"basegraphforceopenraycasttarget"},"BaseGraph.forceOpenRaycastTarget"),(0,n.kt)("p",null,"public bool forceOpenRaycastTarget",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f3a\u5236\u5f00\u542f\u9f20\u6807\u4e8b\u4ef6\u68c0\u6d4b\u3002"),(0,n.kt)("h3",{id:"basegraphgraphanchoredposition"},"BaseGraph.graphAnchoredPosition"),(0,n.kt)("p",null,"public Vector2 graphAnchoredPosition "),(0,n.kt)("h3",{id:"basegraphgraphheight"},"BaseGraph.graphHeight"),(0,n.kt)("p",null,"public float graphHeight",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u5f62\u7684\u9ad8"),(0,n.kt)("h3",{id:"basegraphgraphmaxanchor"},"BaseGraph.graphMaxAnchor"),(0,n.kt)("p",null,"public Vector2 graphMaxAnchor "),(0,n.kt)("h3",{id:"basegraphgraphminanchor"},"BaseGraph.graphMinAnchor"),(0,n.kt)("p",null,"public Vector2 graphMinAnchor "),(0,n.kt)("h3",{id:"basegraphgraphpivot"},"BaseGraph.graphPivot"),(0,n.kt)("p",null,"public Vector2 graphPivot "),(0,n.kt)("h3",{id:"basegraphgraphposition"},"BaseGraph.graphPosition"),(0,n.kt)("p",null,"public Vector3 graphPosition",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u5f62\u7684\u5de6\u4e0b\u89d2\u8d77\u59cb\u5750\u6807\u3002"),(0,n.kt)("h3",{id:"basegraphgraphrect"},"BaseGraph.graphRect"),(0,n.kt)("p",null,"public Rect graphRect "),(0,n.kt)("h3",{id:"basegraphgraphsizedelta"},"BaseGraph.graphSizeDelta"),(0,n.kt)("p",null,"public Vector2 graphSizeDelta "),(0,n.kt)("h3",{id:"basegraphgraphwidth"},"BaseGraph.graphWidth"),(0,n.kt)("p",null,"public float graphWidth",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u5f62\u7684\u5bbd"),(0,n.kt)("h3",{id:"basegraphgraphx"},"BaseGraph.graphX"),(0,n.kt)("p",null,"public float graphX",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u5f62\u7684X"),(0,n.kt)("h3",{id:"basegraphgraphy"},"BaseGraph.graphY"),(0,n.kt)("p",null,"public float graphY",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u5f62\u7684Y"),(0,n.kt)("h3",{id:"basegraphispointerclick"},"BaseGraph.isPointerClick"),(0,n.kt)("p",null,"public bool isPointerClick",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u662f\u5426\u70b9\u51fb\u4e86\u56fe\u8868\u3002"),(0,n.kt)("h3",{id:"basegraphispointerinchart"},"BaseGraph.isPointerInChart"),(0,n.kt)("p",null,"public bool isPointerInChart",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u662f\u5426\u5728\u56fe\u8868\u5185\u3002"),(0,n.kt)("h3",{id:"basegraphonbegindrag"},"BaseGraph.onBeginDrag"),(0,n.kt)("p",null,"public Action","<","PointerEventData, BaseGraph",">"," onBeginDrag",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u5f00\u59cb\u62d6\u62fd\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basegraphondrag"},"BaseGraph.onDrag"),(0,n.kt)("p",null,"public Action","<","PointerEventData, BaseGraph",">"," onDrag",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u62d6\u62fd\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basegraphonenddrag"},"BaseGraph.onEndDrag"),(0,n.kt)("p",null,"public Action","<","PointerEventData, BaseGraph",">"," onEndDrag",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u7ed3\u675f\u62d6\u62fd\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basegraphonpointerclick"},"BaseGraph.onPointerClick"),(0,n.kt)("p",null,"public Action","<","PointerEventData, BaseGraph",">"," onPointerClick",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u70b9\u51fb\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basegraphonpointerdown"},"BaseGraph.onPointerDown"),(0,n.kt)("p",null,"public Action","<","PointerEventData, BaseGraph",">"," onPointerDown",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u6309\u4e0b\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basegraphonpointerenter"},"BaseGraph.onPointerEnter"),(0,n.kt)("p",null,"public Action","<","PointerEventData, BaseGraph",">"," onPointerEnter",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u8fdb\u5165\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basegraphonpointerexit"},"BaseGraph.onPointerExit"),(0,n.kt)("p",null,"public Action","<","PointerEventData, BaseGraph",">"," onPointerExit",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u9000\u51fa\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basegraphonpointerup"},"BaseGraph.onPointerUp"),(0,n.kt)("p",null,"public Action","<","PointerEventData, BaseGraph",">"," onPointerUp",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u5f39\u8d77\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basegraphonscroll"},"BaseGraph.onScroll"),(0,n.kt)("p",null,"public Action","<","PointerEventData, BaseGraph",">"," onScroll",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u6eda\u52a8\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"basegraphpainter"},"BaseGraph.painter"),(0,n.kt)("p",null,"public Painter painter "),(0,n.kt)("h3",{id:"basegraphpointerpos"},"BaseGraph.pointerPos"),(0,n.kt)("p",null,"public Vector2 pointerPos",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"basegraphwarninginfo"},"BaseGraph.warningInfo"),(0,n.kt)("p",null,"public string warningInfo",(0,n.kt)("br",{parentName:"p"}),"\n","\u8b66\u544a\u4fe1\u606f\u3002"),(0,n.kt)("h3",{id:"basegraphcheckwarning"},"BaseGraph.CheckWarning"),(0,n.kt)("p",null,"public string CheckWarning()",(0,n.kt)("br",{parentName:"p"}),"\n","\u68c0\u6d4b\u8b66\u544a\u4fe1\u606f\u3002"),(0,n.kt)("h3",{id:"basegraphlocalpointtoscreenpoint"},"BaseGraph.LocalPointToScreenPoint"),(0,n.kt)("p",null,"public Vector2 LocalPointToScreenPoint(Vector2 localPoint) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u56fe\u8868\u5185\u5750\u6807\u8f6c\u5c4f\u5e55\u5750\u6807\u3002"),(0,n.kt)("h3",{id:"basegraphlocalpointtoworldpoint"},"BaseGraph.LocalPointToWorldPoint"),(0,n.kt)("p",null,"public Vector2 LocalPointToWorldPoint(Vector2 localPoint) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u56fe\u8868\u5185\u5750\u6807\u8f6c\u4e16\u754c\u5750\u6807\u3002"),(0,n.kt)("h3",{id:"basegraphonbegindrag-1"},"BaseGraph.OnBeginDrag"),(0,n.kt)("p",null,"public virtual void OnBeginDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basegraphondrag-1"},"BaseGraph.OnDrag"),(0,n.kt)("p",null,"public virtual void OnDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basegraphonenddrag-1"},"BaseGraph.OnEndDrag"),(0,n.kt)("p",null,"public virtual void OnEndDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basegraphonpointerclick-1"},"BaseGraph.OnPointerClick"),(0,n.kt)("p",null,"public virtual void OnPointerClick(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basegraphonpointerdown-1"},"BaseGraph.OnPointerDown"),(0,n.kt)("p",null,"public virtual void OnPointerDown(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basegraphonpointerenter-1"},"BaseGraph.OnPointerEnter"),(0,n.kt)("p",null,"public virtual void OnPointerEnter(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basegraphonpointerexit-1"},"BaseGraph.OnPointerExit"),(0,n.kt)("p",null,"public virtual void OnPointerExit(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basegraphonpointerup-1"},"BaseGraph.OnPointerUp"),(0,n.kt)("p",null,"public virtual void OnPointerUp(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basegraphonscroll-1"},"BaseGraph.OnScroll"),(0,n.kt)("p",null,"public virtual void OnScroll(PointerEventData eventData) "),(0,n.kt)("h3",{id:"basegraphrebuildchartobject"},"BaseGraph.RebuildChartObject"),(0,n.kt)("p",null,"public void RebuildChartObject()",(0,n.kt)("br",{parentName:"p"}),"\n","\u79fb\u9664\u5e76\u91cd\u65b0\u521b\u5efa\u6240\u6709\u56fe\u8868\u7684Object\u3002"),(0,n.kt)("h3",{id:"basegraphrefreshallcomponent"},"BaseGraph.RefreshAllComponent"),(0,n.kt)("p",null,"public void RefreshAllComponent() "),(0,n.kt)("h3",{id:"basegraphrefreshgraph"},"BaseGraph.RefreshGraph"),(0,n.kt)("p",null,"public virtual void RefreshGraph()",(0,n.kt)("br",{parentName:"p"}),"\n","\u5728\u4e0b\u4e00\u5e27\u5237\u65b0\u56fe\u5f62\u3002"),(0,n.kt)("h3",{id:"basegraphsaveasimage"},"BaseGraph.SaveAsImage"),(0,n.kt)("p",null,'public void SaveAsImage(string imageType = "png", string savePath = "")',(0,n.kt)("br",{parentName:"p"}),"\n","\u4fdd\u5b58\u56fe\u8868\u4e3a\u56fe\u7247\u3002"),(0,n.kt)("h3",{id:"basegraphscreenpointtochartpoint"},"BaseGraph.ScreenPointToChartPoint"),(0,n.kt)("p",null,"public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint) "),(0,n.kt)("h3",{id:"basegraphsetpainterdirty"},"BaseGraph.SetPainterDirty"),(0,n.kt)("p",null,"public void SetPainterDirty()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u65b0\u521d\u59cb\u5316Painter"),(0,n.kt)("h3",{id:"basegraphsetsize"},"BaseGraph.SetSize"),(0,n.kt)("p",null,"public virtual void SetSize(float width, float height)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6e\u56fe\u5f62\u7684\u5bbd\u9ad8\uff08\u5728\u975estretch pivot\u4e0b\u624d\u6709\u6548\uff0c\u5176\u4ed6\u60c5\u51b5\u9700\u8981\u81ea\u5df1\u8c03\u6574RectTransform\uff09"),(0,n.kt)("h2",{id:"baseline"},"BaseLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axisline"},"AxisLine"),",",(0,n.kt)("a",{parentName:"p",href:"#axisminorsplitline"},"AxisMinorSplitLine"),",",(0,n.kt)("a",{parentName:"p",href:"#axisminortick"},"AxisMinorTick"),",",(0,n.kt)("a",{parentName:"p",href:"#axissplitline"},"AxisSplitLine"),",",(0,n.kt)("a",{parentName:"p",href:"#axistick"},"AxisTick")," "),(0,n.kt)("p",null,"\u7ebf\u6761\u57fa\u7840\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"baselinebaseline"},"BaseLine.BaseLine"),(0,n.kt)("p",null,"public BaseLine(bool show) : base() "),(0,n.kt)("h3",{id:"baselinecopy"},"BaseLine.Copy"),(0,n.kt)("p",null,"public void Copy(BaseLine axisLine) "),(0,n.kt)("h3",{id:"baselinegetcolor"},"BaseLine.GetColor"),(0,n.kt)("p",null,"public Color32 GetColor(Color32 themeColor) "),(0,n.kt)("h3",{id:"baselinegetlength"},"BaseLine.GetLength"),(0,n.kt)("p",null,"public float GetLength(float themeLength) "),(0,n.kt)("h3",{id:"baselinegettype"},"BaseLine.GetType"),(0,n.kt)("p",null,"public LineStyle.Type GetType(LineStyle.Type themeType) "),(0,n.kt)("h3",{id:"baselinegetwidth"},"BaseLine.GetWidth"),(0,n.kt)("p",null,"public float GetWidth(float themeWidth) "),(0,n.kt)("h2",{id:"basescatter"},"BaseScatter"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#effectscatter"},"EffectScatter"),",",(0,n.kt)("a",{parentName:"p",href:"#scatter"},"Scatter")," "),(0,n.kt)("h3",{id:"basescattercontainerindex"},"BaseScatter.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"basescattercontainterinstanceid"},"BaseScatter.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h2",{id:"baseserie"},"BaseSerie"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie")," "),(0,n.kt)("h3",{id:"baseserieanydirty"},"BaseSerie.anyDirty"),(0,n.kt)("p",null,"public bool anyDirty "),(0,n.kt)("h3",{id:"baseseriecleardata"},"BaseSerie.ClearData()"),(0,n.kt)("p",null,"public virtual void ClearData() "),(0,n.kt)("h3",{id:"baseseriecomponentdirty"},"BaseSerie.componentDirty"),(0,n.kt)("p",null,"public virtual bool componentDirty "),(0,n.kt)("h3",{id:"baseseriedefaultcolorby"},"BaseSerie.defaultColorBy"),(0,n.kt)("p",null,"public virtual SerieColorBy defaultColorBy "),(0,n.kt)("h3",{id:"baseseriegameobject"},"BaseSerie.gameObject"),(0,n.kt)("p",null,"public GameObject gameObject "),(0,n.kt)("h3",{id:"baseseriehandler"},"BaseSerie.handler"),(0,n.kt)("p",null,"public SerieHandler handler "),(0,n.kt)("h3",{id:"baseseriemultidimensionlabel"},"BaseSerie.multiDimensionLabel"),(0,n.kt)("p",null,"public virtual bool multiDimensionLabel "),(0,n.kt)("h3",{id:"baseserieonbeforeserialize"},"BaseSerie.OnBeforeSerialize()"),(0,n.kt)("p",null,"public virtual void OnBeforeSerialize() "),(0,n.kt)("h3",{id:"baseserieondataupdate"},"BaseSerie.OnDataUpdate()"),(0,n.kt)("p",null,"public virtual void OnDataUpdate() "),(0,n.kt)("h3",{id:"baseseriepainter"},"BaseSerie.painter"),(0,n.kt)("p",null,"public Painter painter "),(0,n.kt)("h3",{id:"baseserierefreshcomponent"},"BaseSerie.refreshComponent"),(0,n.kt)("p",null,"public Action refreshComponent "),(0,n.kt)("h3",{id:"baseserietitlejustforserie"},"BaseSerie.titleJustForSerie"),(0,n.kt)("p",null,"public virtual bool titleJustForSerie "),(0,n.kt)("h3",{id:"baseserieusesortdata"},"BaseSerie.useSortData"),(0,n.kt)("p",null,"public virtual bool useSortData "),(0,n.kt)("h3",{id:"baseserievertsdirty"},"BaseSerie.vertsDirty"),(0,n.kt)("p",null,"public virtual bool vertsDirty "),(0,n.kt)("h3",{id:"baseserieclearcomponentdirty"},"BaseSerie.ClearComponentDirty"),(0,n.kt)("p",null,"public virtual void ClearComponentDirty() "),(0,n.kt)("h3",{id:"baseseriecleardata-1"},"BaseSerie.ClearData"),(0,n.kt)("p",null,"public virtual void ClearData() { } "),(0,n.kt)("h3",{id:"baseseriecleardirty"},"BaseSerie.ClearDirty"),(0,n.kt)("p",null,"public virtual void ClearDirty() "),(0,n.kt)("h3",{id:"baseserieclearverticesdirty"},"BaseSerie.ClearVerticesDirty"),(0,n.kt)("p",null,"public virtual void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"baseserieiscomponentdirty"},"BaseSerie.IsComponentDirty"),(0,n.kt)("p",null,"public static bool IsComponentDirty(ChildComponent component) "),(0,n.kt)("h3",{id:"baseserieisvertsdirty"},"BaseSerie.IsVertsDirty"),(0,n.kt)("p",null,"public static bool IsVertsDirty(ChildComponent component) "),(0,n.kt)("h3",{id:"baseserieonafterdeserialize"},"BaseSerie.OnAfterDeserialize"),(0,n.kt)("p",null,"public virtual void OnAfterDeserialize() "),(0,n.kt)("h3",{id:"baseserieonbeforeserialize-1"},"BaseSerie.OnBeforeSerialize"),(0,n.kt)("p",null,"public virtual void OnBeforeSerialize() { } "),(0,n.kt)("h3",{id:"baseserieondataupdate-1"},"BaseSerie.OnDataUpdate"),(0,n.kt)("p",null,"public virtual void OnDataUpdate() { } "),(0,n.kt)("h3",{id:"baseserieonremove"},"BaseSerie.OnRemove"),(0,n.kt)("p",null,"public virtual void OnRemove() "),(0,n.kt)("h3",{id:"baseserierefreshlabel"},"BaseSerie.RefreshLabel"),(0,n.kt)("p",null,"public void RefreshLabel() "),(0,n.kt)("h3",{id:"baseseriesetalldirty"},"BaseSerie.SetAllDirty"),(0,n.kt)("p",null,"public virtual void SetAllDirty() "),(0,n.kt)("h3",{id:"baseseriesetcomponentdirty"},"BaseSerie.SetComponentDirty"),(0,n.kt)("p",null,"public virtual void SetComponentDirty() "),(0,n.kt)("h3",{id:"baseseriesetverticesdirty"},"BaseSerie.SetVerticesDirty"),(0,n.kt)("p",null,"public virtual void SetVerticesDirty() "),(0,n.kt)("h2",{id:"blurstyle"},"BlurStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#statestyle"},"StateStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6de1\u51fa\u72b6\u6001\u6837\u5f0f\u3002"),(0,n.kt)("h2",{id:"borderstyle"},"BorderStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u8fb9\u6846\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"borderstylegetruntimebordercolor"},"BorderStyle.GetRuntimeBorderColor"),(0,n.kt)("p",null,"public Color32 GetRuntimeBorderColor() "),(0,n.kt)("h3",{id:"borderstylegetruntimeborderwidth"},"BorderStyle.GetRuntimeBorderWidth"),(0,n.kt)("p",null,"public float GetRuntimeBorderWidth() "),(0,n.kt)("h3",{id:"borderstylegetruntimecornerradius"},"BorderStyle.GetRuntimeCornerRadius"),(0,n.kt)("p",null,"public float[] GetRuntimeCornerRadius() "),(0,n.kt)("h2",{id:"calendarcoord"},"CalendarCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),",",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("h3",{id:"calendarcoordispointerenter"},"CalendarCoord.IsPointerEnter"),(0,n.kt)("p",null,"public bool IsPointerEnter() "),(0,n.kt)("h3",{id:"calendarcoordupdateruntimedata"},"CalendarCoord.UpdateRuntimeData"),(0,n.kt)("p",null,"public void UpdateRuntimeData(BaseChart chart) "),(0,n.kt)("h2",{id:"candlestick"},"Candlestick"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h3",{id:"candlestickcontainerindex"},"Candlestick.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"candlestickcontainterinstanceid"},"Candlestick.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h3",{id:"candlestickadddefaultserie"},"Candlestick.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h2",{id:"candlestickchart"},"CandlestickChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u8721\u70db\u56fe\uff0c\u4e5f\u53ebK\u7ebf\u56fe\uff0c\u7528\u4e8e\u63cf\u8ff0\u8bc1\u5238\u3001\u884d\u751f\u54c1\u6216\u8d27\u5e01\u7684\u4ef7\u683c\u8d70\u52bf\u7684\u4e00\u79cd\u91d1\u878d\u56fe\u8868\u6837\u5f0f\u3002"),(0,n.kt)("h2",{id:"chartcached"},"ChartCached"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"chartcachedcolortodotstr"},"ChartCached.ColorToDotStr"),(0,n.kt)("p",null,"public static string ColorToDotStr(Color color) "),(0,n.kt)("h3",{id:"chartcachedcolortostr"},"ChartCached.ColorToStr"),(0,n.kt)("p",null,"public static string ColorToStr(Color color) "),(0,n.kt)("h3",{id:"chartcachedfloattostr"},"ChartCached.FloatToStr"),(0,n.kt)("p",null,'public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0) '),(0,n.kt)("h3",{id:"chartcachedgetserielabelname"},"ChartCached.GetSerieLabelName"),(0,n.kt)("p",null,"public static string GetSerieLabelName(string prefix, int i, int j) "),(0,n.kt)("h3",{id:"chartcachedgetstring"},"ChartCached.GetString"),(0,n.kt)("p",null,"public static string GetString(string prefix, int suffix) "),(0,n.kt)("h3",{id:"chartcachedinttostr"},"ChartCached.IntToStr"),(0,n.kt)("p",null,'public static string IntToStr(int value, string numericFormatter = "") '),(0,n.kt)("h3",{id:"chartcachednumbertodatestr"},"ChartCached.NumberToDateStr"),(0,n.kt)("p",null,"public static string NumberToDateStr(double timestamp, string formatter) "),(0,n.kt)("h3",{id:"chartcachednumbertodatetime"},"ChartCached.NumberToDateTime"),(0,n.kt)("p",null,"public static DateTime NumberToDateTime(double timestamp) "),(0,n.kt)("h3",{id:"chartcachednumbertostr"},"ChartCached.NumberToStr"),(0,n.kt)("p",null,"public static string NumberToStr(double value, string formatter) "),(0,n.kt)("h3",{id:"chartcachednumbertotimespan"},"ChartCached.NumberToTimeSpan"),(0,n.kt)("p",null,"public static TimeSpan NumberToTimeSpan(double timestamp) "),(0,n.kt)("h3",{id:"chartcachednumbertotimestr"},"ChartCached.NumberToTimeStr"),(0,n.kt)("p",null,"public static string NumberToTimeStr(double timestamp, string formatter) "),(0,n.kt)("h2",{id:"chartconst"},"ChartConst"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"chartdrawer"},"ChartDrawer"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"charthelper"},"ChartHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"charthelperignorevector3"},"ChartHelper.ignoreVector3"),(0,n.kt)("p",null,"public static Vector3 ignoreVector3 "),(0,n.kt)("h3",{id:"charthelpersb"},"ChartHelper.sb"),(0,n.kt)("p",null,"public static StringBuilder sb "),(0,n.kt)("h3",{id:"charthelperactiveallobject"},"ChartHelper.ActiveAllObject"),(0,n.kt)("p",null,"public static void ActiveAllObject(Transform parent, bool active, string match = null) "),(0,n.kt)("h3",{id:"charthelperaddicon"},"ChartHelper.AddIcon"),(0,n.kt)("p",null,"public static Image AddIcon(string name, Transform parent, IconStyle iconStyle) "),(0,n.kt)("h3",{id:"charthelpercancat"},"ChartHelper.Cancat"),(0,n.kt)("p",null,"public static string Cancat(string str1, int i) "),(0,n.kt)("h3",{id:"charthelpercleareventlistener"},"ChartHelper.ClearEventListener"),(0,n.kt)("p",null,"public static void ClearEventListener(GameObject obj) "),(0,n.kt)("h3",{id:"charthelpercopyarrayt"},"ChartHelper.CopyArray","<","T",">"),(0,n.kt)("p",null,"public static bool CopyArray","<","T",">","(T[] toList, T[] fromList) "),(0,n.kt)("h3",{id:"charthelpercopylistt"},"ChartHelper.CopyList","<","T",">"),(0,n.kt)("p",null,"public static bool CopyList","<","T",">","(List","<","T",">"," toList, List","<","T",">"," fromList) "),(0,n.kt)("h3",{id:"charthelperdestorygameobject"},"ChartHelper.DestoryGameObject"),(0,n.kt)("p",null,"public static void DestoryGameObject(GameObject go) "),(0,n.kt)("h3",{id:"charthelperdestorygameobjectbymatch"},"ChartHelper.DestoryGameObjectByMatch"),(0,n.kt)("p",null,"public static void DestoryGameObjectByMatch(Transform parent, string containString) "),(0,n.kt)("h3",{id:"charthelperdestroyallchildren"},"ChartHelper.DestroyAllChildren"),(0,n.kt)("p",null,"public static void DestroyAllChildren(Transform parent) "),(0,n.kt)("h3",{id:"charthelperensurecomponentt"},"ChartHelper.EnsureComponent","<","T",">"),(0,n.kt)("p",null,"public static T EnsureComponent","<","T",">","(GameObject gameObject) where T : Component",(0,n.kt)("br",{parentName:"p"}),"\n","\u786e\u4fdd\u5bf9\u8c61\u6709\u6307\u5b9a\u7684\u7ec4\u4ef6\uff0c\u5982\u679c\u6ca1\u6709\u5219\u6dfb\u52a0\u3002"),(0,n.kt)("h3",{id:"charthelpergetactualvalue"},"ChartHelper.GetActualValue"),(0,n.kt)("p",null,"public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f) "),(0,n.kt)("h3",{id:"charthelpergetangle360"},"ChartHelper.GetAngle360"),(0,n.kt)("p",null,"public static float GetAngle360(Vector2 from, Vector2 to)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f970-360\u7684\u89d2\u5ea6\uff0812\u70b9\u949f\u65b9\u5411\u4e3a0\u5ea6\uff09"),(0,n.kt)("h3",{id:"charthelpergetblurcolor"},"ChartHelper.GetBlurColor"),(0,n.kt)("p",null,"public static Color32 GetBlurColor(Color32 color, float a = 0.3f) "),(0,n.kt)("h3",{id:"charthelpergetcolor"},"ChartHelper.GetColor"),(0,n.kt)("p",null,"public static Color32 GetColor(string hexColorStr) "),(0,n.kt)("h3",{id:"charthelpergetdire"},"ChartHelper.GetDire"),(0,n.kt)("p",null,"public static Vector3 GetDire(float angle, bool isDegree = false) "),(0,n.kt)("h3",{id:"charthelpergetfullname"},"ChartHelper.GetFullName"),(0,n.kt)("p",null,"public static string GetFullName(Transform transform) "),(0,n.kt)("h3",{id:"charthelpergethighlightcolor"},"ChartHelper.GetHighlightColor"),(0,n.kt)("p",null,"public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f) "),(0,n.kt)("h3",{id:"charthelpergetlastvalue"},"ChartHelper.GetLastValue"),(0,n.kt)("p",null,"public static Vector3 GetLastValue(List","<","Vector3",">"," list) "),(0,n.kt)("h3",{id:"charthelpergetmaxceilrate"},"ChartHelper.GetMaxCeilRate"),(0,n.kt)("p",null,"public static double GetMaxCeilRate(double value, double ceilRate) "),(0,n.kt)("h3",{id:"charthelpergetmaxdivisiblevalue"},"ChartHelper.GetMaxDivisibleValue"),(0,n.kt)("p",null,"public static double GetMaxDivisibleValue(double max, double ceilRate) "),(0,n.kt)("h3",{id:"charthelpergetmaxlogvalue"},"ChartHelper.GetMaxLogValue"),(0,n.kt)("p",null,"public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber) "),(0,n.kt)("h3",{id:"charthelpergetminceilrate"},"ChartHelper.GetMinCeilRate"),(0,n.kt)("p",null,"public static double GetMinCeilRate(double value, double ceilRate) "),(0,n.kt)("h3",{id:"charthelpergetmindivisiblevalue"},"ChartHelper.GetMinDivisibleValue"),(0,n.kt)("p",null,"public static double GetMinDivisibleValue(double min, double ceilRate) "),(0,n.kt)("h3",{id:"charthelpergetminlogvalue"},"ChartHelper.GetMinLogValue"),(0,n.kt)("p",null,"public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber) "),(0,n.kt)("h3",{id:"charthelpergetoraddcomponentt"},"ChartHelper.GetOrAddComponent","<","T",">"),(0,n.kt)("p",null,"public static T GetOrAddComponent","<","T",">","(GameObject gameObject) where T : Component "),(0,n.kt)("h3",{id:"charthelpergetpointlist"},"ChartHelper.GetPointList"),(0,n.kt)("p",null,"public static void GetPointList(ref List","<","Vector3",">"," posList, Vector3 sp, Vector3 ep, float k = 30f) "),(0,n.kt)("h3",{id:"charthelpergetpos"},"ChartHelper.GetPos"),(0,n.kt)("p",null,"public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false) "),(0,n.kt)("h3",{id:"charthelpergetposition"},"ChartHelper.GetPosition"),(0,n.kt)("p",null,"public static Vector3 GetPosition(Vector3 center, float angle, float radius) "),(0,n.kt)("h3",{id:"charthelpergetselectcolor"},"ChartHelper.GetSelectColor"),(0,n.kt)("p",null,"public static Color32 GetSelectColor(Color32 color, float rate = 0.8f) "),(0,n.kt)("h3",{id:"charthelpergetvertialdire"},"ChartHelper.GetVertialDire"),(0,n.kt)("p",null,"public static Vector3 GetVertialDire(Vector3 dire) "),(0,n.kt)("h3",{id:"charthelperhideallobject"},"ChartHelper.HideAllObject"),(0,n.kt)("p",null,"public static void HideAllObject(Transform parent, string match = null) "),(0,n.kt)("h3",{id:"charthelperisactivebyscale"},"ChartHelper.IsActiveByScale"),(0,n.kt)("p",null,"public static bool IsActiveByScale(Image image) "),(0,n.kt)("p",null,"public static bool IsActiveByScale(Transform transform) "),(0,n.kt)("h3",{id:"charthelperisclearcolor"},"ChartHelper.IsClearColor"),(0,n.kt)("p",null,"public static bool IsClearColor(Color color) "),(0,n.kt)("h3",{id:"charthelperiscoloralphazero"},"ChartHelper.IsColorAlphaZero"),(0,n.kt)("p",null,"public static bool IsColorAlphaZero(Color color) "),(0,n.kt)("h3",{id:"charthelperisequals"},"ChartHelper.IsEquals"),(0,n.kt)("p",null,"public static bool IsEquals(float d1, float d2) "),(0,n.kt)("h3",{id:"charthelperisingore"},"ChartHelper.IsIngore"),(0,n.kt)("p",null,"public static bool IsIngore(Vector3 pos) "),(0,n.kt)("h3",{id:"charthelperisinrect"},"ChartHelper.IsInRect"),(0,n.kt)("p",null,"public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax) "),(0,n.kt)("h3",{id:"charthelperispointinquadrilateral"},"ChartHelper.IsPointInQuadrilateral"),(0,n.kt)("p",null,"public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D) "),(0,n.kt)("h3",{id:"charthelperisvalueequalscolor"},"ChartHelper.IsValueEqualsColor"),(0,n.kt)("p",null,"public static bool IsValueEqualsColor(Color color1, Color color2) "),(0,n.kt)("h3",{id:"charthelperisvalueequalslistt"},"ChartHelper.IsValueEqualsList","<","T",">"),(0,n.kt)("p",null,"public static bool IsValueEqualsList","<","T",">","(List","<","T",">"," list1, List","<","T",">"," list2) "),(0,n.kt)("h3",{id:"charthelperisvalueequalsstring"},"ChartHelper.IsValueEqualsString"),(0,n.kt)("p",null,"public static bool IsValueEqualsString(string str1, string str2) "),(0,n.kt)("h3",{id:"charthelperisvalueequalsvector2"},"ChartHelper.IsValueEqualsVector2"),(0,n.kt)("p",null,"public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2) "),(0,n.kt)("h3",{id:"charthelperisvalueequalsvector3"},"ChartHelper.IsValueEqualsVector3"),(0,n.kt)("p",null,"public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2) "),(0,n.kt)("h3",{id:"charthelperiszerovector"},"ChartHelper.IsZeroVector"),(0,n.kt)("p",null,"public static bool IsZeroVector(Vector3 pos) "),(0,n.kt)("h3",{id:"charthelperparsefloatfromstring"},"ChartHelper.ParseFloatFromString"),(0,n.kt)("p",null,"public static List","<","float",">"," ParseFloatFromString(string jsonData) "),(0,n.kt)("h3",{id:"charthelperparsestringfromstring"},"ChartHelper.ParseStringFromString"),(0,n.kt)("p",null,"public static List","<","string",">"," ParseStringFromString(string jsonData) "),(0,n.kt)("h3",{id:"charthelperremovecomponentt"},"ChartHelper.RemoveComponent","<","T",">"),(0,n.kt)("p",null,"public static void RemoveComponent","<","T",">","(GameObject gameObject) "),(0,n.kt)("h3",{id:"charthelperrotateround"},"ChartHelper.RotateRound"),(0,n.kt)("p",null,"public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle) "),(0,n.kt)("h3",{id:"charthelpersaveasimage"},"ChartHelper.SaveAsImage"),(0,n.kt)("p",null,'public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "") '),(0,n.kt)("h3",{id:"charthelpersetactive"},"ChartHelper.SetActive"),(0,n.kt)("p",null,"public static bool SetActive(Image image, bool active) "),(0,n.kt)("p",null,"public static bool SetActive(Text text, bool active) "),(0,n.kt)("p",null,"public static bool SetActive(Transform transform, bool active)",(0,n.kt)("br",{parentName:"p"}),"\n","\u901a\u8fc7\u8bbe\u7f6escale\u5b9e\u73b0\u662f\u5426\u663e\u793a\uff0c\u4f18\u5316\u6027\u80fd\uff0c\u51cf\u5c11GC"),(0,n.kt)("h3",{id:"charthelpersetbackground"},"ChartHelper.SetBackground"),(0,n.kt)("p",null,"public static void SetBackground(Image background, Background imageStyle) "),(0,n.kt)("h3",{id:"charthelpersetcoloropacity"},"ChartHelper.SetColorOpacity"),(0,n.kt)("p",null,"public static void SetColorOpacity(ref Color32 color, float opacity) "),(0,n.kt)("h2",{id:"chartlabel"},"ChartLabel"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=image"},"Image")),(0,n.kt)("h3",{id:"chartlabelhideiconiftextempty"},"ChartLabel.hideIconIfTextEmpty"),(0,n.kt)("p",null,"public bool hideIconIfTextEmpty "),(0,n.kt)("h3",{id:"chartlabelisanimationend"},"ChartLabel.isAnimationEnd"),(0,n.kt)("p",null,"public bool isAnimationEnd "),(0,n.kt)("h3",{id:"chartlabelisiconactive"},"ChartLabel.isIconActive"),(0,n.kt)("p",null,"public bool isIconActive "),(0,n.kt)("h3",{id:"chartlabelrect"},"ChartLabel.rect"),(0,n.kt)("p",null,"public Rect rect "),(0,n.kt)("h3",{id:"chartlabelgetheight"},"ChartLabel.GetHeight"),(0,n.kt)("p",null,"public float GetHeight() "),(0,n.kt)("h3",{id:"chartlabelgetposition"},"ChartLabel.GetPosition"),(0,n.kt)("p",null,"public Vector3 GetPosition() "),(0,n.kt)("h3",{id:"chartlabelgettextheight"},"ChartLabel.GetTextHeight"),(0,n.kt)("p",null,"public float GetTextHeight() "),(0,n.kt)("h3",{id:"chartlabelgettextwidth"},"ChartLabel.GetTextWidth"),(0,n.kt)("p",null,"public float GetTextWidth() "),(0,n.kt)("h3",{id:"chartlabelgetwidth"},"ChartLabel.GetWidth"),(0,n.kt)("p",null,"public float GetWidth() "),(0,n.kt)("h3",{id:"chartlabelisactivebyscale"},"ChartLabel.IsActiveByScale"),(0,n.kt)("p",null,"public bool IsActiveByScale() "),(0,n.kt)("h3",{id:"chartlabelsetactive"},"ChartLabel.SetActive"),(0,n.kt)("p",null,"public void SetActive(bool flag, bool force = false) "),(0,n.kt)("h3",{id:"chartlabelseticon"},"ChartLabel.SetIcon"),(0,n.kt)("p",null,"public void SetIcon(Image image) "),(0,n.kt)("h3",{id:"chartlabelseticonactive"},"ChartLabel.SetIconActive"),(0,n.kt)("p",null,"public void SetIconActive(bool flag) "),(0,n.kt)("h3",{id:"chartlabelseticonsize"},"ChartLabel.SetIconSize"),(0,n.kt)("p",null,"public void SetIconSize(float width, float height) "),(0,n.kt)("h3",{id:"chartlabelseticonsprite"},"ChartLabel.SetIconSprite"),(0,n.kt)("p",null,"public void SetIconSprite(Sprite sprite) "),(0,n.kt)("h3",{id:"chartlabelsetpadding"},"ChartLabel.SetPadding"),(0,n.kt)("p",null,"public void SetPadding(float[] padding) "),(0,n.kt)("h3",{id:"chartlabelsetposition"},"ChartLabel.SetPosition"),(0,n.kt)("p",null,"public void SetPosition(Vector3 position) "),(0,n.kt)("h3",{id:"chartlabelsetrectposition"},"ChartLabel.SetRectPosition"),(0,n.kt)("p",null,"public void SetRectPosition(Vector3 position) "),(0,n.kt)("h3",{id:"chartlabelsetrotate"},"ChartLabel.SetRotate"),(0,n.kt)("p",null,"public void SetRotate(float rotate) "),(0,n.kt)("h3",{id:"chartlabelsetsize"},"ChartLabel.SetSize"),(0,n.kt)("p",null,"public void SetSize(float width, float height) "),(0,n.kt)("h3",{id:"chartlabelsettext"},"ChartLabel.SetText"),(0,n.kt)("p",null,"public bool SetText(string text) "),(0,n.kt)("h3",{id:"chartlabelsettextactive"},"ChartLabel.SetTextActive"),(0,n.kt)("p",null,"public void SetTextActive(bool flag) "),(0,n.kt)("h3",{id:"chartlabelsettextcolor"},"ChartLabel.SetTextColor"),(0,n.kt)("p",null,"public void SetTextColor(Color color) "),(0,n.kt)("h3",{id:"chartlabelsettextpadding"},"ChartLabel.SetTextPadding"),(0,n.kt)("p",null,"public void SetTextPadding(TextPadding padding) "),(0,n.kt)("h3",{id:"chartlabelsettextrotate"},"ChartLabel.SetTextRotate"),(0,n.kt)("p",null,"public void SetTextRotate(float rotate) "),(0,n.kt)("h3",{id:"chartlabelupdateicon"},"ChartLabel.UpdateIcon"),(0,n.kt)("p",null,"public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null, Color color = default(Color)) "),(0,n.kt)("h2",{id:"chartobject"},"ChartObject"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"chartobjectdestroy"},"ChartObject.Destroy"),(0,n.kt)("p",null,"public virtual void Destroy() "),(0,n.kt)("h2",{id:"charttext"},"ChartText"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"charttexttmptext"},"ChartText.tmpText"),(0,n.kt)("p",null,"public TextMeshProUGUI tmpText "),(0,n.kt)("h3",{id:"charttextcharttext"},"ChartText.ChartText"),(0,n.kt)("p",null,"public ChartText(GameObject textParent) "),(0,n.kt)("h3",{id:"charttextgetcolor"},"ChartText.GetColor"),(0,n.kt)("p",null,"public Color GetColor() "),(0,n.kt)("h3",{id:"charttextgetpreferredheight"},"ChartText.GetPreferredHeight"),(0,n.kt)("p",null,"public float GetPreferredHeight() "),(0,n.kt)("h3",{id:"charttextgetpreferredtext"},"ChartText.GetPreferredText"),(0,n.kt)("p",null,"public string GetPreferredText(string content, string suffix, float maxWidth) "),(0,n.kt)("h3",{id:"charttextgetpreferredwidth"},"ChartText.GetPreferredWidth"),(0,n.kt)("p",null,"public float GetPreferredWidth() "),(0,n.kt)("h3",{id:"charttextgettext"},"ChartText.GetText"),(0,n.kt)("p",null,"public string GetText() "),(0,n.kt)("h3",{id:"charttextsetactive"},"ChartText.SetActive"),(0,n.kt)("p",null,"public void SetActive(bool flag) "),(0,n.kt)("h3",{id:"charttextsetalignment"},"ChartText.SetAlignment"),(0,n.kt)("p",null,"public void SetAlignment(TextAnchor alignment) "),(0,n.kt)("h3",{id:"charttextsetcolor"},"ChartText.SetColor"),(0,n.kt)("p",null,"public void SetColor(Color color) "),(0,n.kt)("h3",{id:"charttextsetfont"},"ChartText.SetFont"),(0,n.kt)("p",null,"public void SetFont(TMP_FontAsset font) "),(0,n.kt)("h3",{id:"charttextsetfontandsizeandstyle"},"ChartText.SetFontAndSizeAndStyle"),(0,n.kt)("p",null,"public void SetFontAndSizeAndStyle(TextStyle textStyle, ComponentTheme theme) "),(0,n.kt)("h3",{id:"charttextsetfontsize"},"ChartText.SetFontSize"),(0,n.kt)("p",null,"public void SetFontSize(float fontSize) "),(0,n.kt)("h3",{id:"charttextsetfontstyle"},"ChartText.SetFontStyle"),(0,n.kt)("p",null,"public void SetFontStyle(FontStyle fontStyle) "),(0,n.kt)("h3",{id:"charttextsetlinespacing"},"ChartText.SetLineSpacing"),(0,n.kt)("p",null,"public void SetLineSpacing(float lineSpacing) "),(0,n.kt)("h3",{id:"charttextsetlocaleulerangles"},"ChartText.SetLocalEulerAngles"),(0,n.kt)("p",null,"public void SetLocalEulerAngles(Vector3 position) "),(0,n.kt)("h3",{id:"charttextsetlocalposition"},"ChartText.SetLocalPosition"),(0,n.kt)("p",null,"public void SetLocalPosition(Vector3 position) "),(0,n.kt)("h3",{id:"charttextsetrectposition"},"ChartText.SetRectPosition"),(0,n.kt)("p",null,"public void SetRectPosition(Vector3 position) "),(0,n.kt)("h3",{id:"charttextsetsizedelta"},"ChartText.SetSizeDelta"),(0,n.kt)("p",null,"public void SetSizeDelta(Vector2 sizeDelta) "),(0,n.kt)("h3",{id:"charttextsettext"},"ChartText.SetText"),(0,n.kt)("p",null,"public void SetText(string text) "),(0,n.kt)("h2",{id:"checkhelper"},"CheckHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"checkhelpercheckchart"},"CheckHelper.CheckChart"),(0,n.kt)("p",null,"public static string CheckChart(BaseChart chart) "),(0,n.kt)("h2",{id:"childcomponent"},"ChildComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#animationstyle"},"AnimationStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#axisanimation"},"AxisAnimation"),",",(0,n.kt)("a",{parentName:"p",href:"#axisname"},"AxisName"),",",(0,n.kt)("a",{parentName:"p",href:"#axissplitarea"},"AxisSplitArea"),",",(0,n.kt)("a",{parentName:"p",href:"#areastyle"},"AreaStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#arrowstyle"},"ArrowStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine"),",",(0,n.kt)("a",{parentName:"p",href:"#borderstyle"},"BorderStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#iconstyle"},"IconStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#imagestyle"},"ImageStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#itemstyle"},"ItemStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#level"},"Level"),",",(0,n.kt)("a",{parentName:"p",href:"#levelstyle"},"LevelStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#linearrow"},"LineArrow"),",",(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#location"},"Location"),",",(0,n.kt)("a",{parentName:"p",href:"#mlvalue"},"MLValue"),",",(0,n.kt)("a",{parentName:"p",href:"#marqueestyle"},"MarqueeStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#padding"},"Padding"),",",(0,n.kt)("a",{parentName:"p",href:"#stagecolor"},"StageColor"),",",(0,n.kt)("a",{parentName:"p",href:"#symbolstyle"},"SymbolStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#textlimit"},"TextLimit"),",",(0,n.kt)("a",{parentName:"p",href:"#textstyle"},"TextStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#commentitem"},"CommentItem"),",",(0,n.kt)("a",{parentName:"p",href:"#commentmarkstyle"},"CommentMarkStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#labelline"},"LabelLine"),",",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#markareadata"},"MarkAreaData"),",",(0,n.kt)("a",{parentName:"p",href:"#marklinedata"},"MarkLineData"),",",(0,n.kt)("a",{parentName:"p",href:"#statestyle"},"StateStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#visualmaprange"},"VisualMapRange"),",",(0,n.kt)("a",{parentName:"p",href:"#viewcontrol"},"ViewControl"),",",(0,n.kt)("a",{parentName:"p",href:"#uicomponenttheme"},"UIComponentTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#seriedata"},"SerieData"),",",(0,n.kt)("a",{parentName:"p",href:"#seriedatalink"},"SerieDataLink"),",",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#serietheme"},"SerieTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#themestyle"},"ThemeStyle")," "),(0,n.kt)("h3",{id:"childcomponentanydirty"},"ChildComponent.anyDirty"),(0,n.kt)("p",null,"public bool anyDirty",(0,n.kt)("br",{parentName:"p"}),"\n","\u9700\u8981\u91cd\u7ed8\u56fe\u8868\u6216\u91cd\u65b0\u521d\u59cb\u5316\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"childcomponentcomponentdirty"},"ChildComponent.componentDirty"),(0,n.kt)("p",null,"public virtual bool componentDirty",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ec4\u4ef6\u91cd\u65b0\u521d\u59cb\u5316\u6807\u8bb0\u3002"),(0,n.kt)("h3",{id:"childcomponentgameobject"},"ChildComponent.gameObject"),(0,n.kt)("p",null,"public GameObject gameObject "),(0,n.kt)("h3",{id:"childcomponentindex"},"ChildComponent.index"),(0,n.kt)("p",null,"public virtual int index "),(0,n.kt)("h3",{id:"childcomponentpainter"},"ChildComponent.painter"),(0,n.kt)("p",null,"public Painter painter "),(0,n.kt)("h3",{id:"childcomponentrefreshcomponent"},"ChildComponent.refreshComponent"),(0,n.kt)("p",null,"public Action refreshComponent "),(0,n.kt)("h3",{id:"childcomponentvertsdirty"},"ChildComponent.vertsDirty"),(0,n.kt)("p",null,"public virtual bool vertsDirty",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u91cd\u7ed8\u6807\u8bb0\u3002"),(0,n.kt)("h3",{id:"childcomponentclearcomponentdirty"},"ChildComponent.ClearComponentDirty"),(0,n.kt)("p",null,"public virtual void ClearComponentDirty() "),(0,n.kt)("h3",{id:"childcomponentcleardirty"},"ChildComponent.ClearDirty"),(0,n.kt)("p",null,"public virtual void ClearDirty() "),(0,n.kt)("h3",{id:"childcomponentclearverticesdirty"},"ChildComponent.ClearVerticesDirty"),(0,n.kt)("p",null,"public virtual void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"childcomponentiscomponentdirty"},"ChildComponent.IsComponentDirty"),(0,n.kt)("p",null,"public static bool IsComponentDirty(ChildComponent component) "),(0,n.kt)("h3",{id:"childcomponentisvertsdirty"},"ChildComponent.IsVertsDirty"),(0,n.kt)("p",null,"public static bool IsVertsDirty(ChildComponent component) "),(0,n.kt)("h3",{id:"childcomponentsetalldirty"},"ChildComponent.SetAllDirty"),(0,n.kt)("p",null,"public virtual void SetAllDirty() "),(0,n.kt)("h3",{id:"childcomponentsetcomponentdirty"},"ChildComponent.SetComponentDirty"),(0,n.kt)("p",null,"public virtual void SetComponentDirty() "),(0,n.kt)("h3",{id:"childcomponentsetverticesdirty"},"ChildComponent.SetVerticesDirty"),(0,n.kt)("p",null,"public virtual void SetVerticesDirty() "),(0,n.kt)("h2",{id:"colorutil"},"ColorUtil"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"colorutilgetcolor"},"ColorUtil.GetColor"),(0,n.kt)("p",null,"public static Color32 GetColor(string hexColorStr)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5c06\u5b57\u7b26\u4e32\u989c\u8272\u503c\u8f6c\u6210Color\u3002"),(0,n.kt)("h2",{id:"comment"},"Comment"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#ipropertychanged"},"IPropertyChanged")),(0,n.kt)("p",null,"\u56fe\u8868\u6ce8\u89e3\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"commentitems"},"Comment.items"),(0,n.kt)("p",null,"public List","<","CommentItem",">"," items",(0,n.kt)("br",{parentName:"p"}),"\n","\u6ce8\u89e3\u9879\u3002\u6bcf\u4e2a\u6ce8\u89e3\u7ec4\u4ef6\u53ef\u4ee5\u8bbe\u7f6e\u591a\u4e2a\u6ce8\u89e3\u9879\u3002"),(0,n.kt)("h3",{id:"commentshow"},"Comment.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793a\u6ce8\u89e3\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"commentgetlabelstyle"},"Comment.GetLabelStyle"),(0,n.kt)("p",null,"public LabelStyle GetLabelStyle(int index) "),(0,n.kt)("h3",{id:"commentgetmarkstyle"},"Comment.GetMarkStyle"),(0,n.kt)("p",null,"public CommentMarkStyle GetMarkStyle(int index) "),(0,n.kt)("h3",{id:"commentonchanged"},"Comment.OnChanged"),(0,n.kt)("p",null,"public void OnChanged()",(0,n.kt)("br",{parentName:"p"}),"\n","\u53c2\u6570\u53d8\u66f4\u65f6\u7684\u56de\u8c03\u5904\u7406\u3002"),(0,n.kt)("h2",{id:"commentitem"},"CommentItem"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6ce8\u89e3\u9879\u3002"),(0,n.kt)("h3",{id:"commentitemcontent"},"CommentItem.content"),(0,n.kt)("p",null,"public string content",(0,n.kt)("br",{parentName:"p"}),"\n","\u6ce8\u89e3\u7684\u6587\u672c\u5185\u5bb9\u3002\u652f\u6301\u6a21\u677f\u53c2\u6570\uff0c\u53ef\u4ee5\u53c2\u8003Tooltip\u7684itemFormatter\u3002"),(0,n.kt)("h3",{id:"commentitemmarkrect"},"CommentItem.markRect"),(0,n.kt)("p",null,"public Rect markRect",(0,n.kt)("br",{parentName:"p"}),"\n","\u6ce8\u89e3\u533a\u57df\u3002"),(0,n.kt)("h3",{id:"commentitemmarkstyle"},"CommentItem.markStyle"),(0,n.kt)("p",null,"public CommentMarkStyle markStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u6ce8\u89e3\u6807\u8bb0\u533a\u57df\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"commentitemshow"},"CommentItem.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793a\u5f53\u524d\u6ce8\u89e3\u9879\u3002"),(0,n.kt)("h2",{id:"commentmarkstyle"},"CommentMarkStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6ce8\u89e3\u9879\u533a\u57df\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"commentmarkstylelinestyle"},"CommentMarkStyle.lineStyle"),(0,n.kt)("p",null,"public LineStyle lineStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ebf\u6761\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"commentmarkstyleshow"},"CommentMarkStyle.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793a\u5f53\u524d\u6ce8\u89e3\u9879\u3002"),(0,n.kt)("h2",{id:"componenthandlerattribute"},"ComponentHandlerAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("h3",{id:"componenthandlerattributecomponenthandlerattribute"},"ComponentHandlerAttribute.ComponentHandlerAttribute"),(0,n.kt)("p",null,"public ComponentHandlerAttribute(Type handler, bool allowMultiple, int order = 3) "),(0,n.kt)("h2",{id:"componenthelper"},"ComponentHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"componenthelpergetangleaxis"},"ComponentHelper.GetAngleAxis"),(0,n.kt)("p",null,"public static AngleAxis GetAngleAxis(List","<","MainComponent",">"," components, int polarIndex) "),(0,n.kt)("h3",{id:"componenthelpergetradiusaxis"},"ComponentHelper.GetRadiusAxis"),(0,n.kt)("p",null,"public static RadiusAxis GetRadiusAxis(List","<","MainComponent",">"," components, int polarIndex) "),(0,n.kt)("h3",{id:"componenthelpergetxaxisonzerooffset"},"ComponentHelper.GetXAxisOnZeroOffset"),(0,n.kt)("p",null,"public static float GetXAxisOnZeroOffset(List","<","MainComponent",">"," components, XAxis axis) "),(0,n.kt)("h3",{id:"componenthelpergetyaxisonzerooffset"},"ComponentHelper.GetYAxisOnZeroOffset"),(0,n.kt)("p",null,"public static float GetYAxisOnZeroOffset(List","<","MainComponent",">"," components, YAxis axis) "),(0,n.kt)("h3",{id:"componenthelperisanycategoryofyaxis"},"ComponentHelper.IsAnyCategoryOfYAxis"),(0,n.kt)("p",null,"public static bool IsAnyCategoryOfYAxis(List","<","MainComponent",">"," components) "),(0,n.kt)("h2",{id:"componenttheme"},"ComponentTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#datazoomtheme"},"DataZoomTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#legendtheme"},"LegendTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#subtitletheme"},"SubTitleTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#titletheme"},"TitleTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#tooltiptheme"},"TooltipTheme"),",",(0,n.kt)("a",{parentName:"p",href:"#visualmaptheme"},"VisualMapTheme")," "),(0,n.kt)("h3",{id:"componentthemecomponenttheme"},"ComponentTheme.ComponentTheme"),(0,n.kt)("p",null,"public ComponentTheme(ThemeType theme) "),(0,n.kt)("h3",{id:"componentthemecopy"},"ComponentTheme.Copy"),(0,n.kt)("p",null,"public virtual void Copy(ComponentTheme theme) "),(0,n.kt)("h3",{id:"componentthemereset"},"ComponentTheme.Reset"),(0,n.kt)("p",null,"public virtual void Reset(ComponentTheme defaultTheme) "),(0,n.kt)("h2",{id:"coordoptionsattribute"},"CoordOptionsAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("h3",{id:"coordoptionsattributecontainst"},"CoordOptionsAttribute.Contains","<","T",">"),(0,n.kt)("p",null,"public bool Contains","<","T",">","() where T : CoordSystem "),(0,n.kt)("h3",{id:"coordoptionsattributecoordoptionsattribute"},"CoordOptionsAttribute.CoordOptionsAttribute"),(0,n.kt)("p",null,"public CoordOptionsAttribute(Type coord, Type coord2) "),(0,n.kt)("p",null,"public CoordOptionsAttribute(Type coord, Type coord2, Type coord3) "),(0,n.kt)("p",null,"public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4) "),(0,n.kt)("h2",{id:"coordsystem"},"CoordSystem"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#radarcoord"},"RadarCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#calendarcoord"},"CalendarCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#gridcoord"},"GridCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#gridcoord3d"},"GridCoord3D"),",",(0,n.kt)("a",{parentName:"p",href:"#parallelcoord"},"ParallelCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#polarcoord"},"PolarCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#singleaxiscoord"},"SingleAxisCoord")," "),(0,n.kt)("p",null,"\u5750\u6807\u7cfb\u7cfb\u7edf\u3002"),(0,n.kt)("h2",{id:"datahelper"},"DataHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"datazoom"},"DataZoom"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData")),(0,n.kt)("p",null,"DataZoom \u7ec4\u4ef6 \u7528\u4e8e\u533a\u57df\u7f29\u653e\uff0c\u4ece\u800c\u80fd\u81ea\u7531\u5173\u6ce8\u7ec6\u8282\u7684\u6570\u636e\u4fe1\u606f\uff0c\u6216\u8005\u6982\u89c8\u6570\u636e\u6574\u4f53\uff0c\u6216\u8005\u53bb\u9664\u79bb\u7fa4\u70b9\u7684\u5f71\u54cd\u3002"),(0,n.kt)("h3",{id:"datazoomrealtime"},"DataZoom.realtime"),(0,n.kt)("p",null,"public bool realtime",(0,n.kt)("br",{parentName:"p"}),"\n","\u62d6\u52a8\u65f6\uff0c\u662f\u5426\u5b9e\u65f6\u66f4\u65b0\u7cfb\u5217\u7684\u89c6\u56fe\u3002\u5982\u679c\u8bbe\u7f6e\u4e3a false\uff0c\u5219\u53ea\u5728\u62d6\u62fd\u7ed3\u675f\u7684\u65f6\u5019\u66f4\u65b0\u3002\u9ed8\u8ba4\u4e3atrue\uff0c\u6682\u4e0d\u652f\u6301\u4fee\u6539\u3002"),(0,n.kt)("h3",{id:"datazoomstartendfunction"},"DataZoom.startEndFunction"),(0,n.kt)("p",null,"public CustomDataZoomStartEndFunction startEndFunction",(0,n.kt)("br",{parentName:"p"}),"\n","start\u548cend\u53d8\u66f4\u59d4\u6258\u3002"),(0,n.kt)("h3",{id:"datazoomgetbackgroundcolor"},"DataZoom.GetBackgroundColor"),(0,n.kt)("p",null,"public Color32 GetBackgroundColor(Color32 themeColor) "),(0,n.kt)("h3",{id:"datazoomgetbordercolor"},"DataZoom.GetBorderColor"),(0,n.kt)("p",null,"public Color32 GetBorderColor(Color32 themeColor) "),(0,n.kt)("h3",{id:"datazoomgetfillercolor"},"DataZoom.GetFillerColor"),(0,n.kt)("p",null,"public Color32 GetFillerColor(Color32 themeColor) "),(0,n.kt)("h3",{id:"datazoomiscontainsaxis"},"DataZoom.IsContainsAxis"),(0,n.kt)("p",null,"public bool IsContainsAxis(Axis axis) "),(0,n.kt)("h3",{id:"datazoomiscontainsxaxis"},"DataZoom.IsContainsXAxis"),(0,n.kt)("p",null,"public bool IsContainsXAxis(int index) "),(0,n.kt)("h3",{id:"datazoomiscontainsyaxis"},"DataZoom.IsContainsYAxis"),(0,n.kt)("p",null,"public bool IsContainsYAxis(int index) "),(0,n.kt)("h3",{id:"datazoomisinendzoom"},"DataZoom.IsInEndZoom"),(0,n.kt)("p",null,"public bool IsInEndZoom(Vector2 pos)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed9\u5b9a\u7684\u5750\u6807\u662f\u5426\u5728\u7ed3\u675f\u6d3b\u52a8\u6761\u89e6\u53d1\u533a\u57df\u5185"),(0,n.kt)("h3",{id:"datazoomisinmarqueearea"},"DataZoom.IsInMarqueeArea"),(0,n.kt)("p",null,"public bool IsInMarqueeArea(Vector2 pos) "),(0,n.kt)("h3",{id:"datazoomisinselectedzoom"},"DataZoom.IsInSelectedZoom"),(0,n.kt)("p",null,"public bool IsInSelectedZoom(int totalIndex, int index, bool invert) "),(0,n.kt)("h3",{id:"datazoomisinstartzoom"},"DataZoom.IsInStartZoom"),(0,n.kt)("p",null,"public bool IsInStartZoom(Vector2 pos)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed9\u5b9a\u7684\u5750\u6807\u662f\u5426\u5728\u5f00\u59cb\u6d3b\u52a8\u6761\u89e6\u53d1\u533a\u57df\u5185"),(0,n.kt)("h3",{id:"datazoomisinzoom"},"DataZoom.IsInZoom"),(0,n.kt)("p",null,"public bool IsInZoom(Vector2 pos)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed9\u5b9a\u7684\u5750\u6807\u662f\u5426\u5728\u7f29\u653e\u533a\u57df\u5185"),(0,n.kt)("h3",{id:"datazoomsetdefaultvalue"},"DataZoom.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue() "),(0,n.kt)("h3",{id:"datazoomupdateruntimedata"},"DataZoom.UpdateRuntimeData"),(0,n.kt)("p",null,"public void UpdateRuntimeData(BaseChart chart) "),(0,n.kt)("h2",{id:"datazoomfiltermode"},"DataZoom.FilterMode"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"dataZoom \u7684\u8fd0\u884c\u539f\u7406\u662f\u901a\u8fc7 \u6570\u636e\u8fc7\u6ee4 \u6765\u8fbe\u5230 \u6570\u636e\u7a97\u53e3\u7f29\u653e \u7684\u6548\u679c\u3002\u6570\u636e\u8fc7\u6ee4\u6a21\u5f0f\u7684\u8bbe\u7f6e\u4e0d\u540c\uff0c\u6548\u679c\u4e5f\u4e0d\u540c\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Filter"),": \u5f53\u524d\u6570\u636e\u7a97\u53e3\u5916\u7684\u6570\u636e\uff0c\u88ab \u8fc7\u6ee4\u6389\u3002\u5373 \u4f1a \u5f71\u54cd\u5176\u4ed6\u8f74\u7684\u6570\u636e\u8303\u56f4\u3002\u6bcf\u4e2a\u6570\u636e\u9879\uff0c\u53ea\u8981\u6709\u4e00\u4e2a\u7ef4\u5ea6\u5728\u6570\u636e\u7a97\u53e3\u5916\uff0c\u6574\u4e2a\u6570\u636e\u9879\u5c31\u4f1a\u88ab\u8fc7\u6ee4\u6389\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"WeakFilter"),": \u5f53\u524d\u6570\u636e\u7a97\u53e3\u5916\u7684\u6570\u636e\uff0c\u88ab \u8fc7\u6ee4\u6389\u3002\u5373 \u4f1a \u5f71\u54cd\u5176\u4ed6\u8f74\u7684\u6570\u636e\u8303\u56f4\u3002\u6bcf\u4e2a\u6570\u636e\u9879\uff0c\u53ea\u6709\u5f53\u5168\u90e8\u7ef4\u5ea6\u90fd\u5728\u6570\u636e\u7a97\u53e3\u540c\u4fa7\u5916\u90e8\uff0c\u6574\u4e2a\u6570\u636e\u9879\u624d\u4f1a\u88ab\u8fc7\u6ee4\u6389\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Empty"),": \u5f53\u524d\u6570\u636e\u7a97\u53e3\u5916\u7684\u6570\u636e\uff0c\u88ab \u8bbe\u7f6e\u4e3a\u7a7a\u3002\u5373 \u4e0d\u4f1a \u5f71\u54cd\u5176\u4ed6\u8f74\u7684\u6570\u636e\u8303\u56f4\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4e0d\u8fc7\u6ee4\u6570\u636e\uff0c\u53ea\u6539\u53d8\u6570\u8f74\u8303\u56f4\u3002")),(0,n.kt)("h2",{id:"datazoomrangemode"},"DataZoom.RangeMode"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"The value type of start and end.\u53d6\u503c\u7c7b\u578b"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"//Value"),": The value type of start and end.\u53d6\u503c\u7c7b\u578b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Percent"),": \u767e\u5206\u6bd4\u3002")),(0,n.kt)("h2",{id:"datazoomcontext"},"DataZoomContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h3",{id:"datazoomcontextendvalue"},"DataZoomContext.endValue"),(0,n.kt)("p",null,"public double endValue",(0,n.kt)("br",{parentName:"p"}),"\n","\u8fd0\u884c\u65f6\u5b9e\u9645\u8303\u56f4\u7684\u7ed3\u675f\u503c"),(0,n.kt)("h3",{id:"datazoomcontextheight"},"DataZoomContext.height"),(0,n.kt)("p",null,"public float height "),(0,n.kt)("h3",{id:"datazoomcontextinvert"},"DataZoomContext.invert"),(0,n.kt)("p",null,"public bool invert "),(0,n.kt)("h3",{id:"datazoomcontextiscoordinatedrag"},"DataZoomContext.isCoordinateDrag"),(0,n.kt)("p",null,"public bool isCoordinateDrag "),(0,n.kt)("h3",{id:"datazoomcontextisdrag"},"DataZoomContext.isDrag"),(0,n.kt)("p",null,"public bool isDrag "),(0,n.kt)("h3",{id:"datazoomcontextisenddrag"},"DataZoomContext.isEndDrag"),(0,n.kt)("p",null,"public bool isEndDrag "),(0,n.kt)("h3",{id:"datazoomcontextismarqueedrag"},"DataZoomContext.isMarqueeDrag"),(0,n.kt)("p",null,"public bool isMarqueeDrag "),(0,n.kt)("h3",{id:"datazoomcontextisstartdrag"},"DataZoomContext.isStartDrag"),(0,n.kt)("p",null,"public bool isStartDrag "),(0,n.kt)("h3",{id:"datazoomcontextmarqueeendpos"},"DataZoomContext.marqueeEndPos"),(0,n.kt)("p",null,"public Vector3 marqueeEndPos "),(0,n.kt)("h3",{id:"datazoomcontextmarqueerect"},"DataZoomContext.marqueeRect"),(0,n.kt)("p",null,"public Rect marqueeRect "),(0,n.kt)("h3",{id:"datazoomcontextmarqueestartpos"},"DataZoomContext.marqueeStartPos"),(0,n.kt)("p",null,"public Vector3 marqueeStartPos "),(0,n.kt)("h3",{id:"datazoomcontextstartvalue"},"DataZoomContext.startValue"),(0,n.kt)("p",null,"public double startValue",(0,n.kt)("br",{parentName:"p"}),"\n","\u8fd0\u884c\u65f6\u5b9e\u9645\u8303\u56f4\u7684\u5f00\u59cb\u503c"),(0,n.kt)("h3",{id:"datazoomcontextwidth"},"DataZoomContext.width"),(0,n.kt)("p",null,"public float width "),(0,n.kt)("h3",{id:"datazoomcontextx"},"DataZoomContext.x"),(0,n.kt)("p",null,"public float x "),(0,n.kt)("h3",{id:"datazoomcontexty"},"DataZoomContext.y"),(0,n.kt)("p",null,"public float y "),(0,n.kt)("h2",{id:"datazoomhelper"},"DataZoomHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"datazoomhelperupdatedatazoomruntimestartendvalue"},"DataZoomHelper.UpdateDataZoomRuntimeStartEndValue"),(0,n.kt)("p",null,"public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie) "),(0,n.kt)("h3",{id:"datazoomhelperupdatedatazoomruntimestartendvaluet"},"DataZoomHelper.UpdateDataZoomRuntimeStartEndValue","<","T",">"),(0,n.kt)("p",null,"public static void UpdateDataZoomRuntimeStartEndValue","<","T",">","(BaseChart chart) where T : Serie "),(0,n.kt)("h2",{id:"datazoomtheme"},"DataZoomTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"datazoomthemecopy"},"DataZoomTheme.Copy"),(0,n.kt)("p",null,"public void Copy(DataZoomTheme theme) "),(0,n.kt)("h3",{id:"datazoomthemedatazoomtheme"},"DataZoomTheme.DataZoomTheme"),(0,n.kt)("p",null,"public DataZoomTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h2",{id:"datetimeutil"},"DateTimeUtil"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"datetimeutilgetdatetime"},"DateTimeUtil.GetDateTime"),(0,n.kt)("p",null,"public static DateTime GetDateTime(double timestamp, bool local = true) "),(0,n.kt)("h3",{id:"datetimeutilgetdefaultdatetimestring"},"DateTimeUtil.GetDefaultDateTimeString"),(0,n.kt)("p",null,"public static string GetDefaultDateTimeString(int timestamp, double range = 0) "),(0,n.kt)("h3",{id:"datetimeutilgettimestamp"},"DateTimeUtil.GetTimestamp"),(0,n.kt)("p",null,"public static int GetTimestamp(DateTime time, bool local = false) "),(0,n.kt)("p",null,"public static int GetTimestamp(string dateTime, bool local = false) "),(0,n.kt)("h3",{id:"datetimeutilisdateortimeregex"},"DateTimeUtil.IsDateOrTimeRegex"),(0,n.kt)("p",null,"public static bool IsDateOrTimeRegex(string regex, ref bool date, ref string formatter) "),(0,n.kt)("h2",{id:"debuginfo"},"DebugInfo"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"debuginfoavgfps"},"DebugInfo.avgFps"),(0,n.kt)("p",null,"public float avgFps",(0,n.kt)("br",{parentName:"p"}),"\n","\u5e73\u5747\u5e27\u7387\u3002"),(0,n.kt)("h3",{id:"debuginfofoldseries"},"DebugInfo.foldSeries"),(0,n.kt)("p",null,"public bool foldSeries",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u5728Inspector\u4e0a\u6298\u53e0Serie\u3002"),(0,n.kt)("h3",{id:"debuginfofps"},"DebugInfo.fps"),(0,n.kt)("p",null,"public float fps",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f53\u524d\u5e27\u7387\u3002"),(0,n.kt)("h3",{id:"debuginforefreshcount"},"DebugInfo.refreshCount"),(0,n.kt)("p",null,"public int refreshCount",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u6bcf\u79d2\u5237\u65b0\u6b21\u6570\u3002"),(0,n.kt)("h3",{id:"debuginfoshow"},"DebugInfo.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793aDebug\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"debuginfoshowallchartobject"},"DebugInfo.showAllChartObject"),(0,n.kt)("p",null,"public bool showAllChartObject",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u5728Hierarchy\u8bd5\u56fe\u663e\u793a\u6240\u6709chart\u4e0b\u7684\u8282\u70b9\u3002"),(0,n.kt)("h3",{id:"debuginfoinit"},"DebugInfo.Init"),(0,n.kt)("p",null,"public void Init(BaseChart chart) "),(0,n.kt)("h3",{id:"debuginfoupdate"},"DebugInfo.Update"),(0,n.kt)("p",null,"public void Update() "),(0,n.kt)("h2",{id:"defaultanimationattribute"},"DefaultAnimationAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("h3",{id:"defaultanimationattributedefaultanimationattribute"},"DefaultAnimationAttribute.DefaultAnimationAttribute"),(0,n.kt)("p",null,"public DefaultAnimationAttribute(AnimationType handler, bool enableSerieDataAddedAnimation) "),(0,n.kt)("h2",{id:"defaulttooltipattribute"},"DefaultTooltipAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("h3",{id:"defaulttooltipattributedefaulttooltipattribute"},"DefaultTooltipAttribute.DefaultTooltipAttribute"),(0,n.kt)("p",null,"public DefaultTooltipAttribute(Tooltip.Type type, Tooltip.Trigger trigger) "),(0,n.kt)("h2",{id:"definesymbolsutil"},"DefineSymbolsUtil"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"definesymbolsutiladdglobaldefine"},"DefineSymbolsUtil.AddGlobalDefine"),(0,n.kt)("p",null,"public static void AddGlobalDefine(string symbol) "),(0,n.kt)("h3",{id:"definesymbolsutilremoveglobaldefine"},"DefineSymbolsUtil.RemoveGlobalDefine"),(0,n.kt)("p",null,"public static void RemoveGlobalDefine(string symbol) "),(0,n.kt)("h2",{id:"effectscatter"},"EffectScatter"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basescatter"},"BaseScatter")),(0,n.kt)("h3",{id:"effectscatteradddefaultserie"},"EffectScatter.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h2",{id:"emphasisstyle"},"EmphasisStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#statestyle"},"StateStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u9ad8\u4eae\u72b6\u6001\u6837\u5f0f\u3002"),(0,n.kt)("h2",{id:"emphasisstyleblurscope"},"EmphasisStyle.BlurScope"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6de1\u51fa\u8303\u56f4\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"GridCoord"),": \u6de1\u51fa\u8303\u56f4\u4e3a\u5750\u6807\u7cfb\uff0c\u9ed8\u8ba4\u4f7f\u7528\u8be5\u914d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Series"),": \u6de1\u51fa\u8303\u56f4\u4e3a\u7cfb\u5217\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Global"),": \u6de1\u51fa\u8303\u56f4\u4e3a\u5168\u5c40\u3002")),(0,n.kt)("h2",{id:"emphasisstylefocustype"},"EmphasisStyle.FocusType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u805a\u7126\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4e0d\u6de1\u51fa\u5176\u5b83\u56fe\u5f62\uff0c\u9ed8\u8ba4\u4f7f\u7528\u8be5\u914d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Self"),": \u53ea\u805a\u7126\uff08\u4e0d\u6de1\u51fa\uff09\u5f53\u524d\u9ad8\u4eae\u7684\u6570\u636e\u7684\u56fe\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Series"),": \u805a\u7126\u5f53\u524d\u9ad8\u4eae\u7684\u6570\u636e\u6240\u5728\u7684\u7cfb\u5217\u7684\u6240\u6709\u56fe\u5f62\u3002")),(0,n.kt)("h2",{id:"endlabelstyle"},"EndLabelStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("h3",{id:"endlabelstyleendlabelstyle"},"EndLabelStyle.EndLabelStyle"),(0,n.kt)("p",null,"public EndLabelStyle() "),(0,n.kt)("h2",{id:"formatterhelper"},"FormatterHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"formatterhelperneedformat"},"FormatterHelper.NeedFormat"),(0,n.kt)("p",null,"public static bool NeedFormat(string content) "),(0,n.kt)("h3",{id:"formatterhelperreplaceaxislabelcontent"},"FormatterHelper.ReplaceAxisLabelContent"),(0,n.kt)("p",null,"public static void ReplaceAxisLabelContent(ref string content, string value) "),(0,n.kt)("h3",{id:"formatterhelpertrimandreplaceline"},"FormatterHelper.TrimAndReplaceLine"),(0,n.kt)("p",null,"public static string TrimAndReplaceLine(string content) "),(0,n.kt)("h2",{id:"graphdata"},"GraphData"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6570\u636e\u7ed3\u6784-\u56fe\u3002"),(0,n.kt)("h3",{id:"graphdataaddedge"},"GraphData.AddEdge"),(0,n.kt)("p",null,"public GraphEdge AddEdge(string nodeId1, string nodeId2, double value) "),(0,n.kt)("h3",{id:"graphdataaddnode"},"GraphData.AddNode"),(0,n.kt)("p",null,"public GraphNode AddNode(string nodeId, string nodeName, int dataIndex, double value) "),(0,n.kt)("h3",{id:"graphdatabreadthfirsttraverse"},"GraphData.BreadthFirstTraverse"),(0,n.kt)("p",null,"public void BreadthFirstTraverse(GraphNode startNode, System.Action","<","GraphNode",">"," onTraverse) "),(0,n.kt)("h3",{id:"graphdataclear"},"GraphData.Clear"),(0,n.kt)("p",null,"public void Clear() "),(0,n.kt)("h3",{id:"graphdatadeepfirsttraverse"},"GraphData.DeepFirstTraverse"),(0,n.kt)("p",null,"public void DeepFirstTraverse(GraphNode startNode, System.Action","<","GraphNode",">"," onTraverse) "),(0,n.kt)("h3",{id:"graphdataeachnode"},"GraphData.EachNode"),(0,n.kt)("p",null,"public void EachNode(System.Action","<","GraphNode",">"," onEach) "),(0,n.kt)("h3",{id:"graphdataexpandallnodes"},"GraphData.ExpandAllNodes"),(0,n.kt)("p",null,"public void ExpandAllNodes(bool flag, int level = -1) "),(0,n.kt)("h3",{id:"graphdataexpandnode"},"GraphData.ExpandNode"),(0,n.kt)("p",null,"public void ExpandNode(string nodeId, bool flag) "),(0,n.kt)("h3",{id:"graphdatagetdepthnodes"},"GraphData.GetDepthNodes"),(0,n.kt)("p",null,"public List","<","List","<","GraphNode",">",">"," GetDepthNodes() "),(0,n.kt)("h3",{id:"graphdatagetedge"},"GraphData.GetEdge"),(0,n.kt)("p",null,"public GraphEdge GetEdge(string nodeId1, string nodeId2) "),(0,n.kt)("h3",{id:"graphdatagetexpandednodescount"},"GraphData.GetExpandedNodesCount"),(0,n.kt)("p",null,"public static int GetExpandedNodesCount(List","<","GraphNode",">"," nodes) "),(0,n.kt)("h3",{id:"graphdatagetmaxdepth"},"GraphData.GetMaxDepth"),(0,n.kt)("p",null,"public int GetMaxDepth() "),(0,n.kt)("h3",{id:"graphdatagetnode"},"GraphData.GetNode"),(0,n.kt)("p",null,"public GraphNode GetNode(string nodeId) "),(0,n.kt)("h3",{id:"graphdatagetnodedepth"},"GraphData.GetNodeDepth"),(0,n.kt)("p",null,"// public void GetNodeDepth(GraphNode node, ref int depth, int recursiveCount = 0) "),(0,n.kt)("p",null,"public int GetNodeDepth(GraphNode node, int recursiveCount = 0) "),(0,n.kt)("h3",{id:"graphdatagetnodestotalvalue"},"GraphData.GetNodesTotalValue"),(0,n.kt)("p",null,"public static double GetNodesTotalValue(List","<","GraphNode",">"," nodes) "),(0,n.kt)("h3",{id:"graphdatagetrootnodes"},"GraphData.GetRootNodes"),(0,n.kt)("p",null,"public List","<","GraphNode",">"," GetRootNodes() "),(0,n.kt)("h3",{id:"graphdatagraphdata"},"GraphData.GraphData"),(0,n.kt)("p",null,"public GraphData(bool directed) "),(0,n.kt)("h3",{id:"graphdataisallnodeinzeroposition"},"GraphData.IsAllNodeInZeroPosition"),(0,n.kt)("p",null,"public bool IsAllNodeInZeroPosition() "),(0,n.kt)("h3",{id:"graphdatarefresh"},"GraphData.Refresh"),(0,n.kt)("p",null,"public void Refresh() "),(0,n.kt)("h2",{id:"graphedge"},"GraphEdge"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u56fe\u7684\u8fb9\u3002"),(0,n.kt)("h3",{id:"graphedgegraphedge"},"GraphEdge.GraphEdge"),(0,n.kt)("p",null,"public GraphEdge(GraphNode node1, GraphNode node2, double value) "),(0,n.kt)("h3",{id:"graphedgeispointinedge"},"GraphEdge.IsPointInEdge"),(0,n.kt)("p",null,"public bool IsPointInEdge(Vector2 point) "),(0,n.kt)("h2",{id:"graphnode"},"GraphNode"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u56fe\u7684\u8282\u70b9\u3002"),(0,n.kt)("h3",{id:"graphnodedegree"},"GraphNode.degree"),(0,n.kt)("p",null,"public int degree "),(0,n.kt)("h3",{id:"graphnodeindegree"},"GraphNode.inDegree"),(0,n.kt)("p",null,"public int inDegree "),(0,n.kt)("h3",{id:"graphnodeoutdegree"},"GraphNode.outDegree"),(0,n.kt)("p",null,"public int outDegree "),(0,n.kt)("h3",{id:"graphnodeexpand"},"GraphNode.Expand"),(0,n.kt)("p",null,"public void Expand(bool flag) "),(0,n.kt)("h3",{id:"graphnodegraphnode"},"GraphNode.GraphNode"),(0,n.kt)("p",null,"public GraphNode(string id, string name, int dataIndex) "),(0,n.kt)("h3",{id:"graphnodeisallinedgescollapsed"},"GraphNode.IsAllInEdgesCollapsed"),(0,n.kt)("p",null,"public bool IsAllInEdgesCollapsed() "),(0,n.kt)("h3",{id:"graphnodeisanyinedgesexpanded"},"GraphNode.IsAnyInEdgesExpanded"),(0,n.kt)("p",null,"public bool IsAnyInEdgesExpanded() "),(0,n.kt)("h3",{id:"graphnodetostring"},"GraphNode.ToString"),(0,n.kt)("p",null,"public override string ToString() "),(0,n.kt)("h2",{id:"gridcoord"},"GridCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),",",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("p",null,"Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid."),(0,n.kt)("h3",{id:"gridcoordboundarypoint"},"GridCoord.BoundaryPoint"),(0,n.kt)("p",null,"public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref List","<","Vector3",">"," point)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed9\u5b9a\u7684\u7ebf\u6bb5\u548cGrid\u8fb9\u754c\u7684\u4ea4\u70b9"),(0,n.kt)("h3",{id:"gridcoordclamp"},"GridCoord.Clamp"),(0,n.kt)("p",null,"public void Clamp(ref Vector3 pos) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5c06\u4f4d\u7f6e\u9650\u5236\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoordclampx"},"GridCoord.ClampX"),(0,n.kt)("p",null,"public void ClampX(ref Vector3 pos) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5c06\u4f4d\u7f6e\u7684X\u9650\u5236\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoordclampy"},"GridCoord.ClampY"),(0,n.kt)("p",null,"public void ClampY(ref Vector3 pos) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5c06\u4f4d\u7f6e\u7684Y\u9650\u5236\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoordcontains"},"GridCoord.Contains"),(0,n.kt)("p",null,"public bool Contains(float x, float y)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed9\u5b9a\u7684\u4f4d\u7f6e\u662f\u5426\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("p",null,"public bool Contains(Vector3 pos, bool isYAxis) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u7ed9\u5b9a\u7684\u4f4d\u7f6e\u662f\u5426\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoordcontainsx"},"GridCoord.ContainsX"),(0,n.kt)("p",null,"public bool ContainsX(float x) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u7ed9\u5b9a\u7684x\u662f\u5426\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoordcontainsy"},"GridCoord.ContainsY"),(0,n.kt)("p",null,"public bool ContainsY(float y) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.7.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u7ed9\u5b9a\u7684y\u662f\u5426\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoordispointerenter"},"GridCoord.IsPointerEnter"),(0,n.kt)("p",null,"public bool IsPointerEnter()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6307\u9488\u662f\u5426\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoordnotanyintersect"},"GridCoord.NotAnyIntersect"),(0,n.kt)("p",null,"public bool NotAnyIntersect(Vector3 sp, Vector3 ep) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5224\u65ad\u7ed9\u5b9a\u7684\u7ebf\u6bb5\u662f\u5426\u4e0eGrid\u8fb9\u754c\u662f\u5426\u5b8c\u5168\u4e0d\u4f1a\u76f8\u4ea4\u3002"),(0,n.kt)("h3",{id:"gridcoordupdateruntimedata"},"GridCoord.UpdateRuntimeData"),(0,n.kt)("p",null,"public void UpdateRuntimeData(BaseChart chart) "),(0,n.kt)("h2",{id:"gridcoord3d"},"GridCoord3D"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),",",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid."),(0,n.kt)("h3",{id:"gridcoord3dclamp"},"GridCoord3D.Clamp"),(0,n.kt)("p",null,"public void Clamp(ref Vector3 pos)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5c06\u4f4d\u7f6e\u9650\u5236\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoord3dcontains"},"GridCoord3D.Contains"),(0,n.kt)("p",null,"public bool Contains(Vector3 pos)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed9\u5b9a\u7684\u4f4d\u7f6e\u662f\u5426\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoord3disleft"},"GridCoord3D.IsLeft"),(0,n.kt)("p",null,"public bool IsLeft()",(0,n.kt)("br",{parentName:"p"}),"\n","The opening of the coordinate system faces to the left. \u5750\u6807\u7cfb\u5f00\u53e3\u671d\u5411\u5de6\u8fb9\u3002"),(0,n.kt)("h3",{id:"gridcoord3dispointerenter"},"GridCoord3D.IsPointerEnter"),(0,n.kt)("p",null,"public bool IsPointerEnter()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6307\u9488\u662f\u5426\u5728\u7f51\u683c\u5185\u3002"),(0,n.kt)("h3",{id:"gridcoord3dnotanyintersect"},"GridCoord3D.NotAnyIntersect"),(0,n.kt)("p",null,"public bool NotAnyIntersect(Vector3 sp, Vector3 ep)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5224\u65ad\u7ed9\u5b9a\u7684\u7ebf\u6bb5\u662f\u5426\u4e0eGrid\u8fb9\u754c\u662f\u5426\u5b8c\u5168\u4e0d\u4f1a\u76f8\u4ea4\u3002"),(0,n.kt)("h3",{id:"gridcoord3dupdateruntimedata"},"GridCoord3D.UpdateRuntimeData"),(0,n.kt)("p",null,"public void UpdateRuntimeData(BaseChart chart) "),(0,n.kt)("h2",{id:"gridcoord3dcontext"},"GridCoord3DContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h2",{id:"gridcoordcontext"},"GridCoordContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h2",{id:"gridlayout"},"GridLayout"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u7f51\u683c\u5e03\u5c40\u7ec4\u4ef6\u3002\u7528\u4e8e\u7ba1\u7406\u591a\u4e2a",(0,n.kt)("inlineCode",{parentName:"p"},"GridCoord"),"\u7684\u5e03\u5c40\uff0c\u53ef\u4ee5\u901a\u8fc7",(0,n.kt)("inlineCode",{parentName:"p"},"row"),"\u548c",(0,n.kt)("inlineCode",{parentName:"p"},"column"),"\u6765\u63a7\u5236\u7f51\u683c\u7684\u884c\u5217\u6570\u3002"),(0,n.kt)("h3",{id:"gridlayoutupdateruntimedata"},"GridLayout.UpdateRuntimeData"),(0,n.kt)("p",null,"public void UpdateRuntimeData(BaseChart chart) "),(0,n.kt)("h2",{id:"gridlayoutcontext"},"GridLayoutContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h2",{id:"heatmap"},"Heatmap"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h3",{id:"heatmapcontainerindex"},"Heatmap.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"heatmapcontainterinstanceid"},"Heatmap.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h3",{id:"heatmapadddefaultserie"},"Heatmap.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h2",{id:"heatmapchart"},"HeatmapChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u70ed\u529b\u56fe\u4e3b\u8981\u901a\u8fc7\u989c\u8272\u53bb\u8868\u73b0\u6570\u503c\u7684\u5927\u5c0f\uff0c\u5fc5\u987b\u8981\u914d\u5408 visualMap \u7ec4\u4ef6\u4f7f\u7528\u3002 \u53ef\u4ee5\u5e94\u7528\u5728\u76f4\u89d2\u5750\u6807\u7cfb\u4ee5\u53ca\u5730\u7406\u5750\u6807\u7cfb\u4e0a\uff0c\u8fd9\u4e24\u4e2a\u5750\u6807\u7cfb\u4e0a\u7684\u8868\u73b0\u5f62\u5f0f\u76f8\u5dee\u5f88\u5927\uff0c\u76f4\u89d2\u5750\u6807\u7cfb\u4e0a\u5fc5\u987b\u8981\u4f7f\u7528\u4e24\u4e2a\u7c7b\u76ee\u8f74\u3002"),(0,n.kt)("h3",{id:"heatmapchartdefaultcountheatmapchart"},"HeatmapChart.DefaultCountHeatmapChart"),(0,n.kt)("p",null,"public void DefaultCountHeatmapChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u8ba1\u6570\u70ed\u529b\u56fe\u3002"),(0,n.kt)("h2",{id:"heatmaptype"},"HeatmapType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u70ed\u529b\u56fe\u7c7b\u578b\u3002\u901a\u8fc7\u989c\u8272\u6620\u5c04\u5212\u5206\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Data"),": \u6570\u636e\u6620\u5c04\u578b\u3002\u9ed8\u8ba4\u7528\u7b2c2\u7ef4\u6570\u636e\u4f5c\u4e3a\u989c\u8272\u6620\u5c04\u3002\u8981\u6c42\u6570\u636e\u81f3\u5c11\u67093\u4e2a\u7ef4\u5ea6\u6570\u636e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Count"),": \u4e2a\u6570\u6620\u5c04\u578b\u3002\u7edf\u8ba1\u6570\u636e\u5728\u5212\u5206\u7684\u683c\u5b50\u4e2d\u51fa\u73b0\u7684\u6b21\u6570\uff0c\u4f5c\u4e3a\u989c\u8272\u6620\u5c04\u3002\u8981\u6c42\u6570\u636e\u81f3\u5c11\u67092\u4e2a\u7ef4\u5ea6\u6570\u636e\u3002")),(0,n.kt)("h2",{id:"iconstyle"},"IconStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"iconstylealign"},"IconStyle.align"),(0,n.kt)("p",null,"public Align align",(0,n.kt)("br",{parentName:"p"}),"\n","\u6c34\u5e73\u65b9\u5411\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("h3",{id:"iconstyleautohidewhenlabelempty"},"IconStyle.autoHideWhenLabelEmpty"),(0,n.kt)("p",null,"public bool autoHideWhenLabelEmpty",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f53label\u5185\u5bb9\u4e3a\u7a7a\u65f6\u662f\u5426\u81ea\u52a8\u9690\u85cf\u56fe\u6807"),(0,n.kt)("h3",{id:"iconstylecolor"},"IconStyle.color"),(0,n.kt)("p",null,"public Color color",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u6807\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"iconstyleheight"},"IconStyle.height"),(0,n.kt)("p",null,"public float height",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u6807\u9ad8\u3002"),(0,n.kt)("h3",{id:"iconstylelayer"},"IconStyle.layer"),(0,n.kt)("p",null,"public Layer layer",(0,n.kt)("br",{parentName:"p"}),"\n","\u663e\u793a\u5728\u4e0a\u5c42\u8fd8\u662f\u5728\u4e0b\u5c42\u3002"),(0,n.kt)("h3",{id:"iconstyleoffset"},"IconStyle.offset"),(0,n.kt)("p",null,"public Vector3 offset",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u6807\u504f\u79fb\u3002"),(0,n.kt)("h3",{id:"iconstyleshow"},"IconStyle.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793a\u56fe\u6807\u3002"),(0,n.kt)("h3",{id:"iconstylesprite"},"IconStyle.sprite"),(0,n.kt)("p",null,"public Sprite sprite",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u6807\u7684\u56fe\u7247\u3002"),(0,n.kt)("h3",{id:"iconstyletype"},"IconStyle.type"),(0,n.kt)("p",null,"public Image.Type type",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u7247\u7684\u663e\u793a\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"iconstylewidth"},"IconStyle.width"),(0,n.kt)("p",null,"public float width",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u6807\u5bbd\u3002"),(0,n.kt)("h3",{id:"iconstyleclone"},"IconStyle.Clone"),(0,n.kt)("p",null,"public IconStyle Clone() "),(0,n.kt)("h3",{id:"iconstylecopy"},"IconStyle.Copy"),(0,n.kt)("p",null,"public void Copy(IconStyle iconStyle) "),(0,n.kt)("h3",{id:"iconstylereset"},"IconStyle.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h2",{id:"iconstylelayer-1"},"IconStyle.Layer"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"UnderText"),": The icon is display under the label text. \u56fe\u6807\u5728\u6807\u7b7e\u6587\u5b57\u4e0b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"AboveText"),": The icon is display above the label text. \u56fe\u6807\u5728\u6807\u7b7e\u6587\u5b57\u4e0a")),(0,n.kt)("h2",{id:"ignoredoc"},"IgnoreDoc"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("h3",{id:"ignoredocignoredoc"},"IgnoreDoc.IgnoreDoc"),(0,n.kt)("p",null,"public IgnoreDoc() "),(0,n.kt)("h2",{id:"imagestyle"},"ImageStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("h3",{id:"imagestyleautocolor"},"ImageStyle.autoColor"),(0,n.kt)("p",null,"public bool autoColor",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u81ea\u52a8\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"imagestylecolor"},"ImageStyle.color"),(0,n.kt)("p",null,"public Color color",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u6807\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"imagestyleheight"},"ImageStyle.height"),(0,n.kt)("p",null,"public float height",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u6807\u9ad8\u3002"),(0,n.kt)("h3",{id:"imagestyleshow"},"ImageStyle.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793a\u56fe\u6807\u3002"),(0,n.kt)("h3",{id:"imagestylesprite"},"ImageStyle.sprite"),(0,n.kt)("p",null,"public Sprite sprite",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u6807\u7684\u56fe\u7247\u3002"),(0,n.kt)("h3",{id:"imagestyletype"},"ImageStyle.type"),(0,n.kt)("p",null,"public Image.Type type",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u7247\u7684\u663e\u793a\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"imagestylewidth"},"ImageStyle.width"),(0,n.kt)("p",null,"public float width",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u6807\u5bbd\u3002"),(0,n.kt)("h3",{id:"imagestyleclone"},"ImageStyle.Clone"),(0,n.kt)("p",null,"public ImageStyle Clone() "),(0,n.kt)("h3",{id:"imagestylecopy"},"ImageStyle.Copy"),(0,n.kt)("p",null,"public void Copy(ImageStyle imageStyle) "),(0,n.kt)("h3",{id:"imagestylereset"},"ImageStyle.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h2",{id:"indicator"},"Indicator"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u7684\u6307\u793a\u5668\uff0c\u7528\u6765\u6307\u5b9a\u96f7\u8fbe\u56fe\u4e2d\u7684\u591a\u4e2a\u53d8\u91cf\uff08\u7ef4\u5ea6\uff09\u3002"),(0,n.kt)("h3",{id:"indicatorindicatorlist"},"Indicator.indicatorList"),(0,n.kt)("p",null,"public List","<","Indicator",">"," indicatorList",(0,n.kt)("br",{parentName:"p"}),"\n","\u6307\u793a\u5668\u5217\u8868\u3002"),(0,n.kt)("h3",{id:"indicatormax"},"Indicator.max"),(0,n.kt)("p",null,"public double max",(0,n.kt)("br",{parentName:"p"}),"\n","\u6307\u793a\u5668\u7684\u6700\u5927\u503c\uff0c\u9ed8\u8ba4\u4e3a 0 \u65e0\u9650\u5236\u3002"),(0,n.kt)("h3",{id:"indicatormin"},"Indicator.min"),(0,n.kt)("p",null,"public double min",(0,n.kt)("br",{parentName:"p"}),"\n","\u6307\u793a\u5668\u7684\u6700\u5c0f\u503c\uff0c\u9ed8\u8ba4\u4e3a 0 \u65e0\u9650\u5236\u3002"),(0,n.kt)("h3",{id:"indicatorname"},"Indicator.name"),(0,n.kt)("p",null,"public string name",(0,n.kt)("br",{parentName:"p"}),"\n","\u6307\u793a\u5668\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"indicatorshow"},"Indicator.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793a\u96f7\u8fbe\u5750\u6807\u7cfb\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"indicatortext"},"Indicator.text"),(0,n.kt)("p",null,"public Text text",(0,n.kt)("br",{parentName:"p"}),"\n","\u6307\u793a\u5668\u7684\u6587\u672c\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"indicatoraddindicator"},"Indicator.AddIndicator"),(0,n.kt)("p",null,"public RadarCoord.Indicator AddIndicator(string name, double min, double max) "),(0,n.kt)("h3",{id:"indicatoraddindicatorlist"},"Indicator.AddIndicatorList"),(0,n.kt)("p",null,"public void AddIndicatorList(List","<","string",">"," nameList, double min = 0, double max = 0) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.3.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("h3",{id:"indicatorcleardata"},"Indicator.ClearData"),(0,n.kt)("p",null,"public override void ClearData() "),(0,n.kt)("h3",{id:"indicatorgetformatterindicatorcontent"},"Indicator.GetFormatterIndicatorContent"),(0,n.kt)("p",null,"public string GetFormatterIndicatorContent(string indicatorName) "),(0,n.kt)("h3",{id:"indicatorgetindicator"},"Indicator.GetIndicator"),(0,n.kt)("p",null,"public RadarCoord.Indicator GetIndicator(int indicatorIndex) "),(0,n.kt)("h3",{id:"indicatorgetindicatormax"},"Indicator.GetIndicatorMax"),(0,n.kt)("p",null,"public double GetIndicatorMax(int index) "),(0,n.kt)("h3",{id:"indicatorgetindicatormin"},"Indicator.GetIndicatorMin"),(0,n.kt)("p",null,"public double GetIndicatorMin(int index) "),(0,n.kt)("h3",{id:"indicatorgetindicatorname"},"Indicator.GetIndicatorName"),(0,n.kt)("p",null,"public string GetIndicatorName(int indicatorIndex) "),(0,n.kt)("h3",{id:"indicatorgetindicatorposition"},"Indicator.GetIndicatorPosition"),(0,n.kt)("p",null,"public Vector3 GetIndicatorPosition(int index) "),(0,n.kt)("h3",{id:"indicatorisinindicatorrange"},"Indicator.IsInIndicatorRange"),(0,n.kt)("p",null,"public bool IsInIndicatorRange(int index, double value) "),(0,n.kt)("h3",{id:"indicatorisinrange"},"Indicator.IsInRange"),(0,n.kt)("p",null,"public bool IsInRange(double value) "),(0,n.kt)("h3",{id:"indicatorispointerenter"},"Indicator.IsPointerEnter"),(0,n.kt)("p",null,"public bool IsPointerEnter() "),(0,n.kt)("h3",{id:"indicatorsetdefaultvalue"},"Indicator.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue() "),(0,n.kt)("h3",{id:"indicatorupdateindicator"},"Indicator.UpdateIndicator"),(0,n.kt)("p",null,"public bool UpdateIndicator(int indicatorIndex, string name, double min, double max) "),(0,n.kt)("h2",{id:"ineedseriecontainer"},"INeedSerieContainer"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#bar"},"Bar"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedbar"},"SimplifiedBar"),",",(0,n.kt)("a",{parentName:"p",href:"#candlestick"},"Candlestick"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedcandlestick"},"SimplifiedCandlestick"),",",(0,n.kt)("a",{parentName:"p",href:"#heatmap"},"Heatmap"),",",(0,n.kt)("a",{parentName:"p",href:"#line"},"Line"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedline"},"SimplifiedLine"),",",(0,n.kt)("a",{parentName:"p",href:"#parallel"},"Parallel"),",",(0,n.kt)("a",{parentName:"p",href:"#radar"},"Radar"),",",(0,n.kt)("a",{parentName:"p",href:"#basescatter"},"BaseScatter")," "),(0,n.kt)("h2",{id:"inputhelper"},"InputHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"inputhelpergetkeydown"},"InputHelper.GetKeyDown"),(0,n.kt)("p",null,"public static bool GetKeyDown(KeyCode keyCode) "),(0,n.kt)("h3",{id:"inputhelpergettouch"},"InputHelper.GetTouch"),(0,n.kt)("p",null,"public static Touch GetTouch(int v) "),(0,n.kt)("h2",{id:"interactdata"},"InteractData"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"interactdatareset"},"InteractData.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h3",{id:"interactdatasetcolor"},"InteractData.SetColor"),(0,n.kt)("p",null,"public void SetColor(ref bool needInteract, Color32 color, Color32 toColor) "),(0,n.kt)("h3",{id:"interactdatasetposition"},"InteractData.SetPosition"),(0,n.kt)("p",null,"public void SetPosition(ref bool needInteract, Vector3 pos) "),(0,n.kt)("h3",{id:"interactdatasetvalue"},"InteractData.SetValue"),(0,n.kt)("p",null,"public void SetValue(ref bool needInteract, float value, bool previousValueZero = false) "),(0,n.kt)("h3",{id:"interactdatasetvalueandcolor"},"InteractData.SetValueAndColor"),(0,n.kt)("p",null,"public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor) "),(0,n.kt)("h3",{id:"interactdatatostring"},"InteractData.ToString"),(0,n.kt)("p",null,"public override string ToString() "),(0,n.kt)("h3",{id:"interactdatatrygetcolor"},"InteractData.TryGetColor"),(0,n.kt)("p",null,"public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250) "),(0,n.kt)("h3",{id:"interactdatatrygetposition"},"InteractData.TryGetPosition"),(0,n.kt)("p",null,"public bool TryGetPosition(ref Vector3 pos, ref bool interacting, float animationDuration = 250) "),(0,n.kt)("h3",{id:"interactdatatrygetvalue"},"InteractData.TryGetValue"),(0,n.kt)("p",null,"public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250) "),(0,n.kt)("h3",{id:"interactdatatrygetvalueandcolor"},"InteractData.TryGetValueAndColor"),(0,n.kt)("p",null,"public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref bool interacting, float animationDuration = 250) "),(0,n.kt)("p",null,"public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250) "),(0,n.kt)("h2",{id:"ipropertychanged"},"IPropertyChanged"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#location"},"Location"),",",(0,n.kt)("a",{parentName:"p",href:"#comment"},"Comment"),",",(0,n.kt)("a",{parentName:"p",href:"#legend"},"Legend"),",",(0,n.kt)("a",{parentName:"p",href:"#title"},"Title")," "),(0,n.kt)("p",null,"\u5c5e\u6027\u53d8\u66f4\u63a5\u53e3"),(0,n.kt)("h2",{id:"iseriecomponent"},"ISerieComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#areastyle"},"AreaStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#imagestyle"},"ImageStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#linearrow"},"LineArrow"),",",(0,n.kt)("a",{parentName:"p",href:"#labelline"},"LabelLine"),",",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#blurstyle"},"BlurStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#emphasisstyle"},"EmphasisStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#selectstyle"},"SelectStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#titlestyle"},"TitleStyle")," "),(0,n.kt)("p",null,"\u53ef\u7528\u4e8eSerie\u7684\u7ec4\u4ef6\u3002"),(0,n.kt)("h2",{id:"iseriecontainer"},"ISerieContainer"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#radarcoord"},"RadarCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#calendarcoord"},"CalendarCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#gridcoord"},"GridCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#gridcoord3d"},"GridCoord3D"),",",(0,n.kt)("a",{parentName:"p",href:"#parallelcoord"},"ParallelCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#polarcoord"},"PolarCoord")," "),(0,n.kt)("h2",{id:"iseriedatacomponent"},"ISerieDataComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#areastyle"},"AreaStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#imagestyle"},"ImageStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#itemstyle"},"ItemStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#seriesymbol"},"SerieSymbol"),",",(0,n.kt)("a",{parentName:"p",href:"#labelline"},"LabelLine"),",",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#blurstyle"},"BlurStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#emphasisstyle"},"EmphasisStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#selectstyle"},"SelectStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#titlestyle"},"TitleStyle")," "),(0,n.kt)("p",null,"\u53ef\u7528\u4e8eSerieData\u7684\u7ec4\u4ef6\u3002"),(0,n.kt)("h2",{id:"isimplifiedserie"},"ISimplifiedSerie"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedbar"},"SimplifiedBar"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedcandlestick"},"SimplifiedCandlestick"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedline"},"SimplifiedLine")," "),(0,n.kt)("h2",{id:"itemstyle"},"ItemStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u56fe\u5f62\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"itemstylegetbordercolor"},"ItemStyle.GetBorderColor"),(0,n.kt)("p",null,"public Color32 GetBorderColor(Color32 defaultColor) "),(0,n.kt)("h3",{id:"itemstylegetbordercolor0"},"ItemStyle.GetBorderColor0"),(0,n.kt)("p",null,"public Color32 GetBorderColor0(Color32 defaultColor) "),(0,n.kt)("h3",{id:"itemstylegetcolor"},"ItemStyle.GetColor"),(0,n.kt)("p",null,"public Color32 GetColor(Color32 defaultColor) "),(0,n.kt)("h3",{id:"itemstylegetcolor0"},"ItemStyle.GetColor0"),(0,n.kt)("p",null,"public Color32 GetColor0(Color32 defaultColor) "),(0,n.kt)("h3",{id:"itemstylegetgradientcolor"},"ItemStyle.GetGradientColor"),(0,n.kt)("p",null,"public Color32 GetGradientColor(float value, Color32 defaultColor) "),(0,n.kt)("h3",{id:"itemstylegettocolor"},"ItemStyle.GetToColor"),(0,n.kt)("p",null,"public Color32 GetToColor() "),(0,n.kt)("h3",{id:"itemstyleisneedcorner"},"ItemStyle.IsNeedCorner"),(0,n.kt)("p",null,"public bool IsNeedCorner() "),(0,n.kt)("h3",{id:"itemstyleisneedgradient"},"ItemStyle.IsNeedGradient"),(0,n.kt)("p",null,"public bool IsNeedGradient() "),(0,n.kt)("h3",{id:"itemstylereset"},"ItemStyle.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h2",{id:"iupdateruntimedata"},"IUpdateRuntimeData"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#singleaxis"},"SingleAxis"),",",(0,n.kt)("a",{parentName:"p",href:"#datazoom"},"DataZoom"),",",(0,n.kt)("a",{parentName:"p",href:"#calendarcoord"},"CalendarCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#gridcoord"},"GridCoord"),",",(0,n.kt)("a",{parentName:"p",href:"#gridlayout"},"GridLayout"),",",(0,n.kt)("a",{parentName:"p",href:"#gridcoord3d"},"GridCoord3D"),",",(0,n.kt)("a",{parentName:"p",href:"#parallelcoord"},"ParallelCoord")," "),(0,n.kt)("h2",{id:"jsonutil"},"JsonUtil"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"jsonutilgetjsonarrayt"},"JsonUtil.GetJsonArray","<","T",">"),(0,n.kt)("p",null,"public static T[] GetJsonArray","<","T",">","(string json) "),(0,n.kt)("h3",{id:"jsonutilgetjsonobjectt"},"JsonUtil.GetJsonObject","<","T",">"),(0,n.kt)("p",null,"public static T GetJsonObject","<","T",">","(string json) "),(0,n.kt)("h3",{id:"jsonutilgetwebjsont"},"JsonUtil.GetWebJson","<","T",">"),(0,n.kt)("p",null,"public static IEnumerator GetWebJson","<","T",">","(string url, Action","<","T",">"," callback) "),(0,n.kt)("h2",{id:"labelline"},"LabelLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u6807\u7b7e\u7684\u5f15\u5bfc\u7ebf"),(0,n.kt)("h3",{id:"labellinegetendsymboloffset"},"LabelLine.GetEndSymbolOffset"),(0,n.kt)("p",null,"public Vector3 GetEndSymbolOffset() "),(0,n.kt)("h3",{id:"labellinegetstartsymboloffset"},"LabelLine.GetStartSymbolOffset"),(0,n.kt)("p",null,"public Vector3 GetStartSymbolOffset() "),(0,n.kt)("h3",{id:"labellinereset"},"LabelLine.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h2",{id:"labellinelinetype"},"LabelLine.LineType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6807\u7b7e\u89c6\u89c9\u5f15\u5bfc\u7ebf\u7c7b\u578b"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BrokenLine"),": \u6298\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Curves"),": \u66f2\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"HorizontalLine"),": \u6c34\u5e73\u7ebf")),(0,n.kt)("h2",{id:"labelstyle"},"LabelStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axislabel"},"AxisLabel"),",",(0,n.kt)("a",{parentName:"p",href:"#endlabelstyle"},"EndLabelStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#titlestyle"},"TitleStyle")," "),(0,n.kt)("p",null,"\u56fe\u5f62\u4e0a\u7684\u6587\u672c\u6807\u7b7e\uff0c\u53ef\u7528\u4e8e\u8bf4\u660e\u56fe\u5f62\u7684\u4e00\u4e9b\u6570\u636e\u4fe1\u606f\uff0c\u6bd4\u5982\u503c\uff0c\u540d\u79f0\u7b49\u3002"),(0,n.kt)("h3",{id:"labelstyleclone"},"LabelStyle.Clone"),(0,n.kt)("p",null,"public virtual LabelStyle Clone() "),(0,n.kt)("h3",{id:"labelstylecopy"},"LabelStyle.Copy"),(0,n.kt)("p",null,"public virtual void Copy(LabelStyle label) "),(0,n.kt)("h3",{id:"labelstylegetcolor"},"LabelStyle.GetColor"),(0,n.kt)("p",null,"public Color GetColor(Color defaultColor) "),(0,n.kt)("h3",{id:"labelstylegetformattercontent"},"LabelStyle.GetFormatterContent"),(0,n.kt)("p",null,"public virtual string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false) "),(0,n.kt)("h3",{id:"labelstylegetformatterdatetime"},"LabelStyle.GetFormatterDateTime"),(0,n.kt)("p",null,"public string GetFormatterDateTime(int labelIndex, double value, double minValue, double maxValue) "),(0,n.kt)("h3",{id:"labelstylegetoffset"},"LabelStyle.GetOffset"),(0,n.kt)("p",null,"public Vector3 GetOffset(float radius) "),(0,n.kt)("h3",{id:"labelstyleisautosize"},"LabelStyle.IsAutoSize"),(0,n.kt)("p",null,"public bool IsAutoSize() "),(0,n.kt)("h3",{id:"labelstyleisdefaultposition"},"LabelStyle.IsDefaultPosition"),(0,n.kt)("p",null,"public bool IsDefaultPosition(Position position) "),(0,n.kt)("h3",{id:"labelstyleisinside"},"LabelStyle.IsInside"),(0,n.kt)("p",null,"public bool IsInside()",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u5728\u5185\u90e8\u3002"),(0,n.kt)("h3",{id:"labelstylereset"},"LabelStyle.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h2",{id:"labelstyleposition"},"LabelStyle.Position"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6807\u7b7e\u7684\u4f4d\u7f6e\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Default"),": \u6807\u7b7e\u7684\u4f4d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Outside"),": \u997c\u56fe\u6247\u533a\u5916\u4fa7\uff0c\u901a\u8fc7\u89c6\u89c9\u5f15\u5bfc\u7ebf\u8fde\u5230\u76f8\u5e94\u7684\u6247\u533a\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Inside"),": \u997c\u56fe\u6247\u533a\u5185\u90e8\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Center"),": \u5728\u997c\u56fe\u4e2d\u5fc3\u4f4d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Top"),": \u56fe\u5f62\u6807\u5fd7\u7684\u9876\u90e8\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Bottom"),": \u56fe\u5f62\u6807\u5fd7\u7684\u5e95\u90e8\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Left"),": \u56fe\u5f62\u6807\u5fd7\u7684\u5de6\u8fb9\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Right"),": \u56fe\u5f62\u6807\u5fd7\u7684\u53f3\u8fb9\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Start"),": \u7ebf\u7684\u8d77\u59cb\u70b9\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Middle"),": \u7ebf\u7684\u4e2d\u70b9\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"End"),": \u7ebf\u7684\u7ed3\u675f\u70b9\u3002")),(0,n.kt)("h2",{id:"lang"},"Lang"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=scriptableobject"},"ScriptableObject")),(0,n.kt)("p",null,"\u56fd\u9645\u5316\u8bed\u8a00\u8868\u3002"),(0,n.kt)("h3",{id:"langgetcandlestickdimensionname"},"Lang.GetCandlestickDimensionName"),(0,n.kt)("p",null,"public string GetCandlestickDimensionName(int i) "),(0,n.kt)("h3",{id:"langgetday"},"Lang.GetDay"),(0,n.kt)("p",null,"public string GetDay(int day) "),(0,n.kt)("h3",{id:"langgetmonthabbr"},"Lang.GetMonthAbbr"),(0,n.kt)("p",null,"public string GetMonthAbbr(int month) "),(0,n.kt)("h2",{id:"langcandlestick"},"LangCandlestick"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"langcandlestickliststring"},"LangCandlestick.List","<","string",">","()"),(0,n.kt)("p",null,"public List","<","string",">"," dimensionNames = new List","<","string",">","() "),(0,n.kt)("h2",{id:"langtime"},"LangTime"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"langtimeliststring"},"LangTime.List","<","string",">"),(0,n.kt)("p",null,"public List","<","string",">"," dayOfMonth = new List","<","string",">","() "),(0,n.kt)("p",null,"public List","<","string",">"," dayOfWeek = new List","<","string",">","() "),(0,n.kt)("p",null,"public List","<","string",">"," dayOfWeekAbbr = new List","<","string",">","() "),(0,n.kt)("p",null,"public List","<","string",">"," monthAbbr = new List","<","string",">","() "),(0,n.kt)("h2",{id:"layerhelper"},"LayerHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"layerhelperisfixedwidthheight"},"LayerHelper.IsFixedWidthHeight"),(0,n.kt)("p",null,"public static bool IsFixedWidthHeight(RectTransform rt) "),(0,n.kt)("h3",{id:"layerhelperisstretchpivot"},"LayerHelper.IsStretchPivot"),(0,n.kt)("p",null,"public static bool IsStretchPivot(RectTransform rt) "),(0,n.kt)("h2",{id:"legend"},"Legend"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#ipropertychanged"},"IPropertyChanged")),(0,n.kt)("p",null,"\u56fe\u4f8b\u7ec4\u4ef6\u3002 \u56fe\u4f8b\u7ec4\u4ef6\u5c55\u73b0\u4e86\u4e0d\u540c\u7cfb\u5217\u7684\u6807\u8bb0\uff0c\u989c\u8272\u548c\u540d\u5b57\u3002\u53ef\u4ee5\u901a\u8fc7\u70b9\u51fb\u56fe\u4f8b\u63a7\u5236\u54ea\u4e9b\u7cfb\u5217\u4e0d\u663e\u793a\u3002"),(0,n.kt)("h3",{id:"legendvertsdirty"},"Legend.vertsDirty"),(0,n.kt)("p",null,"public override bool vertsDirty",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u662f\u5426\u9700\u8981\u5237\u65b0\uff08\u56fe\u4f8b\u7ec4\u4ef6\u4e0d\u9700\u8981\u5237\u65b0\u56fe\u8868\uff09"),(0,n.kt)("h3",{id:"legendadddata"},"Legend.AddData"),(0,n.kt)("p",null,"public void AddData(string name)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u56fe\u4f8b\u3002"),(0,n.kt)("h3",{id:"legendclearcomponentdirty"},"Legend.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h3",{id:"legendcleardata"},"Legend.ClearData"),(0,n.kt)("p",null,"public override void ClearData()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e05\u7a7a\u3002"),(0,n.kt)("h3",{id:"legendcontainsdata"},"Legend.ContainsData"),(0,n.kt)("p",null,"public bool ContainsData(string name)",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u5305\u62ec\u7531\u6307\u5b9a\u540d\u5b57\u7684\u56fe\u4f8b"),(0,n.kt)("h3",{id:"legendgetcolor"},"Legend.GetColor"),(0,n.kt)("p",null,"public Color GetColor(int index) "),(0,n.kt)("h3",{id:"legendgetdata"},"Legend.GetData"),(0,n.kt)("p",null,"public string GetData(int index)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6307\u5b9a\u7d22\u5f15\u7684\u56fe\u4f8b\u3002"),(0,n.kt)("h3",{id:"legendgeticon"},"Legend.GetIcon"),(0,n.kt)("p",null,"public Sprite GetIcon(int index)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6307\u5b9a\u7d22\u5f15\u7684\u56fe\u4f8b\u6309\u94ae\u3002"),(0,n.kt)("h3",{id:"legendgetindex"},"Legend.GetIndex"),(0,n.kt)("p",null,"public int GetIndex(string legendName)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6307\u5b9a\u56fe\u4f8b\u7684\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"legendgetposition"},"Legend.GetPosition"),(0,n.kt)("p",null,"public Vector3 GetPosition(int index, Vector3 defaultPos) "),(0,n.kt)("h3",{id:"legendonchanged"},"Legend.OnChanged"),(0,n.kt)("p",null,"public void OnChanged()",(0,n.kt)("br",{parentName:"p"}),"\n","\u53c2\u6570\u53d8\u66f4\u65f6\u7684\u56de\u8c03\u5904\u7406\u3002"),(0,n.kt)("h3",{id:"legendremovebutton"},"Legend.RemoveButton"),(0,n.kt)("p",null,"public void RemoveButton()",(0,n.kt)("br",{parentName:"p"}),"\n","\u79fb\u9664\u6240\u6709\u56fe\u4f8b\u6309\u94ae\u3002"),(0,n.kt)("h3",{id:"legendremovedata"},"Legend.RemoveData"),(0,n.kt)("p",null,"public void RemoveData(string name)",(0,n.kt)("br",{parentName:"p"}),"\n","\u79fb\u9664\u6307\u5b9a\u540d\u5b57\u7684\u56fe\u4f8b\u3002"),(0,n.kt)("h3",{id:"legendsetbutton"},"Legend.SetButton"),(0,n.kt)("p",null,"public void SetButton(string name, LegendItem item, int total)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed9\u56fe\u4f8b\u7ed1\u5b9a\u6309\u94ae\u3002"),(0,n.kt)("h3",{id:"legendupdatebuttoncolor"},"Legend.UpdateButtonColor"),(0,n.kt)("p",null,"public void UpdateButtonColor(string name, Color color)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u56fe\u4f8b\u6309\u94ae\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"legendupdatecontentcolor"},"Legend.UpdateContentColor"),(0,n.kt)("p",null,"public void UpdateContentColor(string name, Color color)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u56fe\u4f8b\u6587\u5b57\u989c\u8272\u3002"),(0,n.kt)("h2",{id:"legendselectedmode"},"Legend.SelectedMode"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u56fe\u4f8b\u9009\u62e9\u7684\u6a21\u5f0f\uff0c\u63a7\u5236\u662f\u5426\u53ef\u4ee5\u901a\u8fc7\u70b9\u51fb\u56fe\u4f8b\u6539\u53d8\u7cfb\u5217\u7684\u663e\u793a\u72b6\u6001\u3002\u9ed8\u8ba4\u5f00\u542f\u56fe\u4f8b\u9009\u62e9\uff0c\u53ef\u4ee5\u8bbe\u6210 None \u5173\u95ed\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Multiple"),": \u591a\u9009\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Single"),": \u5355\u9009\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u65e0\u6cd5\u9009\u62e9\u3002")),(0,n.kt)("h2",{id:"legendtype"},"Legend.Type"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u56fe\u4f8b\u7ec4\u4ef6\u3002 \u56fe\u4f8b\u7ec4\u4ef6\u5c55\u73b0\u4e86\u4e0d\u540c\u7cfb\u5217\u7684\u6807\u8bb0\uff0c\u989c\u8272\u548c\u540d\u5b57\u3002\u53ef\u4ee5\u901a\u8fc7\u70b9\u51fb\u56fe\u4f8b\u63a7\u5236\u54ea\u4e9b\u7cfb\u5217\u4e0d\u663e\u793a\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u81ea\u52a8\u5339\u914d\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u56fe\u6807\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyCircle"),": \u7a7a\u5fc3\u5706\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Circle"),": \u5706\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Rect"),": \u6b63\u65b9\u5f62\u3002\u53ef\u901a\u8fc7Setting\u7684legendIconCornerRadius\u53c2\u6570\u8c03\u6574\u5706\u89d2\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Triangle"),": \u4e09\u89d2\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Diamond"),": \u83f1\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Candlestick"),": \u70db\u53f0\uff08\u53ef\u7528\u4e8eK\u7ebf\u56fe\uff09\u3002")),(0,n.kt)("h2",{id:"legendcontext"},"LegendContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h3",{id:"legendcontextbackground"},"LegendContext.background"),(0,n.kt)("p",null,"public Image background "),(0,n.kt)("h3",{id:"legendcontextcenter"},"LegendContext.center"),(0,n.kt)("p",null,"public Vector2 center "),(0,n.kt)("h3",{id:"legendcontextheight"},"LegendContext.height"),(0,n.kt)("p",null,"public float height",(0,n.kt)("br",{parentName:"p"}),"\n","\u8fd0\u884c\u65f6\u56fe\u4f8b\u7684\u603b\u9ad8\u5ea6"),(0,n.kt)("h3",{id:"legendcontextwidth"},"LegendContext.width"),(0,n.kt)("p",null,"public float width",(0,n.kt)("br",{parentName:"p"}),"\n","\u8fd0\u884c\u65f6\u56fe\u4f8b\u7684\u603b\u5bbd\u5ea6"),(0,n.kt)("h2",{id:"legendhelper"},"LegendHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"legendhelpercheckdatahighlighted"},"LegendHelper.CheckDataHighlighted"),(0,n.kt)("p",null,"public static int CheckDataHighlighted(Serie serie, string legendName, bool heighlight) "),(0,n.kt)("h3",{id:"legendhelpercheckdatashow"},"LegendHelper.CheckDataShow"),(0,n.kt)("p",null,"public static bool CheckDataShow(Serie serie, string legendName, bool show) "),(0,n.kt)("h3",{id:"legendhelpergetcontentcolor"},"LegendHelper.GetContentColor"),(0,n.kt)("p",null,"public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active) "),(0,n.kt)("h3",{id:"legendhelpergeticoncolor"},"LegendHelper.GetIconColor"),(0,n.kt)("p",null,"public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active) "),(0,n.kt)("h3",{id:"legendhelperresetitemposition"},"LegendHelper.ResetItemPosition"),(0,n.kt)("p",null,"public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight) "),(0,n.kt)("h3",{id:"legendhelpersetlegendbackground"},"LegendHelper.SetLegendBackground"),(0,n.kt)("p",null,"public static void SetLegendBackground(Legend legend, ImageStyle style) "),(0,n.kt)("h2",{id:"legenditem"},"LegendItem"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"legenditembutton"},"LegendItem.button"),(0,n.kt)("p",null,"public Button button "),(0,n.kt)("h3",{id:"legenditemgameobject"},"LegendItem.gameObject"),(0,n.kt)("p",null,"public GameObject gameObject "),(0,n.kt)("h3",{id:"legenditemindex"},"LegendItem.index"),(0,n.kt)("p",null,"public int index "),(0,n.kt)("h3",{id:"legenditemlegendname"},"LegendItem.legendName"),(0,n.kt)("p",null,"public string legendName "),(0,n.kt)("h3",{id:"legenditemname"},"LegendItem.name"),(0,n.kt)("p",null,"public string name "),(0,n.kt)("h3",{id:"legenditemtext"},"LegendItem.text"),(0,n.kt)("p",null,"public ChartText text "),(0,n.kt)("h3",{id:"legenditemgeticoncolor"},"LegendItem.GetIconColor"),(0,n.kt)("p",null,"public Color GetIconColor() "),(0,n.kt)("h3",{id:"legenditemgeticonrect"},"LegendItem.GetIconRect"),(0,n.kt)("p",null,"public Rect GetIconRect() "),(0,n.kt)("h3",{id:"legenditemsetactive"},"LegendItem.SetActive"),(0,n.kt)("p",null,"public void SetActive(bool active) "),(0,n.kt)("h3",{id:"legenditemsetbackground"},"LegendItem.SetBackground"),(0,n.kt)("p",null,"public void SetBackground(ImageStyle imageStyle) "),(0,n.kt)("h3",{id:"legenditemsetbutton"},"LegendItem.SetButton"),(0,n.kt)("p",null,"public void SetButton(Button button) "),(0,n.kt)("h3",{id:"legenditemsetcontent"},"LegendItem.SetContent"),(0,n.kt)("p",null,"public bool SetContent(string content) "),(0,n.kt)("h3",{id:"legenditemsetcontentbackgroundcolor"},"LegendItem.SetContentBackgroundColor"),(0,n.kt)("p",null,"public void SetContentBackgroundColor(Color color) "),(0,n.kt)("h3",{id:"legenditemsetcontentcolor"},"LegendItem.SetContentColor"),(0,n.kt)("p",null,"public void SetContentColor(Color color) "),(0,n.kt)("h3",{id:"legenditemsetcontentposition"},"LegendItem.SetContentPosition"),(0,n.kt)("p",null,"public void SetContentPosition(Vector3 offset) "),(0,n.kt)("h3",{id:"legenditemseticon"},"LegendItem.SetIcon"),(0,n.kt)("p",null,"public void SetIcon(Image icon) "),(0,n.kt)("h3",{id:"legenditemseticonactive"},"LegendItem.SetIconActive"),(0,n.kt)("p",null,"public void SetIconActive(bool active) "),(0,n.kt)("h3",{id:"legenditemseticoncolor"},"LegendItem.SetIconColor"),(0,n.kt)("p",null,"public void SetIconColor(Color color) "),(0,n.kt)("h3",{id:"legenditemseticonimage"},"LegendItem.SetIconImage"),(0,n.kt)("p",null,"public void SetIconImage(Sprite image) "),(0,n.kt)("h3",{id:"legenditemseticonsize"},"LegendItem.SetIconSize"),(0,n.kt)("p",null,"public void SetIconSize(float width, float height) "),(0,n.kt)("h3",{id:"legenditemsetobject"},"LegendItem.SetObject"),(0,n.kt)("p",null,"public void SetObject(GameObject obj) "),(0,n.kt)("h3",{id:"legenditemsetposition"},"LegendItem.SetPosition"),(0,n.kt)("p",null,"public void SetPosition(Vector3 position) "),(0,n.kt)("h3",{id:"legenditemsettext"},"LegendItem.SetText"),(0,n.kt)("p",null,"public void SetText(ChartText text) "),(0,n.kt)("h3",{id:"legenditemsettextbackground"},"LegendItem.SetTextBackground"),(0,n.kt)("p",null,"public void SetTextBackground(Image image) "),(0,n.kt)("h2",{id:"legendtheme"},"LegendTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"legendthemecopy"},"LegendTheme.Copy"),(0,n.kt)("p",null,"public void Copy(LegendTheme theme) "),(0,n.kt)("h3",{id:"legendthemelegendtheme"},"LegendTheme.LegendTheme"),(0,n.kt)("p",null,"public LegendTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h2",{id:"level"},"Level"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"leveldepth"},"Level.depth"),(0,n.kt)("p",null,"public int depth",(0,n.kt)("br",{parentName:"p"}),"\n","\u5c42\u7ea7\u6df1\u5ea6\u3002"),(0,n.kt)("h3",{id:"levelitemstyle"},"Level.itemStyle"),(0,n.kt)("p",null,"public ItemStyle itemStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9879\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"levellabel"},"Level.label"),(0,n.kt)("p",null,"public LabelStyle label",(0,n.kt)("br",{parentName:"p"}),"\n","\u6587\u672c\u6807\u7b7e\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"levellinestyle"},"Level.lineStyle"),(0,n.kt)("p",null,"public LineStyle lineStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ebf\u6761\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"levelupperlabel"},"Level.upperLabel"),(0,n.kt)("p",null,"public LabelStyle upperLabel",(0,n.kt)("br",{parentName:"p"}),"\n","\u4e0a\u65b9\u7684\u6587\u672c\u6807\u7b7e\u6837\u5f0f\u3002"),(0,n.kt)("h2",{id:"levelstyle"},"LevelStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("h3",{id:"levelstylelevels"},"LevelStyle.levels"),(0,n.kt)("p",null,"public List","<","Level",">"," levels",(0,n.kt)("br",{parentName:"p"}),"\n","\u5404\u5c42\u8282\u70b9\u5bf9\u5e94\u7684\u914d\u7f6e\u3002\u5f53enableLevels\u4e3atrue\u65f6\u751f\u6548\uff0clevels","[0]","\u5bf9\u5e94\u7684\u7b2c\u4e00\u5c42\u7684\u914d\u7f6e\uff0clevels","[1]","\u5bf9\u5e94\u7b2c\u4e8c\u5c42\uff0c\u4f9d\u6b21\u7c7b\u63a8\u3002\u5f53levels\u4e2d\u6ca1\u6709\u5bf9\u5e94\u5c42\u65f6\u7528\u9ed8\u8ba4\u7684\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"levelstyleshow"},"LevelStyle.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u542f\u7528LevelStyle"),(0,n.kt)("h2",{id:"line"},"Line"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h3",{id:"linecontainerindex"},"Line.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"linecontainterinstanceid"},"Line.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h3",{id:"lineadddefaultserie"},"Line.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h3",{id:"lineconvertserie"},"Line.ConvertSerie"),(0,n.kt)("p",null,"public static Line ConvertSerie(Serie serie) "),(0,n.kt)("h2",{id:"linearrow"},"LineArrow"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent")),(0,n.kt)("h2",{id:"linearrowposition"},"LineArrow.Position"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"End"),": \u672b\u7aef\u7bad\u5934"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Start"),": \u5934\u7aef\u7bad\u5934")),(0,n.kt)("h2",{id:"linechart"},"LineChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u6298\u7ebf\u56fe\u662f\u7528\u6298\u7ebf\u5c06\u5404\u4e2a\u6570\u636e\u70b9\u6807\u5fd7\u8fde\u63a5\u8d77\u6765\u7684\u56fe\u8868\uff0c\u7528\u4e8e\u5c55\u73b0\u6570\u636e\u7684\u53d8\u5316\u8d8b\u52bf\u3002\u53ef\u7528\u4e8e\u76f4\u89d2\u5750\u6807\u7cfb\u548c\u6781\u5750\u6807\u7cfb\u4e0a\u3002 \u8bbe\u7f6e areaStyle \u540e\u53ef\u4ee5\u7ed8\u5236\u9762\u79ef\u56fe\u3002"),(0,n.kt)("h3",{id:"linechartdefaultarealinechart"},"LineChart.DefaultAreaLineChart"),(0,n.kt)("p",null,"public void DefaultAreaLineChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u9762\u79ef\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h3",{id:"linechartdefaultdashlinechart"},"LineChart.DefaultDashLineChart"),(0,n.kt)("p",null,"public void DefaultDashLineChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u865a\u7ebf\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h3",{id:"linechartdefaultloglinechart"},"LineChart.DefaultLogLineChart"),(0,n.kt)("p",null,"public void DefaultLogLineChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5bf9\u6570\u8f74\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h3",{id:"linechartdefaultsmootharealinechart"},"LineChart.DefaultSmoothAreaLineChart"),(0,n.kt)("p",null,"public void DefaultSmoothAreaLineChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5e73\u6ed1\u9762\u79ef\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h3",{id:"linechartdefaultsmoothlinechart"},"LineChart.DefaultSmoothLineChart"),(0,n.kt)("p",null,"public void DefaultSmoothLineChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5e73\u6ed1\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h3",{id:"linechartdefaultstackarealinechart"},"LineChart.DefaultStackAreaLineChart"),(0,n.kt)("p",null,"public void DefaultStackAreaLineChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5806\u53e0\u9762\u79ef\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h3",{id:"linechartdefaultstacklinechart"},"LineChart.DefaultStackLineChart"),(0,n.kt)("p",null,"public void DefaultStackLineChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5806\u53e0\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h3",{id:"linechartdefaultsteplinechart"},"LineChart.DefaultStepLineChart"),(0,n.kt)("p",null,"public void DefaultStepLineChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u9636\u68af\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h3",{id:"linechartdefaulttimelinechart"},"LineChart.DefaultTimeLineChart"),(0,n.kt)("p",null,"public void DefaultTimeLineChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u65f6\u95f4\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h2",{id:"linehelper"},"LineHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"linehelpergetdataaveragerate"},"LineHelper.GetDataAverageRate"),(0,n.kt)("p",null,"public static int GetDataAverageRate(Serie serie, float axisLength, int maxCount, bool isYAxis) "),(0,n.kt)("h3",{id:"linehelpergetlinewidth"},"LineHelper.GetLineWidth"),(0,n.kt)("p",null,"public static float GetLineWidth(ref bool interacting, Serie serie, float defaultWidth) "),(0,n.kt)("h2",{id:"linestyle"},"LineStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u7ebf\u6761\u6837\u5f0f\u3002 \u6ce8\uff1a \u4fee\u6539 lineStyle \u4e2d\u7684\u989c\u8272\u4e0d\u4f1a\u5f71\u54cd\u56fe\u4f8b\u989c\u8272\uff0c\u5982\u679c\u9700\u8981\u56fe\u4f8b\u989c\u8272\u548c\u6298\u7ebf\u56fe\u989c\u8272\u4e00\u81f4\uff0c\u9700\u4fee\u6539 itemStyle.color\uff0c\u7ebf\u6761\u989c\u8272\u9ed8\u8ba4\u4e5f\u4f1a\u53d6\u8be5\u989c\u8272\u3002 toColor\uff0ctoColor2\u53ef\u8bbe\u7f6e\u6c34\u5e73\u65b9\u5411\u7684\u6e10\u53d8\uff0c\u5982\u9700\u8981\u8bbe\u7f6e\u5782\u76f4\u65b9\u5411\u7684\u6e10\u53d8\uff0c\u53ef\u4f7f\u7528VisualMap\u3002"),(0,n.kt)("h3",{id:"linestyleclone"},"LineStyle.Clone"),(0,n.kt)("p",null,"public LineStyle Clone() "),(0,n.kt)("h3",{id:"linestylecopy"},"LineStyle.Copy"),(0,n.kt)("p",null,"public void Copy(LineStyle lineStyle) "),(0,n.kt)("h3",{id:"linestylegetcolor"},"LineStyle.GetColor"),(0,n.kt)("p",null,"public Color32 GetColor(Color32 themeColor) "),(0,n.kt)("h3",{id:"linestylegetgradientcolor"},"LineStyle.GetGradientColor"),(0,n.kt)("p",null,"public Color32 GetGradientColor(float value, Color32 defaultColor) "),(0,n.kt)("h3",{id:"linestylegetlength"},"LineStyle.GetLength"),(0,n.kt)("p",null,"public float GetLength(float themeLength) "),(0,n.kt)("h3",{id:"linestylegettype"},"LineStyle.GetType"),(0,n.kt)("p",null,"public Type GetType(Type themeType) "),(0,n.kt)("h3",{id:"linestylegetwidth"},"LineStyle.GetWidth"),(0,n.kt)("p",null,"public float GetWidth(float themeWidth) "),(0,n.kt)("h3",{id:"linestyleisneedgradient"},"LineStyle.IsNeedGradient"),(0,n.kt)("p",null,"public bool IsNeedGradient() "),(0,n.kt)("h3",{id:"linestyleisnotsolidline"},"LineStyle.IsNotSolidLine"),(0,n.kt)("p",null,"public bool IsNotSolidLine() "),(0,n.kt)("h3",{id:"linestylelinestyle"},"LineStyle.LineStyle"),(0,n.kt)("p",null,"public LineStyle(float width) "),(0,n.kt)("p",null,"public LineStyle(LineStyle.Type type) "),(0,n.kt)("p",null,"public LineStyle(LineStyle.Type type, float width) "),(0,n.kt)("h2",{id:"linestyletype"},"LineStyle.Type"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u7ebf\u7684\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Solid"),": \u5b9e\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dashed"),": \u865a\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dotted"),": \u70b9\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDot"),": \u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDotDot"),": \u53cc\u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u53cc\u70b9\u5212\u7ebf")),(0,n.kt)("h2",{id:"linetype"},"LineType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6298\u7ebf\u56fe\u6837\u5f0f\u7c7b\u578b"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Normal"),": \u666e\u901a\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Smooth"),": \u5e73\u6ed1\u66f2\u7ebf\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"StepStart"),": \u9636\u68af\u7ebf\u56fe\uff1a\u5f53\u524d\u70b9\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"StepMiddle"),": \u9636\u68af\u7ebf\u56fe\uff1a\u5f53\u524d\u70b9\u548c\u4e0b\u4e00\u4e2a\u70b9\u7684\u4e2d\u95f4\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"StepEnd"),": \u9636\u68af\u7ebf\u56fe\uff1a\u4e0b\u4e00\u4e2a\u62d0\u70b9\u3002")),(0,n.kt)("h2",{id:"listfor"},"ListFor"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#listforcomponent"},"ListForComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#listforserie"},"ListForSerie")," "),(0,n.kt)("h3",{id:"listforlistfor"},"ListFor.ListFor"),(0,n.kt)("p",null,"public ListFor(Type type) "),(0,n.kt)("h2",{id:"listforcomponent"},"ListForComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#listfor"},"ListFor")),(0,n.kt)("h3",{id:"listforcomponentlistforcomponent"},"ListForComponent.ListForComponent"),(0,n.kt)("p",null,"public ListForComponent(Type type) : base(type) "),(0,n.kt)("h2",{id:"listforserie"},"ListForSerie"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#listfor"},"ListFor")),(0,n.kt)("h3",{id:"listforserielistforserie"},"ListForSerie.ListForSerie"),(0,n.kt)("p",null,"public ListForSerie(Type type) : base(type) "),(0,n.kt)("h2",{id:"listpoolt"},"ListPool","<","T",">"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"listpooltclearall"},"ListPool","<","T",">",".ClearAll"),(0,n.kt)("p",null,"public static void ClearAll() "),(0,n.kt)("h3",{id:"listpooltget"},"ListPool","<","T",">",".Get"),(0,n.kt)("p",null,"public static List","<","T",">"," Get() "),(0,n.kt)("h3",{id:"listpooltrelease"},"ListPool","<","T",">",".Release"),(0,n.kt)("p",null,"public static void Release(List","<","T",">"," toRelease) "),(0,n.kt)("h2",{id:"location"},"Location"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#ipropertychanged"},"IPropertyChanged")),(0,n.kt)("p",null,"\u4f4d\u7f6e\u7c7b\u578b\u3002\u901a\u8fc7Align\u5feb\u901f\u8bbe\u7f6e\u5927\u4f53\u4f4d\u7f6e\uff0c\u518d\u901a\u8fc7left\uff0cright\uff0ctop\uff0cbottom\u5fae\u8c03\u5177\u4f53\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"locationruntimeanchormax"},"Location.runtimeAnchorMax"),(0,n.kt)("p",null,"public Vector2 runtimeAnchorMax "),(0,n.kt)("h3",{id:"locationruntimeanchormin"},"Location.runtimeAnchorMin"),(0,n.kt)("p",null,"public Vector2 runtimeAnchorMin",(0,n.kt)("br",{parentName:"p"}),"\n","Location\u5bf9\u5e94\u7684anchorMin\u3002"),(0,n.kt)("h3",{id:"locationruntimebottom"},"Location.runtimeBottom"),(0,n.kt)("p",null,"public float runtimeBottom "),(0,n.kt)("h3",{id:"locationruntimeleft"},"Location.runtimeLeft"),(0,n.kt)("p",null,"public float runtimeLeft "),(0,n.kt)("h3",{id:"locationruntimepivot"},"Location.runtimePivot"),(0,n.kt)("p",null,"public Vector2 runtimePivot",(0,n.kt)("br",{parentName:"p"}),"\n","Loation\u5bf9\u5e94\u7684\u4e2d\u5fc3\u70b9\u3002"),(0,n.kt)("h3",{id:"locationruntimeright"},"Location.runtimeRight"),(0,n.kt)("p",null,"public float runtimeRight "),(0,n.kt)("h3",{id:"locationruntimetextalignment"},"Location.runtimeTextAlignment"),(0,n.kt)("p",null,"public TextAnchor runtimeTextAlignment",(0,n.kt)("br",{parentName:"p"}),"\n","Location\u5bf9\u5e94\u7684Anchor\u951a\u70b9"),(0,n.kt)("h3",{id:"locationruntimetmptextalignment"},"Location.runtimeTMPTextAlignment"),(0,n.kt)("p",null,"public TextAlignmentOptions runtimeTMPTextAlignment "),(0,n.kt)("h3",{id:"locationruntimetop"},"Location.runtimeTop"),(0,n.kt)("p",null,"public float runtimeTop "),(0,n.kt)("h3",{id:"locationgetposition"},"Location.GetPosition"),(0,n.kt)("p",null,"public Vector3 GetPosition(float chartWidth, float chartHeight)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8fd4\u56de\u5728\u5750\u6807\u7cfb\u4e2d\u7684\u5177\u4f53\u4f4d\u7f6e"),(0,n.kt)("h3",{id:"locationisbottom"},"Location.IsBottom"),(0,n.kt)("p",null,"public bool IsBottom() "),(0,n.kt)("h3",{id:"locationiscenter"},"Location.IsCenter"),(0,n.kt)("p",null,"public bool IsCenter() "),(0,n.kt)("h3",{id:"locationistop"},"Location.IsTop"),(0,n.kt)("p",null,"public bool IsTop() "),(0,n.kt)("h3",{id:"locationonchanged"},"Location.OnChanged"),(0,n.kt)("p",null,"public void OnChanged()",(0,n.kt)("br",{parentName:"p"}),"\n","\u5c5e\u6027\u53d8\u66f4\u65f6\u66f4\u65b0textAnchor,minAnchor,maxAnchor,pivot"),(0,n.kt)("h3",{id:"locationupdateruntimedata"},"Location.UpdateRuntimeData"),(0,n.kt)("p",null,"public void UpdateRuntimeData(float chartWidth, float chartHeight) "),(0,n.kt)("h2",{id:"locationalign"},"Location.Align"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"TopLeft"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"TopRight"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"TopCenter"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BottomLeft"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BottomRight"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BottomCenter"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Center"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"CenterLeft"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"CenterRight"),": \u5bf9\u9f50\u65b9\u5f0f")),(0,n.kt)("h2",{id:"maincomponent"},"MainComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=icomparable"},"IComparable")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis"),",",(0,n.kt)("a",{parentName:"p",href:"#background"},"Background"),",",(0,n.kt)("a",{parentName:"p",href:"#comment"},"Comment"),",",(0,n.kt)("a",{parentName:"p",href:"#datazoom"},"DataZoom"),",",(0,n.kt)("a",{parentName:"p",href:"#legend"},"Legend"),",",(0,n.kt)("a",{parentName:"p",href:"#markarea"},"MarkArea"),",",(0,n.kt)("a",{parentName:"p",href:"#markline"},"MarkLine"),",",(0,n.kt)("a",{parentName:"p",href:"#settings"},"Settings"),",",(0,n.kt)("a",{parentName:"p",href:"#title"},"Title"),",",(0,n.kt)("a",{parentName:"p",href:"#tooltip"},"Tooltip"),",",(0,n.kt)("a",{parentName:"p",href:"#visualmap"},"VisualMap"),",",(0,n.kt)("a",{parentName:"p",href:"#gridlayout"},"GridLayout"),",",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem")," "),(0,n.kt)("h3",{id:"maincomponentanydirty"},"MainComponent.anyDirty"),(0,n.kt)("p",null,"public bool anyDirty",(0,n.kt)("br",{parentName:"p"}),"\n","\u9700\u8981\u91cd\u7ed8\u56fe\u8868\u6216\u91cd\u65b0\u521d\u59cb\u5316\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"maincomponentcleardata"},"MainComponent.ClearData()"),(0,n.kt)("p",null,"public virtual void ClearData() "),(0,n.kt)("h3",{id:"maincomponentcomponentdirty"},"MainComponent.componentDirty"),(0,n.kt)("p",null,"public virtual bool componentDirty",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ec4\u4ef6\u91cd\u65b0\u521d\u59cb\u5316\u6807\u8bb0\u3002"),(0,n.kt)("h3",{id:"maincomponentgameobject"},"MainComponent.gameObject"),(0,n.kt)("p",null,"public GameObject gameObject "),(0,n.kt)("h3",{id:"maincomponentindex"},"MainComponent.index"),(0,n.kt)("p",null,"public int index "),(0,n.kt)("h3",{id:"maincomponentinstanceid"},"MainComponent.instanceId"),(0,n.kt)("p",null,"public int instanceId "),(0,n.kt)("h3",{id:"maincomponentpainter"},"MainComponent.painter"),(0,n.kt)("p",null,"public Painter painter "),(0,n.kt)("h3",{id:"maincomponentrefreshcomponent"},"MainComponent.refreshComponent"),(0,n.kt)("p",null,"public Action refreshComponent "),(0,n.kt)("h3",{id:"maincomponentreset"},"MainComponent.Reset()"),(0,n.kt)("p",null,"public virtual void Reset() "),(0,n.kt)("h3",{id:"maincomponentresetstatus"},"MainComponent.ResetStatus()"),(0,n.kt)("p",null,"public virtual void ResetStatus() "),(0,n.kt)("h3",{id:"maincomponentsetdefaultvalue"},"MainComponent.SetDefaultValue()"),(0,n.kt)("p",null,"public virtual void SetDefaultValue() "),(0,n.kt)("h3",{id:"maincomponentvertsdirty"},"MainComponent.vertsDirty"),(0,n.kt)("p",null,"public virtual bool vertsDirty",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u91cd\u7ed8\u6807\u8bb0\u3002"),(0,n.kt)("h3",{id:"maincomponentclearcomponentdirty"},"MainComponent.ClearComponentDirty"),(0,n.kt)("p",null,"public virtual void ClearComponentDirty() "),(0,n.kt)("h3",{id:"maincomponentcleardata-1"},"MainComponent.ClearData"),(0,n.kt)("p",null,"public virtual void ClearData() { } "),(0,n.kt)("h3",{id:"maincomponentcleardirty"},"MainComponent.ClearDirty"),(0,n.kt)("p",null,"public virtual void ClearDirty() "),(0,n.kt)("h3",{id:"maincomponentclearverticesdirty"},"MainComponent.ClearVerticesDirty"),(0,n.kt)("p",null,"public virtual void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"maincomponentcompareto"},"MainComponent.CompareTo"),(0,n.kt)("p",null,"public int CompareTo(object obj) "),(0,n.kt)("h3",{id:"maincomponentonremove"},"MainComponent.OnRemove"),(0,n.kt)("p",null,"public virtual void OnRemove() "),(0,n.kt)("h3",{id:"maincomponentreset-1"},"MainComponent.Reset"),(0,n.kt)("p",null,"public virtual void Reset() { } "),(0,n.kt)("h3",{id:"maincomponentresetstatus-1"},"MainComponent.ResetStatus"),(0,n.kt)("p",null,"public virtual void ResetStatus() { } "),(0,n.kt)("h3",{id:"maincomponentsetalldirty"},"MainComponent.SetAllDirty"),(0,n.kt)("p",null,"public virtual void SetAllDirty() "),(0,n.kt)("h3",{id:"maincomponentsetcomponentdirty"},"MainComponent.SetComponentDirty"),(0,n.kt)("p",null,"public virtual void SetComponentDirty() "),(0,n.kt)("h3",{id:"maincomponentsetdefaultvalue-1"},"MainComponent.SetDefaultValue"),(0,n.kt)("p",null,"public virtual void SetDefaultValue() { } "),(0,n.kt)("h3",{id:"maincomponentsetverticesdirty"},"MainComponent.SetVerticesDirty"),(0,n.kt)("p",null,"public virtual void SetVerticesDirty() "),(0,n.kt)("h2",{id:"maincomponentcontext"},"MainComponentContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axiscontext"},"AxisContext"),",",(0,n.kt)("a",{parentName:"p",href:"#datazoomcontext"},"DataZoomContext"),",",(0,n.kt)("a",{parentName:"p",href:"#legendcontext"},"LegendContext"),",",(0,n.kt)("a",{parentName:"p",href:"#radarcoordcontext"},"RadarCoordContext"),",",(0,n.kt)("a",{parentName:"p",href:"#visualmapcontext"},"VisualMapContext"),",",(0,n.kt)("a",{parentName:"p",href:"#gridcoordcontext"},"GridCoordContext"),",",(0,n.kt)("a",{parentName:"p",href:"#gridlayoutcontext"},"GridLayoutContext"),",",(0,n.kt)("a",{parentName:"p",href:"#gridcoord3dcontext"},"GridCoord3DContext"),",",(0,n.kt)("a",{parentName:"p",href:"#parallelcoordcontext"},"ParallelCoordContext"),",",(0,n.kt)("a",{parentName:"p",href:"#polarcoordcontext"},"PolarCoordContext")," "),(0,n.kt)("h2",{id:"maincomponenthandler"},"MainComponentHandler"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axishandlert"},"AxisHandler","<","T",">"),",",(0,n.kt)("a",{parentName:"p",href:"#maincomponenthandlert"},"MainComponentHandler","<","T",">")," "),(0,n.kt)("h3",{id:"maincomponenthandlerattribute"},"MainComponentHandler.attribute"),(0,n.kt)("p",null,"public ComponentHandlerAttribute attribute "),(0,n.kt)("h3",{id:"maincomponenthandlerbeforceserieupdate"},"MainComponentHandler.BeforceSerieUpdate()"),(0,n.kt)("p",null,"public virtual void BeforceSerieUpdate() "),(0,n.kt)("h3",{id:"maincomponenthandlerchart"},"MainComponentHandler.chart"),(0,n.kt)("p",null,"public BaseChart chart "),(0,n.kt)("h3",{id:"maincomponenthandlereventdata"},"MainComponentHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnBeginDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"maincomponenthandlereventdata-1"},"MainComponentHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"maincomponenthandlereventdata-2"},"MainComponentHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnEndDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"maincomponenthandlereventdata-3"},"MainComponentHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerClick(PointerEventData eventData) "),(0,n.kt)("h3",{id:"maincomponenthandlereventdata-4"},"MainComponentHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerDown(PointerEventData eventData) "),(0,n.kt)("h3",{id:"maincomponenthandlereventdata-5"},"MainComponentHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerEnter(PointerEventData eventData) "),(0,n.kt)("h3",{id:"maincomponenthandlereventdata-6"},"MainComponentHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerExit(PointerEventData eventData) "),(0,n.kt)("h3",{id:"maincomponenthandlereventdata-7"},"MainComponentHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerUp(PointerEventData eventData) "),(0,n.kt)("h3",{id:"maincomponenthandlereventdata-8"},"MainComponentHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnScroll(PointerEventData eventData) "),(0,n.kt)("h3",{id:"maincomponenthandlerinitcomponent"},"MainComponentHandler.InitComponent()"),(0,n.kt)("p",null,"public virtual void InitComponent() "),(0,n.kt)("h3",{id:"maincomponenthandlerinited"},"MainComponentHandler.inited"),(0,n.kt)("p",null,"public bool inited "),(0,n.kt)("h3",{id:"maincomponenthandlerorder"},"MainComponentHandler.order"),(0,n.kt)("p",null,"public int order "),(0,n.kt)("h3",{id:"maincomponenthandlerremovecomponent"},"MainComponentHandler.RemoveComponent()"),(0,n.kt)("p",null,"public virtual void RemoveComponent() "),(0,n.kt)("h3",{id:"maincomponenthandlersb"},"MainComponentHandler.sb)"),(0,n.kt)("p",null,"public virtual void CheckComponent(StringBuilder sb) "),(0,n.kt)("h3",{id:"maincomponenthandlerserieindex"},"MainComponentHandler.serieIndex)"),(0,n.kt)("p",null,"public virtual void OnSerieDataUpdate(int serieIndex) "),(0,n.kt)("h3",{id:"maincomponenthandlerupdate"},"MainComponentHandler.Update()"),(0,n.kt)("p",null,"public virtual void Update() "),(0,n.kt)("h3",{id:"maincomponenthandlervh"},"MainComponentHandler.vh)"),(0,n.kt)("p",null,"public virtual void DrawBase(VertexHelper vh) "),(0,n.kt)("h3",{id:"maincomponenthandlervh-1"},"MainComponentHandler.vh)"),(0,n.kt)("p",null,"public virtual void DrawTop(VertexHelper vh) "),(0,n.kt)("h3",{id:"maincomponenthandlervh-2"},"MainComponentHandler.vh)"),(0,n.kt)("p",null,"public virtual void DrawUpper(VertexHelper vh) "),(0,n.kt)("h3",{id:"maincomponenthandlerbeforceserieupdate-1"},"MainComponentHandler.BeforceSerieUpdate"),(0,n.kt)("p",null,"public virtual void BeforceSerieUpdate() { } "),(0,n.kt)("h3",{id:"maincomponenthandlercheckcomponent"},"MainComponentHandler.CheckComponent"),(0,n.kt)("p",null,"public virtual void CheckComponent(StringBuilder sb) { } "),(0,n.kt)("h3",{id:"maincomponenthandlerdrawbase"},"MainComponentHandler.DrawBase"),(0,n.kt)("p",null,"public virtual void DrawBase(VertexHelper vh) { } "),(0,n.kt)("h3",{id:"maincomponenthandlerdrawtop"},"MainComponentHandler.DrawTop"),(0,n.kt)("p",null,"public virtual void DrawTop(VertexHelper vh) { } "),(0,n.kt)("h3",{id:"maincomponenthandlerdrawupper"},"MainComponentHandler.DrawUpper"),(0,n.kt)("p",null,"public virtual void DrawUpper(VertexHelper vh) { } "),(0,n.kt)("h3",{id:"maincomponenthandlerinitcomponent-1"},"MainComponentHandler.InitComponent"),(0,n.kt)("p",null,"public virtual void InitComponent() { } "),(0,n.kt)("h3",{id:"maincomponenthandleronbegindrag"},"MainComponentHandler.OnBeginDrag"),(0,n.kt)("p",null,"public virtual void OnBeginDrag(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"maincomponenthandlerondrag"},"MainComponentHandler.OnDrag"),(0,n.kt)("p",null,"public virtual void OnDrag(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"maincomponenthandleronenddrag"},"MainComponentHandler.OnEndDrag"),(0,n.kt)("p",null,"public virtual void OnEndDrag(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"maincomponenthandleronpointerclick"},"MainComponentHandler.OnPointerClick"),(0,n.kt)("p",null,"public virtual void OnPointerClick(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"maincomponenthandleronpointerdown"},"MainComponentHandler.OnPointerDown"),(0,n.kt)("p",null,"public virtual void OnPointerDown(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"maincomponenthandleronpointerenter"},"MainComponentHandler.OnPointerEnter"),(0,n.kt)("p",null,"public virtual void OnPointerEnter(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"maincomponenthandleronpointerexit"},"MainComponentHandler.OnPointerExit"),(0,n.kt)("p",null,"public virtual void OnPointerExit(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"maincomponenthandleronpointerup"},"MainComponentHandler.OnPointerUp"),(0,n.kt)("p",null,"public virtual void OnPointerUp(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"maincomponenthandleronscroll"},"MainComponentHandler.OnScroll"),(0,n.kt)("p",null,"public virtual void OnScroll(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"maincomponenthandleronseriedataupdate"},"MainComponentHandler.OnSerieDataUpdate"),(0,n.kt)("p",null,"public virtual void OnSerieDataUpdate(int serieIndex) { } "),(0,n.kt)("h3",{id:"maincomponenthandlerremovecomponent-1"},"MainComponentHandler.RemoveComponent"),(0,n.kt)("p",null,"public virtual void RemoveComponent() { } "),(0,n.kt)("h3",{id:"maincomponenthandlerupdate-1"},"MainComponentHandler.Update"),(0,n.kt)("p",null,"public virtual void Update() { } "),(0,n.kt)("h2",{id:"maincomponenthandlert"},"MainComponentHandler","<","T",">"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponenthandler"},"MainComponentHandler")),(0,n.kt)("h3",{id:"maincomponenthandlertcomponent"},"MainComponentHandler","<","T",">",".component"),(0,n.kt)("p",null,"public T component "),(0,n.kt)("h2",{id:"markarea"},"MarkArea"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u56fe\u8868\u6807\u57df\uff0c\u5e38\u7528\u4e8e\u6807\u8bb0\u56fe\u8868\u4e2d\u67d0\u4e2a\u8303\u56f4\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"markarearuntimelabel"},"MarkArea.runtimeLabel"),(0,n.kt)("p",null,"public ChartLabel runtimeLabel",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u8868\u6807\u57df\uff0c\u5e38\u7528\u4e8e\u6807\u8bb0\u56fe\u8868\u4e2d\u67d0\u4e2a\u8303\u56f4\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"markarearuntimelabelposition"},"MarkArea.runtimeLabelPosition"),(0,n.kt)("p",null,"public Vector3 runtimeLabelPosition "),(0,n.kt)("h3",{id:"markarearuntimerect"},"MarkArea.runtimeRect"),(0,n.kt)("p",null,"public Rect runtimeRect "),(0,n.kt)("h3",{id:"markareasetdefaultvalue"},"MarkArea.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue() "),(0,n.kt)("h2",{id:"markareadata"},"MarkAreaData"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6807\u57df\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"markareadataruntimevalue"},"MarkAreaData.runtimeValue"),(0,n.kt)("p",null,"public double runtimeValue",(0,n.kt)("br",{parentName:"p"}),"\n","\u6807\u57df\u7684\u6570\u636e\u3002"),(0,n.kt)("h2",{id:"markareatype"},"MarkAreaType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6807\u57df\u7c7b\u578b"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u6807\u57df\u7c7b\u578b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Min"),": \u6700\u5c0f\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Max"),": \u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Average"),": \u5e73\u5747\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Median"),": \u4e2d\u4f4d\u6570\u3002")),(0,n.kt)("h2",{id:"markline"},"MarkLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u56fe\u8868\u6807\u7ebf\u3002"),(0,n.kt)("h3",{id:"marklinesetdefaultvalue"},"MarkLine.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue() "),(0,n.kt)("h2",{id:"marklinedata"},"MarkLineData"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.9.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u56fe\u8868\u6807\u7ebf\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"marklinedataruntimecurrentendposition"},"MarkLineData.runtimeCurrentEndPosition"),(0,n.kt)("p",null,"public Vector3 runtimeCurrentEndPosition "),(0,n.kt)("h3",{id:"marklinedataruntimeendposition"},"MarkLineData.runtimeEndPosition"),(0,n.kt)("p",null,"public Vector3 runtimeEndPosition "),(0,n.kt)("h3",{id:"marklinedataruntimeingrid"},"MarkLineData.runtimeInGrid"),(0,n.kt)("p",null,"public bool runtimeInGrid "),(0,n.kt)("h3",{id:"marklinedataruntimelabel"},"MarkLineData.runtimeLabel"),(0,n.kt)("p",null,"public ChartLabel runtimeLabel "),(0,n.kt)("h3",{id:"marklinedataruntimestartposition"},"MarkLineData.runtimeStartPosition"),(0,n.kt)("p",null,"public Vector3 runtimeStartPosition "),(0,n.kt)("h3",{id:"marklinedataruntimevalue"},"MarkLineData.runtimeValue"),(0,n.kt)("p",null,"public double runtimeValue "),(0,n.kt)("h2",{id:"marklinetype"},"MarkLineType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6807\u7ebf\u7c7b\u578b"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u6807\u7ebf\u7c7b\u578b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Min"),": \u6700\u5c0f\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Max"),": \u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Average"),": \u5e73\u5747\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Median"),": \u4e2d\u4f4d\u6570\u3002")),(0,n.kt)("h2",{id:"marqueestyle"},"MarqueeStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.5.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"Marquee style. It can be used for the DataZoom component. \u9009\u53d6\u6846\u6837\u5f0f\u3002\u53ef\u7528\u4e8eDataZoom\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"marqueestyleapply"},"MarqueeStyle.apply"),(0,n.kt)("p",null,"public bool apply",(0,n.kt)("br",{parentName:"p"}),"\n","\u9009\u53d6\u6846\u8303\u56f4\u662f\u5426\u5e94\u7528\u5230DataZoom\u4e0a\u3002\u5f53\u4e3atrue\u65f6\uff0c\u6846\u9009\u7ed3\u675f\u540e\u7684\u8303\u56f4\u5373\u4e3aDataZoom\u7684\u9009\u62e9\u8303\u56f4\u3002"),(0,n.kt)("h3",{id:"marqueestyleareastyle"},"MarqueeStyle.areaStyle"),(0,n.kt)("p",null,"public AreaStyle areaStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u9009\u53d6\u6846\u533a\u57df\u586b\u5145\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"marqueestylelinestyle"},"MarqueeStyle.lineStyle"),(0,n.kt)("p",null,"public LineStyle lineStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u9009\u53d6\u6846\u533a\u57df\u8fb9\u6846\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"marqueestyleonend"},"MarqueeStyle.onEnd"),(0,n.kt)("p",null,"public Action","<","DataZoom",">"," onEnd",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49\u9009\u53d6\u6846\u7ed3\u675f\u9009\u53d6\u65f6\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"marqueestyleongoing"},"MarqueeStyle.onGoing"),(0,n.kt)("p",null,"public Action","<","DataZoom",">"," onGoing",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49\u9009\u53d6\u6846\u9009\u53d6\u8fdb\u884c\u65f6\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"marqueestyleonstart"},"MarqueeStyle.onStart"),(0,n.kt)("p",null,"public Action","<","DataZoom",">"," onStart",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49\u9009\u53d6\u6846\u5f00\u59cb\u9009\u53d6\u65f6\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"marqueestylerealrect"},"MarqueeStyle.realRect"),(0,n.kt)("p",null,"public bool realRect",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u9009\u53d6\u5b9e\u9645\u6846\u9009\u533a\u57df\u3002\u5f53\u4e3atrue\u65f6\uff0c\u4ee5\u9f20\u6807\u7684\u5176\u5b9e\u70b9\u548c\u7ed3\u675f\u70b9\u95f4\u7684\u5b9e\u9645\u8303\u56f4\u4f5c\u4e3a\u6846\u9009\u533a\u57df\u3002"),(0,n.kt)("h2",{id:"mathutil"},"MathUtil"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"mathutilabs"},"MathUtil.Abs"),(0,n.kt)("p",null,"public static double Abs(double d) "),(0,n.kt)("h3",{id:"mathutilapproximately"},"MathUtil.Approximately"),(0,n.kt)("p",null,"public static bool Approximately(double a, double b) "),(0,n.kt)("h3",{id:"mathutilclamp"},"MathUtil.Clamp"),(0,n.kt)("p",null,"public static double Clamp(double d, double min, double max) "),(0,n.kt)("h3",{id:"mathutilclamp01"},"MathUtil.Clamp01"),(0,n.kt)("p",null,"public static double Clamp01(double value) "),(0,n.kt)("h3",{id:"mathutilgetprecision"},"MathUtil.GetPrecision"),(0,n.kt)("p",null,"public static int GetPrecision(double value) "),(0,n.kt)("h3",{id:"mathutilisinteger"},"MathUtil.IsInteger"),(0,n.kt)("p",null,"public static bool IsInteger(double value) "),(0,n.kt)("h3",{id:"mathutillerp"},"MathUtil.Lerp"),(0,n.kt)("p",null,"public static double Lerp(double a, double b, double t) "),(0,n.kt)("h2",{id:"mlvalue"},"MLValue"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u591a\u6837\u5f0f\u6570\u503c\u3002"),(0,n.kt)("h3",{id:"mlvaluetype"},"MLValue.type"),(0,n.kt)("p",null,"public Type type "),(0,n.kt)("h3",{id:"mlvaluevalue"},"MLValue.value"),(0,n.kt)("p",null,"public float value "),(0,n.kt)("h3",{id:"mlvaluegetvalue"},"MLValue.GetValue"),(0,n.kt)("p",null,"public float GetValue(float total)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6839\u636e\u7c7b\u578b\u83b7\u53d6\u503c\u3002"),(0,n.kt)("h3",{id:"mlvaluemlvalue"},"MLValue.MLValue"),(0,n.kt)("p",null,"public MLValue(Type type, float value) "),(0,n.kt)("h2",{id:"mlvaluetype-1"},"MLValue.Type"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6570\u503c\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Percent"),": \u767e\u5206\u6bd4\u5f62\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Absolute"),": \u7edd\u5bf9\u503c\u5f62\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Extra"),": \u989d\u5916\u5f62\u5f0f\u3002")),(0,n.kt)("h2",{id:"monobehaviour"},"MonoBehaviour"),(0,n.kt)("p",null,"class in / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#xlog"},"XLog")," "),(0,n.kt)("h2",{id:"objectpoolt-where-t"},"ObjectPool","<","T",">"," where T"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#new()"},"new()")),(0,n.kt)("h3",{id:"objectpoolt-where-tcountactive"},"ObjectPool","<","T",">"," where T.countActive"),(0,n.kt)("p",null,"public int countActive "),(0,n.kt)("h3",{id:"objectpoolt-where-tcountall"},"ObjectPool","<","T",">"," where T.countAll"),(0,n.kt)("p",null,"public int countAll "),(0,n.kt)("h3",{id:"objectpoolt-where-tcountinactive"},"ObjectPool","<","T",">"," where T.countInactive"),(0,n.kt)("p",null,"public int countInactive "),(0,n.kt)("h3",{id:"objectpoolt-where-tclearall"},"ObjectPool","<","T",">"," where T.ClearAll"),(0,n.kt)("p",null,"public void ClearAll() "),(0,n.kt)("h3",{id:"objectpoolt-where-tget"},"ObjectPool","<","T",">"," where T.Get"),(0,n.kt)("p",null,"public T Get() "),(0,n.kt)("h3",{id:"objectpoolt-where-tnew"},"ObjectPool","<","T",">"," where T.new"),(0,n.kt)("p",null,"public class ObjectPool","<","T",">"," where T : new() "),(0,n.kt)("h3",{id:"objectpoolt-where-tobjectpool"},"ObjectPool","<","T",">"," where T.ObjectPool"),(0,n.kt)("p",null,"public ObjectPool(UnityAction","<","T",">"," actionOnGet, UnityAction","<","T",">"," actionOnRelease, bool newIfEmpty = true) "),(0,n.kt)("h3",{id:"objectpoolt-where-trelease"},"ObjectPool","<","T",">"," where T.Release"),(0,n.kt)("p",null,"public void Release(T element) "),(0,n.kt)("h2",{id:"orient"},"Orient"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u5782\u76f4\u8fd8\u662f\u6c34\u5e73\u5e03\u5c40\u65b9\u5f0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Horizonal"),": \u6c34\u5e73"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Vertical"),": \u5782\u76f4")),(0,n.kt)("h2",{id:"padding"},"Padding"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#textpadding"},"TextPadding")," "),(0,n.kt)("p",null,"\u8fb9\u8ddd\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"paddingpadding"},"Padding.Padding()"),(0,n.kt)("p",null,"public Padding() "),(0,n.kt)("h3",{id:"paddingpadding-1"},"Padding.Padding"),(0,n.kt)("p",null,"public Padding(float top, float right, float bottom, float left) "),(0,n.kt)("h3",{id:"paddingsetpadding"},"Padding.SetPadding"),(0,n.kt)("p",null,"public void SetPadding(float top, float right, float bottom, float left) "),(0,n.kt)("h2",{id:"painter"},"Painter"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=maskablegraphic"},"MaskableGraphic")),(0,n.kt)("h3",{id:"painterindex"},"Painter.index"),(0,n.kt)("p",null,"public int index "),(0,n.kt)("h3",{id:"painteronpopulatemesh"},"Painter.onPopulateMesh"),(0,n.kt)("p",null,"public Action","<","VertexHelper, Painter",">"," onPopulateMesh "),(0,n.kt)("h3",{id:"paintertype"},"Painter.type"),(0,n.kt)("p",null,"public Type type "),(0,n.kt)("h3",{id:"paintercheckrefresh"},"Painter.CheckRefresh"),(0,n.kt)("p",null,"public void CheckRefresh() "),(0,n.kt)("h3",{id:"painterinit"},"Painter.Init"),(0,n.kt)("p",null,"public void Init() "),(0,n.kt)("h3",{id:"painterrefresh"},"Painter.Refresh"),(0,n.kt)("p",null,"public void Refresh() "),(0,n.kt)("h3",{id:"paintersetactive"},"Painter.SetActive"),(0,n.kt)("p",null,"public void SetActive(bool flag, bool isDebugMode = false) "),(0,n.kt)("h2",{id:"paintertype-1"},"Painter.Type"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Base"),": "),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Serie"),": "),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Top"),": ")),(0,n.kt)("h2",{id:"parallel"},"Parallel"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h3",{id:"parallelcontainerindex"},"Parallel.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"parallelcontainterinstanceid"},"Parallel.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h3",{id:"paralleladddefaultserie"},"Parallel.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h2",{id:"parallelaxis"},"ParallelAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("h3",{id:"parallelaxissetdefaultvalue"},"ParallelAxis.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue() "),(0,n.kt)("h2",{id:"parallelchart"},"ParallelChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u5e73\u884c\u5750\u6807\u7cfb\uff0c\u901a\u8fc7\u7ed8\u5236\u5782\u76f4\u4e8e\u5750\u6807\u8f74\u7684\u5e73\u884c\u7ebf\u6765\u663e\u793a\u6570\u636e\u7684\u4e00\u79cd\u53ef\u89c6\u5316\u56fe\u8868\u3002"),(0,n.kt)("h2",{id:"parallelcoord"},"ParallelCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),",",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("p",null,"Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid."),(0,n.kt)("h3",{id:"parallelcoordcontains"},"ParallelCoord.Contains"),(0,n.kt)("p",null,"public bool Contains(float x, float y) "),(0,n.kt)("h3",{id:"parallelcoordispointerenter"},"ParallelCoord.IsPointerEnter"),(0,n.kt)("p",null,"public bool IsPointerEnter() "),(0,n.kt)("h3",{id:"parallelcoordupdateruntimedata"},"ParallelCoord.UpdateRuntimeData"),(0,n.kt)("p",null,"public void UpdateRuntimeData(BaseChart chart) "),(0,n.kt)("h2",{id:"parallelcoordcontext"},"ParallelCoordContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h2",{id:"pie"},"Pie"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie")),(0,n.kt)("h3",{id:"piedefaultcolorby"},"Pie.defaultColorBy"),(0,n.kt)("p",null,"public override SerieColorBy defaultColorBy "),(0,n.kt)("h3",{id:"pietitlejustforserie"},"Pie.titleJustForSerie"),(0,n.kt)("p",null,"public override bool titleJustForSerie "),(0,n.kt)("h3",{id:"pieadddefaultserie"},"Pie.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h3",{id:"pieconvertserie"},"Pie.ConvertSerie"),(0,n.kt)("p",null,"public static Pie ConvertSerie(Serie serie) "),(0,n.kt)("h2",{id:"piechart"},"PieChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u997c\u56fe\u4e3b\u8981\u7528\u4e8e\u663e\u793a\u4e0d\u540c\u7c7b\u76ee\u5360\u6bd4\u7684\u60c5\u51b5\uff0c\u901a\u8fc7\u5f27\u957f\u6765\u53cd\u6620\u6570\u636e\u7684\u5927\u5c0f\u5360\u6bd4\u3002"),(0,n.kt)("h3",{id:"piechartdefaultarearosepiechart"},"PieChart.DefaultAreaRosePieChart"),(0,n.kt)("p",null,"public void DefaultAreaRosePieChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u9762\u79ef\u73ab\u7470\u997c\u56fe\u3002"),(0,n.kt)("h3",{id:"piechartdefaultdonutpiechart"},"PieChart.DefaultDonutPieChart"),(0,n.kt)("p",null,"public void DefaultDonutPieChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u751c\u751c\u5708\u997c\u56fe\u3002"),(0,n.kt)("h3",{id:"piechartdefaultlabeldonutpiechart"},"PieChart.DefaultLabelDonutPieChart"),(0,n.kt)("p",null,"public void DefaultLabelDonutPieChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5e26\u6807\u7b7e\u751c\u751c\u5708\u997c\u56fe\u3002"),(0,n.kt)("h3",{id:"piechartdefaultlabelpiechart"},"PieChart.DefaultLabelPieChart"),(0,n.kt)("p",null,"public void DefaultLabelPieChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5e26\u6807\u7b7e\u997c\u56fe\u3002"),(0,n.kt)("h3",{id:"piechartdefaultradiusrosepiechart"},"PieChart.DefaultRadiusRosePieChart"),(0,n.kt)("p",null,"public void DefaultRadiusRosePieChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u73ab\u7470\u997c\u56fe\u3002"),(0,n.kt)("h2",{id:"polaraxistheme"},"PolarAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h3",{id:"polaraxisthemebasetheme"},"PolarAxisTheme.base(theme)"),(0,n.kt)("p",null,"public PolarAxisTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h3",{id:"polaraxisthemepolaraxistheme"},"PolarAxisTheme.PolarAxisTheme"),(0,n.kt)("p",null,"public PolarAxisTheme(ThemeType theme) : base(theme) { } "),(0,n.kt)("h2",{id:"polarchart"},"PolarChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u6781\u5750\u6807\u7cfb\uff0c\u53ef\u4ee5\u7528\u4e8e\u6563\u70b9\u56fe\u548c\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("h3",{id:"polarchartdefaultheatmappolarchart"},"PolarChart.DefaultHeatmapPolarChart"),(0,n.kt)("p",null,"public void DefaultHeatmapPolarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u6781\u5750\u6807\u8272\u5757\u56fe\u3002"),(0,n.kt)("h3",{id:"polarchartdefaultradialbarpolarchart"},"PolarChart.DefaultRadialBarPolarChart"),(0,n.kt)("p",null,"public void DefaultRadialBarPolarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5f84\u5411\u67f1\u72b6\u6781\u5750\u6807\u56fe\u3002"),(0,n.kt)("h3",{id:"polarchartdefaulttangentialbarpolarchart"},"PolarChart.DefaultTangentialBarPolarChart"),(0,n.kt)("p",null,"public void DefaultTangentialBarPolarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5207\u5411\u67f1\u72b6\u6781\u5750\u6807\u56fe\u3002"),(0,n.kt)("h2",{id:"polarcoord"},"PolarCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("p",null,"\u6781\u5750\u6807\u7cfb\u7ec4\u4ef6\u3002 \u6781\u5750\u6807\u7cfb\uff0c\u53ef\u4ee5\u7528\u4e8e\u6563\u70b9\u56fe\u548c\u6298\u7ebf\u56fe\u3002\u6bcf\u4e2a\u6781\u5750\u6807\u7cfb\u62e5\u6709\u4e00\u4e2a\u89d2\u5ea6\u8f74\u548c\u4e00\u4e2a\u534a\u5f84\u8f74\u3002"),(0,n.kt)("h3",{id:"polarcoordcontains"},"PolarCoord.Contains"),(0,n.kt)("p",null,"public bool Contains(Vector3 pos) "),(0,n.kt)("h3",{id:"polarcoordispointerenter"},"PolarCoord.IsPointerEnter"),(0,n.kt)("p",null,"public bool IsPointerEnter() "),(0,n.kt)("h2",{id:"polarcoordcontext"},"PolarCoordContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h2",{id:"propertyutil"},"PropertyUtil"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"propertyutilsetclasst"},"PropertyUtil.SetClass","<","T",">"),(0,n.kt)("p",null,"public static bool SetClass","<","T",">","(ref T currentValue, T newValue, bool notNull = false) where T : class "),(0,n.kt)("h3",{id:"propertyutilsetcolor"},"PropertyUtil.SetColor"),(0,n.kt)("p",null,"public static bool SetColor(ref Color32 currentValue, Color32 newValue) "),(0,n.kt)("h3",{id:"propertyutilsetstructt"},"PropertyUtil.SetStruct","<","T",">"),(0,n.kt)("p",null,"public static bool SetStruct","<","T",">","(ref T currentValue, T newValue) where T : struct "),(0,n.kt)("h2",{id:"radar"},"Radar"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h3",{id:"radarcontainerindex"},"Radar.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"radarcontainterinstanceid"},"Radar.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h3",{id:"radardefaultcolorby"},"Radar.defaultColorBy"),(0,n.kt)("p",null,"public override SerieColorBy defaultColorBy "),(0,n.kt)("h3",{id:"radarmultidimensionlabel"},"Radar.multiDimensionLabel"),(0,n.kt)("p",null,"public override bool multiDimensionLabel "),(0,n.kt)("h3",{id:"radaradddefaultserie"},"Radar.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h2",{id:"radaraxistheme"},"RadarAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h3",{id:"radaraxisthemeradaraxistheme"},"RadarAxisTheme.RadarAxisTheme"),(0,n.kt)("p",null,"public RadarAxisTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h2",{id:"radarchart"},"RadarChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u4e3b\u8981\u7528\u4e8e\u663e\u793a\u591a\u53d8\u91cf\u7684\u6570\u636e\uff0c\u4f8b\u5982\u8db3\u7403\u8fd0\u52a8\u5458\u7684\u5404\u9879\u5c5e\u6027\u5206\u6790\u3002\u4f9d\u8d56\u96f7\u8fbe\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"radarchartdefaultcircleradarchart"},"RadarChart.DefaultCircleRadarChart"),(0,n.kt)("p",null,"public void DefaultCircleRadarChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5706\u5f62\u96f7\u8fbe\u56fe\u3002"),(0,n.kt)("h2",{id:"radarcoord"},"RadarCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("p",null,"Radar coordinate conponnet for radar charts. \u96f7\u8fbe\u56fe\u5750\u6807\u7cfb\u7ec4\u4ef6\uff0c\u53ea\u9002\u7528\u4e8e\u96f7\u8fbe\u56fe\u3002"),(0,n.kt)("h2",{id:"radarcoordpositiontype"},"RadarCoord.PositionType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u663e\u793a\u4f4d\u7f6e\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Vertice"),": \u663e\u793a\u5728\u9876\u70b9\u5904\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Between"),": \u663e\u793a\u5728\u4e24\u8005\u4e4b\u95f4\u3002")),(0,n.kt)("h2",{id:"radarcoordshape"},"RadarCoord.Shape"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u7ed8\u5236\u7c7b\u578b\uff0c\u652f\u6301 'Polygon' \u548c 'Circle'\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Polygon"),": \u96f7\u8fbe\u56fe\u7ed8\u5236\u7c7b\u578b\uff0c\u652f\u6301 'Polygon' \u548c 'Circle'\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Circle"),": \u96f7\u8fbe\u56fe\u7ed8\u5236\u7c7b\u578b\uff0c\u652f\u6301 'Polygon' \u548c 'Circle'\u3002")),(0,n.kt)("h2",{id:"radarcoordcontext"},"RadarCoordContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h3",{id:"radarcoordcontextcenter"},"RadarCoordContext.center"),(0,n.kt)("p",null,"public Vector3 center",(0,n.kt)("br",{parentName:"p"}),"\n","\u96f7\u8fbe\u56fe\u5728\u5bb9\u5668\u4e2d\u7684\u5177\u4f53\u4e2d\u5fc3\u70b9\u3002"),(0,n.kt)("h3",{id:"radarcoordcontextdataradius"},"RadarCoordContext.dataRadius"),(0,n.kt)("p",null,"public float dataRadius "),(0,n.kt)("h3",{id:"radarcoordcontextispointerenter"},"RadarCoordContext.isPointerEnter"),(0,n.kt)("p",null,"public bool isPointerEnter "),(0,n.kt)("h3",{id:"radarcoordcontextradius"},"RadarCoordContext.radius"),(0,n.kt)("p",null,"public float radius",(0,n.kt)("br",{parentName:"p"}),"\n","\u96f7\u8fbe\u56fe\u7684\u8fd0\u884c\u65f6\u5b9e\u9645\u534a\u5f84\u3002"),(0,n.kt)("h2",{id:"radartype"},"RadarType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Multiple"),": \u591a\u5708\u96f7\u8fbe\u56fe\u3002\u6b64\u65f6\u53ef\u4e00\u4e2a\u96f7\u8fbe\u91cc\u7ed8\u5236\u591a\u4e2a\u5708\uff0c\u4e00\u4e2aserieData\u5c31\u53ef\u7ec4\u6210\u4e00\u4e2a\u5708\uff08\u591a\u7ef4\u6570\u636e\uff09\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Single"),": \u5355\u5708\u96f7\u8fbe\u56fe\u3002\u6b64\u65f6\u4e00\u4e2a\u96f7\u8fbe\u53ea\u80fd\u7ed8\u5236\u4e00\u4e2a\u5708\uff0c\u591a\u4e2aserieData\u7ec4\u6210\u4e00\u4e2a\u5708\uff0c\u6570\u636e\u53d6\u81ea",(0,n.kt)("inlineCode",{parentName:"li"},"data[1]"),"\u3002")),(0,n.kt)("h2",{id:"radiusaxis"},"RadiusAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("p",null,"\u6781\u5750\u6807\u7cfb\u7684\u5f84\u5411\u8f74\u3002"),(0,n.kt)("h3",{id:"radiusaxissetdefaultvalue"},"RadiusAxis.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6781\u5750\u6807\u7cfb\u7684\u5f84\u5411\u8f74\u3002"),(0,n.kt)("h2",{id:"radiusaxistheme"},"RadiusAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h3",{id:"radiusaxisthemebasetheme"},"RadiusAxisTheme.base(theme)"),(0,n.kt)("p",null,"public RadiusAxisTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h3",{id:"radiusaxisthemeradiusaxistheme"},"RadiusAxisTheme.RadiusAxisTheme"),(0,n.kt)("p",null,"public RadiusAxisTheme(ThemeType theme) : base(theme) { } "),(0,n.kt)("h2",{id:"reflectionutil"},"ReflectionUtil"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"reflectionutildeepcloneserializefield"},"ReflectionUtil.DeepCloneSerializeField"),(0,n.kt)("p",null,"public static object DeepCloneSerializeField(object obj) "),(0,n.kt)("h3",{id:"reflectionutilinvokelistadd"},"ReflectionUtil.InvokeListAdd"),(0,n.kt)("p",null,"public static void InvokeListAdd(object obj, FieldInfo field, object item) "),(0,n.kt)("h3",{id:"reflectionutilinvokelistaddtot"},"ReflectionUtil.InvokeListAddTo","<","T",">"),(0,n.kt)("p",null,"public static void InvokeListAddTo","<","T",">","(object obj, FieldInfo field, Action","<","T",">"," callback) "),(0,n.kt)("h3",{id:"reflectionutilinvokelistclear"},"ReflectionUtil.InvokeListClear"),(0,n.kt)("p",null,"public static void InvokeListClear(object obj, FieldInfo field) "),(0,n.kt)("h3",{id:"reflectionutilinvokelistcount"},"ReflectionUtil.InvokeListCount"),(0,n.kt)("p",null,"public static int InvokeListCount(object obj, FieldInfo field) "),(0,n.kt)("h3",{id:"reflectionutilinvokelistgett"},"ReflectionUtil.InvokeListGet","<","T",">"),(0,n.kt)("p",null,"public static T InvokeListGet","<","T",">","(object obj, FieldInfo field, int i) "),(0,n.kt)("h2",{id:"requirechartcomponentattribute"},"RequireChartComponentAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("h3",{id:"requirechartcomponentattributerequirechartcomponentattribute"},"RequireChartComponentAttribute.RequireChartComponentAttribute"),(0,n.kt)("p",null,"public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2) "),(0,n.kt)("p",null,"public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3) "),(0,n.kt)("h2",{id:"ring"},"Ring"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie")),(0,n.kt)("h3",{id:"ringdefaultcolorby"},"Ring.defaultColorBy"),(0,n.kt)("p",null,"public override SerieColorBy defaultColorBy "),(0,n.kt)("h3",{id:"ringadddefaultserie"},"Ring.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h3",{id:"ringgetdatatotal"},"Ring.GetDataTotal"),(0,n.kt)("p",null,"public override double GetDataTotal(int dimension, SerieData serieData = null) "),(0,n.kt)("h2",{id:"ringchart"},"RingChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u73af\u5f62\u56fe\u4e3b\u8981\u7528\u4e8e\u663e\u793a\u6bcf\u4e00\u9879\u7684\u6bd4\u4f8b\u4ee5\u53ca\u5404\u9879\u4e4b\u95f4\u7684\u5173\u7cfb\u3002"),(0,n.kt)("h3",{id:"ringchartdefaultmultipleringchart"},"RingChart.DefaultMultipleRingChart"),(0,n.kt)("p",null,"public void DefaultMultipleRingChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u591a\u5706\u73af\u56fe\u3002"),(0,n.kt)("h2",{id:"rosetype"},"RoseType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u662f\u5426\u5c55\u793a\u6210\u5357\u4e01\u683c\u5c14\u56fe\uff0c\u901a\u8fc7\u534a\u5f84\u533a\u5206\u6570\u636e\u5927\u5c0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4e0d\u5c55\u793a\u6210\u5357\u4e01\u683c\u5c14\u73ab\u7470\u56fe\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Radius"),": \u6247\u533a\u5706\u5fc3\u89d2\u5c55\u73b0\u6570\u636e\u7684\u767e\u5206\u6bd4\uff0c\u534a\u5f84\u5c55\u73b0\u6570\u636e\u7684\u5927\u5c0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Area"),": \u6240\u6709\u6247\u533a\u5706\u5fc3\u89d2\u76f8\u540c\uff0c\u4ec5\u901a\u8fc7\u534a\u5f84\u5c55\u73b0\u6570\u636e\u5927\u5c0f\u3002")),(0,n.kt)("h2",{id:"runtimeutil"},"RuntimeUtil"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"runtimeutilgetallassemblytypes"},"RuntimeUtil.GetAllAssemblyTypes"),(0,n.kt)("p",null,"public static IEnumerable","<","Type",">"," GetAllAssemblyTypes() "),(0,n.kt)("h3",{id:"runtimeutilgetalltypesderivedfrom"},"RuntimeUtil.GetAllTypesDerivedFrom"),(0,n.kt)("p",null,"public static IEnumerable","<","Type",">"," GetAllTypesDerivedFrom(Type type) "),(0,n.kt)("h3",{id:"runtimeutilgetalltypesderivedfromt"},"RuntimeUtil.GetAllTypesDerivedFrom","<","T",">"),(0,n.kt)("p",null,"public static IEnumerable","<","Type",">"," GetAllTypesDerivedFrom","<","T",">","() "),(0,n.kt)("h3",{id:"runtimeutilgetattributet"},"RuntimeUtil.GetAttribute","<","T",">"),(0,n.kt)("p",null,"public static T GetAttribute","<","T",">","(this MemberInfo type, bool check = true) where T : Attribute "),(0,n.kt)("h3",{id:"runtimeutilhassubclass"},"RuntimeUtil.HasSubclass"),(0,n.kt)("p",null,"public static bool HasSubclass(Type type) "),(0,n.kt)("h2",{id:"sampletype"},"SampleType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u91c7\u6837\u7c7b\u578b\uff0c\u4e00\u822c\u7528\u4e8e\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Peak"),": \u53d6\u5cf0\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Average"),": \u53d6\u8fc7\u6ee4\u70b9\u7684\u5e73\u5747\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Max"),": \u53d6\u8fc7\u6ee4\u70b9\u7684\u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Min"),": \u53d6\u8fc7\u6ee4\u70b9\u7684\u6700\u5c0f\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Sum"),": \u53d6\u8fc7\u6ee4\u70b9\u7684\u548c\u3002")),(0,n.kt)("h2",{id:"scatter"},"Scatter"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basescatter"},"BaseScatter")),(0,n.kt)("h3",{id:"scatteradddefaultserie"},"Scatter.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h2",{id:"scatterchart"},"ScatterChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u6563\u70b9\u56fe\u4e3b\u8981\u7528\u4e8e\u5c55\u73b0\u4e24\u4e2a\u6570\u636e\u7ef4\u5ea6\u4e4b\u95f4\u7684\u5173\u7cfb\u3002"),(0,n.kt)("h3",{id:"scatterchartdefaultbubblechart"},"ScatterChart.DefaultBubbleChart"),(0,n.kt)("p",null,"public void DefaultBubbleChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u6c14\u6ce1\u56fe\u3002"),(0,n.kt)("h2",{id:"selectstyle"},"SelectStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#statestyle"},"StateStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u9009\u4e2d\u72b6\u6001\u6837\u5f0f\u3002"),(0,n.kt)("h2",{id:"serie"},"Serie"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseserie"},"BaseSerie"),",",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=icomparable"},"IComparable")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#seriehandlert"},"SerieHandler","<","T",">"),",",(0,n.kt)("a",{parentName:"p",href:"#bar"},"Bar"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedbar"},"SimplifiedBar"),",",(0,n.kt)("a",{parentName:"p",href:"#candlestick"},"Candlestick"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedcandlestick"},"SimplifiedCandlestick"),",",(0,n.kt)("a",{parentName:"p",href:"#heatmap"},"Heatmap"),",",(0,n.kt)("a",{parentName:"p",href:"#line"},"Line"),",",(0,n.kt)("a",{parentName:"p",href:"#simplifiedline"},"SimplifiedLine"),",",(0,n.kt)("a",{parentName:"p",href:"#parallel"},"Parallel"),",",(0,n.kt)("a",{parentName:"p",href:"#pie"},"Pie"),",",(0,n.kt)("a",{parentName:"p",href:"#radar"},"Radar"),",",(0,n.kt)("a",{parentName:"p",href:"#ring"},"Ring"),",",(0,n.kt)("a",{parentName:"p",href:"#basescatter"},"BaseScatter")," "),(0,n.kt)("p",null,"\u7cfb\u5217\u3002\u7cfb\u5217\u4e00\u822c\u7531\u6570\u636e\u548c\u914d\u7f6e\u7ec4\u6210\uff0c\u7528\u6765\u8868\u793a\u5177\u4f53\u7684\u56fe\u8868\u56fe\u5f62\uff0c\u5982\u6298\u7ebf\u56fe\u7684\u4e00\u6761\u6298\u7ebf\uff0c\u67f1\u56fe\u7684\u4e00\u7ec4\u67f1\u5b50\u7b49\u3002\u4e00\u4e2a\u56fe\u8868\u4e2d\u53ef\u4ee5\u5305\u542b\u591a\u4e2a\u4e0d\u540c\u7c7b\u578b\u7684\u7cfb\u5217\u3002"),(0,n.kt)("h3",{id:"serieareastyle"},"Serie.areaStyle"),(0,n.kt)("p",null,"public AreaStyle areaStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u533a\u57df\u586b\u5145\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"serieblurstyle"},"Serie.blurStyle"),(0,n.kt)("p",null,"public BlurStyle blurStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u6de1\u51fa\u72b6\u6001\u7684\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"seriecolorbydata"},"Serie.colorByData"),(0,n.kt)("p",null,"public bool colorByData",(0,n.kt)("br",{parentName:"p"}),"\n","\u53d6\u8272\u7b56\u7565\u662f\u5426\u4e3a\u6309\u6570\u636e\u9879\u5206\u914d\u3002"),(0,n.kt)("h3",{id:"seriedata"},"Serie.data"),(0,n.kt)("p",null,"public List","<","SerieData",">"," data",(0,n.kt)("br",{parentName:"p"}),"\n","\u7cfb\u5217\u4e2d\u7684\u6570\u636e\u5185\u5bb9\u6570\u7ec4\u3002SerieData\u53ef\u4ee5\u8bbe\u7f6e1\u5230n\u7ef4\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"seriedatacount"},"Serie.dataCount"),(0,n.kt)("p",null,"public int dataCount",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9879\u4e2a\u6570\u3002"),(0,n.kt)("h3",{id:"seriedatadirty"},"Serie.dataDirty"),(0,n.kt)("p",null,"public bool dataDirty "),(0,n.kt)("h3",{id:"serieemphasisstyle"},"Serie.emphasisStyle"),(0,n.kt)("p",null,"public EmphasisStyle emphasisStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ad8\u4eae\u72b6\u6001\u7684\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"serieendlabel"},"Serie.endLabel"),(0,n.kt)("p",null,"public LabelStyle endLabel "),(0,n.kt)("h3",{id:"seriehighlight"},"Serie.highlight"),(0,n.kt)("p",null,"public bool highlight",(0,n.kt)("br",{parentName:"p"}),"\n","\u8be5\u7cfb\u5217\u662f\u5426\u9ad8\u4eae\uff0c\u4e00\u822c\u7531\u56fe\u4f8b\u60ac\u505c\u89e6\u53d1\u3002"),(0,n.kt)("h3",{id:"serieindex"},"Serie.index"),(0,n.kt)("p",null,"public int index",(0,n.kt)("br",{parentName:"p"}),"\n","\u7cfb\u5217\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"serieinteractdirty"},"Serie.interactDirty"),(0,n.kt)("p",null,"public bool interactDirty "),(0,n.kt)("h3",{id:"serielabel"},"Serie.label"),(0,n.kt)("p",null,"public LabelStyle label",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u5f62\u4e0a\u7684\u6587\u672c\u6807\u7b7e\uff0c\u53ef\u7528\u4e8e\u8bf4\u660e\u56fe\u5f62\u7684\u4e00\u4e9b\u6570\u636e\u4fe1\u606f\uff0c\u6bd4\u5982\u503c\uff0c\u540d\u79f0\u7b49\u3002"),(0,n.kt)("h3",{id:"serielabeldirty"},"Serie.labelDirty"),(0,n.kt)("p",null,"public bool labelDirty "),(0,n.kt)("h3",{id:"serielabelline"},"Serie.labelLine"),(0,n.kt)("p",null,"public LabelLine labelLine",(0,n.kt)("br",{parentName:"p"}),"\n","\u6807\u7b7e\u4e0a\u7684\u89c6\u89c9\u5f15\u5bfc\u7ebf\u3002"),(0,n.kt)("h3",{id:"serielegendname"},"Serie.legendName"),(0,n.kt)("p",null,"public string legendName",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fe\u4f8b\u540d\u79f0\u3002\u5f53\u7cfb\u5217\u540d\u79f0\u4e0d\u4e3a\u7a7a\u65f6\uff0c\u56fe\u4f8b\u540d\u79f0\u5373\u4e3a\u7cfb\u5217\u540d\u79f0\uff1b\u53cd\u4e4b\u5219\u4e3a\u7d22\u5f15index\u3002"),(0,n.kt)("h3",{id:"serielinearrow"},"Serie.lineArrow"),(0,n.kt)("p",null,"public LineArrow lineArrow",(0,n.kt)("br",{parentName:"p"}),"\n","\u6298\u7ebf\u56fe\u7684\u7bad\u5934\u3002"),(0,n.kt)("h3",{id:"serielinks"},"Serie.links"),(0,n.kt)("p",null,"public List","<","SerieDataLink",">"," links",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u8282\u70b9\u7684\u8fb9\u3002"),(0,n.kt)("h3",{id:"serienamedirty"},"Serie.nameDirty"),(0,n.kt)("p",null,"public bool nameDirty "),(0,n.kt)("h3",{id:"serieonclick"},"Serie.onClick"),(0,n.kt)("p",null,"public Action","<","SerieEventData",">"," onClick",(0,n.kt)("br",{parentName:"p"}),"\n","\u70b9\u51fb\u7cfb\u5217\u65f6\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"serieondown"},"Serie.onDown"),(0,n.kt)("p",null,"public Action","<","SerieEventData",">"," onDown",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u6309\u4e0b\u65f6\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"serieonenter"},"Serie.onEnter"),(0,n.kt)("p",null,"public Action","<","SerieEventData",">"," onEnter",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u8fdb\u5165\u65f6\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"serieonexit"},"Serie.onExit"),(0,n.kt)("p",null,"public Action","<","SerieEventData",">"," onExit",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u79bb\u5f00\u65f6\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"serieselectstyle"},"Serie.selectStyle"),(0,n.kt)("p",null,"public SelectStyle selectStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u9009\u4e2d\u72b6\u6001\u7684\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"serieshowdatadimension"},"Serie.showDataDimension"),(0,n.kt)("p",null,"public int showDataDimension",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9879\u91cc\u7684\u6570\u636e\u7ef4\u6570\u3002"),(0,n.kt)("h3",{id:"serieshowdataname"},"Serie.showDataName"),(0,n.kt)("p",null,"public bool showDataName",(0,n.kt)("br",{parentName:"p"}),"\n","\u5728Editor\u7684inpsector\u4e0a\u662f\u5426\u663e\u793aname\u53c2\u6570"),(0,n.kt)("h3",{id:"serietitledirty"},"Serie.titleDirty"),(0,n.kt)("p",null,"public bool titleDirty "),(0,n.kt)("h3",{id:"serietitlestyle"},"Serie.titleStyle"),(0,n.kt)("p",null,"public TitleStyle titleStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9879\u6807\u9898\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"serieaddchilddata"},"Serie.AddChildData"),(0,n.kt)("p",null,"public SerieData AddChildData(SerieData parent, List","<","double",">"," value, string name, string id) "),(0,n.kt)("p",null,"public void AddChildData(SerieData parent, SerieData serieData) "),(0,n.kt)("h3",{id:"serieadddata"},"Serie.AddData"),(0,n.kt)("p",null,"public SerieData AddData(List","<","double",">"," valueList, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5c06\u4e00\u7ec4\u6570\u636e\u6dfb\u52a0\u5230\u7cfb\u5217\u4e2d\u3002 \u5982\u679c\u6570\u636e\u53ea\u6709\u4e00\u4e2a\uff0c\u9ed8\u8ba4\u6dfb\u52a0\u5230\u7ef4\u5ea6Y\u4e2d\u3002"),(0,n.kt)("p",null,"public SerieData AddData(params double[] values)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4efb\u610f\u7ef4\u6570\u636e\u5230\u7cfb\u5217\u4e2d\u3002"),(0,n.kt)("h3",{id:"serieaddextracomponentt"},"Serie.AddExtraComponent","<","T",">"),(0,n.kt)("p",null,"public T AddExtraComponent","<","T",">","() where T : ChildComponent, ISerieComponent "),(0,n.kt)("h3",{id:"serieaddlink"},"Serie.AddLink"),(0,n.kt)("p",null,"public virtual SerieDataLink AddLink(string sourceId, string targetId, double value = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4e00\u4e2a\u5173\u7cfb\u56fe\u7684\u5173\u7cfb\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"serieaddseriedata"},"Serie.AddSerieData"),(0,n.kt)("p",null,"public virtual void AddSerieData(SerieData serieData) "),(0,n.kt)("h3",{id:"serieaddxydata"},"Serie.AddXYData"),(0,n.kt)("p",null,"public SerieData AddXYData(double xValue, double yValue, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\uff08x\uff0cy\uff09\u6570\u636e\u5230\u7ef4\u5ea6X\u548c\u7ef4\u5ea6Y"),(0,n.kt)("h3",{id:"serieaddydata"},"Serie.AddYData"),(0,n.kt)("p",null,"public SerieData AddYData(double value, string dataName = null, string dataId = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6dfb\u52a0\u4e00\u4e2a\u6570\u636e\u5230\u7ef4\u5ea6Y\uff08\u6b64\u65f6\u7ef4\u5ea6X\u5bf9\u5e94\u7684\u6570\u636e\u662f\u7d22\u5f15\uff09"),(0,n.kt)("h3",{id:"serieanimationenable"},"Serie.AnimationEnable"),(0,n.kt)("p",null,"public void AnimationEnable(bool flag)",(0,n.kt)("br",{parentName:"p"}),"\n","\u542f\u7528\u6216\u53d6\u6d88\u521d\u59cb\u52a8\u753b"),(0,n.kt)("h3",{id:"serieanimationfadein"},"Serie.AnimationFadeIn"),(0,n.kt)("p",null,"public void AnimationFadeIn()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e10\u5165\u52a8\u753b"),(0,n.kt)("h3",{id:"serieanimationfadeout"},"Serie.AnimationFadeOut"),(0,n.kt)("p",null,"public void AnimationFadeOut()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e10\u51fa\u52a8\u753b"),(0,n.kt)("h3",{id:"serieanimationpause"},"Serie.AnimationPause"),(0,n.kt)("p",null,"public void AnimationPause()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6682\u505c\u52a8\u753b"),(0,n.kt)("h3",{id:"serieanimationreset"},"Serie.AnimationReset"),(0,n.kt)("p",null,"public void AnimationReset()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u7f6e\u52a8\u753b"),(0,n.kt)("h3",{id:"serieanimationrestart"},"Serie.AnimationRestart"),(0,n.kt)("p",null,"public void AnimationRestart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u7f6e\u52a8\u753b"),(0,n.kt)("h3",{id:"serieanimationresume"},"Serie.AnimationResume"),(0,n.kt)("p",null,"public void AnimationResume()",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ee7\u7eed\u52a8\u753b"),(0,n.kt)("h3",{id:"seriecanaddcomponent"},"Serie.CanAddComponent"),(0,n.kt)("p",null,"public bool CanAddComponent(Type type) "),(0,n.kt)("h3",{id:"seriecanaddcomponentt"},"Serie.CanAddComponent","<","T",">"),(0,n.kt)("p",null,"public bool CanAddComponent","<","T",">","() where T : ChildComponent, ISerieComponent "),(0,n.kt)("h3",{id:"serieclearcomponentdirty"},"Serie.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h3",{id:"seriecleardata"},"Serie.ClearData"),(0,n.kt)("p",null,"public override void ClearData()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e05\u7a7a\u6240\u6709\u6570\u636e"),(0,n.kt)("h3",{id:"seriecleardirty"},"Serie.ClearDirty"),(0,n.kt)("p",null,"public override void ClearDirty() "),(0,n.kt)("h3",{id:"serieclearhighlight"},"Serie.ClearHighlight"),(0,n.kt)("p",null,"public void ClearHighlight()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e05\u9664\u6240\u6709\u6570\u636e\u7684\u9ad8\u4eae\u6807\u5fd7"),(0,n.kt)("h3",{id:"serieclearlinks"},"Serie.ClearLinks"),(0,n.kt)("p",null,"public void ClearLinks()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6e05\u7a7a\u6240\u6709Link\u6570\u636e"),(0,n.kt)("h3",{id:"serieclearserienamedirty"},"Serie.ClearSerieNameDirty"),(0,n.kt)("p",null,"public void ClearSerieNameDirty() "),(0,n.kt)("h3",{id:"serieclearverticesdirty"},"Serie.ClearVerticesDirty"),(0,n.kt)("p",null,"public override void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"serieclone"},"Serie.Clone"),(0,n.kt)("p",null,"public Serie Clone() "),(0,n.kt)("h3",{id:"serieclonet"},"Serie.Clone","<","T",">"),(0,n.kt)("p",null,"public T Clone","<","T",">","() where T : Serie "),(0,n.kt)("h3",{id:"seriecompareto"},"Serie.CompareTo"),(0,n.kt)("p",null,"public int CompareTo(object obj) "),(0,n.kt)("h3",{id:"serieensurecomponent"},"Serie.EnsureComponent"),(0,n.kt)("p",null,"public ISerieComponent EnsureComponent(Type type) "),(0,n.kt)("h3",{id:"serieensurecomponentt"},"Serie.EnsureComponent","<","T",">"),(0,n.kt)("p",null,"public T EnsureComponent","<","T",">","() where T : ChildComponent, ISerieComponent",(0,n.kt)("br",{parentName:"p"}),"\n","\u786e\u4fdd\u7cfb\u5217\u6709\u8be5\u7ec4\u4ef6\u3002\u5982\u679c\u6ca1\u6709\uff0c\u5219\u6dfb\u52a0\u3002"),(0,n.kt)("h3",{id:"seriegetbarwidth"},"Serie.GetBarWidth"),(0,n.kt)("p",null,"public float GetBarWidth(float categoryWidth, int barCount = 0, float defaultRate = 0.6f) "),(0,n.kt)("h3",{id:"seriegetcomponent"},"Serie.GetComponent"),(0,n.kt)("p",null,"public ISerieComponent GetComponent(Type type) "),(0,n.kt)("h3",{id:"seriegetcomponentt"},"Serie.GetComponent","<","T",">"),(0,n.kt)("p",null,"public T GetComponent","<","T",">","() where T : ChildComponent, ISerieComponent "),(0,n.kt)("h3",{id:"seriegetdata"},"Serie.GetData"),(0,n.kt)("p",null,"public double GetData(int index, int dimension, DataZoom dataZoom = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6307\u5b9aindex\u6307\u5b9a\u7ef4\u6570\u7684\u6570\u636e"),(0,n.kt)("h3",{id:"seriegetdatalist"},"Serie.GetDataList"),(0,n.kt)("p",null,"public List","<","SerieData",">"," GetDataList(DataZoom dataZoom = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u7cfb\u5217\u7684\u6570\u636e\u5217\u8868"),(0,n.kt)("h3",{id:"seriegetdatatotal"},"Serie.GetDataTotal"),(0,n.kt)("p",null,"public virtual double GetDataTotal(int dimension, SerieData serieData = null) "),(0,n.kt)("h3",{id:"seriegetseriedata"},"Serie.GetSerieData"),(0,n.kt)("p",null,"public SerieData GetSerieData(SerieData parent, string id) "),(0,n.kt)("p",null,"public SerieData GetSerieData(string id, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"seriegetxydata"},"Serie.GetXYData"),(0,n.kt)("p",null,"public void GetXYData(int index, DataZoom dataZoom, out double xValue, out double yVlaue)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6307\u5b9a\u7d22\u5f15\u7684\u7ef4\u5ea6X\u548c\u7ef4\u5ea6Y\u7684\u6570\u636e"),(0,n.kt)("h3",{id:"seriegetycurrdata"},"Serie.GetYCurrData"),(0,n.kt)("p",null,"public double GetYCurrData(int index, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"seriegetydata"},"Serie.GetYData"),(0,n.kt)("p",null,"public void GetYData(int index, out double yData, out string dataName, DataZoom dataZoom = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u7ef4\u5ea6Y\u7d22\u5f15\u5bf9\u5e94\u7684\u6570\u636e\u548c\u6570\u636e\u540d"),(0,n.kt)("h3",{id:"serieisignoreindex"},"Serie.IsIgnoreIndex"),(0,n.kt)("p",null,"public bool IsIgnoreIndex(int index, int dimension = 1) "),(0,n.kt)("h3",{id:"serieisignorepoint"},"Serie.IsIgnorePoint"),(0,n.kt)("p",null,"public bool IsIgnorePoint(int index) "),(0,n.kt)("h3",{id:"serieisignorevalue"},"Serie.IsIgnoreValue"),(0,n.kt)("p",null,"public bool IsIgnoreValue(double value) "),(0,n.kt)("p",null,"public bool IsIgnoreValue(SerieData serieData, double value) "),(0,n.kt)("h3",{id:"serieislegendname"},"Serie.IsLegendName"),(0,n.kt)("p",null,"public bool IsLegendName(string legendName) "),(0,n.kt)("h3",{id:"serieisminshowlabelvalue"},"Serie.IsMinShowLabelValue"),(0,n.kt)("p",null,"public bool IsMinShowLabelValue(double value) "),(0,n.kt)("p",null,"public bool IsMinShowLabelValue(SerieData serieData, int dimension = 1) "),(0,n.kt)("h3",{id:"serieisperformancemode"},"Serie.IsPerformanceMode"),(0,n.kt)("p",null,"public bool IsPerformanceMode()",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u4e3a\u6027\u80fd\u6a21\u5f0f\u3002\u6027\u80fd\u6a21\u5f0f\u4e0b\u4e0d\u7ed8\u5236Symbol\uff0c\u4e0d\u5237\u65b0Label\uff0c\u4e0d\u5355\u72ec\u8bbe\u7f6e\u6570\u636e\u9879\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"serieisseriet"},"Serie.IsSerie","<","T",">"),(0,n.kt)("p",null,"public bool IsSerie","<","T",">","() where T : Serie "),(0,n.kt)("h3",{id:"serieisseriedatalegendname"},"Serie.IsSerieDataLegendName"),(0,n.kt)("p",null,"public bool IsSerieDataLegendName(string legendName) "),(0,n.kt)("h3",{id:"serieisserielegendname"},"Serie.IsSerieLegendName"),(0,n.kt)("p",null,"public bool IsSerieLegendName(string legendName) "),(0,n.kt)("h3",{id:"serieisusecoordt"},"Serie.IsUseCoord","<","T",">"),(0,n.kt)("p",null,"public bool IsUseCoord","<","T",">","() where T : CoordSystem "),(0,n.kt)("h3",{id:"serieremoveallcomponents"},"Serie.RemoveAllComponents"),(0,n.kt)("p",null,"public void RemoveAllComponents()",(0,n.kt)("br",{parentName:"p"}),"\n","\u79fb\u9664\u6240\u6709\u989d\u5916\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"serieremovecomponent"},"Serie.RemoveComponent"),(0,n.kt)("p",null,"public void RemoveComponent(Type type) "),(0,n.kt)("h3",{id:"serieremovecomponentt"},"Serie.RemoveComponent","<","T",">"),(0,n.kt)("p",null,"public void RemoveComponent","<","T",">","() where T : ISerieComponent "),(0,n.kt)("h3",{id:"serieremovedata"},"Serie.RemoveData"),(0,n.kt)("p",null,"public void RemoveData(int index)",(0,n.kt)("br",{parentName:"p"}),"\n","\u79fb\u9664\u6307\u5b9a\u7d22\u5f15\u7684\u6570\u636e"),(0,n.kt)("h3",{id:"serieresetdataindex"},"Serie.ResetDataIndex"),(0,n.kt)("p",null,"public bool ResetDataIndex()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u7f6e\u6570\u636e\u9879\u7d22\u5f15\u3002\u907f\u514d\u90e8\u5206\u6570\u636e\u9879\u7684\u7d22\u5f15\u5f02\u5e38\u3002"),(0,n.kt)("h3",{id:"serieresetinteract"},"Serie.ResetInteract"),(0,n.kt)("p",null,"public void ResetInteract() "),(0,n.kt)("h3",{id:"seriesetalldirty"},"Serie.SetAllDirty"),(0,n.kt)("p",null,"public override void SetAllDirty() "),(0,n.kt)("h3",{id:"seriesetcoordt"},"Serie.SetCoord","<","T",">"),(0,n.kt)("p",null,"public bool SetCoord","<","T",">","() where T : CoordSystem "),(0,n.kt)("h3",{id:"seriesethighlight"},"Serie.SetHighlight"),(0,n.kt)("p",null,"public void SetHighlight(int index, bool flag)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6e\u6307\u5b9a\u7d22\u5f15\u7684\u6570\u636e\u4e3a\u9ad8\u4eae\u72b6\u6001"),(0,n.kt)("h3",{id:"seriesetverticesdirty"},"Serie.SetVerticesDirty"),(0,n.kt)("p",null,"public override void SetVerticesDirty() "),(0,n.kt)("h3",{id:"serieupdatedata"},"Serie.UpdateData"),(0,n.kt)("p",null,"public bool UpdateData(int index, List","<","double",">"," values)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u5b9a\u7d22\u5f15\u7684\u6570\u636e\u9879\u6570\u636e\u5217\u8868"),(0,n.kt)("h3",{id:"serieupdatedataname"},"Serie.UpdateDataName"),(0,n.kt)("p",null,"public bool UpdateDataName(int index, string name) "),(0,n.kt)("h3",{id:"serieupdatexydata"},"Serie.UpdateXYData"),(0,n.kt)("p",null,"public bool UpdateXYData(int index, double xValue, double yValue)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u5b9a\u7d22\u5f15\u7684\u7ef4\u5ea6X\u548c\u7ef4\u5ea6Y\u7684\u6570\u636e"),(0,n.kt)("h3",{id:"serieupdateydata"},"Serie.UpdateYData"),(0,n.kt)("p",null,"public bool UpdateYData(int index, double value)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u5b9a\u7d22\u5f15\u7684\u7ef4\u5ea6Y\u6570\u636e"),(0,n.kt)("h2",{id:"seriecolorby"},"SerieColorBy"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u4ece\u4e3b\u9898\u4e2d\u53d6\u8272\u7b56\u7565\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Default"),": \u9ed8\u8ba4\u7b56\u7565\u3002\u6bcf\u79cdSerie\u90fd\u6709\u81ea\u5df1\u7684\u9ed8\u8ba4\u7684\u53d6\u989c\u8272\u7b56\u7565\u3002\u6bd4\u5982Line\u9ed8\u8ba4\u662fSeries\u7b56\u7565\uff0cPie\u9ed8\u8ba4\u662fData\u7b56\u7565\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Serie"),": \u6309\u7167\u7cfb\u5217\u5206\u914d\u8c03\u8272\u76d8\u4e2d\u7684\u989c\u8272\uff0c\u540c\u4e00\u7cfb\u5217\u4e2d\u7684\u6240\u6709\u6570\u636e\u90fd\u662f\u7528\u76f8\u540c\u7684\u989c\u8272\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Data"),": \u6309\u7167\u6570\u636e\u9879\u5206\u914d\u8c03\u8272\u76d8\u4e2d\u7684\u989c\u8272\uff0c\u6bcf\u4e2a\u6570\u636e\u9879\u90fd\u4f7f\u7528\u4e0d\u540c\u7684\u989c\u8272\u3002")),(0,n.kt)("h2",{id:"seriecomponentattribute"},"SerieComponentAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("p",null,"\u53ef\u6dfb\u52a0\u5230Serie\u7684\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"seriecomponentattributecontains"},"SerieComponentAttribute.Contains"),(0,n.kt)("p",null,"public bool Contains(Type type) "),(0,n.kt)("h3",{id:"seriecomponentattributecontainst"},"SerieComponentAttribute.Contains","<","T",">"),(0,n.kt)("p",null,"public bool Contains","<","T",">","() where T : ISerieComponent "),(0,n.kt)("h3",{id:"seriecomponentattributeseriecomponentattribute"},"SerieComponentAttribute.SerieComponentAttribute"),(0,n.kt)("p",null,"public SerieComponentAttribute(Type type1) "),(0,n.kt)("p",null,"public SerieComponentAttribute(Type type1, Type type2) "),(0,n.kt)("p",null,"public SerieComponentAttribute(Type type1, Type type2, Type type3) "),(0,n.kt)("p",null,"public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4) "),(0,n.kt)("p",null,"public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5) "),(0,n.kt)("p",null,"public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6) "),(0,n.kt)("p",null,"public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7) "),(0,n.kt)("h2",{id:"seriecontext"},"SerieContext"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"seriecontexttitleobject"},"SerieContext.titleObject"),(0,n.kt)("p",null,"public ChartLabel titleObject",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed8\u5236\u70b9"),(0,n.kt)("h2",{id:"serieconvertattribute"},"SerieConvertAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("p",null,"\u53ef\u8f6c\u5316\u4e3a\u54ea\u4e9bSerie\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"serieconvertattributecontains"},"SerieConvertAttribute.Contains"),(0,n.kt)("p",null,"public bool Contains(Type type) "),(0,n.kt)("h3",{id:"serieconvertattributecontainst"},"SerieConvertAttribute.Contains","<","T",">"),(0,n.kt)("p",null,"public bool Contains","<","T",">","() where T : Serie "),(0,n.kt)("h3",{id:"serieconvertattributeserieconvertattribute"},"SerieConvertAttribute.SerieConvertAttribute"),(0,n.kt)("p",null,"public SerieConvertAttribute(Type serie, Type serie2) "),(0,n.kt)("p",null,"public SerieConvertAttribute(Type serie, Type serie2, Type serie3) "),(0,n.kt)("p",null,"public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4) "),(0,n.kt)("h2",{id:"seriedata-1"},"SerieData"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u7cfb\u5217\u4e2d\u7684\u4e00\u4e2a\u6570\u636e\u9879\u3002\u53ef\u5b58\u50a8\u6570\u636e\u540d\u548c1-n\u7ef4\u4e2a\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"seriedataareastyle"},"SerieData.areaStyle"),(0,n.kt)("p",null,"public AreaStyle areaStyle "),(0,n.kt)("h3",{id:"seriedatablurstyle"},"SerieData.blurStyle"),(0,n.kt)("p",null,"public BlurStyle blurStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u6de1\u51fa\u72b6\u6001\u7684\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"seriedatadata"},"SerieData.data"),(0,n.kt)("p",null,"public List","<","double",">"," data",(0,n.kt)("br",{parentName:"p"}),"\n","\u53ef\u6307\u5b9a\u4efb\u610f\u7ef4\u6570\u7684\u6570\u503c\u5217\u8868\u3002"),(0,n.kt)("h3",{id:"seriedataemphasisstyle"},"SerieData.emphasisStyle"),(0,n.kt)("p",null,"public EmphasisStyle emphasisStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ad8\u4eae\u72b6\u6001\u7684\u6837\u5f0f"),(0,n.kt)("h3",{id:"seriedataid"},"SerieData.id"),(0,n.kt)("p",null,"public string id",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9879\u7684\u552f\u4e00id\u3002\u552f\u4e00id\u4e0d\u662f\u5fc5\u987b\u8bbe\u7f6e\u7684\u3002"),(0,n.kt)("h3",{id:"seriedataindex"},"SerieData.index"),(0,n.kt)("p",null,"public override int index",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9879\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"seriedataitemstyle"},"SerieData.itemStyle"),(0,n.kt)("p",null,"public ItemStyle itemStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u5355\u4e2a\u6570\u636e\u9879\u7684\u6837\u5f0f\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"seriedatalabelline"},"SerieData.labelLine"),(0,n.kt)("p",null,"public LabelLine labelLine "),(0,n.kt)("h3",{id:"seriedatalabelobject"},"SerieData.labelObject"),(0,n.kt)("p",null,"public ChartLabel labelObject "),(0,n.kt)("h3",{id:"seriedatalabelstyle"},"SerieData.labelStyle"),(0,n.kt)("p",null,"public LabelStyle labelStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u5355\u4e2a\u6570\u636e\u9879\u7684\u6807\u7b7e\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"seriedatalegendname"},"SerieData.legendName"),(0,n.kt)("p",null,"public string legendName",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9879\u56fe\u4f8b\u540d\u79f0\u3002\u5f53\u6570\u636e\u9879\u540d\u79f0\u4e0d\u4e3a\u7a7a\u65f6\uff0c\u56fe\u4f8b\u540d\u79f0\u5373\u4e3a\u7cfb\u5217\u540d\u79f0\uff1b\u53cd\u4e4b\u5219\u4e3a\u7d22\u5f15index\u3002"),(0,n.kt)("h3",{id:"seriedatalinestyle"},"SerieData.lineStyle"),(0,n.kt)("p",null,"public LineStyle lineStyle "),(0,n.kt)("h3",{id:"seriedataname"},"SerieData.name"),(0,n.kt)("p",null,"public string name",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9879\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"seriedataparentid"},"SerieData.parentId"),(0,n.kt)("p",null,"public string parentId",(0,n.kt)("br",{parentName:"p"}),"\n","\u7236\u8282\u70b9id\u3002\u7236\u8282\u70b9id\u4e0d\u662f\u5fc5\u987b\u8bbe\u7f6e\u7684\u3002"),(0,n.kt)("h3",{id:"seriedataradius"},"SerieData.radius"),(0,n.kt)("p",null,"public float radius",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49\u534a\u5f84\u3002\u53ef\u7528\u5728\u997c\u56fe\u4e2d\u81ea\u5b9a\u4e49\u67d0\u4e2a\u6570\u636e\u9879\u7684\u534a\u5f84\u3002"),(0,n.kt)("h3",{id:"seriedataselected"},"SerieData.selected"),(0,n.kt)("p",null,"public bool selected",(0,n.kt)("br",{parentName:"p"}),"\n","\u8be5\u6570\u636e\u9879\u662f\u5426\u88ab\u9009\u4e2d\u3002"),(0,n.kt)("h3",{id:"seriedataselectstyle"},"SerieData.selectStyle"),(0,n.kt)("p",null,"public SelectStyle selectStyle",(0,n.kt)("br",{parentName:"p"}),"\n","\u9009\u4e2d\u72b6\u6001\u7684\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"seriedatashow"},"SerieData.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u8be5\u6570\u636e\u9879\u662f\u5426\u8981\u663e\u793a\u3002"),(0,n.kt)("h3",{id:"seriedatastate"},"SerieData.state"),(0,n.kt)("p",null,"public SerieState state",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u9879\u7684\u9ed8\u8ba4\u72b6\u6001\u3002"),(0,n.kt)("h3",{id:"seriedatasymbol"},"SerieData.symbol"),(0,n.kt)("p",null,"public SerieSymbol symbol",(0,n.kt)("br",{parentName:"p"}),"\n","\u5355\u4e2a\u6570\u636e\u9879\u7684\u6807\u8bb0\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"seriedatatitleobject"},"SerieData.titleObject"),(0,n.kt)("p",null,"public ChartLabel titleObject "),(0,n.kt)("h3",{id:"seriedatatitlestyle"},"SerieData.titleStyle"),(0,n.kt)("p",null,"public TitleStyle titleStyle "),(0,n.kt)("h3",{id:"seriedataclearcomponentdirty"},"SerieData.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h3",{id:"seriedataclearverticesdirty"},"SerieData.ClearVerticesDirty"),(0,n.kt)("p",null,"public override void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"seriedataensurecomponent"},"SerieData.EnsureComponent"),(0,n.kt)("p",null,"public ISerieDataComponent EnsureComponent(Type type) "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u786e\u4fdd\u6570\u636e\u9879\u6709\u6307\u5b9a\u7c7b\u578b\u7684\u7ec4\u4ef6\uff0c\u5982\u679c\u6ca1\u6709\u5219\u6dfb\u52a0\u3002"),(0,n.kt)("h3",{id:"seriedataensurecomponentt"},"SerieData.EnsureComponent","<","T",">"),(0,n.kt)("p",null,"public T EnsureComponent","<","T",">","() where T : ChildComponent, ISerieDataComponent "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u786e\u4fdd\u6570\u636e\u9879\u6709\u6307\u5b9a\u7c7b\u578b\u7684\u7ec4\u4ef6\uff0c\u5982\u679c\u6ca1\u6709\u5219\u6dfb\u52a0\u3002"),(0,n.kt)("h3",{id:"seriedatagetaddanimationdata"},"SerieData.GetAddAnimationData"),(0,n.kt)("p",null,"public double GetAddAnimationData(double min, double max, float animationDuration = 500f, bool unscaledTime = false) "),(0,n.kt)("h3",{id:"seriedatagetcomponentt"},"SerieData.GetComponent","<","T",">"),(0,n.kt)("p",null,"public T GetComponent","<","T",">","() where T : ChildComponent, ISerieDataComponent",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u53d6\u6570\u636e\u9879\u7684\u6307\u5b9a\u7c7b\u578b\u7684\u7ec4\u4ef6\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u5219\u8fd4\u56denull\u3002"),(0,n.kt)("h3",{id:"seriedatagetcurrdata"},"SerieData.GetCurrData"),(0,n.kt)("p",null,"public double GetCurrData(int index, AnimationStyle animation, bool inverse, double min, double max, bool loop = false) "),(0,n.kt)("p",null,"public double GetCurrData(int index, float dataAddDuration = 500f, float animationDuration = 500f, bool unscaledTime = false, bool inverse = false) "),(0,n.kt)("p",null,"public double GetCurrData(int index, float dataAddDuration, float animationDuration, bool inverse, double min, double max, bool unscaledTime, bool loop = false) "),(0,n.kt)("h3",{id:"seriedatagetdata"},"SerieData.GetData"),(0,n.kt)("p",null,"public double GetData(int index, double min, double max) "),(0,n.kt)("h3",{id:"seriedatagetfirstdata"},"SerieData.GetFirstData"),(0,n.kt)("p",null,"public double GetFirstData(bool unscaledTime, float animationDuration = 500f) "),(0,n.kt)("h3",{id:"seriedatagetlabelheight"},"SerieData.GetLabelHeight"),(0,n.kt)("p",null,"public float GetLabelHeight() "),(0,n.kt)("h3",{id:"seriedatagetlabelwidth"},"SerieData.GetLabelWidth"),(0,n.kt)("p",null,"public float GetLabelWidth() "),(0,n.kt)("h3",{id:"seriedatagetlastdata"},"SerieData.GetLastData"),(0,n.kt)("p",null,"public double GetLastData() "),(0,n.kt)("h3",{id:"seriedatagetmaxdata"},"SerieData.GetMaxData"),(0,n.kt)("p",null,"public double GetMaxData(bool inverse = false)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6700\u5927\u503c\u3002"),(0,n.kt)("h3",{id:"seriedatagetmindata"},"SerieData.GetMinData"),(0,n.kt)("p",null,"public double GetMinData(bool inverse = false)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6700\u5c0f\u503c\u3002"),(0,n.kt)("h3",{id:"seriedatagetminmaxdata"},"SerieData.GetMinMaxData"),(0,n.kt)("p",null,"public void GetMinMaxData(int startDimensionIndex, bool inverse, out double min, out double max) "),(0,n.kt)("h3",{id:"seriedatagetoraddcomponentt"},"SerieData.GetOrAddComponent","<","T",">"),(0,n.kt)("p",null,"public T GetOrAddComponent","<","T",">","() where T : ChildComponent, ISerieDataComponent "),(0,n.kt)("h3",{id:"seriedatagetpreviousdata"},"SerieData.GetPreviousData"),(0,n.kt)("p",null,"public double GetPreviousData(int index, bool inverse = false) "),(0,n.kt)("h3",{id:"seriedatagettotaldata"},"SerieData.GetTotalData"),(0,n.kt)("p",null,"public double GetTotalData() "),(0,n.kt)("h3",{id:"seriedataisdatachanged"},"SerieData.IsDataChanged"),(0,n.kt)("p",null,"public bool IsDataChanged() "),(0,n.kt)("h3",{id:"seriedataisinpolygon"},"SerieData.IsInPolygon"),(0,n.kt)("p",null,"public bool IsInPolygon(Vector2 p) "),(0,n.kt)("h3",{id:"seriedataliststring"},"SerieData.List","<","string",">"),(0,n.kt)("p",null,"public static List","<","string",">"," extraFieldList = new List","<","string",">","()",(0,n.kt)("br",{parentName:"p"}),"\n","\u7cfb\u5217\u4e2d\u7684\u4e00\u4e2a\u6570\u636e\u9879\u3002\u53ef\u5b58\u50a8\u6570\u636e\u540d\u548c1-n\u7ef4\u4e2a\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"seriedataonadd"},"SerieData.OnAdd"),(0,n.kt)("p",null,"public void OnAdd(AnimationStyle animation, double startValue = 0) "),(0,n.kt)("h3",{id:"seriedataremoveallcomponent"},"SerieData.RemoveAllComponent"),(0,n.kt)("p",null,"public void RemoveAllComponent() "),(0,n.kt)("h3",{id:"seriedataremovecomponent"},"SerieData.RemoveComponent"),(0,n.kt)("p",null,"public void RemoveComponent(Type type) "),(0,n.kt)("h3",{id:"seriedataremovecomponentt"},"SerieData.RemoveComponent","<","T",">"),(0,n.kt)("p",null,"public void RemoveComponent","<","T",">","() where T : ISerieDataComponent "),(0,n.kt)("h3",{id:"seriedatareset"},"SerieData.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h3",{id:"seriedataseticonactive"},"SerieData.SetIconActive"),(0,n.kt)("p",null,"public void SetIconActive(bool flag) "),(0,n.kt)("h3",{id:"seriedatasetlabelactive"},"SerieData.SetLabelActive"),(0,n.kt)("p",null,"public void SetLabelActive(bool flag) "),(0,n.kt)("h3",{id:"seriedatasetpolygon"},"SerieData.SetPolygon"),(0,n.kt)("p",null,"public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4) "),(0,n.kt)("p",null,"public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5) "),(0,n.kt)("h3",{id:"seriedataupdatedata"},"SerieData.UpdateData"),(0,n.kt)("p",null,"public bool UpdateData(int dimension, double value) "),(0,n.kt)("h2",{id:"seriedatacomponentattribute"},"SerieDataComponentAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("p",null,"\u53ef\u6dfb\u52a0\u5230SerieData\u7684\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"seriedatacomponentattributecontains"},"SerieDataComponentAttribute.Contains"),(0,n.kt)("p",null,"public bool Contains(Type type) "),(0,n.kt)("h3",{id:"seriedatacomponentattributecontainst"},"SerieDataComponentAttribute.Contains","<","T",">"),(0,n.kt)("p",null,"public bool Contains","<","T",">","() where T : ISerieComponent "),(0,n.kt)("h3",{id:"seriedatacomponentattributeseriedatacomponentattribute"},"SerieDataComponentAttribute.SerieDataComponentAttribute"),(0,n.kt)("p",null,"public SerieDataComponentAttribute(Type type1) "),(0,n.kt)("p",null,"public SerieDataComponentAttribute(Type type1, Type type2) "),(0,n.kt)("p",null,"public SerieDataComponentAttribute(Type type1, Type type2, Type type3) "),(0,n.kt)("p",null,"public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4) "),(0,n.kt)("p",null,"public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5) "),(0,n.kt)("p",null,"public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6) "),(0,n.kt)("p",null,"public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7) "),(0,n.kt)("h2",{id:"seriedatacontext"},"SerieDataContext"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"seriedatacontextreset"},"SerieDataContext.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h2",{id:"seriedataextrafieldattribute"},"SerieDataExtraFieldAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("h3",{id:"seriedataextrafieldattributecontains"},"SerieDataExtraFieldAttribute.Contains"),(0,n.kt)("p",null,"public bool Contains(string field) "),(0,n.kt)("h3",{id:"seriedataextrafieldattributeseriedataextrafieldattribute"},"SerieDataExtraFieldAttribute.SerieDataExtraFieldAttribute"),(0,n.kt)("p",null,"public SerieDataExtraFieldAttribute(string field1) "),(0,n.kt)("p",null,"public SerieDataExtraFieldAttribute(string field1, string field2) "),(0,n.kt)("p",null,"public SerieDataExtraFieldAttribute(string field1, string field2, string field3) "),(0,n.kt)("p",null,"public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4) "),(0,n.kt)("p",null,"public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5) "),(0,n.kt)("p",null,"public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6) "),(0,n.kt)("p",null,"public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7) "),(0,n.kt)("h2",{id:"seriedatalink"},"SerieDataLink"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6570\u636e\u8282\u70b9\u4e4b\u95f4\u7684\u8fde\u7ebf\u3002\u53ef\u7528\u4e8e\u6851\u57fa\u56fe\u7b49\uff0c\u6851\u57fa\u56fe\u53ea\u652f\u6301\u6709\u5411\u65e0\u73af\u56fe\uff0c\u8bf7\u4fdd\u8bc1\u6570\u636e\u7684\u8fde\u7ebf\u662f\u6709\u5411\u65e0\u73af\u56fe\u3002"),(0,n.kt)("h2",{id:"seriedatasorttype"},"SerieDataSortType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6570\u636e\u6392\u5e8f\u65b9\u5f0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u6309\u6570\u636e\u7684\u987a\u5e8f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Ascending"),": \u5347\u5e8f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Descending"),": \u964d\u5e8f\u3002")),(0,n.kt)("h2",{id:"serieeventdata"},"SerieEventData"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"serie\u4e8b\u4ef6\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"serieeventdatadataindex"},"SerieEventData.dataIndex"),(0,n.kt)("p",null,"public int dataIndex",(0,n.kt)("br",{parentName:"p"}),"\n","\u5728serie.data\u4e2d\u7684\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"serieeventdatadimension"},"SerieEventData.dimension"),(0,n.kt)("p",null,"public int dimension",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u7684\u7ef4\u5ea6\u3002"),(0,n.kt)("h3",{id:"serieeventdatapointerpos"},"SerieEventData.pointerPos"),(0,n.kt)("p",null,"public Vector3 pointerPos",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u5728chart\u4e2d\u7684\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"serieeventdataserieindex"},"SerieEventData.serieIndex"),(0,n.kt)("p",null,"public int serieIndex",(0,n.kt)("br",{parentName:"p"}),"\n","\u5728chart.series\u4e2d\u7684\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"serieeventdatavalue"},"SerieEventData.value"),(0,n.kt)("p",null,"public double value",(0,n.kt)("br",{parentName:"p"}),"\n","\u6570\u636e\u7684\u503c\u3002"),(0,n.kt)("h3",{id:"serieeventdatareset"},"SerieEventData.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h2",{id:"serieeventdatapool"},"SerieEventDataPool"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"serieeventdatapoolget"},"SerieEventDataPool.Get"),(0,n.kt)("p",null,"public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value) "),(0,n.kt)("h3",{id:"serieeventdatapoolrelease"},"SerieEventDataPool.Release"),(0,n.kt)("p",null,"public static void Release(SerieEventData toRelease) "),(0,n.kt)("h2",{id:"seriehandler"},"SerieHandler"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"seriehandlerafterupdate"},"SerieHandler.AfterUpdate()"),(0,n.kt)("p",null,"public virtual void AfterUpdate() "),(0,n.kt)("h3",{id:"seriehandlerattribute"},"SerieHandler.attribute"),(0,n.kt)("p",null,"public SerieHandlerAttribute attribute "),(0,n.kt)("h3",{id:"seriehandlerbeforeupdate"},"SerieHandler.BeforeUpdate()"),(0,n.kt)("p",null,"public virtual void BeforeUpdate() "),(0,n.kt)("h3",{id:"seriehandlerchart"},"SerieHandler.chart"),(0,n.kt)("p",null,"public BaseChart chart "),(0,n.kt)("h3",{id:"seriehandlerdefaultdimension"},"SerieHandler.defaultDimension"),(0,n.kt)("p",null,"public virtual int defaultDimension "),(0,n.kt)("h3",{id:"seriehandlereventdata"},"SerieHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnBeginDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlereventdata-1"},"SerieHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlereventdata-2"},"SerieHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnEndDrag(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlereventdata-3"},"SerieHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerClick(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlereventdata-4"},"SerieHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerDown(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlereventdata-5"},"SerieHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerEnter(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlereventdata-6"},"SerieHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerExit(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlereventdata-7"},"SerieHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnPointerUp(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlereventdata-8"},"SerieHandler.eventData)"),(0,n.kt)("p",null,"public virtual void OnScroll(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlerforceupdateseriecontext"},"SerieHandler.ForceUpdateSerieContext()"),(0,n.kt)("p",null,"public virtual void ForceUpdateSerieContext() "),(0,n.kt)("h3",{id:"seriehandlergetpointeritemdatadimension"},"SerieHandler.GetPointerItemDataDimension()"),(0,n.kt)("p",null,"public virtual int GetPointerItemDataDimension() "),(0,n.kt)("h3",{id:"seriehandlergetpointeritemdataindex"},"SerieHandler.GetPointerItemDataIndex()"),(0,n.kt)("p",null,"public virtual int GetPointerItemDataIndex() "),(0,n.kt)("h3",{id:"seriehandlerinitcomponent"},"SerieHandler.InitComponent()"),(0,n.kt)("p",null,"public virtual void InitComponent() "),(0,n.kt)("h3",{id:"seriehandlerinited"},"SerieHandler.inited"),(0,n.kt)("p",null,"public bool inited "),(0,n.kt)("h3",{id:"seriehandlerlegendname"},"SerieHandler.legendName)"),(0,n.kt)("p",null,"public virtual void OnLegendButtonEnter(int index, string legendName) "),(0,n.kt)("h3",{id:"seriehandlerlegendname-1"},"SerieHandler.legendName)"),(0,n.kt)("p",null,"public virtual void OnLegendButtonExit(int index, string legendName) "),(0,n.kt)("h3",{id:"seriehandlerondataupdate"},"SerieHandler.OnDataUpdate()"),(0,n.kt)("p",null,"public virtual void OnDataUpdate() "),(0,n.kt)("h3",{id:"seriehandlerrefreshlabelinternal"},"SerieHandler.RefreshLabelInternal()"),(0,n.kt)("p",null,"public virtual void RefreshLabelInternal() "),(0,n.kt)("h3",{id:"seriehandlerrefreshlabelnextframe"},"SerieHandler.RefreshLabelNextFrame()"),(0,n.kt)("p",null,"public virtual void RefreshLabelNextFrame() "),(0,n.kt)("h3",{id:"seriehandlerremovecomponent"},"SerieHandler.RemoveComponent()"),(0,n.kt)("p",null,"public virtual void RemoveComponent() "),(0,n.kt)("h3",{id:"seriehandlersb"},"SerieHandler.sb)"),(0,n.kt)("p",null,"public virtual void CheckComponent(StringBuilder sb) "),(0,n.kt)("h3",{id:"seriehandlershow"},"SerieHandler.show)"),(0,n.kt)("p",null,"public virtual void OnLegendButtonClick(int index, string legendName, bool show) "),(0,n.kt)("h3",{id:"seriehandlerupdate"},"SerieHandler.Update()"),(0,n.kt)("p",null,"public virtual void Update() "),(0,n.kt)("h3",{id:"seriehandlerupdateseriecontext"},"SerieHandler.UpdateSerieContext()"),(0,n.kt)("p",null,"public virtual void UpdateSerieContext() "),(0,n.kt)("h3",{id:"seriehandlervh"},"SerieHandler.vh)"),(0,n.kt)("p",null,"public virtual void DrawBase(VertexHelper vh) "),(0,n.kt)("h3",{id:"seriehandlervh-1"},"SerieHandler.vh)"),(0,n.kt)("p",null,"public virtual void DrawSerie(VertexHelper vh) "),(0,n.kt)("h3",{id:"seriehandlervh-2"},"SerieHandler.vh)"),(0,n.kt)("p",null,"public virtual void DrawTop(VertexHelper vh) "),(0,n.kt)("h3",{id:"seriehandlervh-3"},"SerieHandler.vh)"),(0,n.kt)("p",null,"public virtual void DrawUpper(VertexHelper vh) "),(0,n.kt)("h3",{id:"seriehandlerafterupdate-1"},"SerieHandler.AfterUpdate"),(0,n.kt)("p",null,"public virtual void AfterUpdate() { } "),(0,n.kt)("h3",{id:"seriehandlerbeforeupdate-1"},"SerieHandler.BeforeUpdate"),(0,n.kt)("p",null,"public virtual void BeforeUpdate() { } "),(0,n.kt)("h3",{id:"seriehandlercheckcomponent"},"SerieHandler.CheckComponent"),(0,n.kt)("p",null,"public virtual void CheckComponent(StringBuilder sb) { } "),(0,n.kt)("h3",{id:"seriehandlerdrawbase"},"SerieHandler.DrawBase"),(0,n.kt)("p",null,"public virtual void DrawBase(VertexHelper vh) { } "),(0,n.kt)("h3",{id:"seriehandlerdrawserie"},"SerieHandler.DrawSerie"),(0,n.kt)("p",null,"public virtual void DrawSerie(VertexHelper vh) { } "),(0,n.kt)("h3",{id:"seriehandlerdrawtop"},"SerieHandler.DrawTop"),(0,n.kt)("p",null,"public virtual void DrawTop(VertexHelper vh) { } "),(0,n.kt)("h3",{id:"seriehandlerdrawupper"},"SerieHandler.DrawUpper"),(0,n.kt)("p",null,"public virtual void DrawUpper(VertexHelper vh) { } "),(0,n.kt)("h3",{id:"seriehandlerforceupdateseriecontext-1"},"SerieHandler.ForceUpdateSerieContext"),(0,n.kt)("p",null,"public virtual void ForceUpdateSerieContext() { } "),(0,n.kt)("h3",{id:"seriehandlerinitcomponent-1"},"SerieHandler.InitComponent"),(0,n.kt)("p",null,"public virtual void InitComponent() { } "),(0,n.kt)("h3",{id:"seriehandleronbegindrag"},"SerieHandler.OnBeginDrag"),(0,n.kt)("p",null,"public virtual void OnBeginDrag(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"seriehandlerondataupdate-1"},"SerieHandler.OnDataUpdate"),(0,n.kt)("p",null,"public virtual void OnDataUpdate() { } "),(0,n.kt)("h3",{id:"seriehandlerondrag"},"SerieHandler.OnDrag"),(0,n.kt)("p",null,"public virtual void OnDrag(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"seriehandleronenddrag"},"SerieHandler.OnEndDrag"),(0,n.kt)("p",null,"public virtual void OnEndDrag(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"seriehandleronlegendbuttonclick"},"SerieHandler.OnLegendButtonClick"),(0,n.kt)("p",null,"public virtual void OnLegendButtonClick(int index, string legendName, bool show) { } "),(0,n.kt)("h3",{id:"seriehandleronlegendbuttonenter"},"SerieHandler.OnLegendButtonEnter"),(0,n.kt)("p",null,"public virtual void OnLegendButtonEnter(int index, string legendName) { } "),(0,n.kt)("h3",{id:"seriehandleronlegendbuttonexit"},"SerieHandler.OnLegendButtonExit"),(0,n.kt)("p",null,"public virtual void OnLegendButtonExit(int index, string legendName) { } "),(0,n.kt)("h3",{id:"seriehandleronpointerclick"},"SerieHandler.OnPointerClick"),(0,n.kt)("p",null,"public virtual void OnPointerClick(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"seriehandleronpointerdown"},"SerieHandler.OnPointerDown"),(0,n.kt)("p",null,"public virtual void OnPointerDown(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"seriehandleronpointerenter"},"SerieHandler.OnPointerEnter"),(0,n.kt)("p",null,"public virtual void OnPointerEnter(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"seriehandleronpointerexit"},"SerieHandler.OnPointerExit"),(0,n.kt)("p",null,"public virtual void OnPointerExit(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"seriehandleronpointerup"},"SerieHandler.OnPointerUp"),(0,n.kt)("p",null,"public virtual void OnPointerUp(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"seriehandleronscroll"},"SerieHandler.OnScroll"),(0,n.kt)("p",null,"public virtual void OnScroll(PointerEventData eventData) { } "),(0,n.kt)("h3",{id:"seriehandlerrefreshlabelinternal-1"},"SerieHandler.RefreshLabelInternal"),(0,n.kt)("p",null,"public virtual void RefreshLabelInternal() { } "),(0,n.kt)("h3",{id:"seriehandlerrefreshlabelnextframe-1"},"SerieHandler.RefreshLabelNextFrame"),(0,n.kt)("p",null,"public virtual void RefreshLabelNextFrame() { } "),(0,n.kt)("h3",{id:"seriehandlerremovecomponent-1"},"SerieHandler.RemoveComponent"),(0,n.kt)("p",null,"public virtual void RemoveComponent() { } "),(0,n.kt)("h3",{id:"seriehandlerupdate-1"},"SerieHandler.Update"),(0,n.kt)("p",null,"public virtual void Update() { } "),(0,n.kt)("h3",{id:"seriehandlerupdateseriecontext-1"},"SerieHandler.UpdateSerieContext"),(0,n.kt)("p",null,"public virtual void UpdateSerieContext() { } "),(0,n.kt)("h2",{id:"seriehandler-where-t"},"SerieHandler where T"),(0,n.kt)("p",null,"class in / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#seriehandlert"},"SerieHandler","<","T",">")," "),(0,n.kt)("h2",{id:"seriehandlert"},"SerieHandler","<","T",">"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ","[SerieHandler where T]","(#seriehandler where t),",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie")),(0,n.kt)("h3",{id:"seriehandlertlabelobject"},"SerieHandler","<","T",">",".labelObject"),(0,n.kt)("p",null,"public GameObject labelObject "),(0,n.kt)("h3",{id:"seriehandlertserie"},"SerieHandler","<","T",">",".serie"),(0,n.kt)("p",null,"public T serie "),(0,n.kt)("h3",{id:"seriehandlertafterupdate"},"SerieHandler","<","T",">",".AfterUpdate"),(0,n.kt)("p",null,"public override void AfterUpdate() "),(0,n.kt)("h3",{id:"seriehandlertbeforeupdate"},"SerieHandler","<","T",">",".BeforeUpdate"),(0,n.kt)("p",null,"public override void BeforeUpdate() "),(0,n.kt)("h3",{id:"seriehandlertdrawlabellinesymbol"},"SerieHandler","<","T",">",".DrawLabelLineSymbol"),(0,n.kt)("p",null,"public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor) "),(0,n.kt)("h3",{id:"seriehandlertforceupdateseriecontext"},"SerieHandler","<","T",">",".ForceUpdateSerieContext"),(0,n.kt)("p",null,"public override void ForceUpdateSerieContext() "),(0,n.kt)("h3",{id:"seriehandlertgetpointeritemdatadimension"},"SerieHandler","<","T",">",".GetPointerItemDataDimension"),(0,n.kt)("p",null,"public override int GetPointerItemDataDimension() "),(0,n.kt)("h3",{id:"seriehandlertgetpointeritemdataindex"},"SerieHandler","<","T",">",".GetPointerItemDataIndex"),(0,n.kt)("p",null,"public override int GetPointerItemDataIndex() "),(0,n.kt)("h3",{id:"seriehandlertgetseriedataautocolor"},"SerieHandler","<","T",">",".GetSerieDataAutoColor"),(0,n.kt)("p",null,"public virtual Color GetSerieDataAutoColor(SerieData serieData) "),(0,n.kt)("h3",{id:"seriehandlertgetseriedatalabeloffset"},"SerieHandler","<","T",">",".GetSerieDataLabelOffset"),(0,n.kt)("p",null,"public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label) "),(0,n.kt)("h3",{id:"seriehandlertgetseriedatalabelposition"},"SerieHandler","<","T",">",".GetSerieDataLabelPosition"),(0,n.kt)("p",null,"public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label) "),(0,n.kt)("h3",{id:"seriehandlertgetseriedatatitleposition"},"SerieHandler","<","T",">",".GetSerieDataTitlePosition"),(0,n.kt)("p",null,"public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle) "),(0,n.kt)("h3",{id:"seriehandlertinitcomponent"},"SerieHandler","<","T",">",".InitComponent"),(0,n.kt)("p",null,"public override void InitComponent() "),(0,n.kt)("h3",{id:"seriehandlertonlegendbuttonclick"},"SerieHandler","<","T",">",".OnLegendButtonClick"),(0,n.kt)("p",null,"public override void OnLegendButtonClick(int index, string legendName, bool show) "),(0,n.kt)("h3",{id:"seriehandlertonlegendbuttonenter"},"SerieHandler","<","T",">",".OnLegendButtonEnter"),(0,n.kt)("p",null,"public override void OnLegendButtonEnter(int index, string legendName) "),(0,n.kt)("h3",{id:"seriehandlertonlegendbuttonexit"},"SerieHandler","<","T",">",".OnLegendButtonExit"),(0,n.kt)("p",null,"public override void OnLegendButtonExit(int index, string legendName) "),(0,n.kt)("h3",{id:"seriehandlertonpointerclick"},"SerieHandler","<","T",">",".OnPointerClick"),(0,n.kt)("p",null,"public override void OnPointerClick(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlertonpointerdown"},"SerieHandler","<","T",">",".OnPointerDown"),(0,n.kt)("p",null,"public override void OnPointerDown(PointerEventData eventData) "),(0,n.kt)("h3",{id:"seriehandlertrefreshendlabelinternal"},"SerieHandler","<","T",">",".RefreshEndLabelInternal"),(0,n.kt)("p",null,"public virtual void RefreshEndLabelInternal() "),(0,n.kt)("h3",{id:"seriehandlertrefreshlabelinternal"},"SerieHandler","<","T",">",".RefreshLabelInternal"),(0,n.kt)("p",null,"public override void RefreshLabelInternal() "),(0,n.kt)("h3",{id:"seriehandlertrefreshlabelnextframe"},"SerieHandler","<","T",">",".RefreshLabelNextFrame"),(0,n.kt)("p",null,"public override void RefreshLabelNextFrame() "),(0,n.kt)("h3",{id:"seriehandlertremovecomponent"},"SerieHandler","<","T",">",".RemoveComponent"),(0,n.kt)("p",null,"public override void RemoveComponent() "),(0,n.kt)("h3",{id:"seriehandlertupdate"},"SerieHandler","<","T",">",".Update"),(0,n.kt)("p",null,"public override void Update() "),(0,n.kt)("h2",{id:"seriehandlerattribute-1"},"SerieHandlerAttribute"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("h3",{id:"seriehandlerattributeseriehandlerattribute"},"SerieHandlerAttribute.SerieHandlerAttribute"),(0,n.kt)("p",null,"public SerieHandlerAttribute(Type handler, bool allowMultiple) "),(0,n.kt)("h2",{id:"seriehelper"},"SerieHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"seriehelpercloneseriet"},"SerieHelper.CloneSerie","<","T",">"),(0,n.kt)("p",null,"public static T CloneSerie","<","T",">","(Serie serie) where T : Serie "),(0,n.kt)("h3",{id:"seriehelpercopyserie"},"SerieHelper.CopySerie"),(0,n.kt)("p",null,"public static void CopySerie(Serie oldSerie, Serie newSerie) "),(0,n.kt)("h3",{id:"seriehelpergetallminmaxdata"},"SerieHelper.GetAllMinMaxData"),(0,n.kt)("p",null,"public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"seriehelpergetareastyle"},"SerieHelper.GetAreaStyle"),(0,n.kt)("p",null,"public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData) "),(0,n.kt)("h3",{id:"seriehelpergetaveragedata"},"SerieHelper.GetAverageData"),(0,n.kt)("p",null,"public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"seriehelpergetblurstyle"},"SerieHelper.GetBlurStyle"),(0,n.kt)("p",null,"public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData) "),(0,n.kt)("h3",{id:"seriehelpergetemphasisstyle"},"SerieHelper.GetEmphasisStyle"),(0,n.kt)("p",null,"public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData) "),(0,n.kt)("h3",{id:"seriehelpergetitemcolor"},"SerieHelper.GetItemColor"),(0,n.kt)("p",null,"public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true) "),(0,n.kt)("h3",{id:"seriehelpergetitemformatter"},"SerieHelper.GetItemFormatter"),(0,n.kt)("p",null,"public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null) "),(0,n.kt)("h3",{id:"seriehelpergetitemmarker"},"SerieHelper.GetItemMarker"),(0,n.kt)("p",null,"public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null) "),(0,n.kt)("h3",{id:"seriehelpergetitemstyle"},"SerieHelper.GetItemStyle"),(0,n.kt)("p",null,"public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto) "),(0,n.kt)("h3",{id:"seriehelpergetlinecolor"},"SerieHelper.GetLineColor"),(0,n.kt)("p",null,"public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto) "),(0,n.kt)("h3",{id:"seriehelpergetlinestyle"},"SerieHelper.GetLineStyle"),(0,n.kt)("p",null,"public static LineStyle GetLineStyle(Serie serie, SerieData serieData) "),(0,n.kt)("h3",{id:"seriehelpergetmaxdata"},"SerieHelper.GetMaxData"),(0,n.kt)("p",null,"public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"seriehelpergetmaxseriedata"},"SerieHelper.GetMaxSerieData"),(0,n.kt)("p",null,"public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"seriehelpergetmediandata"},"SerieHelper.GetMedianData"),(0,n.kt)("p",null,"public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"seriehelpergetmindata"},"SerieHelper.GetMinData"),(0,n.kt)("p",null,"public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"seriehelpergetminmaxdata"},"SerieHelper.GetMinMaxData"),(0,n.kt)("p",null,"public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u7cfb\u5217\u6240\u6709\u6570\u636e\u7684\u6700\u5927\u6700\u5c0f\u503c\u3002"),(0,n.kt)("h3",{id:"seriehelpergetminseriedata"},"SerieHelper.GetMinSerieData"),(0,n.kt)("p",null,"public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null) "),(0,n.kt)("h3",{id:"seriehelpergetnumericformatter"},"SerieHelper.GetNumericFormatter"),(0,n.kt)("p",null,"public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null) "),(0,n.kt)("h3",{id:"seriehelpergetselectstyle"},"SerieHelper.GetSelectStyle"),(0,n.kt)("p",null,"public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData) "),(0,n.kt)("h3",{id:"seriehelpergetserielabel"},"SerieHelper.GetSerieLabel"),(0,n.kt)("p",null,"public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto) "),(0,n.kt)("h3",{id:"seriehelpergetserielabelline"},"SerieHelper.GetSerieLabelLine"),(0,n.kt)("p",null,"public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto) "),(0,n.kt)("h3",{id:"seriehelpergetseriestate"},"SerieHelper.GetSerieState"),(0,n.kt)("p",null,"public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false) "),(0,n.kt)("p",null,"public static SerieState GetSerieState(SerieData serieData) "),(0,n.kt)("h3",{id:"seriehelpergetseriesymbol"},"SerieHelper.GetSerieSymbol"),(0,n.kt)("p",null,"public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto) "),(0,n.kt)("h3",{id:"seriehelpergetstatestyle"},"SerieHelper.GetStateStyle"),(0,n.kt)("p",null,"public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state) "),(0,n.kt)("h3",{id:"seriehelpergetsysmbolsize"},"SerieHelper.GetSysmbolSize"),(0,n.kt)("p",null,"public static float GetSysmbolSize(Serie serie, SerieData serieData, float defaultSize, SerieState state = SerieState.Auto, bool checkAnimation = false) "),(0,n.kt)("h3",{id:"seriehelpergettitlestyle"},"SerieHelper.GetTitleStyle"),(0,n.kt)("p",null,"public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData) "),(0,n.kt)("h3",{id:"seriehelperisallzerovalue"},"SerieHelper.IsAllZeroValue"),(0,n.kt)("p",null,"public static bool IsAllZeroValue(Serie serie, int dimension = 1)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7cfb\u5217\u6307\u5b9a\u7ef4\u6570\u7684\u6570\u636e\u662f\u5426\u5168\u90e8\u4e3a0\u3002"),(0,n.kt)("h3",{id:"seriehelperisdownpoint"},"SerieHelper.IsDownPoint"),(0,n.kt)("p",null,"public static bool IsDownPoint(Serie serie, int index) "),(0,n.kt)("h3",{id:"seriehelperupdatecenter"},"SerieHelper.UpdateCenter"),(0,n.kt)("p",null,"public static void UpdateCenter(Serie serie, BaseChart chart)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u8fd0\u884c\u65f6\u4e2d\u5fc3\u70b9\u548c\u534a\u5f84"),(0,n.kt)("h3",{id:"seriehelperupdatefilterdata"},"SerieHelper.UpdateFilterData"),(0,n.kt)("p",null,"public static void UpdateFilterData(Serie serie, DataZoom dataZoom)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6839\u636edataZoom\u66f4\u65b0\u6570\u636e\u5217\u8868\u7f13\u5b58"),(0,n.kt)("h3",{id:"seriehelperupdateminmaxdata"},"SerieHelper.UpdateMinMaxData"),(0,n.kt)("p",null,"public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6307\u5b9a\u7ef4\u6570\u7684\u6700\u5927\u6700\u5c0f\u503c"),(0,n.kt)("h3",{id:"seriehelperupdaterect"},"SerieHelper.UpdateRect"),(0,n.kt)("p",null,"public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight) "),(0,n.kt)("h3",{id:"seriehelperupdateserieruntimefilterdata"},"SerieHelper.UpdateSerieRuntimeFilterData"),(0,n.kt)("p",null,"public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true) "),(0,n.kt)("h2",{id:"serielabelhelper"},"SerieLabelHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"serielabelhelpercanshowlabel"},"SerieLabelHelper.CanShowLabel"),(0,n.kt)("p",null,"public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion) "),(0,n.kt)("h3",{id:"serielabelhelpergetlabelcolor"},"SerieLabelHelper.GetLabelColor"),(0,n.kt)("p",null,"public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index) "),(0,n.kt)("h3",{id:"serielabelhelpersetgaugelabeltext"},"SerieLabelHelper.SetGaugeLabelText"),(0,n.kt)("p",null,"public static void SetGaugeLabelText(Serie serie) "),(0,n.kt)("h2",{id:"serielabelpool"},"SerieLabelPool"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"serielabelpoolclearall"},"SerieLabelPool.ClearAll"),(0,n.kt)("p",null,"public static void ClearAll() "),(0,n.kt)("h3",{id:"serielabelpoolrelease"},"SerieLabelPool.Release"),(0,n.kt)("p",null,"public static void Release(GameObject element) "),(0,n.kt)("h3",{id:"serielabelpoolreleaseall"},"SerieLabelPool.ReleaseAll"),(0,n.kt)("p",null,"public static void ReleaseAll(Transform parent) "),(0,n.kt)("h2",{id:"serieparams"},"SerieParams"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"serieshelper"},"SeriesHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"serieshelpergetlaststackserie"},"SeriesHelper.GetLastStackSerie"),(0,n.kt)("p",null,"public static Serie GetLastStackSerie(List","<","Serie",">"," series, Serie serie)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u4e0a\u4e00\u4e2a\u540c\u5806\u53e0\u4e14\u663e\u793a\u7684serie\u3002"),(0,n.kt)("h3",{id:"serieshelpergetlegalserienamelist"},"SeriesHelper.GetLegalSerieNameList"),(0,n.kt)("p",null,"public static List","<","string",">"," GetLegalSerieNameList(List","<","Serie",">"," series) "),(0,n.kt)("h3",{id:"serieshelpergetmaxseriedatacount"},"SeriesHelper.GetMaxSerieDataCount"),(0,n.kt)("p",null,"public static int GetMaxSerieDataCount(List","<","Serie",">"," series) "),(0,n.kt)("h3",{id:"serieshelpergetminanimationduration"},"SeriesHelper.GetMinAnimationDuration"),(0,n.kt)("p",null,"public static float GetMinAnimationDuration(List","<","Serie",">"," series) "),(0,n.kt)("h3",{id:"serieshelpergetnamecolor"},"SeriesHelper.GetNameColor"),(0,n.kt)("p",null,"public static Color GetNameColor(BaseChart chart, int index, string name) "),(0,n.kt)("h3",{id:"serieshelpergetstackseries"},"SeriesHelper.GetStackSeries"),(0,n.kt)("p",null,"public static void GetStackSeries(List","<","Serie",">"," series, ref Dictionary","<","int, List","<","Serie",">",">"," stackSeries)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u5806\u53e0\u7cfb\u5217\u5217\u8868"),(0,n.kt)("h3",{id:"serieshelperisanyclipserie"},"SeriesHelper.IsAnyClipSerie"),(0,n.kt)("p",null,"public static bool IsAnyClipSerie(List","<","Serie",">"," series)",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u6709\u9700\u88c1\u526a\u7684serie\u3002"),(0,n.kt)("h3",{id:"serieshelperisanycolorbydataserie"},"SeriesHelper.IsAnyColorByDataSerie"),(0,n.kt)("p",null,"public static bool IsAnyColorByDataSerie(List","<","Serie",">"," series)",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u6709\u4efb\u4f55\u4e00\u4e2a\u7cfb\u5217\u662f\u6309\u6570\u636e\u989c\u8272\u7684\u3002"),(0,n.kt)("h3",{id:"serieshelperislegallegendname"},"SeriesHelper.IsLegalLegendName"),(0,n.kt)("p",null,"public static bool IsLegalLegendName(string name) "),(0,n.kt)("h3",{id:"serieshelperispercentstackt"},"SeriesHelper.IsPercentStack","<","T",">"),(0,n.kt)("p",null,"public static bool IsPercentStack","<","T",">","(List","<","Serie",">"," series, string stackName) where T : Serie",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u65f6\u767e\u5206\u6bd4\u5806\u53e0"),(0,n.kt)("h3",{id:"serieshelperisstack"},"SeriesHelper.IsStack"),(0,n.kt)("p",null,"public static bool IsStack(List","<","Serie",">"," series)",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u7531\u6570\u636e\u5806\u53e0"),(0,n.kt)("h3",{id:"serieshelperisstackt"},"SeriesHelper.IsStack","<","T",">"),(0,n.kt)("p",null,"public static bool IsStack","<","T",">","(List","<","Serie",">"," series, string stackName) where T : Serie",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u5806\u53e0"),(0,n.kt)("h3",{id:"serieshelperupdateserienamelist"},"SeriesHelper.UpdateSerieNameList"),(0,n.kt)("p",null,"public static void UpdateSerieNameList(BaseChart chart, ref List","<","string",">"," serieNameList)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6240\u6709\u7cfb\u5217\u540d\uff0c\u4e0d\u5305\u542b\u7a7a\u540d\u5b57\u3002"),(0,n.kt)("h3",{id:"serieshelperupdatestackdatalist"},"SeriesHelper.UpdateStackDataList"),(0,n.kt)("p",null,"public static void UpdateStackDataList(List","<","Serie",">"," series, Serie currSerie, DataZoom dataZoom, List","<","List","<","SerieData",">",">"," dataList) "),(0,n.kt)("h2",{id:"seriestate"},"SerieState"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"Serie\u72b6\u6001\u3002\u652f\u6301\u6b63\u5e38\u3001\u9ad8\u4eae\u3001\u6de1\u51fa\u3001\u9009\u4e2d\u56db\u79cd\u72b6\u6001\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Normal"),": \u6b63\u5e38\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Emphasis"),": \u9ad8\u4eae\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Blur"),": \u6de1\u51fa\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Select"),": \u9009\u4e2d\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u81ea\u52a8\u4fdd\u6301\u548c\u7236\u8282\u70b9\u4e00\u81f4\u3002\u4e00\u822c\u7528\u5728SerieData\u3002")),(0,n.kt)("h2",{id:"seriesymbol"},"SerieSymbol"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#symbolstyle"},"SymbolStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u7cfb\u5217\u6570\u636e\u9879\u7684\u6807\u8bb0\u7684\u56fe\u5f62"),(0,n.kt)("h3",{id:"seriesymbolgetsize"},"SerieSymbol.GetSize"),(0,n.kt)("p",null,"public float GetSize(List","<","double",">"," data, float themeSize)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6839\u636e\u6307\u5b9a\u7684sizeType\u83b7\u5f97\u6807\u8bb0\u7684\u5927\u5c0f"),(0,n.kt)("h3",{id:"seriesymbolreset"},"SerieSymbol.Reset"),(0,n.kt)("p",null,"public override void Reset() "),(0,n.kt)("h3",{id:"seriesymbolshowsymbol"},"SerieSymbol.ShowSymbol"),(0,n.kt)("p",null,"public bool ShowSymbol(int dataIndex, int dataCount) "),(0,n.kt)("h2",{id:"serietheme"},"SerieTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"seriethemecopy"},"SerieTheme.Copy"),(0,n.kt)("p",null,"public void Copy(SerieTheme theme) "),(0,n.kt)("h3",{id:"seriethemeserietheme"},"SerieTheme.SerieTheme"),(0,n.kt)("p",null,"public SerieTheme(ThemeType theme) "),(0,n.kt)("h2",{id:"settings"},"Settings"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u5168\u5c40\u53c2\u6570\u8bbe\u7f6e\u7ec4\u4ef6\u3002\u4e00\u822c\u60c5\u51b5\u4e0b\u53ef\u4f7f\u7528\u9ed8\u8ba4\u503c\uff0c\u5f53\u6709\u9700\u8981\u65f6\u53ef\u8fdb\u884c\u8c03\u6574\u3002"),(0,n.kt)("h3",{id:"settingsshow"},"Settings.show"),(0,n.kt)("p",null,"public bool show "),(0,n.kt)("h3",{id:"settingscopy"},"Settings.Copy"),(0,n.kt)("p",null,"public void Copy(Settings settings) "),(0,n.kt)("h3",{id:"settingsreset"},"Settings.Reset"),(0,n.kt)("p",null,"public override void Reset() "),(0,n.kt)("h2",{id:"simplifiedbar"},"SimplifiedBar"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer"),",",(0,n.kt)("a",{parentName:"p",href:"#isimplifiedserie"},"ISimplifiedSerie")),(0,n.kt)("h3",{id:"simplifiedbarcontainerindex"},"SimplifiedBar.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"simplifiedbarcontainterinstanceid"},"SimplifiedBar.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h3",{id:"simplifiedbaradddefaultserie"},"SimplifiedBar.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h3",{id:"simplifiedbarconvertserie"},"SimplifiedBar.ConvertSerie"),(0,n.kt)("p",null,"public static SimplifiedBar ConvertSerie(Serie serie) "),(0,n.kt)("h2",{id:"simplifiedbarchart"},"SimplifiedBarChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u7b80\u5316\u67f1\u72b6\u56fe\u662f\u67f1\u72b6\u56fe\u7684\u7b80\u5316\u6a21\u5f0f\uff0c\u901a\u8fc7\u7b80\u5316\u7ec4\u4ef6\u548c\u914d\u7f6e\uff0c\u62e5\u6709\u66f4\u597d\u7684\u6027\u80fd\u3002"),(0,n.kt)("h2",{id:"simplifiedcandlestick"},"SimplifiedCandlestick"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer"),",",(0,n.kt)("a",{parentName:"p",href:"#isimplifiedserie"},"ISimplifiedSerie")),(0,n.kt)("h3",{id:"simplifiedcandlestickcontainerindex"},"SimplifiedCandlestick.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"simplifiedcandlestickcontainterinstanceid"},"SimplifiedCandlestick.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h3",{id:"simplifiedcandlestickadddefaultserie"},"SimplifiedCandlestick.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h3",{id:"simplifiedcandlestickconvertserie"},"SimplifiedCandlestick.ConvertSerie"),(0,n.kt)("p",null,"public static SimplifiedCandlestick ConvertSerie(Serie serie) "),(0,n.kt)("h2",{id:"simplifiedcandlestickchart"},"SimplifiedCandlestickChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u7b80\u5316K\u7ebf\u56fe\u662fK\u7ebf\u56fe\u7684\u7b80\u5316\u6a21\u5f0f\uff0c\u901a\u8fc7\u7b80\u5316\u7ec4\u4ef6\u548c\u914d\u7f6e\uff0c\u62e5\u6709\u66f4\u597d\u7684\u6027\u80fd\u3002"),(0,n.kt)("h2",{id:"simplifiedline"},"SimplifiedLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer"),",",(0,n.kt)("a",{parentName:"p",href:"#isimplifiedserie"},"ISimplifiedSerie")),(0,n.kt)("h3",{id:"simplifiedlinecontainerindex"},"SimplifiedLine.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h3",{id:"simplifiedlinecontainterinstanceid"},"SimplifiedLine.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h3",{id:"simplifiedlineadddefaultserie"},"SimplifiedLine.AddDefaultSerie"),(0,n.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h3",{id:"simplifiedlineconvertserie"},"SimplifiedLine.ConvertSerie"),(0,n.kt)("p",null,"public static SimplifiedLine ConvertSerie(Serie serie) "),(0,n.kt)("h2",{id:"simplifiedlinechart"},"SimplifiedLineChart"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u7b80\u5316\u6298\u7ebf\u56fe\u662f\u6298\u7ebf\u56fe\u7684\u7b80\u5316\u6a21\u5f0f\uff0c\u901a\u8fc7\u7b80\u5316\u7ec4\u4ef6\u548c\u914d\u7f6e\uff0c\u62e5\u6709\u66f4\u597d\u7684\u6027\u80fd\u3002"),(0,n.kt)("h2",{id:"since"},"Since"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=attribute"},"Attribute")),(0,n.kt)("h3",{id:"sincesince"},"Since.Since"),(0,n.kt)("p",null,"public Since(string version) "),(0,n.kt)("h2",{id:"singleaxis"},"SingleAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis"),",",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData")),(0,n.kt)("p",null,"\u5355\u8f74\u3002"),(0,n.kt)("h3",{id:"singleaxissetdefaultvalue"},"SingleAxis.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue() "),(0,n.kt)("h3",{id:"singleaxisupdateruntimedata"},"SingleAxis.UpdateRuntimeData"),(0,n.kt)("p",null,"public void UpdateRuntimeData(BaseChart chart) "),(0,n.kt)("h2",{id:"singleaxiscoord"},"SingleAxisCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem")),(0,n.kt)("h2",{id:"stagecolor"},"StageColor"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"stagecolorcolor"},"StageColor.color"),(0,n.kt)("p",null,"public Color32 color",(0,n.kt)("br",{parentName:"p"}),"\n","\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"stagecolorpercent"},"StageColor.percent"),(0,n.kt)("p",null,"public float percent",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed3\u675f\u4f4d\u7f6e\u767e\u5206\u6bd4\u3002"),(0,n.kt)("h3",{id:"stagecolorstagecolor"},"StageColor.StageColor"),(0,n.kt)("p",null,"public StageColor(float percent, Color32 color) "),(0,n.kt)("h2",{id:"statestyle"},"StateStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#blurstyle"},"BlurStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#emphasisstyle"},"EmphasisStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#selectstyle"},"SelectStyle")," "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"Serie\u7684\u72b6\u6001\u6837\u5f0f\u3002Serie\u7684\u72b6\u6001\u6709\u6b63\u5e38\uff0c\u9ad8\u4eae\uff0c\u6de1\u51fa\uff0c\u9009\u4e2d\u56db\u79cd\u72b6\u6001\u3002"),(0,n.kt)("h3",{id:"statestyleclearcomponentdirty"},"StateStyle.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h3",{id:"statestyleclearverticesdirty"},"StateStyle.ClearVerticesDirty"),(0,n.kt)("p",null,"public override void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"statestylereset"},"StateStyle.Reset"),(0,n.kt)("p",null,"public void Reset() "),(0,n.kt)("h2",{id:"subtitletheme"},"SubTitleTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"subtitlethemesubtitletheme"},"SubTitleTheme.SubTitleTheme"),(0,n.kt)("p",null,"public SubTitleTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h2",{id:"svg"},"SVG"),(0,n.kt)("p",null,"class in XUGL"),(0,n.kt)("h3",{id:"svgdrawpath"},"SVG.DrawPath"),(0,n.kt)("p",null,"public static void DrawPath(VertexHelper vh, SVGPath path) "),(0,n.kt)("h3",{id:"svgtest"},"SVG.Test"),(0,n.kt)("p",null,"public static void Test(VertexHelper vh) "),(0,n.kt)("h2",{id:"svgpath"},"SVGPath"),(0,n.kt)("p",null,"class in XUGL"),(0,n.kt)("h3",{id:"svgpathaddsegment"},"SVGPath.AddSegment"),(0,n.kt)("p",null,"public void AddSegment(SVGPathSeg seg) "),(0,n.kt)("h3",{id:"svgpathdraw"},"SVGPath.Draw"),(0,n.kt)("p",null,"public void Draw(VertexHelper vh) "),(0,n.kt)("h3",{id:"svgpathparse"},"SVGPath.Parse"),(0,n.kt)("p",null,"public static SVGPath Parse(string path) "),(0,n.kt)("h2",{id:"svgpathseg"},"SVGPathSeg"),(0,n.kt)("p",null,"class in XUGL"),(0,n.kt)("h3",{id:"svgpathsegp1"},"SVGPathSeg.p1"),(0,n.kt)("p",null,"public Vector2 p1 "),(0,n.kt)("h3",{id:"svgpathsegp2"},"SVGPathSeg.p2"),(0,n.kt)("p",null,"public Vector2 p2 "),(0,n.kt)("h3",{id:"svgpathsegp3"},"SVGPathSeg.p3"),(0,n.kt)("p",null,"public Vector2 p3 "),(0,n.kt)("h3",{id:"svgpathsegx"},"SVGPathSeg.x"),(0,n.kt)("p",null,"public float x "),(0,n.kt)("h3",{id:"svgpathsegy"},"SVGPathSeg.y"),(0,n.kt)("p",null,"public float y "),(0,n.kt)("h3",{id:"svgpathsegsvgpathseg"},"SVGPathSeg.SVGPathSeg"),(0,n.kt)("p",null,"public SVGPathSeg(SVGPathSegType type) "),(0,n.kt)("h2",{id:"svgpathsegtype"},"SVGPathSegType"),(0,n.kt)("p",null,"class in XUGL"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"M"),": move to"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"L"),": line to"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"H"),": horizontal line to"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"V"),": vertial line to"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"C"),": curve to"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"S"),": smooth curve to"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Q"),": quadratic bezier curve"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"T"),": smooth quadratic bezier curve to"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"A"),": elliptical Arc"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Z"),": close path")),(0,n.kt)("h2",{id:"symbolsizetype"},"SymbolSizeType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u83b7\u53d6\u6807\u8bb0\u56fe\u5f62\u5927\u5c0f\u7684\u65b9\u5f0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u5927\u5c0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"FromData"),": \u901a\u8fc7 dataIndex \u4ece\u6570\u636e\u4e2d\u83b7\u53d6\uff0c\u518d\u4e58\u4ee5\u4e00\u4e2a\u6bd4\u4f8b\u7cfb\u6570 dataScale \u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Function"),": \u901a\u8fc7\u59d4\u6258\u51fd\u6570\u83b7\u53d6\u3002")),(0,n.kt)("h2",{id:"symbolstyle"},"SymbolStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#seriesymbol"},"SerieSymbol")," "),(0,n.kt)("p",null,"\u7cfb\u5217\u6570\u636e\u9879\u7684\u6807\u8bb0\u7684\u56fe\u5f62"),(0,n.kt)("h3",{id:"symbolstyleanimationsize"},"SymbolStyle.animationSize"),(0,n.kt)("p",null,"public List","<","float",">"," animationSize",(0,n.kt)("br",{parentName:"p"}),"\n","\u5e26\u6709\u6d9f\u6f2a\u7279\u6548\u52a8\u753b\u7684\u6563\u70b9\u56fe\u7684\u52a8\u753b\u53c2\u6570\u3002"),(0,n.kt)("h3",{id:"symbolstyleoffset3"},"SymbolStyle.offset3"),(0,n.kt)("p",null,"public Vector3 offset3 "),(0,n.kt)("h3",{id:"symbolstylegetcolor"},"SymbolStyle.GetColor"),(0,n.kt)("p",null,"public Color32 GetColor(Color32 defaultColor) "),(0,n.kt)("h3",{id:"symbolstylereset"},"SymbolStyle.Reset"),(0,n.kt)("p",null,"public virtual void Reset() "),(0,n.kt)("h2",{id:"symboltype"},"SymbolType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6807\u8bb0\u56fe\u5f62\u7684\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4e0d\u663e\u793a\u6807\u8bb0\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u6807\u8bb0\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Circle"),": \u5706\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyCircle"),": \u7a7a\u5fc3\u5706\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Rect"),": \u6b63\u65b9\u5f62\u3002\u53ef\u901a\u8fc7\u8bbe\u7f6e",(0,n.kt)("inlineCode",{parentName:"li"},"itemStyle"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"cornerRadius"),"\u53d8\u6210\u5706\u89d2\u77e9\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyRect"),": \u7a7a\u5fc3\u6b63\u65b9\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Triangle"),": \u4e09\u89d2\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyTriangle"),": \u7a7a\u5fc3\u4e09\u89d2\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Diamond"),": \u83f1\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyDiamond"),": \u7a7a\u5fc3\u83f1\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Arrow"),": \u7bad\u5934\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyArrow"),": \u7a7a\u5fc3\u7bad\u5934\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Plus"),": \u52a0\u53f7\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Minus"),": \u51cf\u53f7\u3002")),(0,n.kt)("h2",{id:"textlimit"},"TextLimit"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6587\u672c\u5b57\u7b26\u9650\u5236\u548c\u81ea\u9002\u5e94\u3002\u5f53\u6587\u672c\u957f\u5ea6\u8d85\u8fc7\u8bbe\u5b9a\u7684\u957f\u5ea6\u65f6\u8fdb\u884c\u88c1\u526a\uff0c\u5e76\u5c06\u540e\u7f00\u9644\u52a0\u5728\u6700\u540e\u3002 \u53ea\u5728\u7c7b\u76ee\u8f74\u4e2d\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"textlimitclone"},"TextLimit.Clone"),(0,n.kt)("p",null,"public TextLimit Clone() "),(0,n.kt)("h3",{id:"textlimitcopy"},"TextLimit.Copy"),(0,n.kt)("p",null,"public void Copy(TextLimit textLimit) "),(0,n.kt)("h3",{id:"textlimitgetlimitcontent"},"TextLimit.GetLimitContent"),(0,n.kt)("p",null,"public string GetLimitContent(string content) "),(0,n.kt)("h3",{id:"textlimitsetrelatedtext"},"TextLimit.SetRelatedText"),(0,n.kt)("p",null,"public void SetRelatedText(ChartText txt, float labelWidth) "),(0,n.kt)("h2",{id:"textpadding"},"TextPadding"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#padding"},"Padding")),(0,n.kt)("p",null,"\u6587\u672c\u7684\u5185\u8fb9\u8ddd\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"textpaddingtextpadding"},"TextPadding.TextPadding()"),(0,n.kt)("p",null,"public TextPadding()",(0,n.kt)("br",{parentName:"p"}),"\n","\u6587\u672c\u7684\u5185\u8fb9\u8ddd\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"textpaddingtextpadding-1"},"TextPadding.TextPadding"),(0,n.kt)("p",null,"public TextPadding(float top, float right, float bottom, float left) "),(0,n.kt)("h2",{id:"textstyle"},"TextStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6587\u672c\u7684\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"textstyletextstyle"},"TextStyle.TextStyle()"),(0,n.kt)("p",null,"public TextStyle() "),(0,n.kt)("h3",{id:"textstylecopy"},"TextStyle.Copy"),(0,n.kt)("p",null,"public void Copy(TextStyle textStyle) "),(0,n.kt)("h3",{id:"textstylegetalignment"},"TextStyle.GetAlignment"),(0,n.kt)("p",null,"public TextAnchor GetAlignment(TextAnchor defaultAlignment) "),(0,n.kt)("h3",{id:"textstylegetcolor"},"TextStyle.GetColor"),(0,n.kt)("p",null,"public Color GetColor(Color defaultColor) "),(0,n.kt)("h3",{id:"textstylegetfontsize"},"TextStyle.GetFontSize"),(0,n.kt)("p",null,"public int GetFontSize(ComponentTheme defaultTheme) "),(0,n.kt)("h3",{id:"textstyletextstyle-1"},"TextStyle.TextStyle"),(0,n.kt)("p",null,"public TextStyle(int fontSize) "),(0,n.kt)("p",null,"public TextStyle(int fontSize, FontStyle fontStyle) "),(0,n.kt)("p",null,"public TextStyle(int fontSize, FontStyle fontStyle, Color color) "),(0,n.kt)("p",null,"public TextStyle(int fontSize, FontStyle fontStyle, Color color, int rorate) "),(0,n.kt)("h3",{id:"textstyleupdatealignmentbylocation"},"TextStyle.UpdateAlignmentByLocation"),(0,n.kt)("p",null,"public void UpdateAlignmentByLocation(Location location) "),(0,n.kt)("h2",{id:"theme"},"Theme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=scriptableobject"},"ScriptableObject")),(0,n.kt)("p",null,"\u4e3b\u9898\u76f8\u5173\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"themeaxis"},"Theme.axis"),(0,n.kt)("p",null,"public AxisTheme axis "),(0,n.kt)("h3",{id:"themecolorpalette"},"Theme.colorPalette"),(0,n.kt)("p",null,"public List","<","Color32",">"," colorPalette",(0,n.kt)("br",{parentName:"p"}),"\n","\u8c03\u8272\u76d8\u989c\u8272\u5217\u8868\u3002\u5982\u679c\u7cfb\u5217\u6ca1\u6709\u8bbe\u7f6e\u989c\u8272\uff0c\u5219\u4f1a\u4f9d\u6b21\u5faa\u73af\u4ece\u8be5\u5217\u8868\u4e2d\u53d6\u989c\u8272\u4f5c\u4e3a\u7cfb\u5217\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"themecommon"},"Theme.common"),(0,n.kt)("p",null,"public ComponentTheme common "),(0,n.kt)("h3",{id:"themedatazoom"},"Theme.dataZoom"),(0,n.kt)("p",null,"public DataZoomTheme dataZoom "),(0,n.kt)("h3",{id:"themelegend"},"Theme.legend"),(0,n.kt)("p",null,"public LegendTheme legend "),(0,n.kt)("h3",{id:"themeserie"},"Theme.serie"),(0,n.kt)("p",null,"public SerieTheme serie "),(0,n.kt)("h3",{id:"themesubtitle"},"Theme.subTitle"),(0,n.kt)("p",null,"public SubTitleTheme subTitle "),(0,n.kt)("h3",{id:"themetitle"},"Theme.title"),(0,n.kt)("p",null,"public TitleTheme title "),(0,n.kt)("h3",{id:"themetooltip"},"Theme.tooltip"),(0,n.kt)("p",null,"public TooltipTheme tooltip "),(0,n.kt)("h3",{id:"themevisualmap"},"Theme.visualMap"),(0,n.kt)("p",null,"public VisualMapTheme visualMap "),(0,n.kt)("h3",{id:"themecheckwarning"},"Theme.CheckWarning"),(0,n.kt)("p",null,"public void CheckWarning(StringBuilder sb) "),(0,n.kt)("h3",{id:"themeclonetheme"},"Theme.CloneTheme"),(0,n.kt)("p",null,"public Theme CloneTheme()",(0,n.kt)("br",{parentName:"p"}),"\n","\u514b\u9686\u4e3b\u9898\u3002"),(0,n.kt)("h3",{id:"themecopytheme"},"Theme.CopyTheme"),(0,n.kt)("p",null,"public void CopyTheme(Theme theme)",(0,n.kt)("br",{parentName:"p"}),"\n","\u590d\u5236\u4e3b\u9898\u7684\u6240\u6709\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"themegetcolor"},"Theme.GetColor"),(0,n.kt)("p",null,"public static Color32 GetColor(string hexColorStr)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5c06\u5b57\u7b26\u4e32\u989c\u8272\u503c\u8f6c\u6210Color\u3002"),(0,n.kt)("h3",{id:"themegetcolorstr"},"Theme.GetColorStr"),(0,n.kt)("p",null,"public string GetColorStr(int index)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6307\u5b9a\u7d22\u5f15\u7684\u5341\u516d\u8fdb\u5236\u989c\u8272\u503c\u5b57\u7b26\u4e32\u3002"),(0,n.kt)("h3",{id:"themegethashcode"},"Theme.GetHashCode"),(0,n.kt)("p",null,"public override int GetHashCode() "),(0,n.kt)("h3",{id:"themeresettheme"},"Theme.ResetTheme"),(0,n.kt)("p",null,"public bool ResetTheme()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u7f6e\uff0c\u6e05\u9664\u6240\u6709\u81ea\u5b9a\u4e49\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"themeresettodarktheme"},"Theme.ResetToDarkTheme"),(0,n.kt)("p",null,"public static void ResetToDarkTheme(Theme theme)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6697\u4e3b\u9898\u3002"),(0,n.kt)("h3",{id:"themeresettodefaulttheme"},"Theme.ResetToDefaultTheme"),(0,n.kt)("p",null,"public static void ResetToDefaultTheme(Theme theme)",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u4e3b\u9898\u3002"),(0,n.kt)("h3",{id:"themesetcolorpalette"},"Theme.SetColorPalette"),(0,n.kt)("p",null,"public void SetColorPalette(List","<","string",">"," hexColorStringList) "),(0,n.kt)("h3",{id:"themesetdefaultfont"},"Theme.SetDefaultFont"),(0,n.kt)("p",null,"public void SetDefaultFont() "),(0,n.kt)("h3",{id:"themesyncfonttosubcomponent"},"Theme.SyncFontToSubComponent"),(0,n.kt)("p",null,"public void SyncFontToSubComponent() "),(0,n.kt)("h3",{id:"themesynctmpfonttosubcomponent"},"Theme.SyncTMPFontToSubComponent"),(0,n.kt)("p",null,"public void SyncTMPFontToSubComponent() "),(0,n.kt)("h2",{id:"themestyle"},"ThemeStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u4e3b\u9898\u76f8\u5173\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"themestyleaxis"},"ThemeStyle.axis"),(0,n.kt)("p",null,"public AxisTheme axis "),(0,n.kt)("h3",{id:"themestylecommon"},"ThemeStyle.common"),(0,n.kt)("p",null,"public ComponentTheme common "),(0,n.kt)("h3",{id:"themestylecustomcolorpalette"},"ThemeStyle.customColorPalette"),(0,n.kt)("p",null,"public List","<","Color32",">"," customColorPalette "),(0,n.kt)("h3",{id:"themestyledatazoom"},"ThemeStyle.dataZoom"),(0,n.kt)("p",null,"public DataZoomTheme dataZoom "),(0,n.kt)("h3",{id:"themestylelegend"},"ThemeStyle.legend"),(0,n.kt)("p",null,"public LegendTheme legend "),(0,n.kt)("h3",{id:"themestyleserie"},"ThemeStyle.serie"),(0,n.kt)("p",null,"public SerieTheme serie "),(0,n.kt)("h3",{id:"themestyleshow"},"ThemeStyle.show"),(0,n.kt)("p",null,"public bool show "),(0,n.kt)("h3",{id:"themestylesubtitle"},"ThemeStyle.subTitle"),(0,n.kt)("p",null,"public SubTitleTheme subTitle "),(0,n.kt)("h3",{id:"themestyletitle"},"ThemeStyle.title"),(0,n.kt)("p",null,"public TitleTheme title "),(0,n.kt)("h3",{id:"themestyletooltip"},"ThemeStyle.tooltip"),(0,n.kt)("p",null,"public TooltipTheme tooltip "),(0,n.kt)("h3",{id:"themestylevisualmap"},"ThemeStyle.visualMap"),(0,n.kt)("p",null,"public VisualMapTheme visualMap "),(0,n.kt)("h3",{id:"themestylecheckwarning"},"ThemeStyle.CheckWarning"),(0,n.kt)("p",null,"public void CheckWarning(StringBuilder sb) "),(0,n.kt)("h3",{id:"themestylegetbackgroundcolor"},"ThemeStyle.GetBackgroundColor"),(0,n.kt)("p",null,"public Color32 GetBackgroundColor(Background background) "),(0,n.kt)("h3",{id:"themestylegetcolor"},"ThemeStyle.GetColor"),(0,n.kt)("p",null,"public static Color32 GetColor(string hexColorStr)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5c06\u5b57\u7b26\u4e32\u989c\u8272\u503c\u8f6c\u6210Color\u3002"),(0,n.kt)("h3",{id:"themestylegetcolorstr"},"ThemeStyle.GetColorStr"),(0,n.kt)("p",null,"public string GetColorStr(int index)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u6307\u5b9a\u7d22\u5f15\u7684\u5341\u516d\u8fdb\u5236\u989c\u8272\u503c\u5b57\u7b26\u4e32\u3002"),(0,n.kt)("h3",{id:"themestylesyncsharedthemecolortocustom"},"ThemeStyle.SyncSharedThemeColorToCustom"),(0,n.kt)("p",null,"public void SyncSharedThemeColorToCustom() "),(0,n.kt)("h2",{id:"themetype"},"ThemeType"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u4e3b\u9898"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Default"),": \u9ed8\u8ba4\u4e3b\u9898\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Light"),": \u4eae\u4e3b\u9898\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dark"),": \u6697\u4e3b\u9898\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u4e3b\u9898\u3002")),(0,n.kt)("h2",{id:"title"},"Title"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#ipropertychanged"},"IPropertyChanged")),(0,n.kt)("p",null,"\u6807\u9898\u7ec4\u4ef6\uff0c\u5305\u542b\u4e3b\u6807\u9898\u548c\u526f\u6807\u9898\u3002"),(0,n.kt)("h3",{id:"titleshow"},"Title.show"),(0,n.kt)("p",null,"public bool show",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793a\u6807\u9898\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"titletext"},"Title.text"),(0,n.kt)("p",null,"public string text",(0,n.kt)("br",{parentName:"p"}),"\n","\u4e3b\u6807\u9898\u6587\u672c\uff0c\u652f\u6301\u4f7f\u7528 \\n \u6362\u884c\u3002"),(0,n.kt)("h3",{id:"titlevertsdirty"},"Title.vertsDirty"),(0,n.kt)("p",null,"public override bool vertsDirty "),(0,n.kt)("h3",{id:"titleclearcomponentdirty"},"Title.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h3",{id:"titleonchanged"},"Title.OnChanged"),(0,n.kt)("p",null,"public void OnChanged() "),(0,n.kt)("h2",{id:"titlestyle"},"TitleStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent"),",",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent")),(0,n.kt)("p",null,"\u6807\u9898\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h2",{id:"titletheme"},"TitleTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"titlethemetitletheme"},"TitleTheme.TitleTheme"),(0,n.kt)("p",null,"public TitleTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h2",{id:"tooltip"},"Tooltip"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"tooltipalwayshowcontent"},"Tooltip.alwayShowContent"),(0,n.kt)("p",null,"public bool alwayShowContent",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u89e6\u53d1\u540e\u4e00\u76f4\u663e\u793a\u63d0\u793a\u6846\u6d6e\u5c42\u3002"),(0,n.kt)("h3",{id:"tooltipbackgroundcolor"},"Tooltip.backgroundColor"),(0,n.kt)("p",null,"public Color backgroundColor",(0,n.kt)("br",{parentName:"p"}),"\n","\u63d0\u793a\u6846\u7684\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"tooltipbackgroundimage"},"Tooltip.backgroundImage"),(0,n.kt)("p",null,"public Sprite backgroundImage",(0,n.kt)("br",{parentName:"p"}),"\n","\u63d0\u793a\u6846\u7684\u80cc\u666f\u56fe\u7247\u3002"),(0,n.kt)("h3",{id:"tooltipbackgroundtype"},"Tooltip.backgroundType"),(0,n.kt)("p",null,"public Image.Type backgroundType",(0,n.kt)("br",{parentName:"p"}),"\n","\u63d0\u793a\u6846\u7684\u80cc\u666f\u56fe\u7247\u663e\u793a\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"tooltipfixedheight"},"Tooltip.fixedHeight"),(0,n.kt)("p",null,"public float fixedHeight",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fa\u5b9a\u9ad8\u5ea6\u3002\u6bd4 minHeight \u4f18\u5148\u3002"),(0,n.kt)("h3",{id:"tooltipfixedwidth"},"Tooltip.fixedWidth"),(0,n.kt)("p",null,"public float fixedWidth",(0,n.kt)("br",{parentName:"p"}),"\n","\u56fa\u5b9a\u5bbd\u5ea6\u3002\u6bd4 minWidth \u4f18\u5148\u3002"),(0,n.kt)("h3",{id:"tooltipignoredatadefaultcontent"},"Tooltip.ignoreDataDefaultContent"),(0,n.kt)("p",null,"public string ignoreDataDefaultContent",(0,n.kt)("br",{parentName:"p"}),"\n","\u88ab\u5ffd\u7565\u6570\u636e\u7684\u9ed8\u8ba4\u663e\u793a\u5b57\u7b26\u4fe1\u606f\u3002\u5982\u679c\u8bbe\u7f6e\u4e3a\u7a7a\uff0c\u5219\u8868\u793a\u5b8c\u5168\u4e0d\u663e\u793a\u5ffd\u7565\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"tooltipignoredatashow"},"Tooltip.ignoreDataShow"),(0,n.kt)("p",null,"public bool ignoreDataShow",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793a\u5ffd\u7565\u6570\u636e\u5728tooltip\u4e0a\u3002"),(0,n.kt)("h3",{id:"tooltipitemformatter"},"Tooltip.itemFormatter"),(0,n.kt)("p",null,"public string itemFormatter",(0,n.kt)("br",{parentName:"p"}),"\n","\u63d0\u793a\u6846\u5355\u4e2aserie\u6216\u6570\u636e\u9879\u5185\u5bb9\u7684\u5b57\u7b26\u4e32\u6a21\u7248\u683c\u5f0f\u5668\u3002\u652f\u6301\u7528 \\n \u6362\u884c\u3002\u7528|\u6765\u8868\u793a\u591a\u4e2a\u5217\u7684\u5206\u9694\u3002 \u6a21\u677f\u53d8\u91cf\u6709{.}\u3001{a}\u3001{b}\u3001{c}\u3001{d}\u3001{e}\u3001{f}\u3001{g}\u3002",(0,n.kt)("br",null)," {i}\u6216-\u8868\u793a\u5ffd\u7565\u5f53\u524d\u9879\u3002 {.}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684\u5bf9\u5e94\u989c\u8272\u7684\u5706\u70b9\u3002",(0,n.kt)("br",null)," {a}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684\u7cfb\u5217\u540dname\u3002",(0,n.kt)("br",null)," {b}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684\u6570\u636e\u9879serieData\u7684name\uff0c\u6216\u8005\u7c7b\u76ee\u503c\uff08\u5982\u6298\u7ebf\u56fe\u7684X\u8f74\uff09\u3002",(0,n.kt)("br",null)," {c}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684y\u7ef4\uff08dimesion\u4e3a1\uff09\u7684\u6570\u503c\u3002",(0,n.kt)("br",null)," {d}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684y\u7ef4\uff08dimesion\u4e3a1\uff09\u767e\u5206\u6bd4\u503c\uff0c\u6ce8\u610f\u4e0d\u5e26%\u53f7\u3002",(0,n.kt)("br",null)," {e}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684\u6570\u636e\u9879serieData\u7684name\u3002",(0,n.kt)("br",null)," {f}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u7684\u9ed8\u8ba4\u7ef4\u5ea6\u7684\u6570\u636e\u603b\u548c\u3002",(0,n.kt)("br",null)," {g}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u7684\u6570\u636e\u603b\u4e2a\u6570\u3002",(0,n.kt)("br",null)," {h}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u7684\u5341\u516d\u8fdb\u5236\u989c\u8272\u503c\u3002",(0,n.kt)("br",null)," {y}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u7684y\u8f74\u7684\u7c7b\u76ee\u503c\u3002",(0,n.kt)("br",null)," {c0}\u8868\u793a\u5f53\u524d\u6570\u636e\u9879\u7ef4\u5ea6\u4e3a0\u7684\u6570\u636e\u3002",(0,n.kt)("br",null)," {c1}\u8868\u793a\u5f53\u524d\u6570\u636e\u9879\u7ef4\u5ea6\u4e3a1\u7684\u6570\u636e\u3002",(0,n.kt)("br",null)," {d3}\u8868\u793a\u7ef4\u5ea63\u7684\u6570\u636e\u7684\u767e\u5206\u6bd4\u3002\u5b83\u7684\u5206\u6bcd\u662f\u9ed8\u8ba4\u7ef4\u5ea6\uff08\u4e00\u822c\u662f1\u7ef4\u5ea6\uff09\u6570\u636e\u3002",(0,n.kt)("br",null)," |\u8868\u793a\u591a\u4e2a\u5217\u7684\u5206\u9694\u3002",(0,n.kt)("br",null),' \u793a\u4f8b\uff1a"{i}", "{.}|{a}|{c}", "{.}|{b}|{c2:f2}", "{.}|{b}|{y}"'),(0,n.kt)("h3",{id:"tooltipmarker"},"Tooltip.marker"),(0,n.kt)("p",null,"public string marker",(0,n.kt)("br",{parentName:"p"}),"\n","serie\u7684\u7b26\u53f7\u6807\u5fd7\u3002"),(0,n.kt)("h3",{id:"tooltipminheight"},"Tooltip.minHeight"),(0,n.kt)("p",null,"public float minHeight",(0,n.kt)("br",{parentName:"p"}),"\n","\u6700\u5c0f\u9ad8\u5ea6\u3002\u5982\u82e5 fixedHeight \u8bbe\u6709\u503c\uff0c\u4f18\u5148\u53d6 fixedHeight\u3002"),(0,n.kt)("h3",{id:"tooltipminwidth"},"Tooltip.minWidth"),(0,n.kt)("p",null,"public float minWidth",(0,n.kt)("br",{parentName:"p"}),"\n","\u6700\u5c0f\u5bbd\u5ea6\u3002\u5982\u82e5 fixedWidth \u8bbe\u6709\u503c\uff0c\u4f18\u5148\u53d6 fixedWidth\u3002"),(0,n.kt)("h3",{id:"tooltipoffset"},"Tooltip.offset"),(0,n.kt)("p",null,"public Vector2 offset",(0,n.kt)("br",{parentName:"p"}),"\n","\u63d0\u793a\u6846\u76f8\u5bf9\u4e8e\u9f20\u6807\u4f4d\u7f6e\u7684\u504f\u79fb\u3002"),(0,n.kt)("h3",{id:"tooltiponclickindex"},"Tooltip.onClickIndex"),(0,n.kt)("p",null,"public System.Action","<","int",">"," onClickIndex",(0,n.kt)("br",{parentName:"p"}),"\n","Tooltip\u4e3aClick\u89e6\u53d1\u65f6\uff0c\u70b9\u51fb\u7684X\u8f74\u7d22\u5f15\u7684\u56de\u8c03\u3002"),(0,n.kt)("h3",{id:"tooltippaddingleftright"},"Tooltip.paddingLeftRight"),(0,n.kt)("p",null,"public int paddingLeftRight",(0,n.kt)("br",{parentName:"p"}),"\n","\u5de6\u53f3\u8fb9\u8ddd\u3002"),(0,n.kt)("h3",{id:"tooltippaddingtopbottom"},"Tooltip.paddingTopBottom"),(0,n.kt)("p",null,"public int paddingTopBottom",(0,n.kt)("br",{parentName:"p"}),"\n","\u4e0a\u4e0b\u8fb9\u8ddd\u3002"),(0,n.kt)("h3",{id:"tooltipruntimedataindex"},"Tooltip.runtimeDataIndex"),(0,n.kt)("p",null,"public List","<","int",">"," runtimeDataIndex",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f53\u524d\u63d0\u793a\u6846\u6240\u6307\u793a\u7684\u6570\u636e\u9879\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"tooltipshowcontent"},"Tooltip.showContent"),(0,n.kt)("p",null,"public bool showContent",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u663e\u793a\u63d0\u793a\u6846\u6d6e\u5c42\uff0c\u9ed8\u8ba4\u663e\u793a\u3002\u53ea\u9700tooltip\u89e6\u53d1\u4e8b\u4ef6\u6216\u663e\u793aaxisPointer\u800c\u4e0d\u9700\u8981\u663e\u793a\u5185\u5bb9\u65f6\u53ef\u914d\u7f6e\u8be5\u9879\u4e3afalse\u3002"),(0,n.kt)("h3",{id:"tooltiptitleformatter"},"Tooltip.titleFormatter"),(0,n.kt)("p",null,"public string titleFormatter",(0,n.kt)("br",{parentName:"p"}),"\n","\u63d0\u793a\u6846\u6807\u9898\u5185\u5bb9\u7684\u5b57\u7b26\u4e32\u6a21\u7248\u683c\u5f0f\u5668\u3002\u652f\u6301\u7528 \\n \u6362\u884c\u3002\u53ef\u4ee5\u5355\u72ec\u8bbe\u7f6e\u5360\u4f4d\u7b26{i}\u8868\u793a\u5ffd\u7565\u4e0d\u663e\u793atitle\u3002 \u6a21\u677f\u53d8\u91cf\u6709{.}\u3001{a}\u3001{b}\u3001{c}\u3001{d}\u3001{e}\u3001{f}\u3001{g}\u3002",(0,n.kt)("br",null)," {.}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u5bf9\u5e94\u989c\u8272\u7684\u5706\u70b9\u3002",(0,n.kt)("br",null)," {a}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u7cfb\u5217\u540dname\u3002",(0,n.kt)("br",null)," {b}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u6570\u636e\u9879serieData\u7684name\uff0c\u6216\u8005\u7c7b\u76ee\u503c\uff08\u5982\u6298\u7ebf\u56fe\u7684X\u8f74\uff09\u3002",(0,n.kt)("br",null)," {c}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684y\u7ef4\uff08dimesion\u4e3a1\uff09\u7684\u6570\u503c\u3002",(0,n.kt)("br",null)," {d}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684y\u7ef4\uff08dimesion\u4e3a1\uff09\u767e\u5206\u6bd4\u503c\uff0c\u6ce8\u610f\u4e0d\u5e26%\u53f7\u3002",(0,n.kt)("br",null)," {e}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u6570\u636e\u9879serieData\u7684name\u3002",(0,n.kt)("br",null)," {h}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u6570\u636e\u9879serieData\u7684\u5341\u516d\u8fdb\u5236\u989c\u8272\u503c\u3002",(0,n.kt)("br",null)," {f}\u4e3a\u6570\u636e\u603b\u548c\u3002",(0,n.kt)("br",null)," {g}\u4e3a\u6570\u636e\u603b\u4e2a\u6570\u3002",(0,n.kt)("br",null)," {y}\u4e3avalue\u6240\u5bf9\u5e94\u7684y\u8f74\u7684\u7c7b\u76ee\u503c\u3002",(0,n.kt)("br",null)," {.1}\u8868\u793a\u6307\u5b9aindex\u4e3a1\u7684serie\u5bf9\u5e94\u989c\u8272\u7684\u5706\u70b9\u3002",(0,n.kt)("br",null)," {a1}\u3001{b1}\u3001{c1}\u4e2d\u76841\u8868\u793a\u6307\u5b9aindex\u4e3a1\u7684serie\u3002",(0,n.kt)("br",null)," {c1:2}\u8868\u793a\u7d22\u5f15\u4e3a1\u7684serie\u7684\u5f53\u524d\u6307\u793a\u6570\u636e\u9879\u7684\u7b2c3\u4e2a\u6570\u636e\uff08\u4e00\u4e2a\u6570\u636e\u9879\u6709\u591a\u4e2a\u6570\u636e\uff0cindex\u4e3a2\u8868\u793a\u7b2c3\u4e2a\u6570\u636e\uff09\u3002",(0,n.kt)("br",null)," {c1:2-2}\u8868\u793a\u7d22\u5f15\u4e3a1\u7684serie\u7684\u7b2c3\u4e2a\u6570\u636e\u9879\u7684\u7b2c3\u4e2a\u6570\u636e\uff08\u4e5f\u5c31\u662f\u8981\u6307\u5b9a\u7b2c\u51e0\u4e2a\u6570\u636e\u9879\u65f6\u5fc5\u987b\u8981\u6307\u5b9a\u7b2c\u51e0\u4e2a\u6570\u636e\uff09\u3002",(0,n.kt)("br",null)," {d1:2:f2}\u8868\u793a\u5355\u72ec\u6307\u5b9a\u4e86\u6570\u503c\u7684\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u4e3af2\uff08\u4e0d\u6307\u5b9a\u65f6\u7528numericFormatter\uff09\u3002",(0,n.kt)("br",null),' {d:0.##} \u8868\u793a\u5355\u72ec\u6307\u5b9a\u4e86\u6570\u503c\u7684\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u4e3a 0.## \uff08\u7528\u4e8e\u767e\u5206\u6bd4\uff0c\u4fdd\u75592\u4f4d\u6709\u6548\u6570\u540c\u65f6\u53c8\u80fd\u907f\u514d\u4f7f\u7528 f2 \u800c\u51fa\u73b0\u7684\u7c7b\u4f3c\u4e8e"100.00%"\u7684\u60c5\u51b5 \uff09\u3002',(0,n.kt)("br",null),' \u793a\u4f8b\uff1a"{a}:{c}"\u3001"{a1}:{c1:f1}"\u3001"{a1}:{c1:0:f1}"\u3001"{a1}:{c1:1-1:f1}"'),(0,n.kt)("h3",{id:"tooltipaddseriedataindex"},"Tooltip.AddSerieDataIndex"),(0,n.kt)("p",null,"public void AddSerieDataIndex(int serieIndex, int dataIndex) "),(0,n.kt)("h3",{id:"tooltipclearcomponentdirty"},"Tooltip.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h3",{id:"tooltipcleardata"},"Tooltip.ClearData"),(0,n.kt)("p",null,"public override void ClearData() "),(0,n.kt)("h3",{id:"tooltipclearseriedataindex"},"Tooltip.ClearSerieDataIndex"),(0,n.kt)("p",null,"public void ClearSerieDataIndex() "),(0,n.kt)("h3",{id:"tooltipgetcontentlabelstyle"},"Tooltip.GetContentLabelStyle"),(0,n.kt)("p",null,"public LabelStyle GetContentLabelStyle(int index) "),(0,n.kt)("h3",{id:"tooltipisactive"},"Tooltip.IsActive"),(0,n.kt)("p",null,"public bool IsActive()",(0,n.kt)("br",{parentName:"p"}),"\n","\u63d0\u793a\u6846\u662f\u5426\u663e\u793a"),(0,n.kt)("h3",{id:"tooltipisanyseriedataindex"},"Tooltip.isAnySerieDataIndex"),(0,n.kt)("p",null,"public bool isAnySerieDataIndex() "),(0,n.kt)("h3",{id:"tooltipisselected"},"Tooltip.IsSelected"),(0,n.kt)("p",null,"public bool IsSelected(int index)",(0,n.kt)("br",{parentName:"p"}),"\n","\u6307\u5b9a\u7d22\u5f15\u7684\u6570\u636e\u9879\u662f\u5426\u88ab\u63d0\u793a\u6846\u9009\u4e2d"),(0,n.kt)("h3",{id:"tooltipistriggeraxis"},"Tooltip.IsTriggerAxis"),(0,n.kt)("p",null,"public bool IsTriggerAxis() "),(0,n.kt)("h3",{id:"tooltipistriggeritem"},"Tooltip.IsTriggerItem"),(0,n.kt)("p",null,"public bool IsTriggerItem() "),(0,n.kt)("h3",{id:"tooltipkeeptop"},"Tooltip.KeepTop"),(0,n.kt)("p",null,"public void KeepTop()",(0,n.kt)("br",{parentName:"p"}),"\n","\u4fdd\u6301Tooltiop\u663e\u793a\u5728\u6700\u9876\u4e0a"),(0,n.kt)("h3",{id:"tooltipsetactive"},"Tooltip.SetActive"),(0,n.kt)("p",null,"public void SetActive(bool flag)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6eTooltip\u7ec4\u4ef6\u662f\u5426\u663e\u793a"),(0,n.kt)("h3",{id:"tooltipsetcontentactive"},"Tooltip.SetContentActive"),(0,n.kt)("p",null,"public void SetContentActive(bool flag)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6e\u6587\u672c\u6846\u662f\u5426\u663e\u793a"),(0,n.kt)("h3",{id:"tooltipupdatecontentpos"},"Tooltip.UpdateContentPos"),(0,n.kt)("p",null,"public void UpdateContentPos(Vector2 pos, float width, float height)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6587\u672c\u6846\u4f4d\u7f6e"),(0,n.kt)("h2",{id:"tooltipposition"},"Tooltip.Position"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u5750\u6807\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u81ea\u9002\u5e94\u3002\u79fb\u52a8\u5e73\u53f0\u9760\u9876\u90e8\u663e\u793a\uff0c\u975e\u79fb\u52a8\u5e73\u53f0\u8ddf\u968f\u9f20\u6807\u4f4d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u3002\u5b8c\u5168\u81ea\u5b9a\u4e49\u663e\u793a\u4f4d\u7f6e(x,y)\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"FixedX"),": \u53ea\u56fa\u5b9a\u5750\u6807X\u3002Y\u8ddf\u968f\u9f20\u6807\u4f4d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"FixedY"),": ")),(0,n.kt)("h2",{id:"tooltiptrigger"},"Tooltip.Trigger"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u89e6\u53d1\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Item"),": \u6570\u636e\u9879\u56fe\u5f62\u89e6\u53d1\uff0c\u4e3b\u8981\u5728\u6563\u70b9\u56fe\uff0c\u997c\u56fe\u7b49\u65e0\u7c7b\u76ee\u8f74\u7684\u56fe\u8868\u4e2d\u4f7f\u7528\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Axis"),": \u5750\u6807\u8f74\u89e6\u53d1\uff0c\u4e3b\u8981\u5728\u67f1\u72b6\u56fe\uff0c\u6298\u7ebf\u56fe\u7b49\u4f1a\u4f7f\u7528\u7c7b\u76ee\u8f74\u7684\u56fe\u8868\u4e2d\u4f7f\u7528\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4ec0\u4e48\u90fd\u4e0d\u89e6\u53d1\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u6839\u636eserie\u7684\u7c7b\u578b\u81ea\u52a8\u9009\u62e9\u89e6\u53d1\u7c7b\u578b\u3002")),(0,n.kt)("h2",{id:"tooltiptriggeron"},"Tooltip.TriggerOn"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u89e6\u53d1\u6761\u4ef6\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"MouseMove"),": \u9f20\u6807\u79fb\u52a8\u65f6\u89e6\u53d1\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Click"),": \u9f20\u6807\u70b9\u51fb\u65f6\u89e6\u53d1\u3002")),(0,n.kt)("h2",{id:"tooltiptype"},"Tooltip.Type"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u6307\u793a\u5668\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Line"),": \u76f4\u7ebf\u6307\u793a\u5668"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Shadow"),": \u9634\u5f71\u6307\u793a\u5668"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u65e0\u6307\u793a\u5668"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Cross"),": \u5341\u5b57\u51c6\u661f\u6307\u793a\u5668\u3002\u5750\u6807\u8f74\u663e\u793aLabel\u548c\u4ea4\u53c9\u7ebf\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u6839\u636eserie\u7684\u7c7b\u578b\u81ea\u52a8\u9009\u62e9\u663e\u793a\u6307\u793a\u5668\u3002")),(0,n.kt)("h2",{id:"tooltipcontext"},"TooltipContext"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"tooltipdata"},"TooltipData"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"tooltiphelper"},"TooltipHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"tooltiphelpergetitemnumericformatter"},"TooltipHelper.GetItemNumericFormatter"),(0,n.kt)("p",null,"public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData) "),(0,n.kt)("h3",{id:"tooltiphelpergetlinecolor"},"TooltipHelper.GetLineColor"),(0,n.kt)("p",null,"public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor) "),(0,n.kt)("h3",{id:"tooltiphelperisignoreformatter"},"TooltipHelper.IsIgnoreFormatter"),(0,n.kt)("p",null,"public static bool IsIgnoreFormatter(string itemFormatter) "),(0,n.kt)("h3",{id:"tooltiphelperlimitinrect"},"TooltipHelper.LimitInRect"),(0,n.kt)("p",null,"public static void LimitInRect(Tooltip tooltip, Rect chartRect) "),(0,n.kt)("h2",{id:"tooltiptheme"},"TooltipTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"tooltipthemecopy"},"TooltipTheme.Copy"),(0,n.kt)("p",null,"public void Copy(TooltipTheme theme) "),(0,n.kt)("h3",{id:"tooltipthemetooltiptheme"},"TooltipTheme.TooltipTheme"),(0,n.kt)("p",null,"public TooltipTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h2",{id:"tooltipview"},"TooltipView"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"tooltipviewcreateview"},"TooltipView.CreateView"),(0,n.kt)("p",null,"public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent) "),(0,n.kt)("h3",{id:"tooltipviewgetcurrentpos"},"TooltipView.GetCurrentPos"),(0,n.kt)("p",null,"public Vector3 GetCurrentPos() "),(0,n.kt)("h3",{id:"tooltipviewgettargetpos"},"TooltipView.GetTargetPos"),(0,n.kt)("p",null,"public Vector3 GetTargetPos() "),(0,n.kt)("h3",{id:"tooltipviewrefresh"},"TooltipView.Refresh"),(0,n.kt)("p",null,"public void Refresh() "),(0,n.kt)("h3",{id:"tooltipviewsetactive"},"TooltipView.SetActive"),(0,n.kt)("p",null,"public void SetActive(bool flag) "),(0,n.kt)("h3",{id:"tooltipviewupdate"},"TooltipView.Update"),(0,n.kt)("p",null,"public void Update() "),(0,n.kt)("h3",{id:"tooltipviewupdateposition"},"TooltipView.UpdatePosition"),(0,n.kt)("p",null,"public void UpdatePosition(Vector3 pos) "),(0,n.kt)("h2",{id:"tooltipviewitem"},"TooltipViewItem"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"ugl"},"UGL"),(0,n.kt)("p",null,"class in XUGL"),(0,n.kt)("p",null,"UGUI \u56fe\u5f62\u5e93"),(0,n.kt)("h3",{id:"ugldrawdiamond"},"UGL.DrawDiamond"),(0,n.kt)("p",null,"public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)",(0,n.kt)("br",{parentName:"p"}),"\n","Draw a diamond. \u753b\u83f1\u5f62\uff08\u94bb\u77f3\u5f62\u72b6\uff09"),(0,n.kt)("p",null,"public static void DrawDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, Color32 color, Color32 toColor) "),(0,n.kt)("h3",{id:"ugldrawellipse"},"UGL.DrawEllipse"),(0,n.kt)("p",null,"public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1) "),(0,n.kt)("h3",{id:"ugldrawemptydiamond"},"UGL.DrawEmptyDiamond"),(0,n.kt)("p",null,"public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color, Color32 emptyColor) "),(0,n.kt)("h3",{id:"ugldrawemptytriangle"},"UGL.DrawEmptyTriangle"),(0,n.kt)("p",null,"public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color, Color32 backgroundColor) "),(0,n.kt)("h3",{id:"ugldrawline"},"UGL.DrawLine"),(0,n.kt)("p",null,"public static void DrawLine(VertexHelper vh, List","<","Vector3",">"," points, float width, Color32 color, bool smooth, bool closepath = false) "),(0,n.kt)("p",null,"public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)",(0,n.kt)("br",{parentName:"p"}),"\n","Draw a line. \u753b\u76f4\u7ebf"),(0,n.kt)("h3",{id:"ugldrawminus"},"UGL.DrawMinus"),(0,n.kt)("p",null,"public static void DrawMinus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed8\u5236\u51cf\u53f7"),(0,n.kt)("h3",{id:"ugldrawplus"},"UGL.DrawPlus"),(0,n.kt)("p",null,"public static void DrawPlus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)",(0,n.kt)("br",{parentName:"p"}),"\n","\u7ed8\u5236\u52a0\u53f7"),(0,n.kt)("h3",{id:"ugldrawpolygon"},"UGL.DrawPolygon"),(0,n.kt)("p",null,"public static void DrawPolygon(VertexHelper vh, List","<","Vector3",">"," points, Color32 color)",(0,n.kt)("br",{parentName:"p"}),"\n","\u586b\u5145\u4efb\u610f\u591a\u8fb9\u5f62\uff08\u76ee\u524d\u53ea\u652f\u6301\u51f8\u591a\u8fb9\u5f62\uff09"),(0,n.kt)("h3",{id:"ugldrawrectangle"},"UGL.DrawRectangle"),(0,n.kt)("p",null,"public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color) "),(0,n.kt)("p",null,"public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor) "),(0,n.kt)("p",null,"public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color) "),(0,n.kt)("p",null,"public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor) "),(0,n.kt)("h3",{id:"ugldrawsquare"},"UGL.DrawSquare"),(0,n.kt)("p",null,"public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)",(0,n.kt)("br",{parentName:"p"}),"\n","Draw a square. \u753b\u6b63\u65b9\u5f62"),(0,n.kt)("h3",{id:"ugldrawsvgpath"},"UGL.DrawSvgPath"),(0,n.kt)("p",null,"public static void DrawSvgPath(VertexHelper vh, string path) "),(0,n.kt)("h3",{id:"ugldrawtriangle"},"UGL.DrawTriangle"),(0,n.kt)("p",null,"public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor) "),(0,n.kt)("h2",{id:"ugldirection"},"UGL.Direction"),(0,n.kt)("p",null,"class in XUGL"),(0,n.kt)("p",null,"\u66f2\u7ebf\u65b9\u5411"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"XAxis"),": \u6cbfX\u8f74\u65b9\u5411"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"YAxis"),": \u6cbfY\u8f74\u65b9\u5411"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Random"),": \u968f\u673a\u65e0\u5e8f\u7684\u3002\u5982\u4e00\u4e2a\u95ed\u5408\u7684\u73af\u72b6\u66f2\u7ebf\u3002")),(0,n.kt)("h2",{id:"uglexample"},"UGLExample"),(0,n.kt)("p",null,"class in XUGL / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=maskablegraphic"},"MaskableGraphic")),(0,n.kt)("h2",{id:"uglhelper"},"UGLHelper"),(0,n.kt)("p",null,"class in XUGL"),(0,n.kt)("h3",{id:"uglhelpergetangle360"},"UGLHelper.GetAngle360"),(0,n.kt)("p",null,"public static float GetAngle360(Vector2 from, Vector2 to)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f970-360\u7684\u89d2\u5ea6\uff0812\u70b9\u949f\u65b9\u5411\u4e3a0\u5ea6\uff09"),(0,n.kt)("h3",{id:"uglhelpergetbezier"},"UGLHelper.GetBezier"),(0,n.kt)("p",null,"public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep) "),(0,n.kt)("h3",{id:"uglhelpergetbezier2"},"UGLHelper.GetBezier2"),(0,n.kt)("p",null,"public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep) "),(0,n.kt)("h3",{id:"uglhelpergetbezierlist"},"UGLHelper.GetBezierList"),(0,n.kt)("p",null,"public static List","<","Vector3",">"," GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp) "),(0,n.kt)("h3",{id:"uglhelpergetdire"},"UGLHelper.GetDire"),(0,n.kt)("p",null,"public static Vector3 GetDire(float angle, bool isDegree = false) "),(0,n.kt)("h3",{id:"uglhelpergetintersection"},"UGLHelper.GetIntersection"),(0,n.kt)("p",null,"public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref List","<","Vector3",">"," intersection)",(0,n.kt)("br",{parentName:"p"}),"\n","\u83b7\u5f97\u4e24\u76f4\u7ebf\u7684\u4ea4\u70b9"),(0,n.kt)("h3",{id:"uglhelpergetpos"},"UGLHelper.GetPos"),(0,n.kt)("p",null,"public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false) "),(0,n.kt)("h3",{id:"uglhelpergetvertialdire"},"UGLHelper.GetVertialDire"),(0,n.kt)("p",null,"public static Vector3 GetVertialDire(Vector3 dire) "),(0,n.kt)("h3",{id:"uglhelperisclearcolor"},"UGLHelper.IsClearColor"),(0,n.kt)("p",null,"public static bool IsClearColor(Color color) "),(0,n.kt)("h3",{id:"uglhelperispointinpolygon"},"UGLHelper.IsPointInPolygon"),(0,n.kt)("p",null,"public static bool IsPointInPolygon(Vector3 p, List","<","Vector2",">"," polyons) "),(0,n.kt)("p",null,"public static bool IsPointInPolygon(Vector3 p, params Vector3[] polyons) "),(0,n.kt)("h3",{id:"uglhelperispointintriangle"},"UGLHelper.IsPointInTriangle"),(0,n.kt)("p",null,"public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check) "),(0,n.kt)("h3",{id:"uglhelperisvalueequalscolor"},"UGLHelper.IsValueEqualsColor"),(0,n.kt)("p",null,"public static bool IsValueEqualsColor(Color color1, Color color2) "),(0,n.kt)("h3",{id:"uglhelperisvalueequalslistt"},"UGLHelper.IsValueEqualsList","<","T",">"),(0,n.kt)("p",null,"public static bool IsValueEqualsList","<","T",">","(List","<","T",">"," list1, List","<","T",">"," list2) "),(0,n.kt)("h3",{id:"uglhelperisvalueequalsstring"},"UGLHelper.IsValueEqualsString"),(0,n.kt)("p",null,"public static bool IsValueEqualsString(string str1, string str2) "),(0,n.kt)("h3",{id:"uglhelperisvalueequalsvector2"},"UGLHelper.IsValueEqualsVector2"),(0,n.kt)("p",null,"public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2) "),(0,n.kt)("h3",{id:"uglhelperisvalueequalsvector3"},"UGLHelper.IsValueEqualsVector3"),(0,n.kt)("p",null,"public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2) "),(0,n.kt)("h3",{id:"uglhelperiszerovector"},"UGLHelper.IsZeroVector"),(0,n.kt)("p",null,"public static bool IsZeroVector(Vector3 pos) "),(0,n.kt)("h3",{id:"uglhelperrotateround"},"UGLHelper.RotateRound"),(0,n.kt)("p",null,"public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle) "),(0,n.kt)("h2",{id:"uicomponent"},"UIComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basegraph"},"BaseGraph")),(0,n.kt)("p",null,"UI\u7ec4\u4ef6\u57fa\u7c7b\u3002"),(0,n.kt)("h3",{id:"uicomponentbackground"},"UIComponent.background"),(0,n.kt)("p",null,"public Background background",(0,n.kt)("br",{parentName:"p"}),"\n","\u80cc\u666f\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"uicomponentcharthideflags"},"UIComponent.chartHideFlags"),(0,n.kt)("p",null,"public override HideFlags chartHideFlags "),(0,n.kt)("h3",{id:"uicomponenttheme"},"UIComponent.theme"),(0,n.kt)("p",null,"public UIComponentTheme theme "),(0,n.kt)("h3",{id:"uicomponentsetalldirty"},"UIComponent.SetAllDirty"),(0,n.kt)("p",null,"public override void SetAllDirty() "),(0,n.kt)("h3",{id:"uicomponentsetdatadirty"},"UIComponent.SetDataDirty"),(0,n.kt)("p",null,"public void SetDataDirty() "),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.9.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("h3",{id:"uicomponentsetverticesdirty"},"UIComponent.SetVerticesDirty"),(0,n.kt)("p",null,"public override void SetVerticesDirty() "),(0,n.kt)("h3",{id:"uicomponentupdatetheme"},"UIComponent.UpdateTheme"),(0,n.kt)("p",null,"public bool UpdateTheme(ThemeType theme)",(0,n.kt)("br",{parentName:"p"}),"\n","\u5207\u6362\u5185\u7f6e\u4e3b\u9898\u3002"),(0,n.kt)("h2",{id:"uicomponenttheme-1"},"UIComponentTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"uicomponentthemeshow"},"UIComponentTheme.show"),(0,n.kt)("p",null,"public bool show "),(0,n.kt)("h3",{id:"uicomponentthemegetbackgroundcolor"},"UIComponentTheme.GetBackgroundColor"),(0,n.kt)("p",null,"public Color32 GetBackgroundColor(Background background) "),(0,n.kt)("h2",{id:"uihelper"},"UIHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"UI\u5e2e\u52a9\u7c7b\u3002"),(0,n.kt)("h2",{id:"viewcontrol"},"ViewControl"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"3D\u89c6\u89d2\u63a7\u5236\u7ec4\u4ef6\u3002"),(0,n.kt)("h2",{id:"visualmap"},"VisualMap"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u89c6\u89c9\u6620\u5c04\u7ec4\u4ef6\u3002\u7528\u4e8e\u8fdb\u884c\u300e\u89c6\u89c9\u7f16\u7801\u300f\uff0c\u4e5f\u5c31\u662f\u5c06\u6570\u636e\u6620\u5c04\u5230\u89c6\u89c9\u5143\u7d20\uff08\u89c6\u89c9\u901a\u9053\uff09\u3002"),(0,n.kt)("h3",{id:"visualmaprange"},"VisualMap.range"),(0,n.kt)("p",null,"public double[] range",(0,n.kt)("br",{parentName:"p"}),"\n","\u6307\u5b9a\u624b\u67c4\u5bf9\u5e94\u6570\u503c\u7684\u4f4d\u7f6e\u3002range \u5e94\u5728","[min,max]","\u8303\u56f4\u5185\u3002"),(0,n.kt)("h3",{id:"visualmapruntimerangemaxheight"},"VisualMap.runtimeRangeMaxHeight"),(0,n.kt)("p",null,"public float runtimeRangeMaxHeight "),(0,n.kt)("h3",{id:"visualmapruntimerangeminheight"},"VisualMap.runtimeRangeMinHeight"),(0,n.kt)("p",null,"public float runtimeRangeMinHeight "),(0,n.kt)("h3",{id:"visualmaptext"},"VisualMap.text"),(0,n.kt)("p",null,"public string[] text",(0,n.kt)("br",{parentName:"p"}),"\n","\u4e24\u7aef\u7684\u6587\u672c\uff0c\u5982 ","['High', 'Low']","\u3002"),(0,n.kt)("h3",{id:"visualmaptextgap"},"VisualMap.textGap"),(0,n.kt)("p",null,"public float[] textGap",(0,n.kt)("br",{parentName:"p"}),"\n","\u4e24\u7aef\u6587\u5b57\u4e3b\u4f53\u4e4b\u95f4\u7684\u8ddd\u79bb\uff0c\u5355\u4f4d\u4e3apx\u3002"),(0,n.kt)("h3",{id:"visualmapvertsdirty"},"VisualMap.vertsDirty"),(0,n.kt)("p",null,"public override bool vertsDirty "),(0,n.kt)("h3",{id:"visualmapaddcolors"},"VisualMap.AddColors"),(0,n.kt)("p",null,"public void AddColors(List","<","string",">"," colors) "),(0,n.kt)("h3",{id:"visualmapclearcomponentdirty"},"VisualMap.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h3",{id:"visualmapclearverticesdirty"},"VisualMap.ClearVerticesDirty"),(0,n.kt)("p",null,"public override void ClearVerticesDirty() "),(0,n.kt)("h3",{id:"visualmapgetcolor"},"VisualMap.GetColor"),(0,n.kt)("p",null,"public Color32 GetColor(double value) "),(0,n.kt)("h3",{id:"visualmapgetindex"},"VisualMap.GetIndex"),(0,n.kt)("p",null,"public int GetIndex(double value) "),(0,n.kt)("h3",{id:"visualmapgetvalue"},"VisualMap.GetValue"),(0,n.kt)("p",null,"public double GetValue(Vector3 pos, Rect chartRect) "),(0,n.kt)("h3",{id:"visualmapisinrangemaxrect"},"VisualMap.IsInRangeMaxRect"),(0,n.kt)("p",null,"public bool IsInRangeMaxRect(Vector3 local, Rect chartRect, float triangleLen) "),(0,n.kt)("h3",{id:"visualmapisinrangeminrect"},"VisualMap.IsInRangeMinRect"),(0,n.kt)("p",null,"public bool IsInRangeMinRect(Vector3 local, Rect chartRect, float triangleLen) "),(0,n.kt)("h3",{id:"visualmapisinrangerect"},"VisualMap.IsInRangeRect"),(0,n.kt)("p",null,"public bool IsInRangeRect(Vector3 local, Rect chartRect) "),(0,n.kt)("h3",{id:"visualmapisinrect"},"VisualMap.IsInRect"),(0,n.kt)("p",null,"public bool IsInRect(Vector3 local, Rect chartRect, float triangleLen = 20) "),(0,n.kt)("h3",{id:"visualmapisinselectedvalue"},"VisualMap.IsInSelectedValue"),(0,n.kt)("p",null,"public bool IsInSelectedValue(double value) "),(0,n.kt)("h3",{id:"visualmapispiecewise"},"VisualMap.IsPiecewise"),(0,n.kt)("p",null,"public bool IsPiecewise() "),(0,n.kt)("h2",{id:"visualmapselectedmode"},"VisualMap.SelectedMode"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u9009\u62e9\u6a21\u5f0f"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Multiple"),": \u591a\u9009\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Single"),": \u5355\u9009\u3002")),(0,n.kt)("h2",{id:"visualmaptype"},"VisualMap.Type"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u7c7b\u578b\u3002\u5206\u4e3a\u8fde\u7eed\u578b\u548c\u5206\u6bb5\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Continuous"),": \u8fde\u7eed\u578b\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Piecewise"),": \u5206\u6bb5\u578b\u3002")),(0,n.kt)("h2",{id:"visualmapcontext"},"VisualMapContext"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponentcontext"},"MainComponentContext")),(0,n.kt)("h3",{id:"visualmapcontextmax"},"VisualMapContext.max"),(0,n.kt)("p",null,"public double max "),(0,n.kt)("h3",{id:"visualmapcontextmaxdrag"},"VisualMapContext.maxDrag"),(0,n.kt)("p",null,"public bool maxDrag "),(0,n.kt)("h3",{id:"visualmapcontextmin"},"VisualMapContext.min"),(0,n.kt)("p",null,"public double min "),(0,n.kt)("h3",{id:"visualmapcontextmindrag"},"VisualMapContext.minDrag"),(0,n.kt)("p",null,"public bool minDrag "),(0,n.kt)("h3",{id:"visualmapcontextpointerindex"},"VisualMapContext.pointerIndex"),(0,n.kt)("p",null,"public int pointerIndex",(0,n.kt)("br",{parentName:"p"}),"\n","\u9f20\u6807\u60ac\u505c\u9009\u4e2d\u7684index"),(0,n.kt)("h3",{id:"visualmapcontextpointervalue"},"VisualMapContext.pointerValue"),(0,n.kt)("p",null,"public double pointerValue "),(0,n.kt)("h2",{id:"visualmaphelper"},"VisualMapHelper"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"visualmaphelperautosetlineminmax"},"VisualMapHelper.AutoSetLineMinMax"),(0,n.kt)("p",null,"public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis) "),(0,n.kt)("h3",{id:"visualmaphelpergetdimension"},"VisualMapHelper.GetDimension"),(0,n.kt)("p",null,"public static int GetDimension(VisualMap visualMap, int defaultDimension) "),(0,n.kt)("h3",{id:"visualmaphelperisneedareagradient"},"VisualMapHelper.IsNeedAreaGradient"),(0,n.kt)("p",null,"public static bool IsNeedAreaGradient(VisualMap visualMap) "),(0,n.kt)("h3",{id:"visualmaphelperisneedgradient"},"VisualMapHelper.IsNeedGradient"),(0,n.kt)("p",null,"public static bool IsNeedGradient(VisualMap visualMap) "),(0,n.kt)("h3",{id:"visualmaphelperisneedlinegradient"},"VisualMapHelper.IsNeedLineGradient"),(0,n.kt)("p",null,"public static bool IsNeedLineGradient(VisualMap visualMap) "),(0,n.kt)("h3",{id:"visualmaphelpersetminmax"},"VisualMapHelper.SetMinMax"),(0,n.kt)("p",null,"public static void SetMinMax(VisualMap visualMap, double min, double max) "),(0,n.kt)("h2",{id:"visualmaprange-1"},"VisualMapRange"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"visualmaprangecolor"},"VisualMapRange.color"),(0,n.kt)("p",null,"public Color32 color",(0,n.kt)("br",{parentName:"p"}),"\n","\u989c\u8272"),(0,n.kt)("h3",{id:"visualmaprangelabel"},"VisualMapRange.label"),(0,n.kt)("p",null,"public string label",(0,n.kt)("br",{parentName:"p"}),"\n","\u6587\u5b57\u63cf\u8ff0"),(0,n.kt)("h3",{id:"visualmaprangemax"},"VisualMapRange.max"),(0,n.kt)("p",null,"public double max",(0,n.kt)("br",{parentName:"p"}),"\n","\u8303\u56f4\u6700\u5927\u503c"),(0,n.kt)("h3",{id:"visualmaprangemin"},"VisualMapRange.min"),(0,n.kt)("p",null,"public double min",(0,n.kt)("br",{parentName:"p"}),"\n","\u8303\u56f4\u6700\u5c0f\u503c"),(0,n.kt)("h3",{id:"visualmaprangecontains"},"VisualMapRange.Contains"),(0,n.kt)("p",null,"public bool Contains(double value, double minMaxRange) "),(0,n.kt)("h2",{id:"visualmaptheme"},"VisualMapTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"visualmapthemecopy"},"VisualMapTheme.Copy"),(0,n.kt)("p",null,"public void Copy(VisualMapTheme theme) "),(0,n.kt)("h3",{id:"visualmapthemevisualmaptheme"},"VisualMapTheme.VisualMapTheme"),(0,n.kt)("p",null,"public VisualMapTheme(ThemeType theme) : base(theme) "),(0,n.kt)("h2",{id:"wrappert"},"Wrapper","<","T",">"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"xaxis"},"XAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 x \u8f74\u3002"),(0,n.kt)("h3",{id:"xaxissetdefaultvalue"},"XAxis.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue()",(0,n.kt)("br",{parentName:"p"}),"\n","\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 x \u8f74\u3002"),(0,n.kt)("h2",{id:"xaxis3d"},"XAxis3D"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 x \u8f74\u3002"),(0,n.kt)("h3",{id:"xaxis3dsetdefaultvalue"},"XAxis3D.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue()",(0,n.kt)("br",{parentName:"p"}),"\n","\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 x \u8f74\u3002"),(0,n.kt)("h2",{id:"xchartsmgr"},"XChartsMgr"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"xchartsmgrfullversion"},"XChartsMgr.fullVersion"),(0,n.kt)("p",null,"public static string fullVersion "),(0,n.kt)("h3",{id:"xchartsmgraddchart"},"XChartsMgr.AddChart"),(0,n.kt)("p",null,"public static void AddChart(BaseChart chart) "),(0,n.kt)("h3",{id:"xchartsmgrcontainschart"},"XChartsMgr.ContainsChart"),(0,n.kt)("p",null,"public static bool ContainsChart(BaseChart chart) "),(0,n.kt)("h3",{id:"xchartsmgrgetchart"},"XChartsMgr.GetChart"),(0,n.kt)("p",null,"public static BaseChart GetChart(string chartName) "),(0,n.kt)("h3",{id:"xchartsmgrgetcharts"},"XChartsMgr.GetCharts"),(0,n.kt)("p",null,"public static List","<","BaseChart",">"," GetCharts(string chartName) "),(0,n.kt)("h3",{id:"xchartsmgrgetpackagefullpath"},"XChartsMgr.GetPackageFullPath"),(0,n.kt)("p",null,"public static string GetPackageFullPath() "),(0,n.kt)("h3",{id:"xchartsmgrgetrepeatchartnameinfo"},"XChartsMgr.GetRepeatChartNameInfo"),(0,n.kt)("p",null,"public static string GetRepeatChartNameInfo(BaseChart chart, string chartName) "),(0,n.kt)("h3",{id:"xchartsmgrisrepeatchartname"},"XChartsMgr.IsRepeatChartName"),(0,n.kt)("p",null,"public static bool IsRepeatChartName(BaseChart chart, string chartName = null) "),(0,n.kt)("h3",{id:"xchartsmgrremoveallchartobject"},"XChartsMgr.RemoveAllChartObject"),(0,n.kt)("p",null,"public static void RemoveAllChartObject() "),(0,n.kt)("h3",{id:"xchartsmgrremovechart"},"XChartsMgr.RemoveChart"),(0,n.kt)("p",null,"public static void RemoveChart(string chartName) "),(0,n.kt)("h2",{id:"xcresourceimporterwindow"},"XCResourceImporterWindow"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=unityeditoreditorwindow"},"UnityEditor.EditorWindow")),(0,n.kt)("h3",{id:"xcresourceimporterwindowshowpackageimporterwindow"},"XCResourceImporterWindow.ShowPackageImporterWindow"),(0,n.kt)("p",null,"public static void ShowPackageImporterWindow() "),(0,n.kt)("h2",{id:"xcresourcesimporter"},"XCResourcesImporter"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"xcresourcesimporterondestroy"},"XCResourcesImporter.OnDestroy()"),(0,n.kt)("p",null,"public void OnDestroy() "),(0,n.kt)("h3",{id:"xcresourcesimporterxcresourcesimporter"},"XCResourcesImporter.XCResourcesImporter()"),(0,n.kt)("p",null,"public XCResourcesImporter() "),(0,n.kt)("h3",{id:"xcresourcesimporterondestroy-1"},"XCResourcesImporter.OnDestroy"),(0,n.kt)("p",null,"public void OnDestroy() { } "),(0,n.kt)("h3",{id:"xcresourcesimporterongui"},"XCResourcesImporter.OnGUI"),(0,n.kt)("p",null,"public void OnGUI() "),(0,n.kt)("h3",{id:"xcresourcesimporterxcresourcesimporter-1"},"XCResourcesImporter.XCResourcesImporter"),(0,n.kt)("p",null,"public XCResourcesImporter() { } "),(0,n.kt)("h2",{id:"xcsettings"},"XCSettings"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=scriptableobject"},"ScriptableObject")),(0,n.kt)("h3",{id:"xcsettingsaxislinetype"},"XCSettings.axisLineType"),(0,n.kt)("p",null,"public static LineStyle.Type axisLineType "),(0,n.kt)("h3",{id:"xcsettingsaxislinewidth"},"XCSettings.axisLineWidth"),(0,n.kt)("p",null,"public static float axisLineWidth "),(0,n.kt)("h3",{id:"xcsettingsaxissplitlinetype"},"XCSettings.axisSplitLineType"),(0,n.kt)("p",null,"public static LineStyle.Type axisSplitLineType "),(0,n.kt)("h3",{id:"xcsettingsaxissplitlinewidth"},"XCSettings.axisSplitLineWidth"),(0,n.kt)("p",null,"public static float axisSplitLineWidth "),(0,n.kt)("h3",{id:"xcsettingsaxisticklength"},"XCSettings.axisTickLength"),(0,n.kt)("p",null,"public static float axisTickLength "),(0,n.kt)("h3",{id:"xcsettingsaxistickwidth"},"XCSettings.axisTickWidth"),(0,n.kt)("p",null,"public static float axisTickWidth "),(0,n.kt)("h3",{id:"xcsettingsciclesmoothness"},"XCSettings.cicleSmoothness"),(0,n.kt)("p",null,"public static float cicleSmoothness "),(0,n.kt)("h3",{id:"xcsettingscustomthemes"},"XCSettings.customThemes"),(0,n.kt)("p",null,"public static List","<","Theme",">"," customThemes "),(0,n.kt)("h3",{id:"xcsettingsdatazoomborderwidth"},"XCSettings.dataZoomBorderWidth"),(0,n.kt)("p",null,"public static float dataZoomBorderWidth "),(0,n.kt)("h3",{id:"xcsettingsdatazoomdatalinewidth"},"XCSettings.dataZoomDataLineWidth"),(0,n.kt)("p",null,"public static float dataZoomDataLineWidth "),(0,n.kt)("h3",{id:"xcsettingseditorshowalllistdata"},"XCSettings.editorShowAllListData"),(0,n.kt)("p",null,"public static bool editorShowAllListData "),(0,n.kt)("h3",{id:"xcsettingsfont"},"XCSettings.font"),(0,n.kt)("p",null,"public static Font font "),(0,n.kt)("h3",{id:"xcsettingsfontsizelv1"},"XCSettings.fontSizeLv1"),(0,n.kt)("p",null,"public static int fontSizeLv1",(0,n.kt)("br",{parentName:"p"}),"\n","\u4e00\u7ea7\u5b57\u4f53\u5927\u5c0f\u3002"),(0,n.kt)("h3",{id:"xcsettingsfontsizelv2"},"XCSettings.fontSizeLv2"),(0,n.kt)("p",null,"public static int fontSizeLv2 "),(0,n.kt)("h3",{id:"xcsettingsfontsizelv3"},"XCSettings.fontSizeLv3"),(0,n.kt)("p",null,"public static int fontSizeLv3 "),(0,n.kt)("h3",{id:"xcsettingsfontsizelv4"},"XCSettings.fontSizeLv4"),(0,n.kt)("p",null,"public static int fontSizeLv4 "),(0,n.kt)("h3",{id:"xcsettingsgaugeaxislinewidth"},"XCSettings.gaugeAxisLineWidth"),(0,n.kt)("p",null,"public static float gaugeAxisLineWidth "),(0,n.kt)("h3",{id:"xcsettingsgaugeaxissplitlinelength"},"XCSettings.gaugeAxisSplitLineLength"),(0,n.kt)("p",null,"public static float gaugeAxisSplitLineLength "),(0,n.kt)("h3",{id:"xcsettingsgaugeaxissplitlinewidth"},"XCSettings.gaugeAxisSplitLineWidth"),(0,n.kt)("p",null,"public static float gaugeAxisSplitLineWidth "),(0,n.kt)("h3",{id:"xcsettingsgaugeaxisticklength"},"XCSettings.gaugeAxisTickLength"),(0,n.kt)("p",null,"public static float gaugeAxisTickLength "),(0,n.kt)("h3",{id:"xcsettingsgaugeaxistickwidth"},"XCSettings.gaugeAxisTickWidth"),(0,n.kt)("p",null,"public static float gaugeAxisTickWidth "),(0,n.kt)("h3",{id:"xcsettingslang"},"XCSettings.lang"),(0,n.kt)("p",null,"public static Lang lang "),(0,n.kt)("h3",{id:"xcsettingslinesegmentdistance"},"XCSettings.lineSegmentDistance"),(0,n.kt)("p",null,"public static float lineSegmentDistance "),(0,n.kt)("h3",{id:"xcsettingslinesmoothness"},"XCSettings.lineSmoothness"),(0,n.kt)("p",null,"public static float lineSmoothness "),(0,n.kt)("h3",{id:"xcsettingslinesmoothstyle"},"XCSettings.lineSmoothStyle"),(0,n.kt)("p",null,"public static float lineSmoothStyle "),(0,n.kt)("h3",{id:"xcsettingsmaxpainter"},"XCSettings.maxPainter"),(0,n.kt)("p",null,"public static int maxPainter "),(0,n.kt)("h3",{id:"xcsettingsseriecandlestickborderwidth"},"XCSettings.serieCandlestickBorderWidth"),(0,n.kt)("p",null,"public static float serieCandlestickBorderWidth "),(0,n.kt)("h3",{id:"xcsettingsserielinesymbolsize"},"XCSettings.serieLineSymbolSize"),(0,n.kt)("p",null,"public static float serieLineSymbolSize "),(0,n.kt)("h3",{id:"xcsettingsserielinewidth"},"XCSettings.serieLineWidth"),(0,n.kt)("p",null,"public static float serieLineWidth "),(0,n.kt)("h3",{id:"xcsettingsseriescattersymbolsize"},"XCSettings.serieScatterSymbolSize"),(0,n.kt)("p",null,"public static float serieScatterSymbolSize "),(0,n.kt)("h3",{id:"xcsettingsserieselectedrate"},"XCSettings.serieSelectedRate"),(0,n.kt)("p",null,"public static float serieSelectedRate "),(0,n.kt)("h3",{id:"xcsettingstmpfont"},"XCSettings.tmpFont"),(0,n.kt)("p",null,"public static TMP_FontAsset tmpFont "),(0,n.kt)("h3",{id:"xcsettingstootiplinewidth"},"XCSettings.tootipLineWidth"),(0,n.kt)("p",null,"public static float tootipLineWidth "),(0,n.kt)("h3",{id:"xcsettingsvisualmapborderwidth"},"XCSettings.visualMapBorderWidth"),(0,n.kt)("p",null,"public static float visualMapBorderWidth "),(0,n.kt)("h3",{id:"xcsettingsvisualmaptriangelen"},"XCSettings.visualMapTriangeLen"),(0,n.kt)("p",null,"public static float visualMapTriangeLen "),(0,n.kt)("h3",{id:"xcsettingsaddcustomtheme"},"XCSettings.AddCustomTheme"),(0,n.kt)("p",null,"public static bool AddCustomTheme(Theme theme) "),(0,n.kt)("h3",{id:"xcsettingsexistassetfile"},"XCSettings.ExistAssetFile"),(0,n.kt)("p",null,"public static bool ExistAssetFile() "),(0,n.kt)("h3",{id:"xcsettingsgetsettingassetpath"},"XCSettings.GetSettingAssetPath"),(0,n.kt)("p",null,"public static string GetSettingAssetPath() "),(0,n.kt)("h2",{id:"xcthememgr"},"XCThemeMgr"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"xcthememgraddtheme"},"XCThemeMgr.AddTheme"),(0,n.kt)("p",null,"public static void AddTheme(Theme theme) "),(0,n.kt)("h3",{id:"xcthememgrcheckreloadtheme"},"XCThemeMgr.CheckReloadTheme"),(0,n.kt)("p",null,"public static void CheckReloadTheme() "),(0,n.kt)("h3",{id:"xcthememgrcontainstheme"},"XCThemeMgr.ContainsTheme"),(0,n.kt)("p",null,"public static bool ContainsTheme(string themeName) "),(0,n.kt)("h3",{id:"xcthememgrexporttheme"},"XCThemeMgr.ExportTheme"),(0,n.kt)("p",null,"public static bool ExportTheme(Theme theme) "),(0,n.kt)("h3",{id:"xcthememgrgetallthemenames"},"XCThemeMgr.GetAllThemeNames"),(0,n.kt)("p",null,"public static List","<","string",">"," GetAllThemeNames() "),(0,n.kt)("h3",{id:"xcthememgrgettheme"},"XCThemeMgr.GetTheme"),(0,n.kt)("p",null,"public static Theme GetTheme(string themeName) "),(0,n.kt)("h3",{id:"xcthememgrgetthemeassetpath"},"XCThemeMgr.GetThemeAssetPath"),(0,n.kt)("p",null,"public static string GetThemeAssetPath(string themeName) "),(0,n.kt)("h3",{id:"xcthememgrgetthemelist"},"XCThemeMgr.GetThemeList"),(0,n.kt)("p",null,"public static List","<","Theme",">"," GetThemeList() "),(0,n.kt)("h3",{id:"xcthememgrloadtheme"},"XCThemeMgr.LoadTheme"),(0,n.kt)("p",null,"public static Theme LoadTheme(string themeName) "),(0,n.kt)("h3",{id:"xcthememgrreloadthemelist"},"XCThemeMgr.ReloadThemeList"),(0,n.kt)("p",null,"public static void ReloadThemeList()",(0,n.kt)("br",{parentName:"p"}),"\n","\u91cd\u65b0\u52a0\u8f7d\u4e3b\u9898\u5217\u8868"),(0,n.kt)("h3",{id:"xcthememgrswitchtheme"},"XCThemeMgr.SwitchTheme"),(0,n.kt)("p",null,"public static void SwitchTheme(BaseChart chart, string themeName) "),(0,n.kt)("h2",{id:"xlog"},"XLog"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#monobehaviour"},"MonoBehaviour")),(0,n.kt)("p",null,"\u65e5\u5fd7\u7cfb\u7edf\u3002\u7528\u4e8e\u8f93\u51fa\u5e26\u65e5\u671f\u548c\u65e5\u5fd7\u7c7b\u578b\u7684\u65e5\u5fd7\uff0c\u652f\u6301\u8f93\u51fa\u5230\u6587\u4ef6\uff0c\u652f\u6301\u81ea\u5b9a\u4e49\u8f93\u51fa\u7684\u65e5\u5fd7\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"xlogcanlog"},"XLog.CanLog"),(0,n.kt)("p",null,"public static bool CanLog(int level) "),(0,n.kt)("h3",{id:"xlogclearalllog"},"XLog.ClearAllLog"),(0,n.kt)("p",null,"public static void ClearAllLog() "),(0,n.kt)("h3",{id:"xlogdebug"},"XLog.Debug"),(0,n.kt)("p",null,"public static void Debug(string log) "),(0,n.kt)("h3",{id:"xlogenablelog"},"XLog.EnableLog"),(0,n.kt)("p",null,"public static void EnableLog(int logType) "),(0,n.kt)("h3",{id:"xlogerror"},"XLog.Error"),(0,n.kt)("p",null,"public static void Error(string log) "),(0,n.kt)("h3",{id:"xlogflushlog"},"XLog.FlushLog"),(0,n.kt)("p",null,"public static void FlushLog() "),(0,n.kt)("h3",{id:"xloggetnowtime"},"XLog.GetNowTime"),(0,n.kt)("p",null,"public static string GetNowTime(string formatter = null) "),(0,n.kt)("h3",{id:"xloggettimestamp"},"XLog.GetTimestamp"),(0,n.kt)("p",null,"public static ulong GetTimestamp() "),(0,n.kt)("h3",{id:"xloginfo"},"XLog.Info"),(0,n.kt)("p",null,"public static void Info(string log) "),(0,n.kt)("h3",{id:"xloglog"},"XLog.Log"),(0,n.kt)("p",null,"public static void Log(string log) "),(0,n.kt)("h3",{id:"xloglogerror"},"XLog.LogError"),(0,n.kt)("p",null,"public static void LogError(string log) "),(0,n.kt)("h3",{id:"xloglogwarning"},"XLog.LogWarning"),(0,n.kt)("p",null,"public static void LogWarning(string log) "),(0,n.kt)("h3",{id:"xlogproto"},"XLog.Proto"),(0,n.kt)("p",null,"public static void Proto(string log) "),(0,n.kt)("h3",{id:"xlogvital"},"XLog.Vital"),(0,n.kt)("p",null,"public static void Vital(string log) "),(0,n.kt)("h3",{id:"xlogwarning"},"XLog.Warning"),(0,n.kt)("p",null,"public static void Warning(string log) "),(0,n.kt)("h2",{id:"yaxis"},"YAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 y \u8f74\u3002"),(0,n.kt)("h3",{id:"yaxissetdefaultvalue"},"YAxis.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue()",(0,n.kt)("br",{parentName:"p"}),"\n","\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 y \u8f74\u3002"),(0,n.kt)("h2",{id:"yaxis3d"},"YAxis3D"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 y \u8f74\u3002"),(0,n.kt)("h3",{id:"yaxis3dsetdefaultvalue"},"YAxis3D.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue()",(0,n.kt)("br",{parentName:"p"}),"\n","\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 y \u8f74\u3002"),(0,n.kt)("h2",{id:"zaxis3d"},"ZAxis3D"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 y \u8f74\u3002"),(0,n.kt)("h3",{id:"zaxis3dsetdefaultvalue"},"ZAxis3D.SetDefaultValue"),(0,n.kt)("p",null,"public override void SetDefaultValue()",(0,n.kt)("br",{parentName:"p"}),"\n","\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 y \u8f74\u3002"))}h.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/en/assets/js/2afe0a8a.2c8e6cae.js b/en/assets/js/2afe0a8a.2c8e6cae.js new file mode 100644 index 00000000..bf3b28aa --- /dev/null +++ b/en/assets/js/2afe0a8a.2c8e6cae.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4871],{3905:function(e,t,l){l.d(t,{Zo:function(){return k},kt:function(){return u}});var i=l(67294);function a(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}function n(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,i)}return l}function r(e){for(var t=1;t=0||(a[l]=e[l]);return a}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(a[l]=e[l])}return a}var p=i.createContext({}),d=function(e){var t=i.useContext(p),l=t;return e&&(l="function"==typeof e?e(t):r(r({},t),e)),l},k=function(e){var t=d(e.components);return i.createElement(p.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},s=i.forwardRef((function(e,t){var l=e.components,a=e.mdxType,n=e.originalType,p=e.parentName,k=o(e,["components","mdxType","originalType","parentName"]),s=d(l),u=a,h=s["".concat(p,".").concat(u)]||s[u]||m[u]||n;return l?i.createElement(h,r(r({ref:t},k),{},{components:l})):i.createElement(h,r({ref:t},k))}));function u(e,t){var l=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var n=l.length,r=new Array(n);r[0]=s;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o.mdxType="string"==typeof e?e:a,r[1]=o;for(var d=2;d")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xcresourcesimporter"},"XCResourcesImporter")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"#xcsettings"},"XCSettings"))),(0,n.kt)("h2",{id:"angleaxis"},"AngleAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("p",null,"\u6781\u5750\u6807\u7cfb\u7684\u89d2\u5ea6\u8f74\u3002"),(0,n.kt)("h3",{id:"angleaxisstartangle"},"AngleAxis.startAngle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u8d77\u59cb\u523b\u5ea6\u7684\u89d2\u5ea6\uff0c\u9ed8\u8ba4\u4e3a 0 \u5ea6\uff0c\u5373\u5706\u5fc3\u7684\u6b63\u53f3\u65b9\u3002"),(0,n.kt)("h2",{id:"angleaxistheme"},"AngleAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h2",{id:"animationaddition"},"AnimationAddition"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6570\u636e\u65b0\u589e\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationchange"},"AnimationChange"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6570\u636e\u53d8\u66f4\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationfadein"},"AnimationFadeIn"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6de1\u5165\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationfadeout"},"AnimationFadeOut"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6de1\u51fa\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationhiding"},"AnimationHiding"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6570\u636e\u9690\u85cf\u52a8\u753b\u3002"),(0,n.kt)("h2",{id:"animationinfo"},"AnimationInfo"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#animationfadein"},"AnimationFadeIn"),", ",(0,n.kt)("a",{parentName:"p",href:"#animationfadeout"},"AnimationFadeOut"),", ",(0,n.kt)("a",{parentName:"p",href:"#animationchange"},"AnimationChange"),", ",(0,n.kt)("a",{parentName:"p",href:"#animationaddition"},"AnimationAddition"),", ",(0,n.kt)("a",{parentName:"p",href:"#animationhiding"},"AnimationHiding"),", ",(0,n.kt)("a",{parentName:"p",href:"#animationinteraction"},"AnimationInteraction")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u52a8\u753b\u914d\u7f6e\u53c2\u6570\u3002"),(0,n.kt)("h3",{id:"animationinfodelay"},"AnimationInfo.delay"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u52a8\u753b\u5f00\u59cb\u524d\u7684\u5ef6\u8fdf\u65f6\u95f4\u3002"),(0,n.kt)("h3",{id:"animationinfoduration"},"AnimationInfo.duration"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1000")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u52a8\u753b\u7684\u65f6\u957f\u3002"),(0,n.kt)("h3",{id:"animationinfoenable"},"AnimationInfo.enable"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u52a8\u753b\u6548\u679c\u3002"),(0,n.kt)("h3",{id:"animationinforeverse"},"AnimationInfo.reverse"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u53cd\u5411\u52a8\u753b\u6548\u679c\u3002"),(0,n.kt)("h2",{id:"animationinteraction"},"AnimationInteraction"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#animationinfo"},"AnimationInfo")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u4ea4\u4e92\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationinteractionoffset"},"AnimationInteraction.offset"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#mlvalue"},"MLValue")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u4ea4\u4e92\u7684\u591a\u6837\u5f0f\u6570\u503c\u3002\u5982\u997c\u56fe\u7684\u6247\u5f62\u9009\u4e2d\u65f6\u7684\u504f\u79fb\u3002"),(0,n.kt)("h3",{id:"animationinteractionradius"},"AnimationInteraction.radius"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#mlvalue"},"MLValue")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u534a\u5f84\u7684\u591a\u6837\u5f0f\u6570\u503c\u3002"),(0,n.kt)("h3",{id:"animationinteractionwidth"},"AnimationInteraction.width"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#mlvalue"},"MLValue")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u5bbd\u5ea6\u7684\u591a\u6837\u5f0f\u6570\u503c\u3002"),(0,n.kt)("h2",{id:"animationstyle"},"AnimationStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u52a8\u753b\u7ec4\u4ef6\uff0c\u7528\u4e8e\u63a7\u5236\u56fe\u8868\u7684\u52a8\u753b\u64ad\u653e\u3002\u652f\u6301\u914d\u7f6e\u4e94\u79cd\u52a8\u753b\u8868\u73b0\uff1aFadeIn\uff08\u6e10\u5165\u52a8\u753b\uff09\uff0cFadeOut\uff08\u6e10\u51fa\u52a8\u753b\uff09\uff0cChange\uff08\u53d8\u66f4\u52a8\u753b\uff09\uff0cAddition\uff08\u65b0\u589e\u52a8\u753b\uff09\uff0cInteraction\uff08\u4ea4\u4e92\u52a8\u753b\uff09\u3002 \u6309\u4f5c\u7528\u7684\u5bf9\u8c61\u53ef\u4ee5\u5206\u4e3a\u4e24\u7c7b\uff1aSerieAnimation\uff08\u7cfb\u5217\u52a8\u753b\uff09\u548cDataAnimation\uff08\u6570\u636e\u52a8\u753b\uff09\u3002"),(0,n.kt)("h3",{id:"animationstyleaddition"},"AnimationStyle.addition"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationaddition"},"AnimationAddition")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u6570\u636e\u65b0\u589e\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstylechange"},"AnimationStyle.change"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationchange"},"AnimationChange")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u6570\u636e\u53d8\u66f4\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstyleeasting"},"AnimationStyle.easting"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationeasing"},"AnimationEasing")),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Linear"),": ")),(0,n.kt)("h3",{id:"animationstyleenable"},"AnimationStyle.enable"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u52a8\u753b\u6548\u679c\u3002"),(0,n.kt)("h3",{id:"animationstylefadein"},"AnimationStyle.fadeIn"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationfadein"},"AnimationFadeIn")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u6e10\u5165\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstylefadeout"},"AnimationStyle.fadeOut"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationfadeout"},"AnimationFadeOut")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u6e10\u51fa\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstylehiding"},"AnimationStyle.hiding"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationhiding"},"AnimationHiding")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u6570\u636e\u9690\u85cf\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstyleinteraction"},"AnimationStyle.interaction"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationinteraction"},"AnimationInteraction")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u4ea4\u4e92\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"animationstylethreshold"},"AnimationStyle.threshold"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2000")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u52a8\u753b\u7684\u9608\u503c\uff0c\u5f53\u5355\u4e2a\u7cfb\u5217\u663e\u793a\u7684\u56fe\u5f62\u6570\u91cf\u5927\u4e8e\u8fd9\u4e2a\u9608\u503c\u65f6\u4f1a\u5173\u95ed\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"animationstyletype"},"AnimationStyle.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationtype"},"AnimationType")),(0,n.kt)("p",null,"\u52a8\u753b\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Default"),": \u9ed8\u8ba4\u3002\u5185\u90e8\u4f1a\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u9009\u62e9\u4e00\u79cd\u52a8\u753b\u64ad\u653e\u65b9\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"LeftToRight"),": \u4ece\u5de6\u5f80\u53f3\u64ad\u653e\u52a8\u753b\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BottomToTop"),": \u4ece\u4e0b\u5f80\u4e0a\u64ad\u653e\u52a8\u753b\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"InsideOut"),": \u7531\u5185\u5230\u5916\u64ad\u653e\u52a8\u753b\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"AlongPath"),": \u6cbf\u7740\u8def\u5f84\u64ad\u653e\u52a8\u753b\u3002\u5f53\u6298\u7ebf\u56fe\u4ece\u5de6\u5230\u53f3\u65e0\u5e8f\u6216\u6709\u6298\u8fd4\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u8be5\u6a21\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Clockwise"),": \u987a\u65f6\u9488\u64ad\u653e\u52a8\u753b\u3002")),(0,n.kt)("h3",{id:"animationstyleunscaledtime"},"AnimationStyle.unscaledTime"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.4.0")),(0,n.kt)("p",null,"\u52a8\u753b\u662f\u5426\u53d7TimeScaled\u7684\u5f71\u54cd\u3002\u9ed8\u8ba4\u4e3a false \u53d7TimeScaled\u7684\u5f71\u54cd\u3002"),(0,n.kt)("h2",{id:"areastyle"},"AreaStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u533a\u57df\u586b\u5145\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"areastylecolor"},"AreaStyle.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u533a\u57df\u586b\u5145\u7684\u989c\u8272\uff0c\u5982\u679ctoColor\u4e0d\u662f\u9ed8\u8ba4\u503c\uff0c\u5219\u8868\u793a\u6e10\u53d8\u8272\u7684\u8d77\u70b9\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"areastyleinnerfill"},"AreaStyle.innerFill"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")),(0,n.kt)("p",null,"\u662f\u5426\u53ea\u586b\u5145\u591a\u8fb9\u5f62\u533a\u57df\u3002\u76ee\u524d\u53ea\u652f\u6301\u51f8\u591a\u8fb9\u5f62\u3002"),(0,n.kt)("h3",{id:"areastyleopacity"},"AreaStyle.opacity"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.6f")),(0,n.kt)("p",null,"\u56fe\u5f62\u900f\u660e\u5ea6\u3002\u652f\u6301\u4ece 0 \u5230 1 \u7684\u6570\u5b57\uff0c\u4e3a 0 \u65f6\u4e0d\u7ed8\u5236\u8be5\u56fe\u5f62\u3002"),(0,n.kt)("h3",{id:"areastyleorigin"},"AreaStyle.origin"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#areastyleareaorigin"},"AreaStyle.AreaOrigin")),(0,n.kt)("p",null,"\u533a\u57df\u586b\u5145\u7684\u8d77\u59cb\u4f4d\u7f6e\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u586b\u5145\u5750\u6807\u8f74\u8f74\u7ebf\u5230\u6570\u636e\u95f4\u7684\u533a\u57df\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Start"),": \u586b\u5145\u5750\u6807\u8f74\u5e95\u90e8\u5230\u6570\u636e\u95f4\u7684\u533a\u57df\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"End"),": \u586b\u5145\u5750\u6807\u8f74\u9876\u90e8\u5230\u6570\u636e\u95f4\u7684\u533a\u57df\u3002")),(0,n.kt)("h3",{id:"areastyleshow"},"AreaStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u533a\u57df\u586b\u5145\u3002"),(0,n.kt)("h3",{id:"areastyletocolor"},"AreaStyle.toColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6e10\u53d8\u8272\u7684\u7ec8\u70b9\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"areastyletotop"},"AreaStyle.toTop"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("p",null,"\u6e10\u53d8\u8272\u662f\u5230\u9876\u90e8\u8fd8\u662f\u5230\u5b9e\u9645\u4f4d\u7f6e\u3002\u9ed8\u8ba4\u4e3atrue\u5230\u9876\u90e8\u3002"),(0,n.kt)("h2",{id:"arrowstyle"},"ArrowStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"arrowstylecolor"},"ArrowStyle.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Color.clear")),(0,n.kt)("p",null,"\u7bad\u5934\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"arrowstyledent"},"ArrowStyle.dent"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"3")),(0,n.kt)("p",null,"\u7bad\u5934\u7684\u51f9\u5ea6\u3002"),(0,n.kt)("h3",{id:"arrowstyleheight"},"ArrowStyle.height"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"15")),(0,n.kt)("p",null,"\u7bad\u5934\u9ad8\u3002"),(0,n.kt)("h3",{id:"arrowstyleoffset"},"ArrowStyle.offset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u7bad\u5934\u504f\u79fb\u3002"),(0,n.kt)("h3",{id:"arrowstylewidth"},"ArrowStyle.width"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"10")),(0,n.kt)("p",null,"\u7bad\u5934\u5bbd\u3002"),(0,n.kt)("h2",{id:"axis"},"Axis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#angleaxis"},"AngleAxis"),", ",(0,n.kt)("a",{parentName:"p",href:"#parallelaxis"},"ParallelAxis"),", ",(0,n.kt)("a",{parentName:"p",href:"#radiusaxis"},"RadiusAxis"),", ",(0,n.kt)("a",{parentName:"p",href:"#singleaxis"},"SingleAxis"),", ",(0,n.kt)("a",{parentName:"p",href:"#xaxis"},"XAxis"),", ",(0,n.kt)("a",{parentName:"p",href:"#xaxis3d"},"XAxis3D"),", ",(0,n.kt)("a",{parentName:"p",href:"#yaxis"},"YAxis"),", ",(0,n.kt)("a",{parentName:"p",href:"#yaxis3d"},"YAxis3D"),", ",(0,n.kt)("a",{parentName:"p",href:"#zaxis3d"},"ZAxis3D")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb\u7684\u5750\u6807\u8f74\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"axisanimation"},"Axis.animation"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisanimation"},"AxisAnimation")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"axisaxislabel"},"Axis.axisLabel"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axislabel"},"AxisLabel")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u523b\u5ea6\u6807\u7b7e\u3002"),(0,n.kt)("h3",{id:"axisaxisline"},"Axis.axisLine"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisline"},"AxisLine")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u8f74\u7ebf\u3002"),(0,n.kt)("h3",{id:"axisaxisname"},"Axis.axisName"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisname"},"AxisName")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"axisaxistick"},"Axis.axisTick"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axistick"},"AxisTick")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u523b\u5ea6\u3002"),(0,n.kt)("h3",{id:"axisboundarygap"},"Axis.boundaryGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u4e24\u8fb9\u662f\u5426\u7559\u767d\u3002\u53ea\u5bf9\u7c7b\u76ee\u8f74\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"axisceilrate"},"Axis.ceilRate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6700\u5927\u6700\u5c0f\u503c\u5411\u4e0a\u53d6\u6574\u7684\u500d\u7387\u3002\u9ed8\u8ba4\u4e3a0\u65f6\u81ea\u52a8\u8ba1\u7b97\u3002"),(0,n.kt)("h3",{id:"axisclockwise"},"Axis.clockwise"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u523b\u5ea6\u589e\u957f\u662f\u5426\u6309\u987a\u65f6\u9488\uff0c\u9ed8\u8ba4\u987a\u65f6\u9488\u3002"),(0,n.kt)("h3",{id:"axisdata"},"Axis.data"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u7c7b\u76ee\u6570\u636e\uff0c\u5728\u7c7b\u76ee\u8f74\uff08type: 'category'\uff09\u4e2d\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"axisgridindex"},"Axis.gridIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u6240\u5728\u7684 grid \u7684\u7d22\u5f15\uff0c\u9ed8\u8ba4\u4f4d\u4e8e\u7b2c\u4e00\u4e2a grid\u3002"),(0,n.kt)("h3",{id:"axisicons"},"Axis.icons"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u7c7b\u76ee\u6570\u636e\u5bf9\u5e94\u7684\u56fe\u6807\u3002"),(0,n.kt)("h3",{id:"axisindicatorlabel"},"Axis.indicatorLabel"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.4.0")),(0,n.kt)("p",null,"\u6307\u793a\u5668\u6587\u672c\u7684\u6837\u5f0f\u3002Tooltip\u4e3aCross\u65f6\u4f7f\u7528\u3002"),(0,n.kt)("h3",{id:"axisinsertdatatohead"},"Axis.insertDataToHead"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u6dfb\u52a0\u65b0\u6570\u636e\u65f6\u662f\u5728\u5217\u8868\u7684\u5934\u90e8\u8fd8\u662f\u5c3e\u90e8\u52a0\u5165\u3002"),(0,n.kt)("h3",{id:"axisinterval"},"Axis.interval"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u5f3a\u5236\u8bbe\u7f6e\u5750\u6807\u8f74\u5206\u5272\u95f4\u9694\u3002\u65e0\u6cd5\u5728\u7c7b\u76ee\u8f74\u4e2d\u4f7f\u7528\u3002"),(0,n.kt)("h3",{id:"axisinverse"},"Axis.inverse"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u53cd\u5411\u5750\u6807\u8f74\u3002\u5728\u7c7b\u76ee\u8f74\u4e2d\u65e0\u6548\u3002"),(0,n.kt)("h3",{id:"axislogbase"},"Axis.logBase"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"10")),(0,n.kt)("p",null,"\u5bf9\u6570\u8f74\u7684\u5e95\u6570\uff0c\u53ea\u5728\u5bf9\u6570\u8f74\uff08type:'Log'\uff09\u4e2d\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"axislogbasee"},"Axis.logBaseE"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u5bf9\u6570\u8f74\u662f\u5426\u4ee5\u81ea\u7136\u6570 e \u4e3a\u5e95\u6570\uff0c\u4e3a true \u65f6 logBase \u5931\u6548\u3002"),(0,n.kt)("h3",{id:"axismax"},"Axis.max"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"\u8bbe\u5b9a\u7684\u5750\u6807\u8f74\u523b\u5ea6\u6700\u5927\u503c\uff0c\u5f53minMaxType\u4e3aCustom\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"axismaxcache"},"Axis.maxCache"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"The first data will be remove when the size of axis data is larger then maxCache."),(0,n.kt)("h3",{id:"axismin"},"Axis.min"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"\u8bbe\u5b9a\u7684\u5750\u6807\u8f74\u523b\u5ea6\u6700\u5c0f\u503c\uff0c\u5f53minMaxType\u4e3aCustom\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"axismincategoryspacing"},"Axis.minCategorySpacing"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")),(0,n.kt)("p",null,"\u7c7b\u76ee\u4e4b\u95f4\u7684\u6700\u5c0f\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"axisminmaxtype"},"Axis.minMaxType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisaxisminmaxtype"},"Axis.AxisMinMaxType")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u523b\u5ea6\u6700\u5927\u6700\u5c0f\u503c\u663e\u793a\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Default"),": 0-\u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"MinMax"),": \u6700\u5c0f\u503c-\u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u6700\u5c0f\u503c\u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"MinMaxAuto"),": ",'[since("v3.7.0")]',"\u6700\u5c0f\u503c-\u6700\u5927\u503c\u3002\u81ea\u52a8\u8ba1\u7b97\u5408\u9002\u7684\u503c\u3002")),(0,n.kt)("h3",{id:"axisminorsplitline"},"Axis.minorSplitLine"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisminorsplitline"},"AxisMinorSplitLine")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u6b21\u5206\u5272\u7ebf\u3002"),(0,n.kt)("h3",{id:"axisminortick"},"Axis.minorTick"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisminortick"},"AxisMinorTick")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u6b21\u523b\u5ea6\u3002"),(0,n.kt)("h3",{id:"axisoffset"},"Axis.offset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u76f8\u5bf9\u9ed8\u8ba4\u4f4d\u7f6e\u7684\u504f\u79fb\u3002\u5728\u76f8\u540cposition\u6709\u591a\u4e2a\u5750\u6807\u8f74\u65f6\u6709\u7528\u3002"),(0,n.kt)("h3",{id:"axisparallelindex"},"Axis.parallelIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u6240\u5728\u7684 parallel \u7684\u7d22\u5f15\uff0c\u9ed8\u8ba4\u4f4d\u4e8e\u7b2c\u4e00\u4e2a parallel\u3002"),(0,n.kt)("h3",{id:"axispolarindex"},"Axis.polarIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u6240\u5728\u7684 ploar \u7684\u7d22\u5f15\uff0c\u9ed8\u8ba4\u4f4d\u4e8e\u7b2c\u4e00\u4e2a polar\u3002"),(0,n.kt)("h3",{id:"axisposition"},"Axis.position"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisaxisposition"},"Axis.AxisPosition")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Left"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Right"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Bottom"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Top"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Center"),": \u5750\u6807\u8f74\u5728Grid\u4e2d\u7684\u4f4d\u7f6e")),(0,n.kt)("h3",{id:"axisshow"},"Axis.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u5750\u6807\u8f74\u3002"),(0,n.kt)("h3",{id:"axissplitarea"},"Axis.splitArea"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axissplitarea"},"AxisSplitArea")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5206\u5272\u533a\u57df\u3002"),(0,n.kt)("h3",{id:"axissplitline"},"Axis.splitLine"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axissplitline"},"AxisSplitLine")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5206\u5272\u7ebf\u3002"),(0,n.kt)("h3",{id:"axissplitnumber"},"Axis.splitNumber"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u7684\u671f\u671b\u7684\u5206\u5272\u6bb5\u6570\u3002\u9ed8\u8ba4\u4e3a0\u8868\u793a\u81ea\u52a8\u5206\u5272\u3002"),(0,n.kt)("h3",{id:"axistype"},"Axis.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisaxistype"},"Axis.AxisType")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Value"),": \u6570\u503c\u8f74\u3002\u9002\u7528\u4e8e\u8fde\u7eed\u6570\u636e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Category"),": \u7c7b\u76ee\u8f74\u3002\u9002\u7528\u4e8e\u79bb\u6563\u7684\u7c7b\u76ee\u6570\u636e\uff0c\u4e3a\u8be5\u7c7b\u578b\u65f6\u5fc5\u987b\u901a\u8fc7 data \u8bbe\u7f6e\u7c7b\u76ee\u6570\u636e\u3002serie\u7684\u6570\u636e\u7b2c0\u7ef4\u6570\u636e\u5bf9\u5e94\u5750\u6807\u8f74data\u7684index\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Log"),": \u5bf9\u6570\u8f74\u3002\u9002\u7528\u4e8e\u5bf9\u6570\u6570\u636e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Time"),": \u65f6\u95f4\u8f74\u3002\u9002\u7528\u4e8e\u8fde\u7eed\u7684\u65f6\u5e8f\u6570\u636e\u3002")),(0,n.kt)("h2",{id:"axisanimation-1"},"AxisAnimation"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.9.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u52a8\u753b\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"axisanimationduration"},"AxisAnimation.duration"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u52a8\u753b\u65f6\u957f(ms)\u3002 \u9ed8\u8ba4\u8bbe\u7f6e\u4e3a0\u65f6\uff0c\u4f1a\u81ea\u52a8\u83b7\u53d6serie\u7684\u52a8\u753b\u65f6\u957f\u3002"),(0,n.kt)("h3",{id:"axisanimationshow"},"AxisAnimation.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"axisanimationunscaledtime"},"AxisAnimation.unscaledTime"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u52a8\u753b\u662f\u5426\u53d7TimeScaled\u7684\u5f71\u54cd\u3002\u9ed8\u8ba4\u4e3a false \u53d7TimeScaled\u7684\u5f71\u54cd\u3002"),(0,n.kt)("h2",{id:"axislabel"},"AxisLabel"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u523b\u5ea6\u6807\u7b7e\u7684\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"axislabelinside"},"AxisLabel.inside"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u523b\u5ea6\u6807\u7b7e\u662f\u5426\u671d\u5185\uff0c\u9ed8\u8ba4\u671d\u5916\u3002"),(0,n.kt)("h3",{id:"axislabelinterval"},"AxisLabel.interval"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u523b\u5ea6\u6807\u7b7e\u7684\u663e\u793a\u95f4\u9694\uff0c\u5728\u7c7b\u76ee\u8f74\u4e2d\u6709\u6548\u30020\u8868\u793a\u663e\u793a\u6240\u6709\u6807\u7b7e\uff0c1\u8868\u793a\u9694\u4e00\u4e2a\u9694\u663e\u793a\u4e00\u4e2a\u6807\u7b7e\uff0c\u4ee5\u6b64\u7c7b\u63a8\u3002"),(0,n.kt)("h3",{id:"axislabelonzero"},"AxisLabel.onZero"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u523b\u5ea6\u6807\u7b7e\u663e\u793a\u57280\u523b\u5ea6\u4e0a\u3002"),(0,n.kt)("h3",{id:"axislabelshowaspositivenumber"},"AxisLabel.showAsPositiveNumber"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u5c06\u8d1f\u6570\u6570\u503c\u663e\u793a\u4e3a\u6b63\u6570\u3002\u4e00\u822c\u548c",(0,n.kt)("inlineCode",{parentName:"p"},"Serie"),"\u7684",(0,n.kt)("inlineCode",{parentName:"p"},"showAsPositiveNumber"),"\u914d\u5408\u4f7f\u7528\u3002"),(0,n.kt)("h3",{id:"axislabelshowendlabel"},"AxisLabel.showEndLabel"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6700\u540e\u4e00\u4e2a\u6587\u672c\u3002"),(0,n.kt)("h3",{id:"axislabelshowstartlabel"},"AxisLabel.showStartLabel"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7b2c\u4e00\u4e2a\u6587\u672c\u3002"),(0,n.kt)("h3",{id:"axislabeltextlimit"},"AxisLabel.textLimit"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#textlimit"},"TextLimit")),(0,n.kt)("p",null,"\u6587\u672c\u9650\u5236\u3002"),(0,n.kt)("h2",{id:"axisline"},"AxisLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u8f74\u7ebf\u3002"),(0,n.kt)("h3",{id:"axislinearrow"},"AxisLine.arrow"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#arrowstyle"},"ArrowStyle")),(0,n.kt)("p",null,"\u8f74\u7ebf\u7bad\u5934\u3002"),(0,n.kt)("h3",{id:"axislineonzero"},"AxisLine.onZero"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"X \u8f74\u6216\u8005 Y \u8f74\u7684\u8f74\u7ebf\u662f\u5426\u5728\u53e6\u4e00\u4e2a\u8f74\u7684 0 \u523b\u5ea6\u4e0a\uff0c\u53ea\u6709\u5728\u53e6\u4e00\u4e2a\u8f74\u4e3a\u6570\u503c\u8f74\u4e14\u5305\u542b 0 \u523b\u5ea6\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"axislineshowarrow"},"AxisLine.showArrow"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7bad\u5934\u3002"),(0,n.kt)("h2",{id:"axisminorsplitline-1"},"AxisMinorSplitLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5728 grid \u533a\u57df\u4e2d\u7684\u6b21\u5206\u9694\u7ebf\u3002\u6b21\u5206\u5272\u7ebf\u4f1a\u5bf9\u9f50\u6b21\u523b\u5ea6\u7ebf minorTick\u3002"),(0,n.kt)("h3",{id:"axisminorsplitlineautocolor"},"AxisMinorSplitLine.autoColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u81ea\u52a8\u8bbe\u7f6e\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"axisminorsplitlinedistance"},"AxisMinorSplitLine.distance"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u523b\u5ea6\u7ebf\u4e0e\u8f74\u7ebf\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h2",{id:"axisminortick-1"},"AxisMinorTick"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u6b21\u523b\u5ea6\u76f8\u5173\u8bbe\u7f6e\u3002\u6ce8\u610f\uff1a\u6b21\u523b\u5ea6\u65e0\u6cd5\u5728\u7c7b\u76ee\u8f74\u4e2d\u4f7f\u7528\u3002"),(0,n.kt)("h3",{id:"axisminortickautocolor"},"AxisMinorTick.autoColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("h3",{id:"axisminorticksplitnumber"},"AxisMinorTick.splitNumber"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"5")),(0,n.kt)("p",null,"\u5206\u9694\u7ebf\u4e4b\u95f4\u5206\u5272\u7684\u523b\u5ea6\u6570\u3002"),(0,n.kt)("h2",{id:"axisname"},"AxisName"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"axisnamelabelstyle"},"AxisName.labelStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"axisnamename"},"AxisName.name"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"axisnameonzero"},"AxisName.onZero"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.1.0")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u540d\u79f0\u7684\u4f4d\u7f6e\u662f\u5426\u4fdd\u6301\u548cY\u8f740\u523b\u5ea6\u4e00\u81f4\u3002"),(0,n.kt)("h3",{id:"axisnameshow"},"AxisName.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u5750\u6807\u8f74\u540d\u79f0\u3002"),(0,n.kt)("h2",{id:"axissplitarea-1"},"AxisSplitArea"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5728 grid \u533a\u57df\u4e2d\u7684\u5206\u9694\u533a\u57df\uff0c\u9ed8\u8ba4\u4e0d\u663e\u793a\u3002"),(0,n.kt)("h3",{id:"axissplitareacolor"},"AxisSplitArea.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u5206\u9694\u533a\u57df\u989c\u8272\u3002\u5206\u9694\u533a\u57df\u4f1a\u6309\u6570\u7ec4\u4e2d\u989c\u8272\u7684\u987a\u5e8f\u4f9d\u6b21\u5faa\u73af\u8bbe\u7f6e\u989c\u8272\u3002\u9ed8\u8ba4\u662f\u4e00\u4e2a\u6df1\u6d45\u7684\u95f4\u9694\u8272\u3002"),(0,n.kt)("h3",{id:"axissplitareashow"},"AxisSplitArea.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u5206\u9694\u533a\u57df\u3002"),(0,n.kt)("h2",{id:"axissplitline-1"},"AxisSplitLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5728 grid \u533a\u57df\u4e2d\u7684\u5206\u9694\u7ebf\u3002"),(0,n.kt)("h3",{id:"axissplitlineautocolor"},"AxisSplitLine.autoColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u81ea\u52a8\u8bbe\u7f6e\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"axissplitlinedistance"},"AxisSplitLine.distance"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u523b\u5ea6\u7ebf\u4e0e\u8f74\u7ebf\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"axissplitlineinterval"},"AxisSplitLine.interval"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5206\u9694\u7ebf\u7684\u663e\u793a\u95f4\u9694\u3002"),(0,n.kt)("h3",{id:"axissplitlineshowendline"},"AxisSplitLine.showEndLine"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.3.0")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6700\u540e\u4e00\u6761\u5206\u5272\u7ebf\u3002"),(0,n.kt)("h3",{id:"axissplitlineshowstartline"},"AxisSplitLine.showStartLine"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.3.0")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7b2c\u4e00\u6761\u5206\u5272\u7ebf\u3002"),(0,n.kt)("h3",{id:"axissplitlineshowzline"},"AxisSplitLine.showZLine"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793aZ\u8f74\u90e8\u5206\u5206\u5272\u7ebf\u3002\u4e00\u822c\u7528\u4e8e3D\u5750\u6807\u7cfb\u3002"),(0,n.kt)("h2",{id:"axistheme"},"AxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h2",{id:"axistick"},"AxisTick"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u523b\u5ea6\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"axistickalignwithlabel"},"AxisTick.alignWithLabel"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u7c7b\u76ee\u8f74\u4e2d\u5728 boundaryGap \u4e3a true \u7684\u65f6\u5019\u6709\u6548\uff0c\u53ef\u4ee5\u4fdd\u8bc1\u523b\u5ea6\u7ebf\u548c\u6807\u7b7e\u5bf9\u9f50\u3002"),(0,n.kt)("h3",{id:"axistickautocolor"},"AxisTick.autoColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("h3",{id:"axistickdistance"},"AxisTick.distance"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u523b\u5ea6\u7ebf\u4e0e\u8f74\u7ebf\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"axistickinside"},"AxisTick.inside"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u523b\u5ea6\u662f\u5426\u671d\u5185\uff0c\u9ed8\u8ba4\u671d\u5916\u3002"),(0,n.kt)("h3",{id:"axistickshowendtick"},"AxisTick.showEndTick"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6700\u540e\u4e00\u4e2a\u523b\u5ea6\u3002"),(0,n.kt)("h3",{id:"axistickshowstarttick"},"AxisTick.showStartTick"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7b2c\u4e00\u4e2a\u523b\u5ea6\u3002"),(0,n.kt)("h3",{id:"axisticksplitnumber"},"AxisTick.splitNumber"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u5206\u9694\u7ebf\u4e4b\u95f4\u5206\u5272\u7684\u523b\u5ea6\u6570\u3002"),(0,n.kt)("h2",{id:"background"},"Background"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u80cc\u666f\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"backgroundautocolor"},"Background.autoColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u5f53background\u7ec4\u4ef6\u5f00\u542f\u65f6\uff0c\u662f\u5426\u81ea\u52a8\u4f7f\u7528\u4e3b\u9898\u80cc\u666f\u8272\u4f5c\u4e3abackgrounnd\u7ec4\u4ef6\u7684\u989c\u8272\u3002\u5f53\u8bbe\u7f6e\u4e3afalse\u65f6\uff0c\u7528imageColor\u4f5c\u4e3a\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"backgroundborderstyle"},"Background.borderStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#borderstyle"},"BorderStyle")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u80cc\u666f\u8fb9\u6846\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"backgroundimage"},"Background.image"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Sprite")),(0,n.kt)("p",null,"\u80cc\u666f\u56fe\u3002"),(0,n.kt)("h3",{id:"backgroundimagecolor"},"Background.imageColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u80cc\u666f\u56fe\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"backgroundimageheight"},"Background.imageHeight"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u80cc\u666f\u56fe\u9ad8\u5ea6\u3002"),(0,n.kt)("h3",{id:"backgroundimagetype"},"Background.imageType"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Image.Type")),(0,n.kt)("p",null,"\u80cc\u666f\u56fe\u586b\u5145\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"backgroundimagewidth"},"Background.imageWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u80cc\u666f\u56fe\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"backgroundshow"},"Background.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u542f\u7528\u80cc\u666f\u7ec4\u4ef6\u3002"),(0,n.kt)("h2",{id:"bar"},"Bar"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h2",{id:"baseaxistheme"},"BaseAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axistheme"},"AxisTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#radiusaxistheme"},"RadiusAxisTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#angleaxistheme"},"AngleAxisTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#polaraxistheme"},"PolarAxisTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#radaraxistheme"},"RadarAxisTheme")),(0,n.kt)("h3",{id:"baseaxisthemelinecolor"},"BaseAxisTheme.lineColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u7ebf\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"baseaxisthemelinelength"},"BaseAxisTheme.lineLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u7ebf\u957f\u3002"),(0,n.kt)("h3",{id:"baseaxisthemelinetype"},"BaseAxisTheme.lineType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyletype"},"LineStyle.Type")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u7ebf\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Solid"),": \u5b9e\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dashed"),": \u865a\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dotted"),": \u70b9\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDot"),": \u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDotDot"),": \u53cc\u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u53cc\u70b9\u5212\u7ebf")),(0,n.kt)("h3",{id:"baseaxisthemelinewidth"},"BaseAxisTheme.lineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1f")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u7ebf\u5bbd\u3002"),(0,n.kt)("h3",{id:"baseaxisthememinorsplitlinecolor"},"BaseAxisTheme.minorSplitLineColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6b21\u5206\u5272\u7ebf\u7ebf\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"baseaxisthemesplitareacolors"},"BaseAxisTheme.splitAreaColors"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5206\u9694\u533a\u57df\u7684\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"baseaxisthemesplitlinecolor"},"BaseAxisTheme.splitLineColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u5206\u5272\u7ebf\u7ebf\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"baseaxisthemesplitlinelength"},"BaseAxisTheme.splitLineLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u5206\u5272\u7ebf\u7ebf\u957f\u3002"),(0,n.kt)("h3",{id:"baseaxisthemesplitlinetype"},"BaseAxisTheme.splitLineType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyletype"},"LineStyle.Type")),(0,n.kt)("p",null,"\u5206\u5272\u7ebf\u7ebf\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Solid"),": \u5b9e\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dashed"),": \u865a\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dotted"),": \u70b9\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDot"),": \u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDotDot"),": \u53cc\u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u53cc\u70b9\u5212\u7ebf")),(0,n.kt)("h3",{id:"baseaxisthemesplitlinewidth"},"BaseAxisTheme.splitLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1f")),(0,n.kt)("p",null,"\u5206\u5272\u7ebf\u7ebf\u5bbd\u3002"),(0,n.kt)("h3",{id:"baseaxisthemetickcolor"},"BaseAxisTheme.tickColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u7ebf\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"baseaxisthemeticklength"},"BaseAxisTheme.tickLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"5f")),(0,n.kt)("p",null,"\u523b\u5ea6\u7ebf\u7ebf\u957f\u3002"),(0,n.kt)("h3",{id:"baseaxisthemetickwidth"},"BaseAxisTheme.tickWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1f")),(0,n.kt)("p",null,"\u523b\u5ea6\u7ebf\u7ebf\u5bbd\u3002"),(0,n.kt)("h2",{id:"baseline"},"BaseLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axisline"},"AxisLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#axisminorsplitline"},"AxisMinorSplitLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#axisminortick"},"AxisMinorTick"),", ",(0,n.kt)("a",{parentName:"p",href:"#axissplitline"},"AxisSplitLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#axistick"},"AxisTick")),(0,n.kt)("p",null,"\u7ebf\u6761\u57fa\u7840\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"baselinelinestyle"},"BaseLine.lineStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle")),(0,n.kt)("p",null,"\u7ebf\u6761\u6837\u5f0f"),(0,n.kt)("h3",{id:"baselineshow"},"BaseLine.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u5750\u6807\u8f74\u8f74\u7ebf\u3002"),(0,n.kt)("h2",{id:"basescatter"},"BaseScatter"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#effectscatter"},"EffectScatter"),", ",(0,n.kt)("a",{parentName:"p",href:"#scatter"},"Scatter")),(0,n.kt)("h2",{id:"baseserie"},"BaseSerie"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie")),(0,n.kt)("h2",{id:"blurstyle"},"BlurStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#statestyle"},"StateStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6de1\u51fa\u72b6\u6001\u6837\u5f0f\u3002"),(0,n.kt)("h2",{id:"borderstyle"},"BorderStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u8fb9\u6846\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"borderstylebordercolor"},"BorderStyle.borderColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u8fb9\u6846\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"borderstyleborderwidth"},"BorderStyle.borderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u8fb9\u6846\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"borderstylecornerradius"},"BorderStyle.cornerRadius"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u5706\u89d2\u534a\u5f84\u3002\u7528\u6570\u7ec4\u5206\u522b\u6307\u5b9a4\u4e2a\u5706\u89d2\u534a\u5f84\uff08\u987a\u65f6\u9488\u5de6\u4e0a\uff0c\u53f3\u4e0a\uff0c\u53f3\u4e0b\uff0c\u5de6\u4e0b\uff09\u3002\u5f53\u4e3a(1,1,1,1)\u65f6\u4e3a\u5168\u5706\u89d2\u3002"),(0,n.kt)("h3",{id:"borderstyleroundedcorner"},"BorderStyle.roundedCorner"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u5706\u89d2\u3002"),(0,n.kt)("h3",{id:"borderstyleshow"},"BorderStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u8fb9\u6846\u3002"),(0,n.kt)("h2",{id:"calendarcoord"},"CalendarCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),", ",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("h2",{id:"candlestick"},"Candlestick"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h2",{id:"charttext"},"ChartText"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"childcomponent"},"ChildComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#animationstyle"},"AnimationStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#axisanimation"},"AxisAnimation"),", ",(0,n.kt)("a",{parentName:"p",href:"#axisname"},"AxisName"),", ",(0,n.kt)("a",{parentName:"p",href:"#axissplitarea"},"AxisSplitArea"),", ",(0,n.kt)("a",{parentName:"p",href:"#areastyle"},"AreaStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#arrowstyle"},"ArrowStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#baseline"},"BaseLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#borderstyle"},"BorderStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#iconstyle"},"IconStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#imagestyle"},"ImageStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#itemstyle"},"ItemStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#level"},"Level"),", ",(0,n.kt)("a",{parentName:"p",href:"#levelstyle"},"LevelStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#linearrow"},"LineArrow"),", ",(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#location"},"Location"),", ",(0,n.kt)("a",{parentName:"p",href:"#mlvalue"},"MLValue"),", ",(0,n.kt)("a",{parentName:"p",href:"#marqueestyle"},"MarqueeStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#padding"},"Padding"),", ",(0,n.kt)("a",{parentName:"p",href:"#stagecolor"},"StageColor"),", ",(0,n.kt)("a",{parentName:"p",href:"#symbolstyle"},"SymbolStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#textlimit"},"TextLimit"),", ",(0,n.kt)("a",{parentName:"p",href:"#textstyle"},"TextStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#commentitem"},"CommentItem"),", ",(0,n.kt)("a",{parentName:"p",href:"#commentmarkstyle"},"CommentMarkStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#labelline"},"LabelLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#markareadata"},"MarkAreaData"),", ",(0,n.kt)("a",{parentName:"p",href:"#marklinedata"},"MarkLineData"),", ",(0,n.kt)("a",{parentName:"p",href:"#statestyle"},"StateStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#visualmaprange"},"VisualMapRange"),", ",(0,n.kt)("a",{parentName:"p",href:"#viewcontrol"},"ViewControl"),", ",(0,n.kt)("a",{parentName:"p",href:"#uicomponenttheme"},"UIComponentTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#seriedata"},"SerieData"),", ",(0,n.kt)("a",{parentName:"p",href:"#seriedatalink"},"SerieDataLink"),", ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#serietheme"},"SerieTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#themestyle"},"ThemeStyle")),(0,n.kt)("h2",{id:"comment"},"Comment"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#ipropertychanged"},"IPropertyChanged")),(0,n.kt)("p",null,"\u56fe\u8868\u6ce8\u89e3\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"commentitems"},"Comment.items"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u6ce8\u89e3\u9879\u3002\u6bcf\u4e2a\u6ce8\u89e3\u7ec4\u4ef6\u53ef\u4ee5\u8bbe\u7f6e\u591a\u4e2a\u6ce8\u89e3\u9879\u3002"),(0,n.kt)("h3",{id:"commentlabelstyle"},"Comment.labelStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u6240\u6709\u7ec4\u4ef6\u7684\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"commentmarkstyle"},"Comment.markStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#commentmarkstyle"},"CommentMarkStyle")),(0,n.kt)("p",null,"\u6240\u6709\u7ec4\u4ef6\u7684\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"commentshow"},"Comment.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6ce8\u89e3\u7ec4\u4ef6\u3002"),(0,n.kt)("h2",{id:"commentitem"},"CommentItem"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6ce8\u89e3\u9879\u3002"),(0,n.kt)("h3",{id:"commentitemcontent"},"CommentItem.content"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6ce8\u89e3\u7684\u6587\u672c\u5185\u5bb9\u3002\u652f\u6301\u6a21\u677f\u53c2\u6570\uff0c\u53ef\u4ee5\u53c2\u8003Tooltip\u7684itemFormatter\u3002"),(0,n.kt)("h3",{id:"commentitemlabelstyle"},"CommentItem.labelStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u6ce8\u89e3\u9879\u7684\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"commentitemlocation"},"CommentItem.location"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#location"},"Location")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.5.0")),(0,n.kt)("p",null,"Comment\u663e\u793a\u7684\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"commentitemmarkrect"},"CommentItem.markRect"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Rect")),(0,n.kt)("p",null,"\u6ce8\u89e3\u533a\u57df\u3002"),(0,n.kt)("h3",{id:"commentitemmarkstyle"},"CommentItem.markStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#commentmarkstyle"},"CommentMarkStyle")),(0,n.kt)("p",null,"\u6ce8\u89e3\u6807\u8bb0\u533a\u57df\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"commentitemshow"},"CommentItem.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u5f53\u524d\u6ce8\u89e3\u9879\u3002"),(0,n.kt)("h2",{id:"commentmarkstyle-1"},"CommentMarkStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6ce8\u89e3\u9879\u533a\u57df\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"commentmarkstylelinestyle"},"CommentMarkStyle.lineStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle")),(0,n.kt)("p",null,"\u7ebf\u6761\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"commentmarkstyleshow"},"CommentMarkStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u5f53\u524d\u6ce8\u89e3\u9879\u3002"),(0,n.kt)("h2",{id:"componenttheme"},"ComponentTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#datazoomtheme"},"DataZoomTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#legendtheme"},"LegendTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#subtitletheme"},"SubTitleTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#titletheme"},"TitleTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#tooltiptheme"},"TooltipTheme"),", ",(0,n.kt)("a",{parentName:"p",href:"#visualmaptheme"},"VisualMapTheme")),(0,n.kt)("h3",{id:"componentthemefont"},"ComponentTheme.font"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Font")),(0,n.kt)("p",null,"\u5b57\u4f53\u3002"),(0,n.kt)("h3",{id:"componentthemefontsize"},"ComponentTheme.fontSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"18")),(0,n.kt)("p",null,"\u6587\u672c\u5b57\u4f53\u5927\u5c0f\u3002"),(0,n.kt)("h3",{id:"componentthemetextbackgroundcolor"},"ComponentTheme.textBackgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u6587\u672c\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"componentthemetextcolor"},"ComponentTheme.textColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u6587\u672c\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"componentthemetmpfont"},"ComponentTheme.tMPFont"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"TMP_FontAsset")),(0,n.kt)("p",null,"\u5b57\u4f53\u3002"),(0,n.kt)("h2",{id:"coordsystem"},"CoordSystem"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#radarcoord"},"RadarCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#calendarcoord"},"CalendarCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#gridcoord"},"GridCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#gridcoord3d"},"GridCoord3D"),", ",(0,n.kt)("a",{parentName:"p",href:"#parallelcoord"},"ParallelCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#polarcoord"},"PolarCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#singleaxiscoord"},"SingleAxisCoord")),(0,n.kt)("p",null,"\u5750\u6807\u7cfb\u7cfb\u7edf\u3002"),(0,n.kt)("h2",{id:"datazoom"},"DataZoom"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData")),(0,n.kt)("p",null,"DataZoom \u7ec4\u4ef6 \u7528\u4e8e\u533a\u57df\u7f29\u653e\uff0c\u4ece\u800c\u80fd\u81ea\u7531\u5173\u6ce8\u7ec6\u8282\u7684\u6570\u636e\u4fe1\u606f\uff0c\u6216\u8005\u6982\u89c8\u6570\u636e\u6574\u4f53\uff0c\u6216\u8005\u53bb\u9664\u79bb\u7fa4\u70b9\u7684\u5f71\u54cd\u3002"),(0,n.kt)("h3",{id:"datazoomareastyle"},"DataZoom.areaStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#areastyle"},"AreaStyle")),(0,n.kt)("p",null,"\u9634\u5f71\u586b\u5145\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"datazoombackgroundcolor"},"DataZoom.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u7684\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"datazoombordercolor"},"DataZoom.borderColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u8fb9\u6846\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"datazoomborderwidth"},"DataZoom.borderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u8fb9\u6846\u5bbd\u3002"),(0,n.kt)("h3",{id:"datazoombottom"},"DataZoom.bottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0b\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"datazoomenable"},"DataZoom.enable"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7f29\u653e\u533a\u57df\u3002"),(0,n.kt)("h3",{id:"datazoomend"},"DataZoom.end"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6570\u636e\u7a97\u53e3\u8303\u56f4\u7684\u7ed3\u675f\u767e\u5206\u6bd4\u3002\u8303\u56f4\u662f\uff1a0 ~ 100\u3002"),(0,n.kt)("h3",{id:"datazoomendlock"},"DataZoom.endLock"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("p",null,"\u56fa\u5b9a\u7ed3\u675f\u503c\uff0c\u4e0d\u8ba9\u6539\u53d8\u3002"),(0,n.kt)("h3",{id:"datazoomfillercolor"},"DataZoom.fillerColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6570\u636e\u533a\u57df\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"datazoomfiltermode"},"DataZoom.filterMode"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#datazoomfiltermode"},"DataZoom.FilterMode")),(0,n.kt)("p",null,"\u6570\u636e\u8fc7\u6ee4\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Filter"),": \u5f53\u524d\u6570\u636e\u7a97\u53e3\u5916\u7684\u6570\u636e\uff0c\u88ab \u8fc7\u6ee4\u6389\u3002\u5373 \u4f1a \u5f71\u54cd\u5176\u4ed6\u8f74\u7684\u6570\u636e\u8303\u56f4\u3002\u6bcf\u4e2a\u6570\u636e\u9879\uff0c\u53ea\u8981\u6709\u4e00\u4e2a\u7ef4\u5ea6\u5728\u6570\u636e\u7a97\u53e3\u5916\uff0c\u6574\u4e2a\u6570\u636e\u9879\u5c31\u4f1a\u88ab\u8fc7\u6ee4\u6389\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"WeakFilter"),": \u5f53\u524d\u6570\u636e\u7a97\u53e3\u5916\u7684\u6570\u636e\uff0c\u88ab \u8fc7\u6ee4\u6389\u3002\u5373 \u4f1a \u5f71\u54cd\u5176\u4ed6\u8f74\u7684\u6570\u636e\u8303\u56f4\u3002\u6bcf\u4e2a\u6570\u636e\u9879\uff0c\u53ea\u6709\u5f53\u5168\u90e8\u7ef4\u5ea6\u90fd\u5728\u6570\u636e\u7a97\u53e3\u540c\u4fa7\u5916\u90e8\uff0c\u6574\u4e2a\u6570\u636e\u9879\u624d\u4f1a\u88ab\u8fc7\u6ee4\u6389\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Empty"),": \u5f53\u524d\u6570\u636e\u7a97\u53e3\u5916\u7684\u6570\u636e\uff0c\u88ab \u8bbe\u7f6e\u4e3a\u7a7a\u3002\u5373 \u4e0d\u4f1a \u5f71\u54cd\u5176\u4ed6\u8f74\u7684\u6570\u636e\u8303\u56f4\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4e0d\u8fc7\u6ee4\u6570\u636e\uff0c\u53ea\u6539\u53d8\u6570\u8f74\u8303\u56f4\u3002")),(0,n.kt)("h3",{id:"datazoomlabelstyle"},"DataZoom.labelStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u6587\u672c\u6807\u7b7e\u683c\u5f0f\u3002"),(0,n.kt)("h3",{id:"datazoomleft"},"DataZoom.left"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u5de6\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"datazoomlinestyle"},"DataZoom.lineStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle")),(0,n.kt)("p",null,"\u9634\u5f71\u7ebf\u6761\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"datazoommarqueestyle"},"DataZoom.marqueeStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#marqueestyle"},"MarqueeStyle")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.5.0")),(0,n.kt)("p",null,"\u9009\u53d6\u6846\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"datazoomminshownum"},"DataZoom.minShowNum"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2")),(0,n.kt)("p",null,"\u6700\u5c0f\u663e\u793a\u6570\u636e\u4e2a\u6570\u3002\u5f53DataZoom\u653e\u5927\u5230\u6700\u5927\u65f6\uff0c\u6700\u5c0f\u663e\u793a\u7684\u6570\u636e\u4e2a\u6570\u3002"),(0,n.kt)("h3",{id:"datazoomorient"},"DataZoom.orient"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#orient"},"Orient")),(0,n.kt)("p",null,"\u5e03\u5c40\u65b9\u5f0f\u662f\u6a2a\u8fd8\u662f\u7ad6\u3002\u4e0d\u4ec5\u662f\u5e03\u5c40\u65b9\u5f0f\uff0c\u5bf9\u4e8e\u76f4\u89d2\u5750\u6807\u7cfb\u800c\u8a00\uff0c\u4e5f\u51b3\u5b9a\u4e86\uff0c\u7f3a\u7701\u60c5\u51b5\u63a7\u5236\u6a2a\u5411\u6570\u8f74\u8fd8\u662f\u7eb5\u5411\u6570\u8f74\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Horizonal"),": \u6c34\u5e73"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Vertical"),": \u5782\u76f4")),(0,n.kt)("h3",{id:"datazoomrangemode"},"DataZoom.rangeMode"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#datazoomrangemode"},"DataZoom.RangeMode")),(0,n.kt)("p",null,"\u53d6\u7edd\u5bf9\u503c\u8fd8\u662f\u767e\u5206\u6bd4\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"//Value"),": The value type of start and end.\u53d6\u503c\u7c7b\u578b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Percent"),": \u767e\u5206\u6bd4\u3002")),(0,n.kt)("h3",{id:"datazoomright"},"DataZoom.right"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u53f3\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"datazoomscrollsensitivity"},"DataZoom.scrollSensitivity"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1.1f")),(0,n.kt)("p",null,"\u7f29\u653e\u533a\u57df\u7ec4\u4ef6\u7684\u654f\u611f\u5ea6\u3002\u503c\u8d8a\u9ad8\u6bcf\u6b21\u7f29\u653e\u6240\u4ee3\u8868\u7684\u6570\u636e\u8d8a\u591a\u3002"),(0,n.kt)("h3",{id:"datazoomshowdatashadow"},"DataZoom.showDataShadow"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6570\u636e\u9634\u5f71\u3002\u6570\u636e\u9634\u5f71\u53ef\u4ee5\u7b80\u5355\u5730\u53cd\u5e94\u6570\u636e\u8d70\u52bf\u3002"),(0,n.kt)("h3",{id:"datazoomshowdetail"},"DataZoom.showDetail"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793adetail\uff0c\u5373\u62d6\u62fd\u65f6\u5019\u663e\u793a\u8be6\u7ec6\u6570\u503c\u4fe1\u606f\u3002"),(0,n.kt)("h3",{id:"datazoomstart"},"DataZoom.start"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6570\u636e\u7a97\u53e3\u8303\u56f4\u7684\u8d77\u59cb\u767e\u5206\u6bd4\u3002\u8303\u56f4\u662f\uff1a0 ~ 100\u3002"),(0,n.kt)("h3",{id:"datazoomstartlock"},"DataZoom.startLock"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("p",null,"\u56fa\u5b9a\u8d77\u59cb\u503c\uff0c\u4e0d\u8ba9\u6539\u53d8\u3002"),(0,n.kt)("h3",{id:"datazoomsupportinside"},"DataZoom.supportInside"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u652f\u6301\u5185\u7f6e\u3002\u5185\u7f6e\u4e8e\u5750\u6807\u7cfb\u4e2d\uff0c\u4f7f\u7528\u6237\u53ef\u4ee5\u5728\u5750\u6807\u7cfb\u4e0a\u901a\u8fc7\u9f20\u6807\u62d6\u62fd\u3001\u9f20\u6807\u6eda\u8f6e\u3001\u624b\u6307\u6ed1\u52a8\uff08\u89e6\u5c4f\u4e0a\uff09\u6765\u7f29\u653e\u6216\u6f2b\u6e38\u5750\u6807\u7cfb\u3002"),(0,n.kt)("h3",{id:"datazoomsupportinsidedrag"},"DataZoom.supportInsideDrag"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u652f\u6301\u5750\u6807\u7cfb\u5185\u62d6\u62fd"),(0,n.kt)("h3",{id:"datazoomsupportinsidescroll"},"DataZoom.supportInsideScroll"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u652f\u6301\u5750\u6807\u7cfb\u5185\u6eda\u52a8"),(0,n.kt)("h3",{id:"datazoomsupportmarquee"},"DataZoom.supportMarquee"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u652f\u6301\u6846\u9009\u3002\u63d0\u4f9b\u4e00\u4e2a\u9009\u6846\u8fdb\u884c\u6570\u636e\u533a\u57df\u7f29\u653e\u3002"),(0,n.kt)("h3",{id:"datazoomsupportslider"},"DataZoom.supportSlider"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u652f\u6301\u6ed1\u52a8\u6761\u3002\u6709\u5355\u72ec\u7684\u6ed1\u52a8\u6761\uff0c\u7528\u6237\u5728\u6ed1\u52a8\u6761\u4e0a\u8fdb\u884c\u7f29\u653e\u6216\u6f2b\u6e38\u3002"),(0,n.kt)("h3",{id:"datazoomtop"},"DataZoom.top"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0a\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"datazoomxaxisindexs"},"DataZoom.xAxisIndexs"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u63a7\u5236\u7684 x \u8f74\u7d22\u5f15\u5217\u8868\u3002"),(0,n.kt)("h3",{id:"datazoomyaxisindexs"},"DataZoom.yAxisIndexs"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u63a7\u5236\u7684 y \u8f74\u7d22\u5f15\u5217\u8868\u3002"),(0,n.kt)("h3",{id:"datazoomzoomlock"},"DataZoom.zoomLock"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u9501\u5b9a\u9009\u62e9\u533a\u57df\uff08\u6216\u53eb\u505a\u6570\u636e\u7a97\u53e3\uff09\u7684\u5927\u5c0f\u3002 \u5982\u679c\u8bbe\u7f6e\u4e3a true \u5219\u9501\u5b9a\u9009\u62e9\u533a\u57df\u7684\u5927\u5c0f\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u53ea\u80fd\u5e73\u79fb\uff0c\u4e0d\u80fd\u7f29\u653e\u3002"),(0,n.kt)("h2",{id:"datazoomtheme"},"DataZoomTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"datazoomthemebackgroundcolor"},"DataZoomTheme.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"datazoomthemebordercolor"},"DataZoomTheme.borderColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u8fb9\u6846\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"datazoomthemeborderwidth"},"DataZoomTheme.borderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u8fb9\u6846\u7ebf\u5bbd\u3002"),(0,n.kt)("h3",{id:"datazoomthemedataareacolor"},"DataZoomTheme.dataAreaColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6570\u636e\u9634\u5f71\u7684\u586b\u5145\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"datazoomthemedatalinecolor"},"DataZoomTheme.dataLineColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6570\u636e\u9634\u5f71\u7684\u7ebf\u6761\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"datazoomthemedatalinewidth"},"DataZoomTheme.dataLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6570\u636e\u9634\u5f71\u7ebf\u5bbd\u3002"),(0,n.kt)("h3",{id:"datazoomthemefillercolor"},"DataZoomTheme.fillerColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6570\u636e\u533a\u57df\u989c\u8272\u3002"),(0,n.kt)("h2",{id:"debuginfo"},"DebugInfo"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h3",{id:"debuginfofoldseries"},"DebugInfo.foldSeries"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u5728Inspector\u4e0a\u6298\u53e0Serie\u3002"),(0,n.kt)("h3",{id:"debuginfolabelstyle"},"DebugInfo.labelStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("h3",{id:"debuginfoshow"},"DebugInfo.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793aDebug\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"debuginfoshowallchartobject"},"DebugInfo.showAllChartObject"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u5728Hierarchy\u8bd5\u56fe\u663e\u793a\u6240\u6709chart\u4e0b\u7684\u8282\u70b9\u3002"),(0,n.kt)("h3",{id:"debuginfoshowdebuginfo"},"DebugInfo.showDebugInfo"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("h2",{id:"effectscatter"},"EffectScatter"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basescatter"},"BaseScatter")),(0,n.kt)("h2",{id:"emphasisstyle"},"EmphasisStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#statestyle"},"StateStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u9ad8\u4eae\u72b6\u6001\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"emphasisstyleblurscope"},"EmphasisStyle.blurScope"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#emphasisstyleblurscope"},"EmphasisStyle.BlurScope")),(0,n.kt)("p",null,"\u5728\u5f00\u542ffocus\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u901a\u8fc7blurScope\u914d\u7f6e\u6de1\u51fa\u7684\u8303\u56f4\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"GridCoord"),": \u6de1\u51fa\u8303\u56f4\u4e3a\u5750\u6807\u7cfb\uff0c\u9ed8\u8ba4\u4f7f\u7528\u8be5\u914d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Series"),": \u6de1\u51fa\u8303\u56f4\u4e3a\u7cfb\u5217\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Global"),": \u6de1\u51fa\u8303\u56f4\u4e3a\u5168\u5c40\u3002")),(0,n.kt)("h3",{id:"emphasisstylefocus"},"EmphasisStyle.focus"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#emphasisstylefocustype"},"EmphasisStyle.FocusType")),(0,n.kt)("p",null,"\u5728\u9ad8\u4eae\u56fe\u5f62\u65f6\uff0c\u662f\u5426\u6de1\u51fa\u5176\u5b83\u6570\u636e\u7684\u56fe\u5f62\u5df2\u8fbe\u5230\u805a\u7126\u7684\u6548\u679c\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4e0d\u6de1\u51fa\u5176\u5b83\u56fe\u5f62\uff0c\u9ed8\u8ba4\u4f7f\u7528\u8be5\u914d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Self"),": \u53ea\u805a\u7126\uff08\u4e0d\u6de1\u51fa\uff09\u5f53\u524d\u9ad8\u4eae\u7684\u6570\u636e\u7684\u56fe\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Series"),": \u805a\u7126\u5f53\u524d\u9ad8\u4eae\u7684\u6570\u636e\u6240\u5728\u7684\u7cfb\u5217\u7684\u6240\u6709\u56fe\u5f62\u3002")),(0,n.kt)("h3",{id:"emphasisstylescale"},"EmphasisStyle.scale"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1.1f")),(0,n.kt)("p",null,"\u9ad8\u4eae\u65f6\u7684\u7f29\u653e\u500d\u6570\u3002"),(0,n.kt)("h2",{id:"endlabelstyle"},"EndLabelStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("h2",{id:"gridcoord"},"GridCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),", ",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("p",null,"Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid."),(0,n.kt)("h3",{id:"gridcoordbackgroundcolor"},"GridCoord.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u7f51\u683c\u80cc\u666f\u8272\uff0c\u9ed8\u8ba4\u900f\u660e\u3002"),(0,n.kt)("h3",{id:"gridcoordbordercolor"},"GridCoord.borderColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u7f51\u683c\u8fb9\u6846\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"gridcoordborderwidth"},"GridCoord.borderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u7f51\u683c\u8fb9\u6846\u5bbd\u3002"),(0,n.kt)("h3",{id:"gridcoordbottom"},"GridCoord.bottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.14f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0b\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridcoordlayoutindex"},"GridCoord.layoutIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"-1")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u7f51\u683c\u6240\u5c5e\u7684\u7f51\u683c\u5e03\u5c40\u7ec4\u4ef6\u7684\u7d22\u5f15\u3002\u9ed8\u8ba4\u4e3a-1\uff0c\u8868\u793a\u4e0d\u5c5e\u4e8e\u4efb\u4f55\u7f51\u683c\u5e03\u5c40\u7ec4\u4ef6\u3002\u5f53\u8bbe\u7f6e\u4e86\u8be5\u503c\u65f6\uff0cleft\u3001right\u3001top\u3001bottom\u5c5e\u6027\u5c06\u5931\u6548\u3002"),(0,n.kt)("h3",{id:"gridcoordleft"},"GridCoord.left"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.11f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u5de6\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridcoordright"},"GridCoord.right"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.08f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u53f3\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridcoordshow"},"GridCoord.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u76f4\u89d2\u5750\u6807\u7cfb\u7f51\u683c\u3002"),(0,n.kt)("h3",{id:"gridcoordshowborder"},"GridCoord.showBorder"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7f51\u683c\u8fb9\u6846\u3002"),(0,n.kt)("h3",{id:"gridcoordtop"},"GridCoord.top"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.22f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0a\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h2",{id:"gridcoord3d"},"GridCoord3D"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),", ",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid."),(0,n.kt)("h3",{id:"gridcoord3dbottom"},"GridCoord3D.bottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.15f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0b\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridcoord3dboxdepth"},"GridCoord3D.boxDepth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.2f")),(0,n.kt)("p",null,"\u5750\u6807\u7cfb\u7684\u6df1\u5ea6\u3002"),(0,n.kt)("h3",{id:"gridcoord3dboxheight"},"GridCoord3D.boxHeight"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.4f")),(0,n.kt)("p",null,"\u5750\u6807\u7cfb\u7684\u9ad8\u5ea6\u3002"),(0,n.kt)("h3",{id:"gridcoord3dboxwidth"},"GridCoord3D.boxWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.55f")),(0,n.kt)("p",null,"\u5750\u6807\u7cfb\u7684\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"gridcoord3dleft"},"GridCoord3D.left"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.15f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u5de6\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridcoord3dright"},"GridCoord3D.right"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.2f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u53f3\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridcoord3dshow"},"GridCoord3D.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u76f4\u89d2\u5750\u6807\u7cfb\u7f51\u683c\u3002"),(0,n.kt)("h3",{id:"gridcoord3dshowborder"},"GridCoord3D.showBorder"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7f51\u683c\u8fb9\u6846\u3002"),(0,n.kt)("h3",{id:"gridcoord3dtop"},"GridCoord3D.top"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.3f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0a\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridcoord3dviewcontrol"},"GridCoord3D.viewControl"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#viewcontrol"},"ViewControl")),(0,n.kt)("p",null,"3D\u89c6\u89d2\u63a7\u5236\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"gridcoord3dxyexchanged"},"GridCoord3D.xYExchanged"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("h2",{id:"gridlayout"},"GridLayout"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u7f51\u683c\u5e03\u5c40\u7ec4\u4ef6\u3002\u7528\u4e8e\u7ba1\u7406\u591a\u4e2a",(0,n.kt)("inlineCode",{parentName:"p"},"GridCoord"),"\u7684\u5e03\u5c40\uff0c\u53ef\u4ee5\u901a\u8fc7",(0,n.kt)("inlineCode",{parentName:"p"},"row"),"\u548c",(0,n.kt)("inlineCode",{parentName:"p"},"column"),"\u6765\u63a7\u5236\u7f51\u683c\u7684\u884c\u5217\u6570\u3002"),(0,n.kt)("h3",{id:"gridlayoutbottom"},"GridLayout.bottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.12f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0b\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridlayoutcolumn"},"GridLayout.column"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2")),(0,n.kt)("p",null,"\u7f51\u683c\u5e03\u5c40\u7684\u5217\u6570\u3002"),(0,n.kt)("h3",{id:"gridlayoutinverse"},"GridLayout.inverse"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u53cd\u8f6c\u7f51\u683c\u5e03\u5c40\u3002"),(0,n.kt)("h3",{id:"gridlayoutleft"},"GridLayout.left"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.1f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u5de6\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridlayoutright"},"GridLayout.right"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.08f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u53f3\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"gridlayoutrow"},"GridLayout.row"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2")),(0,n.kt)("p",null,"\u7f51\u683c\u5e03\u5c40\u7684\u884c\u6570\u3002"),(0,n.kt)("h3",{id:"gridlayoutshow"},"GridLayout.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u76f4\u89d2\u5750\u6807\u7cfb\u7f51\u683c\u3002"),(0,n.kt)("h3",{id:"gridlayoutspacing"},"GridLayout.spacing"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Vector2")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Vector2.zero")),(0,n.kt)("p",null,"\u7f51\u683c\u5e03\u5c40\u7684\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"gridlayouttop"},"GridLayout.top"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.22f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0a\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h2",{id:"heatmap"},"Heatmap"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h3",{id:"heatmapheatmaptype"},"Heatmap.heatmapType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#heatmaptype"},"HeatmapType")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.3.0")),(0,n.kt)("p",null,"\u70ed\u529b\u56fe\u7c7b\u578b\u3002\u901a\u8fc7\u989c\u8272\u6620\u5c04\u5212\u5206\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Data"),": \u6570\u636e\u6620\u5c04\u578b\u3002\u9ed8\u8ba4\u7528\u7b2c2\u7ef4\u6570\u636e\u4f5c\u4e3a\u989c\u8272\u6620\u5c04\u3002\u8981\u6c42\u6570\u636e\u81f3\u5c11\u67093\u4e2a\u7ef4\u5ea6\u6570\u636e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Count"),": \u4e2a\u6570\u6620\u5c04\u578b\u3002\u7edf\u8ba1\u6570\u636e\u5728\u5212\u5206\u7684\u683c\u5b50\u4e2d\u51fa\u73b0\u7684\u6b21\u6570\uff0c\u4f5c\u4e3a\u989c\u8272\u6620\u5c04\u3002\u8981\u6c42\u6570\u636e\u81f3\u5c11\u67092\u4e2a\u7ef4\u5ea6\u6570\u636e\u3002")),(0,n.kt)("h2",{id:"iconstyle"},"IconStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"iconstylealign"},"IconStyle.align"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#align"},"Align")),(0,n.kt)("p",null,"\u6c34\u5e73\u65b9\u5411\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Center"),": \u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Left"),": \u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Right"),": \u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002")),(0,n.kt)("h3",{id:"iconstyleautohidewhenlabelempty"},"IconStyle.autoHideWhenLabelEmpty"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u5f53label\u5185\u5bb9\u4e3a\u7a7a\u65f6\u662f\u5426\u81ea\u52a8\u9690\u85cf\u56fe\u6807"),(0,n.kt)("h3",{id:"iconstylecolor"},"IconStyle.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u56fe\u6807\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"iconstyleheight"},"IconStyle.height"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"20")),(0,n.kt)("p",null,"\u56fe\u6807\u9ad8\u3002"),(0,n.kt)("h3",{id:"iconstylelayer"},"IconStyle.layer"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#iconstylelayer"},"IconStyle.Layer")),(0,n.kt)("p",null,"\u663e\u793a\u5728\u4e0a\u5c42\u8fd8\u662f\u5728\u4e0b\u5c42\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"UnderText"),": The icon is display under the label text. \u56fe\u6807\u5728\u6807\u7b7e\u6587\u5b57\u4e0b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"AboveText"),": The icon is display above the label text. \u56fe\u6807\u5728\u6807\u7b7e\u6587\u5b57\u4e0a")),(0,n.kt)("h3",{id:"iconstyleoffset"},"IconStyle.offset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Vector3")),(0,n.kt)("p",null,"\u56fe\u6807\u504f\u79fb\u3002"),(0,n.kt)("h3",{id:"iconstyleshow"},"IconStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u56fe\u6807\u3002"),(0,n.kt)("h3",{id:"iconstylesprite"},"IconStyle.sprite"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Sprite")),(0,n.kt)("p",null,"\u56fe\u6807\u7684\u56fe\u7247\u3002"),(0,n.kt)("h3",{id:"iconstyletype"},"IconStyle.type"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Image.Type")),(0,n.kt)("p",null,"\u56fe\u7247\u7684\u663e\u793a\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"iconstylewidth"},"IconStyle.width"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"20")),(0,n.kt)("p",null,"\u56fe\u6807\u5bbd\u3002"),(0,n.kt)("h2",{id:"imagestyle"},"ImageStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("h3",{id:"imagestyleautocolor"},"ImageStyle.autoColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u81ea\u52a8\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"imagestylecolor"},"ImageStyle.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u56fe\u6807\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"imagestyleheight"},"ImageStyle.height"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u56fe\u6807\u9ad8\u3002"),(0,n.kt)("h3",{id:"imagestyleshow"},"ImageStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u56fe\u6807\u3002"),(0,n.kt)("h3",{id:"imagestylesprite"},"ImageStyle.sprite"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Sprite")),(0,n.kt)("p",null,"\u56fe\u6807\u7684\u56fe\u7247\u3002"),(0,n.kt)("h3",{id:"imagestyletype"},"ImageStyle.type"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Image.Type")),(0,n.kt)("p",null,"\u56fe\u7247\u7684\u663e\u793a\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"imagestylewidth"},"ImageStyle.width"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u56fe\u6807\u5bbd\u3002"),(0,n.kt)("h2",{id:"indicator"},"Indicator"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u7684\u6307\u793a\u5668\uff0c\u7528\u6765\u6307\u5b9a\u96f7\u8fbe\u56fe\u4e2d\u7684\u591a\u4e2a\u53d8\u91cf\uff08\u7ef4\u5ea6\uff09\u3002"),(0,n.kt)("h3",{id:"indicatoraxisline"},"Indicator.axisLine"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisline"},"AxisLine")),(0,n.kt)("p",null,"\u8f74\u7ebf\u3002"),(0,n.kt)("h3",{id:"indicatoraxisname"},"Indicator.axisName"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axisname"},"AxisName")),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u6bcf\u4e2a\u6307\u793a\u5668\u540d\u79f0\u7684\u914d\u7f6e\u9879\u3002"),(0,n.kt)("h3",{id:"indicatorceilrate"},"Indicator.ceilRate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6700\u5927\u6700\u5c0f\u503c\u5411\u4e0a\u53d6\u6574\u7684\u500d\u7387\u3002\u9ed8\u8ba4\u4e3a0\u65f6\u81ea\u52a8\u8ba1\u7b97\u3002"),(0,n.kt)("h3",{id:"indicatorcenter"},"Indicator.center"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u7684\u4e2d\u5fc3\u70b9\u3002\u6570\u7ec4\u7684\u7b2c\u4e00\u9879\u662f\u6a2a\u5750\u6807\uff0c\u7b2c\u4e8c\u9879\u662f\u7eb5\u5750\u6807\u3002 \u5f53\u503c\u4e3a0-1\u4e4b\u95f4\u65f6\u8868\u793a\u767e\u5206\u6bd4\uff0c\u8bbe\u7f6e\u6210\u767e\u5206\u6bd4\u65f6\u7b2c\u4e00\u9879\u662f\u76f8\u5bf9\u4e8e\u5bb9\u5668\u5bbd\u5ea6\uff0c\u7b2c\u4e8c\u9879\u662f\u76f8\u5bf9\u4e8e\u5bb9\u5668\u9ad8\u5ea6\u3002"),(0,n.kt)("h3",{id:"indicatorconnectcenter"},"Indicator.connectCenter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u6570\u503c\u662f\u5426\u8fde\u7ebf\u5230\u4e2d\u5fc3\u70b9\u3002"),(0,n.kt)("h3",{id:"indicatorgridindex"},"Indicator.gridIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"-1")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u6240\u4f7f\u7528\u7684 layout \u7ec4\u4ef6\u7684 index\u3002 \u9ed8\u8ba4\u4e3a-1\u4e0d\u6307\u5b9aindex, \u5f53\u4e3a\u5927\u4e8e\u6216\u7b49\u4e8e0\u65f6, \u4e3a\u7b2c\u4e00\u4e2alayout\u7ec4\u4ef6\u7684\u7b2cindex\u4e2a\u683c\u5b50\u3002"),(0,n.kt)("h3",{id:"indicatorindicator"},"Indicator.indicator"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6307\u793a\u5668\u3002"),(0,n.kt)("h3",{id:"indicatorindicatorgap"},"Indicator.indicatorGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"10")),(0,n.kt)("p",null,"\u6307\u793a\u5668\u548c\u96f7\u8fbe\u7684\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"indicatorindicatorlist"},"Indicator.indicatorList"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u6307\u793a\u5668\u5217\u8868\u3002"),(0,n.kt)("h3",{id:"indicatorisaxistooltip"},"Indicator.isAxisTooltip"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426Tooltip\u663e\u793a\u8f74\u7ebf\u4e0a\u7684\u6240\u6709\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"indicatorlinegradient"},"Indicator.lineGradient"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u6570\u503c\u7ebf\u6bb5\u662f\u5426\u9700\u8981\u6e10\u53d8\u3002"),(0,n.kt)("h3",{id:"indicatormax"},"Indicator.max"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"\u6307\u793a\u5668\u7684\u6700\u5927\u503c\uff0c\u9ed8\u8ba4\u4e3a 0 \u65e0\u9650\u5236\u3002"),(0,n.kt)("h3",{id:"indicatormin"},"Indicator.min"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"\u6307\u793a\u5668\u7684\u6700\u5c0f\u503c\uff0c\u9ed8\u8ba4\u4e3a 0 \u65e0\u9650\u5236\u3002"),(0,n.kt)("h3",{id:"indicatorname"},"Indicator.name"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6307\u793a\u5668\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"indicatoroutrangecolor"},"Indicator.outRangeColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Color.red")),(0,n.kt)("p",null,"\u6570\u503c\u8d85\u51fa\u8303\u56f4\u65f6\u663e\u793a\u7684\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"indicatorpositiontype"},"Indicator.positionType"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"PositionType")),(0,n.kt)("p",null,"\u663e\u793a\u4f4d\u7f6e\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"indicatorradius"},"Indicator.radius"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"100")),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u7684\u534a\u5f84\u3002"),(0,n.kt)("h3",{id:"indicatorrange"},"Indicator.range"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double[]")),(0,n.kt)("p",null,"\u6b63\u5e38\u503c\u8303\u56f4\u3002\u5f53\u6570\u503c\u4e0d\u5728\u8fd9\u4e2a\u8303\u56f4\u65f6\uff0c\u4f1a\u81ea\u52a8\u53d8\u66f4\u663e\u793a\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"indicatorshape"},"Indicator.shape"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Shape")),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u7ed8\u5236\u7c7b\u578b\uff0c\u652f\u6301 'Polygon' \u548c 'Circle'\u3002"),(0,n.kt)("h3",{id:"indicatorshow"},"Indicator.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u96f7\u8fbe\u5750\u6807\u7cfb\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"indicatorsplitarea"},"Indicator.splitArea"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axissplitarea"},"AxisSplitArea")),(0,n.kt)("p",null,"\u5206\u5272\u533a\u57df\u3002"),(0,n.kt)("h3",{id:"indicatorsplitline"},"Indicator.splitLine"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axissplitline"},"AxisSplitLine")),(0,n.kt)("p",null,"\u5206\u5272\u7ebf\u3002"),(0,n.kt)("h3",{id:"indicatorsplitnumber"},"Indicator.splitNumber"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"5")),(0,n.kt)("p",null,"\u6307\u793a\u5668\u8f74\u7684\u5206\u5272\u6bb5\u6570\u3002"),(0,n.kt)("h3",{id:"indicatorstartangle"},"Indicator.startAngle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.4.0")),(0,n.kt)("p",null,"\u8d77\u59cb\u89d2\u5ea6\u3002\u548c\u65f6\u949f\u4e00\u6837\uff0c12\u70b9\u949f\u4f4d\u7f6e\u662f0\u5ea6\uff0c\u987a\u65f6\u9488\u5230360\u5ea6\u3002"),(0,n.kt)("h2",{id:"ineedseriecontainer"},"INeedSerieContainer"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#bar"},"Bar"),", ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedbar"},"SimplifiedBar"),", ",(0,n.kt)("a",{parentName:"p",href:"#candlestick"},"Candlestick"),", ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedcandlestick"},"SimplifiedCandlestick"),", ",(0,n.kt)("a",{parentName:"p",href:"#heatmap"},"Heatmap"),", ",(0,n.kt)("a",{parentName:"p",href:"#line"},"Line"),", ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedline"},"SimplifiedLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#parallel"},"Parallel"),", ",(0,n.kt)("a",{parentName:"p",href:"#radar"},"Radar"),", ",(0,n.kt)("a",{parentName:"p",href:"#basescatter"},"BaseScatter")),(0,n.kt)("h2",{id:"ipropertychanged"},"IPropertyChanged"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#location"},"Location"),", ",(0,n.kt)("a",{parentName:"p",href:"#comment"},"Comment"),", ",(0,n.kt)("a",{parentName:"p",href:"#legend"},"Legend"),", ",(0,n.kt)("a",{parentName:"p",href:"#title"},"Title")),(0,n.kt)("p",null,"\u5c5e\u6027\u53d8\u66f4\u63a5\u53e3"),(0,n.kt)("h2",{id:"iseriecomponent"},"ISerieComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#areastyle"},"AreaStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#imagestyle"},"ImageStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#linearrow"},"LineArrow"),", ",(0,n.kt)("a",{parentName:"p",href:"#labelline"},"LabelLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#blurstyle"},"BlurStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#emphasisstyle"},"EmphasisStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#selectstyle"},"SelectStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#titlestyle"},"TitleStyle")),(0,n.kt)("p",null,"\u53ef\u7528\u4e8eSerie\u7684\u7ec4\u4ef6\u3002"),(0,n.kt)("h2",{id:"iseriecontainer"},"ISerieContainer"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#radarcoord"},"RadarCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#calendarcoord"},"CalendarCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#gridcoord"},"GridCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#gridcoord3d"},"GridCoord3D"),", ",(0,n.kt)("a",{parentName:"p",href:"#parallelcoord"},"ParallelCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#polarcoord"},"PolarCoord")),(0,n.kt)("h2",{id:"iseriedatacomponent"},"ISerieDataComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#areastyle"},"AreaStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#imagestyle"},"ImageStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#itemstyle"},"ItemStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#seriesymbol"},"SerieSymbol"),", ",(0,n.kt)("a",{parentName:"p",href:"#labelline"},"LabelLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#blurstyle"},"BlurStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#emphasisstyle"},"EmphasisStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#selectstyle"},"SelectStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#titlestyle"},"TitleStyle")),(0,n.kt)("p",null,"\u53ef\u7528\u4e8eSerieData\u7684\u7ec4\u4ef6\u3002"),(0,n.kt)("h2",{id:"isimplifiedserie"},"ISimplifiedSerie"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedbar"},"SimplifiedBar"),", ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedcandlestick"},"SimplifiedCandlestick"),", ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedline"},"SimplifiedLine")),(0,n.kt)("h2",{id:"itemstyle"},"ItemStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u56fe\u5f62\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"itemstylebackgroundcolor"},"ItemStyle.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"itemstylebackgroundwidth"},"ItemStyle.backgroundWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u80cc\u666f\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"itemstylebordercolor"},"ItemStyle.borderColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u8fb9\u6846\u7684\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"itemstylebordercolor0"},"ItemStyle.borderColor0"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u8fb9\u6846\u7684\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"itemstylebordergap"},"ItemStyle.borderGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u8fb9\u6846\u95f4\u9699\u3002"),(0,n.kt)("h3",{id:"itemstylebordertocolor"},"ItemStyle.borderToColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u8fb9\u6846\u7684\u6e10\u53d8\u8272\u3002"),(0,n.kt)("h3",{id:"itemstyleborderwidth"},"ItemStyle.borderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u8fb9\u6846\u5bbd\u3002"),(0,n.kt)("h3",{id:"itemstylecentercolor"},"ItemStyle.centerColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u4e2d\u5fc3\u533a\u57df\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"itemstylecentergap"},"ItemStyle.centerGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u4e2d\u5fc3\u533a\u57df\u95f4\u9699\u3002"),(0,n.kt)("h3",{id:"itemstylecolor"},"ItemStyle.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"itemstylecolor0"},"ItemStyle.color0"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"itemstylecornerradius"},"ItemStyle.cornerRadius"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u5706\u89d2\u534a\u5f84\u3002\u7528\u6570\u7ec4\u5206\u522b\u6307\u5b9a4\u4e2a\u5706\u89d2\u534a\u5f84\uff08\u987a\u65f6\u9488\u5de6\u4e0a\uff0c\u53f3\u4e0a\uff0c\u53f3\u4e0b\uff0c\u5de6\u4e0b\uff09\u3002"),(0,n.kt)("h3",{id:"itemstyleitemformatter"},"ItemStyle.itemFormatter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u5355\u9879\u7684\u5b57\u7b26\u4e32\u6a21\u7248\u683c\u5f0f\u5668\u3002\u5177\u4f53\u914d\u7f6e\u53c2\u8003",(0,n.kt)("inlineCode",{parentName:"p"},"Tooltip"),"\u7684",(0,n.kt)("inlineCode",{parentName:"p"},"formatter")),(0,n.kt)("h3",{id:"itemstyleitemmarker"},"ItemStyle.itemMarker"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u5355\u9879\u7684\u5b57\u7b26\u6807\u5fd7\u3002\u7528\u5728Tooltip\u4e2d\u3002"),(0,n.kt)("h3",{id:"itemstylemarkcolor"},"ItemStyle.markColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("p",null,"Serie\u7684\u6807\u8bc6\u989c\u8272\u3002\u4ec5\u7528\u4e8eLegend\u548cTooltip\u7684\u5c55\u793a\uff0c\u4e0d\u5f71\u54cd\u7ed8\u5236\u989c\u8272\uff0c\u9ed8\u8ba4\u4e3aclear\u3002"),(0,n.kt)("h3",{id:"itemstylenumericformatter"},"ItemStyle.numericFormatter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6807\u51c6\u6570\u5b57\u548c\u65e5\u671f\u683c\u5f0f\u5b57\u7b26\u4e32\u3002\u7528\u4e8e\u5c06Double\u6570\u503c\u6216DateTime\u65e5\u671f\u683c\u5f0f\u5316\u663e\u793a\u4e3a\u5b57\u7b26\u4e32\u3002numericFormatter\u7528\u6765\u4f5c\u4e3aDouble.ToString()\u6216DateTime.ToString()\u7684\u53c2\u6570\u3002",(0,n.kt)("br",null)," \u6570\u5b57\u683c\u5f0f\u4f7f\u7528Axx\u7684\u5f62\u5f0f\uff1aA\u662f\u683c\u5f0f\u8bf4\u660e\u7b26\u7684\u5355\u5b57\u7b26\uff0c\u652f\u6301C\u8d27\u5e01\u3001D\u5341\u8fdb\u5236\u3001E\u6307\u6570\u3001F\u5b9a\u70b9\u6570\u3001G\u5e38\u89c4\u3001N\u6570\u5b57\u3001P\u767e\u5206\u6bd4\u3001R\u5f80\u8fd4\u3001X\u5341\u516d\u8fdb\u5236\u7684\u3002xx\u662f\u7cbe\u5ea6\u8bf4\u660e\uff0c\u4ece0-99\u3002\u5982\uff1aF1, E2",(0,n.kt)("br",null)," \u65e5\u671f\u683c\u5f0f\uff1a\u4ee5",(0,n.kt)("inlineCode",{parentName:"p"},"date"),"\u5f00\u5934\uff0c\u7528\u6765\u683c\u5f0f\u5316DateTime\uff0c\u5e38\u89c1\u683c\u5f0f\u6709\uff1ayyyy\u5e74\uff0cMM\u6708\uff0cdd\u65e5\uff0cHH\u65f6\uff0cmm\u5206\uff0css\u79d2\uff0cfff\u6beb\u79d2\u3002\u5982\uff1adate:yyyy-MM-dd HH:mm:ss",(0,n.kt)("br",null)," \u65f6\u95f4\u683c\u5f0f\uff1a\u4ee5",(0,n.kt)("inlineCode",{parentName:"p"},"time"),"\u5f00\u5934\uff0c\u7528\u6765\u683c\u5f0f\u5316TimeSpan\uff0c\u5e38\u89c1\u683c\u5f0f\u6709\uff1ad\u65e5\uff0cHH\u65f6\uff0cmm\u5206\uff0css\u79d2\uff0cfffffff\u5c0f\u6570\u90e8\u5206\u3002 \u9700\u8981Unity2018\u4ee5\u4e0a\u7248\u672c\u624d\u652f\u6301\u683c\u5f0f\u5316\uff0c\u5e76\u4e14\u91cc\u9762\u7684\u5b57\u7b26\u8981\u8f6c\u4e49\u3002\u5982\uff1atime:d",".","HH\\:mm\\:ss",(0,n.kt)("br",null)," \u6570\u503c\u683c\u5f0f\u5316\u53c2\u8003\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings"},"https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings")," ",(0,n.kt)("br",null)," \u65e5\u671f\u683c\u5f0f\u5316\u53c2\u8003\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings"},"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings")," ",(0,n.kt)("br",null)," \u65f6\u95f4\u683c\u5f0f\u5316\u53c2\u8003\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings"},"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings")," ",(0,n.kt)("br",null)," \u6ce8\u610f\uff1adate\u548ctime\u683c\u5f0f\u9700\u8981",(0,n.kt)("inlineCode",{parentName:"p"},"v3.12.0"),"\u4ee5\u4e0a\u7248\u672c\u624d\u652f\u6301\u3002"),(0,n.kt)("h3",{id:"itemstyleopacity"},"ItemStyle.opacity"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1")),(0,n.kt)("p",null,"\u900f\u660e\u5ea6\u3002\u652f\u6301\u4ece 0 \u5230 1 \u7684\u6570\u5b57\uff0c\u4e3a 0 \u65f6\u4e0d\u7ed8\u5236\u8be5\u56fe\u5f62\u3002"),(0,n.kt)("h3",{id:"itemstyleshow"},"ItemStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u542f\u7528\u3002"),(0,n.kt)("h3",{id:"itemstyletocolor"},"ItemStyle.toColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6e10\u53d8\u8272\u7684\u989c\u82721\u3002"),(0,n.kt)("h3",{id:"itemstyletocolor2"},"ItemStyle.toColor2"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6e10\u53d8\u8272\u7684\u989c\u82722\u3002\u53ea\u5728\u6298\u7ebf\u56fe\u4e2d\u6709\u6548\u3002"),(0,n.kt)("h2",{id:"iupdateruntimedata"},"IUpdateRuntimeData"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#singleaxis"},"SingleAxis"),", ",(0,n.kt)("a",{parentName:"p",href:"#datazoom"},"DataZoom"),", ",(0,n.kt)("a",{parentName:"p",href:"#calendarcoord"},"CalendarCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#gridcoord"},"GridCoord"),", ",(0,n.kt)("a",{parentName:"p",href:"#gridlayout"},"GridLayout"),", ",(0,n.kt)("a",{parentName:"p",href:"#gridcoord3d"},"GridCoord3D"),", ",(0,n.kt)("a",{parentName:"p",href:"#parallelcoord"},"ParallelCoord")),(0,n.kt)("h2",{id:"labelline"},"LabelLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u6807\u7b7e\u7684\u5f15\u5bfc\u7ebf"),(0,n.kt)("h3",{id:"labellineendsymbol"},"LabelLine.endSymbol"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#symbolstyle"},"SymbolStyle")),(0,n.kt)("p",null,"\u7ed3\u675f\u70b9\u7684\u56fe\u5f62\u6807\u8bb0\u3002"),(0,n.kt)("h3",{id:"labellinelineangle"},"LabelLine.lineAngle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"60")),(0,n.kt)("p",null,"\u89c6\u89c9\u5f15\u5bfc\u7ebf\u7684\u56fa\u5b9a\u89d2\u5ea6\u3002\u5bf9\u6298\u7ebf\u548c\u66f2\u7ebf\u6709\u6548\u3002\u5728Pie\u4e2d\u65e0\u6548\u3002"),(0,n.kt)("h3",{id:"labellinelinecolor"},"LabelLine.lineColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Color32(0,0,0,0)")),(0,n.kt)("p",null,"\u89c6\u89c9\u5f15\u5bfc\u7ebf\u989c\u8272\u3002\u9ed8\u8ba4\u548cserie\u4e00\u81f4\u53d6\u81ea\u8c03\u8272\u677f\u3002"),(0,n.kt)("h3",{id:"labellinelineendx"},"LabelLine.lineEndX"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u89c6\u89c9\u5f15\u5bfc\u7ebf\u7ed3\u675f\u70b9\u7684\u56fa\u5b9ax\u4f4d\u7f6e\u3002\u5f53\u4e0d\u4e3a0\u65f6\uff0c\u4f1a\u4ee3\u66fflineLength2\u8bbe\u5b9a\u5f15\u5bfc\u7ebf\u7684x\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"labellinelinegap"},"LabelLine.lineGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1.0f")),(0,n.kt)("p",null,"\u89c6\u89c9\u5f15\u5bfc\u7ebf\u548c\u5bb9\u5668\u7684\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"labellinelinelength1"},"LabelLine.lineLength1"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"25f")),(0,n.kt)("p",null,"\u89c6\u89c9\u5f15\u5bfc\u7ebf\u7b2c\u4e00\u6bb5\u7684\u957f\u5ea6\u3002"),(0,n.kt)("h3",{id:"labellinelinelength2"},"LabelLine.lineLength2"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"15f")),(0,n.kt)("p",null,"\u89c6\u89c9\u5f15\u5bfc\u7ebf\u7b2c\u4e8c\u6bb5\u7684\u957f\u5ea6\u3002"),(0,n.kt)("h3",{id:"labellinelinetype"},"LabelLine.lineType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labellinelinetype"},"LabelLine.LineType")),(0,n.kt)("p",null,"\u89c6\u89c9\u5f15\u5bfc\u7ebf\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BrokenLine"),": \u6298\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Curves"),": \u66f2\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"HorizontalLine"),": \u6c34\u5e73\u7ebf")),(0,n.kt)("h3",{id:"labellinelinewidth"},"LabelLine.lineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1.0f")),(0,n.kt)("p",null,"\u89c6\u89c9\u5f15\u5bfc\u7ebf\u7684\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"labellineshow"},"LabelLine.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u89c6\u89c9\u5f15\u5bfc\u7ebf\u3002"),(0,n.kt)("h3",{id:"labellinestartsymbol"},"LabelLine.startSymbol"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#symbolstyle"},"SymbolStyle")),(0,n.kt)("p",null,"\u8d77\u59cb\u70b9\u7684\u56fe\u5f62\u6807\u8bb0\u3002"),(0,n.kt)("h2",{id:"labelstyle"},"LabelStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axislabel"},"AxisLabel"),", ",(0,n.kt)("a",{parentName:"p",href:"#endlabelstyle"},"EndLabelStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#titlestyle"},"TitleStyle")),(0,n.kt)("p",null,"\u56fe\u5f62\u4e0a\u7684\u6587\u672c\u6807\u7b7e\uff0c\u53ef\u7528\u4e8e\u8bf4\u660e\u56fe\u5f62\u7684\u4e00\u4e9b\u6570\u636e\u4fe1\u606f\uff0c\u6bd4\u5982\u503c\uff0c\u540d\u79f0\u7b49\u3002"),(0,n.kt)("h3",{id:"labelstyleautooffset"},"LabelStyle.autoOffset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u81ea\u52a8\u504f\u79fb\u3002\u5f53\u5f00\u542f\u65f6\uff0cY\u7684\u504f\u79fb\u4f1a\u81ea\u52a8\u5224\u65ad\u66f2\u7ebf\u7684\u5f00\u53e3\u6765\u51b3\u5b9a\u5411\u4e0a\u8fd8\u662f\u5411\u4e0b\u504f\u79fb\u3002"),(0,n.kt)("h3",{id:"labelstyleautorotate"},"LabelStyle.autoRotate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("p",null,"\u662f\u5426\u81ea\u52a8\u65cb\u8f6c\u3002"),(0,n.kt)("h3",{id:"labelstylebackground"},"LabelStyle.background"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#imagestyle"},"ImageStyle")),(0,n.kt)("p",null,"\u80cc\u666f\u56fe\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"labelstyledistance"},"LabelStyle.distance"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u8ddd\u79bb\u8f74\u7ebf\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"labelstyleformatter"},"LabelStyle.formatter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6807\u7b7e\u5185\u5bb9\u5b57\u7b26\u4e32\u6a21\u7248\u683c\u5f0f\u5668\u3002\u652f\u6301\u7528 \\n \u6362\u884c\u3002\u90e8\u5206\u7ec4\u4ef6\u7684\u683c\u5f0f\u5668\u4f1a\u4e0d\u751f\u6548\u3002",(0,n.kt)("br",null)," \u6a21\u677f\u901a\u914d\u7b26\u6709\u4ee5\u4e0b\u8fd9\u4e9b\uff0c\u90e8\u5206\u53ea\u9002\u7528\u4e8e\u56fa\u5b9a\u7684\u7ec4\u4ef6\uff1a",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{.}"),"\uff1a\u5706\u70b9\u6807\u8bb0\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{a}"),"\uff1a\u7cfb\u5217\u540d\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{b}"),"\uff1aX\u8f74\u7c7b\u76ee\u540d\u6216\u6570\u636e\u540d\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{c}"),"\uff1a\u6570\u636e\u503c\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{d}"),"\uff1a\u767e\u5206\u6bd4\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{e}"),"\uff1a\u6570\u636e\u540d\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{f}"),"\uff1a\u6570\u636e\u548c\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{g}"),"\uff1a\u6570\u636e\u603b\u4e2a\u6570\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{h}"),"\uff1a\u5341\u516d\u8fdb\u5236\u989c\u8272\u503c\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{y}"),"\uff1aY\u8f74\u7684\u7c7b\u76ee\u540d\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{value}"),"\uff1a\u5750\u6807\u8f74\u6216\u56fe\u4f8b\u7684\u503c\u3002",(0,n.kt)("br",null)," \u4ee5\u4e0b\u901a\u914d\u7b26\u9002\u7528UITable\u7ec4\u4ef6\uff1a",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{name}"),"\uff1a \u8868\u683c\u7684\u884c\u540d\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{index}"),"\uff1a\u8868\u683c\u7684\u884c\u53f7\u3002",(0,n.kt)("br",null)," \u4ee5\u4e0b\u901a\u914d\u7b26\u9002\u7528UIStatistc\u7ec4\u4ef6\uff1a",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{title}"),"\uff1a\u6807\u9898\u6587\u672c\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{dd}"),"\uff1a\u5929\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{hh}"),"\uff1a\u5c0f\u65f6\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{mm}"),"\uff1a\u5206\u949f\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{ss}"),"\uff1a\u79d2\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{fff}"),"\uff1a\u6beb\u79d2\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{d}"),"\uff1a\u5929\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{h}"),"\uff1a\u5c0f\u65f6\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{m}"),"\uff1a\u5206\u949f\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{s}"),"\uff1a\u79d2\u3002",(0,n.kt)("br",null)," ",(0,n.kt)("inlineCode",{parentName:"p"},"{f}"),"\uff1a\u6beb\u79d2\u3002",(0,n.kt)("br",null)," \u793a\u4f8b\uff1a\u201c{b}:{c}\u201d"),(0,n.kt)("h3",{id:"labelstyleheight"},"LabelStyle.height"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6807\u7b7e\u7684\u9ad8\u5ea6\u3002\u4e00\u822c\u4e0d\u7528\u6307\u5b9a\uff0c\u4e0d\u6307\u5b9a\u65f6\u5219\u81ea\u52a8\u662f\u6587\u5b57\u7684\u9ad8\u5ea6\u3002"),(0,n.kt)("h3",{id:"labelstyleicon"},"LabelStyle.icon"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#iconstyle"},"IconStyle")),(0,n.kt)("p",null,"\u56fe\u6807\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"labelstylenumericformatter"},"LabelStyle.numericFormatter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6807\u51c6\u6570\u5b57\u548c\u65e5\u671f\u683c\u5f0f\u5b57\u7b26\u4e32\u3002\u7528\u4e8e\u5c06Double\u6570\u503c\u6216DateTime\u65e5\u671f\u683c\u5f0f\u5316\u663e\u793a\u4e3a\u5b57\u7b26\u4e32\u3002numericFormatter\u7528\u6765\u4f5c\u4e3aDouble.ToString()\u6216DateTime.ToString()\u7684\u53c2\u6570\u3002",(0,n.kt)("br",null)," \u6570\u5b57\u683c\u5f0f\u4f7f\u7528Axx\u7684\u5f62\u5f0f\uff1aA\u662f\u683c\u5f0f\u8bf4\u660e\u7b26\u7684\u5355\u5b57\u7b26\uff0c\u652f\u6301C\u8d27\u5e01\u3001D\u5341\u8fdb\u5236\u3001E\u6307\u6570\u3001F\u5b9a\u70b9\u6570\u3001G\u5e38\u89c4\u3001N\u6570\u5b57\u3001P\u767e\u5206\u6bd4\u3001R\u5f80\u8fd4\u3001X\u5341\u516d\u8fdb\u5236\u7684\u3002xx\u662f\u7cbe\u5ea6\u8bf4\u660e\uff0c\u4ece0-99\u3002\u5982\uff1aF1, E2",(0,n.kt)("br",null)," \u65e5\u671f\u683c\u5f0f\uff1a\u4ee5",(0,n.kt)("inlineCode",{parentName:"p"},"date"),"\u5f00\u5934\uff0c\u7528\u6765\u683c\u5f0f\u5316DateTime\uff0c\u5e38\u89c1\u683c\u5f0f\u6709\uff1ayyyy\u5e74\uff0cMM\u6708\uff0cdd\u65e5\uff0cHH\u65f6\uff0cmm\u5206\uff0css\u79d2\uff0cfff\u6beb\u79d2\u3002\u5982\uff1adate:yyyy-MM-dd HH:mm:ss",(0,n.kt)("br",null)," \u65f6\u95f4\u683c\u5f0f\uff1a\u4ee5",(0,n.kt)("inlineCode",{parentName:"p"},"time"),"\u5f00\u5934\uff0c\u7528\u6765\u683c\u5f0f\u5316TimeSpan\uff0c\u5e38\u89c1\u683c\u5f0f\u6709\uff1ad\u65e5\uff0cHH\u65f6\uff0cmm\u5206\uff0css\u79d2\uff0cfffffff\u5c0f\u6570\u90e8\u5206\u3002 \u9700\u8981Unity2018\u4ee5\u4e0a\u7248\u672c\u624d\u652f\u6301\u683c\u5f0f\u5316\uff0c\u5e76\u4e14\u91cc\u9762\u7684\u5b57\u7b26\u8981\u8f6c\u4e49\u3002\u5982\uff1atime:d",".","HH\\:mm\\:ss",(0,n.kt)("br",null)," \u6570\u503c\u683c\u5f0f\u5316\u53c2\u8003\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings"},"https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings")," ",(0,n.kt)("br",null)," \u65e5\u671f\u683c\u5f0f\u5316\u53c2\u8003\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings"},"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings")," ",(0,n.kt)("br",null)," \u65f6\u95f4\u683c\u5f0f\u5316\u53c2\u8003\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings"},"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings")," ",(0,n.kt)("br",null)," \u6ce8\u610f\uff1adate\u548ctime\u683c\u5f0f\u9700\u8981",(0,n.kt)("inlineCode",{parentName:"p"},"v3.12.0"),"\u4ee5\u4e0a\u7248\u672c\u624d\u652f\u6301\u3002"),(0,n.kt)("h3",{id:"labelstyleoffset"},"LabelStyle.offset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Vector3")),(0,n.kt)("p",null,"\u8ddd\u79bb\u56fe\u5f62\u5143\u7d20\u7684\u504f\u79fb"),(0,n.kt)("h3",{id:"labelstyleposition"},"LabelStyle.Position"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"[SerializeField]")),(0,n.kt)("p",null,"\u6807\u7b7e\u7684\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"labelstylerotate"},"LabelStyle.rotate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6587\u672c\u7684\u65cb\u8f6c\u3002"),(0,n.kt)("h3",{id:"labelstyleshow"},"LabelStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6587\u672c\u6807\u7b7e\u3002"),(0,n.kt)("h3",{id:"labelstyletextpadding"},"LabelStyle.textPadding"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#textpadding"},"TextPadding")),(0,n.kt)("p",null,"\u6587\u672c\u7684\u8fb9\u8ddd\u3002"),(0,n.kt)("h3",{id:"labelstyletextstyle"},"LabelStyle.textStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#textstyle"},"TextStyle")),(0,n.kt)("p",null,"\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"labelstylewidth"},"LabelStyle.width"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6807\u7b7e\u7684\u5bbd\u5ea6\u3002\u4e00\u822c\u4e0d\u7528\u6307\u5b9a\uff0c\u4e0d\u6307\u5b9a\u65f6\u5219\u81ea\u52a8\u662f\u6587\u5b57\u7684\u5bbd\u5ea6\u3002"),(0,n.kt)("h2",{id:"lang"},"Lang"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=ScriptableObject"},"ScriptableObject")),(0,n.kt)("p",null,"\u56fd\u9645\u5316\u8bed\u8a00\u8868\u3002"),(0,n.kt)("h2",{id:"langcandlestick"},"LangCandlestick"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"langtime"},"LangTime"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"legend"},"Legend"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#ipropertychanged"},"IPropertyChanged")),(0,n.kt)("p",null,"\u56fe\u4f8b\u7ec4\u4ef6\u3002 \u56fe\u4f8b\u7ec4\u4ef6\u5c55\u73b0\u4e86\u4e0d\u540c\u7cfb\u5217\u7684\u6807\u8bb0\uff0c\u989c\u8272\u548c\u540d\u5b57\u3002\u53ef\u4ee5\u901a\u8fc7\u70b9\u51fb\u56fe\u4f8b\u63a7\u5236\u54ea\u4e9b\u7cfb\u5217\u4e0d\u663e\u793a\u3002"),(0,n.kt)("h3",{id:"legendbackground"},"Legend.background"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#imagestyle"},"ImageStyle")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.1.0")),(0,n.kt)("p",null,"\u80cc\u666f\u56fe\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"legendcolors"},"Legend.colors"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u56fe\u4f8b\u6807\u8bb0\u7684\u989c\u8272\u5217\u8868\u3002"),(0,n.kt)("h3",{id:"legenddata"},"Legend.data"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u56fe\u4f8b\u7684\u6570\u636e\u6570\u7ec4\u3002\u6570\u7ec4\u9879\u901a\u5e38\u4e3a\u4e00\u4e2a\u5b57\u7b26\u4e32\uff0c\u6bcf\u4e00\u9879\u4ee3\u8868\u4e00\u4e2a\u7cfb\u5217\u7684 name\uff08\u5982\u679c\u662f\u997c\u56fe\uff0c\u4e5f\u53ef\u4ee5\u662f\u997c\u56fe\u5355\u4e2a\u6570\u636e\u7684 name\uff09\u3002 \u5982\u679c data \u6ca1\u6709\u88ab\u6307\u5b9a\uff0c\u4f1a\u81ea\u52a8\u4ece\u5f53\u524d\u7cfb\u5217\u4e2d\u83b7\u53d6\u3002\u6307\u5b9adata\u65f6\u91cc\u9762\u7684\u6570\u636e\u9879\u548cserie\u5339\u914d\u65f6\u624d\u4f1a\u751f\u6548\u3002"),(0,n.kt)("h3",{id:"legendformatter"},"Legend.formatter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u4e0d\u518d\u4f7f\u7528\uff0c\u4f7f\u7528LabelStyle.formatter\u4ee3\u66ff\u3002"),(0,n.kt)("h3",{id:"legendicons"},"Legend.icons"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u81ea\u5b9a\u4e49\u7684\u56fe\u4f8b\u6807\u8bb0\u56fe\u5f62\u3002"),(0,n.kt)("h3",{id:"legendicontype"},"Legend.iconType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#legendtype"},"Legend.Type")),(0,n.kt)("p",null,"\u56fe\u4f8b\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u81ea\u52a8\u5339\u914d\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u56fe\u6807\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyCircle"),": \u7a7a\u5fc3\u5706\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Circle"),": \u5706\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Rect"),": \u6b63\u65b9\u5f62\u3002\u53ef\u901a\u8fc7Setting\u7684legendIconCornerRadius\u53c2\u6570\u8c03\u6574\u5706\u89d2\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Triangle"),": \u4e09\u89d2\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Diamond"),": \u83f1\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Candlestick"),": \u70db\u53f0\uff08\u53ef\u7528\u4e8eK\u7ebf\u56fe\uff09\u3002")),(0,n.kt)("h3",{id:"legenditemautocolor"},"Legend.itemAutoColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u56fe\u4f8b\u6807\u8bb0\u7684\u56fe\u5f62\u662f\u5426\u81ea\u52a8\u5339\u914d\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"legenditemgap"},"Legend.itemGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"10f")),(0,n.kt)("p",null,"\u56fe\u4f8b\u6bcf\u9879\u4e4b\u95f4\u7684\u95f4\u9694\u3002\u6a2a\u5411\u5e03\u5c40\u65f6\u4e3a\u6c34\u5e73\u95f4\u9694\uff0c\u7eb5\u5411\u5e03\u5c40\u65f6\u4e3a\u7eb5\u5411\u95f4\u9694\u3002"),(0,n.kt)("h3",{id:"legenditemheight"},"Legend.itemHeight"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"12.0f")),(0,n.kt)("p",null,"\u56fe\u4f8b\u6807\u8bb0\u7684\u56fe\u5f62\u9ad8\u5ea6\u3002"),(0,n.kt)("h3",{id:"legenditemopacity"},"Legend.itemOpacity"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1")),(0,n.kt)("p",null,"\u56fe\u4f8b\u6807\u8bb0\u7684\u56fe\u5f62\u7684\u989c\u8272\u900f\u660e\u5ea6\u3002"),(0,n.kt)("h3",{id:"legenditemwidth"},"Legend.itemWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"25.0f")),(0,n.kt)("p",null,"\u56fe\u4f8b\u6807\u8bb0\u7684\u56fe\u5f62\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"legendlabelstyle"},"Legend.labelStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"legendlocation"},"Legend.location"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#location"},"Location")),(0,n.kt)("p",null,"\u56fe\u4f8b\u663e\u793a\u7684\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"legendorient"},"Legend.orient"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#orient"},"Orient")),(0,n.kt)("p",null,"\u5e03\u5c40\u65b9\u5f0f\u662f\u6a2a\u8fd8\u662f\u7ad6\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Horizonal"),": \u6c34\u5e73"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Vertical"),": \u5782\u76f4")),(0,n.kt)("h3",{id:"legendpadding"},"Legend.padding"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#padding"},"Padding")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.1.0")),(0,n.kt)("p",null,"\u56fe\u4f8b\u6807\u8bb0\u548c\u80cc\u666f\u7684\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"legendpositions"},"Legend.positions"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("p",null,"\u56fe\u4f8b\u6807\u8bb0\u7684\u81ea\u5b9a\u4e49\u4f4d\u7f6e\u5217\u8868\u3002"),(0,n.kt)("h3",{id:"legendselectedmode"},"Legend.selectedMode"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#legendselectedmode"},"Legend.SelectedMode")),(0,n.kt)("p",null,"\u9009\u62e9\u6a21\u5f0f\u3002\u63a7\u5236\u662f\u5426\u53ef\u4ee5\u901a\u8fc7\u70b9\u51fb\u56fe\u4f8b\u6539\u53d8\u7cfb\u5217\u7684\u663e\u793a\u72b6\u6001\u3002\u9ed8\u8ba4\u5f00\u542f\u56fe\u4f8b\u9009\u62e9\uff0c\u53ef\u4ee5\u8bbe\u6210 None \u5173\u95ed\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Multiple"),": \u591a\u9009\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Single"),": \u5355\u9009\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u65e0\u6cd5\u9009\u62e9\u3002")),(0,n.kt)("h3",{id:"legendshow"},"Legend.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u56fe\u4f8b\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"legendtextlimit"},"Legend.textLimit"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#textlimit"},"TextLimit")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u6587\u672c\u9650\u5236\u3002"),(0,n.kt)("h2",{id:"legendtheme"},"LegendTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"legendthemeunablecolor"},"LegendTheme.unableColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u6587\u672c\u989c\u8272\u3002"),(0,n.kt)("h2",{id:"level"},"Level"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"leveldepth"},"Level.depth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u5c42\u7ea7\u6df1\u5ea6\u3002"),(0,n.kt)("h3",{id:"levelitemstyle"},"Level.itemStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#itemstyle"},"ItemStyle")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"levellabel"},"Level.label"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u6587\u672c\u6807\u7b7e\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"levellinestyle"},"Level.lineStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u7ebf\u6761\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"levelupperlabel"},"Level.upperLabel"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u4e0a\u65b9\u7684\u6587\u672c\u6807\u7b7e\u6837\u5f0f\u3002"),(0,n.kt)("h2",{id:"levelstyle"},"LevelStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("h3",{id:"levelstylelevels"},"LevelStyle.levels"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u5404\u5c42\u8282\u70b9\u5bf9\u5e94\u7684\u914d\u7f6e\u3002\u5f53enableLevels\u4e3atrue\u65f6\u751f\u6548\uff0clevels","[0]","\u5bf9\u5e94\u7684\u7b2c\u4e00\u5c42\u7684\u914d\u7f6e\uff0clevels","[1]","\u5bf9\u5e94\u7b2c\u4e8c\u5c42\uff0c\u4f9d\u6b21\u7c7b\u63a8\u3002\u5f53levels\u4e2d\u6ca1\u6709\u5bf9\u5e94\u5c42\u65f6\u7528\u9ed8\u8ba4\u7684\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"levelstyleshow"},"LevelStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u542f\u7528LevelStyle"),(0,n.kt)("h2",{id:"line"},"Line"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h2",{id:"linearrow"},"LineArrow"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent")),(0,n.kt)("h3",{id:"linearrowarrow"},"LineArrow.arrow"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#arrowstyle"},"ArrowStyle")),(0,n.kt)("p",null,"\u7bad\u5934\u3002"),(0,n.kt)("h3",{id:"linearrowposition"},"LineArrow.position"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linearrowposition"},"LineArrow.Position")),(0,n.kt)("p",null,"\u7bad\u5934\u4f4d\u7f6e\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"End"),": \u672b\u7aef\u7bad\u5934"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Start"),": \u5934\u7aef\u7bad\u5934")),(0,n.kt)("h3",{id:"linearrowshow"},"LineArrow.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7bad\u5934\u3002"),(0,n.kt)("h2",{id:"linestyle"},"LineStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u7ebf\u6761\u6837\u5f0f\u3002 \u6ce8\uff1a \u4fee\u6539 lineStyle \u4e2d\u7684\u989c\u8272\u4e0d\u4f1a\u5f71\u54cd\u56fe\u4f8b\u989c\u8272\uff0c\u5982\u679c\u9700\u8981\u56fe\u4f8b\u989c\u8272\u548c\u6298\u7ebf\u56fe\u989c\u8272\u4e00\u81f4\uff0c\u9700\u4fee\u6539 itemStyle.color\uff0c\u7ebf\u6761\u989c\u8272\u9ed8\u8ba4\u4e5f\u4f1a\u53d6\u8be5\u989c\u8272\u3002 toColor\uff0ctoColor2\u53ef\u8bbe\u7f6e\u6c34\u5e73\u65b9\u5411\u7684\u6e10\u53d8\uff0c\u5982\u9700\u8981\u8bbe\u7f6e\u5782\u76f4\u65b9\u5411\u7684\u6e10\u53d8\uff0c\u53ef\u4f7f\u7528VisualMap\u3002"),(0,n.kt)("h3",{id:"linestylecolor"},"LineStyle.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u7ebf\u7684\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"linestyledashlength"},"LineStyle.dashLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"4")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.1")),(0,n.kt)("p",null,"\u865a\u7ebf\u7684\u957f\u5ea6\u3002\u9ed8\u8ba40\u65f6\u4e3a\u7ebf\u6761\u5bbd\u5ea6\u768412\u500d\u3002\u5728\u6298\u7ebf\u56fe\u4e2d\u4ee3\u8868\u5206\u5272\u6bb5\u6570\u7684\u500d\u6570\u3002"),(0,n.kt)("h3",{id:"linestyledotlength"},"LineStyle.dotLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.1")),(0,n.kt)("p",null,"\u70b9\u7ebf\u7684\u957f\u5ea6\u3002\u9ed8\u8ba40\u65f6\u4e3a\u7ebf\u6761\u5bbd\u5ea6\u76843\u500d\u3002\u5728\u6298\u7ebf\u56fe\u4e2d\u4ee3\u8868\u5206\u5272\u6bb5\u6570\u7684\u500d\u6570\u3002"),(0,n.kt)("h3",{id:"linestylegaplength"},"LineStyle.gapLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.1")),(0,n.kt)("p",null,"\u70b9\u7ebf\u7684\u957f\u5ea6\u3002\u9ed8\u8ba40\u65f6\u4e3a\u7ebf\u6761\u5bbd\u5ea6\u76843\u500d\u3002\u5728\u6298\u7ebf\u56fe\u4e2d\u4ee3\u8868\u5206\u5272\u6bb5\u6570\u7684\u500d\u6570\u3002"),(0,n.kt)("h3",{id:"linestylelength"},"LineStyle.length"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u7ebf\u957f\u3002"),(0,n.kt)("h3",{id:"linestyleopacity"},"LineStyle.opacity"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1")),(0,n.kt)("p",null,"\u7ebf\u7684\u900f\u660e\u5ea6\u3002\u652f\u6301\u4ece 0 \u5230 1 \u7684\u6570\u5b57\uff0c\u4e3a 0 \u65f6\u4e0d\u7ed8\u5236\u8be5\u56fe\u5f62\u3002"),(0,n.kt)("h3",{id:"linestyleshow"},"LineStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7ebf\u6761\u3002\u5f53\u4f5c\u4e3a\u5b50\u7ec4\u4ef6\uff0c\u5b83\u7684\u7236\u7ec4\u4ef6\u6709\u53c2\u6570\u63a7\u5236\u662f\u5426\u663e\u793a\u65f6\uff0c\u6539\u53c2\u6570\u65e0\u6548\u3002"),(0,n.kt)("h3",{id:"linestyletocolor"},"LineStyle.toColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u7ebf\u7684\u6e10\u53d8\u989c\u8272\uff08\u9700\u8981\u6c34\u5e73\u65b9\u5411\u6e10\u53d8\u65f6\uff09\u3002"),(0,n.kt)("h3",{id:"linestyletocolor2"},"LineStyle.toColor2"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u7ebf\u7684\u6e10\u53d8\u989c\u82722\uff08\u9700\u8981\u6c34\u5e73\u65b9\u5411\u4e09\u4e2a\u6e10\u53d8\u8272\u7684\u6e10\u53d8\u65f6\uff09\u3002"),(0,n.kt)("h3",{id:"linestyletype"},"LineStyle.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyletype"},"LineStyle.Type")),(0,n.kt)("p",null,"\u7ebf\u7684\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Solid"),": \u5b9e\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dashed"),": \u865a\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dotted"),": \u70b9\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDot"),": \u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDotDot"),": \u53cc\u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u53cc\u70b9\u5212\u7ebf")),(0,n.kt)("h3",{id:"linestylewidth"},"LineStyle.width"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u7ebf\u5bbd\u3002"),(0,n.kt)("h2",{id:"location"},"Location"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#ipropertychanged"},"IPropertyChanged")),(0,n.kt)("p",null,"\u4f4d\u7f6e\u7c7b\u578b\u3002\u901a\u8fc7Align\u5feb\u901f\u8bbe\u7f6e\u5927\u4f53\u4f4d\u7f6e\uff0c\u518d\u901a\u8fc7left\uff0cright\uff0ctop\uff0cbottom\u5fae\u8c03\u5177\u4f53\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"locationalign"},"Location.align"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#locationalign"},"Location.Align")),(0,n.kt)("p",null,"\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"TopLeft"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"TopRight"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"TopCenter"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BottomLeft"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BottomRight"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"BottomCenter"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Center"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"CenterLeft"),": \u5bf9\u9f50\u65b9\u5f0f"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"CenterRight"),": \u5bf9\u9f50\u65b9\u5f0f")),(0,n.kt)("h3",{id:"locationbottom"},"Location.bottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u79bb\u5bb9\u5668\u4e0b\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"locationleft"},"Location.left"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u79bb\u5bb9\u5668\u5de6\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"locationright"},"Location.right"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u79bb\u5bb9\u5668\u53f3\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"locationtop"},"Location.top"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u79bb\u5bb9\u5668\u4e0a\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h2",{id:"maincomponent"},"MainComponent"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=IComparable"},"IComparable")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis"),", ",(0,n.kt)("a",{parentName:"p",href:"#background"},"Background"),", ",(0,n.kt)("a",{parentName:"p",href:"#comment"},"Comment"),", ",(0,n.kt)("a",{parentName:"p",href:"#datazoom"},"DataZoom"),", ",(0,n.kt)("a",{parentName:"p",href:"#legend"},"Legend"),", ",(0,n.kt)("a",{parentName:"p",href:"#markarea"},"MarkArea"),", ",(0,n.kt)("a",{parentName:"p",href:"#markline"},"MarkLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#settings"},"Settings"),", ",(0,n.kt)("a",{parentName:"p",href:"#title"},"Title"),", ",(0,n.kt)("a",{parentName:"p",href:"#tooltip"},"Tooltip"),", ",(0,n.kt)("a",{parentName:"p",href:"#visualmap"},"VisualMap"),", ",(0,n.kt)("a",{parentName:"p",href:"#gridlayout"},"GridLayout"),", ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem")),(0,n.kt)("h2",{id:"markarea"},"MarkArea"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u56fe\u8868\u6807\u57df\uff0c\u5e38\u7528\u4e8e\u6807\u8bb0\u56fe\u8868\u4e2d\u67d0\u4e2a\u8303\u56f4\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"markareaend"},"MarkArea.end"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#markareadata"},"MarkAreaData")),(0,n.kt)("p",null,"\u6807\u57df\u8303\u56f4\u7684\u7ed3\u675f\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"markareaitemstyle"},"MarkArea.itemStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#itemstyle"},"ItemStyle")),(0,n.kt)("p",null,"\u6807\u57df\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"markarealabel"},"MarkArea.label"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u6807\u57df\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"markareaserieindex"},"MarkArea.serieIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"Serie index of markArea. \u6807\u57df\u5f71\u54cd\u7684Serie\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"markareashow"},"MarkArea.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6807\u57df\u3002"),(0,n.kt)("h3",{id:"markareastart"},"MarkArea.start"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#markareadata"},"MarkAreaData")),(0,n.kt)("p",null,"\u6807\u57df\u8303\u56f4\u7684\u8d77\u59cb\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"markareatext"},"MarkArea.text"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"The text of markArea. \u6807\u57df\u663e\u793a\u7684\u6587\u672c\u3002"),(0,n.kt)("h2",{id:"markareadata"},"MarkAreaData"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6807\u57df\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"markareadatadimension"},"MarkAreaData.dimension"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1")),(0,n.kt)("p",null,"\u4ece\u54ea\u4e2a\u7ef4\u5ea6\u7684\u6570\u636e\u8ba1\u7b97\u6700\u5927\u6700\u5c0f\u503c\u7b49\u3002"),(0,n.kt)("h3",{id:"markareadataname"},"MarkAreaData.name"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6807\u6ce8\u540d\u79f0\u3002\u4f1a\u4f5c\u4e3a\u6587\u5b57\u663e\u793a\u3002"),(0,n.kt)("h3",{id:"markareadatatype"},"MarkAreaData.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#markareatype"},"MarkAreaType")),(0,n.kt)("p",null,"\u7279\u6b8a\u7684\u6807\u57df\u7c7b\u578b\uff0c\u7528\u4e8e\u6807\u6ce8\u6700\u5927\u503c\u6700\u5c0f\u503c\u7b49\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u6807\u57df\u7c7b\u578b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Min"),": \u6700\u5c0f\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Max"),": \u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Average"),": \u5e73\u5747\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Median"),": \u4e2d\u4f4d\u6570\u3002")),(0,n.kt)("h3",{id:"markareadataxposition"},"MarkAreaData.xPosition"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u76f8\u5bf9\u539f\u70b9\u7684 x \u5750\u6807\uff0c\u5355\u4f4d\u50cf\u7d20\u3002\u5f53type\u4e3aNone\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"markareadataxvalue"},"MarkAreaData.xValue"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"X\u8f74\u4e0a\u7684\u6307\u5b9a\u503c\u3002\u5f53X\u8f74\u4e3a\u7c7b\u76ee\u8f74\u65f6\u6307\u5b9a\u503c\u8868\u793a\u7c7b\u76ee\u8f74\u6570\u636e\u7684\u7d22\u5f15\uff0c\u5426\u5219\u4e3a\u5177\u4f53\u7684\u503c\u3002\u5f53type\u4e3aNone\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"markareadatayposition"},"MarkAreaData.yPosition"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u76f8\u5bf9\u539f\u70b9\u7684 y \u5750\u6807\uff0c\u5355\u4f4d\u50cf\u7d20\u3002\u5f53type\u4e3aNone\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"markareadatayvalue"},"MarkAreaData.yValue"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"Y\u8f74\u4e0a\u7684\u6307\u5b9a\u503c\u3002\u5f53Y\u8f74\u4e3a\u7c7b\u76ee\u8f74\u65f6\u6307\u5b9a\u503c\u8868\u793a\u7c7b\u76ee\u8f74\u6570\u636e\u7684\u7d22\u5f15\uff0c\u5426\u5219\u4e3a\u5177\u4f53\u7684\u503c\u3002\u5f53type\u4e3aNone\u65f6\u6709\u6548\u3002"),(0,n.kt)("h2",{id:"markline"},"MarkLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u56fe\u8868\u6807\u7ebf\u3002"),(0,n.kt)("h3",{id:"marklineanimation"},"MarkLine.animation"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationstyle"},"AnimationStyle")),(0,n.kt)("p",null,"\u6807\u7ebf\u7684\u52a8\u753b\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"marklinedata"},"MarkLine.data"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u6807\u7ebf\u7684\u6570\u636e\u5217\u8868\u3002\u5f53\u6570\u636e\u9879\u7684group\u4e3a0\u65f6\uff0c\u6bcf\u4e2a\u6570\u636e\u9879\u8868\u793a\u4e00\u6761\u6807\u7ebf\uff1b\u5f53group\u4e0d\u4e3a0\u65f6\uff0c\u76f8\u540cgroup\u7684\u4e24\u4e2a\u6570\u636e\u9879\u5206\u522b\u8868 \u793a\u6807\u7ebf\u7684\u8d77\u59cb\u70b9\u548c\u7ec8\u6b62\u70b9\u6765\u7ec4\u6210\u4e00\u6761\u6807\u7ebf\uff0c\u6b64\u65f6\u6807\u7ebf\u7684\u76f8\u5173\u6837\u5f0f\u53c2\u6570\u53d6\u8d77\u59cb\u70b9\u7684\u53c2\u6570\u3002"),(0,n.kt)("h3",{id:"marklineontop"},"MarkLine.onTop"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.9.0")),(0,n.kt)("p",null,"\u662f\u5426\u5728\u6700\u4e0a\u5c42\u3002"),(0,n.kt)("h3",{id:"marklineserieindex"},"MarkLine.serieIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6807\u7ebf\u5f71\u54cd\u7684Serie\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"marklineshow"},"MarkLine.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6807\u7ebf\u3002"),(0,n.kt)("h2",{id:"marklinedata-1"},"MarkLineData"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.9.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u56fe\u8868\u6807\u7ebf\u7684\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"marklinedatadimension"},"MarkLineData.dimension"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1")),(0,n.kt)("p",null,"\u4ece\u54ea\u4e2a\u7ef4\u5ea6\u7684\u6570\u636e\u8ba1\u7b97\u6700\u5927\u6700\u5c0f\u503c\u7b49\u3002"),(0,n.kt)("h3",{id:"marklinedataendsymbol"},"MarkLineData.endSymbol"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#symbolstyle"},"SymbolStyle")),(0,n.kt)("p",null,"\u7ed3\u675f\u70b9\u7684\u56fe\u5f62\u6807\u8bb0\u3002"),(0,n.kt)("h3",{id:"marklinedatagroup"},"MarkLineData.group"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u5206\u7ec4\u3002\u5f53group\u4e0d\u4e3a0\u65f6\uff0c\u8868\u793a\u8fd9\u4e2adata\u662f\u6807\u7ebf\u7684\u8d77\u70b9\u6216\u7ec8\u70b9\uff0cgroup\u4e00\u81f4\u7684data\u7ec4\u6210\u4e00\u6761\u6807\u7ebf\u3002"),(0,n.kt)("h3",{id:"marklinedatalabel"},"MarkLineData.label"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u6587\u672c\u6837\u5f0f\u3002\u53ef\u8bbe\u7f6eposition\u4e3aStart\u3001Middle\u548cEnd\u5728\u4e0d\u540c\u7684\u4f4d\u7f6e\u663e\u793a\u6587\u672c\u3002"),(0,n.kt)("h3",{id:"marklinedatalinestyle"},"MarkLineData.lineStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle")),(0,n.kt)("p",null,"\u6807\u7ebf\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"marklinedataname"},"MarkLineData.name"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6807\u7ebf\u540d\u79f0\uff0c\u5c06\u4f1a\u4f5c\u4e3a\u6587\u5b57\u663e\u793a\u3002label\u7684formatter\u53ef\u901a\u8fc7{b}\u663e\u793a\u540d\u79f0\uff0c\u901a\u8fc7{c}\u663e\u793a\u6570\u503c\u3002"),(0,n.kt)("h3",{id:"marklinedatastartsymbol"},"MarkLineData.startSymbol"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#symbolstyle"},"SymbolStyle")),(0,n.kt)("p",null,"\u8d77\u59cb\u70b9\u7684\u56fe\u5f62\u6807\u8bb0\u3002"),(0,n.kt)("h3",{id:"marklinedatatype"},"MarkLineData.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#marklinetype"},"MarkLineType")),(0,n.kt)("p",null,"\u7279\u6b8a\u7684\u6807\u7ebf\u7c7b\u578b\uff0c\u7528\u4e8e\u6807\u6ce8\u6700\u5927\u503c\u6700\u5c0f\u503c\u7b49\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u6807\u7ebf\u7c7b\u578b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Min"),": \u6700\u5c0f\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Max"),": \u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Average"),": \u5e73\u5747\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Median"),": \u4e2d\u4f4d\u6570\u3002")),(0,n.kt)("h3",{id:"marklinedataxposition"},"MarkLineData.xPosition"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u76f8\u5bf9\u539f\u70b9\u7684 x \u5750\u6807\uff0c\u5355\u4f4d\u50cf\u7d20\u3002\u5f53type\u4e3aNone\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"marklinedataxvalue"},"MarkLineData.xValue"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"X\u8f74\u4e0a\u7684\u6307\u5b9a\u503c\u3002\u5f53X\u8f74\u4e3a\u7c7b\u76ee\u8f74\u65f6\u6307\u5b9a\u503c\u8868\u793a\u7c7b\u76ee\u8f74\u6570\u636e\u7684\u7d22\u5f15\uff0c\u5426\u5219\u4e3a\u5177\u4f53\u7684\u503c\u3002\u5f53type\u4e3aNone\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"marklinedatayposition"},"MarkLineData.yPosition"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u76f8\u5bf9\u539f\u70b9\u7684 y \u5750\u6807\uff0c\u5355\u4f4d\u50cf\u7d20\u3002\u5f53type\u4e3aNone\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"marklinedatayvalue"},"MarkLineData.yValue"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"Y\u8f74\u4e0a\u7684\u6307\u5b9a\u503c\u3002\u5f53Y\u8f74\u4e3a\u7c7b\u76ee\u8f74\u65f6\u6307\u5b9a\u503c\u8868\u793a\u7c7b\u76ee\u8f74\u6570\u636e\u7684\u7d22\u5f15\uff0c\u5426\u5219\u4e3a\u5177\u4f53\u7684\u503c\u3002\u5f53type\u4e3aNone\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"marklinedatazeroposition"},"MarkLineData.zeroPosition"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u4e3a\u5750\u6807\u7cfb\u539f\u70b9\u3002"),(0,n.kt)("h2",{id:"marqueestyle"},"MarqueeStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.5.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"Marquee style. It can be used for the DataZoom component. \u9009\u53d6\u6846\u6837\u5f0f\u3002\u53ef\u7528\u4e8eDataZoom\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"marqueestyleapply"},"MarqueeStyle.apply"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.5.0")),(0,n.kt)("p",null,"\u9009\u53d6\u6846\u8303\u56f4\u662f\u5426\u5e94\u7528\u5230DataZoom\u4e0a\u3002\u5f53\u4e3atrue\u65f6\uff0c\u6846\u9009\u7ed3\u675f\u540e\u7684\u8303\u56f4\u5373\u4e3aDataZoom\u7684\u9009\u62e9\u8303\u56f4\u3002"),(0,n.kt)("h3",{id:"marqueestyleareastyle"},"MarqueeStyle.areaStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#areastyle"},"AreaStyle")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.5.0")),(0,n.kt)("p",null,"\u9009\u53d6\u6846\u533a\u57df\u586b\u5145\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"marqueestylelinestyle"},"MarqueeStyle.lineStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.5.0")),(0,n.kt)("p",null,"\u9009\u53d6\u6846\u533a\u57df\u8fb9\u6846\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"marqueestylerealrect"},"MarqueeStyle.realRect"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.5.0")),(0,n.kt)("p",null,"\u662f\u5426\u9009\u53d6\u5b9e\u9645\u6846\u9009\u533a\u57df\u3002\u5f53\u4e3atrue\u65f6\uff0c\u4ee5\u9f20\u6807\u7684\u5176\u5b9e\u70b9\u548c\u7ed3\u675f\u70b9\u95f4\u7684\u5b9e\u9645\u8303\u56f4\u4f5c\u4e3a\u6846\u9009\u533a\u57df\u3002"),(0,n.kt)("h2",{id:"mlvalue"},"MLValue"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u591a\u6837\u5f0f\u6570\u503c\u3002"),(0,n.kt)("h3",{id:"mlvaluetype"},"MLValue.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#mlvaluetype"},"MLValue.Type")),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Percent"),": \u767e\u5206\u6bd4\u5f62\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Absolute"),": \u7edd\u5bf9\u503c\u5f62\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Extra"),": \u989d\u5916\u5f62\u5f0f\u3002")),(0,n.kt)("h3",{id:"mlvaluevalue"},"MLValue.value"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("h2",{id:"padding"},"Padding"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#textpadding"},"TextPadding")),(0,n.kt)("p",null,"\u8fb9\u8ddd\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"paddingbottom"},"Padding.bottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u5e95\u90e8\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"paddingleft"},"Padding.left"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2f")),(0,n.kt)("p",null,"\u5de6\u8fb9\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"paddingright"},"Padding.right"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2f")),(0,n.kt)("p",null,"\u53f3\u90e8\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"paddingshow"},"Padding.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"show padding. \u662f\u5426\u663e\u793a\u3002"),(0,n.kt)("h3",{id:"paddingtop"},"Padding.top"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u9876\u90e8\u95f4\u8ddd\u3002"),(0,n.kt)("h2",{id:"parallel"},"Parallel"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h2",{id:"parallelaxis"},"ParallelAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("h2",{id:"parallelcoord"},"ParallelCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),", ",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("p",null,"Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid."),(0,n.kt)("h3",{id:"parallelcoordbackgroundcolor"},"ParallelCoord.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u7f51\u683c\u80cc\u666f\u8272\uff0c\u9ed8\u8ba4\u900f\u660e\u3002"),(0,n.kt)("h3",{id:"parallelcoordbottom"},"ParallelCoord.bottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.12f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0b\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"parallelcoordleft"},"ParallelCoord.left"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.1f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u5de6\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"parallelcoordorient"},"ParallelCoord.orient"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#orient"},"Orient")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u671d\u5411\u3002\u9ed8\u8ba4\u4e3a\u5782\u76f4\u671d\u5411\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Horizonal"),": \u6c34\u5e73"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Vertical"),": \u5782\u76f4")),(0,n.kt)("h3",{id:"parallelcoordright"},"ParallelCoord.right"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.08f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u53f3\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"parallelcoordshow"},"ParallelCoord.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u76f4\u89d2\u5750\u6807\u7cfb\u7f51\u683c\u3002"),(0,n.kt)("h3",{id:"parallelcoordtop"},"ParallelCoord.top"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.22f")),(0,n.kt)("p",null,"grid \u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0a\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h2",{id:"pie"},"Pie"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie")),(0,n.kt)("h3",{id:"pieradiusgradient"},"Pie.radiusGradient"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.1")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u534a\u5f84\u65b9\u5411\u7684\u6e10\u53d8\u6548\u679c\u3002"),(0,n.kt)("h2",{id:"polaraxistheme"},"PolarAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h2",{id:"polarcoord"},"PolarCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("p",null,"\u6781\u5750\u6807\u7cfb\u7ec4\u4ef6\u3002 \u6781\u5750\u6807\u7cfb\uff0c\u53ef\u4ee5\u7528\u4e8e\u6563\u70b9\u56fe\u548c\u6298\u7ebf\u56fe\u3002\u6bcf\u4e2a\u6781\u5750\u6807\u7cfb\u62e5\u6709\u4e00\u4e2a\u89d2\u5ea6\u8f74\u548c\u4e00\u4e2a\u534a\u5f84\u8f74\u3002"),(0,n.kt)("h3",{id:"polarcoordbackgroundcolor"},"PolarCoord.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u6781\u5750\u6807\u7684\u80cc\u666f\u8272\uff0c\u9ed8\u8ba4\u900f\u660e\u3002"),(0,n.kt)("h3",{id:"polarcoordcenter"},"PolarCoord.center"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u6781\u5750\u6807\u7684\u4e2d\u5fc3\u70b9\u3002\u6570\u7ec4\u7684\u7b2c\u4e00\u9879\u662f\u6a2a\u5750\u6807\uff0c\u7b2c\u4e8c\u9879\u662f\u7eb5\u5750\u6807\u3002 \u5f53\u503c\u4e3a0-1\u4e4b\u95f4\u65f6\u8868\u793a\u767e\u5206\u6bd4\uff0c\u8bbe\u7f6e\u6210\u767e\u5206\u6bd4\u65f6\u7b2c\u4e00\u9879\u662f\u76f8\u5bf9\u4e8e\u5bb9\u5668\u5bbd\u5ea6\uff0c\u7b2c\u4e8c\u9879\u662f\u76f8\u5bf9\u4e8e\u5bb9\u5668\u9ad8\u5ea6\u3002"),(0,n.kt)("h3",{id:"polarcoordindicatorlabeloffset"},"PolarCoord.indicatorLabelOffset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"30f")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u6307\u793a\u5668\u6807\u7b7e\u7684\u504f\u79fb\u91cf\u3002"),(0,n.kt)("h3",{id:"polarcoordradius"},"PolarCoord.radius"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u534a\u5f84\u3002radius","[0]","\u8868\u793a\u5185\u5f84\uff0cradius","[1]","\u8868\u793a\u5916\u5f84\u3002"),(0,n.kt)("h3",{id:"polarcoordshow"},"PolarCoord.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6781\u5750\u6807\u3002"),(0,n.kt)("h2",{id:"radar"},"Radar"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h3",{id:"radarsmooth"},"Radar.smooth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")),(0,n.kt)("p",null,"\u662f\u5426\u5e73\u6ed1\u66f2\u7ebf\u3002\u5e73\u6ed1\u66f2\u7ebf\u65f6\u4e0d\u652f\u6301\u533a\u57df\u586b\u5145\u989c\u8272\u3002"),(0,n.kt)("h2",{id:"radaraxistheme"},"RadarAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h2",{id:"radarcoord"},"RadarCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecontainer"},"ISerieContainer")),(0,n.kt)("p",null,"Radar coordinate conponnet for radar charts. \u96f7\u8fbe\u56fe\u5750\u6807\u7cfb\u7ec4\u4ef6\uff0c\u53ea\u9002\u7528\u4e8e\u96f7\u8fbe\u56fe\u3002"),(0,n.kt)("h2",{id:"radiusaxis"},"RadiusAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("p",null,"\u6781\u5750\u6807\u7cfb\u7684\u5f84\u5411\u8f74\u3002"),(0,n.kt)("h2",{id:"radiusaxistheme"},"RadiusAxisTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseaxistheme"},"BaseAxisTheme")),(0,n.kt)("h2",{id:"ring"},"Ring"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie")),(0,n.kt)("h3",{id:"ringradiusgradient"},"Ring.radiusGradient"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.12.0")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u534a\u5f84\u65b9\u5411\u7684\u6e10\u53d8\u6548\u679c\u3002"),(0,n.kt)("h2",{id:"scatter"},"Scatter"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#basescatter"},"BaseScatter")),(0,n.kt)("h2",{id:"selectstyle"},"SelectStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#statestyle"},"StateStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u9009\u4e2d\u72b6\u6001\u6837\u5f0f\u3002"),(0,n.kt)("h2",{id:"serie"},"Serie"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#baseserie"},"BaseSerie"),", ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=IComparable"},"IComparable")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#seriehandlert"},"SerieHandler","<","T",">"),", ",(0,n.kt)("a",{parentName:"p",href:"#bar"},"Bar"),", ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedbar"},"SimplifiedBar"),", ",(0,n.kt)("a",{parentName:"p",href:"#candlestick"},"Candlestick"),", ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedcandlestick"},"SimplifiedCandlestick"),", ",(0,n.kt)("a",{parentName:"p",href:"#heatmap"},"Heatmap"),", ",(0,n.kt)("a",{parentName:"p",href:"#line"},"Line"),", ",(0,n.kt)("a",{parentName:"p",href:"#simplifiedline"},"SimplifiedLine"),", ",(0,n.kt)("a",{parentName:"p",href:"#parallel"},"Parallel"),", ",(0,n.kt)("a",{parentName:"p",href:"#pie"},"Pie"),", ",(0,n.kt)("a",{parentName:"p",href:"#radar"},"Radar"),", ",(0,n.kt)("a",{parentName:"p",href:"#ring"},"Ring"),", ",(0,n.kt)("a",{parentName:"p",href:"#basescatter"},"BaseScatter")),(0,n.kt)("p",null,"\u7cfb\u5217\u3002\u7cfb\u5217\u4e00\u822c\u7531\u6570\u636e\u548c\u914d\u7f6e\u7ec4\u6210\uff0c\u7528\u6765\u8868\u793a\u5177\u4f53\u7684\u56fe\u8868\u56fe\u5f62\uff0c\u5982\u6298\u7ebf\u56fe\u7684\u4e00\u6761\u6298\u7ebf\uff0c\u67f1\u56fe\u7684\u4e00\u7ec4\u67f1\u5b50\u7b49\u3002\u4e00\u4e2a\u56fe\u8868\u4e2d\u53ef\u4ee5\u5305\u542b\u591a\u4e2a\u4e0d\u540c\u7c7b\u578b\u7684\u7cfb\u5217\u3002"),(0,n.kt)("h3",{id:"seriealign"},"Serie.align"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#align"},"Align")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u6c34\u5e73\u65b9\u5411\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Center"),": \u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Left"),": \u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Right"),": \u5bf9\u9f50\u65b9\u5f0f\u3002\u6587\u672c\uff0c\u56fe\u6807\uff0c\u56fe\u5f62\u7b49\u7684\u5bf9\u9f50\u65b9\u5f0f\u3002")),(0,n.kt)("h3",{id:"serieanimation"},"Serie.animation"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#animationstyle"},"AnimationStyle")),(0,n.kt)("p",null,"\u8d77\u59cb\u52a8\u753b\u3002"),(0,n.kt)("h3",{id:"serieavoidlabeloverlap"},"Serie.avoidLabelOverlap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u5728\u997c\u56fe\u4e14\u6807\u7b7e\u5916\u90e8\u663e\u793a\u7684\u60c5\u51b5\u4e0b\uff0c\u662f\u5426\u542f\u7528\u9632\u6b62\u6807\u7b7e\u91cd\u53e0\u7b56\u7565\uff0c\u9ed8\u8ba4\u5173\u95ed\uff0c\u5728\u6807\u7b7e\u62e5\u6324\u91cd\u53e0\u7684\u60c5\u51b5\u4e0b\u4f1a\u632a\u52a8\u5404\u4e2a\u6807\u7b7e\u7684\u4f4d\u7f6e\uff0c\u9632\u6b62\u6807\u7b7e\u95f4\u7684\u91cd\u53e0\u3002"),(0,n.kt)("h3",{id:"seriebargap"},"Serie.barGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.1f")),(0,n.kt)("p",null,"\u4e0d\u540c\u7cfb\u5217\u7684\u67f1\u95f4\u8ddd\u79bb\u3002\u4e3a\u767e\u5206\u6bd4\uff08\u5982 '0.3f'\uff0c\u8868\u793a\u67f1\u5b50\u5bbd\u5ea6\u7684 30%\uff09 \u5982\u679c\u60f3\u8981\u4e24\u4e2a\u7cfb\u5217\u7684\u67f1\u5b50\u91cd\u53e0\uff0c\u53ef\u4ee5\u8bbe\u7f6e barGap \u4e3a '-1f'\u3002\u8fd9\u5728\u7528\u67f1\u5b50\u505a\u80cc\u666f\u7684\u65f6\u5019\u6709\u7528\u3002 \u5728\u540c\u4e00\u5750\u6807\u7cfb\u4e0a\uff0c\u6b64\u5c5e\u6027\u4f1a\u88ab\u591a\u4e2a 'bar' \u7cfb\u5217\u5171\u4eab\u3002\u6b64\u5c5e\u6027\u5e94\u8bbe\u7f6e\u4e8e\u6b64\u5750\u6807\u7cfb\u4e2d\u6700\u540e\u4e00\u4e2a 'bar' \u7cfb\u5217\u4e0a\u624d\u4f1a\u751f\u6548\uff0c\u5e76\u4e14\u662f\u5bf9\u6b64\u5750\u6807\u7cfb\u4e2d\u6240\u6709 'bar' \u7cfb\u5217\u751f\u6548\u3002"),(0,n.kt)("h3",{id:"seriebarmaxwidth"},"Serie.barMaxWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.5.0")),(0,n.kt)("p",null,"\u67f1\u6761\u7684\u6700\u5927\u5bbd\u5ea6\uff0c\u9ed8\u8ba4\u4e3a0\u4e3a\u4e0d\u9650\u5236\u6700\u5927\u5bbd\u5ea6\u3002\u652f\u6301\u8bbe\u7f6e\u6210\u76f8\u5bf9\u4e8e\u7c7b\u76ee\u5bbd\u5ea6\u7684\u767e\u5206\u6bd4\u3002"),(0,n.kt)("h3",{id:"seriebarpercentstack"},"Serie.barPercentStack"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u67f1\u5f62\u56fe\u662f\u5426\u4e3a\u767e\u5206\u6bd4\u5806\u79ef\u3002\u76f8\u540cstack\u7684serie\u53ea\u8981\u6709\u4e00\u4e2abarPercentStack\u4e3atrue\uff0c\u5219\u5c31\u663e\u793a\u6210\u767e\u5206\u6bd4\u5806\u53e0\u67f1\u72b6\u56fe\u3002"),(0,n.kt)("h3",{id:"seriebartype"},"Serie.barType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#bartype"},"BarType")),(0,n.kt)("p",null,"\u67f1\u5f62\u56fe\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Normal"),": \u666e\u901a\u67f1\u5f62\u56fe\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Zebra"),": \u6591\u9a6c\u67f1\u5f62\u56fe\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Capsule"),": \u80f6\u56ca\u67f1\u5f62\u56fe\u3002")),(0,n.kt)("h3",{id:"seriebarwidth"},"Serie.barWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u67f1\u6761\u7684\u5bbd\u5ea6\uff0c\u4e0d\u8bbe\u65f6\u81ea\u9002\u5e94\u3002\u652f\u6301\u8bbe\u7f6e\u6210\u76f8\u5bf9\u4e8e\u7c7b\u76ee\u5bbd\u5ea6\u7684\u767e\u5206\u6bd4\u3002"),(0,n.kt)("h3",{id:"seriebarzebragap"},"Serie.barZebraGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2f")),(0,n.kt)("p",null,"\u6591\u9a6c\u7ebf\u7684\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"seriebarzebrawidth"},"Serie.barZebraWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"4f")),(0,n.kt)("p",null,"\u6591\u9a6c\u7ebf\u7684\u7c97\u7ec6\u3002"),(0,n.kt)("h3",{id:"seriebottom"},"Serie.bottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0b\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"seriecenter"},"Serie.center"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u4e2d\u5fc3\u70b9\u3002"),(0,n.kt)("h3",{id:"serieclickoffset"},"Serie.clickOffset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u9f20\u6807\u70b9\u51fb\u65f6\u662f\u5426\u5f00\u542f\u504f\u79fb\uff0c\u4e00\u822c\u7528\u5728PieChart\u56fe\u8868\u4e2d\u3002"),(0,n.kt)("h3",{id:"serieclip"},"Serie.clip"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u88c1\u526a\u8d85\u51fa\u5750\u6807\u7cfb\u90e8\u5206\u7684\u56fe\u5f62\u3002"),(0,n.kt)("h3",{id:"serieclockwise"},"Serie.clockwise"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u987a\u65f6\u9488\u3002"),(0,n.kt)("h3",{id:"seriecolorby"},"Serie.colorBy"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#seriecolorby"},"SerieColorBy")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")),(0,n.kt)("p",null,"\u4ece\u4e3b\u9898\u4e2d\u53d6\u8272\u7684\u7b56\u7565\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Default"),": \u9ed8\u8ba4\u7b56\u7565\u3002\u6bcf\u79cdSerie\u90fd\u6709\u81ea\u5df1\u7684\u9ed8\u8ba4\u7684\u53d6\u989c\u8272\u7b56\u7565\u3002\u6bd4\u5982Line\u9ed8\u8ba4\u662fSeries\u7b56\u7565\uff0cPie\u9ed8\u8ba4\u662fData\u7b56\u7565\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Serie"),": \u6309\u7167\u7cfb\u5217\u5206\u914d\u8c03\u8272\u76d8\u4e2d\u7684\u989c\u8272\uff0c\u540c\u4e00\u7cfb\u5217\u4e2d\u7684\u6240\u6709\u6570\u636e\u90fd\u662f\u7528\u76f8\u540c\u7684\u989c\u8272\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Data"),": \u6309\u7167\u6570\u636e\u9879\u5206\u914d\u8c03\u8272\u76d8\u4e2d\u7684\u989c\u8272\uff0c\u6bcf\u4e2a\u6570\u636e\u9879\u90fd\u4f7f\u7528\u4e0d\u540c\u7684\u989c\u8272\u3002")),(0,n.kt)("h3",{id:"seriecoordsystem"},"Serie.coordSystem"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u4f7f\u7528\u7684\u5750\u6807\u7cfb\u3002"),(0,n.kt)("h3",{id:"seriedata"},"Serie.data"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u7cfb\u5217\u4e2d\u7684\u6570\u636e\u5185\u5bb9\u6570\u7ec4\u3002SerieData\u53ef\u4ee5\u8bbe\u7f6e1\u5230n\u7ef4\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"seriedatasorttype"},"Serie.dataSortType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#seriedatasorttype"},"SerieDataSortType")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u7684\u6570\u636e\u6392\u5e8f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u6309\u6570\u636e\u7684\u987a\u5e8f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Ascending"),": \u5347\u5e8f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Descending"),": \u964d\u5e8f\u3002")),(0,n.kt)("h3",{id:"serieendangle"},"Serie.endAngle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ed3\u675f\u89d2\u5ea6\u3002\u548c\u65f6\u949f\u4e00\u6837\uff0c12\u70b9\u949f\u4f4d\u7f6e\u662f0\u5ea6\uff0c\u987a\u65f6\u9488\u5230360\u5ea6\u3002"),(0,n.kt)("h3",{id:"seriegap"},"Serie.gap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"seriegridindex"},"Serie.gridIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"-1")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u6240\u4f7f\u7528\u7684 layout \u7ec4\u4ef6\u7684 index\u3002 \u9ed8\u8ba4\u4e3a-1\u4e0d\u6307\u5b9aindex, \u5f53\u4e3a\u5927\u4e8e\u6216\u7b49\u4e8e0\u65f6, \u4e3a\u7b2c\u4e00\u4e2alayout\u7ec4\u4ef6\u7684\u7b2cindex\u4e2a\u683c\u5b50\u3002"),(0,n.kt)("h3",{id:"serieignore"},"Serie.ignore"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u5ffd\u7565\u6570\u636e\u3002\u5f53\u4e3a true \u65f6\uff0c\u6570\u636e\u503c\u4e3a ignoreValue \u65f6\u4e0d\u8fdb\u884c\u7ed8\u5236\u3002"),(0,n.kt)("h3",{id:"serieignorelinebreak"},"Serie.ignoreLineBreak"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u5ffd\u7565\u6570\u636e\u65f6\u6298\u7ebf\u662f\u65ad\u5f00\u8fd8\u662f\u8fde\u63a5\u3002\u9ed8\u8ba4false\u4e3a\u8fde\u63a5\u3002"),(0,n.kt)("h3",{id:"serieignorevalue"},"Serie.ignoreValue"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u5ffd\u7565\u6570\u636e\u7684\u9ed8\u8ba4\u503c\u3002\u5f53ignore\u4e3atrue\u624d\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"serieindex"},"Serie.index"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u7cfb\u5217\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"serieinsertdatatohead"},"Serie.insertDataToHead"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u6dfb\u52a0\u65b0\u6570\u636e\u65f6\u662f\u5728\u5217\u8868\u7684\u5934\u90e8\u8fd8\u662f\u5c3e\u90e8\u52a0\u5165\u3002"),(0,n.kt)("h3",{id:"serieitemstyle"},"Serie.itemStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#itemstyle"},"ItemStyle")),(0,n.kt)("p",null,"\u56fe\u5f62\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"serielarge"},"Serie.large"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u5927\u6570\u636e\u91cf\u4f18\u5316\uff0c\u5728\u6570\u636e\u56fe\u5f62\u7279\u522b\u591a\u800c\u51fa\u73b0\u5361\u987f\u65f6\u5019\u53ef\u4ee5\u5f00\u542f\u3002 \u5f00\u542f\u540e\u914d\u5408 largeThreshold \u5728\u6570\u636e\u91cf\u5927\u4e8e\u6307\u5b9a\u9608\u503c\u7684\u65f6\u5019\u5bf9\u7ed8\u5236\u8fdb\u884c\u4f18\u5316\u3002 \u7f3a\u70b9\uff1a\u4f18\u5316\u540e\u4e0d\u80fd\u81ea\u5b9a\u4e49\u8bbe\u7f6e\u5355\u4e2a\u6570\u636e\u9879\u7684\u6837\u5f0f\uff0c\u4e0d\u80fd\u663e\u793aLabel\u3002"),(0,n.kt)("h3",{id:"serielargethreshold"},"Serie.largeThreshold"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"200")),(0,n.kt)("p",null,"\u5f00\u542f\u5927\u6570\u91cf\u4f18\u5316\u7684\u9608\u503c\u3002\u53ea\u6709\u5f53\u5f00\u542f\u4e86large\u5e76\u4e14\u6570\u636e\u91cf\u5927\u4e8e\u8be5\u9600\u503c\u65f6\u624d\u8fdb\u5165\u6027\u80fd\u6a21\u5f0f\u3002"),(0,n.kt)("h3",{id:"serieleft"},"Serie.left"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u5de6\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"serielinestyle"},"Serie.lineStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle")),(0,n.kt)("p",null,"\u7ebf\u6761\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"serielinetype"},"Serie.lineType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linetype"},"LineType")),(0,n.kt)("p",null,"\u6298\u7ebf\u56fe\u6837\u5f0f\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Normal"),": \u666e\u901a\u6298\u7ebf\u56fe\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Smooth"),": \u5e73\u6ed1\u66f2\u7ebf\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"StepStart"),": \u9636\u68af\u7ebf\u56fe\uff1a\u5f53\u524d\u70b9\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"StepMiddle"),": \u9636\u68af\u7ebf\u56fe\uff1a\u5f53\u524d\u70b9\u548c\u4e0b\u4e00\u4e2a\u70b9\u7684\u4e2d\u95f4\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"StepEnd"),": \u9636\u68af\u7ebf\u56fe\uff1a\u4e0b\u4e00\u4e2a\u62d0\u70b9\u3002")),(0,n.kt)("h3",{id:"serielinks"},"Serie.links"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u6570\u636e\u8282\u70b9\u7684\u8fb9\u3002"),(0,n.kt)("h3",{id:"seriemax"},"Serie.max"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6700\u5927\u503c\u3002"),(0,n.kt)("h3",{id:"seriemaxcache"},"Serie.maxCache"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u7cfb\u5217\u4e2d\u53ef\u7f13\u5b58\u7684\u6700\u5927\u6570\u636e\u91cf\u3002\u9ed8\u8ba4\u4e3a0\u6ca1\u6709\u9650\u5236\uff0c\u5927\u4e8e0\u65f6\u8d85\u8fc7\u6307\u5b9a\u503c\u4f1a\u79fb\u9664\u65e7\u6570\u636e\u518d\u63d2\u5165\u65b0\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"seriemaxshow"},"Serie.maxShow"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u7cfb\u5217\u6240\u663e\u793a\u6570\u636e\u7684\u6700\u5927\u7d22\u5f15"),(0,n.kt)("h3",{id:"seriemaxsize"},"Serie.maxSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1f")),(0,n.kt)("p",null,"\u6570\u636e\u6700\u5927\u503c max \u6620\u5c04\u7684\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"seriemin"},"Serie.min"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6700\u5c0f\u503c\u3002"),(0,n.kt)("h3",{id:"serieminangle"},"Serie.minAngle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6700\u5c0f\u7684\u6247\u533a\u89d2\u5ea6\uff080-360\uff09\u3002\u7528\u4e8e\u9632\u6b62\u67d0\u4e2a\u503c\u8fc7\u5c0f\u5bfc\u81f4\u6247\u533a\u592a\u5c0f\u5f71\u54cd\u4ea4\u4e92\u3002"),(0,n.kt)("h3",{id:"serieminradius"},"Serie.minRadius"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.8.0")),(0,n.kt)("p",null,"\u6700\u5c0f\u534a\u5f84\u3002\u53ef\u7528\u4e8e\u9650\u5236\u73ab\u7470\u56fe\u7684\u6700\u5c0f\u534a\u5f84\u3002"),(0,n.kt)("h3",{id:"serieminshow"},"Serie.minShow"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u7cfb\u5217\u6240\u663e\u793a\u6570\u636e\u7684\u6700\u5c0f\u7d22\u5f15"),(0,n.kt)("h3",{id:"serieminshowlabel"},"Serie.minShowLabel"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u503c\u5c0f\u4e8e\u6307\u5b9a\u503c",(0,n.kt)("inlineCode",{parentName:"p"},"minShowLabelValue"),"\u65f6\u4e0d\u663e\u793a\u6807\u7b7e\u3002"),(0,n.kt)("h3",{id:"serieminshowlabelvalue"},"Serie.minShowLabelValue"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u5f53\u5f00\u542f",(0,n.kt)("inlineCode",{parentName:"p"},"minShowLabel"),"\u65f6\uff0c\u503c\u5c0f\u4e8e\u8be5\u503c\u65f6\u4e0d\u663e\u793a\u6807\u7b7e\u3002"),(0,n.kt)("h3",{id:"serieminsize"},"Serie.minSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u6570\u636e\u6700\u5c0f\u503c min \u6620\u5c04\u7684\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"serieorient"},"Serie.orient"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#orient"},"Orient")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u7684\u671d\u5411\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Horizonal"),": \u6c34\u5e73"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Vertical"),": \u5782\u76f4")),(0,n.kt)("h3",{id:"serieparallelindex"},"Serie.parallelIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6240\u4f7f\u7528\u7684 parallel coord \u7ec4\u4ef6\u7684 index\u3002"),(0,n.kt)("h3",{id:"serieplaceholder"},"Serie.placeHolder"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u5360\u4f4d\u6a21\u5f0f\u3002\u5360\u4f4d\u6a21\u5f0f\u65f6\uff0c\u6570\u636e\u6709\u6548\u4f46\u4e0d\u53c2\u4e0e\u6e32\u67d3\u548c\u663e\u793a\u3002"),(0,n.kt)("h3",{id:"seriepolarindex"},"Serie.polarIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6240\u4f7f\u7528\u7684 polar \u7ec4\u4ef6\u7684 index\u3002"),(0,n.kt)("h3",{id:"serieradarindex"},"Serie.radarIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u6240\u4f7f\u7528\u7684 radar \u7ec4\u4ef6\u7684 index\u3002"),(0,n.kt)("h3",{id:"serieradartype"},"Serie.radarType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#radartype"},"RadarType")),(0,n.kt)("p",null,"\u96f7\u8fbe\u56fe\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Multiple"),": \u591a\u5708\u96f7\u8fbe\u56fe\u3002\u6b64\u65f6\u53ef\u4e00\u4e2a\u96f7\u8fbe\u91cc\u7ed8\u5236\u591a\u4e2a\u5708\uff0c\u4e00\u4e2aserieData\u5c31\u53ef\u7ec4\u6210\u4e00\u4e2a\u5708\uff08\u591a\u7ef4\u6570\u636e\uff09\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Single"),": \u5355\u5708\u96f7\u8fbe\u56fe\u3002\u6b64\u65f6\u4e00\u4e2a\u96f7\u8fbe\u53ea\u80fd\u7ed8\u5236\u4e00\u4e2a\u5708\uff0c\u591a\u4e2aserieData\u7ec4\u6210\u4e00\u4e2a\u5708\uff0c\u6570\u636e\u53d6\u81ea",(0,n.kt)("inlineCode",{parentName:"li"},"data[1]"),"\u3002")),(0,n.kt)("h3",{id:"serieradius"},"Serie.radius"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u534a\u5f84\u3002radius","[0]","\u8868\u793a\u5185\u5f84\uff0cradius","[1]","\u8868\u793a\u5916\u5f84\u3002"),(0,n.kt)("h3",{id:"serieright"},"Serie.right"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u53f3\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"serierosetype"},"Serie.roseType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#rosetype"},"RoseType")),(0,n.kt)("p",null,"\u662f\u5426\u5c55\u793a\u6210\u5357\u4e01\u683c\u5c14\u56fe\uff0c\u901a\u8fc7\u534a\u5f84\u533a\u5206\u6570\u636e\u5927\u5c0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4e0d\u5c55\u793a\u6210\u5357\u4e01\u683c\u5c14\u73ab\u7470\u56fe\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Radius"),": \u6247\u533a\u5706\u5fc3\u89d2\u5c55\u73b0\u6570\u636e\u7684\u767e\u5206\u6bd4\uff0c\u534a\u5f84\u5c55\u73b0\u6570\u636e\u7684\u5927\u5c0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Area"),": \u6240\u6709\u6247\u533a\u5706\u5fc3\u89d2\u76f8\u540c\uff0c\u4ec5\u901a\u8fc7\u534a\u5f84\u5c55\u73b0\u6570\u636e\u5927\u5c0f\u3002")),(0,n.kt)("h3",{id:"serieroundcap"},"Serie.roundCap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u5706\u5f27\u6548\u679c\u3002"),(0,n.kt)("h3",{id:"seriesampleaverage"},"Serie.sampleAverage"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u8bbe\u5b9a\u7684\u91c7\u6837\u5e73\u5747\u503c\u3002\u5f53sampleType \u4e3a Peak \u65f6\uff0c\u7528\u4e8e\u548c\u8fc7\u6ee4\u6570\u636e\u7684\u5e73\u5747\u503c\u505a\u5bf9\u6bd4\u662f\u53d6\u6700\u5927\u503c\u8fd8\u662f\u6700\u5c0f\u503c\u3002\u9ed8\u8ba4\u4e3a0\u65f6\u4f1a\u5b9e\u65f6\u8ba1\u7b97\u6240\u6709\u6570\u636e\u7684\u5e73\u5747\u503c\u3002"),(0,n.kt)("h3",{id:"seriesampledist"},"Serie.sampleDist"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u91c7\u6837\u7684\u6700\u5c0f\u50cf\u7d20\u8ddd\u79bb\uff0c\u9ed8\u8ba4\u4e3a0\u65f6\u4e0d\u91c7\u6837\u3002\u5f53\u4e24\u4e2a\u6570\u636e\u70b9\u95f4\u7684\u6c34\u5e73\u8ddd\u79bb\u5c0f\u4e8e\u6539\u503c\u65f6\uff0c\u5f00\u542f\u91c7\u6837\uff0c\u4fdd\u8bc1\u4e24\u70b9\u95f4\u7684\u6c34\u5e73\u8ddd\u79bb\u4e0d\u5c0f\u4e8e\u6539\u503c\u3002"),(0,n.kt)("h3",{id:"seriesampletype"},"Serie.sampleType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#sampletype"},"SampleType")),(0,n.kt)("p",null,"\u91c7\u6837\u7c7b\u578b\u3002\u5f53sampleDist\u5927\u4e8e0\u65f6\u6709\u6548\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Peak"),": \u53d6\u5cf0\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Average"),": \u53d6\u8fc7\u6ee4\u70b9\u7684\u5e73\u5747\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Max"),": \u53d6\u8fc7\u6ee4\u70b9\u7684\u6700\u5927\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Min"),": \u53d6\u8fc7\u6ee4\u70b9\u7684\u6700\u5c0f\u503c\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Sum"),": \u53d6\u8fc7\u6ee4\u70b9\u7684\u548c\u3002")),(0,n.kt)("h3",{id:"serieseriename"},"Serie.serieName"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u7cfb\u5217\u540d\u79f0\uff0c\u7528\u4e8e tooltip \u7684\u663e\u793a\uff0clegend \u7684\u56fe\u4f8b\u7b5b\u9009\u3002"),(0,n.kt)("h3",{id:"serieserietype"},"Serie.serieType"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u7cfb\u5217\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"serieshow"},"Serie.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u7cfb\u5217\u662f\u5426\u663e\u793a\u5728\u56fe\u8868\u4e0a\u3002"),(0,n.kt)("h3",{id:"serieshowaspositivenumber"},"Serie.showAsPositiveNumber"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u5c06\u8d1f\u6570\u6570\u503c\u663e\u793a\u4e3a\u6b63\u6570\u3002\u4e00\u822c\u548c",(0,n.kt)("inlineCode",{parentName:"p"},"AxisLabel"),"\u7684",(0,n.kt)("inlineCode",{parentName:"p"},"showAsPositiveNumber"),"\u914d\u5408\u4f7f\u7528\u3002\u4ec5\u5728\u6298\u7ebf\u56fe\u548c\u67f1\u72b6\u56fe\u4e2d\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"serieshowdatadimension"},"Serie.showDataDimension"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u91cc\u7684\u6570\u636e\u7ef4\u6570\u3002"),(0,n.kt)("h3",{id:"serieshowdataname"},"Serie.showDataName"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u5728Editor\u7684inpsector\u4e0a\u662f\u5426\u663e\u793aname\u53c2\u6570"),(0,n.kt)("h3",{id:"seriesingleaxisindex"},"Serie.singleAxisIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6240\u4f7f\u7528\u7684 singleAxis \u7ec4\u4ef6\u7684 index\u3002"),(0,n.kt)("h3",{id:"seriesmoothlimit"},"Serie.smoothLimit"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.4.0")),(0,n.kt)("p",null,"\u662f\u5426\u9650\u5236\u66f2\u7ebf\u3002\u5f53\u4e3atrue\u65f6\uff0c\u4e24\u4e2a\u8fde\u7eed\u76f8\u540c\u6570\u503c\u7684\u6570\u636e\u95f4\u7684\u66f2\u7ebf\u4f1a\u9650\u5236\u4e3a\u4e0d\u8d85\u51fa\u6570\u636e\u70b9\uff0c\u548c\u6570\u636e\u70b9\u662f\u5e73\u76f4\u7684\u3002"),(0,n.kt)("h3",{id:"seriesplitnumber"},"Serie.splitNumber"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u523b\u5ea6\u5206\u5272\u6bb5\u6570\u3002\u6700\u5927\u53ef\u8bbe\u7f6e36\u3002"),(0,n.kt)("h3",{id:"seriestack"},"Serie.stack"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6570\u636e\u5806\u53e0\uff0c\u540c\u4e2a\u7c7b\u76ee\u8f74\u4e0a\u7cfb\u5217\u914d\u7f6e\u76f8\u540c\u7684stack\u503c\u540e\uff0c\u540e\u4e00\u4e2a\u7cfb\u5217\u7684\u503c\u4f1a\u5728\u524d\u4e00\u4e2a\u7cfb\u5217\u7684\u503c\u4e0a\u76f8\u52a0\u3002"),(0,n.kt)("h3",{id:"seriestartangle"},"Serie.startAngle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u8d77\u59cb\u89d2\u5ea6\u3002\u548c\u65f6\u949f\u4e00\u6837\uff0c12\u70b9\u949f\u4f4d\u7f6e\u662f0\u5ea6\uff0c\u987a\u65f6\u9488\u5230360\u5ea6\u3002"),(0,n.kt)("h3",{id:"seriestate"},"Serie.state"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#seriestate"},"SerieState")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")),(0,n.kt)("p",null,"\u7cfb\u5217\u7684\u9ed8\u8ba4\u72b6\u6001\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Normal"),": \u6b63\u5e38\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Emphasis"),": \u9ad8\u4eae\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Blur"),": \u6de1\u51fa\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Select"),": \u9009\u4e2d\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u81ea\u52a8\u4fdd\u6301\u548c\u7236\u8282\u70b9\u4e00\u81f4\u3002\u4e00\u822c\u7528\u5728SerieData\u3002")),(0,n.kt)("h3",{id:"seriesymbol"},"Serie.symbol"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#seriesymbol"},"SerieSymbol")),(0,n.kt)("p",null,"\u6807\u8bb0\u7684\u56fe\u5f62\u3002"),(0,n.kt)("h3",{id:"serietop"},"Serie.top"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0a\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"serievesselindex"},"Serie.vesselIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6c34\u4f4d\u56fe\u6240\u4f7f\u7528\u7684 vessel \u7ec4\u4ef6\u7684 index\u3002"),(0,n.kt)("h3",{id:"seriexaxisindex"},"Serie.xAxisIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u4f7f\u7528X\u8f74\u7684index\u3002"),(0,n.kt)("h3",{id:"serieyaxisindex"},"Serie.yAxisIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u4f7f\u7528Y\u8f74\u7684index\u3002"),(0,n.kt)("h2",{id:"seriedata-1"},"SerieData"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u7cfb\u5217\u4e2d\u7684\u4e00\u4e2a\u6570\u636e\u9879\u3002\u53ef\u5b58\u50a8\u6570\u636e\u540d\u548c1-n\u7ef4\u4e2a\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"seriedatadata"},"SerieData.data"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u53ef\u6307\u5b9a\u4efb\u610f\u7ef4\u6570\u7684\u6570\u503c\u5217\u8868\u3002"),(0,n.kt)("h3",{id:"seriedataid"},"SerieData.id"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u7684\u552f\u4e00id\u3002\u552f\u4e00id\u4e0d\u662f\u5fc5\u987b\u8bbe\u7f6e\u7684\u3002"),(0,n.kt)("h3",{id:"seriedataignore"},"SerieData.ignore"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u662f\u5426\u5ffd\u7565\u6570\u636e\u3002\u5f53\u4e3a true \u65f6\uff0c\u6570\u636e\u4e0d\u8fdb\u884c\u7ed8\u5236\u3002"),(0,n.kt)("h3",{id:"seriedataindex"},"SerieData.index"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"seriedataname"},"SerieData.name"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"seriedataparentid"},"SerieData.parentId"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u7236\u8282\u70b9id\u3002\u7236\u8282\u70b9id\u4e0d\u662f\u5fc5\u987b\u8bbe\u7f6e\u7684\u3002"),(0,n.kt)("h3",{id:"seriedataradius"},"SerieData.radius"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u81ea\u5b9a\u4e49\u534a\u5f84\u3002\u53ef\u7528\u5728\u997c\u56fe\u4e2d\u81ea\u5b9a\u4e49\u67d0\u4e2a\u6570\u636e\u9879\u7684\u534a\u5f84\u3002"),(0,n.kt)("h3",{id:"seriedataselected"},"SerieData.selected"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("p",null,"\u8be5\u6570\u636e\u9879\u662f\u5426\u88ab\u9009\u4e2d\u3002"),(0,n.kt)("h3",{id:"seriedatastate"},"SerieData.state"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#seriestate"},"SerieState")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u7684\u9ed8\u8ba4\u72b6\u6001\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Normal"),": \u6b63\u5e38\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Emphasis"),": \u9ad8\u4eae\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Blur"),": \u6de1\u51fa\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Select"),": \u9009\u4e2d\u72b6\u6001\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u81ea\u52a8\u4fdd\u6301\u548c\u7236\u8282\u70b9\u4e00\u81f4\u3002\u4e00\u822c\u7528\u5728SerieData\u3002")),(0,n.kt)("h2",{id:"seriedatalink"},"SerieDataLink"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u6570\u636e\u8282\u70b9\u4e4b\u95f4\u7684\u8fde\u7ebf\u3002\u53ef\u7528\u4e8e\u6851\u57fa\u56fe\u7b49\uff0c\u6851\u57fa\u56fe\u53ea\u652f\u6301\u6709\u5411\u65e0\u73af\u56fe\uff0c\u8bf7\u4fdd\u8bc1\u6570\u636e\u7684\u8fde\u7ebf\u662f\u6709\u5411\u65e0\u73af\u56fe\u3002"),(0,n.kt)("h3",{id:"seriedatalinksource"},"SerieDataLink.source"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u8fb9\u7684\u6e90\u8282\u70b9\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"seriedatalinktarget"},"SerieDataLink.target"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u8fb9\u7684\u76ee\u6807\u8282\u70b9\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"seriedatalinkvalue"},"SerieDataLink.value"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"\u8fb9\u7684\u503c\u3002\u51b3\u5b9a\u8fb9\u7684\u5bbd\u5ea6\u3002"),(0,n.kt)("h2",{id:"seriesymbol-1"},"SerieSymbol"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#symbolstyle"},"SymbolStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent")),(0,n.kt)("p",null,"\u7cfb\u5217\u6570\u636e\u9879\u7684\u6807\u8bb0\u7684\u56fe\u5f62"),(0,n.kt)("h3",{id:"seriesymboldataindex"},"SerieSymbol.dataIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1")),(0,n.kt)("p",null,"\u5f53sizeType\u6307\u5b9a\u4e3aFromData\u65f6\uff0c\u6307\u5b9a\u7684\u6570\u636e\u6e90\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"seriesymboldatascale"},"SerieSymbol.dataScale"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1")),(0,n.kt)("p",null,"\u5f53sizeType\u6307\u5b9a\u4e3aFromData\u65f6\uff0c\u6307\u5b9a\u7684\u500d\u6570\u7cfb\u6570\u3002"),(0,n.kt)("h3",{id:"seriesymbolforceshowlast"},"SerieSymbol.forceShowLast"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u5f3a\u5236\u663e\u793a\u6700\u540e\u4e00\u4e2a\u56fe\u5f62\u6807\u8bb0\u3002"),(0,n.kt)("h3",{id:"seriesymbolinterval"},"SerieSymbol.interval"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u663e\u793a\u56fe\u5f62\u6807\u8bb0\u7684\u95f4\u9694\u30020\u8868\u793a\u663e\u793a\u6240\u6709\u6807\u7b7e\uff0c1\u8868\u793a\u9694\u4e00\u4e2a\u9694\u663e\u793a\u4e00\u4e2a\u6807\u7b7e\uff0c\u4ee5\u6b64\u7c7b\u63a8\u3002"),(0,n.kt)("h3",{id:"seriesymbolmaxsize"},"SerieSymbol.maxSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.3.0")),(0,n.kt)("p",null,"\u56fe\u5f62\u6700\u5927\u5c3a\u5bf8\u3002\u53ea\u5728sizeType\u4e3aSymbolSizeType.FromData\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"seriesymbolminsize"},"SerieSymbol.minSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.3.0")),(0,n.kt)("p",null,"\u56fe\u5f62\u6700\u5c0f\u5c3a\u5bf8\u3002\u53ea\u5728sizeType\u4e3aSymbolSizeType.FromData\u65f6\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"seriesymbolrepeat"},"SerieSymbol.repeat"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u56fe\u5f62\u662f\u5426\u91cd\u590d\u3002"),(0,n.kt)("h3",{id:"seriesymbolsizefunction"},"SerieSymbol.sizeFunction"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"SymbolSizeFunction")),(0,n.kt)("p",null,"\u5f53sizeType\u6307\u5b9a\u4e3aFunction\u65f6\uff0c\u6307\u5b9a\u7684\u59d4\u6258\u51fd\u6570\u3002"),(0,n.kt)("h3",{id:"seriesymbolsizetype"},"SerieSymbol.sizeType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#symbolsizetype"},"SymbolSizeType")),(0,n.kt)("p",null,"\u6807\u8bb0\u56fe\u5f62\u7684\u5927\u5c0f\u83b7\u53d6\u65b9\u5f0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u5927\u5c0f\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"FromData"),": \u901a\u8fc7 dataIndex \u4ece\u6570\u636e\u4e2d\u83b7\u53d6\uff0c\u518d\u4e58\u4ee5\u4e00\u4e2a\u6bd4\u4f8b\u7cfb\u6570 dataScale \u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Function"),": \u901a\u8fc7\u59d4\u6258\u51fd\u6570\u83b7\u53d6\u3002")),(0,n.kt)("h3",{id:"seriesymbolstartindex"},"SerieSymbol.startIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")),(0,n.kt)("p",null,"\u5f00\u59cb\u663e\u793a\u56fe\u5f62\u6807\u8bb0\u7684\u7d22\u5f15\u3002"),(0,n.kt)("h2",{id:"serietheme"},"SerieTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"seriethemecandlestickbordercolor"},"SerieTheme.candlestickBorderColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Color32(235, 84, 84, 255)")),(0,n.kt)("p",null,"K\u7ebf\u56fe\u9633\u7ebf\uff08\u8dcc\uff09\u8fb9\u6846\u8272"),(0,n.kt)("h3",{id:"seriethemecandlestickbordercolor0"},"SerieTheme.candlestickBorderColor0"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Color32(71, 178, 98, 255)")),(0,n.kt)("p",null,"K\u7ebf\u56fe\u9634\u7ebf\uff08\u8dcc\uff09\u8fb9\u6846\u8272"),(0,n.kt)("h3",{id:"seriethemecandlestickborderwidth"},"SerieTheme.candlestickBorderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1")),(0,n.kt)("p",null,"K\u7ebf\u56fe\u8fb9\u6846\u5bbd\u5ea6"),(0,n.kt)("h3",{id:"seriethemecandlestickcolor"},"SerieTheme.candlestickColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Color32(235, 84, 84, 255)")),(0,n.kt)("p",null,"K\u7ebf\u56fe\u9633\u7ebf\uff08\u6da8\uff09\u586b\u5145\u8272"),(0,n.kt)("h3",{id:"seriethemecandlestickcolor0"},"SerieTheme.candlestickColor0"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Color32(71, 178, 98, 255)")),(0,n.kt)("p",null,"K\u7ebf\u56fe\u9634\u7ebf\uff08\u8dcc\uff09\u586b\u5145\u8272"),(0,n.kt)("h3",{id:"seriethemelinesymbolsize"},"SerieTheme.lineSymbolSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6298\u7ebf\u56fe\u7684Symbol\u5927\u5c0f\u3002"),(0,n.kt)("h3",{id:"seriethemelinewidth"},"SerieTheme.lineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6587\u672c\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"seriethemescattersymbolsize"},"SerieTheme.scatterSymbolSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u6563\u70b9\u56fe\u7684Symbol\u5927\u5c0f\u3002"),(0,n.kt)("h2",{id:"settings"},"Settings"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u5168\u5c40\u53c2\u6570\u8bbe\u7f6e\u7ec4\u4ef6\u3002\u4e00\u822c\u60c5\u51b5\u4e0b\u53ef\u4f7f\u7528\u9ed8\u8ba4\u503c\uff0c\u5f53\u6709\u9700\u8981\u65f6\u53ef\u8fdb\u884c\u8c03\u6574\u3002"),(0,n.kt)("h3",{id:"settingsaxismaxsplitnumber"},"Settings.axisMaxSplitNumber"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"50")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.1.0")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u6700\u5927\u5206\u9694\u6bb5\u6570\u3002\u6bb5\u6570\u8fc7\u5927\u65f6\u53ef\u80fd\u4f1a\u751f\u6210\u8f83\u591a\u7684label\u8282\u70b9\u3002"),(0,n.kt)("h3",{id:"settingsbasepaintermaterial"},"Settings.basePainterMaterial"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Material")),(0,n.kt)("p",null,"Base Pointer \u6750\u8d28\u7403\uff0c\u8bbe\u7f6e\u540e\u4f1a\u5f71\u54cdAxis\u7b49\u3002"),(0,n.kt)("h3",{id:"settingsciclesmoothness"},"Settings.cicleSmoothness"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2f")),(0,n.kt)("p",null,"\u5706\u5f62\u7684\u5e73\u6ed1\u5ea6\u3002\u6570\u8d8a\u5c0f\u5706\u8d8a\u5e73\u6ed1\uff0c\u4f46\u9876\u70b9\u6570\u4e5f\u4f1a\u968f\u4e4b\u589e\u52a0\u3002"),(0,n.kt)("h3",{id:"settingslegendiconcornerradius"},"Settings.legendIconCornerRadius"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u56fe\u4f8b\u5706\u89d2\u534a\u5f84\u3002\u7528\u6570\u7ec4\u5206\u522b\u6307\u5b9a4\u4e2a\u5706\u89d2\u534a\u5f84\uff08\u987a\u65f6\u9488\u5de6\u4e0a\uff0c\u53f3\u4e0a\uff0c\u53f3\u4e0b\uff0c\u5de6\u4e0b\uff09\u3002"),(0,n.kt)("h3",{id:"settingslegendiconlinewidth"},"Settings.legendIconLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2")),(0,n.kt)("p",null,"Line\u7c7b\u578b\u56fe\u4f8b\u56fe\u6807\u7684\u7ebf\u6761\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"settingslinesegmentdistance"},"Settings.lineSegmentDistance"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"3f")),(0,n.kt)("p",null,"\u7ebf\u6bb5\u7684\u5206\u5272\u8ddd\u79bb\u3002\u666e\u901a\u6298\u7ebf\u56fe\u7684\u7ebf\u662f\u7531\u5f88\u591a\u7ebf\u6bb5\u7ec4\u6210\uff0c\u6bb5\u6570\u7531\u8be5\u6570\u503c\u51b3\u5b9a\u3002\u503c\u8d8a\u5c0f\u6bb5\u6570\u8d8a\u591a\uff0c\u4f46\u9876\u70b9\u6570\u4e5f\u4f1a\u968f\u4e4b\u589e\u52a0\u3002\u5f53\u5f00\u542f\u6709\u6e10\u53d8\u7684\u533a\u57df\u586b\u5145\u65f6\uff0c\u6570\u503c\u8d8a\u5927\u6e10\u53d8\u8fc7\u6e21\u6548\u679c\u8d8a\u5dee\u3002"),(0,n.kt)("h3",{id:"settingslinesmoothness"},"Settings.lineSmoothness"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2f")),(0,n.kt)("p",null,"When the area with gradient is filled, the larger the value, the worse the transition effect."),(0,n.kt)("h3",{id:"settingslinesmoothstyle"},"Settings.lineSmoothStyle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2.5f")),(0,n.kt)("p",null,"\u66f2\u7ebf\u5e73\u6ed1\u7cfb\u6570\u3002\u901a\u8fc7\u8c03\u6574\u5e73\u6ed1\u7cfb\u6570\u53ef\u4ee5\u6539\u53d8\u66f2\u7ebf\u7684\u66f2\u7387\uff0c\u5f97\u5230\u5916\u89c2\u7a0d\u5fae\u6709\u53d8\u5316\u7684\u4e0d\u540c\u66f2\u7ebf\u3002"),(0,n.kt)("h3",{id:"settingsmaxpainter"},"Settings.maxPainter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"10")),(0,n.kt)("p",null,"\u8bbe\u5b9a\u7684painter\u6570\u91cf\u3002"),(0,n.kt)("h3",{id:"settingsreversepainter"},"Settings.reversePainter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"Painter\u662f\u5426\u9006\u5e8f\u3002\u9006\u5e8f\u65f6index\u5927\u7684serie\u6700\u5148\u7ed8\u5236\u3002"),(0,n.kt)("h3",{id:"settingsseriepaintermaterial"},"Settings.seriePainterMaterial"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Material")),(0,n.kt)("p",null,"Serie Pointer \u6750\u8d28\u7403\uff0c\u8bbe\u7f6e\u540e\u4f1a\u5f71\u54cd\u6240\u6709Serie\u3002"),(0,n.kt)("h3",{id:"settingsshow"},"Settings.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("h3",{id:"settingstoppaintermaterial"},"Settings.topPainterMaterial"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Material")),(0,n.kt)("p",null,"Top Pointer \u6750\u8d28\u7403\u3002"),(0,n.kt)("h3",{id:"settingsupperpaintermaterial"},"Settings.upperPainterMaterial"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Material")),(0,n.kt)("p",null,"Upper Pointer \u6750\u8d28\u7403\u3002"),(0,n.kt)("h2",{id:"simplifiedbar"},"SimplifiedBar"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer"),", ",(0,n.kt)("a",{parentName:"p",href:"#isimplifiedserie"},"ISimplifiedSerie")),(0,n.kt)("h2",{id:"simplifiedcandlestick"},"SimplifiedCandlestick"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer"),", ",(0,n.kt)("a",{parentName:"p",href:"#isimplifiedserie"},"ISimplifiedSerie")),(0,n.kt)("h2",{id:"simplifiedline"},"SimplifiedLine"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"#ineedseriecontainer"},"INeedSerieContainer"),", ",(0,n.kt)("a",{parentName:"p",href:"#isimplifiedserie"},"ISimplifiedSerie")),(0,n.kt)("h2",{id:"singleaxis"},"SingleAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis"),", ",(0,n.kt)("a",{parentName:"p",href:"#iupdateruntimedata"},"IUpdateRuntimeData")),(0,n.kt)("p",null,"\u5355\u8f74\u3002"),(0,n.kt)("h3",{id:"singleaxisbottom"},"SingleAxis.bottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.2f")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0b\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"singleaxisheight"},"SingleAxis.height"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"50")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u9ad8\u3002"),(0,n.kt)("h3",{id:"singleaxisleft"},"SingleAxis.left"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.1f")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u5de6\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"singleaxisorient"},"SingleAxis.orient"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#orient"},"Orient")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u671d\u5411\u3002\u9ed8\u8ba4\u4e3a\u6c34\u5e73\u671d\u5411\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Horizonal"),": \u6c34\u5e73"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Vertical"),": \u5782\u76f4")),(0,n.kt)("h3",{id:"singleaxisright"},"SingleAxis.right"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.1f")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u53f3\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"singleaxistop"},"SingleAxis.top"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u79bb\u5bb9\u5668\u4e0a\u4fa7\u7684\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"singleaxiswidth"},"SingleAxis.width"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u5bbd\u3002"),(0,n.kt)("h2",{id:"singleaxiscoord"},"SingleAxisCoord"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#coordsystem"},"CoordSystem")),(0,n.kt)("h2",{id:"stagecolor"},"StageColor"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"stagecolorcolor"},"StageColor.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"stagecolorpercent"},"StageColor.percent"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u7ed3\u675f\u4f4d\u7f6e\u767e\u5206\u6bd4\u3002"),(0,n.kt)("h2",{id:"statestyle"},"StateStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#blurstyle"},"BlurStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#emphasisstyle"},"EmphasisStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#selectstyle"},"SelectStyle")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.2.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"Serie\u7684\u72b6\u6001\u6837\u5f0f\u3002Serie\u7684\u72b6\u6001\u6709\u6b63\u5e38\uff0c\u9ad8\u4eae\uff0c\u6de1\u51fa\uff0c\u9009\u4e2d\u56db\u79cd\u72b6\u6001\u3002"),(0,n.kt)("h3",{id:"statestyleareastyle"},"StateStyle.areaStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#areastyle"},"AreaStyle")),(0,n.kt)("p",null,"\u533a\u57df\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"statestyleitemstyle"},"StateStyle.itemStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#itemstyle"},"ItemStyle")),(0,n.kt)("p",null,"\u56fe\u5f62\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"statestylelabel"},"StateStyle.label"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u56fe\u5f62\u6587\u672c\u6807\u7b7e\u3002"),(0,n.kt)("h3",{id:"statestylelabelline"},"StateStyle.labelLine"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelline"},"LabelLine")),(0,n.kt)("p",null,"\u56fe\u5f62\u6587\u672c\u5f15\u5bfc\u7ebf\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"statestylelinestyle"},"StateStyle.lineStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle")),(0,n.kt)("p",null,"\u6298\u7ebf\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"statestyleshow"},"StateStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u542f\u7528\u9ad8\u4eae\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"statestylesymbol"},"StateStyle.symbol"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#seriesymbol"},"SerieSymbol")),(0,n.kt)("p",null,"\u6807\u8bb0\u6837\u5f0f\u3002"),(0,n.kt)("h2",{id:"subtitletheme"},"SubTitleTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h2",{id:"symbolstyle"},"SymbolStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")," / \u5b50\u7c7b: ",(0,n.kt)("a",{parentName:"p",href:"#seriesymbol"},"SerieSymbol")),(0,n.kt)("p",null,"\u7cfb\u5217\u6570\u636e\u9879\u7684\u6807\u8bb0\u7684\u56fe\u5f62"),(0,n.kt)("h3",{id:"symbolstylecolor"},"SymbolStyle.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u56fe\u5f62\u7684\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"symbolstylegap"},"SymbolStyle.gap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u56fe\u5f62\u6807\u8bb0\u548c\u7ebf\u6761\u7684\u95f4\u9699\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"symbolstyleheight"},"SymbolStyle.height"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u56fe\u5f62\u7684\u9ad8\u3002"),(0,n.kt)("h3",{id:"symbolstyleimage"},"SymbolStyle.image"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Sprite")),(0,n.kt)("p",null,"\u81ea\u5b9a\u4e49\u7684\u6807\u8bb0\u56fe\u5f62\u3002"),(0,n.kt)("h3",{id:"symbolstyleimagetype"},"SymbolStyle.imageType"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Image.Type")),(0,n.kt)("p",null,"\u56fe\u5f62\u586b\u5145\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"symbolstyleoffset"},"SymbolStyle.offset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Vector2")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Vector2.zero")),(0,n.kt)("p",null,"\u56fe\u5f62\u7684\u504f\u79fb\u3002"),(0,n.kt)("h3",{id:"symbolstyleshow"},"SymbolStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6807\u8bb0\u3002"),(0,n.kt)("h3",{id:"symbolstylesize"},"SymbolStyle.size"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u6807\u8bb0\u7684\u5927\u5c0f\u3002"),(0,n.kt)("h3",{id:"symbolstyletype"},"SymbolStyle.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#symboltype"},"SymbolType")),(0,n.kt)("p",null,"\u6807\u8bb0\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4e0d\u663e\u793a\u6807\u8bb0\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u6807\u8bb0\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Circle"),": \u5706\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyCircle"),": \u7a7a\u5fc3\u5706\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Rect"),": \u6b63\u65b9\u5f62\u3002\u53ef\u901a\u8fc7\u8bbe\u7f6e",(0,n.kt)("inlineCode",{parentName:"li"},"itemStyle"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"cornerRadius"),"\u53d8\u6210\u5706\u89d2\u77e9\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyRect"),": \u7a7a\u5fc3\u6b63\u65b9\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Triangle"),": \u4e09\u89d2\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyTriangle"),": \u7a7a\u5fc3\u4e09\u89d2\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Diamond"),": \u83f1\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyDiamond"),": \u7a7a\u5fc3\u83f1\u5f62\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Arrow"),": \u7bad\u5934\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"EmptyArrow"),": \u7a7a\u5fc3\u7bad\u5934\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Plus"),": \u52a0\u53f7\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Minus"),": \u51cf\u53f7\u3002")),(0,n.kt)("h3",{id:"symbolstylewidth"},"SymbolStyle.width"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u56fe\u5f62\u7684\u5bbd\u3002"),(0,n.kt)("h2",{id:"textlimit"},"TextLimit"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6587\u672c\u5b57\u7b26\u9650\u5236\u548c\u81ea\u9002\u5e94\u3002\u5f53\u6587\u672c\u957f\u5ea6\u8d85\u8fc7\u8bbe\u5b9a\u7684\u957f\u5ea6\u65f6\u8fdb\u884c\u88c1\u526a\uff0c\u5e76\u5c06\u540e\u7f00\u9644\u52a0\u5728\u6700\u540e\u3002 \u53ea\u5728\u7c7b\u76ee\u8f74\u4e2d\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"textlimitenable"},"TextLimit.enable"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u542f\u7528\u6587\u672c\u81ea\u9002\u5e94\u3002 ","[default:true]"),(0,n.kt)("h3",{id:"textlimitgap"},"TextLimit.gap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1")),(0,n.kt)("p",null,"\u4e24\u8fb9\u7559\u767d\u50cf\u7d20\u8ddd\u79bb\u3002 ","[default:10f]"),(0,n.kt)("h3",{id:"textlimitmaxwidth"},"TextLimit.maxWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"Clipping occurs when the width of the text is greater than this value."),(0,n.kt)("h3",{id:"textlimitsuffix"},"TextLimit.suffix"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u957f\u5ea6\u8d85\u51fa\u65f6\u7684\u540e\u7f00\u3002 ",'[default: "..."]'),(0,n.kt)("h2",{id:"textpadding"},"TextPadding"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#padding"},"Padding")),(0,n.kt)("p",null,"\u6587\u672c\u7684\u5185\u8fb9\u8ddd\u8bbe\u7f6e\u3002"),(0,n.kt)("h2",{id:"textstyle"},"TextStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u6587\u672c\u7684\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"textstylealignment"},"TextStyle.alignment"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"TextAnchor")),(0,n.kt)("p",null,"\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,n.kt)("h3",{id:"textstyleautoalign"},"TextStyle.autoAlign"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u6587\u672c\u662f\u5426\u8ba9\u7cfb\u7edf\u81ea\u52a8\u9009\u5bf9\u9f50\u65b9\u5f0f\u3002\u4e3afalse\u65f6\u624d\u4f1a\u7528alignment\u3002"),(0,n.kt)("h3",{id:"textstyleautocolor"},"TextStyle.autoColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u5f00\u542f\u81ea\u52a8\u989c\u8272\u3002\u5f53\u5f00\u542f\u65f6\uff0c\u4f1a\u81ea\u52a8\u8bbe\u7f6e\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"textstyleautowrap"},"TextStyle.autoWrap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u81ea\u52a8\u6362\u884c\u3002"),(0,n.kt)("h3",{id:"textstylecolor"},"TextStyle.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u6587\u672c\u7684\u989c\u8272\u3002 ","[default: ",(0,n.kt)("inlineCode",{parentName:"p"},"Color.clear"),"]"),(0,n.kt)("h3",{id:"textstylefont"},"TextStyle.font"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Font")),(0,n.kt)("p",null,"\u6587\u672c\u5b57\u4f53\u3002 ","[default: null]"),(0,n.kt)("h3",{id:"textstylefontsize"},"TextStyle.fontSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6587\u672c\u5b57\u4f53\u5927\u5c0f\u3002 ","[default: 18]"),(0,n.kt)("h3",{id:"textstylefontstyle"},"TextStyle.fontStyle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"FontStyle")),(0,n.kt)("p",null,"\u6587\u672c\u5b57\u4f53\u7684\u98ce\u683c\u3002 ","[default: FontStyle.Normal]"),(0,n.kt)("h3",{id:"textstylelinespacing"},"TextStyle.lineSpacing"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1f")),(0,n.kt)("p",null,"\u884c\u95f4\u8ddd\u3002 ","[default: 1f]"),(0,n.kt)("h3",{id:"textstylerotate"},"TextStyle.rotate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6587\u672c\u7684\u65cb\u8f6c\u3002 ","[default: ",(0,n.kt)("inlineCode",{parentName:"p"},"0f"),"]"),(0,n.kt)("h3",{id:"textstyleshow"},"TextStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u6587\u672c\u7684\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"textstyletmpalignment"},"TextStyle.tMPAlignment"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"TextAlignmentOptions")),(0,n.kt)("h3",{id:"textstyletmpfont"},"TextStyle.tMPFont"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"TMP_FontAsset")),(0,n.kt)("p",null,"TextMeshPro\u5b57\u4f53\u3002"),(0,n.kt)("h3",{id:"textstyletmpfontstyle"},"TextStyle.tMPFontStyle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"FontStyles")),(0,n.kt)("h3",{id:"textstyletmpspriteasset"},"TextStyle.tMPSpriteAsset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"TMP_SpriteAsset")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.1.0")),(0,n.kt)("h2",{id:"theme"},"Theme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=ScriptableObject"},"ScriptableObject")),(0,n.kt)("p",null,"\u4e3b\u9898\u76f8\u5173\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"themeaxis"},"Theme.axis"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#axistheme"},"AxisTheme")),(0,n.kt)("h3",{id:"themebackgroundcolor"},"Theme.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"themecolorpalette"},"Theme.colorPalette"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u8c03\u8272\u76d8\u989c\u8272\u5217\u8868\u3002\u5982\u679c\u7cfb\u5217\u6ca1\u6709\u8bbe\u7f6e\u989c\u8272\uff0c\u5219\u4f1a\u4f9d\u6b21\u5faa\u73af\u4ece\u8be5\u5217\u8868\u4e2d\u53d6\u989c\u8272\u4f5c\u4e3a\u7cfb\u5217\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"themecommon"},"Theme.common"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"themecontrastcolor"},"Theme.contrastColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u5bf9\u6bd4\u8272\u3002"),(0,n.kt)("h3",{id:"themedatazoom"},"Theme.dataZoom"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#datazoomtheme"},"DataZoomTheme")),(0,n.kt)("h3",{id:"themefont"},"Theme.font"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Font")),(0,n.kt)("p",null,"\u4e3b\u9898\u5b57\u4f53\u3002"),(0,n.kt)("h3",{id:"themelegend"},"Theme.legend"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#legendtheme"},"LegendTheme")),(0,n.kt)("h3",{id:"themeserie"},"Theme.serie"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#serietheme"},"SerieTheme")),(0,n.kt)("h3",{id:"themesubtitle"},"Theme.subTitle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#subtitletheme"},"SubTitleTheme")),(0,n.kt)("h3",{id:"themethemename"},"Theme.themeName"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u4e3b\u9898\u540d\u79f0\u3002"),(0,n.kt)("h3",{id:"themethemetype"},"Theme.themeType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#themetype"},"ThemeType")),(0,n.kt)("p",null,"\u4e3b\u9898\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Default"),": \u9ed8\u8ba4\u4e3b\u9898\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Light"),": \u4eae\u4e3b\u9898\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dark"),": \u6697\u4e3b\u9898\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u4e3b\u9898\u3002")),(0,n.kt)("h3",{id:"themetitle"},"Theme.title"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#titletheme"},"TitleTheme")),(0,n.kt)("h3",{id:"themetmpfont"},"Theme.tMPFont"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"TMP_FontAsset")),(0,n.kt)("p",null,"\u4e3b\u9898\u5b57\u4f53\u3002"),(0,n.kt)("h3",{id:"themetooltip"},"Theme.tooltip"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#tooltiptheme"},"TooltipTheme")),(0,n.kt)("h3",{id:"themevisualmap"},"Theme.visualMap"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#visualmaptheme"},"VisualMapTheme")),(0,n.kt)("h2",{id:"themestyle"},"ThemeStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u4e3b\u9898\u76f8\u5173\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"themestylecustombackgroundcolor"},"ThemeStyle.customBackgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u81ea\u5b9a\u4e49\u7684\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"themestylecustomcolorpalette"},"ThemeStyle.customColorPalette"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("h3",{id:"themestylecustomfont"},"ThemeStyle.customFont"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Font")),(0,n.kt)("h3",{id:"themestyleenablecustomtheme"},"ThemeStyle.enableCustomTheme"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u81ea\u5b9a\u4e49\u4e3b\u9898\u989c\u8272\u3002\u5f53\u8bbe\u7f6e\u4e3atrue\u65f6\uff0c\u53ef\u4ee5\u7528\u2018sync color to custom\u2019\u540c\u6b65\u4e3b\u9898\u7684\u989c\u8272\u5230\u81ea\u5b9a\u4e49\u989c\u8272\u3002\u4e5f\u53ef\u4ee5\u624b\u52a8\u8bbe\u7f6e\u3002"),(0,n.kt)("h3",{id:"themestylesharedtheme"},"ThemeStyle.sharedTheme"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#theme"},"Theme")),(0,n.kt)("p",null,"\u4e3b\u9898\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"themestyleshow"},"ThemeStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("h3",{id:"themestyletransparentbackground"},"ThemeStyle.transparentBackground"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u900f\u660e\u80cc\u666f\u989c\u8272\u3002\u5f53\u8bbe\u7f6e\u4e3atrue\u65f6\uff0c\u4e0d\u7ed8\u5236\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h2",{id:"title"},"Title"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#ipropertychanged"},"IPropertyChanged")),(0,n.kt)("p",null,"\u6807\u9898\u7ec4\u4ef6\uff0c\u5305\u542b\u4e3b\u6807\u9898\u548c\u526f\u6807\u9898\u3002"),(0,n.kt)("h3",{id:"titleitemgap"},"Title.itemGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u4e3b\u526f\u6807\u9898\u4e4b\u95f4\u7684\u95f4\u8ddd\u3002"),(0,n.kt)("h3",{id:"titlelabelstyle"},"Title.labelStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u4e3b\u6807\u9898\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"titlelocation"},"Title.location"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#location"},"Location")),(0,n.kt)("p",null,"\u6807\u9898\u663e\u793a\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"titleshow"},"Title.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6807\u9898\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"titlesublabelstyle"},"Title.subLabelStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u526f\u6807\u9898\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"titlesubtext"},"Title.subText"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u526f\u6807\u9898\u6587\u672c\uff0c\u652f\u6301\u4f7f\u7528 \\n \u6362\u884c\u3002"),(0,n.kt)("h3",{id:"titletext"},"Title.text"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u4e3b\u6807\u9898\u6587\u672c\uff0c\u652f\u6301\u4f7f\u7528 \\n \u6362\u884c\u3002"),(0,n.kt)("h2",{id:"titlestyle"},"TitleStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriedatacomponent"},"ISerieDataComponent"),", ",(0,n.kt)("a",{parentName:"p",href:"#iseriecomponent"},"ISerieComponent")),(0,n.kt)("p",null,"\u6807\u9898\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h2",{id:"titletheme"},"TitleTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h2",{id:"tooltip"},"Tooltip"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"tooltipalwayshowcontent"},"Tooltip.alwayShowContent"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u89e6\u53d1\u540e\u4e00\u76f4\u663e\u793a\u63d0\u793a\u6846\u6d6e\u5c42\u3002"),(0,n.kt)("h3",{id:"tooltipbackgroundcolor"},"Tooltip.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u7684\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"tooltipbackgroundimage"},"Tooltip.backgroundImage"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Sprite")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u7684\u80cc\u666f\u56fe\u7247\u3002"),(0,n.kt)("h3",{id:"tooltipbackgroundtype"},"Tooltip.backgroundType"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Image.Type")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u7684\u80cc\u666f\u56fe\u7247\u663e\u793a\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"tooltipbordercolor"},"Tooltip.borderColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Color32(230, 230, 230, 255)")),(0,n.kt)("p",null,"\u8fb9\u6846\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"tooltipborderwidth"},"Tooltip.borderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2f")),(0,n.kt)("p",null,"\u8fb9\u6846\u7ebf\u5bbd\u3002"),(0,n.kt)("h3",{id:"tooltipcontentlabelstyles"},"Tooltip.contentLabelStyles"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u5185\u5bb9\u90e8\u5206\u7684\u6587\u672c\u6837\u5f0f\u5217\u8868\u3002\u548c\u5217\u4e00\u4e00\u5bf9\u5e94\u3002"),(0,n.kt)("h3",{id:"tooltipfixedheight"},"Tooltip.fixedHeight"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u56fa\u5b9a\u9ad8\u5ea6\u3002\u6bd4 minHeight \u4f18\u5148\u3002"),(0,n.kt)("h3",{id:"tooltipfixedwidth"},"Tooltip.fixedWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u56fa\u5b9a\u5bbd\u5ea6\u3002\u6bd4 minWidth \u4f18\u5148\u3002"),(0,n.kt)("h3",{id:"tooltipfixedx"},"Tooltip.fixedX"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u56fa\u5b9aX\u4f4d\u7f6e\u7684\u5750\u6807\u3002"),(0,n.kt)("h3",{id:"tooltipfixedy"},"Tooltip.fixedY"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.7f")),(0,n.kt)("p",null,"\u56fa\u5b9aY\u4f4d\u7f6e\u7684\u5750\u6807\u3002"),(0,n.kt)("h3",{id:"tooltipignoredatadefaultcontent"},"Tooltip.ignoreDataDefaultContent"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u88ab\u5ffd\u7565\u6570\u636e\u7684\u9ed8\u8ba4\u663e\u793a\u5b57\u7b26\u4fe1\u606f\u3002\u5982\u679c\u8bbe\u7f6e\u4e3a\u7a7a\uff0c\u5219\u8868\u793a\u5b8c\u5168\u4e0d\u663e\u793a\u5ffd\u7565\u6570\u636e\u3002"),(0,n.kt)("h3",{id:"tooltipignoredatashow"},"Tooltip.ignoreDataShow"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u5ffd\u7565\u6570\u636e\u5728tooltip\u4e0a\u3002"),(0,n.kt)("h3",{id:"tooltipitemformatter"},"Tooltip.itemFormatter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u5355\u4e2aserie\u6216\u6570\u636e\u9879\u5185\u5bb9\u7684\u5b57\u7b26\u4e32\u6a21\u7248\u683c\u5f0f\u5668\u3002\u652f\u6301\u7528 \\n \u6362\u884c\u3002\u7528|\u6765\u8868\u793a\u591a\u4e2a\u5217\u7684\u5206\u9694\u3002 \u6a21\u677f\u53d8\u91cf\u6709{.}\u3001{a}\u3001{b}\u3001{c}\u3001{d}\u3001{e}\u3001{f}\u3001{g}\u3002",(0,n.kt)("br",null)," {i}\u6216-\u8868\u793a\u5ffd\u7565\u5f53\u524d\u9879\u3002 {.}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684\u5bf9\u5e94\u989c\u8272\u7684\u5706\u70b9\u3002",(0,n.kt)("br",null)," {a}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684\u7cfb\u5217\u540dname\u3002",(0,n.kt)("br",null)," {b}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684\u6570\u636e\u9879serieData\u7684name\uff0c\u6216\u8005\u7c7b\u76ee\u503c\uff08\u5982\u6298\u7ebf\u56fe\u7684X\u8f74\uff09\u3002",(0,n.kt)("br",null)," {c}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684y\u7ef4\uff08dimesion\u4e3a1\uff09\u7684\u6570\u503c\u3002",(0,n.kt)("br",null)," {d}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684y\u7ef4\uff08dimesion\u4e3a1\uff09\u767e\u5206\u6bd4\u503c\uff0c\u6ce8\u610f\u4e0d\u5e26%\u53f7\u3002",(0,n.kt)("br",null)," {e}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u6216\u6570\u636e\u9879\u7684\u6570\u636e\u9879serieData\u7684name\u3002",(0,n.kt)("br",null)," {f}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u7684\u9ed8\u8ba4\u7ef4\u5ea6\u7684\u6570\u636e\u603b\u548c\u3002",(0,n.kt)("br",null)," {g}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u7684\u6570\u636e\u603b\u4e2a\u6570\u3002",(0,n.kt)("br",null)," {h}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u7684\u5341\u516d\u8fdb\u5236\u989c\u8272\u503c\u3002",(0,n.kt)("br",null)," {y}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u7684serie\u7684y\u8f74\u7684\u7c7b\u76ee\u503c\u3002",(0,n.kt)("br",null)," {c0}\u8868\u793a\u5f53\u524d\u6570\u636e\u9879\u7ef4\u5ea6\u4e3a0\u7684\u6570\u636e\u3002",(0,n.kt)("br",null)," {c1}\u8868\u793a\u5f53\u524d\u6570\u636e\u9879\u7ef4\u5ea6\u4e3a1\u7684\u6570\u636e\u3002",(0,n.kt)("br",null)," {d3}\u8868\u793a\u7ef4\u5ea63\u7684\u6570\u636e\u7684\u767e\u5206\u6bd4\u3002\u5b83\u7684\u5206\u6bcd\u662f\u9ed8\u8ba4\u7ef4\u5ea6\uff08\u4e00\u822c\u662f1\u7ef4\u5ea6\uff09\u6570\u636e\u3002",(0,n.kt)("br",null)," |\u8868\u793a\u591a\u4e2a\u5217\u7684\u5206\u9694\u3002",(0,n.kt)("br",null),' \u793a\u4f8b\uff1a"{i}", "{.}|{a}|{c}", "{.}|{b}|{c2:f2}", "{.}|{b}|{y}"'),(0,n.kt)("h3",{id:"tooltipitemheight"},"Tooltip.itemHeight"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"25f")),(0,n.kt)("p",null,"\u6570\u636e\u9879\u6587\u672c\u7684\u9ad8\u3002"),(0,n.kt)("h3",{id:"tooltiplinestyle"},"Tooltip.lineStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyle"},"LineStyle")),(0,n.kt)("p",null,"\u6307\u793a\u7ebf\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"tooltipmarker"},"Tooltip.marker"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"serie\u7684\u7b26\u53f7\u6807\u5fd7\u3002"),(0,n.kt)("h3",{id:"tooltipminheight"},"Tooltip.minHeight"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6700\u5c0f\u9ad8\u5ea6\u3002\u5982\u82e5 fixedHeight \u8bbe\u6709\u503c\uff0c\u4f18\u5148\u53d6 fixedHeight\u3002"),(0,n.kt)("h3",{id:"tooltipminwidth"},"Tooltip.minWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u6700\u5c0f\u5bbd\u5ea6\u3002\u5982\u82e5 fixedWidth \u8bbe\u6709\u503c\uff0c\u4f18\u5148\u53d6 fixedWidth\u3002"),(0,n.kt)("h3",{id:"tooltipnumericformatter"},"Tooltip.numericFormatter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6807\u51c6\u6570\u5b57\u548c\u65e5\u671f\u683c\u5f0f\u5b57\u7b26\u4e32\u3002\u7528\u4e8e\u5c06Double\u6570\u503c\u6216DateTime\u65e5\u671f\u683c\u5f0f\u5316\u663e\u793a\u4e3a\u5b57\u7b26\u4e32\u3002numericFormatter\u7528\u6765\u4f5c\u4e3aDouble.ToString()\u6216DateTime.ToString()\u7684\u53c2\u6570\u3002",(0,n.kt)("br",null)," \u6570\u5b57\u683c\u5f0f\u4f7f\u7528Axx\u7684\u5f62\u5f0f\uff1aA\u662f\u683c\u5f0f\u8bf4\u660e\u7b26\u7684\u5355\u5b57\u7b26\uff0c\u652f\u6301C\u8d27\u5e01\u3001D\u5341\u8fdb\u5236\u3001E\u6307\u6570\u3001F\u5b9a\u70b9\u6570\u3001G\u5e38\u89c4\u3001N\u6570\u5b57\u3001P\u767e\u5206\u6bd4\u3001R\u5f80\u8fd4\u3001X\u5341\u516d\u8fdb\u5236\u7684\u3002xx\u662f\u7cbe\u5ea6\u8bf4\u660e\uff0c\u4ece0-99\u3002\u5982\uff1aF1, E2",(0,n.kt)("br",null)," \u65e5\u671f\u683c\u5f0f\uff1a\u4ee5",(0,n.kt)("inlineCode",{parentName:"p"},"date"),"\u5f00\u5934\uff0c\u7528\u6765\u683c\u5f0f\u5316DateTime\uff0c\u5e38\u89c1\u683c\u5f0f\u6709\uff1ayyyy\u5e74\uff0cMM\u6708\uff0cdd\u65e5\uff0cHH\u65f6\uff0cmm\u5206\uff0css\u79d2\uff0cfff\u6beb\u79d2\u3002\u5982\uff1adate:yyyy-MM-dd HH:mm:ss",(0,n.kt)("br",null)," \u65f6\u95f4\u683c\u5f0f\uff1a\u4ee5",(0,n.kt)("inlineCode",{parentName:"p"},"time"),"\u5f00\u5934\uff0c\u7528\u6765\u683c\u5f0f\u5316TimeSpan\uff0c\u5e38\u89c1\u683c\u5f0f\u6709\uff1ad\u65e5\uff0cHH\u65f6\uff0cmm\u5206\uff0css\u79d2\uff0cfffffff\u5c0f\u6570\u90e8\u5206\u3002 \u9700\u8981Unity2018\u4ee5\u4e0a\u7248\u672c\u624d\u652f\u6301\u683c\u5f0f\u5316\uff0c\u5e76\u4e14\u91cc\u9762\u7684\u5b57\u7b26\u8981\u8f6c\u4e49\u3002\u5982\uff1atime:d",".","HH\\:mm\\:ss",(0,n.kt)("br",null)," \u6570\u503c\u683c\u5f0f\u5316\u53c2\u8003\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings"},"https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings")," ",(0,n.kt)("br",null)," \u65e5\u671f\u683c\u5f0f\u5316\u53c2\u8003\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings"},"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings")," ",(0,n.kt)("br",null)," \u65f6\u95f4\u683c\u5f0f\u5316\u53c2\u8003\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings"},"https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings")," ",(0,n.kt)("br",null)," \u6ce8\u610f\uff1adate\u548ctime\u683c\u5f0f\u9700\u8981",(0,n.kt)("inlineCode",{parentName:"p"},"v3.12.0"),"\u4ee5\u4e0a\u7248\u672c\u624d\u652f\u6301\u3002"),(0,n.kt)("h3",{id:"tooltipoffset"},"Tooltip.offset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Vector2")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Vector2(18f, -25f)")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u76f8\u5bf9\u4e8e\u9f20\u6807\u4f4d\u7f6e\u7684\u504f\u79fb\u3002"),(0,n.kt)("h3",{id:"tooltippaddingleftright"},"Tooltip.paddingLeftRight"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"10")),(0,n.kt)("p",null,"\u5de6\u53f3\u8fb9\u8ddd\u3002"),(0,n.kt)("h3",{id:"tooltippaddingtopbottom"},"Tooltip.paddingTopBottom"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"10")),(0,n.kt)("p",null,"\u4e0a\u4e0b\u8fb9\u8ddd\u3002"),(0,n.kt)("h3",{id:"tooltipposition"},"Tooltip.position"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#tooltipposition"},"Tooltip.Position")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.3.0")),(0,n.kt)("p",null,"\u663e\u793a\u4f4d\u7f6e\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u81ea\u9002\u5e94\u3002\u79fb\u52a8\u5e73\u53f0\u9760\u9876\u90e8\u663e\u793a\uff0c\u975e\u79fb\u52a8\u5e73\u53f0\u8ddf\u968f\u9f20\u6807\u4f4d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Custom"),": \u81ea\u5b9a\u4e49\u3002\u5b8c\u5168\u81ea\u5b9a\u4e49\u663e\u793a\u4f4d\u7f6e(x,y)\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"FixedX"),": \u53ea\u56fa\u5b9a\u5750\u6807X\u3002Y\u8ddf\u968f\u9f20\u6807\u4f4d\u7f6e\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"FixedY"),": ")),(0,n.kt)("h3",{id:"tooltipshow"},"Tooltip.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u63d0\u793a\u6846\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"tooltipshowcontent"},"Tooltip.showContent"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u63d0\u793a\u6846\u6d6e\u5c42\uff0c\u9ed8\u8ba4\u663e\u793a\u3002\u53ea\u9700tooltip\u89e6\u53d1\u4e8b\u4ef6\u6216\u663e\u793aaxisPointer\u800c\u4e0d\u9700\u8981\u663e\u793a\u5185\u5bb9\u65f6\u53ef\u914d\u7f6e\u8be5\u9879\u4e3afalse\u3002"),(0,n.kt)("h3",{id:"tooltiptitleformatter"},"Tooltip.titleFormatter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u6807\u9898\u5185\u5bb9\u7684\u5b57\u7b26\u4e32\u6a21\u7248\u683c\u5f0f\u5668\u3002\u652f\u6301\u7528 \\n \u6362\u884c\u3002\u53ef\u4ee5\u5355\u72ec\u8bbe\u7f6e\u5360\u4f4d\u7b26{i}\u8868\u793a\u5ffd\u7565\u4e0d\u663e\u793atitle\u3002 \u6a21\u677f\u53d8\u91cf\u6709{.}\u3001{a}\u3001{b}\u3001{c}\u3001{d}\u3001{e}\u3001{f}\u3001{g}\u3002",(0,n.kt)("br",null)," {.}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u5bf9\u5e94\u989c\u8272\u7684\u5706\u70b9\u3002",(0,n.kt)("br",null)," {a}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u7cfb\u5217\u540dname\u3002",(0,n.kt)("br",null)," {b}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u6570\u636e\u9879serieData\u7684name\uff0c\u6216\u8005\u7c7b\u76ee\u503c\uff08\u5982\u6298\u7ebf\u56fe\u7684X\u8f74\uff09\u3002",(0,n.kt)("br",null)," {c}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684y\u7ef4\uff08dimesion\u4e3a1\uff09\u7684\u6570\u503c\u3002",(0,n.kt)("br",null)," {d}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684y\u7ef4\uff08dimesion\u4e3a1\uff09\u767e\u5206\u6bd4\u503c\uff0c\u6ce8\u610f\u4e0d\u5e26%\u53f7\u3002",(0,n.kt)("br",null)," {e}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u6570\u636e\u9879serieData\u7684name\u3002",(0,n.kt)("br",null)," {h}\u4e3a\u5f53\u524d\u6240\u6307\u793a\u6216index\u4e3a0\u7684serie\u7684\u6570\u636e\u9879serieData\u7684\u5341\u516d\u8fdb\u5236\u989c\u8272\u503c\u3002",(0,n.kt)("br",null)," {f}\u4e3a\u6570\u636e\u603b\u548c\u3002",(0,n.kt)("br",null)," {g}\u4e3a\u6570\u636e\u603b\u4e2a\u6570\u3002",(0,n.kt)("br",null)," {y}\u4e3avalue\u6240\u5bf9\u5e94\u7684y\u8f74\u7684\u7c7b\u76ee\u503c\u3002",(0,n.kt)("br",null)," {.1}\u8868\u793a\u6307\u5b9aindex\u4e3a1\u7684serie\u5bf9\u5e94\u989c\u8272\u7684\u5706\u70b9\u3002",(0,n.kt)("br",null)," {a1}\u3001{b1}\u3001{c1}\u4e2d\u76841\u8868\u793a\u6307\u5b9aindex\u4e3a1\u7684serie\u3002",(0,n.kt)("br",null)," {c1:2}\u8868\u793a\u7d22\u5f15\u4e3a1\u7684serie\u7684\u5f53\u524d\u6307\u793a\u6570\u636e\u9879\u7684\u7b2c3\u4e2a\u6570\u636e\uff08\u4e00\u4e2a\u6570\u636e\u9879\u6709\u591a\u4e2a\u6570\u636e\uff0cindex\u4e3a2\u8868\u793a\u7b2c3\u4e2a\u6570\u636e\uff09\u3002",(0,n.kt)("br",null)," {c1:2-2}\u8868\u793a\u7d22\u5f15\u4e3a1\u7684serie\u7684\u7b2c3\u4e2a\u6570\u636e\u9879\u7684\u7b2c3\u4e2a\u6570\u636e\uff08\u4e5f\u5c31\u662f\u8981\u6307\u5b9a\u7b2c\u51e0\u4e2a\u6570\u636e\u9879\u65f6\u5fc5\u987b\u8981\u6307\u5b9a\u7b2c\u51e0\u4e2a\u6570\u636e\uff09\u3002",(0,n.kt)("br",null)," {d1:2:f2}\u8868\u793a\u5355\u72ec\u6307\u5b9a\u4e86\u6570\u503c\u7684\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u4e3af2\uff08\u4e0d\u6307\u5b9a\u65f6\u7528numericFormatter\uff09\u3002",(0,n.kt)("br",null),' {d:0.##} \u8868\u793a\u5355\u72ec\u6307\u5b9a\u4e86\u6570\u503c\u7684\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u4e3a 0.## \uff08\u7528\u4e8e\u767e\u5206\u6bd4\uff0c\u4fdd\u75592\u4f4d\u6709\u6548\u6570\u540c\u65f6\u53c8\u80fd\u907f\u514d\u4f7f\u7528 f2 \u800c\u51fa\u73b0\u7684\u7c7b\u4f3c\u4e8e"100.00%"\u7684\u60c5\u51b5 \uff09\u3002',(0,n.kt)("br",null),' \u793a\u4f8b\uff1a"{a}:{c}"\u3001"{a1}:{c1:f1}"\u3001"{a1}:{c1:0:f1}"\u3001"{a1}:{c1:1-1:f1}"'),(0,n.kt)("h3",{id:"tooltiptitleheight"},"Tooltip.titleHeight"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"25f")),(0,n.kt)("p",null,"\u6807\u9898\u6587\u672c\u7684\u9ad8\u3002"),(0,n.kt)("h3",{id:"tooltiptitlelabelstyle"},"Tooltip.titleLabelStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#labelstyle"},"LabelStyle")),(0,n.kt)("p",null,"\u6807\u9898\u7684\u6587\u672c\u6837\u5f0f\u3002"),(0,n.kt)("h3",{id:"tooltiptrigger"},"Tooltip.trigger"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#tooltiptrigger"},"Tooltip.Trigger")),(0,n.kt)("p",null,"\u89e6\u53d1\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Item"),": \u6570\u636e\u9879\u56fe\u5f62\u89e6\u53d1\uff0c\u4e3b\u8981\u5728\u6563\u70b9\u56fe\uff0c\u997c\u56fe\u7b49\u65e0\u7c7b\u76ee\u8f74\u7684\u56fe\u8868\u4e2d\u4f7f\u7528\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Axis"),": \u5750\u6807\u8f74\u89e6\u53d1\uff0c\u4e3b\u8981\u5728\u67f1\u72b6\u56fe\uff0c\u6298\u7ebf\u56fe\u7b49\u4f1a\u4f7f\u7528\u7c7b\u76ee\u8f74\u7684\u56fe\u8868\u4e2d\u4f7f\u7528\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4ec0\u4e48\u90fd\u4e0d\u89e6\u53d1\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u6839\u636eserie\u7684\u7c7b\u578b\u81ea\u52a8\u9009\u62e9\u89e6\u53d1\u7c7b\u578b\u3002")),(0,n.kt)("h3",{id:"tooltiptriggeron"},"Tooltip.triggerOn"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#tooltiptriggeron"},"Tooltip.TriggerOn")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")),(0,n.kt)("p",null,"\u89e6\u53d1\u6761\u4ef6\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"MouseMove"),": \u9f20\u6807\u79fb\u52a8\u65f6\u89e6\u53d1\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Click"),": \u9f20\u6807\u70b9\u51fb\u65f6\u89e6\u53d1\u3002")),(0,n.kt)("h3",{id:"tooltiptype"},"Tooltip.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#tooltiptype"},"Tooltip.Type")),(0,n.kt)("p",null,"\u63d0\u793a\u6846\u6307\u793a\u5668\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Line"),": \u76f4\u7ebf\u6307\u793a\u5668"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Shadow"),": \u9634\u5f71\u6307\u793a\u5668"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u65e0\u6307\u793a\u5668"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Cross"),": \u5341\u5b57\u51c6\u661f\u6307\u793a\u5668\u3002\u5750\u6807\u8f74\u663e\u793aLabel\u548c\u4ea4\u53c9\u7ebf\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Auto"),": \u6839\u636eserie\u7684\u7c7b\u578b\u81ea\u52a8\u9009\u62e9\u663e\u793a\u6307\u793a\u5668\u3002")),(0,n.kt)("h2",{id:"tooltiptheme"},"TooltipTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"tooltipthemeareacolor"},"TooltipTheme.areaColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u533a\u57df\u6307\u793a\u7684\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"tooltipthemelabelbackgroundcolor"},"TooltipTheme.labelBackgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u5341\u5b57\u6307\u793a\u5668\u5750\u6807\u8f74\u6807\u7b7e\u7684\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"tooltipthemelabeltextcolor"},"TooltipTheme.labelTextColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u5341\u5b57\u6307\u793a\u5668\u5750\u6807\u8f74\u6807\u7b7e\u7684\u6587\u672c\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"tooltipthemelinecolor"},"TooltipTheme.lineColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u6307\u793a\u7ebf\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"tooltipthemelinetype"},"TooltipTheme.lineType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyletype"},"LineStyle.Type")),(0,n.kt)("p",null,"\u5750\u6807\u8f74\u7ebf\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Solid"),": \u5b9e\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dashed"),": \u865a\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dotted"),": \u70b9\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDot"),": \u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDotDot"),": \u53cc\u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u53cc\u70b9\u5212\u7ebf")),(0,n.kt)("h3",{id:"tooltipthemelinewidth"},"TooltipTheme.lineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1f")),(0,n.kt)("p",null,"\u6307\u793a\u7ebf\u7ebf\u5bbd\u3002"),(0,n.kt)("h2",{id:"uicomponenttheme"},"UIComponentTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"uicomponentthemesharedtheme"},"UIComponentTheme.sharedTheme"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#theme"},"Theme")),(0,n.kt)("p",null,"\u4e3b\u9898\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"uicomponentthemeshow"},"UIComponentTheme.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("h3",{id:"uicomponentthemetransparentbackground"},"UIComponentTheme.transparentBackground"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("h2",{id:"viewcontrol"},"ViewControl"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"3D\u89c6\u89d2\u63a7\u5236\u7ec4\u4ef6\u3002"),(0,n.kt)("h3",{id:"viewcontrolalpha"},"ViewControl.alpha"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"90f")),(0,n.kt)("p",null,"\u89c6\u89d2\u5728x-z\u5e73\u9762\u7684\u89d2\u5ea6\u3002"),(0,n.kt)("h3",{id:"viewcontrolbeta"},"ViewControl.beta"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"55f")),(0,n.kt)("p",null,"\u89c6\u89d2\u5728y-z\u5e73\u9762\u7684\u89d2\u5ea6\u3002"),(0,n.kt)("h2",{id:"visualmap"},"VisualMap"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#maincomponent"},"MainComponent")),(0,n.kt)("p",null,"\u89c6\u89c9\u6620\u5c04\u7ec4\u4ef6\u3002\u7528\u4e8e\u8fdb\u884c\u300e\u89c6\u89c9\u7f16\u7801\u300f\uff0c\u4e5f\u5c31\u662f\u5c06\u6570\u636e\u6620\u5c04\u5230\u89c6\u89c9\u5143\u7d20\uff08\u89c6\u89c9\u901a\u9053\uff09\u3002"),(0,n.kt)("h3",{id:"visualmapautominmax"},"VisualMap.autoMinMax"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"Automatically set min, Max value \u81ea\u52a8\u8bbe\u7f6emin\uff0cmax\u7684\u503c"),(0,n.kt)("h3",{id:"visualmapborderwidth"},"VisualMap.borderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u8fb9\u6846\u7ebf\u5bbd\uff0c\u5355\u4f4dpx\u3002"),(0,n.kt)("h3",{id:"visualmapcalculable"},"VisualMap.calculable"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u62d6\u62fd\u7528\u7684\u624b\u67c4\uff08\u624b\u67c4\u80fd\u62d6\u62fd\u8c03\u6574\u9009\u4e2d\u8303\u56f4\uff09\u3002"),(0,n.kt)("h3",{id:"visualmapdimension"},"VisualMap.dimension"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"-1")),(0,n.kt)("p",null,"Starting at 1, the default is 0 to take the last dimension in data."),(0,n.kt)("h3",{id:"visualmaphoverlink"},"VisualMap.hoverLink"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"Conversely, when the mouse hovers over a graphic element in a diagram, the corresponding value of the visualMap component is triangulated in the corresponding position."),(0,n.kt)("h3",{id:"visualmapinrange"},"VisualMap.inRange"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u5206\u6bb5\u5f0f\u6bcf\u4e00\u6bb5\u7684\u76f8\u5173\u914d\u7f6e\u3002"),(0,n.kt)("h3",{id:"visualmapitemgap"},"VisualMap.itemGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"10f")),(0,n.kt)("p",null,"\u6bcf\u4e2a\u56fe\u5143\u4e4b\u95f4\u7684\u95f4\u9694\u8ddd\u79bb\u3002"),(0,n.kt)("h3",{id:"visualmapitemheight"},"VisualMap.itemHeight"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"140f")),(0,n.kt)("p",null,"\u56fe\u5f62\u7684\u9ad8\u5ea6\uff0c\u5373\u989c\u8272\u6761\u7684\u9ad8\u5ea6\u3002"),(0,n.kt)("h3",{id:"visualmapitemwidth"},"VisualMap.itemWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"20f")),(0,n.kt)("p",null,"\u56fe\u5f62\u7684\u5bbd\u5ea6\uff0c\u5373\u989c\u8272\u6761\u7684\u5bbd\u5ea6\u3002"),(0,n.kt)("h3",{id:"visualmaplocation"},"VisualMap.location"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#location"},"Location")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u663e\u793a\u7684\u4f4d\u7f6e\u3002"),(0,n.kt)("h3",{id:"visualmapmax"},"VisualMap.max"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u8303\u56f4\u6700\u5927\u503c"),(0,n.kt)("h3",{id:"visualmapmin"},"VisualMap.min"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u8303\u56f4\u6700\u5c0f\u503c"),(0,n.kt)("h3",{id:"visualmaporient"},"VisualMap.orient"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#orient"},"Orient")),(0,n.kt)("p",null,"\u5e03\u5c40\u65b9\u5f0f\u662f\u6a2a\u8fd8\u662f\u7ad6\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Horizonal"),": \u6c34\u5e73"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Vertical"),": \u5782\u76f4")),(0,n.kt)("h3",{id:"visualmapoutofrange"},"VisualMap.outOfRange"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("p",null,"\u5b9a\u4e49 \u5728\u9009\u4e2d\u8303\u56f4\u5916 \u7684\u89c6\u89c9\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"visualmaprange"},"VisualMap.range"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double[]")),(0,n.kt)("p",null,"\u6307\u5b9a\u624b\u67c4\u5bf9\u5e94\u6570\u503c\u7684\u4f4d\u7f6e\u3002range \u5e94\u5728","[min,max]","\u8303\u56f4\u5185\u3002"),(0,n.kt)("h3",{id:"visualmaprealtime"},"VisualMap.realtime"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u62d6\u62fd\u65f6\uff0c\u662f\u5426\u5b9e\u65f6\u66f4\u65b0\u3002"),(0,n.kt)("h3",{id:"visualmapselectedmode"},"VisualMap.selectedMode"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#visualmapselectedmode"},"VisualMap.SelectedMode")),(0,n.kt)("p",null,"\u9009\u62e9\u6a21\u5f0f\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Multiple"),": \u591a\u9009\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Single"),": \u5355\u9009\u3002")),(0,n.kt)("h3",{id:"visualmapserieindex"},"VisualMap.serieIndex"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u5f71\u54cd\u7684serie\u7d22\u5f15\u3002"),(0,n.kt)("h3",{id:"visualmapshow"},"VisualMap.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u662f\u5426\u751f\u6548\u3002"),(0,n.kt)("h3",{id:"visualmapshowui"},"VisualMap.showUI"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u7ec4\u4ef6\u3002\u5982\u679c\u8bbe\u7f6e\u4e3a false\uff0c\u4e0d\u4f1a\u663e\u793a\uff0c\u4f46\u662f\u6570\u636e\u6620\u5c04\u7684\u529f\u80fd\u8fd8\u5b58\u5728\u3002"),(0,n.kt)("h3",{id:"visualmapsplitnumber"},"VisualMap.splitNumber"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"5")),(0,n.kt)("p",null,"\u5bf9\u4e8e\u8fde\u7eed\u578b\u6570\u636e\uff0c\u81ea\u52a8\u5e73\u5747\u5207\u5206\u6210\u51e0\u6bb5\uff0c\u9ed8\u8ba4\u4e3a0\u65f6\u81ea\u52a8\u5339\u914dinRange\u989c\u8272\u5217\u8868\u5927\u5c0f\u3002"),(0,n.kt)("h3",{id:"visualmaptext"},"VisualMap.text"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string[]")),(0,n.kt)("p",null,"\u4e24\u7aef\u7684\u6587\u672c\uff0c\u5982 ","['High', 'Low']","\u3002"),(0,n.kt)("h3",{id:"visualmaptextgap"},"VisualMap.textGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u4e24\u7aef\u6587\u5b57\u4e3b\u4f53\u4e4b\u95f4\u7684\u8ddd\u79bb\uff0c\u5355\u4f4d\u4e3apx\u3002"),(0,n.kt)("h3",{id:"visualmaptype"},"VisualMap.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#visualmaptype"},"VisualMap.Type")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u7c7b\u578b\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Continuous"),": \u8fde\u7eed\u578b\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Piecewise"),": \u5206\u6bb5\u578b\u3002")),(0,n.kt)("h3",{id:"visualmapworkonarea"},"VisualMap.workOnArea"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u662f\u5426\u5bf9LineChart\u7684AreaStyle\u6709\u6548\u3002"),(0,n.kt)("h3",{id:"visualmapworkonline"},"VisualMap.workOnLine"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u7ec4\u4ef6\u662f\u5426\u5bf9LineChart\u7684LineStyle\u6709\u6548\u3002"),(0,n.kt)("h2",{id:"visualmaprange-1"},"VisualMapRange"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"visualmaprangecolor"},"VisualMapRange.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u989c\u8272"),(0,n.kt)("h3",{id:"visualmaprangelabel"},"VisualMapRange.label"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u6587\u5b57\u63cf\u8ff0"),(0,n.kt)("h3",{id:"visualmaprangemax"},"VisualMapRange.max"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"\u8303\u56f4\u6700\u5927\u503c"),(0,n.kt)("h3",{id:"visualmaprangemin"},"VisualMapRange.min"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")),(0,n.kt)("p",null,"\u8303\u56f4\u6700\u5c0f\u503c"),(0,n.kt)("h2",{id:"visualmaptheme"},"VisualMapTheme"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#componenttheme"},"ComponentTheme")),(0,n.kt)("h3",{id:"visualmapthemebackgroundcolor"},"VisualMapTheme.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"visualmapthemebordercolor"},"VisualMapTheme.borderColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("p",null,"\u8fb9\u6846\u989c\u8272\u3002"),(0,n.kt)("h3",{id:"visualmapthemeborderwidth"},"VisualMapTheme.borderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("p",null,"\u8fb9\u6846\u7ebf\u5bbd\u3002"),(0,n.kt)("h3",{id:"visualmapthemetriangelen"},"VisualMapTheme.triangeLen"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"20f")),(0,n.kt)("p",null,"\u53ef\u89c6\u5316\u7ec4\u4ef6\u7684\u8c03\u8282\u4e09\u89d2\u5f62\u8fb9\u957f\u3002"),(0,n.kt)("h2",{id:"wrappert"},"Wrapper","<","T",">"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"xaxis"},"XAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 x \u8f74\u3002"),(0,n.kt)("h2",{id:"xaxis3d"},"XAxis3D"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 x \u8f74\u3002"),(0,n.kt)("h2",{id:"xcresourcesimporter"},"XCResourcesImporter"),(0,n.kt)("p",null,"class in XCharts.Runtime"),(0,n.kt)("h2",{id:"xcsettings"},"XCSettings"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/ScriptReference/30_search.html?q=ScriptableObject"},"ScriptableObject")),(0,n.kt)("h3",{id:"xcsettingsaxislinetype"},"XCSettings.axisLineType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyletype"},"LineStyle.Type")),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Solid"),": \u5b9e\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dashed"),": \u865a\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dotted"),": \u70b9\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDot"),": \u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDotDot"),": \u53cc\u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u53cc\u70b9\u5212\u7ebf")),(0,n.kt)("h3",{id:"xcsettingsaxislinewidth"},"XCSettings.axisLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.8f")),(0,n.kt)("h3",{id:"xcsettingsaxissplitlinetype"},"XCSettings.axisSplitLineType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#linestyletype"},"LineStyle.Type")),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Solid"),": \u5b9e\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dashed"),": \u865a\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Dotted"),": \u70b9\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDot"),": \u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"DashDotDot"),": \u53cc\u70b9\u5212\u7ebf"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u53cc\u70b9\u5212\u7ebf")),(0,n.kt)("h3",{id:"xcsettingsaxissplitlinewidth"},"XCSettings.axisSplitLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.8f")),(0,n.kt)("h3",{id:"xcsettingsaxisticklength"},"XCSettings.axisTickLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"5f")),(0,n.kt)("h3",{id:"xcsettingsaxistickwidth"},"XCSettings.axisTickWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.8f")),(0,n.kt)("h3",{id:"xcsettingsciclesmoothness"},"XCSettings.cicleSmoothness"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2f")),(0,n.kt)("h3",{id:"xcsettingscustomthemes"},"XCSettings.customThemes"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List")),(0,n.kt)("h3",{id:"xcsettingsdatazoomborderwidth"},"XCSettings.dataZoomBorderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.5f")),(0,n.kt)("h3",{id:"xcsettingsdatazoomdatalinewidth"},"XCSettings.dataZoomDataLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.5f")),(0,n.kt)("h3",{id:"xcsettingseditorshowalllistdata"},"XCSettings.editorShowAllListData"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("h3",{id:"xcsettingsfont"},"XCSettings.font"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Font")),(0,n.kt)("h3",{id:"xcsettingsfontsizelv1"},"XCSettings.fontSizeLv1"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"28")),(0,n.kt)("p",null,"\u4e00\u7ea7\u5b57\u4f53\u5927\u5c0f\u3002"),(0,n.kt)("h3",{id:"xcsettingsfontsizelv2"},"XCSettings.fontSizeLv2"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"24")),(0,n.kt)("h3",{id:"xcsettingsfontsizelv3"},"XCSettings.fontSizeLv3"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"20")),(0,n.kt)("h3",{id:"xcsettingsfontsizelv4"},"XCSettings.fontSizeLv4"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"18")),(0,n.kt)("h3",{id:"xcsettingsgaugeaxislinewidth"},"XCSettings.gaugeAxisLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"15f")),(0,n.kt)("h3",{id:"xcsettingsgaugeaxissplitlinelength"},"XCSettings.gaugeAxisSplitLineLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"15f")),(0,n.kt)("h3",{id:"xcsettingsgaugeaxissplitlinewidth"},"XCSettings.gaugeAxisSplitLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.8f")),(0,n.kt)("h3",{id:"xcsettingsgaugeaxisticklength"},"XCSettings.gaugeAxisTickLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"5f")),(0,n.kt)("h3",{id:"xcsettingsgaugeaxistickwidth"},"XCSettings.gaugeAxisTickWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.8f")),(0,n.kt)("h3",{id:"xcsettingslang"},"XCSettings.lang"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#lang"},"Lang")),(0,n.kt)("h3",{id:"xcsettingslinesegmentdistance"},"XCSettings.lineSegmentDistance"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"3f")),(0,n.kt)("h3",{id:"xcsettingslinesmoothness"},"XCSettings.lineSmoothness"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"2f")),(0,n.kt)("h3",{id:"xcsettingslinesmoothstyle"},"XCSettings.lineSmoothStyle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"3f")),(0,n.kt)("h3",{id:"xcsettingsmaxpainter"},"XCSettings.maxPainter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"10")),(0,n.kt)("h3",{id:"xcsettingsseriecandlestickborderwidth"},"XCSettings.serieCandlestickBorderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1f")),(0,n.kt)("h3",{id:"xcsettingsserielinesymbolsize"},"XCSettings.serieLineSymbolSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"5f")),(0,n.kt)("h3",{id:"xcsettingsserielinewidth"},"XCSettings.serieLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1.8f")),(0,n.kt)("h3",{id:"xcsettingsseriescattersymbolsize"},"XCSettings.serieScatterSymbolSize"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"20f")),(0,n.kt)("h3",{id:"xcsettingsserieselectedrate"},"XCSettings.serieSelectedRate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1.3f")),(0,n.kt)("h3",{id:"xcsettingstmpfont"},"XCSettings.tMPFont"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"TMP_FontAsset")),(0,n.kt)("h3",{id:"xcsettingstootiplinewidth"},"XCSettings.tootipLineWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.8f")),(0,n.kt)("h3",{id:"xcsettingsvisualmapborderwidth"},"XCSettings.visualMapBorderWidth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("h3",{id:"xcsettingsvisualmaptriangelen"},"XCSettings.visualMapTriangeLen"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"20f")),(0,n.kt)("h2",{id:"yaxis"},"YAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 y \u8f74\u3002"),(0,n.kt)("h2",{id:"yaxis3d"},"YAxis3D"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 y \u8f74\u3002"),(0,n.kt)("h2",{id:"zaxis3d"},"ZAxis3D"),(0,n.kt)("p",null,"class in XCharts.Runtime / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"#axis"},"Axis")),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u4ece ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.11.0")," \u5f00\u59cb\u652f\u6301")),(0,n.kt)("p",null,"\u76f4\u89d2\u5750\u6807\u7cfb grid \u4e2d\u7684 y \u8f74\u3002"))}s.isMDXComponent=!0},84597:function(e,t,l){l.d(t,{Z:function(){return p}});var i=l(67294),a=l(76775),n="apiTable_e8hp";function r(e,t){var l=e.name,n=e.children,r=function(e){for(var t=e;(0,i.isValidElement)(t);)t=i.Children.toArray(t.props.children)[0];return t}(n),o=l?l+"-"+r:r,p="#"+o,d=(0,a.k6)();return i.createElement("tr",{id:o,tabIndex:0,ref:d.location.hash===p?t:void 0,onClick:function(e){"A"===e.target.tagName.toUpperCase()||d.push(p)},onKeyDown:function(e){"Enter"===e.key&&d.push(p)}},n.props.children)}var o=i.forwardRef(r);function p(e){var t=e.children,l=e.name,a=i.Children.toArray(t.props.children),r=a[0],p=a[1],d=(0,i.useRef)(null);(0,i.useEffect)((function(){var e;null==(e=d.current)||e.focus()}),[d]);var k=i.Children.map(p.props.children,(function(e){return i.createElement(o,{name:l,ref:d},e)}));return i.createElement("table",{className:n},r,i.createElement("tbody",null,k))}}}]); \ No newline at end of file diff --git a/en/assets/js/31476475.1108af1a.js b/en/assets/js/31476475.1108af1a.js new file mode 100644 index 00000000..3d182580 --- /dev/null +++ b/en/assets/js/31476475.1108af1a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8952],{3905:function(e,t,r){r.d(t,{Zo:function(){return d},kt:function(){return s}});var a=r(67294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function i(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var o=a.createContext({}),c=function(e){var t=a.useContext(o),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},d=function(e){var t=c(e.components);return a.createElement(o.Provider,{value:t},e.children)},h={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},u=a.forwardRef((function(e,t){var r=e.components,l=e.mdxType,n=e.originalType,o=e.parentName,d=p(e,["components","mdxType","originalType","parentName"]),u=c(r),s=l,v=u["".concat(o,".").concat(s)]||u[s]||h[s]||n;return r?a.createElement(v,i(i({ref:t},d),{},{components:r})):a.createElement(v,i({ref:t},d))}));function s(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var n=r.length,i=new Array(n);i[0]=u;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p.mdxType="string"==typeof e?e:l,i[1]=p;for(var c=2;c=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=r.createContext({}),d=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},u=function(e){var t=d(e.components);return r.createElement(c.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},s=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,c=e.parentName,u=o(e,["components","mdxType","originalType","parentName"]),s=d(n),h=i,f=s["".concat(c,".").concat(h)]||s[h]||p[h]||a;return n?r.createElement(f,l(l({ref:t},u),{},{components:n})):r.createElement(f,l({ref:t},u))}));function h(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,l=new Array(a);l[0]=s;var o={};for(var c in t)hasOwnProperty.call(t,c)&&(o[c]=t[c]);o.originalType=e,o.mdxType="string"==typeof e?e:i,l[1]=o;for(var d=2;d=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var u=l.createContext({}),p=function(e){var t=l.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):r(r({},t),e)),n},d=function(e){var t=p(e.components);return l.createElement(u.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return l.createElement(l.Fragment,{},t)}},k=l.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,u=e.parentName,d=o(e,["components","mdxType","originalType","parentName"]),k=p(n),c=i,s=k["".concat(u,".").concat(c)]||k[c]||m[c]||a;return n?l.createElement(s,r(r({ref:t},d),{},{components:n})):l.createElement(s,r({ref:t},d))}));function c(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,r=new Array(a);r[0]=k;var o={};for(var u in t)hasOwnProperty.call(t,u)&&(o[u]=t[u]);o.originalType=e,o.mdxType="string"==typeof e?e:i,r[1]=o;for(var p=2;p=0||(n[i]=e[i]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}var s=l.createContext({}),u=function(e){var t=l.useContext(s),i=t;return e&&(i="function"==typeof e?e(t):r(r({},t),e)),i},p=function(e){var t=u(e.components);return l.createElement(s.Provider,{value:t},e.children)},o={inlineCode:"code",wrapper:function(e){var t=e.children;return l.createElement(l.Fragment,{},t)}},c=l.forwardRef((function(e,t){var i=e.components,n=e.mdxType,a=e.originalType,s=e.parentName,p=d(e,["components","mdxType","originalType","parentName"]),c=u(i),h=n,k=c["".concat(s,".").concat(h)]||c[h]||o[h]||a;return i?l.createElement(k,r(r({ref:t},p),{},{components:i})):l.createElement(k,r({ref:t},p))}));function h(e,t){var i=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=i.length,r=new Array(a);r[0]=c;var d={};for(var s in t)hasOwnProperty.call(t,s)&&(d[s]=t[s]);d.originalType=e,d.mdxType="string"==typeof e?e:n,r[1]=d;for(var u=2;u=0||(i[a]=e[a]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}var p=n.createContext({}),s=function(e){var t=n.useContext(p),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},h=function(e){var t=s(e.components);return n.createElement(p.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var a=e.components,i=e.mdxType,r=e.originalType,p=e.parentName,h=o(e,["components","mdxType","originalType","parentName"]),m=s(a),d=i,u=m["".concat(p,".").concat(d)]||m[d]||c[d]||r;return a?n.createElement(u,l(l({ref:t},h),{},{components:a})):n.createElement(u,l({ref:t},h))}));function d(e,t){var a=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var r=a.length,l=new Array(r);l[0]=m;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o.mdxType="string"==typeof e?e:i,l[1]=o;for(var s=2;sXCharts->LineChart"),"\u6216\u83dc\u5355\u680f",(0,r.kt)("inlineCode",{parentName:"p"},"XCharts"),"\u4e0b\u62c9\u9009\u62e9",(0,r.kt)("inlineCode",{parentName:"p"},"LineChart"),"\uff0c\u5373\u53ef\u5feb\u901f\u521b\u5efa\u4e00\u4e2a\u9ed8\u8ba4\u7684\u6298\u7ebf\u56fe\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"linechart1",src:a(55658).Z,width:"650",height:"324"})),(0,r.kt)("p",null,"\u5982\u9700\u5728\u67d0\u4e2a\u8282\u70b9\u4e0b\u521b\u5efa\u56fe\u8868\uff0c\u53ef\u4ee5\u9009\u4e2d\u8282\u70b9\u53f3\u952e",(0,r.kt)("inlineCode",{parentName:"p"},"UI->XCharts->LineChart"),"\u5373\u53ef\u5728\u8282\u70b9\u4e0b\u521b\u5efa\u56fe\u8868\u3002"),(0,r.kt)("h3",{id:"\u4fee\u6539\u56fe\u8868\u6570\u636e"},"\u4fee\u6539\u56fe\u8868\u6570\u636e"),(0,r.kt)("p",null,"\u521a\u521b\u5efa\u7684\u56fe\u8868\uff0c\u5b83\u7684\u6570\u636e\u53ef\u4ee5\u5728Inspector\u89c6\u56fe\u9762\u677f\u4e0a\u8fdb\u884c\u4fee\u6539\u3002"),(0,r.kt)("p",null,"\u5bf9\u4e8eX\u8f74\u6570\u636e\uff0c\u53ef\u901a\u8fc7\uff1a",(0,r.kt)("inlineCode",{parentName:"p"},"XAxis->Data"),"\u5c55\u5f00\u540e\u8fdb\u884c\u589e\u5220\u548c\u4fee\u6539\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"op_axisdata",src:a(20545).Z,width:"650",height:"637"})),(0,r.kt)("p",null,"\u5bf9\u4e8eSerie\u6570\u636e\uff0c\u53ef\u901a\u8fc7\uff1a",(0,r.kt)("inlineCode",{parentName:"p"},"Serie->Data"),"\u5c55\u5f00\u540e\u8fdb\u884c\u589e\u5220\u548c\u4fee\u6539\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"op_seriedata",src:a(50802).Z,width:"650",height:"599"})),(0,r.kt)("p",null,"Serie\u652f\u6301\u591a\u7ef4\u6570\u636e\uff0c\u4e00\u822c\u6298\u7ebf\u56fe\u53ea\u7528\u5230\u4e8c\u7ef4\u6570\u636e\uff1a\u7b2c\u4e00\u7ef4\u8868\u793aX\u8f74\u7c7b\u76ee\u6570\u636e\u7684\u7f16\u53f7\uff0c\u7b2c\u4e8c\u7ef4\u8868\u793a\u5bf9\u5e94\u7684\u6570\u503c\u3002"),(0,r.kt)("h3",{id:"\u6dfb\u52a0\u591a\u4e2aseire"},"\u6dfb\u52a0\u591a\u4e2aSeire"),(0,r.kt)("p",null,"\u5728",(0,r.kt)("inlineCode",{parentName:"p"},"Inspector"),"\u89c6\u56fe\uff0c\u627e\u5230",(0,r.kt)("inlineCode",{parentName:"p"},"LineChart"),"\u7684\u9762\u677f\uff0c\u901a\u8fc7",(0,r.kt)("inlineCode",{parentName:"p"},"Add Serie"),"\u6309\u94ae\uff0c\u53ef\u4ee5\u6dfb\u52a0\u7b2c\u4e8c\u6761",(0,r.kt)("inlineCode",{parentName:"p"},"Line"),"\u6298\u7ebf\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"op_addserie",src:a(18778).Z,width:"650",height:"864"}),"\n",(0,r.kt)("img",{alt:"linechart2",src:a(23763).Z,width:"650",height:"324"})),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"Note\uff1aSerie\u901a\u8fc7",(0,r.kt)("inlineCode",{parentName:"p"},"Add Serie"),"\u6309\u94ae\u6dfb\u52a0\u3002\u53ef\u6dfb\u52a0\u4e0d\u540c\u7c7b\u578b\u7684Serie\u3002",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie-%E7%B3%BB%E5%88%97"},"XCharts\u6709\u54ea\u4e9bSerie\uff1f"))),(0,r.kt)("h3",{id:"\u6dfb\u52a0\u5176\u4ed6\u4e3b\u7ec4\u4ef6"},"\u6dfb\u52a0\u5176\u4ed6\u4e3b\u7ec4\u4ef6"),(0,r.kt)("p",null,"\u9ed8\u8ba4\u56fe\u8868\u6ca1\u6709",(0,r.kt)("inlineCode",{parentName:"p"},"Legend"),"\uff0c\u9700\u8981",(0,r.kt)("inlineCode",{parentName:"p"},"Legend"),"\u7ec4\u4ef6\u53ef\u901a\u8fc7",(0,r.kt)("inlineCode",{parentName:"p"},"Add Component"),"\u6309\u94ae\u6dfb\u52a0\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"op_addcomponent",src:a(50730).Z,width:"650",height:"858"})),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"Note\uff1a\u4e3b\u7ec4\u4ef6\u901a\u8fc7",(0,r.kt)("inlineCode",{parentName:"p"},"Add Component"),"\u6309\u94ae\u6dfb\u52a0\u3002",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration/#maincomponent-%E4%B8%BB%E7%BB%84%E4%BB%B6"},"XCharts\u6709\u54ea\u4e9b\u4e3b\u7ec4\u4ef6\uff1f"))),(0,r.kt)("h3",{id:"\u6dfb\u52a0serie\u7ec4\u4ef6"},"\u6dfb\u52a0Serie\u7ec4\u4ef6"),(0,r.kt)("p",null,"Serie\u53ea\u81ea\u5e26\u4e86\u51e0\u4e2a\u5e38\u89c1\u7684\u7ec4\u4ef6\uff0c\u5176\u4ed6\u7ec4\u4ef6\u7528\u5230\u65f6\u9700\u989d\u5916\u6dfb\u52a0\u3002\u6bd4\u5982\uff0c\u9700\u8981\u7ed9\u6298\u7ebf\u56fe\u8fdb\u884c\u533a\u57df\u586b\u5145\u989c\u8272\uff0c\u53ef\u5355\u72ec\u7ed9",(0,r.kt)("inlineCode",{parentName:"p"},"Serie"),"\u6dfb\u52a0",(0,r.kt)("inlineCode",{parentName:"p"},"AreaStyle"),"\u7ec4\u4ef6\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"op_addseriecomponent",src:a(8526).Z,width:"650",height:"942"}),"\n",(0,r.kt)("img",{alt:"linechart3",src:a(12362).Z,width:"650",height:"323"})),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"Note\uff1aSerie\u7ec4\u4ef6\u901a\u8fc7Serie\u53f3\u8fb9\u7684\u6309\u94ae\u6dfb\u52a0\u3002",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration/#iseriecomponent-%E5%8F%AF%E6%B7%BB%E5%8A%A0%E5%88%B0serie%E7%9A%84%E7%BB%84%E4%BB%B6"},"XCharts\u6709\u54ea\u4e9bSerie\u7ec4\u4ef6\uff1f"))),(0,r.kt)("h3",{id:"\u6dfb\u52a0seriedata\u7ec4\u4ef6"},"\u6dfb\u52a0SerieData\u7ec4\u4ef6"),(0,r.kt)("p",null,"\u5982\u679c\u9700\u8981\u4e2a\u6027\u5316\u5b9a\u5236\u6bcf\u4e2a\u6570\u636e\u9879\u7684\u914d\u7f6e\uff0c\u53ef\u4ee5\u5355\u72ec\u7ed9\u6bcf\u4e2a",(0,r.kt)("inlineCode",{parentName:"p"},"SerieData"),"\u6dfb\u52a0\u7ec4\u4ef6\u3002\u6bd4\u5982\u6211\u4eec\u7ed9\u6298\u7ebf\u56fe\u7684\u7b2c\u4e8c\u4e2a\u6570\u636e\u5355\u72ec\u663e\u793a",(0,r.kt)("inlineCode",{parentName:"p"},"Label"),"\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"op_addseriedatacomponent",src:a(29253).Z,width:"650",height:"729"}),"\n",(0,r.kt)("img",{alt:"linechart4",src:a(77973).Z,width:"650",height:"325"})),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"Note\uff1aSerieData\u7ec4\u4ef6\u901a\u8fc7\u5c55\u5f00SerieData\u540eComponent\u53f3\u8fb9\u7684\u6309\u94ae\u6dfb\u52a0\u3002",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration/#iseriedatacomponent-%E5%8F%AF%E6%B7%BB%E5%8A%A0%E5%88%B0seriedata%E7%9A%84%E7%BB%84%E4%BB%B6"},"XCharts\u6709\u54ea\u4e9bSerieData\u7ec4\u4ef6\uff1f"))),(0,r.kt)("h3",{id:"\u66f4\u591a\u7ec4\u4ef6\u548c\u914d\u7f6e\u53c2\u6570"},"\u66f4\u591a\u7ec4\u4ef6\u548c\u914d\u7f6e\u53c2\u6570"),(0,r.kt)("p",null,"XCharts\u7ecf\u8fc7\u4e0d\u65ad\u7684\u8fed\u4ee3\u4f18\u5316\uff0c\u76ee\u524d\u5df2\u6709\u591a\u8fbe\u51e0\u5341\u79cd\u7684\u4e3b\u7ec4\u4ef6\u548c\u5b50\u7ec4\u4ef6\uff0c\u6bcf\u4e2a\u7ec4\u4ef6\u6709\u51e0\u4e2a\u5230\u51e0\u5341\u4e2a\u7684\u53ef\u914d\u7f6e\u53c2\u6570\uff0c\u7528\u6765\u652f\u6301\u591a\u6837\u5316\u7684\u529f\u80fd\u3002"),(0,r.kt)("p",null,"\u9996\u6b21\u4f7f\u7528XCharts\uff0c\u5efa\u8bae\u4eb2\u81ea\u53bb\u6d4b\u8bd5\u4e0b\u5404\u4e2a\u56fe\u8868\u5404\u4e2a\u7ec4\u4ef6\u7684\u5b9e\u9645\u6548\u679c\u3002",(0,r.kt)("inlineCode",{parentName:"p"},"Inspector")," \u89c6\u56fe\u53ef\u4ee5\u76f4\u63a5\u6dfb\u52a0\u5404\u79cd\u56fe\u8868\uff0c\u5404\u79cd\u7ec4\u4ef6\u4ee5\u53ca\u8c03\u6574\u5404\u4e2a\u914d\u7f6e\u53c2\u6570\uff0c",(0,r.kt)("inlineCode",{parentName:"p"},"Game")," \u89c6\u56fe\u4f1a\u5b9e\u65f6\u53cd\u9988\u8c03\u6574\u540e\u7684\u6548\u679c\u3002\u5404\u4e2a\u7ec4\u4ef6\u7684\u8be6\u7ec6\u53c2\u6570\u8bf4\u660e\u53ef\u67e5\u9605",(0,r.kt)("a",{parentName:"p",href:"/en/docs/configuration"},"XCharts\u914d\u7f6e\u9879\u624b\u518c"),"\u3002"),(0,r.kt)("h3",{id:"\u5982\u4f55\u5feb\u901f\u8c03\u6574\u53c2\u6570"},"\u5982\u4f55\u5feb\u901f\u8c03\u6574\u53c2\u6570"),(0,r.kt)("p",null,"XCharts\u662f\u6570\u636e\u548c\u53c2\u6570\u9a71\u52a8\u7684\u3002\u60f3\u8981\u4ec0\u4e48\u6548\u679c\uff0c\u53ea\u9700\u8981\u53bb\u8c03\u6574\u5bf9\u5e94\u7ec4\u4ef6\u4e0b\u7684\u914d\u7f6e\u53c2\u6570\u5c31\u53ef\u4ee5\uff0c\u4e0d\u80fd\u53bb\u6539",(0,r.kt)("inlineCode",{parentName:"p"},"Hierarchy"),"\u89c6\u56fe\u4e0b\u7684\u8282\u70b9\uff0c\u56e0\u4e3a\u90a3\u4e9b\u8282\u70b9\u662f\u7531XCharts\u5185\u90e8\u6839\u636e\u914d\u7f6e\u548c\u6570\u636e\u751f\u6210\u7684\uff0c\u5373\u4f7f\u6539\u4e86\u4e5f\u4f1a\u5728\u5237\u65b0\u65f6\u88ab\u8fd8\u539f\u6389\u3002"),(0,r.kt)("p",null,"\u5982\u4f55\u5feb\u901f\u5b9a\u4f4d\u4f60\u60f3\u8981\u6539\u7684\u6548\u679c\u6240\u5bf9\u5e94\u7684\u7ec4\u4ef6\uff0c\u8fd9\u5c31\u9700\u8981\u5bf9\u7ec4\u4ef6\u6709\u4e00\u5b9a\u7684\u4e86\u89e3\u3002\u6bd4\u5982\u6211\u4eec\u60f3\u8981\u8ba9X\u8f74\u7684\u8f74\u7ebf\u672b\u7aef\u663e\u793a\u7bad\u5934\uff0c\u5982\u4f55\u5b9a\u4f4d\uff1f\u7b2c\u4e00\u6b65\uff0cX\u8f74\u5b9a\u4f4d\u5230",(0,r.kt)("inlineCode",{parentName:"p"},"XAxis0"),"\uff1b\u7b2c\u4e8c\u6b65\uff0c\u8f74\u7ebf\u5b9a\u4f4d\u5230",(0,r.kt)("inlineCode",{parentName:"p"},"AxisLine"),"\uff1b\u6700\u540e\uff0c\u518d\u53bb\u770b",(0,r.kt)("inlineCode",{parentName:"p"},"AxisLine"),"\u7ec4\u4ef6\u4e0b\u6709\u6ca1\u6709\u8fd9\u6837\u7684\u53c2\u6570\u53ef\u4ee5\u5b9e\u73b0\u8fd9\u4e2a\u6548\u679c\uff0c\u5bf9\u4e8e\u4e0d\u592a\u786e\u5b9a\u7684\u53c2\u6570\u53ef\u4ee5\u67e5\u9605",(0,r.kt)("a",{parentName:"p",href:"/en/docs/configuration"},"XCharts\u914d\u7f6e\u9879\u624b\u518c"),"\u3002"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"XCharts"),"\u63d0\u4f9b\u4ece\u5168\u5c40",(0,r.kt)("inlineCode",{parentName:"p"},"Theme"),"\u3001\u7cfb\u5217",(0,r.kt)("inlineCode",{parentName:"p"},"Serie"),"\u3001\u5355\u4e2a\u6570\u636e\u9879",(0,r.kt)("inlineCode",{parentName:"p"},"SerieData"),"\u4e09\u65b9\u9762\u5168\u65b9\u4f4d\u7684\u53c2\u6570\u914d\u7f6e\u3002\u4f18\u5148\u7ea7\u4ece\u5927\u5230\u5c0f\u4e3a\uff1a",(0,r.kt)("inlineCode",{parentName:"p"},"SerieData"),"->",(0,r.kt)("inlineCode",{parentName:"p"},"Serie"),"->",(0,r.kt)("inlineCode",{parentName:"p"},"Theme"),"\u3002\u4ee5",(0,r.kt)("inlineCode",{parentName:"p"},"ItemStyle"),"\u7684\u989c\u8272\u4e3a\u4f8b\uff1a"),(0,r.kt)("ol",null,(0,r.kt)("li",{parentName:"ol"},"\u5982\u679c",(0,r.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684",(0,r.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u914d\u7f6e\u6709\u975e",(0,r.kt)("inlineCode",{parentName:"li"},"0000"),"\u989c\u8272\u503c\uff0c\u5219\u4f18\u5148\u7528\u8fd9\u4e2a\u989c\u8272\u503c\u3002"),(0,r.kt)("li",{parentName:"ol"},"\u5982\u679c",(0,r.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,r.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u914d\u7f6e\u6709\u975e",(0,r.kt)("inlineCode",{parentName:"li"},"0000"),"\u989c\u8272\u503c\uff0c\u5219\u4f18\u5148\u7528\u8fd9\u4e2a\u989c\u8272\u503c\u3002"),(0,r.kt)("li",{parentName:"ol"},"\u5426\u5219\u989c\u8272\u503c\u53d6\u81ea\u4e3b\u9898",(0,r.kt)("inlineCode",{parentName:"li"},"Theme"),"\u7684",(0,r.kt)("inlineCode",{parentName:"li"},"Color Palette"),"\u3002")),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"Note\uff1a\u901a\u5e38\u989c\u8272\u503c\u4e3a0000\u65f6\u8868\u793a\u7528\u4e3b\u9898\u9ed8\u8ba4\u989c\u8272\uff1b\u5176\u4ed6\u53c2\u6570\u4e3a0\u6216null\u65f6\u8868\u793a\u7528\u4e3b\u9898\u9ed8\u8ba4\u914d\u7f6e\uff1b\u8bbe\u7f6e\u989c\u8272\u65f6\u6ce8\u610f\u900f\u660e\u5ea6\u3002")),(0,r.kt)("h3",{id:"\u7528\u4ee3\u7801\u6dfb\u52a0\u6298\u7ebf\u56fe"},"\u7528\u4ee3\u7801\u6dfb\u52a0\u6298\u7ebf\u56fe"),(0,r.kt)("p",null,"\u7ed9",(0,r.kt)("inlineCode",{parentName:"p"},"gameObject"),"\u6302\u4e0a",(0,r.kt)("inlineCode",{parentName:"p"},"LineChart"),"\u811a\u672c\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},"var chart = gameObject.GetComponent();\nif (chart == null)\n{\n chart = gameObject.AddComponent();\n chart.Init();\n}\n")),(0,r.kt)("p",null,"\u8c03\u6574\u5927\u5c0f\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},"chart.SetSize(580, 300);//\u4ee3\u7801\u52a8\u6001\u8bbe\u7f6e\u5c3a\u5bf8\uff0c\u6216\u76f4\u63a5\u64cd\u4f5cchart.rectTransform\uff0c\u6216\u76f4\u63a5\u5728Inspector\u4e0a\u6539\n")),(0,r.kt)("p",null,"\u8bbe\u7f6e\u6807\u9898\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},'var title = chart.EnsureChartComponent();\ntitle.text = "Simple Line";\n')),(0,r.kt)("p",null,"\u8bbe\u7f6e\u63d0\u793a\u6846\u548c\u56fe\u4f8b\u662f\u5426\u663e\u793a\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},"var tooltip = chart.EnsureChartComponent<Tooltip>();\ntooltip.show = true;\n\nvar legend = chart.EnsureChartComponent<Legend>();\nlegend.show = false;\n")),(0,r.kt)("p",null,"\u8bbe\u7f6e\u5750\u6807\u8f74\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},"var xAxis = chart.EnsureChartComponent<XAxis>();\nxAxis.splitNumber = 10;\nxAxis.boundaryGap = true;\nxAxis.type = Axis.AxisType.Category;\n\nvar yAxis = chart.EnsureChartComponent<YAxis>();\nyAxis.type = Axis.AxisType.Value;\n")),(0,r.kt)("p",null,"\u6e05\u7a7a\u6240\u6709\u9ed8\u8ba4\u6570\u636e\uff08\u5305\u542bSerie\uff09\uff0c\u6dfb\u52a0",(0,r.kt)("inlineCode",{parentName:"p"},"Line"),"\u7c7b\u578b\u7684",(0,r.kt)("inlineCode",{parentName:"p"},"Serie"),"\u7528\u4e8e\u63a5\u6536\u6570\u636e\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},'chart.RemoveData();\nchart.AddSerie<Line>("line");\n')),(0,r.kt)("p",null,"\u5982\u679cSerie\u662f\u56fa\u5b9a\u7684\uff0c\u5efa\u8bae\u53ea\u662f\u6e05\u7a7a\u6570\u636e\uff0c\u4e0d\u7528\u628aSerie\u4e5f\u6e05\u6389\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},"chart.ClearData();\n")),(0,r.kt)("p",null,"\u8fd9\u6837\u53ef\u4ee5\u63d0\u524d\u5728UI\u4e0a\u8bbe\u7f6e\u597dSerie\u7684\u914d\u7f6e\u53c2\u6570\u3002"),(0,r.kt)("p",null,"\u6dfb\u52a010\u4e2a\u6570\u636e\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},'for (int i = 0; i < 10; i++)\n{\n chart.AddXAxisData("x" + i);\n chart.AddData(0, Random.Range(10, 20));\n}\n')),(0,r.kt)("p",null,"\u8fd9\u6837\u4e00\u4e2a\u7b80\u5355\u7684\u6298\u7ebf\u56fe\u5c31\u51fa\u6765\u4e86\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"tutorial01_linechart_simple",src:a(71938).Z,width:"650",height:"325"})),(0,r.kt)("p",null,"\u5982\u679c\u4e00\u4e2aChart\u91cc\u9762\u6709\u591a\u4e2a\u7cfb\u5217\u65f6\uff0c\u5219Axis\u7684data\u53ea\u9700\u8981\u52a0\u4e00\u6b21\uff0c\u4e0d\u8981\u591a\u4e2a\u5faa\u73af\u52a0\u91cd\u590d\u4e86\u3002"),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"\u8bb0\u4f4f\uff1aAxis\u7684\u6570\u636e\u4e2a\u6570\u8981\u548cSerie\u7684\u6570\u636e\u4e2a\u6570\u4e00\u81f4\u3002")),(0,r.kt)("p",null,"\u5b8c\u6574\u4ee3\u7801\u8bf7\u67e5\u9605",(0,r.kt)("inlineCode",{parentName:"p"},"Examples"),"\uff1a",(0,r.kt)("inlineCode",{parentName:"p"},"Example13_LineSimple.cs")," "),(0,r.kt)("p",null,"\u4f60\u8fd8\u53ef\u4ee5\u7528\u4ee3\u7801\u63a7\u5236\u66f4\u591a\u7684\u53c2\u6570\uff0c",(0,r.kt)("inlineCode",{parentName:"p"},"Examples"),"\u4e0b\u8fd8\u6709\u66f4\u591a\u7684\u5176\u4ed6\u4f8b\u5b50\uff0c\u51e1\u662f",(0,r.kt)("inlineCode",{parentName:"p"},"Inspector"),"\u4e0a\u770b\u5230\u7684\u53ef\u914d\u7f6e\u7684\u53c2\u6570\uff0c\u90fd\u53ef\u4ee5\u901a\u8fc7\u4ee3\u7801\u6765\u8bbe\u7f6e\u3002",(0,r.kt)("a",{parentName:"p",href:"/en/docs/configuration"},"XCharts\u914d\u7f6e\u9879\u624b\u518c"),"\u91cc\u9762\u7684\u6240\u6709\u53c2\u6570\u90fd\u662f\u53ef\u4ee5\u901a\u8fc7\u4ee3\u7801\u63a7\u5236\u7684\u3002"),(0,r.kt)("h3",{id:"\u8bbe\u7f6e\u9ed8\u8ba4\u5b57\u4f53"},"\u8bbe\u7f6e\u9ed8\u8ba4\u5b57\u4f53"),(0,r.kt)("p",null,"XCharts\u9ed8\u8ba4\u4f7f\u7528\u7684\u662fUnity\u9ed8\u8ba4\u5b57\u4f53",(0,r.kt)("inlineCode",{parentName:"p"},"Arial"),"\uff0c\u5728WebGL\u5e73\u53f0\u4e0a\u53ef\u80fd\u65e0\u6cd5\u663e\u793a\u4e2d\u6587\u3002\u5728\u5c06XCharts\u7528\u5728\u4f60\u7684\u9879\u76ee\u65f6\uff0c\u5efa\u8bae\u5148\u8bbe\u7f6e\u597d\u5b57\u4f53\uff1a"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"\u627e\u5230",(0,r.kt)("inlineCode",{parentName:"li"},"XCharts/Resources/XCSetting.asset"),"\u8d44\u6e90\uff0c\u4fee\u6539\u91cc\u9762\u7684",(0,r.kt)("inlineCode",{parentName:"li"},"Font"),"\u5e76\u4fdd\u5b58\u3002"),(0,r.kt)("li",{parentName:"ul"},"\u627e\u5230",(0,r.kt)("inlineCode",{parentName:"li"},"XCharts/Resources/XCTheme-Default.asset"),"\u548c",(0,r.kt)("inlineCode",{parentName:"li"},"XCharts/Resources/XCTheme-Default.asset"),"\u4e24\u4e2a\u5b57\u4f53\u914d\u7f6e\uff0c\u70b9\u51fb",(0,r.kt)("inlineCode",{parentName:"li"},"Sync Font from Setting"),"\u548c",(0,r.kt)("inlineCode",{parentName:"li"},"Sync Font to Sub Theme"),"\u6309\u94ae\u5c06\u5b57\u4f53\u540c\u6b65\u5230\u4e3b\u9898\u914d\u7f6e\u6587\u4ef6\u4e0a\u3002")),(0,r.kt)("p",null,"\u5b57\u4f53\u8bbe\u7f6e\u597d\u540e\uff0c\u65b0\u521b\u5efa\u7684\u56fe\u8868\u5c31\u4f1a\u7528\u65b0\u8bbe\u7f6e\u7684\u5b57\u4f53\u4e86\u3002\u5bf9\u4e8e\u65e7\u56fe\u8868\uff0c\u53ef\u4ee5\u70b9\u51fb",(0,r.kt)("inlineCode",{parentName:"p"},"Rebuild Chart Object"),"\u8fdb\u884c\u5237\u65b0\u3002"),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"Note\uff1a\u4f7f\u7528XCharts\u524d\u5efa\u8bae\u5148\u8bbe\u7f6e\u597d\u5b57\u4f53\uff1b\u66f4\u65b0XCharts\u65f6\u6ce8\u610f\u8bbe\u7f6e\u7684\u5b57\u4f53\u53ef\u80fd\u88ab\u8fd8\u539f\u7684\u95ee\u9898\u3002")),(0,r.kt)("h3",{id:"\u4f7f\u7528textmeshpro"},"\u4f7f\u7528TextMeshPro"),(0,r.kt)("p",null,"XCharts\u652f\u6301TextMeshPro\uff0c\u4f46\u9ed8\u8ba4\u662f\u4e0d\u5f00\u542f\u7684\uff0c\u9700\u8981\u81ea\u5df1\u624b\u52a8\u5207\u6362\u3002\u53ef\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u5f00\u542f\u548c\u5173\u95ed\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"textmeshpro1",src:a(67983).Z,width:"650",height:"541"})),(0,r.kt)("p",null,"\u5f00\u542f\u540e\u9700\u8981\u8bbe\u7f6e\u597dTextMeshPro\u8981\u7528\u7684\u5168\u5c40\u5b57\u4f53\uff0c\u4e5f\u53ef\u4ee5\u5728\u4e3b\u9898Theme\u91cc\u5355\u72ec\u8bbe\u7f6e\uff1a"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"textmeshpro-font",src:a(78724).Z,width:"650",height:"511"})),(0,r.kt)("p",null,"\u5efa\u8bae\u5728\u9879\u76ee\u521d\u5c31\u89c4\u5212\u597d\u662f\u5426\u4f7f\u7528TextMeshPro\uff0c\u5e76\u8bbe\u7f6e\u597d\u5b57\u4f53\u3002\u5728\u5df2\u6709\u5f88\u591a\u56fe\u8868\u7684\u60c5\u51b5\u4e0b\u5207\u6362TMP\u65f6\uff0c\u53ef\u80fd\u67d0\u4e9b\u56fe\u8868\u65e0\u6cd5\u81ea\u52a8\u5237\u65b0\uff0c\u53ef\u4ee5\u624b\u52a8\u70b9\u51fb",(0,r.kt)("inlineCode",{parentName:"p"},"Rebuild Chart Object"),"\u6309\u94ae\u6765\u91cd\u5efa\u56fe\u8868\uff0c\u5373\u53ef\u6b63\u5e38\u521d\u59cb\u5316\u3002"),(0,r.kt)("p",null,"\u5f00\u542f\u4e86TMP\u9879\u76ee\u5728\u66f4\u65b0XCharts\u65f6\uff0c\u53ef\u80fd\u4f1a\u78b0\u5230\u4e22\u5931\u4e86TMP\u5f15\u7528\u800c\u65e0\u6cd5\u7f16\u8bd1\u901a\u8fc7\u7684\u95ee\u9898\uff0c\u53ef\u901a\u8fc7\u4ee5\u4e0b\u4e24\u79cd\u65b9\u5f0f\u89e3\u51b3\uff1a"),(0,r.kt)("ol",null,(0,r.kt)("li",{parentName:"ol"},"\u627e\u5230",(0,r.kt)("inlineCode",{parentName:"li"},"XCharts.Runtime.asmdef"),"\u548c",(0,r.kt)("inlineCode",{parentName:"li"},"XCharts.Editor.asmdef"),"\uff0c\u624b\u52a8\u52a0\u4e0a ",(0,r.kt)("inlineCode",{parentName:"li"},"TextMeshPro"),"\u7684\u5f15\u7528"),(0,r.kt)("li",{parentName:"ol"},"\u79fb\u9664",(0,r.kt)("inlineCode",{parentName:"li"},"PlayerSetting"),"\u4e2d",(0,r.kt)("inlineCode",{parentName:"li"},"Scripting Define Symbols"),"\u7684",(0,r.kt)("inlineCode",{parentName:"li"},"dUI_TextMeshPro"),"\u5b8f")),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"3.8.0"),"\u7248\u672c\u540e\u589e\u52a0",(0,r.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Daemon"},"XCharts-Daemon"),"\u5b88\u62a4\u7a0b\u5e8f\uff0c\u5c06XCharts-Daemon\u5bfc\u5165\u9879\u76ee\u540e\uff0c\u5728\u66f4\u65b0XCharts\u65f6\u5b88\u62a4\u7a0b\u5e8f\u4f1a\u81ea\u52a8\u6839\u636e\u672c\u5730\u5f00\u542f\u7684TMP\u60c5\u51b5\u5237\u65b0asmdef\uff0c\u786e\u4fdd\u7f16\u8bd1\u6b63\u5e38\u3002"),(0,r.kt)("h2",{id:"xcharts\u7684\u4ee3\u7801\u63a7\u5236"},"XCharts\u7684\u4ee3\u7801\u63a7\u5236"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Inspector"),"\u4e0a\u770b\u5230\u7684\u6240\u6709\u53c2\u6570\u90fd\u53ef\u4ee5\u7528\u4ee3\u7801\u6765\u4fee\u6539\uff0c\u5173\u952e\u662f\u8981\u5b9a\u4f4d\u597d\u4f60\u8981\u6539\u7684\u53c2\u6570\u662f\u5728\u7ec4\u4ef6\u4e0a\u3001\u8fd8\u662fSerie\u4e0a\u3001\u8fd8\u662f\u5728\u5177\u4f53\u7684\u6570\u636e\u9879SerieData\u4e0a\u3002"),(0,r.kt)("p",null,"\u53e6\u5916\uff0c\u9664\u975e\u5b9a\u5236\uff0c\u5efa\u8bae\u8c03\u7528",(0,r.kt)("inlineCode",{parentName:"p"},"Chart"),"\u4e0b\u63d0\u4f9b\u7684",(0,r.kt)("inlineCode",{parentName:"p"},"public"),"\u63a5\u53e3\uff0c\u7279\u522b\u662f\u6570\u636e\u76f8\u5173\u548c\u5217\u8868\u7684\u64cd\u4f5c\u3002\u8fd9\u4e9b\u63a5\u53e3\u5185\u90e8\u4f1a\u505a\u4e00\u4e9b\u5173\u8054\u5904\u7406\uff0c\u6bd4\u5982\u5237\u65b0\u56fe\u8868\u7b49\u3002\u5e38\u89c1\u7684\u63a5\u53e3\u6709\uff1a"),(0,r.kt)("ol",null,(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.ClearData()"),"\uff1a\u6e05\u7a7a\u56fe\u8868\u6570\u636e\uff08\u4e0d\u79fb\u9664Series\uff09"),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.RemoveData()"),"\uff1a\u6e05\u9664\u56fe\u8868\u6570\u636e\uff08\u4f1a\u79fb\u9664\u6240\u6709Serie\uff09"),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.AddSerie()"),"\uff1a\u6dfb\u52a0Serie"),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.AddXAxisData()"),"\uff1a\u6dfb\u52a0X\u8f74\u6570\u636e"),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.AddData()"),"\uff1a\u6dfb\u52a0Serie\u6570\u636e"),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.UpdateData()"),"\uff1a\u66f4\u65b0Serie\u6570\u636e"),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.UpdateXAxisData()"),"\uff1a\u66f4\u65b0X\u8f74\u6570\u636e"),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.UpdateDataName()"),"\uff1a\u66f4\u65b0Serie\u6570\u636e\u7684\u540d\u5b57")),(0,r.kt)("p",null,"XCharts\u5185\u90e8\u6709\u81ea\u52a8\u5237\u65b0\u673a\u5236\uff0c\u4f46\u4e5f\u662f\u5728\u4e00\u5b9a\u6761\u4ef6\u624d\u4f1a\u89e6\u53d1\u3002\u5982\u679c\u81ea\u5df1\u8c03\u7528\u4e86\u5185\u90e8\u7ec4\u4ef6\u7684\u63a5\u53e3\uff0c\u78b0\u5230\u7ec4\u4ef6\u6ca1\u6709\u5237\u65b0\uff0c\u786e\u5b9e\u627e\u4e0d\u5230\u539f\u56e0\u7684\u8bdd\uff0c\u53ef\u4ee5\u7528\u4ee5\u4e0b\u4e24\u4e2a\u63a5\u53e3\u5f3a\u5236\u5237\u65b0\uff1a"),(0,r.kt)("ol",null,(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.RefreshAllComponent()"),"\uff1a\u5237\u65b0\u56fe\u8868\u7ec4\u4ef6\uff0c\u4f1a\u91cd\u65b0\u521d\u59cb\u5316\u6240\u6709\u7ec4\u4ef6\uff0c\u4e0d\u5efa\u8bae\u9891\u7e41\u5f85\u7528\u3002"),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("inlineCode",{parentName:"li"},"chart.RefreshChart()"),"\uff1a\u5237\u65b0\u56fe\u8868\u7ed8\u5236\uff0c\u53ea\u5237\u65b0\u7ed8\u5236\u90e8\u5206\uff0c\u4e0d\u4f1a\u5237\u65b0\u7ec4\u4ef6\u6587\u672c\uff0c\u4f4d\u7f6e\u7b49\u90e8\u5206\u3002"),(0,r.kt)("li",{parentName:"ol"},"\u5404\u4e2a\u7ec4\u4ef6\u4e5f\u53ef\u4ee5\u901a\u8fc7",(0,r.kt)("inlineCode",{parentName:"li"},"SetAllDirty()"),"\u53ea\u5237\u65b0\u81ea\u5df1\u3002")),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"Note\uff1a\u7528API\u53bb\u64cd\u4f5c\u6570\u636e\u548c\u5404\u79cdlist\uff0c\u800c\u4e0d\u662f\u76f4\u63a5\u8bbf\u95eelist\u8fdb\u884c\u5904\u7406")),(0,r.kt)("h3",{id:"\u6539\u4e3b\u7ec4\u4ef6\u4e0a\u7684\u53c2\u6570"},"\u6539\u4e3b\u7ec4\u4ef6\u4e0a\u7684\u53c2\u6570"),(0,r.kt)("p",null,"\u9700\u8981\u5148\u83b7\u53d6\u7ec4\u4ef6\uff0c\u518d\u4fee\u6539\u91cc\u9762\u7684\u53c2\u6570\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},'var title = chart.EnsureChartComponent<Title>();\ntitle.text = "Simple LineChart";\ntitle.subText = "normal line";\n\nvar xAxis = chart.EnsureChartComponent<XAxis>();\nxAxis.splitNumber = 10;\nxAxis.boundaryGap = true;\nxAxis.type = Axis.AxisType.Category;\n')),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"\u6ce8\uff1a\u4f4e\u7248\u672c\u6ca1\u6709",(0,r.kt)("inlineCode",{parentName:"p"},"EnsureChartComponent()"),"\u63a5\u53e3\u65f6\uff0c\u7528",(0,r.kt)("inlineCode",{parentName:"p"},"GetOrAddChartComponent()"))),(0,r.kt)("h3",{id:"\u6539serie\u7684\u53c2\u6570"},"\u6539Serie\u7684\u53c2\u6570"),(0,r.kt)("p",null,"\u5bf9\u4e8e\u65b0\u6dfb\u52a0\u7684Serie\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},"var serie = chart.AddSerie<Pie>();\nserie.center[0] = 0.5f;\nserie.center[1] = 0.5f;\nserie.radius[0] = 80;\nserie.radius[1] = 90;\nserie.animation.dataChangeEnable = true;\nserie.roundCap = true;\n")),(0,r.kt)("p",null,"\u5bf9\u4e8e\u5df2\u5b58\u5728\u7684Serie\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},"var serie = chart.GetSerie<Pie>();\nserie.center[0] = 0.5f;\nserie.center[1] = 0.5f;\nserie.radius[0] = 80;\nserie.radius[1] = 90;\nserie.animation.dataChangeEnable = true;\nserie.roundCap = true;\n")),(0,r.kt)("p",null,"\u7ed9Serie\u6dfb\u52a0\u989d\u5916\u7ec4\u4ef6\uff1a"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},"serie.EnsureComponent<AreaStyle>();\n\nvar label = serie1.EnsureComponent<LabelStyle>();\nlabel.offset = new Vector3(0,20,0);\n")),(0,r.kt)("h3",{id:"\u6539\u6570\u636e\u9879seriedata\u4e0a\u7684\u53c2\u6570"},"\u6539\u6570\u636e\u9879SerieData\u4e0a\u7684\u53c2\u6570"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-csharp"},"var serieData = chart.AddData(0, 20);\n//var serieData = serie.GetSerieData(0); //\u4ece\u5df2\u6709\u6570\u636e\u4e2d\u83b7\u53d6\nserieData.radius = 10;\n\nvar itemStyle = serieData.EnsureComponent<ItemStyle>(); //\u7ed9\u6570\u636e\u9879\u6dfb\u52a0ItemStyle\u7ec4\u4ef6\nitemStyle.color = Color.blue;\n\n")))}m.isMDXComponent=!0},50730:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_addcomponent-9561a33456bdaf451106781b971cc3b9.png"},18778:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_addserie-1cb470875bd0012232e8a2f4360b80d2.png"},8526:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_addseriecomponent-f78cc6cb3312576be35f19f0730d0e39.png"},29253:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_addseriedatacomponent-9974830b20374ab5b2e0c85b3e78387c.png"},20545:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_axisdata-e3e1f64d9afb9497d333e66828d5f75b.png"},55658:function(e,t){t.Z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAooAAAFECAMAAACXoO/nAAABfVBMVEX////6+vrs7OxOb8x8enr9/f749/jk5OT8/Pzq6ur29vbv7+/T0tL5+fnp6eng39/W1dVRcc309PRWdc9Tc855dXX7/P52cnJbetDw8/vAvr79/v+1s7Px8fFuidZYd8/My8uJhoZxbW1TTk7z9vyMiYl0jtjm6/jt8Prn5uZ4kdlefNFhftL4+f2Cf3/q7vljX1+AfHzCwcGUkZGQjY2GgoK8yezc29tng9TPzs72+PyareLi4eHP2PLI0vDa2dnFxMS9u7vb4vXY3/TL1fC4xetqhtXR0NC6uLjj6Pjg5vd9ltqhnp6YlZX5+v3U3POQpOBkgdPIx8ejoaFrZ2dbV1eInt2xrq5va2vu7u6hsuSdsOOXquJ7lNnAzO7e3d1fWlrEz++oueavvumltuWtq6uzweqTp+CMod6FnNyBmNvY19dYU1Pp6Oidm5tnY2ObmJhzb2/d5Paru+jf3t6qqKiopqanpKSlo6NVUFDi5Om8xuSyvuLR1+avvOR5YdEcAAAZNUlEQVR42uzd62/SUBzG8QcOp+O2gXVNtQED1Kl4mWWAc4oKRgUNeOEioMZhIjFqHZvRzf33tmy6uThfuIsNPp9ACumPd9+Ec6BJQURERERERERERERERERERET/C9+daBBb/PHI/mORZnfY7LujkXgI+89JEP0Vf8ZUsSUxWMA+QuvWoN3ujIYRwOgksJ/+cBlEB00x3lrE74XnBnNGtFrTzHr4TynKpp0C0UFT9ClB/F7LzvslIGMjq/nHFBdMpkgHT/FLbQpTteziSvprFg6ZaqTX3Vd+e7SMsVrbkE6Ky/WtE1CMQrFQCQLZxJdmoZsqmI2ECqKDrxWNQbqXyQxGcSBU6PT0dicxDcOclxiTEjBsvd1zRqKQH3VrTe/ZWgRle86yrPrIHGX8IDqEFM1eLRQaDvJQNjqtbHix0Cljw6xjh2GOull3RKp5y1B9U+nNipOitZFqqgnT8HMPTYeT4uo0UNI1TOk590Sok1ZWzOEvKeYVZ0TTZNioOMOomF+dFHWVa0U6zBTtLoCZ+Qw+2sVaxWHpn+rmt90p2kP3c8U1iWBQfkp91c0NJ8U8ty10qCmOt8chJ8Wq2bHGcqWaWZAYkyFVOiPjFHtSTq1YncGo7ZRatutMkY4mxfjm6p1FV0mJ2T/2IsvWUNlJ0V+08rUlvzFOscUU6WhS/DJKKwDC9Yoii52uDw6l2EnInRTjdiMMoMUU6XBS7Csun/w1xWTBXgDk+uaqRHZgJXxAv7EZ8GMnxY9mQwHu9Mz6dooomwaI/jbFLbn+rykinjGL33J2ewZAyjKt+dxgc1TCrhRDAbvQLViaWZDbKVYHdjsGor+QbMxvaanNuSiq6SaAyLcGgOW8pmuNGTjk8kpA13PrSWB7JLnekNKdKNaSxRU1XqzAoQ5zgTsgOmyRmaTENjU0E8Zevn5IwW5S5f9+RERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERORpMpouAbJUyGhdFfLTypre4p2N6fj5lgLtGBAq5qs1vQZ1Nb1Uzm1Mg+iYfcvMZ2JAeS0LX0vDorYEWdH6IDpm9Y8pPQbZnVeBBUtJaSUg3iuB6NhFnRSnWwUFWLKmjNwnYHmtCl/Sofok0V44Km6KSj2vAFUrVpsPATE9hS/pQEDLRSNEe+GouCn6NuYUIGWFFgJZYDETh7pULnczVYVoLxwVN0WZyKlAZRSsOm9Q7WXhigXiIDo2bopItUvwNdKI6U0ZTOSSTJGO3zhFtaEZ63oUylCrJTQjyBTp+GUTfQD+bn4l5QOStcbqQhhMkf4ZGZ7ePioSTJE8xeMp3nj9/OZt0P/A2yk+vCiEmH11FjT5vJ3iSyFOOo97oMnn6RRPnxIPrr0Q4h1o8nk6xatOhVeunhLnQJPP0ynishCvXjlP0OTzdIoXrouxt6DJ5+UUL7wXWy7dAk08D6d446kQz+6/ee0crp8HTTrvpvj47ayYfQvg0Tkhzl0FTTjPpiivXRKzN+F680zMvrgCmmyeTfHJGXHy3Q2MXRPi1H0JmmheTfHuAyE+XPj5XS3Es7ugiebRFM+fEeLiI/xw5bkQpz6DJpk3U3R/xrl+CzsenjkhLt4ATTBPpnj65qyzOMRuT647mxheofOdvbv/bpqK4zj+xQ8ZbDrwLlmWUNaAp0u7JrXOade1tEqfYO3ow5QifcK2o08ej7ChHhH923XdkeMDILAmuSl5/cKvbOd9uube3PudZ1ymONCg5ekf5PxJnTJ55haPKcYUaP1/V1dOAob3ttgc4y9FX04E6ir9RxgwvY/F+cVdir5sAWwcpP8KtYFwiDxzirsUiyWgcEQvIOTiYE3vMXpe8ZZiqM5gZOiF5IEG7djbAZxTvKXYm5b4EsIIULxdlznFV4qRHmDEBHqpOlDwvi7OJ65SLOcViE2VXi6qAxOVPHOIpxR9uRowDNEr+FJxYOi1OI94SrEYB2oBeiW5L0Lsk2f+cJRiUAcKUfo/DcBM+8gzb/hJMTQE0zP0vwJtwNwjz7zhJkU1KcHsyK/TrA6MvbMurnbx/ualJYFIWN/cXBf4SjFyLELsJ+h1pExgRB73Er67vnb+3joJm4/W1vYX+UoxDaBJr6lrQOqRx7U2z2/v3n58ldbvXL/26dbPCxylKKcUsBK9rkiLQYl5565ca/eHy7SwfZ121naFi7dX3+MoxWwBUj1Kr02dAGFvB9C1vli7cv/y9X2aDlb74JvL/KRYnIBNij56fcEC0CaPSy0//GRjdfWGcGXrEtHO411uUgyNGIw3XCoMxoE6edxpc3trf3vrpvB8sNp339y9e/eTLxcd9nQIaM8W38ylZyJQ/X7RYw2y0sWrqzdo4cevV6aD1b746ENaP7h58+evd5ectX4ISPmlNxXqaTB/XVnyWGGBrLSwv7F0MuPvwq21B0S7vAxWiwxEiE2B3lhiAviL5HGfi/dWL5xbuvfDyo3zN88tPfyck8FqqRqkpEpvIaSDlcrkcZ/LH1+/8nD1x5PBajd5Gazmy/rB6lF6K0EJ0L0zgG6089Vn27dXiN6/ur19ZYWL3ZbgBPBX3rbjrgl4Z11cSVhZEk7/XeFjsFpgDBSy9LbKPRFKzPtcnA+OphioAlqO3p5aZfBnyTMPnEwx0WQQBzKdQUgE/N65q7ngYIpytwbtMEJnclQDkt7XxXngYIq5AlBV6YxSGnDsLenMAedSVAvAODiDo9MalBh5XM+xFFVjRpcxqVWGmjcz2v0cStEXLQFmZUb3dntnXeaBQymqSQm1Wa0IBmtAy3t0cTtnUpT7xiyvM06bEL2zLm7nTIodDUiWZ1i2CPGYPK7mSIpBzHjGs1oFTO+ibndzIEUha4CNQzRLoRLQ9q6McDX7UxSyYUDP0mxVasDQe3RxM/tTVIcS4hWBZiynQEySx73sTzHJYFZ8NGu+PsDy5HEtu1MUjgHtmCwQaTAYFe+2O9eyOUW5w6D1ImSFYokh7D26uJa9KcpdE6yqkjUqNUgj73Jkt7I1RV/KD4SDZBEhDbAGedzJ1hQDdcCvknW6EuCCy5HlaCrqTeVyMsXQSYlHZKFIU4JUIc4FGyaUiXcRmnMpRoZAvOMjK0XHjPvb7iIlnGgHyeNMiuVDCUq+TNbKmmB1vs9ddSSYIw3SgDyOpCjnRaBKlssA6HN9IW2DsQalAUU/5Pzz+3+5M8VcDaweIOudJM/xB44v0GBod0eYEifD7FEwQB77UsyEIY0CZAO5KUHj94WxTEvBlBGXMGXo1X4n6+VoU4pFHQgXyRbREuDn9E9foONnmDJ72Vy+HscppVAa9lLvdo72pJgYAwW79od9e36Az12X4FgElORea9QsykS+SGAvnyxgikmi4u933t31RltSDLQApUu2SWtcXhmR6PgBSU/5/vNROYjXDBFTmj+ZDqqBd/CSATtSjPREiIdko74IsUN8kYtJETAbey/Zf+lXS34JU1J4fJjOzvN5WmFx54tF4eTfL3beE+xLsaNAtPkaxBZgpIgngYEOiO1cmV7GF8rEjlu6hCmlMBke547438V8G8KDOxsbjy6T8OTRxsb+BcGuFNMGxEaCbBWqAgWetjP2hhqg9KL0anIitJdqhXFKNMxSq8vlt96zub9x/drB1p2TwWq7X9o3WC0bd2KTK6MDYV5a9Ml5A2B6ml6Tmj3UNUnCKbPR34vIXC/bv6GD1Qfnlq/9RDuru8LFm3YNVgs6NAOtW4PU4OPRRc4mGZjZU+lNJNKxUbigYEosjAap4ryshQv3ru8cfPrBor2D1UJ1QKuQA2KAwsVZFzXmZxDrXZnelKBmOr1q28CU5A8PB+l5eE19Yf/j7c82Pr8mXNn6nujB41u08uTJk4PzH5yzUKjKoHXPOSFxCJiZc46rjA1ASQbf+le4V4k12iKmRNPfbg0q5yxHVlp6dPfHxRufrS4/H6z24Q+//PLLJ19ess73PUD79ZIznk4A9tslZz19ZgAIn/W/sbn5W3Kk4BRjNf+zp5estEhWWtj/5n2iL7+98Hyw2sqtg4Orj28tW2bldxFaT112SFZnaEeXHbSUGUtArRlcnoVQdlD3m4aIKaWU7GaDK8vWICtdfLi2fjJY7cattR2iax9dsPy7oi9XA6sGyTEpE1IzQI6JDsKAGE6VaWYildzxKGzilDZp5HNZ9632XPvoYOX9nx8vXdi6urT+kw2D1Y6cvoNTzsPBafpyZqQB8f4ezZYQCFY6jbofU8wslKqDI3KV9f3Vh1+dv0oL984//GnrU8sHq4X8gBEgJ8lJQEuRI3xNhYGFUzJZoZxQK/m6iFOiUpv0Ui7ambl/9c6jm0tE67fvPPrU8sFq0TYQz5CzfCUGUyX7lY+SANNiZK1ov+k3NYZT/sNsKBBxx1r4yspfg9Usfx1CbTAUco7/WqJtoB0im/nUvgIoow5ZL6F2muNwQcOU0h7m08UQPVfmY5nfwTdzEj0N2sD5X4OQi0NqJshe6boB1I4DZJNyMBs7HMVxStTHjX4uSn+SK8lqj/vTuJam6EtrwCEP+1TyQILWL5ONAh0DQGsvQTbyyeqfPSZ1TDHRKIQP83LfZJAK7pjIaVGKRQBV4kMdUIpkl+mIa8BIkjOESlVhjOE5BhRcsdxjSYpyxQALc/Mi8ggoRMkm0bwOiJM9clAo1x+HayJOlGI6wNerm3amWAyDlfhZ6gqGgYlKdpAzJQD6oEhOC6QGzboJdOkQcMXgOStSjI4k6BxduunLxcGGdrQYavoBsZQhLsihAVCoxqG54nUeC1KMJBlYjJ8SiYRjEWKeLBfUGWB0y9z87IECToxdcYxw9inKMUDj4kXBv2kAZoos5VMPAWgl5/82/02xrYjKhKv/kn0plmOAxN2Us8AE0KNkITk3lsD8eccX9f9JTffdcjhm1imWYwakIX8/fFQHSha2GDisAayVccUKHp9mnWJGBxtxeKmcL2VaudKZK0iA8Q5f7cBfisE2RwftXnAaWyArqH0F3o30fKUYqQNxTm/xirSAuBUvUsmVEgB/n4dtTjebaYqJBr8lEqkTQM/QjMnFRg0Qq5ysJbrYLFNMNCWIvD1C/k20AIRptnypsAQW7nofiTylGOlr3JyCf7FgHKjTLIWaAFDi89uxy8wsxel8IKnF9TOknNcgDmSaEV+g0gaY7oodXv7NLsWsH5hwuIzz768Q8e6sWow2DMAcZsnDVYoBvxvm1IfagD9IsxDohkWg1vG+JXKWYmAC+Pl5L+ylEjrQns1qgQYoLZXfpzS3mVGKoSqDwds9ry90pABJmc5ITuuAFM97+3y8pRjpaVAG3Ly2/SpCTAEGibOFuHdcA8SWC/4KuMhsUozVoB27okSiQFKC0T3bR2IbEMMxb6OPvxRzClDleUHxD/butTeJIAoD8NDXJda06nRXXESWYsq2wlq8F0EW5aZAFeoHjFw0ViJV4yX1EmONv12gNrGmrXQBndme5xcwyQt7Zjg7Zxf/xmhl7WIqBmi1kjANsi4xjijGVaAu0UbS3/+8SccPZwuAIUVdLJfRoxgot4GoHI3Cv2xawPqCs8U2NPBYnZ7NPcJFsfSKC9wDsadAQQc+OjpLrHDAfCpNMSKTkaOoNDTE0pIdavR2/E62Lgt1C4ilSnSWOCBaFDscMVu6Cn6hDZib7FAe2gkAeo6CuEOoKCoFQG1K9pu406RTW2LD88XXVUBvURPOeChTF48zdvzkm8x4Bqv50hbUlJQ1fDoGtA7z+lgFUM0CVYljMre6OseUzIcH196dUkaPYiBtcFQkHYv41IL2gg1HKTd1QO1IdU4gtnOXI0EWfHBtZj68OobBamUTWBO+G2cfDztAyGZDyRU5uGlL8n+SBJRTZ5Z7UVw5e4sp4xisluwCRcE7FA/gr3MY5cAQo84bANTXUtYhgpq+/uVLJDi2wWr+LpCQ4rq0fWQN4HX8r8vMmwBvU6v2GJ34fG36cSTYG6x2krGV/mC1TCZz59g9jzPJjobYjxMeidkJaM1Zz4GWuhYQ62ZnPUcKmyRlPpzx9KN4d7kXxU9n51nmzPv3l98/mnJk+nsMWurblNS2APXH1AG+bRU5oG9Jvs7DY5P0JBI5d/X6mftzg8FqKxdOM++zmZn7F2Y8jtghIOqRnHcdQNWzL3+LA3rL6zly2CS9DS+Hwxcu35j+NVjtovNaMRlfzCXAXVDIL9U51nJsb76nUUAz5LhUXSazt589y7y7cm+2N1itN2At7HiwWjLdakcr0F5JeqC4SzYKvvdCfOVOCFA71Ko9Ecd7tSLznl/+unrjqsdpFKsJ9BkCXXE8ghyH1ry0RxKfmxxa9DmdJU6GsvLIy1jwztfP844Hqy0YGHBJz14gD3Cb/Sme0gBe87vi6yYwZc7rvB2itIZirsrdcztHgwP27ngmcxZd+/CvOI+iP4FEPueiKPo3NCQ2d/29ktLBrZobamGJOKgVTWiGCd50TRVVMsEr5d+vfeCAYUv0to4rOIhiFn2GzdwiUNXBG5d2krihA3priTpk/+q/R5EtvgqFDFfVUQUOvGSBQau2AfA1ud7VcQdHR9y+Rbc17qVU6Omb+VLpYwgINWVtfJNaP4qEXeoCIWhmdHDtA7VqD4WiOBFZE9v0dbecDMiGoritaoG32q7ajcmGorgtH0IlcFNHhZFhURQnIm2hWKipwoz2P4IoitviFUBVodPzeXgUxYkIbCYA6DLeLuAWFMUd/pcbzSw14hwCRZG4E0WRCIKiSARBUSSCoCgSQVAUiSAoikQQFEUiCIoiEQRFkQiCokgEQVEkgqAoEkFQFIkgKIo/2btj1oSBMA7jl9I3iVWbEAgBSaAOGbKUWlNEEDRTHHSxQu3UqZO17SBtP34TR3e5d3h+S/IBnuHgDv5QghShBCnCAud2NuuKMfIaNF9ShC3uYznOv49GJuuy/JwJKcKSME7302FpsvU6nOYrlxRhh1TDTPz0wZ8ktfhVckWKsCTqiPHft3IXe8aEu4AUYY/MR79StcNqb+2w2j4MB0ntAOfMpU3yspBlO6wWnIbVttuvZlgNOGcubBqXgchpWG3eDqsVnreJez5wzlyULHbjjhhTJ8emyl3BWRF2SJjk8+JwEO96eZP9PGWkCDvc54/rYSNy09Hf6n7hkyLscHrLatDom+7mJa0jLv5gjZy0P32H5xBQhhShBClCCVKEEqQIJUgRSpAilCBFKEGKUIIUoQQpQglShBKkCCVIEUqQIpQgRShBilCCFKEEKUIJUoQSpAglSBFKkCKUIEUoQYpQghShBClCCVKEEqQIJUgRSpAiLJJ+FDkMq8G6//bu50VRMI7j+Mfw8UdqiSCCJGTgoYvkpIQgaKc6TJdyqU7NpVM4W1Az7X+/M+1hYc/7PIF8X6BXD8+b53nw8mXF1HXPYxqsRp4tmKZ2ntFgNfJ0pWeC+TRYjTzdn8FqNQ1WI0/G5kkDHC75Y4TQ0PNVQv4VQAC2jPU/g9X6kSx7Py6yIG4ti3LZyaKMBH7qIotSDyDA38Fq3dI056OBKcjmhynKZvJiipGn8toUxE1MUXavEMH0+k8ZrOa/QRS/ViGGdIsMCBJGEEUWk6Lq+pJyzAJKkVJ8corWwL3d3UrDNzU8QZCXGqKsPVEpaoNVAEGmU4gS3SGEU91vuYKHrh1AkN4QonRyB2Kw8UyCIKcTRCkPEMSSQAgh5H9inYZBBE0v7UKBCJJql3sGMZg+liBCp3+99vUWn4Pq+VVIH9oiyjJ54IA/qcrCMD0wCNFLVwZEuHuunBwNtJQ2iyarLgToxedCXbpD8KfK2+YQvXchgrSdRHsI4KTv+ek0btuuqJRlF8pspiwmccZ3zZTyIME5XQ/yEFDjAQM3zkIFnFxtjg3YIDbAz344ZjDMhsFOspRrirrdY6xndw5h1bYMv0kvl6XjX+aSutY3fFOUlu5CmrsLBoDZbgV+rPNPXXkdBQCCQ7hRwE83StQgjMdMjwebKd8U05XeSc96JX983s0uQ8s4n9k22wQAHM4poncO18lWAcDUKGrAUeOG88cVgL179YKBoyLebDxTcs7n3o1vitowO25CW9vW2Xs4GjhomyLapT2ISFGz5dFjsbRr6p4YeLIno9sj+ryKogAcsRevnivSPOornFOEs71cfAXXdY8F53jWum2x+/nzE0JShJG+bQGwUxyrDFwxd7LGA8trGzyp8u6AaxIdj7H30TBwlI+8GQAGwI+Hbbswsjzx3JyJSNF6GWVuyVgpRzr4Ysu3JOygP9gD5WgNjrQPr14Zs7Cu67cf9UkDP/rK3d33VjV0gHm20NAu4+nKnIaqgBTZLNzo0aozjuV1URQBAz/2z23fPbLy4jvGbaSCHzZ0/Wq3VABYnA9oZZnlL4nf/ZCHQZGmDdrF+ExMyZTvAf8UjdewYHmynf+aeJ4n+xq4abJI0ZZ17mzlaeTOLfBzdd/31oeXS/xTNLOt47xGJ3UVp0m4aNv5bKmqBWv89YKm873oWGqjQVHHndO3ssPATffQAboz/eupqsICR8HMYHAOewawDt/fzkYRMPb1wt6u8l7bSiSEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBDyGw4IjYvkNJ6pAAAAAElFTkSuQmCC"},23763:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_linechart2-ed9a9ce79a39c6b5935a636ebe3c1dc5.png"},12362:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_linechart3-ef013229d81e35b957793421cb583410.png"},77973:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_linechart4-cad5fbdbea7b1e616f1e2b4bf78de2f2.png"},71938:function(e,t){t.Z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAooAAAFFCAMAAABc/DxCAAABelBMVEX////u7u58enr09PT7+/ugn5/19fX6+vr9/f3Ix8fw8PD4+Pjy8vL39vbEOzf5+Pjpt7b++/vq6en9+fl4dnbNWlff3t749/eEgYFjYGBoZWX78PDl5OSAfX1vbGzi4eHMy8uem5vFxMR0cXHQz8+joaGUkpL99vb56+q5t7fPXlrn5+f13dy8u7uNiop2c3NeW1vMVFDHRUH//f3r6+vgmZevra367e302dm/vr6Rj4/35eXa2trx0dDqurm1s7PnrqzinpvdjYrNV1OYlpb89PTz19aHhITJTUn78vLKUEz24N/YfXrUcG3QZGHt7OzDwcHosa/TbWpUUFCxsLDlp6XjoZ/ekY9saWnptLOopqbU09Pwzs3vysmrqqrmqqnXenf24uLkpKKbmZnbiIXZgX/FPzvflZKJh4dxbm746OfX1tbux8btxMPsv77SamfISUXVdHHRZ2TQYV7ahYNbV1fy1NPWdnOlo6PDNjLswcBYVFRRTU3UgX/3MaXWAAAZ00lEQVR42uzcv4viQBwF8GecM5OYJSCSqMQf8ReEkLiFCIpgE0h5FhZiwMZGsT44uH/+RuVw0WNZ0Tt34X0a5RG+w4THpBADIiIiIiIi+uLM4unDxV9IMwwtCRQKuKZbEkSPIv0MB98MXNPb8Xbb7wLjANeclQmiRxGdMQ7aDq5lnSDL/N137Pe41q2UQPToKk6HKIVh0HUB6QSGwMGiLgCr3ILnId8sRYadGxsCzvdp1JTHKkovUgHR46pYXmBUblRqvisWjXhQGUJpLWehWQTQ22C6K6e1+rZS7ctYG0yW82MVo+W2PAhB9NAqNkqyXR+Gna4sblcSgB3Ud5VvXXmsYq0lu1VDtjrDuGPJoGOrKprLtrTjhOciPbaKEx1ZvTSu9n2/HBdwMOwG8bJ1rKLWRNhxUGp48Rrwak1VReOHurauWSB6ZBX7xyoGy2g+n2c6UIwyQFrp9ljFuodw0FRVbMYLIKw5qorzaqCu7dogekAVpfKmivudAzmfC0B8S3UpRWVyWcWJlEZNV1VsVvfq64wPaLqfWKa9Xi+yzlUsxhMj6BhQplp9tIh33mUVq4t5uoaqIvppO2pEILqbHP1UIivYIzMkSlEepVHitwQOmqNNsnaAbgvDyIIVmMjPzDhZb6IXhOM8crON3+ahSP+ILJ7LZbsSl+KVtP+k0mYR6WniFYg+g+/87ZmIiIiIiIiIiIiIiIiIiIiIiIiI6Ctw0lrZAJBLllqXb8Kip8leJ5H/OkaurkX+cg+i55BJXUJMahg3hnD7MYieQ04dAP2q6KU6MKvy32r0TE7Nd5ONANqvORA9iwzTjrAmvgBaryHga1p54uX+MItQpJW7SMTbxD4m5jmxBJTimySPg0LuMslfDpYfGGy/TeRpqRsH37yH68FK4ZTcd3POe7hzsKlfLSU/uodbb478yB5uNN1WPLwkyfFUNIFotdo2vPwfBR2KfMm/k7xIKKLwXuLioJg/K56SewafE71w0+CCOCX3DD4n7h2D313K/UJ7cE/JxeBbtNQRKCF6Wx0IqgIHhsYHNf1vWS0xoUS7PPQkBatIz+FWfvVWq9ValDqV5qyasYr0JN5kcKDZmFYa2lhnFekTyL0ArCJ9Kr/ZubNWRcE4juO/y66iEK96AYZ4oyIFobhg2CYUWARGC9VAtBfF9OqHmWGGWZpzWjT/c3w+N+fAgQPJV3l8lliKDBEsRYYIliJDBEuRIYJeijXTuoBJH3opXiypCyZ9CKa4UicBmNQhl2Ktt8spCzCpQy5FS7FynXMDTNpQS9FUPgkYO7MCmJQhlmJf6XFff2zXYFKGVIqq7vdUAHCPHQlMupBKUe/0CvhmMdqUwKQKpRQHYrP083evByZVCKVY4TdF/MBZczZcTBc6KVY2WfzK8pYqmPQgk2KhWR/gV2qrw2a604RMil0+l8dvlnyQx38g7K5LeMwqWHFgaKX4qR64+B3XF03QVxktDTP3mOnAdMGQSjGXvfIEzPfmVZBX1nASs48xYbBdSKRSzBtOgCvGcov+Q4PLrichHjNdteYGW+Okk2LeELsZXLMUNfIz3cZnLXTxmPLlMuF3+n8xJL7i46VY5e0Crls6Q+Lj+lKrVcAzwqavgSGRYtnb1PAPgs1XQNrTmyvVQtvj2aY4CilK3lZ646/+jPRjsTQ65vGsckcJSH/Kf/lYKZamsoQ3nPgZ4VeXjCk28Dy1Kx91pFzSKdam4hpvMj/3QZYkWhwiwIWz+oT8G9qfPlaKXX6dx5vc5qEMqpp8GdEoDflWuh+MCac42a5VvENobsagqZrtqYhIprjLEn7+X/OBUhQmcwPvk5xPNGfeuJ2MCBUmsj+m+Un/4cOkyJly96Ziu04IilbOEpEKW3xQQsyKuTXJ0xoJpqiu61Yetyj1xAHoqew0RKzYFltlxEoYTpZDEJRgiqFyLuI27obiTHdfbiBq+dM55qMUFW0Mi+KdnVyK7mG/wK1OikZuENWoaxxiEMw7jQxikRcKdnY+WW4NclczwRTHHX6A2w39HLX1CE3WEQu96bQLiIHUHvFnY3Axpn6b2tVMLsVi09dxB8ESib26VOqWgHiUuk5ziaiVtYNjf/+3QuDQ2yeZUIo1u3PCXcb7HUg5ygXERZCaXtdFlIq2/NmuuvjODbwWtdF3Qina/Al3WiukbuTyfIgYcaYncoiMqWX3mpvBT6r+2Sd2ii2RFDl728fdDGVCZ4Dj7s+IV7Uzz5UQhYXR8Q4r/CH0fJ3U6d4kUnSDx1a4bJnMIi03lMuIWXEoRrHBe2zulZGBv2T0s0/meiaUohAoPTxisZlR2bzSEKd5xC5sHj49u4xg+bvZsnA9UpunNL+YQIqS03PxCLW6t2nMh2UCL0T8VLetPLXB2xjN/UHNxT8IPa8NMl6fYpF//N0tpxigoOZYeI1qazsU8JDaQMx6Bt7U8wwy4++Xp1hxWtIT2/cdElMQwV7Ci3Bd+RjibgXpsnM25ru5aopN5fDrq1NsnJ8oEZBaOwK7SvS6gZfh9JnXvTeXi33oDPUi3uUO5zMiO5NfnOL4PFrgGQv+mPxdvPEFvFBpyHequMPK34q5Cm4i9Hki3/D72hRr53oDz2lvl0jYZB7itYpf2Lv3rrTNAI7jPwtHqTo00tjN7NZtLRmlswll0HJgXI6MewcrUDYZl3LZrNwZTs/Ze5+6OTxSIUDyJMjz+a/POX3Sh36LNDxJUqceSBVNnJ4mIR0X0MYt24imeGAXDjEnrhJ3QlWlbhykOcpC12rCRAfRbEzwJ22Yhqt4ooX3RZIpclk5viw7KnZ5qIjxsocg77DTK3OYIO9ne3UnphUtRjRwgpFkil5j+gDzy4tZqMjRtZugAj5pmfChLl+MRMpOzMBVjJRVv9qcYIpnoQoDGTCZWhPq8bADqIIJnoh13MZU7tT8GY7BTA58xgyD6S1mim6hb4Y8fIJ6t+kO19JQTVrsWA0YZeLtFjF2hNkd1Gv9A0xrMVN0xvs8ZGKOd3ioI1y18FDPYSzg5XBT0BcSqm7MhUtGqkcg5+lLHYD33567TzZFd68v30JtDTZtgyqSRi/UxJdvbvAuNfyJeP0Qc2ukqi6QsvpufwfAq739/f13RFN0Wywc5GPKBQpQA59izVCVqRRrl824wpS77aqTN0MG0XiLVIvrP/78+Q6ge/AD6R/QjhML5OU/HUAFOVH973pMhZCFseGcjSmcnsqYjzXBMjYQoP/698cPdoDdz9+/frFBMkW+2nZCXqXICQfi+FhWCxtZBikxNwg6S8leqHUs78SnRHbqGL58+NVFivf3Hn338S+vCaaYDcl/5Wi+W3eAMJs3ro3bw/LeRCxdbZ3k8nJPXGynOZBwmeK3n/z2zQ9/PAHw7PHjHz//VPe/tctiP9KNGVnV3xz5yIBza7qhh7iwobuSafsuS3w4y8T61VsO5QmkN4eHmmENq1LWMLQBmISMbt6JR0c2MP2Ls1k4Q6bCG1YlTDw6MmbiUj9gN82whtlS3Hqth+HNnzvAo3v39vZ2V66sX05o2Fy5MaK/PqLHua314cjm5cjGtREdLqxe/dJeq6/jgu7mxIbxE4+OGK4d6unf7KcrOgkTb82+Bt3K0CoQZ6O6eV+c4RqGE18YnXh0Ddd+U97u7phGXpzJa7gw9sV57W3bMTLxxDXMmOJDAF8+/5XMD2imYfFBEc5uNQyS8qfaeZTAQbPghjIaITsHBQ1T1P/0mx549vwFmRQbLZ8ZyggGiLZ4ELdoYjOV4hpsTMmFDlM0vHz7cuXXe69AJMUGq+CGdW8tB3Ka4gI85k0Wx4mUG4oZpoiPvv/k7d6THSIpRttFDooxV3tOkMLFilgSTLAbCoKMT1cAAinaogEjlHQQI/b9gC0naPWO4AooBYxJAyRahO0QRykhCEUFA3WQUWrZtXB2m5SoX0iaMdGipGiqs8dQljkjHIIIPzvAMmF83SSDCRYmRb+QM0FhXD1yDAKson+Z3hTPmZMWPyZZkBS9tRwDxTEJ1gXlFSNLViLAJGsVjLcQKfLRQiQJEgYhn/KVuNvbWD7JdsJqwzgLkCLfz57kQEahu81AWY5YBcvokE3lMY7WU3ScFeI+ND0gw+xj3VBWLqCFC4XJY/IptoFbaTtFh6cgRMRapTqoW0FItBeHoqIWTWxTVAHj6ITOcCttpsiYzGFv3WKs1ToZN3CcaZpASlPMMFCOrRzR1O1ZybILDQa30GCKJWs+HUuFhFRs+9AE8prtsoKH5QJZ1a9XVw9jF2794kVbKdrOK7R3LZZWv3x2yEAl/sAAirFr8alu5HB2oc7jgzSUoitXb7GRQMyfd7rCUJGrVeWgkJLow1IL54ydI3yIRlI88vqMRuNpPWM1MQzU5uxVoJBEV/3lqcuWP004MUr1FM0Ol9NeYdsRtuLVzjmOnOiBEpjt0LJsUxzjuJuyYoS6KQ4Oc9l4QrBU6o2gpt4sHEUhCgVEEzFQcBZTToxQK0Vm0PTH2EjixO5xa+T2zdeVOnErZMcUIhp7zKVKjvoWD0aokaI1XY20RdbvKzk4jZ7udShxm27Oor0HUasj3I+cYQSpFM2OMGM2c0Ff1lgTxXKSh5bZvJEGZ4a8chb6SfE/5r7R5wibMEQuxYNs0Z7sFwNCr+PzLMCpNb6YqKchq5LFC+qqh3q7Y29giFyKzgqCqW7G6y5p6gmZtwoXnMhYIaeTnvq3a9KOoJ/hvQ4MEUvRXAwmkwvwbniF2fYEQ7Ke6k7WtPEgN40wZYONshlDxFLEod2r7Y+HN7gK9qwglCAXvtVbjJ8HpAR95Sg+QANf/GlQqSh6jyALQzKi+uOKlsidSxGOXK97bIIM+Hhdo+et7qS7lyLgrFj8cjTUZJd4m6IUNMWJzE0h5MTcQqo/ymSp3MkUgWhMrIdtmAeTXe5tipPRFKXxssUG5tE8zYAai6YoCRP0R+bZfMzFIw5QY9EUJQrn2EQDs/KI2tmLuRzucIqAKXZaZmbd/lilZ7cnoSlKd5C0sEETpmfwpLTxWIwlcrdTBIKxgM+FqYV7Pnp2eyKa4lS4ZiJxiGn5WQ3uU7/j7nyKMET77SqmEzRmDaAmoClOL9fuDRhIx3Qi9JPiZDTFGTgrAZ8Dkh2LDVCT0RRnEPb2Oh5IFK62QElAU5yFyVURsxwk2WbppVVS0BRn5RECRzZJ2xSX6rEYmrFEKSJaFAsuTGQX6DZFSWiKs3PkEq2JG7yPIv4lvpviVGiK823wrmC8ikC3KUpEU5yHqRkSnRjDWkuDkoamOB9rrG3nbLiFuX8CShqa4ty8luIZbrEt0C+fpaIpzo1x+kNZ/pYbKVfopVWS0RTnF95me3l6N0VtWc4UgXDMmDaPjgYqYVAS0RTlEU5aWPfNGNMsvaBlCjRFmQSrrP0I1/GROijJaIqy4Zq9nhvXnCQW6sZpd8wypwhbtFrr438NMQ+KkI0XegD6158+/YimeCkZarkZXHJ1U6AIWfv24xeA/qvPPv7sr02a4qVgJeDjcY7xhuibIilbb/Y+3wF2v36ze//BM5rivzivJe4BwLf8ZlBE6O+9/W5/B/hhfxWGx/s0xf8wfEWsh+FhB6DI0P+y/tWDHWw9eqUHXj7foileMWwHWDFeBkXORYqrTx7pgfvPXwNfvH//2/7O2v8MOGfQr40Z0UsZwYXhwHBknomHIwpMPOibHbnw2uQ1zPgnVnoNwxGV1jBTirr/UtwBHt27t7e3u3JlfePyCJsrN0b010f0lyPrw5HNy5GNayM6XFhduTmiWxl3qLUPT7x1fcQwPJT0ibc+vIa16xNzvujA5xo38crq6KEmTTx8cUbXIH3i4RrWRw41OrGENUz74hgkrGGmFDfePdEDPz1fBZ7u7n7/4IX+ytU/CP28I7igHzMy36GUmPg4XXAv+hpU/3uYNkX88tka8OYt/W/LdTaGoTexI2SY4v23u1svfnxHU6TIGk1x893+X68+/oKmSKlo55uHAFbuf//sCwNNkdIAvYFuh6A0hqZIaQRNkdIImiKlETRFSiNoipRG0BQpjaApUhpBU6Q0gqZIaQRN8R927J3FiTAMw/DkQDIkG9LlRNaNZE237BYiCMI29m5hIStYK9b+f5OATogwxNlinuK6ihRv8X75hhsGhhBSJIQUCSFFQkiREFIkhBQJIUVCSJEQUiSEFAkhRUJIkRBSJIQUCSFFQkiREFIkhBQJIUVCSJEQUiSEFAkhRUJIkRBSJIQUCSFFQkiREFIkhBQJIUVCSJEQUiSEFAkhRUJIkRBSJIQUCSFFQkiREFIkhBQJIUVadLfYeyNF2lYutrvd7rMUadvb+ycvaBL8/DLbbD6VUqRtT8vl6uHHTIq07e7+a7G+3vaL4nW3u1rNOn+MxsVeedU5m/RPJ9PjZFRNrvqHyfhk0isOBp3zSe98cXnB4unppKyO+o/Fze/Q61QG1aT5w6nu8MLFo+E/R5WX3qHm4dQtrr9DM4fH8/7XbP/z/Pz91Xrw1/FflPNBpX+cTKrBpDxuGNRNxsXBuHbSr466fPH8OBnWLG7hDpOGd7h8cTV56eLpcTJvtrj+qCbK9c1+0+bhgxc07SrfLYZF8W05liItu119vHlc+q5I+26vt93HsRQJMJr4xE0YKRJCioSQIiGkSAgpEkKKhJAiIaRICCkSQoqEkCIhpEgIKRJCioSQIiGkSAgpEkKKhJAiIaRICCkSQoqEkCIhpEgIKRJCioSQIiGkSAgpEkKKhJAiIaRICCkSQoqEkCIhpEgIKRJCioT43a7dtCwKBWAYfrJTnqwIQkzFzzcVRDIXIhSCG6GlgS2ioE2bonUQzPz4eefjB8w5M1QznGvhTsSHG05FIkXhTYgUhTchUhTehEhReBMiReFNiBSFNyFSFN6ESFF4EyJF4U2IFIU3IVIU3oRIUXgTIkXhTYgUhTchUhReqL96FC4VKQqvNjzvexs1ESkKr+aZLkabnkhReDF6smWg2FORovBaw3NEgG3WFSkKr9WNfAJ42RSIez09q3uC8FdUBEz60ZkAg6wBfEkyvy4lTlkr8fpyl3i1hsRp3joSJ7NVX7BS+6+tNJ+BieyvCbDKJn96QB8k8NqswUvagZMlBeC0lUbgFPKvZEf8K1XgpEk3cFpJM7Cp1BlIqEKkKFJ8cYrltWiCZSxSFCm+OkWyNU2z92vbcU7AScnBq+mAV84dBcmH4DTO6QtWyv9gpS44yfkEnPo8K7kKBEEQBEH4Z00G0fpjAj7D4gYuSZjWR3Ap67SYgVO+1sDDPYVhuFPAQV6t+QaexOF3jxE4uP76NOIL4mO9Xk3wfDQ2/J5RUXA5GR/gYRnL0+UecJWYpSdT5ZyKbL544LHIrvN5OgU74mcH31iA3bief7pnCtjl2ebkOFwtxln6MHwZT0PHkx+XRqoIXdgJy7h9GSBdAmttMKYod8n3+4k/JyCpCQaTMf1xuVwIypYlKDqb0c/LECCV88VjX6k/mTzqMdiQ7s+VAicALVLmleQ+AUAH5oB9pRk9X8dIviw4VpKNB4F2DfA0s/hEaBlamnMEyjnLYakcKkoHfkMfa89hSzH3B5RWJ+VjAMC/g4EWlpQUq2GgAWXL8ljiHTqYHo6U3jYLthTH31e6hYmSFm7ZUDBQwpjSj3O+2/SbvLHAYOp7lFbFCEBi98CiDDU6KbaTet5F/iVmWWlwUJAcbpoRAF27oHgW+mGuOum66y1dwFIHDE8mRRZo84dMk+6IMUW5Vl3vHhN8mi5TMOhs1srC8Sgwje2LwvKqt+WJhLYLJSo0thTp1tjml2g2XS7t+cYjYFjpZATl9TDyo9C2ew3bSpLrZQsCkEqywCLXo258DagmRTtdn7K86nFeyD3dco0BMFqGEzyN7Gc9VcNKtYBEWlGWU2Cz3Gz6+MSaIhopvdYyPo1qswMGNHAe94IAdDC/p0MwIJVR7QcU1aWx2FKEfDbOqgbX7FluOmfKYqir+mU4irJLsLrWYDFV1/uzDKCjFgQsqLc/ZDsCxTbU+1kGA7IzdnuPEmetIG79GZ5nYt5j4EN1AUvaUjDoGEYJrhSplzkUn5R6fwMTcmgl/KTdzxQMiN76gGt6Y+3Lh8y4UrYCQAhQ7rdsQRmmi1FkKkCVDdmOrPsV33lOCTYkbG2AqmoHWnagYCDbbQ+AZ5iOY4cTPE9zNYsJbtcScJcBWLjO3qN8KW7NawLAukhHCiazh6F2QKwugEjtg8FoY0RdpFma6q20ImCQX83dBLNcBiypAgttvw8w9PUu4BkJGJCVeZ3i0/oyAptxz5A6v76x+DbTSopu1F2AuIuPfLOjeJpx7RTLgCbzAWiw1MBgpG9qqeFKMZF8W+/CknQNbKi3rPb+cKhXAHR7iN83KZztNSaDqqoebX0jLCtF15N6g7bWgNLxmFayL5Gt0HjeALExBgNX6kmbLkDNE9jQwTzeh8PmvgMQ2WOWlU7Oar4gKG6AtfTwPAvjOKrtYb/WNVevu2DQM7RETblSvNi5dj/I9Zdw8YklCkXyx4G5pb7pJcV9AQZHZ0F3cw2fWD8rxsZtFNkkUSNLu+g5GJxNN1mmcNXaOko1WGz0pryfgCQbgE2jhjPPHNC1403jjOnn4mC/JcXSQnpxXf2i4Gm0+QEoHR+J3rabKRh8ZCtg0FYcKRb3AIiNYv71u3aG31cvXVBfdWnUtveYMh086xFyPZXZUyydE1DueyivbWu7YLC9b4HB1/jHrWkHDE7ZEaiMAEejBJtItUDOqvV9pS8nlpU6dtTH1F7TqdR+3XTwEtMG/xKqWDKer8nBPzDFs9FRMgQf0oh/dQmCIAjCf+Ebu+//1hLdqlIAAAAASUVORK5CYII="},50802:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_seriedata-9eb9c58844816e1b59d51b3eda2caa97.png"},67983:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_textmeshpro-547e51c8c3f3040fc0f26e9c46b38abc.png"},78724:function(e,t,a){t.Z=a.p+"assets/images/tutorial01_textmeshpro_font-cb5e61032da018ed1bd18e3846ea2329.png"}}]); \ No newline at end of file diff --git a/en/assets/js/9abfe212.83e51c92.js b/en/assets/js/9abfe212.83e51c92.js new file mode 100644 index 00000000..52a36113 --- /dev/null +++ b/en/assets/js/9abfe212.83e51c92.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9578],{53709:function(a){a.exports=JSON.parse('{"pluginId":"default","version":"v3.12.0","label":"v3.12.0","banner":null,"badge":true,"className":"docs-version-v3.12.0","isLast":true,"docsSidebars":{"langSidebar":[{"type":"link","label":"\u5173\u4e8eXCharts","href":"/en/docs/about","docId":"lang/articles/about"},{"type":"link","label":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","href":"/en/docs/tutorial01","docId":"lang/articles/tutorial01"},{"type":"link","label":"\u914d\u7f6e\u9879\u624b\u518c","href":"/en/docs/configuration","docId":"lang/articles/configuration"},{"type":"link","label":"API\u624b\u518c","href":"/en/docs/api","docId":"lang/articles/api"},{"type":"link","label":"\u5e38\u89c1\u95ee\u9898","href":"/en/docs/faq","docId":"lang/articles/faq"},{"type":"link","label":"\u8ba2\u9605\u670d\u52a1","href":"/en/docs/support","docId":"lang/articles/support"},{"type":"link","label":"\u66f4\u65b0\u65e5\u5fd7","href":"/en/docs/changelog","docId":"lang/articles/changelog"},{"type":"category","label":"\u6269\u5c55\u7ec4\u4ef6","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"UIStatistic \u7edf\u8ba1\u6570\u503c","href":"/en/docs/lang/articles/ui/ui_statistic","docId":"lang/articles/ui/ui_statistic"},{"type":"link","label":"UITable \u8868\u683c","href":"/en/docs/lang/articles/ui/ui_table","docId":"lang/articles/ui/ui_table"}],"href":"/en/docs/ui"},{"type":"category","label":"\u6269\u5c55\u56fe\u8868","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Bar3DChart 3D\u67f1\u56fe","href":"/en/docs/bar3d","docId":"lang/articles/extra/bar3d"},{"type":"link","label":"FunnelChart \u6f0f\u6597\u56fe","href":"/en/docs/funnel","docId":"lang/articles/extra/funnel"},{"type":"link","label":"GanttChart \u7518\u7279\u56fe","href":"/en/docs/gantt","docId":"lang/articles/extra/gantt"},{"type":"link","label":"GaugeChart \u4eea\u8868\u76d8","href":"/en/docs/gauge","docId":"lang/articles/extra/gauge"},{"type":"link","label":"GraphChart \u5173\u7cfb\u56fe","href":"/en/docs/graph","docId":"lang/articles/extra/graph"},{"type":"link","label":"Line3DChart 3D\u6298\u7ebf\u56fe","href":"/en/docs/line3d","docId":"lang/articles/extra/line3d"},{"type":"link","label":"LiquidChart \u6c34\u4f4d\u56fe","href":"/en/docs/liquid","docId":"lang/articles/extra/liquid"},{"type":"link","label":"PictorialBarChart \u8c61\u5f62\u67f1\u56fe","href":"/en/docs/pictorialbar","docId":"lang/articles/extra/pictorialbar"},{"type":"link","label":"Pie3DChart 3D\u997c\u56fe","href":"/en/docs/pie3d","docId":"lang/articles/extra/pie3d"},{"type":"link","label":"PyramidChart \u91d1\u5b57\u5854","href":"/en/docs/pyramid","docId":"lang/articles/extra/pyramid"},{"type":"link","label":"SankeyChart \u6851\u57fa\u56fe","href":"/en/docs/sankey","docId":"lang/articles/extra/sankey"},{"type":"link","label":"TreemapChart \u77e9\u5f62\u6811\u56fe","href":"/en/docs/treemap","docId":"lang/articles/extra/treemap"}],"href":"/en/docs/extra"},{"type":"category","label":"\u8fdb\u9636\u6559\u7a0b","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u4ece\u6587\u4ef6\u6216\u6570\u636e\u5e93\u8bfb\u53d6\u6570\u636e\u663e\u793a\u56fe\u8868","href":"/en/docs/tutorial02","docId":"lang/articles/advanced/tutorial10"},{"type":"link","label":"\u5fc3\u7535\u56fe\u6548\u679c\u5b9e\u73b0","href":"/en/docs/tutorial03","docId":"lang/articles/advanced/tutorial11"},{"type":"link","label":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","href":"/en/docs/inputsystem","docId":"lang/articles/advanced/tutorial12_inputsystem"}]}]},"docs":{"lang/articles/about":{"id":"lang/articles/about","title":"\u5173\u4e8eXCharts","description":"XCharts","sidebar":"langSidebar"},"lang/articles/advanced/tutorial10":{"id":"lang/articles/advanced/tutorial10","title":"\u4ece\u6587\u4ef6\u6216\u6570\u636e\u5e93\u8bfb\u53d6\u6570\u636e\u663e\u793a\u56fe\u8868","description":"TODO","sidebar":"langSidebar"},"lang/articles/advanced/tutorial11":{"id":"lang/articles/advanced/tutorial11","title":"\u5fc3\u7535\u56fe\u6548\u679c\u5b9e\u73b0","description":"TODO","sidebar":"langSidebar"},"lang/articles/advanced/tutorial12_inputsystem":{"id":"lang/articles/advanced/tutorial12_inputsystem","title":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","description":"1. \u6309\u56fe\u793a\u4fee\u6539\u9879\u76ee\u914d\u7f6e\u4e2d\u8f93\u5165\u6a21\u5f0f\u4e3a Input System","sidebar":"langSidebar"},"lang/articles/api":{"id":"lang/articles/api","title":"API\u624b\u518c","description":"\u6240\u6709\u7c7b","sidebar":"langSidebar"},"lang/articles/changelog":{"id":"lang/articles/changelog","title":"\u66f4\u65b0\u65e5\u5fd7","description":"master","sidebar":"langSidebar"},"lang/articles/configuration":{"id":"lang/articles/configuration","title":"\u914d\u7f6e\u9879\u624b\u518c","description":"Serie \u7cfb\u5217","sidebar":"langSidebar"},"lang/articles/extra/bar3d":{"id":"lang/articles/extra/bar3d","title":"Bar3DChart 3D\u67f1\u56fe","description":"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - 3D\u67f1\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/extra/extra":{"id":"lang/articles/extra/extra","title":"\u6269\u5c55\u56fe\u8868","description":"XCharts\u7684\u6269\u5c55\u56fe\u8868\u3002","sidebar":"langSidebar"},"lang/articles/extra/funnel":{"id":"lang/articles/extra/funnel","title":"FunnelChart \u6f0f\u6597\u56fe","description":"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u6f0f\u6597\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/extra/gantt":{"id":"lang/articles/extra/gantt","title":"GanttChart \u7518\u7279\u56fe","description":"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u7518\u7279\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/extra/gauge":{"id":"lang/articles/extra/gauge","title":"GaugeChart \u4eea\u8868\u76d8","description":"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u4eea\u8868\u76d8\u3002","sidebar":"langSidebar"},"lang/articles/extra/graph":{"id":"lang/articles/extra/graph","title":"GraphChart \u5173\u7cfb\u56fe","description":"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u5173\u7cfb\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/extra/line3d":{"id":"lang/articles/extra/line3d","title":"Line3DChart 3D\u6298\u7ebf\u56fe","description":"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - 3D\u6298\u7ebf\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/extra/liquid":{"id":"lang/articles/extra/liquid","title":"LiquidChart \u6c34\u4f4d\u56fe","description":"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u6c34\u4f4d\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/extra/pictorialbar":{"id":"lang/articles/extra/pictorialbar","title":"PictorialBarChart \u8c61\u5f62\u67f1\u56fe","description":"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u8c61\u5f62\u67f1\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/extra/pie3d":{"id":"lang/articles/extra/pie3d","title":"Pie3DChart 3D\u997c\u56fe","description":"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - 3D\u997c\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/extra/pyramid":{"id":"lang/articles/extra/pyramid","title":"PyramidChart \u91d1\u5b57\u5854","description":"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u91d1\u5b57\u5854\u3002","sidebar":"langSidebar"},"lang/articles/extra/sankey":{"id":"lang/articles/extra/sankey","title":"SankeyChart \u6851\u57fa\u56fe","description":"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u6851\u57fa\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/extra/treemap":{"id":"lang/articles/extra/treemap","title":"TreemapChart \u77e9\u5f62\u6811\u56fe","description":"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u77e9\u5f62\u6811\u56fe\u3002","sidebar":"langSidebar"},"lang/articles/faq":{"id":"lang/articles/faq","title":"\u5e38\u89c1\u95ee\u9898","description":"FAQ 1\uff1a\u5982\u4f55\u8c03\u6574\u5750\u6807\u8f74\u4e0e\u80cc\u666f\u7684\u8fb9\u8ddd\uff1f","sidebar":"langSidebar"},"lang/articles/support":{"id":"lang/articles/support","title":"\u8ba2\u9605\u670d\u52a1","description":"\u5982\u9700\u6280\u672f\u652f\u6301\u548c\u8d2d\u4e70\u6269\u5c55\u56fe\u8868\uff0c\u53ef\u8ba2\u9605VIP\u670d\u52a1\u3002\u8be6\u60c5\u53ef\u67e5\u770b\u4ee5\u4e0b\u5185\u5bb9\uff0c\u4e5f\u53ef\u4ee5\u52a0QQ3525422251\uff08XCharts\u6280\u672f\u652f\u6301\uff09\u6216\u53d1\u90ae\u4ef6\u5230monitor1394@gmail.com\u8fdb\u884c\u54a8\u8be2\u3002","sidebar":"langSidebar"},"lang/articles/tutorial01":{"id":"lang/articles/tutorial01","title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","description":"Note\uff1a\u672c\u6559\u7a0b\u4ec5\u9002\u7528XCharts 3.x\u7248\u672c\uff0c2.x\u7248\u672c\u8bf7\u770b \u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624bXCharts 2.0","sidebar":"langSidebar"},"lang/articles/ui/ui":{"id":"lang/articles/ui/ui","title":"\u6269\u5c55UI\u7ec4\u4ef6","description":"XCharts\u7684\u6269\u5c55UI\u7ec4\u4ef6\uff0cVIP\u8ba2\u9605\u7528\u6237\u4e13\u6709\u3002","sidebar":"langSidebar"},"lang/articles/ui/ui_statistic":{"id":"lang/articles/ui/ui_statistic","title":"UIStatistic \u7edf\u8ba1\u6570\u503c","description":"statistic","sidebar":"langSidebar"},"lang/articles/ui/ui_table":{"id":"lang/articles/ui/ui_table","title":"UITable \u8868\u683c","description":"table","sidebar":"langSidebar"}}}')}}]); \ No newline at end of file diff --git a/en/assets/js/9c4c7084.eebeb9cd.js b/en/assets/js/9c4c7084.eebeb9cd.js new file mode 100644 index 00000000..1f88ce82 --- /dev/null +++ b/en/assets/js/9c4c7084.eebeb9cd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2786],{3905:function(e,t,r){r.d(t,{Zo:function(){return p},kt:function(){return h}});var a=r(67294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t){if(null==e)return{};var r,a,i=function(e,t){if(null==e)return{};var r,a,i={},n=Object.keys(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var c=a.createContext({}),d=function(e){var t=a.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=d(e.components);return a.createElement(c.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},s=a.forwardRef((function(e,t){var r=e.components,i=e.mdxType,n=e.originalType,c=e.parentName,p=o(e,["components","mdxType","originalType","parentName"]),s=d(r),h=i,m=s["".concat(c,".").concat(h)]||s[h]||u[h]||n;return r?a.createElement(m,l(l({ref:t},p),{},{components:r})):a.createElement(m,l({ref:t},p))}));function h(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var n=r.length,l=new Array(n);l[0]=s;var o={};for(var c in t)hasOwnProperty.call(t,c)&&(o[c]=t[c]);o.originalType=e,o.mdxType="string"==typeof e?e:i,l[1]=o;for(var d=2;d<n;d++)l[d]=r[d];return a.createElement.apply(null,l)}return a.createElement.apply(null,r)}s.displayName="MDXCreateElement"},34643:function(e,t,r){r.r(t),r.d(t,{frontMatter:function(){return o},contentTitle:function(){return c},metadata:function(){return d},toc:function(){return p},default:function(){return s}});var a=r(83117),i=r(80102),n=(r(67294),r(3905)),l=(r(84597),["components"]),o={sidebar_position:0,slug:"/pictorialbar"},c="PictorialBarChart \u8c61\u5f62\u67f1\u56fe",d={unversionedId:"lang/articles/extra/pictorialbar",id:"version-v3.12.0/lang/articles/extra/pictorialbar",title:"PictorialBarChart \u8c61\u5f62\u67f1\u56fe",description:"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u8c61\u5f62\u67f1\u56fe\u3002",source:"@site/versioned_docs/version-v3.12.0/lang/articles/extra/pictorialbar.md",sourceDirName:"lang/articles/extra",slug:"/pictorialbar",permalink:"/en/docs/pictorialbar",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/extra/pictorialbar.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"10/1/2024",sidebarPosition:0,frontMatter:{sidebar_position:0,slug:"/pictorialbar"},sidebar:"langSidebar",previous:{title:"LiquidChart \u6c34\u4f4d\u56fe",permalink:"/en/docs/liquid"},next:{title:"Pie3DChart 3D\u997c\u56fe",permalink:"/en/docs/pie3d"}},p=[{value:"\u622a\u56fe",id:"\u622a\u56fe",children:[],level:2},{value:"\u8bb8\u53ef",id:"\u8bb8\u53ef",children:[],level:2},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",children:[],level:2},{value:"\u6559\u7a0b",id:"\u6559\u7a0b",children:[],level:2},{value:"\u6587\u6863",id:"\u6587\u6863",children:[],level:2},{value:"\u65e5\u5fd7",id:"\u65e5\u5fd7",children:[{value:"v3.12.0",id:"v3120",children:[],level:3},{value:"v3.11.0",id:"v3110",children:[],level:3},{value:"v3.10.0",id:"v3100",children:[],level:3},{value:"v3.9.0",id:"v390",children:[],level:3},{value:"v3.8.1",id:"v381",children:[],level:3},{value:"v3.8.0",id:"v380",children:[],level:3},{value:"v3.6.1",id:"v361",children:[],level:3},{value:"v3.6.0",id:"v360",children:[],level:3},{value:"v3.5.0",id:"v350",children:[],level:3},{value:"v3.4.0",id:"v340",children:[],level:3},{value:"v3.2.0",id:"v320",children:[],level:3}],level:2},{value:"API",id:"api",children:[{value:"PictorialBar",id:"pictorialbar",children:[{value:"PictorialBar.containerIndex",id:"pictorialbarcontainerindex",children:[],level:4},{value:"PictorialBar.containterInstanceId",id:"pictorialbarcontainterinstanceid",children:[],level:4},{value:"PictorialBar.AddDefaultSerie",id:"pictorialbaradddefaultserie",children:[],level:4},{value:"PictorialBar.ConvertSerie",id:"pictorialbarconvertserie",children:[],level:4}],level:3},{value:"PictorialBarChart",id:"pictorialbarchart",children:[],level:3}],level:2},{value:"\u914d\u7f6e\u9879\u624b\u518c",id:"\u914d\u7f6e\u9879\u624b\u518c",children:[{value:"PictorialBar",id:"pictorialbar-1",children:[],level:3}],level:2}],u={toc:p};function s(e){var t=e.components,o=(0,i.Z)(e,l);return(0,n.kt)("wrapper",(0,a.Z)({},u,o,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"pictorialbarchart-\u8c61\u5f62\u67f1\u56fe"},"PictorialBarChart \u8c61\u5f62\u67f1\u56fe"),(0,n.kt)("p",null,"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u8c61\u5f62\u67f1\u56fe\u3002"),(0,n.kt)("h2",{id:"\u622a\u56fe"},"\u622a\u56fe"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"PictorialBar01",src:r(50518).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"PictorialBar02",src:r(78172).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"PictorialBar03",src:r(24485).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"PictorialBar04",src:r(76937).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"})))),(0,n.kt)("h2",{id:"\u8bb8\u53ef"},"\u8bb8\u53ef"),(0,n.kt)("p",null,"\u6269\u5c55\u56fe\u8868\uff0c\u9700\u4ed8\u8d39\u8d2d\u4e70\u540e\u624d\u83b7\u5f97\u4f7f\u7528\u8bb8\u53ef\u3002"),(0,n.kt)("h2",{id:"\u793a\u4f8b"},"\u793a\u4f8b"),(0,n.kt)("p",null,"Demo\u4ed3\u5e93\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-PictorialBarChart-Demo"},"XCharts-PictorialBarChart-Demo")),(0,n.kt)("h2",{id:"\u6559\u7a0b"},"\u6559\u7a0b"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Demo"},"\u6269\u5c55\u56fe\u8868\u5982\u4f55\u5bfc\u5165Demo\u9879\u76ee\u6216\u5bfc\u5165\u81ea\u5df1\u9879\u76ee")),(0,n.kt)("h2",{id:"\u6587\u6863"},"\u6587\u6863"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#api"},"API"),(0,n.kt)("br",{parentName:"p"}),"\n",(0,n.kt)("a",{parentName:"p",href:"#%E9%85%8D%E7%BD%AE%E9%A1%B9%E6%89%8B%E5%86%8C"},"\u914d\u7f6e\u9879\u624b\u518c")," "),(0,n.kt)("h2",{id:"\u65e5\u5fd7"},"\u65e5\u5fd7"),(0,n.kt)("h3",{id:"v3120"},"v3.12.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2024.09.30) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v3110"},"v3.11.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c")),(0,n.kt)("h3",{id:"v3100"},"v3.10.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.12.19) \u8c03\u6574",(0,n.kt)("inlineCode",{parentName:"li"},"Border"),"\u76f8\u5173\u4ee3\u7801")),(0,n.kt)("h3",{id:"v390"},"v3.9.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.12.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.9.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.12.01) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v381"},"v3.8.1"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.09.26) \u4fee\u590d",(0,n.kt)("inlineCode",{parentName:"li"},"PictorialBar"),"\u52a8\u6001\u6dfb\u52a0\u6570\u636e\u65f6\u4e0d\u5237\u65b0\u7684\u95ee\u9898")),(0,n.kt)("h3",{id:"v380"},"v3.8.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.07.31) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.8.0"))),(0,n.kt)("h3",{id:"v361"},"v3.6.1"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.06.08) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.6.1"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.06.08) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v360"},"v3.6.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.04.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.6.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.09) \u652f\u6301",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieClick")," ",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieDown")," ",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieEnter"),"\u548c",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieExit"),"\u56de\u8c03"),(0,n.kt)("li",{parentName:"ul"},"(2023.02.14) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.6.0"))),(0,n.kt)("h3",{id:"v350"},"v3.5.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.12.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.5.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2022.11.29) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"barMaxWidth"),"\u7684\u652f\u6301"),(0,n.kt)("li",{parentName:"ul"},"(2022.11.27) \u8c03\u6574",(0,n.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u6587\u6863\u7ed3\u6784")),(0,n.kt)("h3",{id:"v340"},"v3.4.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.11.01) \u652f\u6301",(0,n.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"unscaledTime")),(0,n.kt)("li",{parentName:"ul"},"(2022.11.01) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.4.0"))),(0,n.kt)("h3",{id:"v320"},"v3.2.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.08.22) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.2.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2022.08.19) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.2.0")),(0,n.kt)("li",{parentName:"ul"},"(2022.08.09) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"colorBy"),"\u53c2\u6570\u652f\u6301"),(0,n.kt)("li",{parentName:"ul"},"(2022.08.09) \u4fee\u590d",(0,n.kt)("inlineCode",{parentName:"li"},"label"),"\u5f02\u5e38\u95ee\u9898 (#1)")),(0,n.kt)("h2",{id:"api"},"API"),(0,n.kt)("h3",{id:"pictorialbar"},"PictorialBar"),(0,n.kt)("p",null,"class in XCharts.Runtime.PictorialBars / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("h4",{id:"pictorialbarcontainerindex"},"PictorialBar.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h4",{id:"pictorialbarcontainterinstanceid"},"PictorialBar.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h4",{id:"pictorialbaradddefaultserie"},"PictorialBar.AddDefaultSerie"),(0,n.kt)("p",null,"public static void AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h4",{id:"pictorialbarconvertserie"},"PictorialBar.ConvertSerie"),(0,n.kt)("p",null,"public static PictorialBar ConvertSerie(Serie serie) "),(0,n.kt)("h3",{id:"pictorialbarchart"},"PictorialBarChart"),(0,n.kt)("p",null,"class in XCharts.Runtime.PictorialBars / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#basechart"},"BaseChart")),(0,n.kt)("h2",{id:"\u914d\u7f6e\u9879\u624b\u518c"},"\u914d\u7f6e\u9879\u624b\u518c"),(0,n.kt)("h3",{id:"pictorialbar-1"},"PictorialBar"),(0,n.kt)("p",null,"class in XCharts.Runtime.PictorialBars / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#ineedseriecontainer"},"INeedSerieContainer")))}s.isMDXComponent=!0},84597:function(e,t,r){r.d(t,{Z:function(){return c}});var a=r(67294),i=r(76775),n="apiTable_e8hp";function l(e,t){var r=e.name,n=e.children,l=function(e){for(var t=e;(0,a.isValidElement)(t);)t=a.Children.toArray(t.props.children)[0];return t}(n),o=r?r+"-"+l:l,c="#"+o,d=(0,i.k6)();return a.createElement("tr",{id:o,tabIndex:0,ref:d.location.hash===c?t:void 0,onClick:function(e){"A"===e.target.tagName.toUpperCase()||d.push(c)},onKeyDown:function(e){"Enter"===e.key&&d.push(c)}},n.props.children)}var o=a.forwardRef(l);function c(e){var t=e.children,r=e.name,i=a.Children.toArray(t.props.children),l=i[0],c=i[1],d=(0,a.useRef)(null);(0,a.useEffect)((function(){var e;null==(e=d.current)||e.focus()}),[d]);var p=a.Children.map(c.props.children,(function(e){return a.createElement(o,{name:r,ref:d},e)}));return a.createElement("table",{className:n},l,a.createElement("tbody",null,p))}},50518:function(e,t,r){t.Z=r.p+"assets/images/PictorialBar01-e7da7496b055d4b01f4ba393ee39cdce.png"},78172:function(e,t,r){t.Z=r.p+"assets/images/PictorialBar02-5962bc2244d5839e66a0e8ef03246917.png"},24485:function(e,t,r){t.Z=r.p+"assets/images/PictorialBar03-6a5308d0f7ae994142cae22e1c0268da.png"},76937:function(e,t,r){t.Z=r.p+"assets/images/PictorialBar04-d5aa20424f36f01d6c38de08a0ded647.png"}}]); \ No newline at end of file diff --git a/en/assets/js/b3c5e4a8.aadd87f8.js b/en/assets/js/b3c5e4a8.aadd87f8.js new file mode 100644 index 00000000..959393fc --- /dev/null +++ b/en/assets/js/b3c5e4a8.aadd87f8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1772],{3905:function(e,t,i){i.d(t,{Zo:function(){return u},kt:function(){return h}});var l=i(67294);function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function a(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,l)}return i}function r(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?a(Object(i),!0).forEach((function(t){n(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function d(e,t){if(null==e)return{};var i,l,n=function(e,t){if(null==e)return{};var i,l,n={},a=Object.keys(e);for(l=0;l<a.length;l++)i=a[l],t.indexOf(i)>=0||(n[i]=e[i]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l<a.length;l++)i=a[l],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}var p=l.createContext({}),o=function(e){var t=l.useContext(p),i=t;return e&&(i="function"==typeof e?e(t):r(r({},t),e)),i},u=function(e){var t=o(e.components);return l.createElement(p.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return l.createElement(l.Fragment,{},t)}},s=l.forwardRef((function(e,t){var i=e.components,n=e.mdxType,a=e.originalType,p=e.parentName,u=d(e,["components","mdxType","originalType","parentName"]),s=o(i),h=n,k=s["".concat(p,".").concat(h)]||s[h]||c[h]||a;return i?l.createElement(k,r(r({ref:t},u),{},{components:i})):l.createElement(k,r({ref:t},u))}));function h(e,t){var i=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=i.length,r=new Array(a);r[0]=s;var d={};for(var p in t)hasOwnProperty.call(t,p)&&(d[p]=t[p]);d.originalType=e,d.mdxType="string"==typeof e?e:n,r[1]=d;for(var o=2;o<a;o++)r[o]=i[o];return l.createElement.apply(null,r)}return l.createElement.apply(null,i)}s.displayName="MDXCreateElement"},83975:function(e,t,i){i.r(t),i.d(t,{frontMatter:function(){return d},contentTitle:function(){return p},metadata:function(){return o},toc:function(){return u},default:function(){return s}});var l=i(83117),n=i(80102),a=(i(67294),i(3905)),r=(i(84597),["components"]),d={sidebar_position:0,slug:"/pie3d"},p="Pie3DChart 3D\u997c\u56fe",o={unversionedId:"lang/articles/extra/pie3d",id:"version-v3.12.0/lang/articles/extra/pie3d",title:"Pie3DChart 3D\u997c\u56fe",description:"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - 3D\u997c\u56fe\u3002",source:"@site/versioned_docs/version-v3.12.0/lang/articles/extra/pie3d.md",sourceDirName:"lang/articles/extra",slug:"/pie3d",permalink:"/en/docs/pie3d",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/extra/pie3d.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"10/1/2024",sidebarPosition:0,frontMatter:{sidebar_position:0,slug:"/pie3d"},sidebar:"langSidebar",previous:{title:"PictorialBarChart \u8c61\u5f62\u67f1\u56fe",permalink:"/en/docs/pictorialbar"},next:{title:"PyramidChart \u91d1\u5b57\u5854",permalink:"/en/docs/pyramid"}},u=[{value:"\u622a\u56fe",id:"\u622a\u56fe",children:[],level:2},{value:"\u8bb8\u53ef",id:"\u8bb8\u53ef",children:[],level:2},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",children:[],level:2},{value:"\u6559\u7a0b",id:"\u6559\u7a0b",children:[],level:2},{value:"\u6587\u6863",id:"\u6587\u6863",children:[],level:2},{value:"\u65e5\u5fd7",id:"\u65e5\u5fd7",children:[{value:"v3.12.0",id:"v3120",children:[],level:3},{value:"v3.11.0",id:"v3110",children:[],level:3},{value:"v3.10.1",id:"v3101",children:[],level:3},{value:"v3.10.0",id:"v3100",children:[],level:3},{value:"v3.9.0",id:"v390",children:[],level:3},{value:"v3.8.1",id:"v381",children:[],level:3},{value:"v3.8.0",id:"v380",children:[],level:3},{value:"v3.6.2",id:"v362",children:[],level:3},{value:"v3.6.1",id:"v361",children:[],level:3},{value:"v3.6.0",id:"v360",children:[],level:3},{value:"v3.5.0",id:"v350",children:[],level:3},{value:"v3.4.0",id:"v340",children:[],level:3},{value:"v3.3.0",id:"v330",children:[],level:3},{value:"v3.2.0",id:"v320",children:[],level:3}],level:2},{value:"API",id:"api",children:[{value:"Pie3D",id:"pie3d",children:[{value:"Pie3D.defaultColorBy",id:"pie3ddefaultcolorby",children:[],level:4},{value:"Pie3D.AddDefaultSerie",id:"pie3dadddefaultserie",children:[],level:4},{value:"Pie3D.ConvertSerie",id:"pie3dconvertserie",children:[],level:4}],level:3},{value:"Pie3DChart",id:"pie3dchart",children:[{value:"Pie3DChart.DefaultAutoHeightPie3DChart",id:"pie3dchartdefaultautoheightpie3dchart",children:[],level:4},{value:"Pie3DChart.DefaultDonutPie3DChart",id:"pie3dchartdefaultdonutpie3dchart",children:[],level:4},{value:"Pie3DChart.DefaultEllipsePie3DChart",id:"pie3dchartdefaultellipsepie3dchart",children:[],level:4}],level:3},{value:"Pie3DSlice",id:"pie3dslice",children:[{value:"Pie3DSlice.Contains",id:"pie3dslicecontains",children:[],level:4},{value:"Pie3DSlice.IsInPolygon",id:"pie3dsliceisinpolygon",children:[],level:4},{value:"Pie3DSlice.IsInSidePolygon",id:"pie3dsliceisinsidepolygon",children:[],level:4},{value:"Pie3DSlice.IsInStartOrEndSide",id:"pie3dsliceisinstartorendside",children:[],level:4},{value:"Pie3DSlice.IsInTopPolygon",id:"pie3dsliceisintoppolygon",children:[],level:4},{value:"Pie3DSlice.Pie3DSlice",id:"pie3dslicepie3dslice",children:[],level:4},{value:"Pie3DSlice.UpdateValue",id:"pie3dsliceupdatevalue",children:[],level:4}],level:3},{value:"Pie3DStyle",id:"pie3dstyle",children:[{value:"Pie3DStyle.drawSplitSide",id:"pie3dstyledrawsplitside",children:[],level:4},{value:"Pie3DStyle.ellipseMinorAxis",id:"pie3dstyleellipseminoraxis",children:[],level:4},{value:"Pie3DStyle.endSideColorRate",id:"pie3dstyleendsidecolorrate",children:[],level:4},{value:"Pie3DStyle.peripherySideColorRate",id:"pie3dstyleperipherysidecolorrate",children:[],level:4},{value:"Pie3DStyle.pieAutoHeight",id:"pie3dstylepieautoheight",children:[],level:4},{value:"Pie3DStyle.pieMaxHeight",id:"pie3dstylepiemaxheight",children:[],level:4},{value:"Pie3DStyle.selectedOffset",id:"pie3dstyleselectedoffset",children:[],level:4},{value:"Pie3DStyle.startSideColorRate",id:"pie3dstylestartsidecolorrate",children:[],level:4}],level:3}],level:2},{value:"\u914d\u7f6e\u9879\u624b\u518c",id:"\u914d\u7f6e\u9879\u624b\u518c",children:[{value:"Pie3D",id:"pie3d-1",children:[{value:"Pie3D.pie3DStyle",id:"pie3dpie3dstyle",children:[],level:4}],level:3},{value:"Pie3DStyle",id:"pie3dstyle-1",children:[{value:"Pie3DStyle.drawSplitSide",id:"pie3dstyledrawsplitside-1",children:[],level:4},{value:"Pie3DStyle.ellipseMinorAxis",id:"pie3dstyleellipseminoraxis-1",children:[],level:4},{value:"Pie3DStyle.endSideColorRate",id:"pie3dstyleendsidecolorrate-1",children:[],level:4},{value:"Pie3DStyle.peripherySideColorRate",id:"pie3dstyleperipherysidecolorrate-1",children:[],level:4},{value:"Pie3DStyle.pieAutoHeight",id:"pie3dstylepieautoheight-1",children:[],level:4},{value:"Pie3DStyle.pieMaxHeight",id:"pie3dstylepiemaxheight-1",children:[],level:4},{value:"Pie3DStyle.selectedOffset",id:"pie3dstyleselectedoffset-1",children:[],level:4},{value:"Pie3DStyle.show",id:"pie3dstyleshow",children:[],level:4},{value:"Pie3DStyle.startSideColorRate",id:"pie3dstylestartsidecolorrate-1",children:[],level:4}],level:3}],level:2}],c={toc:u};function s(e){var t=e.components,d=(0,n.Z)(e,r);return(0,a.kt)("wrapper",(0,l.Z)({},c,d,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"pie3dchart-3d\u997c\u56fe"},"Pie3DChart 3D\u997c\u56fe"),(0,a.kt)("p",null,"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - 3D\u997c\u56fe\u3002"),(0,a.kt)("h2",{id:"\u622a\u56fe"},"\u622a\u56fe"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"center"}),(0,a.kt)("th",{parentName:"tr",align:"center"}),(0,a.kt)("th",{parentName:"tr",align:"center"}),(0,a.kt)("th",{parentName:"tr",align:"center"}),(0,a.kt)("th",{parentName:"tr",align:"center"}))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"center"},(0,a.kt)("img",{alt:"Pie3D01",src:i(92994).Z,width:"577",height:"490"})),(0,a.kt)("td",{parentName:"tr",align:"center"},(0,a.kt)("img",{alt:"Pie3D02",src:i(13723).Z,width:"577",height:"490"})),(0,a.kt)("td",{parentName:"tr",align:"center"},(0,a.kt)("img",{alt:"Pie3D03",src:i(19136).Z,width:"577",height:"490"})),(0,a.kt)("td",{parentName:"tr",align:"center"},(0,a.kt)("img",{alt:"Pie3D04",src:i(51739).Z,width:"577",height:"490"})),(0,a.kt)("td",{parentName:"tr",align:"center"},(0,a.kt)("img",{alt:"Pie3D05",src:i(63059).Z,width:"577",height:"490"}))),(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"center"},(0,a.kt)("img",{alt:"Pie3D07",src:i(378).Z,width:"577",height:"490"})),(0,a.kt)("td",{parentName:"tr",align:"center"},(0,a.kt)("img",{alt:"Pie3D08",src:i(81508).Z,width:"577",height:"490"})),(0,a.kt)("td",{parentName:"tr",align:"center"}),(0,a.kt)("td",{parentName:"tr",align:"center"}),(0,a.kt)("td",{parentName:"tr",align:"center"})))),(0,a.kt)("h2",{id:"\u8bb8\u53ef"},"\u8bb8\u53ef"),(0,a.kt)("p",null,"\u6269\u5c55\u56fe\u8868\uff0c\u9700\u4ed8\u8d39\u8d2d\u4e70\u540e\u624d\u83b7\u5f97\u4f7f\u7528\u8bb8\u53ef\u3002"),(0,a.kt)("h2",{id:"\u793a\u4f8b"},"\u793a\u4f8b"),(0,a.kt)("p",null,"Demo\u4ed3\u5e93\uff1a",(0,a.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Pie3DChart-Demo"},"XCharts-Pie3DChart-Demo")),(0,a.kt)("h2",{id:"\u6559\u7a0b"},"\u6559\u7a0b"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Demo"},"\u6269\u5c55\u56fe\u8868\u5982\u4f55\u5bfc\u5165Demo\u9879\u76ee\u6216\u5bfc\u5165\u81ea\u5df1\u9879\u76ee")),(0,a.kt)("h2",{id:"\u6587\u6863"},"\u6587\u6863"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"#api"},"API"),(0,a.kt)("br",{parentName:"p"}),"\n",(0,a.kt)("a",{parentName:"p",href:"#%E9%85%8D%E7%BD%AE%E9%A1%B9%E6%89%8B%E5%86%8C"},"\u914d\u7f6e\u9879\u624b\u518c")," "),(0,a.kt)("h2",{id:"\u65e5\u5fd7"},"\u65e5\u5fd7"),(0,a.kt)("h3",{id:"v3120"},"v3.12.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,a.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,a.kt)("li",{parentName:"ul"},"(2024.09.30) \u66f4\u65b0\u6587\u6863")),(0,a.kt)("h3",{id:"v3110"},"v3.11.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,a.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c")),(0,a.kt)("h3",{id:"v3101"},"v3.10.1"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2024.02.28) \u4fee\u590d",(0,a.kt)("inlineCode",{parentName:"li"},"Pie3D"),"\u5728\u52a8\u753b\u8fc7\u7a0b\u4e2d\u53ef\u80fd\u51fa\u73b0\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898")),(0,a.kt)("h3",{id:"v3100"},"v3.10.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2024.01.16) \u589e\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"XCharts"),"\u4e0a\u7684\u66f4\u591a\u83dc\u5355\u680f\u5feb\u6377\u65b9\u5f0f\uff0c\u4e00\u952e\u521b\u5efa\u591a\u79cd3D\u997c\u56fe"),(0,a.kt)("li",{parentName:"ul"},"(2023.12.17) \u589e\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"Pie3DStyle"),"\u7684",(0,a.kt)("inlineCode",{parentName:"li"},"drawSplitSide"),"\u8bbe\u7f6e\u662f\u5426\u7ed8\u5236\u5206\u5272\u9762"),(0,a.kt)("li",{parentName:"ul"},"(2023.12.16) \u589e\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"Border"),"\u63cf\u8fb9\u652f\u6301"),(0,a.kt)("li",{parentName:"ul"},"(2023.12.15) \u589e\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,a.kt)("inlineCode",{parentName:"li"},"label"),"\u53ef\u6307\u793a\u5728\u8fb9\u7f18\u7684\u652f\u6301"),(0,a.kt)("li",{parentName:"ul"},"(2023.12.10) \u589e\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,a.kt)("inlineCode",{parentName:"li"},"minShowLabel"),"\u53ef\u9690\u85cf\u5c0f\u4e8e\u6307\u5b9a\u503c\u7684",(0,a.kt)("inlineCode",{parentName:"li"},"label"))),(0,a.kt)("h3",{id:"v390"},"v3.9.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2023.12.01) \u53d1\u5e03",(0,a.kt)("inlineCode",{parentName:"li"},"v3.9.0"),"\u7248\u672c"),(0,a.kt)("li",{parentName:"ul"},"(2023.11.30) \u4f18\u5316",(0,a.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u53ea\u6709\u4e00\u4e2a\u65f6\u4e0d\u7ed8\u5236\u4fa7\u8fb9"),(0,a.kt)("li",{parentName:"ul"},"(2023.11.30) \u589e\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u53ef\u5355\u72ec\u6dfb\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"Label"),"\u7684\u652f\u6301")),(0,a.kt)("h3",{id:"v381"},"v3.8.1"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2023.09.14) \u4fee\u590d",(0,a.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684\u6570\u636e\u4e3a\u5168\u4e3a0\u65f6\u56fe\u8868\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898"),(0,a.kt)("li",{parentName:"ul"},"(2023.09.08) \u589e\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684",(0,a.kt)("inlineCode",{parentName:"li"},"radius"),"\u53ef\u81ea\u5b9a\u4e49\u5404\u997c\u5757\u9ad8\u5ea6\u7684\u652f\u6301")),(0,a.kt)("h3",{id:"v380"},"v3.8.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2023.07.31) \u540c\u6b65",(0,a.kt)("inlineCode",{parentName:"li"},"XCharts v3.8.0"))),(0,a.kt)("h3",{id:"v362"},"v3.6.2"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2023.06.08) \u53d1\u5e03",(0,a.kt)("inlineCode",{parentName:"li"},"v3.6.1"),"\u7248\u672c"),(0,a.kt)("li",{parentName:"ul"},"(2023.06.08) \u66f4\u65b0\u6587\u6863")),(0,a.kt)("h3",{id:"v361"},"v3.6.1"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2023.05.21) \u589e\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"avoidLabelOverlap"),"\u652f\u6301")),(0,a.kt)("h3",{id:"v360"},"v3.6.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2023.04.01) \u53d1\u5e03",(0,a.kt)("inlineCode",{parentName:"li"},"v3.6.0"),"\u7248\u672c"),(0,a.kt)("li",{parentName:"ul"},"(2023.03.09) \u652f\u6301",(0,a.kt)("inlineCode",{parentName:"li"},"onSerieClick")," ",(0,a.kt)("inlineCode",{parentName:"li"},"onSerieDown")," ",(0,a.kt)("inlineCode",{parentName:"li"},"onSerieEnter"),"\u548c",(0,a.kt)("inlineCode",{parentName:"li"},"onSerieExit"),"\u56de\u8c03"),(0,a.kt)("li",{parentName:"ul"},"(2023.02.14) \u540c\u6b65",(0,a.kt)("inlineCode",{parentName:"li"},"XCharts v3.6.0"))),(0,a.kt)("h3",{id:"v350"},"v3.5.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2022.12.01) \u53d1\u5e03",(0,a.kt)("inlineCode",{parentName:"li"},"v3.5.0"),"\u7248\u672c"),(0,a.kt)("li",{parentName:"ul"},"(2022.11.27) \u8c03\u6574",(0,a.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u6587\u6863\u7ed3\u6784")),(0,a.kt)("h3",{id:"v340"},"v3.4.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2022.11.01) \u652f\u6301",(0,a.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684",(0,a.kt)("inlineCode",{parentName:"li"},"unscaledTime")),(0,a.kt)("li",{parentName:"ul"},"(2022.11.01) \u540c\u6b65",(0,a.kt)("inlineCode",{parentName:"li"},"XCharts v3.4.0"))),(0,a.kt)("h3",{id:"v330"},"v3.3.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2022.09.02) \u589e\u52a0",(0,a.kt)("inlineCode",{parentName:"li"},"onPointerEnterPie"),"\u56de\u8c03\u652f\u6301")),(0,a.kt)("h3",{id:"v320"},"v3.2.0"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(2022.08.22) \u53d1\u5e03",(0,a.kt)("inlineCode",{parentName:"li"},"v3.2.0"),"\u7248\u672c"),(0,a.kt)("li",{parentName:"ul"},"(2022.08.19) \u540c\u6b65",(0,a.kt)("inlineCode",{parentName:"li"},"XCharts v3.2.0"))),(0,a.kt)("h2",{id:"api"},"API"),(0,a.kt)("h3",{id:"pie3d"},"Pie3D"),(0,a.kt)("p",null,"class in XCharts.Runtime.Pie3Ds / \u7ee7\u627f\u81ea: ",(0,a.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#serie"},"Serie")),(0,a.kt)("p",null,"3D\u997c\u56fe\u7cfb\u5217\u3002"),(0,a.kt)("h4",{id:"pie3ddefaultcolorby"},"Pie3D.defaultColorBy"),(0,a.kt)("p",null,"public override SerieColorBy defaultColorBy "),(0,a.kt)("h4",{id:"pie3dadddefaultserie"},"Pie3D.AddDefaultSerie"),(0,a.kt)("p",null,"public static Serie AddDefaultSerie(BaseChart chart, string serieName) "),(0,a.kt)("h4",{id:"pie3dconvertserie"},"Pie3D.ConvertSerie"),(0,a.kt)("p",null,"public static Pie3D ConvertSerie(Serie serie) "),(0,a.kt)("h3",{id:"pie3dchart"},"Pie3DChart"),(0,a.kt)("p",null,"class in XCharts.Runtime.Pie3Ds / \u7ee7\u627f\u81ea: ",(0,a.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#basechart"},"BaseChart")),(0,a.kt)("p",null,"3D\u997c\u56fe\u3002"),(0,a.kt)("h4",{id:"pie3dchartdefaultautoheightpie3dchart"},"Pie3DChart.DefaultAutoHeightPie3DChart"),(0,a.kt)("p",null,"public void DefaultAutoHeightPie3DChart()",(0,a.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba43D\u81ea\u52a8\u9ad8\u5ea6\u997c\u56fe\u3002"),(0,a.kt)("h4",{id:"pie3dchartdefaultdonutpie3dchart"},"Pie3DChart.DefaultDonutPie3DChart"),(0,a.kt)("p",null,"public void DefaultDonutPie3DChart()",(0,a.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba43D\u751c\u751c\u5708\u997c\u56fe\u3002"),(0,a.kt)("h4",{id:"pie3dchartdefaultellipsepie3dchart"},"Pie3DChart.DefaultEllipsePie3DChart"),(0,a.kt)("p",null,"public void DefaultEllipsePie3DChart()",(0,a.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba42D\u692d\u5706\u997c\u56fe\u3002"),(0,a.kt)("h3",{id:"pie3dslice"},"Pie3DSlice"),(0,a.kt)("p",null,"class in XCharts.Runtime.Pie3Ds"),(0,a.kt)("p",null,"3D\u997c\u56fe\u7684\u5207\u5757\u3002"),(0,a.kt)("h4",{id:"pie3dslicecontains"},"Pie3DSlice.Contains"),(0,a.kt)("p",null,"public bool Contains(float angle) "),(0,a.kt)("h4",{id:"pie3dsliceisinpolygon"},"Pie3DSlice.IsInPolygon"),(0,a.kt)("p",null,"public bool IsInPolygon(Vector2 p) "),(0,a.kt)("h4",{id:"pie3dsliceisinsidepolygon"},"Pie3DSlice.IsInSidePolygon"),(0,a.kt)("p",null,"public bool IsInSidePolygon(Vector2 p) "),(0,a.kt)("h4",{id:"pie3dsliceisinstartorendside"},"Pie3DSlice.IsInStartOrEndSide"),(0,a.kt)("p",null,"public bool IsInStartOrEndSide(Vector2 p) "),(0,a.kt)("h4",{id:"pie3dsliceisintoppolygon"},"Pie3DSlice.IsInTopPolygon"),(0,a.kt)("p",null,"public bool IsInTopPolygon(Vector2 p) "),(0,a.kt)("h4",{id:"pie3dslicepie3dslice"},"Pie3DSlice.Pie3DSlice"),(0,a.kt)("p",null,"public Pie3DSlice() "),(0,a.kt)("h4",{id:"pie3dsliceupdatevalue"},"Pie3DSlice.UpdateValue"),(0,a.kt)("p",null,"public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig) "),(0,a.kt)("h3",{id:"pie3dstyle"},"Pie3DStyle"),(0,a.kt)("p",null,"class in XCharts.Runtime.Pie3Ds / \u7ee7\u627f\u81ea: ",(0,a.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#childcomponent"},"ChildComponent")),(0,a.kt)("p",null,"3D\u997c\u56fe\u6837\u5f0f\u3002"),(0,a.kt)("h4",{id:"pie3dstyledrawsplitside"},"Pie3DStyle.drawSplitSide"),(0,a.kt)("p",null,"public bool drawSplitSide",(0,a.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u7ed8\u5236\u5206\u5272\u9762\u3002\u5f53pieAutoHeight\u4e3atrue\u65f6\uff0c\u8be5\u503c\u65e0\u6548\u3002"),(0,a.kt)("h4",{id:"pie3dstyleellipseminoraxis"},"Pie3DStyle.ellipseMinorAxis"),(0,a.kt)("p",null,"public float ellipseMinorAxis",(0,a.kt)("br",{parentName:"p"}),"\n","\u692d\u5706\u7684\u77ed\u8f74\u957f\u5ea6\u3002\u5f53\u4e3a0-1\u7684\u6d6e\u70b9\u6570\u65f6\u4e3a\u957f\u8f74\u7684\u767e\u5206\u6bd4\u3002"),(0,a.kt)("h4",{id:"pie3dstyleendsidecolorrate"},"Pie3DStyle.endSideColorRate"),(0,a.kt)("p",null,"public float endSideColorRate",(0,a.kt)("br",{parentName:"p"}),"\n","\u997c\u56fe\u5207\u5757\u7684\u7ed3\u675f\u9762\u989c\u8272\uff08\u987a\u65f6\u9488\uff09\u3002"),(0,a.kt)("h4",{id:"pie3dstyleperipherysidecolorrate"},"Pie3DStyle.peripherySideColorRate"),(0,a.kt)("p",null,"public float peripherySideColorRate",(0,a.kt)("br",{parentName:"p"}),"\n","\u997c\u56fe\u5207\u5757\u7684\u4fa7\u9762\u989c\u8272\u3002"),(0,a.kt)("h4",{id:"pie3dstylepieautoheight"},"Pie3DStyle.pieAutoHeight"),(0,a.kt)("p",null,"public bool pieAutoHeight",(0,a.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u81ea\u52a8\u6839\u636e\u6bd4\u4f8b\u8ba1\u7b97\u539a\u5ea6\u3002"),(0,a.kt)("h4",{id:"pie3dstylepiemaxheight"},"Pie3DStyle.pieMaxHeight"),(0,a.kt)("p",null,"public float pieMaxHeight",(0,a.kt)("br",{parentName:"p"}),"\n","\u997c\u56fe\u539a\u5ea6\u3002"),(0,a.kt)("h4",{id:"pie3dstyleselectedoffset"},"Pie3DStyle.selectedOffset"),(0,a.kt)("p",null,"public Vector2 selectedOffset",(0,a.kt)("br",{parentName:"p"}),"\n","\u88ab\u9009\u4e2d\u72b6\u6001\u7684\u997c\u56fe\u5757\u7684\u989d\u5916\u504f\u79fb\u3002"),(0,a.kt)("h4",{id:"pie3dstylestartsidecolorrate"},"Pie3DStyle.startSideColorRate"),(0,a.kt)("p",null,"public float startSideColorRate",(0,a.kt)("br",{parentName:"p"}),"\n","\u997c\u56fe\u5207\u5757\u7684\u8d77\u59cb\u9762\u989c\u8272\uff08\u987a\u65f6\u9488\uff09\u3002"),(0,a.kt)("h2",{id:"\u914d\u7f6e\u9879\u624b\u518c"},"\u914d\u7f6e\u9879\u624b\u518c"),(0,a.kt)("h3",{id:"pie3d-1"},"Pie3D"),(0,a.kt)("p",null,"class in XCharts.Runtime.Pie3Ds / \u7ee7\u627f\u81ea: ",(0,a.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie"},"Serie")),(0,a.kt)("p",null,"3D\u997c\u56fe\u7cfb\u5217\u3002"),(0,a.kt)("h4",{id:"pie3dpie3dstyle"},"Pie3D.pie3DStyle"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"#pie3dstyle"},"Pie3DStyle")),(0,a.kt)("h3",{id:"pie3dstyle-1"},"Pie3DStyle"),(0,a.kt)("p",null,"class in XCharts.Runtime.Pie3Ds / \u7ee7\u627f\u81ea: ",(0,a.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#childcomponent"},"ChildComponent")),(0,a.kt)("p",null,"3D\u997c\u56fe\u6837\u5f0f\u3002"),(0,a.kt)("h4",{id:"pie3dstyledrawsplitside-1"},"Pie3DStyle.drawSplitSide"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,a.kt)("inlineCode",{parentName:"p"},"true")," ",(0,a.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,a.kt)("p",null,"\u662f\u5426\u7ed8\u5236\u5206\u5272\u9762\u3002\u5f53pieAutoHeight\u4e3atrue\u65f6\uff0c\u8be5\u503c\u65e0\u6548\u3002"),(0,a.kt)("h4",{id:"pie3dstyleellipseminoraxis-1"},"Pie3DStyle.ellipseMinorAxis"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"float")," ",(0,a.kt)("inlineCode",{parentName:"p"},"0.65f")),(0,a.kt)("p",null,"\u692d\u5706\u7684\u77ed\u8f74\u957f\u5ea6\u3002\u5f53\u4e3a0-1\u7684\u6d6e\u70b9\u6570\u65f6\u4e3a\u957f\u8f74\u7684\u767e\u5206\u6bd4\u3002"),(0,a.kt)("h4",{id:"pie3dstyleendsidecolorrate-1"},"Pie3DStyle.endSideColorRate"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"float")," ",(0,a.kt)("inlineCode",{parentName:"p"},"0.65f")),(0,a.kt)("p",null,"\u997c\u56fe\u5207\u5757\u7684\u7ed3\u675f\u9762\u989c\u8272\uff08\u987a\u65f6\u9488\uff09\u3002"),(0,a.kt)("h4",{id:"pie3dstyleperipherysidecolorrate-1"},"Pie3DStyle.peripherySideColorRate"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"float")," ",(0,a.kt)("inlineCode",{parentName:"p"},"0.8f")),(0,a.kt)("p",null,"\u997c\u56fe\u5207\u5757\u7684\u4fa7\u9762\u989c\u8272\u3002"),(0,a.kt)("h4",{id:"pie3dstylepieautoheight-1"},"Pie3DStyle.pieAutoHeight"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,a.kt)("inlineCode",{parentName:"p"},"false")),(0,a.kt)("p",null,"\u662f\u5426\u81ea\u52a8\u6839\u636e\u6bd4\u4f8b\u8ba1\u7b97\u539a\u5ea6\u3002"),(0,a.kt)("h4",{id:"pie3dstylepiemaxheight-1"},"Pie3DStyle.pieMaxHeight"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"float")," ",(0,a.kt)("inlineCode",{parentName:"p"},"20f")),(0,a.kt)("p",null,"\u997c\u56fe\u539a\u5ea6\u3002"),(0,a.kt)("h4",{id:"pie3dstyleselectedoffset-1"},"Pie3DStyle.selectedOffset"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"Vector2")," ",(0,a.kt)("inlineCode",{parentName:"p"},"Vector2(0.1f, 0.5f)")),(0,a.kt)("p",null,"\u88ab\u9009\u4e2d\u72b6\u6001\u7684\u997c\u56fe\u5757\u7684\u989d\u5916\u504f\u79fb\u3002"),(0,a.kt)("h4",{id:"pie3dstyleshow"},"Pie3DStyle.show"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,a.kt)("inlineCode",{parentName:"p"},"true")),(0,a.kt)("h4",{id:"pie3dstylestartsidecolorrate-1"},"Pie3DStyle.startSideColorRate"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"float")," ",(0,a.kt)("inlineCode",{parentName:"p"},"0.7f")),(0,a.kt)("p",null,"\u997c\u56fe\u5207\u5757\u7684\u8d77\u59cb\u9762\u989c\u8272\uff08\u987a\u65f6\u9488\uff09\u3002"))}s.isMDXComponent=!0},84597:function(e,t,i){i.d(t,{Z:function(){return p}});var l=i(67294),n=i(76775),a="apiTable_e8hp";function r(e,t){var i=e.name,a=e.children,r=function(e){for(var t=e;(0,l.isValidElement)(t);)t=l.Children.toArray(t.props.children)[0];return t}(a),d=i?i+"-"+r:r,p="#"+d,o=(0,n.k6)();return l.createElement("tr",{id:d,tabIndex:0,ref:o.location.hash===p?t:void 0,onClick:function(e){"A"===e.target.tagName.toUpperCase()||o.push(p)},onKeyDown:function(e){"Enter"===e.key&&o.push(p)}},a.props.children)}var d=l.forwardRef(r);function p(e){var t=e.children,i=e.name,n=l.Children.toArray(t.props.children),r=n[0],p=n[1],o=(0,l.useRef)(null);(0,l.useEffect)((function(){var e;null==(e=o.current)||e.focus()}),[o]);var u=l.Children.map(p.props.children,(function(e){return l.createElement(d,{name:i,ref:o},e)}));return l.createElement("table",{className:a},r,l.createElement("tbody",null,u))}},92994:function(e,t,i){t.Z=i.p+"assets/images/Pie3D01-5eaca592332f5400619169df40fa032a.png"},13723:function(e,t,i){t.Z=i.p+"assets/images/Pie3D02-bae60515aacbe022885a5c7bf4681051.png"},19136:function(e,t,i){t.Z=i.p+"assets/images/Pie3D03-a12c0bd59eebbb0d83c986ce014c01ad.png"},51739:function(e,t,i){t.Z=i.p+"assets/images/Pie3D04-8a686d18335c1783ac4a0da75ddb2778.png"},63059:function(e,t,i){t.Z=i.p+"assets/images/Pie3D05-9c8368bbb7437511cda87c8a4662486e.png"},378:function(e,t,i){t.Z=i.p+"assets/images/Pie3D07-c3704839fb36e1d69f9476f6c5d59fcf.png"},81508:function(e,t,i){t.Z=i.p+"assets/images/Pie3D08-c6006215b8a66af6ddae45fc869429c9.png"}}]); \ No newline at end of file diff --git a/en/assets/js/b5447c11.a05661f3.js b/en/assets/js/b5447c11.a05661f3.js new file mode 100644 index 00000000..54069441 --- /dev/null +++ b/en/assets/js/b5447c11.a05661f3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7529],{3905:function(t,e,a){a.d(e,{Zo:function(){return o},kt:function(){return c}});var n=a(67294);function l(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function i(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function r(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?i(Object(a),!0).forEach((function(e){l(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function d(t,e){if(null==t)return{};var a,n,l=function(t,e){if(null==t)return{};var a,n,l={},i=Object.keys(t);for(n=0;n<i.length;n++)a=i[n],e.indexOf(a)>=0||(l[a]=t[a]);return l}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)a=i[n],e.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(t,a)&&(l[a]=t[a])}return l}var u=n.createContext({}),p=function(t){var e=n.useContext(u),a=e;return t&&(a="function"==typeof t?t(e):r(r({},e),t)),a},o=function(t){var e=p(t.components);return n.createElement(u.Provider,{value:e},t.children)},h={inlineCode:"code",wrapper:function(t){var e=t.children;return n.createElement(n.Fragment,{},e)}},g=n.forwardRef((function(t,e){var a=t.components,l=t.mdxType,i=t.originalType,u=t.parentName,o=d(t,["components","mdxType","originalType","parentName"]),g=p(a),c=l,s=g["".concat(u,".").concat(c)]||g[c]||h[c]||i;return a?n.createElement(s,r(r({ref:e},o),{},{components:a})):n.createElement(s,r({ref:e},o))}));function c(t,e){var a=arguments,l=e&&e.mdxType;if("string"==typeof t||l){var i=a.length,r=new Array(i);r[0]=g;var d={};for(var u in e)hasOwnProperty.call(e,u)&&(d[u]=e[u]);d.originalType=t,d.mdxType="string"==typeof t?t:l,r[1]=d;for(var p=2;p<i;p++)r[p]=a[p];return n.createElement.apply(null,r)}return n.createElement.apply(null,a)}g.displayName="MDXCreateElement"},80675:function(t,e,a){a.r(e),a.d(e,{frontMatter:function(){return d},contentTitle:function(){return u},metadata:function(){return p},toc:function(){return o},default:function(){return g}});var n=a(83117),l=a(80102),i=(a(67294),a(3905)),r=(a(84597),["components"]),d={sidebar_position:0,slug:"/gantt"},u="GanttChart \u7518\u7279\u56fe",p={unversionedId:"lang/articles/extra/gantt",id:"version-v3.12.0/lang/articles/extra/gantt",title:"GanttChart \u7518\u7279\u56fe",description:"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u7518\u7279\u56fe\u3002",source:"@site/versioned_docs/version-v3.12.0/lang/articles/extra/gantt.md",sourceDirName:"lang/articles/extra",slug:"/gantt",permalink:"/en/docs/gantt",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/extra/gantt.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"10/1/2024",sidebarPosition:0,frontMatter:{sidebar_position:0,slug:"/gantt"},sidebar:"langSidebar",previous:{title:"FunnelChart \u6f0f\u6597\u56fe",permalink:"/en/docs/funnel"},next:{title:"GaugeChart \u4eea\u8868\u76d8",permalink:"/en/docs/gauge"}},o=[{value:"\u622a\u56fe",id:"\u622a\u56fe",children:[],level:2},{value:"\u8bb8\u53ef",id:"\u8bb8\u53ef",children:[],level:2},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",children:[],level:2},{value:"\u6559\u7a0b",id:"\u6559\u7a0b",children:[],level:2},{value:"\u6587\u6863",id:"\u6587\u6863",children:[],level:2},{value:"\u65e5\u5fd7",id:"\u65e5\u5fd7",children:[{value:"v3.12.0",id:"v3120",children:[],level:3},{value:"v3.11.0",id:"v3110",children:[],level:3},{value:"v3.10.0",id:"v3100",children:[],level:3},{value:"v3.9.0",id:"v390",children:[],level:3},{value:"v3.8.0",id:"v380",children:[],level:3},{value:"v3.6.1",id:"v361",children:[],level:3},{value:"v3.6.0",id:"v360",children:[],level:3},{value:"v3.5.0",id:"v350",children:[],level:3},{value:"v3.2.0",id:"v320",children:[],level:3}],level:2},{value:"API",id:"api",children:[{value:"Gantt",id:"gantt",children:[{value:"Gantt.AddDefaultCategorySerie",id:"ganttadddefaultcategoryserie",children:[],level:4},{value:"Gantt.AddDefaultSerie",id:"ganttadddefaultserie",children:[],level:4},{value:"Gantt.AddDefaultValueSerie",id:"ganttadddefaultvalueserie",children:[],level:4}],level:3},{value:"GanttChart",id:"ganttchart",children:[{value:"GanttChart.aliginingValue",id:"ganttchartaliginingvalue",children:[],level:4},{value:"GanttChart.runtimeBeginDrag",id:"ganttchartruntimebegindrag",children:[],level:4},{value:"GanttChart.runtimeDragLeft",id:"ganttchartruntimedragleft",children:[],level:4},{value:"GanttChart.runtimeDragSerie",id:"ganttchartruntimedragserie",children:[],level:4},{value:"GanttChart.runtimeDragSerieData",id:"ganttchartruntimedragseriedata",children:[],level:4},{value:"GanttChart.runtimeIsAlgining",id:"ganttchartruntimeisalgining",children:[],level:4},{value:"GanttChart.runtimeIsDragSerie",id:"ganttchartruntimeisdragserie",children:[],level:4},{value:"GanttChart.DefaultCategoryAxisGanttChart",id:"ganttchartdefaultcategoryaxisganttchart",children:[],level:4},{value:"GanttChart.DefaultMonomialGroupGanttChart",id:"ganttchartdefaultmonomialgroupganttchart",children:[],level:4},{value:"GanttChart.DefaultMultinomialGroupGanttChart",id:"ganttchartdefaultmultinomialgroupganttchart",children:[],level:4},{value:"GanttChart.DefaultValueAxisGanttChart",id:"ganttchartdefaultvalueaxisganttchart",children:[],level:4},{value:"GanttChart.GetSeriesMinMaxValue",id:"ganttchartgetseriesminmaxvalue",children:[],level:4},{value:"GanttChart.InitAxisRuntimeData",id:"ganttchartinitaxisruntimedata",children:[],level:4},{value:"GanttChart.OnBeginDrag",id:"ganttchartonbegindrag",children:[],level:4},{value:"GanttChart.OnDrag",id:"ganttchartondrag",children:[],level:4},{value:"GanttChart.OnEndDrag",id:"ganttchartonenddrag",children:[],level:4},{value:"GanttChart.OnPointerClick",id:"ganttchartonpointerclick",children:[],level:4}],level:3},{value:"GanttStyle",id:"ganttstyle",children:[],level:3},{value:"GanttType",id:"gantttype",children:[],level:3}],level:2},{value:"\u914d\u7f6e\u9879\u624b\u518c",id:"\u914d\u7f6e\u9879\u624b\u518c",children:[{value:"Gantt",id:"gantt-1",children:[{value:"Gantt.disableDrag",id:"ganttdisabledrag",children:[],level:4}],level:3},{value:"GanttStyle",id:"ganttstyle-1",children:[{value:"GanttStyle.aliginLine",id:"ganttstylealiginline",children:[],level:4},{value:"GanttStyle.alignlineDataIndex",id:"ganttstylealignlinedataindex",children:[],level:4},{value:"GanttStyle.autoAdsorbAlignline",id:"ganttstyleautoadsorbalignline",children:[],level:4},{value:"GanttStyle.dragEnable",id:"ganttstyledragenable",children:[],level:4},{value:"GanttStyle.dragRangeMax",id:"ganttstyledragrangemax",children:[],level:4},{value:"GanttStyle.dragRangeMin",id:"ganttstyledragrangemin",children:[],level:4},{value:"GanttStyle.dragSensitivity",id:"ganttstyledragsensitivity",children:[],level:4},{value:"GanttStyle.ganttType",id:"ganttstylegantttype",children:[],level:4},{value:"GanttStyle.invert",id:"ganttstyleinvert",children:[],level:4},{value:"GanttStyle.show",id:"ganttstyleshow",children:[],level:4},{value:"GanttStyle.showAlignlineRange",id:"ganttstyleshowalignlinerange",children:[],level:4},{value:"GanttStyle.splitArea",id:"ganttstylesplitarea",children:[],level:4}],level:3}],level:2}],h={toc:o};function g(t){var e=t.components,d=(0,l.Z)(t,r);return(0,i.kt)("wrapper",(0,n.Z)({},h,d,{components:e,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"ganttchart-\u7518\u7279\u56fe"},"GanttChart \u7518\u7279\u56fe"),(0,i.kt)("p",null,"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u7518\u7279\u56fe\u3002"),(0,i.kt)("h2",{id:"\u622a\u56fe"},"\u622a\u56fe"),(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:"center"}),(0,i.kt)("th",{parentName:"tr",align:"center"}),(0,i.kt)("th",{parentName:"tr",align:"center"}),(0,i.kt)("th",{parentName:"tr",align:"center"}),(0,i.kt)("th",{parentName:"tr",align:"center"}))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:"center"},(0,i.kt)("img",{alt:"Gantt01",src:a(31436).Z,width:"577",height:"490"})),(0,i.kt)("td",{parentName:"tr",align:"center"},(0,i.kt)("img",{alt:"Gantt02",src:a(41931).Z,width:"577",height:"490"})),(0,i.kt)("td",{parentName:"tr",align:"center"},(0,i.kt)("img",{alt:"Gantt03",src:a(70248).Z,width:"577",height:"490"})),(0,i.kt)("td",{parentName:"tr",align:"center"},(0,i.kt)("img",{alt:"Gantt04",src:a(42230).Z,width:"577",height:"490"})),(0,i.kt)("td",{parentName:"tr",align:"center"},(0,i.kt)("img",{alt:"Gantt05",src:a(27243).Z,width:"577",height:"490"}))),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:"center"},(0,i.kt)("img",{alt:"Gantt07",src:a(38353).Z,width:"577",height:"490"})),(0,i.kt)("td",{parentName:"tr",align:"center"}),(0,i.kt)("td",{parentName:"tr",align:"center"}),(0,i.kt)("td",{parentName:"tr",align:"center"}),(0,i.kt)("td",{parentName:"tr",align:"center"})))),(0,i.kt)("h2",{id:"\u8bb8\u53ef"},"\u8bb8\u53ef"),(0,i.kt)("p",null,"\u6269\u5c55\u56fe\u8868\uff0c\u9700\u4ed8\u8d39\u8d2d\u4e70\u540e\u624d\u83b7\u5f97\u4f7f\u7528\u8bb8\u53ef\u3002"),(0,i.kt)("h2",{id:"\u793a\u4f8b"},"\u793a\u4f8b"),(0,i.kt)("p",null,"Demo\u4ed3\u5e93\uff1a",(0,i.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-GanttChart-Demo"},"XCharts-GanttChart-Demo")),(0,i.kt)("h2",{id:"\u6559\u7a0b"},"\u6559\u7a0b"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Demo"},"\u6269\u5c55\u56fe\u8868\u5982\u4f55\u5bfc\u5165Demo\u9879\u76ee\u6216\u5bfc\u5165\u81ea\u5df1\u9879\u76ee")),(0,i.kt)("h2",{id:"\u6587\u6863"},"\u6587\u6863"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"#api"},"API"),(0,i.kt)("br",{parentName:"p"}),"\n",(0,i.kt)("a",{parentName:"p",href:"#%E9%85%8D%E7%BD%AE%E9%A1%B9%E6%89%8B%E5%86%8C"},"\u914d\u7f6e\u9879\u624b\u518c")," "),(0,i.kt)("h2",{id:"\u65e5\u5fd7"},"\u65e5\u5fd7"),(0,i.kt)("h3",{id:"v3120"},"v3.12.0"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,i.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,i.kt)("li",{parentName:"ul"},"(2024.09.30) \u66f4\u65b0\u6587\u6863")),(0,i.kt)("h3",{id:"v3110"},"v3.11.0"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,i.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c")),(0,i.kt)("h3",{id:"v3100"},"v3.10.0"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"(2024.01.21) \u589e\u52a0",(0,i.kt)("inlineCode",{parentName:"li"},"Gantt"),"\u7684\u66f4\u591a\u521b\u5efa\u9ed8\u8ba4\u56fe\u8868\u7684\u5feb\u6377\u65b9\u5f0f\u548cAPI")),(0,i.kt)("h3",{id:"v390"},"v3.9.0"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"(2023.12.01) \u53d1\u5e03",(0,i.kt)("inlineCode",{parentName:"li"},"v3.9.0"),"\u7248\u672c"),(0,i.kt)("li",{parentName:"ul"},"(2023.12.01) \u66f4\u65b0\u6587\u6863")),(0,i.kt)("h3",{id:"v380"},"v3.8.0"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"(2023.08.11) \u589e\u52a0\u9f20\u6807\u4e8b\u4ef6\u652f\u6301")),(0,i.kt)("h3",{id:"v361"},"v3.6.1"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"(2023.06.08) \u53d1\u5e03",(0,i.kt)("inlineCode",{parentName:"li"},"v3.6.1"),"\u7248\u672c"),(0,i.kt)("li",{parentName:"ul"},"(2023.06.08) \u66f4\u65b0\u6587\u6863")),(0,i.kt)("h3",{id:"v360"},"v3.6.0"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"(2023.04.01) \u53d1\u5e03",(0,i.kt)("inlineCode",{parentName:"li"},"v3.6.0"),"\u7248\u672c"),(0,i.kt)("li",{parentName:"ul"},"(2023.02.14) \u540c\u6b65",(0,i.kt)("inlineCode",{parentName:"li"},"XCharts v3.6.0"))),(0,i.kt)("h3",{id:"v350"},"v3.5.0"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"(2022.12.01) \u53d1\u5e03",(0,i.kt)("inlineCode",{parentName:"li"},"v3.5.0"),"\u7248\u672c"),(0,i.kt)("li",{parentName:"ul"},"(2022.11.27) \u8c03\u6574",(0,i.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u6587\u6863\u7ed3\u6784")),(0,i.kt)("h3",{id:"v320"},"v3.2.0"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"(2022.08.22) \u53d1\u5e03",(0,i.kt)("inlineCode",{parentName:"li"},"v3.2.0"),"\u7248\u672c"),(0,i.kt)("li",{parentName:"ul"},"(2022.08.19) \u540c\u6b65",(0,i.kt)("inlineCode",{parentName:"li"},"XCharts v3.2.0"))),(0,i.kt)("h2",{id:"api"},"API"),(0,i.kt)("h3",{id:"gantt"},"Gantt"),(0,i.kt)("p",null,"class in XCharts.Runtime.Gantts / \u7ee7\u627f\u81ea: ",(0,i.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#serie"},"Serie")),(0,i.kt)("h4",{id:"ganttadddefaultcategoryserie"},"Gantt.AddDefaultCategorySerie"),(0,i.kt)("p",null,"public static void AddDefaultCategorySerie(BaseChart chart, string serieName) "),(0,i.kt)("h4",{id:"ganttadddefaultserie"},"Gantt.AddDefaultSerie"),(0,i.kt)("p",null,"public static void AddDefaultSerie(BaseChart chart, string serieName) "),(0,i.kt)("h4",{id:"ganttadddefaultvalueserie"},"Gantt.AddDefaultValueSerie"),(0,i.kt)("p",null,"public static void AddDefaultValueSerie(BaseChart chart, string serieName) "),(0,i.kt)("h3",{id:"ganttchart"},"GanttChart"),(0,i.kt)("p",null,"class in XCharts.Runtime.Gantts / \u7ee7\u627f\u81ea: ",(0,i.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#basechart"},"BaseChart")),(0,i.kt)("h4",{id:"ganttchartaliginingvalue"},"GanttChart.aliginingValue"),(0,i.kt)("p",null,"public double aliginingValue "),(0,i.kt)("h4",{id:"ganttchartruntimebegindrag"},"GanttChart.runtimeBeginDrag"),(0,i.kt)("p",null,"public bool runtimeBeginDrag "),(0,i.kt)("h4",{id:"ganttchartruntimedragleft"},"GanttChart.runtimeDragLeft"),(0,i.kt)("p",null,"public bool runtimeDragLeft "),(0,i.kt)("h4",{id:"ganttchartruntimedragserie"},"GanttChart.runtimeDragSerie"),(0,i.kt)("p",null,"public Serie runtimeDragSerie "),(0,i.kt)("h4",{id:"ganttchartruntimedragseriedata"},"GanttChart.runtimeDragSerieData"),(0,i.kt)("p",null,"public SerieData runtimeDragSerieData "),(0,i.kt)("h4",{id:"ganttchartruntimeisalgining"},"GanttChart.runtimeIsAlgining"),(0,i.kt)("p",null,"public bool runtimeIsAlgining "),(0,i.kt)("h4",{id:"ganttchartruntimeisdragserie"},"GanttChart.runtimeIsDragSerie"),(0,i.kt)("p",null,"public bool runtimeIsDragSerie "),(0,i.kt)("h4",{id:"ganttchartdefaultcategoryaxisganttchart"},"GanttChart.DefaultCategoryAxisGanttChart"),(0,i.kt)("p",null,"public void DefaultCategoryAxisGanttChart()",(0,i.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba4\u7684\u7c7b\u76ee\u8f74\u7518\u7279\u56fe\u3002"),(0,i.kt)("h4",{id:"ganttchartdefaultmonomialgroupganttchart"},"GanttChart.DefaultMonomialGroupGanttChart"),(0,i.kt)("p",null,"public void DefaultMonomialGroupGanttChart()",(0,i.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba4\u7684\u5355\u7ef4\u5ea6\u5206\u7ec4\u7518\u7279\u56fe\u3002"),(0,i.kt)("h4",{id:"ganttchartdefaultmultinomialgroupganttchart"},"GanttChart.DefaultMultinomialGroupGanttChart"),(0,i.kt)("p",null,"public void DefaultMultinomialGroupGanttChart()",(0,i.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba4\u7684\u591a\u7ef4\u5ea6\u5206\u7ec4\u7518\u7279\u56fe\u3002"),(0,i.kt)("h4",{id:"ganttchartdefaultvalueaxisganttchart"},"GanttChart.DefaultValueAxisGanttChart"),(0,i.kt)("p",null,"public void DefaultValueAxisGanttChart()",(0,i.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba4\u7684\u6570\u503c\u8f74\u7518\u7279\u56fe\u3002"),(0,i.kt)("h4",{id:"ganttchartgetseriesminmaxvalue"},"GanttChart.GetSeriesMinMaxValue"),(0,i.kt)("p",null,"public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue) "),(0,i.kt)("h4",{id:"ganttchartinitaxisruntimedata"},"GanttChart.InitAxisRuntimeData"),(0,i.kt)("p",null,"public override void InitAxisRuntimeData(Axis axis) "),(0,i.kt)("h4",{id:"ganttchartonbegindrag"},"GanttChart.OnBeginDrag"),(0,i.kt)("p",null,"public override void OnBeginDrag(PointerEventData eventData) "),(0,i.kt)("h4",{id:"ganttchartondrag"},"GanttChart.OnDrag"),(0,i.kt)("p",null,"public override void OnDrag(PointerEventData eventData) "),(0,i.kt)("h4",{id:"ganttchartonenddrag"},"GanttChart.OnEndDrag"),(0,i.kt)("p",null,"public override void OnEndDrag(PointerEventData eventData) "),(0,i.kt)("h4",{id:"ganttchartonpointerclick"},"GanttChart.OnPointerClick"),(0,i.kt)("p",null,"public override void OnPointerClick(PointerEventData eventData) "),(0,i.kt)("h3",{id:"ganttstyle"},"GanttStyle"),(0,i.kt)("p",null,"class in XCharts.Runtime.Gantts / \u7ee7\u627f\u81ea: ",(0,i.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#maincomponent"},"MainComponent")),(0,i.kt)("h3",{id:"gantttype"},"GanttType"),(0,i.kt)("p",null,"class in XCharts.Runtime.Gantts"),(0,i.kt)("p",null,"\u53ef\u9009\uff1a"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"Monomial"),": \u5355\u9879\u7518\u7279\u56fe\u3002\u6bcf\u4e2a\u6570\u636e\u9879\u90fd\u662f\u5355\u72ec\u7684\u4e00\u6761\u8fdb\u5ea6\u3002"),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"Multinomial"),": \u591a\u9879\u7518\u7279\u56fe\u3002\u6bcf\u4e2a\u6570\u636e\u9879\u53ea\u662f\u4e00\u6761\u8fdb\u5ea6\u91cc\u7684\u4e00\u6bb5\u3002")),(0,i.kt)("h2",{id:"\u914d\u7f6e\u9879\u624b\u518c"},"\u914d\u7f6e\u9879\u624b\u518c"),(0,i.kt)("h3",{id:"gantt-1"},"Gantt"),(0,i.kt)("p",null,"class in XCharts.Runtime.Gantts / \u7ee7\u627f\u81ea: ",(0,i.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie"},"Serie")),(0,i.kt)("h4",{id:"ganttdisabledrag"},"Gantt.disableDrag"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"bool")),(0,i.kt)("h3",{id:"ganttstyle-1"},"GanttStyle"),(0,i.kt)("p",null,"class in XCharts.Runtime.Gantts / \u7ee7\u627f\u81ea: ",(0,i.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#maincomponent"},"MainComponent")),(0,i.kt)("h4",{id:"ganttstylealiginline"},"GanttStyle.aliginLine"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"LineStyle")),(0,i.kt)("p",null,"\u5bf9\u9f50\u7ebf\u6837\u5f0f\u3002"),(0,i.kt)("h4",{id:"ganttstylealignlinedataindex"},"GanttStyle.alignlineDataIndex"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"int")," ",(0,i.kt)("inlineCode",{parentName:"p"},"1")),(0,i.kt)("p",null,"\u663e\u793a\u5bf9\u9f50\u7ebf\u7684\u6570\u636e\u9879\u7d22\u5f15\u3002"),(0,i.kt)("h4",{id:"ganttstyleautoadsorbalignline"},"GanttStyle.autoAdsorbAlignline"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,i.kt)("inlineCode",{parentName:"p"},"true")),(0,i.kt)("p",null,"\u62d6\u62fd\u7ed3\u675f\u540e\u662f\u5426\u81ea\u52a8\u5438\u9644\u5230\u5bf9\u9f50\u7ebf\u3002"),(0,i.kt)("h4",{id:"ganttstyledragenable"},"GanttStyle.dragEnable"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,i.kt)("inlineCode",{parentName:"p"},"true")),(0,i.kt)("p",null,"\u662f\u5426\u53ef\u4ee5\u62d6\u62fd\u7518\u7279\u56fe\u3002"),(0,i.kt)("h4",{id:"ganttstyledragrangemax"},"GanttStyle.dragRangeMax"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"double")," ",(0,i.kt)("inlineCode",{parentName:"p"},"0")),(0,i.kt)("p",null,"\u62d6\u62fd\u6700\u5927\u503c\u9650\u5236\u3002"),(0,i.kt)("h4",{id:"ganttstyledragrangemin"},"GanttStyle.dragRangeMin"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"double")," ",(0,i.kt)("inlineCode",{parentName:"p"},"0")),(0,i.kt)("p",null,"\u62d6\u62fd\u6700\u5c0f\u503c\u9650\u5236\u3002"),(0,i.kt)("h4",{id:"ganttstyledragsensitivity"},"GanttStyle.dragSensitivity"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"float")," ",(0,i.kt)("inlineCode",{parentName:"p"},"1f")),(0,i.kt)("p",null,"\u62d6\u62fd\u7684\u7075\u654f\u5ea6\u3002"),(0,i.kt)("h4",{id:"ganttstylegantttype"},"GanttStyle.ganttType"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"#gantttype"},"GanttType")),(0,i.kt)("p",null,"\u7518\u7279\u56fe\u7c7b\u578b\u3002"),(0,i.kt)("p",null,"\u53ef\u9009\uff1a"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"Monomial"),": \u5355\u9879\u7518\u7279\u56fe\u3002\u6bcf\u4e2a\u6570\u636e\u9879\u90fd\u662f\u5355\u72ec\u7684\u4e00\u6761\u8fdb\u5ea6\u3002"),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"Multinomial"),": \u591a\u9879\u7518\u7279\u56fe\u3002\u6bcf\u4e2a\u6570\u636e\u9879\u53ea\u662f\u4e00\u6761\u8fdb\u5ea6\u91cc\u7684\u4e00\u6bb5\u3002")),(0,i.kt)("h4",{id:"ganttstyleinvert"},"GanttStyle.invert"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,i.kt)("inlineCode",{parentName:"p"},"true")),(0,i.kt)("h4",{id:"ganttstyleshow"},"GanttStyle.show"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,i.kt)("inlineCode",{parentName:"p"},"true")),(0,i.kt)("h4",{id:"ganttstyleshowalignlinerange"},"GanttStyle.showAlignlineRange"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"float")," ",(0,i.kt)("inlineCode",{parentName:"p"},"10f")),(0,i.kt)("p",null,"\u663e\u793a\u5bf9\u9f50\u7ebf\u7684\u8303\u56f4\u3002"),(0,i.kt)("h4",{id:"ganttstylesplitarea"},"GanttStyle.splitArea"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"AxisSplitArea")))}g.isMDXComponent=!0},84597:function(t,e,a){a.d(e,{Z:function(){return u}});var n=a(67294),l=a(76775),i="apiTable_e8hp";function r(t,e){var a=t.name,i=t.children,r=function(t){for(var e=t;(0,n.isValidElement)(e);)e=n.Children.toArray(e.props.children)[0];return e}(i),d=a?a+"-"+r:r,u="#"+d,p=(0,l.k6)();return n.createElement("tr",{id:d,tabIndex:0,ref:p.location.hash===u?e:void 0,onClick:function(t){"A"===t.target.tagName.toUpperCase()||p.push(u)},onKeyDown:function(t){"Enter"===t.key&&p.push(u)}},i.props.children)}var d=n.forwardRef(r);function u(t){var e=t.children,a=t.name,l=n.Children.toArray(e.props.children),r=l[0],u=l[1],p=(0,n.useRef)(null);(0,n.useEffect)((function(){var t;null==(t=p.current)||t.focus()}),[p]);var o=n.Children.map(u.props.children,(function(t){return n.createElement(d,{name:a,ref:p},t)}));return n.createElement("table",{className:i},r,n.createElement("tbody",null,o))}},31436:function(t,e,a){e.Z=a.p+"assets/images/Gantt01-68116b3750a88487ce46ef5f68ca020c.png"},41931:function(t,e,a){e.Z=a.p+"assets/images/Gantt02-1d7eba3764affa68456e6ef60d20d565.png"},70248:function(t,e,a){e.Z=a.p+"assets/images/Gantt03-0b6a974bd90d342e082442a3a745a648.png"},42230:function(t,e,a){e.Z=a.p+"assets/images/Gantt04-a3127355d4cd02f3b5ca0154bd83f6f5.png"},27243:function(t,e,a){e.Z=a.p+"assets/images/Gantt05-d1a8eaaf4f891899c8376379abe64bfa.png"},38353:function(t,e,a){e.Z=a.p+"assets/images/Gantt07-434d3382a6c4d61f7d7b4b4b8b3ec637.png"}}]); \ No newline at end of file diff --git a/en/assets/js/c2d6a9b4.c596b9b5.js b/en/assets/js/c2d6a9b4.c596b9b5.js new file mode 100644 index 00000000..da5606a8 --- /dev/null +++ b/en/assets/js/c2d6a9b4.c596b9b5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6563],{3905:function(e,n,t){t.d(n,{Zo:function(){return k},kt:function(){return c}});var l=t(67294);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function r(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);n&&(l=l.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,l)}return t}function i(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?r(Object(t),!0).forEach((function(n){a(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):r(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function d(e,n){if(null==e)return{};var t,l,a=function(e,n){if(null==e)return{};var t,l,a={},r=Object.keys(e);for(l=0;l<r.length;l++)t=r[l],n.indexOf(t)>=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(l=0;l<r.length;l++)t=r[l],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var p=l.createContext({}),o=function(e){var n=l.useContext(p),t=n;return e&&(t="function"==typeof e?e(n):i(i({},n),e)),t},k=function(e){var n=o(e.components);return l.createElement(p.Provider,{value:n},e.children)},u={inlineCode:"code",wrapper:function(e){var n=e.children;return l.createElement(l.Fragment,{},n)}},s=l.forwardRef((function(e,n){var t=e.components,a=e.mdxType,r=e.originalType,p=e.parentName,k=d(e,["components","mdxType","originalType","parentName"]),s=o(t),c=a,y=s["".concat(p,".").concat(c)]||s[c]||u[c]||r;return t?l.createElement(y,i(i({ref:n},k),{},{components:t})):l.createElement(y,i({ref:n},k))}));function c(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var r=t.length,i=new Array(r);i[0]=s;var d={};for(var p in n)hasOwnProperty.call(n,p)&&(d[p]=n[p]);d.originalType=e,d.mdxType="string"==typeof e?e:a,i[1]=d;for(var o=2;o<r;o++)i[o]=t[o];return l.createElement.apply(null,i)}return l.createElement.apply(null,t)}s.displayName="MDXCreateElement"},27923:function(e,n,t){t.r(n),t.d(n,{frontMatter:function(){return d},contentTitle:function(){return p},metadata:function(){return o},toc:function(){return k},default:function(){return s}});var l=t(83117),a=t(80102),r=(t(67294),t(3905)),i=(t(84597),["components"]),d={sidebar_position:0,slug:"/sankey"},p="SankeyChart \u6851\u57fa\u56fe",o={unversionedId:"lang/articles/extra/sankey",id:"version-v3.12.0/lang/articles/extra/sankey",title:"SankeyChart \u6851\u57fa\u56fe",description:"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u6851\u57fa\u56fe\u3002",source:"@site/versioned_docs/version-v3.12.0/lang/articles/extra/sankey.md",sourceDirName:"lang/articles/extra",slug:"/sankey",permalink:"/en/docs/sankey",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/extra/sankey.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"10/1/2024",sidebarPosition:0,frontMatter:{sidebar_position:0,slug:"/sankey"},sidebar:"langSidebar",previous:{title:"PyramidChart \u91d1\u5b57\u5854",permalink:"/en/docs/pyramid"},next:{title:"TreemapChart \u77e9\u5f62\u6811\u56fe",permalink:"/en/docs/treemap"}},k=[{value:"\u622a\u56fe",id:"\u622a\u56fe",children:[],level:2},{value:"\u8bb8\u53ef",id:"\u8bb8\u53ef",children:[],level:2},{value:"\u6559\u7a0b",id:"\u6559\u7a0b",children:[],level:2},{value:"\u6587\u6863",id:"\u6587\u6863",children:[],level:2},{value:"\u65e5\u5fd7",id:"\u65e5\u5fd7",children:[{value:"v3.12.0",id:"v3120",children:[],level:3},{value:"v3.11.0",id:"v3110",children:[],level:3},{value:"v3.10.0",id:"v3100",children:[],level:3}],level:2},{value:"API",id:"api",children:[{value:"Sankey",id:"sankey",children:[{value:"Sankey.defaultColorBy",id:"sankeydefaultcolorby",children:[],level:4},{value:"Sankey.levelStyle",id:"sankeylevelstyle",children:[],level:4},{value:"Sankey.AddDefaultSerie",id:"sankeyadddefaultserie",children:[],level:4},{value:"Sankey.GetLevelItemStyle",id:"sankeygetlevelitemstyle",children:[],level:4},{value:"Sankey.GetLevelLabel",id:"sankeygetlevellabel",children:[],level:4},{value:"Sankey.GetLevelLineStyle",id:"sankeygetlevellinestyle",children:[],level:4}],level:3},{value:"Sankey.NodeAlign",id:"sankeynodealign",children:[],level:3},{value:"SankeyChart",id:"sankeychart",children:[],level:3}],level:2},{value:"\u914d\u7f6e\u9879\u624b\u518c",id:"\u914d\u7f6e\u9879\u624b\u518c",children:[{value:"Sankey",id:"sankey-1",children:[{value:"Sankey.collapse",id:"sankeycollapse",children:[],level:4},{value:"Sankey.collapseLevel",id:"sankeycollapselevel",children:[],level:4},{value:"Sankey.collapseMutex",id:"sankeycollapsemutex",children:[],level:4},{value:"Sankey.curveness",id:"sankeycurveness",children:[],level:4},{value:"Sankey.defaultExpandDataIndex",id:"sankeydefaultexpanddataindex",children:[],level:4},{value:"Sankey.draggable",id:"sankeydraggable",children:[],level:4},{value:"Sankey.levelStyle",id:"sankeylevelstyle-1",children:[],level:4},{value:"Sankey.lineGradient",id:"sankeylinegradient",children:[],level:4},{value:"Sankey.nodeAlign",id:"sankeynodealign-1",children:[],level:4},{value:"Sankey.nodeGap",id:"sankeynodegap",children:[],level:4},{value:"Sankey.nodeWidth",id:"sankeynodewidth",children:[],level:4}],level:3}],level:2}],u={toc:k};function s(e){var n=e.components,t=(0,a.Z)(e,i);return(0,r.kt)("wrapper",(0,l.Z)({},u,t,{components:n,mdxType:"MDXLayout"}),(0,r.kt)("h1",{id:"sankeychart-\u6851\u57fa\u56fe"},"SankeyChart \u6851\u57fa\u56fe"),(0,r.kt)("p",null,"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u6851\u57fa\u56fe\u3002"),(0,r.kt)("h2",{id:"\u622a\u56fe"},"\u622a\u56fe"),(0,r.kt)("h2",{id:"\u8bb8\u53ef"},"\u8bb8\u53ef"),(0,r.kt)("p",null,"\u6269\u5c55\u56fe\u8868\uff0c\u9700\u4ed8\u8d39\u8d2d\u4e70\u540e\u624d\u83b7\u5f97\u4f7f\u7528\u8bb8\u53ef\u3002"),(0,r.kt)("h2",{id:"\u6559\u7a0b"},"\u6559\u7a0b"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Demo"},"\u6269\u5c55\u56fe\u8868\u5982\u4f55\u5bfc\u5165Demo\u9879\u76ee\u6216\u5bfc\u5165\u81ea\u5df1\u9879\u76ee")),(0,r.kt)("h2",{id:"\u6587\u6863"},"\u6587\u6863"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"#api"},"API"),(0,r.kt)("br",{parentName:"p"}),"\n",(0,r.kt)("a",{parentName:"p",href:"#%E9%85%8D%E7%BD%AE%E9%A1%B9%E6%89%8B%E5%86%8C"},"\u914d\u7f6e\u9879\u624b\u518c")," "),(0,r.kt)("h2",{id:"\u65e5\u5fd7"},"\u65e5\u5fd7"),(0,r.kt)("h3",{id:"v3120"},"v3.12.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,r.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,r.kt)("li",{parentName:"ul"},"(2024.09.30) \u66f4\u65b0\u6587\u6863")),(0,r.kt)("h3",{id:"v3110"},"v3.11.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,r.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c"),(0,r.kt)("li",{parentName:"ul"},"(2024.03.20) \u589e\u52a0",(0,r.kt)("inlineCode",{parentName:"li"},"Sankey"),"\u7684\u5c55\u5f00\u548c\u6298\u53e0\u529f\u80fd\u652f\u6301")),(0,r.kt)("h3",{id:"v3100"},"v3.10.0"),(0,r.kt)("h2",{id:"api"},"API"),(0,r.kt)("h3",{id:"sankey"},"Sankey"),(0,r.kt)("p",null,"class in XCharts.Runtime.Sankeys / \u7ee7\u627f\u81ea: ",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#serie"},"Serie")),(0,r.kt)("p",null,"\u6851\u57fa\u56fe\u662f\u4e00\u79cd\u7279\u6b8a\u7684\u6d41\u56fe\uff08\u53ef\u4ee5\u770b\u4f5c\u662f\u6709\u5411\u65e0\u73af\u56fe\uff09\u3002 \u5b83\u4e3b\u8981\u7528\u6765\u8868\u793a\u539f\u6750\u6599\u3001\u80fd\u91cf\u7b49\u5982\u4f55\u4ece\u6700\u521d\u5f62\u5f0f\u7ecf\u8fc7\u4e2d\u95f4\u8fc7\u7a0b\u7684\u52a0\u5de5\u6216\u8f6c\u5316\u8fbe\u5230\u6700\u7ec8\u72b6\u6001\u3002"),(0,r.kt)("h4",{id:"sankeydefaultcolorby"},"Sankey.defaultColorBy"),(0,r.kt)("p",null,"public override SerieColorBy defaultColorBy "),(0,r.kt)("h4",{id:"sankeylevelstyle"},"Sankey.levelStyle"),(0,r.kt)("p",null,"public LevelStyle levelStyle",(0,r.kt)("br",{parentName:"p"}),"\n","\u5c42\u7ea7\u6837\u5f0f\u3002"),(0,r.kt)("h4",{id:"sankeyadddefaultserie"},"Sankey.AddDefaultSerie"),(0,r.kt)("p",null,"public static void AddDefaultSerie(BaseChart chart, string serieName) "),(0,r.kt)("h4",{id:"sankeygetlevelitemstyle"},"Sankey.GetLevelItemStyle"),(0,r.kt)("p",null,"public ItemStyle GetLevelItemStyle(int depth) "),(0,r.kt)("h4",{id:"sankeygetlevellabel"},"Sankey.GetLevelLabel"),(0,r.kt)("p",null,"public LabelStyle GetLevelLabel(int depth) "),(0,r.kt)("h4",{id:"sankeygetlevellinestyle"},"Sankey.GetLevelLineStyle"),(0,r.kt)("p",null,"public LineStyle GetLevelLineStyle(int depth) "),(0,r.kt)("h3",{id:"sankeynodealign"},"Sankey.NodeAlign"),(0,r.kt)("p",null,"class in XCharts.Runtime.Sankeys"),(0,r.kt)("p",null,"\u8282\u70b9\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,r.kt)("p",null,"\u53ef\u9009\uff1a"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"Top"),": \u9876\u90e8\u5bf9\u9f50"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"Center"),": \u5c45\u4e2d\u5bf9\u9f50"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"Bottom"),": \u5e95\u90e8\u5bf9\u9f50")),(0,r.kt)("h3",{id:"sankeychart"},"SankeyChart"),(0,r.kt)("p",null,"class in XCharts.Runtime.Sankeys / \u7ee7\u627f\u81ea: ",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#basechart"},"BaseChart")),(0,r.kt)("h2",{id:"\u914d\u7f6e\u9879\u624b\u518c"},"\u914d\u7f6e\u9879\u624b\u518c"),(0,r.kt)("h3",{id:"sankey-1"},"Sankey"),(0,r.kt)("p",null,"class in XCharts.Runtime.Sankeys / \u7ee7\u627f\u81ea: ",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie"},"Serie")),(0,r.kt)("p",null,"\u6851\u57fa\u56fe\u662f\u4e00\u79cd\u7279\u6b8a\u7684\u6d41\u56fe\uff08\u53ef\u4ee5\u770b\u4f5c\u662f\u6709\u5411\u65e0\u73af\u56fe\uff09\u3002 \u5b83\u4e3b\u8981\u7528\u6765\u8868\u793a\u539f\u6750\u6599\u3001\u80fd\u91cf\u7b49\u5982\u4f55\u4ece\u6700\u521d\u5f62\u5f0f\u7ecf\u8fc7\u4e2d\u95f4\u8fc7\u7a0b\u7684\u52a0\u5de5\u6216\u8f6c\u5316\u8fbe\u5230\u6700\u7ec8\u72b6\u6001\u3002"),(0,r.kt)("h4",{id:"sankeycollapse"},"Sankey.collapse"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,r.kt)("inlineCode",{parentName:"p"},"false")," ",(0,r.kt)("inlineCode",{parentName:"p"},"v3.11.0")),(0,r.kt)("p",null,"\u662f\u5426\u5f00\u542f\u6298\u53e0\u3002"),(0,r.kt)("h4",{id:"sankeycollapselevel"},"Sankey.collapseLevel"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"int")," ",(0,r.kt)("inlineCode",{parentName:"p"},"-1")," ",(0,r.kt)("inlineCode",{parentName:"p"},"v3.11.0")),(0,r.kt)("p",null,"\u6298\u53e0\u9650\u5236\u7684\u5c42\u7ea7\u3002\u5c42\u7ea7\u4ece0\u5f00\u59cb\uff0c-1\u8868\u793a\u4e0d\u9650\u5236\u3002"),(0,r.kt)("h4",{id:"sankeycollapsemutex"},"Sankey.collapseMutex"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,r.kt)("inlineCode",{parentName:"p"},"true")," ",(0,r.kt)("inlineCode",{parentName:"p"},"v3.11.0")),(0,r.kt)("p",null,"\u662f\u5426\u5f00\u542f\u6298\u53e0\u4e92\u65a5\u3002"),(0,r.kt)("h4",{id:"sankeycurveness"},"Sankey.curveness"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"float")," ",(0,r.kt)("inlineCode",{parentName:"p"},"0.5f")),(0,r.kt)("p",null,"\u7ebf\u6761\u7684\u5f2f\u66f2\u7a0b\u5ea6\u3002"),(0,r.kt)("h4",{id:"sankeydefaultexpanddataindex"},"Sankey.defaultExpandDataIndex"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"int")," ",(0,r.kt)("inlineCode",{parentName:"p"},"-1")," ",(0,r.kt)("inlineCode",{parentName:"p"},"v3.11.0")),(0,r.kt)("p",null,"\u9ed8\u8ba4\u5c55\u5f00\u7684\u6570\u636e\u7d22\u5f15\u3002"),(0,r.kt)("h4",{id:"sankeydraggable"},"Sankey.draggable"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"bool")),(0,r.kt)("p",null,"\u662f\u5426\u53ef\u62d6\u62fd\u3002"),(0,r.kt)("h4",{id:"sankeylevelstyle-1"},"Sankey.levelStyle"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"LevelStyle")),(0,r.kt)("p",null,"\u5c42\u7ea7\u6837\u5f0f\u3002"),(0,r.kt)("h4",{id:"sankeylinegradient"},"Sankey.lineGradient"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,r.kt)("inlineCode",{parentName:"p"},"true")," ",(0,r.kt)("inlineCode",{parentName:"p"},"v3.11.0")),(0,r.kt)("p",null,"\u662f\u5426\u5f00\u542f\u7ebf\u6761\u6e10\u53d8\u3002\u5f00\u542f\u540elineStyle\u7684color\u5c06\u4e0d\u751f\u6548\u3002"),(0,r.kt)("h4",{id:"sankeynodealign-1"},"Sankey.nodeAlign"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"#sankeynodealign"},"Sankey.NodeAlign")),(0,r.kt)("p",null,"\u8282\u70b9\u5bf9\u9f50\u65b9\u5f0f\u3002"),(0,r.kt)("p",null,"\u53ef\u9009\uff1a"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"Top"),": \u9876\u90e8\u5bf9\u9f50"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"Center"),": \u5c45\u4e2d\u5bf9\u9f50"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"Bottom"),": \u5e95\u90e8\u5bf9\u9f50")),(0,r.kt)("h4",{id:"sankeynodegap"},"Sankey.nodeGap"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"float")," ",(0,r.kt)("inlineCode",{parentName:"p"},"8")),(0,r.kt)("p",null,"\u8282\u70b9\u7684\u95f4\u8ddd\u3002"),(0,r.kt)("h4",{id:"sankeynodewidth"},"Sankey.nodeWidth"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"float")," ",(0,r.kt)("inlineCode",{parentName:"p"},"20")),(0,r.kt)("p",null,"\u8282\u70b9\u7684\u5bbd\u5ea6\u3002"))}s.isMDXComponent=!0},84597:function(e,n,t){t.d(n,{Z:function(){return p}});var l=t(67294),a=t(76775),r="apiTable_e8hp";function i(e,n){var t=e.name,r=e.children,i=function(e){for(var n=e;(0,l.isValidElement)(n);)n=l.Children.toArray(n.props.children)[0];return n}(r),d=t?t+"-"+i:i,p="#"+d,o=(0,a.k6)();return l.createElement("tr",{id:d,tabIndex:0,ref:o.location.hash===p?n:void 0,onClick:function(e){"A"===e.target.tagName.toUpperCase()||o.push(p)},onKeyDown:function(e){"Enter"===e.key&&o.push(p)}},r.props.children)}var d=l.forwardRef(i);function p(e){var n=e.children,t=e.name,a=l.Children.toArray(n.props.children),i=a[0],p=a[1],o=(0,l.useRef)(null);(0,l.useEffect)((function(){var e;null==(e=o.current)||e.focus()}),[o]);var k=l.Children.map(p.props.children,(function(e){return l.createElement(d,{name:t,ref:o},e)}));return l.createElement("table",{className:r},i,l.createElement("tbody",null,k))}}}]); \ No newline at end of file diff --git a/en/assets/js/c9092f3a.ff73e4b1.js b/en/assets/js/c9092f3a.ff73e4b1.js new file mode 100644 index 00000000..60b0846c --- /dev/null +++ b/en/assets/js/c9092f3a.ff73e4b1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6099],{3905:function(e,i,n){n.d(i,{Zo:function(){return N},kt:function(){return C}});var t=n(67294);function a(e,i,n){return i in e?Object.defineProperty(e,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[i]=n,e}function l(e,i){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);i&&(t=t.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),n.push.apply(n,t)}return n}function r(e){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?l(Object(n),!0).forEach((function(i){a(e,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))}))}return e}function p(e,i){if(null==e)return{};var n,t,a=function(e,i){if(null==e)return{};var n,t,a={},l=Object.keys(e);for(t=0;t<l.length;t++)n=l[t],i.indexOf(n)>=0||(a[n]=e[n]);return a}(e,i);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(t=0;t<l.length;t++)n=l[t],i.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var m=t.createContext({}),k=function(e){var i=t.useContext(m),n=i;return e&&(n="function"==typeof e?e(i):r(r({},i),e)),n},N=function(e){var i=k(e.components);return t.createElement(m.Provider,{value:i},e.children)},o={inlineCode:"code",wrapper:function(e){var i=e.children;return t.createElement(t.Fragment,{},i)}},d=t.forwardRef((function(e,i){var n=e.components,a=e.mdxType,l=e.originalType,m=e.parentName,N=p(e,["components","mdxType","originalType","parentName"]),d=k(n),C=a,u=d["".concat(m,".").concat(C)]||d[C]||o[C]||l;return n?t.createElement(u,r(r({ref:i},N),{},{components:n})):t.createElement(u,r({ref:i},N))}));function C(e,i){var n=arguments,a=i&&i.mdxType;if("string"==typeof e||a){var l=n.length,r=new Array(l);r[0]=d;var p={};for(var m in i)hasOwnProperty.call(i,m)&&(p[m]=i[m]);p.originalType=e,p.mdxType="string"==typeof e?e:a,r[1]=p;for(var k=2;k<l;k++)r[k]=n[k];return t.createElement.apply(null,r)}return t.createElement.apply(null,n)}d.displayName="MDXCreateElement"},5074:function(e,i,n){n.r(i),n.d(i,{frontMatter:function(){return p},contentTitle:function(){return m},metadata:function(){return k},toc:function(){return N},default:function(){return d}});var t=n(83117),a=n(80102),l=(n(67294),n(3905)),r=["components"],p={sidebar_position:61,slug:"/changelog"},m="\u66f4\u65b0\u65e5\u5fd7",k={unversionedId:"lang/articles/changelog",id:"version-v3.12.0/lang/articles/changelog",title:"\u66f4\u65b0\u65e5\u5fd7",description:"master",source:"@site/versioned_docs/version-v3.12.0/lang/articles/changelog.md",sourceDirName:"lang/articles",slug:"/changelog",permalink:"/en/docs/changelog",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/changelog.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"10/1/2024",sidebarPosition:61,frontMatter:{sidebar_position:61,slug:"/changelog"},sidebar:"langSidebar",previous:{title:"\u8ba2\u9605\u670d\u52a1",permalink:"/en/docs/support"},next:{title:"\u6269\u5c55UI\u7ec4\u4ef6",permalink:"/en/docs/ui"}},N=[{value:"master",id:"master",children:[],level:2},{value:"v3.12.0",id:"v3120",children:[],level:2},{value:"v3.11.2",id:"v3112",children:[],level:2},{value:"v3.11.1",id:"v3111",children:[],level:2},{value:"v3.11.0",id:"v3110",children:[],level:2},{value:"v3.10.2",id:"v3102",children:[],level:2},{value:"v3.10.1",id:"v3101",children:[],level:2},{value:"v3.10.0",id:"v3100",children:[],level:2},{value:"v3.9.0",id:"v390",children:[],level:2},{value:"v3.8.1",id:"v381",children:[],level:2},{value:"v3.8.0",id:"v380",children:[],level:2},{value:"v3.7.0",id:"v370",children:[],level:2},{value:"v3.6.0",id:"v360",children:[],level:2},{value:"v3.5.0",id:"v350",children:[],level:2},{value:"v3.4.0",id:"v340",children:[],level:2},{value:"v3.3.0",id:"v330",children:[],level:2},{value:"v3.2.0",id:"v320",children:[],level:2},{value:"v3.1.0",id:"v310",children:[],level:2},{value:"v3.0.1",id:"v301",children:[],level:2},{value:"v3.0.0",id:"v300",children:[],level:2},{value:"v3.0.0-preivew9",id:"v300-preivew9",children:[],level:2},{value:"v3.0.0-preivew8",id:"v300-preivew8",children:[],level:2},{value:"v3.0.0-preivew7",id:"v300-preivew7",children:[],level:2},{value:"v3.0.0-preivew6",id:"v300-preivew6",children:[],level:2},{value:"v3.0.0-preivew5",id:"v300-preivew5",children:[],level:2},{value:"v3.0.0-preivew4",id:"v300-preivew4",children:[],level:2},{value:"v3.0.0-preivew3",id:"v300-preivew3",children:[],level:2},{value:"v3.0.0-preivew2",id:"v300-preivew2",children:[],level:2},{value:"v3.0.0-preivew1",id:"v300-preivew1",children:[],level:2},{value:"v2.8.2",id:"v282",children:[],level:2},{value:"v2.8.1",id:"v281",children:[],level:2},{value:"v2.8.0",id:"v280",children:[],level:2},{value:"v2.7.0",id:"v270",children:[],level:2},{value:"v2.6.0",id:"v260",children:[],level:2},{value:"v2.5.0",id:"v250",children:[],level:2},{value:"v2.4.0",id:"v240",children:[],level:2},{value:"v2.3.0",id:"v230",children:[],level:2},{value:"v2.2.3",id:"v223",children:[],level:2},{value:"v2.2.2",id:"v222",children:[],level:2},{value:"v2.2.1",id:"v221",children:[],level:2},{value:"v2.2.0",id:"v220",children:[],level:2},{value:"v2.1.1",id:"v211",children:[],level:2},{value:"v2.1.0",id:"v210",children:[],level:2},{value:"v2.0.1",id:"v201",children:[],level:2},{value:"v2.0.0",id:"v200",children:[],level:2},{value:"v2.0.0-preview.2",id:"v200-preview2",children:[],level:2},{value:"v2.0.0-preview.1",id:"v200-preview1",children:[],level:2},{value:"v1.6.3",id:"v163",children:[],level:2},{value:"v1.6.1",id:"v161",children:[],level:2},{value:"v1.6.0",id:"v160",children:[],level:2},{value:"v1.5.2",id:"v152",children:[],level:2},{value:"v1.5.1",id:"v151",children:[],level:2},{value:"v1.5.0",id:"v150",children:[],level:2},{value:"v1.4.0",id:"v140",children:[],level:2},{value:"v1.3.1",id:"v131",children:[],level:2},{value:"v1.3.0",id:"v130",children:[],level:2},{value:"v1.2.0",id:"v120",children:[],level:2},{value:"v1.1.0",id:"v110",children:[],level:2},{value:"v1.0.5",id:"v105",children:[],level:2},{value:"v1.0.4",id:"v104",children:[],level:2},{value:"v1.0.3",id:"v103",children:[],level:2},{value:"v1.0.2",id:"v102",children:[],level:2},{value:"v1.0.1",id:"v101",children:[],level:2},{value:"v1.0.0",id:"v100",children:[],level:2},{value:"v0.8.3",id:"v083",children:[],level:2},{value:"v0.8.2",id:"v082",children:[],level:2},{value:"v0.8.1",id:"v081",children:[],level:2},{value:"v0.8.0",id:"v080",children:[],level:2},{value:"v0.5.0",id:"v050",children:[],level:2},{value:"v0.1.0",id:"v010",children:[],level:2}],o={toc:N};function d(e){var i=e.components,n=(0,a.Z)(e,r);return(0,l.kt)("wrapper",(0,t.Z)({},o,n,{components:i,mdxType:"MDXLayout"}),(0,l.kt)("h1",{id:"\u66f4\u65b0\u65e5\u5fd7"},"\u66f4\u65b0\u65e5\u5fd7"),(0,l.kt)("p",null,(0,l.kt)("a",{parentName:"p",href:"#master"},"master"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v3120"},"v3.12.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v3112"},"v3.11.2"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v3111"},"v3.11.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v3110"},"v3.11.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v3102"},"v3.10.2"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v3101"},"v3.10.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v3100"},"v3.10.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v390"},"v3.9.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v381"},"v3.8.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v380"},"v3.8.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v370"},"v3.7.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v360"},"v3.6.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v350"},"v3.5.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v340"},"v3.4.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v330"},"v3.3.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v320"},"v3.2.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v310"},"v3.1.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v301"},"v3.0.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300"},"v3.0.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300-preivew9"},"v3.0.0-preivew9"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300-preivew8"},"v3.0.0-preivew8"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300-preivew7"},"v3.0.0-preivew7"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300-preivew6"},"v3.0.0-preivew6"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300-preivew5"},"v3.0.0-preivew5"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300-preivew4"},"v3.0.0-preivew4"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300-preivew3"},"v3.0.0-preivew3"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300-preivew2"},"v3.0.0-preivew2"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v300-preivew1"},"v3.0.0-preivew1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v281"},"v2.8.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v280"},"v2.8.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v270"},"v2.7.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v260"},"v2.6.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v250"},"v2.5.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v240"},"v2.4.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v230"},"v2.3.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v223"},"v2.2.3"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v222"},"v2.2.2"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v221"},"v2.2.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v220"},"v2.2.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v211"},"v2.1.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v210"},"v2.1.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v201"},"v2.0.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v200"},"v2.0.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v200-preview2"},"v2.0.0-preview.2"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v200-preview1"},"v2.0.0-preview.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v163"},"v1.6.3"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v161"},"v1.6.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v160"},"v1.6.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v152"},"v1.5.2"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v151"},"v1.5.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v150"},"v1.5.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v140"},"v1.4.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v131"},"v1.3.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v130"},"v1.3.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v120"},"v1.2.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v110"},"v1.1.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v105"},"v1.0.5"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v104"},"v1.0.4"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v103"},"v1.0.3"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v102"},"v1.0.2"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v101"},"v1.0.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v100"},"v1.0.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v083"},"v0.8.3"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v082"},"v0.8.2"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v081"},"v0.8.1"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v080"},"v0.8.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v050"},"v0.5.0"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#v010"},"v0.1.0")," "),(0,l.kt)("h2",{id:"master"},"master"),(0,l.kt)("h2",{id:"v3120"},"v3.12.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Ring"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"radiusGradient"),"\u53c2\u6570\u8bbe\u7f6e\u6e10\u53d8\u65b9\u5411"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"numericFormatter"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"date"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"time"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"AreaStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"origin"),"\u53c2\u6570\u8bbe\u7f6e\u533a\u57df\u586b\u5145\u8d77\u59cb\u4f4d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"\u8c03\u6574\u548c\u5b8c\u5584\u6587\u6863"),(0,l.kt)("li",{parentName:"ul"},"\u5176\u4ed6\u4f18\u5316\u548c\u4fee\u590d")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2024.09.27) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"5\u5206\u949f\u6559\u7a0b")),(0,l.kt)("li",{parentName:"ul"},"(2024.09.24) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u5bf9\u591aSerie\u7684\u652f\u6301 (#332)"),(0,l.kt)("li",{parentName:"ul"},"(2024.09.22) \u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u6587\u6863\u663e\u793a\u6837\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2024.09.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"numericFormatter"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"date"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"time"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2024.09.03) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"AreaStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"origin"),"\u53c2\u6570\u8bbe\u7f6e\u533a\u57df\u586b\u5145\u8d77\u59cb\u4f4d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2024.09.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Ring"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"radiusGradient"),"\u53c2\u6570\u8bbe\u7f6e\u6e10\u53d8\u65b9\u5411"),(0,l.kt)("li",{parentName:"ul"},"(2024.09.01) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u4e3a\u65f6\u95f4\u8f74\u65f6\u9996\u4e2aLabel\u7684\u4f4d\u7f6e")),(0,l.kt)("h2",{id:"v3112"},"v3.11.2"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.08.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.11.2"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.29) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5728\u5fae\u4fe1\u5c0f\u6e38\u620f\u5e73\u53f0\u4e0a\u62a5\u9519\u7684\u517c\u5bb9\u95ee\u9898 (#326)"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.27) \u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisName"),"\u7684\u9ed8\u8ba4\u4f4d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.22) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u89e6\u53d1\u65f6\u7684\u8868\u73b0"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5728\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u65f6\u6307\u793a\u5185\u5bb9\u4e0d\u51c6\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.17) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u5728\u521d\u59cb\u5316\u65f6\u53ef\u80fd\u4f1a\u95ea\u70c1\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.16) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Time"),"\u65f6\u95f4\u8f74\u65f6\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u9ed8\u8ba4\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.15) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Time"),"\u65f6\u95f4\u8f74\u65f6\u7684\u5206\u5272\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.14) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Time"),"\u65f6\u95f4\u8f74\u65f6\u7684\u79fb\u52a8\u8868\u73b0"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.12) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u7684\u521d\u59cb\u5316\u663e\u793a\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.06) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u5728\u52a8\u6001\u521b\u5efa\u65f6\u80cc\u666f\u6ca1\u6709\u81ea\u9002\u5e94\u7684\u95ee\u9898 (#323)")),(0,l.kt)("h2",{id:"v3111"},"v3.11.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.07.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.11.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2024.07.01) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u6709\u591a\u4e2a\u65f6\u989c\u8272\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.06.23) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u5728\u521d\u59cb\u5316\u65f6\u4f1a\u5806\u79ef\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v3110"},"v3.11.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Line3DChart"),"3D\u6298\u7ebf\u56fe"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"GraphChart"),"\u5173\u7cfb\u56fe"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"3D"),"\u5750\u6807\u7cfb\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"triggerOn"),"\u8bbe\u7f6e\u89e6\u53d1\u6761\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"\u5176\u4ed6\u95ee\u9898\u4fee\u590d\u548c\u4f18\u5316")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2024.06.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Editor"),"\u4e0b",(0,l.kt)("inlineCode",{parentName:"li"},"Data"),"\u7684\u6dfb\u52a0\u3001\u5220\u9664\u3001\u4e0a\u4e0b\u79fb\u52a8\u64cd\u4f5c\u6309\u94ae"),(0,l.kt)("li",{parentName:"ul"},"(2024.06.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"IndicatorLabel"),"\u53ef\u80fd\u4f1a\u906e\u6321\u4f4f",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.06.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Cross"),"\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"IndicatorLabel"),"\u53ef\u80fd\u4e0d\u663e\u793a\u7684\u95ee\u9898 (#315)"),(0,l.kt)("li",{parentName:"ul"},"(2024.06.10) \u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Corss"),"\u91cd\u547d\u540d\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Cross")),(0,l.kt)("li",{parentName:"ul"},"(2024.06.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"minCategorySpacing"),"\u8bbe\u7f6e\u7c7b\u76ee\u8f74\u9ed8\u8ba4\u7684\u6700\u5c0f\u7c7b\u76ee\u95f4\u8ddd"),(0,l.kt)("li",{parentName:"ul"},"(2024.06.09) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Cross"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u662f\u7c7b\u76ee\u8f74\u5e76\u4e14\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7684\u60c5\u51b5\u4e0b\u6307\u793a\u4f4d\u7f6e\u4e0d\u51c6\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.06.06) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Clone"),"\u65f6\u52a8\u753b\u5f02\u5e38\u95ee\u9898 (#320)"),(0,l.kt)("li",{parentName:"ul"},"(2024.06.04) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"state"),"\u5728\u4ee3\u7801\u52a8\u6001\u8bbe\u7f6e\u65f6\u4e0d\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.05.29) \u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Hierarchy"),"\u89c6\u56fe\u4e0b\u7684\u53f3\u952e\u83dc\u5355\u5230",(0,l.kt)("inlineCode",{parentName:"li"},"UI/XCharts"),"\u4e0b"),(0,l.kt)("li",{parentName:"ul"},"(2024.05.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"3D"),"\u5750\u6807\u7cfb\u5bf9\u7c7b\u76ee\u8f74\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2024.05.19) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Editor"),"\u4e0b\u7684\u7f16\u8f91\u6027\u80fd"),(0,l.kt)("li",{parentName:"ul"},"(2024.05.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"JsonUtil"),"\u5de5\u5177\u7c7b"),(0,l.kt)("li",{parentName:"ul"},"(2024.05.01) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u6bcf\u5e27\u4ea7\u751fGC\u7684\u95ee\u9898 (#311) (by @stefanbursuc)"),(0,l.kt)("li",{parentName:"ul"},"(2024.04.23) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"ConvertXYAxis()"),"\u591a\u6b21\u8c03\u7528\u540e\u56fe\u8868\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.04.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u63a7\u5236\u591a\u4e2a\u8f74\u65f6\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"GridCoord"),"\u83b7\u53d6\u53ef\u80fd\u4e0d\u6b63\u786e\u7684\u95ee\u9898 (#317)"),(0,l.kt)("li",{parentName:"ul"},"(2024.04.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"3D"),"\u5750\u6807\u7cfb"),(0,l.kt)("li",{parentName:"ul"},"(2024.04.15) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"DateTimeUtil"),"\u65f6\u95f4\u6233\u8f6c",(0,l.kt)("inlineCode",{parentName:"li"},"DateTime"),"\u63a5\u53e3\u65f6\u533a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.04.15) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"GridCoord"),"\u5728\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"GridLayout"),"\u65f6\u4e5f\u663e\u793a",(0,l.kt)("inlineCode",{parentName:"li"},"Left")," ",(0,l.kt)("inlineCode",{parentName:"li"},"Right")," ",(0,l.kt)("inlineCode",{parentName:"li"},"Top")," ",(0,l.kt)("inlineCode",{parentName:"li"},"Bottom"),"\u53c2\u6570 (#316)"),(0,l.kt)("li",{parentName:"ul"},"(2024.04.14) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Cross"),"\u5728\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7684\u60c5\u51b5\u4e0b",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u4f4d\u7f6e\u4e0d\u6b63\u786e\u7684\u95ee\u9898 (#315)"),(0,l.kt)("li",{parentName:"ul"},"(2024.04.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Candlesticks"),"\u6548\u679c\u4e0d\u5bf9\u7684\u95ee\u9898 (#313)"),(0,l.kt)("li",{parentName:"ul"},"(2024.03.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"triggerOn"),"\u8bbe\u7f6e\u89e6\u53d1\u6761\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"(2024.03.19) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u5728\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"opacity"),"\u65f6\u989c\u8272\u4e0d\u5bf9\u7684\u95ee\u9898 (#309)")),(0,l.kt)("h2",{id:"v3102"},"v3.10.2"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.03.11) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.10.2"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2024.03.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u5728\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"{d}"),"\u901a\u914d\u7b26\u65f6\u663e\u793a\u53ef\u80fd\u4e0d\u5339\u914d\u7684\u95ee\u9898 (#304)"),(0,l.kt)("li",{parentName:"ul"},"(2024.03.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u79fb\u51fa\u5750\u6807\u7cfb\u540e\u8fd8\u663e\u793a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.03.08) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"title"),"\u4ece\u65e7\u7248\u672c\u5347\u7ea7\u540e\u53ef\u80fd\u4e0d\u663e\u793a\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v3101"},"v3.10.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.02.21) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.10.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2024.02.19) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684\u5706\u70b9\u6807\u8bb0\u4e0d\u4f1a\u81ea\u9002\u5e94\u989c\u8272\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v3100"},"v3.10.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u53cc\u7c7b\u76ee\u8f74\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u66f4\u591a\u7ec6\u5206\u5feb\u6377\u83dc\u5355\u521b\u5efa\u56fe\u8868\uff0c\u53ef\u4e00\u952e\u521b\u5efa\u51e0\u5341\u79cd\u56fe\u8868"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u56fe\u8868\u8fb9\u6846\u8bbe\u7f6e\uff0c\u652f\u6301\u5706\u89d2\u56fe\u8868"),(0,l.kt)("li",{parentName:"ul"},"\u4fee\u590d\u82e5\u5e72\u95ee\u9898")),(0,l.kt)("p",null,"\u6269\u5c55\u529f\u80fd\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SankeyChart"),"\u6851\u57fa\u56fe"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"UITable"),"\u7684\u8fb9\u6846\u8bbe\u7f6e")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.02.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.10.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.31) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5728\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"itemFormatter"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"-"),"\u540e\u6574\u4e2a\u4e0d\u663e\u793a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.27) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"TextLimit"),"\u5728\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"TextMeshPro"),"\u540e\u65e0\u6548\u7684\u95ee\u9898 (#301)"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.24) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u652f\u6301X\u8f74\u548cY\u8f74\u90fd\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Category"),"\u7c7b\u76ee\u8f74"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"{y}"),"\u901a\u914d\u7b26\u7528\u4e8e\u83b7\u53d6Y\u8f74\u7684\u7c7b\u76ee\u540d"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u652f\u6301X\u8f74\u548cY\u8f74\u90fd\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Category"),"\u7c7b\u76ee\u8f74"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.18) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"type"),"\u4ee3\u7801\u52a8\u6001\u4fee\u6539\u65e0\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.13) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u7684\u66f4\u591a\u5feb\u6377\u521b\u5efa\u56fe\u8868\u83dc\u5355"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Background"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"borderStyle"),"\uff0c\u7ed9\u56fe\u8868\u9ed8\u8ba4\u8bbe\u7f6e\u5706\u89d2"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.07) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltop"),"\u7684\u7b2c\u4e00\u4e2a",(0,l.kt)("inlineCode",{parentName:"li"},"ContentLabelStyle"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"color"),"\u65e0\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2024.01.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BorderStyle"),"\u8fb9\u6846\u6837\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Heatmap"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"maxCache"),"\u53c2\u6570\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.25) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"clip"),"\u65f6\u7ed8\u5236\u7684\u9876\u70b9\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Scatter"),"\u6563\u70b9\u56fe\u90e8\u5206\u8fb9\u754c\u6570\u636e\u4e0d\u663e\u793a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"TriggerTooltip()"),"\u63a5\u53e3\u5728\u6307\u5b9a0\u6216\u6700\u5927index\u65f6\u53ef\u80fd\u65e0\u6cd5\u89e6\u53d1\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.19) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"LabelStyle"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u540e\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.12) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"TextLimit"),"\u53ef\u9650\u5236\u56fe\u4f8b\u663e\u793a\u6587\u672c\u7684\u957f\u5ea6"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u6dfb\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"double.MaxValue"),"\u65f6\u5750\u6807\u7ed8\u5236\u5931\u8d25\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"minShowLabel"),"\u53ef\u9690\u85cf\u5c0f\u4e8e\u6307\u5b9a\u503c\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"label")),(0,l.kt)("li",{parentName:"ul"},"(2023.12.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LevelStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"depth"),"\u6307\u5b9a\u6240\u5c5e\u5c42\u6b21"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LevelStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"LineStyle"),"\u8bbe\u7f6e\u7ebf\u6761\u6837\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Link"),"\u53ef\u7528\u4e8e\u6851\u57fa\u56fe\u6dfb\u52a0\u8282\u70b9\u8fb9\u5173\u7cfb"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.05) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"ResetChartStatus()"),"\u53ef\u4e3b\u52a8\u91cd\u7f6e\u56fe\u8868\u72b6\u6001")),(0,l.kt)("h2",{id:"v390"},"v3.9.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\uff0c\u5b8c\u5584\u6570\u636e\u53d8\u66f4\u52a8\u753b\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u5bf9\u6570\u8f74\u5b50\u523b\u5ea6\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onTop"),"\u8bbe\u7f6e\u662f\u5426\u663e\u793a\u5728\u6700\u4e0a\u5c42"),(0,l.kt)("li",{parentName:"ul"},"\u5b8c\u5584\u4ee3\u7801\u6ce8\u91ca\u548c\u624b\u518c\u6587\u6863"),(0,l.kt)("li",{parentName:"ul"},"\u4fee\u590d\u82e5\u5e72\u95ee\u9898")),(0,l.kt)("p",null,"\u6269\u5c55\u529f\u80fd\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"UITable"),"\u589e\u52a0\u8f6e\u64ad\u529f\u80fd"),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"UITable"),"\u589e\u52a0\u6570\u636e\u64cd\u4f5c\u63a5\u53e3\u548c\u56de\u8c03\u51fd\u6570"),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"Pie3DChart"),"\u4f18\u5316\u7ed8\u5236\u8868\u73b0")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2023.12.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.9.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.01) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"titleFormatter"),"\u8bbe\u7f6e\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"{b}"),"\u540e\u663e\u793a\u4e0d\u51c6\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u53ef\u5355\u72ec\u6dfb\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.28) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5728\u5bf9\u6570\u8f74\u65f6\u6307\u793a\u4e0d\u51c6\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.24) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"UpdateData()"),"\u63a5\u53e3\u8fd4\u56de\u503c\u4e0d\u51c6\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.24) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u66f4\u65b0\u6570\u636e\u65f6\u6548\u679c\u4e0d\u987a\u7545\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u652f\u6301\u52a8\u753b\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.16) \u53d6\u6d88",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\uff0c\u7528",(0,l.kt)("inlineCode",{parentName:"li"},"LabelStyle"),"\u7684\u4ee3\u66ff"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.14) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"LabelStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u7684\u6ce8\u91ca\u548c\u6587\u6863(#291)"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u90e8\u5206\u6ce8\u91ca\u751f\u6210\u6587\u6863\u4e0d\u5b8c\u6574\u7684\u95ee\u9898 (#290)"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u5728\u6570\u636e\u53d8\u66f4\u65f6\u6ca1\u6709\u81ea\u52a8\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.05) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"SerieEventData"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"value"),"\u4e00\u76f4\u662f0\u7684\u95ee\u9898 (#287)"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.03) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u8bbe\u7f6e\u6e10\u53d8\u8272\u65f6\u9f20\u6807\u79fb\u51fa\u6548\u679c\u5f02\u5e38\u7684\u95ee\u9898 (#285)"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.02) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"ignore"),"\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u7684\u5ffd\u7565\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.11.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onTop"),"\u8bbe\u7f6e\u662f\u5426\u663e\u793a\u5728\u6700\u4e0a\u5c42"),(0,l.kt)("li",{parentName:"ul"},"(2023.10.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u67090\u6570\u636e\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u7684\u4f4d\u7f6e\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.10.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u5bf9\u6570\u8f74\u652f\u6301\u5b50\u523b\u5ea6"),(0,l.kt)("li",{parentName:"ul"},"(2023.10.19) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u8bbe\u7f6e\u73ab\u7470\u56fe\u65f6\u5f15\u5bfc\u7ebf\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.10.15) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"AlongPath"),"\u65f6\u52a8\u753b\u5f02\u5e38\u7684\u95ee\u9898 (#281)"),(0,l.kt)("li",{parentName:"ul"},"(2023.10.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u6307\u5b9a",(0,l.kt)("inlineCode",{parentName:"li"},"yValue"),"\u65f6\u5bf9\u6570\u503c\u8f74\u65e0\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.10.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"showDataDimension"),"\u8bbe\u7f6e\u65e0\u6548\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v381"},"v3.8.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2023.10.02) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.8.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2023.09.29) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u5728\u6c34\u5e73\u65b9\u5411\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u8bbe\u7f6e\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Bottom"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.09.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u7684\u5e73\u6ed1\u66f2\u7ebf\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Dash"),"\u865a\u7ebf\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.09.16) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5728\u7c7b\u76ee\u8f74\u65e0\u6570\u636e\u65f6\u5f02\u5e38\u62a5\u9519\u7684\u95ee\u9898 (#279)"),(0,l.kt)("li",{parentName:"ul"},"(2023.09.16) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u65e0\u6570\u636e\u65f6\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898 (#278)"),(0,l.kt)("li",{parentName:"ul"},"(2023.09.12) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"radiusGradient"),"\u53ef\u8bbe\u7f6e\u534a\u5f84\u65b9\u5411\u7684\u6e10\u53d8\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2023.09.05) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"LabelLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"lineEndX"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u4e2d\u7684\u8868\u73b0"),(0,l.kt)("li",{parentName:"ul"},"(2023.09.05) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"TriggerTooltip()"),"\u63a5\u53e3\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Ring"),"\u65e0\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.09.05) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u6570\u636e\u5168\u4e3a0\u65f6\u7ed8\u5236\u62a5\u9519\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v380"},"v3.8.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u91cd\u6784",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u52a8\u753b\u7cfb\u7edf\uff0c\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"\u65b0\u589e\u52a8\u753b"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"\u4ea4\u4e92\u52a8\u753b"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7684\u52a8\u753b\u4ea4\u4e92\u8868\u73b0"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"EmptyTriangle"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"EmptyDiamond"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Plus"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Minus"),"\u56db\u79cd\u65b0\u6807\u8bb0"),(0,l.kt)("li",{parentName:"ul"},"\u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u7684\u9f20\u6807\u4ea4\u4e92\u56de\u8c03"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LabelLine"),"\u53ef\u56fa\u5b9a\u6a2a\u5750\u6807\u7684\u529f\u80fd"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"GridLayout"),"\u7f51\u683c\u5e03\u5c40\u7ec4\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Auto"),"\u7c7b\u578b"),(0,l.kt)("li",{parentName:"ul"},"\u4f18\u5316\u548c\u4fee\u590d\u82e5\u5e72\u5176\u4ed6\u95ee\u9898")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2023.09.03) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.8.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2023.09.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Auto"),"\u81ea\u52a8\u8bbe\u7f6e\u663e\u793a\u7c7b\u578b\u548c\u89e6\u53d1\u7c7b\u578b"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Ring"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"gridIndex"),"\u652f\u6301\u8bbe\u7f6e\u6307\u5b9a\u7f51\u683c"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"gridIndex"),"\u652f\u6301\u8bbe\u7f6e\u6307\u5b9a\u7f51\u683c"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"gridIndex"),"\u652f\u6301\u8bbe\u7f6e\u6307\u5b9a\u7f51\u683c"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"GridLayout"),"\u7f51\u683c\u5e03\u5c40\u7ec4\u4ef6\u7528\u4e8e\u7ba1\u7406\u591a\u4e2a",(0,l.kt)("inlineCode",{parentName:"li"},"GridCoord"),"\u7684\u5e03\u5c40"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.25) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u591a\u4e2a\u65f6\u53ea\u663e\u793a\u4e00\u4e2a",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.25) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u5728\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"Clip"),"\u540e\u8fd8\u7ed8\u5236\u5728\u5750\u6807\u7cfb\u5916\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.24) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"YAxis"),"\u5728\u6570\u636e\u5168\u4e3a0\u65f6\u9ed8\u8ba4\u8bbe\u7f6e0-1\u7684\u8303\u56f4"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.23) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"YAxis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u53ef\u80fd\u4f1a\u91cd\u590d\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u663e\u793a\u9690\u85cf\u65f6\u7ed8\u5236\u8868\u73b0\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.22) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Zebra"),"\u6591\u9a6c\u67f1\u56fe\u7684\u7ed8\u5236\u8868\u73b0 (#276)"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.16) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Daemon"),"\u5b88\u62a4\u7a0b\u5e8f\uff0c\u89e3\u51b3\u672c\u5730\u5f00\u542fTMP\u540e\u66f4\u65b0\u7248\u672c\u62a5\u9519\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.15) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Data"),"\u6570\u636e\u5728-1\u52301\u4e4b\u95f4\u65f6\u5750\u6807\u8f74\u663e\u793a\u9519\u8bef\u7684\u95ee\u9898 (#273) (by @Ambitroc)"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.14) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts"),"\u672c\u5730\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"TextMeshPro"),"\u548c ",(0,l.kt)("inlineCode",{parentName:"li"},"NewInputSystem"),"\u540e\u66f4\u65b0\u7248\u672c\u4f1a\u62a5\u9519\u7684\u95ee\u9898 (#272)"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u5728\u8fd0\u884c\u65f6\u88ab\u5220\u9664\u65f6\u4f1a\u5f02\u5e38\u62a5\u9519\u7684\u95ee\u9898 (#269)"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5f00\u542f\u65f6\u53ef\u80fd\u4f1a\u5bfc\u81f4\u65e0\u6cd5\u6dfb\u52a0\u6570\u636e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u5355\u72ec\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"itemFormatter"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.10) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Trigger"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Item"),"\u65f6\u7684\u8868\u73b0"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u53ef\u901a\u8fc7\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"IconStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"color"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"clear"),"\u6765\u5b9e\u73b0\u52a8\u6001\u56fe\u6807\u989c\u8272\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.08) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"LabelLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"lineEndX"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.05) \u6574\u7406",(0,l.kt)("inlineCode",{parentName:"li"},"Examples"),"\u7684\u4ee3\u7801\uff0c\u5220\u9664\u4e0d\u5fc5\u8981\u7684\u7528\u4f8b"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LabelLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"lineEndX"),"\u53ef\u8bbe\u7f6e\u5f15\u5bfc\u7ebf\u56fa\u5b9aX\u4f4d\u7f6e\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Ring"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"avoidLabelOverlap"),"\u907f\u514d\u6587\u672c\u5806\u53e0\u7684\u652f\u6301 (#247)"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.03) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onSerieEnter"),"\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"onSerieExit"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"onSerieClick"),"\u56de\u8c03"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.02) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onSerieEnter"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"onSerieExit"),"\u56de\u8c03\u65e0\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.08.02) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Plus"),"\u52a0\u53f7\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Minus"),"\u51cf\u53f7\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.07.31) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"EmptyTriangle"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"EmptyDiamond"),"\u7684\u652f\u6301\uff0c\u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u8868\u73b0\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2023.07.31) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u7684\u9ed8\u8ba4\u914d\u7f6e\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2023.07.27) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"minRadius"),"\u53ef\u8bbe\u7f6e\u6700\u5c0f\u534a\u5f84"),(0,l.kt)("li",{parentName:"ul"},"(2023.07.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"MLValue"),"\u591a\u6837\u5f0f\u6570\u503c"),(0,l.kt)("li",{parentName:"ul"},"(2023.07.25) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"XLog"),"\u65e5\u5fd7\u7cfb\u7edf"),(0,l.kt)("li",{parentName:"ul"},"(2023.07.18) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u997c\u56fe\u7684\u4ea4\u4e92\u52a8\u753b\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2023.07.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Interaction"),"\u4ea4\u4e92\u52a8\u753b\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.07.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Addition"),"\u65b0\u589e\u52a8\u753b\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.07.11) \u91cd\u6784",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u52a8\u753b\u7cfb\u7edf\uff0c\u5b8c\u5584\u52a8\u753b\u4f53\u9a8c"),(0,l.kt)("li",{parentName:"ul"},"(2023.06.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PolarCood"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"indicatorLabelOffset"),"\u8bbe\u7f6e\u6307\u793a\u6587\u672c\u504f\u79fb\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.06.30) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"IndicatorLabel"),"\u7684\u80cc\u666f\u989c\u8272\u53ef\u80fd\u4e0d\u6b63\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.06.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"IndicatorLabel"),"\u53ef\u81ea\u5b9a\u4e49",(0,l.kt)("inlineCode",{parentName:"li"},"color"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.06.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatterFunction"),"\u5728\u6570\u503c\u8f74\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"value"),"\u4e0d\u5bf9\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v370"},"v3.7.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"HelpDoc"),"\u5b98\u7f51\u5e2e\u52a9\u6587\u6863\u8df3\u8f6c"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Clip"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u8303\u56f4\u8bbe\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"\u5176\u4ed6\u4f18\u5316\u548c\u4fee\u590d")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2023.06.08) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.7.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2023.06.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"HelpDoc"),"\u5e2e\u52a9\u6587\u6863\u8df3\u8f6c"),(0,l.kt)("li",{parentName:"ul"},"(2023.05.30) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684\u540d\u5b57\u5e26",(0,l.kt)("inlineCode",{parentName:"li"},"_"),"\u7ebf\u5bfc\u81f4",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u65e0\u6cd5\u89e6\u53d1\u7684\u95ee\u9898 (#259) (by @svr2kos2)"),(0,l.kt)("li",{parentName:"ul"},"(2023.05.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"MinMaxAuto"),"\u8303\u56f4\u7c7b\u578b"),(0,l.kt)("li",{parentName:"ul"},"(2023.05.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Clip"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.05.04) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u5728-1\u52301\u8303\u56f4\u65f6\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"CeilRate"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.05.04) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"MinMax"),"\u7c7b\u578b\u8303\u56f4\u8ba1\u7b97"),(0,l.kt)("li",{parentName:"ul"},"(2023.05.04) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u5728\u6570\u636e\u90fd\u662f\u5c0f\u4e8e1\u7684\u6d6e\u70b9\u6570\u65f6\u663e\u793a",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u683c\u5f0f\u4e0d\u5bf9\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.05.04) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Theme"),"\u5728\u4fee\u6539\u9ed8\u8ba4\u4e3b\u9898\u7684\u53c2\u6570\u540e\u8fd0\u884c\u88ab\u91cd\u7f6e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.05.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u9009\u62e9",(0,l.kt)("inlineCode",{parentName:"li"},"Custom"),"\u7c7b\u578b\u65f6\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Warning"),"\u63d0\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2023.04.15) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5728\u591a\u4e2a\u56fe\u8868\u65f6\u53ef\u80fd\u5f02\u5e38\u7684\u95ee\u9898 (#252)"),(0,l.kt)("li",{parentName:"ul"},"(2023.04.14) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5728\u53ea\u6709\u4e00\u4e2a\u6570\u636e\u65f6\u53ef\u80fd\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.04.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"TriggerTooltip()"),"\u63a5\u53e3\u5c1d\u8bd5\u89e6\u53d1",(0,l.kt)("inlineCode",{parentName:"li"},"ToolTip")),(0,l.kt)("li",{parentName:"ul"},"(2023.04.12) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"RadarCood"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"startAngle"),"\u65f6\u6587\u672c\u4e5f\u8ddf\u968f\u8c03\u6574\u4f4d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2023.04.12) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u5bf9\u901a\u914d\u7b26",(0,l.kt)("inlineCode",{parentName:"li"},"{b}"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.04.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Inspector"),"\u5728\u52a8\u6001\u6dfb\u52a0\u7ec4\u4ef6\u65f6\u53ef\u80fd\u5f02\u5e38\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v360"},"v3.6.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"InputSystem"),"\u652f\u6301 (by @Bian-Sh)"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u5b98\u7f51",(0,l.kt)("a",{parentName:"li",href:"https://xcharts-team.github.io/examples/"},"\u5728\u7ebf\u793a\u4f8b"),"\u591a\u7248\u672c\u652f\u6301 (by @SHL-COOL)"),(0,l.kt)("li",{parentName:"ul"},"\u5b8c\u5584\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"VR"),"\u7684\u652f\u6301 (by @Ambitroc)"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"UITable"),"\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"UIStatistic"),"\u7b49",(0,l.kt)("a",{parentName:"li",href:"https://xcharts-team.github.io/docs/ui"},"\u6269\u5c55UI\u7ec4\u4ef6")),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"MarkColor")),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u901a\u914d\u7b26",(0,l.kt)("inlineCode",{parentName:"li"},"{h}"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7b49\u7ec4\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"\u91cd\u6784\u76f8\u5173",(0,l.kt)("inlineCode",{parentName:"li"},"API"),"\u63a5\u53e3\uff0c\u5b8c\u5584\u56de\u8c03\u63a5\u53e3"),(0,l.kt)("li",{parentName:"ul"},"\u4fee\u590d\u82e5\u5e72\u95ee\u9898")),(0,l.kt)("p",null,"\u5347\u7ea7\u6ce8\u610f\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u90e8\u5206\u63a5\u53e3\u6709\u8c03\u6574\uff0c\u53ef\u6839\u636e\u63d0\u793a\u66f4\u6362\u4e0b\u63a5\u53e3\u5373\u53ef\u3002")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2023.04.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.6.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2023.03.14) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"titleFormater"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"{b}"),"\u53ef\u80fd\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.03.14) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u5728\u6570\u636e\u4e3a0\u65f6\u4e0d\u7ed8\u5236\u67f1\u6761\u80cc\u666f\u7684\u95ee\u9898 (#250) (by @Ambitroc)"),(0,l.kt)("li",{parentName:"ul"},"(2023.03.12) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LabelStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"autoRotate"),"\u53ef\u8bbe\u7f6e\u6709\u89d2\u5ea6\u7684\u7ad6\u7248\u6587\u672c\u7684\u81ea\u52a8\u65cb\u8f6c"),(0,l.kt)("li",{parentName:"ul"},"(2023.03.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"VR"),"\u7b49\u5176\u4ed6\u975e\u9f20\u6807\u8f93\u5165\u65b9\u5f0f\u7684Point\u4f4d\u7f6e\u83b7\u53d6 (#248) (by @Ambitroc)"),(0,l.kt)("li",{parentName:"ul"},"(2023.03.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onSerieClick"),"\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"onSerieDown"),"\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"onSerieEnter"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"onSerieExit"),"\u56de\u8c03"),(0,l.kt)("li",{parentName:"ul"},"(2023.03.09) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u7684\u70b9\u51fb\u9009\u4e2d\u504f\u79fb\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.03.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Positions"),"\u53ef\u81ea\u5b9a\u4e49\u56fe\u4f8b\u7684\u4f4d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2023.03.03) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u53d8\u66f4\u52a8\u753b\u53ef\u80fd\u65e0\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.28) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u70b9\u51fb\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u4e0d\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"startEndFunction"),"\u59d4\u6258"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.12) \u91cd\u6784",(0,l.kt)("inlineCode",{parentName:"li"},"Component"),"\u76f8\u5173\u4ee3\u7801\uff0c\u8c03\u6574API\u63a5\u53e3"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.10) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Log"),"\u8f74\u65f6\u67d0\u4e9b\u60c5\u51b5\u4e0b\u6700\u5c0f\u503c\u4e0d\u6b63\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.10) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u6570\u503c",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u7684\u9ed8\u8ba4\u663e\u793a\u683c\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.08) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"startLock"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"endLock"),"\u53c2\u6570\u652f\u6301\u9501\u5b9a"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.02) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5f00\u542f\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"X\u8f74"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u53ef\u80fd\u4f1a\u663e\u793a\u5728\u56fe\u8868\u5916\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.02) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ignore"),"\u8bbe\u7f6e\u65f6\u7684\u5ffd\u7565\u6570\u636e\u5224\u65ad"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.01) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"XChartsMgr.ContainsChart()"),"\u63a5\u53e3\u5f02\u5e38"),(0,l.kt)("li",{parentName:"ul"},"(2023.01.31) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"InputSystem"),"\u7684\u652f\u6301 (#242) (by @Bian-Sh)"),(0,l.kt)("li",{parentName:"ul"},"(2023.01.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Inspector"),"\u4e0a\u79fb\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"Component"),"\u540e\u56fe\u8868\u6ca1\u6709\u53ca\u65f6\u5237\u65b0\u7684\u95ee\u9898 (#241)"),(0,l.kt)("li",{parentName:"ul"},"(2023.01.06) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u5728\u6700\u540e\u7684\u51e0\u4e2a\u6570\u636e\u90fd\u4e3a0\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u663e\u793a\u4e0d\u6b63\u5e38\u7684\u95ee\u9898 (#240)"),(0,l.kt)("li",{parentName:"ul"},"(2023.01.03) \u5220\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"MarkColor"),"\uff0c\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"MarkColor")),(0,l.kt)("li",{parentName:"ul"},"(2022.12.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Editor"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"List"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"+"),"\u6dfb\u52a0\u7f16\u8f91\u529f\u80fd"),(0,l.kt)("li",{parentName:"ul"},"(2022.12.29) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"UpdateXYData()"),"\u63a5\u53e3\u5f71\u54cd\u6570\u636e\u7cbe\u5ea6\u7684\u95ee\u9898 (#238)"),(0,l.kt)("li",{parentName:"ul"},"(2022.12.28) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u53ea\u6709\u4e00\u4e2a\u6570\u636e\u65f6\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"border"),"\u540e\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898 (#237)"),(0,l.kt)("li",{parentName:"ul"},"(2022.12.22) \u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"Covert"),"\u91cd\u547d\u540d\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Convert"),"\uff0c\u6d89\u53ca\u7684\u63a5\u53e3\u6709\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"ConvertXYAxis()"),"\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"CovertSerie()"),"\u7b49"),(0,l.kt)("li",{parentName:"ul"},"(2022.12.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Convert XY Axis"),"\u540eY\u8f74\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.12.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Value"),"\u8f74\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u8ba1\u7b97\u6570\u503c\u8303\u56f4\u4e0d\u51c6\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.12.12) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"{h}"),"\u901a\u914d\u7b26"),(0,l.kt)("li",{parentName:"ul"},"(2022.12.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u8bbe\u7f6e\u4e3a\u56fa\u5b9a\u503c\u65f6\u663e\u793a\u4e0d\u6b63\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.12.08) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AreaStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"toTop"),"\u53c2\u6570\u53ef\u8bbe\u7f6e\u6298\u7ebf\u56fe\u6e10\u53d8\u8272\u662f\u5230\u9876\u90e8\u8fd8\u662f\u5230\u5b9e\u9645\u4f4d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2022.12.07) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Formatter"),"\u7684\u6587\u672c\u901a\u914d\u7b26",(0,l.kt)("inlineCode",{parentName:"li"},"{h}"),"\u652f\u6301\u8bbe\u7f6e\u5f53\u524d\u989c\u8272\u503c")),(0,l.kt)("h2",{id:"v350"},"v3.5.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u8c03\u6574\u6587\u6863\u7ed3\u6784\uff0c\u589e\u52a0",(0,l.kt)("a",{parentName:"li",href:"https://xcharts-team.github.io"},"XCharts\u5b98\u65b9\u4e3b\u9875")),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0DataZoom\u6846\u9009\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0Bar\u7684\u6700\u5927\u5bbd\u5ea6\u8bbe\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u5176\u4ed6\u4f18\u5316")),(0,l.kt)("p",null,"\u5347\u7ea7\u6ce8\u610f\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u7531\u4e8e\u8c03\u6574\u4e86\u6587\u6863\u76ee\u5f55\u7ed3\u6784\uff0c\u5347\u7ea7\u524d\u5efa\u8bae\u5148\u5907\u4efd\uff0c\u518d\u5220\u9664\u539fXCharts\u540e\u518d\u5347\u7ea7")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.12.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.5.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"barMaxWidth"),"\u53ef\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u7684\u6700\u5927\u5bbd\u5ea6"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.30) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Shadow"),"\u7ed8\u5236\u4e0d\u8d85\u51fa\u56fe\u8868\u8303\u56f4"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.29) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u6307\u793a\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u6570\u636e\u9879\u7d22\u5f15\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.27) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisName"),"\u7684\u504f\u79fb\u8bbe\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.27) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Comment"),"\u7684\u4f4d\u7f6e\uff0c\u7528",(0,l.kt)("inlineCode",{parentName:"li"},"Location\u4ee3\u66ffPosition")),(0,l.kt)("li",{parentName:"ul"},"(2022.11.27) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"LineStyle"),"\u652f\u6301\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Shadow"),"\u65f6\u7684\u989c\u8272"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.27) \u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u6587\u6863\u7ed3\u6784"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.26) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"LabelLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"symbol"),"\u9ed8\u8ba4\u4e0d\u663e\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.26) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"XY"),"\u90fd\u4e3a\u6570\u503c\u8f74\u65f6\u6dfb\u52a0\u65e0\u5e8f\u6570\u636e\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.26) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u4ece\u53f3\u5f80\u5de6\u6846\u9009\u65f6\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.20) \u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"UdpateXAxisIcon()"),"\u63a5\u53e3\u91cd\u547d\u540d\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"UpdateXAxisIcon()")," (#235)"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.12) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"LabelLine"),"\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol")),(0,l.kt)("li",{parentName:"ul"},"(2022.11.12) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"MarqueeStyle"),"\u652f\u6301\u6846\u9009\u533a\u57df"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.10) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u5728\u7c7b\u578b\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Single"),"\u65f6\u7684\u533a\u57df\u989c\u8272\u586b\u5145\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.04) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"itemFormatter"),"\u8bbe\u7f6e\u901a\u914d\u7b26",(0,l.kt)("inlineCode",{parentName:"li"},"{d}"),"\u540e\u5f02\u5e38\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v340"},"v3.4.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"indicatorLabel"),"\uff0c\u53ef\u5355\u72ec\u8bbe\u7f6e\u4e0d\u540c\u7684\u6307\u793a\u6587\u672c\u6837\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"markColor"),"\u53ef\u8bbe\u7f6e\u6807\u8bc6\u989c\u8272"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"RadarCoord"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"startAngle"),"\u53ef\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u8d77\u59cb\u89d2\u5ea6"),(0,l.kt)("li",{parentName:"ul"},"\u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u6570\u503c\u95f4\u9694\u8868\u73b0"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5bf9\u6570\u503c\u8f74\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"SmoothLimit"),"\u53ef\u63a7\u5236\u5e73\u6ed1\u66f2\u7ebf\u4e0d\u540c\u6548\u679c")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.11.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.4.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"API"),"\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"AddData()"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"ClearSerieData()"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"ClearComponentData()")),(0,l.kt)("li",{parentName:"ul"},"(2022.10.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"indicatorLabel"),"\uff0c\u79fb\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"indicatorLabelStyle")," (#226)"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"markColor"),"\u53ef\u8bbe\u7f6e\u6807\u8bc6\u989c\u8272\u7528\u4e8e",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684\u5c55\u793a (#229)"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"RadarCoord"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"startAngle"),"\u53ef\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u8d77\u59cb\u89d2\u5ea6"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u5728\u53d7",(0,l.kt)("inlineCode",{parentName:"li"},"Layout"),"\u63a7\u5236\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u663e\u793a\u4e0d\u6b63\u5e38\u7684\u95ee\u9898 (#231)"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Unity2019.2"),"\u4e0a\u7684\u517c\u5bb9\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.18) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u6570\u503c\u8868\u73b0"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.15) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5f00\u542f\u65f6\u53ef\u80fd\u663e\u793a\u4e0d\u6b63\u5e38\u7684\u95ee\u9898 (#227)"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5bf9\u6570\u503c\u8f74\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.13) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u7684\u73af\u5f62\u997c\u56fe\u8bbe\u7f6e\u8fb9\u6846\u65f6\u6548\u679c\u5f02\u5e38\u7684\u95ee\u9898 (#225)"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.13) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Download"),"\u7684\u63a5\u53e3\u9020\u6210",(0,l.kt)("inlineCode",{parentName:"li"},"iOS"),"\u5e73\u53f0\u6253\u5305\u5931\u8d25\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.12) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"UnscaledTime"),"\u652f\u6301\u8bbe\u7f6e\u52a8\u753b\u662f\u5426\u53d7TimeScale\u7684\u5f71\u54cd (#223)"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.10) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Documentation~"),"\u6587\u6863\u683c\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"SmoothLimit"),"\u53ef\u63a7\u5236\u5e73\u6ed1\u66f2\u7ebf\u4e0d\u540c\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2022.10.05) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u9690\u85cf\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u8fd8\u663e\u793a\u4fe1\u606f\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.30) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u5728\u5f88\u5c0f\u5c3a\u5bf8\u65f6\u51fa\u73b0",(0,l.kt)("inlineCode",{parentName:"li"},"DivideByZeroException"),"\u5f02\u5e38\u7684\u95ee\u9898 (#230)")),(0,l.kt)("h2",{id:"v330"},"v3.3.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u4f18\u5316\u56fe\u8868\u7ec6\u8282\uff0c\u652f\u6301\u66f4\u591a\u529f\u80fd"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u5927\u91cf\u7684Demo\u793a\u4f8b"),(0,l.kt)("li",{parentName:"ul"},"\u5b8c\u5584\u6587\u6863\uff0c\u4fee\u590d\u82e5\u5e72\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"\u65b0\u589ePolarChart\u5bf9Bar\u3001Heatmap\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"\u65b0\u589eHeatmapChart\u70ed\u529b\u56fe\u7c7b\u578b"),(0,l.kt)("li",{parentName:"ul"},"\u5b8c\u5584Tooltip\u663e\u793a")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.09.28) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.3.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.26) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u5728\u7c7b\u76ee\u8f74\u65f6\u7684\u9ed8\u8ba4\u5206\u5272\u6bb5\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.25) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"API"),"\u6587\u6863\u4e2d\u90e8\u5206\u63a5\u53e3\u6ca1\u6709\u5bfc\u51fa\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.24) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"FunnelChart")),(0,l.kt)("li",{parentName:"ul"},"(2022.09.23) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"ParallelChart")),(0,l.kt)("li",{parentName:"ul"},"(2022.09.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SaveAsImage()"),"\u63a5\u53e3\u4fdd\u5b58\u56fe\u8868\u5230\u56fe\u7247"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"InsertSerie()"),"\u63a5\u53e3\u4e0d\u5237\u65b0\u56fe\u8868\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.21) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"PolarChart"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u70ed\u529b\u56fe\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PolarChart"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Heatmap"),"\u70ed\u529b\u56fe\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PolarChart"),"\u5bf9\u591a\u67f1\u56fe\u548c\u5806\u53e0\u67f1\u56fe\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.16) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PolarChart"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u67f1\u56fe\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PolarCoord"),"\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"radius"),"\u8bbe\u7f6e\u73af\u5f62\u6781\u5750\u6807\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.09) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Editor"),"\u4e0b\u7f16\u8f91\u53c2\u6570\u90e8\u5206\u7ec4\u4ef6\u53ef\u80fd\u4e0d\u4f1a\u5b9e\u65f6\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.08) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"RingChart"),"\u53ef\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"LabelLine"),"\u5f15\u5bfc\u7ebf\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.06) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieSymbol"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"minSize"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"maxSize"),"\u53c2\u6570\u8bbe\u7f6e\u6700\u5927\u6700\u5c0f\u5c3a\u5bf8\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.06) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisSplitLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"showStartLine"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"showEndLine"),"\u53c2\u6570\u8bbe\u7f6e\u662f\u5426\u663e\u793a\u9996\u4f4d\u5206\u5272\u7ebf\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.06) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Heatmap"),"\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"symbol"),"\u8bbe\u7f6e\u4e0d\u540c\u7684\u56fe\u6848\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.05) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Heatmap"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"heatmapType"),"\u652f\u6301\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Data"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Count"),"\u4e24\u79cd\u4e0d\u540c\u6620\u5c04\u65b9\u5f0f\u7684\u70ed\u529b\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.05) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5728\u70ed\u529b\u56fe\u4e3a\u6570\u503c\u8f74\u65f6\u7684\u6307\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.02) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"onPointerEnterPie"),"\u56de\u8c03\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.09.02) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"HeatmapChart")),(0,l.kt)("li",{parentName:"ul"},"(2022.08.30) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart")),(0,l.kt)("li",{parentName:"ul"},"(2022.08.30) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u8ba1\u7b97\u8303\u56f4\u4e0d\u51c6\u786e\u7684\u95ee\u9898 (#221)"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.29) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u5728\u6570\u636e\u8fc7\u5bc6\u65f6\u7684\u9ed8\u8ba4\u8868\u73b0"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.29) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"YAxis"),"\u5728\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u65f6\u7684\u6700\u5927\u6700\u5c0f\u503c\u8ba1\u7b97"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.29) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"CandlestickChart"),"\u5927\u91cf\u6570\u636e\u7ed8\u5236"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.28) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u5728\u5806\u53e0\u548c\u81ea\u5b9a\u4e49Y\u8f74\u8303\u56f4\u7684\u60c5\u51b5\u4e0b\u663e\u793a\u4e0d\u6b63\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u65b0\u56fe\u6807\u7c7b\u578b",(0,l.kt)("inlineCode",{parentName:"li"},"Candlestick")),(0,l.kt)("li",{parentName:"ul"},"(2022.08.26) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"CandlestickChart"),"\u8868\u73b0\uff0c\u8c03\u6574\u76f8\u5173\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AddData()"),"\u63a5\u53e3\u53c2\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"position"),"\u53c2\u6570\u652f\u6301\u8bbe\u7f6e\u79fb\u52a8\u5e73\u53f0\u4e0d\u540c\u7684\u663e\u793a\u4f4d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.26) \u5220\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"fixedXEnable"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"fixedYEnable"),"\u53c2\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.25) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"EmphasisStyle"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.25) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"{d3}"),"\u6307\u5b9a\u7ef4\u5ea6\u6570\u636e\u767e\u5206\u6bd4\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.24) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"ScatterChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u4e0d\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.24) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u67d0\u4e9b\u60c5\u51b5\u4e0b\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v320"},"v3.2.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u652f\u6301\u9ad8\u4eae\uff0c\u6de1\u51fa\u548c\u9009\u4e2d\u4e09\u72b6\u6001\u914d\u7f6e\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"EmphasisStyle"),",",(0,l.kt)("inlineCode",{parentName:"li"},"BlurStyle"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"SelectStyle")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u652f\u6301\u5750\u6807\u8f74\u6b21\u523b\u5ea6\u548c\u6b21\u5206\u5272\u7ebf\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"MinorTick"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"MinorSplitLine")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u652f\u6301\u4e0d\u540c\u7684\u53d6\u8272\u7b56\u7565\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"colorBy")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u652f\u6301\u5e73\u6ed1\u66f2\u7ebf\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"smooth")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u652f\u6301\u5f53\u4f5c\u51f8\u591a\u8fb9\u5f62\u586b\u5145\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"AreaStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"innerFill")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u652f\u6301\u65f6\u95f4\u8f74"),(0,l.kt)("li",{parentName:"ul"},"\u5176\u4ed6\u4f18\u5316\u548c\u4fee\u590d")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.08.16) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.2.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.15) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Smooth"),"\u8d1d\u585e\u5c14\u66f2\u7ebf\u7b97\u6cd5"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.13) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7ec4\u4ef6\u5f00\u542f\u65f6\u56fe\u8868\u663e\u793a\u6548\u679c\u53ef\u80fd\u4e0d\u6b63\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.11) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"ignoreDataDefaultContent")),(0,l.kt)("li",{parentName:"ul"},"(2022.08.10) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u57283D\u76f8\u673a\u4e0b\u90e8\u5206\u7ec4\u4ef6\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.10) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"RemoveSerie()"),"\u63a5\u53e3\u4e0d\u751f\u6548\u7684\u95ee\u9898 (#219)"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.10) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Theme"),"\u7684\u5b57\u4f53\u540c\u6b65\u64cd\u4f5c"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.10) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u7684\u9ed8\u8ba4",(0,l.kt)("inlineCode",{parentName:"li"},"layer"),"\u8bbe\u7f6e\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"UI")),(0,l.kt)("li",{parentName:"ul"},"(2022.08.09) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Time"),"\u65f6\u95f4\u8f74\u7684\u6b21\u5206\u5272\u7ebf"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AreaStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"innerFill"),"\u53c2\u6570\u652f\u6301\u586b\u5145\u51f8\u591a\u8fb9\u5f62"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.08) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684\u6570\u636e\u9879\u7d22\u5f15\u7ef4\u62a4\uff0c\u589e\u52a0\u68c0\u6d4b\u548c\u4fee\u590d\u529f\u80fd\uff0c\u4fee\u590d\u76f8\u5173\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.29) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Unity"),"\u7248\u672c\u517c\u5bb9\uff1a\u5728\u67d0\u4e9b\u7248\u672c\u5bfc\u5165\u540e\u56fe\u8868\u521b\u5efa\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Time"),"\u65f6\u95f4\u8f74\u65f6\uff0c\u652f\u6301\u6b21\u523b\u5ea6\u548c\u6b21\u5206\u5272\u7ebf"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.28) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u96f7\u8fbe\u56fe\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.28) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"colorBy"),"\u53c2\u6570\u914d\u7f6e\u53d6\u8272\u7b56\u7565"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.27) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"StateStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u7528\u4e8e\u914d\u7f6e\u72b6\u6001\u4e0b\u7684\u6807\u8bb0\u6837\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.27) \u53bb\u6389",(0,l.kt)("inlineCode",{parentName:"li"},"SerieSymbol"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"selectedSize"),"\u53c2\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.24) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"state"),"\u8bbe\u7f6e\u9ed8\u8ba4\u72b6\u6001"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684\u4e09\u79cd\u72b6\u6001",(0,l.kt)("inlineCode",{parentName:"li"},"EmphasisStyle"),",",(0,l.kt)("inlineCode",{parentName:"li"},"BlurStyle"),",",(0,l.kt)("inlineCode",{parentName:"li"},"SelectStyle")),(0,l.kt)("li",{parentName:"ul"},"(2022.07.22) \u53bb\u6389",(0,l.kt)("inlineCode",{parentName:"li"},"AreaStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"highlightColor"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"highlightToColor"),"\u53c2\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.22) \u53bb\u6389",(0,l.kt)("inlineCode",{parentName:"li"},"Emphasis"),",",(0,l.kt)("inlineCode",{parentName:"li"},"EmphasisItemStyle"),",",(0,l.kt)("inlineCode",{parentName:"li"},"EmphasisLabelStyle"),",",(0,l.kt)("inlineCode",{parentName:"li"},"EmphasisLabelLine"),"\u7ec4\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Since"),"\u7279\u6027\u5bf9\u7c7b\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.20) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Value"),"\u8f74\u65f6\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"showStartLabel"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"showEndLabel"),"\u53c2\u6570\u8bbe\u7f6e\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"MinorSplitLine"),"\u8bbe\u7f6e\u5750\u6807\u8f74\u6b21\u5206\u5272\u7ebf"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"MinorTick"),"\u8bbe\u7f6e\u5750\u6807\u8f74\u6b21\u523b\u5ea6"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.17) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"smooth"),"\u53c2\u6570\u8bbe\u7f6e\u5e73\u6ed1\u66f2\u7ebf"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Time"),"\u65f6\u95f4\u8f74\u7684\u652f\u6301")),(0,l.kt)("h2",{id:"v310"},"v3.1.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis")),(0,l.kt)("li",{parentName:"ul"},"\u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip")),(0,l.kt)("li",{parentName:"ul"},"\u4f18\u5316\u5e73\u6ed1\u66f2\u7ebf\u7b97\u6cd5"),(0,l.kt)("li",{parentName:"ul"},"\u4f18\u5316\u4ee3\u7801\u52a8\u6001\u521b\u5efa\u56fe\u8868"),(0,l.kt)("li",{parentName:"ul"},"\u5b8c\u5584\u914d\u7f6e\u9879\u624b\u518c"),(0,l.kt)("li",{parentName:"ul"},"\u4fee\u590d\u82e5\u5e72\u95ee\u9898")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.07.12) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.1.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ignoreLineBreak"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.07) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"minMaxType"),"\u6307\u5b9a\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"MinMax"),"\u65f6\u652f\u6301\u7cbe\u786e\u5230\u5c0f\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.05) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u91cc\u6709\u591a\u4e2a\u5750\u6807\u7cfb\u65f6\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898 (#210)"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Settings"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"axisMaxSplitNumber"),"\u53c2\u6570\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u6700\u5927\u5206\u9694\u6bb5\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.04) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u5728\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"offset"),"\u540e",(0,l.kt)("inlineCode",{parentName:"li"},"Tick"),"\u7ed8\u5236\u4f4d\u7f6e\u5f02\u5e38\u7684\u95ee\u9898 (#209)"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.03) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatterFunction"),"\u81ea\u5b9a\u4e49\u59d4\u6258"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.03) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisName"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onZero"),"\u53c2\u6570\u652f\u6301\u8bbe\u7f6e\u5750\u6807\u8f74\u540d\u79f0\u4f4d\u7f6e\u662f\u5426\u548cY\u8f740\u523b\u5ea6\u4e00\u81f4 (#207)"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.02) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7528\u4ee3\u7801\u52a8\u6001\u521b\u5efa\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u4e0d\u6b63\u5e38\u7684\u95ee\u9898 (#206)"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.02) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"YAxis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"onZero"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.02) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u4ee3\u7801\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"distance"),"\u5c5e\u6027\u540e\u4e00\u76f4\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.30) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Runtime"),"\u4e0b\u4ee3\u7801\u521b\u5efa\u56fe\u8868\u65f6\u7ec4\u4ef6\u65e0\u6cd5\u521d\u59cb\u5316\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"itemFormatter"),"\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"{c0}"),"\u663e\u793a\u5404\u7ef4\u5ea6\u6570\u636e (#205)"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.28) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"avoidLabelOverlap"),"\u65f6\u7684\u6587\u672c\u8868\u73b0 (#56)"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.25) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u7684\u5e73\u6ed1\u66f2\u7ebf\u8868\u73b0 (#169)"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.25) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5f00\u542f\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u663e\u793a\u6570\u636e\u4e0d\u4e00\u81f4\u7684\u95ee\u9898 (#203)"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.25) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Toolip"),"\u5728\u7c7b\u76ee\u8f74\u65e0\u6570\u636e\u65f6\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898 (#204)"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.25) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"PlaceHolder"),"\u65f6\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u8868\u73b0"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.25) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Since"),"\u7279\u6548\u7528\u4e8e\u6807\u8bc6\u914d\u7f6e\u53c2\u6570\u4ece\u54ea\u4e2a\u7248\u672c\u5f00\u59cb\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.24) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Painter"),"\u7ed8\u5236\u5c42\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"Top"),"\u5c42\u7ec6\u5206\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Upper"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Top"),"\u5c42"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.24) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Background"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Padding"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"TextStyle"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"TextMeshPro"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Sprite Asset"),"\u652f\u6301 (#201)"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.20) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684\u8fb9\u754c\u9650\u5236 (#202)"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.20) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"TextMeshPro"),"\u5f00\u542f\u65f6\u7f16\u8bd1\u9519\u8bef"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.20) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684\u6e10\u51fa\u52a8\u753b\u4e0d\u751f\u6548\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v301"},"v3.0.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.06.16) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.16) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Inspector"),"\u4e0a\u90e8\u5206",(0,l.kt)("inlineCode",{parentName:"li"},"foldout"),"\u7bad\u5934\u70b9\u51fb\u65e0\u6cd5\u5c55\u5f00\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.15) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Doc"),"\u81ea\u52a8\u751f\u6210\uff0c\u5b8c\u5584\u4ee3\u7801\u6ce8\u91ca\u548c\u914d\u7f6e\u9879\u624b\u518c\u6587\u6863"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.14) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabelStyle"),"\uff0c\u652f\u6301\u52a8\u6001\u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"Icon")),(0,l.kt)("li",{parentName:"ul"},"(2022.06.13) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Background"),"\u80cc\u666f\u8bbe\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"autoColor")),(0,l.kt)("li",{parentName:"ul"},"(2022.06.08) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u5728\u8bbe\u7f6e\u4e0d\u663e\u793a\u65f6\u8fd8\u663e\u793a\u9996\u5c3e\u4e24\u4e2a",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v300"},"v3.0.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u66f4\u5065\u58ee\u7684\u5e95\u5c42\u6846\u67b6\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u66f4\u5f3a\u5927\u7684\u6027\u80fd\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u66f4\u5c0f\u7684\u5e8f\u5217\u5316\u6587\u4ef6\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u66f4\u597d\u7684\u4ea4\u4e92\u4f53\u9a8c\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u66f4\u591a\u7684\u7ec4\u4ef6\u652f\u6301\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u66f4\u5f3a\u5927\u7684\u6587\u672c\u81ea\u8ff0\u80fd\u529b\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u66f4\u5408\u7406\u7684\u7ec4\u4ef6\u8c03\u6574\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u66f4\u7075\u6d3b\u7684\u7ec4\u4ef6\u63d2\u62d4\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u66f4\u9ad8\u6548\u7684\u4e8c\u6b21\u5f00\u53d1\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u66f4\u4e30\u5bcc\u7684Demo\u793a\u4f8b\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Time"),"\u65f6\u95f4\u8f74\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SingleAxis"),"\u5355\u8f74\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Comment"),"\u6587\u672c\u7ec4\u4ef6\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Widgets"),"\u5c0f\u7ec4\u4ef6\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u591a\u79cd\u5750\u6807\u7cfb\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"Grid"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Polar"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"SingleAxis"),"\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u591a\u79cd\u52a8\u753b\u65b9\u5f0f\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u591a\u79cd\u56fe\u8868\u4ea4\u4e92\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u56fd\u9645\u5316\u652f\u6301\u3002"),(0,l.kt)("li",{parentName:"ul"},"\u589e\u52a0\u591a\u79cd\u6269\u5c55\u56fe\u8868\u3002")),(0,l.kt)("h2",{id:"v300-preivew9"},"v3.0.0-preivew9"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.05.06) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.0-preivew9"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.05.05) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"color"),"\u65f6\u7684\u4e00\u81f4\u6027"),(0,l.kt)("li",{parentName:"ul"},"(2022.05.05) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Dash"),",",(0,l.kt)("inlineCode",{parentName:"li"},"Dot"),"\u7b49\u7684\u652f\u6301 (#197)"),(0,l.kt)("li",{parentName:"ul"},"(2022.05.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684\u59d4\u6258\u56de\u8c03"),(0,l.kt)("li",{parentName:"ul"},"(2022.05.04) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Label")),(0,l.kt)("li",{parentName:"ul"},"(2022.05.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"clip"),"\u7684\u652f\u6301 (#196)"),(0,l.kt)("li",{parentName:"ul"},"(2022.05.01) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"RingChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u4e0d\u5237\u65b0\u7684\u95ee\u9898 (#195)"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u652f\u6301\u81ea\u5b9a\u4e49\u80cc\u666f\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.27) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u4ee3\u7801\u4fee\u6539",(0,l.kt)("inlineCode",{parentName:"li"},"color"),"\u4e0d\u5237\u65b0\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v300-preivew8"},"v3.0.0-preivew8"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.04.26) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.0-preivew8"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.23) \u79fb\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"IconStyle"),"\u7ec4\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.23) \u5f3a\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"LabelStyle"),"\uff0c\u6240\u6709\u7ec4\u4ef6\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"TextStyle"),"\u90fd\u5347\u7ea7\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"LabelStyle")),(0,l.kt)("li",{parentName:"ul"},"(2022.04.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"rotate"),"\u652f\u6301\u8bbe\u7f6e\u65cb\u8f6c"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.17) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u5728\u6570\u503c\u4e3a\u8d1f\u6570\u65f6\u52a8\u753b\u65e0\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.17) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"BorderGap"),"\u652f\u6301\u8bbe\u7f6e\u8fb9\u6846\u95f4\u8ddd"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.16) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Border"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Capsule"),"\u80f6\u56ca\u67f1\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Liquid"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Round Rect"),"\u5706\u89d2\u77e9\u5f62\u6c34\u4f4d\u56fe\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"EndLabel"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.13) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"VisualMap"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"workOnLine"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"workOnArea"),"\u652f\u6301\u6298\u7ebf\u548c\u533a\u57df\u6620\u5c04\u529f\u80fd (#191)"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.12) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"Area"),"\u533a\u57df\u89e6\u53d1",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip")),(0,l.kt)("li",{parentName:"ul"},"(2022.04.09) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"VisualMap")),(0,l.kt)("li",{parentName:"ul"},"(2022.04.09) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"))),(0,l.kt)("h2",{id:"v300-preivew7"},"v3.0.0-preivew7"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.04.07) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.0-preivew7"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.07) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u989c\u8272\u4e0d\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.03.31) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Add Main Component"),"\u6dfb\u52a0\u7ec4\u4ef6\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.03.30) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u65e0\u6cd5\u81ea\u5b9a\u4e49",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u989c\u8272\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v300-preivew6"},"v3.0.0-preivew6"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.03.30) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.0-preivew6"),"\u7248\u672c")),(0,l.kt)("h2",{id:"v300-preivew5"},"v3.0.0-preivew5"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.03.26) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.0-preivew5"),"\u7248\u672c")),(0,l.kt)("h2",{id:"v300-preivew4"},"v3.0.0-preivew4"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.03.21) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.0-preivew4"),"\u7248\u672c")),(0,l.kt)("h2",{id:"v300-preivew3"},"v3.0.0-preivew3"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.03.09) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.0-preivew3"),"\u7248\u672c")),(0,l.kt)("h2",{id:"v300-preivew2"},"v3.0.0-preivew2"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.01.08) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.0-preivew2"),"\u7248\u672c")),(0,l.kt)("h2",{id:"v300-preivew1"},"v3.0.0-preivew1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.01.07) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.0.0-preivew1"),"\u7248\u672c")),(0,l.kt)("h2",{id:"v282"},"v2.8.2"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.08.15) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.8.2"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"HeatmapChart"),"\u5bf9\u81ea\u5b9a\u4e49",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2022.07.13) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u5237\u65b0\u5f02\u5e38\u7684\u95ee\u9898 #215"),(0,l.kt)("li",{parentName:"ul"},"(2022.06.30) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u8ba9",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684\u5c42\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Indicator"),"\u4e4b\u4e0a")),(0,l.kt)("h2",{id:"v281"},"v2.8.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.05.06) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.8.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.05.03) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onLegendClick"),",",(0,l.kt)("inlineCode",{parentName:"li"},"onLegendEnter"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"onLegendExit"),"\u59d4\u6258\u56de\u8c03"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"RingChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5f02\u5e38\u7684\u95ee\u9898 #192"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"minShowNum"),"\u65f6\u53ef\u80fd\u4f1a\u62a5\u9519\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v280"},"v2.8.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.04.10) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.8.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Debug"),"\u8c03\u8bd5\u4fe1\u606f\u9762\u677f"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.09) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"VisualMap"),"\u67d0\u4e9b\u60c5\u51b5\u4e0b\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.08) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts"),"\u521d\u59cb\u5316 #190"),(0,l.kt)("li",{parentName:"ul"},"(2022.04.08) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u7684\u989c\u8272\u5f02\u5e38\u95ee\u9898 #187"),(0,l.kt)("li",{parentName:"ul"},"(2022.03.24) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u7cbe\u5ea6\u95ee\u9898 #184")),(0,l.kt)("h2",{id:"v270"},"v2.7.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.03.20) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.7.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.02.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"chartName"),"\u91cd\u590d\u68c0\u6d4b\u95ee\u9898 #183"),(0,l.kt)("li",{parentName:"ul"},"(2022.02.17) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"SplitLine"),"\u53ef\u80fd\u4f1a\u663e\u793a\u5728\u5750\u6807\u7cfb\u5916\u7684\u95ee\u9898 #181"),(0,l.kt)("li",{parentName:"ul"},"(2022.02.08) \u4fee\u590d\u6570\u636e\u51680\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"{d}"),"\u663e\u793a\u4e0d\u6b63\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.02.08) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"YAxis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onZero"),"\u53c2\u6570\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2022.01.06) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Zebra"),"\u6591\u9a6c\u67f1\u56fe")),(0,l.kt)("h2",{id:"v260"},"v2.6.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.12.30) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.6.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.12.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Emphasis"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.12.17) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u5728\u8fd0\u884c\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u4e0d\u81ea\u52a8\u5237\u65b0\u663e\u793a\u9690\u85cf\u7684\u95ee\u9898 #178"),(0,l.kt)("li",{parentName:"ul"},"(2021.12.10) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLine"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"SplitLine"),"\u53ef\u5355\u72ec\u63a7\u5236"),(0,l.kt)("li",{parentName:"ul"},"(2021.12.08) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u9690\u85cf\u540e",(0,l.kt)("inlineCode",{parentName:"li"},"Y"),"\u8f74\u6700\u5927\u503c\u4e0d\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.12.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u65b0\u7c7b\u578b\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"EmptyRect"),",",(0,l.kt)("inlineCode",{parentName:"li"},"EmptyTriangle"),",",(0,l.kt)("inlineCode",{parentName:"li"},"EmptyDiamond")),(0,l.kt)("li",{parentName:"ul"},"(2021.12.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Empty"),"\u533a\u57df\u989c\u8272\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"backgroundColor"),"\u8bbe\u7f6e\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2021.12.03) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Formatter"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"{c}"),"\u901a\u914d\u7b26\u4e0d\u751f\u6548\u7684\u95ee\u9898 #175"),(0,l.kt)("li",{parentName:"ul"},"(2021.12.03) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"boundaryGap"),"\u67d0\u4e9b\u60c5\u51b5\u4e0b\u663e\u793a\u7684\u95ee\u9898 #174"),(0,l.kt)("li",{parentName:"ul"},"(2021.11.30) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ignore"),"\u67d0\u4e9b\u60c5\u51b5\u4e0b\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898 #173")),(0,l.kt)("h2",{id:"v250"},"v2.5.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.11.27) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.5.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.11.27) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"positionFunction"),"\u7684\u5750\u6807\u8bbe\u7f6e\u59d4\u6258\u51fd\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2021.10.29) \u79fb\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts"),"\u9996\u6b21\u5bfc\u5165\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"TextMeshPro"),"\u7684\u76f8\u5173\u8bbe\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2021.10.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5bf9\u901a\u914d\u7b26",(0,l.kt)("inlineCode",{parentName:"li"},"{e}"),"\u7684\u652f\u6301 #170"),(0,l.kt)("li",{parentName:"ul"},"(2021.09.08) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart")),(0,l.kt)("li",{parentName:"ul"},"(2021.09.07) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u6e10\u51fa\u52a8\u753b\u7ed3\u675f\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u6ca1\u6709\u6d88\u5931\u7684\u95ee\u9898 #168"),(0,l.kt)("li",{parentName:"ul"},"(2021.09.06) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"GaugeChart"),"\u7528\u4ee3\u7801\u6539\u53d8",(0,l.kt)("inlineCode",{parentName:"li"},"splitNumber"),"\u4e0d\u4f1a\u5237\u65b0",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u7684\u95ee\u9898 #167")),(0,l.kt)("h2",{id:"v240"},"v2.4.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u6298\u7ebf\u56fe\u652f\u6301\u5ffd\u7565\u6570\u636e\u7684\u8fde\u7ebf\u662f\u65ad\u5f00\u8fd8\u662f\u8fde\u63a5"),(0,l.kt)("li",{parentName:"ul"},"\u6298\u7ebf\u56fe\u652f\u6301\u8f68\u8ff9\u5300\u901f\u52a8\u753b"),(0,l.kt)("li",{parentName:"ul"},"\u5176\u4ed6\u4f18\u5316\u548c\u95ee\u9898\u4fee\u590d")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.08.31) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.4.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.31) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"RingChart"),"\u7684\u6e10\u53d8\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.31) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u62d6\u52a8\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u4e0d\u5237\u65b0\u7684\u95ee\u9898 (#165)"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.25) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Theme"),"\u4e3b\u9898\u5207\u6362\u65e0\u6cd5\u4fdd\u6301\u5230\u573a\u666f\u4e0a\u7684\u95ee\u9898 (#166)"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.24) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"alongWithLinePath"),"\u53c2\u6570\u8bbe\u7f6e\u6298\u7ebf\u8f68\u8ff9\u5300\u901f\u52a8\u753b"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ignoreLineBreak"),"\u53c2\u6570\u8bbe\u7f6e\u5ffd\u7565\u6570\u636e\u8fde\u7ebf\u662f\u5426\u65ad\u5f00 (#164)"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5f00\u542f\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u53ef\u80fd\u4e0d\u66f4\u65b0\u7684\u95ee\u9898 (#164)"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.15) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u6587\u672c\u65cb\u8f6c\u8bbe\u7f6e\uff0c\u907f\u514d\u5728DataZoom\u5f00\u542f\u65f6\u504f\u79fb\u4e0d\u4e00\u81f4 (#163)"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"textAutoColor"),"\u8bbe\u7f6e\u6587\u672c\u989c\u8272\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u4e00\u81f4 (#163)"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.12) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Corner"),"\u65f6\u6b63\u8d1f\u67f1\u6761\u5706\u89d2\u5bf9\u79f0"),(0,l.kt)("li",{parentName:"ul"},"(2021.08.03) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684\u6570\u636e\u5168\u4e3a0\u65f6Y\u8f74\u4e0d\u663e\u793a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.29) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"ignore"),"\u65f6\u88ab\u5ffd\u7565\u7684\u6570\u636e\u8fd8\u4f1a\u53c2\u4e0e\u8ba1\u7b97\u7684\u95ee\u9898 (#161)"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.29) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Zebra"),"\u6591\u9a6c\u67f1\u56fe\u6e10\u53d8\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.26) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"TextMeshPro Enable"),"\u65f6\u627e\u4e0d\u5230",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts"),"\u8def\u5f84\u7684\u95ee\u9898 (#160)")),(0,l.kt)("h2",{id:"v230"},"v2.3.0"),(0,l.kt)("p",null,"\u7248\u672c\u8981\u70b9\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u6570\u636e\u5b58\u50a8\u7531",(0,l.kt)("inlineCode",{parentName:"li"},"float"),"\u5347\u7ea7\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"double")),(0,l.kt)("li",{parentName:"ul"},"\u65b0\u589e",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u6807\u7ebf"),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u4e0b\u53ef\u7528",(0,l.kt)("inlineCode",{parentName:"li"},"IconStyle"),"\u7edf\u4e00\u914d\u7f6e\u56fe\u6807"),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u652f\u6301\u7528\u4ee3\u7801\u81ea\u5b9a\u4e49\u663e\u793a\u6837\u5f0f"),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5b8c\u5584"),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u4f18\u5316"),(0,l.kt)("li",{parentName:"ul"},"\u95ee\u9898\u4fee\u590d")),(0,l.kt)("p",null,"\u5347\u7ea7\u6ce8\u610f\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u7531\u4e8e\u6570\u636e\u7c7b\u578b\u5347\u7ea7\u4e3a\u4e86",(0,l.kt)("inlineCode",{parentName:"li"},"double"),"\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"float"),"\u9690\u5f0f\u8f6c",(0,l.kt)("inlineCode",{parentName:"li"},"double"),"\u53ef\u80fd\u6709\u7cbe\u5ea6\u95ee\u9898\uff0c\u6240\u4ee5\u5efa\u8bae\u4e4b\u524d\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"float"),"\u7684\u6570\u636e\u7c7b\u578b\u90fd\u624b\u52a8\u6539\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"double"),"\u7c7b\u578b\u3002")),(0,l.kt)("p",null,"\u65e5\u5fd7\u8be6\u60c5\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.07.24) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.3.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.22) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"SerieSymbol"),"\u4ee5\u652f\u6301\u8c61\u5f62\u67f1\u56fe",(0,l.kt)("inlineCode",{parentName:"li"},"PictorialBarChart"),"\u6269\u5c55"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.19) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"WdbGL"),"\u5e73\u53f0\u4e0a",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u4e0d\u663e\u793a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.18) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"iconStyle"),"\u7edf\u4e00\u914d\u7f6e\u56fe\u6807"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"MarkLine"),"\u6807\u7ebf (#142)"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.09) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"serieData.show"),"\u8bbe\u7f6e\u662f\u5426\u663e\u793a\u67f1\u6761"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.08) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"data"),"\u6570\u636e\u5b58\u50a8\u7c7b\u578b\u7531",(0,l.kt)("inlineCode",{parentName:"li"},"float"),"\u5168\u90e8\u8f6c\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"double")),(0,l.kt)("li",{parentName:"ul"},"(2021.07.05) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"avoidLabelOverlap"),"\u53c2\u6570\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.04) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u9009\u4e2d\u6247\u533a\u540e\u9f20\u6807\u533a\u57df\u6307\u793a\u4e0d\u51c6\u786e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.04) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Inside"),"\u65f6\u53ef\u901a\u8fc7\u53c2\u6570",(0,l.kt)("inlineCode",{parentName:"li"},"Margin"),"\u8c03\u8282\u504f\u79fb"),(0,l.kt)("li",{parentName:"ul"},"(2021.07.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"supportInsideScroll"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"supportInsideDrag"),"\u53c2\u6570\u8bbe\u7f6e\u5750\u6807\u7cfb\u5185\u662f\u5426\u652f\u6301\u6eda\u52a8\u548c\u62d6\u62fd"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.27) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"showStartLabel"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"showEndLabel"),"\u53c2\u6570\u8bbe\u7f6e\u9996\u5c3e\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u662f\u5426\u663e\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.27) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u59d4\u6258\u65b9\u6cd5 (#145)"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.27) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"orient"),"\u53c2\u6570\u8bbe\u7f6e\u6c34\u5e73\u6216\u5782\u76f4\u6837\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"IconStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"autoHideWhenLabelEmpty"),"\u53c2\u6570\u8bbe\u7f6e\u5f53",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u4e3a\u7a7a\u65f6\u662f\u5426\u81ea\u52a8\u9690\u85cf\u56fe\u6807")),(0,l.kt)("h2",{id:"v223"},"v2.2.3"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.06.20) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.2.3"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.20) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Icon"),"\u9ed8\u8ba4\u663e\u793a\u51fa\u6765\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v222"},"v2.2.2"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.06.18) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.2.2"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.18) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u4e3a\u7a7a\u65f6\u81ea\u52a8\u9690\u85cf",(0,l.kt)("inlineCode",{parentName:"li"},"Icon")),(0,l.kt)("li",{parentName:"ul"},"(2021.06.17) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"maxCache"),"\u8bbe\u7f6e\u65f6\u5b9e\u9645\u6570\u636e\u4e2a\u6570\u591a\u4e00\u4e2a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.17) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"TextMeshPro"),"\u7684\u5f00\u542f\u548c\u5173\u95ed\u4e0d\u53ca\u65f6\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.17) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts"),"\u5bfc\u5165\u65f6\u603b\u662f\u5f39\u51fa",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts Importer"),"\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v221"},"v2.2.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.06.13) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.2.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.13) \u5b8c\u5584\u5bf9\u591a\u5c4f\u5e55\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.12) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"IconStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"align"),"\u53c2\u6570\u8bbe\u7f6e\u56fe\u6807\u7684\u6c34\u5e73\u5bf9\u9f50"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.12) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"Theme"),"\u4e3b\u9898\u5bfc\u5165 (#148)"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.10) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Unity"),"\u7248\u672c\u517c\u5bb9\u95ee\u9898 (#154)"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.05) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"CandlestickChart"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"inverse"),"\u7684\u652f\u6301 (#152)"),(0,l.kt)("li",{parentName:"ul"},"(2021.06.04) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Gauge"),"\u5728\u6700\u5c0f\u503c\u4e3a\u8d1f\u6570\u65f6\u6307\u9488\u6307\u793a\u4f4d\u7f6e\u5f02\u5e38\u7684\u95ee\u9898 (#153)")),(0,l.kt)("h2",{id:"v220"},"v2.2.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.05.30) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.2.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.25) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"TextStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"alignment"),"\u7684\u652f\u6301 (#150)"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.24) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u6570\u636e\u5168\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"0"),"\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u65e0\u6cd5\u6b63\u5e38\u663e\u793a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.24) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Add Serie"),"\u9762\u677f\u4e0a",(0,l.kt)("inlineCode",{parentName:"li"},"Serie Name"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898 (#149)"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"TextStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"autoWrap"),"\u8bbe\u7f6e\u662f\u5426\u81ea\u52a8\u6362\u884c"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"TextStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"autoAlign"),"\u8bbe\u7f6e\u662f\u5426\u8ba9\u7cfb\u7edf\u81ea\u52a8\u8bbe\u7f6e\u5bf9\u9f50\u65b9\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"width"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"height"),"\u652f\u6301\u81ea\u5b9a\u4e49\u6587\u672c\u7684\u957f\u5bbd"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"iconStyle"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"icons"),"\u652f\u6301\u8bbe\u7f6e\u5750\u6807\u8f74\u6807\u7b7e\u663e\u793a\u56fe\u6807"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"insertDataToHead"),"\u53c2\u6570\u63a7\u5236\u6570\u636e\u63d2\u5165\u5934\u90e8\u8fd8\u662f\u5c3e\u90e8"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.18) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Editor"),"\u4e0b\u7684\u56fe\u8868\u521b\u5efa #147"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.16) \u62bd\u79bb",(0,l.kt)("inlineCode",{parentName:"li"},"GanttChart"),"\u7518\u7279\u56fe\uff0c\u901a\u8fc7\u6269\u5c55\u6a21\u5757\u7684\u65b9\u5f0f\u6765\u63d0\u4f9b"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"VisualMap"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Piecewise"),"\u5206\u6bb5\u8bbe\u7f6e\u989c\u8272\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.09) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"RingChart"),"\u65e0\u6cd5\u8bbe\u7f6e\u73af\u5f62\u7684\u80cc\u666f\u8272\u7684\u95ee\u9898 #141"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.08) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LiquidChart"),"\u7684\u65b9\u5f62\u6c34\u4f4d\u56fe\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.07) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u523b\u5ea6\u8868\u73b0 #135"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Settings"),"\u4e2d\u5173\u4e8e\u5173\u4e8e\u6750\u8d28\u7403\u8bbe\u7f6e\u7684\u53c2\u6570 #140"),(0,l.kt)("li",{parentName:"ul"},"(2021.05.01) \u4fee\u590d\u65e0\u6cd5\u6b63\u786e\u8868\u793a\u90e8\u5206\u8d85\u5927\u6216\u8d85\u5c0f\u6570\u503c\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.29) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u5207\u6362\u5230",(0,l.kt)("inlineCode",{parentName:"li"},"Circle"),"\u5f02\u5e38\u7684\u95ee\u9898 #139"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Settings"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"reversePainter"),"\u53ef\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684\u7ed8\u5236\u662f\u5426\u9006\u5e8f"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.28) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ignore"),"\u53ef\u5ffd\u7565\u5f53\u524d\u6570\u636e\u9879"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.28) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u4e0b",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u663e\u793a\u4e0d\u51c6\u786e\u7684\u95ee\u9898 #138"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.26) \u4fee\u590d\u8fd0\u884c\u65f6\u52a8\u6001\u521b\u5efa\u56fe\u8868\u4f1a\u5f02\u5e38\u7684\u95ee\u9898 #137"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u7ed8\u5236\u6e10\u53d8\u8fb9\u6846\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.23) \u589e\u52a0\u81ea\u5b9a\u4e49\u56fe\u8868\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Gauge"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u548c\u6587\u5b57\u989c\u8272\u65e0\u6cd5\u8c03\u6574\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.13) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisTick"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ShowStartTick"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"ShowEndTick"),"\u53c2\u6570\u63a7\u5236\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u523b\u5ea6\u662f\u5426\u663e\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.13) \u5b8c\u5584\u591a\u5750\u6807\u8f74\u7684\u652f\u6301 #132")),(0,l.kt)("h2",{id:"v211"},"v2.1.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.04.13) \u6574\u7406\u4ee3\u7801\uff0c\u6e05\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"Warning")),(0,l.kt)("li",{parentName:"ul"},"(2021.04.13) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Unity"),"\u7248\u672c\u517c\u5bb9\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.04.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Theme"),"\u91cd\u6784\u540e\u5f15\u8d77\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"missing class attribute 'ExtensionOfNativeClass'"),"\u7684\u95ee\u9898 #131")),(0,l.kt)("h2",{id:"v210"},"v2.1.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.04.07) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.1.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.31) \u4f18\u5316\u548c\u91cd\u6784",(0,l.kt)("inlineCode",{parentName:"li"},"Theme"),"\uff0c\u89e3\u51b3\u5f15\u7528\u76f8\u540c\u6216\u4e22\u5931\u7684\u95ee\u9898 #118"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.30) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u652f\u6301\u8bbe\u7f6e\u4e0d\u540c\u7684\u7c7b\u76ee\u8f74\u6570\u636e #129"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.29) \u4f18\u5316\u81ea\u5b9a\u4e49\u7ed8\u5236\u56de\u8c03\u63a5\u53e3\uff0c\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"onCustomDrawBeforeSerie"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"onCustomDrawAfterSerie"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"onCustomDrawTop")),(0,l.kt)("li",{parentName:"ul"},"(2021.03.25) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"GanttChart"),"\u7518\u7279\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Theme"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Unbind"),"\u6309\u94ae\u7528\u4e8e\u89e3\u7ed1\u590d\u5236\u56fe\u8868\u65f6\u7684\u4e3b\u9898 #118"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.18) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Inspector"),"\u4e0b",(0,l.kt)("inlineCode",{parentName:"li"},"Foldout"),"\u540e\u7684\u52fe\u9009\u6846\u65e0\u6cd5\u9009\u4e2d\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.18) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"0"),"\u6570\u503c\u65f6\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.14) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684\u6307\u793a\u5668\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u6307\u793a\u4f4d\u7f6e\u4e0d\u51c6\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.13) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"MultiComponentMode"),"\u5f00\u542f\u540e\u7684\u7f16\u8f91\u4f53\u9a8c\u548c\u7ec4\u4ef6\u5237\u65b0 #128"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"CandlestickChart"),"K\u7ebf\u56fe #124"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.06) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"minAngle"),"\u53c2\u6570\u652f\u6301\u8bbe\u7f6e\u6700\u5c0f\u6247\u533a\u89d2\u5ea6 #117"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.05) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u51e0\u79cd\u5185\u7f6e\u56fe\u6807\u7684\u652f\u6301 #90"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.02) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5bf9\u6570\u503c\u8f74\u7684\u652f\u6301 #71"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.02) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"TextMeshPro"),"\u517c\u5bb9\u95ee\u9898 #125"),(0,l.kt)("li",{parentName:"ul"},"(2021.03.01) \u4fee\u590d\u9690\u85cf\u548c\u663e\u793a\u56fe\u8868\u65f6\u90e8\u5206\u5df2\u9690\u85cf\u7684\u8282\u70b9\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898 #125")),(0,l.kt)("h2",{id:"v201"},"v2.0.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.02.26) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"HeatmapChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u6307\u793a\u7684\u4f4d\u7f6e\u4e0d\u51c6\u7684\u95ee\u9898 #123"),(0,l.kt)("li",{parentName:"ul"},"(2021.02.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Unity"),"\u7248\u672c\u517c\u5bb9\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.02.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ignoreDataShow"),"\u53c2\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2021.02.19) \u4fee\u590d\u56fe\u8868\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"LayoutGroup"),"\u63a7\u5236\u4e0b\u65f6\u53ef\u80fd\u663e\u793a\u9519\u4e71\u7684\u95ee\u9898 #121"),(0,l.kt)("li",{parentName:"ul"},"(2021.02.18) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u53c2\u6570\u53d8\u66f4\u540e\u65e0\u6cd5\u81ea\u5237\u65b0\u7684\u95ee\u9898 #122")),(0,l.kt)("h2",{id:"v200"},"v2.0.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.02.05) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.0.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.02.03) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"OnZero"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"YAxis"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898 #116"),(0,l.kt)("li",{parentName:"ul"},"(2021.01.29) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Category"),"\u8f74\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"BoundaryGap"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"AlignWithLabel"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"True"),"\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Tick"),"\u663e\u793a\u6548\u679c\u4e0d\u5bf9\u7684\u95ee\u9898 #115"),(0,l.kt)("li",{parentName:"ul"},"(2021.01.25) \u4f18\u5316\u4e00\u4e9b\u7ec6\u8282"),(0,l.kt)("li",{parentName:"ul"},"(2021.01.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Inpsector"),"\u4e0a\u90e8\u5206\u5c5e\u6027\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v200-preview2"},"v2.0.0-preview.2"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.01.21) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.0.0-preview.2"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2021.01.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Inpsector"),"\u4e0a\u5c55\u5f00",(0,l.kt)("inlineCode",{parentName:"li"},"AxisTick"),"\u65f6\u62a5\u9519\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.01.21) \u4fee\u590d\u6253\u5305\u517c\u5bb9\u62a5\u9519\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2021.01.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"XChartsSettings"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"editorShowAllListData"),"\u53c2\u6570\u914d\u7f6e\u662f\u5426\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Inspector"),"\u4e2d\u663e\u793a\u5217\u8868\u7684\u6240\u6709\u6570\u636e")),(0,l.kt)("h2",{id:"v200-preview1"},"v2.0.0-preview.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.01.19) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v2.0.0-preview.1"),"\u7248\u672c")),(0,l.kt)("h2",{id:"v163"},"v1.6.3"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2021.01.02) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.6.3"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.12.18) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u4e0d\u542f\u7528\u65f6\u66f4\u65b0\u6570\u636e\u4f1a\u5bfc\u81f4\u56fe\u8868\u4e00\u76f4\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.12.01) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Unity2020"),"\u4e0a\u65b0\u521b\u5efa\u7684\u56fe\u8868\u65e0\u6cd5\u6b63\u5e38\u7ed8\u5236\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.11.22) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.6.2"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.11.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u5728\u6570\u636e\u8fc7\u4e8e\u5bc6\u96c6\u65f6\u6298\u7ebf\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898 #99"),(0,l.kt)("li",{parentName:"ul"},"(2020.11.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684\u523b\u5ea6\u4f4d\u7f6e\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"alignWithLabel"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"true"),"\u65f6\u53ef\u80fd\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.11.21) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Unity5"),"\u517c\u5bb9\u62a5\u9519\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.11.13) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Indicator"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"\\n"),"\u6362\u884c\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2020.11.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u5f53\u7c7b\u578b\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Smooth"),"\u65f6\u6570\u636e\u8fc7\u5bc6\u60c5\u51b5\u4e0b\u62a5\u9519\u7684\u95ee\u9898 #100"),(0,l.kt)("li",{parentName:"ul"},"(2020.10.22) \u5b8c\u5584",(0,l.kt)("inlineCode",{parentName:"li"},"HeatmapChart"),"\u4e2d",(0,l.kt)("inlineCode",{parentName:"li"},"VisualMap"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Piecewise"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2020.09.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u8fb9\u6846\u5927\u5c0f\u4e0d\u4e00\u81f4\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v161"},"v1.6.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2020.09.19) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.6.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.09.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Remove All Chart Object"),"\u79fb\u9664\u56fe\u8868\u4e0b\u7684\u6240\u6709\u5b50\u8282\u70b9\uff08\u4f1a\u81ea\u52a8\u91cd\u65b0\u521d\u59cb\u5316\uff09"),(0,l.kt)("li",{parentName:"ul"},"(2020.09.18) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u5728\u70b9\u51fb\u56fe\u4f8b\u9690\u85cf",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u540e\u8fd8\u663e\u793a\u7684\u95ee\u9898#94"),(0,l.kt)("li",{parentName:"ul"},"(2020.09.18) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684\u7c7b\u76ee\u8f74\u523b\u5ea6\u548c\u6587\u672c\u663e\u793a#93"),(0,l.kt)("li",{parentName:"ul"},"(2020.09.17) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Package"),"\u5bfc\u5165\u65f6\u7f3a\u5931",(0,l.kt)("inlineCode",{parentName:"li"},"meta"),"\u6587\u4ef6\u5bfc\u81f4\u5931\u8d25\u7684\u95ee\u9898#92"),(0,l.kt)("li",{parentName:"ul"},"(2020.09.08) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684\u989c\u8272\u53ef\u81ea\u52a8\u5339\u914d",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684\u81ea\u5b9a\u4e49\u989c\u8272#89"),(0,l.kt)("li",{parentName:"ul"},"(2020.09.05) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u5728\u4e0d\u4f7f\u7528",(0,l.kt)("inlineCode",{parentName:"li"},"XAxis1"),"\u65f6\u4e5f\u80fd\u663e\u793a",(0,l.kt)("inlineCode",{parentName:"li"},"XAxis1")),(0,l.kt)("li",{parentName:"ul"},"(2020.08.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LineStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"toColor"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"toColor2"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684\u6c34\u5e73\u6e10\u53d8\uff0c\u53d6\u6d88\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684\u6c34\u5e73\u6e10\u53d8"),(0,l.kt)("li",{parentName:"ul"},"(2020.08.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onPointerClickPie"),"\u70b9\u51fb\u6247\u5f62\u56fe\u6247\u533a\u56de\u8c03"),(0,l.kt)("li",{parentName:"ul"},"(2020.08.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onPointerClickBar"),"\u70b9\u51fb\u67f1\u5f62\u56fe\u67f1\u6761\u56de\u8c03")),(0,l.kt)("h2",{id:"v160"},"v1.6.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2020.08.24) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.6.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.08.23) \u91cd\u6784\u4ee3\u7801\uff0c\u5c06\u4e0e\u7ed8\u5236\u76f8\u5173\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Color"),"\u6539\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Color32"),"\uff0c\u51cf\u5c11\u9690\u5f0f\u8f6c\u6362\uff08\u66f4\u65b0\u540e\u4f1a\u5bfc\u81f4\u81ea\u5b9a\u4e49\u7684\u989c\u8272\u4e22\u5931\uff0c\u53ef\u53c2\u8003",(0,l.kt)("a",{parentName:"li",href:"https://github.com/XCharts-Team/XCharts/blob/master/Assets/XCharts/Documentation~/fqa.md"},"\u95ee\u7b5429"),"\u8fdb\u884c\u5347\u7ea7\uff09"),(0,l.kt)("li",{parentName:"ul"},"(2020.08.15) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7ed8\u5236\u8868\u73b0\u6548\u679c#85"),(0,l.kt)("li",{parentName:"ul"},"(2020.08.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LiquidChart"),"\u6570\u636e\u53d8\u66f4\u52a8\u753b#83"),(0,l.kt)("li",{parentName:"ul"},"(2020.08.11) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u6587\u672c\u5806\u53e0\u548c\u5f15\u7ebf\u6548\u679c#85"),(0,l.kt)("li",{parentName:"ul"},"(2020.08.08) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u5bc6\u96c6\u6570\u636e\u7684\u7ed8\u5236\u8868\u73b0\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"VisualMap"),"\u6216",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u914d\u7f6e\u6e10\u53d8#78"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.25) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u6e10\u51fa\u52a8\u753b\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898#79"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.25) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"LiquidChart"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"100%"),"\u65f6\u6e10\u53d8\u8272\u4f1a\u5931\u6548\u7684\u95ee\u9898#80"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.25) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u652f\u6301#77"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"RingChart"),"\u73af\u5f62\u6e10\u53d8\u652f\u6301#75"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u53ef\u5355\u72ec\u914d\u7f6e\u6570\u503c\u683c\u5f0f\u5316#68"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.17) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieAnimation"),"\u52a8\u753b\u5b8c\u6210\u56de\u8c03\u63a5\u53e3"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.17) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Chart"),"\u653e\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"ScrollView"),"\u4e0b\u65f6\u4e0d\u5f71\u54cd",(0,l.kt)("inlineCode",{parentName:"li"},"ScrollView"),"\u7684\u6eda\u52a8\u548c\u62d6\u52a8"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.16) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u5728\u4e0a\u5c42\u6709\u906e\u6321\u8fd8\u4f1a\u663e\u793a\u7684\u95ee\u9898#74"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.08) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Scatter"),"\u7c7b\u578b",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"Log"),"\u8f74#70"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.07) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u4f4d\u7f6e\u9519\u4e71\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.07) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"offset"),"\u53c2\u6570\u914d\u7f6e\u504f\u79fb"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.06) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LiquidChart"),"\u6c34\u4f4d\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2020.07.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PolarChart"),"\u6781\u5750\u6807\u56fe\u8868")),(0,l.kt)("h2",{id:"v152"},"v1.5.2"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2020.06.25) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.5.2"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.25) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u5728\u6570\u503c\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"0"),"\u65f6\u8fd8\u4f1a\u7ed8\u5236\u4e00\u5c0f\u90e8\u5206\u67f1\u6761\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.24) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u5728\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"clockwise"),"\u540e\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898#65"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.23) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u5728\u5cf0\u8c37\u5dee\u5f02\u8fc7\u5927\u65f6\u7684\u7ed8\u5236\u6548\u679c#64"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.18) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u5728\u91cd\u65b0\u6dfb\u52a0\u6570\u636e\u65f6\u53ef\u80fd\u4e0d\u663e\u793a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.17) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u53ef\u5355\u72ec\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"SerieSymbol"),"#66"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.17) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Check For Update"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Unity 2018"),"\u90e8\u5206\u7248\u672c\u62a5\u9519\u7684\u95ee\u9898#63"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.16) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"avoidLabelOverlap"),"\u53c2\u6570\u907f\u514d\u997c\u56fe\u6807\u7b7e\u5806\u53e0\u7684\u60c5\u51b5#56"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.15) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u5355\u72ec\u63a7\u5236\u663e\u793a\u65f6\u53ef\u80fd\u9519\u4e71\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Check warning"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"RingChart"),"\u5728\u6570\u636e\u5360\u6bd4\u5f88\u5c0f\u65f6\u4e0d\u663e\u793a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"titleFormatter"),"\u652f\u6301\u914d\u7f6e\u5360\u4f4d\u7b26",(0,l.kt)("inlineCode",{parentName:"li"},"{i}"),"\u8868\u793a\u5ffd\u7565\u4e0d\u663e\u793a\u6807\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.07) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"customFadeInDelay"),"\u7b49\u81ea\u5b9a\u4e49\u6570\u636e\u9879\u5ef6\u65f6\u548c\u65f6\u957f\u56de\u8c03\u51fd\u6570#58"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.07) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u5728\u6570\u636e\u5168\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"0"),"\u65f6\u7684\u663e\u793a\u4e3a\u7b49\u4efd\u7684\u6548\u679c#59"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"autoOffset"),"\u53c2\u6570\u8bbe\u7f6e\u662f\u5426\u81ea\u52a8\u5224\u65ad\u4e0a\u4e0b\u504f\u79fb"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"alwayShow"),"\u53c2\u6570\u8bbe\u7f6e\u89e6\u53d1\u540e\u4e00\u76f4\u663e\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.04) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"{.1}"),"\u901a\u914d\u7b26"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.04) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u6570\u91cf\u8fc7\u591a\u65f6\u81ea\u52a8\u6362\u884c\u663e\u793a#53")),(0,l.kt)("h2",{id:"v151"},"v1.5.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2020.06.03) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.5.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.02) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ceilRate"),"\uff0c\u8bbe\u7f6e\u6700\u5927\u6700\u5c0f\u503c\u7684\u53d6\u6574\u500d\u7387"),(0,l.kt)("li",{parentName:"ul"},"(2020.06.02) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\uff0c\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"{c1:1-1:f1}"),"\u683c\u5f0f\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.31) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Background"),"\u7ec4\u4ef6\u7684\u751f\u6548\u6761\u4ef6\uff0c\u9700\u8981\u6709\u5355\u72ec\u7684\u7236\u8282\u70b9\uff08\u5347\u7ea7\u524d\u9700\u8981\u81ea\u5df1\u5904\u7406\u65e7\u7684\u80cc\u666f\u8282\u70b9\uff09"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.30) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u652f\u6301\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"ignoreValue"),"\u4e0d\u663e\u793a\u6307\u5b9a\u6570\u636e"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.30) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Circle"),"\u65f6\u4e0d\u7ed8\u5236",(0,l.kt)("inlineCode",{parentName:"li"},"SplitArea"),"\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.30) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart"),"\u5728\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"max"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"0"),"\u65f6\u53ef\u81ea\u52a8\u5237\u65b0\u6700\u5927\u503c"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.29) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"gap"),"\u65f6\u53ea\u6709\u4e00\u4e2a\u6570\u636e\u65f6\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.27) \u4fee\u590d\u8c03\u7528",(0,l.kt)("inlineCode",{parentName:"li"},"UpdateDataName()"),"\u63a5\u53e3\u65f6\u4e0d\u4f1a\u81ea\u52a8\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.27) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"\u67f1\u72b6\u56fe"),"\u7684\u6e10\u53d8\u8272\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.24) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u540c\u65f6\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"boundaryGap"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"alignWithLabel"),"\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Tick"),"\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.24) \u4f18\u5316\u7248\u672c\u66f4\u65b0\u68c0\u6d4b")),(0,l.kt)("h2",{id:"v150"},"v1.5.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2020.05.22) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.5.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"\u5706\u89d2\u67f1\u56fe"),"\u652f\u6301\u6e10\u53d8"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Background"),"\u80cc\u666f\u7ec4\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.19) \u9690\u85cf",(0,l.kt)("inlineCode",{parentName:"li"},"Hierarchy"),"\u8bd5\u56fe\u4e0b\u81ea\u52a8\u751f\u6210\u7684\u5b50\u8282\u70b9"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.18) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"chartName"),"\u5c5e\u6027\u53ef\u6307\u5b9a\u56fe\u8868\u7684\u522b\u79f0\uff0c\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"XChartMgr.Instance.GetChart(chartName)"),"\u83b7\u53d6\u56fe\u8868"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.16) \u589e\u52a0\u90e8\u5206\u9f20\u6807\u4e8b\u4ef6\u56de\u8c03"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.15) \u4f18\u5316\u81ea\u5e26\u4f8b\u5b50\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"Demo"),"\u6539\u540d\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Example")),(0,l.kt)("li",{parentName:"ul"},"(2020.05.13) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"large"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"largeThreshold"),"\u53c2\u6570\u914d\u7f6e\u6298\u7ebf\u56fe\u548c\u67f1\u72b6\u56fe\u7684\u6027\u80fd\u6a21\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.13) \u5b8c\u5584Demo\uff0c\u589e\u52a0\u6027\u80fd\u6f14\u793aDemo"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.13) \u4f18\u5316\u6027\u80fd\uff0c\u4f18\u5316\u5927\u6570\u636e\u7ed8\u5236\uff0c\u91cd\u6784\u4ee3\u7801"),(0,l.kt)("li",{parentName:"ul"},"(2020.05.04) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"numericFormatter"),"\u53c2\u6570\u53ef\u914d\u7f6e\u6570\u503c\u683c\u5f0f\u5316\u663e\u793a\uff0c\u53bb\u6389",(0,l.kt)("inlineCode",{parentName:"li"},"forceENotation"),"\u53c2\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.28) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"\u81ea\u7531\u951a\u70b9"),"\u652f\u6301\uff0c\u4efb\u610f\u5bf9\u9f50\u65b9\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.23) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"ScatterChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u663e\u793a\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"formatter"),"\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"{.}"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"{c:0}"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"{c1:1}"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.19) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u6298\u7ebf\u56fe\u7684\u533a\u57df\u586b\u5145\u6e10\u53d8\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onZero"),"\u53c2\u6570\u53ef\u5c06",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u663e\u793a\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"0"),"\u523b\u5ea6\u4e0a"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"showAsPositiveNumber"),"\u53c2\u6570\u5c06\u8d1f\u6570\u6570\u503c\u663e\u793a\u4e3a\u6b63\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.18) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Convert XY Axis"),"\u4e92\u6362XY\u8f74\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.17) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"inverse"),"\u53c2\u6570\u8bbe\u7f6e\u5750\u6807\u8f74\u53cd\u8f6c"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.16) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Check warning"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"Unity2019.3"),"\u4e0a\u7684\u663e\u793a\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.16) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u5728\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Space"),"\u53c2\u6570\u540e\u52a8\u753b\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v140"},"v1.4.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2020.04.11) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.4.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Check warning"),"\u68c0\u6d4b\u529f\u80fd"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.09) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u521d\u59cb\u5316\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.04.08) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u8bbe\u7f6e\u8fb9\u6846\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ceilRate"),"\u8bbe\u7f6e\u6700\u5927\u6700\u5c0f\u503c\u7684\u53d6\u6574\u500d\u7387"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"itemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"cornerRadius"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"\u5706\u89d2\u67f1\u56fe")),(0,l.kt)("li",{parentName:"ul"},"(2020.03.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"itemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"cornerRadius"),"\u652f\u6301\u5706\u89d2\u77e9\u5f62"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.24) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Editor"),"\u53c2\u6570\u7f16\u8f91\uff0c\u517c\u5bb9",(0,l.kt)("inlineCode",{parentName:"li"},"Unity2019.3"),"\u53ca\u4ee5\u4e0a\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.24) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"inspector"),"\u4e0a\u53ef\u8fdb\u884c\u8c03\u6574\u987a\u5e8f\u3001\u6dfb\u52a0\u548c\u5220\u9664\u64cd\u4f5c"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.23) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Title"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"textStyle"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"subTextStyle"),"\u65e0\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"barType"),"\u53c2\u6570\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"\u80f6\u56ca\u67f1\u72b6\u56fe")),(0,l.kt)("li",{parentName:"ul"},"(2020.03.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"HeatmapChart"),"\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"ignore"),"\u53c2\u6570\u8bbe\u7f6e\u5ffd\u7565\u6570\u636e\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"tooltipFormatter"),"\u53c2\u6570\u53ef\u5355\u72ec\u914d\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u663e\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.20) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"X Axis 1"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Y Axis 1"),"\u914d\u7f6e\u53d8\u66f4\u65f6\u4e0d\u4f1a\u81ea\u52a8\u5237\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisTick"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"width"),"\u53c2\u6570\u53ef\u5355\u72ec\u8bbe\u7f6e\u5750\u6807\u8f74\u523b\u5ea6\u7684\u5bbd\u5ea6"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"radarType"),"\u53c2\u6570\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"\u591a\u5708"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"\u5355\u5708"),"\u96f7\u8fbe\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.17) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u53ef\u7528",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"backgroundColor"),"\u8bbe\u7f6e\u6570\u636e\u9879\u80cc\u666f\u989c\u8272"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.17) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Emphasis"),"\u53ef\u5355\u72ec\u914d\u7f6e\u6570\u636e\u9879\u6837\u5f0f\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.15) \u91cd\u6784",(0,l.kt)("inlineCode",{parentName:"li"},"EmptyCricle"),"\u7c7b\u578b\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u8fb9\u5bbd\u53d6\u81ea",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"borderWidth"),"\u53c2\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.15) \u91cd\u6784",(0,l.kt)("inlineCode",{parentName:"li"},"SerieSymbol"),"\uff0c\u53bb\u6389",(0,l.kt)("inlineCode",{parentName:"li"},"color"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"opacity"),"\u53c2\u6570\uff0c\u53d6\u81ea",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"))),(0,l.kt)("h2",{id:"v131"},"v1.3.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2020.03.14) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.3.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.14) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"ingore"),"\u65f6\u90e8\u5206\u6570\u636e\u53ef\u80fd\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.13) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u504f\u79fb\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v130"},"v1.3.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2020.03.11) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.3.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.11) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"label"),"\u504f\u79fb\u663e\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.11) \u4f18\u5316\u6e05\u7a7a\u5e76\u91cd\u65b0\u6dfb\u52a0\u6570\u636e\u540e\u7684\u81ea\u52a8\u5237\u65b0\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684\u666e\u901a\u6298\u7ebf\u56fe\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"ignore"),"\u53c2\u6570\u8bbe\u7f6e\u5ffd\u7565\u6570\u636e\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u53ef\u901a\u8fc7",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u914d\u7f6e\u8fb9\u6846\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.08) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"RingChart"),"\u73af\u5f62\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2020.03.05) \u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"arcShaped"),"\u53c2\u6570\u91cd\u547d\u540d\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"roundCap")),(0,l.kt)("li",{parentName:"ul"},"(2020.03.05) \u589e\u52a0\u8fd0\u884c\u65f6\u548c\u975e\u8fd0\u884c\u65f6\u53c2\u6570\u53d8\u66f4\u81ea\u52a8\u5237\u65b0\u56fe\u8868"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.26) \u91cd\u6784",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u56fe\u4f8b\uff0c\u6539\u53d8\u6837\u5f0f\uff0c\u589e\u52a0\u81ea\u5b9a\u4e49\u56fe\u6807\u7b49\u8bbe\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart.AnimationFadeOut()"),"\u6e10\u51fa\u52a8\u753b\uff0c\u91cd\u6784\u52a8\u753b\u7cfb\u7edf"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.13) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart.RefreshTooltip()"),"\u63a5\u53e3\u7acb\u5373\u91cd\u65b0\u521d\u59cb\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7ec4\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.13) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"textStyle"),"\u53c2\u6570\u914d\u7f6e\u5185\u5bb9\u6587\u672c\u6837\u5f0f\uff0c\u53bb\u6389",(0,l.kt)("inlineCode",{parentName:"li"},"fontSize"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"fontStyle"),"\u53c2\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.13) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"TextStyle"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"lineSpacing"),"\u53c2\u6570\u914d\u7f6e\u884c\u95f4\u8ddd"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"splitLine"),"\u53c2\u6570\u914d\u7f6e\u5206\u5272\u7ebf\uff0c\u53bb\u6389",(0,l.kt)("inlineCode",{parentName:"li"},"lineStyle"),"\u53c2\u6570"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"backgroundImage"),"\u53c2\u6570\u914d\u7f6e\u80cc\u666f\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"paddingLeftRight"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"paddingTopBottom"),"\u53c2\u6570\u914d\u7f6e\u6587\u5b57\u548c\u8fb9\u6846\u7684\u95f4\u8ddd"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"lineStyle"),"\u53c2\u6570\u914d\u7f6e\u6307\u793a\u7ebf\u6837\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.11) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"splitLine"),"\u53c2\u6570\u63a7\u5236\u5206\u5272\u7ebf\uff0c\u53bb\u6389",(0,l.kt)("inlineCode",{parentName:"li"},"showSplitLine"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"splitLineType"),"\u53c2\u6570\uff08\u66f4\u65b0\u65f6\u9700\u8981\u91cd\u65b0\u8bbe\u7f6e\u5206\u5272\u7ebf\u76f8\u5173\u8bbe\u7f6e\uff09"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"clip"),"\u53c2\u6570\u63a7\u5236\u662f\u5426\u8d85\u51fa\u5750\u6807\u7cfb\u5916\u88c1\u526a\uff08\u53ea\u9002\u7528\u4e8e\u6298\u7ebf\u56fe\u3001\u67f1\u72b6\u56fe\u3001\u6563\u70b9\u56fe\uff09"),(0,l.kt)("li",{parentName:"ul"},"(2020.02.08) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieSymbol"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"gap"),"\u53c2\u6570\u63a7\u5236\u56fe\u5f62\u6807\u8bb0\u7684\u5916\u7559\u767d\u8ddd\u79bb"),(0,l.kt)("li",{parentName:"ul"},"(2020.01.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"TextLimit"),"\u7ec4\u4ef6\u53ef\u4ee5\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684\u6587\u672c\u81ea\u9002\u5e94"),(0,l.kt)("li",{parentName:"ul"},"(2020.01.20) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"itemFormatter"),"\u65f6\u663e\u793a\u7cfb\u5217\u989c\u8272"),(0,l.kt)("li",{parentName:"ul"},"(2020.01.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u96f7\u8fbe\u56fe\u5728",(0,l.kt)("inlineCode",{parentName:"li"},"inspector"),"\u914d\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"areaStyle"),"\u7684\u652f\u6301")),(0,l.kt)("h2",{id:"v120"},"v1.2.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2020.01.15) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.2.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2020.01.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u683c\u5f0f\u5316\u4e3a\u6574\u6570\u7684\u652f\u6301\uff08",(0,l.kt)("inlineCode",{parentName:"li"},"{value:f0}"),"\uff09"),(0,l.kt)("li",{parentName:"ul"},"(2020.01.15) \u589e\u52a0\u6298\u7ebf\u56fe\u5bf9\u6570\u8f74",(0,l.kt)("inlineCode",{parentName:"li"},"Log"),"\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2020.01.09) \u4fee\u590d\u5f53\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"minShowNum"),"\u65f6\u53ef\u80fd\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.01.08) \u4fee\u590d\u5f53\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"onZero"),"\u65f6\u523b\u5ea6\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2020.01.08) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Mask"),"\u906e\u7f69\u906e\u6321\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.12.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684\u5355\u4e2a\u6570\u636e\u9879\u548c\u6807\u9898\u7684\u5b57\u7b26\u4e32\u6a21\u7248\u683c\u5f0f\u5668"),(0,l.kt)("li",{parentName:"ul"},"(2019.12.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7684\u6700\u5c0f\u663e\u793a\u6570\u636e\u4e2a\u6570",(0,l.kt)("inlineCode",{parentName:"li"},"minShowNum")),(0,l.kt)("li",{parentName:"ul"},"(2019.12.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Demo40_Radar.cs"),"\u96f7\u8fbe\u56fe\u4ee3\u7801\u64cd\u4f5c",(0,l.kt)("inlineCode",{parentName:"li"},"Demo")),(0,l.kt)("li",{parentName:"ul"},"(2019.12.20) \u6dfb\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart"),"\u76f8\u5173API\u63a5\u53e3")),(0,l.kt)("h2",{id:"v110"},"v1.1.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.12.17) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.1.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.12.16) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Overlay"),"\u6a21\u5f0f\u4e0b\u4e0d\u663e\u793a",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.12.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Title"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"TextStyle"),"\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.12.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u90fd\u9690\u85cf\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Value\u8f74"),"\u8fd8\u663e\u793a\u6570\u503c\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.12.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Series->Data->Size"),"\u91cd\u7f6e\u4e3a0\u540e\u8bbe\u7f6e\u65e0\u6548\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.12.06) \u4fee\u590d\u6570\u636e\u8fc7\u5c0f\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u76f4\u63a5\u79d1\u5b66\u8ba1\u6570\u6cd5\u663e\u793a\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.12.04) \u4f18\u5316\u548c\u5b8c\u5584\u6570\u636e\u66f4\u65b0",(0,l.kt)("inlineCode",{parentName:"li"},"UpdateData"),"\u63a5\u53e3"),(0,l.kt)("li",{parentName:"ul"},"(2019.12.03) \u589e\u52a0\u5706\u73af\u997c\u56fe\u7684\u5706\u89d2\u652f\u6301\uff0c\u53c2\u6570\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"serie.arcShaped")),(0,l.kt)("li",{parentName:"ul"},"(2019.12.03) \u589e\u52a0\u6570\u636e\u66f4\u65b0\u52a8\u753b,\u53c2\u6570\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"serie.animation.dataChangeEnable")),(0,l.kt)("li",{parentName:"ul"},"(2019.11.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"GaugeChart"),"\u4eea\u8868\u76d8"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.22) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u6e05\u7a7a\u6570\u636e\u91cd\u65b0\u8d4b\u503c\u540e",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.16) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u8bbe\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"color"),"\u7b49\u53c2\u6570\u4e0d\u751f\u6548\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v105"},"v1.0.5"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.11.12) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.0.5"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.12) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"2018.3"),"\u4ee5\u4e0b\u7248\u672c\u6253\u5f00\u9879\u76ee\u62a5\u9519\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.12) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"IconStyle"),"\u5b50\u7ec4\u4ef6\uff0c\u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684\u56fe\u6807\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.11) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684\u56fe\u6807\u663e\u793a\u5728\u4e0a\u5c42\u906e\u6321",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.11) \u4fee\u590d\u997c\u56fe\u5f53\u6570\u636e\u8fc7\u5c0f\u65f6\u89c6\u89c9\u5f15\u5bfc\u7ebf\u4f1a\u7a7f\u900f\u7684\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.09) \u4fee\u590d\u997c\u56fe\u6dfb\u52a0\u6570\u636e\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.09) \u4f18\u5316\u7ed3\u6784\uff0c\u5206\u79bb\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"XChartsDemo"),"\u4e24\u90e8\u5206")),(0,l.kt)("h2",{id:"v104"},"v1.0.4"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.11.05) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.0.4"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.05) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Radar"),"\u96f7\u8fbe\u7ec4\u4ef6\u6587\u672c\u6837\u5f0f\u53c2\u6570\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.04) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Unity2018.3"),"\u4ee5\u4e0b\u7248\u672c\u4ee3\u7801\u4e0d\u517c\u5bb9\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.04) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u8fc7\u591a\u65f6\u5f15\u8d77\u7684\u6027\u80fd\u95ee\u9898")),(0,l.kt)("h2",{id:"v103"},"v1.0.3"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.11.03) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.0.3"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.11.03) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Editor"),"\u5feb\u6377\u6dfb\u52a0\u56fe\u8868\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"Hierarchy"),"\u8bd5\u56fe\u4e0b\u53f3\u952e",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts->LineChart")),(0,l.kt)("li",{parentName:"ul"},"(2019.11.02) \u4f18\u5316\u975e\u914d\u7f6e\u53c2\u6570\u53d8\u91cf\u547d\u540d\u548c\u8bbf\u95ee\u6743\u9650\uff0c\u7b80\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"API"))),(0,l.kt)("h2",{id:"v102"},"v1.0.2"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.10.31) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.0.2"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.31) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"prefab"),"\u9884\u8bbe\u5236\u4f5c\u62a5\u9519\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.31) \u589e\u52a0\u8bbf\u95ee\u4e3b\u9898\u7ec4\u4ef6API\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart.theme"))),(0,l.kt)("h2",{id:"v101"},"v1.0.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.10.26) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.0.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.26) \u4fee\u590d\u7248\u672c\u68c0\u67e5\u529f\u80fd\u5728\u975e\u8fd0\u884c\u65f6\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.26) \u589e\u52a0\u79d1\u5b66\u8ba1\u6570\u6cd5\u663e\u793a\u6570\u503c\u7684\u652f\u6301\uff08\u67e5\u9605",(0,l.kt)("inlineCode",{parentName:"li"},"forceENotation"),"\u53c2\u6570\uff09"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7c7b\u76ee\u8f74\u6570\u636e\u4e3a\u7a7a\u65f6\u7684\u9ed8\u8ba4\u663e\u793a\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u6570\u503c\u8f74\u7684\u6700\u5927\u6700\u5c0f\u503c\u53ef\u8bbe\u7f6e\u4e3a\u5c0f\u6570\u7684\u652f\u6301\uff0c\u4f18\u5316\u6781\u5c0f\u6570\u56fe\u8868\u7684\u8868\u73b0\u6548\u679c")),(0,l.kt)("h2",{id:"v100"},"v1.0.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.10.25) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v1.0.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.23) \u589e\u52a0\u7248\u672c\u68c0\u6d4b\u529f\u80fd\uff1a",(0,l.kt)("inlineCode",{parentName:"li"},"Component -> XCharts -> Check For Update")),(0,l.kt)("li",{parentName:"ul"},"(2019.10.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Package Manager"),"\u5b89\u88c5\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Demo"),"\u9996\u9875",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u7684\u4ee3\u7801\u52a8\u6001\u63a7\u5236\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.18) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"barType"),"\u53c2\u6570\uff0c\u53ef\u914d\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"\u6591\u9a6c\u67f1\u72b6\u56fe")),(0,l.kt)("li",{parentName:"ul"},"(2019.10.18) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"barPercentStack"),"\u53c2\u6570\uff0c\u53ef\u914d\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"\u767e\u5206\u6bd4\u5806\u53e0\u67f1\u72b6\u56fe")),(0,l.kt)("li",{parentName:"ul"},"(2019.10.16) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Demo"),"\u9996\u9875",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684\u4ee3\u7801\u52a8\u6001\u63a7\u5236\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.15) \u79fb\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"Pie"),"\u7ec4\u4ef6\uff0c\u76f8\u5173\u53c2\u6570\u653e\u5230",(0,l.kt)("inlineCode",{parentName:"li"},"Settings"),"\u4e2d\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Demo"),"\u9996\u9875\uff0c\u5c55\u793a\u4ee3\u7801\u52a8\u6001\u63a7\u5236\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"ScatterChart"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"HeatmapChart"),"\u7684\u8d77\u59cb\u52a8\u753b\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"radius"),"\u81ea\u5b9a\u4e49\u6570\u636e\u9879\u7684\u534a\u5f84"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"HeatmapChart"),"\u70ed\u529b\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"VisualMap"),"\u89c6\u89c9\u6620\u5c04\u7ec4\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u6570\u636e\u9879\u6837\u5f0f\u7ec4\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Emphasis"),"\u9ad8\u4eae\u6837\u5f0f\u7ec4\u4ef6"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.10) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Settings"),"\u5168\u5c40\u53c2\u6570\u914d\u7f6e\u7ec4\u4ef6\uff0c\u5f00\u653e\u66f4\u591a\u53c2\u6570\u53ef\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AreaStyle"),"\u7684\u9ad8\u4eae\u76f8\u5173\u53c2\u6570\u914d\u7f6e\u9f20\u6807\u60ac\u6d6e\u65f6\u9ad8\u4eae\u4e4b\u524d\u533a\u57df"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.09) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u7ec4\u4ef6\uff0c\u589e\u52a0\u53cc\u6307\u7f29\u653e"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.05) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"LineType"),"\u7ed9\u997c\u56fe\u914d\u7f6e\u4e0d\u540c\u7c7b\u578b\u7684\u89c6\u89c9\u5f15\u5bfc\u7ebf"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.02) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"ScatterChart"),"\u540c\u65f6\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Scatter"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u7684\u652f\u6301\uff0c\u5b9e\u73b0\u6298\u7ebf\u56fe\u548c\u6563\u70b9\u56fe\u7684\u7ec4\u5408\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.01) \u91cd\u6784\u4ee3\u7801\uff0c\u5e9f\u5f03",(0,l.kt)("inlineCode",{parentName:"li"},"Series.series"),"\u63a5\u53e3\uff0c\u7528",(0,l.kt)("inlineCode",{parentName:"li"},"Series.list"),"\u4ee3\u66ff"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"customDrawCallback"),"\u81ea\u5b9a\u4e49\u7ed8\u5236\u56de\u8c03"),(0,l.kt)("li",{parentName:"ul"},"(2019.10.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SmoothDash"),"\u5e73\u6ed1\u865a\u7ebf\u7684\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u91c7\u6837\u7c7b\u578b",(0,l.kt)("inlineCode",{parentName:"li"},"sampleType"),"\u7684\u76f8\u5173\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieSymbol"),"\u5173\u4e8e\u663e\u793a\u95f4\u9694\u7684\u76f8\u5173\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.29) \u91cd\u6784\u4ee3\u7801\uff1a",(0,l.kt)("ul",{parentName:"li"},(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"sampleDist"),"\u5220\u9664\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"lineSampleDist")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"minShowDataNumber"),"\u5220\u9664\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"minShow")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"maxShowDataNumber"),"\u5220\u9664\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"maxShow")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"maxCacheDataNumber"),"\u5220\u9664\uff0c",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"maxCache")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AddSerie()"),"\u63a5\u53e3\u53c2\u6570\u8c03\u6574"),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"BaseChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"UpdateData()"),"\u63a5\u53e3\u53c2\u6570\u8c03\u6574"),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"maxCache")))),(0,l.kt)("li",{parentName:"ul"},"(2019.09.28) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u540c\u65f6\u5bf9",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u7c7b\u578b",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684\u652f\u6301\uff0c\u5b9e\u73b0\u6298\u7ebf\u56fe\u548c\u67f1\u72b6\u56fe\u7684\u7ec4\u5408\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.27) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"splitNumber"),"\u8bbe\u7f6e\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"0"),"\u65f6\u8868\u793a\u7ed8\u5236\u6240\u6709\u7c7b\u76ee\u6570\u636e"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.27) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SampleDist"),"\u91c7\u6837\u8ddd\u79bb\u7684\u914d\u7f6e\uff0c\u5bf9\u8fc7\u5bc6\u7684\u66f2\u7ebf\u5f00\u542f\u91c7\u6837\uff0c\u4f18\u5316\u7ed8\u5236\u6548\u7387"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.27) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts\u95ee\u7b54"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"XChartsAPI\u63a5\u53e3"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts\u914d\u7f6e\u9879\u624b\u518c"),"\u7b49\u6587\u6863"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.26) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AnimationReset()"),"\u91cd\u7f6e\u521d\u59cb\u5316\u52a8\u753b\u63a5\u53e3"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.26) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684\u5bc6\u96c6\u6570\u636e\u7684\u66f2\u7ebf\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.25) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684\u81ea\u5b9a\u4e49\u56fe\u6807\u4e0d\u4e0e",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u5173\u8054\uff0c\u53ef\u5355\u72ec\u63a7\u5236\u662f\u5426\u663e\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.24) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u7684\u81ea\u5b9a\u4e49\u56fe\u6807\u76f8\u5173\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Formatter"),"\u914d\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u7684\u683c\u5f0f\u5316\u8f93\u51fa"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"FontSize"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"FontStyle"),"\u914d\u7f6e\u5b57\u4f53\u5927\u5c0f\u548c\u6837\u5f0f"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.23) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Formatter"),"\u914d\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684\u683c\u5f0f\u5316\u8f93\u51fa"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LineArrow"),"\u914d\u7f6e\u5e26\u7bad\u5934\u66f2\u7ebf"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.19) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"FixedWidth"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"FixedHeight"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"MinWidth"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"MinHeight"),"\u8bbe\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.18) \u589e\u52a0\u5355\u6761\u5806\u53e0\u67f1\u72b6\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.18) \u589e\u52a0\u865a\u7ebf",(0,l.kt)("inlineCode",{parentName:"li"},"Dash"),"\u3001\u70b9\u7ebf",(0,l.kt)("inlineCode",{parentName:"li"},"Dot"),"\u3001\u70b9\u5212\u7ebf",(0,l.kt)("inlineCode",{parentName:"li"},"DashDot"),"\u3001\u53cc\u70b9\u5212\u7ebf",(0,l.kt)("inlineCode",{parentName:"li"},"DashDotDot"),"\u7b49\u7c7b\u578b\u7684\u6298\u7ebf\u56fe\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.17) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AnimationEnabel()"),"\u542f\u7528\u6216\u53d6\u6d88\u8d77\u59cb\u52a8\u753b\u63a5\u53e3"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.17) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Interval"),"\u5f3a\u5236\u8bbe\u7f6e\u5750\u6807\u8f74\u5206\u5272\u95f4\u9694"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.16) \u53bb\u6389",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u4e2d\u7684\u65e7\u7248\u672c\u6570\u636e\u517c\u5bb9\uff0c\u4e0d\u518d\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"xData"),"\u548c",(0,l.kt)("inlineCode",{parentName:"li"},"yData")),(0,l.kt)("li",{parentName:"ul"},"(2019.09.06) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u5728\u91cd\u65b0\u521d\u59cb\u5316\u6570\u636e\u65f6\u81ea\u542f\u52a8\u529f\u80fd"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.06) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Border"),"\u8fb9\u6846\u76f8\u5173\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.05) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u521d\u59cb\u5316\u52a8\u753b\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.03) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u521d\u59cb\u5316\u52a8\u753b\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.09.02) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Animation"),"\u521d\u59cb\u5316\u52a8\u753b\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisName"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Offset"),"\u504f\u79fb\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLine"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Width"),"\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u7684\u80cc\u666f\u5bbd\u9ad8\u3001\u6587\u5b57\u8fb9\u8ddd\u3001\u6587\u5b57\u65cb\u8f6c\u7684\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u914d\u7f6e\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.15) \u91cd\u6784",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\uff0c\u79fb\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"Bar"),"\u7ec4\u4ef6\uff0c\u76f8\u5173\u53c2\u6570\u7edf\u4e00\u653e\u5230",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u4e2d\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.15) \u91cd\u6784",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\uff0c\u79fb\u9664",(0,l.kt)("inlineCode",{parentName:"li"},"Line"),"\u7ec4\u4ef6\uff0c\u76f8\u5173\u53c2\u6570\u7edf\u4e00\u653e\u5230",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u4e2d\u914d\u7f6e")),(0,l.kt)("h2",{id:"v083"},"v0.8.3"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.08.15) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v0.8.3"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.14) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Label"),"\u65e0\u6cd5\u81ea\u52a8\u66f4\u65b0\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.13) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"UpdateData"),"\u63a5\u53e3\u65e0\u6cd5\u66f4\u65b0\u6570\u636e\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.07) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieSymbol"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Color"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Opacity"),"\u914d\u7f6e")),(0,l.kt)("h2",{id:"v082"},"v0.8.2"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.08.07) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v0.8.2"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.07) \u4fee\u590d\u533a\u57df\u5e73\u6ed1\u6298\u7ebf\u56fe\u663e\u793a\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.06) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"serie"),"\u7cfb\u5217\u6570\u8d85\u8fc7\u8c03\u8272\u76d8\u989c\u8272\u6570\u65f6\u83b7\u53d6\u7684\u989c\u8272\u5f02\u5e38\u7684\u95ee\u9898"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.06) \u4fee\u590d\u5f53",(0,l.kt)("inlineCode",{parentName:"li"},"Axis"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"minMaxType"),"\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"Custom"),"\u65f6",(0,l.kt)("inlineCode",{parentName:"li"},"max"),"\u8bbe\u7f6e\u4e3a",(0,l.kt)("inlineCode",{parentName:"li"},"100"),"\u4e0d\u751f\u6548\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v081"},"v0.8.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.08.04) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v0.8.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.04) \u4fee\u590d",(0,l.kt)("inlineCode",{parentName:"li"},"Inspector"),"\u4e2d\u4fee\u6539\u6570\u636e\u4e0d\u751f\u6548\u7684\u95ee\u9898")),(0,l.kt)("h2",{id:"v080"},"v0.8.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.08.04) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v0.8.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.04) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart"),"\u96f7\u8fbe\u56fe\uff0c\u589e\u52a0\u591a\u96f7\u8fbe\u56fe\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.08.01) \u589e\u52a0\u4ee3\u7801API\u6ce8\u91ca\u6587\u6863\uff0c\u6574\u7406\u4ee3\u7801"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Radius"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Area"),"\u4e24\u79cd\u5357\u4e01\u683c\u5c14\u73ab\u7470\u56fe\u5c55\u793a\u7c7b\u578b"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieLabel"),"\u914d\u7f6e\u997c\u56fe\u6807\u7b7e\uff0c\u652f\u6301",(0,l.kt)("inlineCode",{parentName:"li"},"Center"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Inside"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Outside"),"\u7b49\u663e\u793a\u4f4d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.28) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u591a\u997c\u56fe\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.23) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Theme"),"\u4e3b\u9898\u7684\u81ea\u5b9a\u4e49\uff0c\u5207\u6362\u4e3b\u9898\u65f6\u81ea\u5b9a\u4e49\u914d\u7f6e\u4e0d\u53d7\u5f71\u54cd"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.22) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"EffectScatter"),"\u7c7b\u578b\u7684\u6563\u70b9\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"ScatterChart"),"\u6563\u70b9\u56fe"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SerieData"),"\u652f\u6301\u591a\u7ef4\u6570\u636e\u914d\u7f6e"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Symbol"),"\u914d\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"Serie"),"\u6807\u5fd7\u56fe\u5f62\u7684\u663e\u793a"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.19) \u589e\u52a0\u7528\u4ee3\u7801\u6dfb\u52a0\u52a8\u6001\u6b63\u5f26\u66f2\u7ebf\u7684\u793a\u4f8b",(0,l.kt)("inlineCode",{parentName:"li"},"Demo11_AddSinCurve")),(0,l.kt)("li",{parentName:"ul"},"(2019.07.19) \u4f18\u5316",(0,l.kt)("inlineCode",{parentName:"li"},"Legend"),"\u7684\u663e\u793a\u548c\u63a7\u5236"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.18) \u4f18\u5316\u6297\u952f\u9f7f\uff0c\u66f2\u7ebf\u66f4\u5e73\u6ed1"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.18) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u6307\u793a\u5668\u7c7b\u578b\uff0c\u4f18\u5316\u663e\u793a\u63a7\u5236"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.15) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Size"),"\u8bbe\u7f6e\u56fe\u8868\u5c3a\u5bf8"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.14) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"\u4e8c\u7ef4\u6570\u636e"),"\u652f\u6301\uff0cXY\u8f74\u90fd\u53ef\u4ee5\u8bbe\u7f6e\u4e3a\u6570\u503c\u8f74"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.13) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"\u53cc\u5750\u6807\u8f74"),"\u652f\u6301\uff0c\u4ee3\u7801\u6539\u52a8\u8f83\u5927")),(0,l.kt)("h2",{id:"v050"},"v0.5.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2019.07.10) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v0.5.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.09) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLine"),"\u914d\u7f6e\u5750\u6807\u8f74\u8f74\u7ebf\u548c\u7bad\u5934"),(0,l.kt)("li",{parentName:"ul"},"(2019.07.03) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisLabel"),"\u914d\u7f6e\u5750\u6807\u8f74",(0,l.kt)("inlineCode",{parentName:"li"},"\u523b\u5ea6\u6807\u7b7e")),(0,l.kt)("li",{parentName:"ul"},"(2019.07.02) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"selected"),"\u7b49\u76f8\u5173\u53c2\u6570\u914d\u7f6e",(0,l.kt)("inlineCode",{parentName:"li"},"PieChart"),"\u7684\u9009\u4e2d\u6548\u679c"),(0,l.kt)("li",{parentName:"ul"},"(2019.06.30) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"SplitArea"),"\u914d\u7f6e\u5750\u6807\u8f74",(0,l.kt)("inlineCode",{parentName:"li"},"\u5206\u5272\u533a\u57df")),(0,l.kt)("li",{parentName:"ul"},"(2019.06.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisName"),"\u914d\u7f6e\u5750\u6807\u8f74",(0,l.kt)("inlineCode",{parentName:"li"},"\u540d\u79f0")),(0,l.kt)("li",{parentName:"ul"},"(2019.06.20) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AreaAlpha"),"\u63a7\u5236",(0,l.kt)("inlineCode",{parentName:"li"},"RadarChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"Area"),"\u900f\u660e\u5ea6"),(0,l.kt)("li",{parentName:"ul"},"(2019.06.13) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"DataZoom"),"\u5b9e\u73b0",(0,l.kt)("inlineCode",{parentName:"li"},"\u533a\u57df\u7f29\u653e")),(0,l.kt)("li",{parentName:"ul"},"(2019.06.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"stepType"),"\u5b9e\u73b0",(0,l.kt)("inlineCode",{parentName:"li"},"LineChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"\u9636\u68af\u7ebf\u56fe")),(0,l.kt)("li",{parentName:"ul"},"(2019.05.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"InSameBar"),"\u5b9e\u73b0",(0,l.kt)("inlineCode",{parentName:"li"},"BarChart"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"\u975e\u5806\u53e0\u540c\u67f1")),(0,l.kt)("li",{parentName:"ul"},"(2019.05.29) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"crossLabel"),"\u63a7\u5236",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"\u5341\u5b57\u51c6\u661f\u6307\u793a\u5668")),(0,l.kt)("li",{parentName:"ul"},"(2019.05.24) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"\u5806\u53e0\u533a\u57df\u56fe")),(0,l.kt)("li",{parentName:"ul"},"(2019.05.16) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"AxisMinMaxType"),"\u63a7\u5236\u5750\u6807\u8f74\u6700\u5927\u6700\u5c0f\u523b\u5ea6"),(0,l.kt)("li",{parentName:"ul"},"(2019.05.15) \u5b8c\u5584\u6570\u636e\u63a5\u53e3"),(0,l.kt)("li",{parentName:"ul"},"(2019.05.14) \u589e\u52a0X\u8f74",(0,l.kt)("inlineCode",{parentName:"li"},"AxisType.Value"),"\u6a21\u5f0f\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.05.13) \u589e\u52a0\u8d1f\u6570\u6570\u503c\u8f74\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2019.05.11) \u589e\u52a0\u81ea\u5b9a\u4e49",(0,l.kt)("inlineCode",{parentName:"li"},"Editor"),"\u7f16\u8f91"),(0,l.kt)("li",{parentName:"ul"},"(2019.03.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip")),(0,l.kt)("li",{parentName:"ul"},"(2018.11.01) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Default"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Light"),"\u3001",(0,l.kt)("inlineCode",{parentName:"li"},"Dark"),"\u4e09\u79cd\u9ed8\u8ba4\u4e3b\u9898")),(0,l.kt)("h2",{id:"v010"},"v0.1.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2018.09.05) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v0.1.0"),"\u7248\u672c")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/en/assets/js/ccbc8b8d.d44d47b0.js b/en/assets/js/ccbc8b8d.d44d47b0.js new file mode 100644 index 00000000..45ad6345 --- /dev/null +++ b/en/assets/js/ccbc8b8d.d44d47b0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3491],{3905:function(e,t,a){a.d(t,{Zo:function(){return m},kt:function(){return c}});var r=a(67294);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function n(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach((function(t){i(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function d(e,t){if(null==e)return{};var a,r,i=function(e,t){if(null==e)return{};var a,r,i={},l=Object.keys(e);for(r=0;r<l.length;r++)a=l[r],t.indexOf(a)>=0||(i[a]=e[a]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)a=l[r],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}var p=r.createContext({}),o=function(e){var t=r.useContext(p),a=t;return e&&(a="function"==typeof e?e(t):n(n({},t),e)),a},m=function(e){var t=o(e.components);return r.createElement(p.Provider,{value:t},e.children)},y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},u=r.forwardRef((function(e,t){var a=e.components,i=e.mdxType,l=e.originalType,p=e.parentName,m=d(e,["components","mdxType","originalType","parentName"]),u=o(a),c=i,h=u["".concat(p,".").concat(c)]||u[c]||y[c]||l;return a?r.createElement(h,n(n({ref:t},m),{},{components:a})):r.createElement(h,n({ref:t},m))}));function c(e,t){var a=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var l=a.length,n=new Array(l);n[0]=u;var d={};for(var p in t)hasOwnProperty.call(t,p)&&(d[p]=t[p]);d.originalType=e,d.mdxType="string"==typeof e?e:i,n[1]=d;for(var o=2;o<l;o++)n[o]=a[o];return r.createElement.apply(null,n)}return r.createElement.apply(null,a)}u.displayName="MDXCreateElement"},76878:function(e,t,a){a.r(t),a.d(t,{frontMatter:function(){return d},contentTitle:function(){return p},metadata:function(){return o},toc:function(){return m},default:function(){return u}});var r=a(83117),i=a(80102),l=(a(67294),a(3905)),n=(a(84597),["components"]),d={sidebar_position:0,slug:"/pyramid"},p="PyramidChart \u91d1\u5b57\u5854",o={unversionedId:"lang/articles/extra/pyramid",id:"version-v3.12.0/lang/articles/extra/pyramid",title:"PyramidChart \u91d1\u5b57\u5854",description:"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u91d1\u5b57\u5854\u3002",source:"@site/versioned_docs/version-v3.12.0/lang/articles/extra/pyramid.md",sourceDirName:"lang/articles/extra",slug:"/pyramid",permalink:"/en/docs/pyramid",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/extra/pyramid.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"10/1/2024",sidebarPosition:0,frontMatter:{sidebar_position:0,slug:"/pyramid"},sidebar:"langSidebar",previous:{title:"Pie3DChart 3D\u997c\u56fe",permalink:"/en/docs/pie3d"},next:{title:"SankeyChart \u6851\u57fa\u56fe",permalink:"/en/docs/sankey"}},m=[{value:"\u622a\u56fe",id:"\u622a\u56fe",children:[],level:2},{value:"\u8bb8\u53ef",id:"\u8bb8\u53ef",children:[],level:2},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",children:[],level:2},{value:"\u6559\u7a0b",id:"\u6559\u7a0b",children:[],level:2},{value:"\u6587\u6863",id:"\u6587\u6863",children:[],level:2},{value:"\u65e5\u5fd7",id:"\u65e5\u5fd7",children:[{value:"v3.12.0",id:"v3120",children:[],level:3},{value:"v3.11.0",id:"v3110",children:[],level:3},{value:"v3.10.0",id:"v3100",children:[],level:3},{value:"v3.9.0",id:"v390",children:[],level:3},{value:"v3.6.1",id:"v361",children:[],level:3},{value:"v3.6.0",id:"v360",children:[],level:3},{value:"v3.5.0",id:"v350",children:[],level:3},{value:"v3.2.0",id:"v320",children:[],level:3}],level:2},{value:"API",id:"api",children:[{value:"Pyramid",id:"pyramid",children:[{value:"Pyramid.defaultColorBy",id:"pyramiddefaultcolorby",children:[],level:4},{value:"Pyramid.AddDefaultSerie",id:"pyramidadddefaultserie",children:[],level:4}],level:3},{value:"PyramidChart",id:"pyramidchart",children:[{value:"PyramidChart.Default2DPyramidChart",id:"pyramidchartdefault2dpyramidchart",children:[],level:4}],level:3},{value:"PyramidStyle",id:"pyramidstyle",children:[{value:"PyramidStyle.drawTop",id:"pyramidstyledrawtop",children:[],level:4}],level:3}],level:2},{value:"\u914d\u7f6e\u9879\u624b\u518c",id:"\u914d\u7f6e\u9879\u624b\u518c",children:[{value:"Pyramid",id:"pyramid-1",children:[{value:"Pyramid.pyramidStyle",id:"pyramidpyramidstyle",children:[],level:4}],level:3},{value:"PyramidStyle",id:"pyramidstyle-1",children:[{value:"PyramidStyle.3D",id:"pyramidstyle3d",children:[],level:4},{value:"PyramidStyle.bottomPointRate",id:"pyramidstylebottompointrate",children:[],level:4},{value:"PyramidStyle.drawTop",id:"pyramidstyledrawtop-1",children:[],level:4},{value:"PyramidStyle.labelLineMargin",id:"pyramidstylelabellinemargin",children:[],level:4},{value:"PyramidStyle.leftColorOpacity",id:"pyramidstyleleftcoloropacity",children:[],level:4},{value:"PyramidStyle.leftPointRate",id:"pyramidstyleleftpointrate",children:[],level:4},{value:"PyramidStyle.rightColorOpacity",id:"pyramidstylerightcoloropacity",children:[],level:4},{value:"PyramidStyle.rightPointRate",id:"pyramidstylerightpointrate",children:[],level:4},{value:"PyramidStyle.show",id:"pyramidstyleshow",children:[],level:4},{value:"PyramidStyle.topColorOpacity",id:"pyramidstyletopcoloropacity",children:[],level:4}],level:3}],level:2}],y={toc:m};function u(e){var t=e.components,d=(0,i.Z)(e,n);return(0,l.kt)("wrapper",(0,r.Z)({},y,d,{components:t,mdxType:"MDXLayout"}),(0,l.kt)("h1",{id:"pyramidchart-\u91d1\u5b57\u5854"},"PyramidChart \u91d1\u5b57\u5854"),(0,l.kt)("p",null,"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u91d1\u5b57\u5854\u3002"),(0,l.kt)("h2",{id:"\u622a\u56fe"},"\u622a\u56fe"),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:"center"}),(0,l.kt)("th",{parentName:"tr",align:"center"}),(0,l.kt)("th",{parentName:"tr",align:"center"}),(0,l.kt)("th",{parentName:"tr",align:"center"}),(0,l.kt)("th",{parentName:"tr",align:"center"}))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:"center"},(0,l.kt)("img",{alt:"Pyramid01",src:a(1856).Z,width:"577",height:"490"})),(0,l.kt)("td",{parentName:"tr",align:"center"},(0,l.kt)("img",{alt:"Pyramid02",src:a(35602).Z,width:"577",height:"490"})),(0,l.kt)("td",{parentName:"tr",align:"center"},(0,l.kt)("img",{alt:"Pyramid03",src:a(39154).Z,width:"577",height:"490"})),(0,l.kt)("td",{parentName:"tr",align:"center"}),(0,l.kt)("td",{parentName:"tr",align:"center"})))),(0,l.kt)("h2",{id:"\u8bb8\u53ef"},"\u8bb8\u53ef"),(0,l.kt)("p",null,"\u6269\u5c55\u56fe\u8868\uff0c\u9700\u4ed8\u8d39\u8d2d\u4e70\u540e\u624d\u83b7\u5f97\u4f7f\u7528\u8bb8\u53ef\u3002"),(0,l.kt)("h2",{id:"\u793a\u4f8b"},"\u793a\u4f8b"),(0,l.kt)("p",null,"Demo\u4ed3\u5e93\uff1a",(0,l.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-PyramidChart-Demo"},"XCharts-PyramidChart-Demo")),(0,l.kt)("h2",{id:"\u6559\u7a0b"},"\u6559\u7a0b"),(0,l.kt)("p",null,(0,l.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Demo"},"\u6269\u5c55\u56fe\u8868\u5982\u4f55\u5bfc\u5165Demo\u9879\u76ee\u6216\u5bfc\u5165\u81ea\u5df1\u9879\u76ee")),(0,l.kt)("h2",{id:"\u6587\u6863"},"\u6587\u6863"),(0,l.kt)("p",null,(0,l.kt)("a",{parentName:"p",href:"#api"},"API"),(0,l.kt)("br",{parentName:"p"}),"\n",(0,l.kt)("a",{parentName:"p",href:"#%E9%85%8D%E7%BD%AE%E9%A1%B9%E6%89%8B%E5%86%8C"},"\u914d\u7f6e\u9879\u624b\u518c")," "),(0,l.kt)("h2",{id:"\u65e5\u5fd7"},"\u65e5\u5fd7"),(0,l.kt)("h3",{id:"v3120"},"v3.12.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2024.09.30) \u66f4\u65b0\u6587\u6863")),(0,l.kt)("h3",{id:"v3110"},"v3.11.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c")),(0,l.kt)("h3",{id:"v3100"},"v3.10.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2024.01.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Pyramid"),"\u7684\u66f4\u591a\u521b\u5efa\u9ed8\u8ba4\u56fe\u8868\u7684\u5feb\u6377\u65b9\u5f0f\u548cAPI")),(0,l.kt)("h3",{id:"v390"},"v3.9.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2023.12.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.9.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2023.12.01) \u66f4\u65b0\u6587\u6863")),(0,l.kt)("h3",{id:"v361"},"v3.6.1"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2023.06.08) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.6.1"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2023.06.08) \u66f4\u65b0\u6587\u6863")),(0,l.kt)("h3",{id:"v360"},"v3.6.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2023.04.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.6.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2023.03.21) \u589e\u52a0",(0,l.kt)("inlineCode",{parentName:"li"},"Tooltip"),"\u652f\u6301"),(0,l.kt)("li",{parentName:"ul"},"(2023.02.14) \u540c\u6b65",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts v3.6.0"))),(0,l.kt)("h3",{id:"v350"},"v3.5.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.12.01) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.5.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.11.27) \u8c03\u6574",(0,l.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u6587\u6863\u7ed3\u6784")),(0,l.kt)("h3",{id:"v320"},"v3.2.0"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"(2022.08.22) \u53d1\u5e03",(0,l.kt)("inlineCode",{parentName:"li"},"v3.2.0"),"\u7248\u672c"),(0,l.kt)("li",{parentName:"ul"},"(2022.08.19) \u540c\u6b65",(0,l.kt)("inlineCode",{parentName:"li"},"XCharts v3.2.0"))),(0,l.kt)("h2",{id:"api"},"API"),(0,l.kt)("h3",{id:"pyramid"},"Pyramid"),(0,l.kt)("p",null,"class in XCharts.Runtime.Pyramids / \u7ee7\u627f\u81ea: ",(0,l.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#serie"},"Serie")),(0,l.kt)("h4",{id:"pyramiddefaultcolorby"},"Pyramid.defaultColorBy"),(0,l.kt)("p",null,"public override SerieColorBy defaultColorBy "),(0,l.kt)("h4",{id:"pyramidadddefaultserie"},"Pyramid.AddDefaultSerie"),(0,l.kt)("p",null,"public static void AddDefaultSerie(BaseChart chart, string serieName) "),(0,l.kt)("h3",{id:"pyramidchart"},"PyramidChart"),(0,l.kt)("p",null,"class in XCharts.Runtime.Pyramids / \u7ee7\u627f\u81ea: ",(0,l.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#basechart"},"BaseChart")),(0,l.kt)("h4",{id:"pyramidchartdefault2dpyramidchart"},"PyramidChart.Default2DPyramidChart"),(0,l.kt)("p",null,"public void Default2DPyramidChart()",(0,l.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba4\u76842D\u91d1\u5b57\u5854\u56fe\u3002"),(0,l.kt)("h3",{id:"pyramidstyle"},"PyramidStyle"),(0,l.kt)("p",null,"class in XCharts.Runtime.Pyramids / \u7ee7\u627f\u81ea: ",(0,l.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#childcomponent"},"ChildComponent")),(0,l.kt)("h4",{id:"pyramidstyledrawtop"},"PyramidStyle.drawTop"),(0,l.kt)("p",null,"public bool drawTop "),(0,l.kt)("h2",{id:"\u914d\u7f6e\u9879\u624b\u518c"},"\u914d\u7f6e\u9879\u624b\u518c"),(0,l.kt)("h3",{id:"pyramid-1"},"Pyramid"),(0,l.kt)("p",null,"class in XCharts.Runtime.Pyramids / \u7ee7\u627f\u81ea: ",(0,l.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie"},"Serie")),(0,l.kt)("h4",{id:"pyramidpyramidstyle"},"Pyramid.pyramidStyle"),(0,l.kt)("p",null,(0,l.kt)("a",{parentName:"p",href:"#pyramidstyle"},"PyramidStyle")),(0,l.kt)("h3",{id:"pyramidstyle-1"},"PyramidStyle"),(0,l.kt)("p",null,"class in XCharts.Runtime.Pyramids / \u7ee7\u627f\u81ea: ",(0,l.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#childcomponent"},"ChildComponent")),(0,l.kt)("h4",{id:"pyramidstyle3d"},"PyramidStyle.3D"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,l.kt)("inlineCode",{parentName:"p"},"true")),(0,l.kt)("h4",{id:"pyramidstylebottompointrate"},"PyramidStyle.bottomPointRate"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"float")," ",(0,l.kt)("inlineCode",{parentName:"p"},"0.5f")),(0,l.kt)("p",null,"3D\u6a21\u5f0f\u4e0b\uff0c\u5e95\u90e8\u4e2d\u70b9\u5360\u91d1\u5b57\u5854\u5bbd\u5ea6\u7684\u6bd4\u4f8b"),(0,l.kt)("h4",{id:"pyramidstyledrawtop-1"},"PyramidStyle.drawTop"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,l.kt)("inlineCode",{parentName:"p"},"true")),(0,l.kt)("h4",{id:"pyramidstylelabellinemargin"},"PyramidStyle.labelLineMargin"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"float")," ",(0,l.kt)("inlineCode",{parentName:"p"},"10f")),(0,l.kt)("p",null,"Label\u6807\u7b7e\u8ddd\u79bb\u53f3\u8fb9\u7684\u8ddd\u79bb"),(0,l.kt)("h4",{id:"pyramidstyleleftcoloropacity"},"PyramidStyle.leftColorOpacity"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"float")," ",(0,l.kt)("inlineCode",{parentName:"p"},"0.9f")),(0,l.kt)("p",null,"3D\u6a21\u5f0f\u4e0b\uff0c\u91d1\u5b57\u5854\u5de6\u8fb9\u7684\u989c\u8272\u900f\u660e\u5ea6"),(0,l.kt)("h4",{id:"pyramidstyleleftpointrate"},"PyramidStyle.leftPointRate"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"float")," ",(0,l.kt)("inlineCode",{parentName:"p"},"0.1f")),(0,l.kt)("p",null,"3D\u6a21\u5f0f\u4e0b\uff0c\u5e95\u90e8\u5de6\u8fb9\u70b9\u5360\u91d1\u5b57\u5854\u9ad8\u5ea6\u7684\u6bd4\u4f8b"),(0,l.kt)("h4",{id:"pyramidstylerightcoloropacity"},"PyramidStyle.rightColorOpacity"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"float")," ",(0,l.kt)("inlineCode",{parentName:"p"},"0.7f")),(0,l.kt)("p",null,"3D\u6a21\u5f0f\u4e0b\uff0c\u91d1\u5b57\u5854\u53f3\u8fb9\u7684\u989c\u8272\u900f\u660e\u5ea6"),(0,l.kt)("h4",{id:"pyramidstylerightpointrate"},"PyramidStyle.rightPointRate"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"float")," ",(0,l.kt)("inlineCode",{parentName:"p"},"0.1f")),(0,l.kt)("p",null,"3D\u6a21\u5f0f\u4e0b\uff0c\u5e95\u90e8\u53f3\u8fb9\u70b9\u5360\u91d1\u5b57\u5854\u9ad8\u5ea6\u7684\u6bd4\u4f8b"),(0,l.kt)("h4",{id:"pyramidstyleshow"},"PyramidStyle.show"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,l.kt)("inlineCode",{parentName:"p"},"true")),(0,l.kt)("h4",{id:"pyramidstyletopcoloropacity"},"PyramidStyle.topColorOpacity"),(0,l.kt)("p",null,(0,l.kt)("inlineCode",{parentName:"p"},"float")," ",(0,l.kt)("inlineCode",{parentName:"p"},"0.99f")),(0,l.kt)("p",null,"3D\u6a21\u5f0f\u4e0b\uff0c\u91d1\u5b57\u5854\u9876\u90e8\u7684\u989c\u8272\u900f\u660e\u5ea6"))}u.isMDXComponent=!0},84597:function(e,t,a){a.d(t,{Z:function(){return p}});var r=a(67294),i=a(76775),l="apiTable_e8hp";function n(e,t){var a=e.name,l=e.children,n=function(e){for(var t=e;(0,r.isValidElement)(t);)t=r.Children.toArray(t.props.children)[0];return t}(l),d=a?a+"-"+n:n,p="#"+d,o=(0,i.k6)();return r.createElement("tr",{id:d,tabIndex:0,ref:o.location.hash===p?t:void 0,onClick:function(e){"A"===e.target.tagName.toUpperCase()||o.push(p)},onKeyDown:function(e){"Enter"===e.key&&o.push(p)}},l.props.children)}var d=r.forwardRef(n);function p(e){var t=e.children,a=e.name,i=r.Children.toArray(t.props.children),n=i[0],p=i[1],o=(0,r.useRef)(null);(0,r.useEffect)((function(){var e;null==(e=o.current)||e.focus()}),[o]);var m=r.Children.map(p.props.children,(function(e){return r.createElement(d,{name:a,ref:o},e)}));return r.createElement("table",{className:l},n,r.createElement("tbody",null,m))}},1856:function(e,t,a){t.Z=a.p+"assets/images/Pyramid01-ede6f3d94ea510cf808af2512aec8059.png"},35602:function(e,t,a){t.Z=a.p+"assets/images/Pyramid02-ea2be95ee87bfe17841b7539cf918f39.png"},39154:function(e,t,a){t.Z=a.p+"assets/images/Pyramid03-1254ef359da2587a46a36cab2435e1b2.png"}}]); \ No newline at end of file diff --git a/en/assets/js/da3b0d6f.b2cf8927.js b/en/assets/js/da3b0d6f.b2cf8927.js new file mode 100644 index 00000000..8ef67643 --- /dev/null +++ b/en/assets/js/da3b0d6f.b2cf8927.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7847],{3905:function(e,t,l){l.d(t,{Zo:function(){return u},kt:function(){return v}});var a=l(67294);function r(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}function n(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function i(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?n(Object(l),!0).forEach((function(t){r(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):n(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}function p(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}var m=a.createContext({}),d=function(e){var t=a.useContext(m),l=t;return e&&(l="function"==typeof e?e(t):i(i({},t),e)),l},u=function(e){var t=d(e.components);return a.createElement(m.Provider,{value:t},e.children)},o={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},c=a.forwardRef((function(e,t){var l=e.components,r=e.mdxType,n=e.originalType,m=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),c=d(l),v=r,s=c["".concat(m,".").concat(v)]||c[v]||o[v]||n;return l?a.createElement(s,i(i({ref:t},u),{},{components:l})):a.createElement(s,i({ref:t},u))}));function v(e,t){var l=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var n=l.length,i=new Array(n);i[0]=c;var p={};for(var m in t)hasOwnProperty.call(t,m)&&(p[m]=t[m]);p.originalType=e,p.mdxType="string"==typeof e?e:r,i[1]=p;for(var d=2;d<n;d++)i[d]=l[d];return a.createElement.apply(null,i)}return a.createElement.apply(null,l)}c.displayName="MDXCreateElement"},68187:function(e,t,l){l.r(t),l.d(t,{frontMatter:function(){return p},contentTitle:function(){return m},metadata:function(){return d},toc:function(){return u},default:function(){return c}});var a=l(83117),r=l(80102),n=(l(67294),l(3905)),i=(l(84597),["components"]),p={sidebar_position:0,slug:"/treemap"},m="TreemapChart \u77e9\u5f62\u6811\u56fe",d={unversionedId:"lang/articles/extra/treemap",id:"version-v3.12.0/lang/articles/extra/treemap",title:"TreemapChart \u77e9\u5f62\u6811\u56fe",description:"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u77e9\u5f62\u6811\u56fe\u3002",source:"@site/versioned_docs/version-v3.12.0/lang/articles/extra/treemap.md",sourceDirName:"lang/articles/extra",slug:"/treemap",permalink:"/en/docs/treemap",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/extra/treemap.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"10/1/2024",sidebarPosition:0,frontMatter:{sidebar_position:0,slug:"/treemap"},sidebar:"langSidebar",previous:{title:"SankeyChart \u6851\u57fa\u56fe",permalink:"/en/docs/sankey"},next:{title:"\u4ece\u6587\u4ef6\u6216\u6570\u636e\u5e93\u8bfb\u53d6\u6570\u636e\u663e\u793a\u56fe\u8868",permalink:"/en/docs/tutorial02"}},u=[{value:"\u622a\u56fe",id:"\u622a\u56fe",children:[],level:2},{value:"\u8bb8\u53ef",id:"\u8bb8\u53ef",children:[],level:2},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",children:[],level:2},{value:"\u6559\u7a0b",id:"\u6559\u7a0b",children:[],level:2},{value:"\u6587\u6863",id:"\u6587\u6863",children:[],level:2},{value:"\u65e5\u5fd7",id:"\u65e5\u5fd7",children:[{value:"v3.12.0",id:"v3120",children:[],level:3},{value:"v3.11.0",id:"v3110",children:[],level:3},{value:"v3.9.0",id:"v390",children:[],level:3},{value:"v3.6.2",id:"v362",children:[],level:3},{value:"v3.6.1",id:"v361",children:[],level:3},{value:"v3.6.0",id:"v360",children:[],level:3},{value:"v3.5.0",id:"v350",children:[],level:3},{value:"v3.2.0",id:"v320",children:[],level:3}],level:2},{value:"API",id:"api",children:[{value:"Treemap",id:"treemap",children:[{value:"Treemap.customGoUpLevelButton",id:"treemapcustomgouplevelbutton",children:[],level:4},{value:"Treemap.drillDownIcon",id:"treemapdrilldownicon",children:[],level:4},{value:"Treemap.leafDepth",id:"treemapleafdepth",children:[],level:4},{value:"Treemap.levelStyle",id:"treemaplevelstyle",children:[],level:4},{value:"Treemap.upperLabel",id:"treemapupperlabel",children:[],level:4},{value:"Treemap.visualDimension",id:"treemapvisualdimension",children:[],level:4},{value:"Treemap.AddDefaultSerie",id:"treemapadddefaultserie",children:[],level:4},{value:"Treemap.CanGoUpALevel",id:"treemapcangoupalevel",children:[],level:4},{value:"Treemap.GetLevelItemStyle",id:"treemapgetlevelitemstyle",children:[],level:4},{value:"Treemap.GetLevelLabel",id:"treemapgetlevellabel",children:[],level:4},{value:"Treemap.GetLevelUpperLabel",id:"treemapgetlevelupperlabel",children:[],level:4},{value:"Treemap.GoUpALevel",id:"treemapgoupalevel",children:[],level:4},{value:"Treemap.OnDataUpdate",id:"treemapondataupdate",children:[],level:4},{value:"Treemap.SetSelectedSerieData",id:"treemapsetselectedseriedata",children:[],level:4}],level:3},{value:"TreemapChart",id:"treemapchart",children:[],level:3}],level:2},{value:"\u914d\u7f6e\u9879\u624b\u518c",id:"\u914d\u7f6e\u9879\u624b\u518c",children:[{value:"Treemap",id:"treemap-1",children:[{value:"Treemap.customGoUpLevelButton",id:"treemapcustomgouplevelbutton-1",children:[],level:4},{value:"Treemap.drillDownIcon",id:"treemapdrilldownicon-1",children:[],level:4},{value:"Treemap.leafDepth",id:"treemapleafdepth-1",children:[],level:4},{value:"Treemap.levelStyle",id:"treemaplevelstyle-1",children:[],level:4},{value:"Treemap.upperLabel",id:"treemapupperlabel-1",children:[],level:4},{value:"Treemap.visualDimension",id:"treemapvisualdimension-1",children:[],level:4}],level:3}],level:2}],o={toc:u};function c(e){var t=e.components,p=(0,r.Z)(e,i);return(0,n.kt)("wrapper",(0,a.Z)({},o,p,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"treemapchart-\u77e9\u5f62\u6811\u56fe"},"TreemapChart \u77e9\u5f62\u6811\u56fe"),(0,n.kt)("p",null,"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u77e9\u5f62\u6811\u56fe\u3002"),(0,n.kt)("h2",{id:"\u622a\u56fe"},"\u622a\u56fe"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Treemap01",src:l(41369).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Treemap02",src:l(28085).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Treemap03",src:l(81996).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Treemap04",src:l(51208).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"})))),(0,n.kt)("h2",{id:"\u8bb8\u53ef"},"\u8bb8\u53ef"),(0,n.kt)("p",null,"\u6269\u5c55\u56fe\u8868\uff0c\u9700\u4ed8\u8d39\u8d2d\u4e70\u540e\u624d\u83b7\u5f97\u4f7f\u7528\u8bb8\u53ef\u3002"),(0,n.kt)("h2",{id:"\u793a\u4f8b"},"\u793a\u4f8b"),(0,n.kt)("p",null,"Demo\u4ed3\u5e93\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-TreemapChart-Demo"},"XCharts-TreemapChart-Demo")),(0,n.kt)("h2",{id:"\u6559\u7a0b"},"\u6559\u7a0b"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Demo"},"\u6269\u5c55\u56fe\u8868\u5982\u4f55\u5bfc\u5165Demo\u9879\u76ee\u6216\u5bfc\u5165\u81ea\u5df1\u9879\u76ee")),(0,n.kt)("h2",{id:"\u6587\u6863"},"\u6587\u6863"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#api"},"API"),(0,n.kt)("br",{parentName:"p"}),"\n",(0,n.kt)("a",{parentName:"p",href:"#%E9%85%8D%E7%BD%AE%E9%A1%B9%E6%89%8B%E5%86%8C"},"\u914d\u7f6e\u9879\u624b\u518c")," "),(0,n.kt)("h2",{id:"\u65e5\u5fd7"},"\u65e5\u5fd7"),(0,n.kt)("h3",{id:"v3120"},"v3.12.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2024.09.30) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v3110"},"v3.11.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c")),(0,n.kt)("h3",{id:"v390"},"v3.9.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.12.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.9.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.12.01) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v362"},"v3.6.2"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.11.08) \u4fee\u590d",(0,n.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u8bbe\u7f6e",(0,n.kt)("inlineCode",{parentName:"li"},"borderColor"),"\u540e\u8fb9\u6846\u7ed8\u5236\u5f02\u5e38\u7684\u95ee\u9898")),(0,n.kt)("h3",{id:"v361"},"v3.6.1"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.06.08) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.6.1"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.06.08) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v360"},"v3.6.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.04.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.6.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.09) \u652f\u6301",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieClick")," ",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieDown")," ",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieEnter"),"\u548c",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieExit"),"\u56de\u8c03"),(0,n.kt)("li",{parentName:"ul"},"(2023.02.14) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.6.0"))),(0,n.kt)("h3",{id:"v350"},"v3.5.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.12.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.5.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2022.11.27) \u8c03\u6574",(0,n.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u6587\u6863\u7ed3\u6784")),(0,n.kt)("h3",{id:"v320"},"v3.2.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.08.22) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.2.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2022.08.19) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.2.0"))),(0,n.kt)("h2",{id:"api"},"API"),(0,n.kt)("h3",{id:"treemap"},"Treemap"),(0,n.kt)("p",null,"class in XCharts.Runtime.Treemaps / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#serie"},"Serie")),(0,n.kt)("h4",{id:"treemapcustomgouplevelbutton"},"Treemap.customGoUpLevelButton"),(0,n.kt)("p",null,"public GameObject customGoUpLevelButton",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49\u8fd4\u56de\u4e0a\u4e00\u5c42\u6309\u94ae\uff0c\u81ea\u5b9a\u4e49\u7684\u6309\u94ae\u9700\u8981\u81ea\u5df1\u5904\u7406\u70b9\u51fb\u4e8b\u4ef6\uff0c\u8c03\u7528GoUpALevel()\u63a5\u53e3\u3002"),(0,n.kt)("h4",{id:"treemapdrilldownicon"},"Treemap.drillDownIcon"),(0,n.kt)("p",null,"public string drillDownIcon",(0,n.kt)("br",{parentName:"p"}),"\n","\u5f53\u8282\u70b9\u53ef\u4ee5\u4e0b\u94bb\u65f6\u7684\u63d0\u793a\u7b26\uff0c\u53ea\u80fd\u662f\u5b57\u7b26\u3002\u9ed8\u8ba4\u4e3a\u25b6"),(0,n.kt)("h4",{id:"treemapleafdepth"},"Treemap.leafDepth"),(0,n.kt)("p",null,"public int leafDepth",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u663e\u793a\u7684\u51e0\u5c42\u8282\u70b9\u3002\u9ed8\u8ba4\u4e3a0\u65f6\u8868\u793a\u5c3d\u53ef\u80fd\u5c55\u793a\u591a\u5c42\u8282\u70b9\uff0c\u8bbe\u7f6e\u5927\u4e8e0\u65f6\uff0c\u4e0b\u94bb\u529f\u80fd\u5f00\u542f\uff0c\u9700\u8981\u70b9\u51fb\u540e\u624d\u5c55\u793a\u5b50\u8282\u70b9\u3002"),(0,n.kt)("h4",{id:"treemaplevelstyle"},"Treemap.levelStyle"),(0,n.kt)("p",null,"public LevelStyle levelStyle "),(0,n.kt)("h4",{id:"treemapupperlabel"},"Treemap.upperLabel"),(0,n.kt)("p",null,"public LabelStyle upperLabel",(0,n.kt)("br",{parentName:"p"}),"\n","\u7236\u8282\u70b9\u6807\u7b7e\u3002show\u4e3atrue\u65f6\u8868\u793a\u663e\u793a\u7236\u8282\u70b9\u6807\u7b7e\uff0cmargin\u53c2\u6570\u8bbe\u7f6e\u5b50\u8282\u70b9\u548c\u7236\u8282\u70b9\u7684\u95f4\u8ddd\u3002"),(0,n.kt)("h4",{id:"treemapvisualdimension"},"Treemap.visualDimension"),(0,n.kt)("p",null,"public int visualDimension",(0,n.kt)("br",{parentName:"p"}),"\n","\u7528\u4e8e\u8ba1\u7b97\u5360\u6bd4\u7684\u6570\u636e\u7ef4\u6570\u3002"),(0,n.kt)("h4",{id:"treemapadddefaultserie"},"Treemap.AddDefaultSerie"),(0,n.kt)("p",null,"public static void AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h4",{id:"treemapcangoupalevel"},"Treemap.CanGoUpALevel"),(0,n.kt)("p",null,"public bool CanGoUpALevel()",(0,n.kt)("br",{parentName:"p"}),"\n","\u662f\u5426\u53ef\u4ee5\u8fd4\u56de\u4e0a\u4e00\u5c42"),(0,n.kt)("h4",{id:"treemapgetlevelitemstyle"},"Treemap.GetLevelItemStyle"),(0,n.kt)("p",null,"public ItemStyle GetLevelItemStyle(int level) "),(0,n.kt)("h4",{id:"treemapgetlevellabel"},"Treemap.GetLevelLabel"),(0,n.kt)("p",null,"public LabelStyle GetLevelLabel(int level) "),(0,n.kt)("h4",{id:"treemapgetlevelupperlabel"},"Treemap.GetLevelUpperLabel"),(0,n.kt)("p",null,"public LabelStyle GetLevelUpperLabel(int level) "),(0,n.kt)("h4",{id:"treemapgoupalevel"},"Treemap.GoUpALevel"),(0,n.kt)("p",null,"public void GoUpALevel()",(0,n.kt)("br",{parentName:"p"}),"\n","\u8fd4\u56de\u4e0a\u4e00\u5c42"),(0,n.kt)("h4",{id:"treemapondataupdate"},"Treemap.OnDataUpdate"),(0,n.kt)("p",null,"public override void OnDataUpdate() "),(0,n.kt)("h4",{id:"treemapsetselectedseriedata"},"Treemap.SetSelectedSerieData"),(0,n.kt)("p",null,"public bool SetSelectedSerieData(string serieDataName)",(0,n.kt)("br",{parentName:"p"}),"\n","\u8bbe\u7f6e\u9009\u4e2d\uff08\u8981\u5c55\u793a\u7684\uff09\u7684\u6570\u636e\u540d"),(0,n.kt)("h3",{id:"treemapchart"},"TreemapChart"),(0,n.kt)("p",null,"class in XCharts.Runtime.Treemaps / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#basechart"},"BaseChart")),(0,n.kt)("h2",{id:"\u914d\u7f6e\u9879\u624b\u518c"},"\u914d\u7f6e\u9879\u624b\u518c"),(0,n.kt)("h3",{id:"treemap-1"},"Treemap"),(0,n.kt)("p",null,"class in XCharts.Runtime.Treemaps / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie"},"Serie")),(0,n.kt)("h4",{id:"treemapcustomgouplevelbutton-1"},"Treemap.customGoUpLevelButton"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"GameObject")),(0,n.kt)("p",null,"\u81ea\u5b9a\u4e49\u8fd4\u56de\u4e0a\u4e00\u5c42\u6309\u94ae\uff0c\u81ea\u5b9a\u4e49\u7684\u6309\u94ae\u9700\u8981\u81ea\u5df1\u5904\u7406\u70b9\u51fb\u4e8b\u4ef6\uff0c\u8c03\u7528GoUpALevel()\u63a5\u53e3\u3002"),(0,n.kt)("h4",{id:"treemapdrilldownicon-1"},"Treemap.drillDownIcon"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"\u5f53\u8282\u70b9\u53ef\u4ee5\u4e0b\u94bb\u65f6\u7684\u63d0\u793a\u7b26\uff0c\u53ea\u80fd\u662f\u5b57\u7b26\u3002\u9ed8\u8ba4\u4e3a\u25b6"),(0,n.kt)("h4",{id:"treemapleafdepth-1"},"Treemap.leafDepth"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u9ed8\u8ba4\u663e\u793a\u7684\u51e0\u5c42\u8282\u70b9\u3002\u9ed8\u8ba4\u4e3a0\u65f6\u8868\u793a\u5c3d\u53ef\u80fd\u5c55\u793a\u591a\u5c42\u8282\u70b9\uff0c\u8bbe\u7f6e\u5927\u4e8e0\u65f6\uff0c\u4e0b\u94bb\u529f\u80fd\u5f00\u542f\uff0c\u9700\u8981\u70b9\u51fb\u540e\u624d\u5c55\u793a\u5b50\u8282\u70b9\u3002"),(0,n.kt)("h4",{id:"treemaplevelstyle-1"},"Treemap.levelStyle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"LevelStyle")),(0,n.kt)("h4",{id:"treemapupperlabel-1"},"Treemap.upperLabel"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"LabelStyle")),(0,n.kt)("p",null,"\u7236\u8282\u70b9\u6807\u7b7e\u3002show\u4e3atrue\u65f6\u8868\u793a\u663e\u793a\u7236\u8282\u70b9\u6807\u7b7e\uff0cmargin\u53c2\u6570\u8bbe\u7f6e\u5b50\u8282\u70b9\u548c\u7236\u8282\u70b9\u7684\u95f4\u8ddd\u3002"),(0,n.kt)("h4",{id:"treemapvisualdimension-1"},"Treemap.visualDimension"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"int")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u7528\u4e8e\u8ba1\u7b97\u5360\u6bd4\u7684\u6570\u636e\u7ef4\u6570\u3002"))}c.isMDXComponent=!0},84597:function(e,t,l){l.d(t,{Z:function(){return m}});var a=l(67294),r=l(76775),n="apiTable_e8hp";function i(e,t){var l=e.name,n=e.children,i=function(e){for(var t=e;(0,a.isValidElement)(t);)t=a.Children.toArray(t.props.children)[0];return t}(n),p=l?l+"-"+i:i,m="#"+p,d=(0,r.k6)();return a.createElement("tr",{id:p,tabIndex:0,ref:d.location.hash===m?t:void 0,onClick:function(e){"A"===e.target.tagName.toUpperCase()||d.push(m)},onKeyDown:function(e){"Enter"===e.key&&d.push(m)}},n.props.children)}var p=a.forwardRef(i);function m(e){var t=e.children,l=e.name,r=a.Children.toArray(t.props.children),i=r[0],m=r[1],d=(0,a.useRef)(null);(0,a.useEffect)((function(){var e;null==(e=d.current)||e.focus()}),[d]);var u=a.Children.map(m.props.children,(function(e){return a.createElement(p,{name:l,ref:d},e)}));return a.createElement("table",{className:n},i,a.createElement("tbody",null,u))}},41369:function(e,t,l){t.Z=l.p+"assets/images/Treemap01-ab15b071df30bdc69fa95392f6acc463.png"},28085:function(e,t,l){t.Z=l.p+"assets/images/Treemap02-0181da1a846e5288eed06e7fdd2cf966.png"},81996:function(e,t,l){t.Z=l.p+"assets/images/Treemap03-acd2850d471f052f18f7b4308333784b.png"},51208:function(e,t,l){t.Z=l.p+"assets/images/Treemap04-ff1987539bb7dd3678fed6896be506ce.png"}}]); \ No newline at end of file diff --git a/en/assets/js/e4b9cb97.45a76857.js b/en/assets/js/e4b9cb97.45a76857.js new file mode 100644 index 00000000..935dbad2 --- /dev/null +++ b/en/assets/js/e4b9cb97.45a76857.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9454],{3905:function(e,t,n){n.d(t,{Zo:function(){return c},kt:function(){return s}});var l=n(67294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,l)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(null==e)return{};var n,l,a=function(e,t){if(null==e)return{};var n,l,a={},r=Object.keys(e);for(l=0;l<r.length;l++)n=r[l],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(l=0;l<r.length;l++)n=r[l],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var d=l.createContext({}),o=function(e){var t=l.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},c=function(e){var t=o(e.components);return l.createElement(d.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return l.createElement(l.Fragment,{},t)}},h=l.forwardRef((function(e,t){var n=e.components,a=e.mdxType,r=e.originalType,d=e.parentName,c=u(e,["components","mdxType","originalType","parentName"]),h=o(n),s=a,m=h["".concat(d,".").concat(s)]||h[s]||p[s]||r;return n?l.createElement(m,i(i({ref:t},c),{},{components:n})):l.createElement(m,i({ref:t},c))}));function s(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var r=n.length,i=new Array(r);i[0]=h;var u={};for(var d in t)hasOwnProperty.call(t,d)&&(u[d]=t[d]);u.originalType=e,u.mdxType="string"==typeof e?e:a,i[1]=u;for(var o=2;o<r;o++)i[o]=n[o];return l.createElement.apply(null,i)}return l.createElement.apply(null,n)}h.displayName="MDXCreateElement"},48320:function(e,t,n){n.r(t),n.d(t,{frontMatter:function(){return u},contentTitle:function(){return d},metadata:function(){return o},toc:function(){return c},default:function(){return h}});var l=n(83117),a=n(80102),r=(n(67294),n(3905)),i=(n(84597),["components"]),u={sidebar_position:0,slug:"/funnel"},d="FunnelChart \u6f0f\u6597\u56fe",o={unversionedId:"lang/articles/extra/funnel",id:"version-v3.12.0/lang/articles/extra/funnel",title:"FunnelChart \u6f0f\u6597\u56fe",description:"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u6f0f\u6597\u56fe\u3002",source:"@site/versioned_docs/version-v3.12.0/lang/articles/extra/funnel.md",sourceDirName:"lang/articles/extra",slug:"/funnel",permalink:"/en/docs/funnel",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/extra/funnel.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"10/1/2024",sidebarPosition:0,frontMatter:{sidebar_position:0,slug:"/funnel"},sidebar:"langSidebar",previous:{title:"Bar3DChart 3D\u67f1\u56fe",permalink:"/en/docs/bar3d"},next:{title:"GanttChart \u7518\u7279\u56fe",permalink:"/en/docs/gantt"}},c=[{value:"\u622a\u56fe",id:"\u622a\u56fe",children:[],level:2},{value:"\u8bb8\u53ef",id:"\u8bb8\u53ef",children:[],level:2},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",children:[],level:2},{value:"\u6559\u7a0b",id:"\u6559\u7a0b",children:[],level:2},{value:"\u6587\u6863",id:"\u6587\u6863",children:[],level:2},{value:"\u65e5\u5fd7",id:"\u65e5\u5fd7",children:[{value:"v3.12.0",id:"v3120",children:[],level:3},{value:"v3.11.0",id:"v3110",children:[],level:3},{value:"v3.9.0",id:"v390",children:[],level:3},{value:"v3.6.1",id:"v361",children:[],level:3},{value:"v3.6.0",id:"v360",children:[],level:3},{value:"v3.5.0",id:"v350",children:[],level:3},{value:"v3.3.0",id:"v330",children:[],level:3},{value:"v3.2.0",id:"v320",children:[],level:3}],level:2},{value:"API",id:"api",children:[{value:"Funnel",id:"funnel",children:[{value:"Funnel.defaultColorBy",id:"funneldefaultcolorby",children:[],level:4},{value:"Funnel.useSortData",id:"funnelusesortdata",children:[],level:4},{value:"Funnel.AddDefaultSerie",id:"funneladddefaultserie",children:[],level:4}],level:3},{value:"FunnelChart",id:"funnelchart",children:[{value:"FunnelChart.DefaultHorizonalFunnelChart",id:"funnelchartdefaulthorizonalfunnelchart",children:[],level:4}],level:3}],level:2},{value:"\u914d\u7f6e\u9879\u624b\u518c",id:"\u914d\u7f6e\u9879\u624b\u518c",children:[{value:"Funnel",id:"funnel-1",children:[{value:"Funnel.dynamicHeight",id:"funneldynamicheight",children:[],level:4},{value:"Funnel.rectEnd",id:"funnelrectend",children:[],level:4}],level:3}],level:2}],p={toc:c};function h(e){var t=e.components,u=(0,a.Z)(e,i);return(0,r.kt)("wrapper",(0,l.Z)({},p,u,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h1",{id:"funnelchart-\u6f0f\u6597\u56fe"},"FunnelChart \u6f0f\u6597\u56fe"),(0,r.kt)("p",null,"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u6f0f\u6597\u56fe\u3002"),(0,r.kt)("h2",{id:"\u622a\u56fe"},"\u622a\u56fe"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"center"}),(0,r.kt)("th",{parentName:"tr",align:"center"}),(0,r.kt)("th",{parentName:"tr",align:"center"}),(0,r.kt)("th",{parentName:"tr",align:"center"}),(0,r.kt)("th",{parentName:"tr",align:"center"}))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"center"},(0,r.kt)("img",{alt:"Funnel01",src:n(34212).Z,width:"577",height:"490"})),(0,r.kt)("td",{parentName:"tr",align:"center"},(0,r.kt)("img",{alt:"Funnel02",src:n(8769).Z,width:"577",height:"490"})),(0,r.kt)("td",{parentName:"tr",align:"center"},(0,r.kt)("img",{alt:"Funnel03",src:n(32729).Z,width:"577",height:"490"})),(0,r.kt)("td",{parentName:"tr",align:"center"},(0,r.kt)("img",{alt:"Funnel04",src:n(34556).Z,width:"577",height:"490"})),(0,r.kt)("td",{parentName:"tr",align:"center"},(0,r.kt)("img",{alt:"Funnel05",src:n(64081).Z,width:"577",height:"490"}))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"center"},(0,r.kt)("img",{alt:"Funnel07",src:n(72920).Z,width:"577",height:"490"})),(0,r.kt)("td",{parentName:"tr",align:"center"},(0,r.kt)("img",{alt:"Funnel08",src:n(98986).Z,width:"577",height:"490"})),(0,r.kt)("td",{parentName:"tr",align:"center"},(0,r.kt)("img",{alt:"Funnel09",src:n(60735).Z,width:"577",height:"490"})),(0,r.kt)("td",{parentName:"tr",align:"center"}),(0,r.kt)("td",{parentName:"tr",align:"center"})))),(0,r.kt)("h2",{id:"\u8bb8\u53ef"},"\u8bb8\u53ef"),(0,r.kt)("p",null,"\u6269\u5c55\u56fe\u8868\uff0c\u9700\u4ed8\u8d39\u8d2d\u4e70\u540e\u624d\u83b7\u5f97\u4f7f\u7528\u8bb8\u53ef\u3002"),(0,r.kt)("h2",{id:"\u793a\u4f8b"},"\u793a\u4f8b"),(0,r.kt)("p",null,"Demo\u4ed3\u5e93\uff1a",(0,r.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-FunnelChart-Demo"},"XCharts-FunnelChart-Demo")),(0,r.kt)("h2",{id:"\u6559\u7a0b"},"\u6559\u7a0b"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Demo"},"\u6269\u5c55\u56fe\u8868\u5982\u4f55\u5bfc\u5165Demo\u9879\u76ee\u6216\u5bfc\u5165\u81ea\u5df1\u9879\u76ee")),(0,r.kt)("h2",{id:"\u6587\u6863"},"\u6587\u6863"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"#api"},"API"),(0,r.kt)("br",{parentName:"p"}),"\n",(0,r.kt)("a",{parentName:"p",href:"#%E9%85%8D%E7%BD%AE%E9%A1%B9%E6%89%8B%E5%86%8C"},"\u914d\u7f6e\u9879\u624b\u518c")," "),(0,r.kt)("h2",{id:"\u65e5\u5fd7"},"\u65e5\u5fd7"),(0,r.kt)("h3",{id:"v3120"},"v3.12.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,r.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,r.kt)("li",{parentName:"ul"},"(2024.09.30) \u66f4\u65b0\u6587\u6863")),(0,r.kt)("h3",{id:"v3110"},"v3.11.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,r.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c")),(0,r.kt)("h3",{id:"v390"},"v3.9.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2023.12.01) \u53d1\u5e03",(0,r.kt)("inlineCode",{parentName:"li"},"v3.9.0"),"\u7248\u672c"),(0,r.kt)("li",{parentName:"ul"},"(2023.12.01) \u66f4\u65b0\u6587\u6863")),(0,r.kt)("h3",{id:"v361"},"v3.6.1"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2023.06.08) \u53d1\u5e03",(0,r.kt)("inlineCode",{parentName:"li"},"v3.6.1"),"\u7248\u672c"),(0,r.kt)("li",{parentName:"ul"},"(2023.06.08) \u66f4\u65b0\u6587\u6863")),(0,r.kt)("h3",{id:"v360"},"v3.6.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2023.04.01) \u53d1\u5e03",(0,r.kt)("inlineCode",{parentName:"li"},"v3.6.0"),"\u7248\u672c"),(0,r.kt)("li",{parentName:"ul"},"(2023.03.09) \u652f\u6301",(0,r.kt)("inlineCode",{parentName:"li"},"onSerieClick")," ",(0,r.kt)("inlineCode",{parentName:"li"},"onSerieDown")," ",(0,r.kt)("inlineCode",{parentName:"li"},"onSerieEnter"),"\u548c",(0,r.kt)("inlineCode",{parentName:"li"},"onSerieExit"),"\u56de\u8c03"),(0,r.kt)("li",{parentName:"ul"},"(2023.02.14) \u540c\u6b65",(0,r.kt)("inlineCode",{parentName:"li"},"XCharts v3.6.0"))),(0,r.kt)("h3",{id:"v350"},"v3.5.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2022.12.01) \u53d1\u5e03",(0,r.kt)("inlineCode",{parentName:"li"},"v3.5.0"),"\u7248\u672c"),(0,r.kt)("li",{parentName:"ul"},"(2022.11.27) \u8c03\u6574",(0,r.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u6587\u6863\u7ed3\u6784")),(0,r.kt)("h3",{id:"v330"},"v3.3.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2022.09.24) \u589e\u52a0",(0,r.kt)("inlineCode",{parentName:"li"},"DynamicHeight"),"\u53c2\u6570\u652f\u6301\u914d\u7f6e\u662f\u5426\u6620\u5c04\u4e3a\u52a8\u6001\u9ad8\u5ea6"),(0,r.kt)("li",{parentName:"ul"},"(2022.09.24) \u589e\u52a0",(0,r.kt)("inlineCode",{parentName:"li"},"RectEnd"),"\u53c2\u6570\u652f\u6301\u914d\u7f6e\u662f\u5426\u4ee5\u77e9\u5f62\u7ed3\u675f")),(0,r.kt)("h3",{id:"v320"},"v3.2.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"(2022.08.22) \u53d1\u5e03",(0,r.kt)("inlineCode",{parentName:"li"},"v3.2.0"),"\u7248\u672c"),(0,r.kt)("li",{parentName:"ul"},"(2022.08.19) \u540c\u6b65",(0,r.kt)("inlineCode",{parentName:"li"},"XCharts v3.2.0"))),(0,r.kt)("h2",{id:"api"},"API"),(0,r.kt)("h3",{id:"funnel"},"Funnel"),(0,r.kt)("p",null,"class in XCharts.Runtime.Funnels / \u7ee7\u627f\u81ea: ",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#serie"},"Serie")),(0,r.kt)("h4",{id:"funneldefaultcolorby"},"Funnel.defaultColorBy"),(0,r.kt)("p",null,"public override SerieColorBy defaultColorBy "),(0,r.kt)("h4",{id:"funnelusesortdata"},"Funnel.useSortData"),(0,r.kt)("p",null,"public override bool useSortData "),(0,r.kt)("h4",{id:"funneladddefaultserie"},"Funnel.AddDefaultSerie"),(0,r.kt)("p",null,"public static void AddDefaultSerie(BaseChart chart, string serieName) "),(0,r.kt)("h3",{id:"funnelchart"},"FunnelChart"),(0,r.kt)("p",null,"class in XCharts.Runtime.Funnels / \u7ee7\u627f\u81ea: ",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#basechart"},"BaseChart")),(0,r.kt)("p",null,"\u6f0f\u6597\u56fe\u3002\u9002\u7528\u4e8e\u6d41\u7a0b\u6d41\u91cf\u5206\u6790\u3002"),(0,r.kt)("h4",{id:"funnelchartdefaulthorizonalfunnelchart"},"FunnelChart.DefaultHorizonalFunnelChart"),(0,r.kt)("p",null,"public void DefaultHorizonalFunnelChart()",(0,r.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba4\u7684\u6a2a\u5411\u6f0f\u6597\u56fe\u3002"),(0,r.kt)("h2",{id:"\u914d\u7f6e\u9879\u624b\u518c"},"\u914d\u7f6e\u9879\u624b\u518c"),(0,r.kt)("h3",{id:"funnel-1"},"Funnel"),(0,r.kt)("p",null,"class in XCharts.Runtime.Funnels / \u7ee7\u627f\u81ea: ",(0,r.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie"},"Serie")),(0,r.kt)("h4",{id:"funneldynamicheight"},"Funnel.dynamicHeight"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,r.kt)("inlineCode",{parentName:"p"},"v3.3.0")),(0,r.kt)("p",null,"\u662f\u5426\u6620\u5c04\u4e3a\u52a8\u6001\u9ad8\u5ea6\u3002\u5f53\u8bbe\u7f6e\u4e3a 'true' \u65f6\uff0c\u6f0f\u6597\u56fe\u6bcf\u4e2a\u6761\u76ee\uff08\u56fe\u8868\u5143\u7d20\uff09\u7684\u9ad8\u5ea6\u548c y \u8f74\u5b57\u6bb5\u5bf9\u5e94\u6570\u503c\u6210\u6b63\u6bd4\u3002"),(0,r.kt)("h4",{id:"funnelrectend"},"Funnel.rectEnd"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,r.kt)("inlineCode",{parentName:"p"},"v3.3.0")),(0,r.kt)("p",null,"\u662f\u5426\u6700\u540e\u4ee5\u77e9\u5f62\u7ed3\u675f\u3002\u9ed8\u8ba4false\u4ee5\u4e09\u89d2\u5f62\u7ed3\u675f\u3002"))}h.isMDXComponent=!0},84597:function(e,t,n){n.d(t,{Z:function(){return d}});var l=n(67294),a=n(76775),r="apiTable_e8hp";function i(e,t){var n=e.name,r=e.children,i=function(e){for(var t=e;(0,l.isValidElement)(t);)t=l.Children.toArray(t.props.children)[0];return t}(r),u=n?n+"-"+i:i,d="#"+u,o=(0,a.k6)();return l.createElement("tr",{id:u,tabIndex:0,ref:o.location.hash===d?t:void 0,onClick:function(e){"A"===e.target.tagName.toUpperCase()||o.push(d)},onKeyDown:function(e){"Enter"===e.key&&o.push(d)}},r.props.children)}var u=l.forwardRef(i);function d(e){var t=e.children,n=e.name,a=l.Children.toArray(t.props.children),i=a[0],d=a[1],o=(0,l.useRef)(null);(0,l.useEffect)((function(){var e;null==(e=o.current)||e.focus()}),[o]);var c=l.Children.map(d.props.children,(function(e){return l.createElement(u,{name:n,ref:o},e)}));return l.createElement("table",{className:r},i,l.createElement("tbody",null,c))}},34212:function(e,t,n){t.Z=n.p+"assets/images/Funnel01-06c37d0dd05b6132445702bb69f165a8.png"},8769:function(e,t,n){t.Z=n.p+"assets/images/Funnel02-3c42bec941dba02495fb025f3ed5d040.png"},32729:function(e,t,n){t.Z=n.p+"assets/images/Funnel03-05c3ecaf88ef4b2c2237b6550b4761d8.png"},34556:function(e,t,n){t.Z=n.p+"assets/images/Funnel04-6f88cf29153a959491c9e1422a89d9ae.png"},64081:function(e,t,n){t.Z=n.p+"assets/images/Funnel05-501ee659d76a27edd5a92e846081e770.png"},72920:function(e,t,n){t.Z=n.p+"assets/images/Funnel07-f1e1d9adcbccc78e0b3745f971d8e321.png"},98986:function(e,t,n){t.Z=n.p+"assets/images/Funnel08-823bfaec6cf1e88579a3dd7beb8258ab.png"},60735:function(e,t,n){t.Z=n.p+"assets/images/Funnel09-dbdf000a769324bc6fb3e3aecbdde320.png"}}]); \ No newline at end of file diff --git a/en/assets/js/f8858d8f.89c06897.js b/en/assets/js/f8858d8f.89c06897.js new file mode 100644 index 00000000..ea05317d --- /dev/null +++ b/en/assets/js/f8858d8f.89c06897.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7679],{3905:function(e,a,t){t.d(a,{Zo:function(){return p},kt:function(){return s}});var l=t(67294);function i(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function n(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);a&&(l=l.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,l)}return t}function r(e){for(var a=1;a<arguments.length;a++){var t=null!=arguments[a]?arguments[a]:{};a%2?n(Object(t),!0).forEach((function(a){i(e,a,t[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):n(Object(t)).forEach((function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))}))}return e}function u(e,a){if(null==e)return{};var t,l,i=function(e,a){if(null==e)return{};var t,l,i={},n=Object.keys(e);for(l=0;l<n.length;l++)t=n[l],a.indexOf(t)>=0||(i[t]=e[t]);return i}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)t=n[l],a.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var g=l.createContext({}),o=function(e){var a=l.useContext(g),t=a;return e&&(t="function"==typeof e?e(a):r(r({},a),e)),t},p=function(e){var a=o(e.components);return l.createElement(g.Provider,{value:a},e.children)},d={inlineCode:"code",wrapper:function(e){var a=e.children;return l.createElement(l.Fragment,{},a)}},c=l.forwardRef((function(e,a){var t=e.components,i=e.mdxType,n=e.originalType,g=e.parentName,p=u(e,["components","mdxType","originalType","parentName"]),c=o(t),s=i,h=c["".concat(g,".").concat(s)]||c[s]||d[s]||n;return t?l.createElement(h,r(r({ref:a},p),{},{components:t})):l.createElement(h,r({ref:a},p))}));function s(e,a){var t=arguments,i=a&&a.mdxType;if("string"==typeof e||i){var n=t.length,r=new Array(n);r[0]=c;var u={};for(var g in a)hasOwnProperty.call(a,g)&&(u[g]=a[g]);u.originalType=e,u.mdxType="string"==typeof e?e:i,r[1]=u;for(var o=2;o<n;o++)r[o]=t[o];return l.createElement.apply(null,r)}return l.createElement.apply(null,t)}c.displayName="MDXCreateElement"},99962:function(e,a,t){t.r(a),t.d(a,{frontMatter:function(){return u},contentTitle:function(){return g},metadata:function(){return o},toc:function(){return p},default:function(){return c}});var l=t(83117),i=t(80102),n=(t(67294),t(3905)),r=(t(84597),["components"]),u={sidebar_position:0,slug:"/gauge"},g="GaugeChart \u4eea\u8868\u76d8",o={unversionedId:"lang/articles/extra/gauge",id:"version-v3.12.0/lang/articles/extra/gauge",title:"GaugeChart \u4eea\u8868\u76d8",description:"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u4eea\u8868\u76d8\u3002",source:"@site/versioned_docs/version-v3.12.0/lang/articles/extra/gauge.md",sourceDirName:"lang/articles/extra",slug:"/gauge",permalink:"/en/docs/gauge",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/extra/gauge.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"10/1/2024",sidebarPosition:0,frontMatter:{sidebar_position:0,slug:"/gauge"},sidebar:"langSidebar",previous:{title:"GanttChart \u7518\u7279\u56fe",permalink:"/en/docs/gantt"},next:{title:"GraphChart \u5173\u7cfb\u56fe",permalink:"/en/docs/graph"}},p=[{value:"\u622a\u56fe",id:"\u622a\u56fe",children:[],level:2},{value:"\u8bb8\u53ef",id:"\u8bb8\u53ef",children:[],level:2},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",children:[],level:2},{value:"\u6559\u7a0b",id:"\u6559\u7a0b",children:[],level:2},{value:"\u6587\u6863",id:"\u6587\u6863",children:[],level:2},{value:"\u65e5\u5fd7",id:"\u65e5\u5fd7",children:[{value:"v3.12.0",id:"v3120",children:[],level:3},{value:"v3.11.0",id:"v3110",children:[],level:3},{value:"v3.10.0",id:"v3100",children:[],level:3},{value:"v3.9.0",id:"v390",children:[],level:3},{value:"v3.8.0",id:"v380",children:[],level:3},{value:"v3.6.1",id:"v361",children:[],level:3},{value:"v3.6.0",id:"v360",children:[],level:3},{value:"v3.5.0",id:"v350",children:[],level:3},{value:"v3.4.0",id:"v340",children:[],level:3},{value:"v3.3.0",id:"v330",children:[],level:3},{value:"v3.2.0",id:"v320",children:[],level:3}],level:2},{value:"API",id:"api",children:[{value:"Gauge",id:"gauge",children:[{value:"Gauge.defaultColorBy",id:"gaugedefaultcolorby",children:[],level:4},{value:"Gauge.AddDefaultSerie",id:"gaugeadddefaultserie",children:[],level:4},{value:"Gauge.ClearComponentDirty",id:"gaugeclearcomponentdirty",children:[],level:4},{value:"Gauge.ClearVerticesDirty",id:"gaugeclearverticesdirty",children:[],level:4},{value:"Gauge.GetPointerColor",id:"gaugegetpointercolor",children:[],level:4}],level:3},{value:"GaugeAnchor",id:"gaugeanchor",children:[{value:"GaugeAnchor.GetPosition",id:"gaugeanchorgetposition",children:[],level:4}],level:3},{value:"GaugeAxis",id:"gaugeaxis",children:[{value:"GaugeAxis.axisLabel",id:"gaugeaxisaxislabel",children:[],level:4},{value:"GaugeAxis.axisLabelText",id:"gaugeaxisaxislabeltext",children:[],level:4},{value:"GaugeAxis.axisLine",id:"gaugeaxisaxisline",children:[],level:4},{value:"GaugeAxis.axisTick",id:"gaugeaxisaxistick",children:[],level:4},{value:"GaugeAxis.distance",id:"gaugeaxisdistance",children:[],level:4},{value:"GaugeAxis.overlap",id:"gaugeaxisoverlap",children:[],level:4},{value:"GaugeAxis.show",id:"gaugeaxisshow",children:[],level:4},{value:"GaugeAxis.splitLine",id:"gaugeaxissplitline",children:[],level:4},{value:"GaugeAxis.type",id:"gaugeaxistype",children:[],level:4},{value:"GaugeAxis.AddLabelObject",id:"gaugeaxisaddlabelobject",children:[],level:4},{value:"GaugeAxis.ClearLabelObject",id:"gaugeaxisclearlabelobject",children:[],level:4},{value:"GaugeAxis.GaugeAxis",id:"gaugeaxisgaugeaxis",children:[],level:4},{value:"GaugeAxis.GetLabelObject",id:"gaugeaxisgetlabelobject",children:[],level:4},{value:"GaugeAxis.GetStageColor",id:"gaugeaxisgetstagecolor",children:[],level:4},{value:"GaugeAxis.GetStageColorByAngle",id:"gaugeaxisgetstagecolorbyangle",children:[],level:4},{value:"GaugeAxis.SetLabelObjectActive",id:"gaugeaxissetlabelobjectactive",children:[],level:4},{value:"GaugeAxis.SetLabelObjectPosition",id:"gaugeaxissetlabelobjectposition",children:[],level:4},{value:"GaugeAxis.SetLabelObjectText",id:"gaugeaxissetlabelobjecttext",children:[],level:4}],level:3},{value:"GaugeAxisLine",id:"gaugeaxisline",children:[{value:"GaugeAxisLine.backgroundColor",id:"gaugeaxislinebackgroundcolor",children:[],level:4},{value:"GaugeAxisLine.stageColor",id:"gaugeaxislinestagecolor",children:[],level:4},{value:"GaugeAxisLine.stageGradient",id:"gaugeaxislinestagegradient",children:[],level:4},{value:"GaugeAxisLine.GaugeAxisLine",id:"gaugeaxislinegaugeaxisline",children:[],level:4}],level:3},{value:"GaugeAxisType",id:"gaugeaxistype-1",children:[],level:3},{value:"GaugeChart",id:"gaugechart",children:[{value:"GaugeChart.DefaultBarometerGaugeChart",id:"gaugechartdefaultbarometergaugechart",children:[],level:4},{value:"GaugeChart.DefaultClockGaugeChart",id:"gaugechartdefaultclockgaugechart",children:[],level:4},{value:"GaugeChart.DefaultMultipleGaugeChart",id:"gaugechartdefaultmultiplegaugechart",children:[],level:4},{value:"GaugeChart.DefaultProgressGaugeChart",id:"gaugechartdefaultprogressgaugechart",children:[],level:4},{value:"GaugeChart.DefaultRangeClockGaugeChart",id:"gaugechartdefaultrangeclockgaugechart",children:[],level:4},{value:"GaugeChart.DefaultSectionGaugeChart",id:"gaugechartdefaultsectiongaugechart",children:[],level:4},{value:"GaugeChart.UpdateClockTime",id:"gaugechartupdateclocktime",children:[],level:4},{value:"GaugeChart.UpdatePointerValue",id:"gaugechartupdatepointervalue",children:[],level:4}],level:3},{value:"GaugePointer",id:"gaugepointer",children:[],level:3}],level:2},{value:"\u914d\u7f6e\u9879\u624b\u518c",id:"\u914d\u7f6e\u9879\u624b\u518c",children:[{value:"Gauge",id:"gauge-1",children:[{value:"Gauge.gaugeAnchor",id:"gaugegaugeanchor",children:[],level:4},{value:"Gauge.gaugeAxis",id:"gaugegaugeaxis",children:[],level:4},{value:"Gauge.gaugePointer",id:"gaugegaugepointer",children:[],level:4},{value:"Gauge.loop",id:"gaugeloop",children:[],level:4},{value:"Gauge.rangeDataMode",id:"gaugerangedatamode",children:[],level:4}],level:3},{value:"GaugeAnchor",id:"gaugeanchor-1",children:[{value:"GaugeAnchor.gap",id:"gaugeanchorgap",children:[],level:4},{value:"GaugeAnchor.image",id:"gaugeanchorimage",children:[],level:4},{value:"GaugeAnchor.imageType",id:"gaugeanchorimagetype",children:[],level:4},{value:"GaugeAnchor.itemStyle",id:"gaugeanchoritemstyle",children:[],level:4},{value:"GaugeAnchor.offsetCenter",id:"gaugeanchoroffsetcenter",children:[],level:4},{value:"GaugeAnchor.show",id:"gaugeanchorshow",children:[],level:4},{value:"GaugeAnchor.showAbove",id:"gaugeanchorshowabove",children:[],level:4},{value:"GaugeAnchor.size",id:"gaugeanchorsize",children:[],level:4},{value:"GaugeAnchor.type",id:"gaugeanchortype",children:[],level:4}],level:3},{value:"GaugeAxis",id:"gaugeaxis-1",children:[{value:"GaugeAxis.axisLabel",id:"gaugeaxisaxislabel-1",children:[],level:4},{value:"GaugeAxis.axisLabelText",id:"gaugeaxisaxislabeltext-1",children:[],level:4},{value:"GaugeAxis.axisLine",id:"gaugeaxisaxisline-1",children:[],level:4},{value:"GaugeAxis.axisTick",id:"gaugeaxisaxistick-1",children:[],level:4},{value:"GaugeAxis.distance",id:"gaugeaxisdistance-1",children:[],level:4},{value:"GaugeAxis.overlap",id:"gaugeaxisoverlap-1",children:[],level:4},{value:"GaugeAxis.show",id:"gaugeaxisshow-1",children:[],level:4},{value:"GaugeAxis.splitLine",id:"gaugeaxissplitline-1",children:[],level:4},{value:"GaugeAxis.type",id:"gaugeaxistype-2",children:[],level:4}],level:3},{value:"GaugeAxisLine",id:"gaugeaxisline-1",children:[{value:"GaugeAxisLine.backgroundColor",id:"gaugeaxislinebackgroundcolor-1",children:[],level:4},{value:"GaugeAxisLine.stageColor",id:"gaugeaxislinestagecolor-1",children:[],level:4},{value:"GaugeAxisLine.stageGradient",id:"gaugeaxislinestagegradient-1",children:[],level:4}],level:3},{value:"GaugePointer",id:"gaugepointer-1",children:[{value:"GaugePointer.autoColor",id:"gaugepointerautocolor",children:[],level:4},{value:"GaugePointer.backExtraLength",id:"gaugepointerbackextralength",children:[],level:4},{value:"GaugePointer.backLength",id:"gaugepointerbacklength",children:[],level:4},{value:"GaugePointer.bottomLeftLength",id:"gaugepointerbottomleftlength",children:[],level:4},{value:"GaugePointer.bottomRightLength",id:"gaugepointerbottomrightlength",children:[],level:4},{value:"GaugePointer.color",id:"gaugepointercolor",children:[],level:4},{value:"GaugePointer.cornerRadius",id:"gaugepointercornerradius",children:[],level:4},{value:"GaugePointer.distance",id:"gaugepointerdistance",children:[],level:4},{value:"GaugePointer.length",id:"gaugepointerlength",children:[],level:4},{value:"GaugePointer.roundCap",id:"gaugepointerroundcap",children:[],level:4},{value:"GaugePointer.show",id:"gaugepointershow",children:[],level:4},{value:"GaugePointer.toColor",id:"gaugepointertocolor",children:[],level:4},{value:"GaugePointer.topLeftLength",id:"gaugepointertopleftlength",children:[],level:4},{value:"GaugePointer.topRightLength",id:"gaugepointertoprightlength",children:[],level:4},{value:"GaugePointer.value",id:"gaugepointervalue",children:[],level:4}],level:3}],level:2}],d={toc:p};function c(e){var a=e.components,u=(0,i.Z)(e,r);return(0,n.kt)("wrapper",(0,l.Z)({},d,u,{components:a,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"gaugechart-\u4eea\u8868\u76d8"},"GaugeChart \u4eea\u8868\u76d8"),(0,n.kt)("p",null,"XCharts\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - \u4eea\u8868\u76d8\u3002"),(0,n.kt)("h2",{id:"\u622a\u56fe"},"\u622a\u56fe"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge01",src:t(60854).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge02",src:t(33177).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge03",src:t(56844).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge04",src:t(75755).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge05",src:t(3697).Z,width:"577",height:"490"}))),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge07",src:t(9e4).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge08",src:t(97371).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge09",src:t(55496).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge10",src:t(65317).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge11",src:t(20012).Z,width:"577",height:"490"}))),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge12",src:t(98794).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge13",src:t(44855).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Gauge14",src:t(47059).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"}),(0,n.kt)("td",{parentName:"tr",align:"center"})))),(0,n.kt)("h2",{id:"\u8bb8\u53ef"},"\u8bb8\u53ef"),(0,n.kt)("p",null,"\u6269\u5c55\u56fe\u8868\uff0c\u9700\u4ed8\u8d39\u8d2d\u4e70\u540e\u624d\u83b7\u5f97\u4f7f\u7528\u8bb8\u53ef\u3002"),(0,n.kt)("h2",{id:"\u793a\u4f8b"},"\u793a\u4f8b"),(0,n.kt)("p",null,"Demo\u4ed3\u5e93\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-GaugeChart-Demo"},"XCharts-GaugeChart-Demo")),(0,n.kt)("h2",{id:"\u6559\u7a0b"},"\u6559\u7a0b"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Demo"},"\u6269\u5c55\u56fe\u8868\u5982\u4f55\u5bfc\u5165Demo\u9879\u76ee\u6216\u5bfc\u5165\u81ea\u5df1\u9879\u76ee")),(0,n.kt)("h2",{id:"\u6587\u6863"},"\u6587\u6863"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#api"},"API"),(0,n.kt)("br",{parentName:"p"}),"\n",(0,n.kt)("a",{parentName:"p",href:"#%E9%85%8D%E7%BD%AE%E9%A1%B9%E6%89%8B%E5%86%8C"},"\u914d\u7f6e\u9879\u624b\u518c")," "),(0,n.kt)("h2",{id:"\u65e5\u5fd7"},"\u65e5\u5fd7"),(0,n.kt)("h3",{id:"v3120"},"v3.12.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2024.09.30) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v3110"},"v3.11.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c")),(0,n.kt)("h3",{id:"v3100"},"v3.10.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2024.01.21) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Gauge"),"\u7684\u66f4\u591a\u521b\u5efa\u9ed8\u8ba4\u56fe\u8868\u7684\u5feb\u6377\u65b9\u5f0f\u548cAPI")),(0,n.kt)("h3",{id:"v390"},"v3.9.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.12.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.9.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.12.01) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v380"},"v3.8.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.07.31) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.8.0"))),(0,n.kt)("h3",{id:"v361"},"v3.6.1"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.06.08) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.6.1"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.06.08) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v360"},"v3.6.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.04.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.6.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.17) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Gauge"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"rangeDataMode"),"\u53ef\u8bbe\u7f6e\u662f\u5426\u4f7f\u7528\u8303\u56f4\u6570\u636e\u6a21\u5f0f"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.17) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Gauge"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"loop"),"\u53ef\u8bbe\u7f6e\u662f\u5426\u5faa\u73af\u6570\u636e\uff0c\u7528\u4e8e\u65f6\u949f\u7518\u7279\u56fe"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.17) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"GaugePointer"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"value"),"\u53ef\u8bbe\u7f6e\u6307\u9488\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.17) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Clock"),"\u65f6\u949f\u4eea\u8868\u76d8\u652f\u6301"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.13) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"GaugePointer"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"nowTime"),"\u53ef\u8bbe\u7f6e\u6307\u9488\u6307\u5411\u5f53\u524d\u65f6\u95f4"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.13) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"GaugePointer"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"value"),"\u53ef\u8bbe\u7f6e\u5f53\u524d\u6307\u9488\u4f4d\u7f6e"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.13) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Clock"),"\u7c7b\u578b\u7684\u7518\u7279\u56fe\u652f\u6301"),(0,n.kt)("li",{parentName:"ul"},"(2023.02.14) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.6.0"))),(0,n.kt)("h3",{id:"v350"},"v3.5.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.12.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.5.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2022.11.27) \u8c03\u6574",(0,n.kt)("inlineCode",{parentName:"li"},"Documentation"),"\u6587\u6863\u7ed3\u6784")),(0,n.kt)("h3",{id:"v340"},"v3.4.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.10.05) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"GaugeAxisLine"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"stageGradient"),"\u652f\u6301\u8bbe\u7f6e\u9636\u6bb5\u6e10\u53d8\u8272\u8fc7\u6e21")),(0,n.kt)("h3",{id:"v330"},"v3.3.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.09.28) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.3.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2022.08.26) \u4fee\u590d",(0,n.kt)("inlineCode",{parentName:"li"},"Pointer"),"\u5728\u666e\u901a\u6a21\u5f0f\u4e0b\u4e0d\u663e\u793a\u7684\u95ee\u9898"),(0,n.kt)("li",{parentName:"ul"},"(2022.08.25) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"label"),"\u989c\u8272\u8ddf\u968f\u6570\u503c\u53d8\u5316\u7684\u652f\u6301")),(0,n.kt)("h3",{id:"v320"},"v3.2.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.08.22) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.2.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2022.08.19) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.2.0")),(0,n.kt)("li",{parentName:"ul"},"(2022.08.15) \u652f\u6301\u6e10\u53d8")),(0,n.kt)("h2",{id:"api"},"API"),(0,n.kt)("h3",{id:"gauge"},"Gauge"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#serie"},"Serie")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u7cfb\u5217\u6570\u636e\u3002"),(0,n.kt)("h4",{id:"gaugedefaultcolorby"},"Gauge.defaultColorBy"),(0,n.kt)("p",null,"public override SerieColorBy defaultColorBy "),(0,n.kt)("h4",{id:"gaugeadddefaultserie"},"Gauge.AddDefaultSerie"),(0,n.kt)("p",null,"public static void AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h4",{id:"gaugeclearcomponentdirty"},"Gauge.ClearComponentDirty"),(0,n.kt)("p",null,"public override void ClearComponentDirty() "),(0,n.kt)("h4",{id:"gaugeclearverticesdirty"},"Gauge.ClearVerticesDirty"),(0,n.kt)("p",null,"public override void ClearVerticesDirty() "),(0,n.kt)("h4",{id:"gaugegetpointercolor"},"Gauge.GetPointerColor"),(0,n.kt)("p",null,"public Color32 GetPointerColor(ThemeStyle theme, int colorIndex, float angle, Color32 dataColor) "),(0,n.kt)("h3",{id:"gaugeanchor"},"GaugeAnchor"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#childcomponent"},"ChildComponent")),(0,n.kt)("h4",{id:"gaugeanchorgetposition"},"GaugeAnchor.GetPosition"),(0,n.kt)("p",null,"public Vector3 GetPosition(Vector3 center, float radius) "),(0,n.kt)("h3",{id:"gaugeaxis"},"GaugeAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u8f74\u7ebf\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h4",{id:"gaugeaxisaxislabel"},"GaugeAxis.axisLabel"),(0,n.kt)("p",null,"public AxisLabel axisLabel",(0,n.kt)("br",{parentName:"p"}),"\n","\u6587\u672c\u6807\u7b7e\u3002"),(0,n.kt)("h4",{id:"gaugeaxisaxislabeltext"},"GaugeAxis.axisLabelText"),(0,n.kt)("p",null,"public List","<","string",">"," axisLabelText",(0,n.kt)("br",{parentName:"p"}),"\n","\u81ea\u5b9a\u4e49Label\u7684\u5185\u5bb9\u3002"),(0,n.kt)("h4",{id:"gaugeaxisaxisline"},"GaugeAxis.axisLine"),(0,n.kt)("p",null,"public GaugeAxisLine axisLine",(0,n.kt)("br",{parentName:"p"}),"\n","\u4eea\u8868\u76d8\u8f74\u7ebf\u6837\u5f0f\u3002"),(0,n.kt)("h4",{id:"gaugeaxisaxistick"},"GaugeAxis.axisTick"),(0,n.kt)("p",null,"public AxisTick axisTick",(0,n.kt)("br",{parentName:"p"}),"\n","\u523b\u5ea6\u3002"),(0,n.kt)("h4",{id:"gaugeaxisdistance"},"GaugeAxis.distance"),(0,n.kt)("p",null,"public float distance "),(0,n.kt)("h4",{id:"gaugeaxisoverlap"},"GaugeAxis.overlap"),(0,n.kt)("p",null,"public bool overlap "),(0,n.kt)("h4",{id:"gaugeaxisshow"},"GaugeAxis.show"),(0,n.kt)("p",null,"public bool show "),(0,n.kt)("h4",{id:"gaugeaxissplitline"},"GaugeAxis.splitLine"),(0,n.kt)("p",null,"public AxisSplitLine splitLine",(0,n.kt)("br",{parentName:"p"}),"\n","\u5206\u5272\u7ebf\u3002"),(0,n.kt)("h4",{id:"gaugeaxistype"},"GaugeAxis.type"),(0,n.kt)("p",null,"public GaugeAxisType type "),(0,n.kt)("h4",{id:"gaugeaxisaddlabelobject"},"GaugeAxis.AddLabelObject"),(0,n.kt)("p",null,"public void AddLabelObject(ChartLabel label) "),(0,n.kt)("h4",{id:"gaugeaxisclearlabelobject"},"GaugeAxis.ClearLabelObject"),(0,n.kt)("p",null,"public void ClearLabelObject() "),(0,n.kt)("h4",{id:"gaugeaxisgaugeaxis"},"GaugeAxis.GaugeAxis"),(0,n.kt)("p",null,"public GaugeAxis() "),(0,n.kt)("h4",{id:"gaugeaxisgetlabelobject"},"GaugeAxis.GetLabelObject"),(0,n.kt)("p",null,"public ChartLabel GetLabelObject(int index) "),(0,n.kt)("h4",{id:"gaugeaxisgetstagecolor"},"GaugeAxis.GetStageColor"),(0,n.kt)("p",null,"public Color32 GetStageColor(float rate) "),(0,n.kt)("h4",{id:"gaugeaxisgetstagecolorbyangle"},"GaugeAxis.GetStageColorByAngle"),(0,n.kt)("p",null,"public Color32 GetStageColorByAngle(float angle) "),(0,n.kt)("h4",{id:"gaugeaxissetlabelobjectactive"},"GaugeAxis.SetLabelObjectActive"),(0,n.kt)("p",null,"public void SetLabelObjectActive(bool flag) "),(0,n.kt)("h4",{id:"gaugeaxissetlabelobjectposition"},"GaugeAxis.SetLabelObjectPosition"),(0,n.kt)("p",null,"public void SetLabelObjectPosition(int index, Vector3 pos) "),(0,n.kt)("h4",{id:"gaugeaxissetlabelobjecttext"},"GaugeAxis.SetLabelObjectText"),(0,n.kt)("p",null,"public void SetLabelObjectText(int index, string text) "),(0,n.kt)("h3",{id:"gaugeaxisline"},"GaugeAxisLine"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#baseline"},"BaseLine")),(0,n.kt)("h4",{id:"gaugeaxislinebackgroundcolor"},"GaugeAxisLine.backgroundColor"),(0,n.kt)("p",null,"public Color32 backgroundColor",(0,n.kt)("br",{parentName:"p"}),"\n","\u8fdb\u5ea6\u6761\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h4",{id:"gaugeaxislinestagecolor"},"GaugeAxisLine.stageColor"),(0,n.kt)("p",null,"public List","<","StageColor",">"," stageColor",(0,n.kt)("br",{parentName:"p"}),"\n","\u9636\u6bb5\u989c\u8272\u3002"),(0,n.kt)("h4",{id:"gaugeaxislinestagegradient"},"GaugeAxisLine.stageGradient"),(0,n.kt)("p",null,"public bool stageGradient",(0,n.kt)("br",{parentName:"p"}),"\n","\u9636\u6bb5\u989c\u8272\u662f\u5426\u6e10\u53d8\u8fc7\u6e21\u3002"),(0,n.kt)("h4",{id:"gaugeaxislinegaugeaxisline"},"GaugeAxisLine.GaugeAxisLine"),(0,n.kt)("p",null,"public GaugeAxisLine(bool show) : base(show) "),(0,n.kt)("h3",{id:"gaugeaxistype-1"},"GaugeAxisType"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges"),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u7c7b\u578b"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4eea\u8868\u76d8\u7c7b\u578b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Section"),": \u5206\u6bb5"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Progress"),": \u8fdb\u5ea6")),(0,n.kt)("h3",{id:"gaugechart"},"GaugeChart"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#basechart"},"BaseChart")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u3002"),(0,n.kt)("h4",{id:"gaugechartdefaultbarometergaugechart"},"GaugeChart.DefaultBarometerGaugeChart"),(0,n.kt)("p",null,"public void DefaultBarometerGaugeChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u6c14\u538b\u8ba1\u4eea\u8868\u76d8\u3002"),(0,n.kt)("h4",{id:"gaugechartdefaultclockgaugechart"},"GaugeChart.DefaultClockGaugeChart"),(0,n.kt)("p",null,"public void DefaultClockGaugeChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u65f6\u949f\u4eea\u8868\u76d8\u3002"),(0,n.kt)("h4",{id:"gaugechartdefaultmultiplegaugechart"},"GaugeChart.DefaultMultipleGaugeChart"),(0,n.kt)("p",null,"public void DefaultMultipleGaugeChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u591a\u4eea\u8868\u76d8\u3002"),(0,n.kt)("h4",{id:"gaugechartdefaultprogressgaugechart"},"GaugeChart.DefaultProgressGaugeChart"),(0,n.kt)("p",null,"public void DefaultProgressGaugeChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u8fdb\u5ea6\u4eea\u8868\u76d8\u3002"),(0,n.kt)("h4",{id:"gaugechartdefaultrangeclockgaugechart"},"GaugeChart.DefaultRangeClockGaugeChart"),(0,n.kt)("p",null,"public void DefaultRangeClockGaugeChart() "),(0,n.kt)("h4",{id:"gaugechartdefaultsectiongaugechart"},"GaugeChart.DefaultSectionGaugeChart"),(0,n.kt)("p",null,"public void DefaultSectionGaugeChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u5206\u6bb5\u4eea\u8868\u76d8\u3002"),(0,n.kt)("h4",{id:"gaugechartupdateclocktime"},"GaugeChart.UpdateClockTime"),(0,n.kt)("p",null,"public void UpdateClockTime(double hour, double minute, double second)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u65f6\u949f\u65f6\u95f4\u3002"),(0,n.kt)("h4",{id:"gaugechartupdatepointervalue"},"GaugeChart.UpdatePointerValue"),(0,n.kt)("p",null,"public void UpdatePointerValue(double value)",(0,n.kt)("br",{parentName:"p"}),"\n","\u66f4\u65b0\u6307\u9488\u503c\u3002"),(0,n.kt)("h3",{id:"gaugepointer"},"GaugePointer"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u6307\u9488\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h2",{id:"\u914d\u7f6e\u9879\u624b\u518c"},"\u914d\u7f6e\u9879\u624b\u518c"),(0,n.kt)("h3",{id:"gauge-1"},"Gauge"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie"},"Serie")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u7cfb\u5217\u6570\u636e\u3002"),(0,n.kt)("h4",{id:"gaugegaugeanchor"},"Gauge.gaugeAnchor"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#gaugeanchor"},"GaugeAnchor")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u6307\u9488\u56fa\u5b9a\u70b9\u3002"),(0,n.kt)("h4",{id:"gaugegaugeaxis"},"Gauge.gaugeAxis"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#gaugeaxis"},"GaugeAxis")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u8f74\u7ebf\u3002"),(0,n.kt)("h4",{id:"gaugegaugepointer"},"Gauge.gaugePointer"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#gaugepointer"},"GaugePointer")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u6307\u9488\u3002"),(0,n.kt)("h4",{id:"gaugeloop"},"Gauge.loop"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("p",null,"\u6570\u503c\u662f\u5426\u5faa\u73af\u3002\u53ef\u7528\u5728\u949f\u8868\u56fe\u3002"),(0,n.kt)("h4",{id:"gaugerangedatamode"},"Gauge.rangeDataMode"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("p",null,"\u6570\u503c\u662f\u5426\u4e3a\u8303\u56f4\u6570\u636e\u3002\u542f\u7528\u8be5\u6a21\u5f0f\u540e\uff0cdata\u4e2d\u7684\u6bcf\u4e2a\u503c\u90fd\u662f\u4e00\u4e2a\u6570\u7ec4\uff0c\u6570\u7ec4\u4e2d\u7684\u7b2c\u4e00\u4e2a\u503c\u4e3a\u8d77\u59cb\u503c\uff0c\u7b2c\u4e8c\u4e2a\u503c\u4e3a\u7ed3\u675f\u503c\u3002\u6307\u9488\u53ea\u6709\u4e00\u4e2a\uff0c\u6570\u636e\u7ed8\u5236\u4e3a\u73af\u5f62\u3002"),(0,n.kt)("h3",{id:"gaugeanchor-1"},"GaugeAnchor"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#childcomponent"},"ChildComponent")),(0,n.kt)("h4",{id:"gaugeanchorgap"},"GaugeAnchor.gap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0")),(0,n.kt)("p",null,"\u56fe\u5f62\u6807\u8bb0\u548c\u7ebf\u6761\u7684\u95f4\u9699\u8ddd\u79bb\u3002"),(0,n.kt)("h4",{id:"gaugeanchorimage"},"GaugeAnchor.image"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Sprite")),(0,n.kt)("p",null,"\u81ea\u5b9a\u4e49\u7684\u6807\u8bb0\u56fe\u5f62\u3002"),(0,n.kt)("h4",{id:"gaugeanchorimagetype"},"GaugeAnchor.imageType"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Image.Type")),(0,n.kt)("h4",{id:"gaugeanchoritemstyle"},"GaugeAnchor.itemStyle"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"ItemStyle")),(0,n.kt)("p",null,"\u56fe\u5f62\u6837\u5f0f\u3002"),(0,n.kt)("h4",{id:"gaugeanchoroffsetcenter"},"GaugeAnchor.offsetCenter"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Vector2")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Vector2(0, 0)")),(0,n.kt)("p",null,"\u76f8\u5bf9\u4e8e\u4e2d\u5fc3\u7684\u504f\u79fb\u4f4d\u7f6e\u3002"),(0,n.kt)("h4",{id:"gaugeanchorshow"},"GaugeAnchor.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6307\u9488\u56fa\u5b9a\u70b9\u3002"),(0,n.kt)("h4",{id:"gaugeanchorshowabove"},"GaugeAnchor.showAbove"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u56fa\u5b9a\u70b9\u662f\u5426\u663e\u793a\u5728\u6307\u9488\u4e0a\u9762\u3002"),(0,n.kt)("h4",{id:"gaugeanchorsize"},"GaugeAnchor.size"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"6")),(0,n.kt)("p",null,"\u6807\u8bb0\u7684\u5927\u5c0f\u3002"),(0,n.kt)("h4",{id:"gaugeanchortype"},"GaugeAnchor.type"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"SymbolType")),(0,n.kt)("p",null,"\u6807\u8bb0\u7c7b\u578b\u3002"),(0,n.kt)("h3",{id:"gaugeaxis-1"},"GaugeAxis"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u8f74\u7ebf\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h4",{id:"gaugeaxisaxislabel-1"},"GaugeAxis.axisLabel"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"AxisLabel")),(0,n.kt)("p",null,"\u6587\u672c\u6807\u7b7e\u3002"),(0,n.kt)("h4",{id:"gaugeaxisaxislabeltext-1"},"GaugeAxis.axisLabelText"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List<string>")),(0,n.kt)("p",null,"\u81ea\u5b9a\u4e49Label\u7684\u5185\u5bb9\u3002"),(0,n.kt)("h4",{id:"gaugeaxisaxisline-1"},"GaugeAxis.axisLine"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#gaugeaxisline"},"GaugeAxisLine")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u8f74\u7ebf\u6837\u5f0f\u3002"),(0,n.kt)("h4",{id:"gaugeaxisaxistick-1"},"GaugeAxis.axisTick"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"AxisTick")),(0,n.kt)("p",null,"\u523b\u5ea6\u3002"),(0,n.kt)("h4",{id:"gaugeaxisdistance-1"},"GaugeAxis.distance"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("h4",{id:"gaugeaxisoverlap-1"},"GaugeAxis.overlap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("h4",{id:"gaugeaxisshow-1"},"GaugeAxis.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("h4",{id:"gaugeaxissplitline-1"},"GaugeAxis.splitLine"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"AxisSplitLine")),(0,n.kt)("p",null,"\u5206\u5272\u7ebf\u3002"),(0,n.kt)("h4",{id:"gaugeaxistype-2"},"GaugeAxis.type"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#gaugeaxistype"},"GaugeAxisType")),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"None"),": \u4eea\u8868\u76d8\u7c7b\u578b"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Section"),": \u5206\u6bb5"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Progress"),": \u8fdb\u5ea6")),(0,n.kt)("h3",{id:"gaugeaxisline-1"},"GaugeAxisLine"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#baseline"},"BaseLine")),(0,n.kt)("h4",{id:"gaugeaxislinebackgroundcolor-1"},"GaugeAxisLine.backgroundColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Color32(230, 235, 248, 255)")),(0,n.kt)("p",null,"\u8fdb\u5ea6\u6761\u80cc\u666f\u989c\u8272\u3002"),(0,n.kt)("h4",{id:"gaugeaxislinestagecolor-1"},"GaugeAxisLine.stageColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"List<StageColor>")),(0,n.kt)("p",null,"\u9636\u6bb5\u989c\u8272\u3002"),(0,n.kt)("h4",{id:"gaugeaxislinestagegradient-1"},"GaugeAxisLine.stageGradient"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.4.0")),(0,n.kt)("p",null,"\u9636\u6bb5\u989c\u8272\u662f\u5426\u6e10\u53d8\u8fc7\u6e21\u3002"),(0,n.kt)("h3",{id:"gaugepointer-1"},"GaugePointer"),(0,n.kt)("p",null,"class in XCharts.Runtime.Gauges / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#childcomponent"},"ChildComponent")),(0,n.kt)("p",null,"\u4eea\u8868\u76d8\u6307\u9488\u76f8\u5173\u8bbe\u7f6e\u3002"),(0,n.kt)("h4",{id:"gaugepointerautocolor"},"GaugePointer.autoColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("h4",{id:"gaugepointerbackextralength"},"GaugePointer.backExtraLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.05f")),(0,n.kt)("p",null,"\u6307\u9488\u540e\u989d\u5916\u7684\u957f\u5ea6\u3002\u53ef\u4ee5\u662f\u7edd\u5bf9\u503c\uff0c\u4e5f\u53ef\u4ee5\u662f\u76f8\u5bf9\u4e8e\u534a\u5f84\u7684\u767e\u5206\u6bd4\uff080-1\u7684\u6d6e\u70b9\u6570\uff09\u3002"),(0,n.kt)("h4",{id:"gaugepointerbacklength"},"GaugePointer.backLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.05f")),(0,n.kt)("p",null,"\u6307\u9488\u540e\u51f8\u51fa\u7684\u957f\u5ea6\u3002\u53ef\u4ee5\u662f\u7edd\u5bf9\u503c\uff0c\u4e5f\u53ef\u4ee5\u662f\u76f8\u5bf9\u4e8e\u534a\u5f84\u7684\u767e\u5206\u6bd4\uff080-1\u7684\u6d6e\u70b9\u6570\uff09\u3002"),(0,n.kt)("h4",{id:"gaugepointerbottomleftlength"},"GaugePointer.bottomLeftLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.025f")),(0,n.kt)("p",null,"\u6307\u9488\u5e95\u90e8\u5de6\u8fb9\u51f8\u8d77\u957f\u5ea6\u3002\u53ef\u4ee5\u662f\u7edd\u5bf9\u503c\uff0c\u4e5f\u53ef\u4ee5\u662f\u76f8\u5bf9\u4e8e\u534a\u5f84\u7684\u767e\u5206\u6bd4\uff080-1\u7684\u6d6e\u70b9\u6570\uff09\u3002"),(0,n.kt)("h4",{id:"gaugepointerbottomrightlength"},"GaugePointer.bottomRightLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.025f")),(0,n.kt)("p",null,"\u6307\u9488\u5e95\u90e8\u53f3\u8fb9\u51f8\u8d77\u957f\u5ea6\u3002\u53ef\u4ee5\u662f\u7edd\u5bf9\u503c\uff0c\u4e5f\u53ef\u4ee5\u662f\u76f8\u5bf9\u4e8e\u534a\u5f84\u7684\u767e\u5206\u6bd4\uff080-1\u7684\u6d6e\u70b9\u6570\uff09\u3002"),(0,n.kt)("h4",{id:"gaugepointercolor"},"GaugePointer.color"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("h4",{id:"gaugepointercornerradius"},"GaugePointer.cornerRadius"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float[]")),(0,n.kt)("p",null,"\u5706\u89d2\u534a\u5f84\u3002\u7528\u6570\u7ec4\u5206\u522b\u6307\u5b9a4\u4e2a\u5706\u89d2\u534a\u5f84\uff08\u987a\u65f6\u9488\u5de6\u4e0a\uff0c\u53f3\u4e0a\uff0c\u53f3\u4e0b\uff0c\u5de6\u4e0b\uff09\u3002"),(0,n.kt)("h4",{id:"gaugepointerdistance"},"GaugePointer.distance"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")),(0,n.kt)("h4",{id:"gaugepointerlength"},"GaugePointer.length"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.6f")),(0,n.kt)("p",null,"\u6307\u9488\u957f\u5ea6\u3002\u53ef\u4ee5\u662f\u7edd\u5bf9\u503c\uff0c\u4e5f\u53ef\u4ee5\u662f\u76f8\u5bf9\u4e8e\u534a\u5f84\u7684\u767e\u5206\u6bd4\uff080-1\u7684\u6d6e\u70b9\u6570\uff09\u3002"),(0,n.kt)("h4",{id:"gaugepointerroundcap"},"GaugePointer.roundCap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")),(0,n.kt)("h4",{id:"gaugepointershow"},"GaugePointer.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u6307\u9488\u3002"),(0,n.kt)("h4",{id:"gaugepointertocolor"},"GaugePointer.toColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")),(0,n.kt)("h4",{id:"gaugepointertopleftlength"},"GaugePointer.topLeftLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u6307\u9488\u9876\u90e8\u5de6\u8fb9\u51f8\u8d77\u957f\u5ea6\u3002\u53ef\u4ee5\u662f\u7edd\u5bf9\u503c\uff0c\u4e5f\u53ef\u4ee5\u662f\u76f8\u5bf9\u4e8e\u534a\u5f84\u7684\u767e\u5206\u6bd4\uff080-1\u7684\u6d6e\u70b9\u6570\uff09\u3002"),(0,n.kt)("h4",{id:"gaugepointertoprightlength"},"GaugePointer.topRightLength"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0f")),(0,n.kt)("p",null,"\u6307\u9488\u9876\u90e8\u53f3\u8fb9\u51f8\u8d77\u957f\u5ea6\u3002\u53ef\u4ee5\u662f\u7edd\u5bf9\u503c\uff0c\u4e5f\u53ef\u4ee5\u662f\u76f8\u5bf9\u4e8e\u534a\u5f84\u7684\u767e\u5206\u6bd4\uff080-1\u7684\u6d6e\u70b9\u6570\uff09\u3002"),(0,n.kt)("h4",{id:"gaugepointervalue"},"GaugePointer.value"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"double")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("p",null,"\u6307\u9488\u7684\u503c\u3002\u5f53\u4e3a\u65f6\u949f\u4eea\u8868\u76d8\u65f6\uff0c\u53ef\u901a\u8fc7\u6307\u5b9avalue\u503c\u6765\u63a7\u5236\u6307\u9488\u7684\u4f4d\u7f6e\u3002"))}c.isMDXComponent=!0},84597:function(e,a,t){t.d(a,{Z:function(){return g}});var l=t(67294),i=t(76775),n="apiTable_e8hp";function r(e,a){var t=e.name,n=e.children,r=function(e){for(var a=e;(0,l.isValidElement)(a);)a=l.Children.toArray(a.props.children)[0];return a}(n),u=t?t+"-"+r:r,g="#"+u,o=(0,i.k6)();return l.createElement("tr",{id:u,tabIndex:0,ref:o.location.hash===g?a:void 0,onClick:function(e){"A"===e.target.tagName.toUpperCase()||o.push(g)},onKeyDown:function(e){"Enter"===e.key&&o.push(g)}},n.props.children)}var u=l.forwardRef(r);function g(e){var a=e.children,t=e.name,i=l.Children.toArray(a.props.children),r=i[0],g=i[1],o=(0,l.useRef)(null);(0,l.useEffect)((function(){var e;null==(e=o.current)||e.focus()}),[o]);var p=l.Children.map(g.props.children,(function(e){return l.createElement(u,{name:t,ref:o},e)}));return l.createElement("table",{className:n},r,l.createElement("tbody",null,p))}},60854:function(e,a,t){a.Z=t.p+"assets/images/Gauge01-83f9c42768697963284aee3704f92fcd.png"},33177:function(e,a,t){a.Z=t.p+"assets/images/Gauge02-62bed86610ec69ca098aef8fa79075f3.png"},56844:function(e,a,t){a.Z=t.p+"assets/images/Gauge03-a81a0254cb0d2302ee35e8972deaf014.png"},75755:function(e,a,t){a.Z=t.p+"assets/images/Gauge04-7cd34094272de606d5f3034421d0c393.png"},3697:function(e,a,t){a.Z=t.p+"assets/images/Gauge05-dd785e9eba803d6e4e88d7a027787cec.png"},9e4:function(e,a,t){a.Z=t.p+"assets/images/Gauge07-b452aa1cb608e3282b75a29f1eaa4e4a.png"},97371:function(e,a,t){a.Z=t.p+"assets/images/Gauge08-e82c0e4875b9880c989e830b69eb268b.png"},55496:function(e,a,t){a.Z=t.p+"assets/images/Gauge09-b3c9c6ac658f07f7fa8a02ee4dcea6c2.png"},65317:function(e,a,t){a.Z=t.p+"assets/images/Gauge10-ee05f0f10a3052a15f233e5869cc1ba9.png"},20012:function(e,a,t){a.Z=t.p+"assets/images/Gauge11-73674740f876a9e65f062643efcaca46.png"},98794:function(e,a,t){a.Z=t.p+"assets/images/Gauge12-d4702d30b976bbb6638182e4e90ad637.png"},44855:function(e,a,t){a.Z=t.p+"assets/images/Gauge13-42944e57a417ca786e9eab20ba285e12.png"},47059:function(e,a,t){a.Z=t.p+"assets/images/Gauge14-122e300026f8417c32434e9d3b4126d1.png"}}]); \ No newline at end of file diff --git a/en/assets/js/f9676efd.eebbacd7.js b/en/assets/js/f9676efd.eebbacd7.js new file mode 100644 index 00000000..8210f1d5 --- /dev/null +++ b/en/assets/js/f9676efd.eebbacd7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3440],{3905:function(e,t,a){a.d(t,{Zo:function(){return c},kt:function(){return h}});var r=a(67294);function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function i(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){l(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function d(e,t){if(null==e)return{};var a,r,l=function(e,t){if(null==e)return{};var a,r,l={},n=Object.keys(e);for(r=0;r<n.length;r++)a=n[r],t.indexOf(a)>=0||(l[a]=e[a]);return l}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)a=n[r],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}var o=r.createContext({}),p=function(e){var t=r.useContext(o),a=t;return e&&(a="function"==typeof e?e(t):i(i({},t),e)),a},c=function(e){var t=p(e.components);return r.createElement(o.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},k=r.forwardRef((function(e,t){var a=e.components,l=e.mdxType,n=e.originalType,o=e.parentName,c=d(e,["components","mdxType","originalType","parentName"]),k=p(a),h=l,s=k["".concat(o,".").concat(h)]||k[h]||u[h]||n;return a?r.createElement(s,i(i({ref:t},c),{},{components:a})):r.createElement(s,i({ref:t},c))}));function h(e,t){var a=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var n=a.length,i=new Array(n);i[0]=k;var d={};for(var o in t)hasOwnProperty.call(t,o)&&(d[o]=t[o]);d.originalType=e,d.mdxType="string"==typeof e?e:l,i[1]=d;for(var p=2;p<n;p++)i[p]=a[p];return r.createElement.apply(null,i)}return r.createElement.apply(null,a)}k.displayName="MDXCreateElement"},99302:function(e,t,a){a.r(t),a.d(t,{frontMatter:function(){return d},contentTitle:function(){return o},metadata:function(){return p},toc:function(){return c},default:function(){return k}});var r=a(83117),l=a(80102),n=(a(67294),a(3905)),i=(a(84597),["components"]),d={sidebar_position:0,slug:"/bar3d"},o="Bar3DChart 3D\u67f1\u56fe",p={unversionedId:"lang/articles/extra/bar3d",id:"version-v3.12.0/lang/articles/extra/bar3d",title:"Bar3DChart 3D\u67f1\u56fe",description:"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - 3D\u67f1\u56fe\u3002",source:"@site/versioned_docs/version-v3.12.0/lang/articles/extra/bar3d.md",sourceDirName:"lang/articles/extra",slug:"/bar3d",permalink:"/en/docs/bar3d",editUrl:"https://github.com/XCharts-Team/XCharts/edit/master/docs/lang/articles/extra/bar3d.md",tags:[],version:"v3.12.0",lastUpdatedBy:"monitor1394",lastUpdatedAt:1727794641,formattedLastUpdatedAt:"10/1/2024",sidebarPosition:0,frontMatter:{sidebar_position:0,slug:"/bar3d"},sidebar:"langSidebar",previous:{title:"\u6269\u5c55\u56fe\u8868",permalink:"/en/docs/extra"},next:{title:"FunnelChart \u6f0f\u6597\u56fe",permalink:"/en/docs/funnel"}},c=[{value:"\u622a\u56fe",id:"\u622a\u56fe",children:[],level:2},{value:"\u8bb8\u53ef",id:"\u8bb8\u53ef",children:[],level:2},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",children:[],level:2},{value:"\u6559\u7a0b",id:"\u6559\u7a0b",children:[],level:2},{value:"\u6587\u6863",id:"\u6587\u6863",children:[],level:2},{value:"\u65e5\u5fd7",id:"\u65e5\u5fd7",children:[{value:"v3.12.0",id:"v3120",children:[],level:3},{value:"v3.11.0",id:"v3110",children:[],level:3},{value:"v3.10.0",id:"v3100",children:[],level:3},{value:"v3.8.0",id:"v380",children:[],level:3},{value:"v3.6.1",id:"v361",children:[],level:3},{value:"v3.6.0",id:"v360",children:[],level:3},{value:"v3.5.0",id:"v350",children:[],level:3},{value:"v3.4.0",id:"v340",children:[],level:3},{value:"v3.2.0",id:"v320",children:[],level:3},{value:"v3.1.0",id:"v310",children:[],level:3}],level:2},{value:"API",id:"api",children:[{value:"Bar3D",id:"bar3d",children:[{value:"Bar3D.containerIndex",id:"bar3dcontainerindex",children:[],level:4},{value:"Bar3D.containterInstanceId",id:"bar3dcontainterinstanceid",children:[],level:4},{value:"Bar3D.AddDefaultSerie",id:"bar3dadddefaultserie",children:[],level:4},{value:"Bar3D.ConvertSerie",id:"bar3dconvertserie",children:[],level:4}],level:3},{value:"Bar3DChart",id:"bar3dchart",children:[{value:"Bar3DChart.DefaultCylinderChart()",id:"bar3dchartdefaultcylinderchart",children:[],level:4},{value:"Bar3DChart.DefaultCylinderChart",id:"bar3dchartdefaultcylinderchart-1",children:[],level:4},{value:"Bar3DChart.DefaultGroupedCubeChart",id:"bar3dchartdefaultgroupedcubechart",children:[],level:4},{value:"Bar3DChart.DefaultStackedCubeChart",id:"bar3dchartdefaultstackedcubechart",children:[],level:4}],level:3},{value:"Bar3DStyle",id:"bar3dstyle",children:[],level:3},{value:"Bar3DType",id:"bar3dtype",children:[],level:3}],level:2},{value:"\u914d\u7f6e\u9879\u624b\u518c",id:"\u914d\u7f6e\u9879\u624b\u518c",children:[{value:"Bar3D",id:"bar3d-1",children:[{value:"Bar3D.bar3DStyle",id:"bar3dbar3dstyle",children:[],level:4},{value:"Bar3D.bar3DType",id:"bar3dbar3dtype",children:[],level:4}],level:3},{value:"Bar3DStyle",id:"bar3dstyle-1",children:[{value:"Bar3DStyle.barOffset",id:"bar3dstylebaroffset",children:[],level:4},{value:"Bar3DStyle.borderDash",id:"bar3dstyleborderdash",children:[],level:4},{value:"Bar3DStyle.bottomColor",id:"bar3dstylebottomcolor",children:[],level:4},{value:"Bar3DStyle.bottomColorRate",id:"bar3dstylebottomcolorrate",children:[],level:4},{value:"Bar3DStyle.cubeDire",id:"bar3dstylecubedire",children:[],level:4},{value:"Bar3DStyle.cylinderRate",id:"bar3dstylecylinderrate",children:[],level:4},{value:"Bar3DStyle.occludedAreaBorder",id:"bar3dstyleoccludedareaborder",children:[],level:4},{value:"Bar3DStyle.occludedAreaBorderDash",id:"bar3dstyleoccludedareaborderdash",children:[],level:4},{value:"Bar3DStyle.show",id:"bar3dstyleshow",children:[],level:4},{value:"Bar3DStyle.sideColor",id:"bar3dstylesidecolor",children:[],level:4},{value:"Bar3DStyle.sideColorRate",id:"bar3dstylesidecolorrate",children:[],level:4},{value:"Bar3DStyle.topColor",id:"bar3dstyletopcolor",children:[],level:4},{value:"Bar3DStyle.topColorRate",id:"bar3dstyletopcolorrate",children:[],level:4},{value:"Bar3DStyle.verticalArrange",id:"bar3dstyleverticalarrange",children:[],level:4},{value:"Bar3DStyle.verticalArrangeDire",id:"bar3dstyleverticalarrangedire",children:[],level:4},{value:"Bar3DStyle.verticalArrangeGap",id:"bar3dstyleverticalarrangegap",children:[],level:4},{value:"Bar3DStyle.widthRate",id:"bar3dstylewidthrate",children:[],level:4}],level:3}],level:2}],u={toc:c};function k(e){var t=e.components,d=(0,l.Z)(e,i);return(0,n.kt)("wrapper",(0,r.Z)({},u,d,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"bar3dchart-3d\u67f1\u56fe"},"Bar3DChart 3D\u67f1\u56fe"),(0,n.kt)("p",null,"XCharts\u7684\u4ed8\u8d39\u6269\u5c55\u56fe\u8868 - 3D\u67f1\u56fe\u3002"),(0,n.kt)("h2",{id:"\u622a\u56fe"},"\u622a\u56fe"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}),(0,n.kt)("th",{parentName:"tr",align:"center"}))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Bar3D01",src:a(37854).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Bar3D02",src:a(48898).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Bar3D03",src:a(97383).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Bar3D04",src:a(98606).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Bar3D05",src:a(27463).Z,width:"577",height:"490"}))),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Bar3D07",src:a(59830).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Bar3D08",src:a(5695).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Bar3D09",src:a(87251).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"},(0,n.kt)("img",{alt:"Bar3D10",src:a(2534).Z,width:"577",height:"490"})),(0,n.kt)("td",{parentName:"tr",align:"center"})))),(0,n.kt)("h2",{id:"\u8bb8\u53ef"},"\u8bb8\u53ef"),(0,n.kt)("p",null,"\u6269\u5c55\u56fe\u8868\uff0c\u9700\u4ed8\u8d39\u8d2d\u4e70\u540e\u624d\u83b7\u5f97\u4f7f\u7528\u8bb8\u53ef\u3002"),(0,n.kt)("h2",{id:"\u793a\u4f8b"},"\u793a\u4f8b"),(0,n.kt)("p",null,"Demo\u4ed3\u5e93\uff1a",(0,n.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Bar3DChart-Demo"},"XCharts-Bar3DChart-Demo")),(0,n.kt)("h2",{id:"\u6559\u7a0b"},"\u6559\u7a0b"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/XCharts-Team/XCharts-Demo"},"\u6269\u5c55\u56fe\u8868\u5982\u4f55\u5bfc\u5165Demo\u9879\u76ee\u6216\u5bfc\u5165\u81ea\u5df1\u9879\u76ee")),(0,n.kt)("h2",{id:"\u6587\u6863"},"\u6587\u6863"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#api"},"API"),(0,n.kt)("br",{parentName:"p"}),"\n",(0,n.kt)("a",{parentName:"p",href:"#%E9%85%8D%E7%BD%AE%E9%A1%B9%E6%89%8B%E5%86%8C"},"\u914d\u7f6e\u9879\u624b\u518c")," "),(0,n.kt)("h2",{id:"\u65e5\u5fd7"},"\u65e5\u5fd7"),(0,n.kt)("h3",{id:"v3120"},"v3.12.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2024.09.30) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.12.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2024.09.30) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v3110"},"v3.11.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2024.06.16) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.11.0"),"\u7248\u672c")),(0,n.kt)("h3",{id:"v3100"},"v3.10.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.12.16) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Bar3D"),"\u7684\u66f4\u591a\u9ed8\u8ba4\u56fe\u8868\u5feb\u6377\u65b9\u5f0f\u548cAPI"),(0,n.kt)("li",{parentName:"ul"},"(2023.12.16) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Bar3DStyle"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"borderDash"),"\u662f\u5426\u7ed8\u5236\u865a\u7ebf\u8fb9\u6846"),(0,n.kt)("li",{parentName:"ul"},"(2023.12.16) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Bar3DStyle"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"occludedAreaBorderDash"),"\u662f\u5426\u7ed8\u5236\u906e\u6321\u533a\u57df\u7684\u865a\u7ebf\u8fb9\u6846"),(0,n.kt)("li",{parentName:"ul"},"(2023.12.16) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Bar3DStyle"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"occludedAreaBorder"),"\u662f\u5426\u7ed8\u5236\u906e\u6321\u533a\u57df\u7684\u8fb9\u6846"),(0,n.kt)("li",{parentName:"ul"},"(2023.12.16) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Border"),"\u8fb9\u6846\u7ed8\u5236\u652f\u6301")),(0,n.kt)("h3",{id:"v380"},"v3.8.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.07.31) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.8.0"))),(0,n.kt)("h3",{id:"v361"},"v3.6.1"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.06.08) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.6.1"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.06.08) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v360"},"v3.6.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2023.04.01) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.6.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2023.03.09) \u652f\u6301",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieClick")," ",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieDown")," ",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieEnter"),"\u548c",(0,n.kt)("inlineCode",{parentName:"li"},"onSerieExit"),"\u56de\u8c03"),(0,n.kt)("li",{parentName:"ul"},"(2023.02.14) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.6.0")),(0,n.kt)("li",{parentName:"ul"},"(2023.02.14) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Bar3DStyle"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"topColor"),"\u3001",(0,n.kt)("inlineCode",{parentName:"li"},"bottomColor"),"\u548c",(0,n.kt)("inlineCode",{parentName:"li"},"sideColor"),"\u53c2\u6570\u652f\u6301")),(0,n.kt)("h3",{id:"v350"},"v3.5.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.11.29) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"barMaxWidth"),"\u53c2\u6570\u652f\u6301"),(0,n.kt)("li",{parentName:"ul"},"(2022.11.27) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"ItemStyle"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"backgroundColor"),"\u53c2\u6570\u652f\u6301"),(0,n.kt)("li",{parentName:"ul"},"(2022.11.27) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Serie"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"colorBy"),"\u7684\u652f\u6301"),(0,n.kt)("li",{parentName:"ul"},"(2022.11.27) \u66f4\u65b0\u6587\u6863")),(0,n.kt)("h3",{id:"v340"},"v3.4.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.11.01) \u652f\u6301",(0,n.kt)("inlineCode",{parentName:"li"},"Animation"),"\u7684",(0,n.kt)("inlineCode",{parentName:"li"},"unscaledTime")),(0,n.kt)("li",{parentName:"ul"},"(2022.11.01) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.4.0"))),(0,n.kt)("h3",{id:"v320"},"v3.2.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.08.22) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.2.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2022.08.19) \u540c\u6b65",(0,n.kt)("inlineCode",{parentName:"li"},"XCharts v3.2.0"))),(0,n.kt)("h3",{id:"v310"},"v3.1.0"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"(2022.07.14) \u53d1\u5e03",(0,n.kt)("inlineCode",{parentName:"li"},"v3.1.0"),"\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},"(2022.07.14) \u589e\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"bottomColorRate"),",",(0,n.kt)("inlineCode",{parentName:"li"},"cylinderRate"),"\u53c2\u6570"),(0,n.kt)("li",{parentName:"ul"},"(2022.07.14) \u8c03\u6574",(0,n.kt)("inlineCode",{parentName:"li"},"topColorBurnRate"),"\u6539\u540d\u4e3a",(0,n.kt)("inlineCode",{parentName:"li"},"topColorRate")),(0,n.kt)("li",{parentName:"ul"},"(2022.07.14) \u8c03\u6574",(0,n.kt)("inlineCode",{parentName:"li"},"sideColorBurnRate"),"\u6539\u540d\u4e3a",(0,n.kt)("inlineCode",{parentName:"li"},"sideColorRate")),(0,n.kt)("li",{parentName:"ul"},"(2022.07.14) \u8c03\u6574",(0,n.kt)("inlineCode",{parentName:"li"},"dire"),"\u6539\u540d\u4e3a",(0,n.kt)("inlineCode",{parentName:"li"},"cubeDire")),(0,n.kt)("li",{parentName:"ul"},"(2022.07.14) \u652f\u6301",(0,n.kt)("inlineCode",{parentName:"li"},"Cylinder"),"\u5706\u67f1\u548c",(0,n.kt)("inlineCode",{parentName:"li"},"Cube"),"\u7acb\u65b9\u67f1")),(0,n.kt)("h2",{id:"api"},"API"),(0,n.kt)("h3",{id:"bar3d"},"Bar3D"),(0,n.kt)("p",null,"class in XCharts.Runtime.Bar3Ds / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#serie"},"Serie"),",",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("p",null,"3D\u67f1\u56fe\u3002\u652f\u6301\u7acb\u65b9\u67f1\u548c\u5706\u67f1\u3002\u53ef\u6c34\u5e73\u6392\u5217\u548c\u5782\u76f4\u6392\u5217\u3002"),(0,n.kt)("h4",{id:"bar3dcontainerindex"},"Bar3D.containerIndex"),(0,n.kt)("p",null,"public int containerIndex "),(0,n.kt)("h4",{id:"bar3dcontainterinstanceid"},"Bar3D.containterInstanceId"),(0,n.kt)("p",null,"public int containterInstanceId "),(0,n.kt)("h4",{id:"bar3dadddefaultserie"},"Bar3D.AddDefaultSerie"),(0,n.kt)("p",null,"public static Bar3D AddDefaultSerie(BaseChart chart, string serieName) "),(0,n.kt)("h4",{id:"bar3dconvertserie"},"Bar3D.ConvertSerie"),(0,n.kt)("p",null,"public static Bar3D ConvertSerie(Serie serie) "),(0,n.kt)("h3",{id:"bar3dchart"},"Bar3DChart"),(0,n.kt)("p",null,"class in XCharts.Runtime.Bar3Ds / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#basechart"},"BaseChart")),(0,n.kt)("h4",{id:"bar3dchartdefaultcylinderchart"},"Bar3DChart.DefaultCylinderChart()"),(0,n.kt)("p",null,"public void DefaultCylinderChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba4\u7684\u5706\u67f1\u4f53\u56fe\u3002"),(0,n.kt)("h4",{id:"bar3dchartdefaultcylinderchart-1"},"Bar3DChart.DefaultCylinderChart"),(0,n.kt)("p",null,"public void DefaultCylinderChart(){",(0,n.kt)("br",{parentName:"p"}),"\n","\u751f\u6210\u9ed8\u8ba4\u7684\u5706\u67f1\u4f53\u56fe\u3002"),(0,n.kt)("h4",{id:"bar3dchartdefaultgroupedcubechart"},"Bar3DChart.DefaultGroupedCubeChart"),(0,n.kt)("p",null,"public void DefaultGroupedCubeChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5206\u7ec43D\u67f1\u72b6\u56fe\u3002"),(0,n.kt)("h4",{id:"bar3dchartdefaultstackedcubechart"},"Bar3DChart.DefaultStackedCubeChart"),(0,n.kt)("p",null,"public void DefaultStackedCubeChart()",(0,n.kt)("br",{parentName:"p"}),"\n","\u9ed8\u8ba4\u5806\u53e0\u5206\u7ec43D\u67f1\u72b6\u56fe\u3002"),(0,n.kt)("h3",{id:"bar3dstyle"},"Bar3DStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime.Bar3Ds / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/api#childcomponent"},"ChildComponent")),(0,n.kt)("h3",{id:"bar3dtype"},"Bar3DType"),(0,n.kt)("p",null,"class in XCharts.Runtime.Bar3Ds"),(0,n.kt)("p",null,"3D\u67f1\u56fe\u7c7b\u578b\u3002\u5206\u4e3a\u7acb\u65b9\u67f1\u548c\u5706\u67f1\u3002"),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Cube"),": \u7acb\u65b9\u67f1\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Cylinder"),": \u5706\u67f1\u3002")),(0,n.kt)("h2",{id:"\u914d\u7f6e\u9879\u624b\u518c"},"\u914d\u7f6e\u9879\u624b\u518c"),(0,n.kt)("h3",{id:"bar3d-1"},"Bar3D"),(0,n.kt)("p",null,"class in XCharts.Runtime.Bar3Ds / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#serie"},"Serie"),", ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#ineedseriecontainer"},"INeedSerieContainer")),(0,n.kt)("p",null,"3D\u67f1\u56fe\u3002\u652f\u6301\u7acb\u65b9\u67f1\u548c\u5706\u67f1\u3002\u53ef\u6c34\u5e73\u6392\u5217\u548c\u5782\u76f4\u6392\u5217\u3002"),(0,n.kt)("h4",{id:"bar3dbar3dstyle"},"Bar3D.bar3DStyle"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#bar3dstyle"},"Bar3DStyle")),(0,n.kt)("h4",{id:"bar3dbar3dtype"},"Bar3D.bar3DType"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"#bar3dtype"},"Bar3DType")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.1.0")),(0,n.kt)("p",null,"\u53ef\u9009\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Cube"),": \u7acb\u65b9\u67f1\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"Cylinder"),": \u5706\u67f1\u3002")),(0,n.kt)("h3",{id:"bar3dstyle-1"},"Bar3DStyle"),(0,n.kt)("p",null,"class in XCharts.Runtime.Bar3Ds / \u7ee7\u627f\u81ea: ",(0,n.kt)("a",{parentName:"p",href:"https://xcharts-team.github.io/docs/configuration#childcomponent"},"ChildComponent")),(0,n.kt)("h4",{id:"bar3dstylebaroffset"},"Bar3DStyle.barOffset"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Vector3")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Vector3.zero")),(0,n.kt)("p",null,"\u67f1\u5b50\u504f\u79fb\u3002"),(0,n.kt)("h4",{id:"bar3dstyleborderdash"},"Bar3DStyle.borderDash"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u865a\u7ebf\u8fb9\u6846\u3002"),(0,n.kt)("h4",{id:"bar3dstylebottomcolor"},"Bar3DStyle.bottomColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("h4",{id:"bar3dstylebottomcolorrate"},"Bar3DStyle.bottomColorRate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"1f")),(0,n.kt)("p",null,"\u67f1\u5b50\u5e95\u90e8\u76f8\u5bf9\u6b63\u9762\u7684\u989c\u8272\u6bd4\u4f8b\u3002"),(0,n.kt)("h4",{id:"bar3dstylecubedire"},"Bar3DStyle.cubeDire"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Vector3")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Vector3(1, 1)")),(0,n.kt)("p",null,"\u65b9\u5f62\u67f1\u5f62\u62103D\u6548\u679c\u7684\u65b9\u5411\u3002"),(0,n.kt)("h4",{id:"bar3dstylecylinderrate"},"Bar3DStyle.cylinderRate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.5f")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.1.0")),(0,n.kt)("p",null,"\u5706\u67f1\u7684\u9876\u90e8\u692d\u5706\u6bd4\u5217\u3002"),(0,n.kt)("h4",{id:"bar3dstyleoccludedareaborder"},"Bar3DStyle.occludedAreaBorder"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u906e\u6321\u533a\u57df\u7684\u8fb9\u6846\u3002"),(0,n.kt)("h4",{id:"bar3dstyleoccludedareaborderdash"},"Bar3DStyle.occludedAreaBorderDash"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.10.0")),(0,n.kt)("p",null,"\u662f\u5426\u663e\u793a\u906e\u6321\u533a\u57df\u7684\u865a\u7ebf\u8fb9\u6846\u3002"),(0,n.kt)("h4",{id:"bar3dstyleshow"},"Bar3DStyle.show"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"true")),(0,n.kt)("h4",{id:"bar3dstylesidecolor"},"Bar3DStyle.sideColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("h4",{id:"bar3dstylesidecolorrate"},"Bar3DStyle.sideColorRate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.7f")),(0,n.kt)("p",null,"\u65b9\u5f62\u67f1\u4fa7\u8fb9\u76f8\u5bf9\u6b63\u9762\u7684\u989c\u8272\u6bd4\u4f8b\u3002"),(0,n.kt)("h4",{id:"bar3dstyletopcolor"},"Bar3DStyle.topColor"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Color32")," ",(0,n.kt)("inlineCode",{parentName:"p"},"v3.6.0")),(0,n.kt)("h4",{id:"bar3dstyletopcolorrate"},"Bar3DStyle.topColorRate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.8f")),(0,n.kt)("p",null,"\u67f1\u5b50\u9876\u90e8\u76f8\u5bf9\u6b63\u9762\u7684\u989c\u8272\u6bd4\u4f8b\u3002"),(0,n.kt)("h4",{id:"bar3dstyleverticalarrange"},"Bar3DStyle.verticalArrange"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"bool")," ",(0,n.kt)("inlineCode",{parentName:"p"},"false")),(0,n.kt)("p",null,"\u662f\u5426\u5782\u76f4\u6392\u5217\u3002"),(0,n.kt)("h4",{id:"bar3dstyleverticalarrangedire"},"Bar3DStyle.verticalArrangeDire"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Vector3")," ",(0,n.kt)("inlineCode",{parentName:"p"},"Vector3(-1, 1)")),(0,n.kt)("p",null,"\u5782\u76f4\u6392\u5217\u65f6\u7684\u65b9\u5411\u3002"),(0,n.kt)("h4",{id:"bar3dstyleverticalarrangegap"},"Bar3DStyle.verticalArrangeGap"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.5f")),(0,n.kt)("p",null,"\u5782\u76f4\u6392\u5217\u65f6\u4e24\u4e2a\u67f1\u5b50\u95f4\u7684\u95f4\u9699\u3002"),(0,n.kt)("h4",{id:"bar3dstylewidthrate"},"Bar3DStyle.widthRate"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"float")," ",(0,n.kt)("inlineCode",{parentName:"p"},"0.5f")),(0,n.kt)("p",null,"\u65b9\u5f62\u67f1\u4fa7\u8fb9\u5bbd\u5ea6\u76f8\u5bf9\u6b63\u9762\u7684\u6bd4\u4f8b\u3002"))}k.isMDXComponent=!0},84597:function(e,t,a){a.d(t,{Z:function(){return o}});var r=a(67294),l=a(76775),n="apiTable_e8hp";function i(e,t){var a=e.name,n=e.children,i=function(e){for(var t=e;(0,r.isValidElement)(t);)t=r.Children.toArray(t.props.children)[0];return t}(n),d=a?a+"-"+i:i,o="#"+d,p=(0,l.k6)();return r.createElement("tr",{id:d,tabIndex:0,ref:p.location.hash===o?t:void 0,onClick:function(e){"A"===e.target.tagName.toUpperCase()||p.push(o)},onKeyDown:function(e){"Enter"===e.key&&p.push(o)}},n.props.children)}var d=r.forwardRef(i);function o(e){var t=e.children,a=e.name,l=r.Children.toArray(t.props.children),i=l[0],o=l[1],p=(0,r.useRef)(null);(0,r.useEffect)((function(){var e;null==(e=p.current)||e.focus()}),[p]);var c=r.Children.map(o.props.children,(function(e){return r.createElement(d,{name:a,ref:p},e)}));return r.createElement("table",{className:n},i,r.createElement("tbody",null,c))}},37854:function(e,t,a){t.Z=a.p+"assets/images/Bar3D01-ca27619e7dd6e9fa619b5feb0ae94246.png"},48898:function(e,t,a){t.Z=a.p+"assets/images/Bar3D02-e6ec854123c35f3c0a598130f2c979c1.png"},97383:function(e,t,a){t.Z=a.p+"assets/images/Bar3D03-f1836bbf106ff9cfab3c5c94828c1d88.png"},98606:function(e,t,a){t.Z=a.p+"assets/images/Bar3D04-efaa4664aec060d6ae9e99e1be051d2f.png"},27463:function(e,t,a){t.Z=a.p+"assets/images/Bar3D05-a405c699580b46ac2dbac6c5ed6f1f4e.png"},59830:function(e,t,a){t.Z=a.p+"assets/images/Bar3D07-44dd2b21a40d6e86aea7beed45640464.png"},5695:function(e,t,a){t.Z=a.p+"assets/images/Bar3D08-3309b84da3b32f9f31197570361a30b5.png"},87251:function(e,t,a){t.Z=a.p+"assets/images/Bar3D09-3317e6a99f8847b8b5734212bee826a7.png"},2534:function(e,t,a){t.Z=a.p+"assets/images/Bar3D10-c4817f449a2539e40aa56efefb87a887.png"}}]); \ No newline at end of file diff --git a/en/assets/js/main.442a8566.js b/en/assets/js/main.442a8566.js new file mode 100644 index 00000000..4de4642c --- /dev/null +++ b/en/assets/js/main.442a8566.js @@ -0,0 +1,2 @@ +/*! For license information please see main.442a8566.js.LICENSE.txt */ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[179],{99782:function(e,t,n){"use strict";n.r(t),t.default={title:"XCharts",tagline:"A charting and data visualization library for Unity.",url:"http://XCharts-Team.github.io",baseUrl:"/en/",onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",favicon:"img/black_or_white.png",organizationName:"XCharts-Team",projectName:"XCharts",plugins:["docusaurus-plugin-sass",null,null,"/Users/xiaomo/work/project/xcharts-team.github.io/website/plugins/docusaurus-plugin-hotjar",["/Users/xiaomo/work/project/xcharts-team.github.io/website/plugins/autoapi-plugin",{path:"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api",include:"**/*.html",route:"api/",allowVersions:["v3.12.0","v3.11.2","v3.10.2","v3.9.0","v3.8.1","v3.7.0","v3.6.0","v3.5.0"],current:"master"}],["/Users/xiaomo/work/project/xcharts-team.github.io/website/plugins/blog-enhance-plugin",{postsPerPage:10,blogTitle:"XCharts Blogs"}],["/Users/xiaomo/work/project/xcharts-team.github.io/website/plugins/blog-enhance-plugin",{id:"newsletter",postsPerPage:10,path:"newsletter",routeBasePath:"newsletter",blogTitle:"XCharts Newsletter",blogDescription:"Newsletter",showReadingTime:!1}],["/Users/xiaomo/work/project/xcharts-team.github.io/website/plugins/docs-enhance-plugin",{routeBasePath:"/docs",path:"docs",editCurrentVersion:!0,sidebarPath:"/Users/xiaomo/work/project/xcharts-team.github.io/website/sidebars.js",showLastUpdateAuthor:!0,showLastUpdateTime:!0,versions:{current:{label:"master",path:"master"}},remarkPlugins:[[null,{fail:!1}],[null,{prefix:"fragments",fail:!1}]]}]],i18n:{defaultLocale:"zh-Hans",locales:["zh-Hans","en"],localeConfigs:{}},themeConfig:{hideableSidebar:!0,prism:{defaultLanguage:"csharp",additionalLanguages:["csharp"],theme:{plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},darkTheme:{plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]}},hotjar:{siteId:"2765142"},navbar:{title:null,hideOnScroll:!1,logo:{alt:"XCharts",src:"img/black_logo.png",srcDark:"img/white_logo.png",href:"https://github.com/XCharts-Team/XCharts"},items:[{to:"/docs",position:"right",label:"Doc Home",className:"animated-anchor-link"},{label:"Resources",position:"right",items:[{to:"/blog",label:"Blogs"},{to:"/blog",label:"Blogs"}]},{label:"Community",position:"right",items:[{to:"/community",label:"Community",activeBaseRegex:"/community/"},{to:"/acknowledgments",label:"Acknowledgments"}]},{type:"docsVersionDropdown",position:"right",dropdownItemsBefore:[],dropdownItemsAfter:[],dropdownActiveClassDisabled:!0,docsPluginId:"default"}]},footer:{style:"dark",links:[{title:"Resources",items:[{label:"Community",to:"/community"},{label:"Documentation",to:"/docs"},{label:"Forum",href:"https://github.com/XCharts-Team/XCharts"}]},{title:"Company",items:[{label:"About Us",href:"https://github.com/XCharts-Team"},{label:"Careers",href:"https://github.com/XCharts-Team"},{label:"Contact",href:"https://github.com/XCharts-Team"}]},{title:"Legal",items:[{label:"Cookie Policy",href:"https://github.com/XCharts-Team"},{label:"Privacy Policy",href:"https://github.com/XCharts-Team/XCharts"}]}],copyright:"Copyright \xa9 2024 XCharts Technology, Inc."},algolia:{appId:"6YGEX22RUU",apiKey:"15066da00423facdeb39bd6e082db68c",indexName:"xcharts-teamio",contextualSearch:!0,searchParameters:{}},colorMode:{defaultMode:"dark",respectPrefersColorScheme:!1,switchConfig:{darkIcon:"\ud83c\udf19",lightIcon:"\u2600\ufe0f",darkIconStyle:{},lightIconStyle:{}},disableSwitch:!1},docs:{versionPersistence:"localStorage"},metadata:[],autoCollapseSidebarCategories:!1,tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},themes:["/Users/xiaomo/work/project/xcharts-team.github.io/website/plugins/docusaurus-theme-extends/src"],presets:[["@docusaurus/preset-classic",{docs:!1,blog:!1,gtag:{trackingID:"G-9K17QVGTR6",anonymizeIP:!0},theme:{customCss:"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/css/custom.css"}}]],customFields:{blogUrl:"/blog",localeUrls:{"fr-FR":"/fr-FR","zh-Hans":"/",en:"/en"}},baseUrlIssueBanner:!0,onDuplicateRoutes:"warn",staticDirectories:["static"],titleDelimiter:"|",noIndex:!1}},95805:function(e,t,n){"use strict";var r=n(67294),a=n(73935),o=n(73727),i=n(68356),s=n.n(i);function l(e){var t=e.error,n=e.retry,a=e.pastDelay;return t?r.createElement("div",{style:{align:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"}},r.createElement("p",null,t.message),r.createElement("div",null,r.createElement("button",{type:"button",onClick:n},"Retry"))):a?r.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"}},r.createElement("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb"},r.createElement("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2"},r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"8"},r.createElement("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}))))):null}var c=JSON.parse('{"/en/acknowledgments-9f8":{"component":"1f391b9e","content":"9a6c8fee"},"/en/api/-723":{"component":"91a1c8ba","__content":"4b62531f","__title":"463bdb2b","__version":"b85074aa","__sidebar":"86e87435","__toc":"1e7664cb","__path":"717f403f"},"/en/api/master/-8ec":{"component":"91a1c8ba","__content":"d6e23382","__title":"4275b1b4","__version":"1f416af2","__sidebar":"e4ec0983","__toc":"60a5cd7b","__path":"b5003c20"},"/en/api/v3.10.2/-d19":{"component":"91a1c8ba","__content":"f1b9a032","__title":"85cde48e","__version":"d433dfcf","__sidebar":"06b3902f","__toc":"e218c249","__path":"0e79e7ad"},"/en/api/v3.11.2/-dde":{"component":"91a1c8ba","__content":"fc7855f2","__title":"73754ea4","__version":"0fe29b8b","__sidebar":"f6b55758","__toc":"b4962e4d","__path":"bfdfd19f"},"/en/api/v3.5.0/-941":{"component":"91a1c8ba","__content":"1d960048","__title":"e913dccc","__version":"47137878","__sidebar":"ecc5a1b0","__toc":"dc295080","__path":"556925f6"},"/en/api/v3.6.0/-f87":{"component":"91a1c8ba","__content":"edff5018","__title":"5ca33a59","__version":"75da09e2","__sidebar":"fcb13733","__toc":"4fcb4d83","__path":"cdf592f9"},"/en/api/v3.7.0/-79b":{"component":"91a1c8ba","__content":"305b5d7f","__title":"671093e8","__version":"429c4dc1","__sidebar":"06669c61","__toc":"37093706","__path":"0c751418"},"/en/api/v3.8.1/-81e":{"component":"91a1c8ba","__content":"6cf2b940","__title":"3e90d8e2","__version":"8d9e9f31","__sidebar":"f70958ec","__toc":"34d09112","__path":"8eddbe9d"},"/en/api/v3.9.0/-f6d":{"component":"91a1c8ba","__content":"ea94ad11","__title":"5f33186c","__version":"b2fdb119","__sidebar":"28a07f2a","__toc":"af87715e","__path":"6f928cfb"},"/en/blog-28c":{"component":"a6aa9e1f","sidebar":"814f3328","items":[{"content":"0b2276d6"}],"metadata":"fba6c282"},"/en/blog/archive-133":{"component":"9e4087bc","archive":"f6cbeee1"},"/en/blog/blog-en-1-5f3":{"component":"ccc49370","sidebar":"814f3328","content":"45cfe9de"},"/en/blog/tags-1b8":{"component":"01a85c17","sidebar":"814f3328","tags":"9bdd22eb"},"/en/blog/tags/advanced-c1e":{"component":"6875c492","sidebar":"814f3328","items":[{"content":"0b2276d6"}],"metadata":"1cbcb4a6"},"/en/blog/tags/beginner-7d6":{"component":"6875c492","sidebar":"814f3328","items":[{"content":"0b2276d6"}],"metadata":"61b55826"},"/en/blog/tags/image-processing-26f":{"component":"6875c492","sidebar":"814f3328","items":[{"content":"0b2276d6"}],"metadata":"afdec8d7"},"/en/blog/tags/tutorial-108":{"component":"6875c492","sidebar":"814f3328","items":[{"content":"0b2276d6"}],"metadata":"565638f3"},"/en/community-27c":{"component":"1f391b9e","content":"e7b22fe0"},"/en/contact-us-69e":{"component":"1f391b9e","content":"9731ed60"},"/en/docs-d37":{"component":"6977494c","sidebar":"d0338a12"},"/en/examples/-354":{"component":"4a367eab","config":"5e9f5e1a"},"/en/help-us-translate-713":{"component":"1f391b9e","content":"062163c2"},"/en/newsletter-112":{"component":"a6aa9e1f","sidebar":"97c29f4a","items":[{"content":"151e2d93"}],"metadata":"b6baf6db"},"/en/newsletter/2022/12/newsletter2212-934":{"component":"ccc49370","sidebar":"97c29f4a","content":"21c47bc4"},"/en/newsletter/archive-3ef":{"component":"9e4087bc","archive":"f38bb537"},"/en/search-730":{"component":"1a4e3797"},"/en/user-stories/-022":{"component":"52baeca4","config":"5e9f5e1a"},"/en/docs/master-e60":{"component":"1be78505","versionMetadata":"935f2afb"},"/en/docs/master/about-042":{"component":"17896441","content":"241855ee"},"/en/docs/master/api-24e":{"component":"17896441","content":"b37fd7e5"},"/en/docs/master/bar3d-a97":{"component":"17896441","content":"12bd9b04"},"/en/docs/master/changelog-9ef":{"component":"17896441","content":"4dfb9136"},"/en/docs/master/configuration-4b3":{"component":"17896441","content":"40247295"},"/en/docs/master/extra-568":{"component":"17896441","content":"50dabb5d"},"/en/docs/master/faq-4da":{"component":"17896441","content":"9e8d335c"},"/en/docs/master/funnel-c1a":{"component":"17896441","content":"c8d6b1e1"},"/en/docs/master/gantt-446":{"component":"17896441","content":"b4676ab6"},"/en/docs/master/gauge-526":{"component":"17896441","content":"977aef28"},"/en/docs/master/graph-a42":{"component":"17896441","content":"29abe6b0"},"/en/docs/master/inputsystem-94c":{"component":"17896441","content":"957623b6"},"/en/docs/master/lang/articles/ui/ui_statistic-b91":{"component":"17896441","content":"aecb7363"},"/en/docs/master/lang/articles/ui/ui_table-fdf":{"component":"17896441","content":"aff6dcac"},"/en/docs/master/line3d-6ea":{"component":"17896441","content":"9c0314cd"},"/en/docs/master/liquid-db9":{"component":"17896441","content":"8745b4bf"},"/en/docs/master/pictorialbar-f19":{"component":"17896441","content":"9c86b1c3"},"/en/docs/master/pie3d-3df":{"component":"17896441","content":"4c69d450"},"/en/docs/master/pyramid-cde":{"component":"17896441","content":"90628bba"},"/en/docs/master/sankey-753":{"component":"17896441","content":"78b2a8f7"},"/en/docs/master/support-4b9":{"component":"17896441","content":"b87d287e"},"/en/docs/master/treemap-6ec":{"component":"17896441","content":"237f2966"},"/en/docs/master/tutorial01-0f3":{"component":"17896441","content":"97524ec3"},"/en/docs/master/tutorial02-8d2":{"component":"17896441","content":"7f86b971"},"/en/docs/master/tutorial03-b7c":{"component":"17896441","content":"75662a14"},"/en/docs/master/ui-775":{"component":"17896441","content":"50572ff0"},"/en/docs/v3.10.2-05c":{"component":"1be78505","versionMetadata":"f16045ef"},"/en/docs/v3.10.2/about-08f":{"component":"17896441","content":"c9ff6b20"},"/en/docs/v3.10.2/api-bbe":{"component":"17896441","content":"36b7cc20"},"/en/docs/v3.10.2/bar3d-760":{"component":"17896441","content":"84995476"},"/en/docs/v3.10.2/changelog-8a6":{"component":"17896441","content":"9875289a"},"/en/docs/v3.10.2/configuration-3d0":{"component":"17896441","content":"3ffa4b16"},"/en/docs/v3.10.2/extra-01d":{"component":"17896441","content":"cf87da48"},"/en/docs/v3.10.2/faq-eb6":{"component":"17896441","content":"f345d982"},"/en/docs/v3.10.2/funnel-fb4":{"component":"17896441","content":"64570554"},"/en/docs/v3.10.2/gantt-4cc":{"component":"17896441","content":"2f00e57f"},"/en/docs/v3.10.2/gauge-d63":{"component":"17896441","content":"d074df72"},"/en/docs/v3.10.2/inputsystem-93e":{"component":"17896441","content":"ab83aed5"},"/en/docs/v3.10.2/lang/articles/ui/ui_statistic-613":{"component":"17896441","content":"57a11582"},"/en/docs/v3.10.2/lang/articles/ui/ui_table-2c1":{"component":"17896441","content":"0807d87e"},"/en/docs/v3.10.2/liquid-c33":{"component":"17896441","content":"f1be0c77"},"/en/docs/v3.10.2/pictorialbar-525":{"component":"17896441","content":"6e9edefd"},"/en/docs/v3.10.2/pie3d-c6d":{"component":"17896441","content":"26b7391c"},"/en/docs/v3.10.2/pyramid-dd1":{"component":"17896441","content":"0c883a7d"},"/en/docs/v3.10.2/sankey-c29":{"component":"17896441","content":"69736b62"},"/en/docs/v3.10.2/support-1cc":{"component":"17896441","content":"af993462"},"/en/docs/v3.10.2/treemap-512":{"component":"17896441","content":"e512dd15"},"/en/docs/v3.10.2/tutorial01-227":{"component":"17896441","content":"775489ce"},"/en/docs/v3.10.2/tutorial02-44f":{"component":"17896441","content":"316bdc3e"},"/en/docs/v3.10.2/tutorial03-c4b":{"component":"17896441","content":"926f1670"},"/en/docs/v3.10.2/ui-4a7":{"component":"17896441","content":"8272fa28"},"/en/docs/v3.11.2-731":{"component":"1be78505","versionMetadata":"5ac1295d"},"/en/docs/v3.11.2/about-adc":{"component":"17896441","content":"53424fa2"},"/en/docs/v3.11.2/api-875":{"component":"17896441","content":"7fc30b75"},"/en/docs/v3.11.2/bar3d-9e9":{"component":"17896441","content":"dda2dc85"},"/en/docs/v3.11.2/changelog-e41":{"component":"17896441","content":"33375e22"},"/en/docs/v3.11.2/configuration-29c":{"component":"17896441","content":"65cfe503"},"/en/docs/v3.11.2/extra-6b8":{"component":"17896441","content":"aa9d8acd"},"/en/docs/v3.11.2/faq-88a":{"component":"17896441","content":"ed6c4718"},"/en/docs/v3.11.2/funnel-6fb":{"component":"17896441","content":"b8e8b238"},"/en/docs/v3.11.2/gantt-b5f":{"component":"17896441","content":"d972a4f7"},"/en/docs/v3.11.2/gauge-42b":{"component":"17896441","content":"de6d5860"},"/en/docs/v3.11.2/graph-db6":{"component":"17896441","content":"b1f38343"},"/en/docs/v3.11.2/inputsystem-142":{"component":"17896441","content":"4b628775"},"/en/docs/v3.11.2/lang/articles/ui/ui_statistic-88b":{"component":"17896441","content":"30896c49"},"/en/docs/v3.11.2/lang/articles/ui/ui_table-949":{"component":"17896441","content":"f5cc76a7"},"/en/docs/v3.11.2/line3d-48b":{"component":"17896441","content":"274aea74"},"/en/docs/v3.11.2/liquid-b78":{"component":"17896441","content":"3375c64a"},"/en/docs/v3.11.2/pictorialbar-e96":{"component":"17896441","content":"01f79f8c"},"/en/docs/v3.11.2/pie3d-5aa":{"component":"17896441","content":"90faf82c"},"/en/docs/v3.11.2/pyramid-f8d":{"component":"17896441","content":"0b2baf8d"},"/en/docs/v3.11.2/sankey-1ba":{"component":"17896441","content":"399acd3b"},"/en/docs/v3.11.2/support-1d5":{"component":"17896441","content":"9bcf082a"},"/en/docs/v3.11.2/treemap-210":{"component":"17896441","content":"4e6e83f6"},"/en/docs/v3.11.2/tutorial01-99b":{"component":"17896441","content":"d661796d"},"/en/docs/v3.11.2/tutorial02-26c":{"component":"17896441","content":"7187f4a4"},"/en/docs/v3.11.2/tutorial03-982":{"component":"17896441","content":"3093e60d"},"/en/docs/v3.11.2/ui-004":{"component":"17896441","content":"60e5d4c0"},"/en/docs/v3.5.0-448":{"component":"1be78505","versionMetadata":"0ce0cd0c"},"/en/docs/v3.5.0/about-de1":{"component":"17896441","content":"bee5bae5"},"/en/docs/v3.5.0/api-ff5":{"component":"17896441","content":"d56e6f60"},"/en/docs/v3.5.0/bar3d-6f2":{"component":"17896441","content":"cfbb06ca"},"/en/docs/v3.5.0/changelog-708":{"component":"17896441","content":"25b591c6"},"/en/docs/v3.5.0/configuration-473":{"component":"17896441","content":"54b4ef9f"},"/en/docs/v3.5.0/faq-810":{"component":"17896441","content":"f018e9c8"},"/en/docs/v3.5.0/funnel-6ec":{"component":"17896441","content":"4c36f7cd"},"/en/docs/v3.5.0/gantt-c88":{"component":"17896441","content":"d0ac207d"},"/en/docs/v3.5.0/gauge-589":{"component":"17896441","content":"e7aa5905"},"/en/docs/v3.5.0/liquid-26b":{"component":"17896441","content":"635b1501"},"/en/docs/v3.5.0/pictorialbar-dc7":{"component":"17896441","content":"ba658ce7"},"/en/docs/v3.5.0/pie3d-eb9":{"component":"17896441","content":"1a9cc015"},"/en/docs/v3.5.0/pyramid-556":{"component":"17896441","content":"989109fe"},"/en/docs/v3.5.0/support-129":{"component":"17896441","content":"1cc3cec9"},"/en/docs/v3.5.0/treemap-5de":{"component":"17896441","content":"b55bea4d"},"/en/docs/v3.5.0/tutorial01-5d3":{"component":"17896441","content":"25c9e43b"},"/en/docs/v3.5.0/tutorial02-f1d":{"component":"17896441","content":"510d4385"},"/en/docs/v3.5.0/tutorial03-c53":{"component":"17896441","content":"6b5a19b3"},"/en/docs/v3.6.0-bec":{"component":"1be78505","versionMetadata":"feaf451d"},"/en/docs/v3.6.0/about-59d":{"component":"17896441","content":"853d6eef"},"/en/docs/v3.6.0/api-504":{"component":"17896441","content":"ccdc331a"},"/en/docs/v3.6.0/bar3d-231":{"component":"17896441","content":"1107bf75"},"/en/docs/v3.6.0/changelog-f60":{"component":"17896441","content":"d90bda9a"},"/en/docs/v3.6.0/configuration-ce2":{"component":"17896441","content":"795362f1"},"/en/docs/v3.6.0/extra-bf1":{"component":"17896441","content":"a031f49a"},"/en/docs/v3.6.0/faq-e45":{"component":"17896441","content":"07e5f9de"},"/en/docs/v3.6.0/funnel-256":{"component":"17896441","content":"db8591c4"},"/en/docs/v3.6.0/gantt-459":{"component":"17896441","content":"39f00e4b"},"/en/docs/v3.6.0/gauge-5bb":{"component":"17896441","content":"ce421672"},"/en/docs/v3.6.0/inputsystem-5b3":{"component":"17896441","content":"b0f5cc57"},"/en/docs/v3.6.0/lang/articles/ui/ui_statistic-8ff":{"component":"17896441","content":"06d7b024"},"/en/docs/v3.6.0/lang/articles/ui/ui_table-694":{"component":"17896441","content":"b0db3eed"},"/en/docs/v3.6.0/liquid-b49":{"component":"17896441","content":"7c66270b"},"/en/docs/v3.6.0/pictorialbar-2b6":{"component":"17896441","content":"9d4880e7"},"/en/docs/v3.6.0/pie3d-568":{"component":"17896441","content":"a0438807"},"/en/docs/v3.6.0/pyramid-9ab":{"component":"17896441","content":"3fed8774"},"/en/docs/v3.6.0/support-9fa":{"component":"17896441","content":"2f375d82"},"/en/docs/v3.6.0/treemap-5b1":{"component":"17896441","content":"4d6bfb64"},"/en/docs/v3.6.0/tutorial01-078":{"component":"17896441","content":"7e965016"},"/en/docs/v3.6.0/tutorial02-32a":{"component":"17896441","content":"e897118b"},"/en/docs/v3.6.0/tutorial03-4e5":{"component":"17896441","content":"fbb33262"},"/en/docs/v3.6.0/ui-3cb":{"component":"17896441","content":"c0182217"},"/en/docs/v3.7.0-627":{"component":"1be78505","versionMetadata":"1bf6fa0b"},"/en/docs/v3.7.0/about-a68":{"component":"17896441","content":"0107a9e4"},"/en/docs/v3.7.0/api-45c":{"component":"17896441","content":"12c9458b"},"/en/docs/v3.7.0/bar3d-ddf":{"component":"17896441","content":"aff05561"},"/en/docs/v3.7.0/changelog-afd":{"component":"17896441","content":"cdcd2ab4"},"/en/docs/v3.7.0/configuration-11a":{"component":"17896441","content":"ad3ca912"},"/en/docs/v3.7.0/extra-44f":{"component":"17896441","content":"33d21e66"},"/en/docs/v3.7.0/faq-914":{"component":"17896441","content":"91629bdd"},"/en/docs/v3.7.0/funnel-d83":{"component":"17896441","content":"179d1783"},"/en/docs/v3.7.0/gantt-a8c":{"component":"17896441","content":"b0957ed4"},"/en/docs/v3.7.0/gauge-32f":{"component":"17896441","content":"cad8270c"},"/en/docs/v3.7.0/inputsystem-e27":{"component":"17896441","content":"d1258d46"},"/en/docs/v3.7.0/lang/articles/ui/ui_statistic-f0b":{"component":"17896441","content":"e7fae69c"},"/en/docs/v3.7.0/lang/articles/ui/ui_table-4c2":{"component":"17896441","content":"13548b0e"},"/en/docs/v3.7.0/liquid-f76":{"component":"17896441","content":"d7623852"},"/en/docs/v3.7.0/pictorialbar-b4f":{"component":"17896441","content":"9cb9472a"},"/en/docs/v3.7.0/pie3d-9ee":{"component":"17896441","content":"cbdd9883"},"/en/docs/v3.7.0/pyramid-93e":{"component":"17896441","content":"9bb822d1"},"/en/docs/v3.7.0/support-8b3":{"component":"17896441","content":"35cbd37a"},"/en/docs/v3.7.0/treemap-ff7":{"component":"17896441","content":"dfc50f4d"},"/en/docs/v3.7.0/tutorial01-8aa":{"component":"17896441","content":"b15063cb"},"/en/docs/v3.7.0/tutorial02-42a":{"component":"17896441","content":"0a576633"},"/en/docs/v3.7.0/tutorial03-c7f":{"component":"17896441","content":"81de59db"},"/en/docs/v3.7.0/ui-aac":{"component":"17896441","content":"2ed37b6a"},"/en/docs/v3.8.1-40c":{"component":"1be78505","versionMetadata":"15e36259"},"/en/docs/v3.8.1/about-6b2":{"component":"17896441","content":"13cbcf42"},"/en/docs/v3.8.1/api-9a0":{"component":"17896441","content":"8f6e2a4a"},"/en/docs/v3.8.1/bar3d-019":{"component":"17896441","content":"bc69d3a5"},"/en/docs/v3.8.1/changelog-1fe":{"component":"17896441","content":"80c593df"},"/en/docs/v3.8.1/configuration-656":{"component":"17896441","content":"c0c5927d"},"/en/docs/v3.8.1/extra-4f4":{"component":"17896441","content":"56f0943a"},"/en/docs/v3.8.1/faq-a70":{"component":"17896441","content":"a80a8174"},"/en/docs/v3.8.1/funnel-1b5":{"component":"17896441","content":"a5bce4c8"},"/en/docs/v3.8.1/gantt-5c2":{"component":"17896441","content":"88fb3acf"},"/en/docs/v3.8.1/gauge-c50":{"component":"17896441","content":"e4892bae"},"/en/docs/v3.8.1/inputsystem-efe":{"component":"17896441","content":"37b35207"},"/en/docs/v3.8.1/lang/articles/ui/ui_statistic-1d8":{"component":"17896441","content":"6979be4b"},"/en/docs/v3.8.1/lang/articles/ui/ui_table-c36":{"component":"17896441","content":"da3e4625"},"/en/docs/v3.8.1/liquid-144":{"component":"17896441","content":"f14aef11"},"/en/docs/v3.8.1/pictorialbar-9f8":{"component":"17896441","content":"47e22724"},"/en/docs/v3.8.1/pie3d-482":{"component":"17896441","content":"4e7c458f"},"/en/docs/v3.8.1/pyramid-4d5":{"component":"17896441","content":"a76029b2"},"/en/docs/v3.8.1/support-ab6":{"component":"17896441","content":"92a26795"},"/en/docs/v3.8.1/treemap-c74":{"component":"17896441","content":"1b7492fb"},"/en/docs/v3.8.1/tutorial01-cec":{"component":"17896441","content":"f0fffb88"},"/en/docs/v3.8.1/tutorial02-76a":{"component":"17896441","content":"e798ed30"},"/en/docs/v3.8.1/tutorial03-2c5":{"component":"17896441","content":"d4d43266"},"/en/docs/v3.8.1/ui-743":{"component":"17896441","content":"bc2d3638"},"/en/docs/v3.9.0-f4e":{"component":"1be78505","versionMetadata":"5c46e75c"},"/en/docs/v3.9.0/about-c93":{"component":"17896441","content":"d0594032"},"/en/docs/v3.9.0/api-916":{"component":"17896441","content":"5829324a"},"/en/docs/v3.9.0/bar3d-396":{"component":"17896441","content":"c77305fc"},"/en/docs/v3.9.0/changelog-0d1":{"component":"17896441","content":"f6b5ca96"},"/en/docs/v3.9.0/configuration-727":{"component":"17896441","content":"885ea281"},"/en/docs/v3.9.0/extra-668":{"component":"17896441","content":"3b2611af"},"/en/docs/v3.9.0/faq-dee":{"component":"17896441","content":"5781ece6"},"/en/docs/v3.9.0/funnel-cf4":{"component":"17896441","content":"525276eb"},"/en/docs/v3.9.0/gantt-a3b":{"component":"17896441","content":"472c5008"},"/en/docs/v3.9.0/gauge-5c0":{"component":"17896441","content":"a32ea49b"},"/en/docs/v3.9.0/inputsystem-b69":{"component":"17896441","content":"80b02888"},"/en/docs/v3.9.0/lang/articles/ui/ui_statistic-8ae":{"component":"17896441","content":"a8d6d0df"},"/en/docs/v3.9.0/lang/articles/ui/ui_table-e8f":{"component":"17896441","content":"0b3060e8"},"/en/docs/v3.9.0/liquid-4bf":{"component":"17896441","content":"9c1bb23d"},"/en/docs/v3.9.0/pictorialbar-f30":{"component":"17896441","content":"01b2c389"},"/en/docs/v3.9.0/pie3d-06f":{"component":"17896441","content":"9b75507c"},"/en/docs/v3.9.0/pyramid-f13":{"component":"17896441","content":"3bbb0048"},"/en/docs/v3.9.0/sankey-b72":{"component":"17896441","content":"a118159e"},"/en/docs/v3.9.0/support-b82":{"component":"17896441","content":"f3703b84"},"/en/docs/v3.9.0/treemap-c23":{"component":"17896441","content":"82e1f3b6"},"/en/docs/v3.9.0/tutorial01-d28":{"component":"17896441","content":"88eff35d"},"/en/docs/v3.9.0/tutorial02-bee":{"component":"17896441","content":"d738818b"},"/en/docs/v3.9.0/tutorial03-570":{"component":"17896441","content":"c68b8091"},"/en/docs/v3.9.0/ui-e80":{"component":"17896441","content":"8dc5c5c4"},"/en/docs-e7d":{"component":"1be78505","versionMetadata":"9abfe212"},"/en/docs/about-14b":{"component":"17896441","content":"3a255ca7"},"/en/docs/api-742":{"component":"17896441","content":"160ef12c"},"/en/docs/bar3d-7d0":{"component":"17896441","content":"f9676efd"},"/en/docs/changelog-d63":{"component":"17896441","content":"c9092f3a"},"/en/docs/configuration-d77":{"component":"17896441","content":"2afe0a8a"},"/en/docs/extra-108":{"component":"17896441","content":"34348c78"},"/en/docs/faq-18e":{"component":"17896441","content":"5d2f6f05"},"/en/docs/funnel-62e":{"component":"17896441","content":"e4b9cb97"},"/en/docs/gantt-65f":{"component":"17896441","content":"b5447c11"},"/en/docs/gauge-3e9":{"component":"17896441","content":"f8858d8f"},"/en/docs/graph-477":{"component":"17896441","content":"31476475"},"/en/docs/inputsystem-5e3":{"component":"17896441","content":"7edbe84c"},"/en/docs/lang/articles/ui/ui_statistic-cf2":{"component":"17896441","content":"76261f3e"},"/en/docs/lang/articles/ui/ui_table-535":{"component":"17896441","content":"2ccc5d15"},"/en/docs/line3d-fc0":{"component":"17896441","content":"45619582"},"/en/docs/liquid-96b":{"component":"17896441","content":"8c04f4a8"},"/en/docs/pictorialbar-d38":{"component":"17896441","content":"9c4c7084"},"/en/docs/pie3d-99f":{"component":"17896441","content":"b3c5e4a8"},"/en/docs/pyramid-ad7":{"component":"17896441","content":"ccbc8b8d"},"/en/docs/sankey-5ba":{"component":"17896441","content":"c2d6a9b4"},"/en/docs/support-dab":{"component":"17896441","content":"5476afdc"},"/en/docs/treemap-240":{"component":"17896441","content":"da3b0d6f"},"/en/docs/tutorial01-197":{"component":"17896441","content":"91b3e92a"},"/en/docs/tutorial02-9bf":{"component":"17896441","content":"d2788ed0"},"/en/docs/tutorial03-f4e":{"component":"17896441","content":"310215f2"},"/en/docs/ui-6d7":{"component":"17896441","content":"5f66efcf"},"/en/-4b5":{"component":"758bf183","sidebar":"d0338a12"}}'),u={"0107a9e4":[function(){return n.e(9702).then(n.bind(n,84745))},"@site/versioned_docs/version-v3.7.0/lang/articles/about.md",84745],"01a85c17":[function(){return Promise.all([n.e(532),n.e(4013)]).then(n.bind(n,53607))},"@theme/BlogTagsListPage",53607],"01b2c389":[function(){return Promise.all([n.e(532),n.e(5611)]).then(n.bind(n,67359))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/pictorialbar.md",67359],"01f79f8c":[function(){return Promise.all([n.e(532),n.e(2396)]).then(n.bind(n,13029))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/pictorialbar.md",13029],"062163c2":[function(){return n.e(2562).then(n.bind(n,73010))},"@site/src/pages/help-us-translate.md",73010],"06669c61":[function(){return n.e(8647).then(n.t.bind(n,88927,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-7-0-index-html-309.sidebar.json",88927],"06b3902f":[function(){return n.e(971).then(n.t.bind(n,33768,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-10-2-index-html-17d.sidebar.json",33768],"06d7b024":[function(){return n.e(5391).then(n.bind(n,16198))},"@site/versioned_docs/version-v3.6.0/lang/articles/ui/ui_statistic.md",16198],"07e5f9de":[function(){return n.e(3196).then(n.bind(n,17562))},"@site/versioned_docs/version-v3.6.0/lang/articles/faq.md",17562],"0807d87e":[function(){return n.e(1759).then(n.bind(n,94809))},"@site/versioned_docs/version-v3.10.2/lang/articles/ui/ui_table.md",94809],"0a576633":[function(){return n.e(3859).then(n.bind(n,36152))},"@site/versioned_docs/version-v3.7.0/lang/articles/advanced/tutorial10.md",36152],"0b2276d6":[function(){return n.e(7827).then(n.bind(n,85795))},"@site/blog/en/2022/11/04/Blog-en-1.md?truncated=true",85795],"0b2baf8d":[function(){return Promise.all([n.e(532),n.e(578)]).then(n.bind(n,44638))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/pyramid.md",44638],"0b3060e8":[function(){return n.e(5551).then(n.bind(n,68720))},"@site/versioned_docs/version-v3.9.0/lang/articles/ui/ui_table.md",68720],"0c751418":[function(){return n.e(9260).then(n.t.bind(n,21900,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-7-0-index-html-309.path.json",21900],"0c883a7d":[function(){return Promise.all([n.e(532),n.e(5833)]).then(n.bind(n,54943))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/pyramid.md",54943],"0ce0cd0c":[function(){return n.e(164).then(n.t.bind(n,3659,19))},"~docs/default/version-v-3-5-0-metadata-prop-272.json",3659],"0e79e7ad":[function(){return n.e(2718).then(n.t.bind(n,31031,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-10-2-index-html-17d.path.json",31031],"0fe29b8b":[function(){return n.e(1522).then(n.t.bind(n,16820,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/v-3-11-2-0e5.version.json",16820],"1107bf75":[function(){return n.e(9416).then(n.bind(n,81474))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/bar3d.md",81474],"12bd9b04":[function(){return Promise.all([n.e(532),n.e(6104)]).then(n.bind(n,31097))},"@site/docs/lang/articles/extra/bar3d.md",31097],"12c9458b":[function(){return n.e(5030).then(n.bind(n,33635))},"@site/versioned_docs/version-v3.7.0/lang/articles/api.md",33635],"13548b0e":[function(){return n.e(2965).then(n.bind(n,17527))},"@site/versioned_docs/version-v3.7.0/lang/articles/ui/ui_table.md",17527],"13cbcf42":[function(){return n.e(891).then(n.bind(n,94338))},"@site/versioned_docs/version-v3.8.1/lang/articles/about.md",94338],"151e2d93":[function(){return n.e(6450).then(n.bind(n,21931))},"@site/newsletter/en/2022/12/newsletter2212.md?truncated=true",21931],"15e36259":[function(){return n.e(5903).then(n.t.bind(n,98536,19))},"~docs/default/version-v-3-8-1-metadata-prop-746.json",98536],"160ef12c":[function(){return n.e(2089).then(n.bind(n,11235))},"@site/versioned_docs/version-v3.12.0/lang/articles/api.md",11235],17896441:[function(){return Promise.all([n.e(532),n.e(7918)]).then(n.bind(n,80705))},"@theme/DocItem",80705],"179d1783":[function(){return Promise.all([n.e(532),n.e(5939)]).then(n.bind(n,56677))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/funnel.md",56677],"1a4e3797":[function(){return Promise.all([n.e(532),n.e(8232),n.e(7920)]).then(n.bind(n,33211))},"@theme/SearchPage",33211],"1a9cc015":[function(){return n.e(3482).then(n.bind(n,42620))},"@site/versioned_docs/version-v3.5.0/lang/articles/extra/pie3d.md",42620],"1b7492fb":[function(){return Promise.all([n.e(532),n.e(3169)]).then(n.bind(n,27907))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/treemap.md",27907],"1be78505":[function(){return Promise.all([n.e(532),n.e(1461),n.e(926),n.e(9514)]).then(n.bind(n,90145))},"@theme/DocPage",90145],"1bf6fa0b":[function(){return n.e(6987).then(n.t.bind(n,48494,19))},"~docs/default/version-v-3-7-0-metadata-prop-579.json",48494],"1cbcb4a6":[function(){return n.e(8507).then(n.t.bind(n,32074,19))},"~blog/default/en-blog-tags-advanced-fec.json",32074],"1cc3cec9":[function(){return n.e(982).then(n.bind(n,25131))},"@site/versioned_docs/version-v3.5.0/lang/articles/support.md",25131],"1d960048":[function(){return n.e(2720).then(n.t.bind(n,13915,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-5-0-index-html-fd8.content.json",13915],"1e7664cb":[function(){return n.e(5307).then(n.t.bind(n,20356,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-12-0-index-html-9a5.toc.json",20356],"1f391b9e":[function(){return Promise.all([n.e(532),n.e(926),n.e(3085)]).then(n.bind(n,1822))},"@theme/MDXPage",1822],"1f416af2":[function(){return n.e(4504).then(n.t.bind(n,26998,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/current-43b.version.json",26998],"21c47bc4":[function(){return n.e(6336).then(n.bind(n,2964))},"@site/newsletter/en/2022/12/newsletter2212.md",2964],"237f2966":[function(){return Promise.all([n.e(532),n.e(6173)]).then(n.bind(n,9496))},"@site/docs/lang/articles/extra/treemap.md",9496],"241855ee":[function(){return n.e(4517).then(n.bind(n,9252))},"@site/docs/lang/articles/about.md",9252],"25b591c6":[function(){return n.e(6671).then(n.bind(n,71410))},"@site/versioned_docs/version-v3.5.0/lang/articles/changelog.md",71410],"25c9e43b":[function(){return n.e(1110).then(n.bind(n,25656))},"@site/versioned_docs/version-v3.5.0/lang/articles/tutorial01.md",25656],"26b7391c":[function(){return Promise.all([n.e(532),n.e(4566)]).then(n.bind(n,85797))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/pie3d.md",85797],"274aea74":[function(){return Promise.all([n.e(532),n.e(8021)]).then(n.bind(n,77898))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/line3d.md",77898],"28a07f2a":[function(){return n.e(7431).then(n.t.bind(n,78495,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-9-0-index-html-35f.sidebar.json",78495],"29abe6b0":[function(){return Promise.all([n.e(532),n.e(9643)]).then(n.bind(n,50112))},"@site/docs/lang/articles/extra/graph.md",50112],"2afe0a8a":[function(){return Promise.all([n.e(532),n.e(4871)]).then(n.bind(n,55376))},"@site/versioned_docs/version-v3.12.0/lang/articles/configuration.md",55376],"2ccc5d15":[function(){return n.e(286).then(n.bind(n,49044))},"@site/versioned_docs/version-v3.12.0/lang/articles/ui/ui_table.md",49044],"2ed37b6a":[function(){return n.e(2867).then(n.bind(n,85254))},"@site/versioned_docs/version-v3.7.0/lang/articles/ui/ui.md",85254],"2f00e57f":[function(){return Promise.all([n.e(532),n.e(7537)]).then(n.bind(n,57450))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/gantt.md",57450],"2f375d82":[function(){return n.e(2930).then(n.bind(n,10976))},"@site/versioned_docs/version-v3.6.0/lang/articles/support.md",10976],"305b5d7f":[function(){return n.e(3921).then(n.t.bind(n,1891,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-7-0-index-html-309.content.json",1891],"30896c49":[function(){return n.e(1855).then(n.bind(n,60979))},"@site/versioned_docs/version-v3.11.2/lang/articles/ui/ui_statistic.md",60979],"3093e60d":[function(){return n.e(5976).then(n.bind(n,57496))},"@site/versioned_docs/version-v3.11.2/lang/articles/advanced/tutorial11.md",57496],"310215f2":[function(){return n.e(1288).then(n.bind(n,35144))},"@site/versioned_docs/version-v3.12.0/lang/articles/advanced/tutorial11.md",35144],31476475:[function(){return Promise.all([n.e(532),n.e(8952)]).then(n.bind(n,56267))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/graph.md",56267],"316bdc3e":[function(){return n.e(8657).then(n.bind(n,21218))},"@site/versioned_docs/version-v3.10.2/lang/articles/advanced/tutorial10.md",21218],"33375e22":[function(){return n.e(6447).then(n.bind(n,57452))},"@site/versioned_docs/version-v3.11.2/lang/articles/changelog.md",57452],"3375c64a":[function(){return Promise.all([n.e(532),n.e(4172)]).then(n.bind(n,20423))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/liquid.md",20423],"33d21e66":[function(){return n.e(555).then(n.bind(n,81492))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/extra.md",81492],"34348c78":[function(){return n.e(3058).then(n.bind(n,83069))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/extra.md",83069],"34d09112":[function(){return n.e(2945).then(n.t.bind(n,74518,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-8-1-index-html-adc.toc.json",74518],"35cbd37a":[function(){return n.e(8177).then(n.bind(n,51800))},"@site/versioned_docs/version-v3.7.0/lang/articles/support.md",51800],"36b7cc20":[function(){return n.e(6739).then(n.bind(n,82774))},"@site/versioned_docs/version-v3.10.2/lang/articles/api.md",82774],37093706:[function(){return n.e(8672).then(n.t.bind(n,22940,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-7-0-index-html-309.toc.json",22940],"37b35207":[function(){return n.e(1138).then(n.bind(n,42934))},"@site/versioned_docs/version-v3.8.1/lang/articles/advanced/tutorial12_inputsystem.md",42934],"399acd3b":[function(){return Promise.all([n.e(532),n.e(2581)]).then(n.bind(n,86357))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/sankey.md",86357],"39f00e4b":[function(){return n.e(2171).then(n.bind(n,98799))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/gantt.md",98799],"3a255ca7":[function(){return n.e(5707).then(n.bind(n,28132))},"@site/versioned_docs/version-v3.12.0/lang/articles/about.md",28132],"3b2611af":[function(){return n.e(5396).then(n.bind(n,42800))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/extra.md",42800],"3bbb0048":[function(){return Promise.all([n.e(532),n.e(122)]).then(n.bind(n,75398))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/pyramid.md",75398],"3e90d8e2":[function(){return n.e(4739).then(n.t.bind(n,40633,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-8-1-index-html-adc.title.json",40633],"3fed8774":[function(){return n.e(2895).then(n.bind(n,33937))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/pyramid.md",33937],"3ffa4b16":[function(){return Promise.all([n.e(532),n.e(5812)]).then(n.bind(n,31118))},"@site/versioned_docs/version-v3.10.2/lang/articles/configuration.md",31118],40247295:[function(){return Promise.all([n.e(532),n.e(2102)]).then(n.bind(n,72005))},"@site/docs/lang/articles/configuration.md",72005],"4275b1b4":[function(){return n.e(1646).then(n.t.bind(n,24382,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-master-index-html-410.title.json",24382],"429c4dc1":[function(){return n.e(1463).then(n.t.bind(n,79883,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/v-3-7-0-c61.version.json",79883],45619582:[function(){return Promise.all([n.e(532),n.e(4235)]).then(n.bind(n,12690))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/line3d.md",12690],"45cfe9de":[function(){return n.e(1034).then(n.bind(n,5811))},"@site/blog/en/2022/11/04/Blog-en-1.md",5811],"463bdb2b":[function(){return n.e(5883).then(n.t.bind(n,19890,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-12-0-index-html-9a5.title.json",19890],47137878:[function(){return n.e(34).then(n.t.bind(n,92227,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/v-3-5-0-215.version.json",92227],"472c5008":[function(){return Promise.all([n.e(532),n.e(1997)]).then(n.bind(n,64742))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/gantt.md",64742],"47e22724":[function(){return Promise.all([n.e(532),n.e(4059)]).then(n.bind(n,73128))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/pictorialbar.md",73128],"4a367eab":[function(){return Promise.all([n.e(532),n.e(5025)]).then(n.bind(n,42007))},"@site/src/pages/examples/index.js",42007],"4b62531f":[function(){return n.e(1198).then(n.t.bind(n,10224,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-12-0-index-html-9a5.content.json",10224],"4b628775":[function(){return n.e(7042).then(n.bind(n,64632))},"@site/versioned_docs/version-v3.11.2/lang/articles/advanced/tutorial12_inputsystem.md",64632],"4c36f7cd":[function(){return n.e(7929).then(n.bind(n,26046))},"@site/versioned_docs/version-v3.5.0/lang/articles/extra/funnel.md",26046],"4c69d450":[function(){return Promise.all([n.e(532),n.e(9489)]).then(n.bind(n,80868))},"@site/docs/lang/articles/extra/pie3d.md",80868],"4d6bfb64":[function(){return n.e(3314).then(n.bind(n,96665))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/treemap.md",96665],"4dfb9136":[function(){return n.e(376).then(n.bind(n,90561))},"@site/docs/lang/articles/changelog.md",90561],"4e6e83f6":[function(){return Promise.all([n.e(532),n.e(4505)]).then(n.bind(n,44497))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/treemap.md",44497],"4e7c458f":[function(){return Promise.all([n.e(532),n.e(8676)]).then(n.bind(n,28740))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/pie3d.md",28740],"4fcb4d83":[function(){return n.e(8311).then(n.t.bind(n,97159,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-6-0-index-html-9d2.toc.json",97159],"50572ff0":[function(){return n.e(4477).then(n.bind(n,18025))},"@site/docs/lang/articles/ui/ui.md",18025],"50dabb5d":[function(){return n.e(8821).then(n.bind(n,59612))},"@site/docs/lang/articles/extra/extra.md",59612],"510d4385":[function(){return n.e(7852).then(n.bind(n,49196))},"@site/versioned_docs/version-v3.5.0/lang/articles/advanced/tutorial02.md",49196],"525276eb":[function(){return Promise.all([n.e(532),n.e(9756)]).then(n.bind(n,71803))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/funnel.md",71803],"52baeca4":[function(){return Promise.all([n.e(532),n.e(5987)]).then(n.bind(n,64268))},"@site/src/pages/user-stories/index.tsx",64268],"53424fa2":[function(){return n.e(1389).then(n.bind(n,83893))},"@site/versioned_docs/version-v3.11.2/lang/articles/about.md",83893],"5476afdc":[function(){return n.e(4404).then(n.bind(n,48041))},"@site/versioned_docs/version-v3.12.0/lang/articles/support.md",48041],"54b4ef9f":[function(){return n.e(2343).then(n.bind(n,58331))},"@site/versioned_docs/version-v3.5.0/lang/articles/configuration.md",58331],"556925f6":[function(){return n.e(6033).then(n.t.bind(n,63257,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-5-0-index-html-fd8.path.json",63257],"565638f3":[function(){return n.e(5714).then(n.t.bind(n,72752,19))},"~blog/default/en-blog-tags-tutorial-855.json",72752],"56f0943a":[function(){return n.e(400).then(n.bind(n,26151))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/extra.md",26151],"5781ece6":[function(){return n.e(7646).then(n.bind(n,11640))},"@site/versioned_docs/version-v3.9.0/lang/articles/faq.md",11640],"57a11582":[function(){return n.e(9825).then(n.bind(n,11452))},"@site/versioned_docs/version-v3.10.2/lang/articles/ui/ui_statistic.md",11452],"5829324a":[function(){return n.e(6270).then(n.bind(n,1638))},"@site/versioned_docs/version-v3.9.0/lang/articles/api.md",1638],"5ac1295d":[function(){return n.e(3251).then(n.t.bind(n,77599,19))},"~docs/default/version-v-3-11-2-metadata-prop-130.json",77599],"5c46e75c":[function(){return n.e(7789).then(n.t.bind(n,91194,19))},"~docs/default/version-v-3-9-0-metadata-prop-0ee.json",91194],"5ca33a59":[function(){return n.e(3590).then(n.t.bind(n,9959,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-6-0-index-html-9d2.title.json",9959],"5d2f6f05":[function(){return n.e(4406).then(n.bind(n,93711))},"@site/versioned_docs/version-v3.12.0/lang/articles/faq.md",93711],"5e9f5e1a":[function(){return Promise.resolve().then(n.bind(n,99782))},"@generated/docusaurus.config",99782],"5f33186c":[function(){return n.e(6794).then(n.t.bind(n,6946,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-9-0-index-html-35f.title.json",6946],"5f66efcf":[function(){return n.e(2727).then(n.bind(n,65656))},"@site/versioned_docs/version-v3.12.0/lang/articles/ui/ui.md",65656],"60a5cd7b":[function(){return n.e(4639).then(n.t.bind(n,24926,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-master-index-html-410.toc.json",24926],"60e5d4c0":[function(){return n.e(8995).then(n.bind(n,93819))},"@site/versioned_docs/version-v3.11.2/lang/articles/ui/ui.md",93819],"61b55826":[function(){return n.e(3294).then(n.t.bind(n,20559,19))},"~blog/default/en-blog-tags-beginner-fbc.json",20559],"635b1501":[function(){return n.e(1439).then(n.bind(n,40075))},"@site/versioned_docs/version-v3.5.0/lang/articles/extra/liquid.md",40075],64570554:[function(){return Promise.all([n.e(532),n.e(1013)]).then(n.bind(n,81634))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/funnel.md",81634],"65cfe503":[function(){return Promise.all([n.e(532),n.e(4610)]).then(n.bind(n,13072))},"@site/versioned_docs/version-v3.11.2/lang/articles/configuration.md",13072],"671093e8":[function(){return n.e(2699).then(n.t.bind(n,20418,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-7-0-index-html-309.title.json",20418],"6875c492":[function(){return Promise.all([n.e(532),n.e(1461),n.e(926),n.e(8610)]).then(n.bind(n,4481))},"@theme/BlogTagsPostsPage",4481],"69736b62":[function(){return Promise.all([n.e(532),n.e(5713)]).then(n.bind(n,98896))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/sankey.md",98896],"6977494c":[function(){return Promise.all([n.e(532),n.e(1461),n.e(2121)]).then(n.bind(n,31634))},"@site/src/components/DocPage/index.tsx",31634],"6979be4b":[function(){return n.e(4175).then(n.bind(n,43342))},"@site/versioned_docs/version-v3.8.1/lang/articles/ui/ui_statistic.md",43342],"6b5a19b3":[function(){return n.e(5646).then(n.bind(n,23501))},"@site/versioned_docs/version-v3.5.0/lang/articles/advanced/tutorial03.md",23501],"6cf2b940":[function(){return n.e(5717).then(n.t.bind(n,50253,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-8-1-index-html-adc.content.json",50253],"6e9edefd":[function(){return Promise.all([n.e(532),n.e(9319)]).then(n.bind(n,98892))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/pictorialbar.md",98892],"6f928cfb":[function(){return n.e(7309).then(n.t.bind(n,19079,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-9-0-index-html-35f.path.json",19079],"717f403f":[function(){return n.e(6093).then(n.t.bind(n,57746,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-12-0-index-html-9a5.path.json",57746],"7187f4a4":[function(){return n.e(6754).then(n.bind(n,62704))},"@site/versioned_docs/version-v3.11.2/lang/articles/advanced/tutorial10.md",62704],"73754ea4":[function(){return n.e(306).then(n.t.bind(n,54461,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-11-2-index-html-851.title.json",54461],"75662a14":[function(){return n.e(1189).then(n.bind(n,55960))},"@site/docs/lang/articles/advanced/tutorial11.md",55960],"758bf183":[function(){return Promise.all([n.e(532),n.e(2399)]).then(n.bind(n,23548))},"@site/src/components/LandingPage/index.tsx",23548],"75da09e2":[function(){return n.e(9372).then(n.t.bind(n,60206,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/v-3-6-0-c36.version.json",60206],"76261f3e":[function(){return n.e(8026).then(n.bind(n,4365))},"@site/versioned_docs/version-v3.12.0/lang/articles/ui/ui_statistic.md",4365],"775489ce":[function(){return n.e(6741).then(n.bind(n,12938))},"@site/versioned_docs/version-v3.10.2/lang/articles/tutorial01.md",12938],"78b2a8f7":[function(){return Promise.all([n.e(532),n.e(2606)]).then(n.bind(n,15143))},"@site/docs/lang/articles/extra/sankey.md",15143],"795362f1":[function(){return n.e(2198).then(n.bind(n,79315))},"@site/versioned_docs/version-v3.6.0/lang/articles/configuration.md",79315],"7c66270b":[function(){return n.e(2903).then(n.bind(n,50489))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/liquid.md",50489],"7e965016":[function(){return n.e(6262).then(n.bind(n,69365))},"@site/versioned_docs/version-v3.6.0/lang/articles/tutorial01.md",69365],"7edbe84c":[function(){return n.e(9723).then(n.bind(n,29101))},"@site/versioned_docs/version-v3.12.0/lang/articles/advanced/tutorial12_inputsystem.md",29101],"7f86b971":[function(){return n.e(5403).then(n.bind(n,1273))},"@site/docs/lang/articles/advanced/tutorial10.md",1273],"7fc30b75":[function(){return n.e(8741).then(n.bind(n,69409))},"@site/versioned_docs/version-v3.11.2/lang/articles/api.md",69409],"80b02888":[function(){return n.e(8190).then(n.bind(n,76444))},"@site/versioned_docs/version-v3.9.0/lang/articles/advanced/tutorial12_inputsystem.md",76444],"80c593df":[function(){return n.e(5715).then(n.bind(n,93333))},"@site/versioned_docs/version-v3.8.1/lang/articles/changelog.md",93333],"814f3328":[function(){return n.e(2535).then(n.t.bind(n,45641,19))},"~blog/default/blog-post-list-prop-default.json",45641],"81de59db":[function(){return n.e(2350).then(n.bind(n,65397))},"@site/versioned_docs/version-v3.7.0/lang/articles/advanced/tutorial11.md",65397],"8272fa28":[function(){return n.e(4120).then(n.bind(n,57870))},"@site/versioned_docs/version-v3.10.2/lang/articles/ui/ui.md",57870],"82e1f3b6":[function(){return Promise.all([n.e(532),n.e(8685)]).then(n.bind(n,31573))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/treemap.md",31573],84995476:[function(){return Promise.all([n.e(532),n.e(1464)]).then(n.bind(n,6991))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/bar3d.md",6991],"853d6eef":[function(){return n.e(5189).then(n.bind(n,13183))},"@site/versioned_docs/version-v3.6.0/lang/articles/about.md",13183],"85cde48e":[function(){return n.e(2518).then(n.t.bind(n,93913,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-10-2-index-html-17d.title.json",93913],"86e87435":[function(){return n.e(7463).then(n.t.bind(n,64272,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-12-0-index-html-9a5.sidebar.json",64272],"8745b4bf":[function(){return Promise.all([n.e(532),n.e(9504)]).then(n.bind(n,59932))},"@site/docs/lang/articles/extra/liquid.md",59932],"885ea281":[function(){return Promise.all([n.e(532),n.e(756)]).then(n.bind(n,29791))},"@site/versioned_docs/version-v3.9.0/lang/articles/configuration.md",29791],"88eff35d":[function(){return n.e(8893).then(n.bind(n,61101))},"@site/versioned_docs/version-v3.9.0/lang/articles/tutorial01.md",61101],"88fb3acf":[function(){return Promise.all([n.e(532),n.e(2028)]).then(n.bind(n,39867))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/gantt.md",39867],"8c04f4a8":[function(){return Promise.all([n.e(532),n.e(5157)]).then(n.bind(n,47259))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/liquid.md",47259],"8d9e9f31":[function(){return n.e(918).then(n.t.bind(n,70185,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/v-3-8-1-5f5.version.json",70185],"8dc5c5c4":[function(){return n.e(8370).then(n.bind(n,1692))},"@site/versioned_docs/version-v3.9.0/lang/articles/ui/ui.md",1692],"8eddbe9d":[function(){return n.e(8853).then(n.t.bind(n,35396,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-8-1-index-html-adc.path.json",35396],"8f6e2a4a":[function(){return n.e(4760).then(n.bind(n,10334))},"@site/versioned_docs/version-v3.8.1/lang/articles/api.md",10334],"90628bba":[function(){return Promise.all([n.e(532),n.e(5910)]).then(n.bind(n,25242))},"@site/docs/lang/articles/extra/pyramid.md",25242],"90faf82c":[function(){return Promise.all([n.e(532),n.e(8157)]).then(n.bind(n,99060))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/pie3d.md",99060],"91629bdd":[function(){return n.e(4331).then(n.bind(n,5340))},"@site/versioned_docs/version-v3.7.0/lang/articles/faq.md",5340],"91a1c8ba":[function(){return Promise.all([n.e(532),n.e(1461),n.e(3510),n.e(6441)]).then(n.bind(n,63390))},"@site/src/components/Autoapi/index.js",63390],"91b3e92a":[function(){return n.e(2872).then(n.bind(n,98391))},"@site/versioned_docs/version-v3.12.0/lang/articles/tutorial01.md",98391],"926f1670":[function(){return n.e(3392).then(n.bind(n,8594))},"@site/versioned_docs/version-v3.10.2/lang/articles/advanced/tutorial11.md",8594],"92a26795":[function(){return n.e(1167).then(n.bind(n,83518))},"@site/versioned_docs/version-v3.8.1/lang/articles/support.md",83518],"935f2afb":[function(){return n.e(53).then(n.t.bind(n,1109,19))},"~docs/default/version-current-metadata-prop-751.json",1109],"957623b6":[function(){return n.e(6323).then(n.bind(n,68957))},"@site/docs/lang/articles/advanced/tutorial12_inputsystem.md",68957],"9731ed60":[function(){return n.e(2471).then(n.bind(n,6710))},"@site/src/pages/contact-us.md",6710],"97524ec3":[function(){return n.e(5051).then(n.bind(n,57567))},"@site/docs/lang/articles/tutorial01.md",57567],"977aef28":[function(){return Promise.all([n.e(532),n.e(4185)]).then(n.bind(n,99567))},"@site/docs/lang/articles/extra/gauge.md",99567],"97c29f4a":[function(){return n.e(8169).then(n.t.bind(n,64970,19))},"~blog/newsletter/blog-post-list-prop-newsletter.json",64970],"9875289a":[function(){return n.e(776).then(n.bind(n,95302))},"@site/versioned_docs/version-v3.10.2/lang/articles/changelog.md",95302],"989109fe":[function(){return n.e(6338).then(n.bind(n,90371))},"@site/versioned_docs/version-v3.5.0/lang/articles/extra/pyramid.md",90371],"9a6c8fee":[function(){return n.e(5354).then(n.bind(n,50792))},"@site/src/pages/acknowledgments.md",50792],"9abfe212":[function(){return n.e(9578).then(n.t.bind(n,53709,19))},"~docs/default/version-v-3-12-0-metadata-prop-117.json",53709],"9b75507c":[function(){return Promise.all([n.e(532),n.e(7913)]).then(n.bind(n,1230))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/pie3d.md",1230],"9bb822d1":[function(){return Promise.all([n.e(532),n.e(3222)]).then(n.bind(n,29508))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/pyramid.md",29508],"9bcf082a":[function(){return n.e(9120).then(n.bind(n,88716))},"@site/versioned_docs/version-v3.11.2/lang/articles/support.md",88716],"9bdd22eb":[function(){return n.e(2253).then(n.t.bind(n,55803,19))},"~blog/default/en-blog-tags-tags-c25.json",55803],"9c0314cd":[function(){return Promise.all([n.e(532),n.e(7241)]).then(n.bind(n,45338))},"@site/docs/lang/articles/extra/line3d.md",45338],"9c1bb23d":[function(){return Promise.all([n.e(532),n.e(6581)]).then(n.bind(n,90813))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/liquid.md",90813],"9c4c7084":[function(){return Promise.all([n.e(532),n.e(2786)]).then(n.bind(n,34643))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/pictorialbar.md",34643],"9c86b1c3":[function(){return Promise.all([n.e(532),n.e(3390)]).then(n.bind(n,44011))},"@site/docs/lang/articles/extra/pictorialbar.md",44011],"9cb9472a":[function(){return Promise.all([n.e(532),n.e(5209)]).then(n.bind(n,72144))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/pictorialbar.md",72144],"9d4880e7":[function(){return n.e(4465).then(n.bind(n,66896))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/pictorialbar.md",66896],"9e4087bc":[function(){return n.e(3608).then(n.bind(n,63012))},"@theme/BlogArchivePage",63012],"9e8d335c":[function(){return n.e(3908).then(n.bind(n,93106))},"@site/docs/lang/articles/faq.md",93106],a031f49a:[function(){return n.e(2062).then(n.bind(n,3408))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/extra.md",3408],a0438807:[function(){return n.e(1217).then(n.bind(n,67232))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/pie3d.md",67232],a118159e:[function(){return Promise.all([n.e(532),n.e(8051)]).then(n.bind(n,35135))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/sankey.md",35135],a32ea49b:[function(){return Promise.all([n.e(532),n.e(6103)]).then(n.bind(n,6133))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/gauge.md",6133],a5bce4c8:[function(){return Promise.all([n.e(532),n.e(1140)]).then(n.bind(n,16801))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/funnel.md",16801],a6aa9e1f:[function(){return Promise.all([n.e(532),n.e(1461),n.e(926),n.e(3089)]).then(n.bind(n,85819))},"@theme/BlogListPage",85819],a76029b2:[function(){return Promise.all([n.e(532),n.e(1242)]).then(n.bind(n,97950))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/pyramid.md",97950],a80a8174:[function(){return n.e(7543).then(n.bind(n,51166))},"@site/versioned_docs/version-v3.8.1/lang/articles/faq.md",51166],a8d6d0df:[function(){return n.e(459).then(n.bind(n,17883))},"@site/versioned_docs/version-v3.9.0/lang/articles/ui/ui_statistic.md",17883],aa9d8acd:[function(){return n.e(8824).then(n.bind(n,66744))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/extra.md",66744],ab83aed5:[function(){return n.e(844).then(n.bind(n,63800))},"@site/versioned_docs/version-v3.10.2/lang/articles/advanced/tutorial12_inputsystem.md",63800],ad3ca912:[function(){return Promise.all([n.e(532),n.e(1782)]).then(n.bind(n,14089))},"@site/versioned_docs/version-v3.7.0/lang/articles/configuration.md",14089],aecb7363:[function(){return n.e(3293).then(n.bind(n,4257))},"@site/docs/lang/articles/ui/ui_statistic.md",4257],af87715e:[function(){return n.e(6045).then(n.t.bind(n,35051,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-9-0-index-html-35f.toc.json",35051],af993462:[function(){return n.e(5027).then(n.bind(n,29526))},"@site/versioned_docs/version-v3.10.2/lang/articles/support.md",29526],afdec8d7:[function(){return n.e(8643).then(n.t.bind(n,47617,19))},"~blog/default/en-blog-tags-image-processing-850.json",47617],aff05561:[function(){return Promise.all([n.e(532),n.e(778)]).then(n.bind(n,57738))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/bar3d.md",57738],aff6dcac:[function(){return n.e(7835).then(n.bind(n,19740))},"@site/docs/lang/articles/ui/ui_table.md",19740],b0957ed4:[function(){return Promise.all([n.e(532),n.e(7515)]).then(n.bind(n,53050))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/gantt.md",53050],b0db3eed:[function(){return n.e(9226).then(n.bind(n,73539))},"@site/versioned_docs/version-v3.6.0/lang/articles/ui/ui_table.md",73539],b0f5cc57:[function(){return n.e(5643).then(n.bind(n,22383))},"@site/versioned_docs/version-v3.6.0/lang/articles/advanced/tutorial12_inputsystem.md",22383],b15063cb:[function(){return n.e(2515).then(n.bind(n,43214))},"@site/versioned_docs/version-v3.7.0/lang/articles/tutorial01.md",43214],b1f38343:[function(){return Promise.all([n.e(532),n.e(6282)]).then(n.bind(n,70504))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/graph.md",70504],b2fdb119:[function(){return n.e(5712).then(n.t.bind(n,22721,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/v-3-9-0-5e3.version.json",22721],b37fd7e5:[function(){return n.e(2209).then(n.bind(n,75273))},"@site/docs/lang/articles/api.md",75273],b3c5e4a8:[function(){return Promise.all([n.e(532),n.e(1772)]).then(n.bind(n,83975))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/pie3d.md",83975],b4676ab6:[function(){return Promise.all([n.e(532),n.e(3132)]).then(n.bind(n,27667))},"@site/docs/lang/articles/extra/gantt.md",27667],b4962e4d:[function(){return n.e(8780).then(n.t.bind(n,90356,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-11-2-index-html-851.toc.json",90356],b5003c20:[function(){return n.e(9539).then(n.t.bind(n,19684,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-master-index-html-410.path.json",19684],b5447c11:[function(){return Promise.all([n.e(532),n.e(7529)]).then(n.bind(n,80675))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/gantt.md",80675],b55bea4d:[function(){return n.e(1804).then(n.bind(n,636))},"@site/versioned_docs/version-v3.5.0/lang/articles/extra/treemap.md",636],b6baf6db:[function(){return n.e(1508).then(n.t.bind(n,18793,19))},"~blog/newsletter/en-newsletter-251.json",18793],b85074aa:[function(){return n.e(7745).then(n.t.bind(n,66023,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/v-3-12-0-d39.version.json",66023],b87d287e:[function(){return n.e(3642).then(n.bind(n,6911))},"@site/docs/lang/articles/support.md",6911],b8e8b238:[function(){return Promise.all([n.e(532),n.e(4647)]).then(n.bind(n,46149))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/funnel.md",46149],ba658ce7:[function(){return n.e(3957).then(n.bind(n,65628))},"@site/versioned_docs/version-v3.5.0/lang/articles/extra/pictorialbar.md",65628],bc2d3638:[function(){return n.e(1625).then(n.bind(n,4216))},"@site/versioned_docs/version-v3.8.1/lang/articles/ui/ui.md",4216],bc69d3a5:[function(){return Promise.all([n.e(532),n.e(6950)]).then(n.bind(n,79261))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/bar3d.md",79261],bee5bae5:[function(){return n.e(5223).then(n.bind(n,47938))},"@site/versioned_docs/version-v3.5.0/lang/articles/about.md",47938],bfdfd19f:[function(){return n.e(9406).then(n.t.bind(n,73883,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-11-2-index-html-851.path.json",73883],c0182217:[function(){return n.e(8416).then(n.bind(n,96741))},"@site/versioned_docs/version-v3.6.0/lang/articles/ui/ui.md",96741],c0c5927d:[function(){return Promise.all([n.e(532),n.e(8602)]).then(n.bind(n,61026))},"@site/versioned_docs/version-v3.8.1/lang/articles/configuration.md",61026],c2d6a9b4:[function(){return Promise.all([n.e(532),n.e(6563)]).then(n.bind(n,27923))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/sankey.md",27923],c68b8091:[function(){return n.e(6281).then(n.bind(n,78357))},"@site/versioned_docs/version-v3.9.0/lang/articles/advanced/tutorial11.md",78357],c77305fc:[function(){return Promise.all([n.e(532),n.e(9056)]).then(n.bind(n,5685))},"@site/versioned_docs/version-v3.9.0/lang/articles/extra/bar3d.md",5685],c8d6b1e1:[function(){return Promise.all([n.e(532),n.e(1769)]).then(n.bind(n,32948))},"@site/docs/lang/articles/extra/funnel.md",32948],c9092f3a:[function(){return n.e(6099).then(n.bind(n,5074))},"@site/versioned_docs/version-v3.12.0/lang/articles/changelog.md",5074],c9ff6b20:[function(){return n.e(5528).then(n.bind(n,74449))},"@site/versioned_docs/version-v3.10.2/lang/articles/about.md",74449],cad8270c:[function(){return Promise.all([n.e(532),n.e(5594)]).then(n.bind(n,64690))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/gauge.md",64690],cbdd9883:[function(){return Promise.all([n.e(532),n.e(4754)]).then(n.bind(n,21729))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/pie3d.md",21729],ccbc8b8d:[function(){return Promise.all([n.e(532),n.e(3491)]).then(n.bind(n,76878))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/pyramid.md",76878],ccc49370:[function(){return Promise.all([n.e(532),n.e(926),n.e(1080)]).then(n.bind(n,54338))},"@theme/BlogPostPage",54338],ccdc331a:[function(){return n.e(9958).then(n.bind(n,52141))},"@site/versioned_docs/version-v3.6.0/lang/articles/api.md",52141],cdcd2ab4:[function(){return n.e(8888).then(n.bind(n,80475))},"@site/versioned_docs/version-v3.7.0/lang/articles/changelog.md",80475],cdf592f9:[function(){return n.e(5937).then(n.t.bind(n,69319,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-6-0-index-html-9d2.path.json",69319],ce421672:[function(){return n.e(1956).then(n.bind(n,86496))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/gauge.md",86496],cf87da48:[function(){return n.e(2187).then(n.bind(n,18649))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/extra.md",18649],cfbb06ca:[function(){return n.e(4118).then(n.bind(n,66226))},"@site/versioned_docs/version-v3.5.0/lang/articles/extra/bar3d.md",66226],d0338a12:[function(){return n.e(9354).then(n.t.bind(n,73280,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/docusaurus-plugin-content-docs/default/index-page-f47.sidebar.json",73280],d0594032:[function(){return n.e(5644).then(n.bind(n,94289))},"@site/versioned_docs/version-v3.9.0/lang/articles/about.md",94289],d074df72:[function(){return Promise.all([n.e(532),n.e(6595)]).then(n.bind(n,78570))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/gauge.md",78570],d0ac207d:[function(){return n.e(8393).then(n.bind(n,77691))},"@site/versioned_docs/version-v3.5.0/lang/articles/extra/gantt.md",77691],d1258d46:[function(){return n.e(207).then(n.bind(n,93123))},"@site/versioned_docs/version-v3.7.0/lang/articles/advanced/tutorial12_inputsystem.md",93123],d2788ed0:[function(){return n.e(1568).then(n.bind(n,64240))},"@site/versioned_docs/version-v3.12.0/lang/articles/advanced/tutorial10.md",64240],d433dfcf:[function(){return n.e(6291).then(n.t.bind(n,8164,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/v-3-10-2-de5.version.json",8164],d4d43266:[function(){return n.e(7605).then(n.bind(n,26286))},"@site/versioned_docs/version-v3.8.1/lang/articles/advanced/tutorial11.md",26286],d56e6f60:[function(){return n.e(5804).then(n.bind(n,43975))},"@site/versioned_docs/version-v3.5.0/lang/articles/api.md",43975],d661796d:[function(){return n.e(7269).then(n.bind(n,59901))},"@site/versioned_docs/version-v3.11.2/lang/articles/tutorial01.md",59901],d6e23382:[function(){return n.e(370).then(n.t.bind(n,87445,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-master-index-html-410.content.json",87445],d738818b:[function(){return n.e(6463).then(n.bind(n,69241))},"@site/versioned_docs/version-v3.9.0/lang/articles/advanced/tutorial10.md",69241],d7623852:[function(){return Promise.all([n.e(532),n.e(9645)]).then(n.bind(n,97781))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/liquid.md",97781],d90bda9a:[function(){return n.e(9847).then(n.bind(n,15296))},"@site/versioned_docs/version-v3.6.0/lang/articles/changelog.md",15296],d972a4f7:[function(){return Promise.all([n.e(532),n.e(1592)]).then(n.bind(n,96605))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/gantt.md",96605],da3b0d6f:[function(){return Promise.all([n.e(532),n.e(7847)]).then(n.bind(n,68187))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/treemap.md",68187],da3e4625:[function(){return n.e(126).then(n.bind(n,60859))},"@site/versioned_docs/version-v3.8.1/lang/articles/ui/ui_table.md",60859],db8591c4:[function(){return n.e(2841).then(n.bind(n,10504))},"@site/versioned_docs/version-v3.6.0/lang/articles/extra/funnel.md",10504],dc295080:[function(){return n.e(6928).then(n.t.bind(n,44217,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-5-0-index-html-fd8.toc.json",44217],dda2dc85:[function(){return Promise.all([n.e(532),n.e(3309)]).then(n.bind(n,33483))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/bar3d.md",33483],de6d5860:[function(){return Promise.all([n.e(532),n.e(5829)]).then(n.bind(n,17345))},"@site/versioned_docs/version-v3.11.2/lang/articles/extra/gauge.md",17345],dfc50f4d:[function(){return Promise.all([n.e(532),n.e(7704)]).then(n.bind(n,50634))},"@site/versioned_docs/version-v3.7.0/lang/articles/extra/treemap.md",50634],e218c249:[function(){return n.e(9880).then(n.t.bind(n,55351,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-10-2-index-html-17d.toc.json",55351],e4892bae:[function(){return Promise.all([n.e(532),n.e(1523)]).then(n.bind(n,23523))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/gauge.md",23523],e4b9cb97:[function(){return Promise.all([n.e(532),n.e(9454)]).then(n.bind(n,48320))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/funnel.md",48320],e4ec0983:[function(){return n.e(4921).then(n.t.bind(n,42816,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-master-index-html-410.sidebar.json",42816],e512dd15:[function(){return Promise.all([n.e(532),n.e(5222)]).then(n.bind(n,69880))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/treemap.md",69880],e798ed30:[function(){return n.e(139).then(n.bind(n,16743))},"@site/versioned_docs/version-v3.8.1/lang/articles/advanced/tutorial10.md",16743],e7aa5905:[function(){return n.e(9936).then(n.bind(n,47915))},"@site/versioned_docs/version-v3.5.0/lang/articles/extra/gauge.md",47915],e7b22fe0:[function(){return n.e(6996).then(n.bind(n,39480))},"@site/src/pages/community.md",39480],e7fae69c:[function(){return n.e(3241).then(n.bind(n,3094))},"@site/versioned_docs/version-v3.7.0/lang/articles/ui/ui_statistic.md",3094],e897118b:[function(){return n.e(9665).then(n.bind(n,80958))},"@site/versioned_docs/version-v3.6.0/lang/articles/advanced/tutorial10.md",80958],e913dccc:[function(){return n.e(5419).then(n.t.bind(n,28181,17))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-5-0-index-html-fd8.title.json",28181],ea94ad11:[function(){return n.e(2361).then(n.t.bind(n,97582,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-9-0-index-html-35f.content.json",97582],ecc5a1b0:[function(){return n.e(7401).then(n.t.bind(n,19991,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-5-0-index-html-fd8.sidebar.json",19991],ed6c4718:[function(){return n.e(9241).then(n.bind(n,53770))},"@site/versioned_docs/version-v3.11.2/lang/articles/faq.md",53770],edff5018:[function(){return n.e(8987).then(n.t.bind(n,58935,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-6-0-index-html-9d2.content.json",58935],f018e9c8:[function(){return n.e(6039).then(n.bind(n,24491))},"@site/versioned_docs/version-v3.5.0/lang/articles/faq.md",24491],f0fffb88:[function(){return n.e(1892).then(n.bind(n,85394))},"@site/versioned_docs/version-v3.8.1/lang/articles/tutorial01.md",85394],f14aef11:[function(){return Promise.all([n.e(532),n.e(4148)]).then(n.bind(n,9580))},"@site/versioned_docs/version-v3.8.1/lang/articles/extra/liquid.md",9580],f16045ef:[function(){return n.e(8358).then(n.t.bind(n,89280,19))},"~docs/default/version-v-3-10-2-metadata-prop-251.json",89280],f1b9a032:[function(){return n.e(5486).then(n.t.bind(n,70159,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-10-2-index-html-17d.content.json",70159],f1be0c77:[function(){return Promise.all([n.e(532),n.e(2177)]).then(n.bind(n,5903))},"@site/versioned_docs/version-v3.10.2/lang/articles/extra/liquid.md",5903],f345d982:[function(){return n.e(1723).then(n.bind(n,4846))},"@site/versioned_docs/version-v3.10.2/lang/articles/faq.md",4846],f3703b84:[function(){return n.e(8143).then(n.bind(n,92972))},"@site/versioned_docs/version-v3.9.0/lang/articles/support.md",92972],f38bb537:[function(){return n.e(882).then(n.t.bind(n,43399,19))},"~blog/newsletter/en-newsletter-archive-b83.json",43399],f5cc76a7:[function(){return n.e(8666).then(n.bind(n,21779))},"@site/versioned_docs/version-v3.11.2/lang/articles/ui/ui_table.md",21779],f6b55758:[function(){return n.e(3764).then(n.t.bind(n,86167,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-11-2-index-html-851.sidebar.json",86167],f6b5ca96:[function(){return n.e(3967).then(n.bind(n,7433))},"@site/versioned_docs/version-v3.9.0/lang/articles/changelog.md",7433],f6cbeee1:[function(){return n.e(3836).then(n.t.bind(n,74641,19))},"~blog/default/en-blog-archive-10f.json",74641],f70958ec:[function(){return n.e(2560).then(n.t.bind(n,55827,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-8-1-index-html-adc.sidebar.json",55827],f8858d8f:[function(){return Promise.all([n.e(532),n.e(7679)]).then(n.bind(n,99962))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/gauge.md",99962],f9676efd:[function(){return Promise.all([n.e(532),n.e(3440)]).then(n.bind(n,99302))},"@site/versioned_docs/version-v3.12.0/lang/articles/extra/bar3d.md",99302],fba6c282:[function(){return n.e(4364).then(n.t.bind(n,99501,19))},"~blog/default/en-blog-038.json",99501],fbb33262:[function(){return n.e(6407).then(n.bind(n,27987))},"@site/versioned_docs/version-v3.6.0/lang/articles/advanced/tutorial11.md",27987],fc7855f2:[function(){return n.e(4661).then(n.t.bind(n,92714,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-11-2-index-html-851.content.json",92714],fcb13733:[function(){return n.e(4174).then(n.t.bind(n,88478,19))},"/Users/xiaomo/work/project/xcharts-team.github.io/website/.docusaurus/autoapi-plugin/default/users-xiaomo-work-project-xcharts-team-github-io-website-src-pages-api-v-3-6-0-index-html-9d2.sidebar.json",88478],feaf451d:[function(){return n.e(6858).then(n.t.bind(n,21470,19))},"~docs/default/version-v-3-6-0-metadata-prop-945.json",21470]};var d=function(e){var t={};return function e(n,r){Object.keys(n).forEach((function(a){var o,i=n[a],s=r?r+"."+a:a;"object"==typeof(o=i)&&o&&Object.keys(o).length>0?e(i,s):t[s]=i}))}(e),t};var f=function(e,t){if("*"===e)return s()({loading:l,loader:function(){return n.e(7372).then(n.bind(n,7372))}});var a=c[e+"-"+t],o=[],i=[],f={},p=d(a);return Object.keys(p).forEach((function(e){var t=u[p[e]];t&&(f[e]=t[0],o.push(t[1]),i.push(t[2]))})),s().Map({loading:l,loader:f,modules:o,webpack:function(){return i},render:function(e,t){var n=JSON.parse(JSON.stringify(a));Object.keys(e).forEach((function(t){for(var r=n,a=t.split("."),o=0;o<a.length-1;o+=1)r=r[a[o]];r[a[a.length-1]]=e[t].default;var i=Object.keys(e[t]).filter((function(e){return"default"!==e}));i&&i.length&&i.forEach((function(n){r[a[a.length-1]][n]=e[t][n]}))}));var o=n.component;return delete n.component,r.createElement(o,Object.assign({},n,t))}})},p=[{path:"/en/acknowledgments",component:f("/en/acknowledgments","9f8"),exact:!0},{path:"/en/api/",component:f("/en/api/","723"),exact:!0},{path:"/en/api/master/",component:f("/en/api/master/","8ec"),exact:!0},{path:"/en/api/v3.10.2/",component:f("/en/api/v3.10.2/","d19"),exact:!0},{path:"/en/api/v3.11.2/",component:f("/en/api/v3.11.2/","dde"),exact:!0},{path:"/en/api/v3.5.0/",component:f("/en/api/v3.5.0/","941"),exact:!0},{path:"/en/api/v3.6.0/",component:f("/en/api/v3.6.0/","f87"),exact:!0},{path:"/en/api/v3.7.0/",component:f("/en/api/v3.7.0/","79b"),exact:!0},{path:"/en/api/v3.8.1/",component:f("/en/api/v3.8.1/","81e"),exact:!0},{path:"/en/api/v3.9.0/",component:f("/en/api/v3.9.0/","f6d"),exact:!0},{path:"/en/blog",component:f("/en/blog","28c"),exact:!0},{path:"/en/blog/archive",component:f("/en/blog/archive","133"),exact:!0},{path:"/en/blog/blog-en-1",component:f("/en/blog/blog-en-1","5f3"),exact:!0},{path:"/en/blog/tags",component:f("/en/blog/tags","1b8"),exact:!0},{path:"/en/blog/tags/advanced",component:f("/en/blog/tags/advanced","c1e"),exact:!0},{path:"/en/blog/tags/beginner",component:f("/en/blog/tags/beginner","7d6"),exact:!0},{path:"/en/blog/tags/image-processing",component:f("/en/blog/tags/image-processing","26f"),exact:!0},{path:"/en/blog/tags/tutorial",component:f("/en/blog/tags/tutorial","108"),exact:!0},{path:"/en/community",component:f("/en/community","27c"),exact:!0},{path:"/en/contact-us",component:f("/en/contact-us","69e"),exact:!0},{path:"/en/docs",component:f("/en/docs","d37"),exact:!0},{path:"/en/examples/",component:f("/en/examples/","354"),exact:!0},{path:"/en/help-us-translate",component:f("/en/help-us-translate","713"),exact:!0},{path:"/en/newsletter",component:f("/en/newsletter","112"),exact:!0},{path:"/en/newsletter/2022/12/newsletter2212",component:f("/en/newsletter/2022/12/newsletter2212","934"),exact:!0},{path:"/en/newsletter/archive",component:f("/en/newsletter/archive","3ef"),exact:!0},{path:"/en/search",component:f("/en/search","730"),exact:!0},{path:"/en/user-stories/",component:f("/en/user-stories/","022"),exact:!0},{path:"/en/docs/master",component:f("/en/docs/master","e60"),routes:[{path:"/en/docs/master/about",component:f("/en/docs/master/about","042"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/api",component:f("/en/docs/master/api","24e"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/bar3d",component:f("/en/docs/master/bar3d","a97"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/changelog",component:f("/en/docs/master/changelog","9ef"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/configuration",component:f("/en/docs/master/configuration","4b3"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/extra",component:f("/en/docs/master/extra","568"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/faq",component:f("/en/docs/master/faq","4da"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/funnel",component:f("/en/docs/master/funnel","c1a"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/gantt",component:f("/en/docs/master/gantt","446"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/gauge",component:f("/en/docs/master/gauge","526"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/graph",component:f("/en/docs/master/graph","a42"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/inputsystem",component:f("/en/docs/master/inputsystem","94c"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/lang/articles/ui/ui_statistic",component:f("/en/docs/master/lang/articles/ui/ui_statistic","b91"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/lang/articles/ui/ui_table",component:f("/en/docs/master/lang/articles/ui/ui_table","fdf"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/line3d",component:f("/en/docs/master/line3d","6ea"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/liquid",component:f("/en/docs/master/liquid","db9"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/pictorialbar",component:f("/en/docs/master/pictorialbar","f19"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/pie3d",component:f("/en/docs/master/pie3d","3df"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/pyramid",component:f("/en/docs/master/pyramid","cde"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/sankey",component:f("/en/docs/master/sankey","753"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/support",component:f("/en/docs/master/support","4b9"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/treemap",component:f("/en/docs/master/treemap","6ec"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/tutorial01",component:f("/en/docs/master/tutorial01","0f3"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/tutorial02",component:f("/en/docs/master/tutorial02","8d2"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/tutorial03",component:f("/en/docs/master/tutorial03","b7c"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/master/ui",component:f("/en/docs/master/ui","775"),exact:!0,sidebar:"langSidebar"}]},{path:"/en/docs/v3.10.2",component:f("/en/docs/v3.10.2","05c"),routes:[{path:"/en/docs/v3.10.2/about",component:f("/en/docs/v3.10.2/about","08f"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/api",component:f("/en/docs/v3.10.2/api","bbe"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/bar3d",component:f("/en/docs/v3.10.2/bar3d","760"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/changelog",component:f("/en/docs/v3.10.2/changelog","8a6"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/configuration",component:f("/en/docs/v3.10.2/configuration","3d0"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/extra",component:f("/en/docs/v3.10.2/extra","01d"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/faq",component:f("/en/docs/v3.10.2/faq","eb6"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/funnel",component:f("/en/docs/v3.10.2/funnel","fb4"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/gantt",component:f("/en/docs/v3.10.2/gantt","4cc"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/gauge",component:f("/en/docs/v3.10.2/gauge","d63"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/inputsystem",component:f("/en/docs/v3.10.2/inputsystem","93e"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/lang/articles/ui/ui_statistic",component:f("/en/docs/v3.10.2/lang/articles/ui/ui_statistic","613"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/lang/articles/ui/ui_table",component:f("/en/docs/v3.10.2/lang/articles/ui/ui_table","2c1"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/liquid",component:f("/en/docs/v3.10.2/liquid","c33"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/pictorialbar",component:f("/en/docs/v3.10.2/pictorialbar","525"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/pie3d",component:f("/en/docs/v3.10.2/pie3d","c6d"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/pyramid",component:f("/en/docs/v3.10.2/pyramid","dd1"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/sankey",component:f("/en/docs/v3.10.2/sankey","c29"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/support",component:f("/en/docs/v3.10.2/support","1cc"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/treemap",component:f("/en/docs/v3.10.2/treemap","512"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/tutorial01",component:f("/en/docs/v3.10.2/tutorial01","227"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/tutorial02",component:f("/en/docs/v3.10.2/tutorial02","44f"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/tutorial03",component:f("/en/docs/v3.10.2/tutorial03","c4b"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.10.2/ui",component:f("/en/docs/v3.10.2/ui","4a7"),exact:!0,sidebar:"langSidebar"}]},{path:"/en/docs/v3.11.2",component:f("/en/docs/v3.11.2","731"),routes:[{path:"/en/docs/v3.11.2/about",component:f("/en/docs/v3.11.2/about","adc"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/api",component:f("/en/docs/v3.11.2/api","875"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/bar3d",component:f("/en/docs/v3.11.2/bar3d","9e9"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/changelog",component:f("/en/docs/v3.11.2/changelog","e41"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/configuration",component:f("/en/docs/v3.11.2/configuration","29c"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/extra",component:f("/en/docs/v3.11.2/extra","6b8"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/faq",component:f("/en/docs/v3.11.2/faq","88a"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/funnel",component:f("/en/docs/v3.11.2/funnel","6fb"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/gantt",component:f("/en/docs/v3.11.2/gantt","b5f"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/gauge",component:f("/en/docs/v3.11.2/gauge","42b"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/graph",component:f("/en/docs/v3.11.2/graph","db6"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/inputsystem",component:f("/en/docs/v3.11.2/inputsystem","142"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/lang/articles/ui/ui_statistic",component:f("/en/docs/v3.11.2/lang/articles/ui/ui_statistic","88b"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/lang/articles/ui/ui_table",component:f("/en/docs/v3.11.2/lang/articles/ui/ui_table","949"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/line3d",component:f("/en/docs/v3.11.2/line3d","48b"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/liquid",component:f("/en/docs/v3.11.2/liquid","b78"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/pictorialbar",component:f("/en/docs/v3.11.2/pictorialbar","e96"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/pie3d",component:f("/en/docs/v3.11.2/pie3d","5aa"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/pyramid",component:f("/en/docs/v3.11.2/pyramid","f8d"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/sankey",component:f("/en/docs/v3.11.2/sankey","1ba"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/support",component:f("/en/docs/v3.11.2/support","1d5"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/treemap",component:f("/en/docs/v3.11.2/treemap","210"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/tutorial01",component:f("/en/docs/v3.11.2/tutorial01","99b"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/tutorial02",component:f("/en/docs/v3.11.2/tutorial02","26c"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/tutorial03",component:f("/en/docs/v3.11.2/tutorial03","982"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.11.2/ui",component:f("/en/docs/v3.11.2/ui","004"),exact:!0,sidebar:"langSidebar"}]},{path:"/en/docs/v3.5.0",component:f("/en/docs/v3.5.0","448"),routes:[{path:"/en/docs/v3.5.0/about",component:f("/en/docs/v3.5.0/about","de1"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.5.0/api",component:f("/en/docs/v3.5.0/api","ff5"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.5.0/bar3d",component:f("/en/docs/v3.5.0/bar3d","6f2"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.5.0/changelog",component:f("/en/docs/v3.5.0/changelog","708"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.5.0/configuration",component:f("/en/docs/v3.5.0/configuration","473"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.5.0/faq",component:f("/en/docs/v3.5.0/faq","810"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.5.0/funnel",component:f("/en/docs/v3.5.0/funnel","6ec"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.5.0/gantt",component:f("/en/docs/v3.5.0/gantt","c88"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.5.0/gauge",component:f("/en/docs/v3.5.0/gauge","589"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.5.0/liquid",component:f("/en/docs/v3.5.0/liquid","26b"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.5.0/pictorialbar",component:f("/en/docs/v3.5.0/pictorialbar","dc7"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.5.0/pie3d",component:f("/en/docs/v3.5.0/pie3d","eb9"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.5.0/pyramid",component:f("/en/docs/v3.5.0/pyramid","556"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.5.0/support",component:f("/en/docs/v3.5.0/support","129"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.5.0/treemap",component:f("/en/docs/v3.5.0/treemap","5de"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.5.0/tutorial01",component:f("/en/docs/v3.5.0/tutorial01","5d3"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.5.0/tutorial02",component:f("/en/docs/v3.5.0/tutorial02","f1d"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.5.0/tutorial03",component:f("/en/docs/v3.5.0/tutorial03","c53"),exact:!0,sidebar:"langSidebar"}]},{path:"/en/docs/v3.6.0",component:f("/en/docs/v3.6.0","bec"),routes:[{path:"/en/docs/v3.6.0/about",component:f("/en/docs/v3.6.0/about","59d"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/api",component:f("/en/docs/v3.6.0/api","504"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/bar3d",component:f("/en/docs/v3.6.0/bar3d","231"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/changelog",component:f("/en/docs/v3.6.0/changelog","f60"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/configuration",component:f("/en/docs/v3.6.0/configuration","ce2"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/extra",component:f("/en/docs/v3.6.0/extra","bf1"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/faq",component:f("/en/docs/v3.6.0/faq","e45"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/funnel",component:f("/en/docs/v3.6.0/funnel","256"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/gantt",component:f("/en/docs/v3.6.0/gantt","459"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/gauge",component:f("/en/docs/v3.6.0/gauge","5bb"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/inputsystem",component:f("/en/docs/v3.6.0/inputsystem","5b3"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/lang/articles/ui/ui_statistic",component:f("/en/docs/v3.6.0/lang/articles/ui/ui_statistic","8ff"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/lang/articles/ui/ui_table",component:f("/en/docs/v3.6.0/lang/articles/ui/ui_table","694"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/liquid",component:f("/en/docs/v3.6.0/liquid","b49"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/pictorialbar",component:f("/en/docs/v3.6.0/pictorialbar","2b6"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/pie3d",component:f("/en/docs/v3.6.0/pie3d","568"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/pyramid",component:f("/en/docs/v3.6.0/pyramid","9ab"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/support",component:f("/en/docs/v3.6.0/support","9fa"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/treemap",component:f("/en/docs/v3.6.0/treemap","5b1"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/tutorial01",component:f("/en/docs/v3.6.0/tutorial01","078"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/tutorial02",component:f("/en/docs/v3.6.0/tutorial02","32a"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/tutorial03",component:f("/en/docs/v3.6.0/tutorial03","4e5"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.6.0/ui",component:f("/en/docs/v3.6.0/ui","3cb"),exact:!0,sidebar:"langSidebar"}]},{path:"/en/docs/v3.7.0",component:f("/en/docs/v3.7.0","627"),routes:[{path:"/en/docs/v3.7.0/about",component:f("/en/docs/v3.7.0/about","a68"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/api",component:f("/en/docs/v3.7.0/api","45c"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/bar3d",component:f("/en/docs/v3.7.0/bar3d","ddf"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/changelog",component:f("/en/docs/v3.7.0/changelog","afd"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/configuration",component:f("/en/docs/v3.7.0/configuration","11a"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/extra",component:f("/en/docs/v3.7.0/extra","44f"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/faq",component:f("/en/docs/v3.7.0/faq","914"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/funnel",component:f("/en/docs/v3.7.0/funnel","d83"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/gantt",component:f("/en/docs/v3.7.0/gantt","a8c"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/gauge",component:f("/en/docs/v3.7.0/gauge","32f"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/inputsystem",component:f("/en/docs/v3.7.0/inputsystem","e27"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/lang/articles/ui/ui_statistic",component:f("/en/docs/v3.7.0/lang/articles/ui/ui_statistic","f0b"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/lang/articles/ui/ui_table",component:f("/en/docs/v3.7.0/lang/articles/ui/ui_table","4c2"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/liquid",component:f("/en/docs/v3.7.0/liquid","f76"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/pictorialbar",component:f("/en/docs/v3.7.0/pictorialbar","b4f"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/pie3d",component:f("/en/docs/v3.7.0/pie3d","9ee"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/pyramid",component:f("/en/docs/v3.7.0/pyramid","93e"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/support",component:f("/en/docs/v3.7.0/support","8b3"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/treemap",component:f("/en/docs/v3.7.0/treemap","ff7"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/tutorial01",component:f("/en/docs/v3.7.0/tutorial01","8aa"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/tutorial02",component:f("/en/docs/v3.7.0/tutorial02","42a"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/tutorial03",component:f("/en/docs/v3.7.0/tutorial03","c7f"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.7.0/ui",component:f("/en/docs/v3.7.0/ui","aac"),exact:!0,sidebar:"langSidebar"}]},{path:"/en/docs/v3.8.1",component:f("/en/docs/v3.8.1","40c"),routes:[{path:"/en/docs/v3.8.1/about",component:f("/en/docs/v3.8.1/about","6b2"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/api",component:f("/en/docs/v3.8.1/api","9a0"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/bar3d",component:f("/en/docs/v3.8.1/bar3d","019"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/changelog",component:f("/en/docs/v3.8.1/changelog","1fe"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/configuration",component:f("/en/docs/v3.8.1/configuration","656"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/extra",component:f("/en/docs/v3.8.1/extra","4f4"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/faq",component:f("/en/docs/v3.8.1/faq","a70"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/funnel",component:f("/en/docs/v3.8.1/funnel","1b5"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/gantt",component:f("/en/docs/v3.8.1/gantt","5c2"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/gauge",component:f("/en/docs/v3.8.1/gauge","c50"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/inputsystem",component:f("/en/docs/v3.8.1/inputsystem","efe"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/lang/articles/ui/ui_statistic",component:f("/en/docs/v3.8.1/lang/articles/ui/ui_statistic","1d8"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/lang/articles/ui/ui_table",component:f("/en/docs/v3.8.1/lang/articles/ui/ui_table","c36"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/liquid",component:f("/en/docs/v3.8.1/liquid","144"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/pictorialbar",component:f("/en/docs/v3.8.1/pictorialbar","9f8"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/pie3d",component:f("/en/docs/v3.8.1/pie3d","482"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/pyramid",component:f("/en/docs/v3.8.1/pyramid","4d5"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/support",component:f("/en/docs/v3.8.1/support","ab6"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/treemap",component:f("/en/docs/v3.8.1/treemap","c74"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/tutorial01",component:f("/en/docs/v3.8.1/tutorial01","cec"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/tutorial02",component:f("/en/docs/v3.8.1/tutorial02","76a"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/tutorial03",component:f("/en/docs/v3.8.1/tutorial03","2c5"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.8.1/ui",component:f("/en/docs/v3.8.1/ui","743"),exact:!0,sidebar:"langSidebar"}]},{path:"/en/docs/v3.9.0",component:f("/en/docs/v3.9.0","f4e"),routes:[{path:"/en/docs/v3.9.0/about",component:f("/en/docs/v3.9.0/about","c93"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/api",component:f("/en/docs/v3.9.0/api","916"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/bar3d",component:f("/en/docs/v3.9.0/bar3d","396"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/changelog",component:f("/en/docs/v3.9.0/changelog","0d1"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/configuration",component:f("/en/docs/v3.9.0/configuration","727"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/extra",component:f("/en/docs/v3.9.0/extra","668"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/faq",component:f("/en/docs/v3.9.0/faq","dee"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/funnel",component:f("/en/docs/v3.9.0/funnel","cf4"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/gantt",component:f("/en/docs/v3.9.0/gantt","a3b"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/gauge",component:f("/en/docs/v3.9.0/gauge","5c0"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/inputsystem",component:f("/en/docs/v3.9.0/inputsystem","b69"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/lang/articles/ui/ui_statistic",component:f("/en/docs/v3.9.0/lang/articles/ui/ui_statistic","8ae"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/lang/articles/ui/ui_table",component:f("/en/docs/v3.9.0/lang/articles/ui/ui_table","e8f"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/liquid",component:f("/en/docs/v3.9.0/liquid","4bf"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/pictorialbar",component:f("/en/docs/v3.9.0/pictorialbar","f30"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/pie3d",component:f("/en/docs/v3.9.0/pie3d","06f"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/pyramid",component:f("/en/docs/v3.9.0/pyramid","f13"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/sankey",component:f("/en/docs/v3.9.0/sankey","b72"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/support",component:f("/en/docs/v3.9.0/support","b82"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/treemap",component:f("/en/docs/v3.9.0/treemap","c23"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/tutorial01",component:f("/en/docs/v3.9.0/tutorial01","d28"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/tutorial02",component:f("/en/docs/v3.9.0/tutorial02","bee"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/tutorial03",component:f("/en/docs/v3.9.0/tutorial03","570"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/v3.9.0/ui",component:f("/en/docs/v3.9.0/ui","e80"),exact:!0,sidebar:"langSidebar"}]},{path:"/en/docs",component:f("/en/docs","e7d"),routes:[{path:"/en/docs/about",component:f("/en/docs/about","14b"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/api",component:f("/en/docs/api","742"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/bar3d",component:f("/en/docs/bar3d","7d0"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/changelog",component:f("/en/docs/changelog","d63"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/configuration",component:f("/en/docs/configuration","d77"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/extra",component:f("/en/docs/extra","108"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/faq",component:f("/en/docs/faq","18e"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/funnel",component:f("/en/docs/funnel","62e"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/gantt",component:f("/en/docs/gantt","65f"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/gauge",component:f("/en/docs/gauge","3e9"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/graph",component:f("/en/docs/graph","477"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/inputsystem",component:f("/en/docs/inputsystem","5e3"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/lang/articles/ui/ui_statistic",component:f("/en/docs/lang/articles/ui/ui_statistic","cf2"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/lang/articles/ui/ui_table",component:f("/en/docs/lang/articles/ui/ui_table","535"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/line3d",component:f("/en/docs/line3d","fc0"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/liquid",component:f("/en/docs/liquid","96b"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/pictorialbar",component:f("/en/docs/pictorialbar","d38"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/pie3d",component:f("/en/docs/pie3d","99f"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/pyramid",component:f("/en/docs/pyramid","ad7"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/sankey",component:f("/en/docs/sankey","5ba"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/support",component:f("/en/docs/support","dab"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/treemap",component:f("/en/docs/treemap","240"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/tutorial01",component:f("/en/docs/tutorial01","197"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/tutorial02",component:f("/en/docs/tutorial02","9bf"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/tutorial03",component:f("/en/docs/tutorial03","f4e"),exact:!0,sidebar:"langSidebar"},{path:"/en/docs/ui",component:f("/en/docs/ui","6d7"),exact:!0,sidebar:"langSidebar"}]},{path:"/en/",component:f("/en/","4b5"),exact:!0},{path:"*",component:f("*")}],g=n(10412),m=n(46291),b=n(9913),h=n(50427),v=n(90144),y=n(76775),w=n(74865),x=n.n(w),S=[n(56657),n(50905),n(72448),n(14706),n(60985)];function k(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];S.forEach((function(t){var r,a,o=null!==(a=null===(r=null==t?void 0:t.default)||void 0===r?void 0:r[e])&&void 0!==a?a:t[e];o&&o.apply(void 0,n)}))}var E={onRouteUpdate:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];k.apply(void 0,["onRouteUpdate"].concat(t))},onRouteUpdateDelayed:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];k.apply(void 0,["onRouteUpdateDelayed"].concat(t))}},_=n(18790);function C(e,t){var n=(0,_.f)(e,t);return Promise.all(n.map((function(e){var t=e.route.component;if(t&&t.preload)return t.preload()})))}var P={};var T=function(e){if(P[e.pathname])return Object.assign({},e,{pathname:P[e.pathname]});var t=e.pathname||"/";return""===(t=t.trim().replace(/\/index\.html$/,""))&&(t="/"),P[e.pathname]=t,Object.assign({},e,{pathname:t})};x().configure({showSpinner:!1});var O=function(e){function t(t){var n;return(n=e.call(this,t)||this).previousLocation=null,n.progressBarTimeout=null,n.state={nextRouteHasLoaded:!0},n}(0,v.Z)(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e,t){var n=this,r=e.location!==this.props.location,a=this.props,o=a.routes,i=a.delay;if(r){var s=T(e.location);return this.startProgressBar(i),this.previousLocation=T(this.props.location),this.setState({nextRouteHasLoaded:!1}),C(o,s.pathname).then((function(){E.onRouteUpdate({previousLocation:n.previousLocation,location:s}),n.previousLocation=null,n.setState({nextRouteHasLoaded:!0},n.stopProgressBar);var e=s.hash;if(e){var t=decodeURIComponent(e.substring(1)),r=document.getElementById(t);r&&r.scrollIntoView()}else window.scrollTo(0,0)})).catch((function(e){return console.warn(e)})),!1}return!!t.nextRouteHasLoaded},n.clearProgressBarTimeout=function(){this.progressBarTimeout&&(clearTimeout(this.progressBarTimeout),this.progressBarTimeout=null)},n.startProgressBar=function(e){var t=this;this.clearProgressBarTimeout(),this.progressBarTimeout=setTimeout((function(){E.onRouteUpdateDelayed({location:T(t.props.location)}),x().start()}),e)},n.stopProgressBar=function(){this.clearProgressBarTimeout(),x().done()},n.render=function(){var e=this.props,t=e.children,n=e.location;return r.createElement(y.AW,{location:T(n),render:function(){return t}})},t}(r.Component),L=(0,y.EN)(O),A=n(12859),M=n(52263),N="docusaurus-base-url-issue-banner-container",R="docusaurus-base-url-issue-banner-suggestion-container",j="__DOCUSAURUS_INSERT_BASEURL_BANNER";function I(e){return"\nwindow['"+j+"'] = true;\n\ndocument.addEventListener('DOMContentLoaded', maybeInsertBanner);\n\nfunction maybeInsertBanner() {\n var shouldInsert = window['"+j+"'];\n shouldInsert && insertBanner();\n}\n\nfunction insertBanner() {\n var bannerContainer = document.getElementById('"+N+"');\n if (!bannerContainer) {\n return;\n }\n var bannerHtml = "+JSON.stringify(function(e){return'\n<div id="docusaurus-base-url-issue-banner" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseurl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">'+e+"</span> "+("/"===e?" (default value)":"")+'</p>\n <p>We suggest trying baseUrl = <span id="'+R+'" style="font-weight: bold; color: green;"></span></p>\n</div>\n'}(e)).replace(/</g,"\\<")+";\n bannerContainer.innerHTML = bannerHtml;\n var suggestionContainer = document.getElementById('"+R+"');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n"}function D(){var e=(0,M.Z)().siteConfig.baseUrl;return(0,r.useLayoutEffect)((function(){window[j]=!1}),[]),r.createElement(r.Fragment,null,!g.default.canUseDOM&&r.createElement(A.Z,null,r.createElement("script",null,I(e))),r.createElement("div",{id:N}))}function F(){var e=(0,M.Z)().siteConfig,t=e.baseUrl,n=e.baseUrlIssueBanner,a=(0,y.TH)().pathname;return n&&a===t?r.createElement(D,null):null}var U=function(e){return e.children},B=n(20780),z=n(14953);var $=function(){return r.createElement(B.Z,{fallback:z.Z},r.createElement(h.M,null,r.createElement(b.t,null,r.createElement(U,null,r.createElement(F,null),r.createElement(L,{routes:p,delay:1e3},(0,m.Z)(p))))))};var q=function(e){if("undefined"==typeof document)return!1;var t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(n){return!1}return!1}("prefetch")?function(e){return new Promise((function(t,n){if("undefined"!=typeof document){var r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=t,r.onerror=n,(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(r)}else n()}))}:function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=function(){200===r.status?t():n()},r.send(null)}))},Z={};var H=function(e){return new Promise((function(t){Z[e]?t():q(e).then((function(){t(),Z[e]=!0})).catch((function(){}))}))},V={},G={},W=function(){var e,t;return(null===(e=navigator.connection)||void 0===e?void 0:e.effectiveType.includes("2g"))&&(null===(t=navigator.connection)||void 0===t?void 0:t.saveData)},X={prefetch:function(e){return!!function(e){return!W()&&!G[e]&&!V[e]}(e)&&(V[e]=!0,(0,_.f)(p,e).flatMap((function(e){return t=e.route.path,Object.entries(c).filter((function(e){return e[0].replace(/(-[^-]+)$/,"")===t})).flatMap((function(e){var t=e[1];return Object.values(d(t))}));var t})).forEach((function(e){var t=n.gca(e);t&&!/undefined/.test(t)&&H(t)})),!0)},preload:function(e){return!!function(e){return!W()&&!G[e]}(e)&&(G[e]=!0,C(p,e),!0)}};if(g.default.canUseDOM){window.docusaurus=X;var Y=a.hydrate;C(p,window.location.pathname).then((function(){Y(r.createElement(o.VK,null,r.createElement($,null)),document.getElementById("__docusaurus"))}))}},91262:function(e,t,n){"use strict";var r=n(67294),a=n(72389);t.Z=function(e){var t=e.children,n=e.fallback;return(0,a.Z)()?r.createElement(r.Fragment,null,t()):n||null}},20780:function(e,t,n){"use strict";var r=n(90144),a=n(67294),o=n(10412),i=n(14953),s=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={error:null},n}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidCatch=function(e){o.default.canUseDOM&&this.setState({error:e})},n.render=function(){var e,t=this,n=this.props.children,r=this.state.error;return r?(null!==(e=this.props.fallback)&&void 0!==e?e:i.Z)({error:r,tryAgain:function(){return t.setState({error:null})}}):null!=n?n:null},t}(a.Component);t.Z=s},10412:function(e,t,n){"use strict";n.r(t);var r=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:r,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&!!window.screen};t.default=a},12859:function(e,t,n){"use strict";n.d(t,{Z:function(){return be}});var r,a,o,i,s=n(67294),l=n(45697),c=n.n(l),u=n(83524),d=n.n(u),f=n(69590),p=n.n(f),g=n(27418),m=n.n(g),b="bodyAttributes",h="htmlAttributes",v="titleAttributes",y={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},w=(Object.keys(y).map((function(e){return y[e]})),"charset"),x="cssText",S="href",k="http-equiv",E="innerHTML",_="itemprop",C="name",P="property",T="rel",O="src",L="target",A={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},M="defaultTitle",N="defer",R="encodeSpecialCharacters",j="onChangeClientState",I="titleTemplate",D=Object.keys(A).reduce((function(e,t){return e[A[t]]=t,e}),{}),F=[y.NOSCRIPT,y.SCRIPT,y.STYLE],U="data-react-helmet",B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},$=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Z=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},H=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},V=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},G=function(e){var t=Q(e,y.TITLE),n=Q(e,I);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=Q(e,M);return t||r||void 0},W=function(e){return Q(e,j)||function(){}},X=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return q({},e,t)}),{})},Y=function(e,t){return t.filter((function(e){return void 0!==e[y.BASE]})).map((function(e){return e[y.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a++){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},K=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&re("Helmet: "+e+' should be of type "Array". Instead found type "'+B(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n=void 0,o=Object.keys(e),i=0;i<o.length;i++){var s=o[i],l=s.toLowerCase();-1===t.indexOf(l)||n===T&&"canonical"===e[n].toLowerCase()||l===T&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||s!==E&&s!==x&&s!==_||(n=s)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][c]&&(a[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(a),i=0;i<o.length;i++){var s=o[i],l=m()({},r[s],a[s]);r[s]=l}return e}),[]).reverse()},Q=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},J=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){J(e)}),0)}),ee=function(e){return clearTimeout(e)},te="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||J:n.g.requestAnimationFrame||J,ne="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||ee:n.g.cancelAnimationFrame||ee,re=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},ae=null,oe=function(e,t){var n=e.baseTag,r=e.bodyAttributes,a=e.htmlAttributes,o=e.linkTags,i=e.metaTags,s=e.noscriptTags,l=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,d=e.title,f=e.titleAttributes;le(y.BODY,r),le(y.HTML,a),se(d,f);var p={baseTag:ce(y.BASE,n),linkTags:ce(y.LINK,o),metaTags:ce(y.META,i),noscriptTags:ce(y.NOSCRIPT,s),scriptTags:ce(y.SCRIPT,c),styleTags:ce(y.STYLE,u)},g={},m={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(g[e]=n),r.length&&(m[e]=p[e].oldTags)})),t&&t(),l(e,g,m)},ie=function(e){return Array.isArray(e)?e.join(""):e},se=function(e,t){void 0!==e&&document.title!==e&&(document.title=ie(e)),le(y.TITLE,t)},le=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(U),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),s=0;s<i.length;s++){var l=i[s],c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),-1===a.indexOf(l)&&a.push(l);var u=o.indexOf(l);-1!==u&&o.splice(u,1)}for(var d=o.length-1;d>=0;d--)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute(U):n.getAttribute(U)!==i.join(",")&&n.setAttribute(U,i.join(","))}},ce=function(e,t){var n=document.head||document.querySelector(y.HEAD),r=n.querySelectorAll(e+"["+"data-react-helmet]"),a=Array.prototype.slice.call(r),o=[],i=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===E)n.innerHTML=t.innerHTML;else if(r===x)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var s=void 0===t[r]?"":t[r];n.setAttribute(r,s)}n.setAttribute(U,"true"),a.some((function(e,t){return i=t,n.isEqualNode(e)}))?a.splice(i,1):o.push(n)})),a.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return n.appendChild(e)})),{oldTags:a,newTags:o}},ue=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},de=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[A[n]||n]=e[n],t}),t)},fe=function(e,t,n){switch(e){case y.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[U]=!0,a=de(n,r),[s.createElement(y.TITLE,a,e)];var e,n,r,a},toString:function(){return function(e,t,n,r){var a=ue(n),o=ie(t);return a?"<"+e+' data-react-helmet="true" '+a+">"+V(o,r)+"</"+e+">":"<"+e+' data-react-helmet="true">'+V(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case b:case h:return{toComponent:function(){return de(t)},toString:function(){return ue(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,a=((r={key:n})[U]=!0,r);return Object.keys(t).forEach((function(e){var n=A[e]||e;if(n===E||n===x){var r=t.innerHTML||t.cssText;a.dangerouslySetInnerHTML={__html:r}}else a[n]=t[e]})),s.createElement(e,a)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!(e===E||e===x)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+V(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===F.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+a+(i?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},pe=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.linkTags,i=e.metaTags,s=e.noscriptTags,l=e.scriptTags,c=e.styleTags,u=e.title,d=void 0===u?"":u,f=e.titleAttributes;return{base:fe(y.BASE,t,r),bodyAttributes:fe(b,n,r),htmlAttributes:fe(h,a,r),link:fe(y.LINK,o,r),meta:fe(y.META,i,r),noscript:fe(y.NOSCRIPT,s,r),script:fe(y.SCRIPT,l,r),style:fe(y.STYLE,c,r),title:fe(y.TITLE,{title:d,titleAttributes:f},r)}},ge=d()((function(e){return{baseTag:Y([S,L],e),bodyAttributes:X(b,e),defer:Q(e,N),encode:Q(e,R),htmlAttributes:X(h,e),linkTags:K(y.LINK,[T,S],e),metaTags:K(y.META,[C,w,k,P,_],e),noscriptTags:K(y.NOSCRIPT,[E],e),onChangeClientState:W(e),scriptTags:K(y.SCRIPT,[O,E],e),styleTags:K(y.STYLE,[x],e),title:G(e),titleAttributes:X(v,e)}}),(function(e){ae&&ne(ae),e.defer?ae=te((function(){oe(e,(function(){ae=null}))})):(oe(e),ae=null)}),pe)((function(){return null})),me=(a=ge,i=o=function(e){function t(){return z(this,t),H(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!p()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case y.SCRIPT:case y.NOSCRIPT:return{innerHTML:t};case y.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,a=e.newChildProps,o=e.nestedChildren;return q({},r,((t={})[n.type]=[].concat(r[n.type]||[],[q({},a,this.mapNestedChildrenToProps(n,o))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case y.TITLE:return q({},a,((t={})[r.type]=i,t.titleAttributes=q({},o),t));case y.BODY:return q({},a,{bodyAttributes:q({},o)});case y.HTML:return q({},a,{htmlAttributes:q({},o)})}return q({},a,((n={})[r.type]=q({},o),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=q({},t);return Object.keys(e).forEach((function(t){var r;n=q({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return s.Children.forEach(e,(function(e){if(e&&e.props){var a=e.props,o=a.children,i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[D[n]||n]=e[n],t}),t)}(Z(a,["children"]));switch(n.warnOnInvalidChildren(e,o),e.type){case y.LINK:case y.META:case y.NOSCRIPT:case y.SCRIPT:case y.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:i,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:i,nestedChildren:o})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=Z(e,["children"]),r=q({},n);return t&&(r=this.mapChildrenToProps(t,r)),s.createElement(a,r)},$(t,null,[{key:"canUseDOM",set:function(e){a.canUseDOM=e}}]),t}(s.Component),o.propTypes={base:c().object,bodyAttributes:c().object,children:c().oneOfType([c().arrayOf(c().node),c().node]),defaultTitle:c().string,defer:c().bool,encodeSpecialCharacters:c().bool,htmlAttributes:c().object,link:c().arrayOf(c().object),meta:c().arrayOf(c().object),noscript:c().arrayOf(c().object),onChangeClientState:c().func,script:c().arrayOf(c().object),style:c().arrayOf(c().object),title:c().string,titleAttributes:c().object,titleTemplate:c().string},o.defaultProps={defer:!0,encodeSpecialCharacters:!0},o.peek=a.peek,o.rewind=function(){var e=a.rewind();return e||(e=pe({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},i);me.renderStatic=me.rewind;var be=function(e){return s.createElement(me,Object.assign({},e))}},39960:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(80102),a=n(67294),o=n(73727),i=n(52263),s=n(13919),l=n(10412),c=(0,a.createContext)({collectLink:function(){}});var u=n(44996),d=n(18780),f=["isNavLink","to","href","activeClassName","isActive","data-noBrokenLinkCheck","autoAddBaseUrl"];var p=function(e){var t,n,p=e.isNavLink,g=e.to,m=e.href,b=e.activeClassName,h=e.isActive,v=e["data-noBrokenLinkCheck"],y=e.autoAddBaseUrl,w=void 0===y||y,x=(0,r.Z)(e,f),S=(0,i.Z)().siteConfig,k=S.trailingSlash,E=S.baseUrl,_=(0,u.C)().withBaseUrl,C=(0,a.useContext)(c),P=g||m,T=(0,s.Z)(P),O=null==P?void 0:P.replace("pathname://",""),L=void 0!==O?(n=O,w&&function(e){return e.startsWith("/")}(n)?_(n):n):void 0;L&&T&&(L=(0,d.applyTrailingSlash)(L,{trailingSlash:k,baseUrl:E}));var A=(0,a.useRef)(!1),M=p?o.OL:o.rU,N=l.default.canUseIntersectionObserver,R=(0,a.useRef)();(0,a.useEffect)((function(){return!N&&T&&null!=L&&window.docusaurus.prefetch(L),function(){N&&R.current&&R.current.disconnect()}}),[R,L,N,T]);var j=null!==(t=null==L?void 0:L.startsWith("#"))&&void 0!==t&&t,I=!L||!T||j;return L&&T&&!j&&!v&&C.collectLink(L),I?a.createElement("a",Object.assign({href:L},P&&!T&&{target:"_blank",rel:"noopener noreferrer"},x)):a.createElement(M,Object.assign({},x,{onMouseEnter:function(){A.current||null==L||(window.docusaurus.preload(L),A.current=!0)},innerRef:function(e){var t,n;N&&e&&T&&(t=e,n=function(){null!=L&&window.docusaurus.prefetch(L)},R.current=new window.IntersectionObserver((function(e){e.forEach((function(e){t===e.target&&(e.isIntersecting||e.intersectionRatio>0)&&(R.current.unobserve(t),R.current.disconnect(),n())}))})),R.current.observe(t))},to:L||""},p&&{isActive:h,activeClassName:b}))}},95999:function(e,t,n){"use strict";n.d(t,{Z:function(){return u},I:function(){return c}});var r=n(67294),a=/{\w+}/g,o="{}";function i(e,t){var n=[],i=e.replace(a,(function(e){var a=e.substring(1,e.length-1),i=null==t?void 0:t[a];if(void 0!==i){var s=r.isValidElement(i)?i:String(i);return n.push(s),o}return e}));return 0===n.length?e:n.every((function(e){return"string"==typeof e}))?i.split(o).reduce((function(e,t,r){var a;return e.concat(t).concat(null!==(a=n[r])&&void 0!==a?a:"")}),""):i.split(o).reduce((function(e,t,a){return[].concat(e,[r.createElement(r.Fragment,{key:a},t,n[a])])}),[])}var s=n(57529);function l(e){var t,n,r=e.id,a=e.message;if(void 0===r&&void 0===a)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return null!==(n=null!==(t=s[null!=r?r:a])&&void 0!==t?t:a)&&void 0!==n?n:r}function c(e,t){return i(l({message:e.message,id:e.id}),t)}function u(e){var t=e.children,n=e.id,r=e.values;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");return i(l({message:t,id:n}),r)}},9913:function(e,t,n){"use strict";n.d(t,{_:function(){return a},t:function(){return o}});var r=n(67294),a=r.createContext(!1);function o(e){var t=e.children,n=(0,r.useState)(!1),o=n[0],i=n[1];return(0,r.useEffect)((function(){i(!0)}),[]),r.createElement(a.Provider,{value:o},t)}},29935:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});var r="default"},50427:function(e,t,n){"use strict";n.d(t,{_:function(){return u},M:function(){return d}});var r=n(67294),a=n(99782),o=n(81115),i=JSON.parse('{"defaultLocale":"zh-Hans","locales":["zh-Hans","en"],"currentLocale":"en","localeConfigs":{"zh-Hans":{"label":"\u7b80\u4f53\u4e2d\u6587","direction":"ltr","htmlLang":"zh-Hans"},"en":{"label":"English","direction":"ltr","htmlLang":"en"}}}'),s=n(57529),l=JSON.parse('{"docusaurusVersion":"2.0.0-beta.15","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"2.0.0-beta.15"},"docusaurus-plugin-google-gtag":{"type":"package","name":"@docusaurus/plugin-google-gtag","version":"2.0.0-beta.15"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"2.0.0-beta.15"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"2.0.0-beta.15"},"docusaurus-theme-search-algolia":{"type":"package","name":"@docusaurus/theme-search-algolia","version":"2.0.0-beta.15"},"docusaurus-plugin-sass":{"type":"package","name":"docusaurus-plugin-sass","version":"0.2.1"},"docusaurus-tailwindcss":{"type":"local"},"docusaurus-utils-extends":{"type":"local"},"docusaurus-plugin-hotjar":{"type":"project"},"autoapi-plugin":{"type":"project"},"docusaurus-plugin-content-blog":{"type":"project"},"docusaurus-plugin-content-docs":{"type":"project"},"docusaurus-sidebarItems":{"type":"project"}}}'),c={siteConfig:a.default,siteMetadata:l,globalData:o,i18n:i,codeTranslations:s},u=r.createContext(c);function d(e){var t=e.children;return r.createElement(u.Provider,{value:c},t)}},13919:function(e,t,n){"use strict";function r(e){return!0===/^(\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{b:function(){return r},Z:function(){return a}})},46291:function(e,t,n){"use strict";var r=n(18790);t.Z=r.H},28143:function(e,t,n){"use strict";n.r(t),n.d(t,{BrowserRouter:function(){return r.VK},HashRouter:function(){return r.UT},Link:function(){return r.rU},MemoryRouter:function(){return r.VA},NavLink:function(){return r.OL},Prompt:function(){return r.NL},Redirect:function(){return r.l_},Route:function(){return r.AW},Router:function(){return r.F0},StaticRouter:function(){return r.gx},Switch:function(){return r.rs},generatePath:function(){return r.Gn},matchPath:function(){return r.LX},useHistory:function(){return r.k6},useLocation:function(){return r.TH},useParams:function(){return r.UO},useRouteMatch:function(){return r.$B},withRouter:function(){return r.EN}});var r=n(73727)},44996:function(e,t,n){"use strict";n.d(t,{C:function(){return o},Z:function(){return i}});var r=n(52263),a=n(13919);function o(){var e=(0,r.Z)().siteConfig,t=e.baseUrl,n=e.url;return{withBaseUrl:function(e,r){return function(e,t,n,r){var o=void 0===r?{}:r,i=o.forcePrependBaseUrl,s=void 0!==i&&i,l=o.absolute,c=void 0!==l&&l;if(!n)return n;if(n.startsWith("#"))return n;if((0,a.b)(n))return n;if(s)return t+n.replace(/^\//,"");var u=n.startsWith(t)?n:t+n.replace(/^\//,"");return c?e+u:u}(n,t,e,r)}}}function i(e,t){return void 0===t&&(t={}),(0,o().withBaseUrl)(e,t)}},52263:function(e,t,n){"use strict";var r=n(67294),a=n(50427);t.Z=function(){return(0,r.useContext)(a._)}},28084:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o},useAllPluginInstancesData:function(){return i},usePluginData:function(){return s}});var r=n(52263),a=n(29935);function o(){var e=(0,r.Z)().globalData;if(!e)throw new Error("Docusaurus global data not found.");return e}function i(e){var t=o()[e];if(!t)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin.');return t}function s(e,t){void 0===t&&(t=a.m);var n=i(e)[t];if(!n)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin with id "'+t+'".');return n}},72389:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294),a=n(9913);function o(){return(0,r.useContext)(a._)}},14953:function(e,t,n){"use strict";var r=n(67294),a=n(85966),o=n(20780);function i(e){var t=e.error,n=e.tryAgain;return r.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:"50vh",width:"100%",fontSize:"20px"}},r.createElement("h1",null,"This page crashed."),r.createElement("p",null,t.message),r.createElement("button",{type:"button",onClick:n},"Try again"))}t.Z=function(e){var t=e.error,n=e.tryAgain;return r.createElement(o.Z,{fallback:function(){return r.createElement(i,{error:t,tryAgain:n})}},r.createElement(a.Z,{title:"Page Error"},r.createElement(i,{error:t,tryAgain:n})))}},48408:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDocVersionSuggestions=t.getActiveDocContext=t.getActiveVersion=t.getLatestVersion=t.getActivePlugin=void 0;var r=n(28143);t.getActivePlugin=function(e,t,n){void 0===n&&(n={});var a=Object.entries(e).sort((function(e,t){return t[1].path.localeCompare(e[1].path)})).find((function(e){var n=e[1];return!!(0,r.matchPath)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error("Can't find active docs plugin for \""+t+'" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: '+Object.values(e).map((function(e){return e.path})).join(", "));return o};t.getLatestVersion=function(e){return e.versions.find((function(e){return e.isLast}))};t.getActiveVersion=function(e,n){var a=(0,t.getLatestVersion)(e);return[].concat(e.versions.filter((function(e){return e!==a})),[a]).find((function(e){return!!(0,r.matchPath)(n,{path:e.path,exact:!1,strict:!1})}))};t.getActiveDocContext=function(e,n){var a,o,i=(0,t.getActiveVersion)(e,n),s=null==i?void 0:i.docs.find((function(e){return!!(0,r.matchPath)(n,{path:e.path,exact:!0,strict:!1})}));return{activeVersion:i,activeDoc:s,alternateDocVersions:s?(a=s.id,o={},e.versions.forEach((function(e){e.docs.forEach((function(t){t.id===a&&(o[e.name]=t)}))})),o):{}}};t.getDocVersionSuggestions=function(e,n){var r=(0,t.getLatestVersion)(e),a=(0,t.getActiveDocContext)(e,n);return{latestDocSuggestion:null==a?void 0:a.alternateDocVersions[r.name],latestVersionSuggestion:r}}},47608:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDocVersionSuggestions=t.useActiveDocContext=t.useActiveVersion=t.useLatestVersion=t.useVersions=t.useActivePluginAndVersion=t.useActivePlugin=t.useDocsData=t.useAllDocsData=void 0;var r=n(70655),a=n(28143),o=(0,r.__importStar)(n(28084)),i=n(48408),s={};t.useAllDocsData=function(){var e;return null!==(e=(0,o.default)()["docusaurus-plugin-content-docs"])&&void 0!==e?e:s};t.useDocsData=function(e){return(0,o.usePluginData)("docusaurus-plugin-content-docs",e)};t.useActivePlugin=function(e){void 0===e&&(e={});var n=(0,t.useAllDocsData)(),r=(0,a.useLocation)().pathname;return(0,i.getActivePlugin)(n,r,e)};t.useActivePluginAndVersion=function(e){void 0===e&&(e={});var n=(0,t.useActivePlugin)(e),r=(0,a.useLocation)().pathname;if(n)return{activePlugin:n,activeVersion:(0,i.getActiveVersion)(n.pluginData,r)}};t.useVersions=function(e){return(0,t.useDocsData)(e).versions};t.useLatestVersion=function(e){var n=(0,t.useDocsData)(e);return(0,i.getLatestVersion)(n)};t.useActiveVersion=function(e){var n=(0,t.useDocsData)(e),r=(0,a.useLocation)().pathname;return(0,i.getActiveVersion)(n,r)};t.useActiveDocContext=function(e){var n=(0,t.useDocsData)(e),r=(0,a.useLocation)().pathname;return(0,i.getActiveDocContext)(n,r)};t.useDocVersionSuggestions=function(e){var n=(0,t.useDocsData)(e),r=(0,a.useLocation)().pathname;return(0,i.getDocVersionSuggestions)(n,r)}},65551:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),(0,n(70655).__exportStar)(n(47608),t)},56657:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(70655),a=(0,r.__importDefault)(n(10412)),o=(0,r.__importDefault)(n(81115));t.default=function(){if(!a.default.canUseDOM)return null;var e=o.default["docusaurus-plugin-google-gtag"].default.trackingID;return{onRouteUpdate:function(t){var n=t.location;window.gtag("config",e,{page_path:n.pathname,page_title:document.title}),window.gtag("event","page_view",{page_title:document.title,page_location:n.href,page_path:n.pathname})}}}()},85966:function(e,t,n){"use strict";n.d(t,{Z:function(){return gt}});var r=n(67294),a=n(86010),o=n(20780),i=n(76775),s=n(95999),l=n(72804),c="skipToContent_ZgBM";function u(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}var d=function(){var e=(0,r.useRef)(null),t=(0,i.k6)().action;return(0,l.SL)((function(n){var r=n.location;e.current&&!r.hash&&"PUSH"===t&&u(e.current)})),r.createElement("div",{ref:e,role:"region"},r.createElement("a",{href:"#",className:c,onClick:function(e){e.preventDefault();var t=document.querySelector("main:first-of-type")||document.querySelector(".main-wrapper");t&&u(t)}},r.createElement(s.Z,{id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"},"Skip to main content")))},f=n(83117),p=n(80102),g=["width","height","color","strokeWidth","className"];function m(e){var t=e.width,n=void 0===t?21:t,a=e.height,o=void 0===a?21:a,i=e.color,s=void 0===i?"currentColor":i,l=e.strokeWidth,c=void 0===l?1.2:l,u=(e.className,(0,p.Z)(e,g));return r.createElement("svg",(0,f.Z)({viewBox:"0 0 15 15",width:n,height:o},u),r.createElement("g",{stroke:s,strokeWidth:c},r.createElement("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})))}var b="announcementBar_IbjG",h="announcementBarPlaceholder_NC_W",v="announcementBarClose_FG1z",y="announcementBarContent_KsVm";var w,x=function(){var e=(0,l.nT)(),t=e.isActive,n=e.close,o=(0,l.LU)().announcementBar;if(!t)return null;var i=o.content,c=o.backgroundColor,u=o.textColor,d=o.isCloseable;return r.createElement("div",{className:b,style:{backgroundColor:c,color:u},role:"banner"},d&&r.createElement("div",{className:h}),r.createElement("div",{className:y,dangerouslySetInnerHTML:{__html:i}}),d?r.createElement("button",{type:"button",className:(0,a.Z)("clean-btn close",v),onClick:n,"aria-label":(0,s.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"})},r.createElement(m,{width:14,height:14,strokeWidth:3.1})):null)},S=n(72389),k="toggle_NVk2",E="toggleScreenReader_pt96",_="toggleDisabled_YS8j",C="toggleTrack_wkO5",P="toggleChecked_jk2C",T="toggleTrackThumb_QM_J",O="toggleFocused_bVUH",L=["title","titleId"];function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function M(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var N,R=function(e){var t=e.title,n=e.titleId,a=M(e,L);return r.createElement("svg",A({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,w||(w=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.06 1.882a.75.75 0 0 1-.05.814 4.5 4.5 0 0 0 6.294 6.293.75.75 0 0 1 1.196.603v.158a.723.723 0 0 1-.003.069c-.134 1.442-.68 2.634-1.535 3.74A7.5 7.5 0 1 1 8.338 1.503a.75.75 0 0 1 .723.379ZM6.988 3.329a6 6 0 1 0 6.788 9.312c.413-.534.726-1.07.935-1.643A6 6 0 0 1 6.987 3.33Z",fill:"#090C0D"})))},j=["title","titleId"];function I(){return(I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function D(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var F=function(e){var t=e.title,n=e.titleId,a=D(e,j);return r.createElement("svg",I({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,N||(N=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 6a3 3 0 1 0 0 6 3 3 0 0 0 0-6ZM4.5 9a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM9 0a.75.75 0 0 1 .75.75v1.5a.75.75 0 1 1-1.5 0V.75A.75.75 0 0 1 9 0ZM9 15a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 9 15ZM2.635 2.635a.75.75 0 0 1 1.06 0L4.76 3.7A.75.75 0 1 1 3.7 4.76L2.635 3.695a.75.75 0 0 1 0-1.06ZM13.24 13.24a.75.75 0 0 1 1.06 0l1.065 1.065a.75.75 0 0 1-1.06 1.06L13.24 14.3a.75.75 0 0 1 0-1.06ZM0 9a.75.75 0 0 1 .75-.75h1.5a.75.75 0 1 1 0 1.5H.75A.75.75 0 0 1 0 9ZM15 9a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5A.75.75 0 0 1 15 9ZM4.76 13.24a.75.75 0 0 1 0 1.06l-1.065 1.065a.75.75 0 0 1-1.06-1.06L3.7 13.24a.75.75 0 0 1 1.06 0ZM15.365 2.635a.75.75 0 0 1 0 1.06L14.3 4.76a.75.75 0 1 1-1.06-1.06l1.065-1.065a.75.75 0 0 1 1.06 0Z",fill:"#fff"})))},U=(0,r.memo)((function(e){var t,n=e.className,o=(e.switchConfig,e.checked),i=e.disabled,s=e.onChange,l=(0,r.useState)(o),c=l[0],u=l[1],d=(0,r.useState)(!1),f=d[0],p=d[1],g=(0,r.useRef)(null);return r.createElement("div",{className:(0,a.Z)(k,n,(t={},t[P]=c,t[O]=f,t[_]=i,t))},r.createElement("div",{className:C,role:"button",tabIndex:-1,onClick:function(){var e;return null==(e=g.current)?void 0:e.click()}},r.createElement("div",{className:(0,a.Z)(T,"dark:bg-yellow-main bg-brand-cyan")},r.createElement(R,{className:"hidden dark:block"}),r.createElement(F,{className:"dark:hidden"}))),r.createElement("input",{ref:g,checked:c,type:"checkbox",className:E,"aria-label":"Switch between dark and light mode",onChange:s,onClick:function(){return u(!c)},onFocus:function(){return p(!0)},onBlur:function(){return p(!1)},onKeyDown:function(e){var t;"Enter"===e.key&&(null==(t=g.current)||t.click())}}))}));function B(e){var t=(0,l.LU)().colorMode.switchConfig,n=(0,S.Z)();return r.createElement(U,(0,f.Z)({switchConfig:t,disabled:!n},e))}var z,$=n(14047),q=["title","titleId"];function Z(){return(Z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function H(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var V=function(e){var t=e.title,n=e.titleId,a=H(e,q);return r.createElement("svg",Z({width:24,height:25,viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,z||(z=r.createElement("path",{d:"M5 12.5h14M12 5.5l7 7-7 7",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))},G=n(52263);var W,X=["title","titleId"];function Y(){return(Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function K(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Q=function(e){var t=e.title,n=e.titleId,a=K(e,X);return r.createElement("svg",Y({width:10,height:8,viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,W||(W=r.createElement("path",{d:"M5.866 7.5a1 1 0 0 1-1.732 0L.67 1.5A1 1 0 0 1 1.536 0h6.928a1 1 0 0 1 .866 1.5l-3.464 6Z",fill:"currentColor"})))},J=n(91262),ee=n(65551),te=n(28084),ne=function(e){return e.versions.find((function(e){return e.isLast}))};function re(e,t){var n=ne(e);return[].concat(e.versions.filter((function(e){return e!==n})),[n]).find((function(e){return!!(0,i.LX)(t,{path:e.path,exact:!1,strict:!1})}))}var ae=function(e){return(0,te.usePluginData)("autoapi-plugin",e)};function oe(e){var t=ie(),n=(0,ee.useActiveVersion)(e),r=function(e){return re(ae(e),(0,i.TH)().pathname)}(e);return t?r:n}function ie(){var e=(0,i.TH)().pathname;return(0,r.useMemo)((function(){return!!(0,i.LX)(e,{path:"/api",exact:!1,strict:!1})}),[e])}var se=n(39960);function le(e){var t=e.href,n=e.label,a=e.matchPath,o=e.className,i=function(e){var t=(0,l.J)().preferredVersion,n=(0,G.Z)().i18n,r=n.defaultLocale,a=n.currentLocale,o=e;r!==a&&(o="/"+a+e);var i=oe()||t,s=null!=i&&i.isLast?"":(null==i?void 0:i.name)||"";return o&&""!==s?(e.startsWith("/api")&&(s="current"===s?"master":s),("/"===o[o.length-1]?o:o+"/")+s+"/"):o}(t);return r.createElement(ce,{className:o,href:i,label:n,matchPath:a})}function ce(e){var t=e.href,n=e.label,o=e.matchPath,s=e.className,l=e.isExternal,c=(0,i.TH)().pathname,u=(0,G.Z)().i18n,d=u.defaultLocale,f=u.currentLocale,p=o;return p&&d!==f&&!l&&(p="/"+f+p),r.createElement(se.Z,{className:(0,a.Z)(p&&c.startsWith(p)?"text-brand-cyan active":"",s),href:t,target:l?"_blank":void 0},n)}function ue(e){var t=e.href,n=e.label,a=e.className,o=e.matchPath,i=e.isExternal;return r.createElement(ce,{className:a,href:t,label:n,matchPath:o,isExternal:i})}var de,fe=function(e){var t=e.label,n=e.labelNode,o=e.items,i=e.position;return r.createElement("div",{className:"group relative"},n||r.createElement("div",{className:"flex cursor-pointer items-center justify-between bg-grey-1 border rounded-sm py-[6px] rounded-full px-3"},r.createElement("span",{className:"mr-3"},t),r.createElement(Q,{className:"text-brand-cyan"})),r.createElement("div",{className:(0,a.Z)("opacity-0 invisible -translate-y-2.5 dropdown-transition flex absolute min-w-[10rem] shadow-lg border rounded-sm bg-grey-0 p-1 group-hover:opacity-100 group-hover:visible group-hover:translate-y-0 z-10","top"===i?"bottom-[2.5rem]":"top-[2.5rem]")},r.createElement("ul",{className:"space-y-2 w-full"},o.map((function(e,t){return r.createElement(ge,{key:t,href:e.href,label:e.label,active:e.active,isNavLink:e.isNavLink,popover:e.popover})})))))},pe=function(e){var t=e.label,n=e.items,o=(0,r.useState)(!0),i=o[0],s=o[1];return r.createElement("li",null,r.createElement("div",{className:"flex justify-between items-center px-2 py-1",onClick:function(){return s(!i)}},r.createElement("span",null,t),r.createElement("span",{className:(0,a.Z)({"rotate-180":!i})},r.createElement(Q,null))),r.createElement("ul",{className:(0,a.Z)("dropdown-transition",i?"hidden overflow-hidden h-0":"block overflow-visible h-auto")},n.map((function(e,t){return r.createElement(ge,{href:e.href,label:e.label,key:t})}))))},ge=function(e){var t=e.href,n=e.label,o=e.active,i=e.isNavLink,s=e.popover,l=(0,r.useState)(!1),c=l[0],u=l[1];return r.createElement("li",{className:(0,a.Z)(o?"text-brand-cyan bg-grey-2 active":"")},s?r.createElement("div",{className:"block px-4 py-[2px] whitespace-nowrap relative cursor-pointer hover:text-brand-cyan",onMouseEnter:function(){return u(!0)},onMouseLeave:function(){return u(!1)}},r.createElement("div",null,n),r.createElement("div",{className:(0,a.Z)("absolute",c?"block":"hidden")},s)):i?r.createElement("a",{className:"block px-4 py-[2px] whitespace-nowrap",href:t},n):r.createElement(se.Z,{className:"block px-4 py-[2px] whitespace-nowrap",href:t},n))},me=function(e){var t=e.position,n=(0,G.Z)(),a=n.i18n,o=a.currentLocale,i=a.locales,s=a.localeConfigs,c=n.siteConfig.customFields.localeUrls,u=(0,l.l5)();function d(e){return s[e].label}var f=i.map((function(e){var t=c[e]||""+u.createUrl({locale:e,fullyQualified:!1});return{label:d(e),href:t,active:o===e,isNavLink:!0}}));return r.createElement(fe,{position:t,label:d(o),items:f})},be=function(e){var t,n,a,o=e.position,i=(0,ee.useActiveDocContext)(),s=(0,ee.useVersions)(),c=(0,ee.useLatestVersion)(),u=(0,l.J)(),d=u.preferredVersion;u.savePreferredVersionName;var f,p=null!=(t=null!=(n=i.activeVersion)?n:d)?t:c,g=!1;void 0!==(null==(a=i.activeVersion)?void 0:a.label)&&(f=i,g=!0);var m=s.map((function(e){var t,n=(null==i?void 0:i.alternateDocVersions[e.name])||function(e){return e.docs.find((function(t){return t.id===e.mainDocId}))}(e);return{active:e.name===(null==i||null==(t=i.activeVersion)?void 0:t.name),label:e.label,href:n.path}}));return r.createElement(r.Fragment,null,r.createElement(fe,{position:o,items:m,label:p.label}),r.createElement(J.Z,null,(function(){var e;g&&localStorage.setItem("Xcharts-Demo-Version",null==(e=f.activeVersion)?void 0:e.label);return r.createElement(r.Fragment,null)})))},he=["title","titleId"];function ve(){return(ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ye(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var we,xe=function(e){var t=e.title,n=e.titleId,a=ye(e,he);return r.createElement("svg",ve({width:10,height:11,viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,de||(de=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 1.198c.159 0 .303.09.374.232l1.19 2.412 2.663.39a.417.417 0 0 1 .23.71L7.531 6.82l.455 2.65a.417.417 0 0 1-.605.44L5 8.655 2.619 9.908a.417.417 0 0 1-.605-.439l.455-2.65L.543 4.942a.417.417 0 0 1 .23-.71l2.663-.39 1.19-2.412A.417.417 0 0 1 5 1.198Zm0 1.358-.914 1.851a.417.417 0 0 1-.313.228l-2.044.3 1.478 1.44a.417.417 0 0 1 .12.368l-.349 2.035 1.828-.961a.417.417 0 0 1 .388 0l1.828.96-.35-2.034a.417.417 0 0 1 .12-.368l1.48-1.44-2.045-.3a.417.417 0 0 1-.313-.228L5 2.556Z",fill:"currentColor"})))},Se=["title","titleId"];function ke(){return(ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ee(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var _e,Ce=function(e){var t=e.title,n=e.titleId,a=Ee(e,Se);return r.createElement("svg",ke({width:27,height:27,viewBox:"0 0 27 27",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,we||(we=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.058 0C5.843 0 0 5.991 0 13.388c0 5.925 3.738 10.929 8.928 12.702.653.118.898-.284.898-.635 0-.318-.016-1.373-.016-2.494-3.281.62-4.13-.82-4.39-1.573-.148-.385-.784-1.573-1.34-1.891-.456-.251-1.11-.87-.016-.887 1.029-.017 1.763.97 2.008 1.372 1.175 2.025 3.052 1.456 3.803 1.105.114-.87.457-1.456.833-1.791-2.906-.335-5.942-1.49-5.942-6.61 0-1.457.506-2.662 1.339-3.599-.131-.334-.588-1.707.13-3.548 0 0 1.094-.351 3.591 1.373a11.837 11.837 0 0 1 3.265-.452c1.11 0 2.22.15 3.264.452 2.497-1.74 3.591-1.373 3.591-1.373.718 1.841.261 3.214.13 3.548.833.938 1.34 2.126 1.34 3.598 0 5.138-3.053 6.276-5.959 6.61.474.42.882 1.223.882 2.478 0 1.79-.016 3.23-.016 3.682 0 .351.244.77.897.636a13.11 13.11 0 0 0 6.44-4.885 13.642 13.642 0 0 0 2.456-7.818C26.116 5.991 20.273 0 13.058 0Z",fill:"currentColor"})))},Pe="",Te=function(){var e=(0,r.useState)(Pe),t=e[0],n=e[1];return(0,r.useEffect)((function(){Pe||fetch("https://api.github.com/repos/XCharts-Team/XCharts").then((function(e){return e.json()})).then((function(e){var t;t=e.stargazers_count?(e.stargazers_count/1e3).toFixed(1)+" k":"2.8k",Pe=t,n(t)}))}),[]),r.createElement("a",{href:"https://github.com/XCharts-Team/XCharts",target:"_blank",className:"hover:no-underline"},r.createElement("div",{className:"flex text-grey-4 rounded-sm text-caption"},r.createElement("div",{className:"p-1 px-1 flex items-center"},r.createElement("a",{href:"https://github.com/XCharts-Team/XCharts",target:"_blank"},r.createElement(Ce,{width:20,height:20}))),r.createElement("div",{className:"p-1 px-0 flex items-center"},r.createElement(xe,{height:20,width:20}),r.createElement("div",{className:"p-4 px-0"},r.createElement("h5",null,t)))))},Oe=["title","titleId"];function Le(){return(Le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ae(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Me,Ne=function(e){var t=e.title,n=e.titleId,a=Ae(e,Oe);return r.createElement("svg",Le({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,_e||(_e=r.createElement("path",{d:"M2.5 10h15M2.5 5h15M2.5 15h15",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))},Re=["title","titleId"];function je(){return(je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ie(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var De=function(e){var t=e.title,n=e.titleId,a=Ie(e,Re);return r.createElement("svg",je({width:24,height:25,viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,Me||(Me=r.createElement("path",{d:"m18 6.75-12 12M6 6.75l12 12",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))},Fe=[{label:(0,s.I)({id:"theme.text.blog",message:"Blogs"}),href:"/blog"}],Ue=[{label:(0,s.I)({id:"theme.text.globalforum",message:"Global Forum"}),href:"https://github.com/XCharts-Team/XCharts/discussions"},{label:(0,s.I)({id:"theme.text.qq",message:"QQ Group: 202030963"}),href:""}];function Be(){var e=(0,l.LU)().colorMode.disableSwitch,t=(0,l.If)(),n=t.isDarkTheme,a=t.setLightTheme,o=t.setDarkTheme;return{isDarkTheme:n,toggle:(0,r.useCallback)((function(e){return e.target.checked?o():a()}),[a,o]),disabled:e}}function ze(e){var t=e.sidebarShown,n=e.toggleSidebar;(0,l.Ni)(t);var a=Be();return r.createElement("div",{className:"navbar-sidebar flex flex-col overflow-hidden"},r.createElement("div",{className:"desktop:h-20 h-16 flex items-center px-3 border-b border-grey-3"},r.createElement("div",{className:"flex items-center space-x-3"},r.createElement("a",{href:"/"},r.createElement("h1",null,"XCharts")),r.createElement(Te,null)),r.createElement("button",{type:"button",className:"clean-btn navbar-sidebar__close",onClick:n},r.createElement(De,null))),r.createElement("div",{className:"px-3 py-4 flex-1 overflow-hidden relative"},r.createElement("ul",{className:"space-y-3 overflow-auto h-full"},r.createElement("li",{className:"px-2 py-1"},r.createElement(ue,{className:"block",href:"/docs/",label:"Doc Home",matchPath:"/docs"})),r.createElement("li",{className:"px-2 py-1"},r.createElement(le,{className:"block",href:"/api/",label:"API",matchPath:"/api"})),r.createElement(pe,{label:"Resource",items:Fe}),r.createElement(pe,{label:"Community",items:Ue}))),r.createElement("div",{className:"border-t py-3"},r.createElement("ul",{className:"flex items-center justify-around space-x-3"},r.createElement("li",{className:"flex-1"},r.createElement(be,{position:"top"})),r.createElement("li",{className:"flex-1"},r.createElement(me,{position:"top"})),r.createElement("li",null,r.createElement(B,{checked:a.isDarkTheme,onChange:a.toggle})))))}var $e=function(e){var t=Be(),n=(0,$.Z)(),o=(0,i.TH)().pathname,l=(0,G.Z)().i18n,c=l.defaultLocale,u=l.currentLocale;return Fe.map((function(e){var t=e.href;c!==u&&(t="/"+u+t);var n=o.startsWith(t);return Object.assign({},e,{active:n})})),r.createElement("nav",{id:"header-nav",className:(0,a.Z)("bg-grey-0 border-b border-grey-3 flex items-center justify-between sticky top-0 desktop:h-14 h-18 z-30 px-3 desktop:px-8",{"navbar-sidebar--show":n.shown})},r.createElement("div",{className:"flex items-center space-x-5"},r.createElement("a",{href:"/"},r.createElement("h1",null,"XCharts"))),r.createElement("ul",{className:"hidden desktop:flex items-center"},r.createElement("li",{className:"pr-6 navitem"},r.createElement(Te,null)),r.createElement("li",{className:"pr-6 navitem"},r.createElement(ue,{href:"/docs/",label:(0,s.I)({id:"theme.text.dochome",message:"Doc Home"}),matchPath:"/docs"})),r.createElement("li",{className:"pr-6 navitem"},r.createElement(ue,{href:"/examples/",label:(0,s.I)({id:"theme.text.onlinedemo",message:"Demo"}),matchPath:"/examples"})),r.createElement("li",{className:"pr-6 navitem"},r.createElement(ue,{href:"/blog/",label:(0,s.I)({id:"theme.text.blog",message:"Blog"}),matchPath:"/blog"})),r.createElement("li",{className:"pr-6"},r.createElement(fe,{labelNode:r.createElement("div",{className:"cursor-pointer hover:text-brand-cyan p-[6px]"},(0,s.I)({id:"theme.text.community",message:"Community"})),description:r.createElement(r.Fragment,null,r.createElement("div",{className:"pb-4"},(0,s.I)({id:"theme.navbar.communityinfo",message:"Join XCharts's Community."})),r.createElement("a",{href:"https://github.com/XCharts-Team/XCharts",className:"text-h4 flex justify-between items-center text-black hover:text-white"},(0,s.I)({id:"theme.text.learnmore",message:"Learn more"}),r.createElement(V,null))),label:(0,s.I)({id:"theme.text.community",message:"Community"}),items:Ue})),r.createElement("li",{className:"mr-4"},r.createElement(be,null)),r.createElement("li",{className:"mr-4"},r.createElement(me,null)),r.createElement("li",{className:"mr-4"},r.createElement(B,{checked:t.isDarkTheme,onChange:t.toggle}))),r.createElement("div",{className:"inline-block desktop:hidden cursor-pointer",onClick:n.toggle},r.createElement(Ne,null)),r.createElement("div",{role:"presentation",className:"navbar-sidebar__backdrop",onClick:n.toggle}),n.shouldRender&&r.createElement(ze,{sidebarShown:n.shown,toggleSidebar:n.toggle}))},qe=n(44996);var Ze="iconExternalLink_g3rB";var He,Ve=function(e){var t=e.width,n=void 0===t?16:t,a=e.height,o=void 0===a?16:a;return r.createElement("svg",{width:n,height:o,"aria-hidden":"true",viewBox:"0 0 24 24",className:Ze},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.82353 6.88235C5.57391 6.88235 5.33452 6.98151 5.15802 7.15802C4.98151 7.33452 4.88235 7.57391 4.88235 7.82353V18.1765C4.88235 18.4261 4.98151 18.6655 5.15802 18.842C5.33452 19.0185 5.57391 19.1176 5.82353 19.1176H16.1765C16.4261 19.1176 16.6655 19.0185 16.842 18.842C17.0185 18.6655 17.1176 18.4261 17.1176 18.1765V12.5294C17.1176 12.0096 17.539 11.5882 18.0588 11.5882C18.5786 11.5882 19 12.0096 19 12.5294V18.1765C19 18.9253 18.7025 19.6435 18.173 20.173C17.6435 20.7025 16.9253 21 16.1765 21H5.82353C5.07468 21 4.35651 20.7025 3.82699 20.173C3.29748 19.6435 3 18.9253 3 18.1765V7.82353C3 7.07468 3.29748 6.35651 3.82699 5.82699C4.35651 5.29748 5.07468 5 5.82353 5H11.4706C11.9904 5 12.4118 5.42138 12.4118 5.94118C12.4118 6.46097 11.9904 6.88235 11.4706 6.88235H5.82353Z",fill:"currentColor"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 3.875C14 3.39175 14.3918 3 14.875 3H20.125C20.6082 3 21 3.39175 21 3.875V9.125C21 9.60825 20.6082 10 20.125 10C19.6418 10 19.25 9.60825 19.25 9.125V4.75H14.875C14.3918 4.75 14 4.35825 14 3.875Z",fill:"currentColor"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.7522 3.24783C21.0826 3.57828 21.0826 4.11403 20.7522 4.44448L11.4445 13.7522C11.114 14.0826 10.5783 14.0826 10.2478 13.7522C9.91739 13.4217 9.91739 12.886 10.2478 12.5555L19.5555 3.24783C19.886 2.91739 20.4217 2.91739 20.7522 3.24783Z",fill:"currentColor"}))},Ge=n(51320),We=["title","titleId"];function Xe(){return(Xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ye(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Ke,Qe=function(e){var t=e.title,n=e.titleId,a=Ye(e,We);return r.createElement("svg",Xe({width:31,height:24,viewBox:"0 0 31 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,He||(He=r.createElement("path",{d:"M30.821 9.272v8.5a2.319 2.319 0 0 1-2.318 2.318h-.772v3.09a.774.774 0 0 1-1.268.595l-4.421-3.685h-7.447a2.32 2.32 0 0 1-2.318-2.318V17h7.727a3.867 3.867 0 0 0 3.863-3.863V6.955h4.636a2.32 2.32 0 0 1 2.318 2.318Zm-10.817 6.182H9.542l-4.405 5.138a.772.772 0 0 1-1.359-.502v-4.636h-.773a2.32 2.32 0 0 1-2.318-2.318V2.318A2.32 2.32 0 0 1 3.005 0h17a2.32 2.32 0 0 1 2.317 2.318v10.818a2.32 2.32 0 0 1-2.318 2.318Zm-2.318-6.181a.773.773 0 0 0-.773-.773H6.096a.773.773 0 0 0 0 1.545h10.817a.773.773 0 0 0 .773-.773Zm0-3.864a.773.773 0 0 0-.773-.773H6.096a.773.773 0 0 0 0 1.546h10.817a.773.773 0 0 0 .773-.773Z",fill:"currentColor"})))},Je=["title","titleId"];function et(){return(et=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function tt(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var nt=function(e){var t=e.title,n=e.titleId,a=tt(e,Je);return r.createElement("svg",et({width:27,height:27,viewBox:"0 0 27 27",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,Ke||(Ke=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.058 0C5.843 0 0 5.991 0 13.388c0 5.925 3.738 10.929 8.928 12.702.653.118.898-.284.898-.635 0-.318-.016-1.373-.016-2.494-3.281.62-4.13-.82-4.39-1.573-.148-.385-.784-1.573-1.34-1.891-.456-.251-1.11-.87-.016-.887 1.029-.017 1.763.97 2.008 1.372 1.175 2.025 3.052 1.456 3.803 1.105.114-.87.457-1.456.833-1.791-2.906-.335-5.942-1.49-5.942-6.61 0-1.457.506-2.662 1.339-3.599-.131-.334-.588-1.707.13-3.548 0 0 1.094-.351 3.591 1.373a11.837 11.837 0 0 1 3.265-.452c1.11 0 2.22.15 3.264.452 2.497-1.74 3.591-1.373 3.591-1.373.718 1.841.261 3.214.13 3.548.833.938 1.34 2.126 1.34 3.598 0 5.138-3.053 6.276-5.959 6.61.474.42.882 1.223.882 2.478 0 1.79-.016 3.23-.016 3.682 0 .351.244.77.897.636a13.11 13.11 0 0 0 6.44-4.885 13.642 13.642 0 0 0 2.456-7.818C26.116 5.991 20.273 0 13.058 0Z",fill:"currentColor"})))};function rt(){return r.createElement("div",null,r.createElement("div",{className:"text-caption mb-1"},(0,s.I)({id:"theme.subscription.title",message:"Subscription"})),r.createElement("div",{className:"w-full mb-2"},r.createElement(Ge.Z,{mode:"dark"})),r.createElement("div",{className:"flex justify-end space-x-6"},r.createElement("a",{href:"https://github.com/XCharts-Team/XCharts/discussions",target:"_blank"},r.createElement(Qe,{width:32,height:32})),r.createElement("a",{href:"https://github.com/XCharts-Team/XCharts",target:"_blank"},r.createElement(nt,{width:32,height:32}))))}function at(){var e=(0,l.LU)().footer;if(!e)return null;var t=(e||{}).copyright,n=(0,G.Z)().siteConfig.customFields.blogUrl;return r.createElement("footer",{className:"bg-grey-4 dark:bg-grey-0 text-white"},r.createElement("div",{className:"mx-auto my-6 desktop:mt-1 desktop:mb-1 px-1 max-w-docmain"},r.createElement("div",{className:"mt-4 flex justify-between flex-wrap mb-1"},r.createElement("div",{className:"flex-1"},r.createElement("div",{className:"desktop:w-10/12 flex flex-wrap mb-2"},r.createElement("div",{className:"flex flex-col flex-1 min-w-[9rem]"},r.createElement("h5",{className:"font-bold mb-3"},(0,s.I)({id:"theme.text.resources",message:"Resources"})),r.createElement("div",{className:"flex flex-col space-y-2"},r.createElement(se.Z,{href:n},(0,s.I)({id:"theme.text.blog",message:"Blogs"})),r.createElement(se.Z,{href:"/newsletter"},(0,s.I)({id:"theme.text.newsletters",message:"Newsletters"})))),r.createElement("div",{className:"flex flex-col flex-1 min-w-[9rem] mb-2"},r.createElement("h5",{className:"font-bold mb-3"},(0,s.I)({id:"theme.text.community",message:"Community"})),r.createElement("div",{className:"flex flex-col space-y-2"},r.createElement(se.Z,{href:"https://github.com/XCharts-Team/XCharts/discussions"},"Global Forum"),r.createElement("div",{className:"relative group"},r.createElement("span",{className:"cursor-pointer"},(0,s.I)({id:"theme.text.qq",message:"QQ Group: 202030963"})),r.createElement("div",{className:"hidden group-hover:block absolute bottom-8"})))),r.createElement("div",{className:"flex flex-col flex-1 min-w-[9rem] mb-4"},r.createElement("h5",{className:"font-bold mb-3"},"LEGAL"),r.createElement("div",{className:"flex flex-col space-y-2"},r.createElement(se.Z,{href:"https://github.com/XCharts-Team/XCharts"},"Cookie Policy ",r.createElement(Ve,null)),r.createElement(se.Z,{href:"https://github.com/XCharts-Team/XCharts"},"Privacy Policy ",r.createElement(Ve,null)))))),r.createElement("div",{className:"desktop:w-[328px] w-full"},r.createElement(rt,null))),r.createElement("div",{className:"inline-block desktop:hidden text-caption text-dark-grey-3 desktop:w-[328px]"},t)))}var ot=r.memo(at),it=n(82274),st=n(12859);var lt=function(e){var t=e.locale,n=e.version,a=e.tag,o=e.category,i=t;return r.createElement(st.Z,null,i&&r.createElement("meta",{name:"docsearch:language",content:i}),n&&r.createElement("meta",{name:"docsearch:version",content:n}),a&&r.createElement("meta",{name:"docsearch:docusaurus_tag",content:a}),o&&r.createElement("meta",{name:"docsearch:category",content:o}))},ct=n(41217);function ut(){var e=(0,G.Z)().i18n,t=e.defaultLocale,n=e.localeConfigs,a=(0,l.l5)();return r.createElement(st.Z,null,Object.entries(n).map((function(e){var t=e[0],n=e[1].htmlLang;return r.createElement("link",{key:t,rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:n})})),r.createElement("link",{rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}))}function dt(e){var t=e.permalink,n=(0,G.Z)().siteConfig.url,a=function(){var e=(0,G.Z)().siteConfig.url,t=(0,i.TH)().pathname;return e+(0,qe.Z)(t)}(),o=t?""+n+t:a;return r.createElement(st.Z,null,r.createElement("meta",{property:"og:url",content:o}),r.createElement("link",{rel:"canonical",href:o}))}function ft(e){var t=(0,G.Z)(),n=t.siteConfig.favicon,a=t.i18n,o=a.currentLocale,i=a.localeConfigs,s=(0,l.LU)(),c=s.metadata,u=s.image,d=e.title,p=e.description,g=e.image,m=e.keywords,b=e.searchMetadata,h=(0,qe.Z)(n),v=(0,l.pe)(d),y=i[o],w=y.htmlLang,x=y.direction;return r.createElement(r.Fragment,null,r.createElement(st.Z,null,r.createElement("html",{lang:w,dir:x}),n&&r.createElement("link",{rel:"icon",href:h}),r.createElement("title",null,v),r.createElement("meta",{property:"og:title",content:v}),r.createElement("meta",{name:"twitter:card",content:"summary_large_image"})),u&&r.createElement(ct.Z,{image:u}),g&&r.createElement(ct.Z,{image:g}),r.createElement(ct.Z,{description:p,keywords:m}),r.createElement(dt,null),r.createElement(ut,null),r.createElement(lt,(0,f.Z)({tag:l.HX,locale:o},b)),r.createElement(st.Z,null,c.map((function(e,t){return r.createElement("meta",(0,f.Z)({key:"metadata_"+t},e))}))))}function pt(e){var t=e.error,n=e.tryAgain;return r.createElement("main",{className:"container margin-vert--xl"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col col--6 col--offset-3"},r.createElement("h1",{className:"hero__title"},r.createElement(s.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed"},"This page crashed.")),r.createElement("p",null,t.message),r.createElement("div",null,r.createElement("button",{type:"button",onClick:n},r.createElement(s.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again when the page crashed"},"Try again"))))))}var gt=function(e){var t=e.children,n=e.noFooter,i=e.wrapperClassName,s=e.pageClassName;return(0,l.t$)(),r.createElement(it.Z,null,r.createElement(ft,e),r.createElement(d,null),r.createElement(x,null),r.createElement($e,null),r.createElement("div",{className:(0,a.Z)(l.kM.wrapper.main,i,s)},r.createElement(o.Z,{fallback:pt},t)),!n&&r.createElement(ot,null))}},82274:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294),a=n(72804);function o(e){var t=e.children;return r.createElement(a.SG,null,r.createElement(a.pl,null,r.createElement(a.z5,null,r.createElement(a.OC,null,r.createElement(a.L5,null,r.createElement(a.Cn,null,t))))))}},41217:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(67294),a=n(12859),o=n(72804),i=n(44996);function s(e){var t=e.title,n=e.description,s=e.keywords,l=e.image,c=e.children,u=(0,o.pe)(t),d=(0,i.C)().withBaseUrl,f=l?d(l,{absolute:!0}):void 0;return r.createElement(a.Z,null,t&&r.createElement("title",null,u),t&&r.createElement("meta",{property:"og:title",content:u}),n&&r.createElement("meta",{name:"description",content:n}),n&&r.createElement("meta",{property:"og:description",content:n}),s&&r.createElement("meta",{name:"keywords",content:Array.isArray(s)?s.join(","):s}),f&&r.createElement("meta",{property:"og:image",content:f}),f&&r.createElement("meta",{name:"twitter:image",content:f}),c)}},40467:function(e,t,n){"use strict";n.r(t);var r=n(10412),a=n(99782);t.default=function(e){if(r.default.canUseDOM){var t=a.default.themeConfig.prism.additionalLanguages;window.Prism=e,t.forEach((function(e){n(91778)("./prism-"+e)})),delete window.Prism}}},72448:function(e,t,n){"use strict";var r=a(n(87410));function a(e){return e&&e.__esModule?e:{default:e}}(0,a(n(40467)).default)(r.default)},72804:function(e,t,n){"use strict";n.d(t,{pl:function(){return he},zF:function(){return J},SG:function(){return Fe},HX:function(){return h},PO:function(){return le},D_:function(){return s},L5:function(){return p.L},bT:function(){return A.bT},qu:function(){return A.qu},Cn:function(){return ue},OC:function(){return Ce},z5:function(){return $e},kM:function(){return de},os:function(){return v},_F:function(){return A._F},Fx:function(){return Le},PZ:function(){return xe},bc:function(){return T},Vo:function(){return O},nZ:function(){return L},MA:function(){return we},l5:function(){return d},nT:function(){return ve},uR:function(){return H},If:function(){return Ue},_q:function(){return y},J:function(){return m},Vq:function(){return A.Vq},E6:function(){return A.E6},ed:function(){return U},Rb:function(){return Se},t$:function(){return qe},SL:function(){return B},Ni:function(){return Ve},c2:function(){return D},pJ:function(){return He},RF:function(){return Oe},Ob:function(){return Qe},DA:function(){return Ee},LU:function(){return r.L},pe:function(){return M},iP:function(){return Ke}});var r=n(86668),a=n(67294),o=Symbol("EmptyContext"),i=a.createContext(o);function s(e){var t=e.children,n=(0,a.useState)(null),r=n[0],o=n[1],s=(0,a.useMemo)((function(){return{expandedItem:r,setExpandedItem:o}}),[r]);return a.createElement(i.Provider,{value:s},t)}var l=n(50012),c=n(52263),u=n(76775);function d(){var e=(0,c.Z)(),t=e.siteConfig,n=t.baseUrl,r=t.url,a=e.i18n,o=a.defaultLocale,i=a.currentLocale,s=(0,u.TH)().pathname,l=i===o?n:n.replace("/"+i+"/","/"),d=s.replace(n,"");return{createUrl:function(e){var t=e.locale;return""+(e.fullyQualified?r:"")+function(e){return e===o?""+l:""+l+e+"/"}(t)+d}}}var f=n(65551),p=n(67160),g=n(29935);function m(e){void 0===e&&(e=g.m);var t=(0,f.useDocsData)(e),n=(0,p.W)(),r=n[0],o=n[1],i=r[e].preferredVersionName;return{preferredVersion:i?t.versions.find((function(e){return e.name===i})):null,savePreferredVersionName:(0,a.useCallback)((function(t){o.savePreferredVersion(e,t)}),[o,e])}}function b(){var e=(0,f.useAllDocsData)(),t=(0,p.W)()[0];var n=Object.keys(e),r={};return n.forEach((function(n){r[n]=function(n){var r=e[n],a=t[n].preferredVersionName;return a?r.versions.find((function(e){return e.name===a})):null}(n)})),r}var h="default";function v(e,t){return"docs-"+e+"-"+t}function y(){var e=(0,c.Z)().i18n,t=(0,f.useAllDocsData)(),n=(0,f.useActivePluginAndVersion)(),r=b();var a=[h].concat(Object.keys(t).map((function(e){var a,o,i=(null===(a=null==n?void 0:n.activePlugin)||void 0===a?void 0:a.pluginId)===e?n.activeVersion:void 0,s=r[e],l=t[e].versions.find((function(e){return e.isLast}));return v(e,(null!==(o=null!=i?i:s)&&void 0!==o?o:l).name)})));return{locale:e.currentLocale,tags:a}}var w=n(87594),x=n.n(w),S=/title=(["'])(.*?)\1/,k=/{([\d,-]+)}/,E=["js","jsBlock","jsx","python","html"],_={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},python:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},C=["highlight-next-line","highlight-start","highlight-end"],P=function(e){void 0===e&&(e=E);var t=e.map((function(e){var t=_[e],n=t.start,r=t.end;return"(?:"+n+"\\s*("+C.join("|")+")\\s*"+r+")"})).join("|");return new RegExp("^\\s*(?:"+t+")\\s*$")};function T(e){var t,n;return null!==(n=null===(t=null==e?void 0:e.match(S))||void 0===t?void 0:t[2])&&void 0!==n?n:""}function O(e){var t=e.split(" ").find((function(e){return e.startsWith("language-")}));return null==t?void 0:t.replace(/language-/,"")}function L(e,t,n){var r=e.replace(/\n$/,"");if(t&&k.test(t)){var a=t.match(k)[1];return{highlightLines:x()(a).filter((function(e){return e>0})).map((function(e){return e-1})),code:r}}if(void 0===n)return{highlightLines:[],code:r};for(var o,i=function(e){switch(e){case"js":case"javascript":case"ts":case"typescript":return P(["js","jsBlock"]);case"jsx":case"tsx":return P(["js","jsBlock","jsx"]);case"html":return P(["js","jsBlock","html"]);case"python":case"py":return P(["python"]);default:return P()}}(n),s=r.split("\n"),l="",c=0;c<s.length;){var u=s[c].match(i);if(null!==u){switch(u.slice(1).find((function(e){return void 0!==e}))){case"highlight-next-line":l+=c+",";break;case"highlight-start":o=c;break;case"highlight-end":l+=o+"-"+(c-1)+","}s.splice(c,1)}else c+=1}return{highlightLines:x()(l),code:r=s.join("\n")}}var A=n(67136),M=function(e){var t=(0,c.Z)().siteConfig,n=t.title,r=t.titleDelimiter;return e&&e.trim().length?e.trim()+" "+r+" "+n:n},N=["zero","one","two","few","many","other"];function R(e){return N.filter((function(t){return e.includes(t)}))}var j={locale:"en",pluralForms:R(["one","other"]),select:function(e){return 1===e?"one":"other"}};function I(){var e=(0,c.Z)().i18n.currentLocale;return(0,a.useMemo)((function(){if(!Intl.PluralRules)return console.error("Intl.PluralRules not available!\nDocusaurus will fallback to a default/fallback (English) Intl.PluralRules implementation.\n "),j;try{return t=e,n=new Intl.PluralRules(t),{locale:t,pluralForms:R(n.resolvedOptions().pluralCategories),select:function(e){return n.select(e)}}}catch(r){return console.error('Failed to use Intl.PluralRules for locale "'+e+'".\nDocusaurus will fallback to a default/fallback (English) Intl.PluralRules implementation.\n'),j}var t,n}),[e])}function D(){var e=I();return{selectMessage:function(t,n){return function(e,t,n){var r=e.split("|");if(1===r.length)return r[0];r.length>n.pluralForms.length&&console.error("For locale="+n.locale+", a maximum of "+n.pluralForms.length+" plural forms are expected ("+n.pluralForms+"), but the message contains "+r.length+" plural forms: "+e+" ");var a=n.select(t),o=n.pluralForms.indexOf(a);return r[Math.min(o,r.length-1)]}(n,t,e)}}}var F="undefined"!=typeof window?a.useLayoutEffect:a.useEffect;function U(e){var t=(0,a.useRef)(e);return F((function(){t.current=e}),[e]),(0,a.useCallback)((function(){return t.current.apply(t,arguments)}),[])}function B(e){var t,n,r=(0,u.TH)(),o=(t=r,n=(0,a.useRef)(),F((function(){n.current=t})),n.current),i=U(e);(0,a.useEffect)((function(){r!==o&&i({location:r,previousLocation:o})}),[i,r,o])}var z=n(80102),$=n(10412),q=["collapsed"],Z=["lazy"];function H(e){var t=e.initialState,n=(0,a.useState)(null!=t&&t),r=n[0],o=n[1],i=(0,a.useCallback)((function(){o((function(e){return!e}))}),[]);return{collapsed:r,setCollapsed:o,toggleCollapsed:i}}var V={display:"none",overflow:"hidden",height:"0px"},G={display:"block",overflow:"visible",height:"auto"};function W(e,t){var n=t?V:G;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function X(e){var t=e.collapsibleRef,n=e.collapsed,r=e.animation,o=(0,a.useRef)(!1);(0,a.useEffect)((function(){var e,a=t.current;function i(){var e,t,n=a.scrollHeight;return{transition:"height "+(null!==(e=null==r?void 0:r.duration)&&void 0!==e?e:function(e){var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}(n))+"ms "+(null!==(t=null==r?void 0:r.easing)&&void 0!==t?t:"ease-in-out"),height:n+"px"}}function s(){var e=i();a.style.transition=e.transition,a.style.height=e.height}if(!o.current)return W(a,n),void(o.current=!0);return a.style.willChange="height",e=requestAnimationFrame((function(){n?(s(),requestAnimationFrame((function(){a.style.height=V.height,a.style.overflow=V.overflow}))):(a.style.display="block",requestAnimationFrame((function(){s()})))})),function(){return cancelAnimationFrame(e)}}),[t,n,r])}function Y(e){if(!$.default.canUseDOM)return e?V:G}function K(e){var t=e.as,n=void 0===t?"div":t,r=e.collapsed,o=e.children,i=e.animation,s=e.onCollapseTransitionEnd,l=e.className,c=e.disableSSRStyle,u=(0,a.useRef)(null);return X({collapsibleRef:u,collapsed:r,animation:i}),a.createElement(n,{ref:u,style:c?void 0:Y(r),onTransitionEnd:function(e){"height"===e.propertyName&&(W(u.current,r),null==s||s(r))},className:l},o)}function Q(e){var t=e.collapsed,n=(0,z.Z)(e,q),r=(0,a.useState)(!t),o=r[0],i=r[1];(0,a.useLayoutEffect)((function(){t||i(!0)}),[t]);var s=(0,a.useState)(t),l=s[0],c=s[1];return(0,a.useLayoutEffect)((function(){o&&c(t)}),[o,t]),o?a.createElement(K,Object.assign({},n,{collapsed:l})):null}function J(e){var t=e.lazy,n=(0,z.Z)(e,Z),r=t?Q:K;return a.createElement(r,Object.assign({},n))}var ee=n(72389),te=n(86010),ne="details_lb9f",re="isBrowser_bmU9",ae="collapsibleContent_i85q",oe=["summary","children"];function ie(e){return!!e&&("SUMMARY"===e.tagName||ie(e.parentElement))}function se(e,t){return!!e&&(e===t||se(e.parentElement,t))}var le=function(e){var t,n=e.summary,r=e.children,o=(0,z.Z)(e,oe),i=(0,ee.Z)(),s=(0,a.useRef)(null),l=H({initialState:!o.open}),c=l.collapsed,u=l.setCollapsed,d=(0,a.useState)(o.open),f=d[0],p=d[1];return a.createElement("details",Object.assign({},o,{ref:s,open:f,"data-collapsed":c,className:(0,te.Z)(ne,(t={},t[re]=i,t),o.className),onMouseDown:function(e){ie(e.target)&&e.detail>1&&e.preventDefault()},onClick:function(e){e.stopPropagation();var t=e.target;ie(t)&&se(t,s.current)&&(e.preventDefault(),c?(u(!1),p(!0)):u(!0))}}),n,a.createElement(J,{lazy:!1,collapsed:c,disableSSRStyle:!0,onCollapseTransitionEnd:function(e){u(e),p(!e)}},a.createElement("div",{className:ae},r)))};var ce=(0,a.createContext)(null);function ue(e){var t=e.children;return a.createElement(ce.Provider,{value:(0,a.useState)(null)},t)}var de={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block"},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:function(e){return"theme-doc-sidebar-item-category-level-"+e},docSidebarItemLinkLevel:function(e){return"theme-doc-sidebar-item-link-level-"+e}},blog:{}},fe=(0,l.W)("docusaurus.announcement.dismiss"),pe=(0,l.W)("docusaurus.announcement.id"),ge=function(){return"true"===fe.get()},me=function(e){return fe.set(String(e))},be=(0,a.createContext)(null);function he(e){var t=e.children,n=function(){var e=(0,r.L)().announcementBar,t=(0,ee.Z)(),n=(0,a.useState)((function(){return!!t&&ge()})),o=n[0],i=n[1];(0,a.useEffect)((function(){i(ge())}),[]);var s=(0,a.useCallback)((function(){me(!0),i(!0)}),[]);return(0,a.useEffect)((function(){if(e){var t=e.id,n=pe.get();"annoucement-bar"===n&&(n="announcement-bar");var r=t!==n;pe.set(t),r&&me(!1),!r&&ge()||i(!1)}}),[e]),(0,a.useMemo)((function(){return{isActive:!!e&&!o,close:s}}),[e,o,s])}();return a.createElement(be.Provider,{value:n},t)}var ve=function(){var e=(0,a.useContext)(be);if(!e)throw new Error("useAnnouncementBar(): AnnouncementBar not found in React context: make sure to use the AnnouncementBarProvider on top of the tree");return e};var ye=n(95999),we=function(){return(0,ye.I)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"})};function xe(e){var t={};return Object.values(e).forEach((function(e){var n,r=function(e){return e[0].toUpperCase()}(e.name);t[r]=null!==(n=t[r])&&void 0!==n?n:[],t[r].push(e)})),Object.entries(t).sort((function(e,t){var n=e[0],r=t[0];return n.localeCompare(r)})).map((function(e){return{letter:e[0],tags:e[1].sort((function(e,t){return e.name.localeCompare(t.name)}))}}))}function Se(e){!function(e){var t=(0,u.k6)().block,n=(0,a.useRef)(e);(0,a.useEffect)((function(){n.current=e}),[e]),(0,a.useEffect)((function(){return t((function(e,t){return n.current(e,t)}))}),[t,n])}((function(t,n){if("POP"===n)return e(t,n)}))}function ke(e){var t=e.toc,n=e.minHeadingLevel,r=e.maxHeadingLevel;return t.flatMap((function(e){var t=ke({toc:e.children,minHeadingLevel:n,maxHeadingLevel:r});return function(e){return e.level>=n&&e.level<=r}(e)?[Object.assign({},e,{children:t})]:t}))}function Ee(e){var t=e.toc,n=e.minHeadingLevel,r=e.maxHeadingLevel;return(0,a.useMemo)((function(){return ke({toc:t,minHeadingLevel:n,maxHeadingLevel:r})}),[t,n,r])}var _e=(0,a.createContext)(void 0);function Ce(e){var t,n=e.children;return a.createElement(_e.Provider,{value:(t=(0,a.useRef)(!0),(0,a.useMemo)((function(){return{scrollEventsEnabledRef:t,enableScrollEvents:function(){t.current=!0},disableScrollEvents:function(){t.current=!1}}}),[]))},n)}function Pe(){var e=(0,a.useContext)(_e);if(null==e)throw new Error('"useScrollController" is used but no context provider was found in the React tree.');return e}var Te=function(){return $.default.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null};function Oe(e,t){void 0===t&&(t=[]);var n=Pe().scrollEventsEnabledRef,r=(0,a.useRef)(Te()),o=U(e);(0,a.useEffect)((function(){var e=function(){if(n.current){var e=Te();o&&o(e,r.current),r.current=e}},t={passive:!0};return e(),window.addEventListener("scroll",e,t),function(){return window.removeEventListener("scroll",e,t)}}),[o,n].concat(t))}function Le(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var Ae=(0,l.W)("theme"),Me="light",Ne="dark",Re=function(e){return e===Ne?Ne:Me},je=function(e){(0,l.W)("theme").set(Re(e))};function Ie(){var e=(0,r.L)().colorMode,t=e.defaultMode,n=e.disableSwitch,o=e.respectPrefersColorScheme,i=(0,a.useState)(function(e){return $.default.canUseDOM?Re(document.documentElement.getAttribute("data-theme")):Re(e)}(t)),s=i[0],l=i[1],c=(0,a.useCallback)((function(){l(Me),je(Me)}),[]),u=(0,a.useCallback)((function(){l(Ne),je(Ne)}),[]);return(0,a.useEffect)((function(){document.documentElement.setAttribute("data-theme",Re(s))}),[s]),(0,a.useEffect)((function(){if(!n)try{var e=Ae.get();null!==e&&l(Re(e))}catch(t){console.error(t)}}),[n,l]),(0,a.useEffect)((function(){n&&!o||window.matchMedia("(prefers-color-scheme: dark)").addListener((function(e){var t=e.matches;l(t?Ne:Me)}))}),[n,o]),{isDarkTheme:s===Ne,setLightTheme:c,setDarkTheme:u}}var De=a.createContext(void 0);function Fe(e){var t=e.children,n=Ie(),r=n.isDarkTheme,o=n.setLightTheme,i=n.setDarkTheme,s=(0,a.useMemo)((function(){return{isDarkTheme:r,setLightTheme:o,setDarkTheme:i}}),[r,o,i]);return a.createElement(De.Provider,{value:s},t)}function Ue(){var e=(0,a.useContext)(De);if(null==e)throw new Error('"useColorMode()" is used outside of "Layout" component. Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.');return e}var Be="docusaurus.tab.",ze=(0,a.createContext)(void 0);function $e(e){var t=e.children,n=function(){var e=(0,a.useState)({}),t=e[0],n=e[1],r=(0,a.useCallback)((function(e,t){(0,l.W)("docusaurus.tab."+e).set(t)}),[]);return(0,a.useEffect)((function(){try{var e={};(0,l._)().forEach((function(t){if(t.startsWith(Be)){var n=t.substring(Be.length);e[n]=(0,l.W)(t).get()}})),n(e)}catch(t){console.error(t)}}),[]),{tabGroupChoices:t,setTabGroupChoices:function(e,t){n((function(n){var r;return Object.assign({},n,((r={})[e]=t,r))})),r(e,t)}}}(),r=n.tabGroupChoices,o=n.setTabGroupChoices,i=(0,a.useMemo)((function(){return{tabGroupChoices:r,setTabGroupChoices:o}}),[r,o]);return a.createElement(ze.Provider,{value:i},t)}function qe(){(0,a.useEffect)((function(){var e="navigation-with-keyboard";function t(t){"keydown"===t.type&&"Tab"===t.key&&document.body.classList.add(e),"mousedown"===t.type&&document.body.classList.remove(e)}return document.addEventListener("keydown",t),document.addEventListener("mousedown",t),function(){document.body.classList.remove(e),document.removeEventListener("keydown",t),document.removeEventListener("mousedown",t)}}),[])}var Ze={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]};function He(){var e=(0,r.L)().prism,t=Ue().isDarkTheme,n=e.theme||Ze,a=e.darkTheme||n;return t?a:n}function Ve(e){void 0===e&&(e=!0),(0,a.useEffect)((function(){return document.body.style.overflow=e?"hidden":"visible",function(){document.body.style.overflow="visible"}}),[e])}var Ge="desktop",We="mobile",Xe="ssr";function Ye(){return $.default.canUseDOM?window.innerWidth>996?Ge:We:Xe}function Ke(){var e=(0,a.useState)((function(){return Ye()})),t=e[0],n=e[1];return(0,a.useEffect)((function(){function e(){n(Ye())}return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e),clearTimeout(undefined)}}),[]),t}function Qe(){var e=(0,u.k6)(),t=(0,c.Z)().siteConfig.baseUrl,n=(0,a.useState)(""),r=n[0],o=n[1];return(0,a.useEffect)((function(){var e,t=null!==(e=new URLSearchParams(window.location.search).get("q"))&&void 0!==e?e:"";o(t)}),[]),{searchQuery:r,setSearchQuery:(0,a.useCallback)((function(t){var n=new URLSearchParams(window.location.search);t?n.set("q",t):n.delete("q"),e.replace({search:n.toString()}),o(t)}),[e]),generateSearchPageLink:(0,a.useCallback)((function(e){return t+"search?q="+encodeURIComponent(e)}),[t])}}},67160:function(e,t,n){"use strict";n.d(t,{L:function(){return p},W:function(){return m}});var r=n(67294),a=n(86668),o=n(67136),i=n(65551),s=n(50012),l=function(e){return"docs-preferred-version-"+e},c={save:function(e,t,n){(0,s.W)(l(e),{persistence:t}).set(n)},read:function(e,t){return(0,s.W)(l(e),{persistence:t}).get()},clear:function(e,t){(0,s.W)(l(e),{persistence:t}).del()}};function u(e){var t=e.pluginIds,n=e.versionPersistence,r=e.allDocsData;var a={};return t.forEach((function(e){a[e]=function(e){var t=c.read(e,n);return r[e].versions.some((function(e){return e.name===t}))?{preferredVersionName:t}:(c.clear(e,n),{preferredVersionName:null})}(e)})),a}function d(){var e=(0,i.useAllDocsData)(),t=(0,a.L)().docs.versionPersistence,n=(0,r.useMemo)((function(){return Object.keys(e)}),[e]),o=(0,r.useState)((function(){return function(e){var t={};return e.forEach((function(e){t[e]={preferredVersionName:null}})),t}(n)})),s=o[0],l=o[1];return(0,r.useEffect)((function(){l(u({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]),[s,(0,r.useMemo)((function(){return{savePreferredVersion:function(e,n){c.save(e,t,n),l((function(t){var r;return Object.assign({},t,((r={})[e]={preferredVersionName:n},r))}))}}}),[t])]}var f=(0,r.createContext)(null);function p(e){var t=e.children;return o.cE?r.createElement(g,null,t):t}function g(e){var t=e.children,n=d();return r.createElement(f.Provider,{value:n},t)}function m(){var e=(0,r.useContext)(f);if(!e)throw new Error('Can\'t find docs preferred context, maybe you forgot to use the "DocsPreferredVersionContextProvider"?');return e}},67136:function(e,t,n){"use strict";n.d(t,{bT:function(){return d},qu:function(){return l},_F:function(){return p},cE:function(){return o},Vq:function(){return f},E6:function(){return c}});var r=n(67294),a=n(65551),o=!!a.useAllDocsData,i=Symbol("EmptyContext"),s=(0,r.createContext)(i);function l(e){var t=e.children,n=e.version;return r.createElement(s.Provider,{value:n},t)}function c(){var e=(0,r.useContext)(s);if(e===i)throw new Error("This hook requires usage of <DocsVersionProvider>");return e}var u=(0,r.createContext)(i);function d(e){var t=e.children,n=e.sidebar;return r.createElement(u.Provider,{value:n},t)}function f(){var e=(0,r.useContext)(u);if(e===i)throw new Error("This hook requires usage of <DocsSidebarProvider>");return e}function p(e,t){var n=function(e){return void 0!==e&&(n=t,(r=function(e){return!e||(null==e?void 0:e.endsWith("/"))?e:e+"/"})(e)===r(n));var n,r};return"link"===e.type?n(e.href):"category"===e.type&&(n(e.href)||function(e,t){return e.some((function(e){return p(e,t)}))}(e.items,t))}},50012:function(e,t,n){"use strict";n.d(t,{W:function(){return s},_:function(){return l}});var r="localStorage";function a(e){if(void 0===e&&(e=r),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,o||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),o=!0),null}var t}var o=!1;var i={get:function(){return null},set:function(){},del:function(){}};var s=function(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error('Illegal storage API usage for storage key "'+e+'".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.')}return{get:t,set:t,del:t}}(e);var n=a(null==t?void 0:t.persistence);return null===n?i:{get:function(){try{return n.getItem(e)}catch(t){return console.error("Docusaurus storage error, can't get key="+e,t),null}},set:function(t){try{n.setItem(e,t)}catch(r){console.error("Docusaurus storage error, can't set "+e+"="+t,r)}},del:function(){try{n.removeItem(e)}catch(t){console.error("Docusaurus storage error, can't delete key="+e,t)}}}};function l(e){void 0===e&&(e=r);var t=a(e);if(!t)return[];for(var n=[],o=0;o<t.length;o+=1){var i=t.key(o);null!==i&&n.push(i)}return n}},86668:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r=n(52263);function a(){return(0,r.Z)().siteConfig.themeConfig}},8802:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t.trailingSlash,r=t.baseUrl;if(e.startsWith("#"))return e;if(void 0===n)return e;var a,o=e.split(/[#?]/)[0],i="/"===o||o===r?o:(a=o,n?function(e){return e.endsWith("/")?e:e+"/"}(a):function(e){return e.endsWith("/")?e.slice(0,-1):e}(a));return e.replace(o,i)}},18780:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="post-content";var a=n(8802);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}})},51320:function(e,t,n){"use strict";var r=n(67294),a=n(95999),o=n(70365),i=n.n(o),s=n(86010),l=/^[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/,c=function(e){if(!e)return!1;var t=e.split("@");if(2!==t.length)return!1;var n=t[0],r=t[1];return!(n.length>64)&&(!(r.length>255)&&!!l.test(e))};t.Z=function(e){var t=(0,r.useState)(""),n=t[0],o=t[1],l=(0,r.useState)(""),u=(l[0],l[1]),d=(0,r.useState)(!1),f=d[0],p=d[1],g=(0,r.useState)(!1),m=g[0],b=g[1];return r.createElement("div",{className:"flex"},r.createElement("input",{className:(0,s.Z)("flex-1 w-0 border outline-0 rounded-l-sm py-2 px-4 focus:border-brand-cyan","dark"===e.mode?"bg-dark-grey-0 text-dark-grey-4 border-dark-grey-2":"bg-grey-0 text-grey-4"),placeholder:(0,a.I)({id:"theme.subscription.email",message:"Email address"}),value:n,disabled:m,onChange:function(e){return t=e.target.value,o(t),void(c(n)&&u(""));var t}}),r.createElement("button",{disabled:f,className:"bg-brand-cyan py-2 px-3 rounded-r-sm font-bold text-white hover:bg-brand-cyan-dark disabled:bg-grey-3",onClick:function(){var e,t,r;c(n)?(p(!0),(e="https://xcharts-lang.us14.list-manage.com/subscribe/post-json?u=4e92b5a2a6c075ad83eb4709d&id=40276d4c2b&EMAIL="+n,t={timeout:3e4},r=t.timeout,new Promise((function(t,n){return i()(e,{timeout:r,param:"c"},(function(e,r){e?n(e):t(r)}))}))).then((function(){u(""),b(!0)})).catch((function(){p(!1),u("Subscribe failed. Please retry!")}))):u("Your email address is incorrect!")}},m?(0,a.I)({id:"theme.subscription.subscribed",message:"Subscribed"}):(0,a.I)({id:"theme.subscription.subscribe",message:"Subscribe"})))}},14047:function(e,t,n){"use strict";var r=n(67294),a=n(72804);t.Z=function(){var e=(0,a.iP)(),t="mobile"===e,n=(0,r.useState)(!1),o=n[0],i=n[1];(0,a.Rb)((function(){if(o)return i(!1),!1}));var s=(0,r.useCallback)((function(){i((function(e){return!e}))}),[]);return(0,r.useEffect)((function(){"desktop"===e&&i(!1)}),[e]),{shouldRender:t,toggle:s,shown:o}}},86010:function(e,t,n){"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n);else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}function a(){for(var e,t,n=0,a="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}n.d(t,{Z:function(){return a}})},42358:function(e,t,n){"use strict";n.d(t,{lX:function(){return k},q_:function(){return O},ob:function(){return m},PP:function(){return A},Ep:function(){return g},Hp:function(){return b}});var r=n(83117);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}var i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],s=e&&a(e),l=t&&a(t),c=s||l;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var u=i[i.length-1];n="."===u||".."===u||""===u}else n=!1;for(var d=0,f=i.length;f>=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!c)for(;d--;d)i.unshift("..");!c||""===i[0]||i[0]&&a(i[0])||i.unshift("");var g=i.join("/");return n&&"/"!==g.substr(-1)&&(g+="/"),g};function s(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var l=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=s(t),a=s(n);return r!==t||a!==n?e(r,a):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},c=n(2177);function u(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function f(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function g(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function m(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function b(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&l(e.state,t.state)}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var v=!("undefined"==typeof window||!window.document||!window.document.createElement);function y(e,t){t(window.confirm(e))}var w="popstate",x="hashchange";function S(){try{return window.history.state||{}}catch(e){return{}}}function k(e){void 0===e&&(e={}),v||(0,c.Z)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,s=i.forceRefresh,l=void 0!==s&&s,d=i.getUserConfirmation,b=void 0===d?y:d,k=i.keyLength,E=void 0===k?6:k,_=e.basename?p(u(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return _&&(o=f(o,_)),m(o,r,n)}function P(){return Math.random().toString(36).substr(2,E)}var T=h();function O(e){(0,r.Z)(z,e),z.length=n.length,T.notifyListeners(z.location,z.action)}function L(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||N(C(e.state))}function A(){N(C(S()))}var M=!1;function N(e){if(M)M=!1,O();else{T.confirmTransitionTo(e,"POP",b,(function(t){t?O({action:"POP",location:e}):function(e){var t=z.location,n=j.indexOf(t.key);-1===n&&(n=0);var r=j.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(M=!0,D(a))}(e)}))}}var R=C(S()),j=[R.key];function I(e){return _+g(e)}function D(e){n.go(e)}var F=0;function U(e){1===(F+=e)&&1===e?(window.addEventListener(w,L),o&&window.addEventListener(x,A)):0===F&&(window.removeEventListener(w,L),o&&window.removeEventListener(x,A))}var B=!1;var z={length:n.length,action:"POP",location:R,createHref:I,push:function(e,t){var r="PUSH",o=m(e,t,P(),z.location);T.confirmTransitionTo(o,r,b,(function(e){if(e){var t=I(o),i=o.key,s=o.state;if(a)if(n.pushState({key:i,state:s},null,t),l)window.location.href=t;else{var c=j.indexOf(z.location.key),u=j.slice(0,c+1);u.push(o.key),j=u,O({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=m(e,t,P(),z.location);T.confirmTransitionTo(o,r,b,(function(e){if(e){var t=I(o),i=o.key,s=o.state;if(a)if(n.replaceState({key:i,state:s},null,t),l)window.location.replace(t);else{var c=j.indexOf(z.location.key);-1!==c&&(j[c]=o.key),O({action:r,location:o})}else window.location.replace(t)}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return B||(U(1),B=!0),function(){return B&&(B=!1,U(-1)),t()}},listen:function(e){var t=T.appendListener(e);return U(1),function(){U(-1),t()}}};return z}var E="hashchange",_={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+d(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:d,decodePath:u},slash:{encodePath:u,decodePath:u}};function C(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function P(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function T(e){window.location.replace(C(window.location.href)+"#"+e)}function O(e){void 0===e&&(e={}),v||(0,c.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),a=n.getUserConfirmation,o=void 0===a?y:a,i=n.hashType,s=void 0===i?"slash":i,l=e.basename?p(u(e.basename)):"",d=_[s],b=d.encodePath,w=d.decodePath;function x(){var e=w(P());return l&&(e=f(e,l)),m(e)}var S=h();function k(e){(0,r.Z)(B,e),B.length=t.length,S.notifyListeners(B.location,B.action)}var O=!1,L=null;function A(){var e,t,n=P(),r=b(n);if(n!==r)T(r);else{var a=x(),i=B.location;if(!O&&(t=a,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(L===g(a))return;L=null,function(e){if(O)O=!1,k();else{var t="POP";S.confirmTransitionTo(e,t,o,(function(n){n?k({action:t,location:e}):function(e){var t=B.location,n=j.lastIndexOf(g(t));-1===n&&(n=0);var r=j.lastIndexOf(g(e));-1===r&&(r=0);var a=n-r;a&&(O=!0,I(a))}(e)}))}}(a)}}var M=P(),N=b(M);M!==N&&T(N);var R=x(),j=[g(R)];function I(e){t.go(e)}var D=0;function F(e){1===(D+=e)&&1===e?window.addEventListener(E,A):0===D&&window.removeEventListener(E,A)}var U=!1;var B={length:t.length,action:"POP",location:R,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=C(window.location.href)),n+"#"+b(l+g(e))},push:function(e,t){var n="PUSH",r=m(e,void 0,void 0,B.location);S.confirmTransitionTo(r,n,o,(function(e){if(e){var t=g(r),a=b(l+t);if(P()!==a){L=t,function(e){window.location.hash=e}(a);var o=j.lastIndexOf(g(B.location)),i=j.slice(0,o+1);i.push(t),j=i,k({action:n,location:r})}else k()}}))},replace:function(e,t){var n="REPLACE",r=m(e,void 0,void 0,B.location);S.confirmTransitionTo(r,n,o,(function(e){if(e){var t=g(r),a=b(l+t);P()!==a&&(L=t,T(a));var o=j.indexOf(g(B.location));-1!==o&&(j[o]=t),k({action:n,location:r})}}))},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var t=S.setPrompt(e);return U||(F(1),U=!0),function(){return U&&(U=!1,F(-1)),t()}},listen:function(e){var t=S.appendListener(e);return F(1),function(){F(-1),t()}}};return B}function L(e,t,n){return Math.min(Math.max(e,t),n)}function A(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,s=void 0===i?0:i,l=t.keyLength,c=void 0===l?6:l,u=h();function d(e){(0,r.Z)(w,e),w.length=w.entries.length,u.notifyListeners(w.location,w.action)}function f(){return Math.random().toString(36).substr(2,c)}var p=L(s,0,o.length-1),b=o.map((function(e){return m(e,void 0,"string"==typeof e?f():e.key||f())})),v=g;function y(e){var t=L(w.index+e,0,w.entries.length-1),r=w.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:b.length,action:"POP",location:b[p],index:p,entries:b,createHref:v,push:function(e,t){var r="PUSH",a=m(e,t,f(),w.location);u.confirmTransitionTo(a,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=m(e,t,f(),w.location);u.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return w}},8679:function(e,t,n){"use strict";var r=n(59864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(g){var a=p(n);a&&a!==g&&e(t,a,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=l(t),m=l(n),b=0;b<i.length;++b){var h=i[b];if(!(o[h]||r&&r[h]||m&&m[h]||s&&s[h])){var v=f(n,h);try{c(t,h,v)}catch(y){}}}}return t}},5826:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},70365:function(e,t,n){var r=n(81445)("jsonp");e.exports=function(e,t,n){"function"==typeof t&&(n=t,t={});t||(t={});var i,s,l=t.prefix||"__jp",c=t.name||l+a++,u=t.param||"callback",d=null!=t.timeout?t.timeout:6e4,f=encodeURIComponent,p=document.getElementsByTagName("script")[0]||document.head;d&&(s=setTimeout((function(){g(),n&&n(new Error("Timeout"))}),d));function g(){i.parentNode&&i.parentNode.removeChild(i),window[c]=o,s&&clearTimeout(s)}return window[c]=function(e){r("jsonp got",e),g(),n&&n(null,e)},e=(e+=(~e.indexOf("?")?"&":"?")+u+"="+f(c)).replace("?&","?"),r('jsonp req "%s"',e),(i=document.createElement("script")).src=e,p.parentNode.insertBefore(i,p),function(){window[c]&&g()}};var a=0;function o(){}},81445:function(e,t,n){function r(){var e;try{e=t.storage.debug}catch(n){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=e.exports=n(84805)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var a=0,o=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(a++,"%c"===e&&(o=a))})),e.splice(o,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(n){}},t.load=r,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},t.enable(r())},84805:function(e,t,n){var r;function a(e){function n(){if(n.enabled){var e=n,a=+new Date,o=a-(r||a);e.diff=o,e.prev=r,e.curr=a,r=a;for(var i=new Array(arguments.length),s=0;s<i.length;s++)i[s]=arguments[s];i[0]=t.coerce(i[0]),"string"!=typeof i[0]&&i.unshift("%O");var l=0;i[0]=i[0].replace(/%([a-zA-Z%])/g,(function(n,r){if("%%"===n)return n;l++;var a=t.formatters[r];if("function"==typeof a){var o=i[l];n=a.call(e,o),i.splice(l,1),l--}return n})),t.formatArgs.call(e,i);var c=n.log||t.log||console.log.bind(console);c.apply(e,i)}}return n.namespace=e,n.enabled=t.enabled(e),n.useColors=t.useColors(),n.color=function(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}(e),"function"==typeof t.init&&t.init(n),n}(t=e.exports=a.debug=a.default=a).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){t.save(e),t.names=[],t.skips=[];for(var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length,a=0;a<r;a++)n[a]&&("-"===(e=n[a].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(20971),t.names=[],t.skips=[],t.formatters={}},20971:function(e){var t=1e3,n=60*t,r=60*n,a=24*r,o=365.25*a;function i(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,s){s=s||{};var l,c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var i=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!i)return;var s=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*o;case"days":case"day":case"d":return s*a;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===c&&!1===isNaN(e))return s.long?i(l=e,a,"day")||i(l,r,"hour")||i(l,n,"minute")||i(l,t,"second")||l+" ms":function(e){if(e>=a)return Math.round(e/a)+"d";if(e>=r)return Math.round(e/r)+"h";if(e>=n)return Math.round(e/n)+"m";if(e>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},14706:function(e,t,n){"use strict";n.r(t)},50905:function(e,t,n){"use strict";n.r(t)},60985:function(e,t,n){"use strict";n.r(t)},74865:function(e,t,n){var r,a;void 0===(a="function"==typeof(r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function a(e,t,n){return e<t?t:e>n?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),c=o.querySelector(r.barSelector),u=r.speed,d=r.easing;return o.offsetWidth,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(c,i(e,u,d)),1===e?(l(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){l(o,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),s=e?"-100":o(n.status||0),c=document.querySelector(r.parent);return l(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&p(a),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function c(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=f(e),r=n+t;c(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);c(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n})?r.call(t,n,t,e):r)||(e.exports=a)},27418:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,o){for(var i,s,l=a(e),c=1;c<arguments.length;c++){for(var u in i=Object(arguments[c]))n.call(i,u)&&(l[u]=i[u]);if(t){s=t(i);for(var d=0;d<s.length;d++)r.call(i,s[d])&&(l[s[d]]=i[s[d]])}}return l}},87594:function(e,t){function n(e){let t,n=[];for(let r of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(r))n.push(parseInt(r,10));else if(t=r.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,r,a,o]=t;if(r&&o){r=parseInt(r),o=parseInt(o);const e=r<o?1:-1;"-"!==a&&".."!==a&&"\u2025"!==a||(o+=e);for(let t=r;t!==o;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},87410:function(e,t,n){"use strict";n.r(t);var r=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(o=r.util.objId(t),n[o])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":return o=r.util.objId(t),n[o]?n[o]:(a=[],n[o]=a,t.forEach((function(t,r){a[r]=e(t,n)})),a);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var s in o)if(o.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(i[l]=n[l]);n.hasOwnProperty(s)||(i[s]=o[s])}var c=a[e];return a[e]=i,r.languages.DFS(r.languages,(function(t,n){n===c&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],a||s);var l=t[s],c=r.util.type(l);"Object"!==c||o[i(l)]?"Array"!==c||o[i(l)]||(o[i(l)]=!0,e(l,n,s,o)):(o[i(l)]=!0,e(l,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};return r.hooks.run("before-tokenize",o),o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var a=new s;return l(a,a.head,e),i(e,a,t,a.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(a)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(e,t,n,s,u,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var p=n[f];p=Array.isArray(p)?p:[p];for(var g=0;g<p.length;++g){if(d&&d.cause==f+","+g)return;var m=p[g],b=m.inside,h=!!m.lookbehind,v=!!m.greedy,y=m.alias;if(v&&!m.pattern.global){var w=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,w+"g")}for(var x=m.pattern||m,S=s.next,k=u;S!==t.tail&&!(d&&k>=d.reach);k+=S.value.length,S=S.next){var E=S.value;if(t.length>e.length)return;if(!(E instanceof a)){var _,C=1;if(v){if(!(_=o(x,k,e,h))||_.index>=e.length)break;var P=_.index,T=_.index+_[0].length,O=k;for(O+=S.value.length;P>=O;)O+=(S=S.next).value.length;if(k=O-=S.value.length,S.value instanceof a)continue;for(var L=S;L!==t.tail&&(O<T||"string"==typeof L.value);L=L.next)C++,O+=L.value.length;C--,E=e.slice(k,O),_.index-=k}else if(!(_=o(x,0,E,h)))continue;P=_.index;var A=_[0],M=E.slice(0,P),N=E.slice(P+A.length),R=k+E.length;d&&R>d.reach&&(d.reach=R);var j=S.prev;if(M&&(j=l(t,j,M),k+=M.length),c(t,j,C),S=l(t,j,new a(f,b?r.tokenize(A,b):A,y,A)),N&&l(t,S,N),C>1){var I={cause:f+","+g,reach:R};i(e,t,n,S.prev,k,I),d&&I.reach>d.reach&&(d.reach=I.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function c(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n)})),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var s="";for(var l in o.attributes)s+=" "+l+'="'+(o.attributes[l]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+s+">"+o.content+"</"+o.tag+">"},r}(),a=r;r.default=r,a.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:a.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:a.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},a.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(e,t){a.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:a.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,i=0;i<a.length;i++)o[a[i]]=e.languages.bash[a[i]];e.languages.shell=e.languages.bash}(a),a.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},a.languages.c=a.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),a.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),a.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},a.languages.c.string],char:a.languages.c.char,comment:a.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:a.languages.c}}}}),a.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete a.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(a),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(a),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(a),a.languages.javascript=a.languages.extend("clike",{"class-name":[a.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:a.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:a.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),a.languages.js=a.languages.javascript,function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return a})),RegExp(e,t)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""},s=function(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],o=!1;if("string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===i(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:i(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var l=i(a);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(l+=i(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=i(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}a.content&&"string"!=typeof a.content&&s(a.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||s(e.tokens)}))}(a),function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a];"RegExp"===e.util.type(o)&&(o=e.languages.javascript[a]={pattern:o});var i=o.inside||{};o.inside=i,i["maybe-class-name"]=/^[A-Z][\s\S]*/}}(a),function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function l(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}function c(t){var n={};n["interpolation-punctuation"]=a;var o=e.tokenize(t,n);if(3===o.length){var i=[1,1];i.push.apply(i,l(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i)}return new e.Token("interpolation",o,r.alias,t)}function u(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),i=0,u={},d=l(a.map((function(e){if("string"==typeof e)return e;for(var n,a=e.content;-1!==t.indexOf(n=s(i++,r)););return u[n]=a,n})).join(""),n,r),f=Object.keys(u);return i=0,function e(t){for(var n=0;n<t.length;n++){if(i>=f.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var a=f[i],o="string"==typeof r?r:r.content,s=o.indexOf(a);if(-1!==s){++i;var l=o.substring(0,s),d=c(u[a]),p=o.substring(s+a.length),g=[];if(l&&g.push(l),g.push(d),p){var m=[p];e(m),g.push.apply(g,m)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(g)),n+=g.length-1):r.content=g}}else{var b=r.content;Array.isArray(b)?e(b):e([b])}}}(d),new e.Token(r,d,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function f(e){return"string"==typeof e?e:Array.isArray(e)?e.map(f).join(""):f(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in d&&function t(n){for(var r=0,a=n.length;r<a;r++){var o=n[r];if("string"!=typeof o){var i=o.content;if(Array.isArray(i))if("template-string"===o.type){var s=i[1];if(3===i.length&&"string"!=typeof s&&"embedded-code"===s.type){var l=f(s),c=s.alias,d=Array.isArray(c)?c[0]:c,p=e.languages[d];if(!p)continue;i[1]=u(l,p,d)}}else t(i);else"string"!=typeof i&&t([i])}}}(t.tokens)}))}(a),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(a),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(a),a.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},a.languages.go=a.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),a.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete a.languages.go["class-name"],a.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:a.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},a.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(d(["definition-mutation","punctuation"])&&"("===u(1).content){n+=2;var o=f(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=u(0);"variable"===i.type&&(p(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===u(0).content&&(n++,p(u(0),"property-mutation"),a.length>0)){var s=f(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l<s;l++){var c=t[l];"variable"===c.type&&a.indexOf(c.content)>=0&&p(c,"variable-input")}}}}function u(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=u(n+t);if(!r||r.type!==e[n])return!1}return!0}function f(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],s=i.content;if("punctuation"===i.type&&"string"==typeof s)if(e.test(s))a++;else if(r.test(s)&&0===--a)return o}return-1}function p(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,s=i.length;-1!==n.code.indexOf(a=t(r,s));)++s;return i[s]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(s){for(var l=0;l<s.length&&!(a>=o.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=o[a],d=n.tokenStack[u],f="string"==typeof c?c:c.content,p=t(r,u),g=f.indexOf(p);if(g>-1){++a;var m=f.substring(0,g),b=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),h=f.substring(g+p.length),v=[];m&&v.push.apply(v,i([m])),v.push(b),h&&v.push.apply(v,i([h])),"string"==typeof c?s.splice.apply(s,[l,1].concat(v)):c.content=v}}else c.content&&i(c.content)}return s}(n.tokens)}}}})}(a),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(a),a.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},a.languages.webmanifest=a.languages.json,a.languages.less=a.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),a.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),a.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a=t[n];if("code"===a.type){var o=a.content[1],i=a.content[3];if(o&&i&&"code-language"===o.type&&"code-block"===i.type&&"string"==typeof o.content){var s=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),l="language-"+(s=(/[a-z][\w-]*/i.exec(s)||[""])[0].toLowerCase());i.alias?"string"==typeof i.alias?i.alias=[i.alias,l]:i.alias.push(l):i.alias=[l]}}else e(a.content)}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,a=t.classes.length;r<a;r++){var o=t.classes[r],c=/language-(.+)/.exec(o);if(c){n=c[1];break}}var u,d=e.languages[n];if(d)t.content=e.highlight((u=t.content,u.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;if("#"===(t=t.toLowerCase())[0])return n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n);var r=s[t];return r||e}))),d,n);else if(n&&"none"!==n&&e.plugins.autoloader){var f="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=f,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(f);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))}))}}}));var i=RegExp(e.languages.markup.tag.pattern.source,"gi"),s={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(a),a.languages.objectivec=a.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete a.languages.objectivec["class-name"],a.languages.objc=a.languages.objectivec,a.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},a.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},a.languages.python["string-interpolation"].inside.interpolation.inside.rest=a.languages.python,a.languages.py=a.languages.python,a.languages.reason=a.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),a.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete a.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(a),a.languages.scss=a.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),a.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),a.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),a.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),a.languages.scss.atrule.inside.rest=a.languages.scss,a.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(a),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(a),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(a),a.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/},function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(a),t.default=a},79016:function(){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,(function(){return"(?:"+e+")"}));return e.replace(/<<self>>/g,"[^\\s\\S]")}var a="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",o="class enum interface record struct",i="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var c=l(o),u=RegExp(l(a+" "+o+" "+i+" "+s)),d=l(o+" "+i+" "+s),f=l(a+" "+o+" "+s),p=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),g=r(/\((?:[^()]|<<self>>)*\)/.source,2),m=/@?\b[A-Za-z_]\w*\b/.source,b=t(/<<0>>(?:\s*<<1>>)?/.source,[m,p]),h=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,b]),v=/\[\s*(?:,\s*)*\]/.source,y=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[h,v]),w=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,g,v]),x=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),S=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[x,h,v]),k={keyword:u,punctuation:/[<>()?,.:[\]]/},E=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,_=/"(?:\\.|[^\\"\r\n])*"/.source,C=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[C]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[_]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[h]),lookbehind:!0,inside:k},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[m,S]),lookbehind:!0,inside:k},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[m]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[c,b]),lookbehind:!0,inside:k},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[h]),lookbehind:!0,inside:k},{pattern:n(/(\bwhere\s+)<<0>>/.source,[m]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[y]),lookbehind:!0,inside:k},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[S,f,m]),inside:k}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[m]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[m]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[g]),lookbehind:!0,alias:"class-name",inside:k},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[S,h]),inside:k,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[S]),lookbehind:!0,inside:k,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[m,p]),inside:{function:n(/^<<0>>/.source,[m]),generic:{pattern:RegExp(p),alias:"class-name",inside:k}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[c,b,m,S,u.source,g,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[b,g]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:u,"class-name":{pattern:RegExp(S),greedy:!0,inside:k},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var P=_+"|"+E,T=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[P]),O=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),L=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,A=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[h,O]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[L,A]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[L]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[O]),inside:e.languages.csharp},"class-name":{pattern:RegExp(h),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var M=/:[^}\r\n]+/.source,N=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),R=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[N,M]),j=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[P]),2),I=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[j,M]);function D(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,M]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[R]),lookbehind:!0,greedy:!0,inside:D(R,N)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[I]),lookbehind:!0,greedy:!0,inside:D(I,j)}],char:{pattern:RegExp(E),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(Prism)},91778:function(e,t,n){var r={"./prism-csharp":79016};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=91778},92703:function(e,t,n){"use strict";var r=n(50414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},64448:function(e,t,n){"use strict";var r=n(67294),a=n(27418),o=n(63840);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(i(227));var s=new Set,l={};function c(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var d=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,g={},m={};function b(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var h={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){h[e]=new b(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];h[t]=new b(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){h[e]=new b(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){h[e]=new b(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){h[e]=new b(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){h[e]=new b(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){h[e]=new b(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){h[e]=new b(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){h[e]=new b(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function w(e,t,n,r){var a=h.hasOwnProperty(t)?h[t]:null;(null!==a?0===a.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!p.call(m,e)||!p.call(g,e)&&(f.test(e)?m[e]=!0:(g[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,y);h[t]=new b(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,y);h[t]=new b(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,y);h[t]=new b(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){h[e]=new b(e,1,!1,e.toLowerCase(),null,!1,!1)})),h.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){h[e]=new b(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=60103,k=60106,E=60107,_=60108,C=60114,P=60109,T=60110,O=60112,L=60113,A=60120,M=60115,N=60116,R=60121,j=60128,I=60129,D=60130,F=60131;if("function"==typeof Symbol&&Symbol.for){var U=Symbol.for;S=U("react.element"),k=U("react.portal"),E=U("react.fragment"),_=U("react.strict_mode"),C=U("react.profiler"),P=U("react.provider"),T=U("react.context"),O=U("react.forward_ref"),L=U("react.suspense"),A=U("react.suspense_list"),M=U("react.memo"),N=U("react.lazy"),R=U("react.block"),U("react.scope"),j=U("react.opaque.id"),I=U("react.debug_trace_mode"),D=U("react.offscreen"),F=U("react.legacy_hidden")}var B,z="function"==typeof Symbol&&Symbol.iterator;function $(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=z&&e[z]||e["@@iterator"])?e:null}function q(e){if(void 0===B)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);B=t&&t[1]||""}return"\n"+B+e}var Z=!1;function H(e,t){if(!e||Z)return"";Z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&"string"==typeof l.stack){for(var a=l.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,s=o.length-1;1<=i&&0<=s&&a[i]!==o[s];)s--;for(;1<=i&&0<=s;i--,s--)if(a[i]!==o[s]){if(1!==i||1!==s)do{if(i--,0>--s||a[i]!==o[s])return"\n"+a[i].replace(" at new "," at ")}while(1<=i&&0<=s);break}}}finally{Z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?q(e):""}function V(e){switch(e.tag){case 5:return q(e.type);case 16:return q("Lazy");case 13:return q("Suspense");case 19:return q("SuspenseList");case 0:case 2:case 15:return e=H(e.type,!1);case 11:return e=H(e.type.render,!1);case 22:return e=H(e.type._render,!1);case 1:return e=H(e.type,!0);default:return""}}function G(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case E:return"Fragment";case k:return"Portal";case C:return"Profiler";case _:return"StrictMode";case L:return"Suspense";case A:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case P:return(e._context.displayName||"Context")+".Provider";case O:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case M:return G(e.type);case R:return G(e._render);case N:t=e._payload,e=e._init;try{return G(e(t))}catch(n){}}return null}function W(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function X(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Y(e){e._valueTracker||(e._valueTracker=function(e){var t=X(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=X(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Q(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=W(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ae(e,t.type,n):t.hasOwnProperty("defaultValue")&&ae(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ae(e,t,n){"number"===t&&Q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function oe(e,t){return e=a({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ie(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+W(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:W(n)}}function ce(e,t){var n=W(t.value),r=W(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ue(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var de="http://www.w3.org/1999/xhtml",fe="http://www.w3.org/2000/svg";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ge(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var me,be,he=(be=function(e,t){if(e.namespaceURI!==fe||"innerHTML"in e)e.innerHTML=t;else{for((me=me||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return be(e,t)}))}:be);function ve(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},we=["Webkit","ms","Moz","O"];function xe(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}function Se(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=xe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(ye).forEach((function(e){we.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ye[t]=ye[e]}))}));var ke=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ee(e,t){if(t){if(ke[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function _e(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Ce(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Pe=null,Te=null,Oe=null;function Le(e){if(e=ea(e)){if("function"!=typeof Pe)throw Error(i(280));var t=e.stateNode;t&&(t=na(t),Pe(e.stateNode,e.type,t))}}function Ae(e){Te?Oe?Oe.push(e):Oe=[e]:Te=e}function Me(){if(Te){var e=Te,t=Oe;if(Oe=Te=null,Le(e),t)for(e=0;e<t.length;e++)Le(t[e])}}function Ne(e,t){return e(t)}function Re(e,t,n,r,a){return e(t,n,r,a)}function je(){}var Ie=Ne,De=!1,Fe=!1;function Ue(){null===Te&&null===Oe||(je(),Me())}function Be(e,t){var n=e.stateNode;if(null===n)return null;var r=na(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var ze=!1;if(d)try{var $e={};Object.defineProperty($e,"passive",{get:function(){ze=!0}}),window.addEventListener("test",$e,$e),window.removeEventListener("test",$e,$e)}catch(be){ze=!1}function qe(e,t,n,r,a,o,i,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Ze=!1,He=null,Ve=!1,Ge=null,We={onError:function(e){Ze=!0,He=e}};function Xe(e,t,n,r,a,o,i,s,l){Ze=!1,He=null,qe.apply(We,arguments)}function Ye(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ke(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Qe(e){if(Ye(e)!==e)throw Error(i(188))}function Je(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ye(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return Qe(a),e;if(o===r)return Qe(a),t;o=o.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=o;else{for(var s=!1,l=a.child;l;){if(l===n){s=!0,n=a,r=o;break}if(l===r){s=!0,r=a,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=a;break}if(l===r){s=!0,r=o,n=a;break}l=l.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tt,nt,rt,at,ot=!1,it=[],st=null,lt=null,ct=null,ut=new Map,dt=new Map,ft=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function gt(e,t,n,r,a){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:a,targetContainers:[r]}}function mt(e,t){switch(e){case"focusin":case"focusout":st=null;break;case"dragenter":case"dragleave":lt=null;break;case"mouseover":case"mouseout":ct=null;break;case"pointerover":case"pointerout":ut.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dt.delete(t.pointerId)}}function bt(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e=gt(t,n,r,a,o),null!==t&&(null!==(t=ea(t))&&nt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function ht(e){var t=Jr(e.target);if(null!==t){var n=Ye(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ke(n)))return e.blockedOn=t,void at(e.lanePriority,(function(){o.unstable_runWithPriority(e.priority,(function(){rt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function vt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ea(n))&&nt(t),e.blockedOn=n,!1;t.shift()}return!0}function yt(e,t,n){vt(e)&&n.delete(t)}function wt(){for(ot=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=ea(e.blockedOn))&&tt(e);break}for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&it.shift()}null!==st&&vt(st)&&(st=null),null!==lt&&vt(lt)&&(lt=null),null!==ct&&vt(ct)&&(ct=null),ut.forEach(yt),dt.forEach(yt)}function xt(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,wt)))}function St(e){function t(t){return xt(t,e)}if(0<it.length){xt(it[0],e);for(var n=1;n<it.length;n++){var r=it[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==st&&xt(st,e),null!==lt&&xt(lt,e),null!==ct&&xt(ct,e),ut.forEach(t),dt.forEach(t),n=0;n<ft.length;n++)(r=ft[n]).blockedOn===e&&(r.blockedOn=null);for(;0<ft.length&&null===(n=ft[0]).blockedOn;)ht(n),null===n.blockedOn&&ft.shift()}function kt(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Et={animationend:kt("Animation","AnimationEnd"),animationiteration:kt("Animation","AnimationIteration"),animationstart:kt("Animation","AnimationStart"),transitionend:kt("Transition","TransitionEnd")},_t={},Ct={};function Pt(e){if(_t[e])return _t[e];if(!Et[e])return e;var t,n=Et[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ct)return _t[e]=n[t];return e}d&&(Ct=document.createElement("div").style,"AnimationEvent"in window||(delete Et.animationend.animation,delete Et.animationiteration.animation,delete Et.animationstart.animation),"TransitionEvent"in window||delete Et.transitionend.transition);var Tt=Pt("animationend"),Ot=Pt("animationiteration"),Lt=Pt("animationstart"),At=Pt("transitionend"),Mt=new Map,Nt=new Map,Rt=["abort","abort",Tt,"animationEnd",Ot,"animationIteration",Lt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",At,"transitionEnd","waiting","waiting"];function jt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],a=e[n+1];a="on"+(a[0].toUpperCase()+a.slice(1)),Nt.set(r,t),Mt.set(r,a),c(a,[r])}}(0,o.unstable_now)();var It=8;function Dt(e){if(0!=(1&e))return It=15,1;if(0!=(2&e))return It=14,2;if(0!=(4&e))return It=13,4;var t=24&e;return 0!==t?(It=12,t):0!=(32&e)?(It=11,32):0!==(t=192&e)?(It=10,t):0!=(256&e)?(It=9,256):0!==(t=3584&e)?(It=8,t):0!=(4096&e)?(It=7,4096):0!==(t=4186112&e)?(It=6,t):0!==(t=62914560&e)?(It=5,t):67108864&e?(It=4,67108864):0!=(134217728&e)?(It=3,134217728):0!==(t=805306368&e)?(It=2,t):0!=(1073741824&e)?(It=1,1073741824):(It=8,e)}function Ft(e,t){var n=e.pendingLanes;if(0===n)return It=0;var r=0,a=0,o=e.expiredLanes,i=e.suspendedLanes,s=e.pingedLanes;if(0!==o)r=o,a=It=15;else if(0!==(o=134217727&n)){var l=o&~i;0!==l?(r=Dt(l),a=It):0!==(s&=o)&&(r=Dt(s),a=It)}else 0!==(o=n&~i)?(r=Dt(o),a=It):0!==s&&(r=Dt(s),a=It);if(0===r)return 0;if(r=n&((0>(r=31-Zt(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&i)){if(Dt(t),a<=It)return t;It=a}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-Zt(t)),r|=e[n],t&=~a;return r}function Ut(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Bt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=zt(24&~t))?Bt(10,t):e;case 10:return 0===(e=zt(192&~t))?Bt(8,t):e;case 8:return 0===(e=zt(3584&~t))&&(0===(e=zt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=zt(805306368&~t))&&(t=268435456),t}throw Error(i(358,e))}function zt(e){return e&-e}function $t(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function qt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Zt(t)]=n}var Zt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Ht(e)/Vt|0)|0},Ht=Math.log,Vt=Math.LN2;var Gt=o.unstable_UserBlockingPriority,Wt=o.unstable_runWithPriority,Xt=!0;function Yt(e,t,n,r){De||je();var a=Qt,o=De;De=!0;try{Re(a,e,t,n,r)}finally{(De=o)||Ue()}}function Kt(e,t,n,r){Wt(Gt,Qt.bind(null,e,t,n,r))}function Qt(e,t,n,r){var a;if(Xt)if((a=0==(4&t))&&0<it.length&&-1<pt.indexOf(e))e=gt(null,e,t,n,r),it.push(e);else{var o=Jt(e,t,n,r);if(null===o)a&&mt(e,r);else{if(a){if(-1<pt.indexOf(e))return e=gt(o,e,t,n,r),void it.push(e);if(function(e,t,n,r,a){switch(t){case"focusin":return st=bt(st,e,t,n,r,a),!0;case"dragenter":return lt=bt(lt,e,t,n,r,a),!0;case"mouseover":return ct=bt(ct,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return ut.set(o,bt(ut.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,dt.set(o,bt(dt.get(o)||null,e,t,n,r,a)),!0}return!1}(o,e,t,n,r))return;mt(e,r)}Mr(e,t,r,null,n)}}}function Jt(e,t,n,r){var a=Ce(r);if(null!==(a=Jr(a))){var o=Ye(a);if(null===o)a=null;else{var i=o.tag;if(13===i){if(null!==(a=Ke(o)))return a;a=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;a=null}else o!==a&&(a=null)}}return Mr(e,t,r,a,n),null}var en=null,tn=null,nn=null;function rn(){if(nn)return nn;var e,t,n=tn,r=n.length,a="value"in en?en.value:en.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return nn=a.slice(e,1<t?1-t:void 0)}function an(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function on(){return!0}function sn(){return!1}function ln(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?on:sn,this.isPropagationStopped=sn,this}return a(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=on)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=on)},persist:function(){},isPersistent:on}),t}var cn,un,dn,fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=ln(fn),gn=a({},fn,{view:0,detail:0}),mn=ln(gn),bn=a({},gn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==dn&&(dn&&"mousemove"===e.type?(cn=e.screenX-dn.screenX,un=e.screenY-dn.screenY):un=cn=0,dn=e),cn)},movementY:function(e){return"movementY"in e?e.movementY:un}}),hn=ln(bn),vn=ln(a({},bn,{dataTransfer:0})),yn=ln(a({},gn,{relatedTarget:0})),wn=ln(a({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),xn=ln(a({},fn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Sn=ln(a({},fn,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},En={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_n={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_n[e])&&!!t[e]}function Pn(){return Cn}var Tn=ln(a({},gn,{key:function(e){if(e.key){var t=kn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=an(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?En[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pn,charCode:function(e){return"keypress"===e.type?an(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?an(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),On=ln(a({},bn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ln=ln(a({},gn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pn})),An=ln(a({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Mn=ln(a({},bn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Nn=[9,13,27,32],Rn=d&&"CompositionEvent"in window,jn=null;d&&"documentMode"in document&&(jn=document.documentMode);var In=d&&"TextEvent"in window&&!jn,Dn=d&&(!Rn||jn&&8<jn&&11>=jn),Fn=String.fromCharCode(32),Un=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Nn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var $n=!1;var qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Zn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Hn(e,t,n,r){Ae(r),0<(t=Rr(t,"onChange")).length&&(n=new pn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,Gn=null;function Wn(e){Cr(e,0)}function Xn(e){if(K(ta(e)))return e}function Yn(e,t){if("change"===e)return t}var Kn=!1;if(d){var Qn;if(d){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Qn=Jn}else Qn=!1;Kn=Qn&&(!document.documentMode||9<document.documentMode)}function tr(){Vn&&(Vn.detachEvent("onpropertychange",nr),Gn=Vn=null)}function nr(e){if("value"===e.propertyName&&Xn(Gn)){var t=[];if(Hn(t,Gn,e,Ce(e)),e=Wn,De)e(t);else{De=!0;try{Ne(e,t)}finally{De=!1,Ue()}}}}function rr(e,t,n){"focusin"===e?(tr(),Gn=n,(Vn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xn(Gn)}function or(e,t){if("click"===e)return Xn(t)}function ir(e,t){if("input"===e||"change"===e)return Xn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},lr=Object.prototype.hasOwnProperty;function cr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!lr.call(t,n[r])||!sr(e[n[r]],t[n[r]]))return!1;return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=Q();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Q((e=t.contentWindow).document)}return t}function gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var mr=d&&"documentMode"in document&&11>=document.documentMode,br=null,hr=null,vr=null,yr=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==br||br!==Q(r)||("selectionStart"in(r=br)&&gr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&cr(vr,r)||(vr=r,0<(r=Rr(hr,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=br)))}jt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),jt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),jt(Rt,2);for(var xr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Sr=0;Sr<xr.length;Sr++)Nt.set(xr[Sr],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var kr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Er=new Set("cancel close invalid load scroll toggle".split(" ").concat(kr));function _r(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,o,s,l,c){if(Xe.apply(this,arguments),Ze){if(!Ze)throw Error(i(198));var u=He;Ze=!1,He=null,Ve||(Ve=!0,Ge=u)}}(r,t,void 0,e),e.currentTarget=null}function Cr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&a.isPropagationStopped())break e;_r(a,s,c),o=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,c=s.currentTarget,s=s.listener,l!==o&&a.isPropagationStopped())break e;_r(a,s,c),o=l}}}if(Ve)throw e=Ge,Ve=!1,Ge=null,e}function Pr(e,t){var n=ra(t),r=e+"__bubble";n.has(r)||(Ar(t,e,2,!1),n.add(r))}var Tr="_reactListening"+Math.random().toString(36).slice(2);function Or(e){e[Tr]||(e[Tr]=!0,s.forEach((function(t){Er.has(t)||Lr(t,!1,e,null),Lr(t,!0,e,null)})))}function Lr(e,t,n,r){var a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=n;if("selectionchange"===e&&9!==n.nodeType&&(o=n.ownerDocument),null!==r&&!t&&Er.has(e)){if("scroll"!==e)return;a|=2,o=r}var i=ra(o),s=e+"__"+(t?"capture":"bubble");i.has(s)||(t&&(a|=4),Ar(o,e,a,t),i.add(s))}function Ar(e,t,n,r){var a=Nt.get(t);switch(void 0===a?2:a){case 0:a=Yt;break;case 1:a=Kt;break;default:a=Qt}n=a.bind(null,t,n,e),a=void 0,!ze||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Mr(e,t,n,r,a){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===a||8===s.nodeType&&s.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===a||8===l.nodeType&&l.parentNode===a))return;i=i.return}for(;null!==s;){if(null===(i=Jr(s)))return;if(5===(l=i.tag)||6===l){r=o=i;continue e}s=s.parentNode}}r=r.return}!function(e,t,n){if(Fe)return e(t,n);Fe=!0;try{Ie(e,t,n)}finally{Fe=!1,Ue()}}((function(){var r=o,a=Ce(n),i=[];e:{var s=Mt.get(e);if(void 0!==s){var l=pn,c=e;switch(e){case"keypress":if(0===an(n))break e;case"keydown":case"keyup":l=Tn;break;case"focusin":c="focus",l=yn;break;case"focusout":c="blur",l=yn;break;case"beforeblur":case"afterblur":l=yn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Ln;break;case Tt:case Ot:case Lt:l=wn;break;case At:l=An;break;case"scroll":l=mn;break;case"wheel":l=Mn;break;case"copy":case"cut":case"paste":l=xn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=On}var u=0!=(4&t),d=!u&&"scroll"===e,f=u?null!==s?s+"Capture":null:s;u=[];for(var p,g=r;null!==g;){var m=(p=g).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Be(g,f))&&u.push(Nr(g,m,p)))),d)break;g=g.return}0<u.length&&(s=new l(s,c,null,n,a),i.push({event:s,listeners:u}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(c=n.relatedTarget||n.fromElement)||!Jr(c)&&!c[Kr])&&(l||s)&&(s=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?Jr(c):null)&&(c!==(d=Ye(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=hn,m="onMouseLeave",f="onMouseEnter",g="mouse","pointerout"!==e&&"pointerover"!==e||(u=On,m="onPointerLeave",f="onPointerEnter",g="pointer"),d=null==l?s:ta(l),p=null==c?s:ta(c),(s=new u(m,g+"leave",l,n,a)).target=d,s.relatedTarget=p,m=null,Jr(a)===r&&((u=new u(f,g+"enter",c,n,a)).target=p,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(f=c,g=0,p=u=l;p;p=jr(p))g++;for(p=0,m=f;m;m=jr(m))p++;for(;0<g-p;)u=jr(u),g--;for(;0<p-g;)f=jr(f),p--;for(;g--;){if(u===f||null!==f&&u===f.alternate)break e;u=jr(u),f=jr(f)}u=null}else u=null;null!==l&&Ir(i,s,l,u,!1),null!==c&&null!==d&&Ir(i,d,c,u,!0)}if("select"===(l=(s=r?ta(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var b=Yn;else if(Zn(s))if(Kn)b=ir;else{b=ar;var h=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(b=or);switch(b&&(b=b(e,r))?Hn(i,b,n,a):(h&&h(e,s,r),"focusout"===e&&(h=s._wrapperState)&&h.controlled&&"number"===s.type&&ae(s,"number",s.value)),h=r?ta(r):window,e){case"focusin":(Zn(h)||"true"===h.contentEditable)&&(br=h,hr=r,vr=null);break;case"focusout":vr=hr=br=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,wr(i,n,a);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(i,n,a)}var v;if(Rn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else $n?Bn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Dn&&"ko"!==n.locale&&($n||"onCompositionStart"!==y?"onCompositionEnd"===y&&$n&&(v=rn()):(tn="value"in(en=a)?en.value:en.textContent,$n=!0)),0<(h=Rr(r,y)).length&&(y=new Sn(y,e,null,n,a),i.push({event:y,listeners:h}),v?y.data=v:null!==(v=zn(n))&&(y.data=v))),(v=In?function(e,t){switch(e){case"compositionend":return zn(t);case"keypress":return 32!==t.which?null:(Un=!0,Fn);case"textInput":return(e=t.data)===Fn&&Un?null:e;default:return null}}(e,n):function(e,t){if($n)return"compositionend"===e||!Rn&&Bn(e,t)?(e=rn(),nn=tn=en=null,$n=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Dn&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&(0<(r=Rr(r,"onBeforeInput")).length&&(a=new Sn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=v))}Cr(i,t)}))}function Nr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Rr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=Be(e,n))&&r.unshift(Nr(e,o,a)),null!=(o=Be(e,t))&&r.push(Nr(e,o,a))),e=e.return}return r}function jr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ir(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,a?null!=(l=Be(n,o))&&i.unshift(Nr(n,l,s)):a||null!=(l=Be(n,o))&&i.push(Nr(n,l,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function Dr(){}var Fr=null,Ur=null;function Br(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function zr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var $r="function"==typeof setTimeout?setTimeout:void 0,qr="function"==typeof clearTimeout?clearTimeout:void 0;function Zr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Hr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Vr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Gr=0;var Wr=Math.random().toString(36).slice(2),Xr="__reactFiber$"+Wr,Yr="__reactProps$"+Wr,Kr="__reactContainer$"+Wr,Qr="__reactEvents$"+Wr;function Jr(e){var t=e[Xr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Kr]||n[Xr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Vr(e);null!==e;){if(n=e[Xr])return n;e=Vr(e)}return t}n=(e=n).parentNode}return null}function ea(e){return!(e=e[Xr]||e[Kr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ta(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function na(e){return e[Yr]||null}function ra(e){var t=e[Qr];return void 0===t&&(t=e[Qr]=new Set),t}var aa=[],oa=-1;function ia(e){return{current:e}}function sa(e){0>oa||(e.current=aa[oa],aa[oa]=null,oa--)}function la(e,t){oa++,aa[oa]=e.current,e.current=t}var ca={},ua=ia(ca),da=ia(!1),fa=ca;function pa(e,t){var n=e.type.contextTypes;if(!n)return ca;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ga(e){return null!=(e=e.childContextTypes)}function ma(){sa(da),sa(ua)}function ba(e,t,n){if(ua.current!==ca)throw Error(i(168));la(ua,t),la(da,n)}function ha(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(i(108,G(t)||"Unknown",o));return a({},n,r)}function va(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ca,fa=ua.current,la(ua,e),la(da,da.current),!0}function ya(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=ha(e,t,fa),r.__reactInternalMemoizedMergedChildContext=e,sa(da),sa(ua),la(ua,e)):sa(da),la(da,n)}var wa=null,xa=null,Sa=o.unstable_runWithPriority,ka=o.unstable_scheduleCallback,Ea=o.unstable_cancelCallback,_a=o.unstable_shouldYield,Ca=o.unstable_requestPaint,Pa=o.unstable_now,Ta=o.unstable_getCurrentPriorityLevel,Oa=o.unstable_ImmediatePriority,La=o.unstable_UserBlockingPriority,Aa=o.unstable_NormalPriority,Ma=o.unstable_LowPriority,Na=o.unstable_IdlePriority,Ra={},ja=void 0!==Ca?Ca:function(){},Ia=null,Da=null,Fa=!1,Ua=Pa(),Ba=1e4>Ua?Pa:function(){return Pa()-Ua};function za(){switch(Ta()){case Oa:return 99;case La:return 98;case Aa:return 97;case Ma:return 96;case Na:return 95;default:throw Error(i(332))}}function $a(e){switch(e){case 99:return Oa;case 98:return La;case 97:return Aa;case 96:return Ma;case 95:return Na;default:throw Error(i(332))}}function qa(e,t){return e=$a(e),Sa(e,t)}function Za(e,t,n){return e=$a(e),ka(e,t,n)}function Ha(){if(null!==Da){var e=Da;Da=null,Ea(e)}Va()}function Va(){if(!Fa&&null!==Ia){Fa=!0;var e=0;try{var t=Ia;qa(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Ia=null}catch(n){throw null!==Ia&&(Ia=Ia.slice(e+1)),ka(Oa,Ha),n}finally{Fa=!1}}}var Ga=x.ReactCurrentBatchConfig;function Wa(e,t){if(e&&e.defaultProps){for(var n in t=a({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Xa=ia(null),Ya=null,Ka=null,Qa=null;function Ja(){Qa=Ka=Ya=null}function eo(e){var t=Xa.current;sa(Xa),e.type._context._currentValue=t}function to(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function no(e,t){Ya=e,Qa=Ka=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Ri=!0),e.firstContext=null)}function ro(e,t){if(Qa!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Qa=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Ka){if(null===Ya)throw Error(i(308));Ka=t,Ya.dependencies={lanes:0,firstContext:t,responders:null}}else Ka=Ka.next=t;return e._currentValue}var ao=!1;function oo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function io(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function so(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function lo(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function co(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function uo(e,t,n,r){var o=e.updateQueue;ao=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var c=l,u=c.next;c.next=null,null===s?i=u:s.next=u,s=c;var d=e.alternate;if(null!==d){var f=(d=d.updateQueue).lastBaseUpdate;f!==s&&(null===f?d.firstBaseUpdate=u:f.next=u,d.lastBaseUpdate=c)}}if(null!==i){for(f=o.baseState,s=0,d=u=c=null;;){l=i.lane;var p=i.eventTime;if((r&l)===l){null!==d&&(d=d.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var g=e,m=i;switch(l=t,p=n,m.tag){case 1:if("function"==typeof(g=m.payload)){f=g.call(p,f,l);break e}f=g;break e;case 3:g.flags=-4097&g.flags|64;case 0:if(null==(l="function"==typeof(g=m.payload)?g.call(p,f,l):g))break e;f=a({},f,l);break e;case 2:ao=!0}}null!==i.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[i]:l.push(i))}else p={eventTime:p,lane:l,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===d?(u=d=p,c=f):d=d.next=p,s|=l;if(null===(i=i.next)){if(null===(l=o.shared.pending))break;i=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null}}null===d&&(c=f),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=d,Fs|=s,e.lanes=s,e.memoizedState=f}}function fo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(i(191,a));a.call(r)}}}var po=(new r.Component).refs;function go(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:a({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var mo={isMounted:function(e){return!!(e=e._reactInternals)&&Ye(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=cl(),a=ul(e),o=so(r,a);o.payload=t,null!=n&&(o.callback=n),lo(e,o),dl(e,a,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=cl(),a=ul(e),o=so(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),lo(e,o),dl(e,a,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=cl(),r=ul(e),a=so(n,r);a.tag=2,null!=t&&(a.callback=t),lo(e,a),dl(e,r,n)}};function bo(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!cr(n,r)||!cr(a,o))}function ho(e,t,n){var r=!1,a=ca,o=t.contextType;return"object"==typeof o&&null!==o?o=ro(o):(a=ga(t)?fa:ua.current,o=(r=null!=(r=t.contextTypes))?pa(e,a):ca),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=mo,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function vo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&mo.enqueueReplaceState(t,t.state,null)}function yo(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=po,oo(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=ro(o):(o=ga(t)?fa:ua.current,a.context=pa(e,o)),uo(e,n,a,r),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(go(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&mo.enqueueReplaceState(a,a.state,null),uo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4)}var wo=Array.isArray;function xo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:((t=function(e){var t=r.refs;t===po&&(t=r.refs={}),null===e?delete t[a]:t[a]=e})._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function So(e,t){if("textarea"!==e.type)throw Error(i(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function ko(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=ql(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Gl(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=a(t,n.props)).ref=xo(e,t,n),r.return=e,r):((r=Zl(n.type,n.key,n.props,null,e.mode,r)).ref=xo(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Wl(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Hl(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Gl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case S:return(n=Zl(t.type,t.key,t.props,null,e.mode,n)).ref=xo(e,null,t),n.return=e,n;case k:return(t=Wl(t,e.mode,n)).return=e,t}if(wo(t)||$(t))return(t=Hl(t,e.mode,n,null)).return=e,t;So(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==a?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case S:return n.key===a?n.type===E?d(e,t,n.props.children,r,a):c(e,t,n,r):null;case k:return n.key===a?u(e,t,n,r):null}if(wo(n)||$(n))return null!==a?null:d(e,t,n,r,null);So(e,n)}return null}function g(e,t,n,r,a){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case S:return e=e.get(null===r.key?n:r.key)||null,r.type===E?d(t,e,r.props.children,a,r.key):c(t,e,r,a);case k:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a)}if(wo(r)||$(r))return d(t,e=e.get(n)||null,r,a,null);So(t,r)}return null}function m(a,i,s,l){for(var c=null,u=null,d=i,m=i=0,b=null;null!==d&&m<s.length;m++){d.index>m?(b=d,d=null):b=d.sibling;var h=p(a,d,s[m],l);if(null===h){null===d&&(d=b);break}e&&d&&null===h.alternate&&t(a,d),i=o(h,i,m),null===u?c=h:u.sibling=h,u=h,d=b}if(m===s.length)return n(a,d),c;if(null===d){for(;m<s.length;m++)null!==(d=f(a,s[m],l))&&(i=o(d,i,m),null===u?c=d:u.sibling=d,u=d);return c}for(d=r(a,d);m<s.length;m++)null!==(b=g(d,a,m,s[m],l))&&(e&&null!==b.alternate&&d.delete(null===b.key?m:b.key),i=o(b,i,m),null===u?c=b:u.sibling=b,u=b);return e&&d.forEach((function(e){return t(a,e)})),c}function b(a,s,l,c){var u=$(l);if("function"!=typeof u)throw Error(i(150));if(null==(l=u.call(l)))throw Error(i(151));for(var d=u=null,m=s,b=s=0,h=null,v=l.next();null!==m&&!v.done;b++,v=l.next()){m.index>b?(h=m,m=null):h=m.sibling;var y=p(a,m,v.value,c);if(null===y){null===m&&(m=h);break}e&&m&&null===y.alternate&&t(a,m),s=o(y,s,b),null===d?u=y:d.sibling=y,d=y,m=h}if(v.done)return n(a,m),u;if(null===m){for(;!v.done;b++,v=l.next())null!==(v=f(a,v.value,c))&&(s=o(v,s,b),null===d?u=v:d.sibling=v,d=v);return u}for(m=r(a,m);!v.done;b++,v=l.next())null!==(v=g(m,a,b,v.value,c))&&(e&&null!==v.alternate&&m.delete(null===v.key?b:v.key),s=o(v,s,b),null===d?u=v:d.sibling=v,d=v);return e&&m.forEach((function(e){return t(a,e)})),u}return function(e,r,o,l){var c="object"==typeof o&&null!==o&&o.type===E&&null===o.key;c&&(o=o.props.children);var u="object"==typeof o&&null!==o;if(u)switch(o.$$typeof){case S:e:{for(u=o.key,c=r;null!==c;){if(c.key===u){switch(c.tag){case 7:if(o.type===E){n(e,c.sibling),(r=a(c,o.props.children)).return=e,e=r;break e}break;default:if(c.elementType===o.type){n(e,c.sibling),(r=a(c,o.props)).ref=xo(e,c,o),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}o.type===E?((r=Hl(o.props.children,e.mode,l,o.key)).return=e,e=r):((l=Zl(o.type,o.key,o.props,null,e.mode,l)).ref=xo(e,r,o),l.return=e,e=l)}return s(e);case k:e:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=a(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Wl(o,e.mode,l)).return=e,e=r}return s(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=a(r,o)).return=e,e=r):(n(e,r),(r=Gl(o,e.mode,l)).return=e,e=r),s(e);if(wo(o))return m(e,r,o,l);if($(o))return b(e,r,o,l);if(u&&So(e,o),void 0===o&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(i(152,G(e.type)||"Component"))}return n(e,r)}}var Eo=ko(!0),_o=ko(!1),Co={},Po=ia(Co),To=ia(Co),Oo=ia(Co);function Lo(e){if(e===Co)throw Error(i(174));return e}function Ao(e,t){switch(la(Oo,t),la(To,e),la(Po,Co),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ge(null,"");break;default:t=ge(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}sa(Po),la(Po,t)}function Mo(){sa(Po),sa(To),sa(Oo)}function No(e){Lo(Oo.current);var t=Lo(Po.current),n=ge(t,e.type);t!==n&&(la(To,e),la(Po,n))}function Ro(e){To.current===e&&(sa(Po),sa(To))}var jo=ia(0);function Io(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Do=null,Fo=null,Uo=!1;function Bo(e,t){var n=zl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function zo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function $o(e){if(Uo){var t=Fo;if(t){var n=t;if(!zo(e,t)){if(!(t=Hr(n.nextSibling))||!zo(e,t))return e.flags=-1025&e.flags|2,Uo=!1,void(Do=e);Bo(Do,n)}Do=e,Fo=Hr(t.firstChild)}else e.flags=-1025&e.flags|2,Uo=!1,Do=e}}function qo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Do=e}function Zo(e){if(e!==Do)return!1;if(!Uo)return qo(e),Uo=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!zr(t,e.memoizedProps))for(t=Fo;t;)Bo(e,t),t=Hr(t.nextSibling);if(qo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Fo=Hr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Fo=null}}else Fo=Do?Hr(e.stateNode.nextSibling):null;return!0}function Ho(){Fo=Do=null,Uo=!1}var Vo=[];function Go(){for(var e=0;e<Vo.length;e++)Vo[e]._workInProgressVersionPrimary=null;Vo.length=0}var Wo=x.ReactCurrentDispatcher,Xo=x.ReactCurrentBatchConfig,Yo=0,Ko=null,Qo=null,Jo=null,ei=!1,ti=!1;function ni(){throw Error(i(321))}function ri(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function ai(e,t,n,r,a,o){if(Yo=o,Ko=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Wo.current=null===e||null===e.memoizedState?Li:Ai,e=n(r,a),ti){o=0;do{if(ti=!1,!(25>o))throw Error(i(301));o+=1,Jo=Qo=null,t.updateQueue=null,Wo.current=Mi,e=n(r,a)}while(ti)}if(Wo.current=Oi,t=null!==Qo&&null!==Qo.next,Yo=0,Jo=Qo=Ko=null,ei=!1,t)throw Error(i(300));return e}function oi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Jo?Ko.memoizedState=Jo=e:Jo=Jo.next=e,Jo}function ii(){if(null===Qo){var e=Ko.alternate;e=null!==e?e.memoizedState:null}else e=Qo.next;var t=null===Jo?Ko.memoizedState:Jo.next;if(null!==t)Jo=t,Qo=e;else{if(null===e)throw Error(i(310));e={memoizedState:(Qo=e).memoizedState,baseState:Qo.baseState,baseQueue:Qo.baseQueue,queue:Qo.queue,next:null},null===Jo?Ko.memoizedState=Jo=e:Jo=Jo.next=e}return Jo}function si(e,t){return"function"==typeof t?t(e):t}function li(e){var t=ii(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=Qo,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var s=a.next;a.next=o.next,o.next=s}r.baseQueue=a=o,n.pending=null}if(null!==a){a=a.next,r=r.baseState;var l=s=o=null,c=a;do{var u=c.lane;if((Yo&u)===u)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var d={lane:u,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=d,o=r):l=l.next=d,Ko.lanes|=u,Fs|=u}c=c.next}while(null!==c&&c!==a);null===l?o=r:l.next=s,sr(r,t.memoizedState)||(Ri=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function ci(e){var t=ii(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var s=a=a.next;do{o=e(o,s.action),s=s.next}while(s!==a);sr(o,t.memoizedState)||(Ri=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ui(e,t,n){var r=t._getVersion;r=r(t._source);var a=t._workInProgressVersionPrimary;if(null!==a?e=a===r:(e=e.mutableReadLanes,(e=(Yo&e)===e)&&(t._workInProgressVersionPrimary=r,Vo.push(t))),e)return n(t._source);throw Vo.push(t),Error(i(350))}function di(e,t,n,r){var a=Ls;if(null===a)throw Error(i(349));var o=t._getVersion,s=o(t._source),l=Wo.current,c=l.useState((function(){return ui(a,t,n)})),u=c[1],d=c[0];c=Jo;var f=e.memoizedState,p=f.refs,g=p.getSnapshot,m=f.source;f=f.subscribe;var b=Ko;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=u;var e=o(t._source);if(!sr(s,e)){e=n(t._source),sr(d,e)||(u(e),e=ul(b),a.mutableReadLanes|=e&a.pendingLanes),e=a.mutableReadLanes,a.entangledLanes|=e;for(var r=a.entanglements,i=e;0<i;){var l=31-Zt(i),c=1<<l;r[l]|=e,i&=~c}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=ul(b);a.mutableReadLanes|=r&a.pendingLanes}catch(o){n((function(){throw o}))}}))}),[t,r]),sr(g,n)&&sr(m,t)&&sr(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:si,lastRenderedState:d}).dispatch=u=Ti.bind(null,Ko,e),c.queue=e,c.baseQueue=null,d=ui(a,t,n),c.memoizedState=c.baseState=d),d}function fi(e,t,n){return di(ii(),e,t,n)}function pi(e){var t=oi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:si,lastRenderedState:e}).dispatch=Ti.bind(null,Ko,e),[t.memoizedState,e]}function gi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Ko.updateQueue)?(t={lastEffect:null},Ko.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function mi(e){return e={current:e},oi().memoizedState=e}function bi(){return ii().memoizedState}function hi(e,t,n,r){var a=oi();Ko.flags|=e,a.memoizedState=gi(1|t,n,void 0,void 0===r?null:r)}function vi(e,t,n,r){var a=ii();r=void 0===r?null:r;var o=void 0;if(null!==Qo){var i=Qo.memoizedState;if(o=i.destroy,null!==r&&ri(r,i.deps))return void gi(t,n,o,r)}Ko.flags|=e,a.memoizedState=gi(1|t,n,o,r)}function yi(e,t){return hi(516,4,e,t)}function wi(e,t){return vi(516,4,e,t)}function xi(e,t){return vi(4,2,e,t)}function Si(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ki(e,t,n){return n=null!=n?n.concat([e]):null,vi(4,2,Si.bind(null,t,e),n)}function Ei(){}function _i(e,t){var n=ii();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ri(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ci(e,t){var n=ii();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ri(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Pi(e,t){var n=za();qa(98>n?98:n,(function(){e(!0)})),qa(97<n?97:n,(function(){var n=Xo.transition;Xo.transition=1;try{e(!1),t()}finally{Xo.transition=n}}))}function Ti(e,t,n){var r=cl(),a=ul(e),o={lane:a,action:n,eagerReducer:null,eagerState:null,next:null},i=t.pending;if(null===i?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===Ko||null!==i&&i===Ko)ti=ei=!0;else{if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=i(s,n);if(o.eagerReducer=i,o.eagerState=l,sr(l,s))return}catch(c){}dl(e,a,r)}}var Oi={readContext:ro,useCallback:ni,useContext:ni,useEffect:ni,useImperativeHandle:ni,useLayoutEffect:ni,useMemo:ni,useReducer:ni,useRef:ni,useState:ni,useDebugValue:ni,useDeferredValue:ni,useTransition:ni,useMutableSource:ni,useOpaqueIdentifier:ni,unstable_isNewReconciler:!1},Li={readContext:ro,useCallback:function(e,t){return oi().memoizedState=[e,void 0===t?null:t],e},useContext:ro,useEffect:yi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,hi(4,2,Si.bind(null,t,e),n)},useLayoutEffect:function(e,t){return hi(4,2,e,t)},useMemo:function(e,t){var n=oi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=oi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Ti.bind(null,Ko,e),[r.memoizedState,e]},useRef:mi,useState:pi,useDebugValue:Ei,useDeferredValue:function(e){var t=pi(e),n=t[0],r=t[1];return yi((function(){var t=Xo.transition;Xo.transition=1;try{r(e)}finally{Xo.transition=t}}),[e]),n},useTransition:function(){var e=pi(!1),t=e[0];return mi(e=Pi.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=oi();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},di(r,e,t,n)},useOpaqueIdentifier:function(){if(Uo){var e=!1,t=function(e){return{$$typeof:j,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Gr++).toString(36))),Error(i(355))})),n=pi(t)[1];return 0==(2&Ko.mode)&&(Ko.flags|=516,gi(5,(function(){n("r:"+(Gr++).toString(36))}),void 0,null)),t}return pi(t="r:"+(Gr++).toString(36)),t},unstable_isNewReconciler:!1},Ai={readContext:ro,useCallback:_i,useContext:ro,useEffect:wi,useImperativeHandle:ki,useLayoutEffect:xi,useMemo:Ci,useReducer:li,useRef:bi,useState:function(){return li(si)},useDebugValue:Ei,useDeferredValue:function(e){var t=li(si),n=t[0],r=t[1];return wi((function(){var t=Xo.transition;Xo.transition=1;try{r(e)}finally{Xo.transition=t}}),[e]),n},useTransition:function(){var e=li(si)[0];return[bi().current,e]},useMutableSource:fi,useOpaqueIdentifier:function(){return li(si)[0]},unstable_isNewReconciler:!1},Mi={readContext:ro,useCallback:_i,useContext:ro,useEffect:wi,useImperativeHandle:ki,useLayoutEffect:xi,useMemo:Ci,useReducer:ci,useRef:bi,useState:function(){return ci(si)},useDebugValue:Ei,useDeferredValue:function(e){var t=ci(si),n=t[0],r=t[1];return wi((function(){var t=Xo.transition;Xo.transition=1;try{r(e)}finally{Xo.transition=t}}),[e]),n},useTransition:function(){var e=ci(si)[0];return[bi().current,e]},useMutableSource:fi,useOpaqueIdentifier:function(){return ci(si)[0]},unstable_isNewReconciler:!1},Ni=x.ReactCurrentOwner,Ri=!1;function ji(e,t,n,r){t.child=null===e?_o(t,null,n,r):Eo(t,e.child,n,r)}function Ii(e,t,n,r,a){n=n.render;var o=t.ref;return no(t,a),r=ai(e,t,n,r,o,a),null===e||Ri?(t.flags|=1,ji(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~a,ns(e,t,a))}function Di(e,t,n,r,a,o){if(null===e){var i=n.type;return"function"!=typeof i||$l(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Zl(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Fi(e,t,i,r,a,o))}return i=e.child,0==(a&o)&&(a=i.memoizedProps,(n=null!==(n=n.compare)?n:cr)(a,r)&&e.ref===t.ref)?ns(e,t,o):(t.flags|=1,(e=ql(i,r)).ref=t.ref,e.return=t,t.child=e)}function Fi(e,t,n,r,a,o){if(null!==e&&cr(e.memoizedProps,r)&&e.ref===t.ref){if(Ri=!1,0==(o&a))return t.lanes=e.lanes,ns(e,t,o);0!=(16384&e.flags)&&(Ri=!0)}return zi(e,t,n,r,o)}function Ui(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},yl(t,n);else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},yl(t,e),null;t.memoizedState={baseLanes:0},yl(t,null!==o?o.baseLanes:n)}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,yl(t,r);return ji(e,t,a,n),t.child}function Bi(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function zi(e,t,n,r,a){var o=ga(n)?fa:ua.current;return o=pa(t,o),no(t,a),n=ai(e,t,n,r,o,a),null===e||Ri?(t.flags|=1,ji(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~a,ns(e,t,a))}function $i(e,t,n,r,a){if(ga(n)){var o=!0;va(t)}else o=!1;if(no(t,a),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),ho(t,n,r),yo(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,c=n.contextType;"object"==typeof c&&null!==c?c=ro(c):c=pa(t,c=ga(n)?fa:ua.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==r||l!==c)&&vo(t,i,r,c),ao=!1;var f=t.memoizedState;i.state=f,uo(t,r,i,a),l=t.memoizedState,s!==r||f!==l||da.current||ao?("function"==typeof u&&(go(t,n,u,r),l=t.memoizedState),(s=ao||bo(t,n,s,r,f,l,c))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4)):("function"==typeof i.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=c,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4),r=!1)}else{i=t.stateNode,io(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Wa(t.type,s),i.props=c,d=t.pendingProps,f=i.context,"object"==typeof(l=n.contextType)&&null!==l?l=ro(l):l=pa(t,l=ga(n)?fa:ua.current);var p=n.getDerivedStateFromProps;(u="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==d||f!==l)&&vo(t,i,r,l),ao=!1,f=t.memoizedState,i.state=f,uo(t,r,i,a);var g=t.memoizedState;s!==d||f!==g||da.current||ao?("function"==typeof p&&(go(t,n,p,r),g=t.memoizedState),(c=ao||bo(t,n,c,r,f,g,l))?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,g,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,g,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=g),i.props=r,i.state=g,i.context=l,r=c):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),r=!1)}return qi(e,t,n,r,o,a)}function qi(e,t,n,r,a,o){Bi(e,t);var i=0!=(64&t.flags);if(!r&&!i)return a&&ya(t,n,!1),ns(e,t,o);r=t.stateNode,Ni.current=t;var s=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Eo(t,e.child,null,o),t.child=Eo(t,null,s,o)):ji(e,t,s,o),t.memoizedState=r.state,a&&ya(t,n,!0),t.child}function Zi(e){var t=e.stateNode;t.pendingContext?ba(0,t.pendingContext,t.pendingContext!==t.context):t.context&&ba(0,t.context,!1),Ao(e,t.containerInfo)}var Hi,Vi,Gi,Wi={dehydrated:null,retryLane:0};function Xi(e,t,n){var r,a=t.pendingProps,o=jo.current,i=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(i=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===a.fallback||!0===a.unstable_avoidThisFallback||(o|=1),la(jo,1&o),null===e?(void 0!==a.fallback&&$o(t),e=a.children,o=a.fallback,i?(e=Yi(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Wi,e):"number"==typeof a.unstable_expectedLoadTime?(e=Yi(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Wi,t.lanes=33554432,e):((n=Vl({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,i?(a=Qi(e,t,a.children,a.fallback,n),i=t.child,o=e.child.memoizedState,i.memoizedState=null===o?{baseLanes:n}:{baseLanes:o.baseLanes|n},i.childLanes=e.childLanes&~n,t.memoizedState=Wi,a):(n=Ki(e,t,a.children,n),t.memoizedState=null,n))}function Yi(e,t,n,r){var a=e.mode,o=e.child;return t={mode:"hidden",children:t},0==(2&a)&&null!==o?(o.childLanes=0,o.pendingProps=t):o=Vl(t,a,0,null),n=Hl(n,a,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function Ki(e,t,n,r){var a=e.child;return e=a.sibling,n=ql(a,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function Qi(e,t,n,r,a){var o=t.mode,i=e.child;e=i.sibling;var s={mode:"hidden",children:n};return 0==(2&o)&&t.child!==i?((n=t.child).childLanes=0,n.pendingProps=s,null!==(i=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=i,i.nextEffect=null):t.firstEffect=t.lastEffect=null):n=ql(i,s),null!==e?r=ql(e,r):(r=Hl(r,o,a,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Ji(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),to(e.return,t)}function es(e,t,n,r,a,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a,lastEffect:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=a,i.lastEffect=o)}function ts(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(ji(e,t,r.children,n),0!=(2&(r=jo.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ji(e,n);else if(19===e.tag)Ji(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(la(jo,r),0==(2&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===Io(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),es(t,!1,a,n,o,t.lastEffect);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===Io(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}es(t,!0,n,null,o,t.lastEffect);break;case"together":es(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function ns(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fs|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=ql(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=ql(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function rs(e,t){if(!Uo)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function as(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return ga(t.type)&&ma(),null;case 3:return Mo(),sa(da),sa(ua),Go(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Zo(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Ro(t);var o=Lo(Oo.current);if(n=t.type,null!==e&&null!=t.stateNode)Vi(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(i(166));return null}if(e=Lo(Po.current),Zo(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Xr]=t,r[Yr]=s,n){case"dialog":Pr("cancel",r),Pr("close",r);break;case"iframe":case"object":case"embed":Pr("load",r);break;case"video":case"audio":for(e=0;e<kr.length;e++)Pr(kr[e],r);break;case"source":Pr("error",r);break;case"img":case"image":case"link":Pr("error",r),Pr("load",r);break;case"details":Pr("toggle",r);break;case"input":ee(r,s),Pr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Pr("invalid",r);break;case"textarea":le(r,s),Pr("invalid",r)}for(var c in Ee(n,s),e=null,s)s.hasOwnProperty(c)&&(o=s[c],"children"===c?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):l.hasOwnProperty(c)&&null!=o&&"onScroll"===c&&Pr("scroll",r));switch(n){case"input":Y(r),re(r,s,!0);break;case"textarea":Y(r),ue(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=Dr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(c=9===o.nodeType?o:o.ownerDocument,e===de&&(e=pe(n)),e===de?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[Xr]=t,e[Yr]=r,Hi(e,t),t.stateNode=e,c=_e(n,r),n){case"dialog":Pr("cancel",e),Pr("close",e),o=r;break;case"iframe":case"object":case"embed":Pr("load",e),o=r;break;case"video":case"audio":for(o=0;o<kr.length;o++)Pr(kr[o],e);o=r;break;case"source":Pr("error",e),o=r;break;case"img":case"image":case"link":Pr("error",e),Pr("load",e),o=r;break;case"details":Pr("toggle",e),o=r;break;case"input":ee(e,r),o=J(e,r),Pr("invalid",e);break;case"option":o=oe(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=a({},r,{value:void 0}),Pr("invalid",e);break;case"textarea":le(e,r),o=se(e,r),Pr("invalid",e);break;default:o=r}Ee(n,o);var u=o;for(s in u)if(u.hasOwnProperty(s)){var d=u[s];"style"===s?Se(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&he(e,d):"children"===s?"string"==typeof d?("textarea"!==n||""!==d)&&ve(e,d):"number"==typeof d&&ve(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(l.hasOwnProperty(s)?null!=d&&"onScroll"===s&&Pr("scroll",e):null!=d&&w(e,s,d,c))}switch(n){case"input":Y(e),re(e,r,!1);break;case"textarea":Y(e),ue(e);break;case"option":null!=r.value&&e.setAttribute("value",""+W(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?ie(e,!!r.multiple,s,!1):null!=r.defaultValue&&ie(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Dr)}Br(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Gi(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));n=Lo(Oo.current),Lo(Po.current),Zo(t)?(r=t.stateNode,n=t.memoizedProps,r[Xr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Xr]=t,t.stateNode=r)}return null;case 13:return sa(jo),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Zo(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&jo.current)?0===js&&(js=3):(0!==js&&3!==js||(js=4),null===Ls||0==(134217727&Fs)&&0==(134217727&Us)||ml(Ls,Ms))),(r||n)&&(t.flags|=4),null);case 4:return Mo(),null===e&&Or(t.stateNode.containerInfo),null;case 10:return eo(t),null;case 17:return ga(t.type)&&ma(),null;case 19:if(sa(jo),null===(r=t.memoizedState))return null;if(s=0!=(64&t.flags),null===(c=r.rendering))if(s)rs(r,!1);else{if(0!==js||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(c=Io(e))){for(t.flags|=64,rs(r,!1),null!==(s=c.updateQueue)&&(t.updateQueue=s,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(s=n).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(c=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return la(jo,1&jo.current|2),t.child}e=e.sibling}null!==r.tail&&Ba()>qs&&(t.flags|=64,s=!0,rs(r,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=Io(c))){if(t.flags|=64,s=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),rs(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate&&!Uo)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ba()-r.renderingStartTime>qs&&1073741824!==n&&(t.flags|=64,s=!0,rs(r,!1),t.lanes=33554432);r.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=r.last)?n.sibling=c:t.child=c,r.last=c)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ba(),n.sibling=null,t=jo.current,la(jo,s?1&t|2:1&t),n):null;case 23:case 24:return wl(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(i(156,t.tag))}function os(e){switch(e.tag){case 1:ga(e.type)&&ma();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Mo(),sa(da),sa(ua),Go(),0!=(64&(t=e.flags)))throw Error(i(285));return e.flags=-4097&t|64,e;case 5:return Ro(e),null;case 13:return sa(jo),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return sa(jo),null;case 4:return Mo(),null;case 10:return eo(e),null;case 23:case 24:return wl(),null;default:return null}}function is(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a}}function ss(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}Hi=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Vi=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Lo(Po.current);var i,s=null;switch(n){case"input":o=J(e,o),r=J(e,r),s=[];break;case"option":o=oe(e,o),r=oe(e,r),s=[];break;case"select":o=a({},o,{value:void 0}),r=a({},r,{value:void 0}),s=[];break;case"textarea":o=se(e,o),r=se(e,r),s=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Dr)}for(d in Ee(n,r),n=null,o)if(!r.hasOwnProperty(d)&&o.hasOwnProperty(d)&&null!=o[d])if("style"===d){var c=o[d];for(i in c)c.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(l.hasOwnProperty(d)?s||(s=[]):(s=s||[]).push(d,null));for(d in r){var u=r[d];if(c=null!=o?o[d]:void 0,r.hasOwnProperty(d)&&u!==c&&(null!=u||null!=c))if("style"===d)if(c){for(i in c)!c.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&c[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(s||(s=[]),s.push(d,n)),n=u;else"dangerouslySetInnerHTML"===d?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(s=s||[]).push(d,u)):"children"===d?"string"!=typeof u&&"number"!=typeof u||(s=s||[]).push(d,""+u):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(l.hasOwnProperty(d)?(null!=u&&"onScroll"===d&&Pr("scroll",e),s||c===u||(s=[])):"object"==typeof u&&null!==u&&u.$$typeof===j?u.toString():(s=s||[]).push(d,u))}n&&(s=s||[]).push("style",n);var d=s;(t.updateQueue=d)&&(t.flags|=4)}},Gi=function(e,t,n,r){n!==r&&(t.flags|=4)};var ls="function"==typeof WeakMap?WeakMap:Map;function cs(e,t,n){(n=so(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Gs||(Gs=!0,Ws=r),ss(0,t)},n}function us(e,t,n){(n=so(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return ss(0,t),r(a)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Xs?Xs=new Set([this]):Xs.add(this),ss(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var ds="function"==typeof WeakSet?WeakSet:Set;function fs(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(n){Dl(e,n)}else t.current=null}function ps(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Wa(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Zr(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(i(163))}function gs(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var a=e;r=a.next,0!=(4&(a=a.tag))&&0!=(1&a)&&(Rl(n,e),Nl(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Wa(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&fo(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}fo(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Br(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&St(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(i(163))}function ms(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var a=n.memoizedProps.style;a=null!=a&&a.hasOwnProperty("display")?a.display:null,r.style.display=xe("display",a)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function bs(e,t){if(xa&&"function"==typeof xa.onCommitFiberUnmount)try{xa.onCommitFiberUnmount(wa,t)}catch(o){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,a=r.destroy;if(r=r.tag,void 0!==a)if(0!=(4&r))Rl(t,n);else{r=t;try{a()}catch(o){Dl(r,o)}}n=n.next}while(n!==e)}break;case 1:if(fs(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){Dl(t,o)}break;case 5:fs(t);break;case 4:Ss(e,t)}}function hs(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function vs(e){return 5===e.tag||3===e.tag||4===e.tag}function ys(e){e:{for(var t=e.return;null!==t;){if(vs(t))break e;t=t.return}throw Error(i(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(i(161))}16&n.flags&&(ve(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||vs(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?ws(e,n,t):xs(e,n,t)}function ws(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Dr));else if(4!==r&&null!==(e=e.child))for(ws(e,t,n),e=e.sibling;null!==e;)ws(e,t,n),e=e.sibling}function xs(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(xs(e,t,n),e=e.sibling;null!==e;)xs(e,t,n),e=e.sibling}function Ss(e,t){for(var n,r,a=t,o=!1;;){if(!o){o=a.return;e:for(;;){if(null===o)throw Error(i(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===a.tag||6===a.tag){e:for(var s=e,l=a,c=l;;)if(bs(s,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(s=n,l=a.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):n.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){n=a.stateNode.containerInfo,r=!0,a.child.return=a,a=a.child;continue}}else if(bs(e,a),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(o=!1)}a.sibling.return=a.return,a=a.sibling}}function ks(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var a=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Yr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),_e(e,a),t=_e(e,r),a=0;a<o.length;a+=2){var s=o[a],l=o[a+1];"style"===s?Se(n,l):"dangerouslySetInnerHTML"===s?he(n,l):"children"===s?ve(n,l):w(n,s,l,t)}switch(e){case"input":ne(n,r);break;case"textarea":ce(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(o=r.value)?ie(n,!!r.multiple,o,!1):e!==!!r.multiple&&(null!=r.defaultValue?ie(n,!!r.multiple,r.defaultValue,!0):ie(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(i(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,St(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&($s=Ba(),ms(t.child,!0)),void Es(t);case 19:return void Es(t);case 17:return;case 23:case 24:return void ms(t,null!==t.memoizedState)}throw Error(i(163))}function Es(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ds),t.forEach((function(t){var r=Ul.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function _s(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Cs=Math.ceil,Ps=x.ReactCurrentDispatcher,Ts=x.ReactCurrentOwner,Os=0,Ls=null,As=null,Ms=0,Ns=0,Rs=ia(0),js=0,Is=null,Ds=0,Fs=0,Us=0,Bs=0,zs=null,$s=0,qs=1/0;function Zs(){qs=Ba()+500}var Hs,Vs=null,Gs=!1,Ws=null,Xs=null,Ys=!1,Ks=null,Qs=90,Js=[],el=[],tl=null,nl=0,rl=null,al=-1,ol=0,il=0,sl=null,ll=!1;function cl(){return 0!=(48&Os)?Ba():-1!==al?al:al=Ba()}function ul(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===za()?1:2;if(0===ol&&(ol=Ds),0!==Ga.transition){0!==il&&(il=null!==zs?zs.pendingLanes:0),e=ol;var t=4186112&~il;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=za(),0!=(4&Os)&&98===e?e=Bt(12,ol):e=Bt(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),ol),e}function dl(e,t,n){if(50<nl)throw nl=0,rl=null,Error(i(185));if(null===(e=fl(e,t)))return null;qt(e,t,n),e===Ls&&(Us|=t,4===js&&ml(e,Ms));var r=za();1===t?0!=(8&Os)&&0==(48&Os)?bl(e):(pl(e,n),0===Os&&(Zs(),Ha())):(0==(4&Os)||98!==r&&99!==r||(null===tl?tl=new Set([e]):tl.add(e)),pl(e,n)),zs=e}function fl(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function pl(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,a=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var l=31-Zt(s),c=1<<l,u=o[l];if(-1===u){if(0==(c&r)||0!=(c&a)){u=t,Dt(c);var d=It;o[l]=10<=d?u+250:6<=d?u+5e3:-1}}else u<=t&&(e.expiredLanes|=c);s&=~c}if(r=Ft(e,e===Ls?Ms:0),t=It,0===r)null!==n&&(n!==Ra&&Ea(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Ra&&Ea(n)}15===t?(n=bl.bind(null,e),null===Ia?(Ia=[n],Da=ka(Oa,Va)):Ia.push(n),n=Ra):14===t?n=Za(99,bl.bind(null,e)):n=Za(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(i(358,e))}}(t),gl.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function gl(e){if(al=-1,il=ol=0,0!=(48&Os))throw Error(i(327));var t=e.callbackNode;if(Ml()&&e.callbackNode!==t)return null;var n=Ft(e,e===Ls?Ms:0);if(0===n)return null;var r=n,a=Os;Os|=16;var o=kl();for(Ls===e&&Ms===r||(Zs(),xl(e,r));;)try{Cl();break}catch(l){Sl(e,l)}if(Ja(),Ps.current=o,Os=a,null!==As?r=0:(Ls=null,Ms=0,r=js),0!=(Ds&Us))xl(e,0);else if(0!==r){if(2===r&&(Os|=64,e.hydrate&&(e.hydrate=!1,Zr(e.containerInfo)),0!==(n=Ut(e))&&(r=El(e,n))),1===r)throw t=Is,xl(e,0),ml(e,n),pl(e,Ba()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(i(345));case 2:Ol(e);break;case 3:if(ml(e,n),(62914560&n)===n&&10<(r=$s+500-Ba())){if(0!==Ft(e,0))break;if(((a=e.suspendedLanes)&n)!==n){cl(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=$r(Ol.bind(null,e),r);break}Ol(e);break;case 4:if(ml(e,n),(4186112&n)===n)break;for(r=e.eventTimes,a=-1;0<n;){var s=31-Zt(n);o=1<<s,(s=r[s])>a&&(a=s),n&=~o}if(n=a,10<(n=(120>(n=Ba()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Cs(n/1960))-n)){e.timeoutHandle=$r(Ol.bind(null,e),n);break}Ol(e);break;case 5:Ol(e);break;default:throw Error(i(329))}}return pl(e,Ba()),e.callbackNode===t?gl.bind(null,e):null}function ml(e,t){for(t&=~Bs,t&=~Us,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Zt(t),r=1<<n;e[n]=-1,t&=~r}}function bl(e){if(0!=(48&Os))throw Error(i(327));if(Ml(),e===Ls&&0!=(e.expiredLanes&Ms)){var t=Ms,n=El(e,t);0!=(Ds&Us)&&(n=El(e,t=Ft(e,t)))}else n=El(e,t=Ft(e,0));if(0!==e.tag&&2===n&&(Os|=64,e.hydrate&&(e.hydrate=!1,Zr(e.containerInfo)),0!==(t=Ut(e))&&(n=El(e,t))),1===n)throw n=Is,xl(e,0),ml(e,t),pl(e,Ba()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ol(e),pl(e,Ba()),null}function hl(e,t){var n=Os;Os|=1;try{return e(t)}finally{0===(Os=n)&&(Zs(),Ha())}}function vl(e,t){var n=Os;Os&=-2,Os|=8;try{return e(t)}finally{0===(Os=n)&&(Zs(),Ha())}}function yl(e,t){la(Rs,Ns),Ns|=t,Ds|=t}function wl(){Ns=Rs.current,sa(Rs)}function xl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,qr(n)),null!==As)for(n=As.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&ma();break;case 3:Mo(),sa(da),sa(ua),Go();break;case 5:Ro(r);break;case 4:Mo();break;case 13:case 19:sa(jo);break;case 10:eo(r);break;case 23:case 24:wl()}n=n.return}Ls=e,As=ql(e.current,null),Ms=Ns=Ds=t,js=0,Is=null,Bs=Us=Fs=0}function Sl(e,t){for(;;){var n=As;try{if(Ja(),Wo.current=Oi,ei){for(var r=Ko.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}ei=!1}if(Yo=0,Jo=Qo=Ko=null,ti=!1,Ts.current=null,null===n||null===n.return){js=1,Is=t,As=null;break}e:{var o=e,i=n.return,s=n,l=t;if(t=Ms,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l;if(0==(2&s.mode)){var u=s.alternate;u?(s.updateQueue=u.updateQueue,s.memoizedState=u.memoizedState,s.lanes=u.lanes):(s.updateQueue=null,s.memoizedState=null)}var d=0!=(1&jo.current),f=i;do{var p;if(p=13===f.tag){var g=f.memoizedState;if(null!==g)p=null!==g.dehydrated;else{var m=f.memoizedProps;p=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(p){var b=f.updateQueue;if(null===b){var h=new Set;h.add(c),f.updateQueue=h}else b.add(c);if(0==(2&f.mode)){if(f.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var v=so(-1,1);v.tag=2,lo(s,v)}s.lanes|=1;break e}l=void 0,s=t;var y=o.pingCache;if(null===y?(y=o.pingCache=new ls,l=new Set,y.set(c,l)):void 0===(l=y.get(c))&&(l=new Set,y.set(c,l)),!l.has(s)){l.add(s);var w=Fl.bind(null,o,c,s);c.then(w,w)}f.flags|=4096,f.lanes=t;break e}f=f.return}while(null!==f);l=Error((G(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==js&&(js=2),l=is(l,s),f=i;do{switch(f.tag){case 3:o=l,f.flags|=4096,t&=-t,f.lanes|=t,co(f,cs(0,o,t));break e;case 1:o=l;var x=f.type,S=f.stateNode;if(0==(64&f.flags)&&("function"==typeof x.getDerivedStateFromError||null!==S&&"function"==typeof S.componentDidCatch&&(null===Xs||!Xs.has(S)))){f.flags|=4096,t&=-t,f.lanes|=t,co(f,us(f,o,t));break e}}f=f.return}while(null!==f)}Tl(n)}catch(k){t=k,As===n&&null!==n&&(As=n=n.return);continue}break}}function kl(){var e=Ps.current;return Ps.current=Oi,null===e?Oi:e}function El(e,t){var n=Os;Os|=16;var r=kl();for(Ls===e&&Ms===t||xl(e,t);;)try{_l();break}catch(a){Sl(e,a)}if(Ja(),Os=n,Ps.current=r,null!==As)throw Error(i(261));return Ls=null,Ms=0,js}function _l(){for(;null!==As;)Pl(As)}function Cl(){for(;null!==As&&!_a();)Pl(As)}function Pl(e){var t=Hs(e.alternate,e,Ns);e.memoizedProps=e.pendingProps,null===t?Tl(e):As=t,Ts.current=null}function Tl(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=as(n,t,Ns)))return void(As=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Ns)||0==(4&n.mode)){for(var r=0,a=n.child;null!==a;)r|=a.lanes|a.childLanes,a=a.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=os(t)))return n.flags&=2047,void(As=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(As=t);As=t=e}while(null!==t);0===js&&(js=5)}function Ol(e){var t=za();return qa(99,Ll.bind(null,e,t)),null}function Ll(e,t){do{Ml()}while(null!==Ks);if(0!=(48&Os))throw Error(i(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null;var r=n.lanes|n.childLanes,a=r,o=e.pendingLanes&~a;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=a,e.mutableReadLanes&=a,e.entangledLanes&=a,a=e.entanglements;for(var s=e.eventTimes,l=e.expirationTimes;0<o;){var c=31-Zt(o),u=1<<c;a[c]=0,s[c]=-1,l[c]=-1,o&=~u}if(null!==tl&&0==(24&r)&&tl.has(e)&&tl.delete(e),e===Ls&&(As=Ls=null,Ms=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(a=Os,Os|=32,Ts.current=null,Fr=Xt,gr(s=pr())){if("selectionStart"in s)l={start:s.selectionStart,end:s.selectionEnd};else e:if(l=(l=s.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,o=u.anchorOffset,c=u.focusNode,u=u.focusOffset;try{l.nodeType,c.nodeType}catch(C){l=null;break e}var d=0,f=-1,p=-1,g=0,m=0,b=s,h=null;t:for(;;){for(var v;b!==l||0!==o&&3!==b.nodeType||(f=d+o),b!==c||0!==u&&3!==b.nodeType||(p=d+u),3===b.nodeType&&(d+=b.nodeValue.length),null!==(v=b.firstChild);)h=b,b=v;for(;;){if(b===s)break t;if(h===l&&++g===o&&(f=d),h===c&&++m===u&&(p=d),null!==(v=b.nextSibling))break;h=(b=h).parentNode}b=v}l=-1===f||-1===p?null:{start:f,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;Ur={focusedElem:s,selectionRange:l},Xt=!1,sl=null,ll=!1,Vs=r;do{try{Al()}catch(C){if(null===Vs)throw Error(i(330));Dl(Vs,C),Vs=Vs.nextEffect}}while(null!==Vs);sl=null,Vs=r;do{try{for(s=e;null!==Vs;){var y=Vs.flags;if(16&y&&ve(Vs.stateNode,""),128&y){var w=Vs.alternate;if(null!==w){var x=w.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&y){case 2:ys(Vs),Vs.flags&=-3;break;case 6:ys(Vs),Vs.flags&=-3,ks(Vs.alternate,Vs);break;case 1024:Vs.flags&=-1025;break;case 1028:Vs.flags&=-1025,ks(Vs.alternate,Vs);break;case 4:ks(Vs.alternate,Vs);break;case 8:Ss(s,l=Vs);var S=l.alternate;hs(l),null!==S&&hs(S)}Vs=Vs.nextEffect}}catch(C){if(null===Vs)throw Error(i(330));Dl(Vs,C),Vs=Vs.nextEffect}}while(null!==Vs);if(x=Ur,w=pr(),y=x.focusedElem,s=x.selectionRange,w!==y&&y&&y.ownerDocument&&fr(y.ownerDocument.documentElement,y)){null!==s&&gr(y)&&(w=s.start,void 0===(x=s.end)&&(x=w),"selectionStart"in y?(y.selectionStart=w,y.selectionEnd=Math.min(x,y.value.length)):(x=(w=y.ownerDocument||document)&&w.defaultView||window).getSelection&&(x=x.getSelection(),l=y.textContent.length,S=Math.min(s.start,l),s=void 0===s.end?S:Math.min(s.end,l),!x.extend&&S>s&&(l=s,s=S,S=l),l=dr(y,S),o=dr(y,s),l&&o&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==o.node||x.focusOffset!==o.offset)&&((w=w.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),S>s?(x.addRange(w),x.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),x.addRange(w))))),w=[];for(x=y;x=x.parentNode;)1===x.nodeType&&w.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof y.focus&&y.focus(),y=0;y<w.length;y++)(x=w[y]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Xt=!!Fr,Ur=Fr=null,e.current=n,Vs=r;do{try{for(y=e;null!==Vs;){var k=Vs.flags;if(36&k&&gs(y,Vs.alternate,Vs),128&k){w=void 0;var E=Vs.ref;if(null!==E){var _=Vs.stateNode;switch(Vs.tag){case 5:w=_;break;default:w=_}"function"==typeof E?E(w):E.current=w}}Vs=Vs.nextEffect}}catch(C){if(null===Vs)throw Error(i(330));Dl(Vs,C),Vs=Vs.nextEffect}}while(null!==Vs);Vs=null,ja(),Os=a}else e.current=n;if(Ys)Ys=!1,Ks=e,Qs=t;else for(Vs=r;null!==Vs;)t=Vs.nextEffect,Vs.nextEffect=null,8&Vs.flags&&((k=Vs).sibling=null,k.stateNode=null),Vs=t;if(0===(r=e.pendingLanes)&&(Xs=null),1===r?e===rl?nl++:(nl=0,rl=e):nl=0,n=n.stateNode,xa&&"function"==typeof xa.onCommitFiberRoot)try{xa.onCommitFiberRoot(wa,n,void 0,64==(64&n.current.flags))}catch(C){}if(pl(e,Ba()),Gs)throw Gs=!1,e=Ws,Ws=null,e;return 0!=(8&Os)||Ha(),null}function Al(){for(;null!==Vs;){var e=Vs.alternate;ll||null===sl||(0!=(8&Vs.flags)?et(Vs,sl)&&(ll=!0):13===Vs.tag&&_s(e,Vs)&&et(Vs,sl)&&(ll=!0));var t=Vs.flags;0!=(256&t)&&ps(e,Vs),0==(512&t)||Ys||(Ys=!0,Za(97,(function(){return Ml(),null}))),Vs=Vs.nextEffect}}function Ml(){if(90!==Qs){var e=97<Qs?97:Qs;return Qs=90,qa(e,jl)}return!1}function Nl(e,t){Js.push(t,e),Ys||(Ys=!0,Za(97,(function(){return Ml(),null})))}function Rl(e,t){el.push(t,e),Ys||(Ys=!0,Za(97,(function(){return Ml(),null})))}function jl(){if(null===Ks)return!1;var e=Ks;if(Ks=null,0!=(48&Os))throw Error(i(331));var t=Os;Os|=32;var n=el;el=[];for(var r=0;r<n.length;r+=2){var a=n[r],o=n[r+1],s=a.destroy;if(a.destroy=void 0,"function"==typeof s)try{s()}catch(c){if(null===o)throw Error(i(330));Dl(o,c)}}for(n=Js,Js=[],r=0;r<n.length;r+=2){a=n[r],o=n[r+1];try{var l=a.create;a.destroy=l()}catch(c){if(null===o)throw Error(i(330));Dl(o,c)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Os=t,Ha(),!0}function Il(e,t,n){lo(e,t=cs(0,t=is(n,t),1)),t=cl(),null!==(e=fl(e,1))&&(qt(e,1,t),pl(e,t))}function Dl(e,t){if(3===e.tag)Il(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Il(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Xs||!Xs.has(r))){var a=us(n,e=is(t,e),1);if(lo(n,a),a=cl(),null!==(n=fl(n,1)))qt(n,1,a),pl(n,a);else if("function"==typeof r.componentDidCatch&&(null===Xs||!Xs.has(r)))try{r.componentDidCatch(t,e)}catch(o){}break}}n=n.return}}function Fl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=cl(),e.pingedLanes|=e.suspendedLanes&n,Ls===e&&(Ms&n)===n&&(4===js||3===js&&(62914560&Ms)===Ms&&500>Ba()-$s?xl(e,0):Bs|=n),pl(e,t)}function Ul(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===za()?1:2:(0===ol&&(ol=Ds),0===(t=zt(62914560&~ol))&&(t=4194304))),n=cl(),null!==(e=fl(e,t))&&(qt(e,t,n),pl(e,n))}function Bl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function zl(e,t,n,r){return new Bl(e,t,n,r)}function $l(e){return!(!(e=e.prototype)||!e.isReactComponent)}function ql(e,t){var n=e.alternate;return null===n?((n=zl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Zl(e,t,n,r,a,o){var s=2;if(r=e,"function"==typeof e)$l(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case E:return Hl(n.children,a,o,t);case I:s=8,a|=16;break;case _:s=8,a|=1;break;case C:return(e=zl(12,n,t,8|a)).elementType=C,e.type=C,e.lanes=o,e;case L:return(e=zl(13,n,t,a)).type=L,e.elementType=L,e.lanes=o,e;case A:return(e=zl(19,n,t,a)).elementType=A,e.lanes=o,e;case D:return Vl(n,a,o,t);case F:return(e=zl(24,n,t,a)).elementType=F,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case P:s=10;break e;case T:s=9;break e;case O:s=11;break e;case M:s=14;break e;case N:s=16,r=null;break e;case R:s=22;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=zl(s,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function Hl(e,t,n,r){return(e=zl(7,e,r,t)).lanes=n,e}function Vl(e,t,n,r){return(e=zl(23,e,r,t)).elementType=D,e.lanes=n,e}function Gl(e,t,n){return(e=zl(6,e,null,t)).lanes=n,e}function Wl(e,t,n){return(t=zl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Xl(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=$t(0),this.expirationTimes=$t(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$t(0),this.mutableSourceEagerHydrationData=null}function Yl(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Kl(e,t,n,r){var a=t.current,o=cl(),s=ul(a);e:if(n){t:{if(Ye(n=n._reactInternals)!==n||1!==n.tag)throw Error(i(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(ga(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(i(171))}if(1===n.tag){var c=n.type;if(ga(c)){n=ha(n,c,l);break e}}n=l}else n=ca;return null===t.context?t.context=n:t.pendingContext=n,(t=so(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),lo(a,t),dl(a,s,o),s}function Ql(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Jl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function ec(e,t){Jl(e,t),(e=e.alternate)&&Jl(e,t)}function tc(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Xl(e,t,null!=n&&!0===n.hydrate),t=zl(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,oo(t),e[Kr]=n.current,Or(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var a=(t=r[e])._getVersion;a=a(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,a]:n.mutableSourceEagerHydrationData.push(t,a)}this._internalRoot=n}function nc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function rc(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o._internalRoot;if("function"==typeof a){var s=a;a=function(){var e=Ql(i);s.call(e)}}Kl(t,i,e,a)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new tc(e,0,t?{hydrate:!0}:void 0)}(n,r),i=o._internalRoot,"function"==typeof a){var l=a;a=function(){var e=Ql(i);l.call(e)}}vl((function(){Kl(t,i,e,a)}))}return Ql(i)}function ac(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!nc(t))throw Error(i(200));return Yl(e,t,null,n)}Hs=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||da.current)Ri=!0;else{if(0==(n&r)){switch(Ri=!1,t.tag){case 3:Zi(t),Ho();break;case 5:No(t);break;case 1:ga(t.type)&&va(t);break;case 4:Ao(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var a=t.type._context;la(Xa,a._currentValue),a._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Xi(e,t,n):(la(jo,1&jo.current),null!==(t=ns(e,t,n))?t.sibling:null);la(jo,1&jo.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return ts(e,t,n);t.flags|=64}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),la(jo,jo.current),r)break;return null;case 23:case 24:return t.lanes=0,Ui(e,t,n)}return ns(e,t,n)}Ri=0!=(16384&e.flags)}else Ri=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=pa(t,ua.current),no(t,n),a=ai(null,t,r,e,a,n),t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ga(r)){var o=!0;va(t)}else o=!1;t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,oo(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&go(t,r,s,e),a.updater=mo,t.stateNode=a,a._reactInternals=t,yo(t,r,e,n),t=qi(null,t,r,!0,o,n)}else t.tag=0,ji(null,t,a,n),t=t.child;return t;case 16:a=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=(o=a._init)(a._payload),t.type=a,o=t.tag=function(e){if("function"==typeof e)return $l(e)?1:0;if(null!=e){if((e=e.$$typeof)===O)return 11;if(e===M)return 14}return 2}(a),e=Wa(a,e),o){case 0:t=zi(null,t,a,e,n);break e;case 1:t=$i(null,t,a,e,n);break e;case 11:t=Ii(null,t,a,e,n);break e;case 14:t=Di(null,t,a,Wa(a.type,e),r,n);break e}throw Error(i(306,a,""))}return t;case 0:return r=t.type,a=t.pendingProps,zi(e,t,r,a=t.elementType===r?a:Wa(r,a),n);case 1:return r=t.type,a=t.pendingProps,$i(e,t,r,a=t.elementType===r?a:Wa(r,a),n);case 3:if(Zi(t),r=t.updateQueue,null===e||null===r)throw Error(i(282));if(r=t.pendingProps,a=null!==(a=t.memoizedState)?a.element:null,io(e,t),uo(t,r,null,n),(r=t.memoizedState.element)===a)Ho(),t=ns(e,t,n);else{if((o=(a=t.stateNode).hydrate)&&(Fo=Hr(t.stateNode.containerInfo.firstChild),Do=t,o=Uo=!0),o){if(null!=(e=a.mutableSourceEagerHydrationData))for(a=0;a<e.length;a+=2)(o=e[a])._workInProgressVersionPrimary=e[a+1],Vo.push(o);for(n=_o(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else ji(e,t,r,n),Ho();t=t.child}return t;case 5:return No(t),null===e&&$o(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,s=a.children,zr(r,a)?s=null:null!==o&&zr(r,o)&&(t.flags|=16),Bi(e,t),ji(e,t,s,n),t.child;case 6:return null===e&&$o(t),null;case 13:return Xi(e,t,n);case 4:return Ao(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Eo(t,null,r,n):ji(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,Ii(e,t,r,a=t.elementType===r?a:Wa(r,a),n);case 7:return ji(e,t,t.pendingProps,n),t.child;case 8:case 12:return ji(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,a=t.pendingProps,s=t.memoizedProps,o=a.value;var l=t.type._context;if(la(Xa,l._currentValue),l._currentValue=o,null!==s)if(l=s.value,0===(o=sr(l,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,o):1073741823))){if(s.children===a.children&&!da.current){t=ns(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&o)){1===l.tag&&((u=so(-1,n&-n)).tag=2,lo(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),to(l.return,n),c.lanes|=n;break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}ji(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=(o=t.pendingProps).children,no(t,n),r=r(a=ro(a,o.unstable_observedBits)),t.flags|=1,ji(e,t,r,n),t.child;case 14:return o=Wa(a=t.type,t.pendingProps),Di(e,t,a,o=Wa(a.type,o),r,n);case 15:return Fi(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Wa(r,a),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ga(r)?(e=!0,va(t)):e=!1,no(t,n),ho(t,r,a),yo(t,r,a,n),qi(null,t,r,!0,e,n);case 19:return ts(e,t,n);case 23:case 24:return Ui(e,t,n)}throw Error(i(156,t.tag))},tc.prototype.render=function(e){Kl(e,this._internalRoot,null,null)},tc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Kl(null,e,null,(function(){t[Kr]=null}))},tt=function(e){13===e.tag&&(dl(e,4,cl()),ec(e,4))},nt=function(e){13===e.tag&&(dl(e,67108864,cl()),ec(e,67108864))},rt=function(e){if(13===e.tag){var t=cl(),n=ul(e);dl(e,n,t),ec(e,n)}},at=function(e,t){return t()},Pe=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=na(r);if(!a)throw Error(i(90));K(r),ne(r,a)}}}break;case"textarea":ce(e,n);break;case"select":null!=(t=n.value)&&ie(e,!!n.multiple,t,!1)}},Ne=hl,Re=function(e,t,n,r,a){var o=Os;Os|=4;try{return qa(98,e.bind(null,t,n,r,a))}finally{0===(Os=o)&&(Zs(),Ha())}},je=function(){0==(49&Os)&&(function(){if(null!==tl){var e=tl;tl=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,pl(e,Ba())}))}Ha()}(),Ml())},Ie=function(e,t){var n=Os;Os|=2;try{return e(t)}finally{0===(Os=n)&&(Zs(),Ha())}};var oc={Events:[ea,ta,na,Ae,Me,Ml,{current:!1}]},ic={findFiberByHostInstance:Jr,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},sc={bundleType:ic.bundleType,version:ic.version,rendererPackageName:ic.rendererPackageName,rendererConfig:ic.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Je(e))?null:e.stateNode},findFiberByHostInstance:ic.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var lc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lc.isDisabled&&lc.supportsFiber)try{wa=lc.inject(sc),xa=lc}catch(be){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oc,t.createPortal=ac,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw Error(i(268,Object.keys(e)))}return e=null===(e=Je(t))?null:e.stateNode},t.flushSync=function(e,t){var n=Os;if(0!=(48&n))return e(t);Os|=1;try{if(e)return qa(99,e.bind(null,t))}finally{Os=n,Ha()}},t.hydrate=function(e,t,n){if(!nc(t))throw Error(i(200));return rc(null,e,t,!0,n)},t.render=function(e,t,n){if(!nc(t))throw Error(i(200));return rc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!nc(e))throw Error(i(40));return!!e._reactRootContainer&&(vl((function(){rc(null,null,e,!1,(function(){e._reactRootContainer=null,e[Kr]=null}))})),!0)},t.unstable_batchedUpdates=hl,t.unstable_createPortal=function(e,t){return ac(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!nc(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return rc(e,t,n,!1,r)},t.version="17.0.2"},73935:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(64448)},69590:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(!o(e[l],i[l]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],i.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(e[l]!==i[l])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(i,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],i[c[l]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},69921:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,b=n?Symbol.for("react.lazy"):60116,h=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case b:case m:case l:return e;default:return t}}case a:return t}}}function S(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=b,t.Memo=m,t.Portal=a,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||x(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===b},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===a},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===i},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===i||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===y||e.$$typeof===w||e.$$typeof===h)},t.typeOf=x},59864:function(e,t,n){"use strict";e.exports=n(69921)},68356:function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var s=n(67294),l=n(45697),c=[],u=[];function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function f(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function p(e,t){return s.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function g(e,t){var d,f;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var g=i({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),m=null;function b(){return m||(m=e(g.loader)),m.promise}return c.push(b),"function"==typeof g.webpack&&u.push((function(){if((0,g.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return b()})),f=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),m=e(g.loader),r._loadModule()})),b(),r.state={error:m.error,pastDelay:!1,timedOut:!1,loading:m.loading,loaded:m.loaded},r}r(n,t),n.preload=function(){return b()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(g.modules)&&g.modules.forEach((function(t){e.context.loadable.report(t)})),m.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof g.delay&&(0===g.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),g.delay)),"number"==typeof g.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),g.timeout));var n=function(){t({error:m.error,loaded:m.loaded,loading:m.loading}),e._clearTimeouts()};m.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?s.createElement(g.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?g.render(this.state.loaded,this.props):null},n}(s.Component),o(d,"contextTypes",{loadable:l.shape({report:l.func.isRequired})}),f}function m(e){return g(d,e)}m.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return g(f,e)};var b=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.getChildContext=function(){return{loadable:{report:this.props.report}}},n.render=function(){return s.Children.only(this.props.children)},t}(s.Component);function h(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return h(e)}))}o(b,"propTypes",{report:l.func.isRequired}),o(b,"childContextTypes",{loadable:l.shape({report:l.func.isRequired}).isRequired}),m.Capture=b,m.preloadAll=function(){return new Promise((function(e,t){h(c).then(e,t)}))},m.preloadReady=function(){return new Promise((function(e,t){h(u).then(e,e)}))},e.exports=m},18790:function(e,t,n){"use strict";n.d(t,{f:function(){return i},H:function(){return s}});var r=n(76775),a=n(83117),o=n(67294);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?(0,r.LX)(t,e):n.length?n[n.length-1].match:r.F0.computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&i(e.routes,t,n)),a})),n}function s(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.rs,n,e.map((function(e,n){return o.createElement(r.AW,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.Z)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.Z)({},n,t,{route:e}))}})}))):null}},73727:function(e,t,n){"use strict";n.d(t,{VA:function(){return r.VA},NL:function(){return r.NL},l_:function(){return r.l_},AW:function(){return r.AW},F0:function(){return r.F0},gx:function(){return r.gx},rs:function(){return r.rs},Gn:function(){return r.Gn},LX:function(){return r.LX},k6:function(){return r.k6},TH:function(){return r.TH},UO:function(){return r.UO},$B:function(){return r.$B},EN:function(){return r.EN},VK:function(){return u},UT:function(){return d},rU:function(){return h},OL:function(){return w}});var r=n(76775),a=n(90144),o=n(67294),i=n(42358),s=(n(45697),n(83117)),l=n(80102),c=n(2177),u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.lX)(t.props),t}return(0,a.Z)(t,e),t.prototype.render=function(){return o.createElement(r.F0,{history:this.history,children:this.props.children})},t}(o.Component);var d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.q_)(t.props),t}return(0,a.Z)(t,e),t.prototype.render=function(){return o.createElement(r.F0,{history:this.history,children:this.props.children})},t}(o.Component);var f=function(e,t){return"function"==typeof e?e(t):e},p=function(e,t){return"string"==typeof e?(0,i.ob)(e,null,null,t):e},g=function(e){return e},m=o.forwardRef;void 0===m&&(m=g);var b=m((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,l.Z)(e,["innerRef","navigate","onClick"]),c=i.target,u=(0,s.Z)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||c&&"_self"!==c||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=g!==m&&t||n,o.createElement("a",u)}));var h=m((function(e,t){var n=e.component,a=void 0===n?b:n,u=e.replace,d=e.to,h=e.innerRef,v=(0,l.Z)(e,["component","replace","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=e.history,r=p(f(d,e.location),e.location),l=r?n.createHref(r):"",b=(0,s.Z)({},v,{href:l,navigate:function(){var t=f(d,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(p(t));(u||r?n.replace:n.push)(t)}});return g!==m?b.ref=t||h:b.innerRef=h,o.createElement(a,b)}))})),v=function(e){return e},y=o.forwardRef;void 0===y&&(y=v);var w=y((function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,u=void 0===i?"active":i,d=e.activeStyle,g=e.className,m=e.exact,b=e.isActive,w=e.location,x=e.sensitive,S=e.strict,k=e.style,E=e.to,_=e.innerRef,C=(0,l.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=w||e.location,i=p(f(E,n),n),l=i.pathname,P=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),T=P?(0,r.LX)(n.pathname,{path:P,exact:m,sensitive:x,strict:S}):null,O=!!(b?b(T,n):T),L=O?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(g,u):g,A=O?(0,s.Z)({},k,d):k,M=(0,s.Z)({"aria-current":O&&a||null,className:L,style:A,to:i},C);return v!==y?M.ref=t||_:M.innerRef=_,o.createElement(h,M)}))}))},76775:function(e,t,n){"use strict";n.d(t,{VA:function(){return k},NL:function(){return _},l_:function(){return O},AW:function(){return N},F0:function(){return S},gx:function(){return U},rs:function(){return B},s6:function(){return x},Gn:function(){return T},LX:function(){return M},k6:function(){return q},TH:function(){return Z},UO:function(){return H},$B:function(){return V},EN:function(){return z}});var r=n(90144),a=n(67294),o=n(45697),i=n.n(o),s=n(42358),l=1073741823,c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};function u(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var d=a.createContext||function(e,t){var n,o,s="__create-react-context-"+function(){var e="__global_unique_id__";return c[e]=(c[e]||0)+1}()+"__",d=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=u(t.props.value),t}(0,r.Z)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(i=a)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(r,a):l,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},a.render=function(){return this.props.children},n}(a.Component);d.childContextTypes=((n={})[s]=i().object.isRequired,n);var f=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?l:t},a.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?l:e},a.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},a.getValue=function(){return this.context[s]?this.context[s].get():e},a.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(a.Component);return f.contextTypes=((o={})[s]=i().object,o),{Provider:d,Consumer:f}},f=n(2177),p=n(83117),g=n(39658),m=n.n(g),b=(n(59864),n(80102)),h=n(8679),v=n.n(h),y=function(e){var t=d();return t.displayName=e,t},w=y("Router-History"),x=y("Router"),S=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(x.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(w.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);var k=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,s.PP)(t.props),t}return(0,r.Z)(t,e),t.prototype.render=function(){return a.createElement(S,{history:this.history,children:this.props.children})},t}(a.Component);var E=function(e){function t(){return e.apply(this,arguments)||this}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(a.Component);function _(e){var t=e.message,n=e.when,r=void 0===n||n;return a.createElement(x.Consumer,null,(function(e){if(e||(0,f.Z)(!1),!r||e.staticContext)return null;var n=e.history.block;return a.createElement(E,{onMount:function(e){e.release=n(t)},onUpdate:function(e,r){r.message!==t&&(e.release(),e.release=n(t))},onUnmount:function(e){e.release()},message:t})}))}var C={},P=0;function T(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(C[e])return C[e];var t=m().compile(e);return P<1e4&&(C[e]=t,P++),t}(e)(t,{pretty:!0})}function O(e){var t=e.computedMatch,n=e.to,r=e.push,o=void 0!==r&&r;return a.createElement(x.Consumer,null,(function(e){e||(0,f.Z)(!1);var r=e.history,i=e.staticContext,l=o?r.push:r.replace,c=(0,s.ob)(t?"string"==typeof n?T(n,t.params):(0,p.Z)({},n,{pathname:T(n.pathname,t.params)}):n);return i?(l(c),null):a.createElement(E,{onMount:function(){l(c)},onUpdate:function(e,t){var n=(0,s.ob)(t.to);(0,s.Hp)(n,(0,p.Z)({},c,{key:n.key}))||l(c)},to:n})}))}var L={},A=0;function M(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,s=void 0!==i&&i,l=n.sensitive,c=void 0!==l&&l;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=L[n]||(L[n]={});if(r[e])return r[e];var a=[],o={regexp:m()(e,a,t),keys:a};return A<1e4&&(r[e]=o,A++),o}(n,{end:o,strict:s,sensitive:c}),a=r.regexp,i=r.keys,l=a.exec(e);if(!l)return null;var u=l[0],d=l.slice(1),f=e===u;return o&&!f?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:f,params:i.reduce((function(e,t,n){return e[t.name]=d[n],e}),{})}}),null)}var N=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(x.Consumer,null,(function(t){t||(0,f.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?M(n.pathname,e.props):t.match,o=(0,p.Z)({},t,{location:n,match:r}),i=e.props,s=i.children,l=i.component,c=i.render;return Array.isArray(s)&&function(e){return 0===a.Children.count(e)}(s)&&(s=null),a.createElement(x.Provider,{value:o},o.match?s?"function"==typeof s?s(o):s:l?a.createElement(l,o):c?c(o):null:"function"==typeof s?s(o):null)}))},t}(a.Component);function R(e){return"/"===e.charAt(0)?e:"/"+e}function j(e,t){if(!e)return t;var n=R(e);return 0!==t.pathname.indexOf(n)?t:(0,p.Z)({},t,{pathname:t.pathname.substr(n.length)})}function I(e){return"string"==typeof e?e:(0,s.Ep)(e)}function D(e){return function(){(0,f.Z)(!1)}}function F(){}var U=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handlePush=function(e){return t.navigateTo(e,"PUSH")},t.handleReplace=function(e){return t.navigateTo(e,"REPLACE")},t.handleListen=function(){return F},t.handleBlock=function(){return F},t}(0,r.Z)(t,e);var n=t.prototype;return n.navigateTo=function(e,t){var n=this.props,r=n.basename,a=void 0===r?"":r,o=n.context,i=void 0===o?{}:o;i.action=t,i.location=function(e,t){return e?(0,p.Z)({},t,{pathname:R(e)+t.pathname}):t}(a,(0,s.ob)(e)),i.url=I(i.location)},n.render=function(){var e=this.props,t=e.basename,n=void 0===t?"":t,r=e.context,o=void 0===r?{}:r,i=e.location,l=void 0===i?"/":i,c=(0,b.Z)(e,["basename","context","location"]),u={createHref:function(e){return R(n+I(e))},action:"POP",location:j(n,(0,s.ob)(l)),push:this.handlePush,replace:this.handleReplace,go:D(),goBack:D(),goForward:D(),listen:this.handleListen,block:this.handleBlock};return a.createElement(S,(0,p.Z)({},c,{history:u,staticContext:o}))},t}(a.Component);var B=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(x.Consumer,null,(function(t){t||(0,f.Z)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,(function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?M(o.pathname,(0,p.Z)({},e.props,{path:i})):t.match}})),r?a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(a.Component);function z(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=(0,b.Z)(t,["wrappedComponentRef"]);return a.createElement(x.Consumer,null,(function(t){return t||(0,f.Z)(!1),a.createElement(e,(0,p.Z)({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,v()(n,e)}var $=a.useContext;function q(){return $(w)}function Z(){return $(x).location}function H(){var e=$(x).match;return e?e.params:{}}function V(e){var t=Z(),n=$(x).match;return e?M(t.pathname,e):n}},39658:function(e,t,n){var r=n(5826);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=f;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,s="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],f=n[1],p=n.index;if(s+=e.slice(i,p),i=p+d.length,f)s+=f[1];else{var g=e[i],m=n[2],b=n[3],h=n[4],v=n[5],y=n[6],w=n[7];s&&(r.push(s),s="");var x=null!=m&&null!=g&&g!==m,S="+"===y||"*"===y,k="?"===y||"*"===y,E=n[2]||u,_=h||v;r.push({name:b||o++,prefix:m||"",delimiter:E,optional:k,repeat:S,partial:x,asterisk:!!w,pattern:_?c(_):w?".*":"[^"+l(E)+"]+?"})}}return i<e.length&&(s+=e.substr(i)),s&&r.push(s),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=new RegExp("^(?:"+e[a].pattern+")$",d(t)));return function(t,a){for(var o="",s=t||{},l=(a||{}).pretty?i:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var d,f=s[u.name];if(null==f){if(u.optional){u.partial&&(o+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(d=l(f[p]),!n[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===p?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(f),!n[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');o+=u.prefix+d}}else o+=u}return o}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function f(e,t,n){r(t)||(n=t||n,t=[]);for(var a=(n=n||{}).strict,o=!1!==n.end,i="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)i+=l(c);else{var f=l(c.prefix),p="(?:"+c.pattern+")";t.push(c),c.repeat&&(p+="(?:"+f+p+")*"),i+=p=c.optional?c.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var g=l(n.delimiter||"/"),m=i.slice(-g.length)===g;return a||(i=(m?i.slice(0,-g.length):i)+"(?:"+g+"(?=$))?"),i+=o?"$":a&&m?"":"(?="+g+"|$)",u(new RegExp("^"+i,d(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(p(e[a],t,n).source);return u(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return f(o(e,n),t,n)}(e,t,n)}},83524:function(e,t,n){"use strict";var r,a=n(67294),o=(r=a)&&"object"==typeof r&&"default"in r?r.default:r;function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var l,c=[];function u(){l=e(c.map((function(e){return e.props}))),d.canUseDOM?t(l):n&&(l=n(l))}var d=function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.peek=function(){return l},a.rewind=function(){if(a.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=l;return l=void 0,c=[],e};var i=a.prototype;return i.UNSAFE_componentWillMount=function(){c.push(this),u()},i.componentDidUpdate=function(){u()},i.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),u()},i.render=function(){return o.createElement(r,this.props)},a}(a.PureComponent);return i(d,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),i(d,"canUseDOM",s),d}}},72408:function(e,t,n){"use strict";var r=n(27418),a=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var i=60109,s=60110,l=60112;t.Suspense=60113;var c=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var d=Symbol.for;a=d("react.element"),o=d("react.portal"),t.Fragment=d("react.fragment"),t.StrictMode=d("react.strict_mode"),t.Profiler=d("react.profiler"),i=d("react.provider"),s=d("react.context"),l=d("react.forward_ref"),t.Suspense=d("react.suspense"),c=d("react.memo"),u=d("react.lazy")}var f="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||g}function h(){}function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||g}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},h.prototype=b.prototype;var y=v.prototype=new h;y.constructor=v,r(y,b.prototype),y.isPureReactComponent=!0;var w={current:null},x=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function k(e,t,n){var r,o={},i=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)x.call(t,r)&&!S.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:a,type:e,key:i,ref:s,props:o,_owner:w.current}}function E(e){return"object"==typeof e&&null!==e&&e.$$typeof===a}var _=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function P(e,t,n,r,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case a:case o:l=!0}}if(l)return i=i(l=e),e=""===r?"."+C(l,0):r,Array.isArray(i)?(n="",null!=e&&(n=e.replace(_,"$&/")+"/"),P(i,t,n,"",(function(e){return e}))):null!=i&&(E(i)&&(i=function(e,t){return{$$typeof:a,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,n+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(_,"$&/")+"/")+e)),t.push(i)),1;if(l=0,r=""===r?".":r+":",Array.isArray(e))for(var c=0;c<e.length;c++){var u=r+C(s=e[c],c);l+=P(s,t,n,u,i)}else if("function"==typeof(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e)))for(e=u.call(e),c=0;!(s=e.next()).done;)l+=P(s=s.value,t,n,u=r+C(s,c++),i);else if("object"===s)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function T(e,t,n){if(null==e)return e;var r=[],a=0;return P(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function O(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var L={current:null};function A(){var e=L.current;if(null===e)throw Error(p(321));return e}var M={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:T,forEach:function(e,t,n){T(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return T(e,(function(){t++})),t},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!E(e))throw Error(p(143));return e}},t.Component=b,t.PureComponent=v,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.cloneElement=function(e,t,n){if(null==e)throw Error(p(267,e));var o=r({},e.props),i=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=w.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)x.call(t,u)&&!S.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){c=Array(u);for(var d=0;d<u;d++)c[d]=arguments[d+2];o.children=c}return{$$typeof:a,type:e.type,key:i,ref:s,props:o,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},t.createElement=k,t.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return A().useCallback(e,t)},t.useContext=function(e,t){return A().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return A().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return A().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return A().useLayoutEffect(e,t)},t.useMemo=function(e,t){return A().useMemo(e,t)},t.useReducer=function(e,t,n){return A().useReducer(e,t,n)},t.useRef=function(e){return A().useRef(e)},t.useState=function(e){return A().useState(e)},t.version="17.0.2"},67294:function(e,t,n){"use strict";e.exports=n(72408)},60053:function(e,t){"use strict";var n,r,a,o;if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,u=null,d=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(n){throw setTimeout(d,0),n}};n=function(e){null!==c?setTimeout(n,0,e):(c=e,setTimeout(d,0))},r=function(e,t){u=setTimeout(e,t)},a=function(){clearTimeout(u)},t.unstable_shouldYield=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var g=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof g&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var m=!1,b=null,h=-1,v=5,y=0;t.unstable_shouldYield=function(){return t.unstable_now()>=y},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):v=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,x=w.port2;w.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();y=e+v;try{b(!0,e)?x.postMessage(null):(m=!1,b=null)}catch(n){throw x.postMessage(null),n}}else m=!1},n=function(e){b=e,m||(m=!0,x.postMessage(null))},r=function(e,n){h=f((function(){e(t.unstable_now())}),n)},a=function(){p(h),h=-1}}function S(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,a=e[r];if(!(void 0!==a&&0<_(a,t)))break e;e[r]=t,e[n]=a,n=r}}function k(e){return void 0===(e=e[0])?null:e}function E(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var o=2*(r+1)-1,i=e[o],s=o+1,l=e[s];if(void 0!==i&&0>_(i,n))void 0!==l&&0>_(l,i)?(e[r]=l,e[s]=n,r=s):(e[r]=i,e[o]=n,r=o);else{if(!(void 0!==l&&0>_(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function _(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],P=[],T=1,O=null,L=3,A=!1,M=!1,N=!1;function R(e){for(var t=k(P);null!==t;){if(null===t.callback)E(P);else{if(!(t.startTime<=e))break;E(P),t.sortIndex=t.expirationTime,S(C,t)}t=k(P)}}function j(e){if(N=!1,R(e),!M)if(null!==k(C))M=!0,n(I);else{var t=k(P);null!==t&&r(j,t.startTime-e)}}function I(e,n){M=!1,N&&(N=!1,a()),A=!0;var o=L;try{for(R(n),O=k(C);null!==O&&(!(O.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=O.callback;if("function"==typeof i){O.callback=null,L=O.priorityLevel;var s=i(O.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?O.callback=s:O===k(C)&&E(C),R(n)}else E(C);O=k(C)}if(null!==O)var l=!0;else{var c=k(P);null!==c&&r(j,c.startTime-n),l=!1}return l}finally{O=null,L=o,A=!1}}var D=o;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){M||A||(M=!0,n(I))},t.unstable_getCurrentPriorityLevel=function(){return L},t.unstable_getFirstCallbackNode=function(){return k(C)},t.unstable_next=function(e){switch(L){case 1:case 2:case 3:var t=3;break;default:t=L}var n=L;L=t;try{return e()}finally{L=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=D,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=L;L=e;try{return t()}finally{L=n}},t.unstable_scheduleCallback=function(e,o,i){var s=t.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?s+i:s:i=s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:T++,callback:o,priorityLevel:e,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>s?(e.sortIndex=i,S(P,e),null===k(C)&&e===k(P)&&(N?a():N=!0,r(j,i-s))):(e.sortIndex=l,S(C,e),M||A||(M=!0,n(I))),e},t.unstable_wrapCallback=function(e){var t=L;return function(){var n=L;L=t;try{return e.apply(this,arguments)}finally{L=n}}}},63840:function(e,t,n){"use strict";e.exports=n(60053)},2177:function(e,t){"use strict";var n="Invariant failed";t.Z=function(e,t){if(!e)throw new Error(n)}},70655:function(e,t,n){"use strict";n.r(t),n.d(t,{__extends:function(){return a},__assign:function(){return o},__rest:function(){return i},__decorate:function(){return s},__param:function(){return l},__metadata:function(){return c},__awaiter:function(){return u},__generator:function(){return d},__createBinding:function(){return f},__exportStar:function(){return p},__values:function(){return g},__read:function(){return m},__spread:function(){return b},__spreadArrays:function(){return h},__spreadArray:function(){return v},__await:function(){return y},__asyncGenerator:function(){return w},__asyncDelegator:function(){return x},__asyncValues:function(){return S},__makeTemplateObject:function(){return k},__importStar:function(){return _},__importDefault:function(){return C},__classPrivateFieldGet:function(){return P},__classPrivateFieldSet:function(){return T},__classPrivateFieldIn:function(){return O}});var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}function s(e,t,n,r){var a,o=arguments.length,i=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(a=2&o[0]?r.return:o[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,r=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){i.label=o[1];break}if(6===o[0]&&i.label<a[1]){i.label=a[1],a=o;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(o);break}a[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(s){o=[6,s],r=0}finally{n=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}var f=Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function p(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||f(t,e,n)}function g(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(s){a={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}function h(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),a=0;for(t=0;t<n;t++)for(var o=arguments[t],i=0,s=o.length;i<s;i++,a++)r[a]=o[i];return r}function v(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function y(e){return this instanceof y?(this.v=e,this):new y(e)}function w(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,a=n.apply(e,t||[]),o=[];return r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r;function i(e){a[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=a[e](t)).value instanceof y?Promise.resolve(n.value.v).then(l,c):u(o[0][2],n)}catch(r){u(o[0][3],r)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function x(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:"return"===r}:a?a(t):t}:a}}function S(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=g(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,a){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,a,(t=e[n](t)).done,t.value)}))}}}function k(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var E=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function _(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&f(t,e,n);return E(t,e),t}function C(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function T(e,t,n,r,a){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function O(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},83117:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,{Z:function(){return r}})},90144:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:function(){return a}})},80102:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}n.d(t,{Z:function(){return r}})},57529:function(e){"use strict";e.exports=JSON.parse('{"theme.docs.sidebar.expandButtonTitle":"Expand sidebar","theme.docs.sidebar.expandButtonAriaLabel":"Expand sidebar","theme.docs.docHome.readmore":"Read More","theme.docs.docHome.slogan":"Develop elegantly.","theme.docs.docHome.gotoapi":"XCharts\u2019s API reference here","theme.docs.docHome.expandedviewofdocs":"Expanded View of Docs","theme.ErrorPageContent.title":"This page crashed.","theme.ErrorPageContent.tryAgain":"Try again","theme.NotFound.title":"Page Not Found","theme.NotFound.p1":"We could not find what you were looking for.","theme.NotFound.p2":"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.","theme.BackToTopButton.buttonAriaLabel":"Scroll back to top","theme.AnnouncementBar.closeButtonAriaLabel":"Close","theme.blog.archive.title":"Archive","theme.blog.archive.description":"Archive","theme.blog.paginator.navAriaLabel":"Blog list page navigation","theme.blog.paginator.newerEntries":"Newer Entries","theme.blog.paginator.olderEntries":"Older Entries","theme.blog.post.readingTime.plurals":"One min read|{readingTime} min read","theme.blog.post.readMore":"Read More","theme.blog.post.paginator.navAriaLabel":"Blog post page navigation","theme.blog.post.paginator.newerPost":"Newer Post","theme.blog.post.paginator.olderPost":"Older Post","theme.blog.post.plurals":"One post|{count} posts","theme.blog.tagTitle":"{nPosts} tagged with \\"{tagName}\\"","theme.tags.tagsPageLink":"View All Tags","theme.blog.sidebar.navAriaLabel":"Blog recent posts navigation","theme.CodeBlock.copyButtonAriaLabel":"Copy code to clipboard","theme.CodeBlock.copied":"Copied","theme.CodeBlock.copy":"Copy","theme.docs.paginator.navAriaLabel":"Docs pages navigation","theme.docs.paginator.previous":"Previous","theme.docs.paginator.next":"Next","theme.docs.sidebar.collapseButtonTitle":"Collapse sidebar","theme.docs.sidebar.collapseButtonAriaLabel":"Collapse sidebar","theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel":"Toggle the collapsible sidebar category \'{label}\'","theme.docs.tagDocListPageTitle.nDocsTagged":"One doc tagged|{count} docs tagged","theme.docs.tagDocListPageTitle":"{nDocsTagged} with \\"{tagName}\\"","theme.docs.versions.unreleasedVersionLabel":"This is unreleased documentation for {siteTitle} {versionLabel} version.","theme.docs.versions.unmaintainedVersionLabel":"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.","theme.docs.versions.latestVersionSuggestionLabel":"For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).","theme.docs.versions.latestVersionLinkLabel":"latest version","theme.common.editThisPage":"Edit this page","theme.common.headingLinkTitle":"Direct link to heading","theme.lastUpdated.atDate":" on {date}","theme.lastUpdated.byUser":" by {user}","theme.lastUpdated.lastUpdatedAtBy":"Last updated{atDate}{byUser}","theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel":"\u2190 Back to main menu","theme.navbar.mobileVersionsDropdown.label":"Versions","theme.common.skipToMainContent":"Skip to main content","theme.TOCCollapsible.toggleButtonLabel":"On this page","theme.tags.tagsListLabel":"Tags:","theme.SearchBar.label":"Search","theme.SearchPage.documentsFound.plurals":"One document found|{count} documents found","theme.SearchPage.existingResultsTitle":"Search results for \\"{query}\\"","theme.SearchPage.emptyResultsTitle":"Search the documentation","theme.SearchPage.inputPlaceholder":"Type your search here","theme.SearchPage.inputLabel":"Search","theme.SearchPage.algoliaLabel":"Search by Algolia","theme.SearchPage.noResultsText":"No results were found","theme.SearchPage.fetchingNewResults":"Fetching new results...","theme.articlethumb.ishelpful":"Was this helpful?","theme.text.all":"All","theme.subscription.subscribetoours":"Subscribe to our","theme.subscription.updates":"updates","theme.subscription.description1":"Get the latest news from the XCharts community in a monthly email: Groundbreaking releases, upcoming events, new insights, community updates, and more!","theme.subscription.description2":"We\'ll never share your information with anyone else and you can opt out at any time.","theme.subscription.title":"Subscription","theme.anchorHeading.copied":"URL copied","theme.text.learnmore":"Learn more","theme.navbar.communityinfo":"Join XCharts\'s Community.","theme.subscription.email":"Email address","theme.subscription.subscribed":"Subscribed","theme.subscription.subscribe":"Subscribe","theme.tags.tagsPageTitle":"Tags"}')},81115:function(e){"use strict";e.exports=JSON.parse('{"docusaurus-plugin-google-gtag":{"default":{"trackingID":"G-9K17QVGTR6","anonymizeIP":true,"id":"default"}},"docusaurus-plugin-content-docs":{"default":{"path":"/en/docs","versions":[{"name":"current","label":"master","isLast":false,"path":"/en/docs/master","mainDocId":"lang/articles/about","docs":[{"id":"lang/articles/about","path":"/en/docs/master/about","frontMatter":{"sidebar_position":0,"slug":"/about"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial10","path":"/en/docs/master/tutorial02","frontMatter":{"sidebar_position":1,"slug":"/tutorial02"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial11","path":"/en/docs/master/tutorial03","frontMatter":{"sidebar_position":1,"slug":"/tutorial03"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial12_inputsystem","path":"/en/docs/master/inputsystem","frontMatter":{"title":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","sidebar_position":1,"slug":"/inputsystem"},"sidebar":"langSidebar"},{"id":"lang/articles/api","path":"/en/docs/master/api","frontMatter":{"sidebar_position":41,"slug":"/api"},"sidebar":"langSidebar"},{"id":"lang/articles/changelog","path":"/en/docs/master/changelog","frontMatter":{"sidebar_position":61,"slug":"/changelog"},"sidebar":"langSidebar"},{"id":"lang/articles/configuration","path":"/en/docs/master/configuration","frontMatter":{"sidebar_position":31,"slug":"/configuration"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/bar3d","path":"/en/docs/master/bar3d","frontMatter":{"sidebar_position":0,"slug":"/bar3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/extra","path":"/en/docs/master/extra","frontMatter":{"sidebar_position":0,"slug":"/extra"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/funnel","path":"/en/docs/master/funnel","frontMatter":{"sidebar_position":0,"slug":"/funnel"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gantt","path":"/en/docs/master/gantt","frontMatter":{"sidebar_position":0,"slug":"/gantt"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gauge","path":"/en/docs/master/gauge","frontMatter":{"sidebar_position":0,"slug":"/gauge"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/graph","path":"/en/docs/master/graph","frontMatter":{"sidebar_position":0,"slug":"/graph"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/line3d","path":"/en/docs/master/line3d","frontMatter":{"sidebar_position":0,"slug":"/line3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/liquid","path":"/en/docs/master/liquid","frontMatter":{"sidebar_position":0,"slug":"/liquid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pictorialbar","path":"/en/docs/master/pictorialbar","frontMatter":{"sidebar_position":0,"slug":"/pictorialbar"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pie3d","path":"/en/docs/master/pie3d","frontMatter":{"sidebar_position":0,"slug":"/pie3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pyramid","path":"/en/docs/master/pyramid","frontMatter":{"sidebar_position":0,"slug":"/pyramid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/sankey","path":"/en/docs/master/sankey","frontMatter":{"sidebar_position":0,"slug":"/sankey"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/treemap","path":"/en/docs/master/treemap","frontMatter":{"sidebar_position":0,"slug":"/treemap"},"sidebar":"langSidebar"},{"id":"lang/articles/faq","path":"/en/docs/master/faq","frontMatter":{"sidebar_position":41,"slug":"/faq"},"sidebar":"langSidebar"},{"id":"lang/articles/support","path":"/en/docs/master/support","frontMatter":{"title":"\u8ba2\u9605\u670d\u52a1","sidebar_position":51,"slug":"/support"},"sidebar":"langSidebar"},{"id":"lang/articles/tutorial01","path":"/en/docs/master/tutorial01","frontMatter":{"title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","sidebar_position":11,"slug":"/tutorial01"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui","path":"/en/docs/master/ui","frontMatter":{"sidebar_position":0,"slug":"/ui"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_statistic","path":"/en/docs/master/lang/articles/ui/ui_statistic","frontMatter":{},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_table","path":"/en/docs/master/lang/articles/ui/ui_table","frontMatter":{},"sidebar":"langSidebar"}],"sidebars":{"langSidebar":{"link":{"path":"/en/docs/master/about","label":"lang/articles/about"}}}},{"name":"v3.12.0","label":"v3.12.0","isLast":true,"path":"/en/docs","mainDocId":"lang/articles/about","docs":[{"id":"lang/articles/about","path":"/en/docs/about","frontMatter":{"sidebar_position":0,"slug":"/about"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial10","path":"/en/docs/tutorial02","frontMatter":{"sidebar_position":1,"slug":"/tutorial02"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial11","path":"/en/docs/tutorial03","frontMatter":{"sidebar_position":1,"slug":"/tutorial03"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial12_inputsystem","path":"/en/docs/inputsystem","frontMatter":{"title":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","sidebar_position":1,"slug":"/inputsystem"},"sidebar":"langSidebar"},{"id":"lang/articles/api","path":"/en/docs/api","frontMatter":{"sidebar_position":41,"slug":"/api"},"sidebar":"langSidebar"},{"id":"lang/articles/changelog","path":"/en/docs/changelog","frontMatter":{"sidebar_position":61,"slug":"/changelog"},"sidebar":"langSidebar"},{"id":"lang/articles/configuration","path":"/en/docs/configuration","frontMatter":{"sidebar_position":31,"slug":"/configuration"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/bar3d","path":"/en/docs/bar3d","frontMatter":{"sidebar_position":0,"slug":"/bar3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/extra","path":"/en/docs/extra","frontMatter":{"sidebar_position":0,"slug":"/extra"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/funnel","path":"/en/docs/funnel","frontMatter":{"sidebar_position":0,"slug":"/funnel"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gantt","path":"/en/docs/gantt","frontMatter":{"sidebar_position":0,"slug":"/gantt"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gauge","path":"/en/docs/gauge","frontMatter":{"sidebar_position":0,"slug":"/gauge"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/graph","path":"/en/docs/graph","frontMatter":{"sidebar_position":0,"slug":"/graph"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/line3d","path":"/en/docs/line3d","frontMatter":{"sidebar_position":0,"slug":"/line3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/liquid","path":"/en/docs/liquid","frontMatter":{"sidebar_position":0,"slug":"/liquid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pictorialbar","path":"/en/docs/pictorialbar","frontMatter":{"sidebar_position":0,"slug":"/pictorialbar"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pie3d","path":"/en/docs/pie3d","frontMatter":{"sidebar_position":0,"slug":"/pie3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pyramid","path":"/en/docs/pyramid","frontMatter":{"sidebar_position":0,"slug":"/pyramid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/sankey","path":"/en/docs/sankey","frontMatter":{"sidebar_position":0,"slug":"/sankey"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/treemap","path":"/en/docs/treemap","frontMatter":{"sidebar_position":0,"slug":"/treemap"},"sidebar":"langSidebar"},{"id":"lang/articles/faq","path":"/en/docs/faq","frontMatter":{"sidebar_position":41,"slug":"/faq"},"sidebar":"langSidebar"},{"id":"lang/articles/support","path":"/en/docs/support","frontMatter":{"title":"\u8ba2\u9605\u670d\u52a1","sidebar_position":51,"slug":"/support"},"sidebar":"langSidebar"},{"id":"lang/articles/tutorial01","path":"/en/docs/tutorial01","frontMatter":{"title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","sidebar_position":11,"slug":"/tutorial01"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui","path":"/en/docs/ui","frontMatter":{"sidebar_position":0,"slug":"/ui"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_statistic","path":"/en/docs/lang/articles/ui/ui_statistic","frontMatter":{},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_table","path":"/en/docs/lang/articles/ui/ui_table","frontMatter":{},"sidebar":"langSidebar"}],"sidebars":{"langSidebar":{"link":{"path":"/en/docs/about","label":"version-v3.12.0/lang/articles/about"}}}},{"name":"v3.11.2","label":"v3.11.2","isLast":false,"path":"/en/docs/v3.11.2","mainDocId":"lang/articles/about","docs":[{"id":"lang/articles/about","path":"/en/docs/v3.11.2/about","frontMatter":{"sidebar_position":0,"slug":"/about"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial10","path":"/en/docs/v3.11.2/tutorial02","frontMatter":{"sidebar_position":1,"slug":"/tutorial02"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial11","path":"/en/docs/v3.11.2/tutorial03","frontMatter":{"sidebar_position":1,"slug":"/tutorial03"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial12_inputsystem","path":"/en/docs/v3.11.2/inputsystem","frontMatter":{"title":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","sidebar_position":1,"slug":"/inputsystem"},"sidebar":"langSidebar"},{"id":"lang/articles/api","path":"/en/docs/v3.11.2/api","frontMatter":{"sidebar_position":41,"slug":"/api"},"sidebar":"langSidebar"},{"id":"lang/articles/changelog","path":"/en/docs/v3.11.2/changelog","frontMatter":{"sidebar_position":61,"slug":"/changelog"},"sidebar":"langSidebar"},{"id":"lang/articles/configuration","path":"/en/docs/v3.11.2/configuration","frontMatter":{"sidebar_position":31,"slug":"/configuration"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/bar3d","path":"/en/docs/v3.11.2/bar3d","frontMatter":{"sidebar_position":0,"slug":"/bar3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/extra","path":"/en/docs/v3.11.2/extra","frontMatter":{"sidebar_position":0,"slug":"/extra"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/funnel","path":"/en/docs/v3.11.2/funnel","frontMatter":{"sidebar_position":0,"slug":"/funnel"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gantt","path":"/en/docs/v3.11.2/gantt","frontMatter":{"sidebar_position":0,"slug":"/gantt"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gauge","path":"/en/docs/v3.11.2/gauge","frontMatter":{"sidebar_position":0,"slug":"/gauge"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/graph","path":"/en/docs/v3.11.2/graph","frontMatter":{"sidebar_position":0,"slug":"/graph"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/line3d","path":"/en/docs/v3.11.2/line3d","frontMatter":{"sidebar_position":0,"slug":"/line3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/liquid","path":"/en/docs/v3.11.2/liquid","frontMatter":{"sidebar_position":0,"slug":"/liquid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pictorialbar","path":"/en/docs/v3.11.2/pictorialbar","frontMatter":{"sidebar_position":0,"slug":"/pictorialbar"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pie3d","path":"/en/docs/v3.11.2/pie3d","frontMatter":{"sidebar_position":0,"slug":"/pie3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pyramid","path":"/en/docs/v3.11.2/pyramid","frontMatter":{"sidebar_position":0,"slug":"/pyramid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/sankey","path":"/en/docs/v3.11.2/sankey","frontMatter":{"sidebar_position":0,"slug":"/sankey"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/treemap","path":"/en/docs/v3.11.2/treemap","frontMatter":{"sidebar_position":0,"slug":"/treemap"},"sidebar":"langSidebar"},{"id":"lang/articles/faq","path":"/en/docs/v3.11.2/faq","frontMatter":{"sidebar_position":41,"slug":"/faq"},"sidebar":"langSidebar"},{"id":"lang/articles/support","path":"/en/docs/v3.11.2/support","frontMatter":{"title":"\u8ba2\u9605\u670d\u52a1","sidebar_position":51,"slug":"/support"},"sidebar":"langSidebar"},{"id":"lang/articles/tutorial01","path":"/en/docs/v3.11.2/tutorial01","frontMatter":{"title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","sidebar_position":11,"slug":"/tutorial01"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui","path":"/en/docs/v3.11.2/ui","frontMatter":{"sidebar_position":0,"slug":"/ui"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_statistic","path":"/en/docs/v3.11.2/lang/articles/ui/ui_statistic","frontMatter":{},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_table","path":"/en/docs/v3.11.2/lang/articles/ui/ui_table","frontMatter":{},"sidebar":"langSidebar"}],"sidebars":{"langSidebar":{"link":{"path":"/en/docs/v3.11.2/about","label":"version-v3.11.2/lang/articles/about"}}}},{"name":"v3.10.2","label":"v3.10.2","isLast":false,"path":"/en/docs/v3.10.2","mainDocId":"lang/articles/about","docs":[{"id":"lang/articles/about","path":"/en/docs/v3.10.2/about","frontMatter":{"sidebar_position":0,"slug":"/about"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial10","path":"/en/docs/v3.10.2/tutorial02","frontMatter":{"sidebar_position":1,"slug":"/tutorial02"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial11","path":"/en/docs/v3.10.2/tutorial03","frontMatter":{"sidebar_position":1,"slug":"/tutorial03"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial12_inputsystem","path":"/en/docs/v3.10.2/inputsystem","frontMatter":{"title":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","sidebar_position":1,"slug":"/inputsystem"},"sidebar":"langSidebar"},{"id":"lang/articles/api","path":"/en/docs/v3.10.2/api","frontMatter":{"sidebar_position":41,"slug":"/api"},"sidebar":"langSidebar"},{"id":"lang/articles/changelog","path":"/en/docs/v3.10.2/changelog","frontMatter":{"sidebar_position":61,"slug":"/changelog"},"sidebar":"langSidebar"},{"id":"lang/articles/configuration","path":"/en/docs/v3.10.2/configuration","frontMatter":{"sidebar_position":31,"slug":"/configuration"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/bar3d","path":"/en/docs/v3.10.2/bar3d","frontMatter":{"sidebar_position":0,"slug":"/bar3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/extra","path":"/en/docs/v3.10.2/extra","frontMatter":{"sidebar_position":0,"slug":"/extra"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/funnel","path":"/en/docs/v3.10.2/funnel","frontMatter":{"sidebar_position":0,"slug":"/funnel"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gantt","path":"/en/docs/v3.10.2/gantt","frontMatter":{"sidebar_position":0,"slug":"/gantt"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gauge","path":"/en/docs/v3.10.2/gauge","frontMatter":{"sidebar_position":0,"slug":"/gauge"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/liquid","path":"/en/docs/v3.10.2/liquid","frontMatter":{"sidebar_position":0,"slug":"/liquid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pictorialbar","path":"/en/docs/v3.10.2/pictorialbar","frontMatter":{"sidebar_position":0,"slug":"/pictorialbar"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pie3d","path":"/en/docs/v3.10.2/pie3d","frontMatter":{"sidebar_position":0,"slug":"/pie3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pyramid","path":"/en/docs/v3.10.2/pyramid","frontMatter":{"sidebar_position":0,"slug":"/pyramid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/sankey","path":"/en/docs/v3.10.2/sankey","frontMatter":{"sidebar_position":0,"slug":"/sankey"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/treemap","path":"/en/docs/v3.10.2/treemap","frontMatter":{"sidebar_position":0,"slug":"/treemap"},"sidebar":"langSidebar"},{"id":"lang/articles/faq","path":"/en/docs/v3.10.2/faq","frontMatter":{"sidebar_position":41,"slug":"/faq"},"sidebar":"langSidebar"},{"id":"lang/articles/support","path":"/en/docs/v3.10.2/support","frontMatter":{"title":"\u8ba2\u9605\u670d\u52a1","sidebar_position":51,"slug":"/support"},"sidebar":"langSidebar"},{"id":"lang/articles/tutorial01","path":"/en/docs/v3.10.2/tutorial01","frontMatter":{"title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","sidebar_position":11,"slug":"/tutorial01"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui","path":"/en/docs/v3.10.2/ui","frontMatter":{"sidebar_position":0,"slug":"/ui"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_statistic","path":"/en/docs/v3.10.2/lang/articles/ui/ui_statistic","frontMatter":{},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_table","path":"/en/docs/v3.10.2/lang/articles/ui/ui_table","frontMatter":{},"sidebar":"langSidebar"}],"sidebars":{"langSidebar":{"link":{"path":"/en/docs/v3.10.2/about","label":"version-v3.10.2/lang/articles/about"}}}},{"name":"v3.9.0","label":"v3.9.0","isLast":false,"path":"/en/docs/v3.9.0","mainDocId":"lang/articles/about","docs":[{"id":"lang/articles/about","path":"/en/docs/v3.9.0/about","frontMatter":{"sidebar_position":0,"slug":"/about"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial10","path":"/en/docs/v3.9.0/tutorial02","frontMatter":{"sidebar_position":1,"slug":"/tutorial02"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial11","path":"/en/docs/v3.9.0/tutorial03","frontMatter":{"sidebar_position":1,"slug":"/tutorial03"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial12_inputsystem","path":"/en/docs/v3.9.0/inputsystem","frontMatter":{"title":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","sidebar_position":1,"slug":"/inputsystem"},"sidebar":"langSidebar"},{"id":"lang/articles/api","path":"/en/docs/v3.9.0/api","frontMatter":{"sidebar_position":41,"slug":"/api"},"sidebar":"langSidebar"},{"id":"lang/articles/changelog","path":"/en/docs/v3.9.0/changelog","frontMatter":{"sidebar_position":61,"slug":"/changelog"},"sidebar":"langSidebar"},{"id":"lang/articles/configuration","path":"/en/docs/v3.9.0/configuration","frontMatter":{"sidebar_position":31,"slug":"/configuration"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/bar3d","path":"/en/docs/v3.9.0/bar3d","frontMatter":{"sidebar_position":0,"slug":"/bar3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/extra","path":"/en/docs/v3.9.0/extra","frontMatter":{"sidebar_position":0,"slug":"/extra"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/funnel","path":"/en/docs/v3.9.0/funnel","frontMatter":{"sidebar_position":0,"slug":"/funnel"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gantt","path":"/en/docs/v3.9.0/gantt","frontMatter":{"sidebar_position":0,"slug":"/gantt"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gauge","path":"/en/docs/v3.9.0/gauge","frontMatter":{"sidebar_position":0,"slug":"/gauge"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/liquid","path":"/en/docs/v3.9.0/liquid","frontMatter":{"sidebar_position":0,"slug":"/liquid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pictorialbar","path":"/en/docs/v3.9.0/pictorialbar","frontMatter":{"sidebar_position":0,"slug":"/pictorialbar"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pie3d","path":"/en/docs/v3.9.0/pie3d","frontMatter":{"sidebar_position":0,"slug":"/pie3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pyramid","path":"/en/docs/v3.9.0/pyramid","frontMatter":{"sidebar_position":0,"slug":"/pyramid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/sankey","path":"/en/docs/v3.9.0/sankey","frontMatter":{"sidebar_position":0,"slug":"/sankey"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/treemap","path":"/en/docs/v3.9.0/treemap","frontMatter":{"sidebar_position":0,"slug":"/treemap"},"sidebar":"langSidebar"},{"id":"lang/articles/faq","path":"/en/docs/v3.9.0/faq","frontMatter":{"sidebar_position":41,"slug":"/faq"},"sidebar":"langSidebar"},{"id":"lang/articles/support","path":"/en/docs/v3.9.0/support","frontMatter":{"title":"\u8ba2\u9605\u670d\u52a1","sidebar_position":51,"slug":"/support"},"sidebar":"langSidebar"},{"id":"lang/articles/tutorial01","path":"/en/docs/v3.9.0/tutorial01","frontMatter":{"title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","sidebar_position":11,"slug":"/tutorial01"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui","path":"/en/docs/v3.9.0/ui","frontMatter":{"sidebar_position":0,"slug":"/ui"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_statistic","path":"/en/docs/v3.9.0/lang/articles/ui/ui_statistic","frontMatter":{},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_table","path":"/en/docs/v3.9.0/lang/articles/ui/ui_table","frontMatter":{},"sidebar":"langSidebar"}],"sidebars":{"langSidebar":{"link":{"path":"/en/docs/v3.9.0/about","label":"version-v3.9.0/lang/articles/about"}}}},{"name":"v3.8.1","label":"v3.8.1","isLast":false,"path":"/en/docs/v3.8.1","mainDocId":"lang/articles/about","docs":[{"id":"lang/articles/about","path":"/en/docs/v3.8.1/about","frontMatter":{"sidebar_position":0,"slug":"/about"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial10","path":"/en/docs/v3.8.1/tutorial02","frontMatter":{"sidebar_position":1,"slug":"/tutorial02"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial11","path":"/en/docs/v3.8.1/tutorial03","frontMatter":{"sidebar_position":1,"slug":"/tutorial03"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial12_inputsystem","path":"/en/docs/v3.8.1/inputsystem","frontMatter":{"title":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","sidebar_position":1,"slug":"/inputsystem"},"sidebar":"langSidebar"},{"id":"lang/articles/api","path":"/en/docs/v3.8.1/api","frontMatter":{"sidebar_position":41,"slug":"/api"},"sidebar":"langSidebar"},{"id":"lang/articles/changelog","path":"/en/docs/v3.8.1/changelog","frontMatter":{"sidebar_position":61,"slug":"/changelog"},"sidebar":"langSidebar"},{"id":"lang/articles/configuration","path":"/en/docs/v3.8.1/configuration","frontMatter":{"sidebar_position":31,"slug":"/configuration"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/bar3d","path":"/en/docs/v3.8.1/bar3d","frontMatter":{"sidebar_position":0,"slug":"/bar3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/extra","path":"/en/docs/v3.8.1/extra","frontMatter":{"sidebar_position":0,"slug":"/extra"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/funnel","path":"/en/docs/v3.8.1/funnel","frontMatter":{"sidebar_position":0,"slug":"/funnel"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gantt","path":"/en/docs/v3.8.1/gantt","frontMatter":{"sidebar_position":0,"slug":"/gantt"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gauge","path":"/en/docs/v3.8.1/gauge","frontMatter":{"sidebar_position":0,"slug":"/gauge"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/liquid","path":"/en/docs/v3.8.1/liquid","frontMatter":{"sidebar_position":0,"slug":"/liquid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pictorialbar","path":"/en/docs/v3.8.1/pictorialbar","frontMatter":{"sidebar_position":0,"slug":"/pictorialbar"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pie3d","path":"/en/docs/v3.8.1/pie3d","frontMatter":{"sidebar_position":0,"slug":"/pie3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pyramid","path":"/en/docs/v3.8.1/pyramid","frontMatter":{"sidebar_position":0,"slug":"/pyramid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/treemap","path":"/en/docs/v3.8.1/treemap","frontMatter":{"sidebar_position":0,"slug":"/treemap"},"sidebar":"langSidebar"},{"id":"lang/articles/faq","path":"/en/docs/v3.8.1/faq","frontMatter":{"sidebar_position":41,"slug":"/faq"},"sidebar":"langSidebar"},{"id":"lang/articles/support","path":"/en/docs/v3.8.1/support","frontMatter":{"title":"\u8ba2\u9605\u670d\u52a1","sidebar_position":51,"slug":"/support"},"sidebar":"langSidebar"},{"id":"lang/articles/tutorial01","path":"/en/docs/v3.8.1/tutorial01","frontMatter":{"title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","sidebar_position":11,"slug":"/tutorial01"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui","path":"/en/docs/v3.8.1/ui","frontMatter":{"sidebar_position":0,"slug":"/ui"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_statistic","path":"/en/docs/v3.8.1/lang/articles/ui/ui_statistic","frontMatter":{},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_table","path":"/en/docs/v3.8.1/lang/articles/ui/ui_table","frontMatter":{},"sidebar":"langSidebar"}],"sidebars":{"langSidebar":{"link":{"path":"/en/docs/v3.8.1/about","label":"version-v3.8.1/lang/articles/about"}}}},{"name":"v3.7.0","label":"v3.7.0","isLast":false,"path":"/en/docs/v3.7.0","mainDocId":"lang/articles/about","docs":[{"id":"lang/articles/about","path":"/en/docs/v3.7.0/about","frontMatter":{"sidebar_position":0,"slug":"/about"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial10","path":"/en/docs/v3.7.0/tutorial02","frontMatter":{"sidebar_position":1,"slug":"/tutorial02"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial11","path":"/en/docs/v3.7.0/tutorial03","frontMatter":{"sidebar_position":1,"slug":"/tutorial03"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial12_inputsystem","path":"/en/docs/v3.7.0/inputsystem","frontMatter":{"title":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","sidebar_position":1,"slug":"/inputsystem"},"sidebar":"langSidebar"},{"id":"lang/articles/api","path":"/en/docs/v3.7.0/api","frontMatter":{"sidebar_position":41,"slug":"/api"},"sidebar":"langSidebar"},{"id":"lang/articles/changelog","path":"/en/docs/v3.7.0/changelog","frontMatter":{"sidebar_position":61,"slug":"/changelog"},"sidebar":"langSidebar"},{"id":"lang/articles/configuration","path":"/en/docs/v3.7.0/configuration","frontMatter":{"sidebar_position":31,"slug":"/configuration"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/bar3d","path":"/en/docs/v3.7.0/bar3d","frontMatter":{"sidebar_position":0,"slug":"/bar3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/extra","path":"/en/docs/v3.7.0/extra","frontMatter":{"sidebar_position":0,"slug":"/extra"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/funnel","path":"/en/docs/v3.7.0/funnel","frontMatter":{"sidebar_position":0,"slug":"/funnel"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gantt","path":"/en/docs/v3.7.0/gantt","frontMatter":{"sidebar_position":0,"slug":"/gantt"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gauge","path":"/en/docs/v3.7.0/gauge","frontMatter":{"sidebar_position":0,"slug":"/gauge"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/liquid","path":"/en/docs/v3.7.0/liquid","frontMatter":{"sidebar_position":0,"slug":"/liquid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pictorialbar","path":"/en/docs/v3.7.0/pictorialbar","frontMatter":{"sidebar_position":0,"slug":"/pictorialbar"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pie3d","path":"/en/docs/v3.7.0/pie3d","frontMatter":{"sidebar_position":0,"slug":"/pie3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pyramid","path":"/en/docs/v3.7.0/pyramid","frontMatter":{"sidebar_position":0,"slug":"/pyramid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/treemap","path":"/en/docs/v3.7.0/treemap","frontMatter":{"sidebar_position":0,"slug":"/treemap"},"sidebar":"langSidebar"},{"id":"lang/articles/faq","path":"/en/docs/v3.7.0/faq","frontMatter":{"sidebar_position":41,"slug":"/faq"},"sidebar":"langSidebar"},{"id":"lang/articles/support","path":"/en/docs/v3.7.0/support","frontMatter":{"title":"\u8ba2\u9605\u670d\u52a1","sidebar_position":51,"slug":"/support"},"sidebar":"langSidebar"},{"id":"lang/articles/tutorial01","path":"/en/docs/v3.7.0/tutorial01","frontMatter":{"title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","sidebar_position":11,"slug":"/tutorial01"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui","path":"/en/docs/v3.7.0/ui","frontMatter":{"sidebar_position":0,"slug":"/ui"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_statistic","path":"/en/docs/v3.7.0/lang/articles/ui/ui_statistic","frontMatter":{},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_table","path":"/en/docs/v3.7.0/lang/articles/ui/ui_table","frontMatter":{},"sidebar":"langSidebar"}],"sidebars":{"langSidebar":{"link":{"path":"/en/docs/v3.7.0/about","label":"version-v3.7.0/lang/articles/about"}}}},{"name":"v3.6.0","label":"v3.6.0","isLast":false,"path":"/en/docs/v3.6.0","mainDocId":"lang/articles/about","docs":[{"id":"lang/articles/about","path":"/en/docs/v3.6.0/about","frontMatter":{"sidebar_position":0,"slug":"/about"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial10","path":"/en/docs/v3.6.0/tutorial02","frontMatter":{"sidebar_position":1,"slug":"/tutorial02"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial11","path":"/en/docs/v3.6.0/tutorial03","frontMatter":{"sidebar_position":1,"slug":"/tutorial03"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial12_inputsystem","path":"/en/docs/v3.6.0/inputsystem","frontMatter":{"title":"\u5207\u6362\u5230\u65b0\u7684\u8f93\u5165\u7cfb\u7edfInput System","sidebar_position":1,"slug":"/inputsystem"},"sidebar":"langSidebar"},{"id":"lang/articles/api","path":"/en/docs/v3.6.0/api","frontMatter":{"sidebar_position":41,"slug":"/api"},"sidebar":"langSidebar"},{"id":"lang/articles/changelog","path":"/en/docs/v3.6.0/changelog","frontMatter":{"sidebar_position":61,"slug":"/changelog"},"sidebar":"langSidebar"},{"id":"lang/articles/configuration","path":"/en/docs/v3.6.0/configuration","frontMatter":{"sidebar_position":31,"slug":"/configuration"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/bar3d","path":"/en/docs/v3.6.0/bar3d","frontMatter":{"sidebar_position":0,"slug":"/bar3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/extra","path":"/en/docs/v3.6.0/extra","frontMatter":{"sidebar_position":0,"slug":"/extra"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/funnel","path":"/en/docs/v3.6.0/funnel","frontMatter":{"sidebar_position":0,"slug":"/funnel"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gantt","path":"/en/docs/v3.6.0/gantt","frontMatter":{"sidebar_position":0,"slug":"/gantt"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gauge","path":"/en/docs/v3.6.0/gauge","frontMatter":{"sidebar_position":0,"slug":"/gauge"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/liquid","path":"/en/docs/v3.6.0/liquid","frontMatter":{"sidebar_position":0,"slug":"/liquid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pictorialbar","path":"/en/docs/v3.6.0/pictorialbar","frontMatter":{"sidebar_position":0,"slug":"/pictorialbar"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pie3d","path":"/en/docs/v3.6.0/pie3d","frontMatter":{"sidebar_position":0,"slug":"/pie3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pyramid","path":"/en/docs/v3.6.0/pyramid","frontMatter":{"sidebar_position":0,"slug":"/pyramid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/treemap","path":"/en/docs/v3.6.0/treemap","frontMatter":{"sidebar_position":0,"slug":"/treemap"},"sidebar":"langSidebar"},{"id":"lang/articles/faq","path":"/en/docs/v3.6.0/faq","frontMatter":{"sidebar_position":41,"slug":"/faq"},"sidebar":"langSidebar"},{"id":"lang/articles/support","path":"/en/docs/v3.6.0/support","frontMatter":{"title":"\u8ba2\u9605\u670d\u52a1","sidebar_position":51,"slug":"/support"},"sidebar":"langSidebar"},{"id":"lang/articles/tutorial01","path":"/en/docs/v3.6.0/tutorial01","frontMatter":{"title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","sidebar_position":11,"slug":"/tutorial01"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui","path":"/en/docs/v3.6.0/ui","frontMatter":{"sidebar_position":0,"slug":"/ui"},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_statistic","path":"/en/docs/v3.6.0/lang/articles/ui/ui_statistic","frontMatter":{},"sidebar":"langSidebar"},{"id":"lang/articles/ui/ui_table","path":"/en/docs/v3.6.0/lang/articles/ui/ui_table","frontMatter":{},"sidebar":"langSidebar"}],"sidebars":{"langSidebar":{"link":{"path":"/en/docs/v3.6.0/about","label":"version-v3.6.0/lang/articles/about"}}}},{"name":"v3.5.0","label":"v3.5.0","isLast":false,"path":"/en/docs/v3.5.0","mainDocId":"lang/articles/about","docs":[{"id":"lang/articles/about","path":"/en/docs/v3.5.0/about","frontMatter":{"sidebar_position":0,"slug":"/about"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial02","path":"/en/docs/v3.5.0/tutorial02","frontMatter":{"sidebar_position":1,"slug":"/tutorial02"},"sidebar":"langSidebar"},{"id":"lang/articles/advanced/tutorial03","path":"/en/docs/v3.5.0/tutorial03","frontMatter":{"sidebar_position":1,"slug":"/tutorial03"},"sidebar":"langSidebar"},{"id":"lang/articles/api","path":"/en/docs/v3.5.0/api","frontMatter":{"sidebar_position":3,"slug":"/api"},"sidebar":"langSidebar"},{"id":"lang/articles/changelog","path":"/en/docs/v3.5.0/changelog","frontMatter":{"sidebar_position":5,"slug":"/changelog"},"sidebar":"langSidebar"},{"id":"lang/articles/configuration","path":"/en/docs/v3.5.0/configuration","frontMatter":{"sidebar_position":2,"slug":"/configuration"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/bar3d","path":"/en/docs/v3.5.0/bar3d","frontMatter":{"sidebar_position":0,"slug":"/bar3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/funnel","path":"/en/docs/v3.5.0/funnel","frontMatter":{"sidebar_position":0,"slug":"/funnel"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gantt","path":"/en/docs/v3.5.0/gantt","frontMatter":{"sidebar_position":0,"slug":"/gantt"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/gauge","path":"/en/docs/v3.5.0/gauge","frontMatter":{"sidebar_position":0,"slug":"/gauge"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/liquid","path":"/en/docs/v3.5.0/liquid","frontMatter":{"sidebar_position":0,"slug":"/liquid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pictorialbar","path":"/en/docs/v3.5.0/pictorialbar","frontMatter":{"sidebar_position":0,"slug":"/pictorialbar"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pie3d","path":"/en/docs/v3.5.0/pie3d","frontMatter":{"sidebar_position":0,"slug":"/pie3d"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/pyramid","path":"/en/docs/v3.5.0/pyramid","frontMatter":{"sidebar_position":0,"slug":"/pyramid"},"sidebar":"langSidebar"},{"id":"lang/articles/extra/treemap","path":"/en/docs/v3.5.0/treemap","frontMatter":{"sidebar_position":0,"slug":"/treemap"},"sidebar":"langSidebar"},{"id":"lang/articles/faq","path":"/en/docs/v3.5.0/faq","frontMatter":{"sidebar_position":4,"slug":"/faq"},"sidebar":"langSidebar"},{"id":"lang/articles/support","path":"/en/docs/v3.5.0/support","frontMatter":{"sidebar_position":6,"slug":"/support"},"sidebar":"langSidebar"},{"id":"lang/articles/tutorial01","path":"/en/docs/v3.5.0/tutorial01","frontMatter":{"title":"\u5165\u95e8\u6559\u7a0b\uff1a5\u5206\u949f\u4e0a\u624b XCharts 3.0","sidebar_position":1,"slug":"/tutorial01"},"sidebar":"langSidebar"}],"sidebars":{"langSidebar":{"link":{"path":"/en/docs/v3.5.0/about","label":"version-v3.5.0/lang/articles/about"}}}}]}},"docusaurus-plugin-content-blog":{"newsletter":{"blogTags":{}},"default":{"blogTags":{"/en/blog/tags/advanced":{"name":"advanced","items":["blog-en-1"],"permalink":"/en/blog/tags/advanced"},"/en/blog/tags/beginner":{"name":"beginner","items":["blog-en-1"],"permalink":"/en/blog/tags/beginner"},"/en/blog/tags/image-processing":{"name":"image processing","items":["blog-en-1"],"permalink":"/en/blog/tags/image-processing"},"/en/blog/tags/tutorial":{"name":"tutorial","items":["blog-en-1"],"permalink":"/en/blog/tags/tutorial"}}}},"autoapi-plugin":{"default":{"path":"/en/api/","versions":[{"docs":[{"id":"","path":"/en/api/master/","source":"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api/master/index.html","version":"current"}],"name":"current","label":"master","isLast":false,"mainDocId":"","path":"/en/api/master"},{"docs":[{"id":"","path":"/en/api/v3.10.2/","source":"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api/v3.10.2/index.html","version":"v3.10.2"}],"name":"v3.10.2","label":"v3.10.2","isLast":false,"mainDocId":"","path":"/en/api/v3.10.2"},{"docs":[{"id":"","path":"/en/api/v3.11.2/","source":"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api/v3.11.2/index.html","version":"v3.11.2"}],"name":"v3.11.2","label":"v3.11.2","isLast":false,"mainDocId":"","path":"/en/api/v3.11.2"},{"docs":[{"id":"","path":"/en/api/","source":"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api/v3.12.0/index.html","version":"v3.12.0"}],"name":"v3.12.0","label":"v3.12.0","isLast":true,"mainDocId":"","path":"/en/api/"},{"docs":[{"id":"","path":"/en/api/v3.5.0/","source":"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api/v3.5.0/index.html","version":"v3.5.0"}],"name":"v3.5.0","label":"v3.5.0","isLast":false,"mainDocId":"","path":"/en/api/v3.5.0"},{"docs":[{"id":"","path":"/en/api/v3.7.0/","source":"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api/v3.7.0/index.html","version":"v3.7.0"}],"name":"v3.7.0","label":"v3.7.0","isLast":false,"mainDocId":"","path":"/en/api/v3.7.0"},{"docs":[{"id":"","path":"/en/api/v3.6.0/","source":"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api/v3.6.0/index.html","version":"v3.6.0"}],"name":"v3.6.0","label":"v3.6.0","isLast":false,"mainDocId":"","path":"/en/api/v3.6.0"},{"docs":[{"id":"","path":"/en/api/v3.8.1/","source":"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api/v3.8.1/index.html","version":"v3.8.1"}],"name":"v3.8.1","label":"v3.8.1","isLast":false,"mainDocId":"","path":"/en/api/v3.8.1"},{"docs":[{"id":"","path":"/en/api/v3.9.0/","source":"/Users/xiaomo/work/project/xcharts-team.github.io/website/src/pages/api/v3.9.0/index.html","version":"v3.9.0"}],"name":"v3.9.0","label":"v3.9.0","isLast":false,"mainDocId":"","path":"/en/api/v3.9.0"}]}}}')}},function(e){e.O(0,[532],(function(){return t=95805,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/en/assets/js/main.442a8566.js.LICENSE.txt b/en/assets/js/main.442a8566.js.LICENSE.txt new file mode 100644 index 00000000..6e08db29 --- /dev/null +++ b/en/assets/js/main.442a8566.js.LICENSE.txt @@ -0,0 +1,53 @@ +/* +object-assign +(c) Sindre Sorhus +@license MIT +*/ + +/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT */ + +/** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT <https://opensource.org/licenses/MIT> + * @author Lea Verou <https://lea.verou.me> + * @namespace + * @public + */ + +/** @license React v0.20.2 + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** @license React v17.0.2 + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** @license React v17.0.2 + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ diff --git a/en/assets/js/runtime~main.51215255.js b/en/assets/js/runtime~main.51215255.js new file mode 100644 index 00000000..a6bd69e6 --- /dev/null +++ b/en/assets/js/runtime~main.51215255.js @@ -0,0 +1 @@ +!function(){"use strict";var e,c,f,b,d,a={},t={};function n(e){var c=t[e];if(void 0!==c)return c.exports;var f=t[e]={id:e,loaded:!1,exports:{}};return a[e].call(f.exports,f,f.exports,n),f.loaded=!0,f.exports}n.m=a,e=[],n.O=function(c,f,b,d){if(!f){var a=1/0;for(u=0;u<e.length;u++){f=e[u][0],b=e[u][1],d=e[u][2];for(var t=!0,r=0;r<f.length;r++)(!1&d||a>=d)&&Object.keys(n.O).every((function(e){return n.O[e](f[r])}))?f.splice(r--,1):(t=!1,d<a&&(a=d));if(t){e.splice(u--,1);var o=b();void 0!==o&&(c=o)}}return c}d=d||0;for(var u=e.length;u>0&&e[u-1][2]>d;u--)e[u]=e[u-1];e[u]=[f,b,d]},n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,{a:c}),c},f=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},n.t=function(e,b){if(1&b&&(e=this(e)),8&b)return e;if("object"==typeof e&&e){if(4&b&&e.__esModule)return e;if(16&b&&"function"==typeof e.then)return e}var d=Object.create(null);n.r(d);var a={};c=c||[null,f({}),f([]),f(f)];for(var t=2&b&&e;"object"==typeof t&&!~c.indexOf(t);t=f(t))Object.getOwnPropertyNames(t).forEach((function(c){a[c]=function(){return e[c]}}));return a.default=function(){return e},n.d(d,a),d},n.d=function(e,c){for(var f in c)n.o(c,f)&&!n.o(e,f)&&Object.defineProperty(e,f,{enumerable:!0,get:c[f]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(c,f){return n.f[f](e,c),c}),[]))},n.u=function(e){return"assets/js/"+({34:"47137878",53:"935f2afb",122:"3bbb0048",126:"da3e4625",139:"e798ed30",164:"0ce0cd0c",207:"d1258d46",286:"2ccc5d15",306:"73754ea4",370:"d6e23382",376:"4dfb9136",400:"56f0943a",459:"a8d6d0df",555:"33d21e66",578:"0b2baf8d",756:"885ea281",776:"9875289a",778:"aff05561",844:"ab83aed5",882:"f38bb537",891:"13cbcf42",918:"8d9e9f31",971:"06b3902f",982:"1cc3cec9",1013:"64570554",1034:"45cfe9de",1080:"ccc49370",1110:"25c9e43b",1138:"37b35207",1140:"a5bce4c8",1167:"92a26795",1189:"75662a14",1198:"4b62531f",1217:"a0438807",1242:"a76029b2",1288:"310215f2",1389:"53424fa2",1439:"635b1501",1463:"429c4dc1",1464:"84995476",1508:"b6baf6db",1522:"0fe29b8b",1523:"e4892bae",1568:"d2788ed0",1592:"d972a4f7",1625:"bc2d3638",1646:"4275b1b4",1723:"f345d982",1759:"0807d87e",1769:"c8d6b1e1",1772:"b3c5e4a8",1782:"ad3ca912",1804:"b55bea4d",1855:"30896c49",1892:"f0fffb88",1956:"ce421672",1997:"472c5008",2028:"88fb3acf",2062:"a031f49a",2089:"160ef12c",2102:"40247295",2121:"6977494c",2171:"39f00e4b",2177:"f1be0c77",2187:"cf87da48",2198:"795362f1",2209:"b37fd7e5",2253:"9bdd22eb",2343:"54b4ef9f",2350:"81de59db",2361:"ea94ad11",2396:"01f79f8c",2399:"758bf183",2471:"9731ed60",2515:"b15063cb",2518:"85cde48e",2535:"814f3328",2560:"f70958ec",2562:"062163c2",2581:"399acd3b",2606:"78b2a8f7",2699:"671093e8",2718:"0e79e7ad",2720:"1d960048",2727:"5f66efcf",2786:"9c4c7084",2841:"db8591c4",2867:"2ed37b6a",2872:"91b3e92a",2895:"3fed8774",2903:"7c66270b",2930:"2f375d82",2945:"34d09112",2965:"13548b0e",3058:"34348c78",3085:"1f391b9e",3089:"a6aa9e1f",3132:"b4676ab6",3169:"1b7492fb",3196:"07e5f9de",3222:"9bb822d1",3241:"e7fae69c",3251:"5ac1295d",3293:"aecb7363",3294:"61b55826",3309:"dda2dc85",3314:"4d6bfb64",3390:"9c86b1c3",3392:"926f1670",3440:"f9676efd",3482:"1a9cc015",3491:"ccbc8b8d",3590:"5ca33a59",3608:"9e4087bc",3642:"b87d287e",3764:"f6b55758",3836:"f6cbeee1",3859:"0a576633",3908:"9e8d335c",3921:"305b5d7f",3957:"ba658ce7",3967:"f6b5ca96",4013:"01a85c17",4059:"47e22724",4118:"cfbb06ca",4120:"8272fa28",4148:"f14aef11",4172:"3375c64a",4174:"fcb13733",4175:"6979be4b",4185:"977aef28",4235:"45619582",4331:"91629bdd",4364:"fba6c282",4404:"5476afdc",4406:"5d2f6f05",4465:"9d4880e7",4477:"50572ff0",4504:"1f416af2",4505:"4e6e83f6",4517:"241855ee",4566:"26b7391c",4610:"65cfe503",4639:"60a5cd7b",4647:"b8e8b238",4661:"fc7855f2",4739:"3e90d8e2",4754:"cbdd9883",4760:"8f6e2a4a",4871:"2afe0a8a",4921:"e4ec0983",5025:"4a367eab",5027:"af993462",5030:"12c9458b",5051:"97524ec3",5157:"8c04f4a8",5189:"853d6eef",5209:"9cb9472a",5222:"e512dd15",5223:"bee5bae5",5307:"1e7664cb",5354:"9a6c8fee",5391:"06d7b024",5396:"3b2611af",5403:"7f86b971",5419:"e913dccc",5486:"f1b9a032",5528:"c9ff6b20",5551:"0b3060e8",5594:"cad8270c",5611:"01b2c389",5643:"b0f5cc57",5644:"d0594032",5646:"6b5a19b3",5707:"3a255ca7",5712:"b2fdb119",5713:"69736b62",5714:"565638f3",5715:"80c593df",5717:"6cf2b940",5804:"d56e6f60",5812:"3ffa4b16",5829:"de6d5860",5833:"0c883a7d",5883:"463bdb2b",5903:"15e36259",5910:"90628bba",5937:"cdf592f9",5939:"179d1783",5976:"3093e60d",5987:"52baeca4",6033:"556925f6",6039:"f018e9c8",6045:"af87715e",6093:"717f403f",6099:"c9092f3a",6103:"a32ea49b",6104:"12bd9b04",6173:"237f2966",6262:"7e965016",6270:"5829324a",6281:"c68b8091",6282:"b1f38343",6291:"d433dfcf",6323:"957623b6",6336:"21c47bc4",6338:"989109fe",6407:"fbb33262",6441:"91a1c8ba",6447:"33375e22",6450:"151e2d93",6463:"d738818b",6563:"c2d6a9b4",6581:"9c1bb23d",6595:"d074df72",6671:"25b591c6",6739:"36b7cc20",6741:"775489ce",6754:"7187f4a4",6794:"5f33186c",6858:"feaf451d",6928:"dc295080",6950:"bc69d3a5",6987:"1bf6fa0b",6996:"e7b22fe0",7042:"4b628775",7241:"9c0314cd",7269:"d661796d",7309:"6f928cfb",7401:"ecc5a1b0",7431:"28a07f2a",7463:"86e87435",7515:"b0957ed4",7529:"b5447c11",7537:"2f00e57f",7543:"a80a8174",7605:"d4d43266",7646:"5781ece6",7679:"f8858d8f",7704:"dfc50f4d",7745:"b85074aa",7789:"5c46e75c",7827:"0b2276d6",7835:"aff6dcac",7847:"da3b0d6f",7852:"510d4385",7913:"9b75507c",7918:"17896441",7920:"1a4e3797",7929:"4c36f7cd",8021:"274aea74",8026:"76261f3e",8051:"a118159e",8143:"f3703b84",8157:"90faf82c",8169:"97c29f4a",8177:"35cbd37a",8190:"80b02888",8311:"4fcb4d83",8358:"f16045ef",8370:"8dc5c5c4",8393:"d0ac207d",8416:"c0182217",8507:"1cbcb4a6",8602:"c0c5927d",8610:"6875c492",8643:"afdec8d7",8647:"06669c61",8657:"316bdc3e",8666:"f5cc76a7",8672:"37093706",8676:"4e7c458f",8685:"82e1f3b6",8741:"7fc30b75",8780:"b4962e4d",8821:"50dabb5d",8824:"aa9d8acd",8853:"8eddbe9d",8888:"cdcd2ab4",8893:"88eff35d",8952:"31476475",8987:"edff5018",8995:"60e5d4c0",9056:"c77305fc",9120:"9bcf082a",9226:"b0db3eed",9241:"ed6c4718",9260:"0c751418",9319:"6e9edefd",9354:"d0338a12",9372:"75da09e2",9406:"bfdfd19f",9416:"1107bf75",9454:"e4b9cb97",9489:"4c69d450",9504:"8745b4bf",9514:"1be78505",9539:"b5003c20",9578:"9abfe212",9643:"29abe6b0",9645:"d7623852",9665:"e897118b",9702:"0107a9e4",9723:"7edbe84c",9756:"525276eb",9825:"57a11582",9847:"d90bda9a",9880:"e218c249",9936:"e7aa5905",9958:"ccdc331a"}[e]||e)+"."+{34:"4c09bea3",53:"d802fb76",122:"bdb3990f",126:"a64c37d3",139:"9d1a4702",164:"42261a41",207:"d50bea87",286:"59473e54",306:"c772ed9e",370:"3f828427",376:"188d3b07",400:"0e38e063",459:"86282c05",555:"cc357957",578:"dc707e4e",756:"f5b7bc06",776:"c7e80cd1",778:"2adcfb1b",844:"50f21879",882:"059d418a",891:"2e439e6f",918:"59208047",926:"64564998",971:"595a9c4c",982:"dd588db5",1013:"0aeb447d",1034:"353cc205",1080:"350948fc",1110:"67ca5bf8",1138:"587b351b",1140:"c75c23c4",1167:"7f102f14",1189:"76302eaa",1198:"089a085e",1217:"c0e8767e",1242:"431fd91f",1288:"81807f6e",1389:"e52d9005",1439:"e848c00e",1461:"01d41171",1463:"50825244",1464:"5695e090",1508:"fb46b9e9",1522:"0b78b57b",1523:"66c210d9",1568:"f399fd19",1592:"878faea4",1625:"47496a90",1646:"879e2f13",1723:"8bd1385f",1759:"0ac14eaa",1769:"6f05ea80",1772:"aadd87f8",1782:"850f6ef8",1804:"049a8645",1855:"45cb979c",1892:"bce3dd9f",1956:"b9f86f9f",1997:"6e7a8dff",2028:"cd6dc673",2062:"4a1890a7",2089:"918de38a",2102:"099a27ad",2121:"9e87ab8f",2171:"107cdba1",2177:"98e46110",2187:"976f5336",2198:"db055847",2209:"4938789c",2253:"4bada548",2343:"3d94468c",2350:"82662584",2361:"94a7bca4",2396:"2c80d6e5",2399:"e1c8c6cb",2471:"fa30384b",2515:"318b1043",2518:"65bdff1a",2535:"f606a72b",2560:"2c94c4ad",2562:"77f4a0f2",2581:"68d8ef4b",2606:"36d87113",2699:"150f6199",2718:"6e7c5cb6",2720:"b2d87cdc",2727:"7be79be8",2786:"eebeb9cd",2841:"bdaeb639",2867:"25e3ae72",2872:"00df94e4",2895:"2240156b",2903:"b6292e09",2921:"58b3313d",2930:"4843baec",2945:"f1690066",2965:"850b707d",3058:"66d010f4",3085:"f6a1f18c",3089:"e420db5e",3132:"f97e1840",3169:"fd383880",3196:"1c557b31",3222:"18757a39",3241:"3fdcbe70",3251:"b153ddee",3293:"599f6a59",3294:"5d52e928",3309:"b6d1f30d",3314:"b5193a51",3390:"601e38d3",3392:"bde702d6",3440:"eebbacd7",3482:"e547a468",3491:"d44d47b0",3510:"3cd61d00",3590:"157a766b",3608:"b5585d94",3642:"d891d3f2",3764:"00b61bda",3836:"5a536a21",3859:"47d3a2bc",3908:"7c471e6d",3921:"c741118b",3957:"267e6aa2",3967:"9a485a60",4013:"5cd47bd9",4059:"5a7fd776",4118:"fb557da9",4120:"a212317a",4148:"5c804477",4172:"7162afcf",4174:"b7ba2e34",4175:"2b3ee25f",4185:"d6cc0e32",4235:"9fd73e90",4331:"cd805cda",4364:"2c63f268",4404:"01989859",4406:"488dce89",4465:"e2407996",4477:"23b43146",4504:"a13d2054",4505:"0e2b5d9c",4517:"6e3eeddd",4566:"014f775c",4610:"654eff41",4639:"7279951c",4647:"99fcb9d7",4649:"6281cae2",4661:"411d572a",4739:"696c133d",4754:"725f40ea",4760:"552a14b0",4871:"2c8e6cae",4921:"80988b6a",5025:"3ae70e4c",5027:"4280860e",5030:"02dbc3df",5051:"b5f23161",5157:"78949fff",5189:"c2c7f3e8",5209:"cfae54de",5222:"1fba4198",5223:"21a34b45",5307:"01744176",5354:"2c1905f3",5391:"f763c5b0",5396:"443c1f7f",5403:"bf2bcb61",5419:"79024914",5486:"74f9a2e7",5528:"b0d2d28a",5551:"b940af8b",5594:"ceb84ffc",5611:"095c9a63",5643:"d97fcef5",5644:"e188d409",5646:"03296fc4",5707:"35a9b9f7",5712:"93202272",5713:"f6451563",5714:"b5f43c95",5715:"a8975f54",5717:"ece466d3",5804:"db9fc48e",5812:"b2906c55",5829:"29e3e952",5833:"c6d19641",5883:"c6e7665f",5903:"ba51925c",5910:"f47f2111",5937:"ccf005f9",5939:"42d82e35",5976:"28ed789e",5987:"385a892f",6033:"796c5b6b",6039:"95623c98",6045:"6753967b",6093:"34f826fd",6099:"ff73e4b1",6103:"e6587281",6104:"7981c326",6173:"1fef4070",6262:"6f77ac7c",6270:"b47a1554",6281:"5aaf3a8d",6282:"8cc439a3",6291:"539afa1f",6323:"7117b9c9",6336:"ef13e0ff",6338:"4e9cdfd9",6407:"5dfb173c",6441:"3c576e6e",6447:"e3eec0d7",6450:"b97ad8a0",6463:"075e0ca4",6563:"c596b9b5",6581:"99578b69",6595:"183c7a61",6671:"8643f24a",6739:"d30c4ed9",6741:"652b0337",6754:"f391419e",6794:"8675543b",6858:"3593d9e2",6928:"8c90d44b",6950:"c3ccbef4",6987:"08e806f0",6996:"771cd2b0",7042:"4e44044b",7241:"6764e0f5",7269:"a712ddf2",7309:"95f4cbc4",7372:"0a1fdff3",7401:"3c86d5ae",7431:"62b3f853",7463:"e3df135e",7515:"4cc814f9",7529:"a05661f3",7537:"92de929c",7543:"51442590",7605:"09bf17b3",7646:"1682df84",7679:"89c06897",7704:"b978d22f",7745:"d26767b2",7789:"4cfdb1a4",7827:"ae37c28a",7835:"1fe91c5f",7847:"b2cf8927",7852:"10a6f992",7913:"4d2aee87",7918:"9d2434b3",7920:"7635b958",7929:"da715416",8021:"f3d6c201",8026:"566d543f",8051:"27626cf1",8143:"eed259cc",8157:"59f9e96a",8169:"357cf4c7",8177:"3f2b4cfe",8190:"6e41136f",8232:"970a32ee",8311:"290c22cf",8358:"46ee9735",8370:"41a05a85",8393:"28a8c053",8416:"2192c421",8507:"d5696051",8602:"b433a632",8610:"1f0772b3",8643:"b137ac48",8647:"57bee13e",8657:"69012fc6",8666:"cbb55ee3",8672:"54ba40c1",8676:"9ec3ab68",8685:"35333041",8741:"66a9d986",8780:"5352c9c8",8821:"f6f4d780",8824:"fbe715ad",8853:"2889bdb6",8888:"a51a673b",8893:"4ef94338",8952:"1108af1a",8987:"21fcdeb2",8995:"a5eb0c2c",9056:"9df72020",9120:"01daf9d7",9226:"3044e6b3",9241:"4e87eeee",9260:"5dd32dc2",9319:"fccf3407",9354:"ad76b72e",9372:"f05786ef",9406:"a94ca038",9416:"12582a81",9454:"45a76857",9489:"2ca4ef91",9504:"d3e786ec",9514:"8ed35375",9539:"864ad113",9578:"83e51c92",9643:"d5e13717",9645:"3448e617",9665:"c0ba91df",9702:"dcd39f33",9723:"c2f3b49b",9756:"5ea76c33",9825:"ae9567bd",9847:"8adbca71",9880:"9c6ebbff",9936:"d1f1f6a9",9958:"adebf3cc"}[e]+".js"},n.miniCssF=function(e){return"assets/css/styles.5f9f7a24.css"},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},b={},d="website:",n.l=function(e,c,f,a){if(b[e])b[e].push(c);else{var t,r;if(void 0!==f)for(var o=document.getElementsByTagName("script"),u=0;u<o.length;u++){var i=o[u];if(i.getAttribute("src")==e||i.getAttribute("data-webpack")==d+f){t=i;break}}t||(r=!0,(t=document.createElement("script")).charset="utf-8",t.timeout=120,n.nc&&t.setAttribute("nonce",n.nc),t.setAttribute("data-webpack",d+f),t.src=e),b[e]=[c];var s=function(c,f){t.onerror=t.onload=null,clearTimeout(l);var d=b[e];if(delete b[e],t.parentNode&&t.parentNode.removeChild(t),d&&d.forEach((function(e){return e(f)})),c)return c(f)},l=setTimeout(s.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=s.bind(null,t.onerror),t.onload=s.bind(null,t.onload),r&&document.head.appendChild(t)}},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},n.p="/en/",n.gca=function(e){return e={17896441:"7918",31476475:"8952",37093706:"8672",40247295:"2102",45619582:"4235",47137878:"34",64570554:"1013",84995476:"1464","935f2afb":"53","3bbb0048":"122",da3e4625:"126",e798ed30:"139","0ce0cd0c":"164",d1258d46:"207","2ccc5d15":"286","73754ea4":"306",d6e23382:"370","4dfb9136":"376","56f0943a":"400",a8d6d0df:"459","33d21e66":"555","0b2baf8d":"578","885ea281":"756","9875289a":"776",aff05561:"778",ab83aed5:"844",f38bb537:"882","13cbcf42":"891","8d9e9f31":"918","06b3902f":"971","1cc3cec9":"982","45cfe9de":"1034",ccc49370:"1080","25c9e43b":"1110","37b35207":"1138",a5bce4c8:"1140","92a26795":"1167","75662a14":"1189","4b62531f":"1198",a0438807:"1217",a76029b2:"1242","310215f2":"1288","53424fa2":"1389","635b1501":"1439","429c4dc1":"1463",b6baf6db:"1508","0fe29b8b":"1522",e4892bae:"1523",d2788ed0:"1568",d972a4f7:"1592",bc2d3638:"1625","4275b1b4":"1646",f345d982:"1723","0807d87e":"1759",c8d6b1e1:"1769",b3c5e4a8:"1772",ad3ca912:"1782",b55bea4d:"1804","30896c49":"1855",f0fffb88:"1892",ce421672:"1956","472c5008":"1997","88fb3acf":"2028",a031f49a:"2062","160ef12c":"2089","6977494c":"2121","39f00e4b":"2171",f1be0c77:"2177",cf87da48:"2187","795362f1":"2198",b37fd7e5:"2209","9bdd22eb":"2253","54b4ef9f":"2343","81de59db":"2350",ea94ad11:"2361","01f79f8c":"2396","758bf183":"2399","9731ed60":"2471",b15063cb:"2515","85cde48e":"2518","814f3328":"2535",f70958ec:"2560","062163c2":"2562","399acd3b":"2581","78b2a8f7":"2606","671093e8":"2699","0e79e7ad":"2718","1d960048":"2720","5f66efcf":"2727","9c4c7084":"2786",db8591c4:"2841","2ed37b6a":"2867","91b3e92a":"2872","3fed8774":"2895","7c66270b":"2903","2f375d82":"2930","34d09112":"2945","13548b0e":"2965","34348c78":"3058","1f391b9e":"3085",a6aa9e1f:"3089",b4676ab6:"3132","1b7492fb":"3169","07e5f9de":"3196","9bb822d1":"3222",e7fae69c:"3241","5ac1295d":"3251",aecb7363:"3293","61b55826":"3294",dda2dc85:"3309","4d6bfb64":"3314","9c86b1c3":"3390","926f1670":"3392",f9676efd:"3440","1a9cc015":"3482",ccbc8b8d:"3491","5ca33a59":"3590","9e4087bc":"3608",b87d287e:"3642",f6b55758:"3764",f6cbeee1:"3836","0a576633":"3859","9e8d335c":"3908","305b5d7f":"3921",ba658ce7:"3957",f6b5ca96:"3967","01a85c17":"4013","47e22724":"4059",cfbb06ca:"4118","8272fa28":"4120",f14aef11:"4148","3375c64a":"4172",fcb13733:"4174","6979be4b":"4175","977aef28":"4185","91629bdd":"4331",fba6c282:"4364","5476afdc":"4404","5d2f6f05":"4406","9d4880e7":"4465","50572ff0":"4477","1f416af2":"4504","4e6e83f6":"4505","241855ee":"4517","26b7391c":"4566","65cfe503":"4610","60a5cd7b":"4639",b8e8b238:"4647",fc7855f2:"4661","3e90d8e2":"4739",cbdd9883:"4754","8f6e2a4a":"4760","2afe0a8a":"4871",e4ec0983:"4921","4a367eab":"5025",af993462:"5027","12c9458b":"5030","97524ec3":"5051","8c04f4a8":"5157","853d6eef":"5189","9cb9472a":"5209",e512dd15:"5222",bee5bae5:"5223","1e7664cb":"5307","9a6c8fee":"5354","06d7b024":"5391","3b2611af":"5396","7f86b971":"5403",e913dccc:"5419",f1b9a032:"5486",c9ff6b20:"5528","0b3060e8":"5551",cad8270c:"5594","01b2c389":"5611",b0f5cc57:"5643",d0594032:"5644","6b5a19b3":"5646","3a255ca7":"5707",b2fdb119:"5712","69736b62":"5713","565638f3":"5714","80c593df":"5715","6cf2b940":"5717",d56e6f60:"5804","3ffa4b16":"5812",de6d5860:"5829","0c883a7d":"5833","463bdb2b":"5883","15e36259":"5903","90628bba":"5910",cdf592f9:"5937","179d1783":"5939","3093e60d":"5976","52baeca4":"5987","556925f6":"6033",f018e9c8:"6039",af87715e:"6045","717f403f":"6093",c9092f3a:"6099",a32ea49b:"6103","12bd9b04":"6104","237f2966":"6173","7e965016":"6262","5829324a":"6270",c68b8091:"6281",b1f38343:"6282",d433dfcf:"6291","957623b6":"6323","21c47bc4":"6336","989109fe":"6338",fbb33262:"6407","91a1c8ba":"6441","33375e22":"6447","151e2d93":"6450",d738818b:"6463",c2d6a9b4:"6563","9c1bb23d":"6581",d074df72:"6595","25b591c6":"6671","36b7cc20":"6739","775489ce":"6741","7187f4a4":"6754","5f33186c":"6794",feaf451d:"6858",dc295080:"6928",bc69d3a5:"6950","1bf6fa0b":"6987",e7b22fe0:"6996","4b628775":"7042","9c0314cd":"7241",d661796d:"7269","6f928cfb":"7309",ecc5a1b0:"7401","28a07f2a":"7431","86e87435":"7463",b0957ed4:"7515",b5447c11:"7529","2f00e57f":"7537",a80a8174:"7543",d4d43266:"7605","5781ece6":"7646",f8858d8f:"7679",dfc50f4d:"7704",b85074aa:"7745","5c46e75c":"7789","0b2276d6":"7827",aff6dcac:"7835",da3b0d6f:"7847","510d4385":"7852","9b75507c":"7913","1a4e3797":"7920","4c36f7cd":"7929","274aea74":"8021","76261f3e":"8026",a118159e:"8051",f3703b84:"8143","90faf82c":"8157","97c29f4a":"8169","35cbd37a":"8177","80b02888":"8190","4fcb4d83":"8311",f16045ef:"8358","8dc5c5c4":"8370",d0ac207d:"8393",c0182217:"8416","1cbcb4a6":"8507",c0c5927d:"8602","6875c492":"8610",afdec8d7:"8643","06669c61":"8647","316bdc3e":"8657",f5cc76a7:"8666","4e7c458f":"8676","82e1f3b6":"8685","7fc30b75":"8741",b4962e4d:"8780","50dabb5d":"8821",aa9d8acd:"8824","8eddbe9d":"8853",cdcd2ab4:"8888","88eff35d":"8893",edff5018:"8987","60e5d4c0":"8995",c77305fc:"9056","9bcf082a":"9120",b0db3eed:"9226",ed6c4718:"9241","0c751418":"9260","6e9edefd":"9319",d0338a12:"9354","75da09e2":"9372",bfdfd19f:"9406","1107bf75":"9416",e4b9cb97:"9454","4c69d450":"9489","8745b4bf":"9504","1be78505":"9514",b5003c20:"9539","9abfe212":"9578","29abe6b0":"9643",d7623852:"9645",e897118b:"9665","0107a9e4":"9702","7edbe84c":"9723","525276eb":"9756","57a11582":"9825",d90bda9a:"9847",e218c249:"9880",e7aa5905:"9936",ccdc331a:"9958"}[e]||e,n.p+n.u(e)},function(){var e={1303:0,532:0};n.f.j=function(c,f){var b=n.o(e,c)?e[c]:void 0;if(0!==b)if(b)f.push(b[2]);else if(/^(1303|532)$/.test(c))e[c]=0;else{var d=new Promise((function(f,d){b=e[c]=[f,d]}));f.push(b[2]=d);var a=n.p+n.u(c),t=new Error;n.l(a,(function(f){if(n.o(e,c)&&(0!==(b=e[c])&&(e[c]=void 0),b)){var d=f&&("load"===f.type?"missing":f.type),a=f&&f.target&&f.target.src;t.message="Loading chunk "+c+" failed.\n("+d+": "+a+")",t.name="ChunkLoadError",t.type=d,t.request=a,b[1](t)}}),"chunk-"+c,c)}},n.O.j=function(c){return 0===e[c]};var c=function(c,f){var b,d,a=f[0],t=f[1],r=f[2],o=0;if(a.some((function(c){return 0!==e[c]}))){for(b in t)n.o(t,b)&&(n.m[b]=t[b]);if(r)var u=r(n)}for(c&&c(f);o<a.length;o++)d=a[o],n.o(e,d)&&e[d]&&e[d][0](),e[d]=0;return n.O(u)},f=self.webpackChunkwebsite=self.webpackChunkwebsite||[];f.forEach(c.bind(null,0)),f.push=c.bind(null,f.push.bind(f))}()}(); \ No newline at end of file diff --git a/en/blog/archive/index.html b/en/blog/archive/index.html index adf6fb18..7184afa3 100644 --- a/en/blog/archive/index.html +++ b/en/blog/archive/index.html @@ -14,13 +14,13 @@ <link rel="alternate" type="application/atom+xml" href="/en/blog/atom.xml" title="XCharts Atom Feed"> <link rel="alternate" type="application/rss+xml" href="/en/newsletter/rss.xml" title="XCharts RSS Feed"> <link rel="alternate" type="application/atom+xml" href="/en/newsletter/atom.xml" title="XCharts Atom Feed"><title data-react-helmet="true">Archive | XCharts - - + + - - + + \ No newline at end of file diff --git a/en/blog/blog-en-1/index.html b/en/blog/blog-en-1/index.html index 3a04e8a4..fcf32def 100644 --- a/en/blog/blog-en-1/index.html +++ b/en/blog/blog-en-1/index.html @@ -14,13 +14,13 @@ Blog-en-1 | XCharts - - + +
    - - + + \ No newline at end of file diff --git a/en/blog/index.html b/en/blog/index.html index 83861940..78742927 100644 --- a/en/blog/index.html +++ b/en/blog/index.html @@ -14,13 +14,13 @@ XCharts Blogs | XCharts - - + +

    XCharts Blogs

    Subscribe to our updates

    Get the latest news from the XCharts community in a monthly email: Groundbreaking releases, upcoming events, new insights, community updates, and more!

    We'll never share your information with anyone else and you can opt out at any time.
    - - + + \ No newline at end of file diff --git a/en/blog/tags/advanced/index.html b/en/blog/tags/advanced/index.html index aa998948..8e5641e3 100644 --- a/en/blog/tags/advanced/index.html +++ b/en/blog/tags/advanced/index.html @@ -14,13 +14,13 @@ XCharts - - + +

    XCharts Blogs

    Subscribe to our updates

    Get the latest news from the XCharts community in a monthly email: Groundbreaking releases, upcoming events, new insights, community updates, and more!

    We'll never share your information with anyone else and you can opt out at any time.
    - - + + \ No newline at end of file diff --git a/en/blog/tags/beginner/index.html b/en/blog/tags/beginner/index.html index 8f5e4f7c..7fce2461 100644 --- a/en/blog/tags/beginner/index.html +++ b/en/blog/tags/beginner/index.html @@ -14,13 +14,13 @@ XCharts - - + +

    XCharts Blogs

    Subscribe to our updates

    Get the latest news from the XCharts community in a monthly email: Groundbreaking releases, upcoming events, new insights, community updates, and more!

    We'll never share your information with anyone else and you can opt out at any time.
    - - + + \ No newline at end of file diff --git a/en/blog/tags/image-processing/index.html b/en/blog/tags/image-processing/index.html index 63452c7f..520e85dd 100644 --- a/en/blog/tags/image-processing/index.html +++ b/en/blog/tags/image-processing/index.html @@ -14,13 +14,13 @@ XCharts - - + +

    XCharts Blogs

    Subscribe to our updates

    Get the latest news from the XCharts community in a monthly email: Groundbreaking releases, upcoming events, new insights, community updates, and more!

    We'll never share your information with anyone else and you can opt out at any time.
    - - + + \ No newline at end of file diff --git a/en/blog/tags/index.html b/en/blog/tags/index.html index a9342676..a7c5f4e7 100644 --- a/en/blog/tags/index.html +++ b/en/blog/tags/index.html @@ -14,13 +14,13 @@ Tags | XCharts - - + + - - + + \ No newline at end of file diff --git a/en/blog/tags/tutorial/index.html b/en/blog/tags/tutorial/index.html index c5a27635..44ea184d 100644 --- a/en/blog/tags/tutorial/index.html +++ b/en/blog/tags/tutorial/index.html @@ -14,13 +14,13 @@ XCharts - - + +

    XCharts Blogs

    Subscribe to our updates

    Get the latest news from the XCharts community in a monthly email: Groundbreaking releases, upcoming events, new insights, community updates, and more!

    We'll never share your information with anyone else and you can opt out at any time.
    - - + + \ No newline at end of file diff --git a/en/community/index.html b/en/community/index.html index 29713268..8e66c715 100644 --- a/en/community/index.html +++ b/en/community/index.html @@ -14,13 +14,13 @@ XCharts Developer Community | XCharts - - + +

    XCharts Developer Community

    Join our community to sharpen your programming skills and interact with other XCharts developers across the world!

    - - + + \ No newline at end of file diff --git a/en/contact-us/index.html b/en/contact-us/index.html index 0b982195..1d939436 100644 --- a/en/contact-us/index.html +++ b/en/contact-us/index.html @@ -14,13 +14,13 @@ XCharts - - + + - - + + \ No newline at end of file diff --git a/en/docs/about/index.html b/en/docs/about/index.html index 79f26fe6..92a9800c 100644 --- a/en/docs/about/index.html +++ b/en/docs/about/index.html @@ -14,8 +14,8 @@ 关于XCharts | XCharts - - + +
    @@ -31,7 +31,7 @@ XCharts只支持在Unity平台使用。理论上任何支持UGUIUnity版本都能运行XCharts

  • 锯齿怎么解决?支持多大量级的数据?
    XCharts是基于UGUI实现的,所以UGUI中碰到的问题,在XCharts中也会存在。比如锯齿问题,比如Mesh顶点数超65535的问题。这两个问题的解决可参考问答16问答27
    由于Mesh65535顶点数的限制,目前XCharts的单条Line支持约2万的数据量,当然开启采样可以支持更多数据的绘制,但同时也会更消耗CPU。

  • 日志

    Licenses

    • MIT License
    • 可免费商用,可二次开发。
    • 扩展图表和高级功能部分需购买使用授权。

    订阅

    • XCharts核心库是开源的,可免费使用的。在此基础上,我们也提供多种订阅服务以满足不同用户的需求,订阅详情☞ 请看这里
    • 订阅不是必须的,不影响XCharts的核心功能使用。
    • 订阅是按年付费,订阅到期后,不要求必须续订,但中断订阅期间无法享受技术更新和支持等服务。

    其他

    • 邮箱:monitor1394@gmail.com
    • QQ群:XCharts交流群(202030963
    • VIP群:XCharts VIP群(867291970
    • 捐助、合作、订阅和技术支持:☞ 请看这里
    - - + + \ No newline at end of file diff --git a/en/docs/api/index.html b/en/docs/api/index.html index be97187a..7e0c2212 100644 --- a/en/docs/api/index.html +++ b/en/docs/api/index.html @@ -14,13 +14,470 @@ API手册 | XCharts - - + +
    -
    Version: v3.12.0

    API手册

    所有类

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    API版本描述
    GetValueAngle()public float GetValueAngle(double value)
    GetValueAngle()public float GetValueAngle(float value)
    SetDefaultValue()public override void SetDefaultValue()

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    AngleAxisTheme()public AngleAxisTheme(ThemeType theme) : base(theme) { }

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn,AnimationFadeOut,AnimationChange,AnimationAddition,AnimationHiding,AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    API版本描述
    End()public void End()
    结束动画。
    GetIndexDelay()public float GetIndexDelay(int dataIndex)
    获取动画延迟。
    Init()public bool Init(float curr, float dest, int totalPointIndex)
    初始化动画。
    IsFinish()public bool IsFinish()
    动画是否结束。
    IsInDelay()public bool IsInDelay()
    动画是否在延迟中。
    IsInIndexDelay()public bool IsInIndexDelay(int dataIndex)
    动画是否在索引延迟中。
    Pause()public void Pause()
    暂停动画。
    Reset()public void Reset()
    重置动画。
    Resume()public void Resume()
    恢复动画。
    Start()public void Start(bool reset = true)
    开始动画。

    AnimationInfoContext

    class in XCharts.Runtime

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    API版本描述
    GetOffset()public float GetOffset()
    GetOffset()public float GetOffset(float total)
    GetRadius()public float GetRadius(float radius)
    GetWidth()public float GetWidth(float width)

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    API版本描述
    Addition()public void Addition()
    开始数据新增动画。
    CanCheckInteract()public bool CanCheckInteract()
    CheckDetailBreak()public bool CheckDetailBreak(float detail)
    CheckDetailBreak()public bool CheckDetailBreak(Vector3 pos, bool isYAxis)
    CheckProgress()public void CheckProgress()
    CheckProgress()public void CheckProgress(double total)
    CheckSymbol()public void CheckSymbol(float dest)
    FadeIn()public void FadeIn()
    开始渐入动画。
    FadeOut()public void FadeOut()
    开始渐出动画。
    GetAdditionDuration()public float GetAdditionDuration()
    GetChangeDuration()public float GetChangeDuration()
    GetCurrDetail()public float GetCurrDetail()
    GetCurrIndex()public int GetCurrIndex()
    GetCurrRate()public float GetCurrRate()
    GetInteractionDuration()public float GetInteractionDuration()
    GetInteractionRadius()public float GetInteractionRadius(float radius)
    GetSysmbolSize()public float GetSysmbolSize(float dest)
    HasFadeOut()public bool HasFadeOut()
    InitProgress()public void InitProgress(float curr, float dest)
    初始化动画配置。
    InitProgress()public void InitProgress(List<Vector3> paths, bool isY)
    初始化动画配置。
    IsDataAnimation()public bool IsDataAnimation()
    是否为数据动画。BottomToTop和InsideOut类型的为数据动画。
    IsEnd()public bool IsEnd()
    IsFadeIn()public bool IsFadeIn()
    IsFadeOut()public bool IsFadeOut()
    IsFinish()public bool IsFinish()
    IsInDelay()public bool IsInDelay()
    IsSerieAnimation()public bool IsSerieAnimation()
    是否为系列动画。LeftToRight、AlongPath和Clockwise类型的为系列动画。
    Pause()public void Pause()
    暂停所有动画。
    Reset()public void Reset()
    Reset all animations.
    Restart()public void Restart()
    重启当前激活的动画。
    Resume()public void Resume()
    恢复所有动画。

    AnimationStyleHelper

    class in XCharts.Runtime

    API版本描述
    CheckDataAnimation()public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)
    GetAnimationPosition()public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip, ref float rate)
    UpdateAnimationType()public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType, bool enableSerieDataAnimation)
    UpdateSerieAnimation()public static void UpdateSerieAnimation(Serie serie)

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    区域填充样式。

    API版本描述
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 themeColor)

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Clone()public ArrowStyle Clone()
    Copy()public void Copy(ArrowStyle arrow)
    GetColor()public Color32 GetColor(Color32 defaultColor)

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis,ParallelAxis,RadiusAxis,SingleAxis,XAxis,XAxis3D,YAxis,YAxis3D,ZAxis3D

    直角坐标系的坐标轴组件。

    API版本描述
    AddData()public void AddData(string category)
    添加一个类目到类目数据列表
    AddIcon()public void AddIcon(Sprite icon)
    添加图标
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空类目数据
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public Axis Clone()
    Copy()public void Copy(Axis axis)
    GetAddedDataCount()public int GetAddedDataCount()
    获得添加过的历史数据总数
    GetCategoryPosition()public Vector3 GetCategoryPosition(int categoryIndex, int dataCount = 0)
    GetData()public string GetData(int index)
    获得指定索引的类目数据
    GetData()public string GetData(int index, DataZoom dataZoom)
    获得在dataZoom范围内指定索引的类目数据
    GetDistance()public float GetDistance(double value, float axisLength = 0)
    获得值在坐标轴上的距离
    GetIcon()public Sprite GetIcon(int index)
    GetLabelValue()public double GetLabelValue(int index)
    GetLastLabelValue()public double GetLastLabelValue()
    GetLogMaxIndex()public double GetLogMaxIndex()
    GetLogMinIndex()public double GetLogMinIndex()
    GetLogValue()public float GetLogValue(double value)
    GetValueLength()public float GetValueLength(double value, float axisLength)
    IsBottom()public bool IsBottom()
    IsCategory()public bool IsCategory()
    是否为类目轴。
    IsLeft()public bool IsLeft()
    IsLog()public bool IsLog()
    是否为对数轴。
    IsNeedShowLabel()public bool IsNeedShowLabel(int index, int total = 0)
    IsRight()public bool IsRight()
    IsTime()public bool IsTime()
    是否为时间轴。
    IsTop()public bool IsTop()
    IsValue()public bool IsValue()
    是否为数值轴。
    RemoveData()public void RemoveData(int dataIndex)
    ResetStatus()public override void ResetStatus()
    重置状态。
    SetComponentDirty()public override void SetComponentDirty()
    SetNeedUpdateFilterData()public void SetNeedUpdateFilterData()
    UpdateData()public void UpdateData(int index, string category)
    更新类目数据
    UpdateIcon()public void UpdateIcon(int index, Sprite icon)
    更新图标
    UpdateZeroOffset()public void UpdateZeroOffset(float axisLength)

    Axis3DHelper

    class in XCharts.Runtime

    API版本描述
    Get3DGridPosition()public static Vector3 Get3DGridPosition(GridCoord3D grid, XAxis3D xAxis, YAxis3D yAxis, double xValue, double yValue)
    Get3DGridPosition()public static Vector3 Get3DGridPosition(GridCoord3D grid, XAxis3D xAxis, YAxis3D yAxis, ZAxis3D zAxis, double xValue, double yValue, double zValue)
    GetLabelPosition()public static Vector3 GetLabelPosition(int i, Axis axis, Axis relativedAxis, AxisTheme theme, float scaleWid)

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    API版本描述
    Clone()public AxisAnimation Clone()
    Copy()public void Copy(AxisAnimation animation)

    AxisContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    AxisHandler<T>

    class in XCharts / 继承自: MainComponentHandler

    AxisHelper

    class in XCharts.Runtime

    API版本描述
    AdjustCircleLabelPos()public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    AdjustMinMaxValue()public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
    调整最大最小值
    AdjustRadiusAxisLabelPos()public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    GetAxisLineArrowOffset()public static float GetAxisLineArrowOffset(Axis axis)
    包含箭头偏移的轴线长度
    GetAxisPosition()public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)
    GetAxisPositionValue()public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)
    GetAxisPositionValue()public static double GetAxisPositionValue(GridCoord grid, Axis axis, Vector3 pos)
    GetAxisValueDistance()public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上相对起点的距离
    GetAxisValueLength()public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上对应的长度
    GetAxisValuePosition()public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上的坐标位置
    GetAxisValueSplitIndex()public static int GetAxisValueSplitIndex(Axis axis, double value, bool checkMaxCache, int totalSplitNumber = -1)
    获得数值value在坐标轴上对应的split索引
    GetAxisXOrY()public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)
    GetDataWidth()public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
    获得一个类目数据在坐标系中代表的宽度
    GetEachWidth()public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    GetScaleNumber()public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    获得分割线条数
    GetScaleWidth()public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
    获得分割段宽度
    GetSplitNumber()public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
    获得分割段数
    GetTotalSplitGridNum()public static int GetTotalSplitGridNum(Axis axis)
    获得分割网格个数,包含次刻度
    GetXAxisXOrY()public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)
    GetYAxisXOrY()public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)
    NeedShowSplit()public static bool NeedShowSplit(Axis axis)

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    Clone()public new AxisLabel Clone()
    Copy()public void Copy(AxisLabel axisLabel)
    GetFormatterContent()public override string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
    GetFormatterContent()public override string GetFormatterContent(int labelIndex, string category)
    IsNeedShowLabel()public bool IsNeedShowLabel(int index, int total)
    SetRelatedText()public void SetRelatedText(ChartText txt, float labelWidth)

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    API版本描述
    Clone()public AxisLine Clone()
    Copy()public void Copy(AxisLine axisLine)

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisMinorSplitLine Clone()
    Copy()public void Copy(AxisMinorSplitLine splitLine)

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisMinorTick Clone()
    Copy()public void Copy(AxisMinorTick axisTick)

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    API版本描述
    Clone()public AxisName Clone()
    Copy()public void Copy(AxisName axisName)

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    API版本描述
    Clone()public AxisSplitArea Clone()
    Copy()public void Copy(AxisSplitArea splitArea)
    GetColor()public Color32 GetColor(int index, BaseAxisTheme theme)

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisSplitLine Clone()
    Copy()public void Copy(AxisSplitLine splitLine)

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    AxisTheme()public AxisTheme(ThemeType theme) : base(theme) { }

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    API版本描述
    Clone()public AxisTick Clone()
    Copy()public void Copy(AxisTick axisTick)

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    Bar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Bar ConvertSerie(Serie serie)

    BarChart

    class in XCharts.Runtime / 继承自: BaseChart

    柱状图(或称条形图)是一种通过柱形的高度(横向的情况下则是宽度)来表现数据大小的一种常用图表类型。

    API版本描述
    DefaultBarChart()public void DefaultBarChart()
    默认条形图。
    DefaultCapsuleBarChart()public void DefaultCapsuleBarChart()
    默认胶囊条形图。
    DefaultCapsuleColumnChart()public void DefaultCapsuleColumnChart()
    胶囊柱状图。
    DefaultGroupedBarChart()public void DefaultGroupedBarChart()
    默认分组条形图。
    DefaultGroupedColumnChart()public void DefaultGroupedColumnChart()
    默认分组柱状图。
    DefaultPercentBarChart()public void DefaultPercentBarChart()
    默认百分比条形图。
    DefaultPercentColumnChart()public void DefaultPercentColumnChart()
    默认百分比柱状图。
    DefaultStackedBarChart()public void DefaultStackedBarChart()
    默认堆叠条形图。
    DefaultStackedColumnChart()public void DefaultStackedColumnChart()
    默认堆叠分组柱状图。
    DefaultZebraBarChart()public void DefaultZebraBarChart()
    默认斑马条形图。
    DefaultZebraColumnChart()public void DefaultZebraColumnChart()
    斑马柱状图。

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme,RadiusAxisTheme,AngleAxisTheme,PolarAxisTheme,RadarAxisTheme

    API版本描述
    BaseAxisTheme()public BaseAxisTheme(ThemeType theme) : base(theme)
    Copy()public void Copy(BaseAxisTheme theme)

    BaseChart

    class in XCharts.Runtime / 继承自: BaseGraph,ISerializationCallbackReceiver / 子类: BarChart,CandlestickChart,HeatmapChart,LineChart,ParallelChart,PieChart,PolarChart,RadarChart,RingChart,ScatterChart,SimplifiedBarChart,SimplifiedCandlestickChart,SimplifiedLineChart

    API版本描述
    onAxisPointerValueChangedpublic Action<Axis, double> onAxisPointerValueChanged
    坐标轴变更数据索引时回调。参数:axis, dataIndex/dataValue
    onDrawpublic Action<VertexHelper> onDraw
    自定义绘制回调。在绘制Serie前调用。
    onDrawAfterSeriepublic Action<VertexHelper, Serie> onDrawAfterSerie
    自定义Serie绘制回调。在每个Serie绘制完后调用。
    onDrawBeforeSeriepublic Action<VertexHelper, Serie> onDrawBeforeSerie
    自定义Serie绘制回调。在每个Serie绘制完前调用。
    onDrawToppublic Action<VertexHelper> onDrawTop
    自定义Top层绘制回调。在绘制Tooltip前调用。
    onDrawUpperpublic Action<VertexHelper> onDrawUpper
    自定义Upper层绘制回调。在绘制Tooltip前调用。
    onInitpublic Action onInit
    图表的初始化完成回调。
    onLegendClickpublic Action<Legend, int, string, bool> onLegendClick
    点击图例按钮回调。参数:legendIndex, legendName, show
    onLegendEnterpublic Action<Legend, int, string> onLegendEnter
    鼠标进入图例回调。参数:legendIndex, legendName
    onLegendExitpublic Action<Legend, int, string> onLegendExit
    鼠标退出图例回调。参数:legendIndex, legendName
    onPointerClickBarpublic Action<PointerEventData, int> onPointerClickBar
    点击柱形图柱条回调。参数:eventData, dataIndex
    onPointerClickPiepublic Action<PointerEventData, int, int> onPointerClickPie
    点击饼图区域回调。参数:PointerEventData,SerieIndex,SerieDataIndex
    onPointerEnterPiepublic Action<int, int> onPointerEnterPie
    鼠标进入和离开饼图区域回调,SerieDataIndex为-1时表示离开。参数:PointerEventData,SerieIndex,SerieDataIndex
    onSerieClickv3.6.0public Action<SerieEventData> onSerieClick
    鼠标点击Serie回调。
    onSerieDownv3.6.0public Action<SerieEventData> onSerieDown
    鼠标按下Serie回调。
    onSerieEnterv3.6.0public Action<SerieEventData> onSerieEnter
    鼠标进入Serie回调。
    onSerieExitv3.6.0public Action<SerieEventData> onSerieExit
    鼠标离开Serie回调。
    onUpdatepublic Action onUpdate
    图表的Update回调。
    AddChartComponent()public MainComponent AddChartComponent(Type type)
    AddChartComponent<T>()public T AddChartComponent<T>() where T : MainComponent
    AddChartComponentWhenNoExist<T>()public T AddChartComponentWhenNoExist<T>() where T : MainComponent
    AddData()public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
    添加一个数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(string serieName, double data, string dataName = null, string dataId = null)
    If serieName doesn't exist in legend,will be add to legend.
    AddData()public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddLink()public SerieDataLink AddLink(int serieIndex, string sourceId, string targetId, double value = 0)
    添加一个关系图的关系数据。
    AddSerie<T>()public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie
    AddXAxisData()public void AddXAxisData(string category, int xAxisIndex = 0)
    添加一个类目数据到指定的x轴。
    AddXAxisIcon()public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
    添加一个图标到指定的x轴。
    AddYAxisData()public void AddYAxisData(string category, int yAxisIndex = 0)
    添加一个类目数据到指定的y轴。
    AddYAxisIcon()public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
    添加一个图标到指定的y轴。
    AnimationEnable()public void AnimationEnable(bool flag)
    是否启用Serie动画。
    AnimationFadeIn()public void AnimationFadeIn(bool reset = true)
    开始所有Serie的渐入动画。
    AnimationFadeOut()public void AnimationFadeOut()
    开始所有Serie的渐出动画。
    AnimationPause()public void AnimationPause()
    暂停所有Serie的动画。
    AnimationReset()public void AnimationReset()
    重置所有Serie的动画。
    AnimationResume()public void AnimationResume()
    继续所有Serie的动画。
    CanAddChartComponent()public bool CanAddChartComponent(Type type)
    CanAddSerie()public bool CanAddSerie(Type type)
    CanAddSerie<T>()public bool CanAddSerie<T>() where T : Serie
    CancelTooltip()v3.7.0public void CancelTooltip()
    取消Tooltip.
    CanMultipleComponent()public bool CanMultipleComponent(Type type)
    ClampInChart()public void ClampInChart(ref Vector3 pos)
    ClampInGrid()public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)
    ClearComponentData()v3.4.0public virtual void ClearComponentData()
    清空所有组件的数据。
    ClearData()public virtual void ClearData()
    清空所有组件和Serie的数据。注意:Serie只是清空数据,不会移除Serie。
    ClearSerieData()v3.4.0public virtual void ClearSerieData()
    清空所有serie的数据。
    ClearSerieLinks()v3.10.0public virtual void ClearSerieLinks()
    清空所有serie的link数据。
    ClickLegendButton()public void ClickLegendButton(int legendIndex, string legendName, bool show)
    点击图例按钮
    ConvertSerie()public bool ConvertSerie(Serie serie, Type type)
    ConvertSerie<T>()public bool ConvertSerie<T>(Serie serie) where T : Serie
    ConvertXYAxis()public void ConvertXYAxis(int index)
    转换X轴和Y轴的配置
    EnsureChartComponent<T>()v3.6.0public T EnsureChartComponent<T>() where T : MainComponent
    确保图表有该组件,如果没有则添加。注意:有可能添加不成功。
    GenerateDefaultSerieName()public string GenerateDefaultSerieName()
    GetAllSerieDataCount()public int GetAllSerieDataCount()
    GetChartBackgroundColor()public Color32 GetChartBackgroundColor()
    GetChartComponent<T>()public T GetChartComponent<T>(int index = 0) where T : MainComponent
    GetChartComponentNum()public int GetChartComponentNum(Type type)
    GetChartComponentNum<T>()public int GetChartComponentNum<T>() where T : MainComponent
    GetChartComponents<T>()public List<MainComponent> GetChartComponents<T>() where T : MainComponent
    GetData()public double GetData(int serieIndex, int dataIndex, int dimension = 1)
    GetData()public double GetData(string serieName, int dataIndex, int dimension = 1)
    GetDataZoomOfAxis()public DataZoom GetDataZoomOfAxis(Axis axis)
    GetDataZoomOfSerie()public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)
    GetGrid()public GridCoord GetGrid(Vector2 local)
    GetGridOfDataZoom()public GridCoord GetGridOfDataZoom(DataZoom dataZoom)
    GetItemColor()public Color32 GetItemColor(Serie serie)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)
    GetLegendRealShowNameColor()public Color32 GetLegendRealShowNameColor(string name)
    GetLegendRealShowNameIndex()public int GetLegendRealShowNameIndex(string name)
    GetMarkColor()v3.4.0public Color32 GetMarkColor(Serie serie, SerieData serieData)
    获得Serie的标识颜色。
    GetOrAddChartComponent<T>()public T GetOrAddChartComponent<T>() where T : MainComponent
    GetPainter()public Painter GetPainter(int index)
    GetSerie()public Serie GetSerie(int serieIndex)
    GetSerie()public Serie GetSerie(string serieName)
    GetSerie<T>()public T GetSerie<T>() where T : Serie
    GetSerie<T>()public T GetSerie<T>(int serieIndex) where T : Serie
    GetSerieBarGap<T>()public float GetSerieBarGap<T>() where T : Serie
    GetSerieBarRealCount<T>()public int GetSerieBarRealCount<T>() where T : Serie
    GetSerieIndexIfStack<T>()public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie
    GetSerieSameStackTotalValue<T>()public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie
    GetSeriesMinMaxValue()public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    GetSerieTotalGap<T>()public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie
    GetSerieTotalWidth<T>()public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie
    GetTitlePosition()public Vector3 GetTitlePosition(Title title)
    GetVisualMapOfSerie()public VisualMap GetVisualMapOfSerie(Serie serie)
    GetXDataZoomOfSerie()public DataZoom GetXDataZoomOfSerie(Serie serie)
    GetXLerpColor()public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    GetYLerpColor()public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    HasChartComponent()public bool HasChartComponent(Type type)
    HasChartComponent<T>()public bool HasChartComponent<T>()
    HasSerie()public bool HasSerie(Type type)
    HasSerie<T>()public bool HasSerie<T>() where T : Serie
    Init()public void Init(bool defaultChart = true)
    InitAxisRuntimeData()public virtual void InitAxisRuntimeData(Axis axis) { }
    InsertSerie()public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)
    InsertSerie<T>()public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie
    Internal_CheckAnimation()public void Internal_CheckAnimation()
    IsActiveByLegend()public virtual bool IsActiveByLegend(string legendName)
    获得指定图例名字的系列是否显示。
    IsAllAxisCategory()public bool IsAllAxisCategory()
    纯类目轴。
    IsAllAxisValue()public bool IsAllAxisValue()
    纯数值坐标轴(数值轴或对数轴)。
    IsInAnyGrid()public bool IsInAnyGrid(Vector2 local)
    IsInChart()public bool IsInChart(float x, float y)
    IsInChart()public bool IsInChart(Vector2 local)
    坐标是否在图表范围内
    IsSerieName()public bool IsSerieName(string name)
    MoveDownSerie()public bool MoveDownSerie(int serieIndex)
    MoveUpSerie()public bool MoveUpSerie(int serieIndex)
    OnAfterDeserialize()public void OnAfterDeserialize()
    OnBeforeSerialize()public void OnBeforeSerialize()
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDataZoomRangeChanged()public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public override void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public override void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public override void OnPointerUp(PointerEventData eventData)
    OnScroll()public override void OnScroll(PointerEventData eventData)
    RefreshBasePainter()public void RefreshBasePainter()
    RefreshChart()public void RefreshChart()
    在下一帧刷新整个图表。
    RefreshChart()public void RefreshChart(int serieIndex)
    在下一帧刷新图表的指定serie。
    RefreshChart()public void RefreshChart(Serie serie)
    在下一帧刷新图表的指定serie。
    RefreshDataZoom()public void RefreshDataZoom()
    在下一帧刷新DataZoom
    RefreshGraph()public override void RefreshGraph()
    RefreshPainter()public void RefreshPainter(int index)
    RefreshPainter()public void RefreshPainter(Serie serie)
    RefreshTopPainter()public void RefreshTopPainter()
    RefreshUpperPainter()public void RefreshUpperPainter()
    RemoveAllChartComponent()public void RemoveAllChartComponent()
    RemoveAllSerie()v3.2.0public virtual void RemoveAllSerie()
    移除所有的Serie。当确认只需要移除Serie时使用该接口,其他情况下一般用RemoveData()。
    RemoveChartComponent()public bool RemoveChartComponent(MainComponent component)
    RemoveChartComponent()public bool RemoveChartComponent(Type type, int index = 0)
    RemoveChartComponent<T>()public bool RemoveChartComponent<T>(int index = 0)
    RemoveChartComponents()public int RemoveChartComponents(Type type)
    RemoveChartComponents<T>()public int RemoveChartComponents<T>()
    RemoveData()public virtual void RemoveData()
    清空所有组件数据,并移除所有Serie。一般在图表重新初始化时使用。 注意:组件只清空数据部分,参数会保留不会被重置。
    RemoveData()public virtual void RemoveData(string serieName)
    清除指定系列名称的数据。
    RemoveSerie()public void RemoveSerie(int serieIndex)
    RemoveSerie()public void RemoveSerie(Serie serie)
    RemoveSerie()public void RemoveSerie(string serieName)
    RemoveSerie<T>()public void RemoveSerie<T>() where T : Serie
    ReplaceSerie()public bool ReplaceSerie(Serie oldSerie, Serie newSerie)
    ResetChartStatus()v3.10.0public void ResetChartStatus()
    重置图表状态。当设置某些参数后,由于动画影响,可能导致图表状态不正确,此时可以调用该接口重置图表状态。
    ResetDataIndex()public bool ResetDataIndex(int serieIndex)
    重置serie的数据项索引。避免数据项索引异常。
    SetBasePainterMaterial()public void SetBasePainterMaterial(Material material)
    设置Base Painter的材质球
    SetInsertDataToHead()v3.11.0public void SetInsertDataToHead(bool insertDataToHead)
    设置数据插入到头部。
    SetMaxCache()public void SetMaxCache(int maxCache)
    设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。
    SetPainterActive()public void SetPainterActive(int index, bool flag)
    SetSerieActive()public void SetSerieActive(int serieIndex, bool active)
    设置指定系列是否显示。
    SetSerieActive()public void SetSerieActive(Serie serie, bool active)
    SetSerieActive()public void SetSerieActive(string serieName, bool active)
    设置指定系列是否显示。
    SetSeriePainterMaterial()public void SetSeriePainterMaterial(Material material)
    设置Serie Painter的材质球
    SetTopPainterMaterial()public void SetTopPainterMaterial(Material material)
    设置Top Painter的材质球
    SetUpperPainterMaterial()public void SetUpperPainterMaterial(Material material)
    设置Upper Painter的材质球
    TriggerTooltip()v3.7.0public bool TriggerTooltip(int dataIndex, int serieIndex = 0)
    尝试触发指定数据项的Tooltip.
    TriggerTooltip()v3.7.0public bool TriggerTooltip(Vector3 localPosition)
    在指定的位置尝试触发Tooltip.
    TryAddChartComponent()public bool TryAddChartComponent(Type type)
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>() where T : MainComponent
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>(out T component) where T : MainComponent
    TryGetChartComponent<T>()public bool TryGetChartComponent<T>(out T component, int index = 0)
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateDataName()public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateDataName()public bool UpdateDataName(string serieName, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateLegendColor()public virtual void UpdateLegendColor(string legendName, bool active)
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。
    UpdateTheme()public void UpdateTheme(Theme theme)
    切换图表主题。
    UpdateXAxisData()public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
    更新X轴类目数据。
    UpdateXAxisIcon()public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
    更新X轴图标。
    UpdateYAxisData()public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
    更新Y轴类目数据。
    UpdateYAxisIcon()public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
    更新Y轴图标。

    BaseGraph

    class in XCharts.Runtime / 继承自: MaskableGraphic,IPointerDownHandler,IPointerUpHandler, / 子类: BaseChart,UIComponent

    API版本描述
    onBeginDragpublic Action<PointerEventData, BaseGraph> onBeginDrag
    鼠标开始拖拽回调。
    onDragpublic Action<PointerEventData, BaseGraph> onDrag
    鼠标拖拽回调。
    onEndDragpublic Action<PointerEventData, BaseGraph> onEndDrag
    鼠标结束拖拽回调。
    onPointerClickpublic Action<PointerEventData, BaseGraph> onPointerClick
    鼠标点击回调。
    onPointerDownpublic Action<PointerEventData, BaseGraph> onPointerDown
    鼠标按下回调。
    onPointerEnterpublic Action<PointerEventData, BaseGraph> onPointerEnter
    鼠标进入回调。
    onPointerExitpublic Action<PointerEventData, BaseGraph> onPointerExit
    鼠标退出回调。
    onPointerUppublic Action<PointerEventData, BaseGraph> onPointerUp
    鼠标弹起回调。
    onScrollpublic Action<PointerEventData, BaseGraph> onScroll
    鼠标滚动回调。
    CheckWarning()public string CheckWarning()
    检测警告信息。
    LocalPointToScreenPoint()v3.7.0public Vector2 LocalPointToScreenPoint(Vector2 localPoint)
    图表内坐标转屏幕坐标。
    LocalPointToWorldPoint()v3.7.0public Vector2 LocalPointToWorldPoint(Vector2 localPoint)
    图表内坐标转世界坐标。
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData)
    OnDrag()public virtual void OnDrag(PointerEventData eventData)
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData)
    OnScroll()public virtual void OnScroll(PointerEventData eventData)
    RebuildChartObject()public void RebuildChartObject()
    移除并重新创建所有图表的Object。
    RefreshAllComponent()public void RefreshAllComponent()
    RefreshGraph()public virtual void RefreshGraph()
    在下一帧刷新图形。
    SaveAsImage()public void SaveAsImage(string imageType = "png", string savePath = "")
    保存图表为图片。
    ScreenPointToChartPoint()public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)
    SetPainterDirty()public void SetPainterDirty()
    重新初始化Painter
    SetSize()public virtual void SetSize(float width, float height)
    设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform)

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine,AxisMinorSplitLine,AxisMinorTick,AxisSplitLine,AxisTick

    线条基础配置。

    API版本描述
    BaseLine()public BaseLine()
    BaseLine()public BaseLine(bool show) : base()
    Copy()public void Copy(BaseLine axisLine)
    GetColor()public Color32 GetColor(Color32 themeColor)
    GetLength()public float GetLength(float themeLength)
    GetType()public LineStyle.Type GetType(LineStyle.Type themeType)
    GetWidth()public float GetWidth(float themeWidth)

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer / 子类: EffectScatter,Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    API版本描述
    ClearComponentDirty()public static void ClearComponentDirty(ChildComponent component)
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearData()public virtual void ClearData() { }
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public static void ClearVerticesDirty(ChildComponent component)
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    IsComponentDirty()public static bool IsComponentDirty(ChildComponent component)
    IsVertsDirty()public static bool IsVertsDirty(ChildComponent component)
    OnAfterDeserialize()public virtual void OnAfterDeserialize()
    OnBeforeSerialize()public virtual void OnBeforeSerialize() { }
    OnDataUpdate()public virtual void OnDataUpdate() { }
    OnRemove()public virtual void OnRemove()
    RefreshLabel()public void RefreshLabel()
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetVerticesDirty()public virtual void SetVerticesDirty()

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    BorderStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    边框样式。

    API版本描述
    GetRuntimeBorderColor()public Color32 GetRuntimeBorderColor()
    GetRuntimeBorderWidth()public float GetRuntimeBorderWidth()
    GetRuntimeCornerRadius()public float[] GetRuntimeCornerRadius()

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    API版本描述
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    Candlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    CandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    蜡烛图,也叫K线图,用于描述证券、衍生品或货币的价格走势的一种金融图表样式。

    ChartCached

    class in XCharts.Runtime

    API版本描述
    ColorToDotStr()public static string ColorToDotStr(Color color)
    ColorToStr()public static string ColorToStr(Color color)
    FloatToStr()public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)
    GetSerieLabelName()public static string GetSerieLabelName(string prefix, int i, int j)
    GetString()public static string GetString(string prefix, int suffix)
    IntToStr()public static string IntToStr(int value, string numericFormatter = "")
    NumberToStr()public static string NumberToStr(double value, string formatter)

    ChartConst

    class in XCharts.Runtime

    ChartDrawer

    class in XCharts.Runtime

    ChartHelper

    class in XCharts.Runtime

    API版本描述
    ActiveAllObject()public static void ActiveAllObject(Transform parent, bool active, string match = null)
    AddIcon()public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)
    Cancat()public static string Cancat(string str1, int i)
    Cancat()public static string Cancat(string str1, string str2)
    ClearEventListener()public static void ClearEventListener(GameObject obj)
    CopyArray<T>()public static bool CopyArray<T>(T[] toList, T[] fromList)
    CopyList<T>()public static bool CopyList<T>(List<T> toList, List<T> fromList)
    DestoryGameObject()public static void DestoryGameObject(GameObject go)
    DestoryGameObject()public static void DestoryGameObject(Transform parent, string childName)
    DestoryGameObjectByMatch()public static void DestoryGameObjectByMatch(Transform parent, string containString)
    DestroyAllChildren()public static void DestroyAllChildren(Transform parent)
    EnsureComponent<T>()public static T EnsureComponent<T>(GameObject gameObject) where T : Component
    确保对象有指定的组件,如果没有则添加。
    EnsureComponent<T>()public static T EnsureComponent<T>(Transform transform) where T : Component
    确保对象有指定的组件,如果没有则添加。
    GetActualValue()public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBlurColor()public static Color32 GetBlurColor(Color32 color, float a = 0.3f)
    GetColor()public static Color32 GetColor(string hexColorStr)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetFullName()public static string GetFullName(Transform transform)
    GetHighlightColor()public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)
    GetLastValue()public static Vector3 GetLastValue(List<Vector3> list)
    GetMaxCeilRate()public static double GetMaxCeilRate(double value, double ceilRate)
    GetMaxDivisibleValue()public static double GetMaxDivisibleValue(double max, double ceilRate)
    GetMaxLogValue()public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetMinCeilRate()public static double GetMinCeilRate(double value, double ceilRate)
    GetMinDivisibleValue()public static double GetMinDivisibleValue(double min, double ceilRate)
    GetMinLogValue()public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(Transform transform) where T : Component
    GetPointList()public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetPosition()public static Vector3 GetPosition(Vector3 center, float angle, float radius)
    GetSelectColor()public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    HideAllObject()public static void HideAllObject(GameObject obj, string match = null)
    HideAllObject()public static void HideAllObject(Transform parent, string match = null)
    IsActiveByScale()public static bool IsActiveByScale(GameObject gameObject)
    IsActiveByScale()public static bool IsActiveByScale(Image image)
    IsActiveByScale()public static bool IsActiveByScale(Transform transform)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsColorAlphaZero()public static bool IsColorAlphaZero(Color color)
    IsEquals()public static bool IsEquals(double d1, double d2)
    IsEquals()public static bool IsEquals(float d1, float d2)
    IsIngore()public static bool IsIngore(Vector3 pos)
    IsInRect()public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)
    IsPointInQuadrilateral()public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    ParseFloatFromString()public static List<float> ParseFloatFromString(string jsonData)
    ParseStringFromString()public static List<string> ParseStringFromString(string jsonData)
    RemoveComponent<T>()public static void RemoveComponent<T>(GameObject gameObject)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
    SaveAsImage()public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")
    SetActive()public static bool SetActive(GameObject gameObject, bool active)
    SetActive()public static bool SetActive(Image image, bool active)
    SetActive()public static bool SetActive(Text text, bool active)
    SetActive()public static bool SetActive(Transform transform, bool active)
    通过设置scale实现是否显示,优化性能,减少GC
    SetBackground()public static void SetBackground(Image background, Background imageStyle)
    SetBackground()public static void SetBackground(Image background, ImageStyle imageStyle)
    SetColorOpacity()public static void SetColorOpacity(ref Color32 color, float opacity)

    ChartLabel

    class in XCharts.Runtime / 继承自: Image

    API版本描述
    GetHeight()public float GetHeight()
    GetPosition()public Vector3 GetPosition()
    GetTextHeight()public float GetTextHeight()
    GetTextWidth()public float GetTextWidth()
    GetWidth()public float GetWidth()
    IsActiveByScale()public bool IsActiveByScale()
    SetActive()public void SetActive(bool flag, bool force = false)
    SetIcon()public void SetIcon(Image image)
    SetIconActive()public void SetIconActive(bool flag)
    SetIconSize()public void SetIconSize(float width, float height)
    SetIconSprite()public void SetIconSprite(Sprite sprite)
    SetPadding()public void SetPadding(float[] padding)
    SetPosition()public void SetPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetRotate()public void SetRotate(float rotate)
    SetSize()public void SetSize(float width, float height)
    SetText()public bool SetText(string text)
    SetTextActive()public void SetTextActive(bool flag)
    SetTextColor()public void SetTextColor(Color color)
    SetTextPadding()public void SetTextPadding(TextPadding padding)
    SetTextRotate()public void SetTextRotate(float rotate)
    UpdateIcon()public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null, Color color = default(Color))

    ChartObject

    class in XCharts.Runtime

    API版本描述
    Destroy()public virtual void Destroy()

    ChartText

    class in XCharts.Runtime

    API版本描述
    ChartText()public ChartText()
    ChartText()public ChartText(GameObject textParent)
    GetColor()public Color GetColor()
    GetPreferredHeight()public float GetPreferredHeight()
    GetPreferredText()public string GetPreferredText(string content, string suffix, float maxWidth)
    GetPreferredWidth()public float GetPreferredWidth()
    GetPreferredWidth()public float GetPreferredWidth(string content)
    GetText()public string GetText()
    SetActive()public void SetActive(bool flag)
    SetAlignment()public void SetAlignment(TextAnchor alignment)
    SetColor()public void SetColor(Color color)
    SetFont()public void SetFont(Font font)
    SetFont()public void SetFont(TMP_FontAsset font)
    SetFontAndSizeAndStyle()public void SetFontAndSizeAndStyle(TextStyle textStyle, ComponentTheme theme)
    SetFontSize()public void SetFontSize(float fontSize)
    SetFontStyle()public void SetFontStyle(FontStyle fontStyle)
    SetLineSpacing()public void SetLineSpacing(float lineSpacing)
    SetLocalEulerAngles()public void SetLocalEulerAngles(Vector3 position)
    SetLocalPosition()public void SetLocalPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetSizeDelta()public void SetSizeDelta(Vector2 sizeDelta)
    SetText()public void SetText(string text)

    CheckHelper

    class in XCharts.Runtime

    API版本描述
    CheckChart()public static string CheckChart(BaseChart chart)
    CheckChart()public static string CheckChart(BaseGraph chart)

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle,AxisAnimation,AxisName,AxisSplitArea,AreaStyle,ArrowStyle,BaseLine,BorderStyle,IconStyle,ImageStyle,ItemStyle,Level,LevelStyle,LineArrow,LineStyle,Location,MLValue,MarqueeStyle,Padding,StageColor,SymbolStyle,TextLimit,TextStyle,CommentItem,CommentMarkStyle,LabelLine,LabelStyle,MarkAreaData,MarkLineData,StateStyle,VisualMapRange,ViewControl,UIComponentTheme,SerieData,SerieDataLink,ComponentTheme,SerieTheme,ThemeStyle

    API版本描述
    ClearComponentDirty()public static void ClearComponentDirty(ChildComponent component)
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public static void ClearVerticesDirty(ChildComponent component)
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    IsComponentDirty()public static bool IsComponentDirty(ChildComponent component)
    IsVertsDirty()public static bool IsVertsDirty(ChildComponent component)
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetVerticesDirty()public virtual void SetVerticesDirty()

    ColorUtil

    class in XCharts.Runtime

    API版本描述
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。

    Comment

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图表注解组件。

    API版本描述
    GetLabelStyle()public LabelStyle GetLabelStyle(int index)
    GetMarkStyle()public CommentMarkStyle GetMarkStyle(int index)
    OnChanged()public void OnChanged()
    参数变更时的回调处理。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    ComponentHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler, bool allowMultiple, int order = 3)
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler, int order = 3)

    ComponentHelper

    class in XCharts.Runtime

    API版本描述
    GetAngleAxis()public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)
    GetRadiusAxis()public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)
    GetXAxisOnZeroOffset()public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)
    GetYAxisOnZeroOffset()public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)
    IsAnyCategoryOfYAxis()public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme,DataZoomTheme,LegendTheme,SubTitleTheme,TitleTheme,TooltipTheme,VisualMapTheme

    API版本描述
    ComponentTheme()public ComponentTheme(ThemeType theme)
    Copy()public virtual void Copy(ComponentTheme theme)
    Reset()public virtual void Reset(ComponentTheme defaultTheme)

    CoordOptionsAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Contains<T>()public bool Contains<T>() where T : CoordSystem
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord,CalendarCoord,GridCoord,GridCoord3D,ParallelCoord,PolarCoord,SingleAxisCoord

    坐标系系统。

    DataHelper

    class in XCharts.Runtime

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    API版本描述
    GetBackgroundColor()public Color32 GetBackgroundColor(Color32 themeColor)
    GetBorderColor()public Color32 GetBorderColor(Color32 themeColor)
    GetFillerColor()public Color32 GetFillerColor(Color32 themeColor)
    IsContainsAxis()public bool IsContainsAxis(Axis axis)
    IsContainsXAxis()public bool IsContainsXAxis(int index)
    IsContainsYAxis()public bool IsContainsYAxis(int index)
    IsInEndZoom()public bool IsInEndZoom(Vector2 pos)
    给定的坐标是否在结束活动条触发区域内
    IsInMarqueeArea()public bool IsInMarqueeArea(SerieData serieData)
    IsInMarqueeArea()public bool IsInMarqueeArea(Vector2 pos)
    IsInSelectedZoom()public bool IsInSelectedZoom(int totalIndex, int index, bool invert)
    IsInSelectedZoom()public bool IsInSelectedZoom(Vector2 pos)
    给定的坐标是否在选中区域内
    IsInStartZoom()public bool IsInStartZoom(Vector2 pos)
    给定的坐标是否在开始活动条触发区域内
    IsInZoom()public bool IsInZoom(Vector2 pos)
    给定的坐标是否在缩放区域内
    SetDefaultValue()public override void SetDefaultValue()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    DataZoomContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    DataZoomHelper

    class in XCharts.Runtime

    API版本描述
    UpdateDataZoomRuntimeStartEndValue()public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)
    UpdateDataZoomRuntimeStartEndValue<T>()public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(DataZoomTheme theme)
    DataZoomTheme()public DataZoomTheme(ThemeType theme) : base(theme)

    DateTimeUtil

    class in XCharts.Runtime

    API版本描述
    GetDateTime()public static DateTime GetDateTime(double timestamp)
    GetDateTime()public static DateTime GetDateTime(int timestamp)
    GetDefaultDateTimeString()public static string GetDefaultDateTimeString(int timestamp, double range = 0)
    GetTimestamp()public static int GetTimestamp()
    GetTimestamp()public static int GetTimestamp(DateTime time)
    GetTimestamp()public static int GetTimestamp(string dateTime)

    DebugInfo

    class in XCharts.Runtime

    API版本描述
    Init()public void Init(BaseChart chart)
    Update()public void Update()

    DefaultAnimationAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler)
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler, bool enableSerieDataAddedAnimation)

    DefaultTooltipAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    DefaultTooltipAttribute()public DefaultTooltipAttribute(Tooltip.Type type, Tooltip.Trigger trigger)

    DefineSymbolsUtil

    class in XCharts.Runtime

    API版本描述
    AddGlobalDefine()public static void AddGlobalDefine(string symbol)
    RemoveGlobalDefine()public static void RemoveGlobalDefine(string symbol)

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    API版本描述
    EndLabelStyle()public EndLabelStyle()

    FormatterHelper

    class in XCharts.Runtime

    API版本描述
    NeedFormat()public static bool NeedFormat(string content)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string numericFormatter, double value)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string value)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(string content)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(StringBuilder sb)

    GraphData

    class in XCharts.Runtime

    数据结构-图。

    API版本描述
    AddEdge()public GraphEdge AddEdge(string nodeId1, string nodeId2, double value)
    AddNode()public GraphNode AddNode(string nodeId, string nodeName, int dataIndex, double value)
    BreadthFirstTraverse()public void BreadthFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
    Clear()public void Clear()
    DeepFirstTraverse()public void DeepFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
    EachNode()public void EachNode(System.Action<GraphNode> onEach)
    ExpandAllNodes()public void ExpandAllNodes(bool flag, int level = -1)
    ExpandNode()public void ExpandNode(string nodeId, bool flag)
    GetDepthNodes()public List<List<GraphNode>> GetDepthNodes()
    GetEdge()public GraphEdge GetEdge(string nodeId1, string nodeId2)
    GetExpandedNodesCount()public static int GetExpandedNodesCount(List<GraphNode> nodes)
    GetMaxDepth()public int GetMaxDepth()
    GetNode()public GraphNode GetNode(string nodeId)
    GetNodeDepth()// public int GetNodeDepth(GraphNode node)
    GetNodeDepth()// public void GetNodeDepth(GraphNode node, ref int depth, int recursiveCount = 0)
    GetNodeDepth()public int GetNodeDepth(GraphNode node, int recursiveCount = 0)
    GetNodesTotalValue()public static double GetNodesTotalValue(List<GraphNode> nodes)
    GetRootNodes()public List<GraphNode> GetRootNodes()
    GraphData()public GraphData(bool directed)
    IsAllNodeInZeroPosition()public bool IsAllNodeInZeroPosition()
    Refresh()public void Refresh()

    GraphEdge

    class in XCharts.Runtime

    图的边。

    API版本描述
    GraphEdge()public GraphEdge(GraphNode node1, GraphNode node2, double value)
    IsPointInEdge()public bool IsPointInEdge(Vector2 point)

    GraphNode

    class in XCharts.Runtime

    图的节点。

    API版本描述
    Expand()public void Expand(bool flag)
    GraphNode()public GraphNode(string id, string name, int dataIndex)
    IsAllInEdgesCollapsed()public bool IsAllInEdgesCollapsed()
    IsAnyInEdgesExpanded()public bool IsAnyInEdgesExpanded()
    ToString()public override string ToString()

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    BoundaryPoint()public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref List<Vector3> point)
    给定的线段和Grid边界的交点
    BoundaryPoint()public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref Vector3 point)
    给定的线段和Grid边界的交点
    Clamp()v3.7.0public void Clamp(ref Vector3 pos)
    将位置限制在网格内。
    ClampX()v3.7.0public void ClampX(ref Vector3 pos)
    将位置的X限制在网格内。
    ClampY()v3.7.0public void ClampY(ref Vector3 pos)
    将位置的Y限制在网格内。
    Contains()public bool Contains(float x, float y)
    给定的位置是否在网格内。
    Contains()public bool Contains(Vector3 pos)
    给定的位置是否在网格内。
    Contains()v3.7.0public bool Contains(Vector3 pos, bool isYAxis)
    给定的位置是否在网格内。
    ContainsX()v3.7.0public bool ContainsX(float x)
    给定的x是否在网格内。
    ContainsY()v3.7.0public bool ContainsY(float y)
    给定的y是否在网格内。
    IsPointerEnter()public bool IsPointerEnter()
    指针是否在网格内。
    NotAnyIntersect()v3.10.0public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
    判断给定的线段是否与Grid边界是否完全不会相交。
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridCoord3D

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    v3.11.0 开始支持

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    Clamp()public void Clamp(ref Vector3 pos)
    将位置限制在网格内。
    Contains()public bool Contains(Vector3 pos)
    给定的位置是否在网格内。
    IsLeft()public bool IsLeft()
    The opening of the coordinate system faces to the left. 坐标系开口朝向左边。
    IsPointerEnter()public bool IsPointerEnter()
    指针是否在网格内。
    NotAnyIntersect()public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
    判断给定的线段是否与Grid边界是否完全不会相交。
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridCoord3DContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    GridCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    API版本描述
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridLayoutContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Heatmap

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    HeatmapChart

    class in XCharts.Runtime / 继承自: BaseChart

    热力图主要通过颜色去表现数值的大小,必须要配合 visualMap 组件使用。 可以应用在直角坐标系以及地理坐标系上,这两个坐标系上的表现形式相差很大,直角坐标系上必须要使用两个类目轴。

    API版本描述
    DefaultCountHeatmapChart()public void DefaultCountHeatmapChart()
    默认计数热力图。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Clone()public IconStyle Clone()
    Copy()public void Copy(IconStyle iconStyle)
    Reset()public void Reset()

    IgnoreDoc

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    IgnoreDoc()public IgnoreDoc()

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    API版本描述
    Clone()public ImageStyle Clone()
    Copy()public void Copy(ImageStyle imageStyle)
    Reset()public void Reset()

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    API版本描述
    AddIndicator()public RadarCoord.Indicator AddIndicator(string name, double min, double max)
    AddIndicator()public void AddIndicator(RadarCoord.Indicator indicator)
    AddIndicatorList()v3.3.0public void AddIndicatorList(List<string> nameList, double min = 0, double max = 0)
    ClearData()public override void ClearData()
    GetFormatterIndicatorContent()public string GetFormatterIndicatorContent(int indicatorIndex)
    GetFormatterIndicatorContent()public string GetFormatterIndicatorContent(string indicatorName)
    GetIndicator()public RadarCoord.Indicator GetIndicator(int indicatorIndex)
    GetIndicatorMax()public double GetIndicatorMax(int index)
    GetIndicatorMin()public double GetIndicatorMin(int index)
    GetIndicatorName()public string GetIndicatorName(int indicatorIndex)
    GetIndicatorPosition()public Vector3 GetIndicatorPosition(int index)
    IsInIndicatorRange()public bool IsInIndicatorRange(int index, double value)
    IsInRange()public bool IsInRange(double value)
    IsPointerEnter()public bool IsPointerEnter()
    SetDefaultValue()public override void SetDefaultValue()
    UpdateIndicator()public bool UpdateIndicator(int indicatorIndex, string name, double min, double max)

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Radar,BaseScatter

    InputHelper

    class in XCharts.Runtime

    API版本描述
    GetKeyDown()public static bool GetKeyDown(KeyCode keyCode)
    GetTouch()public static Touch GetTouch(int v)

    InteractData

    class in XCharts.Runtime

    API版本描述
    Reset()public void Reset()
    SetColor()public void SetColor(ref bool needInteract, Color32 color)
    SetColor()public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)
    SetPosition()public void SetPosition(ref bool needInteract, Vector3 pos)
    SetValue()public void SetValue(ref bool needInteract, float value, bool highlight, float rate = 1.3f)
    SetValue()public void SetValue(ref bool needInteract, float value, bool previousValueZero = false)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)
    ToString()public override string ToString()
    TryGetColor()public bool TryGetColor(ref Color32 color, ref bool interacting, float animationDuration = 250)
    TryGetColor()public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetPosition()public bool TryGetPosition(ref Vector3 pos, ref bool interacting, float animationDuration = 250)
    TryGetValue()public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location,Comment,Legend,Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,LineArrow,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord,CalendarCoord,GridCoord,GridCoord3D,ParallelCoord,PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,ItemStyle,LineStyle,SerieSymbol,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar,SimplifiedCandlestick,SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    图形样式。

    API版本描述
    GetBorderColor()public Color32 GetBorderColor(Color32 defaultColor)
    GetBorderColor0()public Color32 GetBorderColor0(Color32 defaultColor)
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 defaultColor)
    GetColor0()public Color32 GetColor0()
    GetColor0()public Color32 GetColor0(Color32 defaultColor)
    GetGradientColor()public Color32 GetGradientColor(float value, Color32 defaultColor)
    GetToColor()public Color32 GetToColor()
    IsNeedCorner()public bool IsNeedCorner()
    IsNeedGradient()public bool IsNeedGradient()
    Reset()public void Reset()

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis,DataZoom,CalendarCoord,GridCoord,GridLayout,GridCoord3D,ParallelCoord

    JsonUtil

    class in XCharts.Runtime

    API版本描述
    GetJsonArray<T>()public static T[] GetJsonArray<T>(string json)
    GetJsonObject<T>()public static T GetJsonObject<T>(string json)
    GetWebJson<T>()public static IEnumerator GetWebJson<T>(string url, Action<T[]> callback)
    GetWebJson<T>()public static IEnumerator GetWebJson<T>(string url, Action<T> callback)

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    标签的引导线

    API版本描述
    GetEndSymbolOffset()public Vector3 GetEndSymbolOffset()
    GetStartSymbolOffset()public Vector3 GetStartSymbolOffset()
    Reset()public void Reset()

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent / 子类: AxisLabel,EndLabelStyle,TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    API版本描述
    Clone()public virtual LabelStyle Clone()
    Copy()public virtual void Copy(LabelStyle label)
    GetColor()public Color GetColor(Color defaultColor)
    GetFormatterContent()public virtual string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
    GetFormatterContent()public virtual string GetFormatterContent(int labelIndex, string category)
    GetFormatterDateTime()public string GetFormatterDateTime(int labelIndex, double value, double minValue, double maxValue)
    GetOffset()public Vector3 GetOffset(float radius)
    IsAutoSize()public bool IsAutoSize()
    IsDefaultPosition()public bool IsDefaultPosition(Position position)
    IsInside()public bool IsInside()
    是否在内部。
    Reset()public void Reset()

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    API版本描述
    GetCandlestickDimensionName()public string GetCandlestickDimensionName(int i)
    GetDay()public string GetDay(int day)
    GetMonthAbbr()public string GetMonthAbbr(int month)

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    API版本描述
    List<string>()public List<string> dayOfMonth = new List<string>()
    List<string>()public List<string> dayOfWeek = new List<string>()
    List<string>()public List<string> dayOfWeekAbbr = new List<string>()
    List<string>()public List<string> monthAbbr = new List<string>()
    List<string>()public List<string> months = new List<string>()

    LayerHelper

    class in XCharts.Runtime

    API版本描述
    IsFixedWidthHeight()public static bool IsFixedWidthHeight(RectTransform rt)
    IsStretchPivot()public static bool IsStretchPivot(RectTransform rt)

    Legend

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    API版本描述
    AddData()public void AddData(string name)
    添加图例。
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空。
    ContainsData()public bool ContainsData(string name)
    是否包括由指定名字的图例
    GetColor()public Color GetColor(int index)
    GetData()public string GetData(int index)
    获得指定索引的图例。
    GetIcon()public Sprite GetIcon(int index)
    获得指定索引的图例按钮。
    GetIndex()public int GetIndex(string legendName)
    获得指定图例的索引。
    GetPosition()public Vector3 GetPosition(int index, Vector3 defaultPos)
    OnChanged()public void OnChanged()
    参数变更时的回调处理。
    RemoveButton()public void RemoveButton()
    移除所有图例按钮。
    RemoveData()public void RemoveData(string name)
    移除指定名字的图例。
    SetButton()public void SetButton(string name, LegendItem item, int total)
    给图例绑定按钮。
    UpdateButtonColor()public void UpdateButtonColor(string name, Color color)
    更新图例按钮颜色。
    UpdateContentColor()public void UpdateContentColor(string name, Color color)
    更新图例文字颜色。

    LegendContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    LegendHelper

    class in XCharts.Runtime

    API版本描述
    CheckDataHighlighted()public static int CheckDataHighlighted(Serie serie, string legendName, bool heighlight)
    CheckDataShow()public static bool CheckDataShow(Serie serie, string legendName, bool show)
    GetContentColor()public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)
    GetIconColor()public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)
    ResetItemPosition()public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)
    SetLegendBackground()public static void SetLegendBackground(Legend legend, ImageStyle style)

    LegendItem

    class in XCharts.Runtime

    API版本描述
    GetIconColor()public Color GetIconColor()
    GetIconRect()public Rect GetIconRect()
    SetActive()public void SetActive(bool active)
    SetBackground()public void SetBackground(ImageStyle imageStyle)
    SetButton()public void SetButton(Button button)
    SetContent()public bool SetContent(string content)
    SetContentBackgroundColor()public void SetContentBackgroundColor(Color color)
    SetContentColor()public void SetContentColor(Color color)
    SetContentPosition()public void SetContentPosition(Vector3 offset)
    SetIcon()public void SetIcon(Image icon)
    SetIconActive()public void SetIconActive(bool active)
    SetIconColor()public void SetIconColor(Color color)
    SetIconImage()public void SetIconImage(Sprite image)
    SetIconSize()public void SetIconSize(float width, float height)
    SetObject()public void SetObject(GameObject obj)
    SetPosition()public void SetPosition(Vector3 position)
    SetText()public void SetText(ChartText text)
    SetTextBackground()public void SetTextBackground(Image image)

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(LegendTheme theme)
    LegendTheme()public LegendTheme(ThemeType theme) : base(theme)

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    Line

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Line ConvertSerie(Serie serie)

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent

    LineChart

    class in XCharts.Runtime / 继承自: BaseChart

    折线图是用折线将各个数据点标志连接起来的图表,用于展现数据的变化趋势。可用于直角坐标系和极坐标系上。 设置 areaStyle 后可以绘制面积图。

    API版本描述
    DefaultAreaLineChart()public void DefaultAreaLineChart()
    默认面积折线图。
    DefaultDashLineChart()public void DefaultDashLineChart()
    默认虚线折线图。
    DefaultLogLineChart()public void DefaultLogLineChart()
    默认对数轴折线图。
    DefaultSmoothAreaLineChart()public void DefaultSmoothAreaLineChart()
    默认平滑面积折线图。
    DefaultSmoothLineChart()public void DefaultSmoothLineChart()
    默认平滑折线图。
    DefaultStackAreaLineChart()public void DefaultStackAreaLineChart()
    默认堆叠面积折线图。
    DefaultStackLineChart()public void DefaultStackLineChart()
    默认堆叠折线图。
    DefaultStepLineChart()public void DefaultStepLineChart()
    默认阶梯折线图。
    DefaultTimeLineChart()public void DefaultTimeLineChart()
    默认时间折线图。

    LineHelper

    class in XCharts.Runtime

    API版本描述
    GetDataAverageRate()public static int GetDataAverageRate(Serie serie, float axisLength, int maxCount, bool isYAxis)
    GetLineWidth()public static float GetLineWidth(ref bool interacting, Serie serie, float defaultWidth)

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    API版本描述
    Clone()public LineStyle Clone()
    Copy()public void Copy(LineStyle lineStyle)
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 themeColor)
    GetGradientColor()public Color32 GetGradientColor(float value, Color32 defaultColor)
    GetLength()public float GetLength(float themeLength)
    GetType()public Type GetType(Type themeType)
    GetWidth()public float GetWidth(float themeWidth)
    IsNeedGradient()public bool IsNeedGradient()
    IsNotSolidLine()public bool IsNotSolidLine()
    LineStyle()public LineStyle()
    LineStyle()public LineStyle(float width)
    LineStyle()public LineStyle(LineStyle.Type type)
    LineStyle()public LineStyle(LineStyle.Type type, float width)

    ListFor

    class in XCharts.Runtime / 继承自: Attribute / 子类: ListForComponent,ListForSerie

    API版本描述
    ListFor()public ListFor(Type type)

    ListForComponent

    class in XCharts.Runtime / 继承自: ListFor

    API版本描述
    ListForComponent()public ListForComponent(Type type) : base(type)

    ListForSerie

    class in XCharts.Runtime / 继承自: ListFor

    API版本描述
    ListForSerie()public ListForSerie(Type type) : base(type)

    ListPool<T>

    class in XCharts.Runtime

    API版本描述
    ClearAll()public static void ClearAll()
    Get()public static List<T> Get()
    Release()public static void Release(List<T> toRelease)

    Location

    class in XCharts.Runtime / 继承自: ChildComponent,IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    API版本描述
    GetPosition()public Vector3 GetPosition(float chartWidth, float chartHeight)
    返回在坐标系中的具体位置
    IsBottom()public bool IsBottom()
    IsCenter()public bool IsCenter()
    IsTop()public bool IsTop()
    OnChanged()public void OnChanged()
    属性变更时更新textAnchor,minAnchor,maxAnchor,pivot
    UpdateRuntimeData()public void UpdateRuntimeData(float chartWidth, float chartHeight)

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis,Background,Comment,DataZoom,Legend,MarkArea,MarkLine,Settings,Title,Tooltip,VisualMap,GridLayout,CoordSystem

    API版本描述
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearData()public virtual void ClearData() { }
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    CompareTo()public int CompareTo(object obj)
    OnRemove()public virtual void OnRemove()
    Reset()public virtual void Reset() { }
    ResetStatus()public virtual void ResetStatus() { }
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetDefaultValue()public virtual void SetDefaultValue() { }
    SetVerticesDirty()public virtual void SetVerticesDirty()

    MainComponentContext

    class in XCharts.Runtime / 子类: AxisContext,DataZoomContext,LegendContext,RadarCoordContext,VisualMapContext,GridCoordContext,GridLayoutContext,GridCoord3DContext,ParallelCoordContext,PolarCoordContext

    MainComponentHandler

    class in XCharts.Runtime / 子类: AxisHandler<T>,MainComponentHandler<T>

    API版本描述
    BeforceSerieUpdate()public virtual void BeforceSerieUpdate() { }
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    OnSerieDataUpdate()public virtual void OnSerieDataUpdate(int serieIndex) { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }

    MainComponentHandler<T>

    class in XCharts.Runtime / 继承自: MainComponentHandler

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    API版本描述
    onEndpublic Action<DataZoom> onEnd
    自定义选取框结束选取时的回调。
    onGoingpublic Action<DataZoom> onGoing
    自定义选取框选取进行时的回调。
    onStartpublic Action<DataZoom> onStart
    自定义选取框开始选取时的回调。

    MathUtil

    class in XCharts.Runtime

    API版本描述
    Abs()public static double Abs(double d)
    Approximately()public static bool Approximately(double a, double b)
    Clamp()public static double Clamp(double d, double min, double max)
    Clamp01()public static double Clamp01(double value)
    GetPrecision()public static int GetPrecision(double value)
    IsInteger()public static bool IsInteger(double value)
    Lerp()public static double Lerp(double a, double b, double t)

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    API版本描述
    GetValue()public float GetValue(float total)
    根据类型获取值。
    MLValue()public MLValue(float value)
    MLValue()public MLValue(Type type, float value)

    MonoBehaviour

    class in / 子类: XLog

    ObjectPool<T> where T

    class in XCharts.Runtime / 继承自: new()

    API版本描述
    ClearAll()public void ClearAll()
    Get()public T Get()
    new()public class ObjectPool<T> where T : new()
    ObjectPool()public ObjectPool(UnityAction<T> actionOnGet, UnityAction<T> actionOnRelease, bool newIfEmpty = true)
    Release()public void Release(T element)

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    API版本描述
    Padding()public Padding() { }
    Padding()public Padding(float top, float right, float bottom, float left)
    SetPadding()public void SetPadding(float top, float right, float bottom, float left)

    Painter

    class in XCharts.Runtime / 继承自: MaskableGraphic

    API版本描述
    onPopulateMeshpublic Action<VertexHelper, Painter> onPopulateMesh
    CheckRefresh()public void CheckRefresh()
    Init()public void Init()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag, bool isDebugMode = false)

    Parallel

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    ParallelChart

    class in XCharts.Runtime / 继承自: BaseChart

    平行坐标系,通过绘制垂直于坐标轴的平行线来显示数据的一种可视化图表。

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    Contains()public bool Contains(float x, float y)
    Contains()public bool Contains(Vector3 pos)
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    ParallelCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Pie

    class in XCharts.Runtime / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Pie ConvertSerie(Serie serie)

    PieChart

    class in XCharts.Runtime / 继承自: BaseChart

    饼图主要用于显示不同类目占比的情况,通过弧长来反映数据的大小占比。

    API版本描述
    DefaultAreaRosePieChart()public void DefaultAreaRosePieChart()
    默认面积玫瑰饼图。
    DefaultDonutPieChart()public void DefaultDonutPieChart()
    默认甜甜圈饼图。
    DefaultLabelDonutPieChart()public void DefaultLabelDonutPieChart()
    默认带标签甜甜圈饼图。
    DefaultLabelPieChart()public void DefaultLabelPieChart()
    默认带标签饼图。
    DefaultRadiusRosePieChart()public void DefaultRadiusRosePieChart()
    默认玫瑰饼图。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    PolarAxisTheme()public PolarAxisTheme(ThemeType theme) : base(theme) { }

    PolarChart

    class in XCharts.Runtime / 继承自: BaseChart

    极坐标系,可以用于散点图和折线图。

    API版本描述
    DefaultHeatmapPolarChart()public void DefaultHeatmapPolarChart()
    默认极坐标色块图。
    DefaultRadialBarPolarChart()public void DefaultRadialBarPolarChart()
    默认径向柱状极坐标图。
    DefaultTangentialBarPolarChart()public void DefaultTangentialBarPolarChart()
    默认切向柱状极坐标图。

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    API版本描述
    Contains()public bool Contains(Vector3 pos)
    IsPointerEnter()public bool IsPointerEnter()

    PolarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    PropertyUtil

    class in XCharts.Runtime

    API版本描述
    SetClass<T>()public static bool SetClass<T>(ref T currentValue, T newValue, bool notNull = false) where T : class
    SetColor()public static bool SetColor(ref Color currentValue, Color newValue)
    SetColor()public static bool SetColor(ref Color32 currentValue, Color32 newValue)
    SetStruct<T>()public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct

    Radar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    RadarAxisTheme()public RadarAxisTheme(ThemeType theme) : base(theme)

    RadarChart

    class in XCharts.Runtime / 继承自: BaseChart

    雷达图主要用于显示多变量的数据,例如足球运动员的各项属性分析。依赖雷达组件。

    API版本描述
    DefaultCircleRadarChart()public void DefaultCircleRadarChart()
    默认圆形雷达图。

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    RadiusAxisTheme()public RadiusAxisTheme(ThemeType theme) : base(theme) { }

    ReflectionUtil

    class in XCharts.Runtime

    API版本描述
    DeepCloneSerializeField()public static object DeepCloneSerializeField(object obj)
    InvokeListAdd()public static void InvokeListAdd(object obj, FieldInfo field, object item)
    InvokeListAddTo<T>()public static void InvokeListAddTo<T>(object obj, FieldInfo field, Action<T> callback)
    InvokeListClear()public static void InvokeListClear(object obj, FieldInfo field)
    InvokeListCount()public static int InvokeListCount(object obj, FieldInfo field)
    InvokeListGet<T>()public static T InvokeListGet<T>(object obj, FieldInfo field, int i)

    RequireChartComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)

    Ring

    class in XCharts.Runtime / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    GetDataTotal()public override double GetDataTotal(int dimension, SerieData serieData = null)

    RingChart

    class in XCharts.Runtime / 继承自: BaseChart

    环形图主要用于显示每一项的比例以及各项之间的关系。

    API版本描述
    DefaultMultipleRingChart()public void DefaultMultipleRingChart()
    默认多圆环图。

    RuntimeUtil

    class in XCharts.Runtime

    API版本描述
    GetAllAssemblyTypes()public static IEnumerable<Type> GetAllAssemblyTypes()
    GetAllTypesDerivedFrom()public static IEnumerable<Type> GetAllTypesDerivedFrom(Type type)
    GetAllTypesDerivedFrom<T>()public static IEnumerable<Type> GetAllTypesDerivedFrom<T>()
    GetAttribute<T>()public static T GetAttribute<T>(this MemberInfo type, bool check = true) where T : Attribute
    GetAttribute<T>()public static T GetAttribute<T>(this Type type, bool check = true) where T : Attribute
    HasSubclass()public static bool HasSubclass(Type type)

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ScatterChart

    class in XCharts.Runtime / 继承自: BaseChart

    散点图主要用于展现两个数据维度之间的关系。

    API版本描述
    DefaultBubbleChart()public void DefaultBubbleChart()
    默认气泡图。

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie,IComparable / 子类: SerieHandler<T>,Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Pie,Radar,Ring,BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    API版本描述
    onClickpublic Action<SerieEventData> onClick
    点击系列时的回调。
    onDownpublic Action<SerieEventData> onDown
    鼠标按下时的回调。
    onEnterpublic Action<SerieEventData> onEnter
    鼠标进入时的回调。
    onExitpublic Action<SerieEventData> onExit
    鼠标离开时的回调。
    AddChildData()public SerieData AddChildData(SerieData parent, double value, string name, string id)
    AddChildData()public SerieData AddChildData(SerieData parent, List<double> value, string name, string id)
    AddChildData()public void AddChildData(SerieData parent, SerieData serieData)
    AddData()public SerieData AddData(double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    添加 (open, close, lowest, heighest) 数据
    AddData()public SerieData AddData(List<double> valueList, string dataName = null, string dataId = null)
    将一组数据添加到系列中。 如果数据只有一个,默认添加到维度Y中。
    AddData()public SerieData AddData(params double[] values)
    添加任意维数据到系列中。
    AddExtraComponent<T>()public T AddExtraComponent<T>() where T : ChildComponent, ISerieComponent
    AddLink()public virtual SerieDataLink AddLink(string sourceId, string targetId, double value = 0)
    添加一个关系图的关系数据。
    AddSerieData()public virtual void AddSerieData(SerieData serieData)
    AddXYData()public SerieData AddXYData(double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到维度X和维度Y
    AddYData()public SerieData AddYData(double value, string dataName = null, string dataId = null)
    添加一个数据到维度Y(此时维度X对应的数据是索引)
    AnimationEnable()public void AnimationEnable(bool flag)
    启用或取消初始动画
    AnimationFadeIn()public void AnimationFadeIn()
    渐入动画
    AnimationFadeOut()public void AnimationFadeOut()
    渐出动画
    AnimationPause()public void AnimationPause()
    暂停动画
    AnimationReset()public void AnimationReset()
    重置动画
    AnimationRestart()public void AnimationRestart()
    重置动画
    AnimationResume()public void AnimationResume()
    继续动画
    CanAddComponent()public bool CanAddComponent(Type type)
    CanAddComponent<T>()public bool CanAddComponent<T>() where T : ChildComponent, ISerieComponent
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空所有数据
    ClearDirty()public override void ClearDirty()
    ClearHighlight()public void ClearHighlight()
    清除所有数据的高亮标志
    ClearLinks()public void ClearLinks()
    清空所有Link数据
    ClearSerieNameDirty()public void ClearSerieNameDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public Serie Clone()
    Clone<T>()public T Clone<T>() where T : Serie
    CompareTo()public int CompareTo(object obj)
    EnsureComponent()public ISerieComponent EnsureComponent(Type type)
    EnsureComponent<T>()public T EnsureComponent<T>() where T : ChildComponent, ISerieComponent
    确保系列有该组件。如果没有,则添加。
    GetBarWidth()public float GetBarWidth(float categoryWidth, int barCount = 0, float defaultRate = 0.6f)
    GetComponent()public ISerieComponent GetComponent(Type type)
    GetComponent<T>()public T GetComponent<T>() where T : ChildComponent, ISerieComponent
    GetData()public double GetData(int index, int dimension, DataZoom dataZoom = null)
    获得指定index指定维数的数据
    GetDataList()public List<SerieData> GetDataList(DataZoom dataZoom = null)
    获得系列的数据列表
    GetDataTotal()public virtual double GetDataTotal(int dimension, SerieData serieData = null)
    GetSerieData()public SerieData GetSerieData(int index, DataZoom dataZoom = null)
    获得指定索引的数据项
    GetSerieData()public SerieData GetSerieData(SerieData parent, string id)
    GetSerieData()public SerieData GetSerieData(string id, DataZoom dataZoom = null)
    GetXYData()public void GetXYData(int index, DataZoom dataZoom, out double xValue, out double yVlaue)
    获得指定索引的维度X和维度Y的数据
    GetYCurrData()public double GetYCurrData(int index, DataZoom dataZoom = null)
    GetYData()public double GetYData(int index, DataZoom dataZoom = null)
    获得维度Y索引对应的数据
    GetYData()public void GetYData(int index, out double yData, out string dataName, DataZoom dataZoom = null)
    获得维度Y索引对应的数据和数据名
    IsIgnoreIndex()public bool IsIgnoreIndex(int index, int dimension = 1)
    IsIgnorePoint()public bool IsIgnorePoint(int index)
    IsIgnoreValue()public bool IsIgnoreValue(double value)
    IsIgnoreValue()public bool IsIgnoreValue(SerieData serieData, double value)
    IsIgnoreValue()public bool IsIgnoreValue(SerieData serieData, int dimension = 1)
    IsLegendName()public bool IsLegendName(string legendName)
    IsMinShowLabelValue()public bool IsMinShowLabelValue(double value)
    IsMinShowLabelValue()public bool IsMinShowLabelValue(int index, int dimension = 1)
    IsMinShowLabelValue()public bool IsMinShowLabelValue(SerieData serieData, int dimension = 1)
    IsPerformanceMode()public bool IsPerformanceMode()
    是否为性能模式。性能模式下不绘制Symbol,不刷新Label,不单独设置数据项配置。
    IsSerie<T>()public bool IsSerie<T>() where T : Serie
    IsSerieDataLegendName()public bool IsSerieDataLegendName(string legendName)
    IsSerieLegendName()public bool IsSerieLegendName(string legendName)
    IsUseCoord<T>()public bool IsUseCoord<T>() where T : CoordSystem
    RemoveAllComponents()public void RemoveAllComponents()
    移除所有额外组件。
    RemoveComponent()public void RemoveComponent(Type type)
    RemoveComponent<T>()public void RemoveComponent<T>() where T : ISerieComponent
    RemoveData()public void RemoveData(int index)
    移除指定索引的数据
    ResetDataIndex()public bool ResetDataIndex()
    重置数据项索引。避免部分数据项的索引异常。
    ResetInteract()public void ResetInteract()
    SetAllDirty()public override void SetAllDirty()
    SetCoord<T>()public bool SetCoord<T>() where T : CoordSystem
    SetHighlight()public void SetHighlight(int index, bool flag)
    设置指定索引的数据为高亮状态
    SetVerticesDirty()public override void SetVerticesDirty()
    UpdateData()public bool UpdateData(int index, int dimension, double value)
    更新指定索引指定维数的数据
    UpdateData()public bool UpdateData(int index, List<double> values)
    更新指定索引的数据项数据列表
    UpdateDataName()public bool UpdateDataName(int index, string name)
    UpdateXYData()public bool UpdateXYData(int index, double xValue, double yValue)
    更新指定索引的维度X和维度Y的数据
    UpdateYData()public bool UpdateYData(int index, double value)
    更新指定索引的维度Y数据

    SerieComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到Serie的组件。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieComponentAttribute()public SerieComponentAttribute()
    SerieComponentAttribute()public SerieComponentAttribute(Type type1)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieContext

    class in XCharts.Runtime

    SerieConvertAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可转化为哪些Serie类型。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : Serie
    SerieConvertAttribute()public SerieConvertAttribute(Type serie)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    EnsureComponent()v3.6.0public ISerieDataComponent EnsureComponent(Type type)
    确保数据项有指定类型的组件,如果没有则添加。
    EnsureComponent<T>()v3.6.0public T EnsureComponent<T>() where T : ChildComponent, ISerieDataComponent
    确保数据项有指定类型的组件,如果没有则添加。
    GetAddAnimationData()public double GetAddAnimationData(double min, double max, float animationDuration = 500f, bool unscaledTime = false)
    GetComponent<T>()public T GetComponent<T>() where T : ChildComponent, ISerieDataComponent
    获取数据项的指定类型的组件,如果不存在则返回null。
    GetCurrData()public double GetCurrData(int index, AnimationStyle animation, bool inverse = false, bool loop = false)
    GetCurrData()public double GetCurrData(int index, AnimationStyle animation, bool inverse, double min, double max, bool loop = false)
    GetCurrData()public double GetCurrData(int index, float dataAddDuration = 500f, float animationDuration = 500f, bool unscaledTime = false, bool inverse = false)
    GetCurrData()public double GetCurrData(int index, float dataAddDuration, float animationDuration, bool inverse, double min, double max, bool unscaledTime, bool loop = false)
    GetData()public double GetData(int index, bool inverse = false)
    GetData()public double GetData(int index, double min, double max)
    GetFirstData()public double GetFirstData(bool unscaledTime, float animationDuration = 500f)
    GetLabelHeight()public float GetLabelHeight()
    GetLabelWidth()public float GetLabelWidth()
    GetLastData()public double GetLastData()
    GetMaxData()public double GetMaxData(bool inverse = false)
    最大值。
    GetMinData()public double GetMinData(bool inverse = false)
    最小值。
    GetMinMaxData()public void GetMinMaxData(int startDimensionIndex, bool inverse, out double min, out double max)
    GetOrAddComponent<T>()public T GetOrAddComponent<T>() where T : ChildComponent, ISerieDataComponent
    GetPreviousData()public double GetPreviousData(int index, bool inverse = false)
    GetTotalData()public double GetTotalData()
    IsDataChanged()public bool IsDataChanged()
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    List<string>()public static List<string> extraFieldList = new List<string>()
    系列中的一个数据项。可存储数据名和1-n维个数据。
    OnAdd()public void OnAdd(AnimationStyle animation, double startValue = 0)
    RemoveAllComponent()public void RemoveAllComponent()
    RemoveComponent()public void RemoveComponent(Type type)
    RemoveComponent<T>()public void RemoveComponent<T>() where T : ISerieDataComponent
    Reset()public void Reset()
    SetIconActive()public void SetIconActive(bool flag)
    SetLabelActive()public void SetLabelActive(bool flag)
    SetPolygon()public void SetPolygon(params Vector2[] points)
    SetPolygon()public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)
    SetPolygon()public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5)
    UpdateData()public bool UpdateData(int dimension, double value)
    UpdateData()public bool UpdateData(int dimension, double value, bool updateAnimation, bool unscaledTime, float animationDuration = 500f)

    SerieDataComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到SerieData的组件。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieDataComponentAttribute()public SerieDataComponentAttribute()
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieDataContext

    class in XCharts.Runtime

    API版本描述
    Reset()public void Reset()

    SerieDataExtraFieldAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Contains()public bool Contains(string field)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute()
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7)

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    数据节点之间的连线。可用于桑基图等,桑基图只支持有向无环图,请保证数据的连线是有向无环图。

    SerieEventData

    class in XCharts.Runtime

    serie事件的数据。

    API版本描述
    Reset()public void Reset()

    SerieEventDataPool

    class in XCharts.Runtime

    API版本描述
    Get()public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)
    Release()public static void Release(SerieEventData toRelease)

    SerieHandler

    class in XCharts.Runtime

    API版本描述
    AfterUpdate()public virtual void AfterUpdate() { }
    BeforeUpdate()public virtual void BeforeUpdate() { }
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawSerie()public virtual void DrawSerie(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    ForceUpdateSerieContext()public virtual void ForceUpdateSerieContext() { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDataUpdate()public virtual void OnDataUpdate() { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName) { }
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    RefreshLabelInternal()public virtual void RefreshLabelInternal() { }
    RefreshLabelNextFrame()public virtual void RefreshLabelNextFrame() { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }
    UpdateSerieContext()public virtual void UpdateSerieContext() { }

    SerieHandler where T

    class in / 子类: SerieHandler<T>

    SerieHandler<T>

    class in XCharts.Runtime / 继承自: [SerieHandler where T](#seriehandler where t),Serie

    API版本描述
    AfterUpdate()public override void AfterUpdate()
    BeforeUpdate()public override void BeforeUpdate()
    DrawLabelLineSymbol()public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)
    ForceUpdateSerieContext()public override void ForceUpdateSerieContext()
    GetPointerItemDataDimension()public override int GetPointerItemDataDimension()
    GetPointerItemDataIndex()public override int GetPointerItemDataIndex()
    GetSerieDataAutoColor()public virtual Color GetSerieDataAutoColor(SerieData serieData)
    GetSerieDataLabelOffset()public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)
    GetSerieDataLabelPosition()public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)
    GetSerieDataTitlePosition()public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)
    InitComponent()public override void InitComponent()
    OnLegendButtonClick()public override void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public override void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public override void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    RefreshEndLabelInternal()public virtual void RefreshEndLabelInternal()
    RefreshLabelInternal()public override void RefreshLabelInternal()
    RefreshLabelNextFrame()public override void RefreshLabelNextFrame()
    RemoveComponent()public override void RemoveComponent()
    Update()public override void Update()

    SerieHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler)
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler, bool allowMultiple)

    SerieHelper

    class in XCharts.Runtime

    API版本描述
    CloneSerie<T>()public static T CloneSerie<T>(Serie serie) where T : Serie
    CopySerie()public static void CopySerie(Serie oldSerie, Serie newSerie)
    GetAllMinMaxData()public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)
    GetAreaStyle()public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)
    GetAverageData()public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetBlurStyle()public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)
    GetEmphasisStyle()public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData)
    GetItemColor()public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true)
    GetItemFormatter()public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetItemMarker()public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null)
    GetItemStyle()public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetLineColor()public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto)
    GetLineStyle()public static LineStyle GetLineStyle(Serie serie, SerieData serieData)
    GetMaxData()public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMaxSerieData()public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMedianData()public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinData()public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinMaxData()public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)
    获得系列所有数据的最大最小值。
    GetMinSerieData()public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetNumericFormatter()public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetSelectStyle()public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)
    GetSerieLabel()public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieLabelLine()public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieState()public static SerieState GetSerieState(Serie serie)
    GetSerieState()public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)
    GetSerieState()public static SerieState GetSerieState(SerieData serieData)
    GetSerieSymbol()public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetStateStyle()public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)
    GetSysmbolSize()public static float GetSysmbolSize(Serie serie, SerieData serieData, float defaultSize, SerieState state = SerieState.Auto, bool checkAnimation = false)
    GetTitleStyle()public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)
    IsAllZeroValue()public static bool IsAllZeroValue(Serie serie, int dimension = 1)
    系列指定维数的数据是否全部为0。
    IsDownPoint()public static bool IsDownPoint(Serie serie, int index)
    UpdateCenter()public static void UpdateCenter(Serie serie, BaseChart chart)
    更新运行时中心点和半径
    UpdateFilterData()public static void UpdateFilterData(Serie serie, DataZoom dataZoom)
    根据dataZoom更新数据列表缓存
    UpdateMinMaxData()public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)
    获得指定维数的最大最小值
    UpdateRect()public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
    UpdateSerieRuntimeFilterData()public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)

    SerieLabelHelper

    class in XCharts.Runtime

    API版本描述
    CanShowLabel()public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)
    GetLabelColor()public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)
    SetGaugeLabelText()public static void SetGaugeLabelText(Serie serie)

    SerieLabelPool

    class in XCharts.Runtime

    API版本描述
    ClearAll()public static void ClearAll()
    Release()public static void Release(GameObject element)
    ReleaseAll()public static void ReleaseAll(Transform parent)

    SerieParams

    class in XCharts.Runtime

    SeriesHelper

    class in XCharts.Runtime

    API版本描述
    GetLastStackSerie()public static Serie GetLastStackSerie(List<Serie> series, Serie serie)
    获得上一个同堆叠且显示的serie。
    GetLegalSerieNameList()public static List<string> GetLegalSerieNameList(List<Serie> series)
    GetMaxSerieDataCount()public static int GetMaxSerieDataCount(List<Serie> series)
    GetMinAnimationDuration()public static float GetMinAnimationDuration(List<Serie> series)
    GetNameColor()public static Color GetNameColor(BaseChart chart, int index, string name)
    GetStackSeries()public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)
    获得堆叠系列列表
    IsAnyClipSerie()public static bool IsAnyClipSerie(List<Serie> series)
    是否有需裁剪的serie。
    IsLegalLegendName()public static bool IsLegalLegendName(string name)
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series) where T : Serie
    是否时百分比堆叠
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series, string stackName) where T : Serie
    是否时百分比堆叠
    IsStack()public static bool IsStack(List<Serie> series)
    是否由数据堆叠
    IsStack<T>()public static bool IsStack<T>(List<Serie> series, string stackName) where T : Serie
    是否堆叠
    UpdateSerieNameList()public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)
    获得所有系列名,不包含空名字。
    UpdateStackDataList()public static void UpdateStackDataList(List<Serie> series, Serie currSerie, DataZoom dataZoom, List<List<SerieData>> dataList)

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle,ISerieDataComponent

    系列数据项的标记的图形

    API版本描述
    GetSize()public float GetSize(List<double> data, float themeSize)
    根据指定的sizeType获得标记的大小
    Reset()public override void Reset()
    ShowSymbol()public bool ShowSymbol(int dataIndex, int dataCount)

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Copy()public void Copy(SerieTheme theme)
    SerieTheme()public SerieTheme(ThemeType theme)

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    API版本描述
    Copy()public void Copy(Settings settings)
    Reset()public override void Reset()

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedBar ConvertSerie(Serie serie)

    SimplifiedBarChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化柱状图是柱状图的简化模式,通过简化组件和配置,拥有更好的性能。

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedCandlestick ConvertSerie(Serie serie)

    SimplifiedCandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化K线图是K线图的简化模式,通过简化组件和配置,拥有更好的性能。

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedLine ConvertSerie(Serie serie)

    SimplifiedLineChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化折线图是折线图的简化模式,通过简化组件和配置,拥有更好的性能。

    Since

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Since()public Since(string version)

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis,IUpdateRuntimeData

    单轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    StageColor()public StageColor(float percent, Color32 color)

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle,EmphasisStyle,SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Reset()public void Reset()

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    SubTitleTheme()public SubTitleTheme(ThemeType theme) : base(theme)

    SVG

    class in XUGL

    API版本描述
    DrawPath()public static void DrawPath(VertexHelper vh, string path)
    DrawPath()public static void DrawPath(VertexHelper vh, SVGPath path)
    Test()public static void Test(VertexHelper vh)

    SVGPath

    class in XUGL

    API版本描述
    AddSegment()public void AddSegment(SVGPathSeg seg)
    Draw()public void Draw(VertexHelper vh)
    Parse()public static SVGPath Parse(string path)

    SVGPathSeg

    class in XUGL

    API版本描述
    SVGPathSeg()public SVGPathSeg(SVGPathSegType type)

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    API版本描述
    GetColor()public Color32 GetColor(Color32 defaultColor)
    Reset()public virtual void Reset()

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    API版本描述
    Clone()public TextLimit Clone()
    Copy()public void Copy(TextLimit textLimit)
    GetLimitContent()public string GetLimitContent(string content)
    SetRelatedText()public void SetRelatedText(ChartText txt, float labelWidth)

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    API版本描述
    TextPadding()public TextPadding() { }
    TextPadding()public TextPadding(float top, float right, float bottom, float left)

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    API版本描述
    Copy()public void Copy(TextStyle textStyle)
    GetAlignment()public TextAnchor GetAlignment(TextAnchor defaultAlignment)
    GetColor()public Color GetColor(Color defaultColor)
    GetFontSize()public int GetFontSize(ComponentTheme defaultTheme)
    TextStyle()public TextStyle() { }
    TextStyle()public TextStyle(int fontSize)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle, Color color)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle, Color color, int rorate)
    UpdateAlignmentByLocation()public void UpdateAlignmentByLocation(Location location)

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    API版本描述
    CheckWarning()public void CheckWarning(StringBuilder sb)
    CloneTheme()public Theme CloneTheme()
    克隆主题。
    CopyTheme()public bool CopyTheme(ThemeType theme)
    CopyTheme()public void CopyTheme(Theme theme)
    复制主题的所有配置。
    GetColor()public Color32 GetColor(int index)
    获得调色盘对应系列索引的颜色值。
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。
    GetColorStr()public string GetColorStr(int index)
    获得指定索引的十六进制颜色值字符串。
    GetHashCode()public override int GetHashCode()
    ResetTheme()public bool ResetTheme()
    重置,清除所有自定义配置。
    ResetToDarkTheme()public static void ResetToDarkTheme(Theme theme)
    暗主题。
    ResetToDefaultTheme()public static void ResetToDefaultTheme(Theme theme)
    默认主题。
    SetColorPalette()public void SetColorPalette(List<string> hexColorStringList)
    SetDefaultFont()public void SetDefaultFont()
    SyncFontToSubComponent()public void SyncFontToSubComponent()
    SyncTMPFontToSubComponent()public void SyncTMPFontToSubComponent()

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    API版本描述
    CheckWarning()public void CheckWarning(StringBuilder sb)
    GetBackgroundColor()public Color32 GetBackgroundColor(Background background)
    GetColor()public Color32 GetColor(int index)
    获得调色盘对应系列索引的颜色值。
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。
    GetColorStr()public string GetColorStr(int index)
    获得指定索引的十六进制颜色值字符串。
    SyncSharedThemeColorToCustom()public void SyncSharedThemeColorToCustom()

    Title

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    标题组件,包含主标题和副标题。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    OnChanged()public void OnChanged()

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle,ISerieDataComponent,ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    TitleTheme()public TitleTheme(ThemeType theme) : base(theme)

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    API版本描述
    onClickIndexpublic System.Action<int> onClickIndex
    Tooltip为Click触发时,点击的X轴索引的回调。
    AddSerieDataIndex()public void AddSerieDataIndex(int serieIndex, int dataIndex)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    ClearSerieDataIndex()public void ClearSerieDataIndex()
    GetContentLabelStyle()public LabelStyle GetContentLabelStyle(int index)
    IsActive()public bool IsActive()
    提示框是否显示
    isAnySerieDataIndex()public bool isAnySerieDataIndex()
    IsSelected()public bool IsSelected()
    当前提示框是否选中数据项
    IsSelected()public bool IsSelected(int index)
    指定索引的数据项是否被提示框选中
    IsTriggerAxis()public bool IsTriggerAxis()
    IsTriggerItem()public bool IsTriggerItem()
    KeepTop()public void KeepTop()
    保持Tooltiop显示在最顶上
    SetActive()public void SetActive(bool flag)
    设置Tooltip组件是否显示
    SetContentActive()public void SetContentActive(bool flag)
    设置文本框是否显示
    UpdateContentPos()public void UpdateContentPos(Vector2 pos, float width, float height)
    更新文本框位置

    TooltipContext

    class in XCharts.Runtime

    TooltipData

    class in XCharts.Runtime

    TooltipHelper

    class in XCharts.Runtime

    API版本描述
    GetItemNumericFormatter()public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)
    GetLineColor()public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor)
    IsIgnoreFormatter()public static bool IsIgnoreFormatter(string itemFormatter)
    LimitInRect()public static void LimitInRect(Tooltip tooltip, Rect chartRect)

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(TooltipTheme theme)
    TooltipTheme()public TooltipTheme(ThemeType theme) : base(theme)

    TooltipView

    class in XCharts.Runtime

    API版本描述
    CreateView()public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)
    GetCurrentPos()public Vector3 GetCurrentPos()
    GetTargetPos()public Vector3 GetTargetPos()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag)
    Update()public void Update()
    UpdatePosition()public void UpdatePosition(Vector3 pos)

    TooltipViewItem

    class in XCharts.Runtime

    UGL

    class in XUGL

    UGUI 图形库

    API版本描述
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, Color32 color, Color32 toColor)
    DrawEllipse()public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)
    DrawEmptyDiamond()public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color)
    DrawEmptyDiamond()public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color, Color32 emptyColor)
    DrawEmptyTriangle()public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color)
    DrawEmptyTriangle()public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color, Color32 backgroundColor)
    DrawLine()public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color)
    Draw a line. 画直线
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
    Draw a line. 画直线
    DrawMinus()public static void DrawMinus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    绘制减号
    DrawPlus()public static void DrawPlus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    绘制加号
    DrawPolygon()public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
    填充任意多边形(目前只支持凸多边形)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Vector3 p1, Vector3 p2, float radius, Color32 color)
    Draw a rectangle. 画带长方形
    DrawSquare()public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
    Draw a square. 画正方形
    DrawSvgPath()public static void DrawSvgPath(VertexHelper vh, string path)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)

    UGLExample

    class in XUGL / 继承自: MaskableGraphic

    UGLHelper

    class in XUGL

    API版本描述
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBezier()public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)
    GetBezier2()public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)
    GetBezierList()public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref List<Vector3> intersection)
    获得两直线的交点
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref Vector3 intersection)
    获得两直线的交点
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector3> polyons)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, params Vector3[] polyons)
    IsPointInTriangle()public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)

    UIComponent

    class in XCharts.Runtime / 继承自: BaseGraph

    UI组件基类。

    API版本描述
    SetAllDirty()public override void SetAllDirty()
    SetDataDirty()v3.9.0public void SetDataDirty()
    SetVerticesDirty()public override void SetVerticesDirty()
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    GetBackgroundColor()public Color32 GetBackgroundColor(Background background)

    UIHelper

    class in XCharts.Runtime

    UI帮助类。

    ViewControl

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.11.0 开始支持

    3D视角控制组件。

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    API版本描述
    AddColors()public void AddColors(List<Color32> colors)
    AddColors()public void AddColors(List<string> colors)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    GetColor()public Color32 GetColor(double value)
    GetColor()public Color32 GetColor(double xValue, double yValue, double zValue, byte alpha = 255)
    GetIndex()public int GetIndex(double value)
    GetValue()public double GetValue(Vector3 pos, Rect chartRect)
    IsInRangeMaxRect()public bool IsInRangeMaxRect(Vector3 local, Rect chartRect, float triangleLen)
    IsInRangeMinRect()public bool IsInRangeMinRect(Vector3 local, Rect chartRect, float triangleLen)
    IsInRangeRect()public bool IsInRangeRect(Vector3 local, Rect chartRect)
    IsInRect()public bool IsInRect(Vector3 local, Rect chartRect, float triangleLen = 20)
    IsInSelectedValue()public bool IsInSelectedValue(double value)
    IsPiecewise()public bool IsPiecewise()

    VisualMapContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    VisualMapHelper

    class in XCharts.Runtime

    API版本描述
    AutoSetLineMinMax()public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
    GetDimension()public static int GetDimension(VisualMap visualMap, int defaultDimension)
    IsNeedAreaGradient()public static bool IsNeedAreaGradient(VisualMap visualMap)
    IsNeedGradient()public static bool IsNeedGradient(VisualMap visualMap)
    IsNeedLineGradient()public static bool IsNeedLineGradient(VisualMap visualMap)
    SetMinMax()public static void SetMinMax(VisualMap visualMap, double min, double max)

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Contains()public bool Contains(double value, double minMaxRange)

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(VisualMapTheme theme)
    VisualMapTheme()public VisualMapTheme(ThemeType theme) : base(theme)

    Wrapper<T>

    class in XCharts.Runtime

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 x 轴。

    XAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 x 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 x 轴。

    XChartsMgr

    class in XCharts.Runtime

    API版本描述
    AddChart()public static void AddChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(string chartName)
    GetChart()public static BaseChart GetChart(string chartName)
    GetCharts()public static List<BaseChart> GetCharts(string chartName)
    GetPackageFullPath()public static string GetPackageFullPath()
    GetRepeatChartNameInfo()public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
    IsRepeatChartName()public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
    RemoveAllChartObject()public static void RemoveAllChartObject()
    RemoveChart()public static void RemoveChart(string chartName)

    XCResourceImporterWindow

    class in XCharts.Runtime / 继承自: UnityEditor.EditorWindow

    API版本描述
    ShowPackageImporterWindow()public static void ShowPackageImporterWindow()

    XCResourcesImporter

    class in XCharts.Runtime

    API版本描述
    OnDestroy()public void OnDestroy() { }
    OnGUI()public void OnGUI()
    XCResourcesImporter()public XCResourcesImporter() { }

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    API版本描述
    AddCustomTheme()public static bool AddCustomTheme(Theme theme)
    ExistAssetFile()public static bool ExistAssetFile()
    GetSettingAssetPath()public static string GetSettingAssetPath()

    XCThemeMgr

    class in XCharts.Runtime

    API版本描述
    AddTheme()public static void AddTheme(Theme theme)
    CheckReloadTheme()public static void CheckReloadTheme()
    ContainsTheme()public static bool ContainsTheme(string themeName)
    ExportTheme()public static bool ExportTheme(Theme theme)
    ExportTheme()public static bool ExportTheme(Theme theme, string themeNewName)
    GetAllThemeNames()public static List<string> GetAllThemeNames()
    GetTheme()public static Theme GetTheme(string themeName)
    GetTheme()public static Theme GetTheme(ThemeType type)
    GetThemeAssetPath()public static string GetThemeAssetPath(string themeName)
    GetThemeList()public static List<Theme> GetThemeList()
    LoadTheme()public static Theme LoadTheme(string themeName)
    LoadTheme()public static Theme LoadTheme(ThemeType type)
    ReloadThemeList()public static void ReloadThemeList()
    重新加载主题列表
    SwitchTheme()public static void SwitchTheme(BaseChart chart, string themeName)

    XLog

    class in XCharts.Runtime / 继承自: MonoBehaviour

    日志系统。用于输出带日期和日志类型的日志,支持输出到文件,支持自定义输出的日志类型。

    API版本描述
    CanLog()public static bool CanLog(int level)
    ClearAllLog()public static void ClearAllLog()
    Debug()public static void Debug(string log)
    EnableLog()public static void EnableLog(int logType)
    Error()public static void Error(string log)
    FlushLog()public static void FlushLog()
    GetNowTime()public static string GetNowTime(string formatter = null)
    GetTimestamp()public static ulong GetTimestamp()
    Info()public static void Info(string log)
    Log()public static void Log(string log)
    LogError()public static void LogError(string log)
    LogWarning()public static void LogWarning(string log)
    Proto()public static void Proto(string log)
    Vital()public static void Vital(string log)
    Warning()public static void Warning(string log)

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。

    YAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。

    ZAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。
    Was this helpful?
    - - +
    Version: v3.12.0

    API手册

    所有类

    Align

    class in XCharts.Runtime

    对齐方式。文本,图标,图形等的对齐方式。

    可选:

    • Center: 对齐方式。文本,图标,图形等的对齐方式。
    • Left: 对齐方式。文本,图标,图形等的对齐方式。
    • Right: 对齐方式。文本,图标,图形等的对齐方式。

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    AngleAxis.GetValueAngle

    public float GetValueAngle(double value)

    AngleAxis.SetDefaultValue

    public override void SetDefaultValue()

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AngleAxisTheme.base(theme)

    public AngleAxisTheme(ThemeType theme) : base(theme)

    AngleAxisTheme.AngleAxisTheme

    public AngleAxisTheme(ThemeType theme) : base(theme) { }

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationEasing

    class in XCharts.Runtime

    可选:

    • Linear:

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn,AnimationFadeOut,AnimationChange,AnimationAddition,AnimationHiding,AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    AnimationInfo.delay

    public float delay
    +动画开始前的延迟时间。

    AnimationInfo.delayFunction

    public AnimationDelayFunction delayFunction
    +动画延迟的委托函数。

    AnimationInfo.duration

    public float duration
    +动画的时长。

    AnimationInfo.durationFunction

    public AnimationDurationFunction durationFunction
    +动画时长的委托函数。

    AnimationInfo.enable

    public bool enable
    +是否开启动画效果。

    AnimationInfo.OnAnimationEnd

    public Action OnAnimationEnd
    +动画结束的回调。

    AnimationInfo.OnAnimationStart

    public Action OnAnimationStart
    +动画开始的回调。

    AnimationInfo.reverse

    public bool reverse
    +是否开启反向动画效果。

    AnimationInfo.End

    public void End()
    +结束动画。

    AnimationInfo.GetIndexDelay

    public float GetIndexDelay(int dataIndex)
    +获取动画延迟。

    AnimationInfo.Init

    public bool Init(float curr, float dest, int totalPointIndex)
    +初始化动画。

    AnimationInfo.IsFinish

    public bool IsFinish()
    +动画是否结束。

    AnimationInfo.IsInDelay

    public bool IsInDelay()
    +动画是否在延迟中。

    AnimationInfo.IsInIndexDelay

    public bool IsInIndexDelay(int dataIndex)
    +动画是否在索引延迟中。

    AnimationInfo.Pause

    public void Pause()
    +暂停动画。

    AnimationInfo.Reset

    public void Reset()
    +重置动画。

    AnimationInfo.Resume

    public void Resume()
    +恢复动画。

    AnimationInfo.Start

    public void Start(bool reset = true)
    +开始动画。

    AnimationInfoContext

    class in XCharts.Runtime

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    AnimationInteraction.offset

    public MLValue offset
    +交互的多样式数值。如饼图的扇形选中时的偏移。

    AnimationInteraction.radius

    public MLValue radius
    +半径的多样式数值。

    AnimationInteraction.width

    public MLValue width
    +宽度的多样式数值。

    AnimationInteraction.GetOffset

    public float GetOffset()

    AnimationInteraction.GetRadius

    public float GetRadius(float radius)

    AnimationInteraction.GetWidth

    public float GetWidth(float width)

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    AnimationStyle.addition

    public AnimationAddition addition
    +数据新增动画配置。

    AnimationStyle.change

    public AnimationChange change
    +数据变更动画配置。

    AnimationStyle.enable

    public bool enable
    +是否开启动画效果。

    AnimationStyle.fadeIn

    public AnimationFadeIn fadeIn
    +渐入动画配置。

    AnimationStyle.fadeInFinishCallback

    public Action fadeInFinishCallback

    AnimationStyle.fadeOut

    public AnimationFadeOut fadeOut
    +渐出动画配置。

    AnimationStyle.fadeOutFinishCallback

    public Action fadeOutFinishCallback

    AnimationStyle.hiding

    public AnimationHiding hiding
    +数据隐藏动画配置。

    AnimationStyle.interaction

    public AnimationInteraction interaction
    +交互动画配置。

    AnimationStyle.threshold

    public int threshold
    +是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。

    AnimationStyle.unscaledTime

    public bool unscaledTime
    +动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AnimationStyle.Addition

    public void Addition()
    +开始数据新增动画。

    AnimationStyle.CanCheckInteract

    public bool CanCheckInteract()

    AnimationStyle.CheckDetailBreak

    public bool CheckDetailBreak(Vector3 pos, bool isYAxis)

    AnimationStyle.CheckProgress

    public void CheckProgress(double total)

    AnimationStyle.CheckSymbol

    public void CheckSymbol(float dest)

    AnimationStyle.FadeIn

    public void FadeIn()
    +开始渐入动画。

    AnimationStyle.FadeOut

    public void FadeOut()
    +开始渐出动画。

    AnimationStyle.GetAdditionDuration

    public float GetAdditionDuration()

    AnimationStyle.GetChangeDuration

    public float GetChangeDuration()

    AnimationStyle.GetCurrDetail

    public float GetCurrDetail()

    AnimationStyle.GetCurrIndex

    public int GetCurrIndex()

    AnimationStyle.GetCurrRate

    public float GetCurrRate()

    AnimationStyle.GetInteractionDuration

    public float GetInteractionDuration()

    AnimationStyle.GetInteractionRadius

    public float GetInteractionRadius(float radius)

    AnimationStyle.GetSysmbolSize

    public float GetSysmbolSize(float dest)

    AnimationStyle.HasFadeOut

    public bool HasFadeOut()

    AnimationStyle.InitProgress

    public void InitProgress(List<Vector3> paths, bool isY)
    +初始化动画配置。

    AnimationStyle.IsDataAnimation

    public bool IsDataAnimation()
    +是否为数据动画。BottomToTop和InsideOut类型的为数据动画。

    AnimationStyle.IsEnd

    public bool IsEnd()

    AnimationStyle.IsFadeIn

    public bool IsFadeIn()

    AnimationStyle.IsFadeOut

    public bool IsFadeOut()

    AnimationStyle.IsFinish

    public bool IsFinish()

    AnimationStyle.IsInDelay

    public bool IsInDelay()

    AnimationStyle.IsSerieAnimation

    public bool IsSerieAnimation()
    +是否为系列动画。LeftToRight、AlongPath和Clockwise类型的为系列动画。

    AnimationStyle.Pause

    public void Pause()
    +暂停所有动画。

    AnimationStyle.Reset

    public void Reset()
    +Reset all animations.

    AnimationStyle.Restart

    public void Restart()
    +重启当前激活的动画。

    AnimationStyle.Resume

    public void Resume()
    +恢复所有动画。

    AnimationStyleHelper

    class in XCharts.Runtime

    AnimationStyleHelper.CheckDataAnimation

    public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)

    AnimationStyleHelper.GetAnimationPosition

    public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip, ref float rate)

    AnimationStyleHelper.UpdateAnimationType

    public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType, bool enableSerieDataAnimation)

    AnimationStyleHelper.UpdateSerieAnimation

    public static void UpdateSerieAnimation(Serie serie)

    AnimationType

    class in XCharts.Runtime

    可选:

    • Default: 默认。内部会根据实际情况选择一种动画播放方式。
    • LeftToRight: 从左往右播放动画。
    • BottomToTop: 从下往上播放动画。
    • InsideOut: 由内到外播放动画。
    • AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    • Clockwise: 顺时针播放动画。

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    区域填充样式。

    AreaStyle.GetColor

    public Color32 GetColor(Color32 themeColor)

    AreaStyle.AreaOrigin

    class in XCharts.Runtime

    图形区域的起始位置。默认情况下,图形会从坐标轴轴线到数据间进行填充。如果需要填充的区域是坐标轴最大值到数据间,或者坐标轴最小值到数据间,则可以通过这个配置项进行设置。

    可选:

    • Auto: 填充坐标轴轴线到数据间的区域。
    • Start: 填充坐标轴底部到数据间的区域。
    • End: 填充坐标轴顶部到数据间的区域。

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    ArrowStyle.Clone

    public ArrowStyle Clone()

    ArrowStyle.Copy

    public void Copy(ArrowStyle arrow)

    ArrowStyle.GetColor

    public Color32 GetColor(Color32 defaultColor)

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis,ParallelAxis,RadiusAxis,SingleAxis,XAxis,XAxis3D,YAxis,YAxis3D,ZAxis3D

    直角坐标系的坐标轴组件。

    Axis.AddData

    public void AddData(string category)
    +添加一个类目到类目数据列表

    Axis.AddIcon

    public void AddIcon(Sprite icon)
    +添加图标

    Axis.ClearComponentDirty

    public override void ClearComponentDirty()

    Axis.ClearData

    public override void ClearData()
    +清空类目数据

    Axis.ClearVerticesDirty

    public override void ClearVerticesDirty()

    Axis.Clone

    public Axis Clone()

    Axis.Copy

    public void Copy(Axis axis)

    Axis.GetAddedDataCount

    public int GetAddedDataCount()
    +获得添加过的历史数据总数

    Axis.GetCategoryPosition

    public Vector3 GetCategoryPosition(int categoryIndex, int dataCount = 0)

    Axis.GetData

    public string GetData(int index, DataZoom dataZoom)
    +获得在dataZoom范围内指定索引的类目数据

    Axis.GetDistance

    public float GetDistance(double value, float axisLength = 0)
    +获得值在坐标轴上的距离

    Axis.GetIcon

    public Sprite GetIcon(int index)

    Axis.GetLabelValue

    public double GetLabelValue(int index)

    Axis.GetLastLabelValue

    public double GetLastLabelValue()

    Axis.GetLogMaxIndex

    public double GetLogMaxIndex()

    Axis.GetLogMinIndex

    public double GetLogMinIndex()

    Axis.GetLogValue

    public float GetLogValue(double value)

    Axis.GetValueLength

    public float GetValueLength(double value, float axisLength)

    Axis.IsBottom

    public bool IsBottom()

    Axis.IsCategory

    public bool IsCategory()
    +是否为类目轴。

    Axis.IsLeft

    public bool IsLeft()

    Axis.IsLog

    public bool IsLog()
    +是否为对数轴。

    Axis.IsNeedShowLabel

    public bool IsNeedShowLabel(int index, int total = 0)

    Axis.IsRight

    public bool IsRight()

    Axis.IsTime

    public bool IsTime()
    +是否为时间轴。

    Axis.IsTop

    public bool IsTop()

    Axis.IsValue

    public bool IsValue()
    +是否为数值轴。

    Axis.RemoveData

    public void RemoveData(int dataIndex)

    Axis.ResetStatus

    public override void ResetStatus()
    +重置状态。

    Axis.SetComponentDirty

    public override void SetComponentDirty()

    Axis.SetNeedUpdateFilterData

    public void SetNeedUpdateFilterData()

    Axis.UpdateData

    public void UpdateData(int index, string category)
    +更新类目数据

    Axis.UpdateIcon

    public void UpdateIcon(int index, Sprite icon)
    +更新图标

    Axis.UpdateZeroOffset

    public void UpdateZeroOffset(float axisLength)

    Axis.AxisMinMaxType

    class in XCharts.Runtime

    坐标轴最大最小刻度显示类型。

    可选:

    • Default: 0-最大值。
    • MinMax: 最小值-最大值。
    • Custom: 自定义最小值最大值。
    • MinMaxAuto: [since("v3.7.0")]最小值-最大值。自动计算合适的值。

    Axis.AxisPosition

    class in XCharts.Runtime

    坐标轴在Grid中的位置

    可选:

    • Left: 坐标轴在Grid中的位置
    • Right: 坐标轴在Grid中的位置
    • Bottom: 坐标轴在Grid中的位置
    • Top: 坐标轴在Grid中的位置
    • Center: 坐标轴在Grid中的位置

    Axis.AxisType

    class in XCharts.Runtime

    坐标轴类型。

    可选:

    • Value: 数值轴。适用于连续数据。
    • Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    • Log: 对数轴。适用于对数数据。
    • Time: 时间轴。适用于连续的时序数据。

    Axis3DHelper

    class in XCharts.Runtime

    Axis3DHelper.Get3DGridPosition

    public static Vector3 Get3DGridPosition(GridCoord3D grid, XAxis3D xAxis, YAxis3D yAxis, double xValue, double yValue)

    Axis3DHelper.GetLabelPosition

    public static Vector3 GetLabelPosition(int i, Axis axis, Axis relativedAxis, AxisTheme theme, float scaleWid)

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    AxisAnimation.Clone

    public AxisAnimation Clone()

    AxisAnimation.Copy

    public void Copy(AxisAnimation animation)

    AxisContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    AxisContext.destMaxValue

    public double destMaxValue

    AxisContext.destMinValue

    public double destMinValue

    AxisContext.labelObjectList

    public List<ChartLabel> labelObjectList

    AxisContext.labelValueList

    public List<double> labelValueList

    AxisContext.lastMaxValue

    public double lastMaxValue
    +当前最大值。

    AxisContext.lastMinValue

    public double lastMinValue
    +当前最小值。

    AxisContext.needAnimation

    public bool needAnimation

    AxisContext.runtimeData

    public List<string> runtimeData
    +数值轴时每个tick的数值。

    AxisHandler<T>

    class in XCharts / 继承自: MainComponentHandler

    AxisHandler<T>.component

    public T component

    AxisHelper

    class in XCharts.Runtime

    AxisHelper.AdjustCircleLabelPos

    public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)

    AxisHelper.AdjustMinMaxValue

    public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
    +调整最大最小值

    AxisHelper.AdjustRadiusAxisLabelPos

    public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)

    AxisHelper.GetAxisLineArrowOffset

    public static float GetAxisLineArrowOffset(Axis axis)
    +包含箭头偏移的轴线长度

    AxisHelper.GetAxisPosition

    public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)

    AxisHelper.GetAxisPositionValue

    public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)

    AxisHelper.GetAxisValueDistance

    public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
    +获得数值value在坐标轴上相对起点的距离

    AxisHelper.GetAxisValueLength

    public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
    +获得数值value在坐标轴上对应的长度

    AxisHelper.GetAxisValuePosition

    public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
    +获得数值value在坐标轴上的坐标位置

    AxisHelper.GetAxisValueSplitIndex

    public static int GetAxisValueSplitIndex(Axis axis, double value, bool checkMaxCache, int totalSplitNumber = -1)
    +获得数值value在坐标轴上对应的split索引

    AxisHelper.GetAxisXOrY

    public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)

    AxisHelper.GetDataWidth

    public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
    +获得一个类目数据在坐标系中代表的宽度

    AxisHelper.GetEachWidth

    public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)

    AxisHelper.GetScaleNumber

    public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    +获得分割线条数

    AxisHelper.GetScaleWidth

    public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
    +获得分割段宽度

    AxisHelper.GetSplitNumber

    public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
    +获得分割段数

    AxisHelper.GetTotalSplitGridNum

    public static int GetTotalSplitGridNum(Axis axis)
    +获得分割网格个数,包含次刻度

    AxisHelper.GetXAxisXOrY

    public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)

    AxisHelper.GetYAxisXOrY

    public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)

    AxisHelper.NeedShowSplit

    public static bool NeedShowSplit(Axis axis)

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    AxisLabel.componentDirty

    public override bool componentDirty

    AxisLabel.ClearComponentDirty

    public override void ClearComponentDirty()

    AxisLabel.Clone

    public new AxisLabel Clone()

    AxisLabel.Copy

    public void Copy(AxisLabel axisLabel)

    AxisLabel.GetFormatterContent

    public override string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)

    AxisLabel.IsNeedShowLabel

    public bool IsNeedShowLabel(int index, int total)

    AxisLabel.SetRelatedText

    public void SetRelatedText(ChartText txt, float labelWidth)

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    AxisLine.Clone

    public AxisLine Clone()

    AxisLine.Copy

    public void Copy(AxisLine axisLine)

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    AxisMinorSplitLine.autoColor

    public bool autoColor
    +自动设置颜色。

    AxisMinorSplitLine.distance

    public float distance
    +刻度线与轴线的距离。

    AxisMinorSplitLine.vertsDirty

    public override bool vertsDirty

    AxisMinorSplitLine.ClearVerticesDirty

    public override void ClearVerticesDirty()

    AxisMinorSplitLine.Clone

    public AxisMinorSplitLine Clone()

    AxisMinorSplitLine.Copy

    public void Copy(AxisMinorSplitLine splitLine)

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    AxisMinorTick.autoColor

    public bool autoColor

    AxisMinorTick.vertsDirty

    public override bool vertsDirty

    AxisMinorTick.ClearVerticesDirty

    public override void ClearVerticesDirty()

    AxisMinorTick.Clone

    public AxisMinorTick Clone()

    AxisMinorTick.Copy

    public void Copy(AxisMinorTick axisTick)

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    AxisName.Clone

    public AxisName Clone()

    AxisName.Copy

    public void Copy(AxisName axisName)

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    AxisSplitArea.Clone

    public AxisSplitArea Clone()

    AxisSplitArea.Copy

    public void Copy(AxisSplitArea splitArea)

    AxisSplitArea.GetColor

    public Color32 GetColor(int index, BaseAxisTheme theme)

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    AxisSplitLine.autoColor

    public bool autoColor
    +自动设置颜色。

    AxisSplitLine.distance

    public float distance
    +刻度线与轴线的距离。

    AxisSplitLine.vertsDirty

    public override bool vertsDirty

    AxisSplitLine.ClearVerticesDirty

    public override void ClearVerticesDirty()

    AxisSplitLine.Clone

    public AxisSplitLine Clone()

    AxisSplitLine.Copy

    public void Copy(AxisSplitLine splitLine)

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AxisTheme.base(theme)

    public AxisTheme(ThemeType theme) : base(theme)

    AxisTheme.AxisTheme

    public AxisTheme(ThemeType theme) : base(theme) { }

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    AxisTick.autoColor

    public bool autoColor

    AxisTick.distance

    public float distance
    +刻度线与轴线的距离。

    AxisTick.Clone

    public AxisTick Clone()

    AxisTick.Copy

    public void Copy(AxisTick axisTick)

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    Background.SetDefaultValue

    public override void SetDefaultValue()

    Bar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    Bar.containerIndex

    public int containerIndex

    Bar.containterInstanceId

    public int containterInstanceId

    Bar.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    Bar.ConvertSerie

    public static Bar ConvertSerie(Serie serie)

    BarChart

    class in XCharts.Runtime / 继承自: BaseChart

    柱状图(或称条形图)是一种通过柱形的高度(横向的情况下则是宽度)来表现数据大小的一种常用图表类型。

    BarChart.DefaultBarChart

    public void DefaultBarChart()
    +默认条形图。

    BarChart.DefaultCapsuleBarChart

    public void DefaultCapsuleBarChart()
    +默认胶囊条形图。

    BarChart.DefaultCapsuleColumnChart

    public void DefaultCapsuleColumnChart()
    +胶囊柱状图。

    BarChart.DefaultGroupedBarChart

    public void DefaultGroupedBarChart()
    +默认分组条形图。

    BarChart.DefaultGroupedColumnChart

    public void DefaultGroupedColumnChart()
    +默认分组柱状图。

    BarChart.DefaultPercentBarChart

    public void DefaultPercentBarChart()
    +默认百分比条形图。

    BarChart.DefaultPercentColumnChart

    public void DefaultPercentColumnChart()
    +默认百分比柱状图。

    BarChart.DefaultStackedBarChart

    public void DefaultStackedBarChart()
    +默认堆叠条形图。

    BarChart.DefaultStackedColumnChart

    public void DefaultStackedColumnChart()
    +默认堆叠分组柱状图。

    BarChart.DefaultZebraBarChart

    public void DefaultZebraBarChart()
    +默认斑马条形图。

    BarChart.DefaultZebraColumnChart

    public void DefaultZebraColumnChart()
    +斑马柱状图。

    BarType

    class in XCharts.Runtime

    柱状图类型。

    可选:

    • Normal: 普通柱形图。
    • Zebra: 斑马柱形图。
    • Capsule: 胶囊柱形图。

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme,RadiusAxisTheme,AngleAxisTheme,PolarAxisTheme,RadarAxisTheme

    BaseAxisTheme.BaseAxisTheme

    public BaseAxisTheme(ThemeType theme) : base(theme)

    BaseAxisTheme.Copy

    public void Copy(BaseAxisTheme theme)

    BaseChart

    class in XCharts.Runtime / 继承自: BaseGraph,ISerializationCallbackReceiver / 子类: BarChart,CandlestickChart,HeatmapChart,LineChart,ParallelChart,PieChart,PolarChart,RadarChart,RingChart,ScatterChart,SimplifiedBarChart,SimplifiedCandlestickChart,SimplifiedLineChart

    BaseChart.axis)

    public virtual void InitAxisRuntimeData(Axis axis)

    BaseChart.chartHeight

    public float chartHeight
    +图表的高

    BaseChart.chartHideFlags

    public override HideFlags chartHideFlags

    BaseChart.chartMaxAnchor

    public Vector2 chartMaxAnchor

    BaseChart.chartMinAnchor

    public Vector2 chartMinAnchor

    BaseChart.chartPivot

    public Vector2 chartPivot

    BaseChart.chartPosition

    public Vector3 chartPosition
    +图表的左下角起始坐标。

    BaseChart.chartRect

    public Rect chartRect

    BaseChart.chartSizeDelta

    public Vector2 chartSizeDelta

    BaseChart.chartWidth

    public float chartWidth
    +图表的宽

    BaseChart.chartX

    public float chartX
    +图表的X

    BaseChart.chartY

    public float chartY
    +图表的Y

    BaseChart.components

    public List<MainComponent> components

    BaseChart.customDrawGaugePointerFunction

    public CustomDrawGaugePointerFunction customDrawGaugePointerFunction
    +自定义仪表盘指针绘制委托。

    BaseChart.debug

    public DebugInfo debug

    BaseChart.onAxisPointerValueChanged

    public Action<Axis, double> onAxisPointerValueChanged
    +坐标轴变更数据索引时回调。参数:axis, dataIndex/dataValue

    BaseChart.onDraw

    public Action<VertexHelper> onDraw
    +自定义绘制回调。在绘制Serie前调用。

    BaseChart.onDrawAfterSerie

    public Action<VertexHelper, Serie> onDrawAfterSerie
    +自定义Serie绘制回调。在每个Serie绘制完后调用。

    BaseChart.onDrawBeforeSerie

    public Action<VertexHelper, Serie> onDrawBeforeSerie
    +自定义Serie绘制回调。在每个Serie绘制完前调用。

    BaseChart.onDrawTop

    public Action<VertexHelper> onDrawTop
    +自定义Top层绘制回调。在绘制Tooltip前调用。

    BaseChart.onDrawUpper

    public Action<VertexHelper> onDrawUpper
    +自定义Upper层绘制回调。在绘制Tooltip前调用。

    BaseChart.onInit

    public Action onInit
    +图表的初始化完成回调。

    BaseChart.onLegendClick

    public Action<Legend, int, string, bool> onLegendClick
    +点击图例按钮回调。参数:legendIndex, legendName, show

    BaseChart.onLegendEnter

    public Action<Legend, int, string> onLegendEnter
    +鼠标进入图例回调。参数:legendIndex, legendName

    BaseChart.onLegendExit

    public Action<Legend, int, string> onLegendExit
    +鼠标退出图例回调。参数:legendIndex, legendName

    BaseChart.onPointerClickBar

    public Action<PointerEventData, int> onPointerClickBar
    +点击柱形图柱条回调。参数:eventData, dataIndex

    BaseChart.onPointerClickPie

    public Action<PointerEventData, int, int> onPointerClickPie
    +点击饼图区域回调。参数:PointerEventData,SerieIndex,SerieDataIndex

    BaseChart.onPointerEnterPie

    public Action<int, int> onPointerEnterPie
    +鼠标进入和离开饼图区域回调,SerieDataIndex为-1时表示离开。参数:PointerEventData,SerieIndex,SerieDataIndex

    BaseChart.onSerieClick

    public Action<SerieEventData> onSerieClick

    v3.6.0 开始支持

    鼠标点击Serie回调。

    BaseChart.onSerieDown

    public Action<SerieEventData> onSerieDown

    v3.6.0 开始支持

    鼠标按下Serie回调。

    BaseChart.onSerieEnter

    public Action<SerieEventData> onSerieEnter

    v3.6.0 开始支持

    鼠标进入Serie回调。

    BaseChart.onSerieExit

    public Action<SerieEventData> onSerieExit

    v3.6.0 开始支持

    鼠标离开Serie回调。

    BaseChart.onUpdate

    public Action onUpdate
    +图表的Update回调。

    BaseChart.series

    public List<Serie> series

    BaseChart.settings

    public Settings settings
    +全局设置组件。

    BaseChart.theme

    public ThemeStyle theme

    BaseChart.typeListForComponent

    public Dictionary<Type, FieldInfo> typeListForComponent

    BaseChart.typeListForSerie

    public Dictionary<Type, FieldInfo> typeListForSerie

    BaseChart.AddChartComponent

    public MainComponent AddChartComponent(Type type)

    BaseChart.AddChartComponent<T>

    public T AddChartComponent<T>() where T : MainComponent

    BaseChart.AddChartComponentWhenNoExist<T>

    public T AddChartComponentWhenNoExist<T>() where T : MainComponent

    BaseChart.AddData

    public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
    +添加(time,y)数据到指定的系列中。

    public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
    +添加一个数据到指定的系列中。

    public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)

    public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
    +添加(x,y)数据到指定系列中。

    public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
    +添加多维数据(x,y,z...)到指定的系列中。

    public SerieData AddData(int serieIndex, params double[] multidimensionalData)
    +添加多维数据(x,y,z...)到指定的系列中。

    public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
    +添加(time,y)数据到指定的系列中。

    public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)

    public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
    +添加(x,y)数据到指定系列中。

    public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
    +添加多维数据(x,y,z...)到指定的系列中。

    public SerieData AddData(string serieName, params double[] multidimensionalData)
    +添加多维数据(x,y,z...)到指定的系列中。

    public SerieDataLink AddLink(int serieIndex, string sourceId, string targetId, double value = 0)
    +添加一个关系图的关系数据。

    BaseChart.AddSerie<T>

    public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie

    BaseChart.AddXAxisData

    public void AddXAxisData(string category, int xAxisIndex = 0)
    +添加一个类目数据到指定的x轴。

    BaseChart.AddXAxisIcon

    public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
    +添加一个图标到指定的x轴。

    BaseChart.AddYAxisData

    public void AddYAxisData(string category, int yAxisIndex = 0)
    +添加一个类目数据到指定的y轴。

    BaseChart.AddYAxisIcon

    public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
    +添加一个图标到指定的y轴。

    BaseChart.AnimationEnable

    public void AnimationEnable(bool flag)
    +是否启用Serie动画。

    BaseChart.AnimationFadeIn

    public void AnimationFadeIn(bool reset = true)
    +开始所有Serie的渐入动画。

    BaseChart.AnimationFadeOut

    public void AnimationFadeOut()
    +开始所有Serie的渐出动画。

    BaseChart.AnimationPause

    public void AnimationPause()
    +暂停所有Serie的动画。

    BaseChart.AnimationReset

    public void AnimationReset()
    +重置所有Serie的动画。

    BaseChart.AnimationResume

    public void AnimationResume()
    +继续所有Serie的动画。

    BaseChart.CanAddChartComponent

    public bool CanAddChartComponent(Type type)

    BaseChart.CanAddSerie

    public bool CanAddSerie(Type type)

    BaseChart.CanAddSerie<T>

    public bool CanAddSerie<T>() where T : Serie

    BaseChart.CancelTooltip

    public void CancelTooltip()

    v3.7.0 开始支持

    取消Tooltip.

    BaseChart.CanMultipleComponent

    public bool CanMultipleComponent(Type type)

    BaseChart.ClampInChart

    public void ClampInChart(ref Vector3 pos)

    BaseChart.ClampInGrid

    public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)

    BaseChart.ClearComponentData

    public virtual void ClearComponentData()

    v3.4.0 开始支持

    清空所有组件的数据。

    BaseChart.ClearData

    public virtual void ClearData()
    +清空所有组件和Serie的数据。注意:Serie只是清空数据,不会移除Serie。

    BaseChart.ClearSerieData

    public virtual void ClearSerieData()

    v3.4.0 开始支持

    清空所有serie的数据。

    public virtual void ClearSerieLinks()

    v3.10.0 开始支持

    清空所有serie的link数据。

    BaseChart.ClickLegendButton

    public void ClickLegendButton(int legendIndex, string legendName, bool show)
    +点击图例按钮

    BaseChart.ConvertSerie

    public bool ConvertSerie(Serie serie, Type type)

    BaseChart.ConvertSerie<T>

    public bool ConvertSerie<T>(Serie serie) where T : Serie

    BaseChart.ConvertXYAxis

    public void ConvertXYAxis(int index)
    +转换X轴和Y轴的配置

    BaseChart.EnsureChartComponent<T>

    public T EnsureChartComponent<T>() where T : MainComponent

    v3.6.0 开始支持

    确保图表有该组件,如果没有则添加。注意:有可能添加不成功。

    BaseChart.GenerateDefaultSerieName

    public string GenerateDefaultSerieName()

    BaseChart.GetAllSerieDataCount

    public int GetAllSerieDataCount()

    BaseChart.GetChartBackgroundColor

    public Color32 GetChartBackgroundColor()

    BaseChart.GetChartComponent<T>

    public T GetChartComponent<T>(int index = 0) where T : MainComponent

    BaseChart.GetChartComponentNum

    public int GetChartComponentNum(Type type)

    BaseChart.GetChartComponentNum<T>

    public int GetChartComponentNum<T>() where T : MainComponent

    BaseChart.GetChartComponents<T>

    public List<MainComponent> GetChartComponents<T>() where T : MainComponent

    BaseChart.GetData

    public double GetData(int serieIndex, int dataIndex, int dimension = 1)

    BaseChart.GetDataZoomOfAxis

    public DataZoom GetDataZoomOfAxis(Axis axis)

    BaseChart.GetDataZoomOfSerie

    public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)

    BaseChart.GetGrid

    public GridCoord GetGrid(Vector2 local)

    BaseChart.GetGridOfDataZoom

    public GridCoord GetGridOfDataZoom(DataZoom dataZoom)

    BaseChart.GetItemColor

    public Color32 GetItemColor(Serie serie)

    public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)

    BaseChart.GetLegendRealShowNameColor

    public Color32 GetLegendRealShowNameColor(string name)

    BaseChart.GetLegendRealShowNameIndex

    public int GetLegendRealShowNameIndex(string name)

    BaseChart.GetMarkColor

    public Color32 GetMarkColor(Serie serie, SerieData serieData)

    v3.4.0 开始支持

    获得Serie的标识颜色。

    BaseChart.GetOrAddChartComponent<T>

    public T GetOrAddChartComponent<T>() where T : MainComponent

    BaseChart.GetPainter

    public Painter GetPainter(int index)

    BaseChart.GetSerie

    public Serie GetSerie(int serieIndex)

    BaseChart.GetSerie<T>

    public T GetSerie<T>(int serieIndex) where T : Serie

    BaseChart.GetSerieBarGap<T>

    public float GetSerieBarGap<T>() where T : Serie

    BaseChart.GetSerieBarRealCount<T>

    public int GetSerieBarRealCount<T>() where T : Serie

    BaseChart.GetSerieIndexIfStack<T>

    public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie

    BaseChart.GetSerieSameStackTotalValue<T>

    public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie

    BaseChart.GetSeriesMinMaxValue

    public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)

    BaseChart.GetSerieTotalGap<T>

    public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie

    BaseChart.GetSerieTotalWidth<T>

    public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie

    BaseChart.GetTitlePosition

    public Vector3 GetTitlePosition(Title title)

    BaseChart.GetVisualMapOfSerie

    public VisualMap GetVisualMapOfSerie(Serie serie)

    BaseChart.GetXDataZoomOfSerie

    public DataZoom GetXDataZoomOfSerie(Serie serie)

    BaseChart.GetXLerpColor

    public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)

    BaseChart.GetYLerpColor

    public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)

    BaseChart.HasChartComponent

    public bool HasChartComponent(Type type)

    BaseChart.HasChartComponent<T>

    public bool HasChartComponent<T>()

    BaseChart.HasSerie

    public bool HasSerie(Type type)

    BaseChart.HasSerie<T>

    public bool HasSerie<T>() where T : Serie

    BaseChart.Init

    public void Init(bool defaultChart = true)

    BaseChart.InitAxisRuntimeData

    public virtual void InitAxisRuntimeData(Axis axis) { }

    BaseChart.InsertSerie

    public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)

    BaseChart.InsertSerie<T>

    public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie

    BaseChart.Internal_CheckAnimation

    public void Internal_CheckAnimation()

    BaseChart.IsActiveByLegend

    public virtual bool IsActiveByLegend(string legendName)
    +获得指定图例名字的系列是否显示。

    BaseChart.IsAllAxisCategory

    public bool IsAllAxisCategory()
    +纯类目轴。

    BaseChart.IsAllAxisValue

    public bool IsAllAxisValue()
    +纯数值坐标轴(数值轴或对数轴)。

    BaseChart.IsInAnyGrid

    public bool IsInAnyGrid(Vector2 local)

    BaseChart.IsInChart

    public bool IsInChart(float x, float y)

    BaseChart.IsSerieName

    public bool IsSerieName(string name)

    BaseChart.MoveDownSerie

    public bool MoveDownSerie(int serieIndex)

    BaseChart.MoveUpSerie

    public bool MoveUpSerie(int serieIndex)

    BaseChart.OnAfterDeserialize

    public void OnAfterDeserialize()

    BaseChart.OnBeforeSerialize

    public void OnBeforeSerialize()

    BaseChart.OnBeginDrag

    public override void OnBeginDrag(PointerEventData eventData)

    BaseChart.OnDataZoomRangeChanged

    public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)

    BaseChart.OnDrag

    public override void OnDrag(PointerEventData eventData)

    BaseChart.OnEndDrag

    public override void OnEndDrag(PointerEventData eventData)

    BaseChart.OnLegendButtonClick

    public virtual void OnLegendButtonClick(int index, string legendName, bool show)

    BaseChart.OnLegendButtonEnter

    public virtual void OnLegendButtonEnter(int index, string legendName)

    BaseChart.OnLegendButtonExit

    public virtual void OnLegendButtonExit(int index, string legendName)

    BaseChart.OnPointerClick

    public override void OnPointerClick(PointerEventData eventData)

    BaseChart.OnPointerDown

    public override void OnPointerDown(PointerEventData eventData)

    BaseChart.OnPointerEnter

    public override void OnPointerEnter(PointerEventData eventData)

    BaseChart.OnPointerExit

    public override void OnPointerExit(PointerEventData eventData)

    BaseChart.OnPointerUp

    public override void OnPointerUp(PointerEventData eventData)

    BaseChart.OnScroll

    public override void OnScroll(PointerEventData eventData)

    BaseChart.RefreshBasePainter

    public void RefreshBasePainter()

    BaseChart.RefreshChart

    public void RefreshChart(int serieIndex)
    +在下一帧刷新图表的指定serie。

    public void RefreshChart(Serie serie)
    +在下一帧刷新图表的指定serie。

    BaseChart.RefreshDataZoom

    public void RefreshDataZoom()
    +在下一帧刷新DataZoom

    BaseChart.RefreshGraph

    public override void RefreshGraph()

    BaseChart.RefreshPainter

    public void RefreshPainter(Serie serie)

    BaseChart.RefreshTopPainter

    public void RefreshTopPainter()

    BaseChart.RefreshUpperPainter

    public void RefreshUpperPainter()

    BaseChart.RemoveAllChartComponent

    public void RemoveAllChartComponent()

    BaseChart.RemoveAllSerie

    public virtual void RemoveAllSerie()

    v3.2.0 开始支持

    移除所有的Serie。当确认只需要移除Serie时使用该接口,其他情况下一般用RemoveData()。

    BaseChart.RemoveChartComponent

    public bool RemoveChartComponent(MainComponent component)

    BaseChart.RemoveChartComponent<T>

    public bool RemoveChartComponent<T>(int index = 0)

    BaseChart.RemoveChartComponents

    public int RemoveChartComponents(Type type)

    BaseChart.RemoveChartComponents<T>

    public int RemoveChartComponents<T>()

    BaseChart.RemoveData

    public virtual void RemoveData(string serieName)
    +清除指定系列名称的数据。

    BaseChart.RemoveSerie

    public void RemoveSerie(int serieIndex)

    public void RemoveSerie(Serie serie)

    BaseChart.RemoveSerie<T>

    public void RemoveSerie<T>() where T : Serie

    BaseChart.ReplaceSerie

    public bool ReplaceSerie(Serie oldSerie, Serie newSerie)

    BaseChart.ResetChartStatus

    public void ResetChartStatus()

    v3.10.0 开始支持

    重置图表状态。当设置某些参数后,由于动画影响,可能导致图表状态不正确,此时可以调用该接口重置图表状态。

    BaseChart.ResetDataIndex

    public bool ResetDataIndex(int serieIndex)
    +重置serie的数据项索引。避免数据项索引异常。

    BaseChart.SetBasePainterMaterial

    public void SetBasePainterMaterial(Material material)
    +设置Base Painter的材质球

    BaseChart.SetInsertDataToHead

    public void SetInsertDataToHead(bool insertDataToHead)

    v3.11.0 开始支持

    设置数据插入到头部。

    BaseChart.SetMaxCache

    public void SetMaxCache(int maxCache)
    +设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。

    BaseChart.SetPainterActive

    public void SetPainterActive(int index, bool flag)

    BaseChart.SetSerieActive

    public void SetSerieActive(int serieIndex, bool active)
    +设置指定系列是否显示。

    public void SetSerieActive(Serie serie, bool active)

    BaseChart.SetSeriePainterMaterial

    public void SetSeriePainterMaterial(Material material)
    +设置Serie Painter的材质球

    BaseChart.SetTopPainterMaterial

    public void SetTopPainterMaterial(Material material)
    +设置Top Painter的材质球

    BaseChart.SetUpperPainterMaterial

    public void SetUpperPainterMaterial(Material material)
    +设置Upper Painter的材质球

    BaseChart.TriggerTooltip

    public bool TriggerTooltip(Vector3 localPosition)

    v3.7.0 开始支持

    在指定的位置尝试触发Tooltip.

    BaseChart.TryAddChartComponent

    public bool TryAddChartComponent(Type type)

    BaseChart.TryAddChartComponent<T>

    public bool TryAddChartComponent<T>(out T component) where T : MainComponent

    BaseChart.TryGetChartComponent<T>

    public bool TryGetChartComponent<T>(out T component, int index = 0)

    BaseChart.UpdateData

    public bool UpdateData(int serieIndex, int dataIndex, double value)
    +更新指定系列中的指定索引数据。

    public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
    +更新指定系列指定索引指定维数的数据。维数从0开始。

    public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
    +更新指定系列指定索引的数据项的多维数据。

    public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
    +更新指定系列指定索引指定维数的数据。维数从0开始。

    public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
    +更新指定系列指定索引的数据项的多维数据。

    BaseChart.UpdateDataName

    public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
    +更新指定系列中的指定索引数据名称。

    BaseChart.UpdateLegendColor

    public virtual void UpdateLegendColor(string legendName, bool active)

    BaseChart.UpdateTheme

    public void UpdateTheme(Theme theme)
    +切换图表主题。

    BaseChart.UpdateXAxisData

    public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
    +更新X轴类目数据。

    BaseChart.UpdateXAxisIcon

    public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
    +更新X轴图标。

    BaseChart.UpdateYAxisData

    public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
    +更新Y轴类目数据。

    BaseChart.UpdateYAxisIcon

    public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
    +更新Y轴图标。

    BaseGraph

    class in XCharts.Runtime / 继承自: MaskableGraphic,IPointerDownHandler,IPointerUpHandler, / 子类: BaseChart,UIComponent

    BaseGraph.chartHideFlags

    public virtual HideFlags chartHideFlags

    BaseGraph.clickPos

    public Vector2 clickPos

    BaseGraph.forceOpenRaycastTarget

    public bool forceOpenRaycastTarget
    +强制开启鼠标事件检测。

    BaseGraph.graphAnchoredPosition

    public Vector2 graphAnchoredPosition

    BaseGraph.graphHeight

    public float graphHeight
    +图形的高

    BaseGraph.graphMaxAnchor

    public Vector2 graphMaxAnchor

    BaseGraph.graphMinAnchor

    public Vector2 graphMinAnchor

    BaseGraph.graphPivot

    public Vector2 graphPivot

    BaseGraph.graphPosition

    public Vector3 graphPosition
    +图形的左下角起始坐标。

    BaseGraph.graphRect

    public Rect graphRect

    BaseGraph.graphSizeDelta

    public Vector2 graphSizeDelta

    BaseGraph.graphWidth

    public float graphWidth
    +图形的宽

    BaseGraph.graphX

    public float graphX
    +图形的X

    BaseGraph.graphY

    public float graphY
    +图形的Y

    BaseGraph.isPointerClick

    public bool isPointerClick
    +鼠标是否点击了图表。

    BaseGraph.isPointerInChart

    public bool isPointerInChart
    +鼠标是否在图表内。

    BaseGraph.onBeginDrag

    public Action<PointerEventData, BaseGraph> onBeginDrag
    +鼠标开始拖拽回调。

    BaseGraph.onDrag

    public Action<PointerEventData, BaseGraph> onDrag
    +鼠标拖拽回调。

    BaseGraph.onEndDrag

    public Action<PointerEventData, BaseGraph> onEndDrag
    +鼠标结束拖拽回调。

    BaseGraph.onPointerClick

    public Action<PointerEventData, BaseGraph> onPointerClick
    +鼠标点击回调。

    BaseGraph.onPointerDown

    public Action<PointerEventData, BaseGraph> onPointerDown
    +鼠标按下回调。

    BaseGraph.onPointerEnter

    public Action<PointerEventData, BaseGraph> onPointerEnter
    +鼠标进入回调。

    BaseGraph.onPointerExit

    public Action<PointerEventData, BaseGraph> onPointerExit
    +鼠标退出回调。

    BaseGraph.onPointerUp

    public Action<PointerEventData, BaseGraph> onPointerUp
    +鼠标弹起回调。

    BaseGraph.onScroll

    public Action<PointerEventData, BaseGraph> onScroll
    +鼠标滚动回调。

    BaseGraph.painter

    public Painter painter

    BaseGraph.pointerPos

    public Vector2 pointerPos
    +鼠标位置。

    BaseGraph.warningInfo

    public string warningInfo
    +警告信息。

    BaseGraph.CheckWarning

    public string CheckWarning()
    +检测警告信息。

    BaseGraph.LocalPointToScreenPoint

    public Vector2 LocalPointToScreenPoint(Vector2 localPoint)

    v3.7.0 开始支持

    图表内坐标转屏幕坐标。

    BaseGraph.LocalPointToWorldPoint

    public Vector2 LocalPointToWorldPoint(Vector2 localPoint)

    v3.7.0 开始支持

    图表内坐标转世界坐标。

    BaseGraph.OnBeginDrag

    public virtual void OnBeginDrag(PointerEventData eventData)

    BaseGraph.OnDrag

    public virtual void OnDrag(PointerEventData eventData)

    BaseGraph.OnEndDrag

    public virtual void OnEndDrag(PointerEventData eventData)

    BaseGraph.OnPointerClick

    public virtual void OnPointerClick(PointerEventData eventData)

    BaseGraph.OnPointerDown

    public virtual void OnPointerDown(PointerEventData eventData)

    BaseGraph.OnPointerEnter

    public virtual void OnPointerEnter(PointerEventData eventData)

    BaseGraph.OnPointerExit

    public virtual void OnPointerExit(PointerEventData eventData)

    BaseGraph.OnPointerUp

    public virtual void OnPointerUp(PointerEventData eventData)

    BaseGraph.OnScroll

    public virtual void OnScroll(PointerEventData eventData)

    BaseGraph.RebuildChartObject

    public void RebuildChartObject()
    +移除并重新创建所有图表的Object。

    BaseGraph.RefreshAllComponent

    public void RefreshAllComponent()

    BaseGraph.RefreshGraph

    public virtual void RefreshGraph()
    +在下一帧刷新图形。

    BaseGraph.SaveAsImage

    public void SaveAsImage(string imageType = "png", string savePath = "")
    +保存图表为图片。

    BaseGraph.ScreenPointToChartPoint

    public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)

    BaseGraph.SetPainterDirty

    public void SetPainterDirty()
    +重新初始化Painter

    BaseGraph.SetSize

    public virtual void SetSize(float width, float height)
    +设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform)

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine,AxisMinorSplitLine,AxisMinorTick,AxisSplitLine,AxisTick

    线条基础配置。

    BaseLine.BaseLine

    public BaseLine(bool show) : base()

    BaseLine.Copy

    public void Copy(BaseLine axisLine)

    BaseLine.GetColor

    public Color32 GetColor(Color32 themeColor)

    BaseLine.GetLength

    public float GetLength(float themeLength)

    BaseLine.GetType

    public LineStyle.Type GetType(LineStyle.Type themeType)

    BaseLine.GetWidth

    public float GetWidth(float themeWidth)

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer / 子类: EffectScatter,Scatter

    BaseScatter.containerIndex

    public int containerIndex

    BaseScatter.containterInstanceId

    public int containterInstanceId

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    BaseSerie.anyDirty

    public bool anyDirty

    BaseSerie.ClearData()

    public virtual void ClearData()

    BaseSerie.componentDirty

    public virtual bool componentDirty

    BaseSerie.defaultColorBy

    public virtual SerieColorBy defaultColorBy

    BaseSerie.gameObject

    public GameObject gameObject

    BaseSerie.handler

    public SerieHandler handler

    BaseSerie.multiDimensionLabel

    public virtual bool multiDimensionLabel

    BaseSerie.OnBeforeSerialize()

    public virtual void OnBeforeSerialize()

    BaseSerie.OnDataUpdate()

    public virtual void OnDataUpdate()

    BaseSerie.painter

    public Painter painter

    BaseSerie.refreshComponent

    public Action refreshComponent

    BaseSerie.titleJustForSerie

    public virtual bool titleJustForSerie

    BaseSerie.useSortData

    public virtual bool useSortData

    BaseSerie.vertsDirty

    public virtual bool vertsDirty

    BaseSerie.ClearComponentDirty

    public virtual void ClearComponentDirty()

    BaseSerie.ClearData

    public virtual void ClearData() { }

    BaseSerie.ClearDirty

    public virtual void ClearDirty()

    BaseSerie.ClearVerticesDirty

    public virtual void ClearVerticesDirty()

    BaseSerie.IsComponentDirty

    public static bool IsComponentDirty(ChildComponent component)

    BaseSerie.IsVertsDirty

    public static bool IsVertsDirty(ChildComponent component)

    BaseSerie.OnAfterDeserialize

    public virtual void OnAfterDeserialize()

    BaseSerie.OnBeforeSerialize

    public virtual void OnBeforeSerialize() { }

    BaseSerie.OnDataUpdate

    public virtual void OnDataUpdate() { }

    BaseSerie.OnRemove

    public virtual void OnRemove()

    BaseSerie.RefreshLabel

    public void RefreshLabel()

    BaseSerie.SetAllDirty

    public virtual void SetAllDirty()

    BaseSerie.SetComponentDirty

    public virtual void SetComponentDirty()

    BaseSerie.SetVerticesDirty

    public virtual void SetVerticesDirty()

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    BorderStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    边框样式。

    BorderStyle.GetRuntimeBorderColor

    public Color32 GetRuntimeBorderColor()

    BorderStyle.GetRuntimeBorderWidth

    public float GetRuntimeBorderWidth()

    BorderStyle.GetRuntimeCornerRadius

    public float[] GetRuntimeCornerRadius()

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    CalendarCoord.IsPointerEnter

    public bool IsPointerEnter()

    CalendarCoord.UpdateRuntimeData

    public void UpdateRuntimeData(BaseChart chart)

    Candlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    Candlestick.containerIndex

    public int containerIndex

    Candlestick.containterInstanceId

    public int containterInstanceId

    Candlestick.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    CandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    蜡烛图,也叫K线图,用于描述证券、衍生品或货币的价格走势的一种金融图表样式。

    ChartCached

    class in XCharts.Runtime

    ChartCached.ColorToDotStr

    public static string ColorToDotStr(Color color)

    ChartCached.ColorToStr

    public static string ColorToStr(Color color)

    ChartCached.FloatToStr

    public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)

    ChartCached.GetSerieLabelName

    public static string GetSerieLabelName(string prefix, int i, int j)

    ChartCached.GetString

    public static string GetString(string prefix, int suffix)

    ChartCached.IntToStr

    public static string IntToStr(int value, string numericFormatter = "")

    ChartCached.NumberToDateStr

    public static string NumberToDateStr(double timestamp, string formatter)

    ChartCached.NumberToDateTime

    public static DateTime NumberToDateTime(double timestamp)

    ChartCached.NumberToStr

    public static string NumberToStr(double value, string formatter)

    ChartCached.NumberToTimeSpan

    public static TimeSpan NumberToTimeSpan(double timestamp)

    ChartCached.NumberToTimeStr

    public static string NumberToTimeStr(double timestamp, string formatter)

    ChartConst

    class in XCharts.Runtime

    ChartDrawer

    class in XCharts.Runtime

    ChartHelper

    class in XCharts.Runtime

    ChartHelper.ignoreVector3

    public static Vector3 ignoreVector3

    ChartHelper.sb

    public static StringBuilder sb

    ChartHelper.ActiveAllObject

    public static void ActiveAllObject(Transform parent, bool active, string match = null)

    ChartHelper.AddIcon

    public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)

    ChartHelper.Cancat

    public static string Cancat(string str1, int i)

    ChartHelper.ClearEventListener

    public static void ClearEventListener(GameObject obj)

    ChartHelper.CopyArray<T>

    public static bool CopyArray<T>(T[] toList, T[] fromList)

    ChartHelper.CopyList<T>

    public static bool CopyList<T>(List<T> toList, List<T> fromList)

    ChartHelper.DestoryGameObject

    public static void DestoryGameObject(GameObject go)

    ChartHelper.DestoryGameObjectByMatch

    public static void DestoryGameObjectByMatch(Transform parent, string containString)

    ChartHelper.DestroyAllChildren

    public static void DestroyAllChildren(Transform parent)

    ChartHelper.EnsureComponent<T>

    public static T EnsureComponent<T>(GameObject gameObject) where T : Component
    +确保对象有指定的组件,如果没有则添加。

    ChartHelper.GetActualValue

    public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)

    ChartHelper.GetAngle360

    public static float GetAngle360(Vector2 from, Vector2 to)
    +获得0-360的角度(12点钟方向为0度)

    ChartHelper.GetBlurColor

    public static Color32 GetBlurColor(Color32 color, float a = 0.3f)

    ChartHelper.GetColor

    public static Color32 GetColor(string hexColorStr)

    ChartHelper.GetDire

    public static Vector3 GetDire(float angle, bool isDegree = false)

    ChartHelper.GetFullName

    public static string GetFullName(Transform transform)

    ChartHelper.GetHighlightColor

    public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)

    ChartHelper.GetLastValue

    public static Vector3 GetLastValue(List<Vector3> list)

    ChartHelper.GetMaxCeilRate

    public static double GetMaxCeilRate(double value, double ceilRate)

    ChartHelper.GetMaxDivisibleValue

    public static double GetMaxDivisibleValue(double max, double ceilRate)

    ChartHelper.GetMaxLogValue

    public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)

    ChartHelper.GetMinCeilRate

    public static double GetMinCeilRate(double value, double ceilRate)

    ChartHelper.GetMinDivisibleValue

    public static double GetMinDivisibleValue(double min, double ceilRate)

    ChartHelper.GetMinLogValue

    public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)

    ChartHelper.GetOrAddComponent<T>

    public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component

    ChartHelper.GetPointList

    public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)

    ChartHelper.GetPos

    public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)

    ChartHelper.GetPosition

    public static Vector3 GetPosition(Vector3 center, float angle, float radius)

    ChartHelper.GetSelectColor

    public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)

    ChartHelper.GetVertialDire

    public static Vector3 GetVertialDire(Vector3 dire)

    ChartHelper.HideAllObject

    public static void HideAllObject(Transform parent, string match = null)

    ChartHelper.IsActiveByScale

    public static bool IsActiveByScale(Image image)

    public static bool IsActiveByScale(Transform transform)

    ChartHelper.IsClearColor

    public static bool IsClearColor(Color color)

    ChartHelper.IsColorAlphaZero

    public static bool IsColorAlphaZero(Color color)

    ChartHelper.IsEquals

    public static bool IsEquals(float d1, float d2)

    ChartHelper.IsIngore

    public static bool IsIngore(Vector3 pos)

    ChartHelper.IsInRect

    public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)

    ChartHelper.IsPointInQuadrilateral

    public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)

    ChartHelper.IsValueEqualsColor

    public static bool IsValueEqualsColor(Color color1, Color color2)

    ChartHelper.IsValueEqualsList<T>

    public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)

    ChartHelper.IsValueEqualsString

    public static bool IsValueEqualsString(string str1, string str2)

    ChartHelper.IsValueEqualsVector2

    public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)

    ChartHelper.IsValueEqualsVector3

    public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)

    ChartHelper.IsZeroVector

    public static bool IsZeroVector(Vector3 pos)

    ChartHelper.ParseFloatFromString

    public static List<float> ParseFloatFromString(string jsonData)

    ChartHelper.ParseStringFromString

    public static List<string> ParseStringFromString(string jsonData)

    ChartHelper.RemoveComponent<T>

    public static void RemoveComponent<T>(GameObject gameObject)

    ChartHelper.RotateRound

    public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)

    ChartHelper.SaveAsImage

    public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")

    ChartHelper.SetActive

    public static bool SetActive(Image image, bool active)

    public static bool SetActive(Text text, bool active)

    public static bool SetActive(Transform transform, bool active)
    +通过设置scale实现是否显示,优化性能,减少GC

    ChartHelper.SetBackground

    public static void SetBackground(Image background, Background imageStyle)

    ChartHelper.SetColorOpacity

    public static void SetColorOpacity(ref Color32 color, float opacity)

    ChartLabel

    class in XCharts.Runtime / 继承自: Image

    ChartLabel.hideIconIfTextEmpty

    public bool hideIconIfTextEmpty

    ChartLabel.isAnimationEnd

    public bool isAnimationEnd

    ChartLabel.isIconActive

    public bool isIconActive

    ChartLabel.rect

    public Rect rect

    ChartLabel.GetHeight

    public float GetHeight()

    ChartLabel.GetPosition

    public Vector3 GetPosition()

    ChartLabel.GetTextHeight

    public float GetTextHeight()

    ChartLabel.GetTextWidth

    public float GetTextWidth()

    ChartLabel.GetWidth

    public float GetWidth()

    ChartLabel.IsActiveByScale

    public bool IsActiveByScale()

    ChartLabel.SetActive

    public void SetActive(bool flag, bool force = false)

    ChartLabel.SetIcon

    public void SetIcon(Image image)

    ChartLabel.SetIconActive

    public void SetIconActive(bool flag)

    ChartLabel.SetIconSize

    public void SetIconSize(float width, float height)

    ChartLabel.SetIconSprite

    public void SetIconSprite(Sprite sprite)

    ChartLabel.SetPadding

    public void SetPadding(float[] padding)

    ChartLabel.SetPosition

    public void SetPosition(Vector3 position)

    ChartLabel.SetRectPosition

    public void SetRectPosition(Vector3 position)

    ChartLabel.SetRotate

    public void SetRotate(float rotate)

    ChartLabel.SetSize

    public void SetSize(float width, float height)

    ChartLabel.SetText

    public bool SetText(string text)

    ChartLabel.SetTextActive

    public void SetTextActive(bool flag)

    ChartLabel.SetTextColor

    public void SetTextColor(Color color)

    ChartLabel.SetTextPadding

    public void SetTextPadding(TextPadding padding)

    ChartLabel.SetTextRotate

    public void SetTextRotate(float rotate)

    ChartLabel.UpdateIcon

    public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null, Color color = default(Color))

    ChartObject

    class in XCharts.Runtime

    ChartObject.Destroy

    public virtual void Destroy()

    ChartText

    class in XCharts.Runtime

    ChartText.tmpText

    public TextMeshProUGUI tmpText

    ChartText.ChartText

    public ChartText(GameObject textParent)

    ChartText.GetColor

    public Color GetColor()

    ChartText.GetPreferredHeight

    public float GetPreferredHeight()

    ChartText.GetPreferredText

    public string GetPreferredText(string content, string suffix, float maxWidth)

    ChartText.GetPreferredWidth

    public float GetPreferredWidth()

    ChartText.GetText

    public string GetText()

    ChartText.SetActive

    public void SetActive(bool flag)

    ChartText.SetAlignment

    public void SetAlignment(TextAnchor alignment)

    ChartText.SetColor

    public void SetColor(Color color)

    ChartText.SetFont

    public void SetFont(TMP_FontAsset font)

    ChartText.SetFontAndSizeAndStyle

    public void SetFontAndSizeAndStyle(TextStyle textStyle, ComponentTheme theme)

    ChartText.SetFontSize

    public void SetFontSize(float fontSize)

    ChartText.SetFontStyle

    public void SetFontStyle(FontStyle fontStyle)

    ChartText.SetLineSpacing

    public void SetLineSpacing(float lineSpacing)

    ChartText.SetLocalEulerAngles

    public void SetLocalEulerAngles(Vector3 position)

    ChartText.SetLocalPosition

    public void SetLocalPosition(Vector3 position)

    ChartText.SetRectPosition

    public void SetRectPosition(Vector3 position)

    ChartText.SetSizeDelta

    public void SetSizeDelta(Vector2 sizeDelta)

    ChartText.SetText

    public void SetText(string text)

    CheckHelper

    class in XCharts.Runtime

    CheckHelper.CheckChart

    public static string CheckChart(BaseChart chart)

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle,AxisAnimation,AxisName,AxisSplitArea,AreaStyle,ArrowStyle,BaseLine,BorderStyle,IconStyle,ImageStyle,ItemStyle,Level,LevelStyle,LineArrow,LineStyle,Location,MLValue,MarqueeStyle,Padding,StageColor,SymbolStyle,TextLimit,TextStyle,CommentItem,CommentMarkStyle,LabelLine,LabelStyle,MarkAreaData,MarkLineData,StateStyle,VisualMapRange,ViewControl,UIComponentTheme,SerieData,SerieDataLink,ComponentTheme,SerieTheme,ThemeStyle

    ChildComponent.anyDirty

    public bool anyDirty
    +需要重绘图表或重新初始化组件。

    ChildComponent.componentDirty

    public virtual bool componentDirty
    +组件重新初始化标记。

    ChildComponent.gameObject

    public GameObject gameObject

    ChildComponent.index

    public virtual int index

    ChildComponent.painter

    public Painter painter

    ChildComponent.refreshComponent

    public Action refreshComponent

    ChildComponent.vertsDirty

    public virtual bool vertsDirty
    +图表重绘标记。

    ChildComponent.ClearComponentDirty

    public virtual void ClearComponentDirty()

    ChildComponent.ClearDirty

    public virtual void ClearDirty()

    ChildComponent.ClearVerticesDirty

    public virtual void ClearVerticesDirty()

    ChildComponent.IsComponentDirty

    public static bool IsComponentDirty(ChildComponent component)

    ChildComponent.IsVertsDirty

    public static bool IsVertsDirty(ChildComponent component)

    ChildComponent.SetAllDirty

    public virtual void SetAllDirty()

    ChildComponent.SetComponentDirty

    public virtual void SetComponentDirty()

    ChildComponent.SetVerticesDirty

    public virtual void SetVerticesDirty()

    ColorUtil

    class in XCharts.Runtime

    ColorUtil.GetColor

    public static Color32 GetColor(string hexColorStr)
    +将字符串颜色值转成Color。

    Comment

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图表注解组件。

    Comment.items

    public List<CommentItem> items
    +注解项。每个注解组件可以设置多个注解项。

    Comment.show

    public bool show
    +是否显示注解组件。

    Comment.GetLabelStyle

    public LabelStyle GetLabelStyle(int index)

    Comment.GetMarkStyle

    public CommentMarkStyle GetMarkStyle(int index)

    Comment.OnChanged

    public void OnChanged()
    +参数变更时的回调处理。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    CommentItem.content

    public string content
    +注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。

    CommentItem.markRect

    public Rect markRect
    +注解区域。

    CommentItem.markStyle

    public CommentMarkStyle markStyle
    +注解标记区域样式。

    CommentItem.show

    public bool show
    +是否显示当前注解项。

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    CommentMarkStyle.lineStyle

    public LineStyle lineStyle
    +线条样式。

    CommentMarkStyle.show

    public bool show
    +是否显示当前注解项。

    ComponentHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    ComponentHandlerAttribute.ComponentHandlerAttribute

    public ComponentHandlerAttribute(Type handler, bool allowMultiple, int order = 3)

    ComponentHelper

    class in XCharts.Runtime

    ComponentHelper.GetAngleAxis

    public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)

    ComponentHelper.GetRadiusAxis

    public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)

    ComponentHelper.GetXAxisOnZeroOffset

    public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)

    ComponentHelper.GetYAxisOnZeroOffset

    public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)

    ComponentHelper.IsAnyCategoryOfYAxis

    public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme,DataZoomTheme,LegendTheme,SubTitleTheme,TitleTheme,TooltipTheme,VisualMapTheme

    ComponentTheme.ComponentTheme

    public ComponentTheme(ThemeType theme)

    ComponentTheme.Copy

    public virtual void Copy(ComponentTheme theme)

    ComponentTheme.Reset

    public virtual void Reset(ComponentTheme defaultTheme)

    CoordOptionsAttribute

    class in XCharts.Runtime / 继承自: Attribute

    CoordOptionsAttribute.Contains<T>

    public bool Contains<T>() where T : CoordSystem

    CoordOptionsAttribute.CoordOptionsAttribute

    public CoordOptionsAttribute(Type coord, Type coord2)

    public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)

    public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord,CalendarCoord,GridCoord,GridCoord3D,ParallelCoord,PolarCoord,SingleAxisCoord

    坐标系系统。

    DataHelper

    class in XCharts.Runtime

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    DataZoom.realtime

    public bool realtime
    +拖动时,是否实时更新系列的视图。如果设置为 false,则只在拖拽结束的时候更新。默认为true,暂不支持修改。

    DataZoom.startEndFunction

    public CustomDataZoomStartEndFunction startEndFunction
    +start和end变更委托。

    DataZoom.GetBackgroundColor

    public Color32 GetBackgroundColor(Color32 themeColor)

    DataZoom.GetBorderColor

    public Color32 GetBorderColor(Color32 themeColor)

    DataZoom.GetFillerColor

    public Color32 GetFillerColor(Color32 themeColor)

    DataZoom.IsContainsAxis

    public bool IsContainsAxis(Axis axis)

    DataZoom.IsContainsXAxis

    public bool IsContainsXAxis(int index)

    DataZoom.IsContainsYAxis

    public bool IsContainsYAxis(int index)

    DataZoom.IsInEndZoom

    public bool IsInEndZoom(Vector2 pos)
    +给定的坐标是否在结束活动条触发区域内

    DataZoom.IsInMarqueeArea

    public bool IsInMarqueeArea(Vector2 pos)

    DataZoom.IsInSelectedZoom

    public bool IsInSelectedZoom(int totalIndex, int index, bool invert)

    DataZoom.IsInStartZoom

    public bool IsInStartZoom(Vector2 pos)
    +给定的坐标是否在开始活动条触发区域内

    DataZoom.IsInZoom

    public bool IsInZoom(Vector2 pos)
    +给定的坐标是否在缩放区域内

    DataZoom.SetDefaultValue

    public override void SetDefaultValue()

    DataZoom.UpdateRuntimeData

    public void UpdateRuntimeData(BaseChart chart)

    DataZoom.FilterMode

    class in XCharts.Runtime

    dataZoom 的运行原理是通过 数据过滤 来达到 数据窗口缩放 的效果。数据过滤模式的设置不同,效果也不同。

    可选:

    • Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    • WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    • Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    • None: 不过滤数据,只改变数轴范围。

    DataZoom.RangeMode

    class in XCharts.Runtime

    The value type of start and end.取值类型

    可选:

    • //Value: The value type of start and end.取值类型
    • Percent: 百分比。

    DataZoomContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    DataZoomContext.endValue

    public double endValue
    +运行时实际范围的结束值

    DataZoomContext.height

    public float height

    DataZoomContext.invert

    public bool invert

    DataZoomContext.isCoordinateDrag

    public bool isCoordinateDrag

    DataZoomContext.isDrag

    public bool isDrag

    DataZoomContext.isEndDrag

    public bool isEndDrag

    DataZoomContext.isMarqueeDrag

    public bool isMarqueeDrag

    DataZoomContext.isStartDrag

    public bool isStartDrag

    DataZoomContext.marqueeEndPos

    public Vector3 marqueeEndPos

    DataZoomContext.marqueeRect

    public Rect marqueeRect

    DataZoomContext.marqueeStartPos

    public Vector3 marqueeStartPos

    DataZoomContext.startValue

    public double startValue
    +运行时实际范围的开始值

    DataZoomContext.width

    public float width

    DataZoomContext.x

    public float x

    DataZoomContext.y

    public float y

    DataZoomHelper

    class in XCharts.Runtime

    DataZoomHelper.UpdateDataZoomRuntimeStartEndValue

    public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)

    DataZoomHelper.UpdateDataZoomRuntimeStartEndValue<T>

    public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    DataZoomTheme.Copy

    public void Copy(DataZoomTheme theme)

    DataZoomTheme.DataZoomTheme

    public DataZoomTheme(ThemeType theme) : base(theme)

    DateTimeUtil

    class in XCharts.Runtime

    DateTimeUtil.GetDateTime

    public static DateTime GetDateTime(double timestamp, bool local = true)

    DateTimeUtil.GetDefaultDateTimeString

    public static string GetDefaultDateTimeString(int timestamp, double range = 0)

    DateTimeUtil.GetTimestamp

    public static int GetTimestamp(DateTime time, bool local = false)

    public static int GetTimestamp(string dateTime, bool local = false)

    DateTimeUtil.IsDateOrTimeRegex

    public static bool IsDateOrTimeRegex(string regex, ref bool date, ref string formatter)

    DebugInfo

    class in XCharts.Runtime

    DebugInfo.avgFps

    public float avgFps
    +平均帧率。

    DebugInfo.foldSeries

    public bool foldSeries
    +是否在Inspector上折叠Serie。

    DebugInfo.fps

    public float fps
    +当前帧率。

    DebugInfo.refreshCount

    public int refreshCount
    +图表每秒刷新次数。

    DebugInfo.show

    public bool show
    +是否显示Debug组件。

    DebugInfo.showAllChartObject

    public bool showAllChartObject
    +是否在Hierarchy试图显示所有chart下的节点。

    DebugInfo.Init

    public void Init(BaseChart chart)

    DebugInfo.Update

    public void Update()

    DefaultAnimationAttribute

    class in XCharts.Runtime / 继承自: Attribute

    DefaultAnimationAttribute.DefaultAnimationAttribute

    public DefaultAnimationAttribute(AnimationType handler, bool enableSerieDataAddedAnimation)

    DefaultTooltipAttribute

    class in XCharts.Runtime / 继承自: Attribute

    DefaultTooltipAttribute.DefaultTooltipAttribute

    public DefaultTooltipAttribute(Tooltip.Type type, Tooltip.Trigger trigger)

    DefineSymbolsUtil

    class in XCharts.Runtime

    DefineSymbolsUtil.AddGlobalDefine

    public static void AddGlobalDefine(string symbol)

    DefineSymbolsUtil.RemoveGlobalDefine

    public static void RemoveGlobalDefine(string symbol)

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    EffectScatter.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    EmphasisStyle.BlurScope

    class in XCharts.Runtime

    淡出范围。

    可选:

    • GridCoord: 淡出范围为坐标系,默认使用该配置。
    • Series: 淡出范围为系列。
    • Global: 淡出范围为全局。

    EmphasisStyle.FocusType

    class in XCharts.Runtime

    聚焦类型。

    可选:

    • None: 不淡出其它图形,默认使用该配置。
    • Self: 只聚焦(不淡出)当前高亮的数据的图形。
    • Series: 聚焦当前高亮的数据所在的系列的所有图形。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    EndLabelStyle.EndLabelStyle

    public EndLabelStyle()

    FormatterHelper

    class in XCharts.Runtime

    FormatterHelper.NeedFormat

    public static bool NeedFormat(string content)

    FormatterHelper.ReplaceAxisLabelContent

    public static void ReplaceAxisLabelContent(ref string content, string value)

    FormatterHelper.TrimAndReplaceLine

    public static string TrimAndReplaceLine(string content)

    GraphData

    class in XCharts.Runtime

    数据结构-图。

    GraphData.AddEdge

    public GraphEdge AddEdge(string nodeId1, string nodeId2, double value)

    GraphData.AddNode

    public GraphNode AddNode(string nodeId, string nodeName, int dataIndex, double value)

    GraphData.BreadthFirstTraverse

    public void BreadthFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)

    GraphData.Clear

    public void Clear()

    GraphData.DeepFirstTraverse

    public void DeepFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)

    GraphData.EachNode

    public void EachNode(System.Action<GraphNode> onEach)

    GraphData.ExpandAllNodes

    public void ExpandAllNodes(bool flag, int level = -1)

    GraphData.ExpandNode

    public void ExpandNode(string nodeId, bool flag)

    GraphData.GetDepthNodes

    public List<List<GraphNode>> GetDepthNodes()

    GraphData.GetEdge

    public GraphEdge GetEdge(string nodeId1, string nodeId2)

    GraphData.GetExpandedNodesCount

    public static int GetExpandedNodesCount(List<GraphNode> nodes)

    GraphData.GetMaxDepth

    public int GetMaxDepth()

    GraphData.GetNode

    public GraphNode GetNode(string nodeId)

    GraphData.GetNodeDepth

    // public void GetNodeDepth(GraphNode node, ref int depth, int recursiveCount = 0)

    public int GetNodeDepth(GraphNode node, int recursiveCount = 0)

    GraphData.GetNodesTotalValue

    public static double GetNodesTotalValue(List<GraphNode> nodes)

    GraphData.GetRootNodes

    public List<GraphNode> GetRootNodes()

    GraphData.GraphData

    public GraphData(bool directed)

    GraphData.IsAllNodeInZeroPosition

    public bool IsAllNodeInZeroPosition()

    GraphData.Refresh

    public void Refresh()

    GraphEdge

    class in XCharts.Runtime

    图的边。

    GraphEdge.GraphEdge

    public GraphEdge(GraphNode node1, GraphNode node2, double value)

    GraphEdge.IsPointInEdge

    public bool IsPointInEdge(Vector2 point)

    GraphNode

    class in XCharts.Runtime

    图的节点。

    GraphNode.degree

    public int degree

    GraphNode.inDegree

    public int inDegree

    GraphNode.outDegree

    public int outDegree

    GraphNode.Expand

    public void Expand(bool flag)

    GraphNode.GraphNode

    public GraphNode(string id, string name, int dataIndex)

    GraphNode.IsAllInEdgesCollapsed

    public bool IsAllInEdgesCollapsed()

    GraphNode.IsAnyInEdgesExpanded

    public bool IsAnyInEdgesExpanded()

    GraphNode.ToString

    public override string ToString()

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    GridCoord.BoundaryPoint

    public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref List<Vector3> point)
    +给定的线段和Grid边界的交点

    GridCoord.Clamp

    public void Clamp(ref Vector3 pos)

    v3.7.0 开始支持

    将位置限制在网格内。

    GridCoord.ClampX

    public void ClampX(ref Vector3 pos)

    v3.7.0 开始支持

    将位置的X限制在网格内。

    GridCoord.ClampY

    public void ClampY(ref Vector3 pos)

    v3.7.0 开始支持

    将位置的Y限制在网格内。

    GridCoord.Contains

    public bool Contains(float x, float y)
    +给定的位置是否在网格内。

    public bool Contains(Vector3 pos, bool isYAxis)

    v3.7.0 开始支持

    给定的位置是否在网格内。

    GridCoord.ContainsX

    public bool ContainsX(float x)

    v3.7.0 开始支持

    给定的x是否在网格内。

    GridCoord.ContainsY

    public bool ContainsY(float y)

    v3.7.0 开始支持

    给定的y是否在网格内。

    GridCoord.IsPointerEnter

    public bool IsPointerEnter()
    +指针是否在网格内。

    GridCoord.NotAnyIntersect

    public bool NotAnyIntersect(Vector3 sp, Vector3 ep)

    v3.10.0 开始支持

    判断给定的线段是否与Grid边界是否完全不会相交。

    GridCoord.UpdateRuntimeData

    public void UpdateRuntimeData(BaseChart chart)

    GridCoord3D

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    v3.11.0 开始支持

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    GridCoord3D.Clamp

    public void Clamp(ref Vector3 pos)
    +将位置限制在网格内。

    GridCoord3D.Contains

    public bool Contains(Vector3 pos)
    +给定的位置是否在网格内。

    GridCoord3D.IsLeft

    public bool IsLeft()
    +The opening of the coordinate system faces to the left. 坐标系开口朝向左边。

    GridCoord3D.IsPointerEnter

    public bool IsPointerEnter()
    +指针是否在网格内。

    GridCoord3D.NotAnyIntersect

    public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
    +判断给定的线段是否与Grid边界是否完全不会相交。

    GridCoord3D.UpdateRuntimeData

    public void UpdateRuntimeData(BaseChart chart)

    GridCoord3DContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    GridCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    GridLayout.UpdateRuntimeData

    public void UpdateRuntimeData(BaseChart chart)

    GridLayoutContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Heatmap

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    Heatmap.containerIndex

    public int containerIndex

    Heatmap.containterInstanceId

    public int containterInstanceId

    Heatmap.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    HeatmapChart

    class in XCharts.Runtime / 继承自: BaseChart

    热力图主要通过颜色去表现数值的大小,必须要配合 visualMap 组件使用。 可以应用在直角坐标系以及地理坐标系上,这两个坐标系上的表现形式相差很大,直角坐标系上必须要使用两个类目轴。

    HeatmapChart.DefaultCountHeatmapChart

    public void DefaultCountHeatmapChart()
    +默认计数热力图。

    HeatmapType

    class in XCharts.Runtime

    热力图类型。通过颜色映射划分。

    可选:

    • Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    • Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    IconStyle.align

    public Align align
    +水平方向对齐方式。

    IconStyle.autoHideWhenLabelEmpty

    public bool autoHideWhenLabelEmpty
    +当label内容为空时是否自动隐藏图标

    IconStyle.color

    public Color color
    +图标颜色。

    IconStyle.height

    public float height
    +图标高。

    IconStyle.layer

    public Layer layer
    +显示在上层还是在下层。

    IconStyle.offset

    public Vector3 offset
    +图标偏移。

    IconStyle.show

    public bool show
    +是否显示图标。

    IconStyle.sprite

    public Sprite sprite
    +图标的图片。

    IconStyle.type

    public Image.Type type
    +图片的显示类型。

    IconStyle.width

    public float width
    +图标宽。

    IconStyle.Clone

    public IconStyle Clone()

    IconStyle.Copy

    public void Copy(IconStyle iconStyle)

    IconStyle.Reset

    public void Reset()

    IconStyle.Layer

    class in XCharts.Runtime

    可选:

    • UnderText: The icon is display under the label text. 图标在标签文字下
    • AboveText: The icon is display above the label text. 图标在标签文字上

    IgnoreDoc

    class in XCharts.Runtime / 继承自: Attribute

    IgnoreDoc.IgnoreDoc

    public IgnoreDoc()

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    ImageStyle.autoColor

    public bool autoColor
    +是否自动颜色。

    ImageStyle.color

    public Color color
    +图标颜色。

    ImageStyle.height

    public float height
    +图标高。

    ImageStyle.show

    public bool show
    +是否显示图标。

    ImageStyle.sprite

    public Sprite sprite
    +图标的图片。

    ImageStyle.type

    public Image.Type type
    +图片的显示类型。

    ImageStyle.width

    public float width
    +图标宽。

    ImageStyle.Clone

    public ImageStyle Clone()

    ImageStyle.Copy

    public void Copy(ImageStyle imageStyle)

    ImageStyle.Reset

    public void Reset()

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    Indicator.indicatorList

    public List<Indicator> indicatorList
    +指示器列表。

    Indicator.max

    public double max
    +指示器的最大值,默认为 0 无限制。

    Indicator.min

    public double min
    +指示器的最小值,默认为 0 无限制。

    Indicator.name

    public string name
    +指示器名称。

    Indicator.show

    public bool show
    +是否显示雷达坐标系组件。

    Indicator.text

    public Text text
    +指示器的文本组件。

    Indicator.AddIndicator

    public RadarCoord.Indicator AddIndicator(string name, double min, double max)

    Indicator.AddIndicatorList

    public void AddIndicatorList(List<string> nameList, double min = 0, double max = 0)

    v3.3.0 开始支持

    Indicator.ClearData

    public override void ClearData()

    Indicator.GetFormatterIndicatorContent

    public string GetFormatterIndicatorContent(string indicatorName)

    Indicator.GetIndicator

    public RadarCoord.Indicator GetIndicator(int indicatorIndex)

    Indicator.GetIndicatorMax

    public double GetIndicatorMax(int index)

    Indicator.GetIndicatorMin

    public double GetIndicatorMin(int index)

    Indicator.GetIndicatorName

    public string GetIndicatorName(int indicatorIndex)

    Indicator.GetIndicatorPosition

    public Vector3 GetIndicatorPosition(int index)

    Indicator.IsInIndicatorRange

    public bool IsInIndicatorRange(int index, double value)

    Indicator.IsInRange

    public bool IsInRange(double value)

    Indicator.IsPointerEnter

    public bool IsPointerEnter()

    Indicator.SetDefaultValue

    public override void SetDefaultValue()

    Indicator.UpdateIndicator

    public bool UpdateIndicator(int indicatorIndex, string name, double min, double max)

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Radar,BaseScatter

    InputHelper

    class in XCharts.Runtime

    InputHelper.GetKeyDown

    public static bool GetKeyDown(KeyCode keyCode)

    InputHelper.GetTouch

    public static Touch GetTouch(int v)

    InteractData

    class in XCharts.Runtime

    InteractData.Reset

    public void Reset()

    InteractData.SetColor

    public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)

    InteractData.SetPosition

    public void SetPosition(ref bool needInteract, Vector3 pos)

    InteractData.SetValue

    public void SetValue(ref bool needInteract, float value, bool previousValueZero = false)

    InteractData.SetValueAndColor

    public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)

    InteractData.ToString

    public override string ToString()

    InteractData.TryGetColor

    public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)

    InteractData.TryGetPosition

    public bool TryGetPosition(ref Vector3 pos, ref bool interacting, float animationDuration = 250)

    InteractData.TryGetValue

    public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)

    InteractData.TryGetValueAndColor

    public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref bool interacting, float animationDuration = 250)

    public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location,Comment,Legend,Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,LineArrow,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord,CalendarCoord,GridCoord,GridCoord3D,ParallelCoord,PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,ItemStyle,LineStyle,SerieSymbol,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar,SimplifiedCandlestick,SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    图形样式。

    ItemStyle.GetBorderColor

    public Color32 GetBorderColor(Color32 defaultColor)

    ItemStyle.GetBorderColor0

    public Color32 GetBorderColor0(Color32 defaultColor)

    ItemStyle.GetColor

    public Color32 GetColor(Color32 defaultColor)

    ItemStyle.GetColor0

    public Color32 GetColor0(Color32 defaultColor)

    ItemStyle.GetGradientColor

    public Color32 GetGradientColor(float value, Color32 defaultColor)

    ItemStyle.GetToColor

    public Color32 GetToColor()

    ItemStyle.IsNeedCorner

    public bool IsNeedCorner()

    ItemStyle.IsNeedGradient

    public bool IsNeedGradient()

    ItemStyle.Reset

    public void Reset()

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis,DataZoom,CalendarCoord,GridCoord,GridLayout,GridCoord3D,ParallelCoord

    JsonUtil

    class in XCharts.Runtime

    JsonUtil.GetJsonArray<T>

    public static T[] GetJsonArray<T>(string json)

    JsonUtil.GetJsonObject<T>

    public static T GetJsonObject<T>(string json)

    JsonUtil.GetWebJson<T>

    public static IEnumerator GetWebJson<T>(string url, Action<T> callback)

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    标签的引导线

    LabelLine.GetEndSymbolOffset

    public Vector3 GetEndSymbolOffset()

    LabelLine.GetStartSymbolOffset

    public Vector3 GetStartSymbolOffset()

    LabelLine.Reset

    public void Reset()

    LabelLine.LineType

    class in XCharts.Runtime

    标签视觉引导线类型

    可选:

    • BrokenLine: 折线
    • Curves: 曲线
    • HorizontalLine: 水平线

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent / 子类: AxisLabel,EndLabelStyle,TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    LabelStyle.Clone

    public virtual LabelStyle Clone()

    LabelStyle.Copy

    public virtual void Copy(LabelStyle label)

    LabelStyle.GetColor

    public Color GetColor(Color defaultColor)

    LabelStyle.GetFormatterContent

    public virtual string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)

    LabelStyle.GetFormatterDateTime

    public string GetFormatterDateTime(int labelIndex, double value, double minValue, double maxValue)

    LabelStyle.GetOffset

    public Vector3 GetOffset(float radius)

    LabelStyle.IsAutoSize

    public bool IsAutoSize()

    LabelStyle.IsDefaultPosition

    public bool IsDefaultPosition(Position position)

    LabelStyle.IsInside

    public bool IsInside()
    +是否在内部。

    LabelStyle.Reset

    public void Reset()

    LabelStyle.Position

    class in XCharts.Runtime

    标签的位置。

    可选:

    • Default: 标签的位置。
    • Outside: 饼图扇区外侧,通过视觉引导线连到相应的扇区。
    • Inside: 饼图扇区内部。
    • Center: 在饼图中心位置。
    • Top: 图形标志的顶部。
    • Bottom: 图形标志的底部。
    • Left: 图形标志的左边。
    • Right: 图形标志的右边。
    • Start: 线的起始点。
    • Middle: 线的中点。
    • End: 线的结束点。

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    Lang.GetCandlestickDimensionName

    public string GetCandlestickDimensionName(int i)

    Lang.GetDay

    public string GetDay(int day)

    Lang.GetMonthAbbr

    public string GetMonthAbbr(int month)

    LangCandlestick

    class in XCharts.Runtime

    LangCandlestick.List<string>()

    public List<string> dimensionNames = new List<string>()

    LangTime

    class in XCharts.Runtime

    LangTime.List<string>

    public List<string> dayOfMonth = new List<string>()

    public List<string> dayOfWeek = new List<string>()

    public List<string> dayOfWeekAbbr = new List<string>()

    public List<string> monthAbbr = new List<string>()

    LayerHelper

    class in XCharts.Runtime

    LayerHelper.IsFixedWidthHeight

    public static bool IsFixedWidthHeight(RectTransform rt)

    LayerHelper.IsStretchPivot

    public static bool IsStretchPivot(RectTransform rt)

    Legend

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    Legend.vertsDirty

    public override bool vertsDirty
    +图表是否需要刷新(图例组件不需要刷新图表)

    Legend.AddData

    public void AddData(string name)
    +添加图例。

    Legend.ClearComponentDirty

    public override void ClearComponentDirty()

    Legend.ClearData

    public override void ClearData()
    +清空。

    Legend.ContainsData

    public bool ContainsData(string name)
    +是否包括由指定名字的图例

    Legend.GetColor

    public Color GetColor(int index)

    Legend.GetData

    public string GetData(int index)
    +获得指定索引的图例。

    Legend.GetIcon

    public Sprite GetIcon(int index)
    +获得指定索引的图例按钮。

    Legend.GetIndex

    public int GetIndex(string legendName)
    +获得指定图例的索引。

    Legend.GetPosition

    public Vector3 GetPosition(int index, Vector3 defaultPos)

    Legend.OnChanged

    public void OnChanged()
    +参数变更时的回调处理。

    Legend.RemoveButton

    public void RemoveButton()
    +移除所有图例按钮。

    Legend.RemoveData

    public void RemoveData(string name)
    +移除指定名字的图例。

    Legend.SetButton

    public void SetButton(string name, LegendItem item, int total)
    +给图例绑定按钮。

    Legend.UpdateButtonColor

    public void UpdateButtonColor(string name, Color color)
    +更新图例按钮颜色。

    Legend.UpdateContentColor

    public void UpdateContentColor(string name, Color color)
    +更新图例文字颜色。

    Legend.SelectedMode

    class in XCharts.Runtime

    图例选择的模式,控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。

    可选:

    • Multiple: 多选。
    • Single: 单选。
    • None: 无法选择。

    Legend.Type

    class in XCharts.Runtime

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    可选:

    • Auto: 自动匹配。
    • Custom: 自定义图标。
    • EmptyCircle: 空心圆。
    • Circle: 圆形。
    • Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    • Triangle: 三角形。
    • Diamond: 菱形。
    • Candlestick: 烛台(可用于K线图)。

    LegendContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    LegendContext.background

    public Image background

    LegendContext.center

    public Vector2 center

    LegendContext.height

    public float height
    +运行时图例的总高度

    LegendContext.width

    public float width
    +运行时图例的总宽度

    LegendHelper

    class in XCharts.Runtime

    LegendHelper.CheckDataHighlighted

    public static int CheckDataHighlighted(Serie serie, string legendName, bool heighlight)

    LegendHelper.CheckDataShow

    public static bool CheckDataShow(Serie serie, string legendName, bool show)

    LegendHelper.GetContentColor

    public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)

    LegendHelper.GetIconColor

    public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)

    LegendHelper.ResetItemPosition

    public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)

    LegendHelper.SetLegendBackground

    public static void SetLegendBackground(Legend legend, ImageStyle style)

    LegendItem

    class in XCharts.Runtime

    LegendItem.button

    public Button button

    LegendItem.gameObject

    public GameObject gameObject

    LegendItem.index

    public int index

    LegendItem.legendName

    public string legendName

    LegendItem.name

    public string name

    LegendItem.text

    public ChartText text

    LegendItem.GetIconColor

    public Color GetIconColor()

    LegendItem.GetIconRect

    public Rect GetIconRect()

    LegendItem.SetActive

    public void SetActive(bool active)

    LegendItem.SetBackground

    public void SetBackground(ImageStyle imageStyle)

    LegendItem.SetButton

    public void SetButton(Button button)

    LegendItem.SetContent

    public bool SetContent(string content)

    LegendItem.SetContentBackgroundColor

    public void SetContentBackgroundColor(Color color)

    LegendItem.SetContentColor

    public void SetContentColor(Color color)

    LegendItem.SetContentPosition

    public void SetContentPosition(Vector3 offset)

    LegendItem.SetIcon

    public void SetIcon(Image icon)

    LegendItem.SetIconActive

    public void SetIconActive(bool active)

    LegendItem.SetIconColor

    public void SetIconColor(Color color)

    LegendItem.SetIconImage

    public void SetIconImage(Sprite image)

    LegendItem.SetIconSize

    public void SetIconSize(float width, float height)

    LegendItem.SetObject

    public void SetObject(GameObject obj)

    LegendItem.SetPosition

    public void SetPosition(Vector3 position)

    LegendItem.SetText

    public void SetText(ChartText text)

    LegendItem.SetTextBackground

    public void SetTextBackground(Image image)

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    LegendTheme.Copy

    public void Copy(LegendTheme theme)

    LegendTheme.LegendTheme

    public LegendTheme(ThemeType theme) : base(theme)

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    Level.depth

    public int depth
    +层级深度。

    Level.itemStyle

    public ItemStyle itemStyle
    +数据项样式。

    Level.label

    public LabelStyle label
    +文本标签样式。

    Level.lineStyle

    public LineStyle lineStyle
    +线条样式。

    Level.upperLabel

    public LabelStyle upperLabel
    +上方的文本标签样式。

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    LevelStyle.levels

    public List<Level> levels
    +各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    LevelStyle.show

    public bool show
    +是否启用LevelStyle

    Line

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    Line.containerIndex

    public int containerIndex

    Line.containterInstanceId

    public int containterInstanceId

    Line.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    Line.ConvertSerie

    public static Line ConvertSerie(Serie serie)

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent

    LineArrow.Position

    class in XCharts.Runtime

    可选:

    • End: 末端箭头
    • Start: 头端箭头

    LineChart

    class in XCharts.Runtime / 继承自: BaseChart

    折线图是用折线将各个数据点标志连接起来的图表,用于展现数据的变化趋势。可用于直角坐标系和极坐标系上。 设置 areaStyle 后可以绘制面积图。

    LineChart.DefaultAreaLineChart

    public void DefaultAreaLineChart()
    +默认面积折线图。

    LineChart.DefaultDashLineChart

    public void DefaultDashLineChart()
    +默认虚线折线图。

    LineChart.DefaultLogLineChart

    public void DefaultLogLineChart()
    +默认对数轴折线图。

    LineChart.DefaultSmoothAreaLineChart

    public void DefaultSmoothAreaLineChart()
    +默认平滑面积折线图。

    LineChart.DefaultSmoothLineChart

    public void DefaultSmoothLineChart()
    +默认平滑折线图。

    LineChart.DefaultStackAreaLineChart

    public void DefaultStackAreaLineChart()
    +默认堆叠面积折线图。

    LineChart.DefaultStackLineChart

    public void DefaultStackLineChart()
    +默认堆叠折线图。

    LineChart.DefaultStepLineChart

    public void DefaultStepLineChart()
    +默认阶梯折线图。

    LineChart.DefaultTimeLineChart

    public void DefaultTimeLineChart()
    +默认时间折线图。

    LineHelper

    class in XCharts.Runtime

    LineHelper.GetDataAverageRate

    public static int GetDataAverageRate(Serie serie, float axisLength, int maxCount, bool isYAxis)

    LineHelper.GetLineWidth

    public static float GetLineWidth(ref bool interacting, Serie serie, float defaultWidth)

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    LineStyle.Clone

    public LineStyle Clone()

    LineStyle.Copy

    public void Copy(LineStyle lineStyle)

    LineStyle.GetColor

    public Color32 GetColor(Color32 themeColor)

    LineStyle.GetGradientColor

    public Color32 GetGradientColor(float value, Color32 defaultColor)

    LineStyle.GetLength

    public float GetLength(float themeLength)

    LineStyle.GetType

    public Type GetType(Type themeType)

    LineStyle.GetWidth

    public float GetWidth(float themeWidth)

    LineStyle.IsNeedGradient

    public bool IsNeedGradient()

    LineStyle.IsNotSolidLine

    public bool IsNotSolidLine()

    LineStyle.LineStyle

    public LineStyle(float width)

    public LineStyle(LineStyle.Type type)

    public LineStyle(LineStyle.Type type, float width)

    LineStyle.Type

    class in XCharts.Runtime

    线的类型。

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    LineType

    class in XCharts.Runtime

    折线图样式类型

    可选:

    • Normal: 普通折线图。
    • Smooth: 平滑曲线。
    • StepStart: 阶梯线图:当前点。
    • StepMiddle: 阶梯线图:当前点和下一个点的中间。
    • StepEnd: 阶梯线图:下一个拐点。

    ListFor

    class in XCharts.Runtime / 继承自: Attribute / 子类: ListForComponent,ListForSerie

    ListFor.ListFor

    public ListFor(Type type)

    ListForComponent

    class in XCharts.Runtime / 继承自: ListFor

    ListForComponent.ListForComponent

    public ListForComponent(Type type) : base(type)

    ListForSerie

    class in XCharts.Runtime / 继承自: ListFor

    ListForSerie.ListForSerie

    public ListForSerie(Type type) : base(type)

    ListPool<T>

    class in XCharts.Runtime

    ListPool<T>.ClearAll

    public static void ClearAll()

    ListPool<T>.Get

    public static List<T> Get()

    ListPool<T>.Release

    public static void Release(List<T> toRelease)

    Location

    class in XCharts.Runtime / 继承自: ChildComponent,IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    Location.runtimeAnchorMax

    public Vector2 runtimeAnchorMax

    Location.runtimeAnchorMin

    public Vector2 runtimeAnchorMin
    +Location对应的anchorMin。

    Location.runtimeBottom

    public float runtimeBottom

    Location.runtimeLeft

    public float runtimeLeft

    Location.runtimePivot

    public Vector2 runtimePivot
    +Loation对应的中心点。

    Location.runtimeRight

    public float runtimeRight

    Location.runtimeTextAlignment

    public TextAnchor runtimeTextAlignment
    +Location对应的Anchor锚点

    Location.runtimeTMPTextAlignment

    public TextAlignmentOptions runtimeTMPTextAlignment

    Location.runtimeTop

    public float runtimeTop

    Location.GetPosition

    public Vector3 GetPosition(float chartWidth, float chartHeight)
    +返回在坐标系中的具体位置

    Location.IsBottom

    public bool IsBottom()

    Location.IsCenter

    public bool IsCenter()

    Location.IsTop

    public bool IsTop()

    Location.OnChanged

    public void OnChanged()
    +属性变更时更新textAnchor,minAnchor,maxAnchor,pivot

    Location.UpdateRuntimeData

    public void UpdateRuntimeData(float chartWidth, float chartHeight)

    Location.Align

    class in XCharts.Runtime

    对齐方式

    可选:

    • TopLeft: 对齐方式
    • TopRight: 对齐方式
    • TopCenter: 对齐方式
    • BottomLeft: 对齐方式
    • BottomRight: 对齐方式
    • BottomCenter: 对齐方式
    • Center: 对齐方式
    • CenterLeft: 对齐方式
    • CenterRight: 对齐方式

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis,Background,Comment,DataZoom,Legend,MarkArea,MarkLine,Settings,Title,Tooltip,VisualMap,GridLayout,CoordSystem

    MainComponent.anyDirty

    public bool anyDirty
    +需要重绘图表或重新初始化组件。

    MainComponent.ClearData()

    public virtual void ClearData()

    MainComponent.componentDirty

    public virtual bool componentDirty
    +组件重新初始化标记。

    MainComponent.gameObject

    public GameObject gameObject

    MainComponent.index

    public int index

    MainComponent.instanceId

    public int instanceId

    MainComponent.painter

    public Painter painter

    MainComponent.refreshComponent

    public Action refreshComponent

    MainComponent.Reset()

    public virtual void Reset()

    MainComponent.ResetStatus()

    public virtual void ResetStatus()

    MainComponent.SetDefaultValue()

    public virtual void SetDefaultValue()

    MainComponent.vertsDirty

    public virtual bool vertsDirty
    +图表重绘标记。

    MainComponent.ClearComponentDirty

    public virtual void ClearComponentDirty()

    MainComponent.ClearData

    public virtual void ClearData() { }

    MainComponent.ClearDirty

    public virtual void ClearDirty()

    MainComponent.ClearVerticesDirty

    public virtual void ClearVerticesDirty()

    MainComponent.CompareTo

    public int CompareTo(object obj)

    MainComponent.OnRemove

    public virtual void OnRemove()

    MainComponent.Reset

    public virtual void Reset() { }

    MainComponent.ResetStatus

    public virtual void ResetStatus() { }

    MainComponent.SetAllDirty

    public virtual void SetAllDirty()

    MainComponent.SetComponentDirty

    public virtual void SetComponentDirty()

    MainComponent.SetDefaultValue

    public virtual void SetDefaultValue() { }

    MainComponent.SetVerticesDirty

    public virtual void SetVerticesDirty()

    MainComponentContext

    class in XCharts.Runtime / 子类: AxisContext,DataZoomContext,LegendContext,RadarCoordContext,VisualMapContext,GridCoordContext,GridLayoutContext,GridCoord3DContext,ParallelCoordContext,PolarCoordContext

    MainComponentHandler

    class in XCharts.Runtime / 子类: AxisHandler<T>,MainComponentHandler<T>

    MainComponentHandler.attribute

    public ComponentHandlerAttribute attribute

    MainComponentHandler.BeforceSerieUpdate()

    public virtual void BeforceSerieUpdate()

    MainComponentHandler.chart

    public BaseChart chart

    MainComponentHandler.eventData)

    public virtual void OnBeginDrag(PointerEventData eventData)

    MainComponentHandler.eventData)

    public virtual void OnDrag(PointerEventData eventData)

    MainComponentHandler.eventData)

    public virtual void OnEndDrag(PointerEventData eventData)

    MainComponentHandler.eventData)

    public virtual void OnPointerClick(PointerEventData eventData)

    MainComponentHandler.eventData)

    public virtual void OnPointerDown(PointerEventData eventData)

    MainComponentHandler.eventData)

    public virtual void OnPointerEnter(PointerEventData eventData)

    MainComponentHandler.eventData)

    public virtual void OnPointerExit(PointerEventData eventData)

    MainComponentHandler.eventData)

    public virtual void OnPointerUp(PointerEventData eventData)

    MainComponentHandler.eventData)

    public virtual void OnScroll(PointerEventData eventData)

    MainComponentHandler.InitComponent()

    public virtual void InitComponent()

    MainComponentHandler.inited

    public bool inited

    MainComponentHandler.order

    public int order

    MainComponentHandler.RemoveComponent()

    public virtual void RemoveComponent()

    MainComponentHandler.sb)

    public virtual void CheckComponent(StringBuilder sb)

    MainComponentHandler.serieIndex)

    public virtual void OnSerieDataUpdate(int serieIndex)

    MainComponentHandler.Update()

    public virtual void Update()

    MainComponentHandler.vh)

    public virtual void DrawBase(VertexHelper vh)

    MainComponentHandler.vh)

    public virtual void DrawTop(VertexHelper vh)

    MainComponentHandler.vh)

    public virtual void DrawUpper(VertexHelper vh)

    MainComponentHandler.BeforceSerieUpdate

    public virtual void BeforceSerieUpdate() { }

    MainComponentHandler.CheckComponent

    public virtual void CheckComponent(StringBuilder sb) { }

    MainComponentHandler.DrawBase

    public virtual void DrawBase(VertexHelper vh) { }

    MainComponentHandler.DrawTop

    public virtual void DrawTop(VertexHelper vh) { }

    MainComponentHandler.DrawUpper

    public virtual void DrawUpper(VertexHelper vh) { }

    MainComponentHandler.InitComponent

    public virtual void InitComponent() { }

    MainComponentHandler.OnBeginDrag

    public virtual void OnBeginDrag(PointerEventData eventData) { }

    MainComponentHandler.OnDrag

    public virtual void OnDrag(PointerEventData eventData) { }

    MainComponentHandler.OnEndDrag

    public virtual void OnEndDrag(PointerEventData eventData) { }

    MainComponentHandler.OnPointerClick

    public virtual void OnPointerClick(PointerEventData eventData) { }

    MainComponentHandler.OnPointerDown

    public virtual void OnPointerDown(PointerEventData eventData) { }

    MainComponentHandler.OnPointerEnter

    public virtual void OnPointerEnter(PointerEventData eventData) { }

    MainComponentHandler.OnPointerExit

    public virtual void OnPointerExit(PointerEventData eventData) { }

    MainComponentHandler.OnPointerUp

    public virtual void OnPointerUp(PointerEventData eventData) { }

    MainComponentHandler.OnScroll

    public virtual void OnScroll(PointerEventData eventData) { }

    MainComponentHandler.OnSerieDataUpdate

    public virtual void OnSerieDataUpdate(int serieIndex) { }

    MainComponentHandler.RemoveComponent

    public virtual void RemoveComponent() { }

    MainComponentHandler.Update

    public virtual void Update() { }

    MainComponentHandler<T>

    class in XCharts.Runtime / 继承自: MainComponentHandler

    MainComponentHandler<T>.component

    public T component

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    MarkArea.runtimeLabel

    public ChartLabel runtimeLabel
    +图表标域,常用于标记图表中某个范围的数据。

    MarkArea.runtimeLabelPosition

    public Vector3 runtimeLabelPosition

    MarkArea.runtimeRect

    public Rect runtimeRect

    MarkArea.SetDefaultValue

    public override void SetDefaultValue()

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    MarkAreaData.runtimeValue

    public double runtimeValue
    +标域的数据。

    MarkAreaType

    class in XCharts.Runtime

    标域类型

    可选:

    • None: 标域类型
    • Min: 最小值。
    • Max: 最大值。
    • Average: 平均值。
    • Median: 中位数。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    MarkLine.SetDefaultValue

    public override void SetDefaultValue()

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    MarkLineData.runtimeCurrentEndPosition

    public Vector3 runtimeCurrentEndPosition

    MarkLineData.runtimeEndPosition

    public Vector3 runtimeEndPosition

    MarkLineData.runtimeInGrid

    public bool runtimeInGrid

    MarkLineData.runtimeLabel

    public ChartLabel runtimeLabel

    MarkLineData.runtimeStartPosition

    public Vector3 runtimeStartPosition

    MarkLineData.runtimeValue

    public double runtimeValue

    MarkLineType

    class in XCharts.Runtime

    标线类型

    可选:

    • None: 标线类型
    • Min: 最小值。
    • Max: 最大值。
    • Average: 平均值。
    • Median: 中位数。

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    MarqueeStyle.apply

    public bool apply
    +选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。

    MarqueeStyle.areaStyle

    public AreaStyle areaStyle
    +选取框区域填充样式。

    MarqueeStyle.lineStyle

    public LineStyle lineStyle
    +选取框区域边框样式。

    MarqueeStyle.onEnd

    public Action<DataZoom> onEnd
    +自定义选取框结束选取时的回调。

    MarqueeStyle.onGoing

    public Action<DataZoom> onGoing
    +自定义选取框选取进行时的回调。

    MarqueeStyle.onStart

    public Action<DataZoom> onStart
    +自定义选取框开始选取时的回调。

    MarqueeStyle.realRect

    public bool realRect
    +是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。

    MathUtil

    class in XCharts.Runtime

    MathUtil.Abs

    public static double Abs(double d)

    MathUtil.Approximately

    public static bool Approximately(double a, double b)

    MathUtil.Clamp

    public static double Clamp(double d, double min, double max)

    MathUtil.Clamp01

    public static double Clamp01(double value)

    MathUtil.GetPrecision

    public static int GetPrecision(double value)

    MathUtil.IsInteger

    public static bool IsInteger(double value)

    MathUtil.Lerp

    public static double Lerp(double a, double b, double t)

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    MLValue.type

    public Type type

    MLValue.value

    public float value

    MLValue.GetValue

    public float GetValue(float total)
    +根据类型获取值。

    MLValue.MLValue

    public MLValue(Type type, float value)

    MLValue.Type

    class in XCharts.Runtime

    数值类型。

    可选:

    • Percent: 百分比形式。
    • Absolute: 绝对值形式。
    • Extra: 额外形式。

    MonoBehaviour

    class in / 子类: XLog

    ObjectPool<T> where T

    class in XCharts.Runtime / 继承自: new()

    ObjectPool<T> where T.countActive

    public int countActive

    ObjectPool<T> where T.countAll

    public int countAll

    ObjectPool<T> where T.countInactive

    public int countInactive

    ObjectPool<T> where T.ClearAll

    public void ClearAll()

    ObjectPool<T> where T.Get

    public T Get()

    ObjectPool<T> where T.new

    public class ObjectPool<T> where T : new()

    ObjectPool<T> where T.ObjectPool

    public ObjectPool(UnityAction<T> actionOnGet, UnityAction<T> actionOnRelease, bool newIfEmpty = true)

    ObjectPool<T> where T.Release

    public void Release(T element)

    Orient

    class in XCharts.Runtime

    垂直还是水平布局方式。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    Padding.Padding()

    public Padding()

    Padding.Padding

    public Padding(float top, float right, float bottom, float left)

    Padding.SetPadding

    public void SetPadding(float top, float right, float bottom, float left)

    Painter

    class in XCharts.Runtime / 继承自: MaskableGraphic

    Painter.index

    public int index

    Painter.onPopulateMesh

    public Action<VertexHelper, Painter> onPopulateMesh

    Painter.type

    public Type type

    Painter.CheckRefresh

    public void CheckRefresh()

    Painter.Init

    public void Init()

    Painter.Refresh

    public void Refresh()

    Painter.SetActive

    public void SetActive(bool flag, bool isDebugMode = false)

    Painter.Type

    class in XCharts.Runtime

    可选:

    • Base:
    • Serie:
    • Top:

    Parallel

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    Parallel.containerIndex

    public int containerIndex

    Parallel.containterInstanceId

    public int containterInstanceId

    Parallel.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    ParallelAxis.SetDefaultValue

    public override void SetDefaultValue()

    ParallelChart

    class in XCharts.Runtime / 继承自: BaseChart

    平行坐标系,通过绘制垂直于坐标轴的平行线来显示数据的一种可视化图表。

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    ParallelCoord.Contains

    public bool Contains(float x, float y)

    ParallelCoord.IsPointerEnter

    public bool IsPointerEnter()

    ParallelCoord.UpdateRuntimeData

    public void UpdateRuntimeData(BaseChart chart)

    ParallelCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Pie

    class in XCharts.Runtime / 继承自: Serie

    Pie.defaultColorBy

    public override SerieColorBy defaultColorBy

    Pie.titleJustForSerie

    public override bool titleJustForSerie

    Pie.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    Pie.ConvertSerie

    public static Pie ConvertSerie(Serie serie)

    PieChart

    class in XCharts.Runtime / 继承自: BaseChart

    饼图主要用于显示不同类目占比的情况,通过弧长来反映数据的大小占比。

    PieChart.DefaultAreaRosePieChart

    public void DefaultAreaRosePieChart()
    +默认面积玫瑰饼图。

    PieChart.DefaultDonutPieChart

    public void DefaultDonutPieChart()
    +默认甜甜圈饼图。

    PieChart.DefaultLabelDonutPieChart

    public void DefaultLabelDonutPieChart()
    +默认带标签甜甜圈饼图。

    PieChart.DefaultLabelPieChart

    public void DefaultLabelPieChart()
    +默认带标签饼图。

    PieChart.DefaultRadiusRosePieChart

    public void DefaultRadiusRosePieChart()
    +默认玫瑰饼图。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    PolarAxisTheme.base(theme)

    public PolarAxisTheme(ThemeType theme) : base(theme)

    PolarAxisTheme.PolarAxisTheme

    public PolarAxisTheme(ThemeType theme) : base(theme) { }

    PolarChart

    class in XCharts.Runtime / 继承自: BaseChart

    极坐标系,可以用于散点图和折线图。

    PolarChart.DefaultHeatmapPolarChart

    public void DefaultHeatmapPolarChart()
    +默认极坐标色块图。

    PolarChart.DefaultRadialBarPolarChart

    public void DefaultRadialBarPolarChart()
    +默认径向柱状极坐标图。

    PolarChart.DefaultTangentialBarPolarChart

    public void DefaultTangentialBarPolarChart()
    +默认切向柱状极坐标图。

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    PolarCoord.Contains

    public bool Contains(Vector3 pos)

    PolarCoord.IsPointerEnter

    public bool IsPointerEnter()

    PolarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    PropertyUtil

    class in XCharts.Runtime

    PropertyUtil.SetClass<T>

    public static bool SetClass<T>(ref T currentValue, T newValue, bool notNull = false) where T : class

    PropertyUtil.SetColor

    public static bool SetColor(ref Color32 currentValue, Color32 newValue)

    PropertyUtil.SetStruct<T>

    public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct

    Radar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    Radar.containerIndex

    public int containerIndex

    Radar.containterInstanceId

    public int containterInstanceId

    Radar.defaultColorBy

    public override SerieColorBy defaultColorBy

    Radar.multiDimensionLabel

    public override bool multiDimensionLabel

    Radar.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    RadarAxisTheme.RadarAxisTheme

    public RadarAxisTheme(ThemeType theme) : base(theme)

    RadarChart

    class in XCharts.Runtime / 继承自: BaseChart

    雷达图主要用于显示多变量的数据,例如足球运动员的各项属性分析。依赖雷达组件。

    RadarChart.DefaultCircleRadarChart

    public void DefaultCircleRadarChart()
    +默认圆形雷达图。

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadarCoord.PositionType

    class in XCharts.Runtime

    显示位置。

    可选:

    • Vertice: 显示在顶点处。
    • Between: 显示在两者之间。

    RadarCoord.Shape

    class in XCharts.Runtime

    雷达图绘制类型,支持 'Polygon' 和 'Circle'。

    可选:

    • Polygon: 雷达图绘制类型,支持 'Polygon' 和 'Circle'。
    • Circle: 雷达图绘制类型,支持 'Polygon' 和 'Circle'。

    RadarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    RadarCoordContext.center

    public Vector3 center
    +雷达图在容器中的具体中心点。

    RadarCoordContext.dataRadius

    public float dataRadius

    RadarCoordContext.isPointerEnter

    public bool isPointerEnter

    RadarCoordContext.radius

    public float radius
    +雷达图的运行时实际半径。

    RadarType

    class in XCharts.Runtime

    雷达图类型。

    可选:

    • Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    • Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    RadiusAxis.SetDefaultValue

    public override void SetDefaultValue()
    +极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    RadiusAxisTheme.base(theme)

    public RadiusAxisTheme(ThemeType theme) : base(theme)

    RadiusAxisTheme.RadiusAxisTheme

    public RadiusAxisTheme(ThemeType theme) : base(theme) { }

    ReflectionUtil

    class in XCharts.Runtime

    ReflectionUtil.DeepCloneSerializeField

    public static object DeepCloneSerializeField(object obj)

    ReflectionUtil.InvokeListAdd

    public static void InvokeListAdd(object obj, FieldInfo field, object item)

    ReflectionUtil.InvokeListAddTo<T>

    public static void InvokeListAddTo<T>(object obj, FieldInfo field, Action<T> callback)

    ReflectionUtil.InvokeListClear

    public static void InvokeListClear(object obj, FieldInfo field)

    ReflectionUtil.InvokeListCount

    public static int InvokeListCount(object obj, FieldInfo field)

    ReflectionUtil.InvokeListGet<T>

    public static T InvokeListGet<T>(object obj, FieldInfo field, int i)

    RequireChartComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    RequireChartComponentAttribute.RequireChartComponentAttribute

    public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)

    public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)

    Ring

    class in XCharts.Runtime / 继承自: Serie

    Ring.defaultColorBy

    public override SerieColorBy defaultColorBy

    Ring.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    Ring.GetDataTotal

    public override double GetDataTotal(int dimension, SerieData serieData = null)

    RingChart

    class in XCharts.Runtime / 继承自: BaseChart

    环形图主要用于显示每一项的比例以及各项之间的关系。

    RingChart.DefaultMultipleRingChart

    public void DefaultMultipleRingChart()
    +默认多圆环图。

    RoseType

    class in XCharts.Runtime

    是否展示成南丁格尔图,通过半径区分数据大小。

    可选:

    • None: 不展示成南丁格尔玫瑰图。
    • Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    • Area: 所有扇区圆心角相同,仅通过半径展现数据大小。

    RuntimeUtil

    class in XCharts.Runtime

    RuntimeUtil.GetAllAssemblyTypes

    public static IEnumerable<Type> GetAllAssemblyTypes()

    RuntimeUtil.GetAllTypesDerivedFrom

    public static IEnumerable<Type> GetAllTypesDerivedFrom(Type type)

    RuntimeUtil.GetAllTypesDerivedFrom<T>

    public static IEnumerable<Type> GetAllTypesDerivedFrom<T>()

    RuntimeUtil.GetAttribute<T>

    public static T GetAttribute<T>(this MemberInfo type, bool check = true) where T : Attribute

    RuntimeUtil.HasSubclass

    public static bool HasSubclass(Type type)

    SampleType

    class in XCharts.Runtime

    采样类型,一般用于折线图。

    可选:

    • Peak: 取峰值。
    • Average: 取过滤点的平均值。
    • Max: 取过滤点的最大值。
    • Min: 取过滤点的最小值。
    • Sum: 取过滤点的和。

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    Scatter.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ScatterChart

    class in XCharts.Runtime / 继承自: BaseChart

    散点图主要用于展现两个数据维度之间的关系。

    ScatterChart.DefaultBubbleChart

    public void DefaultBubbleChart()
    +默认气泡图。

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie,IComparable / 子类: SerieHandler<T>,Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Pie,Radar,Ring,BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    Serie.areaStyle

    public AreaStyle areaStyle
    +区域填充样式。

    Serie.blurStyle

    public BlurStyle blurStyle
    +淡出状态的样式。

    Serie.colorByData

    public bool colorByData
    +取色策略是否为按数据项分配。

    Serie.data

    public List<SerieData> data
    +系列中的数据内容数组。SerieData可以设置1到n维数据。

    Serie.dataCount

    public int dataCount
    +数据项个数。

    Serie.dataDirty

    public bool dataDirty

    Serie.emphasisStyle

    public EmphasisStyle emphasisStyle
    +高亮状态的样式。

    Serie.endLabel

    public LabelStyle endLabel

    Serie.highlight

    public bool highlight
    +该系列是否高亮,一般由图例悬停触发。

    Serie.index

    public int index
    +系列索引。

    Serie.interactDirty

    public bool interactDirty

    Serie.label

    public LabelStyle label
    +图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    Serie.labelDirty

    public bool labelDirty

    Serie.labelLine

    public LabelLine labelLine
    +标签上的视觉引导线。

    Serie.legendName

    public string legendName
    +图例名称。当系列名称不为空时,图例名称即为系列名称;反之则为索引index。

    Serie.lineArrow

    public LineArrow lineArrow
    +折线图的箭头。

    public List<SerieDataLink> links
    +数据节点的边。

    Serie.nameDirty

    public bool nameDirty

    Serie.onClick

    public Action<SerieEventData> onClick
    +点击系列时的回调。

    Serie.onDown

    public Action<SerieEventData> onDown
    +鼠标按下时的回调。

    Serie.onEnter

    public Action<SerieEventData> onEnter
    +鼠标进入时的回调。

    Serie.onExit

    public Action<SerieEventData> onExit
    +鼠标离开时的回调。

    Serie.selectStyle

    public SelectStyle selectStyle
    +选中状态的样式。

    Serie.showDataDimension

    public int showDataDimension
    +数据项里的数据维数。

    Serie.showDataName

    public bool showDataName
    +在Editor的inpsector上是否显示name参数

    Serie.titleDirty

    public bool titleDirty

    Serie.titleStyle

    public TitleStyle titleStyle
    +数据项标题样式。

    Serie.AddChildData

    public SerieData AddChildData(SerieData parent, List<double> value, string name, string id)

    public void AddChildData(SerieData parent, SerieData serieData)

    Serie.AddData

    public SerieData AddData(List<double> valueList, string dataName = null, string dataId = null)
    +将一组数据添加到系列中。 如果数据只有一个,默认添加到维度Y中。

    public SerieData AddData(params double[] values)
    +添加任意维数据到系列中。

    Serie.AddExtraComponent<T>

    public T AddExtraComponent<T>() where T : ChildComponent, ISerieComponent

    public virtual SerieDataLink AddLink(string sourceId, string targetId, double value = 0)
    +添加一个关系图的关系数据。

    Serie.AddSerieData

    public virtual void AddSerieData(SerieData serieData)

    Serie.AddXYData

    public SerieData AddXYData(double xValue, double yValue, string dataName = null, string dataId = null)
    +添加(x,y)数据到维度X和维度Y

    Serie.AddYData

    public SerieData AddYData(double value, string dataName = null, string dataId = null)
    +添加一个数据到维度Y(此时维度X对应的数据是索引)

    Serie.AnimationEnable

    public void AnimationEnable(bool flag)
    +启用或取消初始动画

    Serie.AnimationFadeIn

    public void AnimationFadeIn()
    +渐入动画

    Serie.AnimationFadeOut

    public void AnimationFadeOut()
    +渐出动画

    Serie.AnimationPause

    public void AnimationPause()
    +暂停动画

    Serie.AnimationReset

    public void AnimationReset()
    +重置动画

    Serie.AnimationRestart

    public void AnimationRestart()
    +重置动画

    Serie.AnimationResume

    public void AnimationResume()
    +继续动画

    Serie.CanAddComponent

    public bool CanAddComponent(Type type)

    Serie.CanAddComponent<T>

    public bool CanAddComponent<T>() where T : ChildComponent, ISerieComponent

    Serie.ClearComponentDirty

    public override void ClearComponentDirty()

    Serie.ClearData

    public override void ClearData()
    +清空所有数据

    Serie.ClearDirty

    public override void ClearDirty()

    Serie.ClearHighlight

    public void ClearHighlight()
    +清除所有数据的高亮标志

    public void ClearLinks()
    +清空所有Link数据

    Serie.ClearSerieNameDirty

    public void ClearSerieNameDirty()

    Serie.ClearVerticesDirty

    public override void ClearVerticesDirty()

    Serie.Clone

    public Serie Clone()

    Serie.Clone<T>

    public T Clone<T>() where T : Serie

    Serie.CompareTo

    public int CompareTo(object obj)

    Serie.EnsureComponent

    public ISerieComponent EnsureComponent(Type type)

    Serie.EnsureComponent<T>

    public T EnsureComponent<T>() where T : ChildComponent, ISerieComponent
    +确保系列有该组件。如果没有,则添加。

    Serie.GetBarWidth

    public float GetBarWidth(float categoryWidth, int barCount = 0, float defaultRate = 0.6f)

    Serie.GetComponent

    public ISerieComponent GetComponent(Type type)

    Serie.GetComponent<T>

    public T GetComponent<T>() where T : ChildComponent, ISerieComponent

    Serie.GetData

    public double GetData(int index, int dimension, DataZoom dataZoom = null)
    +获得指定index指定维数的数据

    Serie.GetDataList

    public List<SerieData> GetDataList(DataZoom dataZoom = null)
    +获得系列的数据列表

    Serie.GetDataTotal

    public virtual double GetDataTotal(int dimension, SerieData serieData = null)

    Serie.GetSerieData

    public SerieData GetSerieData(SerieData parent, string id)

    public SerieData GetSerieData(string id, DataZoom dataZoom = null)

    Serie.GetXYData

    public void GetXYData(int index, DataZoom dataZoom, out double xValue, out double yVlaue)
    +获得指定索引的维度X和维度Y的数据

    Serie.GetYCurrData

    public double GetYCurrData(int index, DataZoom dataZoom = null)

    Serie.GetYData

    public void GetYData(int index, out double yData, out string dataName, DataZoom dataZoom = null)
    +获得维度Y索引对应的数据和数据名

    Serie.IsIgnoreIndex

    public bool IsIgnoreIndex(int index, int dimension = 1)

    Serie.IsIgnorePoint

    public bool IsIgnorePoint(int index)

    Serie.IsIgnoreValue

    public bool IsIgnoreValue(double value)

    public bool IsIgnoreValue(SerieData serieData, double value)

    Serie.IsLegendName

    public bool IsLegendName(string legendName)

    Serie.IsMinShowLabelValue

    public bool IsMinShowLabelValue(double value)

    public bool IsMinShowLabelValue(SerieData serieData, int dimension = 1)

    Serie.IsPerformanceMode

    public bool IsPerformanceMode()
    +是否为性能模式。性能模式下不绘制Symbol,不刷新Label,不单独设置数据项配置。

    Serie.IsSerie<T>

    public bool IsSerie<T>() where T : Serie

    Serie.IsSerieDataLegendName

    public bool IsSerieDataLegendName(string legendName)

    Serie.IsSerieLegendName

    public bool IsSerieLegendName(string legendName)

    Serie.IsUseCoord<T>

    public bool IsUseCoord<T>() where T : CoordSystem

    Serie.RemoveAllComponents

    public void RemoveAllComponents()
    +移除所有额外组件。

    Serie.RemoveComponent

    public void RemoveComponent(Type type)

    Serie.RemoveComponent<T>

    public void RemoveComponent<T>() where T : ISerieComponent

    Serie.RemoveData

    public void RemoveData(int index)
    +移除指定索引的数据

    Serie.ResetDataIndex

    public bool ResetDataIndex()
    +重置数据项索引。避免部分数据项的索引异常。

    Serie.ResetInteract

    public void ResetInteract()

    Serie.SetAllDirty

    public override void SetAllDirty()

    Serie.SetCoord<T>

    public bool SetCoord<T>() where T : CoordSystem

    Serie.SetHighlight

    public void SetHighlight(int index, bool flag)
    +设置指定索引的数据为高亮状态

    Serie.SetVerticesDirty

    public override void SetVerticesDirty()

    Serie.UpdateData

    public bool UpdateData(int index, List<double> values)
    +更新指定索引的数据项数据列表

    Serie.UpdateDataName

    public bool UpdateDataName(int index, string name)

    Serie.UpdateXYData

    public bool UpdateXYData(int index, double xValue, double yValue)
    +更新指定索引的维度X和维度Y的数据

    Serie.UpdateYData

    public bool UpdateYData(int index, double value)
    +更新指定索引的维度Y数据

    SerieColorBy

    class in XCharts.Runtime

    从主题中取色策略。

    可选:

    • Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略。
    • Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    • Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。

    SerieComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到Serie的组件。

    SerieComponentAttribute.Contains

    public bool Contains(Type type)

    SerieComponentAttribute.Contains<T>

    public bool Contains<T>() where T : ISerieComponent

    SerieComponentAttribute.SerieComponentAttribute

    public SerieComponentAttribute(Type type1)

    public SerieComponentAttribute(Type type1, Type type2)

    public SerieComponentAttribute(Type type1, Type type2, Type type3)

    public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4)

    public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)

    public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)

    public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieContext

    class in XCharts.Runtime

    SerieContext.titleObject

    public ChartLabel titleObject
    +绘制点

    SerieConvertAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可转化为哪些Serie类型。

    SerieConvertAttribute.Contains

    public bool Contains(Type type)

    SerieConvertAttribute.Contains<T>

    public bool Contains<T>() where T : Serie

    SerieConvertAttribute.SerieConvertAttribute

    public SerieConvertAttribute(Type serie, Type serie2)

    public SerieConvertAttribute(Type serie, Type serie2, Type serie3)

    public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    SerieData.areaStyle

    public AreaStyle areaStyle

    SerieData.blurStyle

    public BlurStyle blurStyle
    +淡出状态的样式。

    SerieData.data

    public List<double> data
    +可指定任意维数的数值列表。

    SerieData.emphasisStyle

    public EmphasisStyle emphasisStyle
    +高亮状态的样式

    SerieData.id

    public string id
    +数据项的唯一id。唯一id不是必须设置的。

    SerieData.index

    public override int index
    +数据项索引。

    SerieData.itemStyle

    public ItemStyle itemStyle
    +单个数据项的样式设置。

    SerieData.labelLine

    public LabelLine labelLine

    SerieData.labelObject

    public ChartLabel labelObject

    SerieData.labelStyle

    public LabelStyle labelStyle
    +单个数据项的标签设置。

    SerieData.legendName

    public string legendName
    +数据项图例名称。当数据项名称不为空时,图例名称即为系列名称;反之则为索引index。

    SerieData.lineStyle

    public LineStyle lineStyle

    SerieData.name

    public string name
    +数据项名称。

    SerieData.parentId

    public string parentId
    +父节点id。父节点id不是必须设置的。

    SerieData.radius

    public float radius
    +自定义半径。可用在饼图中自定义某个数据项的半径。

    SerieData.selected

    public bool selected
    +该数据项是否被选中。

    SerieData.selectStyle

    public SelectStyle selectStyle
    +选中状态的样式。

    SerieData.show

    public bool show
    +该数据项是否要显示。

    SerieData.state

    public SerieState state
    +数据项的默认状态。

    SerieData.symbol

    public SerieSymbol symbol
    +单个数据项的标记设置。

    SerieData.titleObject

    public ChartLabel titleObject

    SerieData.titleStyle

    public TitleStyle titleStyle

    SerieData.ClearComponentDirty

    public override void ClearComponentDirty()

    SerieData.ClearVerticesDirty

    public override void ClearVerticesDirty()

    SerieData.EnsureComponent

    public ISerieDataComponent EnsureComponent(Type type)

    v3.6.0 开始支持

    确保数据项有指定类型的组件,如果没有则添加。

    SerieData.EnsureComponent<T>

    public T EnsureComponent<T>() where T : ChildComponent, ISerieDataComponent

    v3.6.0 开始支持

    确保数据项有指定类型的组件,如果没有则添加。

    SerieData.GetAddAnimationData

    public double GetAddAnimationData(double min, double max, float animationDuration = 500f, bool unscaledTime = false)

    SerieData.GetComponent<T>

    public T GetComponent<T>() where T : ChildComponent, ISerieDataComponent
    +获取数据项的指定类型的组件,如果不存在则返回null。

    SerieData.GetCurrData

    public double GetCurrData(int index, AnimationStyle animation, bool inverse, double min, double max, bool loop = false)

    public double GetCurrData(int index, float dataAddDuration = 500f, float animationDuration = 500f, bool unscaledTime = false, bool inverse = false)

    public double GetCurrData(int index, float dataAddDuration, float animationDuration, bool inverse, double min, double max, bool unscaledTime, bool loop = false)

    SerieData.GetData

    public double GetData(int index, double min, double max)

    SerieData.GetFirstData

    public double GetFirstData(bool unscaledTime, float animationDuration = 500f)

    SerieData.GetLabelHeight

    public float GetLabelHeight()

    SerieData.GetLabelWidth

    public float GetLabelWidth()

    SerieData.GetLastData

    public double GetLastData()

    SerieData.GetMaxData

    public double GetMaxData(bool inverse = false)
    +最大值。

    SerieData.GetMinData

    public double GetMinData(bool inverse = false)
    +最小值。

    SerieData.GetMinMaxData

    public void GetMinMaxData(int startDimensionIndex, bool inverse, out double min, out double max)

    SerieData.GetOrAddComponent<T>

    public T GetOrAddComponent<T>() where T : ChildComponent, ISerieDataComponent

    SerieData.GetPreviousData

    public double GetPreviousData(int index, bool inverse = false)

    SerieData.GetTotalData

    public double GetTotalData()

    SerieData.IsDataChanged

    public bool IsDataChanged()

    SerieData.IsInPolygon

    public bool IsInPolygon(Vector2 p)

    SerieData.List<string>

    public static List<string> extraFieldList = new List<string>()
    +系列中的一个数据项。可存储数据名和1-n维个数据。

    SerieData.OnAdd

    public void OnAdd(AnimationStyle animation, double startValue = 0)

    SerieData.RemoveAllComponent

    public void RemoveAllComponent()

    SerieData.RemoveComponent

    public void RemoveComponent(Type type)

    SerieData.RemoveComponent<T>

    public void RemoveComponent<T>() where T : ISerieDataComponent

    SerieData.Reset

    public void Reset()

    SerieData.SetIconActive

    public void SetIconActive(bool flag)

    SerieData.SetLabelActive

    public void SetLabelActive(bool flag)

    SerieData.SetPolygon

    public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)

    public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5)

    SerieData.UpdateData

    public bool UpdateData(int dimension, double value)

    SerieDataComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到SerieData的组件。

    SerieDataComponentAttribute.Contains

    public bool Contains(Type type)

    SerieDataComponentAttribute.Contains<T>

    public bool Contains<T>() where T : ISerieComponent

    SerieDataComponentAttribute.SerieDataComponentAttribute

    public SerieDataComponentAttribute(Type type1)

    public SerieDataComponentAttribute(Type type1, Type type2)

    public SerieDataComponentAttribute(Type type1, Type type2, Type type3)

    public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4)

    public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)

    public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)

    public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieDataContext

    class in XCharts.Runtime

    SerieDataContext.Reset

    public void Reset()

    SerieDataExtraFieldAttribute

    class in XCharts.Runtime / 继承自: Attribute

    SerieDataExtraFieldAttribute.Contains

    public bool Contains(string field)

    SerieDataExtraFieldAttribute.SerieDataExtraFieldAttribute

    public SerieDataExtraFieldAttribute(string field1)

    public SerieDataExtraFieldAttribute(string field1, string field2)

    public SerieDataExtraFieldAttribute(string field1, string field2, string field3)

    public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4)

    public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5)

    public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6)

    public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7)

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    数据节点之间的连线。可用于桑基图等,桑基图只支持有向无环图,请保证数据的连线是有向无环图。

    SerieDataSortType

    class in XCharts.Runtime

    数据排序方式。

    可选:

    • None: 按数据的顺序。
    • Ascending: 升序。
    • Descending: 降序。

    SerieEventData

    class in XCharts.Runtime

    serie事件的数据。

    SerieEventData.dataIndex

    public int dataIndex
    +在serie.data中的索引。

    SerieEventData.dimension

    public int dimension
    +数据的维度。

    SerieEventData.pointerPos

    public Vector3 pointerPos
    +鼠标在chart中的位置。

    SerieEventData.serieIndex

    public int serieIndex
    +在chart.series中的索引。

    SerieEventData.value

    public double value
    +数据的值。

    SerieEventData.Reset

    public void Reset()

    SerieEventDataPool

    class in XCharts.Runtime

    SerieEventDataPool.Get

    public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)

    SerieEventDataPool.Release

    public static void Release(SerieEventData toRelease)

    SerieHandler

    class in XCharts.Runtime

    SerieHandler.AfterUpdate()

    public virtual void AfterUpdate()

    SerieHandler.attribute

    public SerieHandlerAttribute attribute

    SerieHandler.BeforeUpdate()

    public virtual void BeforeUpdate()

    SerieHandler.chart

    public BaseChart chart

    SerieHandler.defaultDimension

    public virtual int defaultDimension

    SerieHandler.eventData)

    public virtual void OnBeginDrag(PointerEventData eventData)

    SerieHandler.eventData)

    public virtual void OnDrag(PointerEventData eventData)

    SerieHandler.eventData)

    public virtual void OnEndDrag(PointerEventData eventData)

    SerieHandler.eventData)

    public virtual void OnPointerClick(PointerEventData eventData)

    SerieHandler.eventData)

    public virtual void OnPointerDown(PointerEventData eventData)

    SerieHandler.eventData)

    public virtual void OnPointerEnter(PointerEventData eventData)

    SerieHandler.eventData)

    public virtual void OnPointerExit(PointerEventData eventData)

    SerieHandler.eventData)

    public virtual void OnPointerUp(PointerEventData eventData)

    SerieHandler.eventData)

    public virtual void OnScroll(PointerEventData eventData)

    SerieHandler.ForceUpdateSerieContext()

    public virtual void ForceUpdateSerieContext()

    SerieHandler.GetPointerItemDataDimension()

    public virtual int GetPointerItemDataDimension()

    SerieHandler.GetPointerItemDataIndex()

    public virtual int GetPointerItemDataIndex()

    SerieHandler.InitComponent()

    public virtual void InitComponent()

    SerieHandler.inited

    public bool inited

    SerieHandler.legendName)

    public virtual void OnLegendButtonEnter(int index, string legendName)

    SerieHandler.legendName)

    public virtual void OnLegendButtonExit(int index, string legendName)

    SerieHandler.OnDataUpdate()

    public virtual void OnDataUpdate()

    SerieHandler.RefreshLabelInternal()

    public virtual void RefreshLabelInternal()

    SerieHandler.RefreshLabelNextFrame()

    public virtual void RefreshLabelNextFrame()

    SerieHandler.RemoveComponent()

    public virtual void RemoveComponent()

    SerieHandler.sb)

    public virtual void CheckComponent(StringBuilder sb)

    SerieHandler.show)

    public virtual void OnLegendButtonClick(int index, string legendName, bool show)

    SerieHandler.Update()

    public virtual void Update()

    SerieHandler.UpdateSerieContext()

    public virtual void UpdateSerieContext()

    SerieHandler.vh)

    public virtual void DrawBase(VertexHelper vh)

    SerieHandler.vh)

    public virtual void DrawSerie(VertexHelper vh)

    SerieHandler.vh)

    public virtual void DrawTop(VertexHelper vh)

    SerieHandler.vh)

    public virtual void DrawUpper(VertexHelper vh)

    SerieHandler.AfterUpdate

    public virtual void AfterUpdate() { }

    SerieHandler.BeforeUpdate

    public virtual void BeforeUpdate() { }

    SerieHandler.CheckComponent

    public virtual void CheckComponent(StringBuilder sb) { }

    SerieHandler.DrawBase

    public virtual void DrawBase(VertexHelper vh) { }

    SerieHandler.DrawSerie

    public virtual void DrawSerie(VertexHelper vh) { }

    SerieHandler.DrawTop

    public virtual void DrawTop(VertexHelper vh) { }

    SerieHandler.DrawUpper

    public virtual void DrawUpper(VertexHelper vh) { }

    SerieHandler.ForceUpdateSerieContext

    public virtual void ForceUpdateSerieContext() { }

    SerieHandler.InitComponent

    public virtual void InitComponent() { }

    SerieHandler.OnBeginDrag

    public virtual void OnBeginDrag(PointerEventData eventData) { }

    SerieHandler.OnDataUpdate

    public virtual void OnDataUpdate() { }

    SerieHandler.OnDrag

    public virtual void OnDrag(PointerEventData eventData) { }

    SerieHandler.OnEndDrag

    public virtual void OnEndDrag(PointerEventData eventData) { }

    SerieHandler.OnLegendButtonClick

    public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }

    SerieHandler.OnLegendButtonEnter

    public virtual void OnLegendButtonEnter(int index, string legendName) { }

    SerieHandler.OnLegendButtonExit

    public virtual void OnLegendButtonExit(int index, string legendName) { }

    SerieHandler.OnPointerClick

    public virtual void OnPointerClick(PointerEventData eventData) { }

    SerieHandler.OnPointerDown

    public virtual void OnPointerDown(PointerEventData eventData) { }

    SerieHandler.OnPointerEnter

    public virtual void OnPointerEnter(PointerEventData eventData) { }

    SerieHandler.OnPointerExit

    public virtual void OnPointerExit(PointerEventData eventData) { }

    SerieHandler.OnPointerUp

    public virtual void OnPointerUp(PointerEventData eventData) { }

    SerieHandler.OnScroll

    public virtual void OnScroll(PointerEventData eventData) { }

    SerieHandler.RefreshLabelInternal

    public virtual void RefreshLabelInternal() { }

    SerieHandler.RefreshLabelNextFrame

    public virtual void RefreshLabelNextFrame() { }

    SerieHandler.RemoveComponent

    public virtual void RemoveComponent() { }

    SerieHandler.Update

    public virtual void Update() { }

    SerieHandler.UpdateSerieContext

    public virtual void UpdateSerieContext() { }

    SerieHandler where T

    class in / 子类: SerieHandler<T>

    SerieHandler<T>

    class in XCharts.Runtime / 继承自: [SerieHandler where T](#seriehandler where t),Serie

    SerieHandler<T>.labelObject

    public GameObject labelObject

    SerieHandler<T>.serie

    public T serie

    SerieHandler<T>.AfterUpdate

    public override void AfterUpdate()

    SerieHandler<T>.BeforeUpdate

    public override void BeforeUpdate()

    SerieHandler<T>.DrawLabelLineSymbol

    public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)

    SerieHandler<T>.ForceUpdateSerieContext

    public override void ForceUpdateSerieContext()

    SerieHandler<T>.GetPointerItemDataDimension

    public override int GetPointerItemDataDimension()

    SerieHandler<T>.GetPointerItemDataIndex

    public override int GetPointerItemDataIndex()

    SerieHandler<T>.GetSerieDataAutoColor

    public virtual Color GetSerieDataAutoColor(SerieData serieData)

    SerieHandler<T>.GetSerieDataLabelOffset

    public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)

    SerieHandler<T>.GetSerieDataLabelPosition

    public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)

    SerieHandler<T>.GetSerieDataTitlePosition

    public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)

    SerieHandler<T>.InitComponent

    public override void InitComponent()

    SerieHandler<T>.OnLegendButtonClick

    public override void OnLegendButtonClick(int index, string legendName, bool show)

    SerieHandler<T>.OnLegendButtonEnter

    public override void OnLegendButtonEnter(int index, string legendName)

    SerieHandler<T>.OnLegendButtonExit

    public override void OnLegendButtonExit(int index, string legendName)

    SerieHandler<T>.OnPointerClick

    public override void OnPointerClick(PointerEventData eventData)

    SerieHandler<T>.OnPointerDown

    public override void OnPointerDown(PointerEventData eventData)

    SerieHandler<T>.RefreshEndLabelInternal

    public virtual void RefreshEndLabelInternal()

    SerieHandler<T>.RefreshLabelInternal

    public override void RefreshLabelInternal()

    SerieHandler<T>.RefreshLabelNextFrame

    public override void RefreshLabelNextFrame()

    SerieHandler<T>.RemoveComponent

    public override void RemoveComponent()

    SerieHandler<T>.Update

    public override void Update()

    SerieHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    SerieHandlerAttribute.SerieHandlerAttribute

    public SerieHandlerAttribute(Type handler, bool allowMultiple)

    SerieHelper

    class in XCharts.Runtime

    SerieHelper.CloneSerie<T>

    public static T CloneSerie<T>(Serie serie) where T : Serie

    SerieHelper.CopySerie

    public static void CopySerie(Serie oldSerie, Serie newSerie)

    SerieHelper.GetAllMinMaxData

    public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)

    SerieHelper.GetAreaStyle

    public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)

    SerieHelper.GetAverageData

    public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)

    SerieHelper.GetBlurStyle

    public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)

    SerieHelper.GetEmphasisStyle

    public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData)

    SerieHelper.GetItemColor

    public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true)

    SerieHelper.GetItemFormatter

    public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)

    SerieHelper.GetItemMarker

    public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null)

    SerieHelper.GetItemStyle

    public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)

    SerieHelper.GetLineColor

    public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto)

    SerieHelper.GetLineStyle

    public static LineStyle GetLineStyle(Serie serie, SerieData serieData)

    SerieHelper.GetMaxData

    public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null)

    SerieHelper.GetMaxSerieData

    public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)

    SerieHelper.GetMedianData

    public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null)

    SerieHelper.GetMinData

    public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null)

    SerieHelper.GetMinMaxData

    public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)
    +获得系列所有数据的最大最小值。

    SerieHelper.GetMinSerieData

    public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)

    SerieHelper.GetNumericFormatter

    public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)

    SerieHelper.GetSelectStyle

    public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)

    SerieHelper.GetSerieLabel

    public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)

    SerieHelper.GetSerieLabelLine

    public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)

    SerieHelper.GetSerieState

    public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)

    public static SerieState GetSerieState(SerieData serieData)

    SerieHelper.GetSerieSymbol

    public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)

    SerieHelper.GetStateStyle

    public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)

    SerieHelper.GetSysmbolSize

    public static float GetSysmbolSize(Serie serie, SerieData serieData, float defaultSize, SerieState state = SerieState.Auto, bool checkAnimation = false)

    SerieHelper.GetTitleStyle

    public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)

    SerieHelper.IsAllZeroValue

    public static bool IsAllZeroValue(Serie serie, int dimension = 1)
    +系列指定维数的数据是否全部为0。

    SerieHelper.IsDownPoint

    public static bool IsDownPoint(Serie serie, int index)

    SerieHelper.UpdateCenter

    public static void UpdateCenter(Serie serie, BaseChart chart)
    +更新运行时中心点和半径

    SerieHelper.UpdateFilterData

    public static void UpdateFilterData(Serie serie, DataZoom dataZoom)
    +根据dataZoom更新数据列表缓存

    SerieHelper.UpdateMinMaxData

    public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)
    +获得指定维数的最大最小值

    SerieHelper.UpdateRect

    public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)

    SerieHelper.UpdateSerieRuntimeFilterData

    public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)

    SerieLabelHelper

    class in XCharts.Runtime

    SerieLabelHelper.CanShowLabel

    public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)

    SerieLabelHelper.GetLabelColor

    public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)

    SerieLabelHelper.SetGaugeLabelText

    public static void SetGaugeLabelText(Serie serie)

    SerieLabelPool

    class in XCharts.Runtime

    SerieLabelPool.ClearAll

    public static void ClearAll()

    SerieLabelPool.Release

    public static void Release(GameObject element)

    SerieLabelPool.ReleaseAll

    public static void ReleaseAll(Transform parent)

    SerieParams

    class in XCharts.Runtime

    SeriesHelper

    class in XCharts.Runtime

    SeriesHelper.GetLastStackSerie

    public static Serie GetLastStackSerie(List<Serie> series, Serie serie)
    +获得上一个同堆叠且显示的serie。

    SeriesHelper.GetLegalSerieNameList

    public static List<string> GetLegalSerieNameList(List<Serie> series)

    SeriesHelper.GetMaxSerieDataCount

    public static int GetMaxSerieDataCount(List<Serie> series)

    SeriesHelper.GetMinAnimationDuration

    public static float GetMinAnimationDuration(List<Serie> series)

    SeriesHelper.GetNameColor

    public static Color GetNameColor(BaseChart chart, int index, string name)

    SeriesHelper.GetStackSeries

    public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)
    +获得堆叠系列列表

    SeriesHelper.IsAnyClipSerie

    public static bool IsAnyClipSerie(List<Serie> series)
    +是否有需裁剪的serie。

    SeriesHelper.IsAnyColorByDataSerie

    public static bool IsAnyColorByDataSerie(List<Serie> series)
    +是否有任何一个系列是按数据颜色的。

    SeriesHelper.IsLegalLegendName

    public static bool IsLegalLegendName(string name)

    SeriesHelper.IsPercentStack<T>

    public static bool IsPercentStack<T>(List<Serie> series, string stackName) where T : Serie
    +是否时百分比堆叠

    SeriesHelper.IsStack

    public static bool IsStack(List<Serie> series)
    +是否由数据堆叠

    SeriesHelper.IsStack<T>

    public static bool IsStack<T>(List<Serie> series, string stackName) where T : Serie
    +是否堆叠

    SeriesHelper.UpdateSerieNameList

    public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)
    +获得所有系列名,不包含空名字。

    SeriesHelper.UpdateStackDataList

    public static void UpdateStackDataList(List<Serie> series, Serie currSerie, DataZoom dataZoom, List<List<SerieData>> dataList)

    SerieState

    class in XCharts.Runtime

    Serie状态。支持正常、高亮、淡出、选中四种状态。

    可选:

    • Normal: 正常状态。
    • Emphasis: 高亮状态。
    • Blur: 淡出状态。
    • Select: 选中状态。
    • Auto: 自动保持和父节点一致。一般用在SerieData。

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle,ISerieDataComponent

    系列数据项的标记的图形

    SerieSymbol.GetSize

    public float GetSize(List<double> data, float themeSize)
    +根据指定的sizeType获得标记的大小

    SerieSymbol.Reset

    public override void Reset()

    SerieSymbol.ShowSymbol

    public bool ShowSymbol(int dataIndex, int dataCount)

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    SerieTheme.Copy

    public void Copy(SerieTheme theme)

    SerieTheme.SerieTheme

    public SerieTheme(ThemeType theme)

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    Settings.show

    public bool show

    Settings.Copy

    public void Copy(Settings settings)

    Settings.Reset

    public override void Reset()

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    SimplifiedBar.containerIndex

    public int containerIndex

    SimplifiedBar.containterInstanceId

    public int containterInstanceId

    SimplifiedBar.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    SimplifiedBar.ConvertSerie

    public static SimplifiedBar ConvertSerie(Serie serie)

    SimplifiedBarChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化柱状图是柱状图的简化模式,通过简化组件和配置,拥有更好的性能。

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    SimplifiedCandlestick.containerIndex

    public int containerIndex

    SimplifiedCandlestick.containterInstanceId

    public int containterInstanceId

    SimplifiedCandlestick.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    SimplifiedCandlestick.ConvertSerie

    public static SimplifiedCandlestick ConvertSerie(Serie serie)

    SimplifiedCandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化K线图是K线图的简化模式,通过简化组件和配置,拥有更好的性能。

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    SimplifiedLine.containerIndex

    public int containerIndex

    SimplifiedLine.containterInstanceId

    public int containterInstanceId

    SimplifiedLine.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    SimplifiedLine.ConvertSerie

    public static SimplifiedLine ConvertSerie(Serie serie)

    SimplifiedLineChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化折线图是折线图的简化模式,通过简化组件和配置,拥有更好的性能。

    Since

    class in XCharts.Runtime / 继承自: Attribute

    Since.Since

    public Since(string version)

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis,IUpdateRuntimeData

    单轴。

    SingleAxis.SetDefaultValue

    public override void SetDefaultValue()

    SingleAxis.UpdateRuntimeData

    public void UpdateRuntimeData(BaseChart chart)

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    StageColor.color

    public Color32 color
    +颜色。

    StageColor.percent

    public float percent
    +结束位置百分比。

    StageColor.StageColor

    public StageColor(float percent, Color32 color)

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle,EmphasisStyle,SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    StateStyle.ClearComponentDirty

    public override void ClearComponentDirty()

    StateStyle.ClearVerticesDirty

    public override void ClearVerticesDirty()

    StateStyle.Reset

    public void Reset()

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    SubTitleTheme.SubTitleTheme

    public SubTitleTheme(ThemeType theme) : base(theme)

    SVG

    class in XUGL

    SVG.DrawPath

    public static void DrawPath(VertexHelper vh, SVGPath path)

    SVG.Test

    public static void Test(VertexHelper vh)

    SVGPath

    class in XUGL

    SVGPath.AddSegment

    public void AddSegment(SVGPathSeg seg)

    SVGPath.Draw

    public void Draw(VertexHelper vh)

    SVGPath.Parse

    public static SVGPath Parse(string path)

    SVGPathSeg

    class in XUGL

    SVGPathSeg.p1

    public Vector2 p1

    SVGPathSeg.p2

    public Vector2 p2

    SVGPathSeg.p3

    public Vector2 p3

    SVGPathSeg.x

    public float x

    SVGPathSeg.y

    public float y

    SVGPathSeg.SVGPathSeg

    public SVGPathSeg(SVGPathSegType type)

    SVGPathSegType

    class in XUGL

    可选:

    • M: move to
    • L: line to
    • H: horizontal line to
    • V: vertial line to
    • C: curve to
    • S: smooth curve to
    • Q: quadratic bezier curve
    • T: smooth quadratic bezier curve to
    • A: elliptical Arc
    • Z: close path

    SymbolSizeType

    class in XCharts.Runtime

    获取标记图形大小的方式。

    可选:

    • Custom: 自定义大小。
    • FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    • Function: 通过委托函数获取。

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    SymbolStyle.animationSize

    public List<float> animationSize
    +带有涟漪特效动画的散点图的动画参数。

    SymbolStyle.offset3

    public Vector3 offset3

    SymbolStyle.GetColor

    public Color32 GetColor(Color32 defaultColor)

    SymbolStyle.Reset

    public virtual void Reset()

    SymbolType

    class in XCharts.Runtime

    标记图形的类型。

    可选:

    • None: 不显示标记。
    • Custom: 自定义标记。
    • Circle: 圆形。
    • EmptyCircle: 空心圆。
    • Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    • EmptyRect: 空心正方形。
    • Triangle: 三角形。
    • EmptyTriangle: 空心三角形。
    • Diamond: 菱形。
    • EmptyDiamond: 空心菱形。
    • Arrow: 箭头。
    • EmptyArrow: 空心箭头。
    • Plus: 加号。
    • Minus: 减号。

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    TextLimit.Clone

    public TextLimit Clone()

    TextLimit.Copy

    public void Copy(TextLimit textLimit)

    TextLimit.GetLimitContent

    public string GetLimitContent(string content)

    TextLimit.SetRelatedText

    public void SetRelatedText(ChartText txt, float labelWidth)

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    TextPadding.TextPadding()

    public TextPadding()
    +文本的内边距设置。

    TextPadding.TextPadding

    public TextPadding(float top, float right, float bottom, float left)

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    TextStyle.TextStyle()

    public TextStyle()

    TextStyle.Copy

    public void Copy(TextStyle textStyle)

    TextStyle.GetAlignment

    public TextAnchor GetAlignment(TextAnchor defaultAlignment)

    TextStyle.GetColor

    public Color GetColor(Color defaultColor)

    TextStyle.GetFontSize

    public int GetFontSize(ComponentTheme defaultTheme)

    TextStyle.TextStyle

    public TextStyle(int fontSize)

    public TextStyle(int fontSize, FontStyle fontStyle)

    public TextStyle(int fontSize, FontStyle fontStyle, Color color)

    public TextStyle(int fontSize, FontStyle fontStyle, Color color, int rorate)

    TextStyle.UpdateAlignmentByLocation

    public void UpdateAlignmentByLocation(Location location)

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    Theme.axis

    public AxisTheme axis

    Theme.colorPalette

    public List<Color32> colorPalette
    +调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。

    Theme.common

    public ComponentTheme common

    Theme.dataZoom

    public DataZoomTheme dataZoom

    Theme.legend

    public LegendTheme legend

    Theme.serie

    public SerieTheme serie

    Theme.subTitle

    public SubTitleTheme subTitle

    Theme.title

    public TitleTheme title

    Theme.tooltip

    public TooltipTheme tooltip

    Theme.visualMap

    public VisualMapTheme visualMap

    Theme.CheckWarning

    public void CheckWarning(StringBuilder sb)

    Theme.CloneTheme

    public Theme CloneTheme()
    +克隆主题。

    Theme.CopyTheme

    public void CopyTheme(Theme theme)
    +复制主题的所有配置。

    Theme.GetColor

    public static Color32 GetColor(string hexColorStr)
    +将字符串颜色值转成Color。

    Theme.GetColorStr

    public string GetColorStr(int index)
    +获得指定索引的十六进制颜色值字符串。

    Theme.GetHashCode

    public override int GetHashCode()

    Theme.ResetTheme

    public bool ResetTheme()
    +重置,清除所有自定义配置。

    Theme.ResetToDarkTheme

    public static void ResetToDarkTheme(Theme theme)
    +暗主题。

    Theme.ResetToDefaultTheme

    public static void ResetToDefaultTheme(Theme theme)
    +默认主题。

    Theme.SetColorPalette

    public void SetColorPalette(List<string> hexColorStringList)

    Theme.SetDefaultFont

    public void SetDefaultFont()

    Theme.SyncFontToSubComponent

    public void SyncFontToSubComponent()

    Theme.SyncTMPFontToSubComponent

    public void SyncTMPFontToSubComponent()

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    ThemeStyle.axis

    public AxisTheme axis

    ThemeStyle.common

    public ComponentTheme common

    ThemeStyle.customColorPalette

    public List<Color32> customColorPalette

    ThemeStyle.dataZoom

    public DataZoomTheme dataZoom

    ThemeStyle.legend

    public LegendTheme legend

    ThemeStyle.serie

    public SerieTheme serie

    ThemeStyle.show

    public bool show

    ThemeStyle.subTitle

    public SubTitleTheme subTitle

    ThemeStyle.title

    public TitleTheme title

    ThemeStyle.tooltip

    public TooltipTheme tooltip

    ThemeStyle.visualMap

    public VisualMapTheme visualMap

    ThemeStyle.CheckWarning

    public void CheckWarning(StringBuilder sb)

    ThemeStyle.GetBackgroundColor

    public Color32 GetBackgroundColor(Background background)

    ThemeStyle.GetColor

    public static Color32 GetColor(string hexColorStr)
    +将字符串颜色值转成Color。

    ThemeStyle.GetColorStr

    public string GetColorStr(int index)
    +获得指定索引的十六进制颜色值字符串。

    ThemeStyle.SyncSharedThemeColorToCustom

    public void SyncSharedThemeColorToCustom()

    ThemeType

    class in XCharts.Runtime

    主题

    可选:

    • Default: 默认主题。
    • Light: 亮主题。
    • Dark: 暗主题。
    • Custom: 自定义主题。

    Title

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    标题组件,包含主标题和副标题。

    Title.show

    public bool show
    +是否显示标题组件。

    Title.text

    public string text
    +主标题文本,支持使用 \n 换行。

    Title.vertsDirty

    public override bool vertsDirty

    Title.ClearComponentDirty

    public override void ClearComponentDirty()

    Title.OnChanged

    public void OnChanged()

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle,ISerieDataComponent,ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    TitleTheme.TitleTheme

    public TitleTheme(ThemeType theme) : base(theme)

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    Tooltip.alwayShowContent

    public bool alwayShowContent
    +是否触发后一直显示提示框浮层。

    Tooltip.backgroundColor

    public Color backgroundColor
    +提示框的背景颜色。

    Tooltip.backgroundImage

    public Sprite backgroundImage
    +提示框的背景图片。

    Tooltip.backgroundType

    public Image.Type backgroundType
    +提示框的背景图片显示类型。

    Tooltip.fixedHeight

    public float fixedHeight
    +固定高度。比 minHeight 优先。

    Tooltip.fixedWidth

    public float fixedWidth
    +固定宽度。比 minWidth 优先。

    Tooltip.ignoreDataDefaultContent

    public string ignoreDataDefaultContent
    +被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。

    Tooltip.ignoreDataShow

    public bool ignoreDataShow
    +是否显示忽略数据在tooltip上。

    Tooltip.itemFormatter

    public string itemFormatter
    +提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用|来表示多个列的分隔。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {i}或-表示忽略当前项。 {.}为当前所指示的serie或数据项的对应颜色的圆点。
    {a}为当前所指示的serie或数据项的系列名name。
    {b}为当前所指示的serie或数据项的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示的serie或数据项的y维(dimesion为1)的数值。
    {d}为当前所指示的serie或数据项的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示的serie或数据项的数据项serieData的name。
    {f}为当前所指示的serie的默认维度的数据总和。
    {g}为当前所指示的serie的数据总个数。
    {h}为当前所指示的serie的十六进制颜色值。
    {y}为当前所指示的serie的y轴的类目值。
    {c0}表示当前数据项维度为0的数据。
    {c1}表示当前数据项维度为1的数据。
    {d3}表示维度3的数据的百分比。它的分母是默认维度(一般是1维度)数据。
    |表示多个列的分隔。
    示例:"{i}", "{.}|{a}|{c}", "{.}|{b}|{c2:f2}", "{.}|{b}|{y}"

    Tooltip.marker

    public string marker
    +serie的符号标志。

    Tooltip.minHeight

    public float minHeight
    +最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。

    Tooltip.minWidth

    public float minWidth
    +最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。

    Tooltip.offset

    public Vector2 offset
    +提示框相对于鼠标位置的偏移。

    Tooltip.onClickIndex

    public System.Action<int> onClickIndex
    +Tooltip为Click触发时,点击的X轴索引的回调。

    Tooltip.paddingLeftRight

    public int paddingLeftRight
    +左右边距。

    Tooltip.paddingTopBottom

    public int paddingTopBottom
    +上下边距。

    Tooltip.runtimeDataIndex

    public List<int> runtimeDataIndex
    +当前提示框所指示的数据项索引。

    Tooltip.showContent

    public bool showContent
    +是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。

    Tooltip.titleFormatter

    public string titleFormatter
    +提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {y}为value所对应的y轴的类目值。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"

    Tooltip.AddSerieDataIndex

    public void AddSerieDataIndex(int serieIndex, int dataIndex)

    Tooltip.ClearComponentDirty

    public override void ClearComponentDirty()

    Tooltip.ClearData

    public override void ClearData()

    Tooltip.ClearSerieDataIndex

    public void ClearSerieDataIndex()

    Tooltip.GetContentLabelStyle

    public LabelStyle GetContentLabelStyle(int index)

    Tooltip.IsActive

    public bool IsActive()
    +提示框是否显示

    Tooltip.isAnySerieDataIndex

    public bool isAnySerieDataIndex()

    Tooltip.IsSelected

    public bool IsSelected(int index)
    +指定索引的数据项是否被提示框选中

    Tooltip.IsTriggerAxis

    public bool IsTriggerAxis()

    Tooltip.IsTriggerItem

    public bool IsTriggerItem()

    Tooltip.KeepTop

    public void KeepTop()
    +保持Tooltiop显示在最顶上

    Tooltip.SetActive

    public void SetActive(bool flag)
    +设置Tooltip组件是否显示

    Tooltip.SetContentActive

    public void SetContentActive(bool flag)
    +设置文本框是否显示

    Tooltip.UpdateContentPos

    public void UpdateContentPos(Vector2 pos, float width, float height)
    +更新文本框位置

    Tooltip.Position

    class in XCharts.Runtime

    坐标类型。

    可选:

    • Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    • Custom: 自定义。完全自定义显示位置(x,y)。
    • FixedX: 只固定坐标X。Y跟随鼠标位置。
    • FixedY:

    Tooltip.Trigger

    class in XCharts.Runtime

    触发类型。

    可选:

    • Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    • Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    • None: 什么都不触发。
    • Auto: 根据serie的类型自动选择触发类型。

    Tooltip.TriggerOn

    class in XCharts.Runtime

    触发条件。

    可选:

    • MouseMove: 鼠标移动时触发。
    • Click: 鼠标点击时触发。

    Tooltip.Type

    class in XCharts.Runtime

    指示器类型。

    可选:

    • Line: 直线指示器
    • Shadow: 阴影指示器
    • None: 无指示器
    • Cross: 十字准星指示器。坐标轴显示Label和交叉线。
    • Auto: 根据serie的类型自动选择显示指示器。

    TooltipContext

    class in XCharts.Runtime

    TooltipData

    class in XCharts.Runtime

    TooltipHelper

    class in XCharts.Runtime

    TooltipHelper.GetItemNumericFormatter

    public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)

    TooltipHelper.GetLineColor

    public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor)

    TooltipHelper.IsIgnoreFormatter

    public static bool IsIgnoreFormatter(string itemFormatter)

    TooltipHelper.LimitInRect

    public static void LimitInRect(Tooltip tooltip, Rect chartRect)

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    TooltipTheme.Copy

    public void Copy(TooltipTheme theme)

    TooltipTheme.TooltipTheme

    public TooltipTheme(ThemeType theme) : base(theme)

    TooltipView

    class in XCharts.Runtime

    TooltipView.CreateView

    public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)

    TooltipView.GetCurrentPos

    public Vector3 GetCurrentPos()

    TooltipView.GetTargetPos

    public Vector3 GetTargetPos()

    TooltipView.Refresh

    public void Refresh()

    TooltipView.SetActive

    public void SetActive(bool flag)

    TooltipView.Update

    public void Update()

    TooltipView.UpdatePosition

    public void UpdatePosition(Vector3 pos)

    TooltipViewItem

    class in XCharts.Runtime

    UGL

    class in XUGL

    UGUI 图形库

    UGL.DrawDiamond

    public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
    +Draw a diamond. 画菱形(钻石形状)

    public static void DrawDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, Color32 color, Color32 toColor)

    UGL.DrawEllipse

    public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)

    UGL.DrawEmptyDiamond

    public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color, Color32 emptyColor)

    UGL.DrawEmptyTriangle

    public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color, Color32 backgroundColor)

    UGL.DrawLine

    public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)

    public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
    +Draw a line. 画直线

    UGL.DrawMinus

    public static void DrawMinus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    +绘制减号

    UGL.DrawPlus

    public static void DrawPlus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    +绘制加号

    UGL.DrawPolygon

    public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
    +填充任意多边形(目前只支持凸多边形)

    UGL.DrawRectangle

    public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)

    public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)

    public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)

    public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)

    UGL.DrawSquare

    public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
    +Draw a square. 画正方形

    UGL.DrawSvgPath

    public static void DrawSvgPath(VertexHelper vh, string path)

    UGL.DrawTriangle

    public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)

    UGL.Direction

    class in XUGL

    曲线方向

    可选:

    • XAxis: 沿X轴方向
    • YAxis: 沿Y轴方向
    • Random: 随机无序的。如一个闭合的环状曲线。

    UGLExample

    class in XUGL / 继承自: MaskableGraphic

    UGLHelper

    class in XUGL

    UGLHelper.GetAngle360

    public static float GetAngle360(Vector2 from, Vector2 to)
    +获得0-360的角度(12点钟方向为0度)

    UGLHelper.GetBezier

    public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)

    UGLHelper.GetBezier2

    public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)

    UGLHelper.GetBezierList

    public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)

    UGLHelper.GetDire

    public static Vector3 GetDire(float angle, bool isDegree = false)

    UGLHelper.GetIntersection

    public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref List<Vector3> intersection)
    +获得两直线的交点

    UGLHelper.GetPos

    public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)

    UGLHelper.GetVertialDire

    public static Vector3 GetVertialDire(Vector3 dire)

    UGLHelper.IsClearColor

    public static bool IsClearColor(Color color)

    UGLHelper.IsPointInPolygon

    public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)

    public static bool IsPointInPolygon(Vector3 p, params Vector3[] polyons)

    UGLHelper.IsPointInTriangle

    public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)

    UGLHelper.IsValueEqualsColor

    public static bool IsValueEqualsColor(Color color1, Color color2)

    UGLHelper.IsValueEqualsList<T>

    public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)

    UGLHelper.IsValueEqualsString

    public static bool IsValueEqualsString(string str1, string str2)

    UGLHelper.IsValueEqualsVector2

    public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)

    UGLHelper.IsValueEqualsVector3

    public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)

    UGLHelper.IsZeroVector

    public static bool IsZeroVector(Vector3 pos)

    UGLHelper.RotateRound

    public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)

    UIComponent

    class in XCharts.Runtime / 继承自: BaseGraph

    UI组件基类。

    UIComponent.background

    public Background background
    +背景样式。

    UIComponent.chartHideFlags

    public override HideFlags chartHideFlags

    UIComponent.theme

    public UIComponentTheme theme

    UIComponent.SetAllDirty

    public override void SetAllDirty()

    UIComponent.SetDataDirty

    public void SetDataDirty()

    v3.9.0 开始支持

    UIComponent.SetVerticesDirty

    public override void SetVerticesDirty()

    UIComponent.UpdateTheme

    public bool UpdateTheme(ThemeType theme)
    +切换内置主题。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    UIComponentTheme.show

    public bool show

    UIComponentTheme.GetBackgroundColor

    public Color32 GetBackgroundColor(Background background)

    UIHelper

    class in XCharts.Runtime

    UI帮助类。

    ViewControl

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.11.0 开始支持

    3D视角控制组件。

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    VisualMap.range

    public double[] range
    +指定手柄对应数值的位置。range 应在[min,max]范围内。

    VisualMap.runtimeRangeMaxHeight

    public float runtimeRangeMaxHeight

    VisualMap.runtimeRangeMinHeight

    public float runtimeRangeMinHeight

    VisualMap.text

    public string[] text
    +两端的文本,如 ['High', 'Low']

    VisualMap.textGap

    public float[] textGap
    +两端文字主体之间的距离,单位为px。

    VisualMap.vertsDirty

    public override bool vertsDirty

    VisualMap.AddColors

    public void AddColors(List<string> colors)

    VisualMap.ClearComponentDirty

    public override void ClearComponentDirty()

    VisualMap.ClearVerticesDirty

    public override void ClearVerticesDirty()

    VisualMap.GetColor

    public Color32 GetColor(double value)

    VisualMap.GetIndex

    public int GetIndex(double value)

    VisualMap.GetValue

    public double GetValue(Vector3 pos, Rect chartRect)

    VisualMap.IsInRangeMaxRect

    public bool IsInRangeMaxRect(Vector3 local, Rect chartRect, float triangleLen)

    VisualMap.IsInRangeMinRect

    public bool IsInRangeMinRect(Vector3 local, Rect chartRect, float triangleLen)

    VisualMap.IsInRangeRect

    public bool IsInRangeRect(Vector3 local, Rect chartRect)

    VisualMap.IsInRect

    public bool IsInRect(Vector3 local, Rect chartRect, float triangleLen = 20)

    VisualMap.IsInSelectedValue

    public bool IsInSelectedValue(double value)

    VisualMap.IsPiecewise

    public bool IsPiecewise()

    VisualMap.SelectedMode

    class in XCharts.Runtime

    选择模式

    可选:

    • Multiple: 多选。
    • Single: 单选。

    VisualMap.Type

    class in XCharts.Runtime

    类型。分为连续型和分段型。

    可选:

    • Continuous: 连续型。
    • Piecewise: 分段型。

    VisualMapContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    VisualMapContext.max

    public double max

    VisualMapContext.maxDrag

    public bool maxDrag

    VisualMapContext.min

    public double min

    VisualMapContext.minDrag

    public bool minDrag

    VisualMapContext.pointerIndex

    public int pointerIndex
    +鼠标悬停选中的index

    VisualMapContext.pointerValue

    public double pointerValue

    VisualMapHelper

    class in XCharts.Runtime

    VisualMapHelper.AutoSetLineMinMax

    public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)

    VisualMapHelper.GetDimension

    public static int GetDimension(VisualMap visualMap, int defaultDimension)

    VisualMapHelper.IsNeedAreaGradient

    public static bool IsNeedAreaGradient(VisualMap visualMap)

    VisualMapHelper.IsNeedGradient

    public static bool IsNeedGradient(VisualMap visualMap)

    VisualMapHelper.IsNeedLineGradient

    public static bool IsNeedLineGradient(VisualMap visualMap)

    VisualMapHelper.SetMinMax

    public static void SetMinMax(VisualMap visualMap, double min, double max)

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    VisualMapRange.color

    public Color32 color
    +颜色

    VisualMapRange.label

    public string label
    +文字描述

    VisualMapRange.max

    public double max
    +范围最大值

    VisualMapRange.min

    public double min
    +范围最小值

    VisualMapRange.Contains

    public bool Contains(double value, double minMaxRange)

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    VisualMapTheme.Copy

    public void Copy(VisualMapTheme theme)

    VisualMapTheme.VisualMapTheme

    public VisualMapTheme(ThemeType theme) : base(theme)

    Wrapper<T>

    class in XCharts.Runtime

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    XAxis.SetDefaultValue

    public override void SetDefaultValue()
    +直角坐标系 grid 中的 x 轴。

    XAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 x 轴。

    XAxis3D.SetDefaultValue

    public override void SetDefaultValue()
    +直角坐标系 grid 中的 x 轴。

    XChartsMgr

    class in XCharts.Runtime

    XChartsMgr.fullVersion

    public static string fullVersion

    XChartsMgr.AddChart

    public static void AddChart(BaseChart chart)

    XChartsMgr.ContainsChart

    public static bool ContainsChart(BaseChart chart)

    XChartsMgr.GetChart

    public static BaseChart GetChart(string chartName)

    XChartsMgr.GetCharts

    public static List<BaseChart> GetCharts(string chartName)

    XChartsMgr.GetPackageFullPath

    public static string GetPackageFullPath()

    XChartsMgr.GetRepeatChartNameInfo

    public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)

    XChartsMgr.IsRepeatChartName

    public static bool IsRepeatChartName(BaseChart chart, string chartName = null)

    XChartsMgr.RemoveAllChartObject

    public static void RemoveAllChartObject()

    XChartsMgr.RemoveChart

    public static void RemoveChart(string chartName)

    XCResourceImporterWindow

    class in XCharts.Runtime / 继承自: UnityEditor.EditorWindow

    XCResourceImporterWindow.ShowPackageImporterWindow

    public static void ShowPackageImporterWindow()

    XCResourcesImporter

    class in XCharts.Runtime

    XCResourcesImporter.OnDestroy()

    public void OnDestroy()

    XCResourcesImporter.XCResourcesImporter()

    public XCResourcesImporter()

    XCResourcesImporter.OnDestroy

    public void OnDestroy() { }

    XCResourcesImporter.OnGUI

    public void OnGUI()

    XCResourcesImporter.XCResourcesImporter

    public XCResourcesImporter() { }

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    XCSettings.axisLineType

    public static LineStyle.Type axisLineType

    XCSettings.axisLineWidth

    public static float axisLineWidth

    XCSettings.axisSplitLineType

    public static LineStyle.Type axisSplitLineType

    XCSettings.axisSplitLineWidth

    public static float axisSplitLineWidth

    XCSettings.axisTickLength

    public static float axisTickLength

    XCSettings.axisTickWidth

    public static float axisTickWidth

    XCSettings.cicleSmoothness

    public static float cicleSmoothness

    XCSettings.customThemes

    public static List<Theme> customThemes

    XCSettings.dataZoomBorderWidth

    public static float dataZoomBorderWidth

    XCSettings.dataZoomDataLineWidth

    public static float dataZoomDataLineWidth

    XCSettings.editorShowAllListData

    public static bool editorShowAllListData

    XCSettings.font

    public static Font font

    XCSettings.fontSizeLv1

    public static int fontSizeLv1
    +一级字体大小。

    XCSettings.fontSizeLv2

    public static int fontSizeLv2

    XCSettings.fontSizeLv3

    public static int fontSizeLv3

    XCSettings.fontSizeLv4

    public static int fontSizeLv4

    XCSettings.gaugeAxisLineWidth

    public static float gaugeAxisLineWidth

    XCSettings.gaugeAxisSplitLineLength

    public static float gaugeAxisSplitLineLength

    XCSettings.gaugeAxisSplitLineWidth

    public static float gaugeAxisSplitLineWidth

    XCSettings.gaugeAxisTickLength

    public static float gaugeAxisTickLength

    XCSettings.gaugeAxisTickWidth

    public static float gaugeAxisTickWidth

    XCSettings.lang

    public static Lang lang

    XCSettings.lineSegmentDistance

    public static float lineSegmentDistance

    XCSettings.lineSmoothness

    public static float lineSmoothness

    XCSettings.lineSmoothStyle

    public static float lineSmoothStyle

    XCSettings.maxPainter

    public static int maxPainter

    XCSettings.serieCandlestickBorderWidth

    public static float serieCandlestickBorderWidth

    XCSettings.serieLineSymbolSize

    public static float serieLineSymbolSize

    XCSettings.serieLineWidth

    public static float serieLineWidth

    XCSettings.serieScatterSymbolSize

    public static float serieScatterSymbolSize

    XCSettings.serieSelectedRate

    public static float serieSelectedRate

    XCSettings.tmpFont

    public static TMP_FontAsset tmpFont

    XCSettings.tootipLineWidth

    public static float tootipLineWidth

    XCSettings.visualMapBorderWidth

    public static float visualMapBorderWidth

    XCSettings.visualMapTriangeLen

    public static float visualMapTriangeLen

    XCSettings.AddCustomTheme

    public static bool AddCustomTheme(Theme theme)

    XCSettings.ExistAssetFile

    public static bool ExistAssetFile()

    XCSettings.GetSettingAssetPath

    public static string GetSettingAssetPath()

    XCThemeMgr

    class in XCharts.Runtime

    XCThemeMgr.AddTheme

    public static void AddTheme(Theme theme)

    XCThemeMgr.CheckReloadTheme

    public static void CheckReloadTheme()

    XCThemeMgr.ContainsTheme

    public static bool ContainsTheme(string themeName)

    XCThemeMgr.ExportTheme

    public static bool ExportTheme(Theme theme)

    XCThemeMgr.GetAllThemeNames

    public static List<string> GetAllThemeNames()

    XCThemeMgr.GetTheme

    public static Theme GetTheme(string themeName)

    XCThemeMgr.GetThemeAssetPath

    public static string GetThemeAssetPath(string themeName)

    XCThemeMgr.GetThemeList

    public static List<Theme> GetThemeList()

    XCThemeMgr.LoadTheme

    public static Theme LoadTheme(string themeName)

    XCThemeMgr.ReloadThemeList

    public static void ReloadThemeList()
    +重新加载主题列表

    XCThemeMgr.SwitchTheme

    public static void SwitchTheme(BaseChart chart, string themeName)

    XLog

    class in XCharts.Runtime / 继承自: MonoBehaviour

    日志系统。用于输出带日期和日志类型的日志,支持输出到文件,支持自定义输出的日志类型。

    XLog.CanLog

    public static bool CanLog(int level)

    XLog.ClearAllLog

    public static void ClearAllLog()

    XLog.Debug

    public static void Debug(string log)

    XLog.EnableLog

    public static void EnableLog(int logType)

    XLog.Error

    public static void Error(string log)

    XLog.FlushLog

    public static void FlushLog()

    XLog.GetNowTime

    public static string GetNowTime(string formatter = null)

    XLog.GetTimestamp

    public static ulong GetTimestamp()

    XLog.Info

    public static void Info(string log)

    XLog.Log

    public static void Log(string log)

    XLog.LogError

    public static void LogError(string log)

    XLog.LogWarning

    public static void LogWarning(string log)

    XLog.Proto

    public static void Proto(string log)

    XLog.Vital

    public static void Vital(string log)

    XLog.Warning

    public static void Warning(string log)

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    YAxis.SetDefaultValue

    public override void SetDefaultValue()
    +直角坐标系 grid 中的 y 轴。

    YAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    YAxis3D.SetDefaultValue

    public override void SetDefaultValue()
    +直角坐标系 grid 中的 y 轴。

    ZAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    ZAxis3D.SetDefaultValue

    public override void SetDefaultValue()
    +直角坐标系 grid 中的 y 轴。

    Was this helpful?
    + + \ No newline at end of file diff --git a/en/docs/bar3d/index.html b/en/docs/bar3d/index.html index 381de39f..897882d1 100644 --- a/en/docs/bar3d/index.html +++ b/en/docs/bar3d/index.html @@ -14,14 +14,18 @@ Bar3DChart 3D柱图 | XCharts - - + +
    Version: v3.12.0

    Bar3DChart 3D柱图

    XCharts的付费扩展图表 - 3D柱图。

    截图

    Bar3D01Bar3D02Bar3D03Bar3D04Bar3D05
    Bar3D07Bar3D08Bar3D09Bar3D10

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-Bar3DChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2023.12.16) 增加Bar3D的更多默认图表快捷方式和API
    • (2023.12.16) 增加Bar3DStyleborderDash是否绘制虚线边框
    • (2023.12.16) 增加Bar3DStyleoccludedAreaBorderDash是否绘制遮挡区域的虚线边框
    • (2023.12.16) 增加Bar3DStyleoccludedAreaBorder是否绘制遮挡区域的边框
    • (2023.12.16) 增加Border边框绘制支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0
    • (2023.02.14) 增加Bar3DStyletopColorbottomColorsideColor参数支持

    v3.5.0

    • (2022.11.29) 增加SeriebarMaxWidth参数支持
    • (2022.11.27) 增加SerieItemStylebackgroundColor参数支持
    • (2022.11.27) 增加SeriecolorBy的支持
    • (2022.11.27) 更新文档

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    v3.1.0

    • (2022.07.14) 发布v3.1.0版本
    • (2022.07.14) 增加bottomColorRate,cylinderRate参数
    • (2022.07.14) 调整topColorBurnRate改名为topColorRate
    • (2022.07.14) 调整sideColorBurnRate改名为sideColorRate
    • (2022.07.14) 调整dire改名为cubeDire
    • (2022.07.14) 支持Cylinder圆柱和Cube立方柱

    API

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie,INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    API版本描述
    AddDefaultSerie()public static Bar3D AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Bar3D ConvertSerie(Serie serie)

    Bar3DChart

    class in XCharts.Runtime.Bar3Ds / 继承自: BaseChart

    API版本描述
    DefaultCylinderChart()public void DefaultCylinderChart(){
    生成默认的圆柱体图。
    DefaultGroupedCubeChart()public void DefaultGroupedCubeChart()
    默认分组3D柱状图。
    DefaultStackedCubeChart()public void DefaultStackedCubeChart()
    默认堆叠分组3D柱状图。

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    配置项手册

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie, INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    参数默认版本描述
    bar3DTypev3.1.0
    Bar3DType:
    - Cube: 立方柱。
    - Cylinder: 圆柱。
    bar3DStyleBar3DStyle

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    verticalArrangefalse是否垂直排列。
    verticalArrangeDireVector3(-1, 1)垂直排列时的方向。
    verticalArrangeGap0.5f垂直排列时两个柱子间的间隙。
    barOffsetVector3.zero柱子偏移。
    widthRate0.5f方形柱侧边宽度相对正面的比例。
    topColorRate0.8f柱子顶部相对正面的颜色比例。
    bottomColorRate1f柱子底部相对正面的颜色比例。
    sideColorRate0.7f方形柱侧边相对正面的颜色比例。
    cubeDireVector3(1, 1)方形柱形成3D效果的方向。
    cylinderRate0.5fv3.1.0圆柱的顶部椭圆比列。
    topColorv3.6.0
    bottomColorv3.6.0
    sideColorv3.6.0
    occludedAreaBorderv3.10.0是否显示遮挡区域的边框。
    occludedAreaBorderDashv3.10.0是否显示遮挡区域的虚线边框。
    borderDashv3.10.0是否显示虚线边框。
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2023.12.16) 增加Bar3D的更多默认图表快捷方式和API
    • (2023.12.16) 增加Bar3DStyleborderDash是否绘制虚线边框
    • (2023.12.16) 增加Bar3DStyleoccludedAreaBorderDash是否绘制遮挡区域的虚线边框
    • (2023.12.16) 增加Bar3DStyleoccludedAreaBorder是否绘制遮挡区域的边框
    • (2023.12.16) 增加Border边框绘制支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0
    • (2023.02.14) 增加Bar3DStyletopColorbottomColorsideColor参数支持

    v3.5.0

    • (2022.11.29) 增加SeriebarMaxWidth参数支持
    • (2022.11.27) 增加SerieItemStylebackgroundColor参数支持
    • (2022.11.27) 增加SeriecolorBy的支持
    • (2022.11.27) 更新文档

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    v3.1.0

    • (2022.07.14) 发布v3.1.0版本
    • (2022.07.14) 增加bottomColorRate,cylinderRate参数
    • (2022.07.14) 调整topColorBurnRate改名为topColorRate
    • (2022.07.14) 调整sideColorBurnRate改名为sideColorRate
    • (2022.07.14) 调整dire改名为cubeDire
    • (2022.07.14) 支持Cylinder圆柱和Cube立方柱

    API

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie,INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    Bar3D.containerIndex

    public int containerIndex

    Bar3D.containterInstanceId

    public int containterInstanceId

    Bar3D.AddDefaultSerie

    public static Bar3D AddDefaultSerie(BaseChart chart, string serieName)

    Bar3D.ConvertSerie

    public static Bar3D ConvertSerie(Serie serie)

    Bar3DChart

    class in XCharts.Runtime.Bar3Ds / 继承自: BaseChart

    Bar3DChart.DefaultCylinderChart()

    public void DefaultCylinderChart()
    +生成默认的圆柱体图。

    Bar3DChart.DefaultCylinderChart

    public void DefaultCylinderChart(){
    +生成默认的圆柱体图。

    Bar3DChart.DefaultGroupedCubeChart

    public void DefaultGroupedCubeChart()
    +默认分组3D柱状图。

    Bar3DChart.DefaultStackedCubeChart

    public void DefaultStackedCubeChart()
    +默认堆叠分组3D柱状图。

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    Bar3DType

    class in XCharts.Runtime.Bar3Ds

    3D柱图类型。分为立方柱和圆柱。

    可选:

    • Cube: 立方柱。
    • Cylinder: 圆柱。

    配置项手册

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie, INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    Bar3D.bar3DStyle

    Bar3DStyle

    Bar3D.bar3DType

    Bar3DType v3.1.0

    可选:

    • Cube: 立方柱。
    • Cylinder: 圆柱。

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    Bar3DStyle.barOffset

    Vector3 Vector3.zero

    柱子偏移。

    Bar3DStyle.borderDash

    bool v3.10.0

    是否显示虚线边框。

    Bar3DStyle.bottomColor

    Color32 v3.6.0

    Bar3DStyle.bottomColorRate

    float 1f

    柱子底部相对正面的颜色比例。

    Bar3DStyle.cubeDire

    Vector3 Vector3(1, 1)

    方形柱形成3D效果的方向。

    Bar3DStyle.cylinderRate

    float 0.5f v3.1.0

    圆柱的顶部椭圆比列。

    Bar3DStyle.occludedAreaBorder

    bool v3.10.0

    是否显示遮挡区域的边框。

    Bar3DStyle.occludedAreaBorderDash

    bool v3.10.0

    是否显示遮挡区域的虚线边框。

    Bar3DStyle.show

    bool true

    Bar3DStyle.sideColor

    Color32 v3.6.0

    Bar3DStyle.sideColorRate

    float 0.7f

    方形柱侧边相对正面的颜色比例。

    Bar3DStyle.topColor

    Color32 v3.6.0

    Bar3DStyle.topColorRate

    float 0.8f

    柱子顶部相对正面的颜色比例。

    Bar3DStyle.verticalArrange

    bool false

    是否垂直排列。

    Bar3DStyle.verticalArrangeDire

    Vector3 Vector3(-1, 1)

    垂直排列时的方向。

    Bar3DStyle.verticalArrangeGap

    float 0.5f

    垂直排列时两个柱子间的间隙。

    Bar3DStyle.widthRate

    float 0.5f

    方形柱侧边宽度相对正面的比例。

    + + \ No newline at end of file diff --git a/en/docs/changelog/index.html b/en/docs/changelog/index.html index c33854c6..35914321 100644 --- a/en/docs/changelog/index.html +++ b/en/docs/changelog/index.html @@ -14,12 +14,13 @@ 更新日志 | XCharts - - + +
    Version: v3.12.0

    更新日志

    master
    +v3.12.0
    v3.11.2
    v3.11.1
    v3.11.0
    @@ -86,8 +87,8 @@ v0.8.1
    v0.8.0
    v0.5.0
    -v0.1.0

    master

    v3.11.2

    • (2024.08.01) 发布v3.11.2版本
    • (2024.07.29) 修复Tooltip在微信小游戏平台上报错的兼容问题 (#326)
    • (2024.07.27) 调整AxisAxisName的默认位置
    • (2024.07.22) 优化PieLabelTooltip触发时的表现
    • (2024.07.21) 修复Tooltip在开启DataZoom时指示内容不准确的问题
    • (2024.07.17) 修复MarkLineLabel在初始化时可能会闪烁的问题
    • (2024.07.16) 优化AxisTime时间轴时的Tooltip默认效果
    • (2024.07.15) 优化AxisTime时间轴时的分割效果
    • (2024.07.14) 优化AxisTime时间轴时的移动表现
    • (2024.07.12) 优化Label的初始化显示效果
    • (2024.07.06) 修复Chart在动态创建时背景没有自适应的问题 (#323)

    v3.11.1

    • (2024.07.01) 发布v3.11.1版本
    • (2024.07.01) 修复Serie有多个时颜色异常的问题
    • (2024.06.23) 修复Label在初始化时会堆积的问题

    v3.11.0

    版本要点:

    • 增加Line3DChart3D折线图
    • 增加GraphChart关系图
    • 增加3D坐标系支持
    • 增加TooltiptriggerOn设置触发条件
    • 其他问题修复和优化

    日志详情:

    • (2024.06.16) 发布v3.11.0版本
    • (2024.06.15) 增加EditorData的添加、删除、上下移动操作按钮
    • (2024.06.11) 修复AxisIndicatorLabel可能会遮挡住Tooltip的问题
    • (2024.06.11) 修复TooltipCrossAxisIndicatorLabel可能不显示的问题 (#315)
    • (2024.06.10) 调整TooltipCorss重命名为Cross
    • (2024.06.09) 增加AxisminCategorySpacing设置类目轴默认的最小类目间距
    • (2024.06.09) 修复TooltipCrossAxis是类目轴并且开启DataZoom的情况下指示位置不准确的问题
    • (2024.06.06) 修复SerieClone时动画异常问题 (#320)
    • (2024.06.04) 修复Seriestate在代码动态设置时不刷新的问题
    • (2024.05.29) 调整XChartsHierarchy视图下的右键菜单到UI/XCharts
    • (2024.05.29) 增加3D坐标系对类目轴的支持
    • (2024.05.19) 优化Editor下的编辑性能
    • (2024.05.09) 增加JsonUtil工具类
    • (2024.05.01) 修复Tooltip每帧产生GC的问题 (#311) (by @stefanbursuc)
    • (2024.04.23) 修复ConvertXYAxis()多次调用后图表异常的问题
    • (2024.04.22) 修复DataZoom控制多个轴时的GridCoord获取可能不正确的问题 (#317)
    • (2024.04.22) 增加3D坐标系
    • (2024.04.15) 优化DateTimeUtil时间戳转DateTime接口时区的问题
    • (2024.04.15) 优化GridCoord在开启GridLayout时也显示Left Right Top Bottom参数 (#316)
    • (2024.04.14) 修复TooltipCross在开启DataZoom的情况下label位置不正确的问题 (#315)
    • (2024.04.12) 修复Candlesticks效果不对的问题 (#313)
    • (2024.03.20) 增加TooltiptriggerOn设置触发条件
    • (2024.03.19) 修复Pie在设置ItemStyleopacity时颜色不对的问题 (#309)

    v3.10.2

    • (2024.03.11) 发布v3.10.2版本
    • (2024.03.11) 修复Legendformatter在设置{d}通配符时显示可能不匹配的问题 (#304)
    • (2024.03.11) 修复Tooltip移出坐标系后还显示的问题
    • (2024.03.08) 修复Tooltiptitle从旧版本升级后可能不显示的问题

    v3.10.1

    • (2024.02.21) 发布v3.10.1版本
    • (2024.02.19) 修复Tooltip的圆点标记不会自适应颜色的问题

    v3.10.0

    版本要点:

    • 增加双类目轴支持
    • 增加更多细分快捷菜单创建图表,可一键创建几十种图表
    • 增加图表边框设置,支持圆角图表
    • 修复若干问题

    扩展功能:

    • 增加SankeyChart桑基图
    • 增加UITable的边框设置

    日志详情:

    • (2024.02.01) 发布v3.10.0版本
    • (2024.01.31) 修复Tooltip在设置itemFormatter-后整个不显示的问题
    • (2024.01.27) 修复TextLimit在开启TextMeshPro后无效的问题 (#301)
    • (2024.01.24) 增加Bar支持X轴和Y轴都为Category类目轴
    • (2024.01.23) 增加{y}通配符用于获取Y轴的类目名
    • (2024.01.23) 增加Line支持X轴和Y轴都为Category类目轴
    • (2024.01.18) 修复Animationtype代码动态修改无效的问题
    • (2024.01.13) 增加Chart的更多快捷创建图表菜单
    • (2024.01.09) 增加BackgroundborderStyle,给图表默认设置圆角
    • (2024.01.07) 修复Tooltop的第一个ContentLabelStyle设置color无效的问题
    • (2024.01.01) 增加BorderStyle边框样式
    • (2023.12.26) 增加HeatmapmaxCache参数支持
    • (2023.12.25) 优化Line开启clip时绘制的顶点数
    • (2023.12.22) 修复Scatter散点图部分边界数据不显示的问题
    • (2023.12.21) 修复TriggerTooltip()接口在指定0或最大index时可能无法触发的问题
    • (2023.12.19) 修复LegendLabelStyle设置formatter后不生效的问题
    • (2023.12.12) 增加LegendTextLimit可限制图例显示文本的长度
    • (2023.12.11) 修复Serie添加double.MaxValue时坐标绘制失败的问题
    • (2023.12.10) 增加SerieminShowLabel可隐藏小于指定值的label
    • (2023.12.09) 增加LevelStyledepth指定所属层次
    • (2023.12.09) 增加LevelStyleLineStyle设置线条样式
    • (2023.12.09) 增加SerieLink可用于桑基图添加节点边关系
    • (2023.12.05) 增加ResetChartStatus()可主动重置图表状态

    v3.9.0

    版本要点:

    • 增加AxisAnimation,完善数据变更动画效果
    • 增加Axis的对数轴子刻度的支持
    • 增加MarkLineonTop设置是否显示在最上层
    • 完善代码注释和手册文档
    • 修复若干问题

    扩展功能:

    • UITable增加轮播功能
    • UITable增加数据操作接口和回调函数
    • Pie3DChart优化绘制表现

    日志详情:

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 修复TooltiptitleFormatter设置为{b}后显示不准确的问题
    • (2023.11.30) 增加SerieData可单独添加Label的支持
    • (2023.11.28) 修复Tooltip在对数轴时指示不准确的问题
    • (2023.11.24) 修复ChartUpdateData()接口返回值不准确的问题
    • (2023.11.24) 修复Axis的更新数据时效果不顺畅的问题
    • (2023.11.23) 增加AxisAnimation支持动画效果
    • (2023.11.16) 取消Legendformatter,用LabelStyle的代替
    • (2023.11.14) 完善LabelStyleformatter的注释和文档(#291)
    • (2023.11.11) 修复Documentation部分注释生成文档不完整的问题 (#290)
    • (2023.11.11) 修复Legendformatter在数据变更时没有自动刷新的问题
    • (2023.11.05) 修复SerieEventDatavalue一直是0的问题 (#287)
    • (2023.11.03) 修复Bar设置渐变色时鼠标移出效果异常的问题 (#285)
    • (2023.11.02) 优化SerieData设置ignoreformatter的忽略问题
    • (2023.11.01) 增加MarkLineonTop设置是否显示在最上层
    • (2023.10.21) 修复Pie有0数据时Label的位置异常的问题
    • (2023.10.21) 增加Axis的对数轴支持子刻度
    • (2023.10.19) 修复Pie设置玫瑰图时引导线异常的问题
    • (2023.10.15) 修复Line设置AnimationAlongPath时动画异常的问题 (#281)
    • (2023.10.12) 修复MarkLine指定yValue时对数值轴无效的问题
    • (2023.10.11) 修复SerieshowDataDimension设置无效的问题

    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) 增加PieradiusGradient可设置半径方向的渐变效果
    • (2023.09.05) 优化LabelLinelineEndXPie中的表现
    • (2023.09.05) 修复TriggerTooltip()接口对Ring无效的问题
    • (2023.09.05) 修复Radar数据全为0时绘制报错的问题

    v3.8.0

    版本要点:

    • 重构Animation动画系统,增加新增动画交互动画的支持
    • 完善PieChart的动画交互表现
    • 增加SymbolEmptyTriangleEmptyDiamondPlusMinus四种新标记
    • 完善Chart的鼠标交互回调
    • 增加LabelLine可固定横坐标的功能
    • 增加GridLayout网格布局组件
    • 增加TooltipAuto类型
    • 优化和修复若干其他问题

    日志详情:

    • (2023.09.03) 发布v3.8.0版本
    • (2023.09.01) 增加TooltipAuto自动设置显示类型和触发类型
    • (2023.08.29) 增加RinggridIndex支持设置指定网格
    • (2023.08.29) 增加RadargridIndex支持设置指定网格
    • (2023.08.29) 增加PiegridIndex支持设置指定网格
    • (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) 修复YAxisLabel可能会重复的问题
    • (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本地开启TextMeshProNewInputSystem后更新版本会报错的问题 (#272)
    • (2023.08.12) 修复Chart在运行时被删除时会异常报错的问题 (#269)
    • (2023.08.11) 修复DataZoom开启时可能会导致无法添加数据的问题
    • (2023.08.11) 修复SerieData单独设置ItemStyleitemFormatter不生效的问题
    • (2023.08.10) 优化BarChartTooltipTriggerItem时的表现
    • (2023.08.09) 增加Axis可通过设置IconStylecolorclear来实现动态图标颜色的支持
    • (2023.08.08) 增加PieLabelLinelineEndX的支持
    • (2023.08.05) 整理Examples的代码,删除不必要的用例
    • (2023.08.04) 增加LabelLinelineEndX可设置引导线固定X位置的支持
    • (2023.08.04) 增加RingavoidLabelOverlap避免文本堆叠的支持 (#247)
    • (2023.08.03) 完善ChartonSerieEnteronSerieExitonSerieClick回调
    • (2023.08.02) 修复BarChartonSerieEnteronSerieExit回调无效的问题
    • (2023.08.02) 增加SymbolPlus加号和Minus减号的支持
    • (2023.07.31) 增加SymbolEmptyTriangleEmptyDiamond的支持,优化Symbol表现效果
    • (2023.07.31) 优化Line的默认配置效果
    • (2023.07.27) 增加SerieminRadius可设置最小半径
    • (2023.07.26) 增加MLValue多样式数值
    • (2023.07.25) 增加XLog日志系统
    • (2023.07.18) 完善Pie饼图的交互动画效果
    • (2023.07.14) 增加AnimationInteraction交互动画配置支持
    • (2023.07.11) 增加AnimationAddition新增动画配置支持
    • (2023.07.11) 重构Animation动画系统,完善动画体验
    • (2023.06.30) 增加PolarCoodindicatorLabelOffset设置指示文本偏移的支持
    • (2023.06.30) 修复AxisIndicatorLabel的背景颜色可能不正常的问题
    • (2023.06.30) 增加AxisIndicatorLabel可自定义color的支持
    • (2023.06.12) 修复AxisLabelformatterFunction在数值轴时value不对的问题

    v3.7.0

    版本要点:

    • 增加HelpDoc官网帮助文档跳转
    • 增加LineClip的支持
    • 优化Axis的范围设置
    • 其他优化和修复

    日志详情:

    • (2023.06.08) 发布v3.7.0版本
    • (2023.06.04) 增加HelpDoc帮助文档跳转
    • (2023.05.30) 修复Serie的名字带_线导致Legend无法触发的问题 (#259) (by @svr2kos2)
    • (2023.05.10) 增加AxisMinMaxAuto范围类型
    • (2023.05.10) 增加LineClip的支持
    • (2023.05.04) 优化Axis在-1到1范围时设置CeilRate不生效的问题
    • (2023.05.04) 优化AxisMinMax类型范围计算
    • (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) 增加BaseChartTriggerTooltip()接口尝试触发ToolTip
    • (2023.04.12) 优化RadarCood设置startAngle时文本也跟随调整位置
    • (2023.04.12) 增加Radar对通配符{b}的支持
    • (2023.04.11) 修复Inspector在动态添加组件时可能异常的问题

    v3.6.0

    版本要点:

    • 增加InputSystem支持 (by @Bian-Sh)
    • 增加官网在线示例多版本支持 (by @SHL-COOL)
    • 完善对VR的支持 (by @Ambitroc)
    • 增加UITableUIStatistic扩展UI组件
    • 增加ItemStyleMarkColor
    • 增加通配符{h}的支持
    • 优化TooltipLegendDataZoomAxis等组件
    • 重构相关API接口,完善回调接口
    • 修复若干问题

    升级注意:

    • 部分接口有调整,可根据提示更换下接口即可。

    日志详情:

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.14) 修复TooltiptitleFormater设置{b}可能不生效的问题
    • (2023.03.14) 修复BarChart在数据为0时不绘制柱条背景的问题 (#250) (by @Ambitroc)
    • (2023.03.12) 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转
    • (2023.03.10) 增加VR等其他非鼠标输入方式的Point位置获取 (#248) (by @Ambitroc)
    • (2023.03.09) 增加ChartonSerieClickonSerieDownonSerieEnteronSerieExit回调
    • (2023.03.09) 修复Pie的点击选中偏移不生效的问题
    • (2023.03.04) 增加LegendPositions可自定义图例的位置
    • (2023.03.03) 修复Animation变更动画可能无效的问题
    • (2023.02.28) 修复Legend点击时SerieLabel不刷新的问题
    • (2023.02.26) 增加DataZoomstartEndFunction委托
    • (2023.02.12) 重构Component相关代码,调整API接口
    • (2023.02.10) 修复AxisLog轴时某些情况下最小值不正确的问题
    • (2023.02.10) 优化Axis的数值Label的默认显示格式
    • (2023.02.08) 增加DataZoomstartLockendLock参数支持锁定
    • (2023.02.02) 修复DataZoom开启时X轴Label可能会显示在图表外的问题
    • (2023.02.02) 优化SerieDataignore设置时的忽略数据判断
    • (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) 删除SerieMarkColor,增加ItemStyleMarkColor
    • (2022.12.29) 增加EditorList+添加编辑功能
    • (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) 修复AxisValue轴在某些情况下计算数值范围不准确的问题
    • (2022.12.12) 优化Legendformatter支持{h}通配符
    • (2022.12.12) 修复Legendformatter设置为固定值时显示不正常的问题
    • (2022.12.08) 增加AreaStyletoTop参数可设置折线图渐变色是到顶部还是到实际位置
    • (2022.12.07) 增加Formatter的文本通配符{h}支持设置当前颜色值

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Convert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    - - +v0.1.0

    master

    v3.12.0

    版本要点:

    • 增加RingradiusGradient参数设置渐变方向
    • 增加numericFormatterdatetime的支持
    • 完善AreaStyleorigin参数设置区域填充起始位置
    • 调整和完善文档
    • 其他优化和修复

    日志详情:

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.27) 完善5分钟教程
    • (2024.09.24) 完善Legendformatter对多Serie的支持 (#332)
    • (2024.09.22) 调整Documentation文档显示样式
    • (2024.09.09) 增加numericFormatterdatetime的支持
    • (2024.09.03) 完善AreaStyleorigin参数设置区域填充起始位置
    • (2024.09.01) 增加RingradiusGradient参数设置渐变方向
    • (2024.09.01) 优化Axis为时间轴时首个Label的位置

    v3.11.2

    • (2024.08.01) 发布v3.11.2版本
    • (2024.07.29) 修复Tooltip在微信小游戏平台上报错的兼容问题 (#326)
    • (2024.07.27) 调整AxisAxisName的默认位置
    • (2024.07.22) 优化PieLabelTooltip触发时的表现
    • (2024.07.21) 修复Tooltip在开启DataZoom时指示内容不准确的问题
    • (2024.07.17) 修复MarkLineLabel在初始化时可能会闪烁的问题
    • (2024.07.16) 优化AxisTime时间轴时的Tooltip默认效果
    • (2024.07.15) 优化AxisTime时间轴时的分割效果
    • (2024.07.14) 优化AxisTime时间轴时的移动表现
    • (2024.07.12) 优化Label的初始化显示效果
    • (2024.07.06) 修复Chart在动态创建时背景没有自适应的问题 (#323)

    v3.11.1

    • (2024.07.01) 发布v3.11.1版本
    • (2024.07.01) 修复Serie有多个时颜色异常的问题
    • (2024.06.23) 修复Label在初始化时会堆积的问题

    v3.11.0

    版本要点:

    • 增加Line3DChart3D折线图
    • 增加GraphChart关系图
    • 增加3D坐标系支持
    • 增加TooltiptriggerOn设置触发条件
    • 其他问题修复和优化

    日志详情:

    • (2024.06.16) 发布v3.11.0版本
    • (2024.06.15) 增加EditorData的添加、删除、上下移动操作按钮
    • (2024.06.11) 修复AxisIndicatorLabel可能会遮挡住Tooltip的问题
    • (2024.06.11) 修复TooltipCrossAxisIndicatorLabel可能不显示的问题 (#315)
    • (2024.06.10) 调整TooltipCorss重命名为Cross
    • (2024.06.09) 增加AxisminCategorySpacing设置类目轴默认的最小类目间距
    • (2024.06.09) 修复TooltipCrossAxis是类目轴并且开启DataZoom的情况下指示位置不准确的问题
    • (2024.06.06) 修复SerieClone时动画异常问题 (#320)
    • (2024.06.04) 修复Seriestate在代码动态设置时不刷新的问题
    • (2024.05.29) 调整XChartsHierarchy视图下的右键菜单到UI/XCharts
    • (2024.05.29) 增加3D坐标系对类目轴的支持
    • (2024.05.19) 优化Editor下的编辑性能
    • (2024.05.09) 增加JsonUtil工具类
    • (2024.05.01) 修复Tooltip每帧产生GC的问题 (#311) (by @stefanbursuc)
    • (2024.04.23) 修复ConvertXYAxis()多次调用后图表异常的问题
    • (2024.04.22) 修复DataZoom控制多个轴时的GridCoord获取可能不正确的问题 (#317)
    • (2024.04.22) 增加3D坐标系
    • (2024.04.15) 优化DateTimeUtil时间戳转DateTime接口时区的问题
    • (2024.04.15) 优化GridCoord在开启GridLayout时也显示Left Right Top Bottom参数 (#316)
    • (2024.04.14) 修复TooltipCross在开启DataZoom的情况下label位置不正确的问题 (#315)
    • (2024.04.12) 修复Candlesticks效果不对的问题 (#313)
    • (2024.03.20) 增加TooltiptriggerOn设置触发条件
    • (2024.03.19) 修复Pie在设置ItemStyleopacity时颜色不对的问题 (#309)

    v3.10.2

    • (2024.03.11) 发布v3.10.2版本
    • (2024.03.11) 修复Legendformatter在设置{d}通配符时显示可能不匹配的问题 (#304)
    • (2024.03.11) 修复Tooltip移出坐标系后还显示的问题
    • (2024.03.08) 修复Tooltiptitle从旧版本升级后可能不显示的问题

    v3.10.1

    • (2024.02.21) 发布v3.10.1版本
    • (2024.02.19) 修复Tooltip的圆点标记不会自适应颜色的问题

    v3.10.0

    版本要点:

    • 增加双类目轴支持
    • 增加更多细分快捷菜单创建图表,可一键创建几十种图表
    • 增加图表边框设置,支持圆角图表
    • 修复若干问题

    扩展功能:

    • 增加SankeyChart桑基图
    • 增加UITable的边框设置

    日志详情:

    • (2024.02.01) 发布v3.10.0版本
    • (2024.01.31) 修复Tooltip在设置itemFormatter-后整个不显示的问题
    • (2024.01.27) 修复TextLimit在开启TextMeshPro后无效的问题 (#301)
    • (2024.01.24) 增加Bar支持X轴和Y轴都为Category类目轴
    • (2024.01.23) 增加{y}通配符用于获取Y轴的类目名
    • (2024.01.23) 增加Line支持X轴和Y轴都为Category类目轴
    • (2024.01.18) 修复Animationtype代码动态修改无效的问题
    • (2024.01.13) 增加Chart的更多快捷创建图表菜单
    • (2024.01.09) 增加BackgroundborderStyle,给图表默认设置圆角
    • (2024.01.07) 修复Tooltop的第一个ContentLabelStyle设置color无效的问题
    • (2024.01.01) 增加BorderStyle边框样式
    • (2023.12.26) 增加HeatmapmaxCache参数支持
    • (2023.12.25) 优化Line开启clip时绘制的顶点数
    • (2023.12.22) 修复Scatter散点图部分边界数据不显示的问题
    • (2023.12.21) 修复TriggerTooltip()接口在指定0或最大index时可能无法触发的问题
    • (2023.12.19) 修复LegendLabelStyle设置formatter后不生效的问题
    • (2023.12.12) 增加LegendTextLimit可限制图例显示文本的长度
    • (2023.12.11) 修复Serie添加double.MaxValue时坐标绘制失败的问题
    • (2023.12.10) 增加SerieminShowLabel可隐藏小于指定值的label
    • (2023.12.09) 增加LevelStyledepth指定所属层次
    • (2023.12.09) 增加LevelStyleLineStyle设置线条样式
    • (2023.12.09) 增加SerieLink可用于桑基图添加节点边关系
    • (2023.12.05) 增加ResetChartStatus()可主动重置图表状态

    v3.9.0

    版本要点:

    • 增加AxisAnimation,完善数据变更动画效果
    • 增加Axis的对数轴子刻度的支持
    • 增加MarkLineonTop设置是否显示在最上层
    • 完善代码注释和手册文档
    • 修复若干问题

    扩展功能:

    • UITable增加轮播功能
    • UITable增加数据操作接口和回调函数
    • Pie3DChart优化绘制表现

    日志详情:

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 修复TooltiptitleFormatter设置为{b}后显示不准确的问题
    • (2023.11.30) 增加SerieData可单独添加Label的支持
    • (2023.11.28) 修复Tooltip在对数轴时指示不准确的问题
    • (2023.11.24) 修复ChartUpdateData()接口返回值不准确的问题
    • (2023.11.24) 修复Axis的更新数据时效果不顺畅的问题
    • (2023.11.23) 增加AxisAnimation支持动画效果
    • (2023.11.16) 取消Legendformatter,用LabelStyle的代替
    • (2023.11.14) 完善LabelStyleformatter的注释和文档(#291)
    • (2023.11.11) 修复Documentation部分注释生成文档不完整的问题 (#290)
    • (2023.11.11) 修复Legendformatter在数据变更时没有自动刷新的问题
    • (2023.11.05) 修复SerieEventDatavalue一直是0的问题 (#287)
    • (2023.11.03) 修复Bar设置渐变色时鼠标移出效果异常的问题 (#285)
    • (2023.11.02) 优化SerieData设置ignoreformatter的忽略问题
    • (2023.11.01) 增加MarkLineonTop设置是否显示在最上层
    • (2023.10.21) 修复Pie有0数据时Label的位置异常的问题
    • (2023.10.21) 增加Axis的对数轴支持子刻度
    • (2023.10.19) 修复Pie设置玫瑰图时引导线异常的问题
    • (2023.10.15) 修复Line设置AnimationAlongPath时动画异常的问题 (#281)
    • (2023.10.12) 修复MarkLine指定yValue时对数值轴无效的问题
    • (2023.10.11) 修复SerieshowDataDimension设置无效的问题

    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) 增加PieradiusGradient可设置半径方向的渐变效果
    • (2023.09.05) 优化LabelLinelineEndXPie中的表现
    • (2023.09.05) 修复TriggerTooltip()接口对Ring无效的问题
    • (2023.09.05) 修复Radar数据全为0时绘制报错的问题

    v3.8.0

    版本要点:

    • 重构Animation动画系统,增加新增动画交互动画的支持
    • 完善PieChart的动画交互表现
    • 增加SymbolEmptyTriangleEmptyDiamondPlusMinus四种新标记
    • 完善Chart的鼠标交互回调
    • 增加LabelLine可固定横坐标的功能
    • 增加GridLayout网格布局组件
    • 增加TooltipAuto类型
    • 优化和修复若干其他问题

    日志详情:

    • (2023.09.03) 发布v3.8.0版本
    • (2023.09.01) 增加TooltipAuto自动设置显示类型和触发类型
    • (2023.08.29) 增加RinggridIndex支持设置指定网格
    • (2023.08.29) 增加RadargridIndex支持设置指定网格
    • (2023.08.29) 增加PiegridIndex支持设置指定网格
    • (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) 修复YAxisLabel可能会重复的问题
    • (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本地开启TextMeshProNewInputSystem后更新版本会报错的问题 (#272)
    • (2023.08.12) 修复Chart在运行时被删除时会异常报错的问题 (#269)
    • (2023.08.11) 修复DataZoom开启时可能会导致无法添加数据的问题
    • (2023.08.11) 修复SerieData单独设置ItemStyleitemFormatter不生效的问题
    • (2023.08.10) 优化BarChartTooltipTriggerItem时的表现
    • (2023.08.09) 增加Axis可通过设置IconStylecolorclear来实现动态图标颜色的支持
    • (2023.08.08) 增加PieLabelLinelineEndX的支持
    • (2023.08.05) 整理Examples的代码,删除不必要的用例
    • (2023.08.04) 增加LabelLinelineEndX可设置引导线固定X位置的支持
    • (2023.08.04) 增加RingavoidLabelOverlap避免文本堆叠的支持 (#247)
    • (2023.08.03) 完善ChartonSerieEnteronSerieExitonSerieClick回调
    • (2023.08.02) 修复BarChartonSerieEnteronSerieExit回调无效的问题
    • (2023.08.02) 增加SymbolPlus加号和Minus减号的支持
    • (2023.07.31) 增加SymbolEmptyTriangleEmptyDiamond的支持,优化Symbol表现效果
    • (2023.07.31) 优化Line的默认配置效果
    • (2023.07.27) 增加SerieminRadius可设置最小半径
    • (2023.07.26) 增加MLValue多样式数值
    • (2023.07.25) 增加XLog日志系统
    • (2023.07.18) 完善Pie饼图的交互动画效果
    • (2023.07.14) 增加AnimationInteraction交互动画配置支持
    • (2023.07.11) 增加AnimationAddition新增动画配置支持
    • (2023.07.11) 重构Animation动画系统,完善动画体验
    • (2023.06.30) 增加PolarCoodindicatorLabelOffset设置指示文本偏移的支持
    • (2023.06.30) 修复AxisIndicatorLabel的背景颜色可能不正常的问题
    • (2023.06.30) 增加AxisIndicatorLabel可自定义color的支持
    • (2023.06.12) 修复AxisLabelformatterFunction在数值轴时value不对的问题

    v3.7.0

    版本要点:

    • 增加HelpDoc官网帮助文档跳转
    • 增加LineClip的支持
    • 优化Axis的范围设置
    • 其他优化和修复

    日志详情:

    • (2023.06.08) 发布v3.7.0版本
    • (2023.06.04) 增加HelpDoc帮助文档跳转
    • (2023.05.30) 修复Serie的名字带_线导致Legend无法触发的问题 (#259) (by @svr2kos2)
    • (2023.05.10) 增加AxisMinMaxAuto范围类型
    • (2023.05.10) 增加LineClip的支持
    • (2023.05.04) 优化Axis在-1到1范围时设置CeilRate不生效的问题
    • (2023.05.04) 优化AxisMinMax类型范围计算
    • (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) 增加BaseChartTriggerTooltip()接口尝试触发ToolTip
    • (2023.04.12) 优化RadarCood设置startAngle时文本也跟随调整位置
    • (2023.04.12) 增加Radar对通配符{b}的支持
    • (2023.04.11) 修复Inspector在动态添加组件时可能异常的问题

    v3.6.0

    版本要点:

    • 增加InputSystem支持 (by @Bian-Sh)
    • 增加官网在线示例多版本支持 (by @SHL-COOL)
    • 完善对VR的支持 (by @Ambitroc)
    • 增加UITableUIStatistic扩展UI组件
    • 增加ItemStyleMarkColor
    • 增加通配符{h}的支持
    • 优化TooltipLegendDataZoomAxis等组件
    • 重构相关API接口,完善回调接口
    • 修复若干问题

    升级注意:

    • 部分接口有调整,可根据提示更换下接口即可。

    日志详情:

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.14) 修复TooltiptitleFormater设置{b}可能不生效的问题
    • (2023.03.14) 修复BarChart在数据为0时不绘制柱条背景的问题 (#250) (by @Ambitroc)
    • (2023.03.12) 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转
    • (2023.03.10) 增加VR等其他非鼠标输入方式的Point位置获取 (#248) (by @Ambitroc)
    • (2023.03.09) 增加ChartonSerieClickonSerieDownonSerieEnteronSerieExit回调
    • (2023.03.09) 修复Pie的点击选中偏移不生效的问题
    • (2023.03.04) 增加LegendPositions可自定义图例的位置
    • (2023.03.03) 修复Animation变更动画可能无效的问题
    • (2023.02.28) 修复Legend点击时SerieLabel不刷新的问题
    • (2023.02.26) 增加DataZoomstartEndFunction委托
    • (2023.02.12) 重构Component相关代码,调整API接口
    • (2023.02.10) 修复AxisLog轴时某些情况下最小值不正确的问题
    • (2023.02.10) 优化Axis的数值Label的默认显示格式
    • (2023.02.08) 增加DataZoomstartLockendLock参数支持锁定
    • (2023.02.02) 修复DataZoom开启时X轴Label可能会显示在图表外的问题
    • (2023.02.02) 优化SerieDataignore设置时的忽略数据判断
    • (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) 删除SerieMarkColor,增加ItemStyleMarkColor
    • (2022.12.29) 增加EditorList+添加编辑功能
    • (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) 修复AxisValue轴在某些情况下计算数值范围不准确的问题
    • (2022.12.12) 优化Legendformatter支持{h}通配符
    • (2022.12.12) 修复Legendformatter设置为固定值时显示不正常的问题
    • (2022.12.08) 增加AreaStyletoTop参数可设置折线图渐变色是到顶部还是到实际位置
    • (2022.12.07) 增加Formatter的文本通配符{h}支持设置当前颜色值

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Convert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    + + \ No newline at end of file diff --git a/en/docs/configuration/index.html b/en/docs/configuration/index.html index 776f5cc9..47a07191 100644 --- a/en/docs/configuration/index.html +++ b/en/docs/configuration/index.html @@ -14,13 +14,13 @@ 配置项手册 | XCharts - - + +
    -
    Version: v3.12.0

    配置项手册

    Serie 系列

    Theme 主题

    MainComponent 主组件

    ChildComponent 子组件

    ISerieComponent 可添加到Serie的组件

    ISerieDataComponent 可添加到SerieData的组件

    Other 其他

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    参数默认版本描述
    startAngle0起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn, AnimationFadeOut, AnimationChange, AnimationAddition, AnimationHiding, AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    参数默认版本描述
    enabletruev3.8.0是否开启动画效果。
    reversefalsev3.8.0是否开启反向动画效果。
    delay0v3.8.0动画开始前的延迟时间。
    duration1000v3.8.0动画的时长。

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    参数默认版本描述
    widthv3.8.0宽度的多样式数值。 MLValue
    radiusv3.8.0半径的多样式数值。 MLValue
    offsetv3.8.0交互的多样式数值。如饼图的扇形选中时的偏移。 MLValue

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    参数默认版本描述
    enabletrue是否开启动画效果。
    type动画类型。
    AnimationType:
    - Default: 默认。内部会根据实际情况选择一种动画播放方式。
    - LeftToRight: 从左往右播放动画。
    - BottomToTop: 从下往上播放动画。
    - InsideOut: 由内到外播放动画。
    - AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    - Clockwise: 顺时针播放动画。
    easting
    AnimationEasing:
    - Linear:
    threshold2000是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
    unscaledTimev3.4.0动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。
    fadeInv3.8.0渐入动画配置。 AnimationFadeIn
    fadeOutv3.8.0渐出动画配置。 AnimationFadeOut
    changev3.8.0数据变更动画配置。 AnimationChange
    additionv3.8.0数据新增动画配置。 AnimationAddition
    hidingv3.8.0数据隐藏动画配置。 AnimationHiding
    interactionv3.8.0交互动画配置。 AnimationInteraction

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    区域填充样式。

    参数默认版本描述
    showtrue是否显示区域填充。
    origin区域填充的起始位置。
    AreaStyle.AreaOrigin:
    - Auto: 填充坐标轴轴线到数据间的区域。
    - Start: 填充坐标轴底部到数据间的区域。
    - End: 填充坐标轴顶部到数据间的区域。
    color区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。
    toColor渐变色的终点颜色。
    opacity0.6f图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    innerFillv3.2.0是否只填充多边形区域。目前只支持凸多边形。
    toToptruev3.6.0渐变色是到顶部还是到实际位置。默认为true到顶部。

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    width10箭头宽。
    height15箭头高。
    offset0箭头偏移。
    dent3箭头的凹度。
    colorColor.clear箭头颜色。

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis, ParallelAxis, RadiusAxis, SingleAxis, XAxis, XAxis3D, YAxis, YAxis3D, ZAxis3D

    直角坐标系的坐标轴组件。

    参数默认版本描述
    showtrue是否显示坐标轴。
    type坐标轴类型。
    Axis.AxisType:
    - Value: 数值轴。适用于连续数据。
    - Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    - Log: 对数轴。适用于对数数据。
    - Time: 时间轴。适用于连续的时序数据。
    minMaxType坐标轴刻度最大最小值显示类型。
    Axis.AxisMinMaxType:
    - Default: 0-最大值。
    - MinMax: 最小值-最大值。
    - Custom: 自定义最小值最大值。
    - MinMaxAuto: [since("v3.7.0")]最小值-最大值。自动计算合适的值。
    gridIndex坐标轴所在的 grid 的索引,默认位于第一个 grid。
    polarIndex坐标轴所在的 ploar 的索引,默认位于第一个 polar。
    parallelIndex坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
    position坐标轴在Grid中的位置。
    Axis.AxisPosition:
    - Left: 坐标轴在Grid中的位置
    - Right: 坐标轴在Grid中的位置
    - Bottom: 坐标轴在Grid中的位置
    - Top: 坐标轴在Grid中的位置
    - Center: 坐标轴在Grid中的位置
    offset坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
    min设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
    max设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
    splitNumber0坐标轴的期望的分割段数。默认为0表示自动分割。
    interval0强制设置坐标轴分割间隔。无法在类目轴中使用。
    boundaryGaptrue坐标轴两边是否留白。只对类目轴有效。
    maxCache0The first data will be remove when the size of axis data is larger then maxCache.
    logBase10对数轴的底数,只在对数轴(type:'Log')中有效。
    logBaseEfalse对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    inversefalse是否反向坐标轴。在类目轴中无效。
    clockwisetrue刻度增长是否按顺时针,默认顺时针。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    minCategorySpacing0v3.11.0类目之间的最小间距。
    icons类目数据对应的图标。
    data类目数据,在类目轴(type: 'category')中有效。
    axisLine坐标轴轴线。 AxisLine
    axisName坐标轴名称。 AxisName
    axisTick坐标轴刻度。 AxisTick
    axisLabel坐标轴刻度标签。 AxisLabel
    splitLine坐标轴分割线。 AxisSplitLine
    splitArea坐标轴分割区域。 AxisSplitArea
    animation坐标轴动画。 AxisAnimation
    minorTickv3.2.0坐标轴次刻度。 AxisMinorTick
    minorSplitLinev3.2.0坐标轴次分割线。 AxisMinorSplitLine
    indicatorLabelv3.4.0指示器文本的样式。Tooltip为Cross时使用。 LabelStyle

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    参数默认版本描述
    showtrue是否开启动画。
    duration动画时长(ms)。 默认设置为0时,会自动获取serie的动画时长。
    unscaledTime动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    参数默认版本描述
    interval0坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    insidefalse刻度标签是否朝内,默认朝外。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。
    onZerofalse刻度标签显示在0刻度上。
    showStartLabeltrue是否显示第一个文本。
    showEndLabeltrue是否显示最后一个文本。
    textLimit文本限制。 TextLimit

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    参数默认版本描述
    onZeroX 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。
    showArrow是否显示箭头。
    arrow轴线箭头。 ArrowStyle

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    参数默认版本描述
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    参数默认版本描述
    splitNumber5分隔线之间分割的刻度数。
    autoColor

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    参数默认版本描述
    show是否显示坐标轴名称。
    name坐标轴名称。
    onZerov3.1.0坐标轴名称的位置是否保持和Y轴0刻度一致。
    labelStyle文本样式。 LabelStyle

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    参数默认版本描述
    show是否显示分隔区域。
    color分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    参数默认版本描述
    interval坐标轴分隔线的显示间隔。
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。
    showStartLinetruev3.3.0是否显示第一条分割线。
    showEndLinetruev3.3.0是否显示最后一条分割线。
    showZLinetruev3.11.0是否显示Z轴部分分割线。一般用于3D坐标系。

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    参数默认版本描述
    alignWithLabel类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。
    inside坐标轴刻度是否朝内,默认朝外。
    showStartTick是否显示第一个刻度。
    showEndTick是否显示最后一个刻度。
    distance刻度线与轴线的距离。
    splitNumber0分隔线之间分割的刻度数。
    autoColor

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    参数默认版本描述
    showtrue是否启用背景组件。
    image背景图。
    imageType背景图填充类型。
    imageColor背景图颜色。
    imageWidth0v3.10.0背景图宽度。
    imageHeight0v3.10.0背景图高度。
    autoColortrue当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。
    borderStylev3.10.0背景边框样式。 BorderStyle

    Bar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme, RadiusAxisTheme, AngleAxisTheme, PolarAxisTheme, RadarAxisTheme

    参数默认版本描述
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f坐标轴线宽。
    lineLength0f坐标轴线长。
    lineColor坐标轴线颜色。
    splitLineType分割线线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    splitLineWidth1f分割线线宽。
    splitLineLength0f分割线线长。
    splitLineColor分割线线颜色。
    minorSplitLineColor次分割线线颜色。
    tickWidth1f刻度线线宽。
    tickLength5f刻度线线长。
    tickColor坐标轴线颜色。
    splitAreaColors坐标轴分隔区域的颜色。

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine, AxisMinorSplitLine, AxisMinorTick, AxisSplitLine, AxisTick

    线条基础配置。

    参数默认版本描述
    show是否显示坐标轴轴线。
    lineStyle线条样式 LineStyle

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer / 子类: EffectScatter, Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    BorderStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    边框样式。

    参数默认版本描述
    showfalse是否显示边框。
    borderWidth边框宽度。
    borderColor边框颜色。
    roundedCornertrue是否显示圆角。
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。当为(1,1,1,1)时为全圆角。

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Candlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ChartText

    class in XCharts.Runtime

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle, AxisAnimation, AxisName, AxisSplitArea, AreaStyle, ArrowStyle, BaseLine, BorderStyle, IconStyle, ImageStyle, ItemStyle, Level, LevelStyle, LineArrow, LineStyle, Location, MLValue, MarqueeStyle, Padding, StageColor, SymbolStyle, TextLimit, TextStyle, CommentItem, CommentMarkStyle, LabelLine, LabelStyle, MarkAreaData, MarkLineData, StateStyle, VisualMapRange, ViewControl, UIComponentTheme, SerieData, SerieDataLink, ComponentTheme, SerieTheme, ThemeStyle

    Comment

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图表注解组件。

    参数默认版本描述
    showtrue是否显示注解组件。
    labelStyle所有组件的文本样式。 LabelStyle
    markStyle所有组件的文本样式。 CommentMarkStyle
    items注解项。每个注解组件可以设置多个注解项。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    参数默认版本描述
    showtrue是否显示当前注解项。
    content注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。
    markRect注解区域。
    markStyle注解标记区域样式。 CommentMarkStyle
    labelStyle注解项的文本样式。 LabelStyle
    locationv3.5.0Comment显示的位置。 Location

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    参数默认版本描述
    showtrue是否显示当前注解项。
    lineStyle线条样式。 LineStyle

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme, DataZoomTheme, LegendTheme, SubTitleTheme, TitleTheme, TooltipTheme, VisualMapTheme

    参数默认版本描述
    font字体。
    textColor文本颜色。
    textBackgroundColor文本颜色。
    fontSize18文本字体大小。
    tMPFont字体。

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord, CalendarCoord, GridCoord, GridCoord3D, ParallelCoord, PolarCoord, SingleAxisCoord

    坐标系系统。

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    参数默认版本描述
    enabletrue是否显示缩放区域。
    filterMode数据过滤类型。
    DataZoom.FilterMode:
    - Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    - WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    - Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    - None: 不过滤数据,只改变数轴范围。
    xAxisIndexs控制的 x 轴索引列表。
    yAxisIndexs控制的 y 轴索引列表。
    supportInside是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
    supportInsideScrolltrue是否支持坐标系内滚动
    supportInsideDragtrue是否支持坐标系内拖拽
    supportSlider是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。
    supportMarquee是否支持框选。提供一个选框进行数据区域缩放。
    showDataShadow是否显示数据阴影。数据阴影可以简单地反应数据走势。
    showDetail是否显示detail,即拖拽时候显示详细数值信息。
    zoomLock是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    borderWidth边框宽。
    backgroundColor组件的背景颜色。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    rangeMode取绝对值还是百分比。
    DataZoom.RangeMode:
    - //Value: The value type of start and end.取值类型
    - Percent: 百分比。
    start数据窗口范围的起始百分比。范围是:0 ~ 100。
    end数据窗口范围的结束百分比。范围是:0 ~ 100。
    minShowNum2最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。
    scrollSensitivity1.1f缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。
    orient布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    labelStyle文本标签格式。 LabelStyle
    lineStyle阴影线条样式。 LineStyle
    areaStyle阴影填充样式。 AreaStyle
    marqueeStylev3.5.0选取框样式。 MarqueeStyle
    startLockv3.6.0固定起始值,不让改变。
    endLockv3.6.0固定结束值,不让改变。

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    borderWidth边框线宽。
    dataLineWidth数据阴影线宽。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    dataLineColor数据阴影的线条颜色。
    dataAreaColor数据阴影的填充颜色。
    backgroundColor背景颜色。

    DebugInfo

    class in XCharts.Runtime

    参数默认版本描述
    showtrue是否显示Debug组件。
    showDebugInfofalse
    showAllChartObjectfalse是否在Hierarchy试图显示所有chart下的节点。
    foldSeriesfalse是否在Inspector上折叠Serie。
    labelStyleLabelStyle

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    参数默认版本描述
    scale1.1f高亮时的缩放倍数。
    focus在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。
    EmphasisStyle.FocusType:
    - None: 不淡出其它图形,默认使用该配置。
    - Self: 只聚焦(不淡出)当前高亮的数据的图形。
    - Series: 聚焦当前高亮的数据所在的系列的所有图形。
    blurScope在开启focus的时候,可以通过blurScope配置淡出的范围。
    EmphasisStyle.BlurScope:
    - GridCoord: 淡出范围为坐标系,默认使用该配置。
    - Series: 淡出范围为系列。
    - Global: 淡出范围为全局。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    layoutIndex-1v3.8.0网格所属的网格布局组件的索引。默认为-1,表示不属于任何网格布局组件。当设置了该值时,left、right、top、bottom属性将失效。
    left0.11fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.14fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。
    showBorderfalse是否显示网格边框。
    borderWidth0f网格边框宽。
    borderColor网格边框颜色。

    GridCoord3D

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    v3.11.0 开始支持

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    left0.15fgrid 组件离容器左侧的距离。
    right0.2fgrid 组件离容器右侧的距离。
    top0.3fgrid 组件离容器上侧的距离。
    bottom0.15fgrid 组件离容器下侧的距离。
    showBorderfalse是否显示网格边框。
    boxWidth0.55f坐标系的宽度。
    boxHeight0.4f坐标系的高度。
    boxDepth0.2f坐标系的深度。
    xYExchangedfalse
    viewControl3D视角控制组件。 ViewControl

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    row2网格布局的行数。
    column2网格布局的列数。
    spacingVector2.zero网格布局的间距。
    inversefalse是否反转网格布局。

    Heatmap

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    heatmapTypev3.3.0热力图类型。通过颜色映射划分。
    HeatmapType:
    - Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    - Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    showfalse是否显示图标。
    layer显示在上层还是在下层。
    IconStyle.Layer:
    - UnderText: The icon is display under the label text. 图标在标签文字下
    - AboveText: The icon is display above the label text. 图标在标签文字上
    align水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    sprite图标的图片。
    type图片的显示类型。
    color图标颜色。
    width20图标宽。
    height20图标高。
    offset图标偏移。
    autoHideWhenLabelEmptyfalse当label内容为空时是否自动隐藏图标

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    参数默认版本描述
    showtrue是否显示图标。
    sprite图标的图片。
    type图片的显示类型。
    autoColor是否自动颜色。
    color图标颜色。
    width0图标宽。
    height0图标高。

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    参数默认版本描述
    name指示器名称。
    max指示器的最大值,默认为 0 无限制。
    min指示器的最小值,默认为 0 无限制。
    range正常值范围。当数值不在这个范围时,会自动变更显示颜色。
    show是否显示雷达坐标系组件。
    shape雷达图绘制类型,支持 'Polygon' 和 'Circle'。
    radius100雷达图的半径。
    splitNumber5指示器轴的分割段数。
    center雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    axisLine轴线。 AxisLine
    axisName雷达图每个指示器名称的配置项。 AxisName
    splitLine分割线。 AxisSplitLine
    splitArea分割区域。 AxisSplitArea
    indicatortrue是否显示指示器。
    positionType显示位置类型。
    indicatorGap10指示器和雷达的间距。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    isAxisTooltip是否Tooltip显示轴线上的所有数据。
    outRangeColorColor.red数值超出范围时显示的颜色。
    connectCenterfalse数值是否连线到中心点。
    lineGradienttrue数值线段是否需要渐变。
    startAnglev3.4.0起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    indicatorList指示器列表。

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Radar, BaseScatter

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location, Comment, Legend, Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, LineArrow, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord, CalendarCoord, GridCoord, GridCoord3D, ParallelCoord, PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, ItemStyle, LineStyle, SerieSymbol, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar, SimplifiedCandlestick, SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    图形样式。

    参数默认版本描述
    showtrue是否启用。
    color数据项颜色。
    color0数据项颜色。
    toColor渐变色的颜色1。
    toColor2渐变色的颜色2。只在折线图中有效。
    markColorv3.6.0Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。
    backgroundColor数据项背景颜色。
    backgroundWidth数据项背景宽度。
    centerColor中心区域颜色。
    centerGap中心区域间隙。
    borderWidth0边框宽。
    borderGap0边框间隙。
    borderColor边框的颜色。
    borderColor0边框的颜色。
    borderToColor边框的渐变色。
    opacity1透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    itemMarker提示框单项的字符标志。用在Tooltip中。
    itemFormatter提示框单项的字符串模版格式器。具体配置参考Tooltipformatter
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis, DataZoom, CalendarCoord, GridCoord, GridLayout, GridCoord3D, ParallelCoord

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    标签的引导线

    参数默认版本描述
    showtrue是否显示视觉引导线。
    lineType视觉引导线类型。
    LabelLine.LineType:
    - BrokenLine: 折线
    - Curves: 曲线
    - HorizontalLine: 水平线
    lineColorColor32(0,0,0,0)视觉引导线颜色。默认和serie一致取自调色板。
    lineAngle60视觉引导线的固定角度。对折线和曲线有效。在Pie中无效。
    lineWidth1.0f视觉引导线的宽度。
    lineGap1.0f视觉引导线和容器的间距。
    lineLength125f视觉引导线第一段的长度。
    lineLength215f视觉引导线第二段的长度。
    lineEndX0fv3.8.0视觉引导线结束点的固定x位置。当不为0时,会代替lineLength2设定引导线的x位置。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent / 子类: AxisLabel, EndLabelStyle, TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    参数默认版本描述
    showtrue是否显示文本标签。
    Position标签的位置。
    autoOffsetfalse是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。
    offset距离图形元素的偏移
    rotate文本的旋转。
    autoRotatefalsev3.6.0是否自动旋转。
    distance距离轴线的距离。
    formatter标签内容字符串模版格式器。支持用 \n 换行。部分组件的格式器会不生效。
    模板通配符有以下这些,部分只适用于固定的组件:
    {.}:圆点标记。
    {a}:系列名。
    {b}:X轴类目名或数据名。
    {c}:数据值。
    {d}:百分比。
    {e}:数据名。
    {f}:数据和。
    {g}:数据总个数。
    {h}:十六进制颜色值。
    {y}:Y轴的类目名。
    {value}:坐标轴或图例的值。
    以下通配符适用UITable组件:
    {name}: 表格的行名。
    {index}:表格的行号。
    以下通配符适用UIStatistc组件:
    {title}:标题文本。
    {dd}:天。
    {hh}:小时。
    {mm}:分钟。
    {ss}:秒。
    {fff}:毫秒。
    {d}:天。
    {h}:小时。
    {m}:分钟。
    {s}:秒。
    {f}:毫秒。
    示例:“{b}:{c}”
    numericFormatter标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式常见的格式:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:yyyy-MM-dd HH:mm:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    width0标签的宽度。一般不用指定,不指定时则自动是文字的宽度。
    height0标签的高度。一般不用指定,不指定时则自动是文字的高度。
    icon图标样式。 IconStyle
    background背景图样式。 ImageStyle
    textPadding文本的边距。 TextPadding
    textStyle文本样式。 TextStyle

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    Legend

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    参数默认版本描述
    showtrue是否显示图例组件。
    iconType图例类型。
    Legend.Type:
    - Auto: 自动匹配。
    - Custom: 自定义图标。
    - EmptyCircle: 空心圆。
    - Circle: 圆形。
    - Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    - Triangle: 三角形。
    - Diamond: 菱形。
    - Candlestick: 烛台(可用于K线图)。
    selectedMode选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。
    Legend.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    - None: 无法选择。
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location图例显示的位置。 Location
    itemWidth25.0f图例标记的图形宽度。
    itemHeight12.0f图例标记的图形高度。
    itemGap10f图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
    itemAutoColortrue图例标记的图形是否自动匹配颜色。
    itemOpacity1图例标记的图形的颜色透明度。
    formatter不再使用,使用LabelStyle.formatter代替。
    labelStyle文本样式。 LabelStyle
    textLimitv3.10.0文本限制。 TextLimit
    data图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。
    icons自定义的图例标记图形。
    colors图例标记的颜色列表。
    backgroundv3.1.0背景图样式。 ImageStyle
    paddingv3.1.0图例标记和背景的间距。 Padding
    positionsv3.6.0图例标记的自定义位置列表。

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    unableColor文本颜色。

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    depth0v3.10.0层级深度。
    label文本标签样式。 LabelStyle
    upperLabel上方的文本标签样式。 LabelStyle
    lineStylev3.10.0线条样式。 LineStyle
    itemStyle数据项样式。 ItemStyle

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    参数默认版本描述
    showfalse是否启用LevelStyle
    levels各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    Line

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent

    参数默认版本描述
    show是否显示箭头。
    position箭头位置。
    LineArrow.Position:
    - End: 末端箭头
    - Start: 头端箭头
    arrow箭头。 ArrowStyle

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    参数默认版本描述
    showtrue是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。
    type线的类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    color线的颜色。
    toColor线的渐变颜色(需要水平方向渐变时)。
    toColor2线的渐变颜色2(需要水平方向三个渐变色的渐变时)。
    width0线宽。
    length0线长。
    opacity1线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    dashLength4v3.8.1虚线的长度。默认0时为线条宽度的12倍。在折线图中代表分割段数的倍数。
    dotLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。
    gapLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。

    Location

    class in XCharts.Runtime / 继承自: ChildComponent, IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    参数默认版本描述
    align对齐方式。
    Location.Align:
    - TopLeft: 对齐方式
    - TopRight: 对齐方式
    - TopCenter: 对齐方式
    - BottomLeft: 对齐方式
    - BottomRight: 对齐方式
    - BottomCenter: 对齐方式
    - Center: 对齐方式
    - CenterLeft: 对齐方式
    - CenterRight: 对齐方式
    left离容器左侧的距离。
    right离容器右侧的距离。
    top离容器上侧的距离。
    bottom离容器下侧的距离。

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis, Background, Comment, DataZoom, Legend, MarkArea, MarkLine, Settings, Title, Tooltip, VisualMap, GridLayout, CoordSystem

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    参数默认版本描述
    showtrue是否显示标域。
    textThe text of markArea. 标域显示的文本。
    serieIndex0Serie index of markArea. 标域影响的Serie索引。
    start标域范围的起始数据。 MarkAreaData
    end标域范围的结束数据。 MarkAreaData
    itemStyle标域样式。 ItemStyle
    label标域文本样式。 LabelStyle

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    参数默认版本描述
    type特殊的标域类型,用于标注最大值最小值等。
    MarkAreaType:
    - None: 标域类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标注名称。会作为文字显示。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    参数默认版本描述
    showtrue是否显示标线。
    serieIndex0标线影响的Serie索引。
    onToptruev3.9.0是否在最上层。
    animation标线的动画样式。 AnimationStyle
    data标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    参数默认版本描述
    type特殊的标线类型,用于标注最大值最小值等。
    MarkLineType:
    - None: 标线类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    group0分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。
    zeroPositionfalse是否为坐标系原点。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle
    lineStyle标线样式。 LineStyle
    label文本样式。可设置position为Start、Middle和End在不同的位置显示文本。 LabelStyle

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    参数默认版本描述
    applyfalsev3.5.0选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。
    realRectfalsev3.5.0是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。
    areaStylev3.5.0选取框区域填充样式。 AreaStyle
    lineStylev3.5.0选取框区域边框样式。 LineStyle

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    参数默认版本描述
    type
    MLValue.Type:
    - Percent: 百分比形式。
    - Absolute: 绝对值形式。
    - Extra: 额外形式。
    value

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    参数默认版本描述
    showtrueshow padding. 是否显示。
    top0顶部间距。
    right2f右部间距。
    left2f左边间距。
    bottom0底部间距。

    Parallel

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    orient坐标轴朝向。默认为垂直朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。

    Pie

    class in XCharts.Runtime / 继承自: Serie

    参数默认版本描述
    radiusGradientfalsev3.8.1是否开启半径方向的渐变效果。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    参数默认版本描述
    showtrue是否显示极坐标。
    center极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    backgroundColor极坐标的背景色,默认透明。
    indicatorLabelOffset30fv3.8.0指示器标签的偏移量。

    Radar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    smoothfalsev3.2.0是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    Ring

    class in XCharts.Runtime / 继承自: Serie

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie, IComparable / 子类: SerieHandler<T>, Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Pie, Radar, Ring, BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    参数默认版本描述
    index系列索引。
    showtrue系列是否显示在图表上。
    coordSystem使用的坐标系。
    serieType系列类型。
    serieName系列名称,用于 tooltip 的显示,legend 的图例筛选。
    statev3.2.0系列的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    colorByv3.2.0从主题中取色的策略。
    SerieColorBy:
    - Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略。
    - Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    - Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。
    stack数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。
    xAxisIndex0使用X轴的index。
    yAxisIndex0使用Y轴的index。
    radarIndex0雷达图所使用的 radar 组件的 index。
    vesselIndex0水位图所使用的 vessel 组件的 index。
    polarIndex0所使用的 polar 组件的 index。
    singleAxisIndex0所使用的 singleAxis 组件的 index。
    parallelIndex0所使用的 parallel coord 组件的 index。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    minShow系列所显示数据的最小索引
    maxShow系列所显示数据的最大索引
    maxCache系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。
    sampleDist0采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。
    sampleType采样类型。当sampleDist大于0时有效。
    SampleType:
    - Peak: 取峰值。
    - Average: 取过滤点的平均值。
    - Max: 取过滤点的最大值。
    - Min: 取过滤点的最小值。
    - Sum: 取过滤点的和。
    sampleAverage0设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。
    lineType折线图样式类型。
    LineType:
    - Normal: 普通折线图。
    - Smooth: 平滑曲线。
    - StepStart: 阶梯线图:当前点。
    - StepMiddle: 阶梯线图:当前点和下一个点的中间。
    - StepEnd: 阶梯线图:下一个拐点。
    smoothLimitfalsev3.4.0是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。
    barType柱形图类型。
    BarType:
    - Normal: 普通柱形图。
    - Zebra: 斑马柱形图。
    - Capsule: 胶囊柱形图。
    barPercentStackfalse柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。
    barWidth0柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。
    barMaxWidth0v3.5.0柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。
    barGap0.1f不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。
    barZebraWidth4f斑马线的粗细。
    barZebraGap2f斑马线的间距。
    min最小值。
    max最大值。
    minSize0f数据最小值 min 映射的宽度。
    maxSize1f数据最大值 max 映射的宽度。
    startAngle起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    endAngle结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    minAngle最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。
    clockwisetrue是否顺时针。
    roundCap是否开启圆弧效果。
    splitNumber刻度分割段数。最大可设置36。
    clickOffsettrue鼠标点击时是否开启偏移,一般用在PieChart图表中。
    roseType是否展示成南丁格尔图,通过半径区分数据大小。
    RoseType:
    - None: 不展示成南丁格尔玫瑰图。
    - Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    - Area: 所有扇区圆心角相同,仅通过半径展现数据大小。
    gap间距。
    center中心点。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    minRadius0fv3.8.0最小半径。可用于限制玫瑰图的最小半径。
    minShowLabelfalsev3.10.0是否开启值小于指定值minShowLabelValue时不显示标签。
    minShowLabelValue0v3.10.0当开启minShowLabel时,值小于该值时不显示标签。
    showDataDimension数据项里的数据维数。
    showDataName在Editor的inpsector上是否显示name参数
    clipfalse是否裁剪超出坐标系部分的图形。
    ignorefalse是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。
    ignoreValue0忽略数据的默认值。当ignore为true才有效。
    ignoreLineBreakfalse忽略数据时折线是断开还是连接。默认false为连接。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。
    largetrue是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。
    largeThreshold200开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。
    avoidLabelOverlapfalse在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。
    radarType雷达图类型。
    RadarType:
    - Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    - Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]
    placeHolderfalse占位模式。占位模式时,数据有效但不参与渲染和显示。
    dataSortType组件的数据排序。
    SerieDataSortType:
    - None: 按数据的顺序。
    - Ascending: 升序。
    - Descending: 降序。
    orient组件的朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    align组件水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    lineStyle线条样式。 LineStyle
    symbol标记的图形。 SerieSymbol
    animation起始动画。 AnimationStyle
    itemStyle图形样式。 ItemStyle
    data系列中的数据内容数组。SerieData可以设置1到n维数据。

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    参数默认版本描述
    index数据项索引。
    name数据项名称。
    id数据项的唯一id。唯一id不是必须设置的。
    parentId父节点id。父节点id不是必须设置的。
    ignore是否忽略数据。当为 true 时,数据不进行绘制。
    selected该数据项是否被选中。
    radius自定义半径。可用在饼图中自定义某个数据项的半径。
    statev3.2.0数据项的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    data可指定任意维数的数值列表。

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    数据节点之间的连线。可用于桑基图等,桑基图只支持有向无环图,请保证数据的连线是有向无环图。

    参数默认版本描述

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle, ISerieDataComponent

    系列数据项的标记的图形

    参数默认版本描述
    sizeType标记图形的大小获取方式。
    SymbolSizeType:
    - Custom: 自定义大小。
    - FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    - Function: 通过委托函数获取。
    dataIndex1当sizeType指定为FromData时,指定的数据源索引。
    dataScale1当sizeType指定为FromData时,指定的倍数系数。
    sizeFunction当sizeType指定为Function时,指定的委托函数。
    startIndex开始显示图形标记的索引。
    interval显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    forceShowLastfalse是否强制显示最后一个图形标记。
    repeatfalse图形是否重复。
    minSize0fv3.3.0图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。
    maxSize0fv3.3.0图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    lineWidth文本颜色。
    lineSymbolSize折线图的Symbol大小。
    scatterSymbolSize散点图的Symbol大小。
    candlestickColorColor32(235, 84, 84, 255)K线图阳线(涨)填充色
    candlestickColor0Color32(71, 178, 98, 255)K线图阴线(跌)填充色
    candlestickBorderWidth1K线图边框宽度
    candlestickBorderColorColor32(235, 84, 84, 255)K线图阳线(跌)边框色
    candlestickBorderColor0Color32(71, 178, 98, 255)K线图阴线(跌)边框色

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    参数默认版本描述
    showtrue
    maxPainter10设定的painter数量。
    reversePainterfalsePainter是否逆序。逆序时index大的serie最先绘制。
    basePainterMaterialBase Pointer 材质球,设置后会影响Axis等。
    seriePainterMaterialSerie Pointer 材质球,设置后会影响所有Serie。
    upperPainterMaterialUpper Pointer 材质球。
    topPainterMaterialTop Pointer 材质球。
    lineSmoothStyle2.5f曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。
    lineSmoothness2fWhen the area with gradient is filled, the larger the value, the worse the transition effect.
    lineSegmentDistance3f线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。
    cicleSmoothness2f圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。
    legendIconLineWidth2Line类型图例图标的线条宽度。
    legendIconCornerRadius图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    axisMaxSplitNumber50v3.1.0坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis, IUpdateRuntimeData

    单轴。

    参数默认版本描述
    orient坐标轴朝向。默认为水平朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1f组件离容器左侧的距离。
    right0.1f组件离容器右侧的距离。
    top0f组件离容器上侧的距离。
    bottom0.2f组件离容器下侧的距离。
    width0坐标轴宽。
    height50坐标轴高。

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    percent结束位置百分比。
    color颜色。

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle, EmphasisStyle, SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    参数默认版本描述
    showtrue是否启用高亮样式。
    label图形文本标签。 LabelStyle
    labelLine图形文本引导线样式。 LabelLine
    itemStyle图形样式。 ItemStyle
    lineStyle折线样式。 LineStyle
    areaStyle区域样式。 AreaStyle
    symbol标记样式。 SerieSymbol

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    参数默认版本描述
    showtrue是否显示标记。
    type标记类型。
    SymbolType:
    - None: 不显示标记。
    - Custom: 自定义标记。
    - Circle: 圆形。
    - EmptyCircle: 空心圆。
    - Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    - EmptyRect: 空心正方形。
    - Triangle: 三角形。
    - EmptyTriangle: 空心三角形。
    - Diamond: 菱形。
    - EmptyDiamond: 空心菱形。
    - Arrow: 箭头。
    - EmptyArrow: 空心箭头。
    - Plus: 加号。
    - Minus: 减号。
    size0f标记的大小。
    gap0图形标记和线条的间隙距离。
    width0f图形的宽。
    height0f图形的高。
    offsetVector2.zero图形的偏移。
    image自定义的标记图形。
    imageType图形填充类型。
    color图形的颜色。

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    参数默认版本描述
    enablefalse是否启用文本自适应。 [default:true]
    maxWidth0Clipping occurs when the width of the text is greater than this value.
    gap1两边留白像素距离。 [default:10f]
    suffix长度超出时的后缀。 [default: "..."]

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    参数默认版本描述
    showtrue文本的相关设置。
    font文本字体。 [default: null]
    autoWrapfalse是否自动换行。
    autoAligntrue文本是否让系统自动选对齐方式。为false时才会用alignment。
    rotate0文本的旋转。 [default: 0f]
    autoColorfalse是否开启自动颜色。当开启时,会自动设置颜色。
    color文本的颜色。 [default: Color.clear]
    fontSize0文本字体大小。 [default: 18]
    fontStyle文本字体的风格。 [default: FontStyle.Normal]
    lineSpacing1f行间距。 [default: 1f]
    alignment对齐方式。
    tMPFontTextMeshPro字体。
    tMPFontStyle
    tMPAlignment
    tMPSpriteAssetv3.1.0

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    参数默认版本描述
    themeType主题类型。
    ThemeType:
    - Default: 默认主题。
    - Light: 亮主题。
    - Dark: 暗主题。
    - Custom: 自定义主题。
    themeName主题名称。
    font主题字体。
    tMPFont主题字体。
    contrastColor对比色。
    backgroundColor背景颜色。
    colorPalette调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
    commonComponentTheme
    titleTitleTheme
    subTitleSubTitleTheme
    legendLegendTheme
    axisAxisTheme
    tooltipTooltipTheme
    dataZoomDataZoomTheme
    visualMapVisualMapTheme
    serieSerieTheme

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    参数默认版本描述
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse是否透明背景颜色。当设置为true时,不绘制背景颜色。
    enableCustomThemefalse是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。
    customFont
    customBackgroundColor自定义的背景颜色。
    customColorPalette

    Title

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    标题组件,包含主标题和副标题。

    参数默认版本描述
    showtrue是否显示标题组件。
    text主标题文本,支持使用 \n 换行。
    subText副标题文本,支持使用 \n 换行。
    labelStyle主标题文本样式。 LabelStyle
    subLabelStyle副标题文本样式。 LabelStyle
    itemGap0主副标题之间的间距。
    location标题显示位置。 Location

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle, ISerieDataComponent, ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    参数默认版本描述
    showtrue是否显示提示框组件。
    type提示框指示器类型。
    Tooltip.Type:
    - Line: 直线指示器
    - Shadow: 阴影指示器
    - None: 无指示器
    - Cross: 十字准星指示器。坐标轴显示Label和交叉线。
    - Auto: 根据serie的类型自动选择显示指示器。
    trigger触发类型。
    Tooltip.Trigger:
    - Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    - Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    - None: 什么都不触发。
    - Auto: 根据serie的类型自动选择触发类型。
    triggerOnv3.11.0触发条件。
    Tooltip.TriggerOn:
    - MouseMove: 鼠标移动时触发。
    - Click: 鼠标点击时触发。
    positionv3.3.0显示位置类型。
    Tooltip.Position:
    - Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    - Custom: 自定义。完全自定义显示位置(x,y)。
    - FixedX: 只固定坐标X。Y跟随鼠标位置。
    - FixedY:
    itemFormatter提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用
    titleFormatter提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {y}为value所对应的y轴的类目值。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
    markerserie的符号标志。
    fixedWidth0固定宽度。比 minWidth 优先。
    fixedHeight0固定高度。比 minHeight 优先。
    minWidth0最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。
    minHeight0最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。
    numericFormatter标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式常见的格式:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:yyyy-MM-dd HH:mm:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    paddingLeftRight10左右边距。
    paddingTopBottom10上下边距。
    ignoreDataShowfalse是否显示忽略数据在tooltip上。
    ignoreDataDefaultContent被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。
    showContenttrue是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。
    alwayShowContentfalse是否触发后一直显示提示框浮层。
    offsetVector2(18f, -25f)提示框相对于鼠标位置的偏移。
    backgroundImage提示框的背景图片。
    backgroundType提示框的背景图片显示类型。
    backgroundColor提示框的背景颜色。
    borderWidth2f边框线宽。
    fixedX0f固定X位置的坐标。
    fixedY0.7f固定Y位置的坐标。
    titleHeight25f标题文本的高。
    itemHeight25f数据项文本的高。
    borderColorColor32(230, 230, 230, 255)边框颜色。
    lineStyle指示线样式。 LineStyle
    titleLabelStyle标题的文本样式。 LabelStyle
    contentLabelStyles内容部分的文本样式列表。和列一一对应。

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f指示线线宽。
    lineColor指示线颜色。
    areaColor区域指示的颜色。
    labelTextColor十字指示器坐标轴标签的文本颜色。
    labelBackgroundColor十字指示器坐标轴标签的背景颜色。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse

    ViewControl

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.11.0 开始支持

    3D视角控制组件。

    参数默认版本描述
    alpha90f视角在x-z平面的角度。
    beta55f视角在y-z平面的角度。

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    参数默认版本描述
    showtrue组件是否生效。
    showUIfalse是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。
    type组件类型。
    VisualMap.Type:
    - Continuous: 连续型。
    - Piecewise: 分段型。
    selectedMode选择模式。
    VisualMap.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    serieIndex0影响的serie索引。
    min0范围最小值
    max0范围最大值
    range指定手柄对应数值的位置。range 应在[min,max]范围内。
    text两端的文本,如 ['High', 'Low']
    textGap两端文字主体之间的距离,单位为px。
    splitNumber5对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。
    calculablefalse是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。
    realtimetrue拖拽时,是否实时更新。
    itemWidth20f图形的宽度,即颜色条的宽度。
    itemHeight140f图形的高度,即颜色条的高度。
    itemGap10f每个图元之间的间隔距离。
    borderWidth0边框线宽,单位px。
    dimension-1Starting at 1, the default is 0 to take the last dimension in data.
    autoMinMaxtrueAutomatically set min, Max value 自动设置min,max的值
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location组件显示的位置。 Location
    workOnLinetrue组件是否对LineChart的LineStyle有效。
    workOnAreafalse组件是否对LineChart的AreaStyle有效。
    outOfRange定义 在选中范围外 的视觉颜色。
    inRange分段式每一段的相关配置。

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    min范围最小值
    max范围最大值
    label文字描述
    color颜色

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    borderWidth边框线宽。
    borderColor边框颜色。
    backgroundColor背景颜色。
    triangeLen20f可视化组件的调节三角形边长。

    Wrapper<T>

    class in XCharts.Runtime

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    XAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    class in XCharts.Runtime

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    参数默认版本描述
    langLang
    font
    tMPFont
    fontSizeLv128一级字体大小。
    fontSizeLv224
    fontSizeLv320
    fontSizeLv418
    axisLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisLineWidth0.8f
    axisSplitLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisSplitLineWidth0.8f
    axisTickWidth0.8f
    axisTickLength5f
    gaugeAxisLineWidth15f
    gaugeAxisSplitLineWidth0.8f
    gaugeAxisSplitLineLength15f
    gaugeAxisTickWidth0.8f
    gaugeAxisTickLength5f
    tootipLineWidth0.8f
    dataZoomBorderWidth0.5f
    dataZoomDataLineWidth0.5f
    visualMapBorderWidth0f
    serieLineWidth1.8f
    serieLineSymbolSize5f
    serieScatterSymbolSize20f
    serieSelectedRate1.3f
    serieCandlestickBorderWidth1f
    editorShowAllListDatafalse
    maxPainter10
    lineSmoothStyle3f
    lineSmoothness2f
    lineSegmentDistance3f
    cicleSmoothness2f
    visualMapTriangeLen20f
    customThemes

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    YAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    ZAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    Was this helpful?
    - - +
    Version: v3.12.0

    配置项手册

    Serie 系列

    Theme 主题

    MainComponent 主组件

    ChildComponent 子组件

    ISerieComponent 可添加到Serie的组件

    ISerieDataComponent 可添加到SerieData的组件

    Other 其他

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    AngleAxis.startAngle

    float 0

    起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn, AnimationFadeOut, AnimationChange, AnimationAddition, AnimationHiding, AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    AnimationInfo.delay

    float 0 v3.8.0

    动画开始前的延迟时间。

    AnimationInfo.duration

    float 1000 v3.8.0

    动画的时长。

    AnimationInfo.enable

    bool true v3.8.0

    是否开启动画效果。

    AnimationInfo.reverse

    bool false v3.8.0

    是否开启反向动画效果。

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    AnimationInteraction.offset

    MLValue v3.8.0

    交互的多样式数值。如饼图的扇形选中时的偏移。

    AnimationInteraction.radius

    MLValue v3.8.0

    半径的多样式数值。

    AnimationInteraction.width

    MLValue v3.8.0

    宽度的多样式数值。

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    AnimationStyle.addition

    AnimationAddition v3.8.0

    数据新增动画配置。

    AnimationStyle.change

    AnimationChange v3.8.0

    数据变更动画配置。

    AnimationStyle.easting

    AnimationEasing

    可选:

    • Linear:

    AnimationStyle.enable

    bool true

    是否开启动画效果。

    AnimationStyle.fadeIn

    AnimationFadeIn v3.8.0

    渐入动画配置。

    AnimationStyle.fadeOut

    AnimationFadeOut v3.8.0

    渐出动画配置。

    AnimationStyle.hiding

    AnimationHiding v3.8.0

    数据隐藏动画配置。

    AnimationStyle.interaction

    AnimationInteraction v3.8.0

    交互动画配置。

    AnimationStyle.threshold

    int 2000

    是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。

    AnimationStyle.type

    AnimationType

    动画类型。

    可选:

    • Default: 默认。内部会根据实际情况选择一种动画播放方式。
    • LeftToRight: 从左往右播放动画。
    • BottomToTop: 从下往上播放动画。
    • InsideOut: 由内到外播放动画。
    • AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    • Clockwise: 顺时针播放动画。

    AnimationStyle.unscaledTime

    bool v3.4.0

    动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    区域填充样式。

    AreaStyle.color

    Color32

    区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。

    AreaStyle.innerFill

    bool v3.2.0

    是否只填充多边形区域。目前只支持凸多边形。

    AreaStyle.opacity

    float 0.6f

    图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。

    AreaStyle.origin

    AreaStyle.AreaOrigin

    区域填充的起始位置。

    可选:

    • Auto: 填充坐标轴轴线到数据间的区域。
    • Start: 填充坐标轴底部到数据间的区域。
    • End: 填充坐标轴顶部到数据间的区域。

    AreaStyle.show

    bool true

    是否显示区域填充。

    AreaStyle.toColor

    Color32

    渐变色的终点颜色。

    AreaStyle.toTop

    bool true v3.6.0

    渐变色是到顶部还是到实际位置。默认为true到顶部。

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    ArrowStyle.color

    Color32 Color.clear

    箭头颜色。

    ArrowStyle.dent

    float 3

    箭头的凹度。

    ArrowStyle.height

    float 15

    箭头高。

    ArrowStyle.offset

    float 0

    箭头偏移。

    ArrowStyle.width

    float 10

    箭头宽。

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis, ParallelAxis, RadiusAxis, SingleAxis, XAxis, XAxis3D, YAxis, YAxis3D, ZAxis3D

    直角坐标系的坐标轴组件。

    Axis.animation

    AxisAnimation

    坐标轴动画。

    Axis.axisLabel

    AxisLabel

    坐标轴刻度标签。

    Axis.axisLine

    AxisLine

    坐标轴轴线。

    Axis.axisName

    AxisName

    坐标轴名称。

    Axis.axisTick

    AxisTick

    坐标轴刻度。

    Axis.boundaryGap

    bool true

    坐标轴两边是否留白。只对类目轴有效。

    Axis.ceilRate

    double 0

    最大最小值向上取整的倍率。默认为0时自动计算。

    Axis.clockwise

    bool true

    刻度增长是否按顺时针,默认顺时针。

    Axis.data

    List<string>

    类目数据,在类目轴(type: 'category')中有效。

    Axis.gridIndex

    int

    坐标轴所在的 grid 的索引,默认位于第一个 grid。

    Axis.icons

    List<Sprite>

    类目数据对应的图标。

    Axis.indicatorLabel

    LabelStyle v3.4.0

    指示器文本的样式。Tooltip为Cross时使用。

    Axis.insertDataToHead

    bool

    添加新数据时是在列表的头部还是尾部加入。

    Axis.interval

    double 0

    强制设置坐标轴分割间隔。无法在类目轴中使用。

    Axis.inverse

    bool false

    是否反向坐标轴。在类目轴中无效。

    Axis.logBase

    float 10

    对数轴的底数,只在对数轴(type:'Log')中有效。

    Axis.logBaseE

    bool false

    对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。

    Axis.max

    double

    设定的坐标轴刻度最大值,当minMaxType为Custom时有效。

    Axis.maxCache

    int 0

    The first data will be remove when the size of axis data is larger then maxCache.

    Axis.min

    double

    设定的坐标轴刻度最小值,当minMaxType为Custom时有效。

    Axis.minCategorySpacing

    float 0 v3.11.0

    类目之间的最小间距。

    Axis.minMaxType

    Axis.AxisMinMaxType

    坐标轴刻度最大最小值显示类型。

    可选:

    • Default: 0-最大值。
    • MinMax: 最小值-最大值。
    • Custom: 自定义最小值最大值。
    • MinMaxAuto: [since("v3.7.0")]最小值-最大值。自动计算合适的值。

    Axis.minorSplitLine

    AxisMinorSplitLine v3.2.0

    坐标轴次分割线。

    Axis.minorTick

    AxisMinorTick v3.2.0

    坐标轴次刻度。

    Axis.offset

    float

    坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。

    Axis.parallelIndex

    int

    坐标轴所在的 parallel 的索引,默认位于第一个 parallel。

    Axis.polarIndex

    int

    坐标轴所在的 ploar 的索引,默认位于第一个 polar。

    Axis.position

    Axis.AxisPosition

    坐标轴在Grid中的位置。

    可选:

    • Left: 坐标轴在Grid中的位置
    • Right: 坐标轴在Grid中的位置
    • Bottom: 坐标轴在Grid中的位置
    • Top: 坐标轴在Grid中的位置
    • Center: 坐标轴在Grid中的位置

    Axis.show

    bool true

    是否显示坐标轴。

    Axis.splitArea

    AxisSplitArea

    坐标轴分割区域。

    Axis.splitLine

    AxisSplitLine

    坐标轴分割线。

    Axis.splitNumber

    int 0

    坐标轴的期望的分割段数。默认为0表示自动分割。

    Axis.type

    Axis.AxisType

    坐标轴类型。

    可选:

    • Value: 数值轴。适用于连续数据。
    • Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    • Log: 对数轴。适用于对数数据。
    • Time: 时间轴。适用于连续的时序数据。

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    AxisAnimation.duration

    float

    动画时长(ms)。 默认设置为0时,会自动获取serie的动画时长。

    AxisAnimation.show

    bool true

    是否开启动画。

    AxisAnimation.unscaledTime

    bool

    动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    AxisLabel.inside

    bool false

    刻度标签是否朝内,默认朝外。

    AxisLabel.interval

    int 0

    坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。

    AxisLabel.onZero

    bool false

    刻度标签显示在0刻度上。

    AxisLabel.showAsPositiveNumber

    bool false

    将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。

    AxisLabel.showEndLabel

    bool true

    是否显示最后一个文本。

    AxisLabel.showStartLabel

    bool true

    是否显示第一个文本。

    AxisLabel.textLimit

    TextLimit

    文本限制。

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    AxisLine.arrow

    ArrowStyle

    轴线箭头。

    AxisLine.onZero

    bool

    X 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。

    AxisLine.showArrow

    bool

    是否显示箭头。

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    AxisMinorSplitLine.autoColor

    bool

    自动设置颜色。

    AxisMinorSplitLine.distance

    float

    刻度线与轴线的距离。

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    AxisMinorTick.autoColor

    bool

    AxisMinorTick.splitNumber

    int 5

    分隔线之间分割的刻度数。

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    AxisName.labelStyle

    LabelStyle

    文本样式。

    AxisName.name

    string

    坐标轴名称。

    AxisName.onZero

    bool v3.1.0

    坐标轴名称的位置是否保持和Y轴0刻度一致。

    AxisName.show

    bool

    是否显示坐标轴名称。

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    AxisSplitArea.color

    List<Color32>

    分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitArea.show

    bool

    是否显示分隔区域。

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    AxisSplitLine.autoColor

    bool

    自动设置颜色。

    AxisSplitLine.distance

    float

    刻度线与轴线的距离。

    AxisSplitLine.interval

    int

    坐标轴分隔线的显示间隔。

    AxisSplitLine.showEndLine

    bool true v3.3.0

    是否显示最后一条分割线。

    AxisSplitLine.showStartLine

    bool true v3.3.0

    是否显示第一条分割线。

    AxisSplitLine.showZLine

    bool true v3.11.0

    是否显示Z轴部分分割线。一般用于3D坐标系。

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    AxisTick.alignWithLabel

    bool

    类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。

    AxisTick.autoColor

    bool

    AxisTick.distance

    float

    刻度线与轴线的距离。

    AxisTick.inside

    bool

    坐标轴刻度是否朝内,默认朝外。

    AxisTick.showEndTick

    bool

    是否显示最后一个刻度。

    AxisTick.showStartTick

    bool

    是否显示第一个刻度。

    AxisTick.splitNumber

    int 0

    分隔线之间分割的刻度数。

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    Background.autoColor

    bool true

    当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。

    Background.borderStyle

    BorderStyle v3.10.0

    背景边框样式。

    Background.image

    Sprite

    背景图。

    Background.imageColor

    Color

    背景图颜色。

    Background.imageHeight

    float 0 v3.10.0

    背景图高度。

    Background.imageType

    Image.Type

    背景图填充类型。

    Background.imageWidth

    float 0 v3.10.0

    背景图宽度。

    Background.show

    bool true

    是否启用背景组件。

    Bar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme, RadiusAxisTheme, AngleAxisTheme, PolarAxisTheme, RadarAxisTheme

    BaseAxisTheme.lineColor

    Color32

    坐标轴线颜色。

    BaseAxisTheme.lineLength

    float 0f

    坐标轴线长。

    BaseAxisTheme.lineType

    LineStyle.Type

    坐标轴线类型。

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    BaseAxisTheme.lineWidth

    float 1f

    坐标轴线宽。

    BaseAxisTheme.minorSplitLineColor

    Color32

    次分割线线颜色。

    BaseAxisTheme.splitAreaColors

    List<Color32>

    坐标轴分隔区域的颜色。

    BaseAxisTheme.splitLineColor

    Color32

    分割线线颜色。

    BaseAxisTheme.splitLineLength

    float 0f

    分割线线长。

    BaseAxisTheme.splitLineType

    LineStyle.Type

    分割线线类型。

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    BaseAxisTheme.splitLineWidth

    float 1f

    分割线线宽。

    BaseAxisTheme.tickColor

    Color32

    坐标轴线颜色。

    BaseAxisTheme.tickLength

    float 5f

    刻度线线长。

    BaseAxisTheme.tickWidth

    float 1f

    刻度线线宽。

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine, AxisMinorSplitLine, AxisMinorTick, AxisSplitLine, AxisTick

    线条基础配置。

    BaseLine.lineStyle

    LineStyle

    线条样式

    BaseLine.show

    bool

    是否显示坐标轴轴线。

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer / 子类: EffectScatter, Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    BorderStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    边框样式。

    BorderStyle.borderColor

    Color32

    边框颜色。

    BorderStyle.borderWidth

    float

    边框宽度。

    BorderStyle.cornerRadius

    float[]

    圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。当为(1,1,1,1)时为全圆角。

    BorderStyle.roundedCorner

    bool true

    是否显示圆角。

    BorderStyle.show

    bool false

    是否显示边框。

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Candlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ChartText

    class in XCharts.Runtime

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle, AxisAnimation, AxisName, AxisSplitArea, AreaStyle, ArrowStyle, BaseLine, BorderStyle, IconStyle, ImageStyle, ItemStyle, Level, LevelStyle, LineArrow, LineStyle, Location, MLValue, MarqueeStyle, Padding, StageColor, SymbolStyle, TextLimit, TextStyle, CommentItem, CommentMarkStyle, LabelLine, LabelStyle, MarkAreaData, MarkLineData, StateStyle, VisualMapRange, ViewControl, UIComponentTheme, SerieData, SerieDataLink, ComponentTheme, SerieTheme, ThemeStyle

    Comment

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图表注解组件。

    Comment.items

    List<CommentItem>

    注解项。每个注解组件可以设置多个注解项。

    Comment.labelStyle

    LabelStyle

    所有组件的文本样式。

    Comment.markStyle

    CommentMarkStyle

    所有组件的文本样式。

    Comment.show

    bool true

    是否显示注解组件。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    CommentItem.content

    string

    注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。

    CommentItem.labelStyle

    LabelStyle

    注解项的文本样式。

    CommentItem.location

    Location v3.5.0

    Comment显示的位置。

    CommentItem.markRect

    Rect

    注解区域。

    CommentItem.markStyle

    CommentMarkStyle

    注解标记区域样式。

    CommentItem.show

    bool true

    是否显示当前注解项。

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    CommentMarkStyle.lineStyle

    LineStyle

    线条样式。

    CommentMarkStyle.show

    bool true

    是否显示当前注解项。

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme, DataZoomTheme, LegendTheme, SubTitleTheme, TitleTheme, TooltipTheme, VisualMapTheme

    ComponentTheme.font

    Font

    字体。

    ComponentTheme.fontSize

    int 18

    文本字体大小。

    ComponentTheme.textBackgroundColor

    Color

    文本颜色。

    ComponentTheme.textColor

    Color

    文本颜色。

    ComponentTheme.tMPFont

    TMP_FontAsset

    字体。

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord, CalendarCoord, GridCoord, GridCoord3D, ParallelCoord, PolarCoord, SingleAxisCoord

    坐标系系统。

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    DataZoom.areaStyle

    AreaStyle

    阴影填充样式。

    DataZoom.backgroundColor

    Color32

    组件的背景颜色。

    DataZoom.borderColor

    Color32

    边框颜色。

    DataZoom.borderWidth

    float

    边框宽。

    DataZoom.bottom

    float

    组件离容器下侧的距离。

    DataZoom.enable

    bool true

    是否显示缩放区域。

    DataZoom.end

    float

    数据窗口范围的结束百分比。范围是:0 ~ 100。

    DataZoom.endLock

    bool v3.6.0

    固定结束值,不让改变。

    DataZoom.fillerColor

    Color32

    数据区域颜色。

    DataZoom.filterMode

    DataZoom.FilterMode

    数据过滤类型。

    可选:

    • Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    • WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    • Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    • None: 不过滤数据,只改变数轴范围。

    DataZoom.labelStyle

    LabelStyle

    文本标签格式。

    DataZoom.left

    float

    组件离容器左侧的距离。

    DataZoom.lineStyle

    LineStyle

    阴影线条样式。

    DataZoom.marqueeStyle

    MarqueeStyle v3.5.0

    选取框样式。

    DataZoom.minShowNum

    int 2

    最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。

    DataZoom.orient

    Orient

    布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    DataZoom.rangeMode

    DataZoom.RangeMode

    取绝对值还是百分比。

    可选:

    • //Value: The value type of start and end.取值类型
    • Percent: 百分比。

    DataZoom.right

    float

    组件离容器右侧的距离。

    DataZoom.scrollSensitivity

    float 1.1f

    缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。

    DataZoom.showDataShadow

    bool

    是否显示数据阴影。数据阴影可以简单地反应数据走势。

    DataZoom.showDetail

    bool

    是否显示detail,即拖拽时候显示详细数值信息。

    DataZoom.start

    float

    数据窗口范围的起始百分比。范围是:0 ~ 100。

    DataZoom.startLock

    bool v3.6.0

    固定起始值,不让改变。

    DataZoom.supportInside

    bool

    是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。

    DataZoom.supportInsideDrag

    bool true

    是否支持坐标系内拖拽

    DataZoom.supportInsideScroll

    bool true

    是否支持坐标系内滚动

    DataZoom.supportMarquee

    bool

    是否支持框选。提供一个选框进行数据区域缩放。

    DataZoom.supportSlider

    bool

    是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。

    DataZoom.top

    float

    组件离容器上侧的距离。

    DataZoom.xAxisIndexs

    List<int>

    控制的 x 轴索引列表。

    DataZoom.yAxisIndexs

    List<int>

    控制的 y 轴索引列表。

    DataZoom.zoomLock

    bool

    是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    DataZoomTheme.backgroundColor

    Color32

    背景颜色。

    DataZoomTheme.borderColor

    Color32

    边框颜色。

    DataZoomTheme.borderWidth

    float

    边框线宽。

    DataZoomTheme.dataAreaColor

    Color32

    数据阴影的填充颜色。

    DataZoomTheme.dataLineColor

    Color32

    数据阴影的线条颜色。

    DataZoomTheme.dataLineWidth

    float

    数据阴影线宽。

    DataZoomTheme.fillerColor

    Color32

    数据区域颜色。

    DebugInfo

    class in XCharts.Runtime

    DebugInfo.foldSeries

    bool false

    是否在Inspector上折叠Serie。

    DebugInfo.labelStyle

    LabelStyle

    DebugInfo.show

    bool true

    是否显示Debug组件。

    DebugInfo.showAllChartObject

    bool false

    是否在Hierarchy试图显示所有chart下的节点。

    DebugInfo.showDebugInfo

    bool false

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    EmphasisStyle.blurScope

    EmphasisStyle.BlurScope

    在开启focus的时候,可以通过blurScope配置淡出的范围。

    可选:

    • GridCoord: 淡出范围为坐标系,默认使用该配置。
    • Series: 淡出范围为系列。
    • Global: 淡出范围为全局。

    EmphasisStyle.focus

    EmphasisStyle.FocusType

    在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。

    可选:

    • None: 不淡出其它图形,默认使用该配置。
    • Self: 只聚焦(不淡出)当前高亮的数据的图形。
    • Series: 聚焦当前高亮的数据所在的系列的所有图形。

    EmphasisStyle.scale

    float 1.1f

    高亮时的缩放倍数。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    GridCoord.backgroundColor

    Color32

    网格背景色,默认透明。

    GridCoord.borderColor

    Color32

    网格边框颜色。

    GridCoord.borderWidth

    float 0f

    网格边框宽。

    GridCoord.bottom

    float 0.14f

    grid 组件离容器下侧的距离。

    GridCoord.layoutIndex

    int -1 v3.8.0

    网格所属的网格布局组件的索引。默认为-1,表示不属于任何网格布局组件。当设置了该值时,left、right、top、bottom属性将失效。

    GridCoord.left

    float 0.11f

    grid 组件离容器左侧的距离。

    GridCoord.right

    float 0.08f

    grid 组件离容器右侧的距离。

    GridCoord.show

    bool true

    是否显示直角坐标系网格。

    GridCoord.showBorder

    bool false

    是否显示网格边框。

    GridCoord.top

    float 0.22f

    grid 组件离容器上侧的距离。

    GridCoord3D

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    v3.11.0 开始支持

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    GridCoord3D.bottom

    float 0.15f

    grid 组件离容器下侧的距离。

    GridCoord3D.boxDepth

    float 0.2f

    坐标系的深度。

    GridCoord3D.boxHeight

    float 0.4f

    坐标系的高度。

    GridCoord3D.boxWidth

    float 0.55f

    坐标系的宽度。

    GridCoord3D.left

    float 0.15f

    grid 组件离容器左侧的距离。

    GridCoord3D.right

    float 0.2f

    grid 组件离容器右侧的距离。

    GridCoord3D.show

    bool true

    是否显示直角坐标系网格。

    GridCoord3D.showBorder

    bool false

    是否显示网格边框。

    GridCoord3D.top

    float 0.3f

    grid 组件离容器上侧的距离。

    GridCoord3D.viewControl

    ViewControl

    3D视角控制组件。

    GridCoord3D.xYExchanged

    bool false

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    GridLayout.bottom

    float 0.12f

    grid 组件离容器下侧的距离。

    GridLayout.column

    int 2

    网格布局的列数。

    GridLayout.inverse

    bool false

    是否反转网格布局。

    GridLayout.left

    float 0.1f

    grid 组件离容器左侧的距离。

    GridLayout.right

    float 0.08f

    grid 组件离容器右侧的距离。

    GridLayout.row

    int 2

    网格布局的行数。

    GridLayout.show

    bool true

    是否显示直角坐标系网格。

    GridLayout.spacing

    Vector2 Vector2.zero

    网格布局的间距。

    GridLayout.top

    float 0.22f

    grid 组件离容器上侧的距离。

    Heatmap

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    Heatmap.heatmapType

    HeatmapType v3.3.0

    热力图类型。通过颜色映射划分。

    可选:

    • Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    • Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    IconStyle.align

    Align

    水平方向对齐方式。

    可选:

    • Center: 对齐方式。文本,图标,图形等的对齐方式。
    • Left: 对齐方式。文本,图标,图形等的对齐方式。
    • Right: 对齐方式。文本,图标,图形等的对齐方式。

    IconStyle.autoHideWhenLabelEmpty

    bool false

    当label内容为空时是否自动隐藏图标

    IconStyle.color

    Color

    图标颜色。

    IconStyle.height

    float 20

    图标高。

    IconStyle.layer

    IconStyle.Layer

    显示在上层还是在下层。

    可选:

    • UnderText: The icon is display under the label text. 图标在标签文字下
    • AboveText: The icon is display above the label text. 图标在标签文字上

    IconStyle.offset

    Vector3

    图标偏移。

    IconStyle.show

    bool false

    是否显示图标。

    IconStyle.sprite

    Sprite

    图标的图片。

    IconStyle.type

    Image.Type

    图片的显示类型。

    IconStyle.width

    float 20

    图标宽。

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    ImageStyle.autoColor

    bool

    是否自动颜色。

    ImageStyle.color

    Color

    图标颜色。

    ImageStyle.height

    float 0

    图标高。

    ImageStyle.show

    bool true

    是否显示图标。

    ImageStyle.sprite

    Sprite

    图标的图片。

    ImageStyle.type

    Image.Type

    图片的显示类型。

    ImageStyle.width

    float 0

    图标宽。

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    Indicator.axisLine

    AxisLine

    轴线。

    Indicator.axisName

    AxisName

    雷达图每个指示器名称的配置项。

    Indicator.ceilRate

    double 0

    最大最小值向上取整的倍率。默认为0时自动计算。

    Indicator.center

    float[]

    雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。

    Indicator.connectCenter

    bool false

    数值是否连线到中心点。

    Indicator.gridIndex

    int -1 v3.8.0

    所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。

    Indicator.indicator

    bool true

    是否显示指示器。

    Indicator.indicatorGap

    float 10

    指示器和雷达的间距。

    Indicator.indicatorList

    List<Indicator>

    指示器列表。

    Indicator.isAxisTooltip

    bool

    是否Tooltip显示轴线上的所有数据。

    Indicator.lineGradient

    bool true

    数值线段是否需要渐变。

    Indicator.max

    double

    指示器的最大值,默认为 0 无限制。

    Indicator.min

    double

    指示器的最小值,默认为 0 无限制。

    Indicator.name

    string

    指示器名称。

    Indicator.outRangeColor

    Color32 Color.red

    数值超出范围时显示的颜色。

    Indicator.positionType

    PositionType

    显示位置类型。

    Indicator.radius

    float 100

    雷达图的半径。

    Indicator.range

    double[]

    正常值范围。当数值不在这个范围时,会自动变更显示颜色。

    Indicator.shape

    Shape

    雷达图绘制类型,支持 'Polygon' 和 'Circle'。

    Indicator.show

    bool

    是否显示雷达坐标系组件。

    Indicator.splitArea

    AxisSplitArea

    分割区域。

    Indicator.splitLine

    AxisSplitLine

    分割线。

    Indicator.splitNumber

    int 5

    指示器轴的分割段数。

    Indicator.startAngle

    float v3.4.0

    起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Radar, BaseScatter

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location, Comment, Legend, Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, LineArrow, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord, CalendarCoord, GridCoord, GridCoord3D, ParallelCoord, PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, ItemStyle, LineStyle, SerieSymbol, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar, SimplifiedCandlestick, SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    图形样式。

    ItemStyle.backgroundColor

    Color32

    数据项背景颜色。

    ItemStyle.backgroundWidth

    float

    数据项背景宽度。

    ItemStyle.borderColor

    Color32

    边框的颜色。

    ItemStyle.borderColor0

    Color32

    边框的颜色。

    ItemStyle.borderGap

    float 0

    边框间隙。

    ItemStyle.borderToColor

    Color32

    边框的渐变色。

    ItemStyle.borderWidth

    float 0

    边框宽。

    ItemStyle.centerColor

    Color32

    中心区域颜色。

    ItemStyle.centerGap

    float

    中心区域间隙。

    ItemStyle.color

    Color32

    数据项颜色。

    ItemStyle.color0

    Color32

    数据项颜色。

    ItemStyle.cornerRadius

    float[]

    圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    ItemStyle.itemFormatter

    string

    提示框单项的字符串模版格式器。具体配置参考Tooltipformatter

    ItemStyle.itemMarker

    string

    提示框单项的字符标志。用在Tooltip中。

    ItemStyle.markColor

    Color32 v3.6.0

    Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。

    ItemStyle.numericFormatter

    string

    标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式:以date开头,用来格式化DateTime,常见格式有:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:date:yyyy-MM-dd HH:mm:ss
    时间格式:以time开头,用来格式化TimeSpan,常见格式有:d日,HH时,mm分,ss秒,fffffff小数部分。 需要Unity2018以上版本才支持格式化,并且里面的字符要转义。如:time:d.HH\:mm\:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    时间格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings
    注意:date和time格式需要v3.12.0以上版本才支持。

    ItemStyle.opacity

    float 1

    透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。

    ItemStyle.show

    bool true

    是否启用。

    ItemStyle.toColor

    Color32

    渐变色的颜色1。

    ItemStyle.toColor2

    Color32

    渐变色的颜色2。只在折线图中有效。

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis, DataZoom, CalendarCoord, GridCoord, GridLayout, GridCoord3D, ParallelCoord

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    标签的引导线

    LabelLine.endSymbol

    SymbolStyle

    结束点的图形标记。

    LabelLine.lineAngle

    float 60

    视觉引导线的固定角度。对折线和曲线有效。在Pie中无效。

    LabelLine.lineColor

    Color32 Color32(0,0,0,0)

    视觉引导线颜色。默认和serie一致取自调色板。

    LabelLine.lineEndX

    float 0f v3.8.0

    视觉引导线结束点的固定x位置。当不为0时,会代替lineLength2设定引导线的x位置。

    LabelLine.lineGap

    float 1.0f

    视觉引导线和容器的间距。

    LabelLine.lineLength1

    float 25f

    视觉引导线第一段的长度。

    LabelLine.lineLength2

    float 15f

    视觉引导线第二段的长度。

    LabelLine.lineType

    LabelLine.LineType

    视觉引导线类型。

    可选:

    • BrokenLine: 折线
    • Curves: 曲线
    • HorizontalLine: 水平线

    LabelLine.lineWidth

    float 1.0f

    视觉引导线的宽度。

    LabelLine.show

    bool true

    是否显示视觉引导线。

    LabelLine.startSymbol

    SymbolStyle

    起始点的图形标记。

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent / 子类: AxisLabel, EndLabelStyle, TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    LabelStyle.autoOffset

    bool false

    是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。

    LabelStyle.autoRotate

    bool false v3.6.0

    是否自动旋转。

    LabelStyle.background

    ImageStyle

    背景图样式。

    LabelStyle.distance

    float

    距离轴线的距离。

    LabelStyle.formatter

    string

    标签内容字符串模版格式器。支持用 \n 换行。部分组件的格式器会不生效。
    模板通配符有以下这些,部分只适用于固定的组件:
    {.}:圆点标记。
    {a}:系列名。
    {b}:X轴类目名或数据名。
    {c}:数据值。
    {d}:百分比。
    {e}:数据名。
    {f}:数据和。
    {g}:数据总个数。
    {h}:十六进制颜色值。
    {y}:Y轴的类目名。
    {value}:坐标轴或图例的值。
    以下通配符适用UITable组件:
    {name}: 表格的行名。
    {index}:表格的行号。
    以下通配符适用UIStatistc组件:
    {title}:标题文本。
    {dd}:天。
    {hh}:小时。
    {mm}:分钟。
    {ss}:秒。
    {fff}:毫秒。
    {d}:天。
    {h}:小时。
    {m}:分钟。
    {s}:秒。
    {f}:毫秒。
    示例:“{b}:{c}”

    LabelStyle.height

    float 0

    标签的高度。一般不用指定,不指定时则自动是文字的高度。

    LabelStyle.icon

    IconStyle

    图标样式。

    LabelStyle.numericFormatter

    string

    标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式:以date开头,用来格式化DateTime,常见格式有:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:date:yyyy-MM-dd HH:mm:ss
    时间格式:以time开头,用来格式化TimeSpan,常见格式有:d日,HH时,mm分,ss秒,fffffff小数部分。 需要Unity2018以上版本才支持格式化,并且里面的字符要转义。如:time:d.HH\:mm\:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    时间格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings
    注意:date和time格式需要v3.12.0以上版本才支持。

    LabelStyle.offset

    Vector3

    距离图形元素的偏移

    LabelStyle.Position

    [SerializeField]

    标签的位置。

    LabelStyle.rotate

    float

    文本的旋转。

    LabelStyle.show

    bool true

    是否显示文本标签。

    LabelStyle.textPadding

    TextPadding

    文本的边距。

    LabelStyle.textStyle

    TextStyle

    文本样式。

    LabelStyle.width

    float 0

    标签的宽度。一般不用指定,不指定时则自动是文字的宽度。

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    Legend

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    Legend.background

    ImageStyle v3.1.0

    背景图样式。

    Legend.colors

    List<Color>

    图例标记的颜色列表。

    Legend.data

    List<string>

    图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。

    Legend.formatter

    string

    不再使用,使用LabelStyle.formatter代替。

    Legend.icons

    List<Sprite>

    自定义的图例标记图形。

    Legend.iconType

    Legend.Type

    图例类型。

    可选:

    • Auto: 自动匹配。
    • Custom: 自定义图标。
    • EmptyCircle: 空心圆。
    • Circle: 圆形。
    • Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    • Triangle: 三角形。
    • Diamond: 菱形。
    • Candlestick: 烛台(可用于K线图)。

    Legend.itemAutoColor

    bool true

    图例标记的图形是否自动匹配颜色。

    Legend.itemGap

    float 10f

    图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。

    Legend.itemHeight

    float 12.0f

    图例标记的图形高度。

    Legend.itemOpacity

    float 1

    图例标记的图形的颜色透明度。

    Legend.itemWidth

    float 25.0f

    图例标记的图形宽度。

    Legend.labelStyle

    LabelStyle

    文本样式。

    Legend.location

    Location

    图例显示的位置。

    Legend.orient

    Orient

    布局方式是横还是竖。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    Legend.padding

    Padding v3.1.0

    图例标记和背景的间距。

    Legend.positions

    List<Vector3> v3.6.0

    图例标记的自定义位置列表。

    Legend.selectedMode

    Legend.SelectedMode

    选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。

    可选:

    • Multiple: 多选。
    • Single: 单选。
    • None: 无法选择。

    Legend.show

    bool true

    是否显示图例组件。

    Legend.textLimit

    TextLimit v3.10.0

    文本限制。

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    LegendTheme.unableColor

    Color

    文本颜色。

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    Level.depth

    int 0 v3.10.0

    层级深度。

    Level.itemStyle

    ItemStyle

    数据项样式。

    Level.label

    LabelStyle

    文本标签样式。

    Level.lineStyle

    LineStyle v3.10.0

    线条样式。

    Level.upperLabel

    LabelStyle

    上方的文本标签样式。

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    LevelStyle.levels

    List<Level>

    各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    LevelStyle.show

    bool false

    是否启用LevelStyle

    Line

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent

    LineArrow.arrow

    ArrowStyle

    箭头。

    LineArrow.position

    LineArrow.Position

    箭头位置。

    可选:

    • End: 末端箭头
    • Start: 头端箭头

    LineArrow.show

    bool

    是否显示箭头。

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    LineStyle.color

    Color32

    线的颜色。

    LineStyle.dashLength

    float 4 v3.8.1

    虚线的长度。默认0时为线条宽度的12倍。在折线图中代表分割段数的倍数。

    LineStyle.dotLength

    float 2 v3.8.1

    点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。

    LineStyle.gapLength

    float 2 v3.8.1

    点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。

    LineStyle.length

    float 0

    线长。

    LineStyle.opacity

    float 1

    线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。

    LineStyle.show

    bool true

    是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。

    LineStyle.toColor

    Color32

    线的渐变颜色(需要水平方向渐变时)。

    LineStyle.toColor2

    Color32

    线的渐变颜色2(需要水平方向三个渐变色的渐变时)。

    LineStyle.type

    LineStyle.Type

    线的类型。

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    LineStyle.width

    float 0

    线宽。

    Location

    class in XCharts.Runtime / 继承自: ChildComponent, IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    Location.align

    Location.Align

    对齐方式。

    可选:

    • TopLeft: 对齐方式
    • TopRight: 对齐方式
    • TopCenter: 对齐方式
    • BottomLeft: 对齐方式
    • BottomRight: 对齐方式
    • BottomCenter: 对齐方式
    • Center: 对齐方式
    • CenterLeft: 对齐方式
    • CenterRight: 对齐方式

    Location.bottom

    float

    离容器下侧的距离。

    Location.left

    float

    离容器左侧的距离。

    Location.right

    float

    离容器右侧的距离。

    Location.top

    float

    离容器上侧的距离。

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis, Background, Comment, DataZoom, Legend, MarkArea, MarkLine, Settings, Title, Tooltip, VisualMap, GridLayout, CoordSystem

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    MarkArea.end

    MarkAreaData

    标域范围的结束数据。

    MarkArea.itemStyle

    ItemStyle

    标域样式。

    MarkArea.label

    LabelStyle

    标域文本样式。

    MarkArea.serieIndex

    int 0

    Serie index of markArea. 标域影响的Serie索引。

    MarkArea.show

    bool true

    是否显示标域。

    MarkArea.start

    MarkAreaData

    标域范围的起始数据。

    MarkArea.text

    string

    The text of markArea. 标域显示的文本。

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    MarkAreaData.dimension

    int 1

    从哪个维度的数据计算最大最小值等。

    MarkAreaData.name

    string

    标注名称。会作为文字显示。

    MarkAreaData.type

    MarkAreaType

    特殊的标域类型,用于标注最大值最小值等。

    可选:

    • None: 标域类型
    • Min: 最小值。
    • Max: 最大值。
    • Average: 平均值。
    • Median: 中位数。

    MarkAreaData.xPosition

    float

    相对原点的 x 坐标,单位像素。当type为None时有效。

    MarkAreaData.xValue

    double

    X轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkAreaData.yPosition

    float

    相对原点的 y 坐标,单位像素。当type为None时有效。

    MarkAreaData.yValue

    double

    Y轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    MarkLine.animation

    AnimationStyle

    标线的动画样式。

    MarkLine.data

    List<MarkLineData>

    标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLine.onTop

    bool true v3.9.0

    是否在最上层。

    MarkLine.serieIndex

    int 0

    标线影响的Serie索引。

    MarkLine.show

    bool true

    是否显示标线。

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    MarkLineData.dimension

    int 1

    从哪个维度的数据计算最大最小值等。

    MarkLineData.endSymbol

    SymbolStyle

    结束点的图形标记。

    MarkLineData.group

    int 0

    分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。

    MarkLineData.label

    LabelStyle

    文本样式。可设置position为Start、Middle和End在不同的位置显示文本。

    MarkLineData.lineStyle

    LineStyle

    标线样式。

    MarkLineData.name

    string

    标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。

    MarkLineData.startSymbol

    SymbolStyle

    起始点的图形标记。

    MarkLineData.type

    MarkLineType

    特殊的标线类型,用于标注最大值最小值等。

    可选:

    • None: 标线类型
    • Min: 最小值。
    • Max: 最大值。
    • Average: 平均值。
    • Median: 中位数。

    MarkLineData.xPosition

    float

    相对原点的 x 坐标,单位像素。当type为None时有效。

    MarkLineData.xValue

    double

    X轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLineData.yPosition

    float

    相对原点的 y 坐标,单位像素。当type为None时有效。

    MarkLineData.yValue

    double

    Y轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLineData.zeroPosition

    bool false

    是否为坐标系原点。

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    MarqueeStyle.apply

    bool false v3.5.0

    选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。

    MarqueeStyle.areaStyle

    AreaStyle v3.5.0

    选取框区域填充样式。

    MarqueeStyle.lineStyle

    LineStyle v3.5.0

    选取框区域边框样式。

    MarqueeStyle.realRect

    bool false v3.5.0

    是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    MLValue.type

    MLValue.Type

    可选:

    • Percent: 百分比形式。
    • Absolute: 绝对值形式。
    • Extra: 额外形式。

    MLValue.value

    float

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    Padding.bottom

    float 0

    底部间距。

    Padding.left

    float 2f

    左边间距。

    Padding.right

    float 2f

    右部间距。

    Padding.show

    bool true

    show padding. 是否显示。

    Padding.top

    float 0

    顶部间距。

    Parallel

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    ParallelCoord.backgroundColor

    Color

    网格背景色,默认透明。

    ParallelCoord.bottom

    float 0.12f

    grid 组件离容器下侧的距离。

    ParallelCoord.left

    float 0.1f

    grid 组件离容器左侧的距离。

    ParallelCoord.orient

    Orient

    坐标轴朝向。默认为垂直朝向。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    ParallelCoord.right

    float 0.08f

    grid 组件离容器右侧的距离。

    ParallelCoord.show

    bool true

    是否显示直角坐标系网格。

    ParallelCoord.top

    float 0.22f

    grid 组件离容器上侧的距离。

    Pie

    class in XCharts.Runtime / 继承自: Serie

    Pie.radiusGradient

    bool false v3.8.1

    是否开启半径方向的渐变效果。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    PolarCoord.backgroundColor

    Color

    极坐标的背景色,默认透明。

    PolarCoord.center

    float[]

    极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。

    PolarCoord.indicatorLabelOffset

    float 30f v3.8.0

    指示器标签的偏移量。

    PolarCoord.radius

    float[]

    半径。radius[0]表示内径,radius[1]表示外径。

    PolarCoord.show

    bool true

    是否显示极坐标。

    Radar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    Radar.smooth

    bool false v3.2.0

    是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    Ring

    class in XCharts.Runtime / 继承自: Serie

    Ring.radiusGradient

    bool false v3.12.0

    是否开启半径方向的渐变效果。

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie, IComparable / 子类: SerieHandler<T>, Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Pie, Radar, Ring, BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    Serie.align

    Align

    组件水平方向对齐方式。

    可选:

    • Center: 对齐方式。文本,图标,图形等的对齐方式。
    • Left: 对齐方式。文本,图标,图形等的对齐方式。
    • Right: 对齐方式。文本,图标,图形等的对齐方式。

    Serie.animation

    AnimationStyle

    起始动画。

    Serie.avoidLabelOverlap

    bool false

    在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。

    Serie.barGap

    float 0.1f

    不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。

    Serie.barMaxWidth

    float 0 v3.5.0

    柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。

    Serie.barPercentStack

    bool false

    柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。

    Serie.barType

    BarType

    柱形图类型。

    可选:

    • Normal: 普通柱形图。
    • Zebra: 斑马柱形图。
    • Capsule: 胶囊柱形图。

    Serie.barWidth

    float 0

    柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。

    Serie.barZebraGap

    float 2f

    斑马线的间距。

    Serie.barZebraWidth

    float 4f

    斑马线的粗细。

    Serie.bottom

    float

    组件离容器下侧的距离。

    Serie.center

    float[]

    中心点。

    Serie.clickOffset

    bool true

    鼠标点击时是否开启偏移,一般用在PieChart图表中。

    Serie.clip

    bool false

    是否裁剪超出坐标系部分的图形。

    Serie.clockwise

    bool true

    是否顺时针。

    Serie.colorBy

    SerieColorBy v3.2.0

    从主题中取色的策略。

    可选:

    • Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略。
    • Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    • Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。

    Serie.coordSystem

    string

    使用的坐标系。

    Serie.data

    List<SerieData>

    系列中的数据内容数组。SerieData可以设置1到n维数据。

    Serie.dataSortType

    SerieDataSortType

    组件的数据排序。

    可选:

    • None: 按数据的顺序。
    • Ascending: 升序。
    • Descending: 降序。

    Serie.endAngle

    float

    结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。

    Serie.gap

    float

    间距。

    Serie.gridIndex

    int -1 v3.8.0

    所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。

    Serie.ignore

    bool false

    是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。

    Serie.ignoreLineBreak

    bool false

    忽略数据时折线是断开还是连接。默认false为连接。

    Serie.ignoreValue

    double 0

    忽略数据的默认值。当ignore为true才有效。

    Serie.index

    int

    系列索引。

    Serie.insertDataToHead

    bool

    添加新数据时是在列表的头部还是尾部加入。

    Serie.itemStyle

    ItemStyle

    图形样式。

    Serie.large

    bool true

    是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。

    Serie.largeThreshold

    int 200

    开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。

    Serie.left

    float

    组件离容器左侧的距离。

    Serie.lineStyle

    LineStyle

    线条样式。

    Serie.lineType

    LineType

    折线图样式类型。

    可选:

    • Normal: 普通折线图。
    • Smooth: 平滑曲线。
    • StepStart: 阶梯线图:当前点。
    • StepMiddle: 阶梯线图:当前点和下一个点的中间。
    • StepEnd: 阶梯线图:下一个拐点。

    List<SerieDataLink>

    数据节点的边。

    Serie.max

    float

    最大值。

    Serie.maxCache

    int

    系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。

    Serie.maxShow

    int

    系列所显示数据的最大索引

    Serie.maxSize

    float 1f

    数据最大值 max 映射的宽度。

    Serie.min

    float

    最小值。

    Serie.minAngle

    float

    最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。

    Serie.minRadius

    float 0f v3.8.0

    最小半径。可用于限制玫瑰图的最小半径。

    Serie.minShow

    int

    系列所显示数据的最小索引

    Serie.minShowLabel

    bool false v3.10.0

    是否开启值小于指定值minShowLabelValue时不显示标签。

    Serie.minShowLabelValue

    double 0 v3.10.0

    当开启minShowLabel时,值小于该值时不显示标签。

    Serie.minSize

    float 0f

    数据最小值 min 映射的宽度。

    Serie.orient

    Orient

    组件的朝向。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    Serie.parallelIndex

    int 0

    所使用的 parallel coord 组件的 index。

    Serie.placeHolder

    bool false

    占位模式。占位模式时,数据有效但不参与渲染和显示。

    Serie.polarIndex

    int 0

    所使用的 polar 组件的 index。

    Serie.radarIndex

    int 0

    雷达图所使用的 radar 组件的 index。

    Serie.radarType

    RadarType

    雷达图类型。

    可选:

    • Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    • Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]

    Serie.radius

    float[]

    半径。radius[0]表示内径,radius[1]表示外径。

    Serie.right

    float

    组件离容器右侧的距离。

    Serie.roseType

    RoseType

    是否展示成南丁格尔图,通过半径区分数据大小。

    可选:

    • None: 不展示成南丁格尔玫瑰图。
    • Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    • Area: 所有扇区圆心角相同,仅通过半径展现数据大小。

    Serie.roundCap

    bool

    是否开启圆弧效果。

    Serie.sampleAverage

    float 0

    设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。

    Serie.sampleDist

    float 0

    采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。

    Serie.sampleType

    SampleType

    采样类型。当sampleDist大于0时有效。

    可选:

    • Peak: 取峰值。
    • Average: 取过滤点的平均值。
    • Max: 取过滤点的最大值。
    • Min: 取过滤点的最小值。
    • Sum: 取过滤点的和。

    Serie.serieName

    string

    系列名称,用于 tooltip 的显示,legend 的图例筛选。

    Serie.serieType

    string

    系列类型。

    Serie.show

    bool true

    系列是否显示在图表上。

    Serie.showAsPositiveNumber

    bool false

    将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。

    Serie.showDataDimension

    int

    数据项里的数据维数。

    Serie.showDataName

    bool

    在Editor的inpsector上是否显示name参数

    Serie.singleAxisIndex

    int 0

    所使用的 singleAxis 组件的 index。

    Serie.smoothLimit

    bool false v3.4.0

    是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。

    Serie.splitNumber

    int

    刻度分割段数。最大可设置36。

    Serie.stack

    string

    数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。

    Serie.startAngle

    float

    起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。

    Serie.state

    SerieState v3.2.0

    系列的默认状态。

    可选:

    • Normal: 正常状态。
    • Emphasis: 高亮状态。
    • Blur: 淡出状态。
    • Select: 选中状态。
    • Auto: 自动保持和父节点一致。一般用在SerieData。

    Serie.symbol

    SerieSymbol

    标记的图形。

    Serie.top

    float

    组件离容器上侧的距离。

    Serie.vesselIndex

    int 0

    水位图所使用的 vessel 组件的 index。

    Serie.xAxisIndex

    int 0

    使用X轴的index。

    Serie.yAxisIndex

    int 0

    使用Y轴的index。

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    SerieData.data

    List<double>

    可指定任意维数的数值列表。

    SerieData.id

    string

    数据项的唯一id。唯一id不是必须设置的。

    SerieData.ignore

    bool

    是否忽略数据。当为 true 时,数据不进行绘制。

    SerieData.index

    int

    数据项索引。

    SerieData.name

    string

    数据项名称。

    SerieData.parentId

    string

    父节点id。父节点id不是必须设置的。

    SerieData.radius

    float

    自定义半径。可用在饼图中自定义某个数据项的半径。

    SerieData.selected

    bool

    该数据项是否被选中。

    SerieData.state

    SerieState v3.2.0

    数据项的默认状态。

    可选:

    • Normal: 正常状态。
    • Emphasis: 高亮状态。
    • Blur: 淡出状态。
    • Select: 选中状态。
    • Auto: 自动保持和父节点一致。一般用在SerieData。

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    数据节点之间的连线。可用于桑基图等,桑基图只支持有向无环图,请保证数据的连线是有向无环图。

    SerieDataLink.source

    string

    边的源节点名称。

    SerieDataLink.target

    string

    边的目标节点名称。

    SerieDataLink.value

    double

    边的值。决定边的宽度。

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle, ISerieDataComponent

    系列数据项的标记的图形

    SerieSymbol.dataIndex

    int 1

    当sizeType指定为FromData时,指定的数据源索引。

    SerieSymbol.dataScale

    float 1

    当sizeType指定为FromData时,指定的倍数系数。

    SerieSymbol.forceShowLast

    bool false

    是否强制显示最后一个图形标记。

    SerieSymbol.interval

    int

    显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。

    SerieSymbol.maxSize

    float 0f v3.3.0

    图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieSymbol.minSize

    float 0f v3.3.0

    图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieSymbol.repeat

    bool false

    图形是否重复。

    SerieSymbol.sizeFunction

    SymbolSizeFunction

    当sizeType指定为Function时,指定的委托函数。

    SerieSymbol.sizeType

    SymbolSizeType

    标记图形的大小获取方式。

    可选:

    • Custom: 自定义大小。
    • FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    • Function: 通过委托函数获取。

    SerieSymbol.startIndex

    int

    开始显示图形标记的索引。

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    SerieTheme.candlestickBorderColor

    Color32 Color32(235, 84, 84, 255)

    K线图阳线(跌)边框色

    SerieTheme.candlestickBorderColor0

    Color32 Color32(71, 178, 98, 255)

    K线图阴线(跌)边框色

    SerieTheme.candlestickBorderWidth

    float 1

    K线图边框宽度

    SerieTheme.candlestickColor

    Color32 Color32(235, 84, 84, 255)

    K线图阳线(涨)填充色

    SerieTheme.candlestickColor0

    Color32 Color32(71, 178, 98, 255)

    K线图阴线(跌)填充色

    SerieTheme.lineSymbolSize

    float

    折线图的Symbol大小。

    SerieTheme.lineWidth

    float

    文本颜色。

    SerieTheme.scatterSymbolSize

    float

    散点图的Symbol大小。

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    Settings.axisMaxSplitNumber

    float 50 v3.1.0

    坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    Settings.basePainterMaterial

    Material

    Base Pointer 材质球,设置后会影响Axis等。

    Settings.cicleSmoothness

    float 2f

    圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。

    Settings.legendIconCornerRadius

    float[]

    图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    Settings.legendIconLineWidth

    float 2

    Line类型图例图标的线条宽度。

    Settings.lineSegmentDistance

    float 3f

    线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。

    Settings.lineSmoothness

    float 2f

    When the area with gradient is filled, the larger the value, the worse the transition effect.

    Settings.lineSmoothStyle

    float 2.5f

    曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。

    Settings.maxPainter

    int 10

    设定的painter数量。

    Settings.reversePainter

    bool false

    Painter是否逆序。逆序时index大的serie最先绘制。

    Settings.seriePainterMaterial

    Material

    Serie Pointer 材质球,设置后会影响所有Serie。

    Settings.show

    bool true

    Settings.topPainterMaterial

    Material

    Top Pointer 材质球。

    Settings.upperPainterMaterial

    Material

    Upper Pointer 材质球。

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis, IUpdateRuntimeData

    单轴。

    SingleAxis.bottom

    float 0.2f

    组件离容器下侧的距离。

    SingleAxis.height

    float 50

    坐标轴高。

    SingleAxis.left

    float 0.1f

    组件离容器左侧的距离。

    SingleAxis.orient

    Orient

    坐标轴朝向。默认为水平朝向。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    SingleAxis.right

    float 0.1f

    组件离容器右侧的距离。

    SingleAxis.top

    float 0f

    组件离容器上侧的距离。

    SingleAxis.width

    float 0

    坐标轴宽。

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    StageColor.color

    Color32

    颜色。

    StageColor.percent

    float

    结束位置百分比。

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle, EmphasisStyle, SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    StateStyle.areaStyle

    AreaStyle

    区域样式。

    StateStyle.itemStyle

    ItemStyle

    图形样式。

    StateStyle.label

    LabelStyle

    图形文本标签。

    StateStyle.labelLine

    LabelLine

    图形文本引导线样式。

    StateStyle.lineStyle

    LineStyle

    折线样式。

    StateStyle.show

    bool true

    是否启用高亮样式。

    StateStyle.symbol

    SerieSymbol

    标记样式。

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    SymbolStyle.color

    Color32

    图形的颜色。

    SymbolStyle.gap

    float 0

    图形标记和线条的间隙距离。

    SymbolStyle.height

    float 0f

    图形的高。

    SymbolStyle.image

    Sprite

    自定义的标记图形。

    SymbolStyle.imageType

    Image.Type

    图形填充类型。

    SymbolStyle.offset

    Vector2 Vector2.zero

    图形的偏移。

    SymbolStyle.show

    bool true

    是否显示标记。

    SymbolStyle.size

    float 0f

    标记的大小。

    SymbolStyle.type

    SymbolType

    标记类型。

    可选:

    • None: 不显示标记。
    • Custom: 自定义标记。
    • Circle: 圆形。
    • EmptyCircle: 空心圆。
    • Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    • EmptyRect: 空心正方形。
    • Triangle: 三角形。
    • EmptyTriangle: 空心三角形。
    • Diamond: 菱形。
    • EmptyDiamond: 空心菱形。
    • Arrow: 箭头。
    • EmptyArrow: 空心箭头。
    • Plus: 加号。
    • Minus: 减号。

    SymbolStyle.width

    float 0f

    图形的宽。

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    TextLimit.enable

    bool false

    是否启用文本自适应。 [default:true]

    TextLimit.gap

    float 1

    两边留白像素距离。 [default:10f]

    TextLimit.maxWidth

    float 0

    Clipping occurs when the width of the text is greater than this value.

    TextLimit.suffix

    string

    长度超出时的后缀。 [default: "..."]

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    TextStyle.alignment

    TextAnchor

    对齐方式。

    TextStyle.autoAlign

    bool true

    文本是否让系统自动选对齐方式。为false时才会用alignment。

    TextStyle.autoColor

    bool false

    是否开启自动颜色。当开启时,会自动设置颜色。

    TextStyle.autoWrap

    bool false

    是否自动换行。

    TextStyle.color

    Color

    文本的颜色。 [default: Color.clear]

    TextStyle.font

    Font

    文本字体。 [default: null]

    TextStyle.fontSize

    int 0

    文本字体大小。 [default: 18]

    TextStyle.fontStyle

    FontStyle

    文本字体的风格。 [default: FontStyle.Normal]

    TextStyle.lineSpacing

    float 1f

    行间距。 [default: 1f]

    TextStyle.rotate

    float 0

    文本的旋转。 [default: 0f]

    TextStyle.show

    bool true

    文本的相关设置。

    TextStyle.tMPAlignment

    TextAlignmentOptions

    TextStyle.tMPFont

    TMP_FontAsset

    TextMeshPro字体。

    TextStyle.tMPFontStyle

    FontStyles

    TextStyle.tMPSpriteAsset

    TMP_SpriteAsset v3.1.0

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    Theme.axis

    AxisTheme

    Theme.backgroundColor

    Color32

    背景颜色。

    Theme.colorPalette

    List<Color32>

    调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。

    Theme.common

    ComponentTheme

    Theme.contrastColor

    Color32

    对比色。

    Theme.dataZoom

    DataZoomTheme

    Theme.font

    Font

    主题字体。

    Theme.legend

    LegendTheme

    Theme.serie

    SerieTheme

    Theme.subTitle

    SubTitleTheme

    Theme.themeName

    string

    主题名称。

    Theme.themeType

    ThemeType

    主题类型。

    可选:

    • Default: 默认主题。
    • Light: 亮主题。
    • Dark: 暗主题。
    • Custom: 自定义主题。

    Theme.title

    TitleTheme

    Theme.tMPFont

    TMP_FontAsset

    主题字体。

    Theme.tooltip

    TooltipTheme

    Theme.visualMap

    VisualMapTheme

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    ThemeStyle.customBackgroundColor

    Color32

    自定义的背景颜色。

    ThemeStyle.customColorPalette

    List<Color32>

    ThemeStyle.customFont

    Font

    ThemeStyle.enableCustomTheme

    bool false

    是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。

    ThemeStyle.sharedTheme

    Theme

    主题配置。

    ThemeStyle.show

    bool true

    ThemeStyle.transparentBackground

    bool false

    是否透明背景颜色。当设置为true时,不绘制背景颜色。

    Title

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    标题组件,包含主标题和副标题。

    Title.itemGap

    float 0

    主副标题之间的间距。

    Title.labelStyle

    LabelStyle

    主标题文本样式。

    Title.location

    Location

    标题显示位置。

    Title.show

    bool true

    是否显示标题组件。

    Title.subLabelStyle

    LabelStyle

    副标题文本样式。

    Title.subText

    string

    副标题文本,支持使用 \n 换行。

    Title.text

    string

    主标题文本,支持使用 \n 换行。

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle, ISerieDataComponent, ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    Tooltip.alwayShowContent

    bool false

    是否触发后一直显示提示框浮层。

    Tooltip.backgroundColor

    Color

    提示框的背景颜色。

    Tooltip.backgroundImage

    Sprite

    提示框的背景图片。

    Tooltip.backgroundType

    Image.Type

    提示框的背景图片显示类型。

    Tooltip.borderColor

    Color32 Color32(230, 230, 230, 255)

    边框颜色。

    Tooltip.borderWidth

    float 2f

    边框线宽。

    Tooltip.contentLabelStyles

    List<LabelStyle>

    内容部分的文本样式列表。和列一一对应。

    Tooltip.fixedHeight

    float 0

    固定高度。比 minHeight 优先。

    Tooltip.fixedWidth

    float 0

    固定宽度。比 minWidth 优先。

    Tooltip.fixedX

    float 0f

    固定X位置的坐标。

    Tooltip.fixedY

    float 0.7f

    固定Y位置的坐标。

    Tooltip.ignoreDataDefaultContent

    string

    被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。

    Tooltip.ignoreDataShow

    bool false

    是否显示忽略数据在tooltip上。

    Tooltip.itemFormatter

    string

    提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用|来表示多个列的分隔。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {i}或-表示忽略当前项。 {.}为当前所指示的serie或数据项的对应颜色的圆点。
    {a}为当前所指示的serie或数据项的系列名name。
    {b}为当前所指示的serie或数据项的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示的serie或数据项的y维(dimesion为1)的数值。
    {d}为当前所指示的serie或数据项的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示的serie或数据项的数据项serieData的name。
    {f}为当前所指示的serie的默认维度的数据总和。
    {g}为当前所指示的serie的数据总个数。
    {h}为当前所指示的serie的十六进制颜色值。
    {y}为当前所指示的serie的y轴的类目值。
    {c0}表示当前数据项维度为0的数据。
    {c1}表示当前数据项维度为1的数据。
    {d3}表示维度3的数据的百分比。它的分母是默认维度(一般是1维度)数据。
    |表示多个列的分隔。
    示例:"{i}", "{.}|{a}|{c}", "{.}|{b}|{c2:f2}", "{.}|{b}|{y}"

    Tooltip.itemHeight

    float 25f

    数据项文本的高。

    Tooltip.lineStyle

    LineStyle

    指示线样式。

    Tooltip.marker

    string

    serie的符号标志。

    Tooltip.minHeight

    float 0

    最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。

    Tooltip.minWidth

    float 0

    最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。

    Tooltip.numericFormatter

    string

    标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式:以date开头,用来格式化DateTime,常见格式有:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:date:yyyy-MM-dd HH:mm:ss
    时间格式:以time开头,用来格式化TimeSpan,常见格式有:d日,HH时,mm分,ss秒,fffffff小数部分。 需要Unity2018以上版本才支持格式化,并且里面的字符要转义。如:time:d.HH\:mm\:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    时间格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings
    注意:date和time格式需要v3.12.0以上版本才支持。

    Tooltip.offset

    Vector2 Vector2(18f, -25f)

    提示框相对于鼠标位置的偏移。

    Tooltip.paddingLeftRight

    int 10

    左右边距。

    Tooltip.paddingTopBottom

    int 10

    上下边距。

    Tooltip.position

    Tooltip.Position v3.3.0

    显示位置类型。

    可选:

    • Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    • Custom: 自定义。完全自定义显示位置(x,y)。
    • FixedX: 只固定坐标X。Y跟随鼠标位置。
    • FixedY:

    Tooltip.show

    bool true

    是否显示提示框组件。

    Tooltip.showContent

    bool true

    是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。

    Tooltip.titleFormatter

    string

    提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {y}为value所对应的y轴的类目值。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"

    Tooltip.titleHeight

    float 25f

    标题文本的高。

    Tooltip.titleLabelStyle

    LabelStyle

    标题的文本样式。

    Tooltip.trigger

    Tooltip.Trigger

    触发类型。

    可选:

    • Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    • Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    • None: 什么都不触发。
    • Auto: 根据serie的类型自动选择触发类型。

    Tooltip.triggerOn

    Tooltip.TriggerOn v3.11.0

    触发条件。

    可选:

    • MouseMove: 鼠标移动时触发。
    • Click: 鼠标点击时触发。

    Tooltip.type

    Tooltip.Type

    提示框指示器类型。

    可选:

    • Line: 直线指示器
    • Shadow: 阴影指示器
    • None: 无指示器
    • Cross: 十字准星指示器。坐标轴显示Label和交叉线。
    • Auto: 根据serie的类型自动选择显示指示器。

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    TooltipTheme.areaColor

    Color32

    区域指示的颜色。

    TooltipTheme.labelBackgroundColor

    Color32

    十字指示器坐标轴标签的背景颜色。

    TooltipTheme.labelTextColor

    Color32

    十字指示器坐标轴标签的文本颜色。

    TooltipTheme.lineColor

    Color32

    指示线颜色。

    TooltipTheme.lineType

    LineStyle.Type

    坐标轴线类型。

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    TooltipTheme.lineWidth

    float 1f

    指示线线宽。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    UIComponentTheme.sharedTheme

    Theme

    主题配置。

    UIComponentTheme.show

    bool true

    UIComponentTheme.transparentBackground

    bool false

    ViewControl

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.11.0 开始支持

    3D视角控制组件。

    ViewControl.alpha

    float 90f

    视角在x-z平面的角度。

    ViewControl.beta

    float 55f

    视角在y-z平面的角度。

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    VisualMap.autoMinMax

    bool true

    Automatically set min, Max value 自动设置min,max的值

    VisualMap.borderWidth

    float 0

    边框线宽,单位px。

    VisualMap.calculable

    bool false

    是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。

    VisualMap.dimension

    int -1

    Starting at 1, the default is 0 to take the last dimension in data.

    bool true

    Conversely, when the mouse hovers over a graphic element in a diagram, the corresponding value of the visualMap component is triangulated in the corresponding position.

    VisualMap.inRange

    List<VisualMapRange>

    分段式每一段的相关配置。

    VisualMap.itemGap

    float 10f

    每个图元之间的间隔距离。

    VisualMap.itemHeight

    float 140f

    图形的高度,即颜色条的高度。

    VisualMap.itemWidth

    float 20f

    图形的宽度,即颜色条的宽度。

    VisualMap.location

    Location

    组件显示的位置。

    VisualMap.max

    double 0

    范围最大值

    VisualMap.min

    double 0

    范围最小值

    VisualMap.orient

    Orient

    布局方式是横还是竖。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    VisualMap.outOfRange

    List<VisualMapRange>

    定义 在选中范围外 的视觉颜色。

    VisualMap.range

    double[]

    指定手柄对应数值的位置。range 应在[min,max]范围内。

    VisualMap.realtime

    bool true

    拖拽时,是否实时更新。

    VisualMap.selectedMode

    VisualMap.SelectedMode

    选择模式。

    可选:

    • Multiple: 多选。
    • Single: 单选。

    VisualMap.serieIndex

    int 0

    影响的serie索引。

    VisualMap.show

    bool true

    组件是否生效。

    VisualMap.showUI

    bool false

    是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。

    VisualMap.splitNumber

    int 5

    对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。

    VisualMap.text

    string[]

    两端的文本,如 ['High', 'Low']

    VisualMap.textGap

    float[]

    两端文字主体之间的距离,单位为px。

    VisualMap.type

    VisualMap.Type

    组件类型。

    可选:

    • Continuous: 连续型。
    • Piecewise: 分段型。

    VisualMap.workOnArea

    bool false

    组件是否对LineChart的AreaStyle有效。

    VisualMap.workOnLine

    bool true

    组件是否对LineChart的LineStyle有效。

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    VisualMapRange.color

    Color32

    颜色

    VisualMapRange.label

    string

    文字描述

    VisualMapRange.max

    double

    范围最大值

    VisualMapRange.min

    double

    范围最小值

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    VisualMapTheme.backgroundColor

    Color32

    背景颜色。

    VisualMapTheme.borderColor

    Color32

    边框颜色。

    VisualMapTheme.borderWidth

    float

    边框线宽。

    VisualMapTheme.triangeLen

    float 20f

    可视化组件的调节三角形边长。

    Wrapper<T>

    class in XCharts.Runtime

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    XAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    class in XCharts.Runtime

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    XCSettings.axisLineType

    LineStyle.Type

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    XCSettings.axisLineWidth

    float 0.8f

    XCSettings.axisSplitLineType

    LineStyle.Type

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    XCSettings.axisSplitLineWidth

    float 0.8f

    XCSettings.axisTickLength

    float 5f

    XCSettings.axisTickWidth

    float 0.8f

    XCSettings.cicleSmoothness

    float 2f

    XCSettings.customThemes

    List<Theme>

    XCSettings.dataZoomBorderWidth

    float 0.5f

    XCSettings.dataZoomDataLineWidth

    float 0.5f

    XCSettings.editorShowAllListData

    bool false

    XCSettings.font

    Font

    XCSettings.fontSizeLv1

    int 28

    一级字体大小。

    XCSettings.fontSizeLv2

    int 24

    XCSettings.fontSizeLv3

    int 20

    XCSettings.fontSizeLv4

    int 18

    XCSettings.gaugeAxisLineWidth

    float 15f

    XCSettings.gaugeAxisSplitLineLength

    float 15f

    XCSettings.gaugeAxisSplitLineWidth

    float 0.8f

    XCSettings.gaugeAxisTickLength

    float 5f

    XCSettings.gaugeAxisTickWidth

    float 0.8f

    XCSettings.lang

    Lang

    XCSettings.lineSegmentDistance

    float 3f

    XCSettings.lineSmoothness

    float 2f

    XCSettings.lineSmoothStyle

    float 3f

    XCSettings.maxPainter

    int 10

    XCSettings.serieCandlestickBorderWidth

    float 1f

    XCSettings.serieLineSymbolSize

    float 5f

    XCSettings.serieLineWidth

    float 1.8f

    XCSettings.serieScatterSymbolSize

    float 20f

    XCSettings.serieSelectedRate

    float 1.3f

    XCSettings.tMPFont

    TMP_FontAsset

    XCSettings.tootipLineWidth

    float 0.8f

    XCSettings.visualMapBorderWidth

    float 0f

    XCSettings.visualMapTriangeLen

    float 20f

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    YAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    ZAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    Was this helpful?
    + + \ No newline at end of file diff --git a/en/docs/extra/index.html b/en/docs/extra/index.html index ccee5a48..6395c368 100644 --- a/en/docs/extra/index.html +++ b/en/docs/extra/index.html @@ -14,13 +14,13 @@ 扩展图表 | XCharts - - + +
    Version: v3.12.0

    扩展图表

    XCharts的扩展图表。

    支持的扩展图表

    扩展图表如何导入到XCharts-Demo

    Pie3DChart 为例:

    1. 购买图表:购买扩展图表后,Github找到仓库 XCharts-Pie3DChart(私有仓库,购买后加入Team才可见)
    2. 下载图表:选择和XCharts最接近的版本
    3. 导入图表:将下载好的XCharts-Pie3DChart目录覆盖到XCharts-Demo项目中的Packages/XCharts-Pie3DChart
    4. 下载图表Demo:Github找到仓库 XCharts-Pie3DChart-Demo并下载
    5. 导入图表Demo:将下载好的XCharts-Pie3DChart-Demo目录覆盖到XCharts-Demo项目中的Assets/XChartsExtensionDemo/XCharts-Pie3DChart-Demo

    扩展图表如何导入自己的项目中

    Pie3DChart 为例:

    1. 先确保项目中已导入XCharts
    2. 再导入XCharts-Pie3DChart即可,不需要导入XCharts-Pie3DChart-Demo(如果要导入的话需要Unity版本接近2019.4.39f1)
    - - + + \ No newline at end of file diff --git a/en/docs/faq/index.html b/en/docs/faq/index.html index e56ce3e0..01ed410a 100644 --- a/en/docs/faq/index.html +++ b/en/docs/faq/index.html @@ -14,8 +14,8 @@ 常见问题 | XCharts - - + +
    @@ -54,7 +54,7 @@ FAQ 33:折线图如何两边不留空白而从0坐标开始显示?
    FAQ 34:如何设置部分Serie不显示Tooltip?

    如何调整坐标轴与背景的边距

    调整Grid组件,可调整上下左右边距。

    如何让初始动画重新播放

    调用chart.AnimationReset()接口。

    如何自定义折线图饼图的颜色

    通过ThemecolorPalette调整,或者部分Serie下的LineStyleItemStyle

    如何给坐标轴上的文本加上单位

    通过formatternumericFormatter参数,在LegendAxisAxisLabelTooltopSerieLabel都提供该参数的配置。

    如何让柱形图的柱子堆叠显示

    设置Serie下的stackstack相同的serie会堆叠显示在一个柱子上。

    如何让柱形图的柱子同柱但不重叠

    设置Serie下的barGap-1stack为空。

    如何调整柱形图的柱子宽度和间距

    调整Serie下的barWidthbarGap,多个serie时最后一个seriebarWidthbarGap有效。

    如何调整柱形图单个柱子的颜色

    可通过调整单个Data下的ItemStyle调整,也可以通过两个serie同柱不堆叠来实现,通过设置数据项为0来达到类似效果。

    如何调整图表的对齐方式

    调整RectTransform的锚点,和UGUI的其他组件的用法一致。

    可以显示超过1000以上的大数据吗

    可以。但UGUI对单个Graphic限制65000个顶点,所以太多的数据不一定能显示完全。可通过设置采样距离sampleDist开启采样简化过密曲线。也可以通过设置一些参数来减少图表的顶点数有助于显示更多数据。如缩小图表的尺寸,关闭或减少坐标轴的客户端绘制,关闭Seriesymbollabel显示等。折线图的普通线图Normal比平滑线图Smooth占用顶点数更少。1.5.0以上版本可以设置largelargeThreshold参数来开启性能模式。

    折线图可以画虚线点线点划线吗

    可以。通过Serie下的lineType选择线条样式。当要显示的数据过多(成千以上)数据间过密时建议使用Normal或者Step样式。

    如何限定y轴的值范围

    设置Axis下的minMaxTypeCustom,自定义minmax

    如何自定义数值轴刻度大小

    默认时通过Axis下的splitNumer进行自动划分。也可以设置interval自定义刻度大小。

    如何在数据项顶上显示文本

    通过设置Serie下的Label。3.0版本需要先添加LabelStyle组件。

    如何给数据项自定义图标

    通过设置Seriedata下的数据项可单独设置icon相关参数。

    锯齿太严重如何让图表更顺滑

    开启抗锯齿设置(在Unity里设置)。调整UI渲染模式为Camera模式,开启MSAA,设置4倍或更高抗锯齿。

    为什么鼠标移上图表tooltip不显示

    确认Tooltip是否开启;确认父节点是否关闭了鼠标事件。

    如何取消tooltip的竖线

    设置TooltiptypeNone。或者调整lineStyle的参数。

    如何自定义tooltip的显示内容

    自定义总的内容可以通过Tooltipformatter。如果只是想调整所有的serie的显示格式可以用itemFormattertitleFormatter结合。如果想每个serie的显示格式不一样,可以定制serieitemStyle里的tooltipFormatter。具体的用法请查阅XCharts配置项手册

    如何让y轴显示多位小数

    设置Axis下的AxisLabel中的formatter{value:f1}{value:f2}1.5.0及以上版本通过numericFormatter设置。

    如何用代码动态更新数据

    请查阅Example下的代码,Example13_LineSimple.cs就是一个简单添加数据构建折线图的例子,其他Demo也都是通过代码控制不同的组件实现不同的功能,相关API请查看文档:XChartsAPI接口

    如何显示图例为什么有时候图例无法显示

    首先,你的serie里的name需有值不为空。然后开启Legend显示,里面的data可以默认为空,表示显示所有的图例。如果你只想显示部分serie的图例,在data中填入要显示的图例的name即可。如果data中的值都不是系列的name,那图例就不会显示。

    如何做成预设

    做成prefab前,执行一下Rebuild Chart Object重新刷新节点,避免有冗余的节点存在。

    如何在图表上画点画线等自定义内容

    XCharts有自定义绘制回调onCustomDraw,具体可参考Example12_CustomDrawing.cs

    如何实现心电图类似的数据移动效果

    参考Example目录下的Example_Dynamic.cs。主要通过设置maxCache参数实现。axisserie都设置相同的maxCachemaxCache可固定数据个数,当数据超过设定时会先删除第一个在添加新数据,实现数据移动效果。

    如何使用背景组件有什么条件限制

    设置background组件的showtrue

    区域折线图在用半透明颜色时有时候会一条叠加的线

    这是区域折线图绘制的bug。可以用浅的不透的颜色替代半透明颜色。

    mesh_cannot_have_more_than_65000_vertices

    这是UGUI对单个Graphic的顶点数限制。XCharts是将图形绘制在单个Graphic上,所以也会有这个限制。解决的办法可以参考:FAQ 10:可以显示超过1000以上的大数据吗?

    为什么serie里设置的参数运行后又被重置了

    检测下代码里是否调用了RemoveData()并重新添加Serie了。如果想保留Serie的配置可以只ClearData(),然后重新添加数据。

    如何修改serie的symbol的颜色

    Symbol 的颜色是使用的 ItemStylecolor

    导入或更新xcharts时tmp报错怎么办

    XCharts默认时不开启TMP,所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    支持空数据吗如何实现折线图断开的效果

    Seriedatadouble类型,所以无法表示空数据。可通过开启Serieignore和指定ignoreValue来达到空数据的效果。也可以每个SerieData设置ignore参数。忽略数据后断开还是连接可设置ignoreLineBreak参数。

    xcharts2升级xcharts3时常见的问题有哪些

    1. 'XCharts.Runtime.XChartsMgr' is missing the class attribute 'ExtensionOfNativeClass'! 3.x版本时不需要挂载XChartsMgr,直接删掉场景上的_xcharts_节点即可。

    折线图如何两边不留空白而从0坐标开始显示

    设置X轴的boundaryGap参数。

    如何设置部分serie不显示tooltip

    serieitemStyleitemFormatter设置为-可以忽略tooltip

    - - + + \ No newline at end of file diff --git a/en/docs/funnel/index.html b/en/docs/funnel/index.html index b67daf8a..3cd6605b 100644 --- a/en/docs/funnel/index.html +++ b/en/docs/funnel/index.html @@ -14,14 +14,15 @@ FunnelChart 漏斗图 | XCharts - - + +
    Version: v3.12.0

    FunnelChart 漏斗图

    XCharts的付费扩展图表 - 漏斗图。

    截图

    Funnel01Funnel02Funnel03Funnel04Funnel05
    Funnel07Funnel08Funnel09

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-FunnelChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    FunnelChart

    class in XCharts.Runtime.Funnels / 继承自: BaseChart

    漏斗图。适用于流程流量分析。

    API版本描述
    DefaultHorizonalFunnelChart()public void DefaultHorizonalFunnelChart()
    生成默认的横向漏斗图。

    配置项手册

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    参数默认版本描述
    rectEndv3.3.0是否最后以矩形结束。默认false以三角形结束。
    dynamicHeightv3.3.0是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    Funnel.defaultColorBy

    public override SerieColorBy defaultColorBy

    Funnel.useSortData

    public override bool useSortData

    Funnel.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    FunnelChart

    class in XCharts.Runtime.Funnels / 继承自: BaseChart

    漏斗图。适用于流程流量分析。

    FunnelChart.DefaultHorizonalFunnelChart

    public void DefaultHorizonalFunnelChart()
    +生成默认的横向漏斗图。

    配置项手册

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    Funnel.dynamicHeight

    bool v3.3.0

    是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。

    Funnel.rectEnd

    bool v3.3.0

    是否最后以矩形结束。默认false以三角形结束。

    + + \ No newline at end of file diff --git a/en/docs/gantt/index.html b/en/docs/gantt/index.html index c180d3ab..92528c69 100644 --- a/en/docs/gantt/index.html +++ b/en/docs/gantt/index.html @@ -14,14 +14,18 @@ GanttChart 甘特图 | XCharts - - + +
    Version: v3.12.0

    GanttChart 甘特图

    XCharts付费扩展图表 - 甘特图。

    截图

    Gantt01Gantt02Gantt03Gantt04Gantt05
    Gantt07

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-GanttChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Gantt的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.08.11) 增加鼠标事件支持

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    API版本描述
    AddDefaultCategorySerie()public static void AddDefaultCategorySerie(BaseChart chart, string serieName)
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    AddDefaultValueSerie()public static void AddDefaultValueSerie(BaseChart chart, string serieName)

    GanttChart

    class in XCharts.Runtime.Gantts / 继承自: BaseChart

    API版本描述
    DefaultCategoryAxisGanttChart()public void DefaultCategoryAxisGanttChart()
    生成默认的类目轴甘特图。
    DefaultMonomialGroupGanttChart()public void DefaultMonomialGroupGanttChart()
    生成默认的单维度分组甘特图。
    DefaultMultinomialGroupGanttChart()public void DefaultMultinomialGroupGanttChart()
    生成默认的多维度分组甘特图。
    DefaultValueAxisGanttChart()public void DefaultValueAxisGanttChart()
    生成默认的数值轴甘特图。
    GetSeriesMinMaxValue()public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    InitAxisRuntimeData()public override void InitAxisRuntimeData(Axis axis)
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    配置项手册

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    参数默认版本描述
    disableDrag

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    参数默认版本描述
    showtrue
    ganttType甘特图类型。
    GanttType:
    - Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    - Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。
    inverttrue
    dragEnabletrue是否可以拖拽甘特图。
    dragSensitivity1f拖拽的灵敏度。
    dragRangeMin0拖拽最小值限制。
    dragRangeMax0拖拽最大值限制。
    autoAdsorbAlignlinetrue拖拽结束后是否自动吸附到对齐线。
    alignlineDataIndex1显示对齐线的数据项索引。
    showAlignlineRange10f显示对齐线的范围。
    aliginLine对齐线样式。
    splitArea
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Gantt的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.08.11) 增加鼠标事件支持

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    Gantt.AddDefaultCategorySerie

    public static void AddDefaultCategorySerie(BaseChart chart, string serieName)

    Gantt.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    Gantt.AddDefaultValueSerie

    public static void AddDefaultValueSerie(BaseChart chart, string serieName)

    GanttChart

    class in XCharts.Runtime.Gantts / 继承自: BaseChart

    GanttChart.aliginingValue

    public double aliginingValue

    GanttChart.runtimeBeginDrag

    public bool runtimeBeginDrag

    GanttChart.runtimeDragLeft

    public bool runtimeDragLeft

    GanttChart.runtimeDragSerie

    public Serie runtimeDragSerie

    GanttChart.runtimeDragSerieData

    public SerieData runtimeDragSerieData

    GanttChart.runtimeIsAlgining

    public bool runtimeIsAlgining

    GanttChart.runtimeIsDragSerie

    public bool runtimeIsDragSerie

    GanttChart.DefaultCategoryAxisGanttChart

    public void DefaultCategoryAxisGanttChart()
    +生成默认的类目轴甘特图。

    GanttChart.DefaultMonomialGroupGanttChart

    public void DefaultMonomialGroupGanttChart()
    +生成默认的单维度分组甘特图。

    GanttChart.DefaultMultinomialGroupGanttChart

    public void DefaultMultinomialGroupGanttChart()
    +生成默认的多维度分组甘特图。

    GanttChart.DefaultValueAxisGanttChart

    public void DefaultValueAxisGanttChart()
    +生成默认的数值轴甘特图。

    GanttChart.GetSeriesMinMaxValue

    public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)

    GanttChart.InitAxisRuntimeData

    public override void InitAxisRuntimeData(Axis axis)

    GanttChart.OnBeginDrag

    public override void OnBeginDrag(PointerEventData eventData)

    GanttChart.OnDrag

    public override void OnDrag(PointerEventData eventData)

    GanttChart.OnEndDrag

    public override void OnEndDrag(PointerEventData eventData)

    GanttChart.OnPointerClick

    public override void OnPointerClick(PointerEventData eventData)

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    GanttType

    class in XCharts.Runtime.Gantts

    可选:

    • Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    • Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。

    配置项手册

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    Gantt.disableDrag

    bool

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    GanttStyle.aliginLine

    LineStyle

    对齐线样式。

    GanttStyle.alignlineDataIndex

    int 1

    显示对齐线的数据项索引。

    GanttStyle.autoAdsorbAlignline

    bool true

    拖拽结束后是否自动吸附到对齐线。

    GanttStyle.dragEnable

    bool true

    是否可以拖拽甘特图。

    GanttStyle.dragRangeMax

    double 0

    拖拽最大值限制。

    GanttStyle.dragRangeMin

    double 0

    拖拽最小值限制。

    GanttStyle.dragSensitivity

    float 1f

    拖拽的灵敏度。

    GanttStyle.ganttType

    GanttType

    甘特图类型。

    可选:

    • Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    • Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。

    GanttStyle.invert

    bool true

    GanttStyle.show

    bool true

    GanttStyle.showAlignlineRange

    float 10f

    显示对齐线的范围。

    GanttStyle.splitArea

    AxisSplitArea

    + + \ No newline at end of file diff --git a/en/docs/gauge/index.html b/en/docs/gauge/index.html index 5ca255c2..182b1aa3 100644 --- a/en/docs/gauge/index.html +++ b/en/docs/gauge/index.html @@ -14,14 +14,29 @@ GaugeChart 仪表盘 | XCharts - - + +
    Version: v3.12.0

    GaugeChart 仪表盘

    XCharts付费扩展图表 - 仪表盘。

    截图

    Gauge01Gauge02Gauge03Gauge04Gauge05
    Gauge07Gauge08Gauge09Gauge10Gauge11
    Gauge12Gauge13Gauge14

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-GaugeChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Gauge的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.17) 增加GaugerangeDataMode可设置是否使用范围数据模式
    • (2023.03.17) 增加Gaugeloop可设置是否循环数据,用于时钟甘特图
    • (2023.03.17) 增加GaugePointervalue可设置指针位置
    • (2023.03.17) 增加Clock时钟仪表盘支持
    • (2023.03.13) 增加GaugePointernowTime可设置指针指向当前时间
    • (2023.03.13) 增加GaugePointervalue可设置当前指针位置
    • (2023.03.13) 增加Clock类型的甘特图支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.10.05) 增加GaugeAxisLinestageGradient支持设置阶段渐变色过渡

    v3.3.0

    • (2022.09.28) 发布v3.3.0版本
    • (2022.08.26) 修复Pointer在普通模式下不显示的问题
    • (2022.08.25) 增加label颜色跟随数值变化的支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.15) 支持渐变

    API

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    仪表盘系列数据。

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    GetPointerColor()public Color32 GetPointerColor(ThemeStyle theme, int colorIndex, float angle, Color32 dataColor)

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    API版本描述
    GetPosition()public Vector3 GetPosition(Vector3 center, float radius)

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    API版本描述
    AddLabelObject()public void AddLabelObject(ChartLabel label)
    ClearLabelObject()public void ClearLabelObject()
    GaugeAxis()public GaugeAxis()
    GetLabelObject()public ChartLabel GetLabelObject(int index)
    GetStageColor()public Color32 GetStageColor(float rate)
    GetStageColorByAngle()public Color32 GetStageColorByAngle(float angle)
    SetLabelObjectActive()public void SetLabelObjectActive(bool flag)
    SetLabelObjectPosition()public void SetLabelObjectPosition(int index, Vector3 pos)
    SetLabelObjectText()public void SetLabelObjectText(int index, string text)

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    API版本描述
    GaugeAxisLine()public GaugeAxisLine(bool show) : base(show)

    GaugeChart

    class in XCharts.Runtime.Gauges / 继承自: BaseChart

    仪表盘。

    API版本描述
    DefaultBarometerGaugeChart()public void DefaultBarometerGaugeChart()
    生成气压计仪表盘。
    DefaultClockGaugeChart()public void DefaultClockGaugeChart()
    生成时钟仪表盘。
    DefaultMultipleGaugeChart()public void DefaultMultipleGaugeChart()
    生成多仪表盘。
    DefaultProgressGaugeChart()public void DefaultProgressGaugeChart()
    生成进度仪表盘。
    DefaultRangeClockGaugeChart()public void DefaultRangeClockGaugeChart()
    DefaultSectionGaugeChart()public void DefaultSectionGaugeChart()
    生成分段仪表盘。
    UpdateClockTime()public void UpdateClockTime()
    更新时钟时间。
    UpdateClockTime()public void UpdateClockTime(double hour, double minute, double second)
    更新时钟时间。
    UpdatePointerValue()public void UpdatePointerValue(double value)
    更新指针值。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    配置项手册

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    仪表盘系列数据。

    参数默认版本描述
    rangeDataModefalsev3.6.0数值是否为范围数据。启用该模式后,data中的每个值都是一个数组,数组中的第一个值为起始值,第二个值为结束值。指针只有一个,数据绘制为环形。
    loopfalsev3.6.0数值是否循环。可用在钟表图。
    gaugeAxis仪表盘轴线。 GaugeAxis
    gaugePointer仪表盘指针。 GaugePointer
    gaugeAnchor仪表盘指针固定点。 GaugeAnchor

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    参数默认版本描述
    showtrue是否显示指针固定点。
    showAbovetrue固定点是否显示在指针上面。
    type标记类型。
    size6标记的大小。
    gap0图形标记和线条的间隙距离。
    image自定义的标记图形。
    imageType
    offsetCenterVector2(0, 0)相对于中心的偏移位置。
    itemStyle图形样式。

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    参数默认版本描述
    showtrue
    type
    GaugeAxisType:
    - None: 仪表盘类型
    - Section: 分段
    - Progress: 进度
    overlaptrue
    distance
    axisLine仪表盘轴线样式。 GaugeAxisLine
    splitLine分割线。
    axisTick刻度。
    axisLabel文本标签。
    axisLabelText自定义Label的内容。

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    参数默认版本描述
    backgroundColorColor32(230, 235, 248, 255)进度条背景颜色。
    stageColor阶段颜色。
    stageGradientv3.4.0阶段颜色是否渐变过渡。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    参数默认版本描述
    showtrue是否显示指针。
    length0.6f指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backLength0.05f指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backExtraLength0.05f指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topLeftLength0f指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topRightLength0f指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomLeftLength0.025f指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomRightLength0.025f指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    distance
    roundCap
    autoColortrue
    color
    toColor
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    valuev3.6.0指针的值。当为时钟仪表盘时,可通过指定value值来控制指针的位置。
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Gauge的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.17) 增加GaugerangeDataMode可设置是否使用范围数据模式
    • (2023.03.17) 增加Gaugeloop可设置是否循环数据,用于时钟甘特图
    • (2023.03.17) 增加GaugePointervalue可设置指针位置
    • (2023.03.17) 增加Clock时钟仪表盘支持
    • (2023.03.13) 增加GaugePointernowTime可设置指针指向当前时间
    • (2023.03.13) 增加GaugePointervalue可设置当前指针位置
    • (2023.03.13) 增加Clock类型的甘特图支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.10.05) 增加GaugeAxisLinestageGradient支持设置阶段渐变色过渡

    v3.3.0

    • (2022.09.28) 发布v3.3.0版本
    • (2022.08.26) 修复Pointer在普通模式下不显示的问题
    • (2022.08.25) 增加label颜色跟随数值变化的支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.15) 支持渐变

    API

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    仪表盘系列数据。

    Gauge.defaultColorBy

    public override SerieColorBy defaultColorBy

    Gauge.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    Gauge.ClearComponentDirty

    public override void ClearComponentDirty()

    Gauge.ClearVerticesDirty

    public override void ClearVerticesDirty()

    Gauge.GetPointerColor

    public Color32 GetPointerColor(ThemeStyle theme, int colorIndex, float angle, Color32 dataColor)

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    GaugeAnchor.GetPosition

    public Vector3 GetPosition(Vector3 center, float radius)

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    GaugeAxis.axisLabel

    public AxisLabel axisLabel
    +文本标签。

    GaugeAxis.axisLabelText

    public List<string> axisLabelText
    +自定义Label的内容。

    GaugeAxis.axisLine

    public GaugeAxisLine axisLine
    +仪表盘轴线样式。

    GaugeAxis.axisTick

    public AxisTick axisTick
    +刻度。

    GaugeAxis.distance

    public float distance

    GaugeAxis.overlap

    public bool overlap

    GaugeAxis.show

    public bool show

    GaugeAxis.splitLine

    public AxisSplitLine splitLine
    +分割线。

    GaugeAxis.type

    public GaugeAxisType type

    GaugeAxis.AddLabelObject

    public void AddLabelObject(ChartLabel label)

    GaugeAxis.ClearLabelObject

    public void ClearLabelObject()

    GaugeAxis.GaugeAxis

    public GaugeAxis()

    GaugeAxis.GetLabelObject

    public ChartLabel GetLabelObject(int index)

    GaugeAxis.GetStageColor

    public Color32 GetStageColor(float rate)

    GaugeAxis.GetStageColorByAngle

    public Color32 GetStageColorByAngle(float angle)

    GaugeAxis.SetLabelObjectActive

    public void SetLabelObjectActive(bool flag)

    GaugeAxis.SetLabelObjectPosition

    public void SetLabelObjectPosition(int index, Vector3 pos)

    GaugeAxis.SetLabelObjectText

    public void SetLabelObjectText(int index, string text)

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    GaugeAxisLine.backgroundColor

    public Color32 backgroundColor
    +进度条背景颜色。

    GaugeAxisLine.stageColor

    public List<StageColor> stageColor
    +阶段颜色。

    GaugeAxisLine.stageGradient

    public bool stageGradient
    +阶段颜色是否渐变过渡。

    GaugeAxisLine.GaugeAxisLine

    public GaugeAxisLine(bool show) : base(show)

    GaugeAxisType

    class in XCharts.Runtime.Gauges

    仪表盘类型

    可选:

    • None: 仪表盘类型
    • Section: 分段
    • Progress: 进度

    GaugeChart

    class in XCharts.Runtime.Gauges / 继承自: BaseChart

    仪表盘。

    GaugeChart.DefaultBarometerGaugeChart

    public void DefaultBarometerGaugeChart()
    +生成气压计仪表盘。

    GaugeChart.DefaultClockGaugeChart

    public void DefaultClockGaugeChart()
    +生成时钟仪表盘。

    GaugeChart.DefaultMultipleGaugeChart

    public void DefaultMultipleGaugeChart()
    +生成多仪表盘。

    GaugeChart.DefaultProgressGaugeChart

    public void DefaultProgressGaugeChart()
    +生成进度仪表盘。

    GaugeChart.DefaultRangeClockGaugeChart

    public void DefaultRangeClockGaugeChart()

    GaugeChart.DefaultSectionGaugeChart

    public void DefaultSectionGaugeChart()
    +生成分段仪表盘。

    GaugeChart.UpdateClockTime

    public void UpdateClockTime(double hour, double minute, double second)
    +更新时钟时间。

    GaugeChart.UpdatePointerValue

    public void UpdatePointerValue(double value)
    +更新指针值。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    配置项手册

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    仪表盘系列数据。

    Gauge.gaugeAnchor

    GaugeAnchor

    仪表盘指针固定点。

    Gauge.gaugeAxis

    GaugeAxis

    仪表盘轴线。

    Gauge.gaugePointer

    GaugePointer

    仪表盘指针。

    Gauge.loop

    bool false v3.6.0

    数值是否循环。可用在钟表图。

    Gauge.rangeDataMode

    bool false v3.6.0

    数值是否为范围数据。启用该模式后,data中的每个值都是一个数组,数组中的第一个值为起始值,第二个值为结束值。指针只有一个,数据绘制为环形。

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    GaugeAnchor.gap

    float 0

    图形标记和线条的间隙距离。

    GaugeAnchor.image

    Sprite

    自定义的标记图形。

    GaugeAnchor.imageType

    Image.Type

    GaugeAnchor.itemStyle

    ItemStyle

    图形样式。

    GaugeAnchor.offsetCenter

    Vector2 Vector2(0, 0)

    相对于中心的偏移位置。

    GaugeAnchor.show

    bool true

    是否显示指针固定点。

    GaugeAnchor.showAbove

    bool true

    固定点是否显示在指针上面。

    GaugeAnchor.size

    float 6

    标记的大小。

    GaugeAnchor.type

    SymbolType

    标记类型。

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    GaugeAxis.axisLabel

    AxisLabel

    文本标签。

    GaugeAxis.axisLabelText

    List<string>

    自定义Label的内容。

    GaugeAxis.axisLine

    GaugeAxisLine

    仪表盘轴线样式。

    GaugeAxis.axisTick

    AxisTick

    刻度。

    GaugeAxis.distance

    float

    GaugeAxis.overlap

    bool true

    GaugeAxis.show

    bool true

    GaugeAxis.splitLine

    AxisSplitLine

    分割线。

    GaugeAxis.type

    GaugeAxisType

    可选:

    • None: 仪表盘类型
    • Section: 分段
    • Progress: 进度

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    GaugeAxisLine.backgroundColor

    Color32 Color32(230, 235, 248, 255)

    进度条背景颜色。

    GaugeAxisLine.stageColor

    List<StageColor>

    阶段颜色。

    GaugeAxisLine.stageGradient

    bool v3.4.0

    阶段颜色是否渐变过渡。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    GaugePointer.autoColor

    bool true

    GaugePointer.backExtraLength

    float 0.05f

    指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.backLength

    float 0.05f

    指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.bottomLeftLength

    float 0.025f

    指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.bottomRightLength

    float 0.025f

    指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.color

    Color32

    GaugePointer.cornerRadius

    float[]

    圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    GaugePointer.distance

    float

    GaugePointer.length

    float 0.6f

    指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.roundCap

    bool

    GaugePointer.show

    bool true

    是否显示指针。

    GaugePointer.toColor

    Color32

    GaugePointer.topLeftLength

    float 0f

    指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.topRightLength

    float 0f

    指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.value

    double v3.6.0

    指针的值。当为时钟仪表盘时,可通过指定value值来控制指针的位置。

    + + \ No newline at end of file diff --git a/en/docs/graph/index.html b/en/docs/graph/index.html index d7990183..9c704993 100644 --- a/en/docs/graph/index.html +++ b/en/docs/graph/index.html @@ -14,14 +14,17 @@ GraphChart 关系图 | XCharts - - + +
    Version: v3.12.0

    GraphChart 关系图

    XCharts付费扩展图表 - 关系图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.05.15) 增加Graph关系图

    API

    Force

    class in XCharts.Runtime.Graphs / 继承自: ChildComponent

    图表的力引导布局。

    Graph

    class in XCharts.Runtime.Graphs / 继承自: Serie

    关系图,用于展现节点以及节点之间的关系数据。

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    AddLink()public override SerieDataLink AddLink(string sourceId, string targetId, double value = 0)
    AddSerieData()public override void AddSerieData(SerieData serieData)
    ClearData()public override void ClearData()
    清空所有数据
    GetLevelItemStyle()public ItemStyle GetLevelItemStyle(int depth)
    GetLevelLabel()public LabelStyle GetLevelLabel(int depth)
    GetLevelLineStyle()public LineStyle GetLevelLineStyle(int depth)

    GraphChart

    class in XCharts.Runtime.Graphs / 继承自: BaseChart

    配置项手册

    Force

    class in XCharts.Runtime.Graphs / 继承自: ChildComponent

    图表的力引导布局。

    参数默认版本描述
    showtrue
    stepFactor1f力引导布局的步进因子。
    stepCount1
    friction0.6f节点移动的摩擦因子,该值越大节点移动越慢。
    edgeLength80边的两个节点之间的距离,这个距离也会受 repulsion 影响。
    centerDataIndex-1中心节点数据的索引。
    iterations200力引导布局的迭代次数。

    Graph

    class in XCharts.Runtime.Graphs / 继承自: Serie

    关系图,用于展现节点以及节点之间的关系数据。

    参数默认版本描述
    levelStyle层级样式。
    force图表的力引导布局。 Force
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.05.15) 增加Graph关系图

    API

    Force

    class in XCharts.Runtime.Graphs / 继承自: ChildComponent

    图表的力引导布局。

    Force.currentIterations

    public int currentIterations

    Graph

    class in XCharts.Runtime.Graphs / 继承自: Serie

    关系图,用于展现节点以及节点之间的关系数据。

    Graph.force

    public Force force
    +图表的力引导布局。

    Graph.graphData

    public GraphData graphData

    Graph.levelStyle

    public LevelStyle levelStyle
    +层级样式。

    Graph.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    public override SerieDataLink AddLink(string sourceId, string targetId, double value = 0)

    Graph.AddSerieData

    public override void AddSerieData(SerieData serieData)

    Graph.ClearData

    public override void ClearData()
    +清空所有数据

    Graph.GetLevelItemStyle

    public ItemStyle GetLevelItemStyle(int depth)

    Graph.GetLevelLabel

    public LabelStyle GetLevelLabel(int depth)

    Graph.GetLevelLineStyle

    public LineStyle GetLevelLineStyle(int depth)

    GraphChart

    class in XCharts.Runtime.Graphs / 继承自: BaseChart

    配置项手册

    Force

    class in XCharts.Runtime.Graphs / 继承自: ChildComponent

    图表的力引导布局。

    Force.centerDataIndex

    int -1

    中心节点数据的索引。

    Force.edgeLength

    float 80

    边的两个节点之间的距离,这个距离也会受 repulsion 影响。

    Force.friction

    float 0.6f

    节点移动的摩擦因子,该值越大节点移动越慢。

    Force.iterations

    int 200

    力引导布局的迭代次数。

    Force.show

    bool true

    Force.stepCount

    int 1

    Force.stepFactor

    float 1f

    力引导布局的步进因子。

    Graph

    class in XCharts.Runtime.Graphs / 继承自: Serie

    关系图,用于展现节点以及节点之间的关系数据。

    Graph.force

    Force

    图表的力引导布局。

    Graph.levelStyle

    LevelStyle

    层级样式。

    + + \ No newline at end of file diff --git a/en/docs/index.html b/en/docs/index.html index 4c5df919..52794b87 100644 --- a/en/docs/index.html +++ b/en/docs/index.html @@ -14,13 +14,13 @@ XCharts - - + + - - + + \ No newline at end of file diff --git a/en/docs/inputsystem/index.html b/en/docs/inputsystem/index.html index 4681e0d8..99a8d576 100644 --- a/en/docs/inputsystem/index.html +++ b/en/docs/inputsystem/index.html @@ -14,13 +14,13 @@ 切换到新的输入系统Input System | XCharts - - + + - - + + \ No newline at end of file diff --git a/en/docs/lang/articles/ui/ui_statistic/index.html b/en/docs/lang/articles/ui/ui_statistic/index.html index c06778fa..ee8b5d69 100644 --- a/en/docs/lang/articles/ui/ui_statistic/index.html +++ b/en/docs/lang/articles/ui/ui_statistic/index.html @@ -14,13 +14,13 @@ UIStatistic 统计数值 | XCharts - - + +
    Version: v3.12.0

    UIStatistic 统计数值

    statistic

    统计数值组件。用于展示统计数值。

    何时使用:

    • 当需要突出某个或某组数字时。
    • 当需要展示带描述的统计类数据时使用。

    支持的功能有:

    • 常规数值
    • 倒计时
    • 添加图标
    • 变更动画
    • 事件回调
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/lang/articles/ui/ui_table/index.html b/en/docs/lang/articles/ui/ui_table/index.html index b264e888..6781b380 100644 --- a/en/docs/lang/articles/ui/ui_table/index.html +++ b/en/docs/lang/articles/ui/ui_table/index.html @@ -14,13 +14,13 @@ UITable 表格 | XCharts - - + +
    Version: v3.12.0

    UITable 表格

    table

    表格组件。可用于展示行列数据。

    支持的功能有:

    • 显示或隐藏列表头
    • 显示或隐藏行表头
    • 任意调整行列宽高
    • 支持行号
    • 支持选中
    • 支持分割线
    • 支持滚动和拖拽
    • 支持滚动条
    • 支持图标图片
    • 支持轮播
    • 排序(暂不支持)
    • 分页(暂不支持)
    • 查找(暂不支持)
    • 过滤(暂不支持)
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/line3d/index.html b/en/docs/line3d/index.html index 67a2f4d9..8f7fca4e 100644 --- a/en/docs/line3d/index.html +++ b/en/docs/line3d/index.html @@ -14,14 +14,15 @@ Line3DChart 3D折线图 | XCharts - - + +
    Version: v3.12.0

    Line3DChart 3D折线图

    XCharts付费扩展图表 - 3D折线图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.05.15) 增加Line3D3D折线图

    API

    Line3D

    class in XCharts.Runtime.Line3Ds / 继承自: Serie,INeedSerieContainer

    关系图,用于展现节点以及节点之间的关系数据。

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    Line3DChart

    class in XCharts.Runtime.Line3Ds / 继承自: BaseChart

    Line3DHelper

    class in XCharts.Runtime.Line3Ds

    配置项手册

    Line3D

    class in XCharts.Runtime.Line3Ds / 继承自: Serie, INeedSerieContainer

    关系图,用于展现节点以及节点之间的关系数据。

    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.05.15) 增加Line3D3D折线图

    API

    Line3D

    class in XCharts.Runtime.Line3Ds / 继承自: Serie,INeedSerieContainer

    关系图,用于展现节点以及节点之间的关系数据。

    Line3D.containerIndex

    public int containerIndex
    +关系图,用于展现节点以及节点之间的关系数据。

    Line3D.containterInstanceId

    public int containterInstanceId

    Line3D.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    Line3DChart

    class in XCharts.Runtime.Line3Ds / 继承自: BaseChart

    Line3DHelper

    class in XCharts.Runtime.Line3Ds

    配置项手册

    Line3D

    class in XCharts.Runtime.Line3Ds / 继承自: Serie, INeedSerieContainer

    关系图,用于展现节点以及节点之间的关系数据。

    + + \ No newline at end of file diff --git a/en/docs/liquid/index.html b/en/docs/liquid/index.html index cd9bb6cc..776866c8 100644 --- a/en/docs/liquid/index.html +++ b/en/docs/liquid/index.html @@ -14,14 +14,20 @@ LiquidChart 水位图 | XCharts - - + +
    Version: v3.12.0

    LiquidChart 水位图

    XCharts的付费扩展图表 - 水位图。

    截图

    Liquid01Liquid02Liquid03Liquid04Liquid05
    Liquid07Liquid08

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-LiquidChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Liquid的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    LiquidChart

    class in XCharts.Runtime.Liquids / 继承自: BaseChart

    水位图

    API版本描述
    DefaultCapsuleLiquidChart()public void DefaultCapsuleLiquidChart()
    generate default capsule liquid chart. 生成默认的胶囊形水位图。
    DefaultRectLiquidChart()public void DefaultRectLiquidChart()
    generate default rect liquid chart. 生成默认的矩形水位图。
    DefaultRoundRectLiquidChart()public void DefaultRoundRectLiquidChart()
    generate default round rect liquid chart. 生成默认的圆角矩形水位图。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent,ISerieContainer,IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    API版本描述
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    VesselContext

    class in XCharts.Runtime.Liquids / 继承自: MainComponentContext

    配置项手册

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    waveHeight10f波高。
    waveLength20f波长。为0-1小数时指直线的百分比。
    waveSpeed5f波速。正数时左移,负数时右移。
    waveOffset0f波偏移。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent, ISerieContainer, IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    参数默认版本描述
    showtrue是否显示容器组件。 [defaut: true]
    shape容器形状。 [default: Shape.Circle]
    Vessel.Shape:
    - Circle: 圆形
    - Rect: 正方形。
    - Triangle: 三角形。
    - Diamond: 菱形。
    shapeWidth5f容器厚度。 [defaut: 5f]
    gap5f间隙。容器和液体的间隙。 [defaut: 10f]
    colorColor32(70, 70, 240, 255)容器颜色。默认和serie一致。
    backgroundColor背景色,默认透明。 [default: Color.clear]
    autoColortrue是否自动颜色。为true时颜色会和serie一致。 [default: true]
    centerWhen value between 0 and 1 represents a percentage relative to the chart.
    radius0.35fWhen value between 0 and 1 represents a percentage relative to the chart.
    smoothness1f水波平滑度。 [default: 1f]
    width0.5fWhen value between 0 and 1 represents a percentage relative to the chart.
    height0.7fWhen value between 0 and 1 represents a percentage relative to the chart.
    borderWidth0f内壁边框。
    borderColorColor32(70, 70, 240, 255)容器内壁边框颜色。默认和serie一致。
    cornerRadius容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Liquid的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie,INeedSerieContainer

    Liquid.containerIndex

    public int containerIndex

    Liquid.containterInstanceId

    public int containterInstanceId

    Liquid.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    LiquidChart

    class in XCharts.Runtime.Liquids / 继承自: BaseChart

    水位图

    LiquidChart.DefaultCapsuleLiquidChart

    public void DefaultCapsuleLiquidChart()
    +generate default capsule liquid chart. 生成默认的胶囊形水位图。

    LiquidChart.DefaultRectLiquidChart

    public void DefaultRectLiquidChart()
    +generate default rect liquid chart. 生成默认的矩形水位图。

    LiquidChart.DefaultRoundRectLiquidChart

    public void DefaultRoundRectLiquidChart()
    +generate default round rect liquid chart. 生成默认的圆角矩形水位图。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent,ISerieContainer,IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    Vessel.IsPointerEnter

    public bool IsPointerEnter()

    Vessel.UpdateRuntimeData

    public void UpdateRuntimeData(BaseChart chart)

    Vessel.Shape

    class in XCharts.Runtime.Liquids

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    可选:

    • Circle: 圆形
    • Rect: 正方形。
    • Triangle: 三角形。
    • Diamond: 菱形。

    VesselContext

    class in XCharts.Runtime.Liquids / 继承自: MainComponentContext

    VesselContext.center

    public Vector3 center
    +运行时中心点。

    VesselContext.height

    public float height

    VesselContext.innerRadius

    public float innerRadius
    +运行时内半径。扣除厚度和间隙后的实际半径。

    VesselContext.isPointerEnter

    public bool isPointerEnter

    VesselContext.radius

    public float radius
    +运行时半径。

    VesselContext.width

    public float width

    配置项手册

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie, INeedSerieContainer

    Liquid.waveHeight

    float 10f

    波高。

    Liquid.waveLength

    float 20f

    波长。为0-1小数时指直线的百分比。

    Liquid.waveOffset

    float 0f

    波偏移。

    Liquid.waveSpeed

    float 5f

    波速。正数时左移,负数时右移。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent, ISerieContainer, IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    Vessel.autoColor

    bool true

    是否自动颜色。为true时颜色会和serie一致。 [default: true]

    Vessel.backgroundColor

    Color32

    背景色,默认透明。 [default: Color.clear]

    Vessel.borderColor

    Color32 Color32(70, 70, 240, 255)

    容器内壁边框颜色。默认和serie一致。

    Vessel.borderWidth

    float 0f

    内壁边框。

    Vessel.center

    float[]

    When value between 0 and 1 represents a percentage relative to the chart.

    Vessel.color

    Color32 Color32(70, 70, 240, 255)

    容器颜色。默认和serie一致。

    Vessel.cornerRadius

    float[]

    容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。

    Vessel.gap

    float 5f

    间隙。容器和液体的间隙。 [defaut: 10f]

    Vessel.height

    float 0.7f

    When value between 0 and 1 represents a percentage relative to the chart.

    Vessel.radius

    float 0.35f

    When value between 0 and 1 represents a percentage relative to the chart.

    Vessel.shape

    Vessel.Shape

    容器形状。 [default: Shape.Circle]

    可选:

    • Circle: 圆形
    • Rect: 正方形。
    • Triangle: 三角形。
    • Diamond: 菱形。

    Vessel.shapeWidth

    float 5f

    容器厚度。 [defaut: 5f]

    Vessel.show

    bool true

    是否显示容器组件。 [defaut: true]

    Vessel.smoothness

    float 1f

    水波平滑度。 [default: 1f]

    Vessel.width

    float 0.5f

    When value between 0 and 1 represents a percentage relative to the chart.

    + + \ No newline at end of file diff --git a/en/docs/master/about/index.html b/en/docs/master/about/index.html index ffdeab52..1d0506b4 100644 --- a/en/docs/master/about/index.html +++ b/en/docs/master/about/index.html @@ -14,8 +14,8 @@ 关于XCharts | XCharts - - + +
    @@ -31,7 +31,7 @@ XCharts只支持在Unity平台使用。理论上任何支持UGUIUnity版本都能运行XCharts

  • 锯齿怎么解决?支持多大量级的数据?
    XCharts是基于UGUI实现的,所以UGUI中碰到的问题,在XCharts中也会存在。比如锯齿问题,比如Mesh顶点数超65535的问题。这两个问题的解决可参考问答16问答27
    由于Mesh65535顶点数的限制,目前XCharts的单条Line支持约2万的数据量,当然开启采样可以支持更多数据的绘制,但同时也会更消耗CPU。

  • 日志

    Licenses

    • MIT License
    • 可免费商用,可二次开发。
    • 扩展图表和高级功能部分需购买使用授权。

    订阅

    • XCharts核心库是开源的,可免费使用的。在此基础上,我们也提供多种订阅服务以满足不同用户的需求,订阅详情☞ 请看这里
    • 订阅不是必须的,不影响XCharts的核心功能使用。
    • 订阅是按年付费,订阅到期后,不要求必须续订,但中断订阅期间无法享受技术更新和支持等服务。

    其他

    • 邮箱:monitor1394@gmail.com
    • QQ群:XCharts交流群(202030963
    • VIP群:XCharts VIP群(867291970
    • 捐助、合作、订阅和技术支持:☞ 请看这里
    - - + + \ No newline at end of file diff --git a/en/docs/master/api/index.html b/en/docs/master/api/index.html index 9c409086..4f1c59fa 100644 --- a/en/docs/master/api/index.html +++ b/en/docs/master/api/index.html @@ -14,8 +14,8 @@ API手册 | XCharts - - + +
    @@ -477,7 +477,7 @@ 直角坐标系 grid 中的 y 轴。

    YAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    YAxis3D.SetDefaultValue

    public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。

    ZAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    ZAxis3D.SetDefaultValue

    public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/master/bar3d/index.html b/en/docs/master/bar3d/index.html index e0e77767..cf24db14 100644 --- a/en/docs/master/bar3d/index.html +++ b/en/docs/master/bar3d/index.html @@ -14,8 +14,8 @@ Bar3DChart 3D柱图 | XCharts - - + +
    @@ -25,7 +25,7 @@ 生成默认的圆柱体图。

    Bar3DChart.DefaultGroupedCubeChart

    public void DefaultGroupedCubeChart()
    默认分组3D柱状图。

    Bar3DChart.DefaultStackedCubeChart

    public void DefaultStackedCubeChart()
    默认堆叠分组3D柱状图。

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    Bar3DType

    class in XCharts.Runtime.Bar3Ds

    3D柱图类型。分为立方柱和圆柱。

    可选:

    • Cube: 立方柱。
    • Cylinder: 圆柱。

    配置项手册

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie, INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    Bar3D.bar3DStyle

    Bar3DStyle

    Bar3D.bar3DType

    Bar3DType v3.1.0

    可选:

    • Cube: 立方柱。
    • Cylinder: 圆柱。

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    Bar3DStyle.barOffset

    Vector3 Vector3.zero

    柱子偏移。

    Bar3DStyle.borderDash

    bool v3.10.0

    是否显示虚线边框。

    Bar3DStyle.bottomColor

    Color32 v3.6.0

    Bar3DStyle.bottomColorRate

    float 1f

    柱子底部相对正面的颜色比例。

    Bar3DStyle.cubeDire

    Vector3 Vector3(1, 1)

    方形柱形成3D效果的方向。

    Bar3DStyle.cylinderRate

    float 0.5f v3.1.0

    圆柱的顶部椭圆比列。

    Bar3DStyle.occludedAreaBorder

    bool v3.10.0

    是否显示遮挡区域的边框。

    Bar3DStyle.occludedAreaBorderDash

    bool v3.10.0

    是否显示遮挡区域的虚线边框。

    Bar3DStyle.show

    bool true

    Bar3DStyle.sideColor

    Color32 v3.6.0

    Bar3DStyle.sideColorRate

    float 0.7f

    方形柱侧边相对正面的颜色比例。

    Bar3DStyle.topColor

    Color32 v3.6.0

    Bar3DStyle.topColorRate

    float 0.8f

    柱子顶部相对正面的颜色比例。

    Bar3DStyle.verticalArrange

    bool false

    是否垂直排列。

    Bar3DStyle.verticalArrangeDire

    Vector3 Vector3(-1, 1)

    垂直排列时的方向。

    Bar3DStyle.verticalArrangeGap

    float 0.5f

    垂直排列时两个柱子间的间隙。

    Bar3DStyle.widthRate

    float 0.5f

    方形柱侧边宽度相对正面的比例。

    - - + + \ No newline at end of file diff --git a/en/docs/master/changelog/index.html b/en/docs/master/changelog/index.html index 32a3558b..bccdd12b 100644 --- a/en/docs/master/changelog/index.html +++ b/en/docs/master/changelog/index.html @@ -14,8 +14,8 @@ 更新日志 | XCharts - - + +
    @@ -88,7 +88,7 @@ v0.8.0
    v0.5.0
    v0.1.0

    master

    v3.12.0

    版本要点:

    • 增加RingradiusGradient参数设置渐变方向
    • 增加numericFormatterdatetime的支持
    • 完善AreaStyleorigin参数设置区域填充起始位置
    • 调整和完善文档
    • 其他优化和修复

    日志详情:

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.27) 完善5分钟教程
    • (2024.09.24) 完善Legendformatter对多Serie的支持 (#332)
    • (2024.09.22) 调整Documentation文档显示样式
    • (2024.09.09) 增加numericFormatterdatetime的支持
    • (2024.09.03) 完善AreaStyleorigin参数设置区域填充起始位置
    • (2024.09.01) 增加RingradiusGradient参数设置渐变方向
    • (2024.09.01) 优化Axis为时间轴时首个Label的位置

    v3.11.2

    • (2024.08.01) 发布v3.11.2版本
    • (2024.07.29) 修复Tooltip在微信小游戏平台上报错的兼容问题 (#326)
    • (2024.07.27) 调整AxisAxisName的默认位置
    • (2024.07.22) 优化PieLabelTooltip触发时的表现
    • (2024.07.21) 修复Tooltip在开启DataZoom时指示内容不准确的问题
    • (2024.07.17) 修复MarkLineLabel在初始化时可能会闪烁的问题
    • (2024.07.16) 优化AxisTime时间轴时的Tooltip默认效果
    • (2024.07.15) 优化AxisTime时间轴时的分割效果
    • (2024.07.14) 优化AxisTime时间轴时的移动表现
    • (2024.07.12) 优化Label的初始化显示效果
    • (2024.07.06) 修复Chart在动态创建时背景没有自适应的问题 (#323)

    v3.11.1

    • (2024.07.01) 发布v3.11.1版本
    • (2024.07.01) 修复Serie有多个时颜色异常的问题
    • (2024.06.23) 修复Label在初始化时会堆积的问题

    v3.11.0

    版本要点:

    • 增加Line3DChart3D折线图
    • 增加GraphChart关系图
    • 增加3D坐标系支持
    • 增加TooltiptriggerOn设置触发条件
    • 其他问题修复和优化

    日志详情:

    • (2024.06.16) 发布v3.11.0版本
    • (2024.06.15) 增加EditorData的添加、删除、上下移动操作按钮
    • (2024.06.11) 修复AxisIndicatorLabel可能会遮挡住Tooltip的问题
    • (2024.06.11) 修复TooltipCrossAxisIndicatorLabel可能不显示的问题 (#315)
    • (2024.06.10) 调整TooltipCorss重命名为Cross
    • (2024.06.09) 增加AxisminCategorySpacing设置类目轴默认的最小类目间距
    • (2024.06.09) 修复TooltipCrossAxis是类目轴并且开启DataZoom的情况下指示位置不准确的问题
    • (2024.06.06) 修复SerieClone时动画异常问题 (#320)
    • (2024.06.04) 修复Seriestate在代码动态设置时不刷新的问题
    • (2024.05.29) 调整XChartsHierarchy视图下的右键菜单到UI/XCharts
    • (2024.05.29) 增加3D坐标系对类目轴的支持
    • (2024.05.19) 优化Editor下的编辑性能
    • (2024.05.09) 增加JsonUtil工具类
    • (2024.05.01) 修复Tooltip每帧产生GC的问题 (#311) (by @stefanbursuc)
    • (2024.04.23) 修复ConvertXYAxis()多次调用后图表异常的问题
    • (2024.04.22) 修复DataZoom控制多个轴时的GridCoord获取可能不正确的问题 (#317)
    • (2024.04.22) 增加3D坐标系
    • (2024.04.15) 优化DateTimeUtil时间戳转DateTime接口时区的问题
    • (2024.04.15) 优化GridCoord在开启GridLayout时也显示Left Right Top Bottom参数 (#316)
    • (2024.04.14) 修复TooltipCross在开启DataZoom的情况下label位置不正确的问题 (#315)
    • (2024.04.12) 修复Candlesticks效果不对的问题 (#313)
    • (2024.03.20) 增加TooltiptriggerOn设置触发条件
    • (2024.03.19) 修复Pie在设置ItemStyleopacity时颜色不对的问题 (#309)

    v3.10.2

    • (2024.03.11) 发布v3.10.2版本
    • (2024.03.11) 修复Legendformatter在设置{d}通配符时显示可能不匹配的问题 (#304)
    • (2024.03.11) 修复Tooltip移出坐标系后还显示的问题
    • (2024.03.08) 修复Tooltiptitle从旧版本升级后可能不显示的问题

    v3.10.1

    • (2024.02.21) 发布v3.10.1版本
    • (2024.02.19) 修复Tooltip的圆点标记不会自适应颜色的问题

    v3.10.0

    版本要点:

    • 增加双类目轴支持
    • 增加更多细分快捷菜单创建图表,可一键创建几十种图表
    • 增加图表边框设置,支持圆角图表
    • 修复若干问题

    扩展功能:

    • 增加SankeyChart桑基图
    • 增加UITable的边框设置

    日志详情:

    • (2024.02.01) 发布v3.10.0版本
    • (2024.01.31) 修复Tooltip在设置itemFormatter-后整个不显示的问题
    • (2024.01.27) 修复TextLimit在开启TextMeshPro后无效的问题 (#301)
    • (2024.01.24) 增加Bar支持X轴和Y轴都为Category类目轴
    • (2024.01.23) 增加{y}通配符用于获取Y轴的类目名
    • (2024.01.23) 增加Line支持X轴和Y轴都为Category类目轴
    • (2024.01.18) 修复Animationtype代码动态修改无效的问题
    • (2024.01.13) 增加Chart的更多快捷创建图表菜单
    • (2024.01.09) 增加BackgroundborderStyle,给图表默认设置圆角
    • (2024.01.07) 修复Tooltop的第一个ContentLabelStyle设置color无效的问题
    • (2024.01.01) 增加BorderStyle边框样式
    • (2023.12.26) 增加HeatmapmaxCache参数支持
    • (2023.12.25) 优化Line开启clip时绘制的顶点数
    • (2023.12.22) 修复Scatter散点图部分边界数据不显示的问题
    • (2023.12.21) 修复TriggerTooltip()接口在指定0或最大index时可能无法触发的问题
    • (2023.12.19) 修复LegendLabelStyle设置formatter后不生效的问题
    • (2023.12.12) 增加LegendTextLimit可限制图例显示文本的长度
    • (2023.12.11) 修复Serie添加double.MaxValue时坐标绘制失败的问题
    • (2023.12.10) 增加SerieminShowLabel可隐藏小于指定值的label
    • (2023.12.09) 增加LevelStyledepth指定所属层次
    • (2023.12.09) 增加LevelStyleLineStyle设置线条样式
    • (2023.12.09) 增加SerieLink可用于桑基图添加节点边关系
    • (2023.12.05) 增加ResetChartStatus()可主动重置图表状态

    v3.9.0

    版本要点:

    • 增加AxisAnimation,完善数据变更动画效果
    • 增加Axis的对数轴子刻度的支持
    • 增加MarkLineonTop设置是否显示在最上层
    • 完善代码注释和手册文档
    • 修复若干问题

    扩展功能:

    • UITable增加轮播功能
    • UITable增加数据操作接口和回调函数
    • Pie3DChart优化绘制表现

    日志详情:

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 修复TooltiptitleFormatter设置为{b}后显示不准确的问题
    • (2023.11.30) 增加SerieData可单独添加Label的支持
    • (2023.11.28) 修复Tooltip在对数轴时指示不准确的问题
    • (2023.11.24) 修复ChartUpdateData()接口返回值不准确的问题
    • (2023.11.24) 修复Axis的更新数据时效果不顺畅的问题
    • (2023.11.23) 增加AxisAnimation支持动画效果
    • (2023.11.16) 取消Legendformatter,用LabelStyle的代替
    • (2023.11.14) 完善LabelStyleformatter的注释和文档(#291)
    • (2023.11.11) 修复Documentation部分注释生成文档不完整的问题 (#290)
    • (2023.11.11) 修复Legendformatter在数据变更时没有自动刷新的问题
    • (2023.11.05) 修复SerieEventDatavalue一直是0的问题 (#287)
    • (2023.11.03) 修复Bar设置渐变色时鼠标移出效果异常的问题 (#285)
    • (2023.11.02) 优化SerieData设置ignoreformatter的忽略问题
    • (2023.11.01) 增加MarkLineonTop设置是否显示在最上层
    • (2023.10.21) 修复Pie有0数据时Label的位置异常的问题
    • (2023.10.21) 增加Axis的对数轴支持子刻度
    • (2023.10.19) 修复Pie设置玫瑰图时引导线异常的问题
    • (2023.10.15) 修复Line设置AnimationAlongPath时动画异常的问题 (#281)
    • (2023.10.12) 修复MarkLine指定yValue时对数值轴无效的问题
    • (2023.10.11) 修复SerieshowDataDimension设置无效的问题

    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) 增加PieradiusGradient可设置半径方向的渐变效果
    • (2023.09.05) 优化LabelLinelineEndXPie中的表现
    • (2023.09.05) 修复TriggerTooltip()接口对Ring无效的问题
    • (2023.09.05) 修复Radar数据全为0时绘制报错的问题

    v3.8.0

    版本要点:

    • 重构Animation动画系统,增加新增动画交互动画的支持
    • 完善PieChart的动画交互表现
    • 增加SymbolEmptyTriangleEmptyDiamondPlusMinus四种新标记
    • 完善Chart的鼠标交互回调
    • 增加LabelLine可固定横坐标的功能
    • 增加GridLayout网格布局组件
    • 增加TooltipAuto类型
    • 优化和修复若干其他问题

    日志详情:

    • (2023.09.03) 发布v3.8.0版本
    • (2023.09.01) 增加TooltipAuto自动设置显示类型和触发类型
    • (2023.08.29) 增加RinggridIndex支持设置指定网格
    • (2023.08.29) 增加RadargridIndex支持设置指定网格
    • (2023.08.29) 增加PiegridIndex支持设置指定网格
    • (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) 修复YAxisLabel可能会重复的问题
    • (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本地开启TextMeshProNewInputSystem后更新版本会报错的问题 (#272)
    • (2023.08.12) 修复Chart在运行时被删除时会异常报错的问题 (#269)
    • (2023.08.11) 修复DataZoom开启时可能会导致无法添加数据的问题
    • (2023.08.11) 修复SerieData单独设置ItemStyleitemFormatter不生效的问题
    • (2023.08.10) 优化BarChartTooltipTriggerItem时的表现
    • (2023.08.09) 增加Axis可通过设置IconStylecolorclear来实现动态图标颜色的支持
    • (2023.08.08) 增加PieLabelLinelineEndX的支持
    • (2023.08.05) 整理Examples的代码,删除不必要的用例
    • (2023.08.04) 增加LabelLinelineEndX可设置引导线固定X位置的支持
    • (2023.08.04) 增加RingavoidLabelOverlap避免文本堆叠的支持 (#247)
    • (2023.08.03) 完善ChartonSerieEnteronSerieExitonSerieClick回调
    • (2023.08.02) 修复BarChartonSerieEnteronSerieExit回调无效的问题
    • (2023.08.02) 增加SymbolPlus加号和Minus减号的支持
    • (2023.07.31) 增加SymbolEmptyTriangleEmptyDiamond的支持,优化Symbol表现效果
    • (2023.07.31) 优化Line的默认配置效果
    • (2023.07.27) 增加SerieminRadius可设置最小半径
    • (2023.07.26) 增加MLValue多样式数值
    • (2023.07.25) 增加XLog日志系统
    • (2023.07.18) 完善Pie饼图的交互动画效果
    • (2023.07.14) 增加AnimationInteraction交互动画配置支持
    • (2023.07.11) 增加AnimationAddition新增动画配置支持
    • (2023.07.11) 重构Animation动画系统,完善动画体验
    • (2023.06.30) 增加PolarCoodindicatorLabelOffset设置指示文本偏移的支持
    • (2023.06.30) 修复AxisIndicatorLabel的背景颜色可能不正常的问题
    • (2023.06.30) 增加AxisIndicatorLabel可自定义color的支持
    • (2023.06.12) 修复AxisLabelformatterFunction在数值轴时value不对的问题

    v3.7.0

    版本要点:

    • 增加HelpDoc官网帮助文档跳转
    • 增加LineClip的支持
    • 优化Axis的范围设置
    • 其他优化和修复

    日志详情:

    • (2023.06.08) 发布v3.7.0版本
    • (2023.06.04) 增加HelpDoc帮助文档跳转
    • (2023.05.30) 修复Serie的名字带_线导致Legend无法触发的问题 (#259) (by @svr2kos2)
    • (2023.05.10) 增加AxisMinMaxAuto范围类型
    • (2023.05.10) 增加LineClip的支持
    • (2023.05.04) 优化Axis在-1到1范围时设置CeilRate不生效的问题
    • (2023.05.04) 优化AxisMinMax类型范围计算
    • (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) 增加BaseChartTriggerTooltip()接口尝试触发ToolTip
    • (2023.04.12) 优化RadarCood设置startAngle时文本也跟随调整位置
    • (2023.04.12) 增加Radar对通配符{b}的支持
    • (2023.04.11) 修复Inspector在动态添加组件时可能异常的问题

    v3.6.0

    版本要点:

    • 增加InputSystem支持 (by @Bian-Sh)
    • 增加官网在线示例多版本支持 (by @SHL-COOL)
    • 完善对VR的支持 (by @Ambitroc)
    • 增加UITableUIStatistic扩展UI组件
    • 增加ItemStyleMarkColor
    • 增加通配符{h}的支持
    • 优化TooltipLegendDataZoomAxis等组件
    • 重构相关API接口,完善回调接口
    • 修复若干问题

    升级注意:

    • 部分接口有调整,可根据提示更换下接口即可。

    日志详情:

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.14) 修复TooltiptitleFormater设置{b}可能不生效的问题
    • (2023.03.14) 修复BarChart在数据为0时不绘制柱条背景的问题 (#250) (by @Ambitroc)
    • (2023.03.12) 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转
    • (2023.03.10) 增加VR等其他非鼠标输入方式的Point位置获取 (#248) (by @Ambitroc)
    • (2023.03.09) 增加ChartonSerieClickonSerieDownonSerieEnteronSerieExit回调
    • (2023.03.09) 修复Pie的点击选中偏移不生效的问题
    • (2023.03.04) 增加LegendPositions可自定义图例的位置
    • (2023.03.03) 修复Animation变更动画可能无效的问题
    • (2023.02.28) 修复Legend点击时SerieLabel不刷新的问题
    • (2023.02.26) 增加DataZoomstartEndFunction委托
    • (2023.02.12) 重构Component相关代码,调整API接口
    • (2023.02.10) 修复AxisLog轴时某些情况下最小值不正确的问题
    • (2023.02.10) 优化Axis的数值Label的默认显示格式
    • (2023.02.08) 增加DataZoomstartLockendLock参数支持锁定
    • (2023.02.02) 修复DataZoom开启时X轴Label可能会显示在图表外的问题
    • (2023.02.02) 优化SerieDataignore设置时的忽略数据判断
    • (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) 删除SerieMarkColor,增加ItemStyleMarkColor
    • (2022.12.29) 增加EditorList+添加编辑功能
    • (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) 修复AxisValue轴在某些情况下计算数值范围不准确的问题
    • (2022.12.12) 优化Legendformatter支持{h}通配符
    • (2022.12.12) 修复Legendformatter设置为固定值时显示不正常的问题
    • (2022.12.08) 增加AreaStyletoTop参数可设置折线图渐变色是到顶部还是到实际位置
    • (2022.12.07) 增加Formatter的文本通配符{h}支持设置当前颜色值

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Convert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    - - + + \ No newline at end of file diff --git a/en/docs/master/configuration/index.html b/en/docs/master/configuration/index.html index 95a71241..40ac78be 100644 --- a/en/docs/master/configuration/index.html +++ b/en/docs/master/configuration/index.html @@ -14,13 +14,13 @@ 配置项手册 | XCharts - - + +
    Version: master

    配置项手册

    Serie 系列

    Theme 主题

    MainComponent 主组件

    ChildComponent 子组件

    ISerieComponent 可添加到Serie的组件

    ISerieDataComponent 可添加到SerieData的组件

    Other 其他

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    AngleAxis.startAngle

    float 0

    起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn, AnimationFadeOut, AnimationChange, AnimationAddition, AnimationHiding, AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    AnimationInfo.delay

    float 0 v3.8.0

    动画开始前的延迟时间。

    AnimationInfo.duration

    float 1000 v3.8.0

    动画的时长。

    AnimationInfo.enable

    bool true v3.8.0

    是否开启动画效果。

    AnimationInfo.reverse

    bool false v3.8.0

    是否开启反向动画效果。

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    AnimationInteraction.offset

    MLValue v3.8.0

    交互的多样式数值。如饼图的扇形选中时的偏移。

    AnimationInteraction.radius

    MLValue v3.8.0

    半径的多样式数值。

    AnimationInteraction.width

    MLValue v3.8.0

    宽度的多样式数值。

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    AnimationStyle.addition

    AnimationAddition v3.8.0

    数据新增动画配置。

    AnimationStyle.change

    AnimationChange v3.8.0

    数据变更动画配置。

    AnimationStyle.easting

    AnimationEasing

    可选:

    • Linear:

    AnimationStyle.enable

    bool true

    是否开启动画效果。

    AnimationStyle.fadeIn

    AnimationFadeIn v3.8.0

    渐入动画配置。

    AnimationStyle.fadeOut

    AnimationFadeOut v3.8.0

    渐出动画配置。

    AnimationStyle.hiding

    AnimationHiding v3.8.0

    数据隐藏动画配置。

    AnimationStyle.interaction

    AnimationInteraction v3.8.0

    交互动画配置。

    AnimationStyle.threshold

    int 2000

    是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。

    AnimationStyle.type

    AnimationType

    动画类型。

    可选:

    • Default: 默认。内部会根据实际情况选择一种动画播放方式。
    • LeftToRight: 从左往右播放动画。
    • BottomToTop: 从下往上播放动画。
    • InsideOut: 由内到外播放动画。
    • AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    • Clockwise: 顺时针播放动画。

    AnimationStyle.unscaledTime

    bool v3.4.0

    动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    区域填充样式。

    AreaStyle.color

    Color32

    区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。

    AreaStyle.innerFill

    bool v3.2.0

    是否只填充多边形区域。目前只支持凸多边形。

    AreaStyle.opacity

    float 0.6f

    图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。

    AreaStyle.origin

    AreaStyle.AreaOrigin

    区域填充的起始位置。

    可选:

    • Auto: 填充坐标轴轴线到数据间的区域。
    • Start: 填充坐标轴底部到数据间的区域。
    • End: 填充坐标轴顶部到数据间的区域。

    AreaStyle.show

    bool true

    是否显示区域填充。

    AreaStyle.toColor

    Color32

    渐变色的终点颜色。

    AreaStyle.toTop

    bool true v3.6.0

    渐变色是到顶部还是到实际位置。默认为true到顶部。

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    ArrowStyle.color

    Color32 Color.clear

    箭头颜色。

    ArrowStyle.dent

    float 3

    箭头的凹度。

    ArrowStyle.height

    float 15

    箭头高。

    ArrowStyle.offset

    float 0

    箭头偏移。

    ArrowStyle.width

    float 10

    箭头宽。

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis, ParallelAxis, RadiusAxis, SingleAxis, XAxis, XAxis3D, YAxis, YAxis3D, ZAxis3D

    直角坐标系的坐标轴组件。

    Axis.animation

    AxisAnimation

    坐标轴动画。

    Axis.axisLabel

    AxisLabel

    坐标轴刻度标签。

    Axis.axisLine

    AxisLine

    坐标轴轴线。

    Axis.axisName

    AxisName

    坐标轴名称。

    Axis.axisTick

    AxisTick

    坐标轴刻度。

    Axis.boundaryGap

    bool true

    坐标轴两边是否留白。只对类目轴有效。

    Axis.ceilRate

    double 0

    最大最小值向上取整的倍率。默认为0时自动计算。

    Axis.clockwise

    bool true

    刻度增长是否按顺时针,默认顺时针。

    Axis.data

    List<string>

    类目数据,在类目轴(type: 'category')中有效。

    Axis.gridIndex

    int

    坐标轴所在的 grid 的索引,默认位于第一个 grid。

    Axis.icons

    List<Sprite>

    类目数据对应的图标。

    Axis.indicatorLabel

    LabelStyle v3.4.0

    指示器文本的样式。Tooltip为Cross时使用。

    Axis.insertDataToHead

    bool

    添加新数据时是在列表的头部还是尾部加入。

    Axis.interval

    double 0

    强制设置坐标轴分割间隔。无法在类目轴中使用。

    Axis.inverse

    bool false

    是否反向坐标轴。在类目轴中无效。

    Axis.logBase

    float 10

    对数轴的底数,只在对数轴(type:'Log')中有效。

    Axis.logBaseE

    bool false

    对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。

    Axis.max

    double

    设定的坐标轴刻度最大值,当minMaxType为Custom时有效。

    Axis.maxCache

    int 0

    The first data will be remove when the size of axis data is larger then maxCache.

    Axis.min

    double

    设定的坐标轴刻度最小值,当minMaxType为Custom时有效。

    Axis.minCategorySpacing

    float 0 v3.11.0

    类目之间的最小间距。

    Axis.minMaxType

    Axis.AxisMinMaxType

    坐标轴刻度最大最小值显示类型。

    可选:

    • Default: 0-最大值。
    • MinMax: 最小值-最大值。
    • Custom: 自定义最小值最大值。
    • MinMaxAuto: [since("v3.7.0")]最小值-最大值。自动计算合适的值。

    Axis.minorSplitLine

    AxisMinorSplitLine v3.2.0

    坐标轴次分割线。

    Axis.minorTick

    AxisMinorTick v3.2.0

    坐标轴次刻度。

    Axis.offset

    float

    坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。

    Axis.parallelIndex

    int

    坐标轴所在的 parallel 的索引,默认位于第一个 parallel。

    Axis.polarIndex

    int

    坐标轴所在的 ploar 的索引,默认位于第一个 polar。

    Axis.position

    Axis.AxisPosition

    坐标轴在Grid中的位置。

    可选:

    • Left: 坐标轴在Grid中的位置
    • Right: 坐标轴在Grid中的位置
    • Bottom: 坐标轴在Grid中的位置
    • Top: 坐标轴在Grid中的位置
    • Center: 坐标轴在Grid中的位置

    Axis.show

    bool true

    是否显示坐标轴。

    Axis.splitArea

    AxisSplitArea

    坐标轴分割区域。

    Axis.splitLine

    AxisSplitLine

    坐标轴分割线。

    Axis.splitNumber

    int 0

    坐标轴的期望的分割段数。默认为0表示自动分割。

    Axis.type

    Axis.AxisType

    坐标轴类型。

    可选:

    • Value: 数值轴。适用于连续数据。
    • Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    • Log: 对数轴。适用于对数数据。
    • Time: 时间轴。适用于连续的时序数据。

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    AxisAnimation.duration

    float

    动画时长(ms)。 默认设置为0时,会自动获取serie的动画时长。

    AxisAnimation.show

    bool true

    是否开启动画。

    AxisAnimation.unscaledTime

    bool

    动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    AxisLabel.inside

    bool false

    刻度标签是否朝内,默认朝外。

    AxisLabel.interval

    int 0

    坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。

    AxisLabel.onZero

    bool false

    刻度标签显示在0刻度上。

    AxisLabel.showAsPositiveNumber

    bool false

    将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。

    AxisLabel.showEndLabel

    bool true

    是否显示最后一个文本。

    AxisLabel.showStartLabel

    bool true

    是否显示第一个文本。

    AxisLabel.textLimit

    TextLimit

    文本限制。

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    AxisLine.arrow

    ArrowStyle

    轴线箭头。

    AxisLine.onZero

    bool

    X 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。

    AxisLine.showArrow

    bool

    是否显示箭头。

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    AxisMinorSplitLine.autoColor

    bool

    自动设置颜色。

    AxisMinorSplitLine.distance

    float

    刻度线与轴线的距离。

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    AxisMinorTick.autoColor

    bool

    AxisMinorTick.splitNumber

    int 5

    分隔线之间分割的刻度数。

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    AxisName.labelStyle

    LabelStyle

    文本样式。

    AxisName.name

    string

    坐标轴名称。

    AxisName.onZero

    bool v3.1.0

    坐标轴名称的位置是否保持和Y轴0刻度一致。

    AxisName.show

    bool

    是否显示坐标轴名称。

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    AxisSplitArea.color

    List<Color32>

    分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitArea.show

    bool

    是否显示分隔区域。

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    AxisSplitLine.autoColor

    bool

    自动设置颜色。

    AxisSplitLine.distance

    float

    刻度线与轴线的距离。

    AxisSplitLine.interval

    int

    坐标轴分隔线的显示间隔。

    AxisSplitLine.showEndLine

    bool true v3.3.0

    是否显示最后一条分割线。

    AxisSplitLine.showStartLine

    bool true v3.3.0

    是否显示第一条分割线。

    AxisSplitLine.showZLine

    bool true v3.11.0

    是否显示Z轴部分分割线。一般用于3D坐标系。

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    AxisTick.alignWithLabel

    bool

    类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。

    AxisTick.autoColor

    bool

    AxisTick.distance

    float

    刻度线与轴线的距离。

    AxisTick.inside

    bool

    坐标轴刻度是否朝内,默认朝外。

    AxisTick.showEndTick

    bool

    是否显示最后一个刻度。

    AxisTick.showStartTick

    bool

    是否显示第一个刻度。

    AxisTick.splitNumber

    int 0

    分隔线之间分割的刻度数。

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    Background.autoColor

    bool true

    当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。

    Background.borderStyle

    BorderStyle v3.10.0

    背景边框样式。

    Background.image

    Sprite

    背景图。

    Background.imageColor

    Color

    背景图颜色。

    Background.imageHeight

    float 0 v3.10.0

    背景图高度。

    Background.imageType

    Image.Type

    背景图填充类型。

    Background.imageWidth

    float 0 v3.10.0

    背景图宽度。

    Background.show

    bool true

    是否启用背景组件。

    Bar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme, RadiusAxisTheme, AngleAxisTheme, PolarAxisTheme, RadarAxisTheme

    BaseAxisTheme.lineColor

    Color32

    坐标轴线颜色。

    BaseAxisTheme.lineLength

    float 0f

    坐标轴线长。

    BaseAxisTheme.lineType

    LineStyle.Type

    坐标轴线类型。

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    BaseAxisTheme.lineWidth

    float 1f

    坐标轴线宽。

    BaseAxisTheme.minorSplitLineColor

    Color32

    次分割线线颜色。

    BaseAxisTheme.splitAreaColors

    List<Color32>

    坐标轴分隔区域的颜色。

    BaseAxisTheme.splitLineColor

    Color32

    分割线线颜色。

    BaseAxisTheme.splitLineLength

    float 0f

    分割线线长。

    BaseAxisTheme.splitLineType

    LineStyle.Type

    分割线线类型。

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    BaseAxisTheme.splitLineWidth

    float 1f

    分割线线宽。

    BaseAxisTheme.tickColor

    Color32

    坐标轴线颜色。

    BaseAxisTheme.tickLength

    float 5f

    刻度线线长。

    BaseAxisTheme.tickWidth

    float 1f

    刻度线线宽。

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine, AxisMinorSplitLine, AxisMinorTick, AxisSplitLine, AxisTick

    线条基础配置。

    BaseLine.lineStyle

    LineStyle

    线条样式

    BaseLine.show

    bool

    是否显示坐标轴轴线。

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer / 子类: EffectScatter, Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    BorderStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    边框样式。

    BorderStyle.borderColor

    Color32

    边框颜色。

    BorderStyle.borderWidth

    float

    边框宽度。

    BorderStyle.cornerRadius

    float[]

    圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。当为(1,1,1,1)时为全圆角。

    BorderStyle.roundedCorner

    bool true

    是否显示圆角。

    BorderStyle.show

    bool false

    是否显示边框。

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Candlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ChartText

    class in XCharts.Runtime

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle, AxisAnimation, AxisName, AxisSplitArea, AreaStyle, ArrowStyle, BaseLine, BorderStyle, IconStyle, ImageStyle, ItemStyle, Level, LevelStyle, LineArrow, LineStyle, Location, MLValue, MarqueeStyle, Padding, StageColor, SymbolStyle, TextLimit, TextStyle, CommentItem, CommentMarkStyle, LabelLine, LabelStyle, MarkAreaData, MarkLineData, StateStyle, VisualMapRange, ViewControl, UIComponentTheme, SerieData, SerieDataLink, ComponentTheme, SerieTheme, ThemeStyle

    Comment

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图表注解组件。

    Comment.items

    List<CommentItem>

    注解项。每个注解组件可以设置多个注解项。

    Comment.labelStyle

    LabelStyle

    所有组件的文本样式。

    Comment.markStyle

    CommentMarkStyle

    所有组件的文本样式。

    Comment.show

    bool true

    是否显示注解组件。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    CommentItem.content

    string

    注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。

    CommentItem.labelStyle

    LabelStyle

    注解项的文本样式。

    CommentItem.location

    Location v3.5.0

    Comment显示的位置。

    CommentItem.markRect

    Rect

    注解区域。

    CommentItem.markStyle

    CommentMarkStyle

    注解标记区域样式。

    CommentItem.show

    bool true

    是否显示当前注解项。

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    CommentMarkStyle.lineStyle

    LineStyle

    线条样式。

    CommentMarkStyle.show

    bool true

    是否显示当前注解项。

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme, DataZoomTheme, LegendTheme, SubTitleTheme, TitleTheme, TooltipTheme, VisualMapTheme

    ComponentTheme.font

    Font

    字体。

    ComponentTheme.fontSize

    int 18

    文本字体大小。

    ComponentTheme.textBackgroundColor

    Color

    文本颜色。

    ComponentTheme.textColor

    Color

    文本颜色。

    ComponentTheme.tMPFont

    TMP_FontAsset

    字体。

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord, CalendarCoord, GridCoord, GridCoord3D, ParallelCoord, PolarCoord, SingleAxisCoord

    坐标系系统。

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    DataZoom.areaStyle

    AreaStyle

    阴影填充样式。

    DataZoom.backgroundColor

    Color32

    组件的背景颜色。

    DataZoom.borderColor

    Color32

    边框颜色。

    DataZoom.borderWidth

    float

    边框宽。

    DataZoom.bottom

    float

    组件离容器下侧的距离。

    DataZoom.enable

    bool true

    是否显示缩放区域。

    DataZoom.end

    float

    数据窗口范围的结束百分比。范围是:0 ~ 100。

    DataZoom.endLock

    bool v3.6.0

    固定结束值,不让改变。

    DataZoom.fillerColor

    Color32

    数据区域颜色。

    DataZoom.filterMode

    DataZoom.FilterMode

    数据过滤类型。

    可选:

    • Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    • WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    • Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    • None: 不过滤数据,只改变数轴范围。

    DataZoom.labelStyle

    LabelStyle

    文本标签格式。

    DataZoom.left

    float

    组件离容器左侧的距离。

    DataZoom.lineStyle

    LineStyle

    阴影线条样式。

    DataZoom.marqueeStyle

    MarqueeStyle v3.5.0

    选取框样式。

    DataZoom.minShowNum

    int 2

    最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。

    DataZoom.orient

    Orient

    布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    DataZoom.rangeMode

    DataZoom.RangeMode

    取绝对值还是百分比。

    可选:

    • //Value: The value type of start and end.取值类型
    • Percent: 百分比。

    DataZoom.right

    float

    组件离容器右侧的距离。

    DataZoom.scrollSensitivity

    float 1.1f

    缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。

    DataZoom.showDataShadow

    bool

    是否显示数据阴影。数据阴影可以简单地反应数据走势。

    DataZoom.showDetail

    bool

    是否显示detail,即拖拽时候显示详细数值信息。

    DataZoom.start

    float

    数据窗口范围的起始百分比。范围是:0 ~ 100。

    DataZoom.startLock

    bool v3.6.0

    固定起始值,不让改变。

    DataZoom.supportInside

    bool

    是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。

    DataZoom.supportInsideDrag

    bool true

    是否支持坐标系内拖拽

    DataZoom.supportInsideScroll

    bool true

    是否支持坐标系内滚动

    DataZoom.supportMarquee

    bool

    是否支持框选。提供一个选框进行数据区域缩放。

    DataZoom.supportSlider

    bool

    是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。

    DataZoom.top

    float

    组件离容器上侧的距离。

    DataZoom.xAxisIndexs

    List<int>

    控制的 x 轴索引列表。

    DataZoom.yAxisIndexs

    List<int>

    控制的 y 轴索引列表。

    DataZoom.zoomLock

    bool

    是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    DataZoomTheme.backgroundColor

    Color32

    背景颜色。

    DataZoomTheme.borderColor

    Color32

    边框颜色。

    DataZoomTheme.borderWidth

    float

    边框线宽。

    DataZoomTheme.dataAreaColor

    Color32

    数据阴影的填充颜色。

    DataZoomTheme.dataLineColor

    Color32

    数据阴影的线条颜色。

    DataZoomTheme.dataLineWidth

    float

    数据阴影线宽。

    DataZoomTheme.fillerColor

    Color32

    数据区域颜色。

    DebugInfo

    class in XCharts.Runtime

    DebugInfo.foldSeries

    bool false

    是否在Inspector上折叠Serie。

    DebugInfo.labelStyle

    LabelStyle

    DebugInfo.show

    bool true

    是否显示Debug组件。

    DebugInfo.showAllChartObject

    bool false

    是否在Hierarchy试图显示所有chart下的节点。

    DebugInfo.showDebugInfo

    bool false

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    EmphasisStyle.blurScope

    EmphasisStyle.BlurScope

    在开启focus的时候,可以通过blurScope配置淡出的范围。

    可选:

    • GridCoord: 淡出范围为坐标系,默认使用该配置。
    • Series: 淡出范围为系列。
    • Global: 淡出范围为全局。

    EmphasisStyle.focus

    EmphasisStyle.FocusType

    在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。

    可选:

    • None: 不淡出其它图形,默认使用该配置。
    • Self: 只聚焦(不淡出)当前高亮的数据的图形。
    • Series: 聚焦当前高亮的数据所在的系列的所有图形。

    EmphasisStyle.scale

    float 1.1f

    高亮时的缩放倍数。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    GridCoord.backgroundColor

    Color32

    网格背景色,默认透明。

    GridCoord.borderColor

    Color32

    网格边框颜色。

    GridCoord.borderWidth

    float 0f

    网格边框宽。

    GridCoord.bottom

    float 0.14f

    grid 组件离容器下侧的距离。

    GridCoord.layoutIndex

    int -1 v3.8.0

    网格所属的网格布局组件的索引。默认为-1,表示不属于任何网格布局组件。当设置了该值时,left、right、top、bottom属性将失效。

    GridCoord.left

    float 0.11f

    grid 组件离容器左侧的距离。

    GridCoord.right

    float 0.08f

    grid 组件离容器右侧的距离。

    GridCoord.show

    bool true

    是否显示直角坐标系网格。

    GridCoord.showBorder

    bool false

    是否显示网格边框。

    GridCoord.top

    float 0.22f

    grid 组件离容器上侧的距离。

    GridCoord3D

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    v3.11.0 开始支持

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    GridCoord3D.bottom

    float 0.15f

    grid 组件离容器下侧的距离。

    GridCoord3D.boxDepth

    float 0.2f

    坐标系的深度。

    GridCoord3D.boxHeight

    float 0.4f

    坐标系的高度。

    GridCoord3D.boxWidth

    float 0.55f

    坐标系的宽度。

    GridCoord3D.left

    float 0.15f

    grid 组件离容器左侧的距离。

    GridCoord3D.right

    float 0.2f

    grid 组件离容器右侧的距离。

    GridCoord3D.show

    bool true

    是否显示直角坐标系网格。

    GridCoord3D.showBorder

    bool false

    是否显示网格边框。

    GridCoord3D.top

    float 0.3f

    grid 组件离容器上侧的距离。

    GridCoord3D.viewControl

    ViewControl

    3D视角控制组件。

    GridCoord3D.xYExchanged

    bool false

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    GridLayout.bottom

    float 0.12f

    grid 组件离容器下侧的距离。

    GridLayout.column

    int 2

    网格布局的列数。

    GridLayout.inverse

    bool false

    是否反转网格布局。

    GridLayout.left

    float 0.1f

    grid 组件离容器左侧的距离。

    GridLayout.right

    float 0.08f

    grid 组件离容器右侧的距离。

    GridLayout.row

    int 2

    网格布局的行数。

    GridLayout.show

    bool true

    是否显示直角坐标系网格。

    GridLayout.spacing

    Vector2 Vector2.zero

    网格布局的间距。

    GridLayout.top

    float 0.22f

    grid 组件离容器上侧的距离。

    Heatmap

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    Heatmap.heatmapType

    HeatmapType v3.3.0

    热力图类型。通过颜色映射划分。

    可选:

    • Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    • Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    IconStyle.align

    Align

    水平方向对齐方式。

    可选:

    • Center: 对齐方式。文本,图标,图形等的对齐方式。
    • Left: 对齐方式。文本,图标,图形等的对齐方式。
    • Right: 对齐方式。文本,图标,图形等的对齐方式。

    IconStyle.autoHideWhenLabelEmpty

    bool false

    当label内容为空时是否自动隐藏图标

    IconStyle.color

    Color

    图标颜色。

    IconStyle.height

    float 20

    图标高。

    IconStyle.layer

    IconStyle.Layer

    显示在上层还是在下层。

    可选:

    • UnderText: The icon is display under the label text. 图标在标签文字下
    • AboveText: The icon is display above the label text. 图标在标签文字上

    IconStyle.offset

    Vector3

    图标偏移。

    IconStyle.show

    bool false

    是否显示图标。

    IconStyle.sprite

    Sprite

    图标的图片。

    IconStyle.type

    Image.Type

    图片的显示类型。

    IconStyle.width

    float 20

    图标宽。

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    ImageStyle.autoColor

    bool

    是否自动颜色。

    ImageStyle.color

    Color

    图标颜色。

    ImageStyle.height

    float 0

    图标高。

    ImageStyle.show

    bool true

    是否显示图标。

    ImageStyle.sprite

    Sprite

    图标的图片。

    ImageStyle.type

    Image.Type

    图片的显示类型。

    ImageStyle.width

    float 0

    图标宽。

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    Indicator.axisLine

    AxisLine

    轴线。

    Indicator.axisName

    AxisName

    雷达图每个指示器名称的配置项。

    Indicator.ceilRate

    double 0

    最大最小值向上取整的倍率。默认为0时自动计算。

    Indicator.center

    float[]

    雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。

    Indicator.connectCenter

    bool false

    数值是否连线到中心点。

    Indicator.gridIndex

    int -1 v3.8.0

    所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。

    Indicator.indicator

    bool true

    是否显示指示器。

    Indicator.indicatorGap

    float 10

    指示器和雷达的间距。

    Indicator.indicatorList

    List<Indicator>

    指示器列表。

    Indicator.isAxisTooltip

    bool

    是否Tooltip显示轴线上的所有数据。

    Indicator.lineGradient

    bool true

    数值线段是否需要渐变。

    Indicator.max

    double

    指示器的最大值,默认为 0 无限制。

    Indicator.min

    double

    指示器的最小值,默认为 0 无限制。

    Indicator.name

    string

    指示器名称。

    Indicator.outRangeColor

    Color32 Color.red

    数值超出范围时显示的颜色。

    Indicator.positionType

    PositionType

    显示位置类型。

    Indicator.radius

    float 100

    雷达图的半径。

    Indicator.range

    double[]

    正常值范围。当数值不在这个范围时,会自动变更显示颜色。

    Indicator.shape

    Shape

    雷达图绘制类型,支持 'Polygon' 和 'Circle'。

    Indicator.show

    bool

    是否显示雷达坐标系组件。

    Indicator.splitArea

    AxisSplitArea

    分割区域。

    Indicator.splitLine

    AxisSplitLine

    分割线。

    Indicator.splitNumber

    int 5

    指示器轴的分割段数。

    Indicator.startAngle

    float v3.4.0

    起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Radar, BaseScatter

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location, Comment, Legend, Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, LineArrow, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord, CalendarCoord, GridCoord, GridCoord3D, ParallelCoord, PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, ItemStyle, LineStyle, SerieSymbol, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar, SimplifiedCandlestick, SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    图形样式。

    ItemStyle.backgroundColor

    Color32

    数据项背景颜色。

    ItemStyle.backgroundWidth

    float

    数据项背景宽度。

    ItemStyle.borderColor

    Color32

    边框的颜色。

    ItemStyle.borderColor0

    Color32

    边框的颜色。

    ItemStyle.borderGap

    float 0

    边框间隙。

    ItemStyle.borderToColor

    Color32

    边框的渐变色。

    ItemStyle.borderWidth

    float 0

    边框宽。

    ItemStyle.centerColor

    Color32

    中心区域颜色。

    ItemStyle.centerGap

    float

    中心区域间隙。

    ItemStyle.color

    Color32

    数据项颜色。

    ItemStyle.color0

    Color32

    数据项颜色。

    ItemStyle.cornerRadius

    float[]

    圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    ItemStyle.itemFormatter

    string

    提示框单项的字符串模版格式器。具体配置参考Tooltipformatter

    ItemStyle.itemMarker

    string

    提示框单项的字符标志。用在Tooltip中。

    ItemStyle.markColor

    Color32 v3.6.0

    Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。

    ItemStyle.numericFormatter

    string

    标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式:以date开头,用来格式化DateTime,常见格式有:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:date:yyyy-MM-dd HH:mm:ss
    时间格式:以time开头,用来格式化TimeSpan,常见格式有:d日,HH时,mm分,ss秒,fffffff小数部分。 需要Unity2018以上版本才支持格式化,并且里面的字符要转义。如:time:d.HH\:mm\:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    时间格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings
    注意:date和time格式需要v3.12.0以上版本才支持。

    ItemStyle.opacity

    float 1

    透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。

    ItemStyle.show

    bool true

    是否启用。

    ItemStyle.toColor

    Color32

    渐变色的颜色1。

    ItemStyle.toColor2

    Color32

    渐变色的颜色2。只在折线图中有效。

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis, DataZoom, CalendarCoord, GridCoord, GridLayout, GridCoord3D, ParallelCoord

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    标签的引导线

    LabelLine.endSymbol

    SymbolStyle

    结束点的图形标记。

    LabelLine.lineAngle

    float 60

    视觉引导线的固定角度。对折线和曲线有效。在Pie中无效。

    LabelLine.lineColor

    Color32 Color32(0,0,0,0)

    视觉引导线颜色。默认和serie一致取自调色板。

    LabelLine.lineEndX

    float 0f v3.8.0

    视觉引导线结束点的固定x位置。当不为0时,会代替lineLength2设定引导线的x位置。

    LabelLine.lineGap

    float 1.0f

    视觉引导线和容器的间距。

    LabelLine.lineLength1

    float 25f

    视觉引导线第一段的长度。

    LabelLine.lineLength2

    float 15f

    视觉引导线第二段的长度。

    LabelLine.lineType

    LabelLine.LineType

    视觉引导线类型。

    可选:

    • BrokenLine: 折线
    • Curves: 曲线
    • HorizontalLine: 水平线

    LabelLine.lineWidth

    float 1.0f

    视觉引导线的宽度。

    LabelLine.show

    bool true

    是否显示视觉引导线。

    LabelLine.startSymbol

    SymbolStyle

    起始点的图形标记。

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent / 子类: AxisLabel, EndLabelStyle, TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    LabelStyle.autoOffset

    bool false

    是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。

    LabelStyle.autoRotate

    bool false v3.6.0

    是否自动旋转。

    LabelStyle.background

    ImageStyle

    背景图样式。

    LabelStyle.distance

    float

    距离轴线的距离。

    LabelStyle.formatter

    string

    标签内容字符串模版格式器。支持用 \n 换行。部分组件的格式器会不生效。
    模板通配符有以下这些,部分只适用于固定的组件:
    {.}:圆点标记。
    {a}:系列名。
    {b}:X轴类目名或数据名。
    {c}:数据值。
    {d}:百分比。
    {e}:数据名。
    {f}:数据和。
    {g}:数据总个数。
    {h}:十六进制颜色值。
    {y}:Y轴的类目名。
    {value}:坐标轴或图例的值。
    以下通配符适用UITable组件:
    {name}: 表格的行名。
    {index}:表格的行号。
    以下通配符适用UIStatistc组件:
    {title}:标题文本。
    {dd}:天。
    {hh}:小时。
    {mm}:分钟。
    {ss}:秒。
    {fff}:毫秒。
    {d}:天。
    {h}:小时。
    {m}:分钟。
    {s}:秒。
    {f}:毫秒。
    示例:“{b}:{c}”

    LabelStyle.height

    float 0

    标签的高度。一般不用指定,不指定时则自动是文字的高度。

    LabelStyle.icon

    IconStyle

    图标样式。

    LabelStyle.numericFormatter

    string

    标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式:以date开头,用来格式化DateTime,常见格式有:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:date:yyyy-MM-dd HH:mm:ss
    时间格式:以time开头,用来格式化TimeSpan,常见格式有:d日,HH时,mm分,ss秒,fffffff小数部分。 需要Unity2018以上版本才支持格式化,并且里面的字符要转义。如:time:d.HH\:mm\:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    时间格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings
    注意:date和time格式需要v3.12.0以上版本才支持。

    LabelStyle.offset

    Vector3

    距离图形元素的偏移

    LabelStyle.Position

    [SerializeField]

    标签的位置。

    LabelStyle.rotate

    float

    文本的旋转。

    LabelStyle.show

    bool true

    是否显示文本标签。

    LabelStyle.textPadding

    TextPadding

    文本的边距。

    LabelStyle.textStyle

    TextStyle

    文本样式。

    LabelStyle.width

    float 0

    标签的宽度。一般不用指定,不指定时则自动是文字的宽度。

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    Legend

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    Legend.background

    ImageStyle v3.1.0

    背景图样式。

    Legend.colors

    List<Color>

    图例标记的颜色列表。

    Legend.data

    List<string>

    图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。

    Legend.formatter

    string

    不再使用,使用LabelStyle.formatter代替。

    Legend.icons

    List<Sprite>

    自定义的图例标记图形。

    Legend.iconType

    Legend.Type

    图例类型。

    可选:

    • Auto: 自动匹配。
    • Custom: 自定义图标。
    • EmptyCircle: 空心圆。
    • Circle: 圆形。
    • Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    • Triangle: 三角形。
    • Diamond: 菱形。
    • Candlestick: 烛台(可用于K线图)。

    Legend.itemAutoColor

    bool true

    图例标记的图形是否自动匹配颜色。

    Legend.itemGap

    float 10f

    图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。

    Legend.itemHeight

    float 12.0f

    图例标记的图形高度。

    Legend.itemOpacity

    float 1

    图例标记的图形的颜色透明度。

    Legend.itemWidth

    float 25.0f

    图例标记的图形宽度。

    Legend.labelStyle

    LabelStyle

    文本样式。

    Legend.location

    Location

    图例显示的位置。

    Legend.orient

    Orient

    布局方式是横还是竖。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    Legend.padding

    Padding v3.1.0

    图例标记和背景的间距。

    Legend.positions

    List<Vector3> v3.6.0

    图例标记的自定义位置列表。

    Legend.selectedMode

    Legend.SelectedMode

    选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。

    可选:

    • Multiple: 多选。
    • Single: 单选。
    • None: 无法选择。

    Legend.show

    bool true

    是否显示图例组件。

    Legend.textLimit

    TextLimit v3.10.0

    文本限制。

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    LegendTheme.unableColor

    Color

    文本颜色。

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    Level.depth

    int 0 v3.10.0

    层级深度。

    Level.itemStyle

    ItemStyle

    数据项样式。

    Level.label

    LabelStyle

    文本标签样式。

    Level.lineStyle

    LineStyle v3.10.0

    线条样式。

    Level.upperLabel

    LabelStyle

    上方的文本标签样式。

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    LevelStyle.levels

    List<Level>

    各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    LevelStyle.show

    bool false

    是否启用LevelStyle

    Line

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent

    LineArrow.arrow

    ArrowStyle

    箭头。

    LineArrow.position

    LineArrow.Position

    箭头位置。

    可选:

    • End: 末端箭头
    • Start: 头端箭头

    LineArrow.show

    bool

    是否显示箭头。

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    LineStyle.color

    Color32

    线的颜色。

    LineStyle.dashLength

    float 4 v3.8.1

    虚线的长度。默认0时为线条宽度的12倍。在折线图中代表分割段数的倍数。

    LineStyle.dotLength

    float 2 v3.8.1

    点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。

    LineStyle.gapLength

    float 2 v3.8.1

    点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。

    LineStyle.length

    float 0

    线长。

    LineStyle.opacity

    float 1

    线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。

    LineStyle.show

    bool true

    是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。

    LineStyle.toColor

    Color32

    线的渐变颜色(需要水平方向渐变时)。

    LineStyle.toColor2

    Color32

    线的渐变颜色2(需要水平方向三个渐变色的渐变时)。

    LineStyle.type

    LineStyle.Type

    线的类型。

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    LineStyle.width

    float 0

    线宽。

    Location

    class in XCharts.Runtime / 继承自: ChildComponent, IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    Location.align

    Location.Align

    对齐方式。

    可选:

    • TopLeft: 对齐方式
    • TopRight: 对齐方式
    • TopCenter: 对齐方式
    • BottomLeft: 对齐方式
    • BottomRight: 对齐方式
    • BottomCenter: 对齐方式
    • Center: 对齐方式
    • CenterLeft: 对齐方式
    • CenterRight: 对齐方式

    Location.bottom

    float

    离容器下侧的距离。

    Location.left

    float

    离容器左侧的距离。

    Location.right

    float

    离容器右侧的距离。

    Location.top

    float

    离容器上侧的距离。

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis, Background, Comment, DataZoom, Legend, MarkArea, MarkLine, Settings, Title, Tooltip, VisualMap, GridLayout, CoordSystem

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    MarkArea.end

    MarkAreaData

    标域范围的结束数据。

    MarkArea.itemStyle

    ItemStyle

    标域样式。

    MarkArea.label

    LabelStyle

    标域文本样式。

    MarkArea.serieIndex

    int 0

    Serie index of markArea. 标域影响的Serie索引。

    MarkArea.show

    bool true

    是否显示标域。

    MarkArea.start

    MarkAreaData

    标域范围的起始数据。

    MarkArea.text

    string

    The text of markArea. 标域显示的文本。

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    MarkAreaData.dimension

    int 1

    从哪个维度的数据计算最大最小值等。

    MarkAreaData.name

    string

    标注名称。会作为文字显示。

    MarkAreaData.type

    MarkAreaType

    特殊的标域类型,用于标注最大值最小值等。

    可选:

    • None: 标域类型
    • Min: 最小值。
    • Max: 最大值。
    • Average: 平均值。
    • Median: 中位数。

    MarkAreaData.xPosition

    float

    相对原点的 x 坐标,单位像素。当type为None时有效。

    MarkAreaData.xValue

    double

    X轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkAreaData.yPosition

    float

    相对原点的 y 坐标,单位像素。当type为None时有效。

    MarkAreaData.yValue

    double

    Y轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    MarkLine.animation

    AnimationStyle

    标线的动画样式。

    MarkLine.data

    List<MarkLineData>

    标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLine.onTop

    bool true v3.9.0

    是否在最上层。

    MarkLine.serieIndex

    int 0

    标线影响的Serie索引。

    MarkLine.show

    bool true

    是否显示标线。

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    MarkLineData.dimension

    int 1

    从哪个维度的数据计算最大最小值等。

    MarkLineData.endSymbol

    SymbolStyle

    结束点的图形标记。

    MarkLineData.group

    int 0

    分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。

    MarkLineData.label

    LabelStyle

    文本样式。可设置position为Start、Middle和End在不同的位置显示文本。

    MarkLineData.lineStyle

    LineStyle

    标线样式。

    MarkLineData.name

    string

    标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。

    MarkLineData.startSymbol

    SymbolStyle

    起始点的图形标记。

    MarkLineData.type

    MarkLineType

    特殊的标线类型,用于标注最大值最小值等。

    可选:

    • None: 标线类型
    • Min: 最小值。
    • Max: 最大值。
    • Average: 平均值。
    • Median: 中位数。

    MarkLineData.xPosition

    float

    相对原点的 x 坐标,单位像素。当type为None时有效。

    MarkLineData.xValue

    double

    X轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLineData.yPosition

    float

    相对原点的 y 坐标,单位像素。当type为None时有效。

    MarkLineData.yValue

    double

    Y轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLineData.zeroPosition

    bool false

    是否为坐标系原点。

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    MarqueeStyle.apply

    bool false v3.5.0

    选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。

    MarqueeStyle.areaStyle

    AreaStyle v3.5.0

    选取框区域填充样式。

    MarqueeStyle.lineStyle

    LineStyle v3.5.0

    选取框区域边框样式。

    MarqueeStyle.realRect

    bool false v3.5.0

    是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    MLValue.type

    MLValue.Type

    可选:

    • Percent: 百分比形式。
    • Absolute: 绝对值形式。
    • Extra: 额外形式。

    MLValue.value

    float

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    Padding.bottom

    float 0

    底部间距。

    Padding.left

    float 2f

    左边间距。

    Padding.right

    float 2f

    右部间距。

    Padding.show

    bool true

    show padding. 是否显示。

    Padding.top

    float 0

    顶部间距。

    Parallel

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    ParallelCoord.backgroundColor

    Color

    网格背景色,默认透明。

    ParallelCoord.bottom

    float 0.12f

    grid 组件离容器下侧的距离。

    ParallelCoord.left

    float 0.1f

    grid 组件离容器左侧的距离。

    ParallelCoord.orient

    Orient

    坐标轴朝向。默认为垂直朝向。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    ParallelCoord.right

    float 0.08f

    grid 组件离容器右侧的距离。

    ParallelCoord.show

    bool true

    是否显示直角坐标系网格。

    ParallelCoord.top

    float 0.22f

    grid 组件离容器上侧的距离。

    Pie

    class in XCharts.Runtime / 继承自: Serie

    Pie.radiusGradient

    bool false v3.8.1

    是否开启半径方向的渐变效果。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    PolarCoord.backgroundColor

    Color

    极坐标的背景色,默认透明。

    PolarCoord.center

    float[]

    极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。

    PolarCoord.indicatorLabelOffset

    float 30f v3.8.0

    指示器标签的偏移量。

    PolarCoord.radius

    float[]

    半径。radius[0]表示内径,radius[1]表示外径。

    PolarCoord.show

    bool true

    是否显示极坐标。

    Radar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    Radar.smooth

    bool false v3.2.0

    是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    Ring

    class in XCharts.Runtime / 继承自: Serie

    Ring.radiusGradient

    bool false v3.12.0

    是否开启半径方向的渐变效果。

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie, IComparable / 子类: SerieHandler<T>, Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Pie, Radar, Ring, BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    Serie.align

    Align

    组件水平方向对齐方式。

    可选:

    • Center: 对齐方式。文本,图标,图形等的对齐方式。
    • Left: 对齐方式。文本,图标,图形等的对齐方式。
    • Right: 对齐方式。文本,图标,图形等的对齐方式。

    Serie.animation

    AnimationStyle

    起始动画。

    Serie.avoidLabelOverlap

    bool false

    在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。

    Serie.barGap

    float 0.1f

    不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。

    Serie.barMaxWidth

    float 0 v3.5.0

    柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。

    Serie.barPercentStack

    bool false

    柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。

    Serie.barType

    BarType

    柱形图类型。

    可选:

    • Normal: 普通柱形图。
    • Zebra: 斑马柱形图。
    • Capsule: 胶囊柱形图。

    Serie.barWidth

    float 0

    柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。

    Serie.barZebraGap

    float 2f

    斑马线的间距。

    Serie.barZebraWidth

    float 4f

    斑马线的粗细。

    Serie.bottom

    float

    组件离容器下侧的距离。

    Serie.center

    float[]

    中心点。

    Serie.clickOffset

    bool true

    鼠标点击时是否开启偏移,一般用在PieChart图表中。

    Serie.clip

    bool false

    是否裁剪超出坐标系部分的图形。

    Serie.clockwise

    bool true

    是否顺时针。

    Serie.colorBy

    SerieColorBy v3.2.0

    从主题中取色的策略。

    可选:

    • Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略。
    • Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    • Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。

    Serie.coordSystem

    string

    使用的坐标系。

    Serie.data

    List<SerieData>

    系列中的数据内容数组。SerieData可以设置1到n维数据。

    Serie.dataSortType

    SerieDataSortType

    组件的数据排序。

    可选:

    • None: 按数据的顺序。
    • Ascending: 升序。
    • Descending: 降序。

    Serie.endAngle

    float

    结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。

    Serie.gap

    float

    间距。

    Serie.gridIndex

    int -1 v3.8.0

    所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。

    Serie.ignore

    bool false

    是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。

    Serie.ignoreLineBreak

    bool false

    忽略数据时折线是断开还是连接。默认false为连接。

    Serie.ignoreValue

    double 0

    忽略数据的默认值。当ignore为true才有效。

    Serie.index

    int

    系列索引。

    Serie.insertDataToHead

    bool

    添加新数据时是在列表的头部还是尾部加入。

    Serie.itemStyle

    ItemStyle

    图形样式。

    Serie.large

    bool true

    是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。

    Serie.largeThreshold

    int 200

    开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。

    Serie.left

    float

    组件离容器左侧的距离。

    Serie.lineStyle

    LineStyle

    线条样式。

    Serie.lineType

    LineType

    折线图样式类型。

    可选:

    • Normal: 普通折线图。
    • Smooth: 平滑曲线。
    • StepStart: 阶梯线图:当前点。
    • StepMiddle: 阶梯线图:当前点和下一个点的中间。
    • StepEnd: 阶梯线图:下一个拐点。

    List<SerieDataLink>

    数据节点的边。

    Serie.max

    float

    最大值。

    Serie.maxCache

    int

    系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。

    Serie.maxShow

    int

    系列所显示数据的最大索引

    Serie.maxSize

    float 1f

    数据最大值 max 映射的宽度。

    Serie.min

    float

    最小值。

    Serie.minAngle

    float

    最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。

    Serie.minRadius

    float 0f v3.8.0

    最小半径。可用于限制玫瑰图的最小半径。

    Serie.minShow

    int

    系列所显示数据的最小索引

    Serie.minShowLabel

    bool false v3.10.0

    是否开启值小于指定值minShowLabelValue时不显示标签。

    Serie.minShowLabelValue

    double 0 v3.10.0

    当开启minShowLabel时,值小于该值时不显示标签。

    Serie.minSize

    float 0f

    数据最小值 min 映射的宽度。

    Serie.orient

    Orient

    组件的朝向。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    Serie.parallelIndex

    int 0

    所使用的 parallel coord 组件的 index。

    Serie.placeHolder

    bool false

    占位模式。占位模式时,数据有效但不参与渲染和显示。

    Serie.polarIndex

    int 0

    所使用的 polar 组件的 index。

    Serie.radarIndex

    int 0

    雷达图所使用的 radar 组件的 index。

    Serie.radarType

    RadarType

    雷达图类型。

    可选:

    • Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    • Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]

    Serie.radius

    float[]

    半径。radius[0]表示内径,radius[1]表示外径。

    Serie.right

    float

    组件离容器右侧的距离。

    Serie.roseType

    RoseType

    是否展示成南丁格尔图,通过半径区分数据大小。

    可选:

    • None: 不展示成南丁格尔玫瑰图。
    • Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    • Area: 所有扇区圆心角相同,仅通过半径展现数据大小。

    Serie.roundCap

    bool

    是否开启圆弧效果。

    Serie.sampleAverage

    float 0

    设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。

    Serie.sampleDist

    float 0

    采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。

    Serie.sampleType

    SampleType

    采样类型。当sampleDist大于0时有效。

    可选:

    • Peak: 取峰值。
    • Average: 取过滤点的平均值。
    • Max: 取过滤点的最大值。
    • Min: 取过滤点的最小值。
    • Sum: 取过滤点的和。

    Serie.serieName

    string

    系列名称,用于 tooltip 的显示,legend 的图例筛选。

    Serie.serieType

    string

    系列类型。

    Serie.show

    bool true

    系列是否显示在图表上。

    Serie.showAsPositiveNumber

    bool false

    将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。

    Serie.showDataDimension

    int

    数据项里的数据维数。

    Serie.showDataName

    bool

    在Editor的inpsector上是否显示name参数

    Serie.singleAxisIndex

    int 0

    所使用的 singleAxis 组件的 index。

    Serie.smoothLimit

    bool false v3.4.0

    是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。

    Serie.splitNumber

    int

    刻度分割段数。最大可设置36。

    Serie.stack

    string

    数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。

    Serie.startAngle

    float

    起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。

    Serie.state

    SerieState v3.2.0

    系列的默认状态。

    可选:

    • Normal: 正常状态。
    • Emphasis: 高亮状态。
    • Blur: 淡出状态。
    • Select: 选中状态。
    • Auto: 自动保持和父节点一致。一般用在SerieData。

    Serie.symbol

    SerieSymbol

    标记的图形。

    Serie.top

    float

    组件离容器上侧的距离。

    Serie.vesselIndex

    int 0

    水位图所使用的 vessel 组件的 index。

    Serie.xAxisIndex

    int 0

    使用X轴的index。

    Serie.yAxisIndex

    int 0

    使用Y轴的index。

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    SerieData.data

    List<double>

    可指定任意维数的数值列表。

    SerieData.id

    string

    数据项的唯一id。唯一id不是必须设置的。

    SerieData.ignore

    bool

    是否忽略数据。当为 true 时,数据不进行绘制。

    SerieData.index

    int

    数据项索引。

    SerieData.name

    string

    数据项名称。

    SerieData.parentId

    string

    父节点id。父节点id不是必须设置的。

    SerieData.radius

    float

    自定义半径。可用在饼图中自定义某个数据项的半径。

    SerieData.selected

    bool

    该数据项是否被选中。

    SerieData.state

    SerieState v3.2.0

    数据项的默认状态。

    可选:

    • Normal: 正常状态。
    • Emphasis: 高亮状态。
    • Blur: 淡出状态。
    • Select: 选中状态。
    • Auto: 自动保持和父节点一致。一般用在SerieData。

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    数据节点之间的连线。可用于桑基图等,桑基图只支持有向无环图,请保证数据的连线是有向无环图。

    SerieDataLink.source

    string

    边的源节点名称。

    SerieDataLink.target

    string

    边的目标节点名称。

    SerieDataLink.value

    double

    边的值。决定边的宽度。

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle, ISerieDataComponent

    系列数据项的标记的图形

    SerieSymbol.dataIndex

    int 1

    当sizeType指定为FromData时,指定的数据源索引。

    SerieSymbol.dataScale

    float 1

    当sizeType指定为FromData时,指定的倍数系数。

    SerieSymbol.forceShowLast

    bool false

    是否强制显示最后一个图形标记。

    SerieSymbol.interval

    int

    显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。

    SerieSymbol.maxSize

    float 0f v3.3.0

    图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieSymbol.minSize

    float 0f v3.3.0

    图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieSymbol.repeat

    bool false

    图形是否重复。

    SerieSymbol.sizeFunction

    SymbolSizeFunction

    当sizeType指定为Function时,指定的委托函数。

    SerieSymbol.sizeType

    SymbolSizeType

    标记图形的大小获取方式。

    可选:

    • Custom: 自定义大小。
    • FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    • Function: 通过委托函数获取。

    SerieSymbol.startIndex

    int

    开始显示图形标记的索引。

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    SerieTheme.candlestickBorderColor

    Color32 Color32(235, 84, 84, 255)

    K线图阳线(跌)边框色

    SerieTheme.candlestickBorderColor0

    Color32 Color32(71, 178, 98, 255)

    K线图阴线(跌)边框色

    SerieTheme.candlestickBorderWidth

    float 1

    K线图边框宽度

    SerieTheme.candlestickColor

    Color32 Color32(235, 84, 84, 255)

    K线图阳线(涨)填充色

    SerieTheme.candlestickColor0

    Color32 Color32(71, 178, 98, 255)

    K线图阴线(跌)填充色

    SerieTheme.lineSymbolSize

    float

    折线图的Symbol大小。

    SerieTheme.lineWidth

    float

    文本颜色。

    SerieTheme.scatterSymbolSize

    float

    散点图的Symbol大小。

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    Settings.axisMaxSplitNumber

    float 50 v3.1.0

    坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    Settings.basePainterMaterial

    Material

    Base Pointer 材质球,设置后会影响Axis等。

    Settings.cicleSmoothness

    float 2f

    圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。

    Settings.legendIconCornerRadius

    float[]

    图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    Settings.legendIconLineWidth

    float 2

    Line类型图例图标的线条宽度。

    Settings.lineSegmentDistance

    float 3f

    线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。

    Settings.lineSmoothness

    float 2f

    When the area with gradient is filled, the larger the value, the worse the transition effect.

    Settings.lineSmoothStyle

    float 2.5f

    曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。

    Settings.maxPainter

    int 10

    设定的painter数量。

    Settings.reversePainter

    bool false

    Painter是否逆序。逆序时index大的serie最先绘制。

    Settings.seriePainterMaterial

    Material

    Serie Pointer 材质球,设置后会影响所有Serie。

    Settings.show

    bool true

    Settings.topPainterMaterial

    Material

    Top Pointer 材质球。

    Settings.upperPainterMaterial

    Material

    Upper Pointer 材质球。

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis, IUpdateRuntimeData

    单轴。

    SingleAxis.bottom

    float 0.2f

    组件离容器下侧的距离。

    SingleAxis.height

    float 50

    坐标轴高。

    SingleAxis.left

    float 0.1f

    组件离容器左侧的距离。

    SingleAxis.orient

    Orient

    坐标轴朝向。默认为水平朝向。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    SingleAxis.right

    float 0.1f

    组件离容器右侧的距离。

    SingleAxis.top

    float 0f

    组件离容器上侧的距离。

    SingleAxis.width

    float 0

    坐标轴宽。

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    StageColor.color

    Color32

    颜色。

    StageColor.percent

    float

    结束位置百分比。

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle, EmphasisStyle, SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    StateStyle.areaStyle

    AreaStyle

    区域样式。

    StateStyle.itemStyle

    ItemStyle

    图形样式。

    StateStyle.label

    LabelStyle

    图形文本标签。

    StateStyle.labelLine

    LabelLine

    图形文本引导线样式。

    StateStyle.lineStyle

    LineStyle

    折线样式。

    StateStyle.show

    bool true

    是否启用高亮样式。

    StateStyle.symbol

    SerieSymbol

    标记样式。

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    SymbolStyle.color

    Color32

    图形的颜色。

    SymbolStyle.gap

    float 0

    图形标记和线条的间隙距离。

    SymbolStyle.height

    float 0f

    图形的高。

    SymbolStyle.image

    Sprite

    自定义的标记图形。

    SymbolStyle.imageType

    Image.Type

    图形填充类型。

    SymbolStyle.offset

    Vector2 Vector2.zero

    图形的偏移。

    SymbolStyle.show

    bool true

    是否显示标记。

    SymbolStyle.size

    float 0f

    标记的大小。

    SymbolStyle.type

    SymbolType

    标记类型。

    可选:

    • None: 不显示标记。
    • Custom: 自定义标记。
    • Circle: 圆形。
    • EmptyCircle: 空心圆。
    • Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    • EmptyRect: 空心正方形。
    • Triangle: 三角形。
    • EmptyTriangle: 空心三角形。
    • Diamond: 菱形。
    • EmptyDiamond: 空心菱形。
    • Arrow: 箭头。
    • EmptyArrow: 空心箭头。
    • Plus: 加号。
    • Minus: 减号。

    SymbolStyle.width

    float 0f

    图形的宽。

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    TextLimit.enable

    bool false

    是否启用文本自适应。 [default:true]

    TextLimit.gap

    float 1

    两边留白像素距离。 [default:10f]

    TextLimit.maxWidth

    float 0

    Clipping occurs when the width of the text is greater than this value.

    TextLimit.suffix

    string

    长度超出时的后缀。 [default: "..."]

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    TextStyle.alignment

    TextAnchor

    对齐方式。

    TextStyle.autoAlign

    bool true

    文本是否让系统自动选对齐方式。为false时才会用alignment。

    TextStyle.autoColor

    bool false

    是否开启自动颜色。当开启时,会自动设置颜色。

    TextStyle.autoWrap

    bool false

    是否自动换行。

    TextStyle.color

    Color

    文本的颜色。 [default: Color.clear]

    TextStyle.font

    Font

    文本字体。 [default: null]

    TextStyle.fontSize

    int 0

    文本字体大小。 [default: 18]

    TextStyle.fontStyle

    FontStyle

    文本字体的风格。 [default: FontStyle.Normal]

    TextStyle.lineSpacing

    float 1f

    行间距。 [default: 1f]

    TextStyle.rotate

    float 0

    文本的旋转。 [default: 0f]

    TextStyle.show

    bool true

    文本的相关设置。

    TextStyle.tMPAlignment

    TextAlignmentOptions

    TextStyle.tMPFont

    TMP_FontAsset

    TextMeshPro字体。

    TextStyle.tMPFontStyle

    FontStyles

    TextStyle.tMPSpriteAsset

    TMP_SpriteAsset v3.1.0

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    Theme.axis

    AxisTheme

    Theme.backgroundColor

    Color32

    背景颜色。

    Theme.colorPalette

    List<Color32>

    调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。

    Theme.common

    ComponentTheme

    Theme.contrastColor

    Color32

    对比色。

    Theme.dataZoom

    DataZoomTheme

    Theme.font

    Font

    主题字体。

    Theme.legend

    LegendTheme

    Theme.serie

    SerieTheme

    Theme.subTitle

    SubTitleTheme

    Theme.themeName

    string

    主题名称。

    Theme.themeType

    ThemeType

    主题类型。

    可选:

    • Default: 默认主题。
    • Light: 亮主题。
    • Dark: 暗主题。
    • Custom: 自定义主题。

    Theme.title

    TitleTheme

    Theme.tMPFont

    TMP_FontAsset

    主题字体。

    Theme.tooltip

    TooltipTheme

    Theme.visualMap

    VisualMapTheme

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    ThemeStyle.customBackgroundColor

    Color32

    自定义的背景颜色。

    ThemeStyle.customColorPalette

    List<Color32>

    ThemeStyle.customFont

    Font

    ThemeStyle.enableCustomTheme

    bool false

    是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。

    ThemeStyle.sharedTheme

    Theme

    主题配置。

    ThemeStyle.show

    bool true

    ThemeStyle.transparentBackground

    bool false

    是否透明背景颜色。当设置为true时,不绘制背景颜色。

    Title

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    标题组件,包含主标题和副标题。

    Title.itemGap

    float 0

    主副标题之间的间距。

    Title.labelStyle

    LabelStyle

    主标题文本样式。

    Title.location

    Location

    标题显示位置。

    Title.show

    bool true

    是否显示标题组件。

    Title.subLabelStyle

    LabelStyle

    副标题文本样式。

    Title.subText

    string

    副标题文本,支持使用 \n 换行。

    Title.text

    string

    主标题文本,支持使用 \n 换行。

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle, ISerieDataComponent, ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    Tooltip.alwayShowContent

    bool false

    是否触发后一直显示提示框浮层。

    Tooltip.backgroundColor

    Color

    提示框的背景颜色。

    Tooltip.backgroundImage

    Sprite

    提示框的背景图片。

    Tooltip.backgroundType

    Image.Type

    提示框的背景图片显示类型。

    Tooltip.borderColor

    Color32 Color32(230, 230, 230, 255)

    边框颜色。

    Tooltip.borderWidth

    float 2f

    边框线宽。

    Tooltip.contentLabelStyles

    List<LabelStyle>

    内容部分的文本样式列表。和列一一对应。

    Tooltip.fixedHeight

    float 0

    固定高度。比 minHeight 优先。

    Tooltip.fixedWidth

    float 0

    固定宽度。比 minWidth 优先。

    Tooltip.fixedX

    float 0f

    固定X位置的坐标。

    Tooltip.fixedY

    float 0.7f

    固定Y位置的坐标。

    Tooltip.ignoreDataDefaultContent

    string

    被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。

    Tooltip.ignoreDataShow

    bool false

    是否显示忽略数据在tooltip上。

    Tooltip.itemFormatter

    string

    提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用|来表示多个列的分隔。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {i}或-表示忽略当前项。 {.}为当前所指示的serie或数据项的对应颜色的圆点。
    {a}为当前所指示的serie或数据项的系列名name。
    {b}为当前所指示的serie或数据项的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示的serie或数据项的y维(dimesion为1)的数值。
    {d}为当前所指示的serie或数据项的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示的serie或数据项的数据项serieData的name。
    {f}为当前所指示的serie的默认维度的数据总和。
    {g}为当前所指示的serie的数据总个数。
    {h}为当前所指示的serie的十六进制颜色值。
    {y}为当前所指示的serie的y轴的类目值。
    {c0}表示当前数据项维度为0的数据。
    {c1}表示当前数据项维度为1的数据。
    {d3}表示维度3的数据的百分比。它的分母是默认维度(一般是1维度)数据。
    |表示多个列的分隔。
    示例:"{i}", "{.}|{a}|{c}", "{.}|{b}|{c2:f2}", "{.}|{b}|{y}"

    Tooltip.itemHeight

    float 25f

    数据项文本的高。

    Tooltip.lineStyle

    LineStyle

    指示线样式。

    Tooltip.marker

    string

    serie的符号标志。

    Tooltip.minHeight

    float 0

    最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。

    Tooltip.minWidth

    float 0

    最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。

    Tooltip.numericFormatter

    string

    标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式:以date开头,用来格式化DateTime,常见格式有:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:date:yyyy-MM-dd HH:mm:ss
    时间格式:以time开头,用来格式化TimeSpan,常见格式有:d日,HH时,mm分,ss秒,fffffff小数部分。 需要Unity2018以上版本才支持格式化,并且里面的字符要转义。如:time:d.HH\:mm\:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    时间格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-timespan-format-strings
    注意:date和time格式需要v3.12.0以上版本才支持。

    Tooltip.offset

    Vector2 Vector2(18f, -25f)

    提示框相对于鼠标位置的偏移。

    Tooltip.paddingLeftRight

    int 10

    左右边距。

    Tooltip.paddingTopBottom

    int 10

    上下边距。

    Tooltip.position

    Tooltip.Position v3.3.0

    显示位置类型。

    可选:

    • Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    • Custom: 自定义。完全自定义显示位置(x,y)。
    • FixedX: 只固定坐标X。Y跟随鼠标位置。
    • FixedY:

    Tooltip.show

    bool true

    是否显示提示框组件。

    Tooltip.showContent

    bool true

    是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。

    Tooltip.titleFormatter

    string

    提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {y}为value所对应的y轴的类目值。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"

    Tooltip.titleHeight

    float 25f

    标题文本的高。

    Tooltip.titleLabelStyle

    LabelStyle

    标题的文本样式。

    Tooltip.trigger

    Tooltip.Trigger

    触发类型。

    可选:

    • Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    • Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    • None: 什么都不触发。
    • Auto: 根据serie的类型自动选择触发类型。

    Tooltip.triggerOn

    Tooltip.TriggerOn v3.11.0

    触发条件。

    可选:

    • MouseMove: 鼠标移动时触发。
    • Click: 鼠标点击时触发。

    Tooltip.type

    Tooltip.Type

    提示框指示器类型。

    可选:

    • Line: 直线指示器
    • Shadow: 阴影指示器
    • None: 无指示器
    • Cross: 十字准星指示器。坐标轴显示Label和交叉线。
    • Auto: 根据serie的类型自动选择显示指示器。

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    TooltipTheme.areaColor

    Color32

    区域指示的颜色。

    TooltipTheme.labelBackgroundColor

    Color32

    十字指示器坐标轴标签的背景颜色。

    TooltipTheme.labelTextColor

    Color32

    十字指示器坐标轴标签的文本颜色。

    TooltipTheme.lineColor

    Color32

    指示线颜色。

    TooltipTheme.lineType

    LineStyle.Type

    坐标轴线类型。

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    TooltipTheme.lineWidth

    float 1f

    指示线线宽。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    UIComponentTheme.sharedTheme

    Theme

    主题配置。

    UIComponentTheme.show

    bool true

    UIComponentTheme.transparentBackground

    bool false

    ViewControl

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.11.0 开始支持

    3D视角控制组件。

    ViewControl.alpha

    float 90f

    视角在x-z平面的角度。

    ViewControl.beta

    float 55f

    视角在y-z平面的角度。

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    VisualMap.autoMinMax

    bool true

    Automatically set min, Max value 自动设置min,max的值

    VisualMap.borderWidth

    float 0

    边框线宽,单位px。

    VisualMap.calculable

    bool false

    是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。

    VisualMap.dimension

    int -1

    Starting at 1, the default is 0 to take the last dimension in data.

    bool true

    Conversely, when the mouse hovers over a graphic element in a diagram, the corresponding value of the visualMap component is triangulated in the corresponding position.

    VisualMap.inRange

    List<VisualMapRange>

    分段式每一段的相关配置。

    VisualMap.itemGap

    float 10f

    每个图元之间的间隔距离。

    VisualMap.itemHeight

    float 140f

    图形的高度,即颜色条的高度。

    VisualMap.itemWidth

    float 20f

    图形的宽度,即颜色条的宽度。

    VisualMap.location

    Location

    组件显示的位置。

    VisualMap.max

    double 0

    范围最大值

    VisualMap.min

    double 0

    范围最小值

    VisualMap.orient

    Orient

    布局方式是横还是竖。

    可选:

    • Horizonal: 水平
    • Vertical: 垂直

    VisualMap.outOfRange

    List<VisualMapRange>

    定义 在选中范围外 的视觉颜色。

    VisualMap.range

    double[]

    指定手柄对应数值的位置。range 应在[min,max]范围内。

    VisualMap.realtime

    bool true

    拖拽时,是否实时更新。

    VisualMap.selectedMode

    VisualMap.SelectedMode

    选择模式。

    可选:

    • Multiple: 多选。
    • Single: 单选。

    VisualMap.serieIndex

    int 0

    影响的serie索引。

    VisualMap.show

    bool true

    组件是否生效。

    VisualMap.showUI

    bool false

    是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。

    VisualMap.splitNumber

    int 5

    对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。

    VisualMap.text

    string[]

    两端的文本,如 ['High', 'Low']

    VisualMap.textGap

    float[]

    两端文字主体之间的距离,单位为px。

    VisualMap.type

    VisualMap.Type

    组件类型。

    可选:

    • Continuous: 连续型。
    • Piecewise: 分段型。

    VisualMap.workOnArea

    bool false

    组件是否对LineChart的AreaStyle有效。

    VisualMap.workOnLine

    bool true

    组件是否对LineChart的LineStyle有效。

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    VisualMapRange.color

    Color32

    颜色

    VisualMapRange.label

    string

    文字描述

    VisualMapRange.max

    double

    范围最大值

    VisualMapRange.min

    double

    范围最小值

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    VisualMapTheme.backgroundColor

    Color32

    背景颜色。

    VisualMapTheme.borderColor

    Color32

    边框颜色。

    VisualMapTheme.borderWidth

    float

    边框线宽。

    VisualMapTheme.triangeLen

    float 20f

    可视化组件的调节三角形边长。

    Wrapper<T>

    class in XCharts.Runtime

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    XAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    class in XCharts.Runtime

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    XCSettings.axisLineType

    LineStyle.Type

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    XCSettings.axisLineWidth

    float 0.8f

    XCSettings.axisSplitLineType

    LineStyle.Type

    可选:

    • Solid: 实线
    • Dashed: 虚线
    • Dotted: 点线
    • DashDot: 点划线
    • DashDotDot: 双点划线
    • None: 双点划线

    XCSettings.axisSplitLineWidth

    float 0.8f

    XCSettings.axisTickLength

    float 5f

    XCSettings.axisTickWidth

    float 0.8f

    XCSettings.cicleSmoothness

    float 2f

    XCSettings.customThemes

    List<Theme>

    XCSettings.dataZoomBorderWidth

    float 0.5f

    XCSettings.dataZoomDataLineWidth

    float 0.5f

    XCSettings.editorShowAllListData

    bool false

    XCSettings.font

    Font

    XCSettings.fontSizeLv1

    int 28

    一级字体大小。

    XCSettings.fontSizeLv2

    int 24

    XCSettings.fontSizeLv3

    int 20

    XCSettings.fontSizeLv4

    int 18

    XCSettings.gaugeAxisLineWidth

    float 15f

    XCSettings.gaugeAxisSplitLineLength

    float 15f

    XCSettings.gaugeAxisSplitLineWidth

    float 0.8f

    XCSettings.gaugeAxisTickLength

    float 5f

    XCSettings.gaugeAxisTickWidth

    float 0.8f

    XCSettings.lang

    Lang

    XCSettings.lineSegmentDistance

    float 3f

    XCSettings.lineSmoothness

    float 2f

    XCSettings.lineSmoothStyle

    float 3f

    XCSettings.maxPainter

    int 10

    XCSettings.serieCandlestickBorderWidth

    float 1f

    XCSettings.serieLineSymbolSize

    float 5f

    XCSettings.serieLineWidth

    float 1.8f

    XCSettings.serieScatterSymbolSize

    float 20f

    XCSettings.serieSelectedRate

    float 1.3f

    XCSettings.tMPFont

    TMP_FontAsset

    XCSettings.tootipLineWidth

    float 0.8f

    XCSettings.visualMapBorderWidth

    float 0f

    XCSettings.visualMapTriangeLen

    float 20f

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    YAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    ZAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/master/extra/index.html b/en/docs/master/extra/index.html index fcfdc99e..df7a9fe7 100644 --- a/en/docs/master/extra/index.html +++ b/en/docs/master/extra/index.html @@ -14,13 +14,13 @@ 扩展图表 | XCharts - - + +
    Version: master

    扩展图表

    XCharts的扩展图表。

    支持的扩展图表

    扩展图表如何导入到XCharts-Demo

    Pie3DChart 为例:

    1. 购买图表:购买扩展图表后,Github找到仓库 XCharts-Pie3DChart(私有仓库,购买后加入Team才可见)
    2. 下载图表:选择和XCharts最接近的版本
    3. 导入图表:将下载好的XCharts-Pie3DChart目录覆盖到XCharts-Demo项目中的Packages/XCharts-Pie3DChart
    4. 下载图表Demo:Github找到仓库 XCharts-Pie3DChart-Demo并下载
    5. 导入图表Demo:将下载好的XCharts-Pie3DChart-Demo目录覆盖到XCharts-Demo项目中的Assets/XChartsExtensionDemo/XCharts-Pie3DChart-Demo

    扩展图表如何导入自己的项目中

    Pie3DChart 为例:

    1. 先确保项目中已导入XCharts
    2. 再导入XCharts-Pie3DChart即可,不需要导入XCharts-Pie3DChart-Demo(如果要导入的话需要Unity版本接近2019.4.39f1)
    - - + + \ No newline at end of file diff --git a/en/docs/master/faq/index.html b/en/docs/master/faq/index.html index 540ddaaf..2facc8a3 100644 --- a/en/docs/master/faq/index.html +++ b/en/docs/master/faq/index.html @@ -14,8 +14,8 @@ 常见问题 | XCharts - - + +
    @@ -54,7 +54,7 @@ FAQ 33:折线图如何两边不留空白而从0坐标开始显示?
    FAQ 34:如何设置部分Serie不显示Tooltip?

    如何调整坐标轴与背景的边距

    调整Grid组件,可调整上下左右边距。

    如何让初始动画重新播放

    调用chart.AnimationReset()接口。

    如何自定义折线图饼图的颜色

    通过ThemecolorPalette调整,或者部分Serie下的LineStyleItemStyle

    如何给坐标轴上的文本加上单位

    通过formatternumericFormatter参数,在LegendAxisAxisLabelTooltopSerieLabel都提供该参数的配置。

    如何让柱形图的柱子堆叠显示

    设置Serie下的stackstack相同的serie会堆叠显示在一个柱子上。

    如何让柱形图的柱子同柱但不重叠

    设置Serie下的barGap-1stack为空。

    如何调整柱形图的柱子宽度和间距

    调整Serie下的barWidthbarGap,多个serie时最后一个seriebarWidthbarGap有效。

    如何调整柱形图单个柱子的颜色

    可通过调整单个Data下的ItemStyle调整,也可以通过两个serie同柱不堆叠来实现,通过设置数据项为0来达到类似效果。

    如何调整图表的对齐方式

    调整RectTransform的锚点,和UGUI的其他组件的用法一致。

    可以显示超过1000以上的大数据吗

    可以。但UGUI对单个Graphic限制65000个顶点,所以太多的数据不一定能显示完全。可通过设置采样距离sampleDist开启采样简化过密曲线。也可以通过设置一些参数来减少图表的顶点数有助于显示更多数据。如缩小图表的尺寸,关闭或减少坐标轴的客户端绘制,关闭Seriesymbollabel显示等。折线图的普通线图Normal比平滑线图Smooth占用顶点数更少。1.5.0以上版本可以设置largelargeThreshold参数来开启性能模式。

    折线图可以画虚线点线点划线吗

    可以。通过Serie下的lineType选择线条样式。当要显示的数据过多(成千以上)数据间过密时建议使用Normal或者Step样式。

    如何限定y轴的值范围

    设置Axis下的minMaxTypeCustom,自定义minmax

    如何自定义数值轴刻度大小

    默认时通过Axis下的splitNumer进行自动划分。也可以设置interval自定义刻度大小。

    如何在数据项顶上显示文本

    通过设置Serie下的Label。3.0版本需要先添加LabelStyle组件。

    如何给数据项自定义图标

    通过设置Seriedata下的数据项可单独设置icon相关参数。

    锯齿太严重如何让图表更顺滑

    开启抗锯齿设置(在Unity里设置)。调整UI渲染模式为Camera模式,开启MSAA,设置4倍或更高抗锯齿。

    为什么鼠标移上图表tooltip不显示

    确认Tooltip是否开启;确认父节点是否关闭了鼠标事件。

    如何取消tooltip的竖线

    设置TooltiptypeNone。或者调整lineStyle的参数。

    如何自定义tooltip的显示内容

    自定义总的内容可以通过Tooltipformatter。如果只是想调整所有的serie的显示格式可以用itemFormattertitleFormatter结合。如果想每个serie的显示格式不一样,可以定制serieitemStyle里的tooltipFormatter。具体的用法请查阅XCharts配置项手册

    如何让y轴显示多位小数

    设置Axis下的AxisLabel中的formatter{value:f1}{value:f2}1.5.0及以上版本通过numericFormatter设置。

    如何用代码动态更新数据

    请查阅Example下的代码,Example13_LineSimple.cs就是一个简单添加数据构建折线图的例子,其他Demo也都是通过代码控制不同的组件实现不同的功能,相关API请查看文档:XChartsAPI接口

    如何显示图例为什么有时候图例无法显示

    首先,你的serie里的name需有值不为空。然后开启Legend显示,里面的data可以默认为空,表示显示所有的图例。如果你只想显示部分serie的图例,在data中填入要显示的图例的name即可。如果data中的值都不是系列的name,那图例就不会显示。

    如何做成预设

    做成prefab前,执行一下Rebuild Chart Object重新刷新节点,避免有冗余的节点存在。

    如何在图表上画点画线等自定义内容

    XCharts有自定义绘制回调onCustomDraw,具体可参考Example12_CustomDrawing.cs

    如何实现心电图类似的数据移动效果

    参考Example目录下的Example_Dynamic.cs。主要通过设置maxCache参数实现。axisserie都设置相同的maxCachemaxCache可固定数据个数,当数据超过设定时会先删除第一个在添加新数据,实现数据移动效果。

    如何使用背景组件有什么条件限制

    设置background组件的showtrue

    区域折线图在用半透明颜色时有时候会一条叠加的线

    这是区域折线图绘制的bug。可以用浅的不透的颜色替代半透明颜色。

    mesh_cannot_have_more_than_65000_vertices

    这是UGUI对单个Graphic的顶点数限制。XCharts是将图形绘制在单个Graphic上,所以也会有这个限制。解决的办法可以参考:FAQ 10:可以显示超过1000以上的大数据吗?

    为什么serie里设置的参数运行后又被重置了

    检测下代码里是否调用了RemoveData()并重新添加Serie了。如果想保留Serie的配置可以只ClearData(),然后重新添加数据。

    如何修改serie的symbol的颜色

    Symbol 的颜色是使用的 ItemStylecolor

    导入或更新xcharts时tmp报错怎么办

    XCharts默认时不开启TMP,所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    支持空数据吗如何实现折线图断开的效果

    Seriedatadouble类型,所以无法表示空数据。可通过开启Serieignore和指定ignoreValue来达到空数据的效果。也可以每个SerieData设置ignore参数。忽略数据后断开还是连接可设置ignoreLineBreak参数。

    xcharts2升级xcharts3时常见的问题有哪些

    1. 'XCharts.Runtime.XChartsMgr' is missing the class attribute 'ExtensionOfNativeClass'! 3.x版本时不需要挂载XChartsMgr,直接删掉场景上的_xcharts_节点即可。

    折线图如何两边不留空白而从0坐标开始显示

    设置X轴的boundaryGap参数。

    如何设置部分serie不显示tooltip

    serieitemStyleitemFormatter设置为-可以忽略tooltip

    - - + + \ No newline at end of file diff --git a/en/docs/master/funnel/index.html b/en/docs/master/funnel/index.html index 8af934be..6b804279 100644 --- a/en/docs/master/funnel/index.html +++ b/en/docs/master/funnel/index.html @@ -14,15 +14,15 @@ FunnelChart 漏斗图 | XCharts - - + +
    Version: master

    FunnelChart 漏斗图

    XCharts的付费扩展图表 - 漏斗图。

    截图

    Funnel01Funnel02Funnel03Funnel04Funnel05
    Funnel07Funnel08Funnel09

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-FunnelChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    Funnel.defaultColorBy

    public override SerieColorBy defaultColorBy

    Funnel.useSortData

    public override bool useSortData

    Funnel.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    FunnelChart

    class in XCharts.Runtime.Funnels / 继承自: BaseChart

    漏斗图。适用于流程流量分析。

    FunnelChart.DefaultHorizonalFunnelChart

    public void DefaultHorizonalFunnelChart()
    生成默认的横向漏斗图。

    配置项手册

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    Funnel.dynamicHeight

    bool v3.3.0

    是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。

    Funnel.rectEnd

    bool v3.3.0

    是否最后以矩形结束。默认false以三角形结束。

    - - + + \ No newline at end of file diff --git a/en/docs/master/gantt/index.html b/en/docs/master/gantt/index.html index 9e047419..3aadd729 100644 --- a/en/docs/master/gantt/index.html +++ b/en/docs/master/gantt/index.html @@ -14,8 +14,8 @@ GanttChart 甘特图 | XCharts - - + +
    @@ -25,7 +25,7 @@ 生成默认的单维度分组甘特图。

    GanttChart.DefaultMultinomialGroupGanttChart

    public void DefaultMultinomialGroupGanttChart()
    生成默认的多维度分组甘特图。

    GanttChart.DefaultValueAxisGanttChart

    public void DefaultValueAxisGanttChart()
    生成默认的数值轴甘特图。

    GanttChart.GetSeriesMinMaxValue

    public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)

    GanttChart.InitAxisRuntimeData

    public override void InitAxisRuntimeData(Axis axis)

    GanttChart.OnBeginDrag

    public override void OnBeginDrag(PointerEventData eventData)

    GanttChart.OnDrag

    public override void OnDrag(PointerEventData eventData)

    GanttChart.OnEndDrag

    public override void OnEndDrag(PointerEventData eventData)

    GanttChart.OnPointerClick

    public override void OnPointerClick(PointerEventData eventData)

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    GanttType

    class in XCharts.Runtime.Gantts

    可选:

    • Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    • Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。

    配置项手册

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    Gantt.disableDrag

    bool

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    GanttStyle.aliginLine

    LineStyle

    对齐线样式。

    GanttStyle.alignlineDataIndex

    int 1

    显示对齐线的数据项索引。

    GanttStyle.autoAdsorbAlignline

    bool true

    拖拽结束后是否自动吸附到对齐线。

    GanttStyle.dragEnable

    bool true

    是否可以拖拽甘特图。

    GanttStyle.dragRangeMax

    double 0

    拖拽最大值限制。

    GanttStyle.dragRangeMin

    double 0

    拖拽最小值限制。

    GanttStyle.dragSensitivity

    float 1f

    拖拽的灵敏度。

    GanttStyle.ganttType

    GanttType

    甘特图类型。

    可选:

    • Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    • Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。

    GanttStyle.invert

    bool true

    GanttStyle.show

    bool true

    GanttStyle.showAlignlineRange

    float 10f

    显示对齐线的范围。

    GanttStyle.splitArea

    AxisSplitArea

    - - + + \ No newline at end of file diff --git a/en/docs/master/gauge/index.html b/en/docs/master/gauge/index.html index 19d9d016..387fba06 100644 --- a/en/docs/master/gauge/index.html +++ b/en/docs/master/gauge/index.html @@ -14,8 +14,8 @@ GaugeChart 仪表盘 | XCharts - - + +
    @@ -36,7 +36,7 @@ 生成分段仪表盘。

    GaugeChart.UpdateClockTime

    public void UpdateClockTime(double hour, double minute, double second)
    更新时钟时间。

    GaugeChart.UpdatePointerValue

    public void UpdatePointerValue(double value)
    更新指针值。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    配置项手册

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    仪表盘系列数据。

    Gauge.gaugeAnchor

    GaugeAnchor

    仪表盘指针固定点。

    Gauge.gaugeAxis

    GaugeAxis

    仪表盘轴线。

    Gauge.gaugePointer

    GaugePointer

    仪表盘指针。

    Gauge.loop

    bool false v3.6.0

    数值是否循环。可用在钟表图。

    Gauge.rangeDataMode

    bool false v3.6.0

    数值是否为范围数据。启用该模式后,data中的每个值都是一个数组,数组中的第一个值为起始值,第二个值为结束值。指针只有一个,数据绘制为环形。

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    GaugeAnchor.gap

    float 0

    图形标记和线条的间隙距离。

    GaugeAnchor.image

    Sprite

    自定义的标记图形。

    GaugeAnchor.imageType

    Image.Type

    GaugeAnchor.itemStyle

    ItemStyle

    图形样式。

    GaugeAnchor.offsetCenter

    Vector2 Vector2(0, 0)

    相对于中心的偏移位置。

    GaugeAnchor.show

    bool true

    是否显示指针固定点。

    GaugeAnchor.showAbove

    bool true

    固定点是否显示在指针上面。

    GaugeAnchor.size

    float 6

    标记的大小。

    GaugeAnchor.type

    SymbolType

    标记类型。

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    GaugeAxis.axisLabel

    AxisLabel

    文本标签。

    GaugeAxis.axisLabelText

    List<string>

    自定义Label的内容。

    GaugeAxis.axisLine

    GaugeAxisLine

    仪表盘轴线样式。

    GaugeAxis.axisTick

    AxisTick

    刻度。

    GaugeAxis.distance

    float

    GaugeAxis.overlap

    bool true

    GaugeAxis.show

    bool true

    GaugeAxis.splitLine

    AxisSplitLine

    分割线。

    GaugeAxis.type

    GaugeAxisType

    可选:

    • None: 仪表盘类型
    • Section: 分段
    • Progress: 进度

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    GaugeAxisLine.backgroundColor

    Color32 Color32(230, 235, 248, 255)

    进度条背景颜色。

    GaugeAxisLine.stageColor

    List<StageColor>

    阶段颜色。

    GaugeAxisLine.stageGradient

    bool v3.4.0

    阶段颜色是否渐变过渡。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    GaugePointer.autoColor

    bool true

    GaugePointer.backExtraLength

    float 0.05f

    指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.backLength

    float 0.05f

    指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.bottomLeftLength

    float 0.025f

    指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.bottomRightLength

    float 0.025f

    指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.color

    Color32

    GaugePointer.cornerRadius

    float[]

    圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    GaugePointer.distance

    float

    GaugePointer.length

    float 0.6f

    指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.roundCap

    bool

    GaugePointer.show

    bool true

    是否显示指针。

    GaugePointer.toColor

    Color32

    GaugePointer.topLeftLength

    float 0f

    指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.topRightLength

    float 0f

    指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

    GaugePointer.value

    double v3.6.0

    指针的值。当为时钟仪表盘时,可通过指定value值来控制指针的位置。

    - - + + \ No newline at end of file diff --git a/en/docs/master/graph/index.html b/en/docs/master/graph/index.html index a5ad01fb..0972a70b 100644 --- a/en/docs/master/graph/index.html +++ b/en/docs/master/graph/index.html @@ -14,8 +14,8 @@ GraphChart 关系图 | XCharts - - + +
    @@ -24,7 +24,7 @@ 图表的力引导布局。

    Graph.graphData

    public GraphData graphData

    Graph.levelStyle

    public LevelStyle levelStyle
    层级样式。

    Graph.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    public override SerieDataLink AddLink(string sourceId, string targetId, double value = 0)

    Graph.AddSerieData

    public override void AddSerieData(SerieData serieData)

    Graph.ClearData

    public override void ClearData()
    清空所有数据

    Graph.GetLevelItemStyle

    public ItemStyle GetLevelItemStyle(int depth)

    Graph.GetLevelLabel

    public LabelStyle GetLevelLabel(int depth)

    Graph.GetLevelLineStyle

    public LineStyle GetLevelLineStyle(int depth)

    GraphChart

    class in XCharts.Runtime.Graphs / 继承自: BaseChart

    配置项手册

    Force

    class in XCharts.Runtime.Graphs / 继承自: ChildComponent

    图表的力引导布局。

    Force.centerDataIndex

    int -1

    中心节点数据的索引。

    Force.edgeLength

    float 80

    边的两个节点之间的距离,这个距离也会受 repulsion 影响。

    Force.friction

    float 0.6f

    节点移动的摩擦因子,该值越大节点移动越慢。

    Force.iterations

    int 200

    力引导布局的迭代次数。

    Force.show

    bool true

    Force.stepCount

    int 1

    Force.stepFactor

    float 1f

    力引导布局的步进因子。

    Graph

    class in XCharts.Runtime.Graphs / 继承自: Serie

    关系图,用于展现节点以及节点之间的关系数据。

    Graph.force

    Force

    图表的力引导布局。

    Graph.levelStyle

    LevelStyle

    层级样式。

    - - + + \ No newline at end of file diff --git a/en/docs/master/inputsystem/index.html b/en/docs/master/inputsystem/index.html index 8cdebd65..07811c5d 100644 --- a/en/docs/master/inputsystem/index.html +++ b/en/docs/master/inputsystem/index.html @@ -14,13 +14,13 @@ 切换到新的输入系统Input System | XCharts - - + +
    Version: master

    教程:切换到新的输入系统Input System

    1. 按图示修改项目配置中输入模式为 Input System

    Project Settings

    2. 使用 Unity Package Manager 安装 Input System

    UPM

    3. 选中场景中 EventSystem 游戏对象,更换输入模组

    Input Module

    - - + + \ No newline at end of file diff --git a/en/docs/master/lang/articles/ui/ui_statistic/index.html b/en/docs/master/lang/articles/ui/ui_statistic/index.html index 872e7c37..f7858315 100644 --- a/en/docs/master/lang/articles/ui/ui_statistic/index.html +++ b/en/docs/master/lang/articles/ui/ui_statistic/index.html @@ -14,13 +14,13 @@ UIStatistic 统计数值 | XCharts - - + +
    Version: master

    UIStatistic 统计数值

    statistic

    统计数值组件。用于展示统计数值。

    何时使用:

    • 当需要突出某个或某组数字时。
    • 当需要展示带描述的统计类数据时使用。

    支持的功能有:

    • 常规数值
    • 倒计时
    • 添加图标
    • 变更动画
    • 事件回调
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/master/lang/articles/ui/ui_table/index.html b/en/docs/master/lang/articles/ui/ui_table/index.html index 120a3df6..d2195dfe 100644 --- a/en/docs/master/lang/articles/ui/ui_table/index.html +++ b/en/docs/master/lang/articles/ui/ui_table/index.html @@ -14,13 +14,13 @@ UITable 表格 | XCharts - - + +
    Version: master

    UITable 表格

    table

    表格组件。可用于展示行列数据。

    支持的功能有:

    • 显示或隐藏列表头
    • 显示或隐藏行表头
    • 任意调整行列宽高
    • 支持行号
    • 支持选中
    • 支持分割线
    • 支持滚动和拖拽
    • 支持滚动条
    • 支持图标图片
    • 支持轮播
    • 排序(暂不支持)
    • 分页(暂不支持)
    • 查找(暂不支持)
    • 过滤(暂不支持)
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/master/line3d/index.html b/en/docs/master/line3d/index.html index 9b8cc08b..5de34932 100644 --- a/en/docs/master/line3d/index.html +++ b/en/docs/master/line3d/index.html @@ -14,15 +14,15 @@ Line3DChart 3D折线图 | XCharts - - + +
    Version: master

    Line3DChart 3D折线图

    XCharts付费扩展图表 - 3D折线图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.05.15) 增加Line3D3D折线图

    API

    Line3D

    class in XCharts.Runtime.Line3Ds / 继承自: Serie,INeedSerieContainer

    关系图,用于展现节点以及节点之间的关系数据。

    Line3D.containerIndex

    public int containerIndex
    关系图,用于展现节点以及节点之间的关系数据。

    Line3D.containterInstanceId

    public int containterInstanceId

    Line3D.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    Line3DChart

    class in XCharts.Runtime.Line3Ds / 继承自: BaseChart

    Line3DHelper

    class in XCharts.Runtime.Line3Ds

    配置项手册

    Line3D

    class in XCharts.Runtime.Line3Ds / 继承自: Serie, INeedSerieContainer

    关系图,用于展现节点以及节点之间的关系数据。

    - - + + \ No newline at end of file diff --git a/en/docs/master/liquid/index.html b/en/docs/master/liquid/index.html index 5b25bf57..53b2074e 100644 --- a/en/docs/master/liquid/index.html +++ b/en/docs/master/liquid/index.html @@ -14,8 +14,8 @@ LiquidChart 水位图 | XCharts - - + +
    @@ -27,7 +27,7 @@ 运行时中心点。

    VesselContext.height

    public float height

    VesselContext.innerRadius

    public float innerRadius
    运行时内半径。扣除厚度和间隙后的实际半径。

    VesselContext.isPointerEnter

    public bool isPointerEnter

    VesselContext.radius

    public float radius
    运行时半径。

    VesselContext.width

    public float width

    配置项手册

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie, INeedSerieContainer

    Liquid.waveHeight

    float 10f

    波高。

    Liquid.waveLength

    float 20f

    波长。为0-1小数时指直线的百分比。

    Liquid.waveOffset

    float 0f

    波偏移。

    Liquid.waveSpeed

    float 5f

    波速。正数时左移,负数时右移。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent, ISerieContainer, IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    Vessel.autoColor

    bool true

    是否自动颜色。为true时颜色会和serie一致。 [default: true]

    Vessel.backgroundColor

    Color32

    背景色,默认透明。 [default: Color.clear]

    Vessel.borderColor

    Color32 Color32(70, 70, 240, 255)

    容器内壁边框颜色。默认和serie一致。

    Vessel.borderWidth

    float 0f

    内壁边框。

    Vessel.center

    float[]

    When value between 0 and 1 represents a percentage relative to the chart.

    Vessel.color

    Color32 Color32(70, 70, 240, 255)

    容器颜色。默认和serie一致。

    Vessel.cornerRadius

    float[]

    容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。

    Vessel.gap

    float 5f

    间隙。容器和液体的间隙。 [defaut: 10f]

    Vessel.height

    float 0.7f

    When value between 0 and 1 represents a percentage relative to the chart.

    Vessel.radius

    float 0.35f

    When value between 0 and 1 represents a percentage relative to the chart.

    Vessel.shape

    Vessel.Shape

    容器形状。 [default: Shape.Circle]

    可选:

    • Circle: 圆形
    • Rect: 正方形。
    • Triangle: 三角形。
    • Diamond: 菱形。

    Vessel.shapeWidth

    float 5f

    容器厚度。 [defaut: 5f]

    Vessel.show

    bool true

    是否显示容器组件。 [defaut: true]

    Vessel.smoothness

    float 1f

    水波平滑度。 [default: 1f]

    Vessel.width

    float 0.5f

    When value between 0 and 1 represents a percentage relative to the chart.

    - - + + \ No newline at end of file diff --git a/en/docs/master/pictorialbar/index.html b/en/docs/master/pictorialbar/index.html index b11d1c1e..be37e393 100644 --- a/en/docs/master/pictorialbar/index.html +++ b/en/docs/master/pictorialbar/index.html @@ -14,14 +14,14 @@ PictorialBarChart 象形柱图 | XCharts - - + +
    Version: master

    PictorialBarChart 象形柱图

    XCharts付费扩展图表 - 象形柱图。

    截图

    PictorialBar01PictorialBar02PictorialBar03PictorialBar04

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-PictorialBarChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2023.12.19) 调整Border相关代码

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.1

    • (2023.09.26) 修复PictorialBar动态添加数据时不刷新的问题

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie,INeedSerieContainer

    PictorialBar.containerIndex

    public int containerIndex

    PictorialBar.containterInstanceId

    public int containterInstanceId

    PictorialBar.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    PictorialBar.ConvertSerie

    public static PictorialBar ConvertSerie(Serie serie)

    PictorialBarChart

    class in XCharts.Runtime.PictorialBars / 继承自: BaseChart

    配置项手册

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie, INeedSerieContainer

    - - + + \ No newline at end of file diff --git a/en/docs/master/pie3d/index.html b/en/docs/master/pie3d/index.html index 7faca2ae..88eb59e3 100644 --- a/en/docs/master/pie3d/index.html +++ b/en/docs/master/pie3d/index.html @@ -14,8 +14,8 @@ Pie3DChart 3D饼图 | XCharts - - + +
    @@ -32,7 +32,7 @@ 饼图厚度。

    Pie3DStyle.selectedOffset

    public Vector2 selectedOffset
    被选中状态的饼图块的额外偏移。

    Pie3DStyle.startSideColorRate

    public float startSideColorRate
    饼图切块的起始面颜色(顺时针)。

    配置项手册

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    3D饼图系列。

    Pie3D.pie3DStyle

    Pie3DStyle

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    Pie3DStyle.drawSplitSide

    bool true v3.10.0

    是否绘制分割面。当pieAutoHeight为true时,该值无效。

    Pie3DStyle.ellipseMinorAxis

    float 0.65f

    椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。

    Pie3DStyle.endSideColorRate

    float 0.65f

    饼图切块的结束面颜色(顺时针)。

    Pie3DStyle.peripherySideColorRate

    float 0.8f

    饼图切块的侧面颜色。

    Pie3DStyle.pieAutoHeight

    bool false

    是否自动根据比例计算厚度。

    Pie3DStyle.pieMaxHeight

    float 20f

    饼图厚度。

    Pie3DStyle.selectedOffset

    Vector2 Vector2(0.1f, 0.5f)

    被选中状态的饼图块的额外偏移。

    Pie3DStyle.show

    bool true

    Pie3DStyle.startSideColorRate

    float 0.7f

    饼图切块的起始面颜色(顺时针)。

    - - + + \ No newline at end of file diff --git a/en/docs/master/pyramid/index.html b/en/docs/master/pyramid/index.html index d9e45a03..ac3b00b5 100644 --- a/en/docs/master/pyramid/index.html +++ b/en/docs/master/pyramid/index.html @@ -14,15 +14,15 @@ PyramidChart 金字塔 | XCharts - - + +
    Version: master

    PyramidChart 金字塔

    XCharts付费扩展图表 - 金字塔。

    截图

    Pyramid01Pyramid02Pyramid03

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-PyramidChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Pyramid的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.21) 增加Tooltip支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    Pyramid.defaultColorBy

    public override SerieColorBy defaultColorBy

    Pyramid.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    PyramidChart

    class in XCharts.Runtime.Pyramids / 继承自: BaseChart

    PyramidChart.Default2DPyramidChart

    public void Default2DPyramidChart()
    生成默认的2D金字塔图。

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    PyramidStyle.drawTop

    public bool drawTop

    配置项手册

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    Pyramid.pyramidStyle

    PyramidStyle

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    PyramidStyle.3D

    bool true

    PyramidStyle.bottomPointRate

    float 0.5f

    3D模式下,底部中点占金字塔宽度的比例

    PyramidStyle.drawTop

    bool true

    PyramidStyle.labelLineMargin

    float 10f

    Label标签距离右边的距离

    PyramidStyle.leftColorOpacity

    float 0.9f

    3D模式下,金字塔左边的颜色透明度

    PyramidStyle.leftPointRate

    float 0.1f

    3D模式下,底部左边点占金字塔高度的比例

    PyramidStyle.rightColorOpacity

    float 0.7f

    3D模式下,金字塔右边的颜色透明度

    PyramidStyle.rightPointRate

    float 0.1f

    3D模式下,底部右边点占金字塔高度的比例

    PyramidStyle.show

    bool true

    PyramidStyle.topColorOpacity

    float 0.99f

    3D模式下,金字塔顶部的颜色透明度

    - - + + \ No newline at end of file diff --git a/en/docs/master/sankey/index.html b/en/docs/master/sankey/index.html index 35995ccc..77ea3b8a 100644 --- a/en/docs/master/sankey/index.html +++ b/en/docs/master/sankey/index.html @@ -14,15 +14,15 @@ SankeyChart 桑基图 | XCharts - - + +
    Version: master

    SankeyChart 桑基图

    XCharts付费扩展图表 - 桑基图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.03.20) 增加Sankey的展开和折叠功能支持

    v3.10.0

    API

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    Sankey.defaultColorBy

    public override SerieColorBy defaultColorBy

    Sankey.levelStyle

    public LevelStyle levelStyle
    层级样式。

    Sankey.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    Sankey.GetLevelItemStyle

    public ItemStyle GetLevelItemStyle(int depth)

    Sankey.GetLevelLabel

    public LabelStyle GetLevelLabel(int depth)

    Sankey.GetLevelLineStyle

    public LineStyle GetLevelLineStyle(int depth)

    Sankey.NodeAlign

    class in XCharts.Runtime.Sankeys

    节点对齐方式。

    可选:

    • Top: 顶部对齐
    • Center: 居中对齐
    • Bottom: 底部对齐

    SankeyChart

    class in XCharts.Runtime.Sankeys / 继承自: BaseChart

    配置项手册

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    Sankey.collapse

    bool false v3.11.0

    是否开启折叠。

    Sankey.collapseLevel

    int -1 v3.11.0

    折叠限制的层级。层级从0开始,-1表示不限制。

    Sankey.collapseMutex

    bool true v3.11.0

    是否开启折叠互斥。

    Sankey.curveness

    float 0.5f

    线条的弯曲程度。

    Sankey.defaultExpandDataIndex

    int -1 v3.11.0

    默认展开的数据索引。

    Sankey.draggable

    bool

    是否可拖拽。

    Sankey.levelStyle

    LevelStyle

    层级样式。

    Sankey.lineGradient

    bool true v3.11.0

    是否开启线条渐变。开启后lineStyle的color将不生效。

    Sankey.nodeAlign

    Sankey.NodeAlign

    节点对齐方式。

    可选:

    • Top: 顶部对齐
    • Center: 居中对齐
    • Bottom: 底部对齐

    Sankey.nodeGap

    float 8

    节点的间距。

    Sankey.nodeWidth

    float 20

    节点的宽度。

    - - + + \ No newline at end of file diff --git a/en/docs/master/support/index.html b/en/docs/master/support/index.html index 9b53b56a..7c6b8464 100644 --- a/en/docs/master/support/index.html +++ b/en/docs/master/support/index.html @@ -14,8 +14,8 @@ 订阅服务 | XCharts - - + +
    @@ -26,7 +26,7 @@ 增加席位 企业VIP支持增加席位,每个席位298¥一年。
    对公转账 有开专票需求时,可用企业银行帐号进行公对公转账支付。二维码支付不支持开专票,只能开普票。发票默认都是电子发票。
    *登记资料 订阅成功后,需提供手机号和Github帐号进行登记,手机号用于确认归属,Github帐号用于加入Github的Team组织,下载源码。

    购买扩展图表

    扩展图表为另付费购买图表,只对订阅了VIP服务的用户开放购买。对于个人SVIP企业VIP的订阅用户,所有扩展图表仓库在订阅期间可全部免费使用,不用再单独购买。

    对所有已购买的扩展图表,源码可永久持有但不能传播,并获得持续一年的更新支持和技术服务,一年后如需更新支持等服务,可再继续订阅VIP服务。

    编号扩展图表扩展图表价格
    101象形柱图PictorialBarChart98¥
    102漏斗图FunnelChart98¥
    1033D金字塔PyramidChart98¥
    104树形矩图TreemapChart98¥
    105桑基图SankeyChart98¥
    2013D柱图Bar3DChart198¥
    2023D饼图Pie3DChart198¥
    203甘特图GanttChart198¥
    204仪表盘GaugeChart198¥
    205水位图LiquidChart198¥
    2063D折线图Line3DChart198¥
    207关系图GraphChart198¥

    扩展图表的在线效果图也可以查看WebGL在线Demo

    捐助支持

    如果这个项目对您有帮助,请右上方点 Star 予以支持!也欢迎扫后面的二维码进行任意金额的捐助,XCharts需要您的支持和帮助。

    二维码

    如果看不到二维码图片,可以加Q联系XCharts技术支持:3525422251或邮件monitor1394@gmail.com咨询。

    alipay-qrcode wechat-qrcode

    - - + + \ No newline at end of file diff --git a/en/docs/master/treemap/index.html b/en/docs/master/treemap/index.html index c1b23d99..aabbd70c 100644 --- a/en/docs/master/treemap/index.html +++ b/en/docs/master/treemap/index.html @@ -14,8 +14,8 @@ TreemapChart 矩形树图 | XCharts - - + +
    @@ -29,7 +29,7 @@ 是否可以返回上一层

    Treemap.GetLevelItemStyle

    public ItemStyle GetLevelItemStyle(int level)

    Treemap.GetLevelLabel

    public LabelStyle GetLevelLabel(int level)

    Treemap.GetLevelUpperLabel

    public LabelStyle GetLevelUpperLabel(int level)

    Treemap.GoUpALevel

    public void GoUpALevel()
    返回上一层

    Treemap.OnDataUpdate

    public override void OnDataUpdate()

    Treemap.SetSelectedSerieData

    public bool SetSelectedSerieData(string serieDataName)
    设置选中(要展示的)的数据名

    TreemapChart

    class in XCharts.Runtime.Treemaps / 继承自: BaseChart

    配置项手册

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    Treemap.customGoUpLevelButton

    GameObject

    自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。

    Treemap.drillDownIcon

    string

    当节点可以下钻时的提示符,只能是字符。默认为▶

    Treemap.leafDepth

    int 0

    默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。

    Treemap.levelStyle

    LevelStyle

    Treemap.upperLabel

    LabelStyle

    父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。

    Treemap.visualDimension

    int 0

    用于计算占比的数据维数。

    - - + + \ No newline at end of file diff --git a/en/docs/master/tutorial01/index.html b/en/docs/master/tutorial01/index.html index f1ba21c9..e0c9d29c 100644 --- a/en/docs/master/tutorial01/index.html +++ b/en/docs/master/tutorial01/index.html @@ -14,8 +14,8 @@ 入门教程:5分钟上手 XCharts 3.0 | XCharts - - + +
    @@ -23,7 +23,7 @@ linechart2

    Note:Serie通过Add Serie按钮添加。可添加不同类型的Serie。XCharts有哪些Serie?

    添加其他主组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    Note:主组件通过Add Component按钮添加。XCharts有哪些主组件?

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件用到时需额外添加。比如,需要给折线图进行区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent linechart3

    Note:Serie组件通过Serie右边的按钮添加。XCharts有哪些Serie组件?

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加组件。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent linechart4

    Note:SerieData组件通过展开SerieData后Component右边的按钮添加。XCharts有哪些SerieData组件?

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个到几十个的可配置参数,用来支持多样化的功能。

    首次使用XCharts,建议亲自去测试下各个图表各个组件的实际效果。Inspector 视图可以直接添加各种图表,各种组件以及调整各个配置参数,Game 视图会实时反馈调整后的效果。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是数据和参数驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不能去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时被还原掉。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    Note:通常颜色值为0000时表示用主题默认颜色;其他参数为0或null时表示用主题默认配置;设置颜色时注意透明度。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.EnsureChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.EnsureChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.EnsureChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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;

    清空所有默认数据(包含Serie),添加Line类型的Serie用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    如果Serie是固定的,建议只是清空数据,不用把Serie也清掉:

    chart.ClearData();

    这样可以提前在UI上设置好Serie的配置参数。

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。

    记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    设置默认字体

    XCharts默认使用的是Unity默认字体Arial,在WebGL平台上可能无法显示中文。在将XCharts用在你的项目时,建议先设置好字体:

    • 找到XCharts/Resources/XCSetting.asset资源,修改里面的Font并保存。
    • 找到XCharts/Resources/XCTheme-Default.assetXCharts/Resources/XCTheme-Default.asset两个字体配置,点击Sync Font from SettingSync Font to Sub Theme按钮将字体同步到主题配置文件上。

    字体设置好后,新创建的图表就会用新设置的字体了。对于旧图表,可以点击Rebuild Chart Object进行刷新。

    Note:使用XCharts前建议先设置好字体;更新XCharts时注意设置的字体可能被还原的问题。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    XCharts的代码控制

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    Note:用API去操作数据和各种list,而不是直接访问list进行处理

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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;

    注:低版本没有EnsureChartComponent()接口时,用GetOrAddChartComponent()

    改Serie的参数

    对于新添加的Serie:

    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:

    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添加额外组件:

    serie.EnsureComponent<AreaStyle>();

    var label = serie1.EnsureComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    - - + + \ No newline at end of file diff --git a/en/docs/master/tutorial02/index.html b/en/docs/master/tutorial02/index.html index 8cbd2b38..9ac6ad1d 100644 --- a/en/docs/master/tutorial02/index.html +++ b/en/docs/master/tutorial02/index.html @@ -14,13 +14,13 @@ 从文件或数据库读取数据显示图表 | XCharts - - + + - - + + \ No newline at end of file diff --git a/en/docs/master/tutorial03/index.html b/en/docs/master/tutorial03/index.html index 2d1d4c24..14bd7680 100644 --- a/en/docs/master/tutorial03/index.html +++ b/en/docs/master/tutorial03/index.html @@ -14,13 +14,13 @@ 心电图效果实现 | XCharts - - + + - - + + \ No newline at end of file diff --git a/en/docs/master/ui/index.html b/en/docs/master/ui/index.html index c3e97898..9ba85546 100644 --- a/en/docs/master/ui/index.html +++ b/en/docs/master/ui/index.html @@ -14,13 +14,13 @@ 扩展UI组件 | XCharts - - + +
    Version: master

    扩展UI组件

    XCharts的扩展UI组件,VIP订阅用户专有。

    组件列表

    示例演示

    Demo仓库:XCharts-UI-Demo

    如何使用

    • 使用该仓库前先确保项目里已有对应版本的XCharts。
    • 下载本仓库放入Assets下或者通过Package Manager导入。

    更新日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.16) 增加UIImage图片组件
    • (2024.01.16) 优化Background组件,可设置圆角和边框
    • (2024.01.03) 增加UITablecarouselStylehoverPause
    • (2024.01.02) 增加UITablescrollStyleborderStyle
    • (2024.01.02) 增加UITablecolumnHeadStyleopaque
    • (2024.01.01) 调整UITableborder边框相关设置,用BorderStyle代替
    • (2023.12.22) 增加UITable的行边框

    v3.9.0

    • (2023.11.14) 增加UITableGetData()GetContent()接口
    • (2023.11.12) 增加UITableonTableClick点击表格回调
    • (2023.11.11) 重构UITableSeparatorStyle,可分开设置行列的分割线
    • (2023.11.05) 增加UITableColumnStyle,重构Column相关参数
    • (2023.11.05) 增加UITableRowStyle,重构Row相关参数
    • (2023.11.01) 增加UITableCarouselStyle轮播功能
    • (2023.11.01) 增加UITableAddColumn()UpdateColumn()接口
    • (2023.10.23) 修复UITable点击Rebuild Object异常的问题
    • (2023.10.23) 修复UITable尺寸变化时不刷新的问题
    • (2023.10.17) 修复UITable首次初始化异常的问题
    • (2023.10.17) 增加UITable的数据操作接口
    • (2023.10.17) 增加UITableRefreshTable()刷新接口

    v3.8.0

    • (2023.09.03) 发布v3.8.0版本
    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 增加UIStatistic
    • (2023.02.14) 增加UITable
    - - + + \ No newline at end of file diff --git a/en/docs/pictorialbar/index.html b/en/docs/pictorialbar/index.html index 6c38ec69..ef274352 100644 --- a/en/docs/pictorialbar/index.html +++ b/en/docs/pictorialbar/index.html @@ -14,14 +14,14 @@ PictorialBarChart 象形柱图 | XCharts - - + +
    Version: v3.12.0

    PictorialBarChart 象形柱图

    XCharts付费扩展图表 - 象形柱图。

    截图

    PictorialBar01PictorialBar02PictorialBar03PictorialBar04

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-PictorialBarChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2023.12.19) 调整Border相关代码

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.1

    • (2023.09.26) 修复PictorialBar动态添加数据时不刷新的问题

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static PictorialBar ConvertSerie(Serie serie)

    PictorialBarChart

    class in XCharts.Runtime.PictorialBars / 继承自: BaseChart

    配置项手册

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie, INeedSerieContainer

    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2023.12.19) 调整Border相关代码

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.1

    • (2023.09.26) 修复PictorialBar动态添加数据时不刷新的问题

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie,INeedSerieContainer

    PictorialBar.containerIndex

    public int containerIndex

    PictorialBar.containterInstanceId

    public int containterInstanceId

    PictorialBar.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    PictorialBar.ConvertSerie

    public static PictorialBar ConvertSerie(Serie serie)

    PictorialBarChart

    class in XCharts.Runtime.PictorialBars / 继承自: BaseChart

    配置项手册

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie, INeedSerieContainer

    + + \ No newline at end of file diff --git a/en/docs/pie3d/index.html b/en/docs/pie3d/index.html index d856812f..2b858292 100644 --- a/en/docs/pie3d/index.html +++ b/en/docs/pie3d/index.html @@ -14,14 +14,25 @@ Pie3DChart 3D饼图 | XCharts - - + +
    Version: v3.12.0

    Pie3DChart 3D饼图

    XCharts的付费扩展图表 - 3D饼图。

    截图

    Pie3D01Pie3D02Pie3D03Pie3D04Pie3D05
    Pie3D07Pie3D08

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-Pie3DChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.1

    • (2024.02.28) 修复Pie3D在动画过程中可能出现绘制异常的问题

    v3.10.0

    • (2024.01.16) 增加XCharts上的更多菜单栏快捷方式,一键创建多种3D饼图
    • (2023.12.17) 增加Pie3DStyledrawSplitSide设置是否绘制分割面
    • (2023.12.16) 增加Border描边支持
    • (2023.12.15) 增加Serielabel可指示在边缘的支持
    • (2023.12.10) 增加SerieminShowLabel可隐藏小于指定值的label

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.11.30) 优化SerieData只有一个时不绘制侧边
    • (2023.11.30) 增加SerieData可单独添加Label的支持

    v3.8.1

    • (2023.09.14) 修复SerieData的数据为全为0时图表显示异常的问题
    • (2023.09.08) 增加SerieDataradius可自定义各饼块高度的支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.2

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.1

    • (2023.05.21) 增加avoidLabelOverlap支持

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.3.0

    • (2022.09.02) 增加onPointerEnterPie回调支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    3D饼图系列。

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Pie3D ConvertSerie(Serie serie)

    Pie3DChart

    class in XCharts.Runtime.Pie3Ds / 继承自: BaseChart

    3D饼图。

    API版本描述
    DefaultAutoHeightPie3DChart()public void DefaultAutoHeightPie3DChart()
    生成默认3D自动高度饼图。
    DefaultDonutPie3DChart()public void DefaultDonutPie3DChart()
    生成默认3D甜甜圈饼图。
    DefaultEllipsePie3DChart()public void DefaultEllipsePie3DChart()
    生成默认2D椭圆饼图。

    Pie3DSlice

    class in XCharts.Runtime.Pie3Ds

    3D饼图的切块。

    API版本描述
    Contains()public bool Contains(float angle)
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    IsInSidePolygon()public bool IsInSidePolygon(Vector2 p)
    IsInStartOrEndSide()public bool IsInStartOrEndSide(Vector2 p)
    IsInTopPolygon()public bool IsInTopPolygon(Vector2 p)
    Pie3DSlice()public Pie3DSlice()
    UpdateValue()public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig)

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    配置项手册

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    3D饼图系列。

    参数默认版本描述
    pie3DStylePie3DStyle

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    参数默认版本描述
    showtrue
    ellipseMinorAxis0.65f椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。
    pieMaxHeight20f饼图厚度。
    pieAutoHeightfalse是否自动根据比例计算厚度。
    selectedOffsetVector2(0.1f, 0.5f)被选中状态的饼图块的额外偏移。
    peripherySideColorRate0.8f饼图切块的侧面颜色。
    startSideColorRate0.7f饼图切块的起始面颜色(顺时针)。
    endSideColorRate0.65f饼图切块的结束面颜色(顺时针)。
    drawSplitSidetruev3.10.0是否绘制分割面。当pieAutoHeight为true时,该值无效。
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.1

    • (2024.02.28) 修复Pie3D在动画过程中可能出现绘制异常的问题

    v3.10.0

    • (2024.01.16) 增加XCharts上的更多菜单栏快捷方式,一键创建多种3D饼图
    • (2023.12.17) 增加Pie3DStyledrawSplitSide设置是否绘制分割面
    • (2023.12.16) 增加Border描边支持
    • (2023.12.15) 增加Serielabel可指示在边缘的支持
    • (2023.12.10) 增加SerieminShowLabel可隐藏小于指定值的label

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.11.30) 优化SerieData只有一个时不绘制侧边
    • (2023.11.30) 增加SerieData可单独添加Label的支持

    v3.8.1

    • (2023.09.14) 修复SerieData的数据为全为0时图表显示异常的问题
    • (2023.09.08) 增加SerieDataradius可自定义各饼块高度的支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.2

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.1

    • (2023.05.21) 增加avoidLabelOverlap支持

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.3.0

    • (2022.09.02) 增加onPointerEnterPie回调支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    3D饼图系列。

    Pie3D.defaultColorBy

    public override SerieColorBy defaultColorBy

    Pie3D.AddDefaultSerie

    public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    Pie3D.ConvertSerie

    public static Pie3D ConvertSerie(Serie serie)

    Pie3DChart

    class in XCharts.Runtime.Pie3Ds / 继承自: BaseChart

    3D饼图。

    Pie3DChart.DefaultAutoHeightPie3DChart

    public void DefaultAutoHeightPie3DChart()
    +生成默认3D自动高度饼图。

    Pie3DChart.DefaultDonutPie3DChart

    public void DefaultDonutPie3DChart()
    +生成默认3D甜甜圈饼图。

    Pie3DChart.DefaultEllipsePie3DChart

    public void DefaultEllipsePie3DChart()
    +生成默认2D椭圆饼图。

    Pie3DSlice

    class in XCharts.Runtime.Pie3Ds

    3D饼图的切块。

    Pie3DSlice.Contains

    public bool Contains(float angle)

    Pie3DSlice.IsInPolygon

    public bool IsInPolygon(Vector2 p)

    Pie3DSlice.IsInSidePolygon

    public bool IsInSidePolygon(Vector2 p)

    Pie3DSlice.IsInStartOrEndSide

    public bool IsInStartOrEndSide(Vector2 p)

    Pie3DSlice.IsInTopPolygon

    public bool IsInTopPolygon(Vector2 p)

    Pie3DSlice.Pie3DSlice

    public Pie3DSlice()

    Pie3DSlice.UpdateValue

    public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig)

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    Pie3DStyle.drawSplitSide

    public bool drawSplitSide
    +是否绘制分割面。当pieAutoHeight为true时,该值无效。

    Pie3DStyle.ellipseMinorAxis

    public float ellipseMinorAxis
    +椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。

    Pie3DStyle.endSideColorRate

    public float endSideColorRate
    +饼图切块的结束面颜色(顺时针)。

    Pie3DStyle.peripherySideColorRate

    public float peripherySideColorRate
    +饼图切块的侧面颜色。

    Pie3DStyle.pieAutoHeight

    public bool pieAutoHeight
    +是否自动根据比例计算厚度。

    Pie3DStyle.pieMaxHeight

    public float pieMaxHeight
    +饼图厚度。

    Pie3DStyle.selectedOffset

    public Vector2 selectedOffset
    +被选中状态的饼图块的额外偏移。

    Pie3DStyle.startSideColorRate

    public float startSideColorRate
    +饼图切块的起始面颜色(顺时针)。

    配置项手册

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    3D饼图系列。

    Pie3D.pie3DStyle

    Pie3DStyle

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    Pie3DStyle.drawSplitSide

    bool true v3.10.0

    是否绘制分割面。当pieAutoHeight为true时,该值无效。

    Pie3DStyle.ellipseMinorAxis

    float 0.65f

    椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。

    Pie3DStyle.endSideColorRate

    float 0.65f

    饼图切块的结束面颜色(顺时针)。

    Pie3DStyle.peripherySideColorRate

    float 0.8f

    饼图切块的侧面颜色。

    Pie3DStyle.pieAutoHeight

    bool false

    是否自动根据比例计算厚度。

    Pie3DStyle.pieMaxHeight

    float 20f

    饼图厚度。

    Pie3DStyle.selectedOffset

    Vector2 Vector2(0.1f, 0.5f)

    被选中状态的饼图块的额外偏移。

    Pie3DStyle.show

    bool true

    Pie3DStyle.startSideColorRate

    float 0.7f

    饼图切块的起始面颜色(顺时针)。

    + + \ No newline at end of file diff --git a/en/docs/pyramid/index.html b/en/docs/pyramid/index.html index ea1059ff..17c4cabc 100644 --- a/en/docs/pyramid/index.html +++ b/en/docs/pyramid/index.html @@ -14,14 +14,15 @@ PyramidChart 金字塔 | XCharts - - + +
    Version: v3.12.0

    PyramidChart 金字塔

    XCharts付费扩展图表 - 金字塔。

    截图

    Pyramid01Pyramid02Pyramid03

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-PyramidChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Pyramid的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.21) 增加Tooltip支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    PyramidChart

    class in XCharts.Runtime.Pyramids / 继承自: BaseChart

    API版本描述
    Default2DPyramidChart()public void Default2DPyramidChart()
    生成默认的2D金字塔图。

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    配置项手册

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    参数默认版本描述
    pyramidStylePyramidStyle

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    3Dtrue
    drawToptrue
    bottomPointRate0.5f3D模式下,底部中点占金字塔宽度的比例
    leftPointRate0.1f3D模式下,底部左边点占金字塔高度的比例
    rightPointRate0.1f3D模式下,底部右边点占金字塔高度的比例
    leftColorOpacity0.9f3D模式下,金字塔左边的颜色透明度
    rightColorOpacity0.7f3D模式下,金字塔右边的颜色透明度
    topColorOpacity0.99f3D模式下,金字塔顶部的颜色透明度
    labelLineMargin10fLabel标签距离右边的距离
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Pyramid的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.21) 增加Tooltip支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    Pyramid.defaultColorBy

    public override SerieColorBy defaultColorBy

    Pyramid.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    PyramidChart

    class in XCharts.Runtime.Pyramids / 继承自: BaseChart

    PyramidChart.Default2DPyramidChart

    public void Default2DPyramidChart()
    +生成默认的2D金字塔图。

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    PyramidStyle.drawTop

    public bool drawTop

    配置项手册

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    Pyramid.pyramidStyle

    PyramidStyle

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    PyramidStyle.3D

    bool true

    PyramidStyle.bottomPointRate

    float 0.5f

    3D模式下,底部中点占金字塔宽度的比例

    PyramidStyle.drawTop

    bool true

    PyramidStyle.labelLineMargin

    float 10f

    Label标签距离右边的距离

    PyramidStyle.leftColorOpacity

    float 0.9f

    3D模式下,金字塔左边的颜色透明度

    PyramidStyle.leftPointRate

    float 0.1f

    3D模式下,底部左边点占金字塔高度的比例

    PyramidStyle.rightColorOpacity

    float 0.7f

    3D模式下,金字塔右边的颜色透明度

    PyramidStyle.rightPointRate

    float 0.1f

    3D模式下,底部右边点占金字塔高度的比例

    PyramidStyle.show

    bool true

    PyramidStyle.topColorOpacity

    float 0.99f

    3D模式下,金字塔顶部的颜色透明度

    + + \ No newline at end of file diff --git a/en/docs/sankey/index.html b/en/docs/sankey/index.html index 47277939..387aaf08 100644 --- a/en/docs/sankey/index.html +++ b/en/docs/sankey/index.html @@ -14,14 +14,15 @@ SankeyChart 桑基图 | XCharts - - + +
    Version: v3.12.0

    SankeyChart 桑基图

    XCharts付费扩展图表 - 桑基图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.03.20) 增加Sankey的展开和折叠功能支持

    v3.10.0

    API

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    GetLevelItemStyle()public ItemStyle GetLevelItemStyle(int depth)
    GetLevelLabel()public LabelStyle GetLevelLabel(int depth)
    GetLevelLineStyle()public LineStyle GetLevelLineStyle(int depth)

    SankeyChart

    class in XCharts.Runtime.Sankeys / 继承自: BaseChart

    配置项手册

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    参数默认版本描述
    nodeAlign节点对齐方式。
    Sankey.NodeAlign:
    - Top: 顶部对齐
    - Center: 居中对齐
    - Bottom: 底部对齐
    nodeWidth20节点的宽度。
    nodeGap8节点的间距。
    draggable是否可拖拽。
    curveness0.5f线条的弯曲程度。
    collapsefalsev3.11.0是否开启折叠。
    collapseMutextruev3.11.0是否开启折叠互斥。
    collapseLevel-1v3.11.0折叠限制的层级。层级从0开始,-1表示不限制。
    defaultExpandDataIndex-1v3.11.0默认展开的数据索引。
    lineGradienttruev3.11.0是否开启线条渐变。开启后lineStyle的color将不生效。
    levelStyle层级样式。
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.03.20) 增加Sankey的展开和折叠功能支持

    v3.10.0

    API

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    Sankey.defaultColorBy

    public override SerieColorBy defaultColorBy

    Sankey.levelStyle

    public LevelStyle levelStyle
    +层级样式。

    Sankey.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    Sankey.GetLevelItemStyle

    public ItemStyle GetLevelItemStyle(int depth)

    Sankey.GetLevelLabel

    public LabelStyle GetLevelLabel(int depth)

    Sankey.GetLevelLineStyle

    public LineStyle GetLevelLineStyle(int depth)

    Sankey.NodeAlign

    class in XCharts.Runtime.Sankeys

    节点对齐方式。

    可选:

    • Top: 顶部对齐
    • Center: 居中对齐
    • Bottom: 底部对齐

    SankeyChart

    class in XCharts.Runtime.Sankeys / 继承自: BaseChart

    配置项手册

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    Sankey.collapse

    bool false v3.11.0

    是否开启折叠。

    Sankey.collapseLevel

    int -1 v3.11.0

    折叠限制的层级。层级从0开始,-1表示不限制。

    Sankey.collapseMutex

    bool true v3.11.0

    是否开启折叠互斥。

    Sankey.curveness

    float 0.5f

    线条的弯曲程度。

    Sankey.defaultExpandDataIndex

    int -1 v3.11.0

    默认展开的数据索引。

    Sankey.draggable

    bool

    是否可拖拽。

    Sankey.levelStyle

    LevelStyle

    层级样式。

    Sankey.lineGradient

    bool true v3.11.0

    是否开启线条渐变。开启后lineStyle的color将不生效。

    Sankey.nodeAlign

    Sankey.NodeAlign

    节点对齐方式。

    可选:

    • Top: 顶部对齐
    • Center: 居中对齐
    • Bottom: 底部对齐

    Sankey.nodeGap

    float 8

    节点的间距。

    Sankey.nodeWidth

    float 20

    节点的宽度。

    + + \ No newline at end of file diff --git a/en/docs/support/index.html b/en/docs/support/index.html index 002c7cba..7010b281 100644 --- a/en/docs/support/index.html +++ b/en/docs/support/index.html @@ -14,8 +14,8 @@ 订阅服务 | XCharts - - + +
    @@ -26,7 +26,7 @@ 增加席位 企业VIP支持增加席位,每个席位298¥一年。
    对公转账 有开专票需求时,可用企业银行帐号进行公对公转账支付。二维码支付不支持开专票,只能开普票。发票默认都是电子发票。
    *登记资料 订阅成功后,需提供手机号和Github帐号进行登记,手机号用于确认归属,Github帐号用于加入Github的Team组织,下载源码。

    购买扩展图表

    扩展图表为另付费购买图表,只对订阅了VIP服务的用户开放购买。对于个人SVIP企业VIP的订阅用户,所有扩展图表仓库在订阅期间可全部免费使用,不用再单独购买。

    对所有已购买的扩展图表,源码可永久持有但不能传播,并获得持续一年的更新支持和技术服务,一年后如需更新支持等服务,可再继续订阅VIP服务。

    编号扩展图表扩展图表价格
    101象形柱图PictorialBarChart98¥
    102漏斗图FunnelChart98¥
    1033D金字塔PyramidChart98¥
    104树形矩图TreemapChart98¥
    105桑基图SankeyChart98¥
    2013D柱图Bar3DChart198¥
    2023D饼图Pie3DChart198¥
    203甘特图GanttChart198¥
    204仪表盘GaugeChart198¥
    205水位图LiquidChart198¥
    2063D折线图Line3DChart198¥
    207关系图GraphChart198¥

    扩展图表的在线效果图也可以查看WebGL在线Demo

    捐助支持

    如果这个项目对您有帮助,请右上方点 Star 予以支持!也欢迎扫后面的二维码进行任意金额的捐助,XCharts需要您的支持和帮助。

    二维码

    如果看不到二维码图片,可以加Q联系XCharts技术支持:3525422251或邮件monitor1394@gmail.com咨询。

    alipay-qrcode wechat-qrcode

    - - + + \ No newline at end of file diff --git a/en/docs/treemap/index.html b/en/docs/treemap/index.html index 791cd442..21784947 100644 --- a/en/docs/treemap/index.html +++ b/en/docs/treemap/index.html @@ -14,14 +14,22 @@ TreemapChart 矩形树图 | XCharts - - + +
    Version: v3.12.0

    TreemapChart 矩形树图

    XCharts付费扩展图表 - 矩形树图。

    截图

    Treemap01Treemap02Treemap03Treemap04

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-TreemapChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    -配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.2

    • (2023.11.08) 修复ItemStyle设置borderColor后边框绘制异常的问题

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    CanGoUpALevel()public bool CanGoUpALevel()
    是否可以返回上一层
    GetLevelItemStyle()public ItemStyle GetLevelItemStyle(int level)
    GetLevelLabel()public LabelStyle GetLevelLabel(int level)
    GetLevelUpperLabel()public LabelStyle GetLevelUpperLabel(int level)
    GoUpALevel()public void GoUpALevel()
    返回上一层
    OnDataUpdate()public override void OnDataUpdate()
    SetSelectedSerieData()public bool SetSelectedSerieData(string serieDataName)
    设置选中(要展示的)的数据名
    SetSelectedSerieData()public void SetSelectedSerieData(SerieData serieData)

    TreemapChart

    class in XCharts.Runtime.Treemaps / 继承自: BaseChart

    配置项手册

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    参数默认版本描述
    leafDepth0默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。
    visualDimension0用于计算占比的数据维数。
    drillDownIcon当节点可以下钻时的提示符,只能是字符。默认为▶
    customGoUpLevelButton自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。
    upperLabel父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。
    levelStyle
    - - +配置项手册

    日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.2

    • (2023.11.08) 修复ItemStyle设置borderColor后边框绘制异常的问题

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    Treemap.customGoUpLevelButton

    public GameObject customGoUpLevelButton
    +自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。

    Treemap.drillDownIcon

    public string drillDownIcon
    +当节点可以下钻时的提示符,只能是字符。默认为▶

    Treemap.leafDepth

    public int leafDepth
    +默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。

    Treemap.levelStyle

    public LevelStyle levelStyle

    Treemap.upperLabel

    public LabelStyle upperLabel
    +父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。

    Treemap.visualDimension

    public int visualDimension
    +用于计算占比的数据维数。

    Treemap.AddDefaultSerie

    public static void AddDefaultSerie(BaseChart chart, string serieName)

    Treemap.CanGoUpALevel

    public bool CanGoUpALevel()
    +是否可以返回上一层

    Treemap.GetLevelItemStyle

    public ItemStyle GetLevelItemStyle(int level)

    Treemap.GetLevelLabel

    public LabelStyle GetLevelLabel(int level)

    Treemap.GetLevelUpperLabel

    public LabelStyle GetLevelUpperLabel(int level)

    Treemap.GoUpALevel

    public void GoUpALevel()
    +返回上一层

    Treemap.OnDataUpdate

    public override void OnDataUpdate()

    Treemap.SetSelectedSerieData

    public bool SetSelectedSerieData(string serieDataName)
    +设置选中(要展示的)的数据名

    TreemapChart

    class in XCharts.Runtime.Treemaps / 继承自: BaseChart

    配置项手册

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    Treemap.customGoUpLevelButton

    GameObject

    自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。

    Treemap.drillDownIcon

    string

    当节点可以下钻时的提示符,只能是字符。默认为▶

    Treemap.leafDepth

    int 0

    默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。

    Treemap.levelStyle

    LevelStyle

    Treemap.upperLabel

    LabelStyle

    父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。

    Treemap.visualDimension

    int 0

    用于计算占比的数据维数。

    + + \ No newline at end of file diff --git a/en/docs/tutorial01/index.html b/en/docs/tutorial01/index.html index 8509f4a2..efb458c5 100644 --- a/en/docs/tutorial01/index.html +++ b/en/docs/tutorial01/index.html @@ -13,17 +13,17 @@ -入门教程:5分钟上手 XCharts 3.0 | XCharts - - +入门教程:5分钟上手 XCharts 3.0 | XCharts + +
    -
    Version: v3.12.0

    教程:5分钟上手 XCharts 3.0

    注:本教程适用XCharts 3.x版本,2.x版本请看 教程:5分钟上手XCharts 2.0

    使用 XCharts 前需要掌握什么

    • 会简单使用Unity
    • 了解UGUI,会使用UGUI
    • 了解Unity的MonoBehavior脚本用法,知道怎么挂脚本,用代码操作脚本

    获取和导入 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下加入:

          "com.monitor1394.xcharts": "https://github.com/XCharts-Team/XCharts.git#3.0",

      如需更新XCharts,删除manifest.json文件(部分Unity版本可能是packages-lock.json文件)的lock下的com.monitor1394.xcharts相关内容即会重新下载编译。

    • 建议先导入XCharts的守护程序(非必须)

      守护程序XCharts-Daemon可以确保更新时编译正常,当本地开启TextMeshPro或NewInputSystem时将会非常有用。将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地TMP等的开启情况刷新asmdef,确保编译正常,不用手动去解决,方便CI-CD等自动化流程执行。

    添加一个简单图表

    Hierarchy视图下右键UI->XCharts->LineChart或菜单栏GameObject下拉选择XCharts->LineChart,即可快速创建一个默认的折线图出来:

    linechart1

    添加多个Seire

    Inspector视图,找到LineChart的面板,通过Add Serie按钮,可以添加第二条Line折线:

    op_addserie -linechart2

    添加其他组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件按需额外添加。比如,需要给折线图区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent -linechart3

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加Component。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent -linechart4

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个至几十个不等的可配置参数,以支持各种灵活而复杂的功能。

    首次使用XCharts,可在 Inspector 视图添加各种图表,给图表添加或调整里面组件,Game 视图会实时反馈调整后的效果,以熟悉各种组件的使用。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是配置和数据来驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不需要去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时还原回来。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    通常颜色值为0000时表示用主题默认颜色,配置为0或null时表示用主题默认配置。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.EnsureChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.EnsureChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.EnsureChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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;

    清空默认数据,添加Line类型的Serie用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    用代码改图表参数

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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;

    注:低版本没有EnsureChartComponent()接口时,用GetOrAddChartComponent()

    改Serie的参数

    对于新添加的Serie:

    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:

    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添加额外组件:

    serie.EnsureComponent<AreaStyle>();

    var label = serie1.EnsureComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    - - +
    Version: v3.12.0

    教程:5分钟上手 XCharts 3.0

    Note:本教程仅适用XCharts 3.x版本,2.x版本请看 教程:5分钟上手XCharts 2.0

    XCharts的前提条件

    XCharts是一个Unity图表插件,目前只能在Unity平台使用。

    使用XCharts前,你需要:

    • 掌握Unity的基本用法。
    • 掌握UGUI制作UI的基本用法。
    • 了解Unity的MonoBehavior脚本用法,知道怎么挂脚本和用代码操作脚本。

    如果你刚接触Unity,建议先学习Unity相关的基础教程再使用XCharts。

    XCharts的获取和导入

    XCharts主要通过Github来维护更新和发布,可以到【Github主页】(https://github.com/XCharts-Team)进行下载获取源码和Pacakge;对于无Github访问条件的用户,可以访问[【国内镜像】](https://gitee.com/monitor1394/unity-ugui-XCharts)进行下载。国内镜像的版本更新可能会相对滞后。

    XCharts可通过以下任意一种方式导入到你的项目:

    直接将XCharts源码拷贝到项目

    下载好XCharts源码后,直接将XCharts目录拷贝到Unity项目工程的Assets目录下。编译通过后即可使用。

    通过Import Package导入XCharts

    下载好XCharts的.unitypackage文件后,打开Unity,菜单栏 Assets-->Import Package-->选中下载好的.unitypackage进行导入。导入完成并通过编译后即可开始使用XCharts。

    通过Package Manager导入XCharts

    对于2018.3以上的Unity版本,可通过Package Manager来导入XCharts,打开Package Manager后,通过 Add package form git URL...,输入XCharts的GitHub URL: https://github.com/XCharts-Team/XCharts.git 编译通过后即可使用XCharts。

    对于部分Unity版本,也可以直接将package加入到manifest.json文件:打开Packages目录下的manifest.json文件,在dependencies下加入:

    "com.monitor1394.xcharts": "https://github.com/XCharts-Team/XCharts.git",

    如需更新XCharts,删除manifest.json文件(部分Unity版本可能是packages-lock.json文件)的lock下的com.monitor1394.xcharts相关内容即会重新下载编译。

    建议导入XCharts的守护程序

    守护程序XCharts-Daemon可以确保更新时编译正常,当本地开启TextMeshPro或NewInputSystem时将会非常有用。将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地TMP等的开启情况刷新XCharts的asmdef,确保编译正常,不用手动去解决,方便CI/CD等自动化流程执行。

    XCharts-Daemon的导入方式可参考刚才的XCharts导入方式。可以通过源码或Package的方式导入项目,XCharts-Daemon的Github URL:https://github.com/XCharts-Team/XCharts-Daemon.git

    XCharts的基本使用

    导入XCharts并编译通过后,Unity编辑器的菜单栏会显示XCharts,这时可以开始使用XCharts了。

    Note:Unity的菜单栏出现XCharts菜单时才表示XCharts可用。

    添加一个简单图表

    Hierarchy视图下右键UI->XCharts->LineChart或菜单栏XCharts下拉选择LineChart,即可快速创建一个默认的折线图:

    linechart1

    如需在某个节点下创建图表,可以选中节点右键UI->XCharts->LineChart即可在节点下创建图表。

    修改图表数据

    刚创建的图表,它的数据可以在Inspector视图面板上进行修改。

    对于X轴数据,可通过:XAxis->Data展开后进行增删和修改:

    op_axisdata

    对于Serie数据,可通过:Serie->Data展开后进行增删和修改:

    op_seriedata

    Serie支持多维数据,一般折线图只用到二维数据:第一维表示X轴类目数据的编号,第二维表示对应的数值。

    添加多个Seire

    Inspector视图,找到LineChart的面板,通过Add Serie按钮,可以添加第二条Line折线:

    op_addserie +linechart2

    Note:Serie通过Add Serie按钮添加。可添加不同类型的Serie。XCharts有哪些Serie?

    添加其他主组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    Note:主组件通过Add Component按钮添加。XCharts有哪些主组件?

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件用到时需额外添加。比如,需要给折线图进行区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent +linechart3

    Note:Serie组件通过Serie右边的按钮添加。XCharts有哪些Serie组件?

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加组件。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent +linechart4

    Note:SerieData组件通过展开SerieData后Component右边的按钮添加。XCharts有哪些SerieData组件?

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个到几十个的可配置参数,用来支持多样化的功能。

    首次使用XCharts,建议亲自去测试下各个图表各个组件的实际效果。Inspector 视图可以直接添加各种图表,各种组件以及调整各个配置参数,Game 视图会实时反馈调整后的效果。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是数据和参数驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不能去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时被还原掉。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    Note:通常颜色值为0000时表示用主题默认颜色;其他参数为0或null时表示用主题默认配置;设置颜色时注意透明度。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.EnsureChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.EnsureChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.EnsureChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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;

    清空所有默认数据(包含Serie),添加Line类型的Serie用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    如果Serie是固定的,建议只是清空数据,不用把Serie也清掉:

    chart.ClearData();

    这样可以提前在UI上设置好Serie的配置参数。

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。

    记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    设置默认字体

    XCharts默认使用的是Unity默认字体Arial,在WebGL平台上可能无法显示中文。在将XCharts用在你的项目时,建议先设置好字体:

    • 找到XCharts/Resources/XCSetting.asset资源,修改里面的Font并保存。
    • 找到XCharts/Resources/XCTheme-Default.assetXCharts/Resources/XCTheme-Default.asset两个字体配置,点击Sync Font from SettingSync Font to Sub Theme按钮将字体同步到主题配置文件上。

    字体设置好后,新创建的图表就会用新设置的字体了。对于旧图表,可以点击Rebuild Chart Object进行刷新。

    Note:使用XCharts前建议先设置好字体;更新XCharts时注意设置的字体可能被还原的问题。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    XCharts的代码控制

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    Note:用API去操作数据和各种list,而不是直接访问list进行处理

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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;

    注:低版本没有EnsureChartComponent()接口时,用GetOrAddChartComponent()

    改Serie的参数

    对于新添加的Serie:

    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:

    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添加额外组件:

    serie.EnsureComponent<AreaStyle>();

    var label = serie1.EnsureComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    + + \ No newline at end of file diff --git a/en/docs/tutorial02/index.html b/en/docs/tutorial02/index.html index 86930304..9873272c 100644 --- a/en/docs/tutorial02/index.html +++ b/en/docs/tutorial02/index.html @@ -14,13 +14,13 @@ 从文件或数据库读取数据显示图表 | XCharts - - + + - - + + \ No newline at end of file diff --git a/en/docs/tutorial03/index.html b/en/docs/tutorial03/index.html index f30d9f09..ecf9e65d 100644 --- a/en/docs/tutorial03/index.html +++ b/en/docs/tutorial03/index.html @@ -14,13 +14,13 @@ 心电图效果实现 | XCharts - - + + - - + + \ No newline at end of file diff --git a/en/docs/ui/index.html b/en/docs/ui/index.html index 24892aa0..56660268 100644 --- a/en/docs/ui/index.html +++ b/en/docs/ui/index.html @@ -14,13 +14,13 @@ 扩展UI组件 | XCharts - - + +
    -
    Version: v3.12.0

    扩展UI组件

    XCharts的扩展UI组件,VIP订阅用户专有。

    组件列表

    示例演示

    Demo仓库:XCharts-UI-Demo

    如何使用

    • 使用该仓库前先确保项目里已有对应版本的XCharts。
    • 下载本仓库放入Assets下或者通过Package Manager导入。

    更新日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.16) 增加UIImage图片组件
    • (2024.01.16) 优化Background组件,可设置圆角和边框
    • (2024.01.03) 增加UITablecarouselStylehoverPause
    • (2024.01.02) 增加UITablescrollStyleborderStyle
    • (2024.01.02) 增加UITablecolumnHeadStyleopaque
    • (2024.01.01) 调整UITableborder边框相关设置,用BorderStyle代替
    • (2023.12.22) 增加UITable的行边框

    v3.9.0

    • (2023.11.14) 增加UITableGetData()GetContent()接口
    • (2023.11.12) 增加UITableonTableClick点击表格回调
    • (2023.11.11) 重构UITableSeparatorStyle,可分开设置行列的分割线
    • (2023.11.05) 增加UITableColumnStyle,重构Column相关参数
    • (2023.11.05) 增加UITableRowStyle,重构Row相关参数
    • (2023.11.01) 增加UITableCarouselStyle轮播功能
    • (2023.11.01) 增加UITableAddColumn()UpdateColumn()接口
    • (2023.10.23) 修复UITable点击Rebuild Object异常的问题
    • (2023.10.23) 修复UITable尺寸变化时不刷新的问题
    • (2023.10.17) 修复UITable首次初始化异常的问题
    • (2023.10.17) 增加UITable的数据操作接口
    • (2023.10.17) 增加UITableRefreshTable()刷新接口

    v3.8.0

    • (2023.09.03) 发布v3.8.0版本
    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 增加UIStatistic
    • (2023.02.14) 增加UITable
    - - +
    Version: v3.12.0

    扩展UI组件

    XCharts的扩展UI组件,VIP订阅用户专有。

    组件列表

    示例演示

    Demo仓库:XCharts-UI-Demo

    如何使用

    • 使用该仓库前先确保项目里已有对应版本的XCharts。
    • 下载本仓库放入Assets下或者通过Package Manager导入。

    更新日志

    v3.12.0

    • (2024.09.30) 发布v3.12.0版本
    • (2024.09.30) 更新文档

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.16) 增加UIImage图片组件
    • (2024.01.16) 优化Background组件,可设置圆角和边框
    • (2024.01.03) 增加UITablecarouselStylehoverPause
    • (2024.01.02) 增加UITablescrollStyleborderStyle
    • (2024.01.02) 增加UITablecolumnHeadStyleopaque
    • (2024.01.01) 调整UITableborder边框相关设置,用BorderStyle代替
    • (2023.12.22) 增加UITable的行边框

    v3.9.0

    • (2023.11.14) 增加UITableGetData()GetContent()接口
    • (2023.11.12) 增加UITableonTableClick点击表格回调
    • (2023.11.11) 重构UITableSeparatorStyle,可分开设置行列的分割线
    • (2023.11.05) 增加UITableColumnStyle,重构Column相关参数
    • (2023.11.05) 增加UITableRowStyle,重构Row相关参数
    • (2023.11.01) 增加UITableCarouselStyle轮播功能
    • (2023.11.01) 增加UITableAddColumn()UpdateColumn()接口
    • (2023.10.23) 修复UITable点击Rebuild Object异常的问题
    • (2023.10.23) 修复UITable尺寸变化时不刷新的问题
    • (2023.10.17) 修复UITable首次初始化异常的问题
    • (2023.10.17) 增加UITable的数据操作接口
    • (2023.10.17) 增加UITableRefreshTable()刷新接口

    v3.8.0

    • (2023.09.03) 发布v3.8.0版本
    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 增加UIStatistic
    • (2023.02.14) 增加UITable
    + + \ No newline at end of file diff --git a/en/docs/v3.10.2/about/index.html b/en/docs/v3.10.2/about/index.html index 65985e3a..3b685062 100644 --- a/en/docs/v3.10.2/about/index.html +++ b/en/docs/v3.10.2/about/index.html @@ -14,8 +14,8 @@ 关于XCharts | XCharts - - + +
    @@ -31,7 +31,7 @@ 答:XCharts只支持在Unity平台使用。理论上任何支持UGUIUnity版本都能运行XCharts

  • 锯齿怎么解决?支持多大量级的数据?
    答:XCharts是基于UGUI实现的,所以UGUI中碰到的问题,在XCharts中也会存在。比如锯齿问题,比如Mesh顶点数超65535的问题。这两个问题的解决可参考问答16问答27
    由于Mesh65535顶点数的限制,目前XCharts的单条Line支持约2万的数据量,当然开启采样可以支持更多数据的绘制,但同时也会更消耗CPU。

  • 日志

    Licenses

    • MIT License
    • 可免费商用,可二次开发。
    • 扩展图表和高级功能部分需购买使用授权。

    订阅

    • XCharts核心库是开源的,可免费使用的。在此基础上,我们也提供多种订阅服务以满足不同用户的需求,订阅详情☞ 请看这里
    • 订阅不是必须的,不影响XCharts的核心功能使用。
    • 订阅是按年付费,订阅到期后,不要求必须续订,但中断订阅期间无法享受技术更新和支持等服务。

    其他

    • 邮箱:monitor1394@gmail.com
    • QQ群:XCharts交流群(202030963
    • VIP群:XCharts VIP群(867291970
    • 捐助、合作、订阅和技术支持:☞ 请看这里
    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/api/index.html b/en/docs/v3.10.2/api/index.html index 5a29ce45..6ffca68d 100644 --- a/en/docs/v3.10.2/api/index.html +++ b/en/docs/v3.10.2/api/index.html @@ -14,13 +14,13 @@ API手册 | XCharts - - + +
    Version: v3.10.2

    API手册

    所有类

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    API版本描述
    GetValueAngle()public float GetValueAngle(double value)
    GetValueAngle()public float GetValueAngle(float value)
    SetDefaultValue()public override void SetDefaultValue()

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    AngleAxisTheme()public AngleAxisTheme(ThemeType theme) : base(theme) { }

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn,AnimationFadeOut,AnimationChange,AnimationAddition,AnimationHiding,AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    API版本描述
    End()public void End()
    结束动画。
    GetIndexDelay()public float GetIndexDelay(int dataIndex)
    获取动画延迟。
    Init()public bool Init(float curr, float dest, int totalPointIndex)
    初始化动画。
    IsFinish()public bool IsFinish()
    动画是否结束。
    IsInDelay()public bool IsInDelay()
    动画是否在延迟中。
    IsInIndexDelay()public bool IsInIndexDelay(int dataIndex)
    动画是否在索引延迟中。
    Pause()public void Pause()
    暂停动画。
    Reset()public void Reset()
    重置动画。
    Resume()public void Resume()
    恢复动画。
    Start()public void Start(bool reset = true)
    开始动画。

    AnimationInfoContext

    class in XCharts.Runtime

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    API版本描述
    GetOffset()public float GetOffset()
    GetOffset()public float GetOffset(float total)
    GetRadius()public float GetRadius(float radius)
    GetWidth()public float GetWidth(float width)

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    API版本描述
    Addition()public void Addition()
    开始数据新增动画。
    CanCheckInteract()public bool CanCheckInteract()
    CheckDetailBreak()public bool CheckDetailBreak(float detail)
    CheckDetailBreak()public bool CheckDetailBreak(Vector3 pos, bool isYAxis)
    CheckProgress()public void CheckProgress()
    CheckProgress()public void CheckProgress(double total)
    CheckSymbol()public void CheckSymbol(float dest)
    FadeIn()public void FadeIn()
    开始渐入动画。
    FadeOut()public void FadeOut()
    开始渐出动画。
    GetAdditionDuration()public float GetAdditionDuration()
    GetChangeDuration()public float GetChangeDuration()
    GetCurrDetail()public float GetCurrDetail()
    GetCurrIndex()public int GetCurrIndex()
    GetCurrRate()public float GetCurrRate()
    GetInteractionDuration()public float GetInteractionDuration()
    GetInteractionRadius()public float GetInteractionRadius(float radius)
    GetSysmbolSize()public float GetSysmbolSize(float dest)
    HasFadeOut()public bool HasFadeOut()
    InitProgress()public void InitProgress(float curr, float dest)
    初始化动画配置。
    InitProgress()public void InitProgress(List<Vector3> paths, bool isY)
    初始化动画配置。
    IsDataAnimation()public bool IsDataAnimation()
    是否为数据动画。BottomToTop和InsideOut类型的为数据动画。
    IsEnd()public bool IsEnd()
    IsFadeIn()public bool IsFadeIn()
    IsFadeOut()public bool IsFadeOut()
    IsFinish()public bool IsFinish()
    IsInDelay()public bool IsInDelay()
    IsSerieAnimation()public bool IsSerieAnimation()
    是否为系列动画。LeftToRight、AlongPath和Clockwise类型的为系列动画。
    Pause()public void Pause()
    暂停所有动画。
    Reset()public void Reset()
    Reset all animations.
    Restart()public void Restart()
    重启当前激活的动画。
    Resume()public void Resume()
    恢复所有动画。

    AnimationStyleHelper

    class in XCharts.Runtime

    API版本描述
    CheckDataAnimation()public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)
    GetAnimationPosition()public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip)
    UpdateAnimationType()public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType, bool enableSerieDataAnimation)
    UpdateSerieAnimation()public static void UpdateSerieAnimation(Serie serie)

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    区域填充样式。

    API版本描述
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 themeColor)

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Clone()public ArrowStyle Clone()
    Copy()public void Copy(ArrowStyle arrow)
    GetColor()public Color32 GetColor(Color32 defaultColor)

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis,ParallelAxis,RadiusAxis,SingleAxis,XAxis,YAxis

    直角坐标系的坐标轴组件。

    API版本描述
    AddData()public void AddData(string category)
    添加一个类目到类目数据列表
    AddIcon()public void AddIcon(Sprite icon)
    添加图标
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空类目数据
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public Axis Clone()
    Copy()public void Copy(Axis axis)
    GetAddedDataCount()public int GetAddedDataCount()
    获得添加过的历史数据总数
    GetData()public string GetData(int index)
    获得指定索引的类目数据
    GetData()public string GetData(int index, DataZoom dataZoom)
    获得在dataZoom范围内指定索引的类目数据
    GetDistance()public float GetDistance(double value, float axisLength)
    获得值在坐标轴上的距离
    GetIcon()public Sprite GetIcon(int index)
    GetLabelValue()public double GetLabelValue(int index)
    GetLastLabelValue()public double GetLastLabelValue()
    GetLogMaxIndex()public double GetLogMaxIndex()
    GetLogMinIndex()public double GetLogMinIndex()
    GetLogValue()public float GetLogValue(double value)
    GetValueLength()public float GetValueLength(double value, float axisLength)
    IsBottom()public bool IsBottom()
    IsCategory()public bool IsCategory()
    是否为类目轴。
    IsLeft()public bool IsLeft()
    IsLog()public bool IsLog()
    是否为对数轴。
    IsNeedShowLabel()public bool IsNeedShowLabel(int index, int total = 0)
    IsRight()public bool IsRight()
    IsTime()public bool IsTime()
    是否为时间轴。
    IsTop()public bool IsTop()
    IsValue()public bool IsValue()
    是否为数值轴。
    RemoveData()public void RemoveData(int dataIndex)
    SetComponentDirty()public override void SetComponentDirty()
    SetNeedUpdateFilterData()public void SetNeedUpdateFilterData()
    UpdateData()public void UpdateData(int index, string category)
    更新类目数据
    UpdateIcon()public void UpdateIcon(int index, Sprite icon)
    更新图标
    UpdateZeroOffset()public void UpdateZeroOffset(float axisLength)

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    API版本描述
    Clone()public AxisAnimation Clone()
    Copy()public void Copy(AxisAnimation animation)

    AxisContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    AxisHandler<T>

    class in XCharts / 继承自: MainComponentHandler

    AxisHelper

    class in XCharts.Runtime

    API版本描述
    AdjustCircleLabelPos()public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    AdjustMinMaxValue()public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
    调整最大最小值
    AdjustRadiusAxisLabelPos()public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    GetAxisLineArrowOffset()public static float GetAxisLineArrowOffset(Axis axis)
    包含箭头偏移的轴线长度
    GetAxisPosition()public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)
    GetAxisPositionValue()public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)
    GetAxisPositionValue()public static double GetAxisPositionValue(GridCoord grid, Axis axis, Vector3 pos)
    GetAxisValueDistance()public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上相对起点的距离
    GetAxisValueLength()public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上对应的长度
    GetAxisValuePosition()public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上的坐标位置
    GetAxisValueSplitIndex()public static int GetAxisValueSplitIndex(Axis axis, double value, bool checkMaxCache, int totalSplitNumber = -1)
    获得数值value在坐标轴上对应的split索引
    GetAxisXOrY()public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)
    GetDataWidth()public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
    获得一个类目数据在坐标系中代表的宽度
    GetEachWidth()public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    GetScaleNumber()public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    获得分割线条数
    GetScaleWidth()public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
    获得分割段宽度
    GetSplitNumber()public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
    获得分割段数
    GetTotalSplitGridNum()public static int GetTotalSplitGridNum(Axis axis)
    获得分割网格个数,包含次刻度
    GetXAxisXOrY()public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)
    GetYAxisXOrY()public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)
    NeedShowSplit()public static bool NeedShowSplit(Axis axis)

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    Clone()public new AxisLabel Clone()
    Copy()public void Copy(AxisLabel axisLabel)
    GetFormatterContent()public override string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
    GetFormatterContent()public override string GetFormatterContent(int labelIndex, string category)
    IsNeedShowLabel()public bool IsNeedShowLabel(int index, int total)
    SetRelatedText()public void SetRelatedText(ChartText txt, float labelWidth)

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    API版本描述
    Clone()public AxisLine Clone()
    Copy()public void Copy(AxisLine axisLine)

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisMinorSplitLine Clone()
    Copy()public void Copy(AxisMinorSplitLine splitLine)

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisMinorTick Clone()
    Copy()public void Copy(AxisMinorTick axisTick)

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    API版本描述
    Clone()public AxisName Clone()
    Copy()public void Copy(AxisName axisName)

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    API版本描述
    Clone()public AxisSplitArea Clone()
    Copy()public void Copy(AxisSplitArea splitArea)
    GetColor()public Color32 GetColor(int index, BaseAxisTheme theme)

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisSplitLine Clone()
    Copy()public void Copy(AxisSplitLine splitLine)

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    AxisTheme()public AxisTheme(ThemeType theme) : base(theme) { }

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    API版本描述
    Clone()public AxisTick Clone()
    Copy()public void Copy(AxisTick axisTick)

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    Bar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Bar ConvertSerie(Serie serie)

    BarChart

    class in XCharts.Runtime / 继承自: BaseChart

    柱状图(或称条形图)是一种通过柱形的高度(横向的情况下则是宽度)来表现数据大小的一种常用图表类型。

    API版本描述
    DefaultBarChart()public void DefaultBarChart()
    默认条形图。
    DefaultCapsuleBarChart()public void DefaultCapsuleBarChart()
    默认胶囊条形图。
    DefaultCapsuleColumnChart()public void DefaultCapsuleColumnChart()
    胶囊柱状图。
    DefaultGroupedBarChart()public void DefaultGroupedBarChart()
    默认分组条形图。
    DefaultGroupedColumnChart()public void DefaultGroupedColumnChart()
    默认分组柱状图。
    DefaultPercentBarChart()public void DefaultPercentBarChart()
    默认百分比条形图。
    DefaultPercentColumnChart()public void DefaultPercentColumnChart()
    默认百分比柱状图。
    DefaultStackedBarChart()public void DefaultStackedBarChart()
    默认堆叠条形图。
    DefaultStackedColumnChart()public void DefaultStackedColumnChart()
    默认堆叠分组柱状图。
    DefaultZebraBarChart()public void DefaultZebraBarChart()
    默认斑马条形图。
    DefaultZebraColumnChart()public void DefaultZebraColumnChart()
    斑马柱状图。

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme,RadiusAxisTheme,AngleAxisTheme,PolarAxisTheme,RadarAxisTheme

    API版本描述
    BaseAxisTheme()public BaseAxisTheme(ThemeType theme) : base(theme)
    Copy()public void Copy(BaseAxisTheme theme)

    BaseChart

    class in XCharts.Runtime / 继承自: BaseGraph,ISerializationCallbackReceiver / 子类: BarChart,CandlestickChart,HeatmapChart,LineChart,ParallelChart,PieChart,PolarChart,RadarChart,RingChart,ScatterChart,SimplifiedBarChart,SimplifiedCandlestickChart,SimplifiedLineChart

    API版本描述
    onAxisPointerValueChangedpublic Action<Axis, double> onAxisPointerValueChanged
    坐标轴变更数据索引时回调。参数:axis, dataIndex/dataValue
    onDrawpublic Action<VertexHelper> onDraw
    自定义绘制回调。在绘制Serie前调用。
    onDrawAfterSeriepublic Action<VertexHelper, Serie> onDrawAfterSerie
    自定义Serie绘制回调。在每个Serie绘制完后调用。
    onDrawBeforeSeriepublic Action<VertexHelper, Serie> onDrawBeforeSerie
    自定义Serie绘制回调。在每个Serie绘制完前调用。
    onDrawToppublic Action<VertexHelper> onDrawTop
    自定义Top层绘制回调。在绘制Tooltip前调用。
    onDrawUpperpublic Action<VertexHelper> onDrawUpper
    自定义Upper层绘制回调。在绘制Tooltip前调用。
    onInitpublic Action onInit
    图表的初始化完成回调。
    onLegendClickpublic Action<Legend, int, string, bool> onLegendClick
    点击图例按钮回调。参数:legendIndex, legendName, show
    onLegendEnterpublic Action<Legend, int, string> onLegendEnter
    鼠标进入图例回调。参数:legendIndex, legendName
    onLegendExitpublic Action<Legend, int, string> onLegendExit
    鼠标退出图例回调。参数:legendIndex, legendName
    onPointerClickBarpublic Action<PointerEventData, int> onPointerClickBar
    点击柱形图柱条回调。参数:eventData, dataIndex
    onPointerClickPiepublic Action<PointerEventData, int, int> onPointerClickPie
    点击饼图区域回调。参数:PointerEventData,SerieIndex,SerieDataIndex
    onPointerEnterPiepublic Action<int, int> onPointerEnterPie
    鼠标进入和离开饼图区域回调,SerieDataIndex为-1时表示离开。参数:PointerEventData,SerieIndex,SerieDataIndex
    onSerieClickv3.6.0public Action<SerieEventData> onSerieClick
    鼠标点击Serie回调。
    onSerieDownv3.6.0public Action<SerieEventData> onSerieDown
    鼠标按下Serie回调。
    onSerieEnterv3.6.0public Action<SerieEventData> onSerieEnter
    鼠标进入Serie回调。
    onSerieExitv3.6.0public Action<SerieEventData> onSerieExit
    鼠标离开Serie回调。
    onUpdatepublic Action onUpdate
    图表的Update回调。
    AddChartComponent()public MainComponent AddChartComponent(Type type)
    AddChartComponent<T>()public T AddChartComponent<T>() where T : MainComponent
    AddChartComponentWhenNoExist<T>()public T AddChartComponentWhenNoExist<T>() where T : MainComponent
    AddData()public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
    添加一个数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(string serieName, double data, string dataName = null, string dataId = null)
    If serieName doesn't exist in legend,will be add to legend.
    AddData()public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddLink()public SerieDataLink AddLink(int serieIndex, string sourceName, string targetName, double value)
    添加一个关系图的关系数据。
    AddSerie<T>()public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie
    AddXAxisData()public void AddXAxisData(string category, int xAxisIndex = 0)
    添加一个类目数据到指定的x轴。
    AddXAxisIcon()public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
    添加一个图标到指定的x轴。
    AddYAxisData()public void AddYAxisData(string category, int yAxisIndex = 0)
    添加一个类目数据到指定的y轴。
    AddYAxisIcon()public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
    添加一个图标到指定的y轴。
    AnimationEnable()public void AnimationEnable(bool flag)
    是否启用Serie动画。
    AnimationFadeIn()public void AnimationFadeIn(bool reset = true)
    开始所有Serie的渐入动画。
    AnimationFadeOut()public void AnimationFadeOut()
    开始所有Serie的渐出动画。
    AnimationPause()public void AnimationPause()
    暂停所有Serie的动画。
    AnimationReset()public void AnimationReset()
    重置所有Serie的动画。
    AnimationResume()public void AnimationResume()
    继续所有Serie的动画。
    CanAddChartComponent()public bool CanAddChartComponent(Type type)
    CanAddSerie()public bool CanAddSerie(Type type)
    CanAddSerie<T>()public bool CanAddSerie<T>() where T : Serie
    CancelTooltip()v3.7.0public void CancelTooltip()
    取消Tooltip.
    CanMultipleComponent()public bool CanMultipleComponent(Type type)
    ClampInChart()public void ClampInChart(ref Vector3 pos)
    ClampInGrid()public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)
    ClearComponentData()v3.4.0public virtual void ClearComponentData()
    清空所有组件的数据。
    ClearData()public virtual void ClearData()
    清空所有组件和Serie的数据。注意:Serie只是清空数据,不会移除Serie。
    ClearSerieData()v3.4.0public virtual void ClearSerieData()
    清空所有serie的数据。
    ClearSerieLinks()v3.10.0public virtual void ClearSerieLinks()
    清空所有serie的link数据。
    ClickLegendButton()public void ClickLegendButton(int legendIndex, string legendName, bool show)
    点击图例按钮
    ConvertSerie()public bool ConvertSerie(Serie serie, Type type)
    ConvertSerie<T>()public bool ConvertSerie<T>(Serie serie) where T : Serie
    ConvertXYAxis()public void ConvertXYAxis(int index)
    转换X轴和Y轴的配置
    EnsureChartComponent<T>()v3.6.0public T EnsureChartComponent<T>() where T : MainComponent
    确保图表有该组件,如果没有则添加。注意:有可能添加不成功。
    GenerateDefaultSerieName()public string GenerateDefaultSerieName()
    GetAllSerieDataCount()public int GetAllSerieDataCount()
    GetChartBackgroundColor()public Color32 GetChartBackgroundColor()
    GetChartComponent<T>()public T GetChartComponent<T>(int index = 0) where T : MainComponent
    GetChartComponentNum()public int GetChartComponentNum(Type type)
    GetChartComponentNum<T>()public int GetChartComponentNum<T>() where T : MainComponent
    GetChartComponents<T>()public List<MainComponent> GetChartComponents<T>() where T : MainComponent
    GetData()public double GetData(int serieIndex, int dataIndex, int dimension = 1)
    GetData()public double GetData(string serieName, int dataIndex, int dimension = 1)
    GetDataZoomOfAxis()public DataZoom GetDataZoomOfAxis(Axis axis)
    GetDataZoomOfSerie()public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)
    GetGrid()public GridCoord GetGrid(Vector2 local)
    GetGridOfDataZoom()public GridCoord GetGridOfDataZoom(DataZoom dataZoom)
    GetItemColor()public Color32 GetItemColor(Serie serie)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)
    GetLegendRealShowNameColor()public Color32 GetLegendRealShowNameColor(string name)
    GetLegendRealShowNameIndex()public int GetLegendRealShowNameIndex(string name)
    GetMarkColor()v3.4.0public Color32 GetMarkColor(Serie serie, SerieData serieData)
    获得Serie的标识颜色。
    GetOrAddChartComponent<T>()public T GetOrAddChartComponent<T>() where T : MainComponent
    GetPainter()public Painter GetPainter(int index)
    GetSerie()public Serie GetSerie(int serieIndex)
    GetSerie()public Serie GetSerie(string serieName)
    GetSerie<T>()public T GetSerie<T>() where T : Serie
    GetSerie<T>()public T GetSerie<T>(int serieIndex) where T : Serie
    GetSerieBarGap<T>()public float GetSerieBarGap<T>() where T : Serie
    GetSerieBarRealCount<T>()public int GetSerieBarRealCount<T>() where T : Serie
    GetSerieIndexIfStack<T>()public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie
    GetSerieSameStackTotalValue<T>()public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie
    GetSeriesMinMaxValue()public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    GetSerieTotalGap<T>()public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie
    GetSerieTotalWidth<T>()public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie
    GetTitlePosition()public Vector3 GetTitlePosition(Title title)
    GetVisualMapOfSerie()public VisualMap GetVisualMapOfSerie(Serie serie)
    GetXDataZoomOfSerie()public DataZoom GetXDataZoomOfSerie(Serie serie)
    GetXLerpColor()public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    GetYLerpColor()public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    HasChartComponent()public bool HasChartComponent(Type type)
    HasChartComponent<T>()public bool HasChartComponent<T>()
    HasSerie()public bool HasSerie(Type type)
    HasSerie<T>()public bool HasSerie<T>() where T : Serie
    Init()public void Init(bool defaultChart = true)
    InitAxisRuntimeData()public virtual void InitAxisRuntimeData(Axis axis) { }
    InsertSerie()public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)
    InsertSerie<T>()public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie
    Internal_CheckAnimation()public void Internal_CheckAnimation()
    IsActiveByLegend()public virtual bool IsActiveByLegend(string legendName)
    获得指定图例名字的系列是否显示。
    IsAllAxisCategory()public bool IsAllAxisCategory()
    纯类目轴。
    IsAllAxisValue()public bool IsAllAxisValue()
    纯数值坐标轴(数值轴或对数轴)。
    IsInAnyGrid()public bool IsInAnyGrid(Vector2 local)
    IsInChart()public bool IsInChart(float x, float y)
    IsInChart()public bool IsInChart(Vector2 local)
    坐标是否在图表范围内
    IsSerieName()public bool IsSerieName(string name)
    MoveDownSerie()public bool MoveDownSerie(int serieIndex)
    MoveUpSerie()public bool MoveUpSerie(int serieIndex)
    OnAfterDeserialize()public void OnAfterDeserialize()
    OnBeforeSerialize()public void OnBeforeSerialize()
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDataZoomRangeChanged()public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public override void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public override void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public override void OnPointerUp(PointerEventData eventData)
    OnScroll()public override void OnScroll(PointerEventData eventData)
    RefreshBasePainter()public void RefreshBasePainter()
    RefreshChart()public void RefreshChart()
    在下一帧刷新整个图表。
    RefreshChart()public void RefreshChart(int serieIndex)
    在下一帧刷新图表的指定serie。
    RefreshChart()public void RefreshChart(Serie serie)
    在下一帧刷新图表的指定serie。
    RefreshDataZoom()public void RefreshDataZoom()
    在下一帧刷新DataZoom
    RefreshGraph()public override void RefreshGraph()
    RefreshPainter()public void RefreshPainter(int index)
    RefreshPainter()public void RefreshPainter(Serie serie)
    RefreshTopPainter()public void RefreshTopPainter()
    RefreshUpperPainter()public void RefreshUpperPainter()
    RemoveAllChartComponent()public void RemoveAllChartComponent()
    RemoveAllSerie()v3.2.0public virtual void RemoveAllSerie()
    移除所有的Serie。当确认只需要移除Serie时使用该接口,其他情况下一般用RemoveData()。
    RemoveChartComponent()public bool RemoveChartComponent(MainComponent component)
    RemoveChartComponent()public bool RemoveChartComponent(Type type, int index = 0)
    RemoveChartComponent<T>()public bool RemoveChartComponent<T>(int index = 0)
    RemoveChartComponents()public int RemoveChartComponents(Type type)
    RemoveChartComponents<T>()public int RemoveChartComponents<T>()
    RemoveData()public virtual void RemoveData()
    清空所有组件数据,并移除所有Serie。一般在图表重新初始化时使用。 注意:组件只清空数据部分,参数会保留不会被重置。
    RemoveData()public virtual void RemoveData(string serieName)
    清除指定系列名称的数据。
    RemoveSerie()public void RemoveSerie(int serieIndex)
    RemoveSerie()public void RemoveSerie(Serie serie)
    RemoveSerie()public void RemoveSerie(string serieName)
    RemoveSerie<T>()public void RemoveSerie<T>() where T : Serie
    ReplaceSerie()public bool ReplaceSerie(Serie oldSerie, Serie newSerie)
    ResetChartStatus()v3.10.0public void ResetChartStatus()
    重置图表状态。当设置某些参数后,由于动画影响,可能导致图表状态不正确,此时可以调用该接口重置图表状态。
    ResetDataIndex()public bool ResetDataIndex(int serieIndex)
    重置serie的数据项索引。避免数据项索引异常。
    SetBasePainterMaterial()public void SetBasePainterMaterial(Material material)
    设置Base Painter的材质球
    SetMaxCache()public void SetMaxCache(int maxCache)
    设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。
    SetPainterActive()public void SetPainterActive(int index, bool flag)
    SetSerieActive()public void SetSerieActive(int serieIndex, bool active)
    设置指定系列是否显示。
    SetSerieActive()public void SetSerieActive(Serie serie, bool active)
    SetSerieActive()public void SetSerieActive(string serieName, bool active)
    设置指定系列是否显示。
    SetSeriePainterMaterial()public void SetSeriePainterMaterial(Material material)
    设置Serie Painter的材质球
    SetTopPainterMaterial()public void SetTopPainterMaterial(Material material)
    设置Top Painter的材质球
    SetUpperPainterMaterial()public void SetUpperPainterMaterial(Material material)
    设置Upper Painter的材质球
    TriggerTooltip()v3.7.0public bool TriggerTooltip(int dataIndex, int serieIndex = 0)
    尝试触发指定数据项的Tooltip.
    TriggerTooltip()v3.7.0public bool TriggerTooltip(Vector3 localPosition)
    在指定的位置尝试触发Tooltip.
    TryAddChartComponent()public bool TryAddChartComponent(Type type)
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>() where T : MainComponent
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>(out T component) where T : MainComponent
    TryGetChartComponent<T>()public bool TryGetChartComponent<T>(out T component, int index = 0)
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateDataName()public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateDataName()public bool UpdateDataName(string serieName, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateLegendColor()public virtual void UpdateLegendColor(string legendName, bool active)
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。
    UpdateTheme()public void UpdateTheme(Theme theme)
    切换图表主题。
    UpdateXAxisData()public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
    更新X轴类目数据。
    UpdateXAxisIcon()public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
    更新X轴图标。
    UpdateYAxisData()public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
    更新Y轴类目数据。
    UpdateYAxisIcon()public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
    更新Y轴图标。

    BaseGraph

    class in XCharts.Runtime / 继承自: MaskableGraphic,IPointerDownHandler,IPointerUpHandler, / 子类: BaseChart,UIComponent

    API版本描述
    onBeginDragpublic Action<PointerEventData, BaseGraph> onBeginDrag
    鼠标开始拖拽回调。
    onDragpublic Action<PointerEventData, BaseGraph> onDrag
    鼠标拖拽回调。
    onEndDragpublic Action<PointerEventData, BaseGraph> onEndDrag
    鼠标结束拖拽回调。
    onPointerClickpublic Action<PointerEventData, BaseGraph> onPointerClick
    鼠标点击回调。
    onPointerDownpublic Action<PointerEventData, BaseGraph> onPointerDown
    鼠标按下回调。
    onPointerEnterpublic Action<PointerEventData, BaseGraph> onPointerEnter
    鼠标进入回调。
    onPointerExitpublic Action<PointerEventData, BaseGraph> onPointerExit
    鼠标退出回调。
    onPointerUppublic Action<PointerEventData, BaseGraph> onPointerUp
    鼠标弹起回调。
    onScrollpublic Action<PointerEventData, BaseGraph> onScroll
    鼠标滚动回调。
    CheckWarning()public string CheckWarning()
    检测警告信息。
    LocalPointToScreenPoint()v3.7.0public Vector2 LocalPointToScreenPoint(Vector2 localPoint)
    图表内坐标转屏幕坐标。
    LocalPointToWorldPoint()v3.7.0public Vector2 LocalPointToWorldPoint(Vector2 localPoint)
    图表内坐标转世界坐标。
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData)
    OnDrag()public virtual void OnDrag(PointerEventData eventData)
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData)
    OnScroll()public virtual void OnScroll(PointerEventData eventData)
    RebuildChartObject()public void RebuildChartObject()
    移除并重新创建所有图表的Object。
    RefreshAllComponent()public void RefreshAllComponent()
    RefreshGraph()public virtual void RefreshGraph()
    在下一帧刷新图形。
    SaveAsImage()public void SaveAsImage(string imageType = "png", string savePath = "")
    保存图表为图片。
    ScreenPointToChartPoint()public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)
    SetPainterDirty()public void SetPainterDirty()
    重新初始化Painter
    SetSize()public virtual void SetSize(float width, float height)
    设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform)

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine,AxisMinorSplitLine,AxisMinorTick,AxisSplitLine,AxisTick

    线条基础配置。

    API版本描述
    BaseLine()public BaseLine()
    BaseLine()public BaseLine(bool show) : base()
    Copy()public void Copy(BaseLine axisLine)
    GetColor()public Color32 GetColor(Color32 themeColor)
    GetLength()public float GetLength(float themeLength)
    GetType()public LineStyle.Type GetType(LineStyle.Type themeType)
    GetWidth()public float GetWidth(float themeWidth)

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer / 子类: EffectScatter,Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    API版本描述
    ClearComponentDirty()public static void ClearComponentDirty(ChildComponent component)
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearData()public virtual void ClearData() { }
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public static void ClearVerticesDirty(ChildComponent component)
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    IsComponentDirty()public static bool IsComponentDirty(ChildComponent component)
    IsVertsDirty()public static bool IsVertsDirty(ChildComponent component)
    OnAfterDeserialize()public virtual void OnAfterDeserialize()
    OnBeforeSerialize()public virtual void OnBeforeSerialize() { }
    OnDataUpdate()public virtual void OnDataUpdate() { }
    OnRemove()public virtual void OnRemove()
    RefreshLabel()public void RefreshLabel()
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetVerticesDirty()public virtual void SetVerticesDirty()

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    BorderStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    边框样式。

    API版本描述
    GetRuntimeBorderColor()public Color32 GetRuntimeBorderColor()
    GetRuntimeBorderWidth()public float GetRuntimeBorderWidth()
    GetRuntimeCornerRadius()public float[] GetRuntimeCornerRadius()

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    API版本描述
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    Candlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    CandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    蜡烛图,也叫K线图,用于描述证券、衍生品或货币的价格走势的一种金融图表样式。

    ChartCached

    class in XCharts.Runtime

    API版本描述
    ColorToDotStr()public static string ColorToDotStr(Color color)
    ColorToStr()public static string ColorToStr(Color color)
    FloatToStr()public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)
    GetSerieLabelName()public static string GetSerieLabelName(string prefix, int i, int j)
    GetString()public static string GetString(string prefix, int suffix)
    IntToStr()public static string IntToStr(int value, string numericFormatter = "")
    NumberToStr()public static string NumberToStr(double value, string formatter)

    ChartConst

    class in XCharts.Runtime

    ChartDrawer

    class in XCharts.Runtime

    ChartHelper

    class in XCharts.Runtime

    API版本描述
    ActiveAllObject()public static void ActiveAllObject(Transform parent, bool active, string match = null)
    AddIcon()public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)
    Cancat()public static string Cancat(string str1, int i)
    Cancat()public static string Cancat(string str1, string str2)
    ClearEventListener()public static void ClearEventListener(GameObject obj)
    CopyArray<T>()public static bool CopyArray<T>(T[] toList, T[] fromList)
    CopyList<T>()public static bool CopyList<T>(List<T> toList, List<T> fromList)
    DestoryGameObject()public static void DestoryGameObject(GameObject go)
    DestoryGameObject()public static void DestoryGameObject(Transform parent, string childName)
    DestoryGameObjectByMatch()public static void DestoryGameObjectByMatch(Transform parent, string containString)
    DestroyAllChildren()public static void DestroyAllChildren(Transform parent)
    EnsureComponent<T>()public static T EnsureComponent<T>(GameObject gameObject) where T : Component
    确保对象有指定的组件,如果没有则添加。
    EnsureComponent<T>()public static T EnsureComponent<T>(Transform transform) where T : Component
    确保对象有指定的组件,如果没有则添加。
    GetActualValue()public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBlurColor()public static Color32 GetBlurColor(Color32 color, float a = 0.3f)
    GetColor()public static Color32 GetColor(string hexColorStr)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetFullName()public static string GetFullName(Transform transform)
    GetHighlightColor()public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)
    GetLastValue()public static Vector3 GetLastValue(List<Vector3> list)
    GetMaxCeilRate()public static double GetMaxCeilRate(double value, double ceilRate)
    GetMaxDivisibleValue()public static double GetMaxDivisibleValue(double max, double ceilRate)
    GetMaxLogValue()public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetMinCeilRate()public static double GetMinCeilRate(double value, double ceilRate)
    GetMinDivisibleValue()public static double GetMinDivisibleValue(double min, double ceilRate)
    GetMinLogValue()public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(Transform transform) where T : Component
    GetPointList()public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetPosition()public static Vector3 GetPosition(Vector3 center, float angle, float radius)
    GetSelectColor()public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    HideAllObject()public static void HideAllObject(GameObject obj, string match = null)
    HideAllObject()public static void HideAllObject(Transform parent, string match = null)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsColorAlphaZero()public static bool IsColorAlphaZero(Color color)
    IsEquals()public static bool IsEquals(double d1, double d2)
    IsEquals()public static bool IsEquals(float d1, float d2)
    IsIngore()public static bool IsIngore(Vector3 pos)
    IsInRect()public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)
    IsPointInQuadrilateral()public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    ParseFloatFromString()public static List<float> ParseFloatFromString(string jsonData)
    ParseStringFromString()public static List<string> ParseStringFromString(string jsonData)
    RemoveComponent<T>()public static void RemoveComponent<T>(GameObject gameObject)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
    SaveAsImage()public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")
    SetActive()public static void SetActive(GameObject gameObject, bool active)
    SetActive()public static void SetActive(Image image, bool active)
    SetActive()public static void SetActive(Text text, bool active)
    SetActive()public static void SetActive(Transform transform, bool active)
    通过设置scale实现是否显示,优化性能,减少GC
    SetBackground()public static void SetBackground(Image background, Background imageStyle)
    SetBackground()public static void SetBackground(Image background, ImageStyle imageStyle)
    SetColorOpacity()public static void SetColorOpacity(ref Color32 color, float opacity)

    ChartLabel

    class in XCharts.Runtime / 继承自: Image

    API版本描述
    GetHeight()public float GetHeight()
    GetPosition()public Vector3 GetPosition()
    GetTextHeight()public float GetTextHeight()
    GetTextWidth()public float GetTextWidth()
    GetWidth()public float GetWidth()
    IsActiveByScale()public bool IsActiveByScale()
    SetActive()public void SetActive(bool flag)
    SetIcon()public void SetIcon(Image image)
    SetIconActive()public void SetIconActive(bool flag)
    SetIconSize()public void SetIconSize(float width, float height)
    SetIconSprite()public void SetIconSprite(Sprite sprite)
    SetPadding()public void SetPadding(float[] padding)
    SetPosition()public void SetPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetRotate()public void SetRotate(float rotate)
    SetSize()public void SetSize(float width, float height)
    SetText()public bool SetText(string text)
    SetTextActive()public void SetTextActive(bool flag)
    SetTextColor()public void SetTextColor(Color color)
    SetTextPadding()public void SetTextPadding(TextPadding padding)
    SetTextRotate()public void SetTextRotate(float rotate)
    UpdateIcon()public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null, Color color = default(Color))

    ChartObject

    class in XCharts.Runtime

    API版本描述
    Destroy()public virtual void Destroy()

    ChartText

    class in XCharts.Runtime

    API版本描述
    ChartText()public ChartText()
    ChartText()public ChartText(GameObject textParent)
    GetColor()public Color GetColor()
    GetPreferredHeight()public float GetPreferredHeight()
    GetPreferredText()public string GetPreferredText(string content, string suffix, float maxWidth)
    GetPreferredWidth()public float GetPreferredWidth()
    GetPreferredWidth()public float GetPreferredWidth(string content)
    GetText()public string GetText()
    SetActive()public void SetActive(bool flag)
    SetAlignment()public void SetAlignment(TextAnchor alignment)
    SetColor()public void SetColor(Color color)
    SetFont()public void SetFont(Font font)
    SetFont()public void SetFont(TMP_FontAsset font)
    SetFontAndSizeAndStyle()public void SetFontAndSizeAndStyle(TextStyle textStyle, ComponentTheme theme)
    SetFontSize()public void SetFontSize(float fontSize)
    SetFontStyle()public void SetFontStyle(FontStyle fontStyle)
    SetLineSpacing()public void SetLineSpacing(float lineSpacing)
    SetLocalEulerAngles()public void SetLocalEulerAngles(Vector3 position)
    SetLocalPosition()public void SetLocalPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetSizeDelta()public void SetSizeDelta(Vector2 sizeDelta)
    SetText()public void SetText(string text)

    CheckHelper

    class in XCharts.Runtime

    API版本描述
    CheckChart()public static string CheckChart(BaseChart chart)
    CheckChart()public static string CheckChart(BaseGraph chart)

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle,AxisAnimation,AxisName,AxisSplitArea,AreaStyle,ArrowStyle,BaseLine,BorderStyle,IconStyle,ImageStyle,ItemStyle,Level,LevelStyle,LineArrow,LineStyle,Location,MLValue,MarqueeStyle,Padding,StageColor,SymbolStyle,TextLimit,TextStyle,CommentItem,CommentMarkStyle,LabelLine,LabelStyle,MarkAreaData,MarkLineData,StateStyle,VisualMapRange,UIComponentTheme,SerieData,SerieDataLink,ComponentTheme,SerieTheme,ThemeStyle

    API版本描述
    ClearComponentDirty()public static void ClearComponentDirty(ChildComponent component)
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public static void ClearVerticesDirty(ChildComponent component)
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    IsComponentDirty()public static bool IsComponentDirty(ChildComponent component)
    IsVertsDirty()public static bool IsVertsDirty(ChildComponent component)
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetVerticesDirty()public virtual void SetVerticesDirty()

    ColorUtil

    class in XCharts.Runtime

    API版本描述
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。

    Comment

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图表注解组件。

    API版本描述
    GetLabelStyle()public LabelStyle GetLabelStyle(int index)
    GetMarkStyle()public CommentMarkStyle GetMarkStyle(int index)
    OnChanged()public void OnChanged()
    参数变更时的回调处理。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    ComponentHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler, bool allowMultiple, int order = 3)
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler, int order = 3)

    ComponentHelper

    class in XCharts.Runtime

    API版本描述
    GetAngleAxis()public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)
    GetRadiusAxis()public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)
    GetXAxisOnZeroOffset()public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)
    GetYAxisOnZeroOffset()public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)
    IsAnyCategoryOfYAxis()public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme,DataZoomTheme,LegendTheme,SubTitleTheme,TitleTheme,TooltipTheme,VisualMapTheme

    API版本描述
    ComponentTheme()public ComponentTheme(ThemeType theme)
    Copy()public virtual void Copy(ComponentTheme theme)
    Reset()public virtual void Reset(ComponentTheme defaultTheme)

    CoordOptionsAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Contains<T>()public bool Contains<T>() where T : CoordSystem
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord,CalendarCoord,GridCoord,ParallelCoord,PolarCoord,SingleAxisCoord

    坐标系系统。

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    API版本描述
    GetBackgroundColor()public Color32 GetBackgroundColor(Color32 themeColor)
    GetBorderColor()public Color32 GetBorderColor(Color32 themeColor)
    GetFillerColor()public Color32 GetFillerColor(Color32 themeColor)
    IsContainsAxis()public bool IsContainsAxis(Axis axis)
    IsContainsXAxis()public bool IsContainsXAxis(int index)
    IsContainsYAxis()public bool IsContainsYAxis(int index)
    IsInEndZoom()public bool IsInEndZoom(Vector2 pos)
    给定的坐标是否在结束活动条触发区域内
    IsInMarqueeArea()public bool IsInMarqueeArea(SerieData serieData)
    IsInMarqueeArea()public bool IsInMarqueeArea(Vector2 pos)
    IsInSelectedZoom()public bool IsInSelectedZoom(int totalIndex, int index, bool invert)
    IsInSelectedZoom()public bool IsInSelectedZoom(Vector2 pos)
    给定的坐标是否在选中区域内
    IsInStartZoom()public bool IsInStartZoom(Vector2 pos)
    给定的坐标是否在开始活动条触发区域内
    IsInZoom()public bool IsInZoom(Vector2 pos)
    给定的坐标是否在缩放区域内
    SetDefaultValue()public override void SetDefaultValue()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    DataZoomContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    DataZoomHelper

    class in XCharts.Runtime

    API版本描述
    UpdateDataZoomRuntimeStartEndValue()public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)
    UpdateDataZoomRuntimeStartEndValue<T>()public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(DataZoomTheme theme)
    DataZoomTheme()public DataZoomTheme(ThemeType theme) : base(theme)

    DateTimeUtil

    class in XCharts.Runtime

    API版本描述
    GetDateTime()public static DateTime GetDateTime(int timestamp)
    GetTimestamp()public static int GetTimestamp()
    GetTimestamp()public static int GetTimestamp(DateTime time)

    DebugInfo

    class in XCharts.Runtime

    API版本描述
    Init()public void Init(BaseChart chart)
    Update()public void Update()

    DefaultAnimationAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler)
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler, bool enableSerieDataAddedAnimation)

    DefaultTooltipAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    DefaultTooltipAttribute()public DefaultTooltipAttribute(Tooltip.Type type, Tooltip.Trigger trigger)

    DefineSymbolsUtil

    class in XCharts.Runtime

    API版本描述
    AddGlobalDefine()public static void AddGlobalDefine(string symbol)
    RemoveGlobalDefine()public static void RemoveGlobalDefine(string symbol)

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    API版本描述
    EndLabelStyle()public EndLabelStyle()

    FormatterHelper

    class in XCharts.Runtime

    API版本描述
    NeedFormat()public static bool NeedFormat(string content)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string numericFormatter, double value)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string value)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(string content)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(StringBuilder sb)

    Graph

    class in XCharts.Runtime

    数据结构-图。

    API版本描述
    AddEdge()public GraphEdge AddEdge(string nodeId1, string nodeId2, double value)
    AddNode()public GraphNode AddNode(string nodeId, string nodeName, int dataIndex)
    BreadthFirstTraverse()public void BreadthFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
    Clear()public void Clear()
    DeepFirstTraverse()public void DeepFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
    EachNode()public void EachNode(System.Action<GraphNode> onEach)
    GetDepthNodes()public List<List<GraphNode>> GetDepthNodes()
    GetEdge()public GraphEdge GetEdge(string nodeId1, string nodeId2)
    GetMaxDepth()public int GetMaxDepth()
    GetNode()public GraphNode GetNode(string nodeId)
    GetNodeDepth()// public int GetNodeDepth(GraphNode node)
    GetNodeDepth()// public void GetNodeDepth(GraphNode node, ref int depth, int recursiveCount = 0)
    GetNodeDepth()public int GetNodeDepth(GraphNode node, int recursiveCount = 0)
    GetNodesTotalValue()public static double GetNodesTotalValue(List<GraphNode> nodes)
    GetRootNodes()public List<GraphNode> GetRootNodes()
    Graph()public Graph(bool directed)
    Refresh()public void Refresh()

    GraphEdge

    class in XCharts.Runtime

    图的边。

    API版本描述
    GraphEdge()public GraphEdge(GraphNode node1, GraphNode node2, double value)

    GraphNode

    class in XCharts.Runtime

    图的节点。

    API版本描述
    GraphNode()public GraphNode(string id, string name, int dataIndex)
    ToString()public override string ToString()

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    BoundaryPoint()public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref List<Vector3> point)
    给定的线段和Grid边界的交点
    BoundaryPoint()public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref Vector3 point)
    给定的线段和Grid边界的交点
    Clamp()v3.7.0public void Clamp(ref Vector3 pos)
    将位置限制在网格内。
    ClampX()v3.7.0public void ClampX(ref Vector3 pos)
    将位置的X限制在网格内。
    ClampY()v3.7.0public void ClampY(ref Vector3 pos)
    将位置的Y限制在网格内。
    Contains()public bool Contains(float x, float y)
    给定的位置是否在网格内。
    Contains()public bool Contains(Vector3 pos)
    给定的位置是否在网格内。
    Contains()v3.7.0public bool Contains(Vector3 pos, bool isYAxis)
    给定的位置是否在网格内。
    ContainsX()v3.7.0public bool ContainsX(float x)
    给定的x是否在网格内。
    ContainsY()v3.7.0public bool ContainsY(float y)
    给定的y是否在网格内。
    IsPointerEnter()public bool IsPointerEnter()
    指针是否在网格内。
    NotAnyIntersect()v3.10.0public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
    判断给定的线段是否与Grid边界是否完全不会相交。
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    API版本描述
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridLayoutContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Heatmap

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    HeatmapChart

    class in XCharts.Runtime / 继承自: BaseChart

    热力图主要通过颜色去表现数值的大小,必须要配合 visualMap 组件使用。 可以应用在直角坐标系以及地理坐标系上,这两个坐标系上的表现形式相差很大,直角坐标系上必须要使用两个类目轴。

    API版本描述
    DefaultCountHeatmapChart()public void DefaultCountHeatmapChart()
    默认计数热力图。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Clone()public IconStyle Clone()
    Copy()public void Copy(IconStyle iconStyle)
    Reset()public void Reset()

    IgnoreDoc

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    IgnoreDoc()public IgnoreDoc()

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    API版本描述
    Clone()public ImageStyle Clone()
    Copy()public void Copy(ImageStyle imageStyle)
    Reset()public void Reset()

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    API版本描述
    AddIndicator()public RadarCoord.Indicator AddIndicator(string name, double min, double max)
    AddIndicator()public void AddIndicator(RadarCoord.Indicator indicator)
    AddIndicatorList()v3.3.0public void AddIndicatorList(List<string> nameList, double min = 0, double max = 0)
    ClearData()public override void ClearData()
    GetFormatterIndicatorContent()public string GetFormatterIndicatorContent(int indicatorIndex)
    GetFormatterIndicatorContent()public string GetFormatterIndicatorContent(string indicatorName)
    GetIndicator()public RadarCoord.Indicator GetIndicator(int indicatorIndex)
    GetIndicatorMax()public double GetIndicatorMax(int index)
    GetIndicatorMin()public double GetIndicatorMin(int index)
    GetIndicatorName()public string GetIndicatorName(int indicatorIndex)
    GetIndicatorPosition()public Vector3 GetIndicatorPosition(int index)
    IsInIndicatorRange()public bool IsInIndicatorRange(int index, double value)
    IsInRange()public bool IsInRange(double value)
    IsPointerEnter()public bool IsPointerEnter()
    SetDefaultValue()public override void SetDefaultValue()
    UpdateIndicator()public bool UpdateIndicator(int indicatorIndex, string name, double min, double max)

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Radar,BaseScatter

    InputHelper

    class in XCharts.Runtime

    API版本描述
    GetKeyDown()public static bool GetKeyDown(KeyCode keyCode)
    GetTouch()public static Touch GetTouch(int v)

    InteractData

    class in XCharts.Runtime

    API版本描述
    Reset()public void Reset()
    SetColor()public void SetColor(ref bool needInteract, Color32 color)
    SetColor()public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)
    SetPosition()public void SetPosition(ref bool needInteract, Vector3 pos)
    SetValue()public void SetValue(ref bool needInteract, float value, bool highlight, float rate = 1.3f)
    SetValue()public void SetValue(ref bool needInteract, float value, bool previousValueZero = false)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)
    ToString()public override string ToString()
    TryGetColor()public bool TryGetColor(ref Color32 color, ref bool interacting, float animationDuration = 250)
    TryGetColor()public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetPosition()public bool TryGetPosition(ref Vector3 pos, ref bool interacting, float animationDuration = 250)
    TryGetValue()public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location,Comment,Legend,Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,LineArrow,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord,CalendarCoord,GridCoord,ParallelCoord,PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,ItemStyle,LineStyle,SerieSymbol,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar,SimplifiedCandlestick,SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    图形样式。

    API版本描述
    GetBorderColor()public Color32 GetBorderColor(Color32 defaultColor)
    GetBorderColor0()public Color32 GetBorderColor0(Color32 defaultColor)
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 defaultColor)
    GetColor0()public Color32 GetColor0()
    GetColor0()public Color32 GetColor0(Color32 defaultColor)
    GetGradientColor()public Color32 GetGradientColor(float value, Color32 defaultColor)
    GetToColor()public Color32 GetToColor()
    IsNeedCorner()public bool IsNeedCorner()
    IsNeedGradient()public bool IsNeedGradient()
    Reset()public void Reset()

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis,DataZoom,CalendarCoord,GridCoord,GridLayout,ParallelCoord

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    标签的引导线

    API版本描述
    GetEndSymbolOffset()public Vector3 GetEndSymbolOffset()
    GetStartSymbolOffset()public Vector3 GetStartSymbolOffset()
    Reset()public void Reset()

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent / 子类: AxisLabel,EndLabelStyle,TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    API版本描述
    Clone()public virtual LabelStyle Clone()
    Copy()public virtual void Copy(LabelStyle label)
    GetColor()public Color GetColor(Color defaultColor)
    GetFormatterContent()public virtual string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
    GetFormatterContent()public virtual string GetFormatterContent(int labelIndex, string category)
    GetFormatterDateTime()public string GetFormatterDateTime(int labelIndex, double value, double minValue, double maxValue)
    GetOffset()public Vector3 GetOffset(float radius)
    IsAutoSize()public bool IsAutoSize()
    IsDefaultPosition()public bool IsDefaultPosition(Position position)
    IsInside()public bool IsInside()
    是否在内部。
    Reset()public void Reset()

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    API版本描述
    GetCandlestickDimensionName()public string GetCandlestickDimensionName(int i)
    GetDay()public string GetDay(int day)
    GetMonthAbbr()public string GetMonthAbbr(int month)

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    API版本描述
    List<string>()public List<string> dayOfMonth = new List<string>()
    List<string>()public List<string> dayOfWeek = new List<string>()
    List<string>()public List<string> dayOfWeekAbbr = new List<string>()
    List<string>()public List<string> monthAbbr = new List<string>()
    List<string>()public List<string> months = new List<string>()

    LayerHelper

    class in XCharts.Runtime

    API版本描述
    IsFixedWidthHeight()public static bool IsFixedWidthHeight(RectTransform rt)
    IsStretchPivot()public static bool IsStretchPivot(RectTransform rt)

    Legend

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    API版本描述
    AddData()public void AddData(string name)
    添加图例。
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空。
    ContainsData()public bool ContainsData(string name)
    是否包括由指定名字的图例
    GetColor()public Color GetColor(int index)
    GetData()public string GetData(int index)
    获得指定索引的图例。
    GetIcon()public Sprite GetIcon(int index)
    获得指定索引的图例按钮。
    GetIndex()public int GetIndex(string legendName)
    获得指定图例的索引。
    GetPosition()public Vector3 GetPosition(int index, Vector3 defaultPos)
    OnChanged()public void OnChanged()
    参数变更时的回调处理。
    RemoveButton()public void RemoveButton()
    移除所有图例按钮。
    RemoveData()public void RemoveData(string name)
    移除指定名字的图例。
    SetButton()public void SetButton(string name, LegendItem item, int total)
    给图例绑定按钮。
    UpdateButtonColor()public void UpdateButtonColor(string name, Color color)
    更新图例按钮颜色。
    UpdateContentColor()public void UpdateContentColor(string name, Color color)
    更新图例文字颜色。

    LegendContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    LegendHelper

    class in XCharts.Runtime

    API版本描述
    CheckDataHighlighted()public static int CheckDataHighlighted(Serie serie, string legendName, bool heighlight)
    CheckDataShow()public static bool CheckDataShow(Serie serie, string legendName, bool show)
    GetContentColor()public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)
    GetIconColor()public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)
    ResetItemPosition()public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)
    SetLegendBackground()public static void SetLegendBackground(Legend legend, ImageStyle style)

    LegendItem

    class in XCharts.Runtime

    API版本描述
    GetIconColor()public Color GetIconColor()
    GetIconRect()public Rect GetIconRect()
    SetActive()public void SetActive(bool active)
    SetBackground()public void SetBackground(ImageStyle imageStyle)
    SetButton()public void SetButton(Button button)
    SetContent()public bool SetContent(string content)
    SetContentBackgroundColor()public void SetContentBackgroundColor(Color color)
    SetContentColor()public void SetContentColor(Color color)
    SetContentPosition()public void SetContentPosition(Vector3 offset)
    SetIcon()public void SetIcon(Image icon)
    SetIconActive()public void SetIconActive(bool active)
    SetIconColor()public void SetIconColor(Color color)
    SetIconImage()public void SetIconImage(Sprite image)
    SetIconSize()public void SetIconSize(float width, float height)
    SetObject()public void SetObject(GameObject obj)
    SetPosition()public void SetPosition(Vector3 position)
    SetText()public void SetText(ChartText text)
    SetTextBackground()public void SetTextBackground(Image image)

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(LegendTheme theme)
    LegendTheme()public LegendTheme(ThemeType theme) : base(theme)

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    Line

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Line ConvertSerie(Serie serie)

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent

    LineChart

    class in XCharts.Runtime / 继承自: BaseChart

    折线图是用折线将各个数据点标志连接起来的图表,用于展现数据的变化趋势。可用于直角坐标系和极坐标系上。 设置 areaStyle 后可以绘制面积图。

    API版本描述
    DefaultAreaLineChart()public void DefaultAreaLineChart()
    默认面积折线图。
    DefaultDashLineChart()public void DefaultDashLineChart()
    默认虚线折线图。
    DefaultLogLineChart()public void DefaultLogLineChart()
    默认对数轴折线图。
    DefaultSmoothAreaLineChart()public void DefaultSmoothAreaLineChart()
    默认平滑面积折线图。
    DefaultSmoothLineChart()public void DefaultSmoothLineChart()
    默认平滑折线图。
    DefaultStackAreaLineChart()public void DefaultStackAreaLineChart()
    默认堆叠面积折线图。
    DefaultStackLineChart()public void DefaultStackLineChart()
    默认堆叠折线图。
    DefaultStepLineChart()public void DefaultStepLineChart()
    默认阶梯折线图。
    DefaultTimeLineChart()public void DefaultTimeLineChart()
    默认时间折线图。

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    API版本描述
    Clone()public LineStyle Clone()
    Copy()public void Copy(LineStyle lineStyle)
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 themeColor)
    GetGradientColor()public Color32 GetGradientColor(float value, Color32 defaultColor)
    GetLength()public float GetLength(float themeLength)
    GetType()public Type GetType(Type themeType)
    GetWidth()public float GetWidth(float themeWidth)
    IsNeedGradient()public bool IsNeedGradient()
    IsNotSolidLine()public bool IsNotSolidLine()
    LineStyle()public LineStyle()
    LineStyle()public LineStyle(float width)
    LineStyle()public LineStyle(LineStyle.Type type)
    LineStyle()public LineStyle(LineStyle.Type type, float width)

    ListFor

    class in XCharts.Runtime / 继承自: Attribute / 子类: ListForComponent,ListForSerie

    API版本描述
    ListFor()public ListFor(Type type)

    ListForComponent

    class in XCharts.Runtime / 继承自: ListFor

    API版本描述
    ListForComponent()public ListForComponent(Type type) : base(type)

    ListForSerie

    class in XCharts.Runtime / 继承自: ListFor

    API版本描述
    ListForSerie()public ListForSerie(Type type) : base(type)

    ListPool<T>

    class in XCharts.Runtime

    API版本描述
    ClearAll()public static void ClearAll()
    Get()public static List<T> Get()
    Release()public static void Release(List<T> toRelease)

    Location

    class in XCharts.Runtime / 继承自: ChildComponent,IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    API版本描述
    GetPosition()public Vector3 GetPosition(float chartWidth, float chartHeight)
    返回在坐标系中的具体位置
    IsBottom()public bool IsBottom()
    IsCenter()public bool IsCenter()
    IsTop()public bool IsTop()
    OnChanged()public void OnChanged()
    属性变更时更新textAnchor,minAnchor,maxAnchor,pivot
    UpdateRuntimeData()public void UpdateRuntimeData(float chartWidth, float chartHeight)

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis,Background,Comment,DataZoom,Legend,MarkArea,MarkLine,Settings,Title,Tooltip,VisualMap,GridLayout,CoordSystem

    API版本描述
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearData()public virtual void ClearData() { }
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    CompareTo()public int CompareTo(object obj)
    OnRemove()public virtual void OnRemove()
    Reset()public virtual void Reset() { }
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetDefaultValue()public virtual void SetDefaultValue() { }
    SetVerticesDirty()public virtual void SetVerticesDirty()

    MainComponentContext

    class in XCharts.Runtime / 子类: AxisContext,DataZoomContext,LegendContext,RadarCoordContext,VisualMapContext,GridCoordContext,GridLayoutContext,ParallelCoordContext,PolarCoordContext

    MainComponentHandler

    class in XCharts.Runtime / 子类: AxisHandler<T>,MainComponentHandler<T>

    API版本描述
    BeforceSerieUpdate()public virtual void BeforceSerieUpdate() { }
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    OnSerieDataUpdate()public virtual void OnSerieDataUpdate(int serieIndex) { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }

    MainComponentHandler<T>

    class in XCharts.Runtime / 继承自: MainComponentHandler

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    API版本描述
    onEndpublic Action<DataZoom> onEnd
    自定义选取框结束选取时的回调。
    onGoingpublic Action<DataZoom> onGoing
    自定义选取框选取进行时的回调。
    onStartpublic Action<DataZoom> onStart
    自定义选取框开始选取时的回调。

    MathUtil

    class in XCharts.Runtime

    API版本描述
    Abs()public static double Abs(double d)
    Approximately()public static bool Approximately(double a, double b)
    Clamp()public static double Clamp(double d, double min, double max)
    Clamp01()public static double Clamp01(double value)
    GetPrecision()public static int GetPrecision(double value)
    IsInteger()public static bool IsInteger(double value)
    Lerp()public static double Lerp(double a, double b, double t)

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    API版本描述
    GetValue()public float GetValue(float total)
    根据类型获取值。
    MLValue()public MLValue(float value)
    MLValue()public MLValue(Type type, float value)

    MonoBehaviour

    class in / 子类: XLog

    ObjectPool<T> where T

    class in XCharts.Runtime / 继承自: new()

    API版本描述
    ClearAll()public void ClearAll()
    Get()public T Get()
    new()public class ObjectPool<T> where T : new()
    ObjectPool()public ObjectPool(UnityAction<T> actionOnGet, UnityAction<T> actionOnRelease, bool newIfEmpty = true)
    Release()public void Release(T element)

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    API版本描述
    Padding()public Padding() { }
    Padding()public Padding(float top, float right, float bottom, float left)
    SetPadding()public void SetPadding(float top, float right, float bottom, float left)

    Painter

    class in XCharts.Runtime / 继承自: MaskableGraphic

    API版本描述
    onPopulateMeshpublic Action<VertexHelper, Painter> onPopulateMesh
    CheckRefresh()public void CheckRefresh()
    Init()public void Init()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag, bool isDebugMode = false)

    Parallel

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    ParallelChart

    class in XCharts.Runtime / 继承自: BaseChart

    平行坐标系,通过绘制垂直于坐标轴的平行线来显示数据的一种可视化图表。

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    Contains()public bool Contains(float x, float y)
    Contains()public bool Contains(Vector3 pos)
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    ParallelCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Pie

    class in XCharts.Runtime / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Pie ConvertSerie(Serie serie)

    PieChart

    class in XCharts.Runtime / 继承自: BaseChart

    饼图主要用于显示不同类目占比的情况,通过弧长来反映数据的大小占比。

    API版本描述
    DefaultAreaRosePieChart()public void DefaultAreaRosePieChart()
    默认面积玫瑰饼图。
    DefaultDonutPieChart()public void DefaultDonutPieChart()
    默认甜甜圈饼图。
    DefaultLabelDonutPieChart()public void DefaultLabelDonutPieChart()
    默认带标签甜甜圈饼图。
    DefaultLabelPieChart()public void DefaultLabelPieChart()
    默认带标签饼图。
    DefaultRadiusRosePieChart()public void DefaultRadiusRosePieChart()
    默认玫瑰饼图。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    PolarAxisTheme()public PolarAxisTheme(ThemeType theme) : base(theme) { }

    PolarChart

    class in XCharts.Runtime / 继承自: BaseChart

    极坐标系,可以用于散点图和折线图。

    API版本描述
    DefaultHeatmapPolarChart()public void DefaultHeatmapPolarChart()
    默认极坐标色块图。
    DefaultRadialBarPolarChart()public void DefaultRadialBarPolarChart()
    默认径向柱状极坐标图。
    DefaultTangentialBarPolarChart()public void DefaultTangentialBarPolarChart()
    默认切向柱状极坐标图。

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    API版本描述
    Contains()public bool Contains(Vector3 pos)
    IsPointerEnter()public bool IsPointerEnter()

    PolarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    PropertyUtil

    class in XCharts.Runtime

    API版本描述
    SetClass<T>()public static bool SetClass<T>(ref T currentValue, T newValue, bool notNull = false) where T : class
    SetColor()public static bool SetColor(ref Color currentValue, Color newValue)
    SetColor()public static bool SetColor(ref Color32 currentValue, Color32 newValue)
    SetStruct<T>()public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct

    Radar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    RadarAxisTheme()public RadarAxisTheme(ThemeType theme) : base(theme)

    RadarChart

    class in XCharts.Runtime / 继承自: BaseChart

    雷达图主要用于显示多变量的数据,例如足球运动员的各项属性分析。依赖雷达组件。

    API版本描述
    DefaultCircleRadarChart()public void DefaultCircleRadarChart()
    默认圆形雷达图。

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    RadiusAxisTheme()public RadiusAxisTheme(ThemeType theme) : base(theme) { }

    ReflectionUtil

    class in XCharts.Runtime

    API版本描述
    DeepCloneSerializeField()public static object DeepCloneSerializeField(object obj)
    InvokeListAdd()public static void InvokeListAdd(object obj, FieldInfo field, object item)
    InvokeListAddTo<T>()public static void InvokeListAddTo<T>(object obj, FieldInfo field, Action<T> callback)
    InvokeListClear()public static void InvokeListClear(object obj, FieldInfo field)
    InvokeListCount()public static int InvokeListCount(object obj, FieldInfo field)
    InvokeListGet<T>()public static T InvokeListGet<T>(object obj, FieldInfo field, int i)

    RequireChartComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)

    Ring

    class in XCharts.Runtime / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    GetDataTotal()public override double GetDataTotal(int dimension, SerieData serieData = null)

    RingChart

    class in XCharts.Runtime / 继承自: BaseChart

    环形图主要用于显示每一项的比例以及各项之间的关系。

    API版本描述
    DefaultMultipleRingChart()public void DefaultMultipleRingChart()
    默认多圆环图。

    RuntimeUtil

    class in XCharts.Runtime

    API版本描述
    GetAllAssemblyTypes()public static IEnumerable<Type> GetAllAssemblyTypes()
    GetAllTypesDerivedFrom()public static IEnumerable<Type> GetAllTypesDerivedFrom(Type type)
    GetAllTypesDerivedFrom<T>()public static IEnumerable<Type> GetAllTypesDerivedFrom<T>()
    GetAttribute<T>()public static T GetAttribute<T>(this MemberInfo type, bool check = true) where T : Attribute
    GetAttribute<T>()public static T GetAttribute<T>(this Type type, bool check = true) where T : Attribute
    HasSubclass()public static bool HasSubclass(Type type)

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ScatterChart

    class in XCharts.Runtime / 继承自: BaseChart

    散点图主要用于展现两个数据维度之间的关系。

    API版本描述
    DefaultBubbleChart()public void DefaultBubbleChart()
    默认气泡图。

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie,IComparable / 子类: SerieHandler<T>,Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Pie,Radar,Ring,BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    API版本描述
    onClickpublic Action<SerieEventData> onClick
    点击系列时的回调。
    onDownpublic Action<SerieEventData> onDown
    鼠标按下时的回调。
    onEnterpublic Action<SerieEventData> onEnter
    鼠标进入时的回调。
    onExitpublic Action<SerieEventData> onExit
    鼠标离开时的回调。
    AddChildData()public SerieData AddChildData(SerieData parent, double value, string name, string id)
    AddChildData()public SerieData AddChildData(SerieData parent, List<double> value, string name, string id)
    AddChildData()public void AddChildData(SerieData parent, SerieData serieData)
    AddData()public SerieData AddData(double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    添加 (open, close, lowest, heighest) 数据
    AddData()public SerieData AddData(List<double> valueList, string dataName = null, string dataId = null)
    将一组数据添加到系列中。 如果数据只有一个,默认添加到维度Y中。
    AddData()public SerieData AddData(params double[] values)
    添加任意维数据到系列中。
    AddExtraComponent<T>()public T AddExtraComponent<T>() where T : ChildComponent, ISerieComponent
    AddLink()public SerieDataLink AddLink(string sourceName, string targetName, double value)
    添加一个关系图的关系数据。
    AddSerieData()public void AddSerieData(SerieData serieData)
    AddXYData()public SerieData AddXYData(double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到维度X和维度Y
    AddYData()public SerieData AddYData(double value, string dataName = null, string dataId = null)
    添加一个数据到维度Y(此时维度X对应的数据是索引)
    AnimationEnable()public void AnimationEnable(bool flag)
    启用或取消初始动画
    AnimationFadeIn()public void AnimationFadeIn()
    渐入动画
    AnimationFadeOut()public void AnimationFadeOut()
    渐出动画
    AnimationPause()public void AnimationPause()
    暂停动画
    AnimationReset()public void AnimationReset()
    重置动画
    AnimationRestart()public void AnimationRestart()
    重置动画
    AnimationResume()public void AnimationResume()
    继续动画
    CanAddComponent()public bool CanAddComponent(Type type)
    CanAddComponent<T>()public bool CanAddComponent<T>() where T : ChildComponent, ISerieComponent
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空所有数据
    ClearDirty()public override void ClearDirty()
    ClearHighlight()public void ClearHighlight()
    清除所有数据的高亮标志
    ClearLinks()public void ClearLinks()
    清空所有Link数据
    ClearSerieNameDirty()public void ClearSerieNameDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public Serie Clone()
    Clone<T>()public T Clone<T>() where T : Serie
    CompareTo()public int CompareTo(object obj)
    EnsureComponent()public ISerieComponent EnsureComponent(Type type)
    EnsureComponent<T>()public T EnsureComponent<T>() where T : ChildComponent, ISerieComponent
    确保系列有该组件。如果没有,则添加。
    GetBarWidth()public float GetBarWidth(float categoryWidth, int barCount = 0, float defaultRate = 0.6f)
    GetComponent()public ISerieComponent GetComponent(Type type)
    GetComponent<T>()public T GetComponent<T>() where T : ChildComponent, ISerieComponent
    GetData()public double GetData(int index, int dimension, DataZoom dataZoom = null)
    获得指定index指定维数的数据
    GetDataList()public List<SerieData> GetDataList(DataZoom dataZoom = null)
    获得系列的数据列表
    GetDataTotal()public virtual double GetDataTotal(int dimension, SerieData serieData = null)
    GetSerieData()public SerieData GetSerieData(int index, DataZoom dataZoom = null)
    获得指定索引的数据项
    GetSerieData()public SerieData GetSerieData(SerieData parent, string id)
    GetSerieData()public SerieData GetSerieData(string id, DataZoom dataZoom = null)
    GetXYData()public void GetXYData(int index, DataZoom dataZoom, out double xValue, out double yVlaue)
    获得指定索引的维度X和维度Y的数据
    GetYCurrData()public double GetYCurrData(int index, DataZoom dataZoom = null)
    GetYData()public double GetYData(int index, DataZoom dataZoom = null)
    获得维度Y索引对应的数据
    GetYData()public void GetYData(int index, out double yData, out string dataName, DataZoom dataZoom = null)
    获得维度Y索引对应的数据和数据名
    IsIgnoreIndex()public bool IsIgnoreIndex(int index, int dimension = 1)
    IsIgnorePoint()public bool IsIgnorePoint(int index)
    IsIgnoreValue()public bool IsIgnoreValue(double value)
    IsIgnoreValue()public bool IsIgnoreValue(SerieData serieData, double value)
    IsIgnoreValue()public bool IsIgnoreValue(SerieData serieData, int dimension = 1)
    IsLegendName()public bool IsLegendName(string legendName)
    IsMinShowLabelValue()public bool IsMinShowLabelValue(double value)
    IsMinShowLabelValue()public bool IsMinShowLabelValue(int index, int dimension = 1)
    IsMinShowLabelValue()public bool IsMinShowLabelValue(SerieData serieData, int dimension = 1)
    IsPerformanceMode()public bool IsPerformanceMode()
    是否为性能模式。性能模式下不绘制Symbol,不刷新Label,不单独设置数据项配置。
    IsSerie<T>()public bool IsSerie<T>() where T : Serie
    IsSerieDataLegendName()public bool IsSerieDataLegendName(string legendName)
    IsSerieLegendName()public bool IsSerieLegendName(string legendName)
    IsUseCoord<T>()public bool IsUseCoord<T>() where T : CoordSystem
    RemoveAllComponents()public void RemoveAllComponents()
    移除所有额外组件。
    RemoveComponent()public void RemoveComponent(Type type)
    RemoveComponent<T>()public void RemoveComponent<T>() where T : ISerieComponent
    RemoveData()public void RemoveData(int index)
    移除指定索引的数据
    ResetDataIndex()public bool ResetDataIndex()
    重置数据项索引。避免部分数据项的索引异常。
    ResetInteract()public void ResetInteract()
    SetAllDirty()public override void SetAllDirty()
    SetCoord<T>()public bool SetCoord<T>() where T : CoordSystem
    SetHighlight()public void SetHighlight(int index, bool flag)
    设置指定索引的数据为高亮状态
    SetVerticesDirty()public override void SetVerticesDirty()
    UpdateData()public bool UpdateData(int index, int dimension, double value)
    更新指定索引指定维数的数据
    UpdateData()public bool UpdateData(int index, List<double> values)
    更新指定索引的数据项数据列表
    UpdateDataName()public bool UpdateDataName(int index, string name)
    UpdateXYData()public bool UpdateXYData(int index, double xValue, double yValue)
    更新指定索引的维度X和维度Y的数据
    UpdateYData()public bool UpdateYData(int index, double value)
    更新指定索引的维度Y数据

    SerieComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到Serie的组件。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieComponentAttribute()public SerieComponentAttribute()
    SerieComponentAttribute()public SerieComponentAttribute(Type type1)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieContext

    class in XCharts.Runtime

    SerieConvertAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可转化为哪些Serie类型。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : Serie
    SerieConvertAttribute()public SerieConvertAttribute(Type serie)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    EnsureComponent()v3.6.0public ISerieDataComponent EnsureComponent(Type type)
    确保数据项有指定类型的组件,如果没有则添加。
    EnsureComponent<T>()v3.6.0public T EnsureComponent<T>() where T : ChildComponent, ISerieDataComponent
    确保数据项有指定类型的组件,如果没有则添加。
    GetAddAnimationData()public double GetAddAnimationData(double min, double max, float animationDuration = 500f, bool unscaledTime = false)
    GetComponent<T>()public T GetComponent<T>() where T : ChildComponent, ISerieDataComponent
    获取数据项的指定类型的组件,如果不存在则返回null。
    GetCurrData()public double GetCurrData(int index, AnimationStyle animation, bool inverse = false, bool loop = false)
    GetCurrData()public double GetCurrData(int index, AnimationStyle animation, bool inverse, double min, double max, bool loop = false)
    GetCurrData()public double GetCurrData(int index, float dataAddDuration = 500f, float animationDuration = 500f, bool unscaledTime = false, bool inverse = false)
    GetCurrData()public double GetCurrData(int index, float dataAddDuration, float animationDuration, bool inverse, double min, double max, bool unscaledTime, bool loop = false)
    GetData()public double GetData(int index, bool inverse = false)
    GetData()public double GetData(int index, double min, double max)
    GetFirstData()public double GetFirstData(bool unscaledTime, float animationDuration = 500f)
    GetLabelHeight()public float GetLabelHeight()
    GetLabelWidth()public float GetLabelWidth()
    GetLastData()public double GetLastData()
    GetMaxData()public double GetMaxData(bool inverse = false)
    最大值。
    GetMinData()public double GetMinData(bool inverse = false)
    最小值。
    GetMinMaxData()public void GetMinMaxData(int startDimensionIndex, bool inverse, out double min, out double max)
    GetOrAddComponent<T>()public T GetOrAddComponent<T>() where T : ChildComponent, ISerieDataComponent
    GetPreviousData()public double GetPreviousData(int index, bool inverse = false)
    GetTotalData()public double GetTotalData()
    IsDataChanged()public bool IsDataChanged()
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    List<string>()public static List<string> extraFieldList = new List<string>()
    系列中的一个数据项。可存储数据名和1-n维个数据。
    OnAdd()public void OnAdd(AnimationStyle animation, double startValue = 0)
    RemoveAllComponent()public void RemoveAllComponent()
    RemoveComponent()public void RemoveComponent(Type type)
    RemoveComponent<T>()public void RemoveComponent<T>() where T : ISerieDataComponent
    Reset()public void Reset()
    SetIconActive()public void SetIconActive(bool flag)
    SetLabelActive()public void SetLabelActive(bool flag)
    SetPolygon()public void SetPolygon(params Vector2[] points)
    SetPolygon()public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)
    SetPolygon()public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5)
    UpdateData()public bool UpdateData(int dimension, double value)
    UpdateData()public bool UpdateData(int dimension, double value, bool updateAnimation, bool unscaledTime, float animationDuration = 500f)

    SerieDataComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到SerieData的组件。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieDataComponentAttribute()public SerieDataComponentAttribute()
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieDataContext

    class in XCharts.Runtime

    API版本描述
    Reset()public void Reset()

    SerieDataExtraFieldAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Contains()public bool Contains(string field)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute()
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7)

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    数据节点之间的连线。可用于桑基图等,桑基图只支持有向无环图,请保证数据的连线是有向无环图。

    SerieEventData

    class in XCharts.Runtime

    serie事件的数据。

    API版本描述
    Reset()public void Reset()

    SerieEventDataPool

    class in XCharts.Runtime

    API版本描述
    Get()public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)
    Release()public static void Release(SerieEventData toRelease)

    SerieHandler

    class in XCharts.Runtime

    API版本描述
    AfterUpdate()public virtual void AfterUpdate() { }
    BeforeUpdate()public virtual void BeforeUpdate() { }
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawSerie()public virtual void DrawSerie(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    ForceUpdateSerieContext()public virtual void ForceUpdateSerieContext() { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDataUpdate()public virtual void OnDataUpdate() { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName) { }
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    RefreshLabelInternal()public virtual void RefreshLabelInternal() { }
    RefreshLabelNextFrame()public virtual void RefreshLabelNextFrame() { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }
    UpdateSerieContext()public virtual void UpdateSerieContext() { }

    SerieHandler where T

    class in / 子类: SerieHandler<T>

    SerieHandler<T>

    class in XCharts.Runtime / 继承自: [SerieHandler where T](#seriehandler where t),Serie

    API版本描述
    AfterUpdate()public override void AfterUpdate()
    BeforeUpdate()public override void BeforeUpdate()
    DrawLabelLineSymbol()public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)
    ForceUpdateSerieContext()public override void ForceUpdateSerieContext()
    GetPointerItemDataDimension()public override int GetPointerItemDataDimension()
    GetPointerItemDataIndex()public override int GetPointerItemDataIndex()
    GetSerieDataAutoColor()public virtual Color GetSerieDataAutoColor(SerieData serieData)
    GetSerieDataLabelOffset()public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)
    GetSerieDataLabelPosition()public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)
    GetSerieDataTitlePosition()public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)
    InitComponent()public override void InitComponent()
    OnLegendButtonClick()public override void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public override void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public override void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    RefreshEndLabelInternal()public virtual void RefreshEndLabelInternal()
    RefreshLabelInternal()public override void RefreshLabelInternal()
    RefreshLabelNextFrame()public override void RefreshLabelNextFrame()
    RemoveComponent()public override void RemoveComponent()
    Update()public override void Update()

    SerieHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler)
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler, bool allowMultiple)

    SerieHelper

    class in XCharts.Runtime

    API版本描述
    CloneSerie<T>()public static T CloneSerie<T>(Serie serie) where T : Serie
    CopySerie()public static void CopySerie(Serie oldSerie, Serie newSerie)
    GetAllMinMaxData()public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)
    GetAreaStyle()public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)
    GetAverageData()public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetBlurStyle()public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)
    GetEmphasisStyle()public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData)
    GetItemColor()public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true)
    GetItemFormatter()public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetItemMarker()public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null)
    GetItemStyle()public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetLineColor()public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto)
    GetLineStyle()public static LineStyle GetLineStyle(Serie serie, SerieData serieData)
    GetMaxData()public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMaxSerieData()public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMedianData()public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinData()public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinMaxData()public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)
    获得系列所有数据的最大最小值。
    GetMinSerieData()public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetNumericFormatter()public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetSelectStyle()public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)
    GetSerieLabel()public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieLabelLine()public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieState()public static SerieState GetSerieState(Serie serie)
    GetSerieState()public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)
    GetSerieState()public static SerieState GetSerieState(SerieData serieData)
    GetSerieSymbol()public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetStateStyle()public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)
    GetSysmbolSize()public static float GetSysmbolSize(Serie serie, SerieData serieData, float defaultSize, SerieState state = SerieState.Auto, bool checkAnimation = false)
    GetTitleStyle()public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)
    IsAllZeroValue()public static bool IsAllZeroValue(Serie serie, int dimension = 1)
    系列指定维数的数据是否全部为0。
    IsDownPoint()public static bool IsDownPoint(Serie serie, int index)
    UpdateCenter()public static void UpdateCenter(Serie serie, BaseChart chart)
    更新运行时中心点和半径
    UpdateFilterData()public static void UpdateFilterData(Serie serie, DataZoom dataZoom)
    根据dataZoom更新数据列表缓存
    UpdateMinMaxData()public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)
    获得指定维数的最大最小值
    UpdateRect()public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
    UpdateSerieRuntimeFilterData()public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)

    SerieLabelHelper

    class in XCharts.Runtime

    API版本描述
    CanShowLabel()public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)
    GetLabelColor()public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)
    SetGaugeLabelText()public static void SetGaugeLabelText(Serie serie)

    SerieLabelPool

    class in XCharts.Runtime

    API版本描述
    ClearAll()public static void ClearAll()
    Release()public static void Release(GameObject element)
    ReleaseAll()public static void ReleaseAll(Transform parent)

    SerieParams

    class in XCharts.Runtime

    SeriesHelper

    class in XCharts.Runtime

    API版本描述
    GetLastStackSerie()public static Serie GetLastStackSerie(List<Serie> series, Serie serie)
    获得上一个同堆叠且显示的serie。
    GetLegalSerieNameList()public static List<string> GetLegalSerieNameList(List<Serie> series)
    GetMaxSerieDataCount()public static int GetMaxSerieDataCount(List<Serie> series)
    GetMinAnimationDuration()public static float GetMinAnimationDuration(List<Serie> series)
    GetNameColor()public static Color GetNameColor(BaseChart chart, int index, string name)
    GetStackSeries()public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)
    获得堆叠系列列表
    IsAnyClipSerie()public static bool IsAnyClipSerie(List<Serie> series)
    是否有需裁剪的serie。
    IsLegalLegendName()public static bool IsLegalLegendName(string name)
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series) where T : Serie
    是否时百分比堆叠
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series, string stackName) where T : Serie
    是否时百分比堆叠
    IsStack()public static bool IsStack(List<Serie> series)
    是否由数据堆叠
    IsStack<T>()public static bool IsStack<T>(List<Serie> series, string stackName) where T : Serie
    是否堆叠
    UpdateSerieNameList()public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)
    获得所有系列名,不包含空名字。
    UpdateStackDataList()public static void UpdateStackDataList(List<Serie> series, Serie currSerie, DataZoom dataZoom, List<List<SerieData>> dataList)

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle,ISerieDataComponent

    系列数据项的标记的图形

    API版本描述
    GetSize()public float GetSize(List<double> data, float themeSize)
    根据指定的sizeType获得标记的大小
    Reset()public override void Reset()
    ShowSymbol()public bool ShowSymbol(int dataIndex, int dataCount)

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Copy()public void Copy(SerieTheme theme)
    SerieTheme()public SerieTheme(ThemeType theme)

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    API版本描述
    Copy()public void Copy(Settings settings)
    Reset()public override void Reset()

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedBar ConvertSerie(Serie serie)

    SimplifiedBarChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化柱状图是柱状图的简化模式,通过简化组件和配置,拥有更好的性能。

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedCandlestick ConvertSerie(Serie serie)

    SimplifiedCandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化K线图是K线图的简化模式,通过简化组件和配置,拥有更好的性能。

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedLine ConvertSerie(Serie serie)

    SimplifiedLineChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化折线图是折线图的简化模式,通过简化组件和配置,拥有更好的性能。

    Since

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Since()public Since(string version)

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis,IUpdateRuntimeData

    单轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    StageColor()public StageColor(float percent, Color32 color)

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle,EmphasisStyle,SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Reset()public void Reset()

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    SubTitleTheme()public SubTitleTheme(ThemeType theme) : base(theme)

    SVG

    class in XUGL

    API版本描述
    DrawPath()public static void DrawPath(VertexHelper vh, string path)
    DrawPath()public static void DrawPath(VertexHelper vh, SVGPath path)
    Test()public static void Test(VertexHelper vh)

    SVGPath

    class in XUGL

    API版本描述
    AddSegment()public void AddSegment(SVGPathSeg seg)
    Draw()public void Draw(VertexHelper vh)
    Parse()public static SVGPath Parse(string path)

    SVGPathSeg

    class in XUGL

    API版本描述
    SVGPathSeg()public SVGPathSeg(SVGPathSegType type)

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    API版本描述
    GetColor()public Color32 GetColor(Color32 defaultColor)
    Reset()public virtual void Reset()

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    API版本描述
    Clone()public TextLimit Clone()
    Copy()public void Copy(TextLimit textLimit)
    GetLimitContent()public string GetLimitContent(string content)
    SetRelatedText()public void SetRelatedText(ChartText txt, float labelWidth)

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    API版本描述
    TextPadding()public TextPadding() { }
    TextPadding()public TextPadding(float top, float right, float bottom, float left)

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    API版本描述
    Copy()public void Copy(TextStyle textStyle)
    GetAlignment()public TextAnchor GetAlignment(TextAnchor defaultAlignment)
    GetColor()public Color GetColor(Color defaultColor)
    GetFontSize()public int GetFontSize(ComponentTheme defaultTheme)
    TextStyle()public TextStyle() { }
    TextStyle()public TextStyle(int fontSize)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle, Color color)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle, Color color, int rorate)
    UpdateAlignmentByLocation()public void UpdateAlignmentByLocation(Location location)

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    API版本描述
    CheckWarning()public void CheckWarning(StringBuilder sb)
    CloneTheme()public Theme CloneTheme()
    克隆主题。
    CopyTheme()public bool CopyTheme(ThemeType theme)
    CopyTheme()public void CopyTheme(Theme theme)
    复制主题的所有配置。
    GetColor()public Color32 GetColor(int index)
    获得调色盘对应系列索引的颜色值。
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。
    GetColorStr()public string GetColorStr(int index)
    获得指定索引的十六进制颜色值字符串。
    GetHashCode()public override int GetHashCode()
    ResetTheme()public bool ResetTheme()
    重置,清除所有自定义配置。
    ResetToDarkTheme()public static void ResetToDarkTheme(Theme theme)
    暗主题。
    ResetToDefaultTheme()public static void ResetToDefaultTheme(Theme theme)
    默认主题。
    SetColorPalette()public void SetColorPalette(List<string> hexColorStringList)
    SetDefaultFont()public void SetDefaultFont()
    SyncFontToSubComponent()public void SyncFontToSubComponent()
    SyncTMPFontToSubComponent()public void SyncTMPFontToSubComponent()

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    API版本描述
    CheckWarning()public void CheckWarning(StringBuilder sb)
    GetBackgroundColor()public Color32 GetBackgroundColor(Background background)
    GetColor()public Color32 GetColor(int index)
    获得调色盘对应系列索引的颜色值。
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。
    GetColorStr()public string GetColorStr(int index)
    获得指定索引的十六进制颜色值字符串。
    SyncSharedThemeColorToCustom()public void SyncSharedThemeColorToCustom()

    Title

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    标题组件,包含主标题和副标题。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    OnChanged()public void OnChanged()

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle,ISerieDataComponent,ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    TitleTheme()public TitleTheme(ThemeType theme) : base(theme)

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    API版本描述
    AddSerieDataIndex()public void AddSerieDataIndex(int serieIndex, int dataIndex)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    ClearSerieDataIndex()public void ClearSerieDataIndex()
    GetContentLabelStyle()public LabelStyle GetContentLabelStyle(int index)
    IsActive()public bool IsActive()
    提示框是否显示
    isAnySerieDataIndex()public bool isAnySerieDataIndex()
    IsSelected()public bool IsSelected()
    当前提示框是否选中数据项
    IsSelected()public bool IsSelected(int index)
    指定索引的数据项是否被提示框选中
    IsTriggerAxis()public bool IsTriggerAxis()
    IsTriggerItem()public bool IsTriggerItem()
    KeepTop()public void KeepTop()
    保持Tooltiop显示在最顶上
    SetActive()public void SetActive(bool flag)
    设置Tooltip组件是否显示
    SetContentActive()public void SetContentActive(bool flag)
    设置文本框是否显示
    UpdateContentPos()public void UpdateContentPos(Vector2 pos, float width, float height)
    更新文本框位置

    TooltipContext

    class in XCharts.Runtime

    TooltipData

    class in XCharts.Runtime

    TooltipHelper

    class in XCharts.Runtime

    API版本描述
    GetItemNumericFormatter()public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)
    GetLineColor()public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor)
    IsIgnoreFormatter()public static bool IsIgnoreFormatter(string itemFormatter)
    LimitInRect()public static void LimitInRect(Tooltip tooltip, Rect chartRect)

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(TooltipTheme theme)
    TooltipTheme()public TooltipTheme(ThemeType theme) : base(theme)

    TooltipView

    class in XCharts.Runtime

    API版本描述
    CreateView()public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)
    GetCurrentPos()public Vector3 GetCurrentPos()
    GetTargetPos()public Vector3 GetTargetPos()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag)
    Update()public void Update()
    UpdatePosition()public void UpdatePosition(Vector3 pos)

    TooltipViewItem

    class in XCharts.Runtime

    UGL

    class in XUGL

    UGUI 图形库

    API版本描述
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, Color32 color, Color32 toColor)
    DrawEllipse()public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)
    DrawEmptyDiamond()public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color)
    DrawEmptyDiamond()public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color, Color32 emptyColor)
    DrawEmptyTriangle()public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color)
    DrawEmptyTriangle()public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color, Color32 backgroundColor)
    DrawLine()public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color)
    Draw a line. 画直线
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
    Draw a line. 画直线
    DrawMinus()public static void DrawMinus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    绘制减号
    DrawPlus()public static void DrawPlus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    绘制加号
    DrawPolygon()public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
    填充任意多边形(目前只支持凸多边形)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Vector3 p1, Vector3 p2, float radius, Color32 color)
    Draw a rectangle. 画带长方形
    DrawSquare()public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
    Draw a square. 画正方形
    DrawSvgPath()public static void DrawSvgPath(VertexHelper vh, string path)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)

    UGLExample

    class in XUGL / 继承自: MaskableGraphic

    UGLHelper

    class in XUGL

    API版本描述
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBezier()public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)
    GetBezier2()public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)
    GetBezierList()public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref List<Vector3> intersection)
    获得两直线的交点
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref Vector3 intersection)
    获得两直线的交点
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector3> polyons)
    IsPointInTriangle()public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)

    UIComponent

    class in XCharts.Runtime / 继承自: BaseGraph

    UI组件基类。

    API版本描述
    SetAllDirty()public override void SetAllDirty()
    SetDataDirty()v3.9.0public void SetDataDirty()
    SetVerticesDirty()public override void SetVerticesDirty()
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    GetBackgroundColor()public Color32 GetBackgroundColor(Background background)

    UIHelper

    class in XCharts.Runtime

    UI帮助类。

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    API版本描述
    AddColors()public void AddColors(List<Color32> colors)
    AddColors()public void AddColors(List<string> colors)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    GetColor()public Color32 GetColor(double value)
    GetIndex()public int GetIndex(double value)
    GetValue()public double GetValue(Vector3 pos, Rect chartRect)
    IsInRangeMaxRect()public bool IsInRangeMaxRect(Vector3 local, Rect chartRect, float triangleLen)
    IsInRangeMinRect()public bool IsInRangeMinRect(Vector3 local, Rect chartRect, float triangleLen)
    IsInRangeRect()public bool IsInRangeRect(Vector3 local, Rect chartRect)
    IsInRect()public bool IsInRect(Vector3 local, Rect chartRect, float triangleLen = 20)
    IsInSelectedValue()public bool IsInSelectedValue(double value)
    IsPiecewise()public bool IsPiecewise()

    VisualMapContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    VisualMapHelper

    class in XCharts.Runtime

    API版本描述
    AutoSetLineMinMax()public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
    GetDimension()public static int GetDimension(VisualMap visualMap, int defaultDimension)
    IsNeedAreaGradient()public static bool IsNeedAreaGradient(VisualMap visualMap)
    IsNeedGradient()public static bool IsNeedGradient(VisualMap visualMap)
    IsNeedLineGradient()public static bool IsNeedLineGradient(VisualMap visualMap)
    SetMinMax()public static void SetMinMax(VisualMap visualMap, double min, double max)

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Contains()public bool Contains(double value, double minMaxRange)

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(VisualMapTheme theme)
    VisualMapTheme()public VisualMapTheme(ThemeType theme) : base(theme)

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 x 轴。

    XChartsMgr

    class in XCharts.Runtime

    API版本描述
    AddChart()public static void AddChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(string chartName)
    GetChart()public static BaseChart GetChart(string chartName)
    GetCharts()public static List<BaseChart> GetCharts(string chartName)
    GetPackageFullPath()public static string GetPackageFullPath()
    GetRepeatChartNameInfo()public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
    IsRepeatChartName()public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
    RemoveAllChartObject()public static void RemoveAllChartObject()
    RemoveChart()public static void RemoveChart(string chartName)

    XCResourceImporterWindow

    class in XCharts.Runtime / 继承自: UnityEditor.EditorWindow

    API版本描述
    ShowPackageImporterWindow()public static void ShowPackageImporterWindow()

    XCResourcesImporter

    class in XCharts.Runtime

    API版本描述
    OnDestroy()public void OnDestroy() { }
    OnGUI()public void OnGUI()
    XCResourcesImporter()public XCResourcesImporter() { }

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    API版本描述
    AddCustomTheme()public static bool AddCustomTheme(Theme theme)
    ExistAssetFile()public static bool ExistAssetFile()
    GetSettingAssetPath()public static string GetSettingAssetPath()

    XCThemeMgr

    class in XCharts.Runtime

    API版本描述
    AddTheme()public static void AddTheme(Theme theme)
    CheckReloadTheme()public static void CheckReloadTheme()
    ContainsTheme()public static bool ContainsTheme(string themeName)
    ExportTheme()public static bool ExportTheme(Theme theme)
    ExportTheme()public static bool ExportTheme(Theme theme, string themeNewName)
    GetAllThemeNames()public static List<string> GetAllThemeNames()
    GetTheme()public static Theme GetTheme(string themeName)
    GetTheme()public static Theme GetTheme(ThemeType type)
    GetThemeAssetPath()public static string GetThemeAssetPath(string themeName)
    GetThemeList()public static List<Theme> GetThemeList()
    LoadTheme()public static Theme LoadTheme(string themeName)
    LoadTheme()public static Theme LoadTheme(ThemeType type)
    ReloadThemeList()public static void ReloadThemeList()
    重新加载主题列表
    SwitchTheme()public static void SwitchTheme(BaseChart chart, string themeName)

    XLog

    class in XCharts.Runtime / 继承自: MonoBehaviour

    日志系统。用于输出带日期和日志类型的日志,支持输出到文件,支持自定义输出的日志类型。

    API版本描述
    CanLog()public static bool CanLog(int level)
    ClearAllLog()public static void ClearAllLog()
    Debug()public static void Debug(string log)
    EnableLog()public static void EnableLog(int logType)
    Error()public static void Error(string log)
    FlushLog()public static void FlushLog()
    GetNowTime()public static string GetNowTime(string formatter = null)
    GetTimestamp()public static ulong GetTimestamp()
    Info()public static void Info(string log)
    Log()public static void Log(string log)
    LogError()public static void LogError(string log)
    LogWarning()public static void LogWarning(string log)
    Proto()public static void Proto(string log)
    Vital()public static void Vital(string log)
    Warning()public static void Warning(string log)

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/bar3d/index.html b/en/docs/v3.10.2/bar3d/index.html index 72ed4ae4..959022ba 100644 --- a/en/docs/v3.10.2/bar3d/index.html +++ b/en/docs/v3.10.2/bar3d/index.html @@ -14,14 +14,14 @@ Bar3DChart 3D柱图 | XCharts - - + +
    Version: v3.10.2

    Bar3DChart 3D柱图

    XCharts的付费扩展图表 - 3D柱图。

    截图

    Bar3D01Bar3D02Bar3D03Bar3D04Bar3D05
    Bar3D07Bar3D08Bar3D09Bar3D10

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-Bar3DChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.10.0

    • (2023.12.16) 增加Bar3D的更多默认图表快捷方式和API
    • (2023.12.16) 增加Bar3DStyleborderDash是否绘制虚线边框
    • (2023.12.16) 增加Bar3DStyleoccludedAreaBorderDash是否绘制遮挡区域的虚线边框
    • (2023.12.16) 增加Bar3DStyleoccludedAreaBorder是否绘制遮挡区域的边框
    • (2023.12.16) 增加Border边框绘制支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0
    • (2023.02.14) 增加Bar3DStyletopColorbottomColorsideColor参数支持

    v3.5.0

    • (2022.11.29) 增加SeriebarMaxWidth参数支持
    • (2022.11.27) 增加SerieItemStylebackgroundColor参数支持
    • (2022.11.27) 增加SeriecolorBy的支持
    • (2022.11.27) 更新文档

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    v3.1.0

    • (2022.07.14) 发布v3.1.0版本
    • (2022.07.14) 增加bottomColorRate,cylinderRate参数
    • (2022.07.14) 调整topColorBurnRate改名为topColorRate
    • (2022.07.14) 调整sideColorBurnRate改名为sideColorRate
    • (2022.07.14) 调整dire改名为cubeDire
    • (2022.07.14) 支持Cylinder圆柱和Cube立方柱

    API

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie,INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    API版本描述
    AddDefaultSerie()public static Bar3D AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Bar3D ConvertSerie(Serie serie)

    Bar3DChart

    class in XCharts.Runtime.Bar3Ds / 继承自: BaseChart

    API版本描述
    DefaultCylinderChart()public void DefaultCylinderChart(){
    生成默认的圆柱体图。
    DefaultGroupedCubeChart()public void DefaultGroupedCubeChart()
    默认分组3D柱状图。
    DefaultStackedCubeChart()public void DefaultStackedCubeChart()
    默认堆叠分组3D柱状图。

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    配置项手册

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie, INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    参数默认版本描述
    bar3DTypev3.1.0
    Bar3DType:
    - Cube: 立方柱。
    - Cylinder: 圆柱。
    bar3DStyleBar3DStyle

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    verticalArrangefalse是否垂直排列。
    verticalArrangeDireVector3(-1, 1)垂直排列时的方向。
    verticalArrangeGap0.5f垂直排列时两个柱子间的间隙。
    barOffsetVector3.zero柱子偏移。
    widthRate0.5f方形柱侧边宽度相对正面的比例。
    topColorRate0.8f柱子顶部相对正面的颜色比例。
    bottomColorRate1f柱子底部相对正面的颜色比例。
    sideColorRate0.7f方形柱侧边相对正面的颜色比例。
    cubeDireVector3(1, 1)方形柱形成3D效果的方向。
    cylinderRate0.5fv3.1.0圆柱的顶部椭圆比列。
    topColorv3.6.0
    bottomColorv3.6.0
    sideColorv3.6.0
    occludedAreaBorderv3.10.0是否显示遮挡区域的边框。
    occludedAreaBorderDashv3.10.0是否显示遮挡区域的虚线边框。
    borderDashv3.10.0是否显示虚线边框。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/changelog/index.html b/en/docs/v3.10.2/changelog/index.html index fcbe0f1a..53af1abc 100644 --- a/en/docs/v3.10.2/changelog/index.html +++ b/en/docs/v3.10.2/changelog/index.html @@ -14,8 +14,8 @@ 更新日志 | XCharts - - + +
    @@ -83,7 +83,7 @@ v0.8.0
    v0.5.0
    v0.1.0

    master

    v3.10.1

    • (2024.02.21) 发布v3.10.1版本
    • (2024.02.19) 修复Tooltip的圆点标记不会自适应颜色的问题

    v3.10.0

    版本要点:

    • 增加双类目轴支持
    • 增加更多细分快捷菜单创建图表,可一键创建几十种图表
    • 增加图表边框设置,支持圆角图表
    • 修复若干问题

    扩展功能:

    • 增加SankeyChart桑基图
    • 增加UITable的边框设置

    日志详情:

    • (2024.02.01) 发布v3.10.0版本
    • (2024.01.31) 修复Tooltip在设置itemFormatter-后整个不显示的问题
    • (2024.01.27) 修复TextLimit在开启TextMeshPro后无效的问题 (#301)
    • (2024.01.24) 增加Bar支持X轴和Y轴都为Category类目轴
    • (2024.01.23) 增加{y}通配符用于获取Y轴的类目名
    • (2024.01.23) 增加Line支持X轴和Y轴都为Category类目轴
    • (2024.01.18) 修复Animationtype代码动态修改无效的问题
    • (2024.01.13) 增加Chart的更多快捷创建图表菜单
    • (2024.01.09) 增加BackgroundborderStyle,给图表默认设置圆角
    • (2024.01.07) 修复Tooltop的第一个ContentLabelStyle设置color无效的问题
    • (2024.01.01) 增加BorderStyle边框样式
    • (2023.12.26) 增加HeatmapmaxCache参数支持
    • (2023.12.25) 优化Line开启clip时绘制的顶点数
    • (2023.12.22) 修复Scatter散点图部分边界数据不显示的问题
    • (2023.12.21) 修复TriggerTooltip()接口在指定0或最大index时可能无法触发的问题
    • (2023.12.19) 修复LegendLabelStyle设置formatter后不生效的问题
    • (2023.12.12) 增加LegendTextLimit可限制图例显示文本的长度
    • (2023.12.11) 修复Serie添加double.MaxValue时坐标绘制失败的问题
    • (2023.12.10) 增加SerieminShowLabel可隐藏小于指定值的label
    • (2023.12.09) 增加LevelStyledepth指定所属层次
    • (2023.12.09) 增加LevelStyleLineStyle设置线条样式
    • (2023.12.09) 增加SerieLink可用于桑基图添加节点边关系
    • (2023.12.05) 增加ResetChartStatus()可主动重置图表状态

    v3.9.0

    版本要点:

    • 增加AxisAnimation,完善数据变更动画效果
    • 增加Axis的对数轴子刻度的支持
    • 增加MarkLineonTop设置是否显示在最上层
    • 完善代码注释和手册文档
    • 修复若干问题

    扩展功能:

    • UITable增加轮播功能
    • UITable增加数据操作接口和回调函数
    • Pie3DChart优化绘制表现

    日志详情:

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 修复TooltiptitleFormatter设置为{b}后显示不准确的问题
    • (2023.11.30) 增加SerieData可单独添加Label的支持
    • (2023.11.28) 修复Tooltip在对数轴时指示不准确的问题
    • (2023.11.24) 修复ChartUpdateData()接口返回值不准确的问题
    • (2023.11.24) 修复Axis的更新数据时效果不顺畅的问题
    • (2023.11.23) 增加AxisAnimation支持动画效果
    • (2023.11.16) 取消Legendformatter,用LabelStyle的代替
    • (2023.11.14) 完善LabelStyleformatter的注释和文档(#291)
    • (2023.11.11) 修复Documentation部分注释生成文档不完整的问题 (#290)
    • (2023.11.11) 修复Legendformatter在数据变更时没有自动刷新的问题
    • (2023.11.05) 修复SerieEventDatavalue一直是0的问题 (#287)
    • (2023.11.03) 修复Bar设置渐变色时鼠标移出效果异常的问题 (#285)
    • (2023.11.02) 优化SerieData设置ignoreformatter的忽略问题
    • (2023.11.01) 增加MarkLineonTop设置是否显示在最上层
    • (2023.10.21) 修复Pie有0数据时Label的位置异常的问题
    • (2023.10.21) 增加Axis的对数轴支持子刻度
    • (2023.10.19) 修复Pie设置玫瑰图时引导线异常的问题
    • (2023.10.15) 修复Line设置AnimationAlongPath时动画异常的问题 (#281)
    • (2023.10.12) 修复MarkLine指定yValue时对数值轴无效的问题
    • (2023.10.11) 修复SerieshowDataDimension设置无效的问题

    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) 增加PieradiusGradient可设置半径方向的渐变效果
    • (2023.09.05) 优化LabelLinelineEndXPie中的表现
    • (2023.09.05) 修复TriggerTooltip()接口对Ring无效的问题
    • (2023.09.05) 修复Radar数据全为0时绘制报错的问题

    v3.8.0

    版本要点:

    • 重构Animation动画系统,增加新增动画交互动画的支持
    • 完善PieChart的动画交互表现
    • 增加SymbolEmptyTriangleEmptyDiamondPlusMinus四种新标记
    • 完善Chart的鼠标交互回调
    • 增加LabelLine可固定横坐标的功能
    • 增加GridLayout网格布局组件
    • 增加TooltipAuto类型
    • 优化和修复若干其他问题

    日志详情:

    • (2023.09.03) 发布v3.8.0版本
    • (2023.09.01) 增加TooltipAuto自动设置显示类型和触发类型
    • (2023.08.29) 增加RinggridIndex支持设置指定网格
    • (2023.08.29) 增加RadargridIndex支持设置指定网格
    • (2023.08.29) 增加PiegridIndex支持设置指定网格
    • (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) 修复YAxisLabel可能会重复的问题
    • (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本地开启TextMeshProNewInputSystem后更新版本会报错的问题 (#272)
    • (2023.08.12) 修复Chart在运行时被删除时会异常报错的问题 (#269)
    • (2023.08.11) 修复DataZoom开启时可能会导致无法添加数据的问题
    • (2023.08.11) 修复SerieData单独设置ItemStyleitemFormatter不生效的问题
    • (2023.08.10) 优化BarChartTooltipTriggerItem时的表现
    • (2023.08.09) 增加Axis可通过设置IconStylecolorclear来实现动态图标颜色的支持
    • (2023.08.08) 增加PieLabelLinelineEndX的支持
    • (2023.08.05) 整理Examples的代码,删除不必要的用例
    • (2023.08.04) 增加LabelLinelineEndX可设置引导线固定X位置的支持
    • (2023.08.04) 增加RingavoidLabelOverlap避免文本堆叠的支持 (#247)
    • (2023.08.03) 完善ChartonSerieEnteronSerieExitonSerieClick回调
    • (2023.08.02) 修复BarChartonSerieEnteronSerieExit回调无效的问题
    • (2023.08.02) 增加SymbolPlus加号和Minus减号的支持
    • (2023.07.31) 增加SymbolEmptyTriangleEmptyDiamond的支持,优化Symbol表现效果
    • (2023.07.31) 优化Line的默认配置效果
    • (2023.07.27) 增加SerieminRadius可设置最小半径
    • (2023.07.26) 增加MLValue多样式数值
    • (2023.07.25) 增加XLog日志系统
    • (2023.07.18) 完善Pie饼图的交互动画效果
    • (2023.07.14) 增加AnimationInteraction交互动画配置支持
    • (2023.07.11) 增加AnimationAddition新增动画配置支持
    • (2023.07.11) 重构Animation动画系统,完善动画体验
    • (2023.06.30) 增加PolarCoodindicatorLabelOffset设置指示文本偏移的支持
    • (2023.06.30) 修复AxisIndicatorLabel的背景颜色可能不正常的问题
    • (2023.06.30) 增加AxisIndicatorLabel可自定义color的支持
    • (2023.06.12) 修复AxisLabelformatterFunction在数值轴时value不对的问题

    v3.7.0

    版本要点:

    • 增加HelpDoc官网帮助文档跳转
    • 增加LineClip的支持
    • 优化Axis的范围设置
    • 其他优化和修复

    日志详情:

    • (2023.06.08) 发布v3.7.0版本
    • (2023.06.04) 增加HelpDoc帮助文档跳转
    • (2023.05.30) 修复Serie的名字带_线导致Legend无法触发的问题 (#259) (by svr2kos2)
    • (2023.05.10) 增加AxisMinMaxAuto范围类型
    • (2023.05.10) 增加LineClip的支持
    • (2023.05.04) 优化Axis在-1到1范围时设置CeilRate不生效的问题
    • (2023.05.04) 优化AxisMinMax类型范围计算
    • (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) 增加BaseChartTriggerTooltip()接口尝试触发ToolTip
    • (2023.04.12) 优化RadarCood设置startAngle时文本也跟随调整位置
    • (2023.04.12) 增加Radar对通配符{b}的支持
    • (2023.04.11) 修复Inspector在动态添加组件时可能异常的问题

    v3.6.0

    版本要点:

    • 增加InputSystem支持 (by Bian-Sh)
    • 增加官网在线示例多版本支持 (by SHL-COOL)
    • 完善对VR的支持 (by Ambitroc)
    • 增加UITableUIStatistic扩展UI组件
    • 增加ItemStyleMarkColor
    • 增加通配符{h}的支持
    • 优化TooltipLegendDataZoomAxis等组件
    • 重构相关API接口,完善回调接口
    • 修复若干问题

    升级注意:

    • 部分接口有调整,可根据提示更换下接口即可。

    日志详情:

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.14) 修复TooltiptitleFormater设置{b}可能不生效的问题
    • (2023.03.14) 修复BarChart在数据为0时不绘制柱条背景的问题 (#250) (by Ambitroc)
    • (2023.03.12) 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转
    • (2023.03.10) 增加VR等其他非鼠标输入方式的Point位置获取 (#248) (by Ambitroc)
    • (2023.03.09) 增加ChartonSerieClickonSerieDownonSerieEnteronSerieExit回调
    • (2023.03.09) 修复Pie的点击选中偏移不生效的问题
    • (2023.03.04) 增加LegendPositions可自定义图例的位置
    • (2023.03.03) 修复Animation变更动画可能无效的问题
    • (2023.02.28) 修复Legend点击时SerieLabel不刷新的问题
    • (2023.02.26) 增加DataZoomstartEndFunction委托
    • (2023.02.12) 重构Component相关代码,调整API接口
    • (2023.02.10) 修复AxisLog轴时某些情况下最小值不正确的问题
    • (2023.02.10) 优化Axis的数值Label的默认显示格式
    • (2023.02.08) 增加DataZoomstartLockendLock参数支持锁定
    • (2023.02.02) 修复DataZoom开启时X轴Label可能会显示在图表外的问题
    • (2023.02.02) 优化SerieDataignore设置时的忽略数据判断
    • (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) 删除SerieMarkColor,增加ItemStyleMarkColor
    • (2022.12.29) 增加EditorList+添加编辑功能
    • (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) 修复AxisValue轴在某些情况下计算数值范围不准确的问题
    • (2022.12.12) 优化Legendformatter支持{h}通配符
    • (2022.12.12) 修复Legendformatter设置为固定值时显示不正常的问题
    • (2022.12.08) 增加AreaStyletoTop参数可设置折线图渐变色是到顶部还是到实际位置
    • (2022.12.07) 增加Formatter的文本通配符{h}支持设置当前颜色值

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Convert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/configuration/index.html b/en/docs/v3.10.2/configuration/index.html index fe561bb8..50fdd2f7 100644 --- a/en/docs/v3.10.2/configuration/index.html +++ b/en/docs/v3.10.2/configuration/index.html @@ -14,13 +14,13 @@ 配置项手册 | XCharts - - + +
    Version: v3.10.2

    配置项手册

    Serie 系列

    Theme 主题

    MainComponent 主组件

    ChildComponent 子组件

    ISerieComponent 可添加到Serie的组件

    ISerieDataComponent 可添加到SerieData的组件

    Other 其他

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    参数默认版本描述
    startAngle0起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn, AnimationFadeOut, AnimationChange, AnimationAddition, AnimationHiding, AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    参数默认版本描述
    enabletruev3.8.0是否开启动画效果。
    reversefalsev3.8.0是否开启反向动画效果。
    delay0v3.8.0动画开始前的延迟时间。
    duration1000v3.8.0动画的时长。

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    参数默认版本描述
    widthv3.8.0宽度的多样式数值。 MLValue
    radiusv3.8.0半径的多样式数值。 MLValue
    offsetv3.8.0交互的多样式数值。如饼图的扇形选中时的偏移。 MLValue

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    参数默认版本描述
    enabletrue是否开启动画效果。
    type动画类型。
    AnimationType:
    - Default: 默认。内部会根据实际情况选择一种动画播放方式。
    - LeftToRight: 从左往右播放动画。
    - BottomToTop: 从下往上播放动画。
    - InsideOut: 由内到外播放动画。
    - AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    - Clockwise: 顺时针播放动画。
    easting
    AnimationEasing:
    - Linear:
    threshold2000是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
    unscaledTimev3.4.0动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。
    fadeInv3.8.0渐入动画配置。 AnimationFadeIn
    fadeOutv3.8.0渐出动画配置。 AnimationFadeOut
    changev3.8.0数据变更动画配置。 AnimationChange
    additionv3.8.0数据新增动画配置。 AnimationAddition
    hidingv3.8.0数据隐藏动画配置。 AnimationHiding
    interactionv3.8.0交互动画配置。 AnimationInteraction

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    区域填充样式。

    参数默认版本描述
    showtrue是否显示区域填充。
    origin区域填充的起始位置。
    AreaStyle.AreaOrigin:
    - Auto: 填充坐标轴轴线到数据间的区域。
    - Start: 填充坐标轴底部到数据间的区域。
    - End: 填充坐标轴顶部到数据间的区域。
    color区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。
    toColor渐变色的终点颜色。
    opacity0.6f图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    innerFillv3.2.0是否只填充多边形区域。目前只支持凸多边形。
    toToptruev3.6.0渐变色是到顶部还是到实际位置。默认为true到顶部。

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    width10箭头宽。
    height15箭头高。
    offset0箭头偏移。
    dent3箭头的凹度。
    colorColor.clear箭头颜色。

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis, ParallelAxis, RadiusAxis, SingleAxis, XAxis, YAxis

    直角坐标系的坐标轴组件。

    参数默认版本描述
    showtrue是否显示坐标轴。
    type坐标轴类型。
    Axis.AxisType:
    - Value: 数值轴。适用于连续数据。
    - Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    - Log: 对数轴。适用于对数数据。
    - Time: 时间轴。适用于连续的时序数据。
    minMaxType坐标轴刻度最大最小值显示类型。
    Axis.AxisMinMaxType:
    - Default: 0-最大值。
    - MinMax: 最小值-最大值。
    - Custom: 自定义最小值最大值。
    - MinMaxAuto: [since("v3.7.0")]最小值-最大值。自动计算合适的值。
    gridIndex坐标轴所在的 grid 的索引,默认位于第一个 grid。
    polarIndex坐标轴所在的 ploar 的索引,默认位于第一个 polar。
    parallelIndex坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
    position坐标轴在Grid中的位置。
    Axis.AxisPosition:
    - Left: 坐标轴在Grid中的位置
    - Right: 坐标轴在Grid中的位置
    - Bottom: 坐标轴在Grid中的位置
    - Top: 坐标轴在Grid中的位置
    offset坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
    min设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
    max设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
    splitNumber0坐标轴的期望的分割段数。默认为0表示自动分割。
    interval0强制设置坐标轴分割间隔。无法在类目轴中使用。
    boundaryGaptrue坐标轴两边是否留白。只对类目轴有效。
    maxCache0The first data will be remove when the size of axis data is larger then maxCache.
    logBase10对数轴的底数,只在对数轴(type:'Log')中有效。
    logBaseEfalse对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    inversefalse是否反向坐标轴。在类目轴中无效。
    clockwisetrue刻度增长是否按顺时针,默认顺时针。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    icons类目数据对应的图标。
    data类目数据,在类目轴(type: 'category')中有效。
    axisLine坐标轴轴线。 AxisLine
    axisName坐标轴名称。 AxisName
    axisTick坐标轴刻度。 AxisTick
    axisLabel坐标轴刻度标签。 AxisLabel
    splitLine坐标轴分割线。 AxisSplitLine
    splitArea坐标轴分割区域。 AxisSplitArea
    animation坐标轴动画。 AxisAnimation
    minorTickv3.2.0坐标轴次刻度。 AxisMinorTick
    minorSplitLinev3.2.0坐标轴次分割线。 AxisMinorSplitLine
    indicatorLabelv3.4.0指示器文本的样式。Tooltip为Cross时使用。 LabelStyle

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    参数默认版本描述
    showtrue是否开启动画。
    duration动画时长(ms)。 默认设置为0时,会自动获取serie的动画时长。
    unscaledTime动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    参数默认版本描述
    interval0坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    insidefalse刻度标签是否朝内,默认朝外。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。
    onZerofalse刻度标签显示在0刻度上。
    showStartLabeltrue是否显示第一个文本。
    showEndLabeltrue是否显示最后一个文本。
    textLimit文本限制。 TextLimit

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    参数默认版本描述
    onZeroX 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。
    showArrow是否显示箭头。
    arrow轴线箭头。 ArrowStyle

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    参数默认版本描述
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    参数默认版本描述
    splitNumber5分隔线之间分割的刻度数。
    autoColor

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    参数默认版本描述
    show是否显示坐标轴名称。
    name坐标轴名称。
    onZerov3.1.0坐标轴名称的位置是否保持和Y轴0刻度一致。
    labelStyle文本样式。 LabelStyle

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    参数默认版本描述
    show是否显示分隔区域。
    color分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    参数默认版本描述
    interval坐标轴分隔线的显示间隔。
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。
    showStartLinetruev3.3.0是否显示第一条分割线。
    showEndLinetruev3.3.0是否显示最后一条分割线。

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    参数默认版本描述
    alignWithLabel类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。
    inside坐标轴刻度是否朝内,默认朝外。
    showStartTick是否显示第一个刻度。
    showEndTick是否显示最后一个刻度。
    distance刻度线与轴线的距离。
    splitNumber0分隔线之间分割的刻度数。
    autoColor

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    参数默认版本描述
    showtrue是否启用背景组件。
    image背景图。
    imageType背景图填充类型。
    imageColor背景图颜色。
    imageWidth0v3.10.0背景图宽度。
    imageHeight0v3.10.0背景图高度。
    autoColortrue当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。
    borderStylev3.10.0背景边框样式。 BorderStyle

    Bar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme, RadiusAxisTheme, AngleAxisTheme, PolarAxisTheme, RadarAxisTheme

    参数默认版本描述
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f坐标轴线宽。
    lineLength0f坐标轴线长。
    lineColor坐标轴线颜色。
    splitLineType分割线线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    splitLineWidth1f分割线线宽。
    splitLineLength0f分割线线长。
    splitLineColor分割线线颜色。
    minorSplitLineColor次分割线线颜色。
    tickWidth1f刻度线线宽。
    tickLength5f刻度线线长。
    tickColor坐标轴线颜色。
    splitAreaColors坐标轴分隔区域的颜色。

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine, AxisMinorSplitLine, AxisMinorTick, AxisSplitLine, AxisTick

    线条基础配置。

    参数默认版本描述
    show是否显示坐标轴轴线。
    lineStyle线条样式 LineStyle

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer / 子类: EffectScatter, Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    BorderStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    边框样式。

    参数默认版本描述
    showfalse是否显示边框。
    borderWidth边框宽度。
    borderColor边框颜色。
    roundedCornertrue是否显示圆角。
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。当为(1,1,1,1)时为全圆角。

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Candlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ChartText

    class in XCharts.Runtime

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle, AxisAnimation, AxisName, AxisSplitArea, AreaStyle, ArrowStyle, BaseLine, BorderStyle, IconStyle, ImageStyle, ItemStyle, Level, LevelStyle, LineArrow, LineStyle, Location, MLValue, MarqueeStyle, Padding, StageColor, SymbolStyle, TextLimit, TextStyle, CommentItem, CommentMarkStyle, LabelLine, LabelStyle, MarkAreaData, MarkLineData, StateStyle, VisualMapRange, UIComponentTheme, SerieData, SerieDataLink, ComponentTheme, SerieTheme, ThemeStyle

    Comment

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图表注解组件。

    参数默认版本描述
    showtrue是否显示注解组件。
    labelStyle所有组件的文本样式。 LabelStyle
    markStyle所有组件的文本样式。 CommentMarkStyle
    items注解项。每个注解组件可以设置多个注解项。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    参数默认版本描述
    showtrue是否显示当前注解项。
    content注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。
    markRect注解区域。
    markStyle注解标记区域样式。 CommentMarkStyle
    labelStyle注解项的文本样式。 LabelStyle
    locationv3.5.0Comment显示的位置。 Location

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    参数默认版本描述
    showtrue是否显示当前注解项。
    lineStyle线条样式。 LineStyle

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme, DataZoomTheme, LegendTheme, SubTitleTheme, TitleTheme, TooltipTheme, VisualMapTheme

    参数默认版本描述
    font字体。
    textColor文本颜色。
    textBackgroundColor文本颜色。
    fontSize18文本字体大小。
    tMPFont字体。

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord, CalendarCoord, GridCoord, ParallelCoord, PolarCoord, SingleAxisCoord

    坐标系系统。

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    参数默认版本描述
    enabletrue是否显示缩放区域。
    filterMode数据过滤类型。
    DataZoom.FilterMode:
    - Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    - WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    - Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    - None: 不过滤数据,只改变数轴范围。
    xAxisIndexs控制的 x 轴索引列表。
    yAxisIndexs控制的 y 轴索引列表。
    supportInside是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
    supportInsideScrolltrue是否支持坐标系内滚动
    supportInsideDragtrue是否支持坐标系内拖拽
    supportSlider是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。
    supportMarquee是否支持框选。提供一个选框进行数据区域缩放。
    showDataShadow是否显示数据阴影。数据阴影可以简单地反应数据走势。
    showDetail是否显示detail,即拖拽时候显示详细数值信息。
    zoomLock是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    borderWidth边框宽。
    backgroundColor组件的背景颜色。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    rangeMode取绝对值还是百分比。
    DataZoom.RangeMode:
    - //Value: The value type of start and end.取值类型
    - Percent: 百分比。
    start数据窗口范围的起始百分比。范围是:0 ~ 100。
    end数据窗口范围的结束百分比。范围是:0 ~ 100。
    minShowNum2最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。
    scrollSensitivity1.1f缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。
    orient布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    labelStyle文本标签格式。 LabelStyle
    lineStyle阴影线条样式。 LineStyle
    areaStyle阴影填充样式。 AreaStyle
    marqueeStylev3.5.0选取框样式。 MarqueeStyle
    startLockv3.6.0固定起始值,不让改变。
    endLockv3.6.0固定结束值,不让改变。

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    borderWidth边框线宽。
    dataLineWidth数据阴影线宽。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    dataLineColor数据阴影的线条颜色。
    dataAreaColor数据阴影的填充颜色。
    backgroundColor背景颜色。

    DebugInfo

    class in XCharts.Runtime

    参数默认版本描述
    showtrue是否显示Debug组件。
    showDebugInfofalse
    showAllChartObjectfalse是否在Hierarchy试图显示所有chart下的节点。
    foldSeriesfalse是否在Inspector上折叠Serie。
    labelStyleLabelStyle

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    参数默认版本描述
    scale1.1f高亮时的缩放倍数。
    focus在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。
    EmphasisStyle.FocusType:
    - None: 不淡出其它图形,默认使用该配置。
    - Self: 只聚焦(不淡出)当前高亮的数据的图形。
    - Series: 聚焦当前高亮的数据所在的系列的所有图形。
    blurScope在开启focus的时候,可以通过blurScope配置淡出的范围。
    EmphasisStyle.BlurScope:
    - GridCoord: 淡出范围为坐标系,默认使用该配置。
    - Series: 淡出范围为系列。
    - Global: 淡出范围为全局。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    layoutIndex-1v3.8.0网格所属的网格布局组件的索引。默认为-1,表示不属于任何网格布局组件。当设置了该值时,left、right、top、bottom属性将失效。
    left0.11fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.14fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。
    showBorderfalse是否显示网格边框。
    borderWidth0f网格边框宽。
    borderColor网格边框颜色。

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    row2网格布局的行数。
    column2网格布局的列数。
    spacingVector2.zero网格布局的间距。
    inversefalse是否反转网格布局。

    Heatmap

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    heatmapTypev3.3.0热力图类型。通过颜色映射划分。
    HeatmapType:
    - Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    - Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    showfalse是否显示图标。
    layer显示在上层还是在下层。
    IconStyle.Layer:
    - UnderText: The icon is display under the label text. 图标在标签文字下
    - AboveText: The icon is display above the label text. 图标在标签文字上
    align水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    sprite图标的图片。
    type图片的显示类型。
    color图标颜色。
    width20图标宽。
    height20图标高。
    offset图标偏移。
    autoHideWhenLabelEmptyfalse当label内容为空时是否自动隐藏图标

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    参数默认版本描述
    showtrue是否显示图标。
    sprite图标的图片。
    type图片的显示类型。
    autoColor是否自动颜色。
    color图标颜色。
    width0图标宽。
    height0图标高。

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    参数默认版本描述
    name指示器名称。
    max指示器的最大值,默认为 0 无限制。
    min指示器的最小值,默认为 0 无限制。
    range正常值范围。当数值不在这个范围时,会自动变更显示颜色。
    show是否显示雷达坐标系组件。
    shape雷达图绘制类型,支持 'Polygon' 和 'Circle'。
    radius100雷达图的半径。
    splitNumber5指示器轴的分割段数。
    center雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    axisLine轴线。 AxisLine
    axisName雷达图每个指示器名称的配置项。 AxisName
    splitLine分割线。 AxisSplitLine
    splitArea分割区域。 AxisSplitArea
    indicatortrue是否显示指示器。
    positionType显示位置类型。
    indicatorGap10指示器和雷达的间距。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    isAxisTooltip是否Tooltip显示轴线上的所有数据。
    outRangeColorColor.red数值超出范围时显示的颜色。
    connectCenterfalse数值是否连线到中心点。
    lineGradienttrue数值线段是否需要渐变。
    startAnglev3.4.0起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    indicatorList指示器列表。

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Radar, BaseScatter

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location, Comment, Legend, Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, LineArrow, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord, CalendarCoord, GridCoord, ParallelCoord, PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, ItemStyle, LineStyle, SerieSymbol, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar, SimplifiedCandlestick, SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    图形样式。

    参数默认版本描述
    showtrue是否启用。
    color数据项颜色。
    color0数据项颜色。
    toColor渐变色的颜色1。
    toColor2渐变色的颜色2。只在折线图中有效。
    markColorv3.6.0Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。
    backgroundColor数据项背景颜色。
    backgroundWidth数据项背景宽度。
    centerColor中心区域颜色。
    centerGap中心区域间隙。
    borderWidth0边框宽。
    borderGap0边框间隙。
    borderColor边框的颜色。
    borderColor0边框的颜色。
    borderToColor边框的渐变色。
    opacity1透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    itemMarker提示框单项的字符标志。用在Tooltip中。
    itemFormatter提示框单项的字符串模版格式器。具体配置参考Tooltipformatter
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis, DataZoom, CalendarCoord, GridCoord, GridLayout, ParallelCoord

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    标签的引导线

    参数默认版本描述
    showtrue是否显示视觉引导线。
    lineType视觉引导线类型。
    LabelLine.LineType:
    - BrokenLine: 折线
    - Curves: 曲线
    - HorizontalLine: 水平线
    lineColorColor32(0,0,0,0)视觉引导线颜色。默认和serie一致取自调色板。
    lineAngle60视觉引导线的固定角度。对折线和曲线有效。在Pie中无效。
    lineWidth1.0f视觉引导线的宽度。
    lineGap1.0f视觉引导线和容器的间距。
    lineLength125f视觉引导线第一段的长度。
    lineLength215f视觉引导线第二段的长度。
    lineEndX0fv3.8.0视觉引导线结束点的固定x位置。当不为0时,会代替lineLength2设定引导线的x位置。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent / 子类: AxisLabel, EndLabelStyle, TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    参数默认版本描述
    showtrue是否显示文本标签。
    Position标签的位置。
    autoOffsetfalse是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。
    offset距离图形元素的偏移
    rotate文本的旋转。
    autoRotatefalsev3.6.0是否自动旋转。
    distance距离轴线的距离。
    formatter标签内容字符串模版格式器。支持用 \n 换行。部分组件的格式器会不生效。
    模板通配符有以下这些,部分只适用于固定的组件:
    {.}:圆点标记。
    {a}:系列名。
    {b}:X轴类目名或数据名。
    {c}:数据值。
    {d}:百分比。
    {e}:数据名。
    {f}:数据和。
    {g}:数据总个数。
    {h}:十六进制颜色值。
    {y}:Y轴的类目名。
    {value}:坐标轴或图例的值。
    以下通配符适用UITable组件:
    {name}: 表格的行名。
    {index}:表格的行号。
    以下通配符适用UIStatistc组件:
    {title}:标题文本。
    {dd}:天。
    {hh}:小时。
    {mm}:分钟。
    {ss}:秒。
    {fff}:毫秒。
    {d}:天。
    {h}:小时。
    {m}:分钟。
    {s}:秒。
    {f}:毫秒。
    示例:“{b}:{c}”
    numericFormatter标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式常见的格式:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:yyyy-MM-dd HH:mm:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    width0标签的宽度。一般不用指定,不指定时则自动是文字的宽度。
    height0标签的高度。一般不用指定,不指定时则自动是文字的高度。
    icon图标样式。 IconStyle
    background背景图样式。 ImageStyle
    textPadding文本的边距。 TextPadding
    textStyle文本样式。 TextStyle

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    Legend

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    参数默认版本描述
    showtrue是否显示图例组件。
    iconType图例类型。
    Legend.Type:
    - Auto: 自动匹配。
    - Custom: 自定义图标。
    - EmptyCircle: 空心圆。
    - Circle: 圆形。
    - Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    - Triangle: 三角形。
    - Diamond: 菱形。
    - Candlestick: 烛台(可用于K线图)。
    selectedMode选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。
    Legend.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    - None: 无法选择。
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location图例显示的位置。 Location
    itemWidth25.0f图例标记的图形宽度。
    itemHeight12.0f图例标记的图形高度。
    itemGap10f图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
    itemAutoColortrue图例标记的图形是否自动匹配颜色。
    itemOpacity1图例标记的图形的颜色透明度。
    formatter不再使用,使用LabelStyle.formatter代替。
    labelStyle文本样式。 LabelStyle
    textLimitv3.10.0文本限制。 TextLimit
    data图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。
    icons自定义的图例标记图形。
    colors图例标记的颜色列表。
    backgroundv3.1.0背景图样式。 ImageStyle
    paddingv3.1.0图例标记和背景的间距。 Padding
    positionsv3.6.0图例标记的自定义位置列表。

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    unableColor文本颜色。

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    depth0v3.10.0层级深度。
    label文本标签样式。 LabelStyle
    upperLabel上方的文本标签样式。 LabelStyle
    lineStylev3.10.0线条样式。 LineStyle
    itemStyle数据项样式。 ItemStyle

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    参数默认版本描述
    showfalse是否启用LevelStyle
    levels各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    Line

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent

    参数默认版本描述
    show是否显示箭头。
    position箭头位置。
    LineArrow.Position:
    - End: 末端箭头
    - Start: 头端箭头
    arrow箭头。 ArrowStyle

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    参数默认版本描述
    showtrue是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。
    type线的类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    color线的颜色。
    toColor线的渐变颜色(需要水平方向渐变时)。
    toColor2线的渐变颜色2(需要水平方向三个渐变色的渐变时)。
    width0线宽。
    length0线长。
    opacity1线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    dashLength4v3.8.1虚线的长度。默认0时为线条宽度的12倍。在折线图中代表分割段数的倍数。
    dotLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。
    gapLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。

    Location

    class in XCharts.Runtime / 继承自: ChildComponent, IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    参数默认版本描述
    align对齐方式。
    Location.Align:
    - TopLeft: 对齐方式
    - TopRight: 对齐方式
    - TopCenter: 对齐方式
    - BottomLeft: 对齐方式
    - BottomRight: 对齐方式
    - BottomCenter: 对齐方式
    - Center: 对齐方式
    - CenterLeft: 对齐方式
    - CenterRight: 对齐方式
    left离容器左侧的距离。
    right离容器右侧的距离。
    top离容器上侧的距离。
    bottom离容器下侧的距离。

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis, Background, Comment, DataZoom, Legend, MarkArea, MarkLine, Settings, Title, Tooltip, VisualMap, GridLayout, CoordSystem

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    参数默认版本描述
    showtrue是否显示标域。
    textThe text of markArea. 标域显示的文本。
    serieIndex0Serie index of markArea. 标域影响的Serie索引。
    start标域范围的起始数据。 MarkAreaData
    end标域范围的结束数据。 MarkAreaData
    itemStyle标域样式。 ItemStyle
    label标域文本样式。 LabelStyle

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    参数默认版本描述
    type特殊的标域类型,用于标注最大值最小值等。
    MarkAreaType:
    - None: 标域类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标注名称。会作为文字显示。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    参数默认版本描述
    showtrue是否显示标线。
    serieIndex0标线影响的Serie索引。
    onToptruev3.9.0是否在最上层。
    animation标线的动画样式。 AnimationStyle
    data标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    参数默认版本描述
    type特殊的标线类型,用于标注最大值最小值等。
    MarkLineType:
    - None: 标线类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    group0分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。
    zeroPositionfalse是否为坐标系原点。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle
    lineStyle标线样式。 LineStyle
    label文本样式。可设置position为Start、Middle和End在不同的位置显示文本。 LabelStyle

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    参数默认版本描述
    applyfalsev3.5.0选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。
    realRectfalsev3.5.0是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。
    areaStylev3.5.0选取框区域填充样式。 AreaStyle
    lineStylev3.5.0选取框区域边框样式。 LineStyle

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    参数默认版本描述
    type
    MLValue.Type:
    - Percent: 百分比形式。
    - Absolute: 绝对值形式。
    - Extra: 额外形式。
    value

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    参数默认版本描述
    showtrueshow padding. 是否显示。
    top0顶部间距。
    right2f右部间距。
    left2f左边间距。
    bottom0底部间距。

    Parallel

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    orient坐标轴朝向。默认为垂直朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。

    Pie

    class in XCharts.Runtime / 继承自: Serie

    参数默认版本描述
    radiusGradientfalsev3.8.1是否开启半径方向的渐变效果。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    参数默认版本描述
    showtrue是否显示极坐标。
    center极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    backgroundColor极坐标的背景色,默认透明。
    indicatorLabelOffset30fv3.8.0指示器标签的偏移量。

    Radar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    smoothfalsev3.2.0是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    Ring

    class in XCharts.Runtime / 继承自: Serie

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie, IComparable / 子类: SerieHandler<T>, Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Pie, Radar, Ring, BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    参数默认版本描述
    index系列索引。
    showtrue系列是否显示在图表上。
    coordSystem使用的坐标系。
    serieType系列类型。
    serieName系列名称,用于 tooltip 的显示,legend 的图例筛选。
    statev3.2.0系列的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    colorByv3.2.0从主题中取色的策略。
    SerieColorBy:
    - Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略。
    - Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    - Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。
    stack数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。
    xAxisIndex0使用X轴的index。
    yAxisIndex0使用Y轴的index。
    radarIndex0雷达图所使用的 radar 组件的 index。
    vesselIndex0水位图所使用的 vessel 组件的 index。
    polarIndex0所使用的 polar 组件的 index。
    singleAxisIndex0所使用的 singleAxis 组件的 index。
    parallelIndex0所使用的 parallel coord 组件的 index。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    minShow系列所显示数据的最小索引
    maxShow系列所显示数据的最大索引
    maxCache系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。
    sampleDist0采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。
    sampleType采样类型。当sampleDist大于0时有效。
    SampleType:
    - Peak: 取峰值。
    - Average: 取过滤点的平均值。
    - Max: 取过滤点的最大值。
    - Min: 取过滤点的最小值。
    - Sum: 取过滤点的和。
    sampleAverage0设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。
    lineType折线图样式类型。
    LineType:
    - Normal: 普通折线图。
    - Smooth: 平滑曲线。
    - StepStart: 阶梯线图:当前点。
    - StepMiddle: 阶梯线图:当前点和下一个点的中间。
    - StepEnd: 阶梯线图:下一个拐点。
    smoothLimitfalsev3.4.0是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。
    barType柱形图类型。
    BarType:
    - Normal: 普通柱形图。
    - Zebra: 斑马柱形图。
    - Capsule: 胶囊柱形图。
    barPercentStackfalse柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。
    barWidth0柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。
    barMaxWidth0v3.5.0柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。
    barGap0.1f不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。
    barZebraWidth4f斑马线的粗细。
    barZebraGap2f斑马线的间距。
    min最小值。
    max最大值。
    minSize0f数据最小值 min 映射的宽度。
    maxSize1f数据最大值 max 映射的宽度。
    startAngle起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    endAngle结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    minAngle最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。
    clockwisetrue是否顺时针。
    roundCap是否开启圆弧效果。
    splitNumber刻度分割段数。最大可设置36。
    clickOffsettrue鼠标点击时是否开启偏移,一般用在PieChart图表中。
    roseType是否展示成南丁格尔图,通过半径区分数据大小。
    RoseType:
    - None: 不展示成南丁格尔玫瑰图。
    - Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    - Area: 所有扇区圆心角相同,仅通过半径展现数据大小。
    gap间距。
    center中心点。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    minRadius0fv3.8.0最小半径。可用于限制玫瑰图的最小半径。
    minShowLabelfalsev3.10.0是否开启值小于指定值minShowLabelValue时不显示标签。
    minShowLabelValue0v3.10.0当开启minShowLabel时,值小于该值时不显示标签。
    showDataDimension数据项里的数据维数。
    showDataName在Editor的inpsector上是否显示name参数
    clipfalse是否裁剪超出坐标系部分的图形。
    ignorefalse是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。
    ignoreValue0忽略数据的默认值。当ignore为true才有效。
    ignoreLineBreakfalse忽略数据时折线是断开还是连接。默认false为连接。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。
    largetrue是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。
    largeThreshold200开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。
    avoidLabelOverlapfalse在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。
    radarType雷达图类型。
    RadarType:
    - Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    - Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]
    placeHolderfalse占位模式。占位模式时,数据有效但不参与渲染和显示。
    dataSortType组件的数据排序。
    SerieDataSortType:
    - None: 按数据的顺序。
    - Ascending: 升序。
    - Descending: 降序。
    orient组件的朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    align组件水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    lineStyle线条样式。 LineStyle
    symbol标记的图形。 SerieSymbol
    animation起始动画。 AnimationStyle
    itemStyle图形样式。 ItemStyle
    data系列中的数据内容数组。SerieData可以设置1到n维数据。

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    参数默认版本描述
    index数据项索引。
    name数据项名称。
    id数据项的唯一id。唯一id不是必须设置的。
    parentId父节点id。父节点id不是必须设置的。
    ignore是否忽略数据。当为 true 时,数据不进行绘制。
    selected该数据项是否被选中。
    radius自定义半径。可用在饼图中自定义某个数据项的半径。
    statev3.2.0数据项的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    data可指定任意维数的数值列表。

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    数据节点之间的连线。可用于桑基图等,桑基图只支持有向无环图,请保证数据的连线是有向无环图。

    参数默认版本描述

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle, ISerieDataComponent

    系列数据项的标记的图形

    参数默认版本描述
    sizeType标记图形的大小获取方式。
    SymbolSizeType:
    - Custom: 自定义大小。
    - FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    - Function: 通过委托函数获取。
    dataIndex1当sizeType指定为FromData时,指定的数据源索引。
    dataScale1当sizeType指定为FromData时,指定的倍数系数。
    sizeFunction当sizeType指定为Function时,指定的委托函数。
    startIndex开始显示图形标记的索引。
    interval显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    forceShowLastfalse是否强制显示最后一个图形标记。
    repeatfalse图形是否重复。
    minSize0fv3.3.0图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。
    maxSize0fv3.3.0图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    lineWidth文本颜色。
    lineSymbolSize折线图的Symbol大小。
    scatterSymbolSize散点图的Symbol大小。
    candlestickColorColor32(235, 84, 84, 255)K线图阳线(涨)填充色
    candlestickColor0Color32(71, 178, 98, 255)K线图阴线(跌)填充色
    candlestickBorderWidth1K线图边框宽度
    candlestickBorderColorColor32(235, 84, 84, 255)K线图阳线(跌)边框色
    candlestickBorderColor0Color32(71, 178, 98, 255)K线图阴线(跌)边框色

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    参数默认版本描述
    showtrue
    maxPainter10设定的painter数量。
    reversePainterfalsePainter是否逆序。逆序时index大的serie最先绘制。
    basePainterMaterialBase Pointer 材质球,设置后会影响Axis等。
    seriePainterMaterialSerie Pointer 材质球,设置后会影响所有Serie。
    upperPainterMaterialUpper Pointer 材质球。
    topPainterMaterialTop Pointer 材质球。
    lineSmoothStyle2.5f曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。
    lineSmoothness2fWhen the area with gradient is filled, the larger the value, the worse the transition effect.
    lineSegmentDistance3f线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。
    cicleSmoothness2f圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。
    legendIconLineWidth2Line类型图例图标的线条宽度。
    legendIconCornerRadius图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    axisMaxSplitNumber50v3.1.0坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis, IUpdateRuntimeData

    单轴。

    参数默认版本描述
    orient坐标轴朝向。默认为水平朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1f组件离容器左侧的距离。
    right0.1f组件离容器右侧的距离。
    top0f组件离容器上侧的距离。
    bottom0.2f组件离容器下侧的距离。
    width0坐标轴宽。
    height50坐标轴高。

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    percent结束位置百分比。
    color颜色。

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle, EmphasisStyle, SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    参数默认版本描述
    showtrue是否启用高亮样式。
    label图形文本标签。 LabelStyle
    labelLine图形文本引导线样式。 LabelLine
    itemStyle图形样式。 ItemStyle
    lineStyle折线样式。 LineStyle
    areaStyle区域样式。 AreaStyle
    symbol标记样式。 SerieSymbol

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    参数默认版本描述
    showtrue是否显示标记。
    type标记类型。
    SymbolType:
    - None: 不显示标记。
    - Custom: 自定义标记。
    - Circle: 圆形。
    - EmptyCircle: 空心圆。
    - Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    - EmptyRect: 空心正方形。
    - Triangle: 三角形。
    - EmptyTriangle: 空心三角形。
    - Diamond: 菱形。
    - EmptyDiamond: 空心菱形。
    - Arrow: 箭头。
    - EmptyArrow: 空心箭头。
    - Plus: 加号。
    - Minus: 减号。
    size0f标记的大小。
    gap0图形标记和线条的间隙距离。
    width0f图形的宽。
    height0f图形的高。
    offsetVector2.zero图形的偏移。
    image自定义的标记图形。
    imageType图形填充类型。
    color图形的颜色。

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    参数默认版本描述
    enablefalse是否启用文本自适应。 [default:true]
    maxWidth0Clipping occurs when the width of the text is greater than this value.
    gap1两边留白像素距离。 [default:10f]
    suffix长度超出时的后缀。 [default: "..."]

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    参数默认版本描述
    showtrue文本的相关设置。
    font文本字体。 [default: null]
    autoWrapfalse是否自动换行。
    autoAligntrue文本是否让系统自动选对齐方式。为false时才会用alignment。
    rotate0文本的旋转。 [default: 0f]
    autoColorfalse是否开启自动颜色。当开启时,会自动设置颜色。
    color文本的颜色。 [default: Color.clear]
    fontSize0文本字体大小。 [default: 18]
    fontStyle文本字体的风格。 [default: FontStyle.Normal]
    lineSpacing1f行间距。 [default: 1f]
    alignment对齐方式。
    tMPFontTextMeshPro字体。
    tMPFontStyle
    tMPAlignment
    tMPSpriteAssetv3.1.0

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    参数默认版本描述
    themeType主题类型。
    ThemeType:
    - Default: 默认主题。
    - Light: 亮主题。
    - Dark: 暗主题。
    - Custom: 自定义主题。
    themeName主题名称。
    font主题字体。
    tMPFont主题字体。
    contrastColor对比色。
    backgroundColor背景颜色。
    colorPalette调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
    commonComponentTheme
    titleTitleTheme
    subTitleSubTitleTheme
    legendLegendTheme
    axisAxisTheme
    tooltipTooltipTheme
    dataZoomDataZoomTheme
    visualMapVisualMapTheme
    serieSerieTheme

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    参数默认版本描述
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse是否透明背景颜色。当设置为true时,不绘制背景颜色。
    enableCustomThemefalse是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。
    customFont
    customBackgroundColor自定义的背景颜色。
    customColorPalette

    Title

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    标题组件,包含主标题和副标题。

    参数默认版本描述
    showtrue是否显示标题组件。
    text主标题文本,支持使用 \n 换行。
    subText副标题文本,支持使用 \n 换行。
    labelStyle主标题文本样式。 LabelStyle
    subLabelStyle副标题文本样式。 LabelStyle
    itemGap0主副标题之间的间距。
    location标题显示位置。 Location

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle, ISerieDataComponent, ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    参数默认版本描述
    showtrue是否显示提示框组件。
    type提示框指示器类型。
    Tooltip.Type:
    - Line: 直线指示器
    - Shadow: 阴影指示器
    - None: 无指示器
    - Corss: 十字准星指示器。坐标轴显示Label和交叉线。
    - Auto: 根据serie的类型自动选择显示指示器。
    trigger触发类型。
    Tooltip.Trigger:
    - Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    - Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    - None: 什么都不触发。
    - Auto: 根据serie的类型自动选择触发类型。
    positionv3.3.0显示位置类型。
    Tooltip.Position:
    - Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    - Custom: 自定义。完全自定义显示位置(x,y)。
    - FixedX: 只固定坐标X。Y跟随鼠标位置。
    - FixedY:
    itemFormatter提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用
    titleFormatter提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {f}为value所对应的y轴的类目值。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
    markerserie的符号标志。
    fixedWidth0固定宽度。比 minWidth 优先。
    fixedHeight0固定高度。比 minHeight 优先。
    minWidth0最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。
    minHeight0最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。
    numericFormatter标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式常见的格式:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:yyyy-MM-dd HH:mm:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    paddingLeftRight10左右边距。
    paddingTopBottom10上下边距。
    ignoreDataShowfalse是否显示忽略数据在tooltip上。
    ignoreDataDefaultContent被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。
    showContenttrue是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。
    alwayShowContentfalse是否触发后一直显示提示框浮层。
    offsetVector2(18f, -25f)提示框相对于鼠标位置的偏移。
    backgroundImage提示框的背景图片。
    backgroundType提示框的背景图片显示类型。
    backgroundColor提示框的背景颜色。
    borderWidth2f边框线宽。
    fixedX0f固定X位置的坐标。
    fixedY0.7f固定Y位置的坐标。
    titleHeight25f标题文本的高。
    itemHeight25f数据项文本的高。
    borderColorColor32(230, 230, 230, 255)边框颜色。
    lineStyle指示线样式。 LineStyle
    titleLabelStyle标题的文本样式。 LabelStyle
    contentLabelStyles内容部分的文本样式列表。和列一一对应。

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f指示线线宽。
    lineColor指示线颜色。
    areaColor区域指示的颜色。
    labelTextColor十字指示器坐标轴标签的文本颜色。
    labelBackgroundColor十字指示器坐标轴标签的背景颜色。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    参数默认版本描述
    showtrue组件是否生效。
    showUIfalse是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。
    type组件类型。
    VisualMap.Type:
    - Continuous: 连续型。
    - Piecewise: 分段型。
    selectedMode选择模式。
    VisualMap.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    serieIndex0影响的serie索引。
    min0范围最小值
    max0范围最大值
    range指定手柄对应数值的位置。range 应在[min,max]范围内。
    text两端的文本,如 ['High', 'Low']
    textGap两端文字主体之间的距离,单位为px。
    splitNumber5对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。
    calculablefalse是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。
    realtimetrue拖拽时,是否实时更新。
    itemWidth20f图形的宽度,即颜色条的宽度。
    itemHeight140f图形的高度,即颜色条的高度。
    itemGap10f每个图元之间的间隔距离。
    borderWidth0边框线宽,单位px。
    dimension-1Starting at 1, the default is 0 to take the last dimension in data.
    autoMinMaxtrueAutomatically set min, Max value 自动设置min,max的值
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location组件显示的位置。 Location
    workOnLinetrue组件是否对LineChart的LineStyle有效。
    workOnAreafalse组件是否对LineChart的AreaStyle有效。
    outOfRange定义 在选中范围外 的视觉颜色。
    inRange分段式每一段的相关配置。

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    min范围最小值
    max范围最大值
    label文字描述
    color颜色

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    borderWidth边框线宽。
    borderColor边框颜色。
    backgroundColor背景颜色。
    triangeLen20f可视化组件的调节三角形边长。

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    class in XCharts.Runtime

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    参数默认版本描述
    langLang
    font
    tMPFont
    fontSizeLv128一级字体大小。
    fontSizeLv224
    fontSizeLv320
    fontSizeLv418
    axisLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisLineWidth0.8f
    axisSplitLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisSplitLineWidth0.8f
    axisTickWidth0.8f
    axisTickLength5f
    gaugeAxisLineWidth15f
    gaugeAxisSplitLineWidth0.8f
    gaugeAxisSplitLineLength15f
    gaugeAxisTickWidth0.8f
    gaugeAxisTickLength5f
    tootipLineWidth0.8f
    dataZoomBorderWidth0.5f
    dataZoomDataLineWidth0.5f
    visualMapBorderWidth0f
    serieLineWidth1.8f
    serieLineSymbolSize5f
    serieScatterSymbolSize20f
    serieSelectedRate1.3f
    serieCandlestickBorderWidth1f
    editorShowAllListDatafalse
    maxPainter10
    lineSmoothStyle3f
    lineSmoothness2f
    lineSegmentDistance3f
    cicleSmoothness2f
    visualMapTriangeLen20f
    customThemes

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/extra/index.html b/en/docs/v3.10.2/extra/index.html index 847719c1..27fc1937 100644 --- a/en/docs/v3.10.2/extra/index.html +++ b/en/docs/v3.10.2/extra/index.html @@ -14,13 +14,13 @@ 扩展图表 | XCharts - - + +
    Version: v3.10.2

    扩展图表

    XCharts的扩展图表。

    支持的扩展图表

    扩展图表如何导入到XCharts-Demo

    Pie3DChart 为例:

    1. 购买图表:购买扩展图表后,Github找到仓库 XCharts-Pie3DChart(私有仓库,购买后加入Team才可见)
    2. 下载图表:选择和XCharts最接近的版本
    3. 导入图表:将下载好的XCharts-Pie3DChart目录覆盖到XCharts-Demo项目中的Packages/XCharts-Pie3DChart
    4. 下载图表Demo:Github找到仓库 XCharts-Pie3DChart-Demo并下载
    5. 导入图表Demo:将下载好的XCharts-Pie3DChart-Demo目录覆盖到XCharts-Demo项目中的Assets/XChartsExtensionDemo/XCharts-Pie3DChart-Demo

    扩展图表如何导入自己的项目中

    Pie3DChart 为例:

    1. 先确保项目中已导入XCharts
    2. 再导入XCharts-Pie3DChart即可,不需要导入XCharts-Pie3DChart-Demo(如果要导入的话需要Unity版本接近2019.4.39f1)
    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/faq/index.html b/en/docs/v3.10.2/faq/index.html index 3753a6a9..91aaad35 100644 --- a/en/docs/v3.10.2/faq/index.html +++ b/en/docs/v3.10.2/faq/index.html @@ -14,8 +14,8 @@ 常见问题 | XCharts - - + +
    @@ -54,7 +54,7 @@ FAQ 33:折线图如何两边不留空白而从0坐标开始显示?
    FAQ 34:如何设置部分Serie不显示Tooltip?

    如何调整坐标轴与背景的边距

    调整Grid组件,可调整上下左右边距。

    如何让初始动画重新播放

    调用chart.AnimationReset()接口。

    如何自定义折线图饼图的颜色

    通过ThemecolorPalette调整,或者部分Serie下的LineStyleItemStyle

    如何给坐标轴上的文本加上单位

    通过formatternumericFormatter参数,在LegendAxisAxisLabelTooltopSerieLabel都提供该参数的配置。

    如何让柱形图的柱子堆叠显示

    设置Serie下的stackstack相同的serie会堆叠显示在一个柱子上。

    如何让柱形图的柱子同柱但不重叠

    设置Serie下的barGap-1stack为空。

    如何调整柱形图的柱子宽度和间距

    调整Serie下的barWidthbarGap,多个serie时最后一个seriebarWidthbarGap有效。

    如何调整柱形图单个柱子的颜色

    可通过调整单个Data下的ItemStyle调整,也可以通过两个serie同柱不堆叠来实现,通过设置数据项为0来达到类似效果。

    如何调整图表的对齐方式

    调整RectTransform的锚点,和UGUI的其他组件的用法一致。

    可以显示超过1000以上的大数据吗

    可以。但UGUI对单个Graphic限制65000个顶点,所以太多的数据不一定能显示完全。可通过设置采样距离sampleDist开启采样简化过密曲线。也可以通过设置一些参数来减少图表的顶点数有助于显示更多数据。如缩小图表的尺寸,关闭或减少坐标轴的客户端绘制,关闭Seriesymbollabel显示等。折线图的普通线图Normal比平滑线图Smooth占用顶点数更少。1.5.0以上版本可以设置largelargeThreshold参数来开启性能模式。

    折线图可以画虚线点线点划线吗

    可以。通过Serie下的lineType选择线条样式。当要显示的数据过多(成千以上)数据间过密时建议使用Normal或者Step样式。

    如何限定y轴的值范围

    设置Axis下的minMaxTypeCustom,自定义minmax

    如何自定义数值轴刻度大小

    默认时通过Axis下的splitNumer进行自动划分。也可以设置interval自定义刻度大小。

    如何在数据项顶上显示文本

    通过设置Serie下的Label。3.0版本需要先添加LabelStyle组件。

    如何给数据项自定义图标

    通过设置Seriedata下的数据项可单独设置icon相关参数。

    锯齿太严重如何让图表更顺滑

    开启抗锯齿设置(在Unity里设置)。调整UI渲染模式为Camera模式,开启MSAA,设置4倍或更高抗锯齿。

    为什么鼠标移上图表tooltip不显示

    确认Tooltip是否开启;确认父节点是否关闭了鼠标事件。

    如何取消tooltip的竖线

    设置TooltiptypeNone。或者调整lineStyle的参数。

    如何自定义tooltip的显示内容

    自定义总的内容可以通过Tooltipformatter。如果只是想调整所有的serie的显示格式可以用itemFormattertitleFormatter结合。如果想每个serie的显示格式不一样,可以定制serieitemStyle里的tooltipFormatter。具体的用法请查阅XCharts配置项手册

    如何让y轴显示多位小数

    设置Axis下的AxisLabel中的formatter{value:f1}{value:f2}1.5.0及以上版本通过numericFormatter设置。

    如何用代码动态更新数据

    请查阅Example下的代码,Example13_LineSimple.cs就是一个简单添加数据构建折线图的例子,其他Demo也都是通过代码控制不同的组件实现不同的功能,相关API请查看文档:XChartsAPI接口

    如何显示图例为什么有时候图例无法显示

    首先,你的serie里的name需有值不为空。然后开启Legend显示,里面的data可以默认为空,表示显示所有的图例。如果你只想显示部分serie的图例,在data中填入要显示的图例的name即可。如果data中的值都不是系列的name,那图例就不会显示。

    如何做成预设

    做成prefab前,执行一下Rebuild Chart Object重新刷新节点,避免有冗余的节点存在。

    如何在图表上画点画线等自定义内容

    XCharts有自定义绘制回调onCustomDraw,具体可参考Example12_CustomDrawing.cs

    如何实现心电图类似的数据移动效果

    参考Example目录下的Example_Dynamic.cs。主要通过设置maxCache参数实现。axisserie都设置相同的maxCachemaxCache可固定数据个数,当数据超过设定时会先删除第一个在添加新数据,实现数据移动效果。

    如何使用背景组件有什么条件限制

    设置background组件的showtrue

    区域折线图在用半透明颜色时有时候会一条叠加的线

    这是区域折线图绘制的bug。可以用浅的不透的颜色替代半透明颜色。

    mesh_cannot_have_more_than_65000_vertices

    这是UGUI对单个Graphic的顶点数限制。XCharts是将图形绘制在单个Graphic上,所以也会有这个限制。解决的办法可以参考:FAQ 10:可以显示超过1000以上的大数据吗?

    为什么serie里设置的参数运行后又被重置了

    检测下代码里是否调用了RemoveData()并重新添加Serie了。如果想保留Serie的配置可以只ClearData(),然后重新添加数据。

    如何修改serie的symbol的颜色

    Symbol 的颜色是使用的 ItemStylecolor

    导入或更新xcharts时tmp报错怎么办

    XCharts默认时不开启TMP,所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    支持空数据吗如何实现折线图断开的效果

    Seriedatadouble类型,所以无法表示空数据。可通过开启Serieignore和指定ignoreValue来达到空数据的效果。也可以每个SerieData设置ignore参数。忽略数据后断开还是连接可设置ignoreLineBreak参数。

    xcharts2升级xcharts3时常见的问题有哪些

    1. 'XCharts.Runtime.XChartsMgr' is missing the class attribute 'ExtensionOfNativeClass'! 3.x版本时不需要挂载XChartsMgr,直接删掉场景上的_xcharts_节点即可。

    折线图如何两边不留空白而从0坐标开始显示

    设置X轴的boundaryGap参数。

    如何设置部分serie不显示tooltip

    serieitemStyleitemFormatter设置为-可以忽略tooltip

    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/funnel/index.html b/en/docs/v3.10.2/funnel/index.html index 3c0b971a..8027f508 100644 --- a/en/docs/v3.10.2/funnel/index.html +++ b/en/docs/v3.10.2/funnel/index.html @@ -14,14 +14,14 @@ FunnelChart 漏斗图 | XCharts - - + +
    Version: v3.10.2

    FunnelChart 漏斗图

    XCharts的付费扩展图表 - 漏斗图。

    截图

    Funnel01Funnel02Funnel03Funnel04Funnel05
    Funnel07Funnel08Funnel09

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-FunnelChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    FunnelChart

    class in XCharts.Runtime.Funnels / 继承自: BaseChart

    漏斗图。适用于流程流量分析。

    API版本描述
    DefaultHorizonalFunnelChart()public void DefaultHorizonalFunnelChart()
    生成默认的横向漏斗图。

    配置项手册

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    参数默认版本描述
    rectEndv3.3.0是否最后以矩形结束。默认false以三角形结束。
    dynamicHeightv3.3.0是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/gantt/index.html b/en/docs/v3.10.2/gantt/index.html index 30da15f2..de2c5f4b 100644 --- a/en/docs/v3.10.2/gantt/index.html +++ b/en/docs/v3.10.2/gantt/index.html @@ -14,14 +14,14 @@ GanttChart 甘特图 | XCharts - - + +
    Version: v3.10.2

    GanttChart 甘特图

    XCharts付费扩展图表 - 甘特图。

    截图

    Gantt01Gantt02Gantt03Gantt04Gantt05
    Gantt07

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-GanttChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.10.0

    • (2024.01.21) 增加Gantt的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.08.11) 增加鼠标事件支持

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    API版本描述
    AddDefaultCategorySerie()public static void AddDefaultCategorySerie(BaseChart chart, string serieName)
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    AddDefaultValueSerie()public static void AddDefaultValueSerie(BaseChart chart, string serieName)

    GanttChart

    class in XCharts.Runtime.Gantts / 继承自: BaseChart

    API版本描述
    DefaultCategoryAxisGanttChart()public void DefaultCategoryAxisGanttChart()
    生成默认的类目轴甘特图。
    DefaultMonomialGroupGanttChart()public void DefaultMonomialGroupGanttChart()
    生成默认的单维度分组甘特图。
    DefaultMultinomialGroupGanttChart()public void DefaultMultinomialGroupGanttChart()
    生成默认的多维度分组甘特图。
    DefaultValueAxisGanttChart()public void DefaultValueAxisGanttChart()
    生成默认的数值轴甘特图。
    GetSeriesMinMaxValue()public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    InitAxisRuntimeData()public override void InitAxisRuntimeData(Axis axis)
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    配置项手册

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    参数默认版本描述
    disableDrag

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    参数默认版本描述
    showtrue
    ganttType甘特图类型。
    GanttType:
    - Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    - Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。
    inverttrue
    dragEnabletrue是否可以拖拽甘特图。
    dragSensitivity1f拖拽的灵敏度。
    dragRangeMin0拖拽最小值限制。
    dragRangeMax0拖拽最大值限制。
    autoAdsorbAlignlinetrue拖拽结束后是否自动吸附到对齐线。
    alignlineDataIndex1显示对齐线的数据项索引。
    showAlignlineRange10f显示对齐线的范围。
    aliginLine对齐线样式。
    splitArea
    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/gauge/index.html b/en/docs/v3.10.2/gauge/index.html index 11289269..6ec29916 100644 --- a/en/docs/v3.10.2/gauge/index.html +++ b/en/docs/v3.10.2/gauge/index.html @@ -14,14 +14,14 @@ GaugeChart 仪表盘 | XCharts - - + +
    Version: v3.10.2

    GaugeChart 仪表盘

    XCharts付费扩展图表 - 仪表盘。

    截图

    Gauge01Gauge02Gauge03Gauge04Gauge05
    Gauge07Gauge08Gauge09Gauge10Gauge11
    Gauge12Gauge13Gauge14

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-GaugeChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.10.0

    • (2024.01.21) 增加Gauge的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.17) 增加GaugerangeDataMode可设置是否使用范围数据模式
    • (2023.03.17) 增加Gaugeloop可设置是否循环数据,用于时钟甘特图
    • (2023.03.17) 增加GaugePointervalue可设置指针位置
    • (2023.03.17) 增加Clock时钟仪表盘支持
    • (2023.03.13) 增加GaugePointernowTime可设置指针指向当前时间
    • (2023.03.13) 增加GaugePointervalue可设置当前指针位置
    • (2023.03.13) 增加Clock类型的甘特图支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.10.05) 增加GaugeAxisLinestageGradient支持设置阶段渐变色过渡

    v3.3.0

    • (2022.09.28) 发布v3.3.0版本
    • (2022.08.26) 修复Pointer在普通模式下不显示的问题
    • (2022.08.25) 增加label颜色跟随数值变化的支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.15) 支持渐变

    API

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    仪表盘系列数据。

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    GetPointerColor()public Color32 GetPointerColor(ThemeStyle theme, int colorIndex, float angle, Color32 dataColor)

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    API版本描述
    GetPosition()public Vector3 GetPosition(Vector3 center, float radius)

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    API版本描述
    AddLabelObject()public void AddLabelObject(ChartLabel label)
    ClearLabelObject()public void ClearLabelObject()
    GaugeAxis()public GaugeAxis()
    GetLabelObject()public ChartLabel GetLabelObject(int index)
    GetStageColor()public Color32 GetStageColor(float rate)
    GetStageColorByAngle()public Color32 GetStageColorByAngle(float angle)
    SetLabelObjectActive()public void SetLabelObjectActive(bool flag)
    SetLabelObjectPosition()public void SetLabelObjectPosition(int index, Vector3 pos)
    SetLabelObjectText()public void SetLabelObjectText(int index, string text)

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    API版本描述
    GaugeAxisLine()public GaugeAxisLine(bool show) : base(show)

    GaugeChart

    class in XCharts.Runtime.Gauges / 继承自: BaseChart

    仪表盘。

    API版本描述
    DefaultBarometerGaugeChart()public void DefaultBarometerGaugeChart()
    生成气压计仪表盘。
    DefaultClockGaugeChart()public void DefaultClockGaugeChart()
    生成时钟仪表盘。
    DefaultMultipleGaugeChart()public void DefaultMultipleGaugeChart()
    生成多仪表盘。
    DefaultProgressGaugeChart()public void DefaultProgressGaugeChart()
    生成进度仪表盘。
    DefaultRangeClockGaugeChart()public void DefaultRangeClockGaugeChart()
    DefaultSectionGaugeChart()public void DefaultSectionGaugeChart()
    生成分段仪表盘。
    UpdateClockTime()public void UpdateClockTime()
    更新时钟时间。
    UpdateClockTime()public void UpdateClockTime(double hour, double minute, double second)
    更新时钟时间。
    UpdatePointerValue()public void UpdatePointerValue(double value)
    更新指针值。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    配置项手册

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    仪表盘系列数据。

    参数默认版本描述
    rangeDataModefalsev3.6.0数值是否为范围数据。启用该模式后,data中的每个值都是一个数组,数组中的第一个值为起始值,第二个值为结束值。指针只有一个,数据绘制为环形。
    loopfalsev3.6.0数值是否循环。可用在钟表图。
    gaugeAxis仪表盘轴线。 GaugeAxis
    gaugePointer仪表盘指针。 GaugePointer
    gaugeAnchor仪表盘指针固定点。 GaugeAnchor

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    参数默认版本描述
    showtrue是否显示指针固定点。
    showAbovetrue固定点是否显示在指针上面。
    type标记类型。
    size6标记的大小。
    gap0图形标记和线条的间隙距离。
    image自定义的标记图形。
    imageType
    offsetCenterVector2(0, 0)相对于中心的偏移位置。
    itemStyle图形样式。

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    参数默认版本描述
    showtrue
    type
    GaugeAxisType:
    - None: 仪表盘类型
    - Section: 分段
    - Progress: 进度
    overlaptrue
    distance
    axisLine仪表盘轴线样式。 GaugeAxisLine
    splitLine分割线。
    axisTick刻度。
    axisLabel文本标签。
    axisLabelText自定义Label的内容。

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    参数默认版本描述
    backgroundColorColor32(230, 235, 248, 255)进度条背景颜色。
    stageColor阶段颜色。
    stageGradientv3.4.0阶段颜色是否渐变过渡。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    参数默认版本描述
    showtrue是否显示指针。
    length0.6f指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backLength0.05f指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backExtraLength0.05f指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topLeftLength0f指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topRightLength0f指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomLeftLength0.025f指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomRightLength0.025f指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    distance
    roundCap
    autoColortrue
    color
    toColor
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    valuev3.6.0指针的值。当为时钟仪表盘时,可通过指定value值来控制指针的位置。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/inputsystem/index.html b/en/docs/v3.10.2/inputsystem/index.html index 2e14f3a4..2fc101a9 100644 --- a/en/docs/v3.10.2/inputsystem/index.html +++ b/en/docs/v3.10.2/inputsystem/index.html @@ -14,13 +14,13 @@ 切换到新的输入系统Input System | XCharts - - + +
    Version: v3.10.2

    教程:切换到新的输入系统Input System

    1. 按图示修改项目配置中输入模式为 Input System

    Project Settings

    2. 使用 Unity Package Manager 安装 Input System

    UPM

    3. 选中场景中 EventSystem 游戏对象,更换输入模组

    Input Module

    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/lang/articles/ui/ui_statistic/index.html b/en/docs/v3.10.2/lang/articles/ui/ui_statistic/index.html index 7285b081..be5e95dd 100644 --- a/en/docs/v3.10.2/lang/articles/ui/ui_statistic/index.html +++ b/en/docs/v3.10.2/lang/articles/ui/ui_statistic/index.html @@ -14,13 +14,13 @@ UIStatistic 统计数值 | XCharts - - + +
    Version: v3.10.2

    UIStatistic 统计数值

    statistic

    统计数值组件。用于展示统计数值。

    何时使用:

    • 当需要突出某个或某组数字时。
    • 当需要展示带描述的统计类数据时使用。

    支持的功能有:

    • 常规数值
    • 倒计时
    • 添加图标
    • 变更动画
    • 事件回调
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/lang/articles/ui/ui_table/index.html b/en/docs/v3.10.2/lang/articles/ui/ui_table/index.html index f9780e41..47d4d796 100644 --- a/en/docs/v3.10.2/lang/articles/ui/ui_table/index.html +++ b/en/docs/v3.10.2/lang/articles/ui/ui_table/index.html @@ -14,13 +14,13 @@ UITable 表格 | XCharts - - + +
    Version: v3.10.2

    UITable 表格

    table

    表格组件。可用于展示行列数据。

    支持的功能有:

    • 显示或隐藏列表头
    • 显示或隐藏行表头
    • 任意调整行列宽高
    • 支持行号
    • 支持选中
    • 支持分割线
    • 支持滚动和拖拽
    • 支持滚动条
    • 支持图标图片
    • 支持轮播
    • 排序(暂不支持)
    • 分页(暂不支持)
    • 查找(暂不支持)
    • 过滤(暂不支持)
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/liquid/index.html b/en/docs/v3.10.2/liquid/index.html index 9a624ffd..9e46d196 100644 --- a/en/docs/v3.10.2/liquid/index.html +++ b/en/docs/v3.10.2/liquid/index.html @@ -14,14 +14,14 @@ LiquidChart 水位图 | XCharts - - + +
    Version: v3.10.2

    LiquidChart 水位图

    XCharts的付费扩展图表 - 水位图。

    截图

    Liquid01Liquid02Liquid03Liquid04Liquid05
    Liquid07Liquid08

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-LiquidChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.10.0

    • (2024.01.21) 增加Liquid的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    LiquidChart

    class in XCharts.Runtime.Liquids / 继承自: BaseChart

    水位图

    API版本描述
    DefaultCapsuleLiquidChart()public void DefaultCapsuleLiquidChart()
    generate default capsule liquid chart. 生成默认的胶囊形水位图。
    DefaultRectLiquidChart()public void DefaultRectLiquidChart()
    generate default rect liquid chart. 生成默认的矩形水位图。
    DefaultRoundRectLiquidChart()public void DefaultRoundRectLiquidChart()
    generate default round rect liquid chart. 生成默认的圆角矩形水位图。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent,ISerieContainer,IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    API版本描述
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    VesselContext

    class in XCharts.Runtime.Liquids / 继承自: MainComponentContext

    配置项手册

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    waveHeight10f波高。
    waveLength20f波长。为0-1小数时指直线的百分比。
    waveSpeed5f波速。正数时左移,负数时右移。
    waveOffset0f波偏移。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent, ISerieContainer, IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    参数默认版本描述
    showtrue是否显示容器组件。 [defaut: true]
    shape容器形状。 [default: Shape.Circle]
    Vessel.Shape:
    - Circle: 圆形
    - Rect: 正方形。
    - Triangle: 三角形。
    - Diamond: 菱形。
    shapeWidth5f容器厚度。 [defaut: 5f]
    gap5f间隙。容器和液体的间隙。 [defaut: 10f]
    colorColor32(70, 70, 240, 255)容器颜色。默认和serie一致。
    backgroundColor背景色,默认透明。 [default: Color.clear]
    autoColortrue是否自动颜色。为true时颜色会和serie一致。 [default: true]
    centerWhen value between 0 and 1 represents a percentage relative to the chart.
    radius0.35fWhen value between 0 and 1 represents a percentage relative to the chart.
    smoothness1f水波平滑度。 [default: 1f]
    width0.5fWhen value between 0 and 1 represents a percentage relative to the chart.
    height0.7fWhen value between 0 and 1 represents a percentage relative to the chart.
    borderWidth0f内壁边框。
    borderColorColor32(70, 70, 240, 255)容器内壁边框颜色。默认和serie一致。
    cornerRadius容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/pictorialbar/index.html b/en/docs/v3.10.2/pictorialbar/index.html index ae89a017..5c7c8333 100644 --- a/en/docs/v3.10.2/pictorialbar/index.html +++ b/en/docs/v3.10.2/pictorialbar/index.html @@ -14,14 +14,14 @@ PictorialBarChart 象形柱图 | XCharts - - + +
    Version: v3.10.2

    PictorialBarChart 象形柱图

    XCharts付费扩展图表 - 象形柱图。

    截图

    PictorialBar01PictorialBar02PictorialBar03PictorialBar04

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-PictorialBarChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.10.0

    • (2023.12.19) 调整Border相关代码

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.1

    • (2023.09.26) 修复PictorialBar动态添加数据时不刷新的问题

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static PictorialBar ConvertSerie(Serie serie)

    PictorialBarChart

    class in XCharts.Runtime.PictorialBars / 继承自: BaseChart

    配置项手册

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie, INeedSerieContainer

    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/pie3d/index.html b/en/docs/v3.10.2/pie3d/index.html index aeb7394b..6a3060aa 100644 --- a/en/docs/v3.10.2/pie3d/index.html +++ b/en/docs/v3.10.2/pie3d/index.html @@ -14,14 +14,14 @@ Pie3DChart 3D饼图 | XCharts - - + +
    Version: v3.10.2

    Pie3DChart 3D饼图

    XCharts的付费扩展图表 - 3D饼图。

    截图

    Pie3D01Pie3D02Pie3D03Pie3D04Pie3D05
    Pie3D07Pie3D08

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-Pie3DChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.10.0

    • (2023.01.16) 增加XCharts上的更多菜单栏快捷方式,一键创建多种3D饼图
    • (2023.12.17) 增加Pie3DStyledrawSplitSide设置是否绘制分割面
    • (2023.12.16) 增加Border描边支持
    • (2023.12.15) 增加Serielabel可指示在边缘的支持
    • (2023.12.10) 增加SerieminShowLabel可隐藏小于指定值的label

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.11.30) 优化SerieData只有一个时不绘制侧边
    • (2023.11.30) 增加SerieData可单独添加Label的支持

    v3.8.1

    • (2023.09.14) 修复SerieData的数据为全为0时图表显示异常的问题
    • (2023.09.08) 增加SerieDataradius可自定义各饼块高度的支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.2

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.1

    • (2023.05.21) 增加avoidLabelOverlap支持

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.3.0

    • (2022.09.02) 增加onPointerEnterPie回调支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    3D饼图系列。

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Pie3D ConvertSerie(Serie serie)

    Pie3DChart

    class in XCharts.Runtime.Pie3Ds / 继承自: BaseChart

    3D饼图。

    API版本描述
    DefaultAutoHeightPie3DChart()public void DefaultAutoHeightPie3DChart()
    生成默认3D自动高度饼图。
    DefaultDonutPie3DChart()public void DefaultDonutPie3DChart()
    生成默认3D甜甜圈饼图。
    DefaultEllipsePie3DChart()public void DefaultEllipsePie3DChart()
    生成默认2D椭圆饼图。

    Pie3DSlice

    class in XCharts.Runtime.Pie3Ds

    3D饼图的切块。

    API版本描述
    Contains()public bool Contains(float angle)
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    IsInSidePolygon()public bool IsInSidePolygon(Vector2 p)
    IsInStartOrEndSide()public bool IsInStartOrEndSide(Vector2 p)
    IsInTopPolygon()public bool IsInTopPolygon(Vector2 p)
    Pie3DSlice()public Pie3DSlice()
    UpdateValue()public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig)

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    配置项手册

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    3D饼图系列。

    参数默认版本描述
    pie3DStylePie3DStyle

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    参数默认版本描述
    showtrue
    ellipseMinorAxis0.65f椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。
    pieMaxHeight20f饼图厚度。
    pieAutoHeightfalse是否自动根据比例计算厚度。
    selectedOffsetVector2(0.1f, 0.5f)被选中状态的饼图块的额外偏移。
    peripherySideColorRate0.8f饼图切块的侧面颜色。
    startSideColorRate0.7f饼图切块的起始面颜色(顺时针)。
    endSideColorRate0.65f饼图切块的结束面颜色(顺时针)。
    drawSplitSidetruev3.10.0是否绘制分割面。当pieAutoHeight为true时,该值无效。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/pyramid/index.html b/en/docs/v3.10.2/pyramid/index.html index 75d9c560..75a895f9 100644 --- a/en/docs/v3.10.2/pyramid/index.html +++ b/en/docs/v3.10.2/pyramid/index.html @@ -14,14 +14,14 @@ PyramidChart 金字塔 | XCharts - - + +
    Version: v3.10.2

    PyramidChart 金字塔

    XCharts付费扩展图表 - 金字塔。

    截图

    Pyramid01Pyramid02Pyramid03

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-PyramidChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.10.0

    • (2024.01.21) 增加Pyramid的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.21) 增加Tooltip支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    PyramidChart

    class in XCharts.Runtime.Pyramids / 继承自: BaseChart

    API版本描述
    Default2DPyramidChart()public void Default2DPyramidChart()
    生成默认的2D金字塔图。

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    配置项手册

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    参数默认版本描述
    pyramidStylePyramidStyle

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    3Dtrue
    drawToptrue
    bottomPointRate0.5f3D模式下,底部中点占金字塔宽度的比例
    leftPointRate0.1f3D模式下,底部左边点占金字塔高度的比例
    rightPointRate0.1f3D模式下,底部右边点占金字塔高度的比例
    leftColorOpacity0.9f3D模式下,金字塔左边的颜色透明度
    rightColorOpacity0.7f3D模式下,金字塔右边的颜色透明度
    topColorOpacity0.99f3D模式下,金字塔顶部的颜色透明度
    labelLineMargin10fLabel标签距离右边的距离
    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/sankey/index.html b/en/docs/v3.10.2/sankey/index.html index 9a31729a..039d1111 100644 --- a/en/docs/v3.10.2/sankey/index.html +++ b/en/docs/v3.10.2/sankey/index.html @@ -14,14 +14,14 @@ SankeyChart 桑基图 | XCharts - - + +
    Version: v3.10.2

    SankeyChart 桑基图

    XCharts付费扩展图表 - 桑基图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.10.0

    API

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    GetLevelItemStyle()public ItemStyle GetLevelItemStyle(int depth)
    GetLevelLabel()public LabelStyle GetLevelLabel(int depth)
    GetLevelLineStyle()public LineStyle GetLevelLineStyle(int depth)

    SankeyChart

    class in XCharts.Runtime.Sankeys / 继承自: BaseChart

    配置项手册

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    参数默认版本描述
    nodeAlign节点对齐方式。
    Sankey.NodeAlign:
    - Top: 顶部对齐
    - Center: 居中对齐
    - Bottom: 底部对齐
    nodeWidth20节点的宽度。
    nodeGap8节点的间距。
    draggable是否可拖拽。
    curveness0.5f线条的弯曲程度。
    levelStyle层级样式。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/support/index.html b/en/docs/v3.10.2/support/index.html index 7110db17..5f3645bc 100644 --- a/en/docs/v3.10.2/support/index.html +++ b/en/docs/v3.10.2/support/index.html @@ -14,8 +14,8 @@ 订阅服务 | XCharts - - + +
    @@ -26,7 +26,7 @@ 增加席位 企业VIP支持增加席位,每个席位298¥一年。
    对公转账 有开专票需求时,可用企业银行帐号进行公对公转账支付。二维码支付不支持开专票,只能开普票。发票默认都是电子发票。
    *登记资料 订阅成功后,需提供手机号和Github帐号进行登记,手机号用于确认归属,Github帐号用于加入Github的Team组织,下载源码。

    购买扩展图表

    扩展图表为另付费购买图表,只对订阅了VIP服务的用户开放购买。对于个人SVIP企业VIP的订阅用户,所有扩展图表仓库在订阅期间可全部免费使用,不用再单独购买。

    对所有已购买的扩展图表,源码可永久持有但不能传播,并获得持续一年的更新支持和技术服务,一年后如需更新支持等服务,可再继续订阅VIP服务。

    编号扩展图表扩展图表价格
    101象形柱图PictorialBarChart98¥
    102漏斗图FunnelChart98¥
    1033D金字塔PyramidChart98¥
    104树形矩图TreemapChart98¥
    2013D柱图Bar3DChart198¥
    2023D饼图Pie3DChart198¥
    203甘特图GanttChart198¥
    204仪表盘GaugeChart198¥
    205水位图LiquidChart198¥

    扩展图表的在线效果图也可以查看WebGL在线Demo

    捐助支持

    如果这个项目对您有帮助,请右上方点 Star 予以支持!也欢迎扫后面的二维码进行任意金额的捐助,XCharts需要您的支持和帮助。

    二维码

    如果看不到二维码图片,可以加Q联系XCharts技术支持:3525422251或邮件monitor1394@gmail.com咨询。

    alipay-qrcode wechat-qrcode

    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/treemap/index.html b/en/docs/v3.10.2/treemap/index.html index c8526fc8..6bdc3dac 100644 --- a/en/docs/v3.10.2/treemap/index.html +++ b/en/docs/v3.10.2/treemap/index.html @@ -14,14 +14,14 @@ TreemapChart 矩形树图 | XCharts - - + +
    Version: v3.10.2

    TreemapChart 矩形树图

    XCharts付费扩展图表 - 矩形树图。

    截图

    Treemap01Treemap02Treemap03Treemap04

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-TreemapChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.2

    • (2023.11.08) 修复ItemStyle设置borderColor后边框绘制异常的问题

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    CanGoUpALevel()public bool CanGoUpALevel()
    是否可以返回上一层
    GetLevelItemStyle()public ItemStyle GetLevelItemStyle(int level)
    GetLevelLabel()public LabelStyle GetLevelLabel(int level)
    GetLevelUpperLabel()public LabelStyle GetLevelUpperLabel(int level)
    GoUpALevel()public void GoUpALevel()
    返回上一层
    OnDataUpdate()public override void OnDataUpdate()
    SetSelectedSerieData()public bool SetSelectedSerieData(string serieDataName)
    设置选中(要展示的)的数据名
    SetSelectedSerieData()public void SetSelectedSerieData(SerieData serieData)

    TreemapChart

    class in XCharts.Runtime.Treemaps / 继承自: BaseChart

    配置项手册

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    参数默认版本描述
    leafDepth0默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。
    visualDimension0用于计算占比的数据维数。
    drillDownIcon当节点可以下钻时的提示符,只能是字符。默认为▶
    customGoUpLevelButton自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。
    upperLabel父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。
    levelStyle
    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/tutorial01/index.html b/en/docs/v3.10.2/tutorial01/index.html index aa9a9612..7d18c3f1 100644 --- a/en/docs/v3.10.2/tutorial01/index.html +++ b/en/docs/v3.10.2/tutorial01/index.html @@ -14,8 +14,8 @@ 入门教程:5分钟上手 XCharts 3.0 | XCharts - - + +
    @@ -23,7 +23,7 @@ linechart2

    添加其他组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件按需额外添加。比如,需要给折线图区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent linechart3

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加Component。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent linechart4

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个至几十个不等的可配置参数,以支持各种灵活而复杂的功能。

    首次使用XCharts,可在 Inspector 视图添加各种图表,给图表添加或调整里面组件,Game 视图会实时反馈调整后的效果,以熟悉各种组件的使用。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是配置和数据来驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不需要去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时还原回来。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    通常颜色值为0000时表示用主题默认颜色,配置为0或null时表示用主题默认配置。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.EnsureChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.EnsureChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.EnsureChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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;

    清空默认数据,添加Line类型的Serie用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    用代码改图表参数

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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;

    注:低版本没有EnsureChartComponent()接口时,用GetOrAddChartComponent()

    改Serie的参数

    对于新添加的Serie:

    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:

    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添加额外组件:

    serie.EnsureComponent<AreaStyle>();

    var label = serie1.EnsureComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/tutorial02/index.html b/en/docs/v3.10.2/tutorial02/index.html index 5cecb84c..b676c95e 100644 --- a/en/docs/v3.10.2/tutorial02/index.html +++ b/en/docs/v3.10.2/tutorial02/index.html @@ -14,13 +14,13 @@ 从文件或数据库读取数据显示图表 | XCharts - - + +
    Version: v3.10.2

    从文件或数据库读取数据显示图表

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/tutorial03/index.html b/en/docs/v3.10.2/tutorial03/index.html index 39224eb4..d6d42c64 100644 --- a/en/docs/v3.10.2/tutorial03/index.html +++ b/en/docs/v3.10.2/tutorial03/index.html @@ -14,13 +14,13 @@ 心电图效果实现 | XCharts - - + +
    Version: v3.10.2

    心电图效果实现

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.10.2/ui/index.html b/en/docs/v3.10.2/ui/index.html index 3fdd6a06..53be4604 100644 --- a/en/docs/v3.10.2/ui/index.html +++ b/en/docs/v3.10.2/ui/index.html @@ -14,13 +14,13 @@ 扩展UI组件 | XCharts - - + +
    Version: v3.10.2

    扩展UI组件

    XCharts的扩展UI组件,VIP订阅用户专有。

    组件列表

    示例演示

    Demo仓库:XCharts-UI-Demo

    如何使用

    • 使用该仓库前先确保项目里已有对应版本的XCharts。
    • 下载本仓库放入Assets下或者通过Package Manager导入。

    更新日志

    v3.10.0

    • (2024.01.16) 增加UIImage图片组件
    • (2024.01.16) 优化Background组件,可设置圆角和边框
    • (2024.01.03) 增加UITablecarouselStylehoverPause
    • (2024.01.02) 增加UITablescrollStyleborderStyle
    • (2024.01.02) 增加UITablecolumnHeadStyleopaque
    • (2024.01.01) 调整UITableborder边框相关设置,用BorderStyle代替
    • (2023.12.22) 增加UITable的行边框

    v3.9.0

    • (2023.11.14) 增加UITableGetData()GetContent()接口
    • (2023.11.12) 增加UITableonTableClick点击表格回调
    • (2023.11.11) 重构UITableSeparatorStyle,可分开设置行列的分割线
    • (2023.11.05) 增加UITableColumnStyle,重构Column相关参数
    • (2023.11.05) 增加UITableRowStyle,重构Row相关参数
    • (2023.11.01) 增加UITableCarouselStyle轮播功能
    • (2023.11.01) 增加UITableAddColumn()UpdateColumn()接口
    • (2023.10.23) 修复UITable点击Rebuild Object异常的问题
    • (2023.10.23) 修复UITable尺寸变化时不刷新的问题
    • (2023.10.17) 修复UITable首次初始化异常的问题
    • (2023.10.17) 增加UITable的数据操作接口
    • (2023.10.17) 增加UITableRefreshTable()刷新接口

    v3.8.0

    • (2023.09.03) 发布v3.8.0版本
    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 增加UIStatistic
    • (2023.02.14) 增加UITable
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/about/index.html b/en/docs/v3.11.2/about/index.html index a20dca56..bd57ec44 100644 --- a/en/docs/v3.11.2/about/index.html +++ b/en/docs/v3.11.2/about/index.html @@ -14,8 +14,8 @@ 关于XCharts | XCharts - - + +
    @@ -31,7 +31,7 @@ XCharts只支持在Unity平台使用。理论上任何支持UGUIUnity版本都能运行XCharts

  • 锯齿怎么解决?支持多大量级的数据?
    XCharts是基于UGUI实现的,所以UGUI中碰到的问题,在XCharts中也会存在。比如锯齿问题,比如Mesh顶点数超65535的问题。这两个问题的解决可参考问答16问答27
    由于Mesh65535顶点数的限制,目前XCharts的单条Line支持约2万的数据量,当然开启采样可以支持更多数据的绘制,但同时也会更消耗CPU。

  • 日志

    Licenses

    • MIT License
    • 可免费商用,可二次开发。
    • 扩展图表和高级功能部分需购买使用授权。

    订阅

    • XCharts核心库是开源的,可免费使用的。在此基础上,我们也提供多种订阅服务以满足不同用户的需求,订阅详情☞ 请看这里
    • 订阅不是必须的,不影响XCharts的核心功能使用。
    • 订阅是按年付费,订阅到期后,不要求必须续订,但中断订阅期间无法享受技术更新和支持等服务。

    其他

    • 邮箱:monitor1394@gmail.com
    • QQ群:XCharts交流群(202030963
    • VIP群:XCharts VIP群(867291970
    • 捐助、合作、订阅和技术支持:☞ 请看这里
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/api/index.html b/en/docs/v3.11.2/api/index.html index c2767ac5..a8e56d6c 100644 --- a/en/docs/v3.11.2/api/index.html +++ b/en/docs/v3.11.2/api/index.html @@ -14,13 +14,13 @@ API手册 | XCharts - - + +
    Version: v3.11.2

    API手册

    所有类

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    API版本描述
    GetValueAngle()public float GetValueAngle(double value)
    GetValueAngle()public float GetValueAngle(float value)
    SetDefaultValue()public override void SetDefaultValue()

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    AngleAxisTheme()public AngleAxisTheme(ThemeType theme) : base(theme) { }

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn,AnimationFadeOut,AnimationChange,AnimationAddition,AnimationHiding,AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    API版本描述
    End()public void End()
    结束动画。
    GetIndexDelay()public float GetIndexDelay(int dataIndex)
    获取动画延迟。
    Init()public bool Init(float curr, float dest, int totalPointIndex)
    初始化动画。
    IsFinish()public bool IsFinish()
    动画是否结束。
    IsInDelay()public bool IsInDelay()
    动画是否在延迟中。
    IsInIndexDelay()public bool IsInIndexDelay(int dataIndex)
    动画是否在索引延迟中。
    Pause()public void Pause()
    暂停动画。
    Reset()public void Reset()
    重置动画。
    Resume()public void Resume()
    恢复动画。
    Start()public void Start(bool reset = true)
    开始动画。

    AnimationInfoContext

    class in XCharts.Runtime

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    API版本描述
    GetOffset()public float GetOffset()
    GetOffset()public float GetOffset(float total)
    GetRadius()public float GetRadius(float radius)
    GetWidth()public float GetWidth(float width)

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    API版本描述
    Addition()public void Addition()
    开始数据新增动画。
    CanCheckInteract()public bool CanCheckInteract()
    CheckDetailBreak()public bool CheckDetailBreak(float detail)
    CheckDetailBreak()public bool CheckDetailBreak(Vector3 pos, bool isYAxis)
    CheckProgress()public void CheckProgress()
    CheckProgress()public void CheckProgress(double total)
    CheckSymbol()public void CheckSymbol(float dest)
    FadeIn()public void FadeIn()
    开始渐入动画。
    FadeOut()public void FadeOut()
    开始渐出动画。
    GetAdditionDuration()public float GetAdditionDuration()
    GetChangeDuration()public float GetChangeDuration()
    GetCurrDetail()public float GetCurrDetail()
    GetCurrIndex()public int GetCurrIndex()
    GetCurrRate()public float GetCurrRate()
    GetInteractionDuration()public float GetInteractionDuration()
    GetInteractionRadius()public float GetInteractionRadius(float radius)
    GetSysmbolSize()public float GetSysmbolSize(float dest)
    HasFadeOut()public bool HasFadeOut()
    InitProgress()public void InitProgress(float curr, float dest)
    初始化动画配置。
    InitProgress()public void InitProgress(List<Vector3> paths, bool isY)
    初始化动画配置。
    IsDataAnimation()public bool IsDataAnimation()
    是否为数据动画。BottomToTop和InsideOut类型的为数据动画。
    IsEnd()public bool IsEnd()
    IsFadeIn()public bool IsFadeIn()
    IsFadeOut()public bool IsFadeOut()
    IsFinish()public bool IsFinish()
    IsInDelay()public bool IsInDelay()
    IsSerieAnimation()public bool IsSerieAnimation()
    是否为系列动画。LeftToRight、AlongPath和Clockwise类型的为系列动画。
    Pause()public void Pause()
    暂停所有动画。
    Reset()public void Reset()
    Reset all animations.
    Restart()public void Restart()
    重启当前激活的动画。
    Resume()public void Resume()
    恢复所有动画。

    AnimationStyleHelper

    class in XCharts.Runtime

    API版本描述
    CheckDataAnimation()public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)
    GetAnimationPosition()public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip, ref float rate)
    UpdateAnimationType()public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType, bool enableSerieDataAnimation)
    UpdateSerieAnimation()public static void UpdateSerieAnimation(Serie serie)

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    区域填充样式。

    API版本描述
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 themeColor)

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Clone()public ArrowStyle Clone()
    Copy()public void Copy(ArrowStyle arrow)
    GetColor()public Color32 GetColor(Color32 defaultColor)

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis,ParallelAxis,RadiusAxis,SingleAxis,XAxis,XAxis3D,YAxis,YAxis3D,ZAxis3D

    直角坐标系的坐标轴组件。

    API版本描述
    AddData()public void AddData(string category)
    添加一个类目到类目数据列表
    AddIcon()public void AddIcon(Sprite icon)
    添加图标
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空类目数据
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public Axis Clone()
    Copy()public void Copy(Axis axis)
    GetAddedDataCount()public int GetAddedDataCount()
    获得添加过的历史数据总数
    GetCategoryPosition()public Vector3 GetCategoryPosition(int categoryIndex, int dataCount = 0)
    GetData()public string GetData(int index)
    获得指定索引的类目数据
    GetData()public string GetData(int index, DataZoom dataZoom)
    获得在dataZoom范围内指定索引的类目数据
    GetDistance()public float GetDistance(double value, float axisLength = 0)
    获得值在坐标轴上的距离
    GetIcon()public Sprite GetIcon(int index)
    GetLabelValue()public double GetLabelValue(int index)
    GetLastLabelValue()public double GetLastLabelValue()
    GetLogMaxIndex()public double GetLogMaxIndex()
    GetLogMinIndex()public double GetLogMinIndex()
    GetLogValue()public float GetLogValue(double value)
    GetValueLength()public float GetValueLength(double value, float axisLength)
    IsBottom()public bool IsBottom()
    IsCategory()public bool IsCategory()
    是否为类目轴。
    IsLeft()public bool IsLeft()
    IsLog()public bool IsLog()
    是否为对数轴。
    IsNeedShowLabel()public bool IsNeedShowLabel(int index, int total = 0)
    IsRight()public bool IsRight()
    IsTime()public bool IsTime()
    是否为时间轴。
    IsTop()public bool IsTop()
    IsValue()public bool IsValue()
    是否为数值轴。
    RemoveData()public void RemoveData(int dataIndex)
    ResetStatus()public override void ResetStatus()
    重置状态。
    SetComponentDirty()public override void SetComponentDirty()
    SetNeedUpdateFilterData()public void SetNeedUpdateFilterData()
    UpdateData()public void UpdateData(int index, string category)
    更新类目数据
    UpdateIcon()public void UpdateIcon(int index, Sprite icon)
    更新图标
    UpdateZeroOffset()public void UpdateZeroOffset(float axisLength)

    Axis3DHelper

    class in XCharts.Runtime

    API版本描述
    Get3DGridPosition()public static Vector3 Get3DGridPosition(GridCoord3D grid, XAxis3D xAxis, YAxis3D yAxis, double xValue, double yValue)
    Get3DGridPosition()public static Vector3 Get3DGridPosition(GridCoord3D grid, XAxis3D xAxis, YAxis3D yAxis, ZAxis3D zAxis, double xValue, double yValue, double zValue)
    GetLabelPosition()public static Vector3 GetLabelPosition(int i, Axis axis, Axis relativedAxis, AxisTheme theme, float scaleWid)

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    API版本描述
    Clone()public AxisAnimation Clone()
    Copy()public void Copy(AxisAnimation animation)

    AxisContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    AxisHandler<T>

    class in XCharts / 继承自: MainComponentHandler

    AxisHelper

    class in XCharts.Runtime

    API版本描述
    AdjustCircleLabelPos()public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    AdjustMinMaxValue()public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
    调整最大最小值
    AdjustRadiusAxisLabelPos()public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    GetAxisLineArrowOffset()public static float GetAxisLineArrowOffset(Axis axis)
    包含箭头偏移的轴线长度
    GetAxisPosition()public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)
    GetAxisPositionValue()public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)
    GetAxisPositionValue()public static double GetAxisPositionValue(GridCoord grid, Axis axis, Vector3 pos)
    GetAxisValueDistance()public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上相对起点的距离
    GetAxisValueLength()public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上对应的长度
    GetAxisValuePosition()public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上的坐标位置
    GetAxisValueSplitIndex()public static int GetAxisValueSplitIndex(Axis axis, double value, bool checkMaxCache, int totalSplitNumber = -1)
    获得数值value在坐标轴上对应的split索引
    GetAxisXOrY()public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)
    GetDataWidth()public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
    获得一个类目数据在坐标系中代表的宽度
    GetEachWidth()public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    GetScaleNumber()public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    获得分割线条数
    GetScaleWidth()public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
    获得分割段宽度
    GetSplitNumber()public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
    获得分割段数
    GetTotalSplitGridNum()public static int GetTotalSplitGridNum(Axis axis)
    获得分割网格个数,包含次刻度
    GetXAxisXOrY()public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)
    GetYAxisXOrY()public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)
    NeedShowSplit()public static bool NeedShowSplit(Axis axis)

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    Clone()public new AxisLabel Clone()
    Copy()public void Copy(AxisLabel axisLabel)
    GetFormatterContent()public override string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
    GetFormatterContent()public override string GetFormatterContent(int labelIndex, string category)
    IsNeedShowLabel()public bool IsNeedShowLabel(int index, int total)
    SetRelatedText()public void SetRelatedText(ChartText txt, float labelWidth)

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    API版本描述
    Clone()public AxisLine Clone()
    Copy()public void Copy(AxisLine axisLine)

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisMinorSplitLine Clone()
    Copy()public void Copy(AxisMinorSplitLine splitLine)

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisMinorTick Clone()
    Copy()public void Copy(AxisMinorTick axisTick)

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    API版本描述
    Clone()public AxisName Clone()
    Copy()public void Copy(AxisName axisName)

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    API版本描述
    Clone()public AxisSplitArea Clone()
    Copy()public void Copy(AxisSplitArea splitArea)
    GetColor()public Color32 GetColor(int index, BaseAxisTheme theme)

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisSplitLine Clone()
    Copy()public void Copy(AxisSplitLine splitLine)

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    AxisTheme()public AxisTheme(ThemeType theme) : base(theme) { }

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    API版本描述
    Clone()public AxisTick Clone()
    Copy()public void Copy(AxisTick axisTick)

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    Bar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Bar ConvertSerie(Serie serie)

    BarChart

    class in XCharts.Runtime / 继承自: BaseChart

    柱状图(或称条形图)是一种通过柱形的高度(横向的情况下则是宽度)来表现数据大小的一种常用图表类型。

    API版本描述
    DefaultBarChart()public void DefaultBarChart()
    默认条形图。
    DefaultCapsuleBarChart()public void DefaultCapsuleBarChart()
    默认胶囊条形图。
    DefaultCapsuleColumnChart()public void DefaultCapsuleColumnChart()
    胶囊柱状图。
    DefaultGroupedBarChart()public void DefaultGroupedBarChart()
    默认分组条形图。
    DefaultGroupedColumnChart()public void DefaultGroupedColumnChart()
    默认分组柱状图。
    DefaultPercentBarChart()public void DefaultPercentBarChart()
    默认百分比条形图。
    DefaultPercentColumnChart()public void DefaultPercentColumnChart()
    默认百分比柱状图。
    DefaultStackedBarChart()public void DefaultStackedBarChart()
    默认堆叠条形图。
    DefaultStackedColumnChart()public void DefaultStackedColumnChart()
    默认堆叠分组柱状图。
    DefaultZebraBarChart()public void DefaultZebraBarChart()
    默认斑马条形图。
    DefaultZebraColumnChart()public void DefaultZebraColumnChart()
    斑马柱状图。

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme,RadiusAxisTheme,AngleAxisTheme,PolarAxisTheme,RadarAxisTheme

    API版本描述
    BaseAxisTheme()public BaseAxisTheme(ThemeType theme) : base(theme)
    Copy()public void Copy(BaseAxisTheme theme)

    BaseChart

    class in XCharts.Runtime / 继承自: BaseGraph,ISerializationCallbackReceiver / 子类: BarChart,CandlestickChart,HeatmapChart,LineChart,ParallelChart,PieChart,PolarChart,RadarChart,RingChart,ScatterChart,SimplifiedBarChart,SimplifiedCandlestickChart,SimplifiedLineChart

    API版本描述
    onAxisPointerValueChangedpublic Action<Axis, double> onAxisPointerValueChanged
    坐标轴变更数据索引时回调。参数:axis, dataIndex/dataValue
    onDrawpublic Action<VertexHelper> onDraw
    自定义绘制回调。在绘制Serie前调用。
    onDrawAfterSeriepublic Action<VertexHelper, Serie> onDrawAfterSerie
    自定义Serie绘制回调。在每个Serie绘制完后调用。
    onDrawBeforeSeriepublic Action<VertexHelper, Serie> onDrawBeforeSerie
    自定义Serie绘制回调。在每个Serie绘制完前调用。
    onDrawToppublic Action<VertexHelper> onDrawTop
    自定义Top层绘制回调。在绘制Tooltip前调用。
    onDrawUpperpublic Action<VertexHelper> onDrawUpper
    自定义Upper层绘制回调。在绘制Tooltip前调用。
    onInitpublic Action onInit
    图表的初始化完成回调。
    onLegendClickpublic Action<Legend, int, string, bool> onLegendClick
    点击图例按钮回调。参数:legendIndex, legendName, show
    onLegendEnterpublic Action<Legend, int, string> onLegendEnter
    鼠标进入图例回调。参数:legendIndex, legendName
    onLegendExitpublic Action<Legend, int, string> onLegendExit
    鼠标退出图例回调。参数:legendIndex, legendName
    onPointerClickBarpublic Action<PointerEventData, int> onPointerClickBar
    点击柱形图柱条回调。参数:eventData, dataIndex
    onPointerClickPiepublic Action<PointerEventData, int, int> onPointerClickPie
    点击饼图区域回调。参数:PointerEventData,SerieIndex,SerieDataIndex
    onPointerEnterPiepublic Action<int, int> onPointerEnterPie
    鼠标进入和离开饼图区域回调,SerieDataIndex为-1时表示离开。参数:PointerEventData,SerieIndex,SerieDataIndex
    onSerieClickv3.6.0public Action<SerieEventData> onSerieClick
    鼠标点击Serie回调。
    onSerieDownv3.6.0public Action<SerieEventData> onSerieDown
    鼠标按下Serie回调。
    onSerieEnterv3.6.0public Action<SerieEventData> onSerieEnter
    鼠标进入Serie回调。
    onSerieExitv3.6.0public Action<SerieEventData> onSerieExit
    鼠标离开Serie回调。
    onUpdatepublic Action onUpdate
    图表的Update回调。
    AddChartComponent()public MainComponent AddChartComponent(Type type)
    AddChartComponent<T>()public T AddChartComponent<T>() where T : MainComponent
    AddChartComponentWhenNoExist<T>()public T AddChartComponentWhenNoExist<T>() where T : MainComponent
    AddData()public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
    添加一个数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(string serieName, double data, string dataName = null, string dataId = null)
    If serieName doesn't exist in legend,will be add to legend.
    AddData()public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddLink()public SerieDataLink AddLink(int serieIndex, string sourceId, string targetId, double value = 0)
    添加一个关系图的关系数据。
    AddSerie<T>()public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie
    AddXAxisData()public void AddXAxisData(string category, int xAxisIndex = 0)
    添加一个类目数据到指定的x轴。
    AddXAxisIcon()public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
    添加一个图标到指定的x轴。
    AddYAxisData()public void AddYAxisData(string category, int yAxisIndex = 0)
    添加一个类目数据到指定的y轴。
    AddYAxisIcon()public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
    添加一个图标到指定的y轴。
    AnimationEnable()public void AnimationEnable(bool flag)
    是否启用Serie动画。
    AnimationFadeIn()public void AnimationFadeIn(bool reset = true)
    开始所有Serie的渐入动画。
    AnimationFadeOut()public void AnimationFadeOut()
    开始所有Serie的渐出动画。
    AnimationPause()public void AnimationPause()
    暂停所有Serie的动画。
    AnimationReset()public void AnimationReset()
    重置所有Serie的动画。
    AnimationResume()public void AnimationResume()
    继续所有Serie的动画。
    CanAddChartComponent()public bool CanAddChartComponent(Type type)
    CanAddSerie()public bool CanAddSerie(Type type)
    CanAddSerie<T>()public bool CanAddSerie<T>() where T : Serie
    CancelTooltip()v3.7.0public void CancelTooltip()
    取消Tooltip.
    CanMultipleComponent()public bool CanMultipleComponent(Type type)
    ClampInChart()public void ClampInChart(ref Vector3 pos)
    ClampInGrid()public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)
    ClearComponentData()v3.4.0public virtual void ClearComponentData()
    清空所有组件的数据。
    ClearData()public virtual void ClearData()
    清空所有组件和Serie的数据。注意:Serie只是清空数据,不会移除Serie。
    ClearSerieData()v3.4.0public virtual void ClearSerieData()
    清空所有serie的数据。
    ClearSerieLinks()v3.10.0public virtual void ClearSerieLinks()
    清空所有serie的link数据。
    ClickLegendButton()public void ClickLegendButton(int legendIndex, string legendName, bool show)
    点击图例按钮
    ConvertSerie()public bool ConvertSerie(Serie serie, Type type)
    ConvertSerie<T>()public bool ConvertSerie<T>(Serie serie) where T : Serie
    ConvertXYAxis()public void ConvertXYAxis(int index)
    转换X轴和Y轴的配置
    EnsureChartComponent<T>()v3.6.0public T EnsureChartComponent<T>() where T : MainComponent
    确保图表有该组件,如果没有则添加。注意:有可能添加不成功。
    GenerateDefaultSerieName()public string GenerateDefaultSerieName()
    GetAllSerieDataCount()public int GetAllSerieDataCount()
    GetChartBackgroundColor()public Color32 GetChartBackgroundColor()
    GetChartComponent<T>()public T GetChartComponent<T>(int index = 0) where T : MainComponent
    GetChartComponentNum()public int GetChartComponentNum(Type type)
    GetChartComponentNum<T>()public int GetChartComponentNum<T>() where T : MainComponent
    GetChartComponents<T>()public List<MainComponent> GetChartComponents<T>() where T : MainComponent
    GetData()public double GetData(int serieIndex, int dataIndex, int dimension = 1)
    GetData()public double GetData(string serieName, int dataIndex, int dimension = 1)
    GetDataZoomOfAxis()public DataZoom GetDataZoomOfAxis(Axis axis)
    GetDataZoomOfSerie()public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)
    GetGrid()public GridCoord GetGrid(Vector2 local)
    GetGridOfDataZoom()public GridCoord GetGridOfDataZoom(DataZoom dataZoom)
    GetItemColor()public Color32 GetItemColor(Serie serie)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)
    GetLegendRealShowNameColor()public Color32 GetLegendRealShowNameColor(string name)
    GetLegendRealShowNameIndex()public int GetLegendRealShowNameIndex(string name)
    GetMarkColor()v3.4.0public Color32 GetMarkColor(Serie serie, SerieData serieData)
    获得Serie的标识颜色。
    GetOrAddChartComponent<T>()public T GetOrAddChartComponent<T>() where T : MainComponent
    GetPainter()public Painter GetPainter(int index)
    GetSerie()public Serie GetSerie(int serieIndex)
    GetSerie()public Serie GetSerie(string serieName)
    GetSerie<T>()public T GetSerie<T>() where T : Serie
    GetSerie<T>()public T GetSerie<T>(int serieIndex) where T : Serie
    GetSerieBarGap<T>()public float GetSerieBarGap<T>() where T : Serie
    GetSerieBarRealCount<T>()public int GetSerieBarRealCount<T>() where T : Serie
    GetSerieIndexIfStack<T>()public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie
    GetSerieSameStackTotalValue<T>()public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie
    GetSeriesMinMaxValue()public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    GetSerieTotalGap<T>()public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie
    GetSerieTotalWidth<T>()public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie
    GetTitlePosition()public Vector3 GetTitlePosition(Title title)
    GetVisualMapOfSerie()public VisualMap GetVisualMapOfSerie(Serie serie)
    GetXDataZoomOfSerie()public DataZoom GetXDataZoomOfSerie(Serie serie)
    GetXLerpColor()public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    GetYLerpColor()public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    HasChartComponent()public bool HasChartComponent(Type type)
    HasChartComponent<T>()public bool HasChartComponent<T>()
    HasSerie()public bool HasSerie(Type type)
    HasSerie<T>()public bool HasSerie<T>() where T : Serie
    Init()public void Init(bool defaultChart = true)
    InitAxisRuntimeData()public virtual void InitAxisRuntimeData(Axis axis) { }
    InsertSerie()public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)
    InsertSerie<T>()public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie
    Internal_CheckAnimation()public void Internal_CheckAnimation()
    IsActiveByLegend()public virtual bool IsActiveByLegend(string legendName)
    获得指定图例名字的系列是否显示。
    IsAllAxisCategory()public bool IsAllAxisCategory()
    纯类目轴。
    IsAllAxisValue()public bool IsAllAxisValue()
    纯数值坐标轴(数值轴或对数轴)。
    IsInAnyGrid()public bool IsInAnyGrid(Vector2 local)
    IsInChart()public bool IsInChart(float x, float y)
    IsInChart()public bool IsInChart(Vector2 local)
    坐标是否在图表范围内
    IsSerieName()public bool IsSerieName(string name)
    MoveDownSerie()public bool MoveDownSerie(int serieIndex)
    MoveUpSerie()public bool MoveUpSerie(int serieIndex)
    OnAfterDeserialize()public void OnAfterDeserialize()
    OnBeforeSerialize()public void OnBeforeSerialize()
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDataZoomRangeChanged()public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public override void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public override void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public override void OnPointerUp(PointerEventData eventData)
    OnScroll()public override void OnScroll(PointerEventData eventData)
    RefreshBasePainter()public void RefreshBasePainter()
    RefreshChart()public void RefreshChart()
    在下一帧刷新整个图表。
    RefreshChart()public void RefreshChart(int serieIndex)
    在下一帧刷新图表的指定serie。
    RefreshChart()public void RefreshChart(Serie serie)
    在下一帧刷新图表的指定serie。
    RefreshDataZoom()public void RefreshDataZoom()
    在下一帧刷新DataZoom
    RefreshGraph()public override void RefreshGraph()
    RefreshPainter()public void RefreshPainter(int index)
    RefreshPainter()public void RefreshPainter(Serie serie)
    RefreshTopPainter()public void RefreshTopPainter()
    RefreshUpperPainter()public void RefreshUpperPainter()
    RemoveAllChartComponent()public void RemoveAllChartComponent()
    RemoveAllSerie()v3.2.0public virtual void RemoveAllSerie()
    移除所有的Serie。当确认只需要移除Serie时使用该接口,其他情况下一般用RemoveData()。
    RemoveChartComponent()public bool RemoveChartComponent(MainComponent component)
    RemoveChartComponent()public bool RemoveChartComponent(Type type, int index = 0)
    RemoveChartComponent<T>()public bool RemoveChartComponent<T>(int index = 0)
    RemoveChartComponents()public int RemoveChartComponents(Type type)
    RemoveChartComponents<T>()public int RemoveChartComponents<T>()
    RemoveData()public virtual void RemoveData()
    清空所有组件数据,并移除所有Serie。一般在图表重新初始化时使用。 注意:组件只清空数据部分,参数会保留不会被重置。
    RemoveData()public virtual void RemoveData(string serieName)
    清除指定系列名称的数据。
    RemoveSerie()public void RemoveSerie(int serieIndex)
    RemoveSerie()public void RemoveSerie(Serie serie)
    RemoveSerie()public void RemoveSerie(string serieName)
    RemoveSerie<T>()public void RemoveSerie<T>() where T : Serie
    ReplaceSerie()public bool ReplaceSerie(Serie oldSerie, Serie newSerie)
    ResetChartStatus()v3.10.0public void ResetChartStatus()
    重置图表状态。当设置某些参数后,由于动画影响,可能导致图表状态不正确,此时可以调用该接口重置图表状态。
    ResetDataIndex()public bool ResetDataIndex(int serieIndex)
    重置serie的数据项索引。避免数据项索引异常。
    SetBasePainterMaterial()public void SetBasePainterMaterial(Material material)
    设置Base Painter的材质球
    SetInsertDataToHead()v3.11.0public void SetInsertDataToHead(bool insertDataToHead)
    设置数据插入到头部。
    SetMaxCache()public void SetMaxCache(int maxCache)
    设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。
    SetPainterActive()public void SetPainterActive(int index, bool flag)
    SetSerieActive()public void SetSerieActive(int serieIndex, bool active)
    设置指定系列是否显示。
    SetSerieActive()public void SetSerieActive(Serie serie, bool active)
    SetSerieActive()public void SetSerieActive(string serieName, bool active)
    设置指定系列是否显示。
    SetSeriePainterMaterial()public void SetSeriePainterMaterial(Material material)
    设置Serie Painter的材质球
    SetTopPainterMaterial()public void SetTopPainterMaterial(Material material)
    设置Top Painter的材质球
    SetUpperPainterMaterial()public void SetUpperPainterMaterial(Material material)
    设置Upper Painter的材质球
    TriggerTooltip()v3.7.0public bool TriggerTooltip(int dataIndex, int serieIndex = 0)
    尝试触发指定数据项的Tooltip.
    TriggerTooltip()v3.7.0public bool TriggerTooltip(Vector3 localPosition)
    在指定的位置尝试触发Tooltip.
    TryAddChartComponent()public bool TryAddChartComponent(Type type)
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>() where T : MainComponent
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>(out T component) where T : MainComponent
    TryGetChartComponent<T>()public bool TryGetChartComponent<T>(out T component, int index = 0)
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateDataName()public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateDataName()public bool UpdateDataName(string serieName, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateLegendColor()public virtual void UpdateLegendColor(string legendName, bool active)
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。
    UpdateTheme()public void UpdateTheme(Theme theme)
    切换图表主题。
    UpdateXAxisData()public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
    更新X轴类目数据。
    UpdateXAxisIcon()public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
    更新X轴图标。
    UpdateYAxisData()public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
    更新Y轴类目数据。
    UpdateYAxisIcon()public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
    更新Y轴图标。

    BaseGraph

    class in XCharts.Runtime / 继承自: MaskableGraphic,IPointerDownHandler,IPointerUpHandler, / 子类: BaseChart,UIComponent

    API版本描述
    onBeginDragpublic Action<PointerEventData, BaseGraph> onBeginDrag
    鼠标开始拖拽回调。
    onDragpublic Action<PointerEventData, BaseGraph> onDrag
    鼠标拖拽回调。
    onEndDragpublic Action<PointerEventData, BaseGraph> onEndDrag
    鼠标结束拖拽回调。
    onPointerClickpublic Action<PointerEventData, BaseGraph> onPointerClick
    鼠标点击回调。
    onPointerDownpublic Action<PointerEventData, BaseGraph> onPointerDown
    鼠标按下回调。
    onPointerEnterpublic Action<PointerEventData, BaseGraph> onPointerEnter
    鼠标进入回调。
    onPointerExitpublic Action<PointerEventData, BaseGraph> onPointerExit
    鼠标退出回调。
    onPointerUppublic Action<PointerEventData, BaseGraph> onPointerUp
    鼠标弹起回调。
    onScrollpublic Action<PointerEventData, BaseGraph> onScroll
    鼠标滚动回调。
    CheckWarning()public string CheckWarning()
    检测警告信息。
    LocalPointToScreenPoint()v3.7.0public Vector2 LocalPointToScreenPoint(Vector2 localPoint)
    图表内坐标转屏幕坐标。
    LocalPointToWorldPoint()v3.7.0public Vector2 LocalPointToWorldPoint(Vector2 localPoint)
    图表内坐标转世界坐标。
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData)
    OnDrag()public virtual void OnDrag(PointerEventData eventData)
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData)
    OnScroll()public virtual void OnScroll(PointerEventData eventData)
    RebuildChartObject()public void RebuildChartObject()
    移除并重新创建所有图表的Object。
    RefreshAllComponent()public void RefreshAllComponent()
    RefreshGraph()public virtual void RefreshGraph()
    在下一帧刷新图形。
    SaveAsImage()public void SaveAsImage(string imageType = "png", string savePath = "")
    保存图表为图片。
    ScreenPointToChartPoint()public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)
    SetPainterDirty()public void SetPainterDirty()
    重新初始化Painter
    SetSize()public virtual void SetSize(float width, float height)
    设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform)

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine,AxisMinorSplitLine,AxisMinorTick,AxisSplitLine,AxisTick

    线条基础配置。

    API版本描述
    BaseLine()public BaseLine()
    BaseLine()public BaseLine(bool show) : base()
    Copy()public void Copy(BaseLine axisLine)
    GetColor()public Color32 GetColor(Color32 themeColor)
    GetLength()public float GetLength(float themeLength)
    GetType()public LineStyle.Type GetType(LineStyle.Type themeType)
    GetWidth()public float GetWidth(float themeWidth)

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer / 子类: EffectScatter,Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    API版本描述
    ClearComponentDirty()public static void ClearComponentDirty(ChildComponent component)
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearData()public virtual void ClearData() { }
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public static void ClearVerticesDirty(ChildComponent component)
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    IsComponentDirty()public static bool IsComponentDirty(ChildComponent component)
    IsVertsDirty()public static bool IsVertsDirty(ChildComponent component)
    OnAfterDeserialize()public virtual void OnAfterDeserialize()
    OnBeforeSerialize()public virtual void OnBeforeSerialize() { }
    OnDataUpdate()public virtual void OnDataUpdate() { }
    OnRemove()public virtual void OnRemove()
    RefreshLabel()public void RefreshLabel()
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetVerticesDirty()public virtual void SetVerticesDirty()

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    BorderStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    边框样式。

    API版本描述
    GetRuntimeBorderColor()public Color32 GetRuntimeBorderColor()
    GetRuntimeBorderWidth()public float GetRuntimeBorderWidth()
    GetRuntimeCornerRadius()public float[] GetRuntimeCornerRadius()

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    API版本描述
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    Candlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    CandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    蜡烛图,也叫K线图,用于描述证券、衍生品或货币的价格走势的一种金融图表样式。

    ChartCached

    class in XCharts.Runtime

    API版本描述
    ColorToDotStr()public static string ColorToDotStr(Color color)
    ColorToStr()public static string ColorToStr(Color color)
    FloatToStr()public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)
    GetSerieLabelName()public static string GetSerieLabelName(string prefix, int i, int j)
    GetString()public static string GetString(string prefix, int suffix)
    IntToStr()public static string IntToStr(int value, string numericFormatter = "")
    NumberToStr()public static string NumberToStr(double value, string formatter)

    ChartConst

    class in XCharts.Runtime

    ChartDrawer

    class in XCharts.Runtime

    ChartHelper

    class in XCharts.Runtime

    API版本描述
    ActiveAllObject()public static void ActiveAllObject(Transform parent, bool active, string match = null)
    AddIcon()public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)
    Cancat()public static string Cancat(string str1, int i)
    Cancat()public static string Cancat(string str1, string str2)
    ClearEventListener()public static void ClearEventListener(GameObject obj)
    CopyArray<T>()public static bool CopyArray<T>(T[] toList, T[] fromList)
    CopyList<T>()public static bool CopyList<T>(List<T> toList, List<T> fromList)
    DestoryGameObject()public static void DestoryGameObject(GameObject go)
    DestoryGameObject()public static void DestoryGameObject(Transform parent, string childName)
    DestoryGameObjectByMatch()public static void DestoryGameObjectByMatch(Transform parent, string containString)
    DestroyAllChildren()public static void DestroyAllChildren(Transform parent)
    EnsureComponent<T>()public static T EnsureComponent<T>(GameObject gameObject) where T : Component
    确保对象有指定的组件,如果没有则添加。
    EnsureComponent<T>()public static T EnsureComponent<T>(Transform transform) where T : Component
    确保对象有指定的组件,如果没有则添加。
    GetActualValue()public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBlurColor()public static Color32 GetBlurColor(Color32 color, float a = 0.3f)
    GetColor()public static Color32 GetColor(string hexColorStr)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetFullName()public static string GetFullName(Transform transform)
    GetHighlightColor()public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)
    GetLastValue()public static Vector3 GetLastValue(List<Vector3> list)
    GetMaxCeilRate()public static double GetMaxCeilRate(double value, double ceilRate)
    GetMaxDivisibleValue()public static double GetMaxDivisibleValue(double max, double ceilRate)
    GetMaxLogValue()public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetMinCeilRate()public static double GetMinCeilRate(double value, double ceilRate)
    GetMinDivisibleValue()public static double GetMinDivisibleValue(double min, double ceilRate)
    GetMinLogValue()public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(Transform transform) where T : Component
    GetPointList()public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetPosition()public static Vector3 GetPosition(Vector3 center, float angle, float radius)
    GetSelectColor()public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    HideAllObject()public static void HideAllObject(GameObject obj, string match = null)
    HideAllObject()public static void HideAllObject(Transform parent, string match = null)
    IsActiveByScale()public static bool IsActiveByScale(GameObject gameObject)
    IsActiveByScale()public static bool IsActiveByScale(Image image)
    IsActiveByScale()public static bool IsActiveByScale(Transform transform)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsColorAlphaZero()public static bool IsColorAlphaZero(Color color)
    IsEquals()public static bool IsEquals(double d1, double d2)
    IsEquals()public static bool IsEquals(float d1, float d2)
    IsIngore()public static bool IsIngore(Vector3 pos)
    IsInRect()public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)
    IsPointInQuadrilateral()public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    ParseFloatFromString()public static List<float> ParseFloatFromString(string jsonData)
    ParseStringFromString()public static List<string> ParseStringFromString(string jsonData)
    RemoveComponent<T>()public static void RemoveComponent<T>(GameObject gameObject)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
    SaveAsImage()public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")
    SetActive()public static bool SetActive(GameObject gameObject, bool active)
    SetActive()public static bool SetActive(Image image, bool active)
    SetActive()public static bool SetActive(Text text, bool active)
    SetActive()public static bool SetActive(Transform transform, bool active)
    通过设置scale实现是否显示,优化性能,减少GC
    SetBackground()public static void SetBackground(Image background, Background imageStyle)
    SetBackground()public static void SetBackground(Image background, ImageStyle imageStyle)
    SetColorOpacity()public static void SetColorOpacity(ref Color32 color, float opacity)

    ChartLabel

    class in XCharts.Runtime / 继承自: Image

    API版本描述
    GetHeight()public float GetHeight()
    GetPosition()public Vector3 GetPosition()
    GetTextHeight()public float GetTextHeight()
    GetTextWidth()public float GetTextWidth()
    GetWidth()public float GetWidth()
    IsActiveByScale()public bool IsActiveByScale()
    SetActive()public void SetActive(bool flag, bool force = false)
    SetIcon()public void SetIcon(Image image)
    SetIconActive()public void SetIconActive(bool flag)
    SetIconSize()public void SetIconSize(float width, float height)
    SetIconSprite()public void SetIconSprite(Sprite sprite)
    SetPadding()public void SetPadding(float[] padding)
    SetPosition()public void SetPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetRotate()public void SetRotate(float rotate)
    SetSize()public void SetSize(float width, float height)
    SetText()public bool SetText(string text)
    SetTextActive()public void SetTextActive(bool flag)
    SetTextColor()public void SetTextColor(Color color)
    SetTextPadding()public void SetTextPadding(TextPadding padding)
    SetTextRotate()public void SetTextRotate(float rotate)
    UpdateIcon()public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null, Color color = default(Color))

    ChartObject

    class in XCharts.Runtime

    API版本描述
    Destroy()public virtual void Destroy()

    ChartText

    class in XCharts.Runtime

    API版本描述
    ChartText()public ChartText()
    ChartText()public ChartText(GameObject textParent)
    GetColor()public Color GetColor()
    GetPreferredHeight()public float GetPreferredHeight()
    GetPreferredText()public string GetPreferredText(string content, string suffix, float maxWidth)
    GetPreferredWidth()public float GetPreferredWidth()
    GetPreferredWidth()public float GetPreferredWidth(string content)
    GetText()public string GetText()
    SetActive()public void SetActive(bool flag)
    SetAlignment()public void SetAlignment(TextAnchor alignment)
    SetColor()public void SetColor(Color color)
    SetFont()public void SetFont(Font font)
    SetFont()public void SetFont(TMP_FontAsset font)
    SetFontAndSizeAndStyle()public void SetFontAndSizeAndStyle(TextStyle textStyle, ComponentTheme theme)
    SetFontSize()public void SetFontSize(float fontSize)
    SetFontStyle()public void SetFontStyle(FontStyle fontStyle)
    SetLineSpacing()public void SetLineSpacing(float lineSpacing)
    SetLocalEulerAngles()public void SetLocalEulerAngles(Vector3 position)
    SetLocalPosition()public void SetLocalPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetSizeDelta()public void SetSizeDelta(Vector2 sizeDelta)
    SetText()public void SetText(string text)

    CheckHelper

    class in XCharts.Runtime

    API版本描述
    CheckChart()public static string CheckChart(BaseChart chart)
    CheckChart()public static string CheckChart(BaseGraph chart)

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle,AxisAnimation,AxisName,AxisSplitArea,AreaStyle,ArrowStyle,BaseLine,BorderStyle,IconStyle,ImageStyle,ItemStyle,Level,LevelStyle,LineArrow,LineStyle,Location,MLValue,MarqueeStyle,Padding,StageColor,SymbolStyle,TextLimit,TextStyle,CommentItem,CommentMarkStyle,LabelLine,LabelStyle,MarkAreaData,MarkLineData,StateStyle,VisualMapRange,ViewControl,UIComponentTheme,SerieData,SerieDataLink,ComponentTheme,SerieTheme,ThemeStyle

    API版本描述
    ClearComponentDirty()public static void ClearComponentDirty(ChildComponent component)
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public static void ClearVerticesDirty(ChildComponent component)
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    IsComponentDirty()public static bool IsComponentDirty(ChildComponent component)
    IsVertsDirty()public static bool IsVertsDirty(ChildComponent component)
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetVerticesDirty()public virtual void SetVerticesDirty()

    ColorUtil

    class in XCharts.Runtime

    API版本描述
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。

    Comment

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图表注解组件。

    API版本描述
    GetLabelStyle()public LabelStyle GetLabelStyle(int index)
    GetMarkStyle()public CommentMarkStyle GetMarkStyle(int index)
    OnChanged()public void OnChanged()
    参数变更时的回调处理。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    ComponentHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler, bool allowMultiple, int order = 3)
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler, int order = 3)

    ComponentHelper

    class in XCharts.Runtime

    API版本描述
    GetAngleAxis()public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)
    GetRadiusAxis()public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)
    GetXAxisOnZeroOffset()public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)
    GetYAxisOnZeroOffset()public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)
    IsAnyCategoryOfYAxis()public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme,DataZoomTheme,LegendTheme,SubTitleTheme,TitleTheme,TooltipTheme,VisualMapTheme

    API版本描述
    ComponentTheme()public ComponentTheme(ThemeType theme)
    Copy()public virtual void Copy(ComponentTheme theme)
    Reset()public virtual void Reset(ComponentTheme defaultTheme)

    CoordOptionsAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Contains<T>()public bool Contains<T>() where T : CoordSystem
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord,CalendarCoord,GridCoord,GridCoord3D,ParallelCoord,PolarCoord,SingleAxisCoord

    坐标系系统。

    DataHelper

    class in XCharts.Runtime

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    API版本描述
    GetBackgroundColor()public Color32 GetBackgroundColor(Color32 themeColor)
    GetBorderColor()public Color32 GetBorderColor(Color32 themeColor)
    GetFillerColor()public Color32 GetFillerColor(Color32 themeColor)
    IsContainsAxis()public bool IsContainsAxis(Axis axis)
    IsContainsXAxis()public bool IsContainsXAxis(int index)
    IsContainsYAxis()public bool IsContainsYAxis(int index)
    IsInEndZoom()public bool IsInEndZoom(Vector2 pos)
    给定的坐标是否在结束活动条触发区域内
    IsInMarqueeArea()public bool IsInMarqueeArea(SerieData serieData)
    IsInMarqueeArea()public bool IsInMarqueeArea(Vector2 pos)
    IsInSelectedZoom()public bool IsInSelectedZoom(int totalIndex, int index, bool invert)
    IsInSelectedZoom()public bool IsInSelectedZoom(Vector2 pos)
    给定的坐标是否在选中区域内
    IsInStartZoom()public bool IsInStartZoom(Vector2 pos)
    给定的坐标是否在开始活动条触发区域内
    IsInZoom()public bool IsInZoom(Vector2 pos)
    给定的坐标是否在缩放区域内
    SetDefaultValue()public override void SetDefaultValue()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    DataZoomContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    DataZoomHelper

    class in XCharts.Runtime

    API版本描述
    UpdateDataZoomRuntimeStartEndValue()public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)
    UpdateDataZoomRuntimeStartEndValue<T>()public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(DataZoomTheme theme)
    DataZoomTheme()public DataZoomTheme(ThemeType theme) : base(theme)

    DateTimeUtil

    class in XCharts.Runtime

    API版本描述
    GetDateTime()public static DateTime GetDateTime(double timestamp)
    GetDateTime()public static DateTime GetDateTime(int timestamp)
    GetDefaultDateTimeString()public static string GetDefaultDateTimeString(int timestamp, double range = 0)
    GetTimestamp()public static int GetTimestamp()
    GetTimestamp()public static int GetTimestamp(DateTime time)
    GetTimestamp()public static int GetTimestamp(string dateTime)

    DebugInfo

    class in XCharts.Runtime

    API版本描述
    Init()public void Init(BaseChart chart)
    Update()public void Update()

    DefaultAnimationAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler)
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler, bool enableSerieDataAddedAnimation)

    DefaultTooltipAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    DefaultTooltipAttribute()public DefaultTooltipAttribute(Tooltip.Type type, Tooltip.Trigger trigger)

    DefineSymbolsUtil

    class in XCharts.Runtime

    API版本描述
    AddGlobalDefine()public static void AddGlobalDefine(string symbol)
    RemoveGlobalDefine()public static void RemoveGlobalDefine(string symbol)

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    API版本描述
    EndLabelStyle()public EndLabelStyle()

    FormatterHelper

    class in XCharts.Runtime

    API版本描述
    NeedFormat()public static bool NeedFormat(string content)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string numericFormatter, double value)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string value)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(string content)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(StringBuilder sb)

    GraphData

    class in XCharts.Runtime

    数据结构-图。

    API版本描述
    AddEdge()public GraphEdge AddEdge(string nodeId1, string nodeId2, double value)
    AddNode()public GraphNode AddNode(string nodeId, string nodeName, int dataIndex, double value)
    BreadthFirstTraverse()public void BreadthFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
    Clear()public void Clear()
    DeepFirstTraverse()public void DeepFirstTraverse(GraphNode startNode, System.Action<GraphNode> onTraverse)
    EachNode()public void EachNode(System.Action<GraphNode> onEach)
    ExpandAllNodes()public void ExpandAllNodes(bool flag, int level = -1)
    ExpandNode()public void ExpandNode(string nodeId, bool flag)
    GetDepthNodes()public List<List<GraphNode>> GetDepthNodes()
    GetEdge()public GraphEdge GetEdge(string nodeId1, string nodeId2)
    GetExpandedNodesCount()public static int GetExpandedNodesCount(List<GraphNode> nodes)
    GetMaxDepth()public int GetMaxDepth()
    GetNode()public GraphNode GetNode(string nodeId)
    GetNodeDepth()// public int GetNodeDepth(GraphNode node)
    GetNodeDepth()// public void GetNodeDepth(GraphNode node, ref int depth, int recursiveCount = 0)
    GetNodeDepth()public int GetNodeDepth(GraphNode node, int recursiveCount = 0)
    GetNodesTotalValue()public static double GetNodesTotalValue(List<GraphNode> nodes)
    GetRootNodes()public List<GraphNode> GetRootNodes()
    GraphData()public GraphData(bool directed)
    IsAllNodeInZeroPosition()public bool IsAllNodeInZeroPosition()
    Refresh()public void Refresh()

    GraphEdge

    class in XCharts.Runtime

    图的边。

    API版本描述
    GraphEdge()public GraphEdge(GraphNode node1, GraphNode node2, double value)
    IsPointInEdge()public bool IsPointInEdge(Vector2 point)

    GraphNode

    class in XCharts.Runtime

    图的节点。

    API版本描述
    Expand()public void Expand(bool flag)
    GraphNode()public GraphNode(string id, string name, int dataIndex)
    IsAllInEdgesCollapsed()public bool IsAllInEdgesCollapsed()
    IsAnyInEdgesExpanded()public bool IsAnyInEdgesExpanded()
    ToString()public override string ToString()

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    BoundaryPoint()public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref List<Vector3> point)
    给定的线段和Grid边界的交点
    BoundaryPoint()public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref Vector3 point)
    给定的线段和Grid边界的交点
    Clamp()v3.7.0public void Clamp(ref Vector3 pos)
    将位置限制在网格内。
    ClampX()v3.7.0public void ClampX(ref Vector3 pos)
    将位置的X限制在网格内。
    ClampY()v3.7.0public void ClampY(ref Vector3 pos)
    将位置的Y限制在网格内。
    Contains()public bool Contains(float x, float y)
    给定的位置是否在网格内。
    Contains()public bool Contains(Vector3 pos)
    给定的位置是否在网格内。
    Contains()v3.7.0public bool Contains(Vector3 pos, bool isYAxis)
    给定的位置是否在网格内。
    ContainsX()v3.7.0public bool ContainsX(float x)
    给定的x是否在网格内。
    ContainsY()v3.7.0public bool ContainsY(float y)
    给定的y是否在网格内。
    IsPointerEnter()public bool IsPointerEnter()
    指针是否在网格内。
    NotAnyIntersect()v3.10.0public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
    判断给定的线段是否与Grid边界是否完全不会相交。
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridCoord3D

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    v3.11.0 开始支持

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    Clamp()public void Clamp(ref Vector3 pos)
    将位置限制在网格内。
    Contains()public bool Contains(Vector3 pos)
    给定的位置是否在网格内。
    IsLeft()public bool IsLeft()
    The opening of the coordinate system faces to the left. 坐标系开口朝向左边。
    IsPointerEnter()public bool IsPointerEnter()
    指针是否在网格内。
    NotAnyIntersect()public bool NotAnyIntersect(Vector3 sp, Vector3 ep)
    判断给定的线段是否与Grid边界是否完全不会相交。
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridCoord3DContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    GridCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    API版本描述
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridLayoutContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Heatmap

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    HeatmapChart

    class in XCharts.Runtime / 继承自: BaseChart

    热力图主要通过颜色去表现数值的大小,必须要配合 visualMap 组件使用。 可以应用在直角坐标系以及地理坐标系上,这两个坐标系上的表现形式相差很大,直角坐标系上必须要使用两个类目轴。

    API版本描述
    DefaultCountHeatmapChart()public void DefaultCountHeatmapChart()
    默认计数热力图。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Clone()public IconStyle Clone()
    Copy()public void Copy(IconStyle iconStyle)
    Reset()public void Reset()

    IgnoreDoc

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    IgnoreDoc()public IgnoreDoc()

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    API版本描述
    Clone()public ImageStyle Clone()
    Copy()public void Copy(ImageStyle imageStyle)
    Reset()public void Reset()

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    API版本描述
    AddIndicator()public RadarCoord.Indicator AddIndicator(string name, double min, double max)
    AddIndicator()public void AddIndicator(RadarCoord.Indicator indicator)
    AddIndicatorList()v3.3.0public void AddIndicatorList(List<string> nameList, double min = 0, double max = 0)
    ClearData()public override void ClearData()
    GetFormatterIndicatorContent()public string GetFormatterIndicatorContent(int indicatorIndex)
    GetFormatterIndicatorContent()public string GetFormatterIndicatorContent(string indicatorName)
    GetIndicator()public RadarCoord.Indicator GetIndicator(int indicatorIndex)
    GetIndicatorMax()public double GetIndicatorMax(int index)
    GetIndicatorMin()public double GetIndicatorMin(int index)
    GetIndicatorName()public string GetIndicatorName(int indicatorIndex)
    GetIndicatorPosition()public Vector3 GetIndicatorPosition(int index)
    IsInIndicatorRange()public bool IsInIndicatorRange(int index, double value)
    IsInRange()public bool IsInRange(double value)
    IsPointerEnter()public bool IsPointerEnter()
    SetDefaultValue()public override void SetDefaultValue()
    UpdateIndicator()public bool UpdateIndicator(int indicatorIndex, string name, double min, double max)

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Radar,BaseScatter

    InputHelper

    class in XCharts.Runtime

    API版本描述
    GetKeyDown()public static bool GetKeyDown(KeyCode keyCode)
    GetTouch()public static Touch GetTouch(int v)

    InteractData

    class in XCharts.Runtime

    API版本描述
    Reset()public void Reset()
    SetColor()public void SetColor(ref bool needInteract, Color32 color)
    SetColor()public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)
    SetPosition()public void SetPosition(ref bool needInteract, Vector3 pos)
    SetValue()public void SetValue(ref bool needInteract, float value, bool highlight, float rate = 1.3f)
    SetValue()public void SetValue(ref bool needInteract, float value, bool previousValueZero = false)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)
    ToString()public override string ToString()
    TryGetColor()public bool TryGetColor(ref Color32 color, ref bool interacting, float animationDuration = 250)
    TryGetColor()public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetPosition()public bool TryGetPosition(ref Vector3 pos, ref bool interacting, float animationDuration = 250)
    TryGetValue()public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location,Comment,Legend,Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,LineArrow,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord,CalendarCoord,GridCoord,GridCoord3D,ParallelCoord,PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,ItemStyle,LineStyle,SerieSymbol,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar,SimplifiedCandlestick,SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    图形样式。

    API版本描述
    GetBorderColor()public Color32 GetBorderColor(Color32 defaultColor)
    GetBorderColor0()public Color32 GetBorderColor0(Color32 defaultColor)
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 defaultColor)
    GetColor0()public Color32 GetColor0()
    GetColor0()public Color32 GetColor0(Color32 defaultColor)
    GetGradientColor()public Color32 GetGradientColor(float value, Color32 defaultColor)
    GetToColor()public Color32 GetToColor()
    IsNeedCorner()public bool IsNeedCorner()
    IsNeedGradient()public bool IsNeedGradient()
    Reset()public void Reset()

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis,DataZoom,CalendarCoord,GridCoord,GridLayout,GridCoord3D,ParallelCoord

    JsonUtil

    class in XCharts.Runtime

    API版本描述
    GetJsonArray<T>()public static T[] GetJsonArray<T>(string json)
    GetJsonObject<T>()public static T GetJsonObject<T>(string json)
    GetWebJson<T>()public static IEnumerator GetWebJson<T>(string url, Action<T[]> callback)
    GetWebJson<T>()public static IEnumerator GetWebJson<T>(string url, Action<T> callback)

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    标签的引导线

    API版本描述
    GetEndSymbolOffset()public Vector3 GetEndSymbolOffset()
    GetStartSymbolOffset()public Vector3 GetStartSymbolOffset()
    Reset()public void Reset()

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent / 子类: AxisLabel,EndLabelStyle,TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    API版本描述
    Clone()public virtual LabelStyle Clone()
    Copy()public virtual void Copy(LabelStyle label)
    GetColor()public Color GetColor(Color defaultColor)
    GetFormatterContent()public virtual string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
    GetFormatterContent()public virtual string GetFormatterContent(int labelIndex, string category)
    GetFormatterDateTime()public string GetFormatterDateTime(int labelIndex, double value, double minValue, double maxValue)
    GetOffset()public Vector3 GetOffset(float radius)
    IsAutoSize()public bool IsAutoSize()
    IsDefaultPosition()public bool IsDefaultPosition(Position position)
    IsInside()public bool IsInside()
    是否在内部。
    Reset()public void Reset()

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    API版本描述
    GetCandlestickDimensionName()public string GetCandlestickDimensionName(int i)
    GetDay()public string GetDay(int day)
    GetMonthAbbr()public string GetMonthAbbr(int month)

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    API版本描述
    List<string>()public List<string> dayOfMonth = new List<string>()
    List<string>()public List<string> dayOfWeek = new List<string>()
    List<string>()public List<string> dayOfWeekAbbr = new List<string>()
    List<string>()public List<string> monthAbbr = new List<string>()
    List<string>()public List<string> months = new List<string>()

    LayerHelper

    class in XCharts.Runtime

    API版本描述
    IsFixedWidthHeight()public static bool IsFixedWidthHeight(RectTransform rt)
    IsStretchPivot()public static bool IsStretchPivot(RectTransform rt)

    Legend

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    API版本描述
    AddData()public void AddData(string name)
    添加图例。
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空。
    ContainsData()public bool ContainsData(string name)
    是否包括由指定名字的图例
    GetColor()public Color GetColor(int index)
    GetData()public string GetData(int index)
    获得指定索引的图例。
    GetIcon()public Sprite GetIcon(int index)
    获得指定索引的图例按钮。
    GetIndex()public int GetIndex(string legendName)
    获得指定图例的索引。
    GetPosition()public Vector3 GetPosition(int index, Vector3 defaultPos)
    OnChanged()public void OnChanged()
    参数变更时的回调处理。
    RemoveButton()public void RemoveButton()
    移除所有图例按钮。
    RemoveData()public void RemoveData(string name)
    移除指定名字的图例。
    SetButton()public void SetButton(string name, LegendItem item, int total)
    给图例绑定按钮。
    UpdateButtonColor()public void UpdateButtonColor(string name, Color color)
    更新图例按钮颜色。
    UpdateContentColor()public void UpdateContentColor(string name, Color color)
    更新图例文字颜色。

    LegendContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    LegendHelper

    class in XCharts.Runtime

    API版本描述
    CheckDataHighlighted()public static int CheckDataHighlighted(Serie serie, string legendName, bool heighlight)
    CheckDataShow()public static bool CheckDataShow(Serie serie, string legendName, bool show)
    GetContentColor()public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)
    GetIconColor()public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)
    ResetItemPosition()public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)
    SetLegendBackground()public static void SetLegendBackground(Legend legend, ImageStyle style)

    LegendItem

    class in XCharts.Runtime

    API版本描述
    GetIconColor()public Color GetIconColor()
    GetIconRect()public Rect GetIconRect()
    SetActive()public void SetActive(bool active)
    SetBackground()public void SetBackground(ImageStyle imageStyle)
    SetButton()public void SetButton(Button button)
    SetContent()public bool SetContent(string content)
    SetContentBackgroundColor()public void SetContentBackgroundColor(Color color)
    SetContentColor()public void SetContentColor(Color color)
    SetContentPosition()public void SetContentPosition(Vector3 offset)
    SetIcon()public void SetIcon(Image icon)
    SetIconActive()public void SetIconActive(bool active)
    SetIconColor()public void SetIconColor(Color color)
    SetIconImage()public void SetIconImage(Sprite image)
    SetIconSize()public void SetIconSize(float width, float height)
    SetObject()public void SetObject(GameObject obj)
    SetPosition()public void SetPosition(Vector3 position)
    SetText()public void SetText(ChartText text)
    SetTextBackground()public void SetTextBackground(Image image)

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(LegendTheme theme)
    LegendTheme()public LegendTheme(ThemeType theme) : base(theme)

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    Line

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Line ConvertSerie(Serie serie)

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent

    LineChart

    class in XCharts.Runtime / 继承自: BaseChart

    折线图是用折线将各个数据点标志连接起来的图表,用于展现数据的变化趋势。可用于直角坐标系和极坐标系上。 设置 areaStyle 后可以绘制面积图。

    API版本描述
    DefaultAreaLineChart()public void DefaultAreaLineChart()
    默认面积折线图。
    DefaultDashLineChart()public void DefaultDashLineChart()
    默认虚线折线图。
    DefaultLogLineChart()public void DefaultLogLineChart()
    默认对数轴折线图。
    DefaultSmoothAreaLineChart()public void DefaultSmoothAreaLineChart()
    默认平滑面积折线图。
    DefaultSmoothLineChart()public void DefaultSmoothLineChart()
    默认平滑折线图。
    DefaultStackAreaLineChart()public void DefaultStackAreaLineChart()
    默认堆叠面积折线图。
    DefaultStackLineChart()public void DefaultStackLineChart()
    默认堆叠折线图。
    DefaultStepLineChart()public void DefaultStepLineChart()
    默认阶梯折线图。
    DefaultTimeLineChart()public void DefaultTimeLineChart()
    默认时间折线图。

    LineHelper

    class in XCharts.Runtime

    API版本描述
    GetDataAverageRate()public static int GetDataAverageRate(Serie serie, float axisLength, int maxCount, bool isYAxis)
    GetLineWidth()public static float GetLineWidth(ref bool interacting, Serie serie, float defaultWidth)

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    API版本描述
    Clone()public LineStyle Clone()
    Copy()public void Copy(LineStyle lineStyle)
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 themeColor)
    GetGradientColor()public Color32 GetGradientColor(float value, Color32 defaultColor)
    GetLength()public float GetLength(float themeLength)
    GetType()public Type GetType(Type themeType)
    GetWidth()public float GetWidth(float themeWidth)
    IsNeedGradient()public bool IsNeedGradient()
    IsNotSolidLine()public bool IsNotSolidLine()
    LineStyle()public LineStyle()
    LineStyle()public LineStyle(float width)
    LineStyle()public LineStyle(LineStyle.Type type)
    LineStyle()public LineStyle(LineStyle.Type type, float width)

    ListFor

    class in XCharts.Runtime / 继承自: Attribute / 子类: ListForComponent,ListForSerie

    API版本描述
    ListFor()public ListFor(Type type)

    ListForComponent

    class in XCharts.Runtime / 继承自: ListFor

    API版本描述
    ListForComponent()public ListForComponent(Type type) : base(type)

    ListForSerie

    class in XCharts.Runtime / 继承自: ListFor

    API版本描述
    ListForSerie()public ListForSerie(Type type) : base(type)

    ListPool<T>

    class in XCharts.Runtime

    API版本描述
    ClearAll()public static void ClearAll()
    Get()public static List<T> Get()
    Release()public static void Release(List<T> toRelease)

    Location

    class in XCharts.Runtime / 继承自: ChildComponent,IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    API版本描述
    GetPosition()public Vector3 GetPosition(float chartWidth, float chartHeight)
    返回在坐标系中的具体位置
    IsBottom()public bool IsBottom()
    IsCenter()public bool IsCenter()
    IsTop()public bool IsTop()
    OnChanged()public void OnChanged()
    属性变更时更新textAnchor,minAnchor,maxAnchor,pivot
    UpdateRuntimeData()public void UpdateRuntimeData(float chartWidth, float chartHeight)

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis,Background,Comment,DataZoom,Legend,MarkArea,MarkLine,Settings,Title,Tooltip,VisualMap,GridLayout,CoordSystem

    API版本描述
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearData()public virtual void ClearData() { }
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    CompareTo()public int CompareTo(object obj)
    OnRemove()public virtual void OnRemove()
    Reset()public virtual void Reset() { }
    ResetStatus()public virtual void ResetStatus() { }
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetDefaultValue()public virtual void SetDefaultValue() { }
    SetVerticesDirty()public virtual void SetVerticesDirty()

    MainComponentContext

    class in XCharts.Runtime / 子类: AxisContext,DataZoomContext,LegendContext,RadarCoordContext,VisualMapContext,GridCoordContext,GridLayoutContext,GridCoord3DContext,ParallelCoordContext,PolarCoordContext

    MainComponentHandler

    class in XCharts.Runtime / 子类: AxisHandler<T>,MainComponentHandler<T>

    API版本描述
    BeforceSerieUpdate()public virtual void BeforceSerieUpdate() { }
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    OnSerieDataUpdate()public virtual void OnSerieDataUpdate(int serieIndex) { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }

    MainComponentHandler<T>

    class in XCharts.Runtime / 继承自: MainComponentHandler

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    API版本描述
    onEndpublic Action<DataZoom> onEnd
    自定义选取框结束选取时的回调。
    onGoingpublic Action<DataZoom> onGoing
    自定义选取框选取进行时的回调。
    onStartpublic Action<DataZoom> onStart
    自定义选取框开始选取时的回调。

    MathUtil

    class in XCharts.Runtime

    API版本描述
    Abs()public static double Abs(double d)
    Approximately()public static bool Approximately(double a, double b)
    Clamp()public static double Clamp(double d, double min, double max)
    Clamp01()public static double Clamp01(double value)
    GetPrecision()public static int GetPrecision(double value)
    IsInteger()public static bool IsInteger(double value)
    Lerp()public static double Lerp(double a, double b, double t)

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    API版本描述
    GetValue()public float GetValue(float total)
    根据类型获取值。
    MLValue()public MLValue(float value)
    MLValue()public MLValue(Type type, float value)

    MonoBehaviour

    class in / 子类: XLog

    ObjectPool<T> where T

    class in XCharts.Runtime / 继承自: new()

    API版本描述
    ClearAll()public void ClearAll()
    Get()public T Get()
    new()public class ObjectPool<T> where T : new()
    ObjectPool()public ObjectPool(UnityAction<T> actionOnGet, UnityAction<T> actionOnRelease, bool newIfEmpty = true)
    Release()public void Release(T element)

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    API版本描述
    Padding()public Padding() { }
    Padding()public Padding(float top, float right, float bottom, float left)
    SetPadding()public void SetPadding(float top, float right, float bottom, float left)

    Painter

    class in XCharts.Runtime / 继承自: MaskableGraphic

    API版本描述
    onPopulateMeshpublic Action<VertexHelper, Painter> onPopulateMesh
    CheckRefresh()public void CheckRefresh()
    Init()public void Init()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag, bool isDebugMode = false)

    Parallel

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    ParallelChart

    class in XCharts.Runtime / 继承自: BaseChart

    平行坐标系,通过绘制垂直于坐标轴的平行线来显示数据的一种可视化图表。

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    Contains()public bool Contains(float x, float y)
    Contains()public bool Contains(Vector3 pos)
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    ParallelCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Pie

    class in XCharts.Runtime / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Pie ConvertSerie(Serie serie)

    PieChart

    class in XCharts.Runtime / 继承自: BaseChart

    饼图主要用于显示不同类目占比的情况,通过弧长来反映数据的大小占比。

    API版本描述
    DefaultAreaRosePieChart()public void DefaultAreaRosePieChart()
    默认面积玫瑰饼图。
    DefaultDonutPieChart()public void DefaultDonutPieChart()
    默认甜甜圈饼图。
    DefaultLabelDonutPieChart()public void DefaultLabelDonutPieChart()
    默认带标签甜甜圈饼图。
    DefaultLabelPieChart()public void DefaultLabelPieChart()
    默认带标签饼图。
    DefaultRadiusRosePieChart()public void DefaultRadiusRosePieChart()
    默认玫瑰饼图。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    PolarAxisTheme()public PolarAxisTheme(ThemeType theme) : base(theme) { }

    PolarChart

    class in XCharts.Runtime / 继承自: BaseChart

    极坐标系,可以用于散点图和折线图。

    API版本描述
    DefaultHeatmapPolarChart()public void DefaultHeatmapPolarChart()
    默认极坐标色块图。
    DefaultRadialBarPolarChart()public void DefaultRadialBarPolarChart()
    默认径向柱状极坐标图。
    DefaultTangentialBarPolarChart()public void DefaultTangentialBarPolarChart()
    默认切向柱状极坐标图。

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    API版本描述
    Contains()public bool Contains(Vector3 pos)
    IsPointerEnter()public bool IsPointerEnter()

    PolarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    PropertyUtil

    class in XCharts.Runtime

    API版本描述
    SetClass<T>()public static bool SetClass<T>(ref T currentValue, T newValue, bool notNull = false) where T : class
    SetColor()public static bool SetColor(ref Color currentValue, Color newValue)
    SetColor()public static bool SetColor(ref Color32 currentValue, Color32 newValue)
    SetStruct<T>()public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct

    Radar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    RadarAxisTheme()public RadarAxisTheme(ThemeType theme) : base(theme)

    RadarChart

    class in XCharts.Runtime / 继承自: BaseChart

    雷达图主要用于显示多变量的数据,例如足球运动员的各项属性分析。依赖雷达组件。

    API版本描述
    DefaultCircleRadarChart()public void DefaultCircleRadarChart()
    默认圆形雷达图。

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    RadiusAxisTheme()public RadiusAxisTheme(ThemeType theme) : base(theme) { }

    ReflectionUtil

    class in XCharts.Runtime

    API版本描述
    DeepCloneSerializeField()public static object DeepCloneSerializeField(object obj)
    InvokeListAdd()public static void InvokeListAdd(object obj, FieldInfo field, object item)
    InvokeListAddTo<T>()public static void InvokeListAddTo<T>(object obj, FieldInfo field, Action<T> callback)
    InvokeListClear()public static void InvokeListClear(object obj, FieldInfo field)
    InvokeListCount()public static int InvokeListCount(object obj, FieldInfo field)
    InvokeListGet<T>()public static T InvokeListGet<T>(object obj, FieldInfo field, int i)

    RequireChartComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)

    Ring

    class in XCharts.Runtime / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    GetDataTotal()public override double GetDataTotal(int dimension, SerieData serieData = null)

    RingChart

    class in XCharts.Runtime / 继承自: BaseChart

    环形图主要用于显示每一项的比例以及各项之间的关系。

    API版本描述
    DefaultMultipleRingChart()public void DefaultMultipleRingChart()
    默认多圆环图。

    RuntimeUtil

    class in XCharts.Runtime

    API版本描述
    GetAllAssemblyTypes()public static IEnumerable<Type> GetAllAssemblyTypes()
    GetAllTypesDerivedFrom()public static IEnumerable<Type> GetAllTypesDerivedFrom(Type type)
    GetAllTypesDerivedFrom<T>()public static IEnumerable<Type> GetAllTypesDerivedFrom<T>()
    GetAttribute<T>()public static T GetAttribute<T>(this MemberInfo type, bool check = true) where T : Attribute
    GetAttribute<T>()public static T GetAttribute<T>(this Type type, bool check = true) where T : Attribute
    HasSubclass()public static bool HasSubclass(Type type)

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ScatterChart

    class in XCharts.Runtime / 继承自: BaseChart

    散点图主要用于展现两个数据维度之间的关系。

    API版本描述
    DefaultBubbleChart()public void DefaultBubbleChart()
    默认气泡图。

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie,IComparable / 子类: SerieHandler<T>,Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Pie,Radar,Ring,BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    API版本描述
    onClickpublic Action<SerieEventData> onClick
    点击系列时的回调。
    onDownpublic Action<SerieEventData> onDown
    鼠标按下时的回调。
    onEnterpublic Action<SerieEventData> onEnter
    鼠标进入时的回调。
    onExitpublic Action<SerieEventData> onExit
    鼠标离开时的回调。
    AddChildData()public SerieData AddChildData(SerieData parent, double value, string name, string id)
    AddChildData()public SerieData AddChildData(SerieData parent, List<double> value, string name, string id)
    AddChildData()public void AddChildData(SerieData parent, SerieData serieData)
    AddData()public SerieData AddData(double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    添加 (open, close, lowest, heighest) 数据
    AddData()public SerieData AddData(List<double> valueList, string dataName = null, string dataId = null)
    将一组数据添加到系列中。 如果数据只有一个,默认添加到维度Y中。
    AddData()public SerieData AddData(params double[] values)
    添加任意维数据到系列中。
    AddExtraComponent<T>()public T AddExtraComponent<T>() where T : ChildComponent, ISerieComponent
    AddLink()public virtual SerieDataLink AddLink(string sourceId, string targetId, double value = 0)
    添加一个关系图的关系数据。
    AddSerieData()public virtual void AddSerieData(SerieData serieData)
    AddXYData()public SerieData AddXYData(double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到维度X和维度Y
    AddYData()public SerieData AddYData(double value, string dataName = null, string dataId = null)
    添加一个数据到维度Y(此时维度X对应的数据是索引)
    AnimationEnable()public void AnimationEnable(bool flag)
    启用或取消初始动画
    AnimationFadeIn()public void AnimationFadeIn()
    渐入动画
    AnimationFadeOut()public void AnimationFadeOut()
    渐出动画
    AnimationPause()public void AnimationPause()
    暂停动画
    AnimationReset()public void AnimationReset()
    重置动画
    AnimationRestart()public void AnimationRestart()
    重置动画
    AnimationResume()public void AnimationResume()
    继续动画
    CanAddComponent()public bool CanAddComponent(Type type)
    CanAddComponent<T>()public bool CanAddComponent<T>() where T : ChildComponent, ISerieComponent
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空所有数据
    ClearDirty()public override void ClearDirty()
    ClearHighlight()public void ClearHighlight()
    清除所有数据的高亮标志
    ClearLinks()public void ClearLinks()
    清空所有Link数据
    ClearSerieNameDirty()public void ClearSerieNameDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public Serie Clone()
    Clone<T>()public T Clone<T>() where T : Serie
    CompareTo()public int CompareTo(object obj)
    EnsureComponent()public ISerieComponent EnsureComponent(Type type)
    EnsureComponent<T>()public T EnsureComponent<T>() where T : ChildComponent, ISerieComponent
    确保系列有该组件。如果没有,则添加。
    GetBarWidth()public float GetBarWidth(float categoryWidth, int barCount = 0, float defaultRate = 0.6f)
    GetComponent()public ISerieComponent GetComponent(Type type)
    GetComponent<T>()public T GetComponent<T>() where T : ChildComponent, ISerieComponent
    GetData()public double GetData(int index, int dimension, DataZoom dataZoom = null)
    获得指定index指定维数的数据
    GetDataList()public List<SerieData> GetDataList(DataZoom dataZoom = null)
    获得系列的数据列表
    GetDataTotal()public virtual double GetDataTotal(int dimension, SerieData serieData = null)
    GetSerieData()public SerieData GetSerieData(int index, DataZoom dataZoom = null)
    获得指定索引的数据项
    GetSerieData()public SerieData GetSerieData(SerieData parent, string id)
    GetSerieData()public SerieData GetSerieData(string id, DataZoom dataZoom = null)
    GetXYData()public void GetXYData(int index, DataZoom dataZoom, out double xValue, out double yVlaue)
    获得指定索引的维度X和维度Y的数据
    GetYCurrData()public double GetYCurrData(int index, DataZoom dataZoom = null)
    GetYData()public double GetYData(int index, DataZoom dataZoom = null)
    获得维度Y索引对应的数据
    GetYData()public void GetYData(int index, out double yData, out string dataName, DataZoom dataZoom = null)
    获得维度Y索引对应的数据和数据名
    IsIgnoreIndex()public bool IsIgnoreIndex(int index, int dimension = 1)
    IsIgnorePoint()public bool IsIgnorePoint(int index)
    IsIgnoreValue()public bool IsIgnoreValue(double value)
    IsIgnoreValue()public bool IsIgnoreValue(SerieData serieData, double value)
    IsIgnoreValue()public bool IsIgnoreValue(SerieData serieData, int dimension = 1)
    IsLegendName()public bool IsLegendName(string legendName)
    IsMinShowLabelValue()public bool IsMinShowLabelValue(double value)
    IsMinShowLabelValue()public bool IsMinShowLabelValue(int index, int dimension = 1)
    IsMinShowLabelValue()public bool IsMinShowLabelValue(SerieData serieData, int dimension = 1)
    IsPerformanceMode()public bool IsPerformanceMode()
    是否为性能模式。性能模式下不绘制Symbol,不刷新Label,不单独设置数据项配置。
    IsSerie<T>()public bool IsSerie<T>() where T : Serie
    IsSerieDataLegendName()public bool IsSerieDataLegendName(string legendName)
    IsSerieLegendName()public bool IsSerieLegendName(string legendName)
    IsUseCoord<T>()public bool IsUseCoord<T>() where T : CoordSystem
    RemoveAllComponents()public void RemoveAllComponents()
    移除所有额外组件。
    RemoveComponent()public void RemoveComponent(Type type)
    RemoveComponent<T>()public void RemoveComponent<T>() where T : ISerieComponent
    RemoveData()public void RemoveData(int index)
    移除指定索引的数据
    ResetDataIndex()public bool ResetDataIndex()
    重置数据项索引。避免部分数据项的索引异常。
    ResetInteract()public void ResetInteract()
    SetAllDirty()public override void SetAllDirty()
    SetCoord<T>()public bool SetCoord<T>() where T : CoordSystem
    SetHighlight()public void SetHighlight(int index, bool flag)
    设置指定索引的数据为高亮状态
    SetVerticesDirty()public override void SetVerticesDirty()
    UpdateData()public bool UpdateData(int index, int dimension, double value)
    更新指定索引指定维数的数据
    UpdateData()public bool UpdateData(int index, List<double> values)
    更新指定索引的数据项数据列表
    UpdateDataName()public bool UpdateDataName(int index, string name)
    UpdateXYData()public bool UpdateXYData(int index, double xValue, double yValue)
    更新指定索引的维度X和维度Y的数据
    UpdateYData()public bool UpdateYData(int index, double value)
    更新指定索引的维度Y数据

    SerieComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到Serie的组件。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieComponentAttribute()public SerieComponentAttribute()
    SerieComponentAttribute()public SerieComponentAttribute(Type type1)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieContext

    class in XCharts.Runtime

    SerieConvertAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可转化为哪些Serie类型。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : Serie
    SerieConvertAttribute()public SerieConvertAttribute(Type serie)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    EnsureComponent()v3.6.0public ISerieDataComponent EnsureComponent(Type type)
    确保数据项有指定类型的组件,如果没有则添加。
    EnsureComponent<T>()v3.6.0public T EnsureComponent<T>() where T : ChildComponent, ISerieDataComponent
    确保数据项有指定类型的组件,如果没有则添加。
    GetAddAnimationData()public double GetAddAnimationData(double min, double max, float animationDuration = 500f, bool unscaledTime = false)
    GetComponent<T>()public T GetComponent<T>() where T : ChildComponent, ISerieDataComponent
    获取数据项的指定类型的组件,如果不存在则返回null。
    GetCurrData()public double GetCurrData(int index, AnimationStyle animation, bool inverse = false, bool loop = false)
    GetCurrData()public double GetCurrData(int index, AnimationStyle animation, bool inverse, double min, double max, bool loop = false)
    GetCurrData()public double GetCurrData(int index, float dataAddDuration = 500f, float animationDuration = 500f, bool unscaledTime = false, bool inverse = false)
    GetCurrData()public double GetCurrData(int index, float dataAddDuration, float animationDuration, bool inverse, double min, double max, bool unscaledTime, bool loop = false)
    GetData()public double GetData(int index, bool inverse = false)
    GetData()public double GetData(int index, double min, double max)
    GetFirstData()public double GetFirstData(bool unscaledTime, float animationDuration = 500f)
    GetLabelHeight()public float GetLabelHeight()
    GetLabelWidth()public float GetLabelWidth()
    GetLastData()public double GetLastData()
    GetMaxData()public double GetMaxData(bool inverse = false)
    最大值。
    GetMinData()public double GetMinData(bool inverse = false)
    最小值。
    GetMinMaxData()public void GetMinMaxData(int startDimensionIndex, bool inverse, out double min, out double max)
    GetOrAddComponent<T>()public T GetOrAddComponent<T>() where T : ChildComponent, ISerieDataComponent
    GetPreviousData()public double GetPreviousData(int index, bool inverse = false)
    GetTotalData()public double GetTotalData()
    IsDataChanged()public bool IsDataChanged()
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    List<string>()public static List<string> extraFieldList = new List<string>()
    系列中的一个数据项。可存储数据名和1-n维个数据。
    OnAdd()public void OnAdd(AnimationStyle animation, double startValue = 0)
    RemoveAllComponent()public void RemoveAllComponent()
    RemoveComponent()public void RemoveComponent(Type type)
    RemoveComponent<T>()public void RemoveComponent<T>() where T : ISerieDataComponent
    Reset()public void Reset()
    SetIconActive()public void SetIconActive(bool flag)
    SetLabelActive()public void SetLabelActive(bool flag)
    SetPolygon()public void SetPolygon(params Vector2[] points)
    SetPolygon()public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)
    SetPolygon()public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5)
    UpdateData()public bool UpdateData(int dimension, double value)
    UpdateData()public bool UpdateData(int dimension, double value, bool updateAnimation, bool unscaledTime, float animationDuration = 500f)

    SerieDataComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到SerieData的组件。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieDataComponentAttribute()public SerieDataComponentAttribute()
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieDataContext

    class in XCharts.Runtime

    API版本描述
    Reset()public void Reset()

    SerieDataExtraFieldAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Contains()public bool Contains(string field)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute()
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7)

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    数据节点之间的连线。可用于桑基图等,桑基图只支持有向无环图,请保证数据的连线是有向无环图。

    SerieEventData

    class in XCharts.Runtime

    serie事件的数据。

    API版本描述
    Reset()public void Reset()

    SerieEventDataPool

    class in XCharts.Runtime

    API版本描述
    Get()public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)
    Release()public static void Release(SerieEventData toRelease)

    SerieHandler

    class in XCharts.Runtime

    API版本描述
    AfterUpdate()public virtual void AfterUpdate() { }
    BeforeUpdate()public virtual void BeforeUpdate() { }
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawSerie()public virtual void DrawSerie(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    ForceUpdateSerieContext()public virtual void ForceUpdateSerieContext() { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDataUpdate()public virtual void OnDataUpdate() { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName) { }
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    RefreshLabelInternal()public virtual void RefreshLabelInternal() { }
    RefreshLabelNextFrame()public virtual void RefreshLabelNextFrame() { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }
    UpdateSerieContext()public virtual void UpdateSerieContext() { }

    SerieHandler where T

    class in / 子类: SerieHandler<T>

    SerieHandler<T>

    class in XCharts.Runtime / 继承自: [SerieHandler where T](#seriehandler where t),Serie

    API版本描述
    AfterUpdate()public override void AfterUpdate()
    BeforeUpdate()public override void BeforeUpdate()
    DrawLabelLineSymbol()public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)
    ForceUpdateSerieContext()public override void ForceUpdateSerieContext()
    GetPointerItemDataDimension()public override int GetPointerItemDataDimension()
    GetPointerItemDataIndex()public override int GetPointerItemDataIndex()
    GetSerieDataAutoColor()public virtual Color GetSerieDataAutoColor(SerieData serieData)
    GetSerieDataLabelOffset()public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)
    GetSerieDataLabelPosition()public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)
    GetSerieDataTitlePosition()public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)
    InitComponent()public override void InitComponent()
    OnLegendButtonClick()public override void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public override void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public override void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    RefreshEndLabelInternal()public virtual void RefreshEndLabelInternal()
    RefreshLabelInternal()public override void RefreshLabelInternal()
    RefreshLabelNextFrame()public override void RefreshLabelNextFrame()
    RemoveComponent()public override void RemoveComponent()
    Update()public override void Update()

    SerieHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler)
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler, bool allowMultiple)

    SerieHelper

    class in XCharts.Runtime

    API版本描述
    CloneSerie<T>()public static T CloneSerie<T>(Serie serie) where T : Serie
    CopySerie()public static void CopySerie(Serie oldSerie, Serie newSerie)
    GetAllMinMaxData()public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)
    GetAreaStyle()public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)
    GetAverageData()public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetBlurStyle()public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)
    GetEmphasisStyle()public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData)
    GetItemColor()public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true)
    GetItemFormatter()public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetItemMarker()public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null)
    GetItemStyle()public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetLineColor()public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto)
    GetLineStyle()public static LineStyle GetLineStyle(Serie serie, SerieData serieData)
    GetMaxData()public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMaxSerieData()public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMedianData()public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinData()public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinMaxData()public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)
    获得系列所有数据的最大最小值。
    GetMinSerieData()public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetNumericFormatter()public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetSelectStyle()public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)
    GetSerieLabel()public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieLabelLine()public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieState()public static SerieState GetSerieState(Serie serie)
    GetSerieState()public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)
    GetSerieState()public static SerieState GetSerieState(SerieData serieData)
    GetSerieSymbol()public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetStateStyle()public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)
    GetSysmbolSize()public static float GetSysmbolSize(Serie serie, SerieData serieData, float defaultSize, SerieState state = SerieState.Auto, bool checkAnimation = false)
    GetTitleStyle()public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)
    IsAllZeroValue()public static bool IsAllZeroValue(Serie serie, int dimension = 1)
    系列指定维数的数据是否全部为0。
    IsDownPoint()public static bool IsDownPoint(Serie serie, int index)
    UpdateCenter()public static void UpdateCenter(Serie serie, BaseChart chart)
    更新运行时中心点和半径
    UpdateFilterData()public static void UpdateFilterData(Serie serie, DataZoom dataZoom)
    根据dataZoom更新数据列表缓存
    UpdateMinMaxData()public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)
    获得指定维数的最大最小值
    UpdateRect()public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
    UpdateSerieRuntimeFilterData()public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)

    SerieLabelHelper

    class in XCharts.Runtime

    API版本描述
    CanShowLabel()public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)
    GetLabelColor()public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)
    SetGaugeLabelText()public static void SetGaugeLabelText(Serie serie)

    SerieLabelPool

    class in XCharts.Runtime

    API版本描述
    ClearAll()public static void ClearAll()
    Release()public static void Release(GameObject element)
    ReleaseAll()public static void ReleaseAll(Transform parent)

    SerieParams

    class in XCharts.Runtime

    SeriesHelper

    class in XCharts.Runtime

    API版本描述
    GetLastStackSerie()public static Serie GetLastStackSerie(List<Serie> series, Serie serie)
    获得上一个同堆叠且显示的serie。
    GetLegalSerieNameList()public static List<string> GetLegalSerieNameList(List<Serie> series)
    GetMaxSerieDataCount()public static int GetMaxSerieDataCount(List<Serie> series)
    GetMinAnimationDuration()public static float GetMinAnimationDuration(List<Serie> series)
    GetNameColor()public static Color GetNameColor(BaseChart chart, int index, string name)
    GetStackSeries()public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)
    获得堆叠系列列表
    IsAnyClipSerie()public static bool IsAnyClipSerie(List<Serie> series)
    是否有需裁剪的serie。
    IsLegalLegendName()public static bool IsLegalLegendName(string name)
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series) where T : Serie
    是否时百分比堆叠
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series, string stackName) where T : Serie
    是否时百分比堆叠
    IsStack()public static bool IsStack(List<Serie> series)
    是否由数据堆叠
    IsStack<T>()public static bool IsStack<T>(List<Serie> series, string stackName) where T : Serie
    是否堆叠
    UpdateSerieNameList()public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)
    获得所有系列名,不包含空名字。
    UpdateStackDataList()public static void UpdateStackDataList(List<Serie> series, Serie currSerie, DataZoom dataZoom, List<List<SerieData>> dataList)

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle,ISerieDataComponent

    系列数据项的标记的图形

    API版本描述
    GetSize()public float GetSize(List<double> data, float themeSize)
    根据指定的sizeType获得标记的大小
    Reset()public override void Reset()
    ShowSymbol()public bool ShowSymbol(int dataIndex, int dataCount)

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Copy()public void Copy(SerieTheme theme)
    SerieTheme()public SerieTheme(ThemeType theme)

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    API版本描述
    Copy()public void Copy(Settings settings)
    Reset()public override void Reset()

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedBar ConvertSerie(Serie serie)

    SimplifiedBarChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化柱状图是柱状图的简化模式,通过简化组件和配置,拥有更好的性能。

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedCandlestick ConvertSerie(Serie serie)

    SimplifiedCandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化K线图是K线图的简化模式,通过简化组件和配置,拥有更好的性能。

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedLine ConvertSerie(Serie serie)

    SimplifiedLineChart

    class in XCharts.Runtime / 继承自: BaseChart

    简化折线图是折线图的简化模式,通过简化组件和配置,拥有更好的性能。

    Since

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Since()public Since(string version)

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis,IUpdateRuntimeData

    单轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    StageColor()public StageColor(float percent, Color32 color)

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle,EmphasisStyle,SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Reset()public void Reset()

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    SubTitleTheme()public SubTitleTheme(ThemeType theme) : base(theme)

    SVG

    class in XUGL

    API版本描述
    DrawPath()public static void DrawPath(VertexHelper vh, string path)
    DrawPath()public static void DrawPath(VertexHelper vh, SVGPath path)
    Test()public static void Test(VertexHelper vh)

    SVGPath

    class in XUGL

    API版本描述
    AddSegment()public void AddSegment(SVGPathSeg seg)
    Draw()public void Draw(VertexHelper vh)
    Parse()public static SVGPath Parse(string path)

    SVGPathSeg

    class in XUGL

    API版本描述
    SVGPathSeg()public SVGPathSeg(SVGPathSegType type)

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    API版本描述
    GetColor()public Color32 GetColor(Color32 defaultColor)
    Reset()public virtual void Reset()

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    API版本描述
    Clone()public TextLimit Clone()
    Copy()public void Copy(TextLimit textLimit)
    GetLimitContent()public string GetLimitContent(string content)
    SetRelatedText()public void SetRelatedText(ChartText txt, float labelWidth)

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    API版本描述
    TextPadding()public TextPadding() { }
    TextPadding()public TextPadding(float top, float right, float bottom, float left)

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    API版本描述
    Copy()public void Copy(TextStyle textStyle)
    GetAlignment()public TextAnchor GetAlignment(TextAnchor defaultAlignment)
    GetColor()public Color GetColor(Color defaultColor)
    GetFontSize()public int GetFontSize(ComponentTheme defaultTheme)
    TextStyle()public TextStyle() { }
    TextStyle()public TextStyle(int fontSize)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle, Color color)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle, Color color, int rorate)
    UpdateAlignmentByLocation()public void UpdateAlignmentByLocation(Location location)

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    API版本描述
    CheckWarning()public void CheckWarning(StringBuilder sb)
    CloneTheme()public Theme CloneTheme()
    克隆主题。
    CopyTheme()public bool CopyTheme(ThemeType theme)
    CopyTheme()public void CopyTheme(Theme theme)
    复制主题的所有配置。
    GetColor()public Color32 GetColor(int index)
    获得调色盘对应系列索引的颜色值。
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。
    GetColorStr()public string GetColorStr(int index)
    获得指定索引的十六进制颜色值字符串。
    GetHashCode()public override int GetHashCode()
    ResetTheme()public bool ResetTheme()
    重置,清除所有自定义配置。
    ResetToDarkTheme()public static void ResetToDarkTheme(Theme theme)
    暗主题。
    ResetToDefaultTheme()public static void ResetToDefaultTheme(Theme theme)
    默认主题。
    SetColorPalette()public void SetColorPalette(List<string> hexColorStringList)
    SetDefaultFont()public void SetDefaultFont()
    SyncFontToSubComponent()public void SyncFontToSubComponent()
    SyncTMPFontToSubComponent()public void SyncTMPFontToSubComponent()

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    API版本描述
    CheckWarning()public void CheckWarning(StringBuilder sb)
    GetBackgroundColor()public Color32 GetBackgroundColor(Background background)
    GetColor()public Color32 GetColor(int index)
    获得调色盘对应系列索引的颜色值。
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。
    GetColorStr()public string GetColorStr(int index)
    获得指定索引的十六进制颜色值字符串。
    SyncSharedThemeColorToCustom()public void SyncSharedThemeColorToCustom()

    Title

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    标题组件,包含主标题和副标题。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    OnChanged()public void OnChanged()

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle,ISerieDataComponent,ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    TitleTheme()public TitleTheme(ThemeType theme) : base(theme)

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    API版本描述
    onClickIndexpublic System.Action<int> onClickIndex
    Tooltip为Click触发时,点击的X轴索引的回调。
    AddSerieDataIndex()public void AddSerieDataIndex(int serieIndex, int dataIndex)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    ClearSerieDataIndex()public void ClearSerieDataIndex()
    GetContentLabelStyle()public LabelStyle GetContentLabelStyle(int index)
    IsActive()public bool IsActive()
    提示框是否显示
    isAnySerieDataIndex()public bool isAnySerieDataIndex()
    IsSelected()public bool IsSelected()
    当前提示框是否选中数据项
    IsSelected()public bool IsSelected(int index)
    指定索引的数据项是否被提示框选中
    IsTriggerAxis()public bool IsTriggerAxis()
    IsTriggerItem()public bool IsTriggerItem()
    KeepTop()public void KeepTop()
    保持Tooltiop显示在最顶上
    SetActive()public void SetActive(bool flag)
    设置Tooltip组件是否显示
    SetContentActive()public void SetContentActive(bool flag)
    设置文本框是否显示
    UpdateContentPos()public void UpdateContentPos(Vector2 pos, float width, float height)
    更新文本框位置

    TooltipContext

    class in XCharts.Runtime

    TooltipData

    class in XCharts.Runtime

    TooltipHelper

    class in XCharts.Runtime

    API版本描述
    GetItemNumericFormatter()public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)
    GetLineColor()public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor)
    IsIgnoreFormatter()public static bool IsIgnoreFormatter(string itemFormatter)
    LimitInRect()public static void LimitInRect(Tooltip tooltip, Rect chartRect)

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(TooltipTheme theme)
    TooltipTheme()public TooltipTheme(ThemeType theme) : base(theme)

    TooltipView

    class in XCharts.Runtime

    API版本描述
    CreateView()public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)
    GetCurrentPos()public Vector3 GetCurrentPos()
    GetTargetPos()public Vector3 GetTargetPos()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag)
    Update()public void Update()
    UpdatePosition()public void UpdatePosition(Vector3 pos)

    TooltipViewItem

    class in XCharts.Runtime

    UGL

    class in XUGL

    UGUI 图形库

    API版本描述
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, Color32 color, Color32 toColor)
    DrawEllipse()public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)
    DrawEmptyDiamond()public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color)
    DrawEmptyDiamond()public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color, Color32 emptyColor)
    DrawEmptyTriangle()public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color)
    DrawEmptyTriangle()public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color, Color32 backgroundColor)
    DrawLine()public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color)
    Draw a line. 画直线
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
    Draw a line. 画直线
    DrawMinus()public static void DrawMinus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    绘制减号
    DrawPlus()public static void DrawPlus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    绘制加号
    DrawPolygon()public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
    填充任意多边形(目前只支持凸多边形)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Vector3 p1, Vector3 p2, float radius, Color32 color)
    Draw a rectangle. 画带长方形
    DrawSquare()public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
    Draw a square. 画正方形
    DrawSvgPath()public static void DrawSvgPath(VertexHelper vh, string path)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)

    UGLExample

    class in XUGL / 继承自: MaskableGraphic

    UGLHelper

    class in XUGL

    API版本描述
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBezier()public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)
    GetBezier2()public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)
    GetBezierList()public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref List<Vector3> intersection)
    获得两直线的交点
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref Vector3 intersection)
    获得两直线的交点
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector3> polyons)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, params Vector3[] polyons)
    IsPointInTriangle()public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)

    UIComponent

    class in XCharts.Runtime / 继承自: BaseGraph

    UI组件基类。

    API版本描述
    SetAllDirty()public override void SetAllDirty()
    SetDataDirty()v3.9.0public void SetDataDirty()
    SetVerticesDirty()public override void SetVerticesDirty()
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    GetBackgroundColor()public Color32 GetBackgroundColor(Background background)

    UIHelper

    class in XCharts.Runtime

    UI帮助类。

    ViewControl

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.11.0 开始支持

    3D视角控制组件。

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    API版本描述
    AddColors()public void AddColors(List<Color32> colors)
    AddColors()public void AddColors(List<string> colors)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    GetColor()public Color32 GetColor(double value)
    GetColor()public Color32 GetColor(double xValue, double yValue, double zValue, byte alpha = 255)
    GetIndex()public int GetIndex(double value)
    GetValue()public double GetValue(Vector3 pos, Rect chartRect)
    IsInRangeMaxRect()public bool IsInRangeMaxRect(Vector3 local, Rect chartRect, float triangleLen)
    IsInRangeMinRect()public bool IsInRangeMinRect(Vector3 local, Rect chartRect, float triangleLen)
    IsInRangeRect()public bool IsInRangeRect(Vector3 local, Rect chartRect)
    IsInRect()public bool IsInRect(Vector3 local, Rect chartRect, float triangleLen = 20)
    IsInSelectedValue()public bool IsInSelectedValue(double value)
    IsPiecewise()public bool IsPiecewise()

    VisualMapContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    VisualMapHelper

    class in XCharts.Runtime

    API版本描述
    AutoSetLineMinMax()public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
    GetDimension()public static int GetDimension(VisualMap visualMap, int defaultDimension)
    IsNeedAreaGradient()public static bool IsNeedAreaGradient(VisualMap visualMap)
    IsNeedGradient()public static bool IsNeedGradient(VisualMap visualMap)
    IsNeedLineGradient()public static bool IsNeedLineGradient(VisualMap visualMap)
    SetMinMax()public static void SetMinMax(VisualMap visualMap, double min, double max)

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Contains()public bool Contains(double value, double minMaxRange)

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(VisualMapTheme theme)
    VisualMapTheme()public VisualMapTheme(ThemeType theme) : base(theme)

    Wrapper<T>

    class in XCharts.Runtime

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 x 轴。

    XAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 x 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 x 轴。

    XChartsMgr

    class in XCharts.Runtime

    API版本描述
    AddChart()public static void AddChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(string chartName)
    GetChart()public static BaseChart GetChart(string chartName)
    GetCharts()public static List<BaseChart> GetCharts(string chartName)
    GetPackageFullPath()public static string GetPackageFullPath()
    GetRepeatChartNameInfo()public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
    IsRepeatChartName()public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
    RemoveAllChartObject()public static void RemoveAllChartObject()
    RemoveChart()public static void RemoveChart(string chartName)

    XCResourceImporterWindow

    class in XCharts.Runtime / 继承自: UnityEditor.EditorWindow

    API版本描述
    ShowPackageImporterWindow()public static void ShowPackageImporterWindow()

    XCResourcesImporter

    class in XCharts.Runtime

    API版本描述
    OnDestroy()public void OnDestroy() { }
    OnGUI()public void OnGUI()
    XCResourcesImporter()public XCResourcesImporter() { }

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    API版本描述
    AddCustomTheme()public static bool AddCustomTheme(Theme theme)
    ExistAssetFile()public static bool ExistAssetFile()
    GetSettingAssetPath()public static string GetSettingAssetPath()

    XCThemeMgr

    class in XCharts.Runtime

    API版本描述
    AddTheme()public static void AddTheme(Theme theme)
    CheckReloadTheme()public static void CheckReloadTheme()
    ContainsTheme()public static bool ContainsTheme(string themeName)
    ExportTheme()public static bool ExportTheme(Theme theme)
    ExportTheme()public static bool ExportTheme(Theme theme, string themeNewName)
    GetAllThemeNames()public static List<string> GetAllThemeNames()
    GetTheme()public static Theme GetTheme(string themeName)
    GetTheme()public static Theme GetTheme(ThemeType type)
    GetThemeAssetPath()public static string GetThemeAssetPath(string themeName)
    GetThemeList()public static List<Theme> GetThemeList()
    LoadTheme()public static Theme LoadTheme(string themeName)
    LoadTheme()public static Theme LoadTheme(ThemeType type)
    ReloadThemeList()public static void ReloadThemeList()
    重新加载主题列表
    SwitchTheme()public static void SwitchTheme(BaseChart chart, string themeName)

    XLog

    class in XCharts.Runtime / 继承自: MonoBehaviour

    日志系统。用于输出带日期和日志类型的日志,支持输出到文件,支持自定义输出的日志类型。

    API版本描述
    CanLog()public static bool CanLog(int level)
    ClearAllLog()public static void ClearAllLog()
    Debug()public static void Debug(string log)
    EnableLog()public static void EnableLog(int logType)
    Error()public static void Error(string log)
    FlushLog()public static void FlushLog()
    GetNowTime()public static string GetNowTime(string formatter = null)
    GetTimestamp()public static ulong GetTimestamp()
    Info()public static void Info(string log)
    Log()public static void Log(string log)
    LogError()public static void LogError(string log)
    LogWarning()public static void LogWarning(string log)
    Proto()public static void Proto(string log)
    Vital()public static void Vital(string log)
    Warning()public static void Warning(string log)

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。

    YAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。

    ZAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/bar3d/index.html b/en/docs/v3.11.2/bar3d/index.html index d3687614..0efa3ff5 100644 --- a/en/docs/v3.11.2/bar3d/index.html +++ b/en/docs/v3.11.2/bar3d/index.html @@ -14,14 +14,14 @@ Bar3DChart 3D柱图 | XCharts - - + +
    Version: v3.11.2

    Bar3DChart 3D柱图

    XCharts的付费扩展图表 - 3D柱图。

    截图

    Bar3D01Bar3D02Bar3D03Bar3D04Bar3D05
    Bar3D07Bar3D08Bar3D09Bar3D10

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-Bar3DChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2023.12.16) 增加Bar3D的更多默认图表快捷方式和API
    • (2023.12.16) 增加Bar3DStyleborderDash是否绘制虚线边框
    • (2023.12.16) 增加Bar3DStyleoccludedAreaBorderDash是否绘制遮挡区域的虚线边框
    • (2023.12.16) 增加Bar3DStyleoccludedAreaBorder是否绘制遮挡区域的边框
    • (2023.12.16) 增加Border边框绘制支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0
    • (2023.02.14) 增加Bar3DStyletopColorbottomColorsideColor参数支持

    v3.5.0

    • (2022.11.29) 增加SeriebarMaxWidth参数支持
    • (2022.11.27) 增加SerieItemStylebackgroundColor参数支持
    • (2022.11.27) 增加SeriecolorBy的支持
    • (2022.11.27) 更新文档

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    v3.1.0

    • (2022.07.14) 发布v3.1.0版本
    • (2022.07.14) 增加bottomColorRate,cylinderRate参数
    • (2022.07.14) 调整topColorBurnRate改名为topColorRate
    • (2022.07.14) 调整sideColorBurnRate改名为sideColorRate
    • (2022.07.14) 调整dire改名为cubeDire
    • (2022.07.14) 支持Cylinder圆柱和Cube立方柱

    API

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie,INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    API版本描述
    AddDefaultSerie()public static Bar3D AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Bar3D ConvertSerie(Serie serie)

    Bar3DChart

    class in XCharts.Runtime.Bar3Ds / 继承自: BaseChart

    API版本描述
    DefaultCylinderChart()public void DefaultCylinderChart(){
    生成默认的圆柱体图。
    DefaultGroupedCubeChart()public void DefaultGroupedCubeChart()
    默认分组3D柱状图。
    DefaultStackedCubeChart()public void DefaultStackedCubeChart()
    默认堆叠分组3D柱状图。

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    配置项手册

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie, INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    参数默认版本描述
    bar3DTypev3.1.0
    Bar3DType:
    - Cube: 立方柱。
    - Cylinder: 圆柱。
    bar3DStyleBar3DStyle

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    verticalArrangefalse是否垂直排列。
    verticalArrangeDireVector3(-1, 1)垂直排列时的方向。
    verticalArrangeGap0.5f垂直排列时两个柱子间的间隙。
    barOffsetVector3.zero柱子偏移。
    widthRate0.5f方形柱侧边宽度相对正面的比例。
    topColorRate0.8f柱子顶部相对正面的颜色比例。
    bottomColorRate1f柱子底部相对正面的颜色比例。
    sideColorRate0.7f方形柱侧边相对正面的颜色比例。
    cubeDireVector3(1, 1)方形柱形成3D效果的方向。
    cylinderRate0.5fv3.1.0圆柱的顶部椭圆比列。
    topColorv3.6.0
    bottomColorv3.6.0
    sideColorv3.6.0
    occludedAreaBorderv3.10.0是否显示遮挡区域的边框。
    occludedAreaBorderDashv3.10.0是否显示遮挡区域的虚线边框。
    borderDashv3.10.0是否显示虚线边框。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/changelog/index.html b/en/docs/v3.11.2/changelog/index.html index 2175757d..bf83075a 100644 --- a/en/docs/v3.11.2/changelog/index.html +++ b/en/docs/v3.11.2/changelog/index.html @@ -14,8 +14,8 @@ 更新日志 | XCharts - - + +
    @@ -87,7 +87,7 @@ v0.8.0
    v0.5.0
    v0.1.0

    master

    v3.11.2

    • (2024.08.01) 发布v3.11.2版本
    • (2024.07.29) 修复Tooltip在微信小游戏平台上报错的兼容问题 (#326)
    • (2024.07.27) 调整AxisAxisName的默认位置
    • (2024.07.22) 优化PieLabelTooltip触发时的表现
    • (2024.07.21) 修复Tooltip在开启DataZoom时指示内容不准确的问题
    • (2024.07.17) 修复MarkLineLabel在初始化时可能会闪烁的问题
    • (2024.07.16) 优化AxisTime时间轴时的Tooltip默认效果
    • (2024.07.15) 优化AxisTime时间轴时的分割效果
    • (2024.07.14) 优化AxisTime时间轴时的移动表现
    • (2024.07.12) 优化Label的初始化显示效果
    • (2024.07.06) 修复Chart在动态创建时背景没有自适应的问题 (#323)

    v3.11.1

    • (2024.07.01) 发布v3.11.1版本
    • (2024.07.01) 修复Serie有多个时颜色异常的问题
    • (2024.06.23) 修复Label在初始化时会堆积的问题

    v3.11.0

    版本要点:

    • 增加Line3DChart3D折线图
    • 增加GraphChart关系图
    • 增加3D坐标系支持
    • 增加TooltiptriggerOn设置触发条件
    • 其他问题修复和优化

    日志详情:

    • (2024.06.16) 发布v3.11.0版本
    • (2024.06.15) 增加EditorData的添加、删除、上下移动操作按钮
    • (2024.06.11) 修复AxisIndicatorLabel可能会遮挡住Tooltip的问题
    • (2024.06.11) 修复TooltipCrossAxisIndicatorLabel可能不显示的问题 (#315)
    • (2024.06.10) 调整TooltipCorss重命名为Cross
    • (2024.06.09) 增加AxisminCategorySpacing设置类目轴默认的最小类目间距
    • (2024.06.09) 修复TooltipCrossAxis是类目轴并且开启DataZoom的情况下指示位置不准确的问题
    • (2024.06.06) 修复SerieClone时动画异常问题 (#320)
    • (2024.06.04) 修复Seriestate在代码动态设置时不刷新的问题
    • (2024.05.29) 调整XChartsHierarchy视图下的右键菜单到UI/XCharts
    • (2024.05.29) 增加3D坐标系对类目轴的支持
    • (2024.05.19) 优化Editor下的编辑性能
    • (2024.05.09) 增加JsonUtil工具类
    • (2024.05.01) 修复Tooltip每帧产生GC的问题 (#311) (by @stefanbursuc)
    • (2024.04.23) 修复ConvertXYAxis()多次调用后图表异常的问题
    • (2024.04.22) 修复DataZoom控制多个轴时的GridCoord获取可能不正确的问题 (#317)
    • (2024.04.22) 增加3D坐标系
    • (2024.04.15) 优化DateTimeUtil时间戳转DateTime接口时区的问题
    • (2024.04.15) 优化GridCoord在开启GridLayout时也显示Left Right Top Bottom参数 (#316)
    • (2024.04.14) 修复TooltipCross在开启DataZoom的情况下label位置不正确的问题 (#315)
    • (2024.04.12) 修复Candlesticks效果不对的问题 (#313)
    • (2024.03.20) 增加TooltiptriggerOn设置触发条件
    • (2024.03.19) 修复Pie在设置ItemStyleopacity时颜色不对的问题 (#309)

    v3.10.2

    • (2024.03.11) 发布v3.10.2版本
    • (2024.03.11) 修复Legendformatter在设置{d}通配符时显示可能不匹配的问题 (#304)
    • (2024.03.11) 修复Tooltip移出坐标系后还显示的问题
    • (2024.03.08) 修复Tooltiptitle从旧版本升级后可能不显示的问题

    v3.10.1

    • (2024.02.21) 发布v3.10.1版本
    • (2024.02.19) 修复Tooltip的圆点标记不会自适应颜色的问题

    v3.10.0

    版本要点:

    • 增加双类目轴支持
    • 增加更多细分快捷菜单创建图表,可一键创建几十种图表
    • 增加图表边框设置,支持圆角图表
    • 修复若干问题

    扩展功能:

    • 增加SankeyChart桑基图
    • 增加UITable的边框设置

    日志详情:

    • (2024.02.01) 发布v3.10.0版本
    • (2024.01.31) 修复Tooltip在设置itemFormatter-后整个不显示的问题
    • (2024.01.27) 修复TextLimit在开启TextMeshPro后无效的问题 (#301)
    • (2024.01.24) 增加Bar支持X轴和Y轴都为Category类目轴
    • (2024.01.23) 增加{y}通配符用于获取Y轴的类目名
    • (2024.01.23) 增加Line支持X轴和Y轴都为Category类目轴
    • (2024.01.18) 修复Animationtype代码动态修改无效的问题
    • (2024.01.13) 增加Chart的更多快捷创建图表菜单
    • (2024.01.09) 增加BackgroundborderStyle,给图表默认设置圆角
    • (2024.01.07) 修复Tooltop的第一个ContentLabelStyle设置color无效的问题
    • (2024.01.01) 增加BorderStyle边框样式
    • (2023.12.26) 增加HeatmapmaxCache参数支持
    • (2023.12.25) 优化Line开启clip时绘制的顶点数
    • (2023.12.22) 修复Scatter散点图部分边界数据不显示的问题
    • (2023.12.21) 修复TriggerTooltip()接口在指定0或最大index时可能无法触发的问题
    • (2023.12.19) 修复LegendLabelStyle设置formatter后不生效的问题
    • (2023.12.12) 增加LegendTextLimit可限制图例显示文本的长度
    • (2023.12.11) 修复Serie添加double.MaxValue时坐标绘制失败的问题
    • (2023.12.10) 增加SerieminShowLabel可隐藏小于指定值的label
    • (2023.12.09) 增加LevelStyledepth指定所属层次
    • (2023.12.09) 增加LevelStyleLineStyle设置线条样式
    • (2023.12.09) 增加SerieLink可用于桑基图添加节点边关系
    • (2023.12.05) 增加ResetChartStatus()可主动重置图表状态

    v3.9.0

    版本要点:

    • 增加AxisAnimation,完善数据变更动画效果
    • 增加Axis的对数轴子刻度的支持
    • 增加MarkLineonTop设置是否显示在最上层
    • 完善代码注释和手册文档
    • 修复若干问题

    扩展功能:

    • UITable增加轮播功能
    • UITable增加数据操作接口和回调函数
    • Pie3DChart优化绘制表现

    日志详情:

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 修复TooltiptitleFormatter设置为{b}后显示不准确的问题
    • (2023.11.30) 增加SerieData可单独添加Label的支持
    • (2023.11.28) 修复Tooltip在对数轴时指示不准确的问题
    • (2023.11.24) 修复ChartUpdateData()接口返回值不准确的问题
    • (2023.11.24) 修复Axis的更新数据时效果不顺畅的问题
    • (2023.11.23) 增加AxisAnimation支持动画效果
    • (2023.11.16) 取消Legendformatter,用LabelStyle的代替
    • (2023.11.14) 完善LabelStyleformatter的注释和文档(#291)
    • (2023.11.11) 修复Documentation部分注释生成文档不完整的问题 (#290)
    • (2023.11.11) 修复Legendformatter在数据变更时没有自动刷新的问题
    • (2023.11.05) 修复SerieEventDatavalue一直是0的问题 (#287)
    • (2023.11.03) 修复Bar设置渐变色时鼠标移出效果异常的问题 (#285)
    • (2023.11.02) 优化SerieData设置ignoreformatter的忽略问题
    • (2023.11.01) 增加MarkLineonTop设置是否显示在最上层
    • (2023.10.21) 修复Pie有0数据时Label的位置异常的问题
    • (2023.10.21) 增加Axis的对数轴支持子刻度
    • (2023.10.19) 修复Pie设置玫瑰图时引导线异常的问题
    • (2023.10.15) 修复Line设置AnimationAlongPath时动画异常的问题 (#281)
    • (2023.10.12) 修复MarkLine指定yValue时对数值轴无效的问题
    • (2023.10.11) 修复SerieshowDataDimension设置无效的问题

    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) 增加PieradiusGradient可设置半径方向的渐变效果
    • (2023.09.05) 优化LabelLinelineEndXPie中的表现
    • (2023.09.05) 修复TriggerTooltip()接口对Ring无效的问题
    • (2023.09.05) 修复Radar数据全为0时绘制报错的问题

    v3.8.0

    版本要点:

    • 重构Animation动画系统,增加新增动画交互动画的支持
    • 完善PieChart的动画交互表现
    • 增加SymbolEmptyTriangleEmptyDiamondPlusMinus四种新标记
    • 完善Chart的鼠标交互回调
    • 增加LabelLine可固定横坐标的功能
    • 增加GridLayout网格布局组件
    • 增加TooltipAuto类型
    • 优化和修复若干其他问题

    日志详情:

    • (2023.09.03) 发布v3.8.0版本
    • (2023.09.01) 增加TooltipAuto自动设置显示类型和触发类型
    • (2023.08.29) 增加RinggridIndex支持设置指定网格
    • (2023.08.29) 增加RadargridIndex支持设置指定网格
    • (2023.08.29) 增加PiegridIndex支持设置指定网格
    • (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) 修复YAxisLabel可能会重复的问题
    • (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本地开启TextMeshProNewInputSystem后更新版本会报错的问题 (#272)
    • (2023.08.12) 修复Chart在运行时被删除时会异常报错的问题 (#269)
    • (2023.08.11) 修复DataZoom开启时可能会导致无法添加数据的问题
    • (2023.08.11) 修复SerieData单独设置ItemStyleitemFormatter不生效的问题
    • (2023.08.10) 优化BarChartTooltipTriggerItem时的表现
    • (2023.08.09) 增加Axis可通过设置IconStylecolorclear来实现动态图标颜色的支持
    • (2023.08.08) 增加PieLabelLinelineEndX的支持
    • (2023.08.05) 整理Examples的代码,删除不必要的用例
    • (2023.08.04) 增加LabelLinelineEndX可设置引导线固定X位置的支持
    • (2023.08.04) 增加RingavoidLabelOverlap避免文本堆叠的支持 (#247)
    • (2023.08.03) 完善ChartonSerieEnteronSerieExitonSerieClick回调
    • (2023.08.02) 修复BarChartonSerieEnteronSerieExit回调无效的问题
    • (2023.08.02) 增加SymbolPlus加号和Minus减号的支持
    • (2023.07.31) 增加SymbolEmptyTriangleEmptyDiamond的支持,优化Symbol表现效果
    • (2023.07.31) 优化Line的默认配置效果
    • (2023.07.27) 增加SerieminRadius可设置最小半径
    • (2023.07.26) 增加MLValue多样式数值
    • (2023.07.25) 增加XLog日志系统
    • (2023.07.18) 完善Pie饼图的交互动画效果
    • (2023.07.14) 增加AnimationInteraction交互动画配置支持
    • (2023.07.11) 增加AnimationAddition新增动画配置支持
    • (2023.07.11) 重构Animation动画系统,完善动画体验
    • (2023.06.30) 增加PolarCoodindicatorLabelOffset设置指示文本偏移的支持
    • (2023.06.30) 修复AxisIndicatorLabel的背景颜色可能不正常的问题
    • (2023.06.30) 增加AxisIndicatorLabel可自定义color的支持
    • (2023.06.12) 修复AxisLabelformatterFunction在数值轴时value不对的问题

    v3.7.0

    版本要点:

    • 增加HelpDoc官网帮助文档跳转
    • 增加LineClip的支持
    • 优化Axis的范围设置
    • 其他优化和修复

    日志详情:

    • (2023.06.08) 发布v3.7.0版本
    • (2023.06.04) 增加HelpDoc帮助文档跳转
    • (2023.05.30) 修复Serie的名字带_线导致Legend无法触发的问题 (#259) (by @svr2kos2)
    • (2023.05.10) 增加AxisMinMaxAuto范围类型
    • (2023.05.10) 增加LineClip的支持
    • (2023.05.04) 优化Axis在-1到1范围时设置CeilRate不生效的问题
    • (2023.05.04) 优化AxisMinMax类型范围计算
    • (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) 增加BaseChartTriggerTooltip()接口尝试触发ToolTip
    • (2023.04.12) 优化RadarCood设置startAngle时文本也跟随调整位置
    • (2023.04.12) 增加Radar对通配符{b}的支持
    • (2023.04.11) 修复Inspector在动态添加组件时可能异常的问题

    v3.6.0

    版本要点:

    • 增加InputSystem支持 (by @Bian-Sh)
    • 增加官网在线示例多版本支持 (by @SHL-COOL)
    • 完善对VR的支持 (by @Ambitroc)
    • 增加UITableUIStatistic扩展UI组件
    • 增加ItemStyleMarkColor
    • 增加通配符{h}的支持
    • 优化TooltipLegendDataZoomAxis等组件
    • 重构相关API接口,完善回调接口
    • 修复若干问题

    升级注意:

    • 部分接口有调整,可根据提示更换下接口即可。

    日志详情:

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.14) 修复TooltiptitleFormater设置{b}可能不生效的问题
    • (2023.03.14) 修复BarChart在数据为0时不绘制柱条背景的问题 (#250) (by @Ambitroc)
    • (2023.03.12) 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转
    • (2023.03.10) 增加VR等其他非鼠标输入方式的Point位置获取 (#248) (by @Ambitroc)
    • (2023.03.09) 增加ChartonSerieClickonSerieDownonSerieEnteronSerieExit回调
    • (2023.03.09) 修复Pie的点击选中偏移不生效的问题
    • (2023.03.04) 增加LegendPositions可自定义图例的位置
    • (2023.03.03) 修复Animation变更动画可能无效的问题
    • (2023.02.28) 修复Legend点击时SerieLabel不刷新的问题
    • (2023.02.26) 增加DataZoomstartEndFunction委托
    • (2023.02.12) 重构Component相关代码,调整API接口
    • (2023.02.10) 修复AxisLog轴时某些情况下最小值不正确的问题
    • (2023.02.10) 优化Axis的数值Label的默认显示格式
    • (2023.02.08) 增加DataZoomstartLockendLock参数支持锁定
    • (2023.02.02) 修复DataZoom开启时X轴Label可能会显示在图表外的问题
    • (2023.02.02) 优化SerieDataignore设置时的忽略数据判断
    • (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) 删除SerieMarkColor,增加ItemStyleMarkColor
    • (2022.12.29) 增加EditorList+添加编辑功能
    • (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) 修复AxisValue轴在某些情况下计算数值范围不准确的问题
    • (2022.12.12) 优化Legendformatter支持{h}通配符
    • (2022.12.12) 修复Legendformatter设置为固定值时显示不正常的问题
    • (2022.12.08) 增加AreaStyletoTop参数可设置折线图渐变色是到顶部还是到实际位置
    • (2022.12.07) 增加Formatter的文本通配符{h}支持设置当前颜色值

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Convert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/configuration/index.html b/en/docs/v3.11.2/configuration/index.html index 9b6fd2d5..c0111034 100644 --- a/en/docs/v3.11.2/configuration/index.html +++ b/en/docs/v3.11.2/configuration/index.html @@ -14,13 +14,13 @@ 配置项手册 | XCharts - - + +
    Version: v3.11.2

    配置项手册

    Serie 系列

    Theme 主题

    MainComponent 主组件

    ChildComponent 子组件

    ISerieComponent 可添加到Serie的组件

    ISerieDataComponent 可添加到SerieData的组件

    Other 其他

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    参数默认版本描述
    startAngle0起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn, AnimationFadeOut, AnimationChange, AnimationAddition, AnimationHiding, AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    参数默认版本描述
    enabletruev3.8.0是否开启动画效果。
    reversefalsev3.8.0是否开启反向动画效果。
    delay0v3.8.0动画开始前的延迟时间。
    duration1000v3.8.0动画的时长。

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    参数默认版本描述
    widthv3.8.0宽度的多样式数值。 MLValue
    radiusv3.8.0半径的多样式数值。 MLValue
    offsetv3.8.0交互的多样式数值。如饼图的扇形选中时的偏移。 MLValue

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    参数默认版本描述
    enabletrue是否开启动画效果。
    type动画类型。
    AnimationType:
    - Default: 默认。内部会根据实际情况选择一种动画播放方式。
    - LeftToRight: 从左往右播放动画。
    - BottomToTop: 从下往上播放动画。
    - InsideOut: 由内到外播放动画。
    - AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    - Clockwise: 顺时针播放动画。
    easting
    AnimationEasing:
    - Linear:
    threshold2000是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
    unscaledTimev3.4.0动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。
    fadeInv3.8.0渐入动画配置。 AnimationFadeIn
    fadeOutv3.8.0渐出动画配置。 AnimationFadeOut
    changev3.8.0数据变更动画配置。 AnimationChange
    additionv3.8.0数据新增动画配置。 AnimationAddition
    hidingv3.8.0数据隐藏动画配置。 AnimationHiding
    interactionv3.8.0交互动画配置。 AnimationInteraction

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    区域填充样式。

    参数默认版本描述
    showtrue是否显示区域填充。
    origin区域填充的起始位置。
    AreaStyle.AreaOrigin:
    - Auto: 填充坐标轴轴线到数据间的区域。
    - Start: 填充坐标轴底部到数据间的区域。
    - End: 填充坐标轴顶部到数据间的区域。
    color区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。
    toColor渐变色的终点颜色。
    opacity0.6f图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    innerFillv3.2.0是否只填充多边形区域。目前只支持凸多边形。
    toToptruev3.6.0渐变色是到顶部还是到实际位置。默认为true到顶部。

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    width10箭头宽。
    height15箭头高。
    offset0箭头偏移。
    dent3箭头的凹度。
    colorColor.clear箭头颜色。

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis, ParallelAxis, RadiusAxis, SingleAxis, XAxis, XAxis3D, YAxis, YAxis3D, ZAxis3D

    直角坐标系的坐标轴组件。

    参数默认版本描述
    showtrue是否显示坐标轴。
    type坐标轴类型。
    Axis.AxisType:
    - Value: 数值轴。适用于连续数据。
    - Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    - Log: 对数轴。适用于对数数据。
    - Time: 时间轴。适用于连续的时序数据。
    minMaxType坐标轴刻度最大最小值显示类型。
    Axis.AxisMinMaxType:
    - Default: 0-最大值。
    - MinMax: 最小值-最大值。
    - Custom: 自定义最小值最大值。
    - MinMaxAuto: [since("v3.7.0")]最小值-最大值。自动计算合适的值。
    gridIndex坐标轴所在的 grid 的索引,默认位于第一个 grid。
    polarIndex坐标轴所在的 ploar 的索引,默认位于第一个 polar。
    parallelIndex坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
    position坐标轴在Grid中的位置。
    Axis.AxisPosition:
    - Left: 坐标轴在Grid中的位置
    - Right: 坐标轴在Grid中的位置
    - Bottom: 坐标轴在Grid中的位置
    - Top: 坐标轴在Grid中的位置
    - Center: 坐标轴在Grid中的位置
    offset坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
    min设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
    max设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
    splitNumber0坐标轴的期望的分割段数。默认为0表示自动分割。
    interval0强制设置坐标轴分割间隔。无法在类目轴中使用。
    boundaryGaptrue坐标轴两边是否留白。只对类目轴有效。
    maxCache0The first data will be remove when the size of axis data is larger then maxCache.
    logBase10对数轴的底数,只在对数轴(type:'Log')中有效。
    logBaseEfalse对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    inversefalse是否反向坐标轴。在类目轴中无效。
    clockwisetrue刻度增长是否按顺时针,默认顺时针。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    minCategorySpacing0v3.11.0类目之间的最小间距。
    icons类目数据对应的图标。
    data类目数据,在类目轴(type: 'category')中有效。
    axisLine坐标轴轴线。 AxisLine
    axisName坐标轴名称。 AxisName
    axisTick坐标轴刻度。 AxisTick
    axisLabel坐标轴刻度标签。 AxisLabel
    splitLine坐标轴分割线。 AxisSplitLine
    splitArea坐标轴分割区域。 AxisSplitArea
    animation坐标轴动画。 AxisAnimation
    minorTickv3.2.0坐标轴次刻度。 AxisMinorTick
    minorSplitLinev3.2.0坐标轴次分割线。 AxisMinorSplitLine
    indicatorLabelv3.4.0指示器文本的样式。Tooltip为Cross时使用。 LabelStyle

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    参数默认版本描述
    showtrue是否开启动画。
    duration动画时长(ms)。 默认设置为0时,会自动获取serie的动画时长。
    unscaledTime动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    参数默认版本描述
    interval0坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    insidefalse刻度标签是否朝内,默认朝外。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。
    onZerofalse刻度标签显示在0刻度上。
    showStartLabeltrue是否显示第一个文本。
    showEndLabeltrue是否显示最后一个文本。
    textLimit文本限制。 TextLimit

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    参数默认版本描述
    onZeroX 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。
    showArrow是否显示箭头。
    arrow轴线箭头。 ArrowStyle

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    参数默认版本描述
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    参数默认版本描述
    splitNumber5分隔线之间分割的刻度数。
    autoColor

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    参数默认版本描述
    show是否显示坐标轴名称。
    name坐标轴名称。
    onZerov3.1.0坐标轴名称的位置是否保持和Y轴0刻度一致。
    labelStyle文本样式。 LabelStyle

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    参数默认版本描述
    show是否显示分隔区域。
    color分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    参数默认版本描述
    interval坐标轴分隔线的显示间隔。
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。
    showStartLinetruev3.3.0是否显示第一条分割线。
    showEndLinetruev3.3.0是否显示最后一条分割线。
    showZLinetruev3.11.0是否显示Z轴部分分割线。一般用于3D坐标系。

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    参数默认版本描述
    alignWithLabel类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。
    inside坐标轴刻度是否朝内,默认朝外。
    showStartTick是否显示第一个刻度。
    showEndTick是否显示最后一个刻度。
    distance刻度线与轴线的距离。
    splitNumber0分隔线之间分割的刻度数。
    autoColor

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    参数默认版本描述
    showtrue是否启用背景组件。
    image背景图。
    imageType背景图填充类型。
    imageColor背景图颜色。
    imageWidth0v3.10.0背景图宽度。
    imageHeight0v3.10.0背景图高度。
    autoColortrue当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。
    borderStylev3.10.0背景边框样式。 BorderStyle

    Bar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme, RadiusAxisTheme, AngleAxisTheme, PolarAxisTheme, RadarAxisTheme

    参数默认版本描述
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f坐标轴线宽。
    lineLength0f坐标轴线长。
    lineColor坐标轴线颜色。
    splitLineType分割线线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    splitLineWidth1f分割线线宽。
    splitLineLength0f分割线线长。
    splitLineColor分割线线颜色。
    minorSplitLineColor次分割线线颜色。
    tickWidth1f刻度线线宽。
    tickLength5f刻度线线长。
    tickColor坐标轴线颜色。
    splitAreaColors坐标轴分隔区域的颜色。

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine, AxisMinorSplitLine, AxisMinorTick, AxisSplitLine, AxisTick

    线条基础配置。

    参数默认版本描述
    show是否显示坐标轴轴线。
    lineStyle线条样式 LineStyle

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer / 子类: EffectScatter, Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    BorderStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    边框样式。

    参数默认版本描述
    showfalse是否显示边框。
    borderWidth边框宽度。
    borderColor边框颜色。
    roundedCornertrue是否显示圆角。
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。当为(1,1,1,1)时为全圆角。

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Candlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ChartText

    class in XCharts.Runtime

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle, AxisAnimation, AxisName, AxisSplitArea, AreaStyle, ArrowStyle, BaseLine, BorderStyle, IconStyle, ImageStyle, ItemStyle, Level, LevelStyle, LineArrow, LineStyle, Location, MLValue, MarqueeStyle, Padding, StageColor, SymbolStyle, TextLimit, TextStyle, CommentItem, CommentMarkStyle, LabelLine, LabelStyle, MarkAreaData, MarkLineData, StateStyle, VisualMapRange, ViewControl, UIComponentTheme, SerieData, SerieDataLink, ComponentTheme, SerieTheme, ThemeStyle

    Comment

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图表注解组件。

    参数默认版本描述
    showtrue是否显示注解组件。
    labelStyle所有组件的文本样式。 LabelStyle
    markStyle所有组件的文本样式。 CommentMarkStyle
    items注解项。每个注解组件可以设置多个注解项。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    参数默认版本描述
    showtrue是否显示当前注解项。
    content注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。
    markRect注解区域。
    markStyle注解标记区域样式。 CommentMarkStyle
    labelStyle注解项的文本样式。 LabelStyle
    locationv3.5.0Comment显示的位置。 Location

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    参数默认版本描述
    showtrue是否显示当前注解项。
    lineStyle线条样式。 LineStyle

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme, DataZoomTheme, LegendTheme, SubTitleTheme, TitleTheme, TooltipTheme, VisualMapTheme

    参数默认版本描述
    font字体。
    textColor文本颜色。
    textBackgroundColor文本颜色。
    fontSize18文本字体大小。
    tMPFont字体。

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord, CalendarCoord, GridCoord, GridCoord3D, ParallelCoord, PolarCoord, SingleAxisCoord

    坐标系系统。

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    参数默认版本描述
    enabletrue是否显示缩放区域。
    filterMode数据过滤类型。
    DataZoom.FilterMode:
    - Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    - WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    - Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    - None: 不过滤数据,只改变数轴范围。
    xAxisIndexs控制的 x 轴索引列表。
    yAxisIndexs控制的 y 轴索引列表。
    supportInside是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
    supportInsideScrolltrue是否支持坐标系内滚动
    supportInsideDragtrue是否支持坐标系内拖拽
    supportSlider是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。
    supportMarquee是否支持框选。提供一个选框进行数据区域缩放。
    showDataShadow是否显示数据阴影。数据阴影可以简单地反应数据走势。
    showDetail是否显示detail,即拖拽时候显示详细数值信息。
    zoomLock是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    borderWidth边框宽。
    backgroundColor组件的背景颜色。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    rangeMode取绝对值还是百分比。
    DataZoom.RangeMode:
    - //Value: The value type of start and end.取值类型
    - Percent: 百分比。
    start数据窗口范围的起始百分比。范围是:0 ~ 100。
    end数据窗口范围的结束百分比。范围是:0 ~ 100。
    minShowNum2最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。
    scrollSensitivity1.1f缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。
    orient布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    labelStyle文本标签格式。 LabelStyle
    lineStyle阴影线条样式。 LineStyle
    areaStyle阴影填充样式。 AreaStyle
    marqueeStylev3.5.0选取框样式。 MarqueeStyle
    startLockv3.6.0固定起始值,不让改变。
    endLockv3.6.0固定结束值,不让改变。

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    borderWidth边框线宽。
    dataLineWidth数据阴影线宽。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    dataLineColor数据阴影的线条颜色。
    dataAreaColor数据阴影的填充颜色。
    backgroundColor背景颜色。

    DebugInfo

    class in XCharts.Runtime

    参数默认版本描述
    showtrue是否显示Debug组件。
    showDebugInfofalse
    showAllChartObjectfalse是否在Hierarchy试图显示所有chart下的节点。
    foldSeriesfalse是否在Inspector上折叠Serie。
    labelStyleLabelStyle

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    参数默认版本描述
    scale1.1f高亮时的缩放倍数。
    focus在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。
    EmphasisStyle.FocusType:
    - None: 不淡出其它图形,默认使用该配置。
    - Self: 只聚焦(不淡出)当前高亮的数据的图形。
    - Series: 聚焦当前高亮的数据所在的系列的所有图形。
    blurScope在开启focus的时候,可以通过blurScope配置淡出的范围。
    EmphasisStyle.BlurScope:
    - GridCoord: 淡出范围为坐标系,默认使用该配置。
    - Series: 淡出范围为系列。
    - Global: 淡出范围为全局。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    layoutIndex-1v3.8.0网格所属的网格布局组件的索引。默认为-1,表示不属于任何网格布局组件。当设置了该值时,left、right、top、bottom属性将失效。
    left0.11fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.14fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。
    showBorderfalse是否显示网格边框。
    borderWidth0f网格边框宽。
    borderColor网格边框颜色。

    GridCoord3D

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    v3.11.0 开始支持

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    left0.15fgrid 组件离容器左侧的距离。
    right0.2fgrid 组件离容器右侧的距离。
    top0.3fgrid 组件离容器上侧的距离。
    bottom0.15fgrid 组件离容器下侧的距离。
    showBorderfalse是否显示网格边框。
    boxWidth0.55f坐标系的宽度。
    boxHeight0.4f坐标系的高度。
    boxDepth0.2f坐标系的深度。
    xYExchangedfalse
    viewControl3D视角控制组件。 ViewControl

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    row2网格布局的行数。
    column2网格布局的列数。
    spacingVector2.zero网格布局的间距。
    inversefalse是否反转网格布局。

    Heatmap

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    heatmapTypev3.3.0热力图类型。通过颜色映射划分。
    HeatmapType:
    - Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    - Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    showfalse是否显示图标。
    layer显示在上层还是在下层。
    IconStyle.Layer:
    - UnderText: The icon is display under the label text. 图标在标签文字下
    - AboveText: The icon is display above the label text. 图标在标签文字上
    align水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    sprite图标的图片。
    type图片的显示类型。
    color图标颜色。
    width20图标宽。
    height20图标高。
    offset图标偏移。
    autoHideWhenLabelEmptyfalse当label内容为空时是否自动隐藏图标

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    参数默认版本描述
    showtrue是否显示图标。
    sprite图标的图片。
    type图片的显示类型。
    autoColor是否自动颜色。
    color图标颜色。
    width0图标宽。
    height0图标高。

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    参数默认版本描述
    name指示器名称。
    max指示器的最大值,默认为 0 无限制。
    min指示器的最小值,默认为 0 无限制。
    range正常值范围。当数值不在这个范围时,会自动变更显示颜色。
    show是否显示雷达坐标系组件。
    shape雷达图绘制类型,支持 'Polygon' 和 'Circle'。
    radius100雷达图的半径。
    splitNumber5指示器轴的分割段数。
    center雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    axisLine轴线。 AxisLine
    axisName雷达图每个指示器名称的配置项。 AxisName
    splitLine分割线。 AxisSplitLine
    splitArea分割区域。 AxisSplitArea
    indicatortrue是否显示指示器。
    positionType显示位置类型。
    indicatorGap10指示器和雷达的间距。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    isAxisTooltip是否Tooltip显示轴线上的所有数据。
    outRangeColorColor.red数值超出范围时显示的颜色。
    connectCenterfalse数值是否连线到中心点。
    lineGradienttrue数值线段是否需要渐变。
    startAnglev3.4.0起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    indicatorList指示器列表。

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Radar, BaseScatter

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location, Comment, Legend, Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, LineArrow, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord, CalendarCoord, GridCoord, GridCoord3D, ParallelCoord, PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, ItemStyle, LineStyle, SerieSymbol, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar, SimplifiedCandlestick, SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    图形样式。

    参数默认版本描述
    showtrue是否启用。
    color数据项颜色。
    color0数据项颜色。
    toColor渐变色的颜色1。
    toColor2渐变色的颜色2。只在折线图中有效。
    markColorv3.6.0Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。
    backgroundColor数据项背景颜色。
    backgroundWidth数据项背景宽度。
    centerColor中心区域颜色。
    centerGap中心区域间隙。
    borderWidth0边框宽。
    borderGap0边框间隙。
    borderColor边框的颜色。
    borderColor0边框的颜色。
    borderToColor边框的渐变色。
    opacity1透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    itemMarker提示框单项的字符标志。用在Tooltip中。
    itemFormatter提示框单项的字符串模版格式器。具体配置参考Tooltipformatter
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis, DataZoom, CalendarCoord, GridCoord, GridLayout, GridCoord3D, ParallelCoord

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    标签的引导线

    参数默认版本描述
    showtrue是否显示视觉引导线。
    lineType视觉引导线类型。
    LabelLine.LineType:
    - BrokenLine: 折线
    - Curves: 曲线
    - HorizontalLine: 水平线
    lineColorColor32(0,0,0,0)视觉引导线颜色。默认和serie一致取自调色板。
    lineAngle60视觉引导线的固定角度。对折线和曲线有效。在Pie中无效。
    lineWidth1.0f视觉引导线的宽度。
    lineGap1.0f视觉引导线和容器的间距。
    lineLength125f视觉引导线第一段的长度。
    lineLength215f视觉引导线第二段的长度。
    lineEndX0fv3.8.0视觉引导线结束点的固定x位置。当不为0时,会代替lineLength2设定引导线的x位置。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent / 子类: AxisLabel, EndLabelStyle, TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    参数默认版本描述
    showtrue是否显示文本标签。
    Position标签的位置。
    autoOffsetfalse是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。
    offset距离图形元素的偏移
    rotate文本的旋转。
    autoRotatefalsev3.6.0是否自动旋转。
    distance距离轴线的距离。
    formatter标签内容字符串模版格式器。支持用 \n 换行。部分组件的格式器会不生效。
    模板通配符有以下这些,部分只适用于固定的组件:
    {.}:圆点标记。
    {a}:系列名。
    {b}:X轴类目名或数据名。
    {c}:数据值。
    {d}:百分比。
    {e}:数据名。
    {f}:数据和。
    {g}:数据总个数。
    {h}:十六进制颜色值。
    {y}:Y轴的类目名。
    {value}:坐标轴或图例的值。
    以下通配符适用UITable组件:
    {name}: 表格的行名。
    {index}:表格的行号。
    以下通配符适用UIStatistc组件:
    {title}:标题文本。
    {dd}:天。
    {hh}:小时。
    {mm}:分钟。
    {ss}:秒。
    {fff}:毫秒。
    {d}:天。
    {h}:小时。
    {m}:分钟。
    {s}:秒。
    {f}:毫秒。
    示例:“{b}:{c}”
    numericFormatter标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式常见的格式:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:yyyy-MM-dd HH:mm:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    width0标签的宽度。一般不用指定,不指定时则自动是文字的宽度。
    height0标签的高度。一般不用指定,不指定时则自动是文字的高度。
    icon图标样式。 IconStyle
    background背景图样式。 ImageStyle
    textPadding文本的边距。 TextPadding
    textStyle文本样式。 TextStyle

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    Legend

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    参数默认版本描述
    showtrue是否显示图例组件。
    iconType图例类型。
    Legend.Type:
    - Auto: 自动匹配。
    - Custom: 自定义图标。
    - EmptyCircle: 空心圆。
    - Circle: 圆形。
    - Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    - Triangle: 三角形。
    - Diamond: 菱形。
    - Candlestick: 烛台(可用于K线图)。
    selectedMode选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。
    Legend.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    - None: 无法选择。
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location图例显示的位置。 Location
    itemWidth25.0f图例标记的图形宽度。
    itemHeight12.0f图例标记的图形高度。
    itemGap10f图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
    itemAutoColortrue图例标记的图形是否自动匹配颜色。
    itemOpacity1图例标记的图形的颜色透明度。
    formatter不再使用,使用LabelStyle.formatter代替。
    labelStyle文本样式。 LabelStyle
    textLimitv3.10.0文本限制。 TextLimit
    data图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。
    icons自定义的图例标记图形。
    colors图例标记的颜色列表。
    backgroundv3.1.0背景图样式。 ImageStyle
    paddingv3.1.0图例标记和背景的间距。 Padding
    positionsv3.6.0图例标记的自定义位置列表。

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    unableColor文本颜色。

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    depth0v3.10.0层级深度。
    label文本标签样式。 LabelStyle
    upperLabel上方的文本标签样式。 LabelStyle
    lineStylev3.10.0线条样式。 LineStyle
    itemStyle数据项样式。 ItemStyle

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    参数默认版本描述
    showfalse是否启用LevelStyle
    levels各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    Line

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent

    参数默认版本描述
    show是否显示箭头。
    position箭头位置。
    LineArrow.Position:
    - End: 末端箭头
    - Start: 头端箭头
    arrow箭头。 ArrowStyle

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    参数默认版本描述
    showtrue是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。
    type线的类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    color线的颜色。
    toColor线的渐变颜色(需要水平方向渐变时)。
    toColor2线的渐变颜色2(需要水平方向三个渐变色的渐变时)。
    width0线宽。
    length0线长。
    opacity1线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    dashLength4v3.8.1虚线的长度。默认0时为线条宽度的12倍。在折线图中代表分割段数的倍数。
    dotLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。
    gapLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。

    Location

    class in XCharts.Runtime / 继承自: ChildComponent, IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    参数默认版本描述
    align对齐方式。
    Location.Align:
    - TopLeft: 对齐方式
    - TopRight: 对齐方式
    - TopCenter: 对齐方式
    - BottomLeft: 对齐方式
    - BottomRight: 对齐方式
    - BottomCenter: 对齐方式
    - Center: 对齐方式
    - CenterLeft: 对齐方式
    - CenterRight: 对齐方式
    left离容器左侧的距离。
    right离容器右侧的距离。
    top离容器上侧的距离。
    bottom离容器下侧的距离。

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis, Background, Comment, DataZoom, Legend, MarkArea, MarkLine, Settings, Title, Tooltip, VisualMap, GridLayout, CoordSystem

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    参数默认版本描述
    showtrue是否显示标域。
    textThe text of markArea. 标域显示的文本。
    serieIndex0Serie index of markArea. 标域影响的Serie索引。
    start标域范围的起始数据。 MarkAreaData
    end标域范围的结束数据。 MarkAreaData
    itemStyle标域样式。 ItemStyle
    label标域文本样式。 LabelStyle

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    参数默认版本描述
    type特殊的标域类型,用于标注最大值最小值等。
    MarkAreaType:
    - None: 标域类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标注名称。会作为文字显示。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    参数默认版本描述
    showtrue是否显示标线。
    serieIndex0标线影响的Serie索引。
    onToptruev3.9.0是否在最上层。
    animation标线的动画样式。 AnimationStyle
    data标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    参数默认版本描述
    type特殊的标线类型,用于标注最大值最小值等。
    MarkLineType:
    - None: 标线类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    group0分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。
    zeroPositionfalse是否为坐标系原点。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle
    lineStyle标线样式。 LineStyle
    label文本样式。可设置position为Start、Middle和End在不同的位置显示文本。 LabelStyle

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    参数默认版本描述
    applyfalsev3.5.0选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。
    realRectfalsev3.5.0是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。
    areaStylev3.5.0选取框区域填充样式。 AreaStyle
    lineStylev3.5.0选取框区域边框样式。 LineStyle

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    参数默认版本描述
    type
    MLValue.Type:
    - Percent: 百分比形式。
    - Absolute: 绝对值形式。
    - Extra: 额外形式。
    value

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    参数默认版本描述
    showtrueshow padding. 是否显示。
    top0顶部间距。
    right2f右部间距。
    left2f左边间距。
    bottom0底部间距。

    Parallel

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    orient坐标轴朝向。默认为垂直朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。

    Pie

    class in XCharts.Runtime / 继承自: Serie

    参数默认版本描述
    radiusGradientfalsev3.8.1是否开启半径方向的渐变效果。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    参数默认版本描述
    showtrue是否显示极坐标。
    center极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    backgroundColor极坐标的背景色,默认透明。
    indicatorLabelOffset30fv3.8.0指示器标签的偏移量。

    Radar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    smoothfalsev3.2.0是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    Ring

    class in XCharts.Runtime / 继承自: Serie

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie, IComparable / 子类: SerieHandler<T>, Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Pie, Radar, Ring, BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    参数默认版本描述
    index系列索引。
    showtrue系列是否显示在图表上。
    coordSystem使用的坐标系。
    serieType系列类型。
    serieName系列名称,用于 tooltip 的显示,legend 的图例筛选。
    statev3.2.0系列的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    colorByv3.2.0从主题中取色的策略。
    SerieColorBy:
    - Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略。
    - Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    - Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。
    stack数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。
    xAxisIndex0使用X轴的index。
    yAxisIndex0使用Y轴的index。
    radarIndex0雷达图所使用的 radar 组件的 index。
    vesselIndex0水位图所使用的 vessel 组件的 index。
    polarIndex0所使用的 polar 组件的 index。
    singleAxisIndex0所使用的 singleAxis 组件的 index。
    parallelIndex0所使用的 parallel coord 组件的 index。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    minShow系列所显示数据的最小索引
    maxShow系列所显示数据的最大索引
    maxCache系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。
    sampleDist0采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。
    sampleType采样类型。当sampleDist大于0时有效。
    SampleType:
    - Peak: 取峰值。
    - Average: 取过滤点的平均值。
    - Max: 取过滤点的最大值。
    - Min: 取过滤点的最小值。
    - Sum: 取过滤点的和。
    sampleAverage0设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。
    lineType折线图样式类型。
    LineType:
    - Normal: 普通折线图。
    - Smooth: 平滑曲线。
    - StepStart: 阶梯线图:当前点。
    - StepMiddle: 阶梯线图:当前点和下一个点的中间。
    - StepEnd: 阶梯线图:下一个拐点。
    smoothLimitfalsev3.4.0是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。
    barType柱形图类型。
    BarType:
    - Normal: 普通柱形图。
    - Zebra: 斑马柱形图。
    - Capsule: 胶囊柱形图。
    barPercentStackfalse柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。
    barWidth0柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。
    barMaxWidth0v3.5.0柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。
    barGap0.1f不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。
    barZebraWidth4f斑马线的粗细。
    barZebraGap2f斑马线的间距。
    min最小值。
    max最大值。
    minSize0f数据最小值 min 映射的宽度。
    maxSize1f数据最大值 max 映射的宽度。
    startAngle起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    endAngle结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    minAngle最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。
    clockwisetrue是否顺时针。
    roundCap是否开启圆弧效果。
    splitNumber刻度分割段数。最大可设置36。
    clickOffsettrue鼠标点击时是否开启偏移,一般用在PieChart图表中。
    roseType是否展示成南丁格尔图,通过半径区分数据大小。
    RoseType:
    - None: 不展示成南丁格尔玫瑰图。
    - Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    - Area: 所有扇区圆心角相同,仅通过半径展现数据大小。
    gap间距。
    center中心点。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    minRadius0fv3.8.0最小半径。可用于限制玫瑰图的最小半径。
    minShowLabelfalsev3.10.0是否开启值小于指定值minShowLabelValue时不显示标签。
    minShowLabelValue0v3.10.0当开启minShowLabel时,值小于该值时不显示标签。
    showDataDimension数据项里的数据维数。
    showDataName在Editor的inpsector上是否显示name参数
    clipfalse是否裁剪超出坐标系部分的图形。
    ignorefalse是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。
    ignoreValue0忽略数据的默认值。当ignore为true才有效。
    ignoreLineBreakfalse忽略数据时折线是断开还是连接。默认false为连接。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。
    largetrue是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。
    largeThreshold200开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。
    avoidLabelOverlapfalse在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。
    radarType雷达图类型。
    RadarType:
    - Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    - Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]
    placeHolderfalse占位模式。占位模式时,数据有效但不参与渲染和显示。
    dataSortType组件的数据排序。
    SerieDataSortType:
    - None: 按数据的顺序。
    - Ascending: 升序。
    - Descending: 降序。
    orient组件的朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    align组件水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    lineStyle线条样式。 LineStyle
    symbol标记的图形。 SerieSymbol
    animation起始动画。 AnimationStyle
    itemStyle图形样式。 ItemStyle
    data系列中的数据内容数组。SerieData可以设置1到n维数据。

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    参数默认版本描述
    index数据项索引。
    name数据项名称。
    id数据项的唯一id。唯一id不是必须设置的。
    parentId父节点id。父节点id不是必须设置的。
    ignore是否忽略数据。当为 true 时,数据不进行绘制。
    selected该数据项是否被选中。
    radius自定义半径。可用在饼图中自定义某个数据项的半径。
    statev3.2.0数据项的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    data可指定任意维数的数值列表。

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.10.0 开始支持

    数据节点之间的连线。可用于桑基图等,桑基图只支持有向无环图,请保证数据的连线是有向无环图。

    参数默认版本描述

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle, ISerieDataComponent

    系列数据项的标记的图形

    参数默认版本描述
    sizeType标记图形的大小获取方式。
    SymbolSizeType:
    - Custom: 自定义大小。
    - FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    - Function: 通过委托函数获取。
    dataIndex1当sizeType指定为FromData时,指定的数据源索引。
    dataScale1当sizeType指定为FromData时,指定的倍数系数。
    sizeFunction当sizeType指定为Function时,指定的委托函数。
    startIndex开始显示图形标记的索引。
    interval显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    forceShowLastfalse是否强制显示最后一个图形标记。
    repeatfalse图形是否重复。
    minSize0fv3.3.0图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。
    maxSize0fv3.3.0图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    lineWidth文本颜色。
    lineSymbolSize折线图的Symbol大小。
    scatterSymbolSize散点图的Symbol大小。
    candlestickColorColor32(235, 84, 84, 255)K线图阳线(涨)填充色
    candlestickColor0Color32(71, 178, 98, 255)K线图阴线(跌)填充色
    candlestickBorderWidth1K线图边框宽度
    candlestickBorderColorColor32(235, 84, 84, 255)K线图阳线(跌)边框色
    candlestickBorderColor0Color32(71, 178, 98, 255)K线图阴线(跌)边框色

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    参数默认版本描述
    showtrue
    maxPainter10设定的painter数量。
    reversePainterfalsePainter是否逆序。逆序时index大的serie最先绘制。
    basePainterMaterialBase Pointer 材质球,设置后会影响Axis等。
    seriePainterMaterialSerie Pointer 材质球,设置后会影响所有Serie。
    upperPainterMaterialUpper Pointer 材质球。
    topPainterMaterialTop Pointer 材质球。
    lineSmoothStyle2.5f曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。
    lineSmoothness2fWhen the area with gradient is filled, the larger the value, the worse the transition effect.
    lineSegmentDistance3f线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。
    cicleSmoothness2f圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。
    legendIconLineWidth2Line类型图例图标的线条宽度。
    legendIconCornerRadius图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    axisMaxSplitNumber50v3.1.0坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis, IUpdateRuntimeData

    单轴。

    参数默认版本描述
    orient坐标轴朝向。默认为水平朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1f组件离容器左侧的距离。
    right0.1f组件离容器右侧的距离。
    top0f组件离容器上侧的距离。
    bottom0.2f组件离容器下侧的距离。
    width0坐标轴宽。
    height50坐标轴高。

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    percent结束位置百分比。
    color颜色。

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle, EmphasisStyle, SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    参数默认版本描述
    showtrue是否启用高亮样式。
    label图形文本标签。 LabelStyle
    labelLine图形文本引导线样式。 LabelLine
    itemStyle图形样式。 ItemStyle
    lineStyle折线样式。 LineStyle
    areaStyle区域样式。 AreaStyle
    symbol标记样式。 SerieSymbol

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    参数默认版本描述
    showtrue是否显示标记。
    type标记类型。
    SymbolType:
    - None: 不显示标记。
    - Custom: 自定义标记。
    - Circle: 圆形。
    - EmptyCircle: 空心圆。
    - Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    - EmptyRect: 空心正方形。
    - Triangle: 三角形。
    - EmptyTriangle: 空心三角形。
    - Diamond: 菱形。
    - EmptyDiamond: 空心菱形。
    - Arrow: 箭头。
    - EmptyArrow: 空心箭头。
    - Plus: 加号。
    - Minus: 减号。
    size0f标记的大小。
    gap0图形标记和线条的间隙距离。
    width0f图形的宽。
    height0f图形的高。
    offsetVector2.zero图形的偏移。
    image自定义的标记图形。
    imageType图形填充类型。
    color图形的颜色。

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    参数默认版本描述
    enablefalse是否启用文本自适应。 [default:true]
    maxWidth0Clipping occurs when the width of the text is greater than this value.
    gap1两边留白像素距离。 [default:10f]
    suffix长度超出时的后缀。 [default: "..."]

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    参数默认版本描述
    showtrue文本的相关设置。
    font文本字体。 [default: null]
    autoWrapfalse是否自动换行。
    autoAligntrue文本是否让系统自动选对齐方式。为false时才会用alignment。
    rotate0文本的旋转。 [default: 0f]
    autoColorfalse是否开启自动颜色。当开启时,会自动设置颜色。
    color文本的颜色。 [default: Color.clear]
    fontSize0文本字体大小。 [default: 18]
    fontStyle文本字体的风格。 [default: FontStyle.Normal]
    lineSpacing1f行间距。 [default: 1f]
    alignment对齐方式。
    tMPFontTextMeshPro字体。
    tMPFontStyle
    tMPAlignment
    tMPSpriteAssetv3.1.0

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    参数默认版本描述
    themeType主题类型。
    ThemeType:
    - Default: 默认主题。
    - Light: 亮主题。
    - Dark: 暗主题。
    - Custom: 自定义主题。
    themeName主题名称。
    font主题字体。
    tMPFont主题字体。
    contrastColor对比色。
    backgroundColor背景颜色。
    colorPalette调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
    commonComponentTheme
    titleTitleTheme
    subTitleSubTitleTheme
    legendLegendTheme
    axisAxisTheme
    tooltipTooltipTheme
    dataZoomDataZoomTheme
    visualMapVisualMapTheme
    serieSerieTheme

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    参数默认版本描述
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse是否透明背景颜色。当设置为true时,不绘制背景颜色。
    enableCustomThemefalse是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。
    customFont
    customBackgroundColor自定义的背景颜色。
    customColorPalette

    Title

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    标题组件,包含主标题和副标题。

    参数默认版本描述
    showtrue是否显示标题组件。
    text主标题文本,支持使用 \n 换行。
    subText副标题文本,支持使用 \n 换行。
    labelStyle主标题文本样式。 LabelStyle
    subLabelStyle副标题文本样式。 LabelStyle
    itemGap0主副标题之间的间距。
    location标题显示位置。 Location

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle, ISerieDataComponent, ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    参数默认版本描述
    showtrue是否显示提示框组件。
    type提示框指示器类型。
    Tooltip.Type:
    - Line: 直线指示器
    - Shadow: 阴影指示器
    - None: 无指示器
    - Cross: 十字准星指示器。坐标轴显示Label和交叉线。
    - Auto: 根据serie的类型自动选择显示指示器。
    trigger触发类型。
    Tooltip.Trigger:
    - Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    - Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    - None: 什么都不触发。
    - Auto: 根据serie的类型自动选择触发类型。
    triggerOnv3.11.0触发条件。
    Tooltip.TriggerOn:
    - MouseMove: 鼠标移动时触发。
    - Click: 鼠标点击时触发。
    positionv3.3.0显示位置类型。
    Tooltip.Position:
    - Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    - Custom: 自定义。完全自定义显示位置(x,y)。
    - FixedX: 只固定坐标X。Y跟随鼠标位置。
    - FixedY:
    itemFormatter提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用
    titleFormatter提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {y}为value所对应的y轴的类目值。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
    markerserie的符号标志。
    fixedWidth0固定宽度。比 minWidth 优先。
    fixedHeight0固定高度。比 minHeight 优先。
    minWidth0最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。
    minHeight0最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。
    numericFormatter标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式常见的格式:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:yyyy-MM-dd HH:mm:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    paddingLeftRight10左右边距。
    paddingTopBottom10上下边距。
    ignoreDataShowfalse是否显示忽略数据在tooltip上。
    ignoreDataDefaultContent被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。
    showContenttrue是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。
    alwayShowContentfalse是否触发后一直显示提示框浮层。
    offsetVector2(18f, -25f)提示框相对于鼠标位置的偏移。
    backgroundImage提示框的背景图片。
    backgroundType提示框的背景图片显示类型。
    backgroundColor提示框的背景颜色。
    borderWidth2f边框线宽。
    fixedX0f固定X位置的坐标。
    fixedY0.7f固定Y位置的坐标。
    titleHeight25f标题文本的高。
    itemHeight25f数据项文本的高。
    borderColorColor32(230, 230, 230, 255)边框颜色。
    lineStyle指示线样式。 LineStyle
    titleLabelStyle标题的文本样式。 LabelStyle
    contentLabelStyles内容部分的文本样式列表。和列一一对应。

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f指示线线宽。
    lineColor指示线颜色。
    areaColor区域指示的颜色。
    labelTextColor十字指示器坐标轴标签的文本颜色。
    labelBackgroundColor十字指示器坐标轴标签的背景颜色。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse

    ViewControl

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.11.0 开始支持

    3D视角控制组件。

    参数默认版本描述
    alpha90f视角在x-z平面的角度。
    beta55f视角在y-z平面的角度。

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    参数默认版本描述
    showtrue组件是否生效。
    showUIfalse是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。
    type组件类型。
    VisualMap.Type:
    - Continuous: 连续型。
    - Piecewise: 分段型。
    selectedMode选择模式。
    VisualMap.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    serieIndex0影响的serie索引。
    min0范围最小值
    max0范围最大值
    range指定手柄对应数值的位置。range 应在[min,max]范围内。
    text两端的文本,如 ['High', 'Low']
    textGap两端文字主体之间的距离,单位为px。
    splitNumber5对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。
    calculablefalse是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。
    realtimetrue拖拽时,是否实时更新。
    itemWidth20f图形的宽度,即颜色条的宽度。
    itemHeight140f图形的高度,即颜色条的高度。
    itemGap10f每个图元之间的间隔距离。
    borderWidth0边框线宽,单位px。
    dimension-1Starting at 1, the default is 0 to take the last dimension in data.
    autoMinMaxtrueAutomatically set min, Max value 自动设置min,max的值
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location组件显示的位置。 Location
    workOnLinetrue组件是否对LineChart的LineStyle有效。
    workOnAreafalse组件是否对LineChart的AreaStyle有效。
    outOfRange定义 在选中范围外 的视觉颜色。
    inRange分段式每一段的相关配置。

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    min范围最小值
    max范围最大值
    label文字描述
    color颜色

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    borderWidth边框线宽。
    borderColor边框颜色。
    backgroundColor背景颜色。
    triangeLen20f可视化组件的调节三角形边长。

    Wrapper<T>

    class in XCharts.Runtime

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    XAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    class in XCharts.Runtime

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    参数默认版本描述
    langLang
    font
    tMPFont
    fontSizeLv128一级字体大小。
    fontSizeLv224
    fontSizeLv320
    fontSizeLv418
    axisLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisLineWidth0.8f
    axisSplitLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisSplitLineWidth0.8f
    axisTickWidth0.8f
    axisTickLength5f
    gaugeAxisLineWidth15f
    gaugeAxisSplitLineWidth0.8f
    gaugeAxisSplitLineLength15f
    gaugeAxisTickWidth0.8f
    gaugeAxisTickLength5f
    tootipLineWidth0.8f
    dataZoomBorderWidth0.5f
    dataZoomDataLineWidth0.5f
    visualMapBorderWidth0f
    serieLineWidth1.8f
    serieLineSymbolSize5f
    serieScatterSymbolSize20f
    serieSelectedRate1.3f
    serieCandlestickBorderWidth1f
    editorShowAllListDatafalse
    maxPainter10
    lineSmoothStyle3f
    lineSmoothness2f
    lineSegmentDistance3f
    cicleSmoothness2f
    visualMapTriangeLen20f
    customThemes

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    YAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    ZAxis3D

    class in XCharts.Runtime / 继承自: Axis

    v3.11.0 开始支持

    直角坐标系 grid 中的 y 轴。

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/extra/index.html b/en/docs/v3.11.2/extra/index.html index 254c2181..85a5d444 100644 --- a/en/docs/v3.11.2/extra/index.html +++ b/en/docs/v3.11.2/extra/index.html @@ -14,13 +14,13 @@ 扩展图表 | XCharts - - + +
    Version: v3.11.2

    扩展图表

    XCharts的扩展图表。

    支持的扩展图表

    扩展图表如何导入到XCharts-Demo

    Pie3DChart 为例:

    1. 购买图表:购买扩展图表后,Github找到仓库 XCharts-Pie3DChart(私有仓库,购买后加入Team才可见)
    2. 下载图表:选择和XCharts最接近的版本
    3. 导入图表:将下载好的XCharts-Pie3DChart目录覆盖到XCharts-Demo项目中的Packages/XCharts-Pie3DChart
    4. 下载图表Demo:Github找到仓库 XCharts-Pie3DChart-Demo并下载
    5. 导入图表Demo:将下载好的XCharts-Pie3DChart-Demo目录覆盖到XCharts-Demo项目中的Assets/XChartsExtensionDemo/XCharts-Pie3DChart-Demo

    扩展图表如何导入自己的项目中

    Pie3DChart 为例:

    1. 先确保项目中已导入XCharts
    2. 再导入XCharts-Pie3DChart即可,不需要导入XCharts-Pie3DChart-Demo(如果要导入的话需要Unity版本接近2019.4.39f1)
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/faq/index.html b/en/docs/v3.11.2/faq/index.html index 0afe36b8..28f7560f 100644 --- a/en/docs/v3.11.2/faq/index.html +++ b/en/docs/v3.11.2/faq/index.html @@ -14,8 +14,8 @@ 常见问题 | XCharts - - + +
    @@ -54,7 +54,7 @@ FAQ 33:折线图如何两边不留空白而从0坐标开始显示?
    FAQ 34:如何设置部分Serie不显示Tooltip?

    如何调整坐标轴与背景的边距

    调整Grid组件,可调整上下左右边距。

    如何让初始动画重新播放

    调用chart.AnimationReset()接口。

    如何自定义折线图饼图的颜色

    通过ThemecolorPalette调整,或者部分Serie下的LineStyleItemStyle

    如何给坐标轴上的文本加上单位

    通过formatternumericFormatter参数,在LegendAxisAxisLabelTooltopSerieLabel都提供该参数的配置。

    如何让柱形图的柱子堆叠显示

    设置Serie下的stackstack相同的serie会堆叠显示在一个柱子上。

    如何让柱形图的柱子同柱但不重叠

    设置Serie下的barGap-1stack为空。

    如何调整柱形图的柱子宽度和间距

    调整Serie下的barWidthbarGap,多个serie时最后一个seriebarWidthbarGap有效。

    如何调整柱形图单个柱子的颜色

    可通过调整单个Data下的ItemStyle调整,也可以通过两个serie同柱不堆叠来实现,通过设置数据项为0来达到类似效果。

    如何调整图表的对齐方式

    调整RectTransform的锚点,和UGUI的其他组件的用法一致。

    可以显示超过1000以上的大数据吗

    可以。但UGUI对单个Graphic限制65000个顶点,所以太多的数据不一定能显示完全。可通过设置采样距离sampleDist开启采样简化过密曲线。也可以通过设置一些参数来减少图表的顶点数有助于显示更多数据。如缩小图表的尺寸,关闭或减少坐标轴的客户端绘制,关闭Seriesymbollabel显示等。折线图的普通线图Normal比平滑线图Smooth占用顶点数更少。1.5.0以上版本可以设置largelargeThreshold参数来开启性能模式。

    折线图可以画虚线点线点划线吗

    可以。通过Serie下的lineType选择线条样式。当要显示的数据过多(成千以上)数据间过密时建议使用Normal或者Step样式。

    如何限定y轴的值范围

    设置Axis下的minMaxTypeCustom,自定义minmax

    如何自定义数值轴刻度大小

    默认时通过Axis下的splitNumer进行自动划分。也可以设置interval自定义刻度大小。

    如何在数据项顶上显示文本

    通过设置Serie下的Label。3.0版本需要先添加LabelStyle组件。

    如何给数据项自定义图标

    通过设置Seriedata下的数据项可单独设置icon相关参数。

    锯齿太严重如何让图表更顺滑

    开启抗锯齿设置(在Unity里设置)。调整UI渲染模式为Camera模式,开启MSAA,设置4倍或更高抗锯齿。

    为什么鼠标移上图表tooltip不显示

    确认Tooltip是否开启;确认父节点是否关闭了鼠标事件。

    如何取消tooltip的竖线

    设置TooltiptypeNone。或者调整lineStyle的参数。

    如何自定义tooltip的显示内容

    自定义总的内容可以通过Tooltipformatter。如果只是想调整所有的serie的显示格式可以用itemFormattertitleFormatter结合。如果想每个serie的显示格式不一样,可以定制serieitemStyle里的tooltipFormatter。具体的用法请查阅XCharts配置项手册

    如何让y轴显示多位小数

    设置Axis下的AxisLabel中的formatter{value:f1}{value:f2}1.5.0及以上版本通过numericFormatter设置。

    如何用代码动态更新数据

    请查阅Example下的代码,Example13_LineSimple.cs就是一个简单添加数据构建折线图的例子,其他Demo也都是通过代码控制不同的组件实现不同的功能,相关API请查看文档:XChartsAPI接口

    如何显示图例为什么有时候图例无法显示

    首先,你的serie里的name需有值不为空。然后开启Legend显示,里面的data可以默认为空,表示显示所有的图例。如果你只想显示部分serie的图例,在data中填入要显示的图例的name即可。如果data中的值都不是系列的name,那图例就不会显示。

    如何做成预设

    做成prefab前,执行一下Rebuild Chart Object重新刷新节点,避免有冗余的节点存在。

    如何在图表上画点画线等自定义内容

    XCharts有自定义绘制回调onCustomDraw,具体可参考Example12_CustomDrawing.cs

    如何实现心电图类似的数据移动效果

    参考Example目录下的Example_Dynamic.cs。主要通过设置maxCache参数实现。axisserie都设置相同的maxCachemaxCache可固定数据个数,当数据超过设定时会先删除第一个在添加新数据,实现数据移动效果。

    如何使用背景组件有什么条件限制

    设置background组件的showtrue

    区域折线图在用半透明颜色时有时候会一条叠加的线

    这是区域折线图绘制的bug。可以用浅的不透的颜色替代半透明颜色。

    mesh_cannot_have_more_than_65000_vertices

    这是UGUI对单个Graphic的顶点数限制。XCharts是将图形绘制在单个Graphic上,所以也会有这个限制。解决的办法可以参考:FAQ 10:可以显示超过1000以上的大数据吗?

    为什么serie里设置的参数运行后又被重置了

    检测下代码里是否调用了RemoveData()并重新添加Serie了。如果想保留Serie的配置可以只ClearData(),然后重新添加数据。

    如何修改serie的symbol的颜色

    Symbol 的颜色是使用的 ItemStylecolor

    导入或更新xcharts时tmp报错怎么办

    XCharts默认时不开启TMP,所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    支持空数据吗如何实现折线图断开的效果

    Seriedatadouble类型,所以无法表示空数据。可通过开启Serieignore和指定ignoreValue来达到空数据的效果。也可以每个SerieData设置ignore参数。忽略数据后断开还是连接可设置ignoreLineBreak参数。

    xcharts2升级xcharts3时常见的问题有哪些

    1. 'XCharts.Runtime.XChartsMgr' is missing the class attribute 'ExtensionOfNativeClass'! 3.x版本时不需要挂载XChartsMgr,直接删掉场景上的_xcharts_节点即可。

    折线图如何两边不留空白而从0坐标开始显示

    设置X轴的boundaryGap参数。

    如何设置部分serie不显示tooltip

    serieitemStyleitemFormatter设置为-可以忽略tooltip

    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/funnel/index.html b/en/docs/v3.11.2/funnel/index.html index dfcc5e31..befbbfc6 100644 --- a/en/docs/v3.11.2/funnel/index.html +++ b/en/docs/v3.11.2/funnel/index.html @@ -14,14 +14,14 @@ FunnelChart 漏斗图 | XCharts - - + +
    Version: v3.11.2

    FunnelChart 漏斗图

    XCharts的付费扩展图表 - 漏斗图。

    截图

    Funnel01Funnel02Funnel03Funnel04Funnel05
    Funnel07Funnel08Funnel09

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-FunnelChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    FunnelChart

    class in XCharts.Runtime.Funnels / 继承自: BaseChart

    漏斗图。适用于流程流量分析。

    API版本描述
    DefaultHorizonalFunnelChart()public void DefaultHorizonalFunnelChart()
    生成默认的横向漏斗图。

    配置项手册

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    参数默认版本描述
    rectEndv3.3.0是否最后以矩形结束。默认false以三角形结束。
    dynamicHeightv3.3.0是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/gantt/index.html b/en/docs/v3.11.2/gantt/index.html index 74d14928..d1cf2d29 100644 --- a/en/docs/v3.11.2/gantt/index.html +++ b/en/docs/v3.11.2/gantt/index.html @@ -14,14 +14,14 @@ GanttChart 甘特图 | XCharts - - + +
    Version: v3.11.2

    GanttChart 甘特图

    XCharts付费扩展图表 - 甘特图。

    截图

    Gantt01Gantt02Gantt03Gantt04Gantt05
    Gantt07

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-GanttChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Gantt的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.08.11) 增加鼠标事件支持

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    API版本描述
    AddDefaultCategorySerie()public static void AddDefaultCategorySerie(BaseChart chart, string serieName)
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    AddDefaultValueSerie()public static void AddDefaultValueSerie(BaseChart chart, string serieName)

    GanttChart

    class in XCharts.Runtime.Gantts / 继承自: BaseChart

    API版本描述
    DefaultCategoryAxisGanttChart()public void DefaultCategoryAxisGanttChart()
    生成默认的类目轴甘特图。
    DefaultMonomialGroupGanttChart()public void DefaultMonomialGroupGanttChart()
    生成默认的单维度分组甘特图。
    DefaultMultinomialGroupGanttChart()public void DefaultMultinomialGroupGanttChart()
    生成默认的多维度分组甘特图。
    DefaultValueAxisGanttChart()public void DefaultValueAxisGanttChart()
    生成默认的数值轴甘特图。
    GetSeriesMinMaxValue()public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    InitAxisRuntimeData()public override void InitAxisRuntimeData(Axis axis)
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    配置项手册

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    参数默认版本描述
    disableDrag

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    参数默认版本描述
    showtrue
    ganttType甘特图类型。
    GanttType:
    - Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    - Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。
    inverttrue
    dragEnabletrue是否可以拖拽甘特图。
    dragSensitivity1f拖拽的灵敏度。
    dragRangeMin0拖拽最小值限制。
    dragRangeMax0拖拽最大值限制。
    autoAdsorbAlignlinetrue拖拽结束后是否自动吸附到对齐线。
    alignlineDataIndex1显示对齐线的数据项索引。
    showAlignlineRange10f显示对齐线的范围。
    aliginLine对齐线样式。
    splitArea
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/gauge/index.html b/en/docs/v3.11.2/gauge/index.html index 98a67383..57bc6384 100644 --- a/en/docs/v3.11.2/gauge/index.html +++ b/en/docs/v3.11.2/gauge/index.html @@ -14,14 +14,14 @@ GaugeChart 仪表盘 | XCharts - - + +
    Version: v3.11.2

    GaugeChart 仪表盘

    XCharts付费扩展图表 - 仪表盘。

    截图

    Gauge01Gauge02Gauge03Gauge04Gauge05
    Gauge07Gauge08Gauge09Gauge10Gauge11
    Gauge12Gauge13Gauge14

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-GaugeChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Gauge的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.17) 增加GaugerangeDataMode可设置是否使用范围数据模式
    • (2023.03.17) 增加Gaugeloop可设置是否循环数据,用于时钟甘特图
    • (2023.03.17) 增加GaugePointervalue可设置指针位置
    • (2023.03.17) 增加Clock时钟仪表盘支持
    • (2023.03.13) 增加GaugePointernowTime可设置指针指向当前时间
    • (2023.03.13) 增加GaugePointervalue可设置当前指针位置
    • (2023.03.13) 增加Clock类型的甘特图支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.10.05) 增加GaugeAxisLinestageGradient支持设置阶段渐变色过渡

    v3.3.0

    • (2022.09.28) 发布v3.3.0版本
    • (2022.08.26) 修复Pointer在普通模式下不显示的问题
    • (2022.08.25) 增加label颜色跟随数值变化的支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.15) 支持渐变

    API

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    仪表盘系列数据。

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    GetPointerColor()public Color32 GetPointerColor(ThemeStyle theme, int colorIndex, float angle, Color32 dataColor)

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    API版本描述
    GetPosition()public Vector3 GetPosition(Vector3 center, float radius)

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    API版本描述
    AddLabelObject()public void AddLabelObject(ChartLabel label)
    ClearLabelObject()public void ClearLabelObject()
    GaugeAxis()public GaugeAxis()
    GetLabelObject()public ChartLabel GetLabelObject(int index)
    GetStageColor()public Color32 GetStageColor(float rate)
    GetStageColorByAngle()public Color32 GetStageColorByAngle(float angle)
    SetLabelObjectActive()public void SetLabelObjectActive(bool flag)
    SetLabelObjectPosition()public void SetLabelObjectPosition(int index, Vector3 pos)
    SetLabelObjectText()public void SetLabelObjectText(int index, string text)

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    API版本描述
    GaugeAxisLine()public GaugeAxisLine(bool show) : base(show)

    GaugeChart

    class in XCharts.Runtime.Gauges / 继承自: BaseChart

    仪表盘。

    API版本描述
    DefaultBarometerGaugeChart()public void DefaultBarometerGaugeChart()
    生成气压计仪表盘。
    DefaultClockGaugeChart()public void DefaultClockGaugeChart()
    生成时钟仪表盘。
    DefaultMultipleGaugeChart()public void DefaultMultipleGaugeChart()
    生成多仪表盘。
    DefaultProgressGaugeChart()public void DefaultProgressGaugeChart()
    生成进度仪表盘。
    DefaultRangeClockGaugeChart()public void DefaultRangeClockGaugeChart()
    DefaultSectionGaugeChart()public void DefaultSectionGaugeChart()
    生成分段仪表盘。
    UpdateClockTime()public void UpdateClockTime()
    更新时钟时间。
    UpdateClockTime()public void UpdateClockTime(double hour, double minute, double second)
    更新时钟时间。
    UpdatePointerValue()public void UpdatePointerValue(double value)
    更新指针值。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    配置项手册

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    仪表盘系列数据。

    参数默认版本描述
    rangeDataModefalsev3.6.0数值是否为范围数据。启用该模式后,data中的每个值都是一个数组,数组中的第一个值为起始值,第二个值为结束值。指针只有一个,数据绘制为环形。
    loopfalsev3.6.0数值是否循环。可用在钟表图。
    gaugeAxis仪表盘轴线。 GaugeAxis
    gaugePointer仪表盘指针。 GaugePointer
    gaugeAnchor仪表盘指针固定点。 GaugeAnchor

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    参数默认版本描述
    showtrue是否显示指针固定点。
    showAbovetrue固定点是否显示在指针上面。
    type标记类型。
    size6标记的大小。
    gap0图形标记和线条的间隙距离。
    image自定义的标记图形。
    imageType
    offsetCenterVector2(0, 0)相对于中心的偏移位置。
    itemStyle图形样式。

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    参数默认版本描述
    showtrue
    type
    GaugeAxisType:
    - None: 仪表盘类型
    - Section: 分段
    - Progress: 进度
    overlaptrue
    distance
    axisLine仪表盘轴线样式。 GaugeAxisLine
    splitLine分割线。
    axisTick刻度。
    axisLabel文本标签。
    axisLabelText自定义Label的内容。

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    参数默认版本描述
    backgroundColorColor32(230, 235, 248, 255)进度条背景颜色。
    stageColor阶段颜色。
    stageGradientv3.4.0阶段颜色是否渐变过渡。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    参数默认版本描述
    showtrue是否显示指针。
    length0.6f指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backLength0.05f指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backExtraLength0.05f指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topLeftLength0f指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topRightLength0f指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomLeftLength0.025f指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomRightLength0.025f指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    distance
    roundCap
    autoColortrue
    color
    toColor
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    valuev3.6.0指针的值。当为时钟仪表盘时,可通过指定value值来控制指针的位置。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/graph/index.html b/en/docs/v3.11.2/graph/index.html index 27048e68..fda50a71 100644 --- a/en/docs/v3.11.2/graph/index.html +++ b/en/docs/v3.11.2/graph/index.html @@ -14,14 +14,14 @@ GraphChart 关系图 | XCharts - - + +
    Version: v3.11.2

    GraphChart 关系图

    XCharts付费扩展图表 - 关系图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.05.15) 增加Graph关系图

    API

    Force

    class in XCharts.Runtime.Graphs / 继承自: ChildComponent

    图表的力引导布局。

    Graph

    class in XCharts.Runtime.Graphs / 继承自: Serie

    关系图,用于展现节点以及节点之间的关系数据。

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    AddLink()public override SerieDataLink AddLink(string sourceId, string targetId, double value = 0)
    AddSerieData()public override void AddSerieData(SerieData serieData)
    ClearData()public override void ClearData()
    清空所有数据
    GetLevelItemStyle()public ItemStyle GetLevelItemStyle(int depth)
    GetLevelLabel()public LabelStyle GetLevelLabel(int depth)
    GetLevelLineStyle()public LineStyle GetLevelLineStyle(int depth)

    GraphChart

    class in XCharts.Runtime.Graphs / 继承自: BaseChart

    配置项手册

    Force

    class in XCharts.Runtime.Graphs / 继承自: ChildComponent

    图表的力引导布局。

    参数默认版本描述
    showtrue
    stepFactor1f力引导布局的步进因子。
    stepCount1
    friction0.6f节点移动的摩擦因子,该值越大节点移动越慢。
    edgeLength80边的两个节点之间的距离,这个距离也会受 repulsion 影响。
    centerDataIndex-1中心节点数据的索引。
    iterations200力引导布局的迭代次数。

    Graph

    class in XCharts.Runtime.Graphs / 继承自: Serie

    关系图,用于展现节点以及节点之间的关系数据。

    参数默认版本描述
    levelStyle层级样式。
    force图表的力引导布局。 Force
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/inputsystem/index.html b/en/docs/v3.11.2/inputsystem/index.html index 36ba95d7..ef748496 100644 --- a/en/docs/v3.11.2/inputsystem/index.html +++ b/en/docs/v3.11.2/inputsystem/index.html @@ -14,13 +14,13 @@ 切换到新的输入系统Input System | XCharts - - + +
    Version: v3.11.2

    教程:切换到新的输入系统Input System

    1. 按图示修改项目配置中输入模式为 Input System

    Project Settings

    2. 使用 Unity Package Manager 安装 Input System

    UPM

    3. 选中场景中 EventSystem 游戏对象,更换输入模组

    Input Module

    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/lang/articles/ui/ui_statistic/index.html b/en/docs/v3.11.2/lang/articles/ui/ui_statistic/index.html index 8cb3013e..075694f0 100644 --- a/en/docs/v3.11.2/lang/articles/ui/ui_statistic/index.html +++ b/en/docs/v3.11.2/lang/articles/ui/ui_statistic/index.html @@ -14,13 +14,13 @@ UIStatistic 统计数值 | XCharts - - + +
    Version: v3.11.2

    UIStatistic 统计数值

    statistic

    统计数值组件。用于展示统计数值。

    何时使用:

    • 当需要突出某个或某组数字时。
    • 当需要展示带描述的统计类数据时使用。

    支持的功能有:

    • 常规数值
    • 倒计时
    • 添加图标
    • 变更动画
    • 事件回调
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/lang/articles/ui/ui_table/index.html b/en/docs/v3.11.2/lang/articles/ui/ui_table/index.html index 59774d27..2446becf 100644 --- a/en/docs/v3.11.2/lang/articles/ui/ui_table/index.html +++ b/en/docs/v3.11.2/lang/articles/ui/ui_table/index.html @@ -14,13 +14,13 @@ UITable 表格 | XCharts - - + +
    Version: v3.11.2

    UITable 表格

    table

    表格组件。可用于展示行列数据。

    支持的功能有:

    • 显示或隐藏列表头
    • 显示或隐藏行表头
    • 任意调整行列宽高
    • 支持行号
    • 支持选中
    • 支持分割线
    • 支持滚动和拖拽
    • 支持滚动条
    • 支持图标图片
    • 支持轮播
    • 排序(暂不支持)
    • 分页(暂不支持)
    • 查找(暂不支持)
    • 过滤(暂不支持)
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/line3d/index.html b/en/docs/v3.11.2/line3d/index.html index 50617bb1..2798d632 100644 --- a/en/docs/v3.11.2/line3d/index.html +++ b/en/docs/v3.11.2/line3d/index.html @@ -14,14 +14,14 @@ Line3DChart 3D折线图 | XCharts - - + +
    Version: v3.11.2

    Line3DChart 3D折线图

    XCharts付费扩展图表 - 3D折线图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.05.15) 增加Line3D3D折线图

    API

    Line3D

    class in XCharts.Runtime.Line3Ds / 继承自: Serie,INeedSerieContainer

    关系图,用于展现节点以及节点之间的关系数据。

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    Line3DChart

    class in XCharts.Runtime.Line3Ds / 继承自: BaseChart

    Line3DHelper

    class in XCharts.Runtime.Line3Ds

    配置项手册

    Line3D

    class in XCharts.Runtime.Line3Ds / 继承自: Serie, INeedSerieContainer

    关系图,用于展现节点以及节点之间的关系数据。

    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/liquid/index.html b/en/docs/v3.11.2/liquid/index.html index 01f815ae..1211b1c8 100644 --- a/en/docs/v3.11.2/liquid/index.html +++ b/en/docs/v3.11.2/liquid/index.html @@ -14,14 +14,14 @@ LiquidChart 水位图 | XCharts - - + +
    Version: v3.11.2

    LiquidChart 水位图

    XCharts的付费扩展图表 - 水位图。

    截图

    Liquid01Liquid02Liquid03Liquid04Liquid05
    Liquid07Liquid08

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-LiquidChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Liquid的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    LiquidChart

    class in XCharts.Runtime.Liquids / 继承自: BaseChart

    水位图

    API版本描述
    DefaultCapsuleLiquidChart()public void DefaultCapsuleLiquidChart()
    generate default capsule liquid chart. 生成默认的胶囊形水位图。
    DefaultRectLiquidChart()public void DefaultRectLiquidChart()
    generate default rect liquid chart. 生成默认的矩形水位图。
    DefaultRoundRectLiquidChart()public void DefaultRoundRectLiquidChart()
    generate default round rect liquid chart. 生成默认的圆角矩形水位图。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent,ISerieContainer,IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    API版本描述
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    VesselContext

    class in XCharts.Runtime.Liquids / 继承自: MainComponentContext

    配置项手册

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    waveHeight10f波高。
    waveLength20f波长。为0-1小数时指直线的百分比。
    waveSpeed5f波速。正数时左移,负数时右移。
    waveOffset0f波偏移。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent, ISerieContainer, IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    参数默认版本描述
    showtrue是否显示容器组件。 [defaut: true]
    shape容器形状。 [default: Shape.Circle]
    Vessel.Shape:
    - Circle: 圆形
    - Rect: 正方形。
    - Triangle: 三角形。
    - Diamond: 菱形。
    shapeWidth5f容器厚度。 [defaut: 5f]
    gap5f间隙。容器和液体的间隙。 [defaut: 10f]
    colorColor32(70, 70, 240, 255)容器颜色。默认和serie一致。
    backgroundColor背景色,默认透明。 [default: Color.clear]
    autoColortrue是否自动颜色。为true时颜色会和serie一致。 [default: true]
    centerWhen value between 0 and 1 represents a percentage relative to the chart.
    radius0.35fWhen value between 0 and 1 represents a percentage relative to the chart.
    smoothness1f水波平滑度。 [default: 1f]
    width0.5fWhen value between 0 and 1 represents a percentage relative to the chart.
    height0.7fWhen value between 0 and 1 represents a percentage relative to the chart.
    borderWidth0f内壁边框。
    borderColorColor32(70, 70, 240, 255)容器内壁边框颜色。默认和serie一致。
    cornerRadius容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/pictorialbar/index.html b/en/docs/v3.11.2/pictorialbar/index.html index 191aca6d..9faff91a 100644 --- a/en/docs/v3.11.2/pictorialbar/index.html +++ b/en/docs/v3.11.2/pictorialbar/index.html @@ -14,14 +14,14 @@ PictorialBarChart 象形柱图 | XCharts - - + +
    Version: v3.11.2

    PictorialBarChart 象形柱图

    XCharts付费扩展图表 - 象形柱图。

    截图

    PictorialBar01PictorialBar02PictorialBar03PictorialBar04

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-PictorialBarChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2023.12.19) 调整Border相关代码

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.1

    • (2023.09.26) 修复PictorialBar动态添加数据时不刷新的问题

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static PictorialBar ConvertSerie(Serie serie)

    PictorialBarChart

    class in XCharts.Runtime.PictorialBars / 继承自: BaseChart

    配置项手册

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie, INeedSerieContainer

    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/pie3d/index.html b/en/docs/v3.11.2/pie3d/index.html index 7e45ed95..68cdb065 100644 --- a/en/docs/v3.11.2/pie3d/index.html +++ b/en/docs/v3.11.2/pie3d/index.html @@ -14,14 +14,14 @@ Pie3DChart 3D饼图 | XCharts - - + +
    Version: v3.11.2

    Pie3DChart 3D饼图

    XCharts的付费扩展图表 - 3D饼图。

    截图

    Pie3D01Pie3D02Pie3D03Pie3D04Pie3D05
    Pie3D07Pie3D08

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-Pie3DChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.1

    • (2024.02.28) 修复Pie3D在动画过程中可能出现绘制异常的问题

    v3.10.0

    • (2024.01.16) 增加XCharts上的更多菜单栏快捷方式,一键创建多种3D饼图
    • (2023.12.17) 增加Pie3DStyledrawSplitSide设置是否绘制分割面
    • (2023.12.16) 增加Border描边支持
    • (2023.12.15) 增加Serielabel可指示在边缘的支持
    • (2023.12.10) 增加SerieminShowLabel可隐藏小于指定值的label

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.11.30) 优化SerieData只有一个时不绘制侧边
    • (2023.11.30) 增加SerieData可单独添加Label的支持

    v3.8.1

    • (2023.09.14) 修复SerieData的数据为全为0时图表显示异常的问题
    • (2023.09.08) 增加SerieDataradius可自定义各饼块高度的支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.2

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.1

    • (2023.05.21) 增加avoidLabelOverlap支持

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.3.0

    • (2022.09.02) 增加onPointerEnterPie回调支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    3D饼图系列。

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Pie3D ConvertSerie(Serie serie)

    Pie3DChart

    class in XCharts.Runtime.Pie3Ds / 继承自: BaseChart

    3D饼图。

    API版本描述
    DefaultAutoHeightPie3DChart()public void DefaultAutoHeightPie3DChart()
    生成默认3D自动高度饼图。
    DefaultDonutPie3DChart()public void DefaultDonutPie3DChart()
    生成默认3D甜甜圈饼图。
    DefaultEllipsePie3DChart()public void DefaultEllipsePie3DChart()
    生成默认2D椭圆饼图。

    Pie3DSlice

    class in XCharts.Runtime.Pie3Ds

    3D饼图的切块。

    API版本描述
    Contains()public bool Contains(float angle)
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    IsInSidePolygon()public bool IsInSidePolygon(Vector2 p)
    IsInStartOrEndSide()public bool IsInStartOrEndSide(Vector2 p)
    IsInTopPolygon()public bool IsInTopPolygon(Vector2 p)
    Pie3DSlice()public Pie3DSlice()
    UpdateValue()public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig)

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    配置项手册

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    3D饼图系列。

    参数默认版本描述
    pie3DStylePie3DStyle

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    参数默认版本描述
    showtrue
    ellipseMinorAxis0.65f椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。
    pieMaxHeight20f饼图厚度。
    pieAutoHeightfalse是否自动根据比例计算厚度。
    selectedOffsetVector2(0.1f, 0.5f)被选中状态的饼图块的额外偏移。
    peripherySideColorRate0.8f饼图切块的侧面颜色。
    startSideColorRate0.7f饼图切块的起始面颜色(顺时针)。
    endSideColorRate0.65f饼图切块的结束面颜色(顺时针)。
    drawSplitSidetruev3.10.0是否绘制分割面。当pieAutoHeight为true时,该值无效。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/pyramid/index.html b/en/docs/v3.11.2/pyramid/index.html index 35f4086b..097fa8ea 100644 --- a/en/docs/v3.11.2/pyramid/index.html +++ b/en/docs/v3.11.2/pyramid/index.html @@ -14,14 +14,14 @@ PyramidChart 金字塔 | XCharts - - + +
    Version: v3.11.2

    PyramidChart 金字塔

    XCharts付费扩展图表 - 金字塔。

    截图

    Pyramid01Pyramid02Pyramid03

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-PyramidChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.21) 增加Pyramid的更多创建默认图表的快捷方式和API

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.21) 增加Tooltip支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    PyramidChart

    class in XCharts.Runtime.Pyramids / 继承自: BaseChart

    API版本描述
    Default2DPyramidChart()public void Default2DPyramidChart()
    生成默认的2D金字塔图。

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    配置项手册

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    参数默认版本描述
    pyramidStylePyramidStyle

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    3Dtrue
    drawToptrue
    bottomPointRate0.5f3D模式下,底部中点占金字塔宽度的比例
    leftPointRate0.1f3D模式下,底部左边点占金字塔高度的比例
    rightPointRate0.1f3D模式下,底部右边点占金字塔高度的比例
    leftColorOpacity0.9f3D模式下,金字塔左边的颜色透明度
    rightColorOpacity0.7f3D模式下,金字塔右边的颜色透明度
    topColorOpacity0.99f3D模式下,金字塔顶部的颜色透明度
    labelLineMargin10fLabel标签距离右边的距离
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/sankey/index.html b/en/docs/v3.11.2/sankey/index.html index dcb92aa2..f8f1a1dc 100644 --- a/en/docs/v3.11.2/sankey/index.html +++ b/en/docs/v3.11.2/sankey/index.html @@ -14,14 +14,14 @@ SankeyChart 桑基图 | XCharts - - + +
    Version: v3.11.2

    SankeyChart 桑基图

    XCharts付费扩展图表 - 桑基图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本
    • (2024.03.20) 增加Sankey的展开和折叠功能支持

    v3.10.0

    API

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    GetLevelItemStyle()public ItemStyle GetLevelItemStyle(int depth)
    GetLevelLabel()public LabelStyle GetLevelLabel(int depth)
    GetLevelLineStyle()public LineStyle GetLevelLineStyle(int depth)

    SankeyChart

    class in XCharts.Runtime.Sankeys / 继承自: BaseChart

    配置项手册

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    桑基图是一种特殊的流图(可以看作是有向无环图)。 它主要用来表示原材料、能量等如何从最初形式经过中间过程的加工或转化达到最终状态。

    参数默认版本描述
    nodeAlign节点对齐方式。
    Sankey.NodeAlign:
    - Top: 顶部对齐
    - Center: 居中对齐
    - Bottom: 底部对齐
    nodeWidth20节点的宽度。
    nodeGap8节点的间距。
    draggable是否可拖拽。
    curveness0.5f线条的弯曲程度。
    collapsefalsev3.11.0是否开启折叠。
    collapseMutextruev3.11.0是否开启折叠互斥。
    collapseLevel-1v3.11.0折叠限制的层级。层级从0开始,-1表示不限制。
    defaultExpandDataIndex-1v3.11.0默认展开的数据索引。
    lineGradienttruev3.11.0是否开启线条渐变。开启后lineStyle的color将不生效。
    levelStyle层级样式。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/support/index.html b/en/docs/v3.11.2/support/index.html index a6864165..a7d70745 100644 --- a/en/docs/v3.11.2/support/index.html +++ b/en/docs/v3.11.2/support/index.html @@ -14,8 +14,8 @@ 订阅服务 | XCharts - - + +
    @@ -26,7 +26,7 @@ 增加席位 企业VIP支持增加席位,每个席位298¥一年。
    对公转账 有开专票需求时,可用企业银行帐号进行公对公转账支付。二维码支付不支持开专票,只能开普票。发票默认都是电子发票。
    *登记资料 订阅成功后,需提供手机号和Github帐号进行登记,手机号用于确认归属,Github帐号用于加入Github的Team组织,下载源码。

    购买扩展图表

    扩展图表为另付费购买图表,只对订阅了VIP服务的用户开放购买。对于个人SVIP企业VIP的订阅用户,所有扩展图表仓库在订阅期间可全部免费使用,不用再单独购买。

    对所有已购买的扩展图表,源码可永久持有但不能传播,并获得持续一年的更新支持和技术服务,一年后如需更新支持等服务,可再继续订阅VIP服务。

    编号扩展图表扩展图表价格
    101象形柱图PictorialBarChart98¥
    102漏斗图FunnelChart98¥
    1033D金字塔PyramidChart98¥
    104树形矩图TreemapChart98¥
    105桑基图SankeyChart98¥
    2013D柱图Bar3DChart198¥
    2023D饼图Pie3DChart198¥
    203甘特图GanttChart198¥
    204仪表盘GaugeChart198¥
    205水位图LiquidChart198¥
    2063D折线图Line3DChart198¥
    207关系图GraphChart198¥

    扩展图表的在线效果图也可以查看WebGL在线Demo

    捐助支持

    如果这个项目对您有帮助,请右上方点 Star 予以支持!也欢迎扫后面的二维码进行任意金额的捐助,XCharts需要您的支持和帮助。

    二维码

    如果看不到二维码图片,可以加Q联系XCharts技术支持:3525422251或邮件monitor1394@gmail.com咨询。

    alipay-qrcode wechat-qrcode

    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/treemap/index.html b/en/docs/v3.11.2/treemap/index.html index df2a1414..3a005d87 100644 --- a/en/docs/v3.11.2/treemap/index.html +++ b/en/docs/v3.11.2/treemap/index.html @@ -14,14 +14,14 @@ TreemapChart 矩形树图 | XCharts - - + +
    Version: v3.11.2

    TreemapChart 矩形树图

    XCharts付费扩展图表 - 矩形树图。

    截图

    Treemap01Treemap02Treemap03Treemap04

    许可

    扩展图表,需付费购买后才获得使用许可。

    示例

    Demo仓库:XCharts-TreemapChart-Demo

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.2

    • (2023.11.08) 修复ItemStyle设置borderColor后边框绘制异常的问题

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    CanGoUpALevel()public bool CanGoUpALevel()
    是否可以返回上一层
    GetLevelItemStyle()public ItemStyle GetLevelItemStyle(int level)
    GetLevelLabel()public LabelStyle GetLevelLabel(int level)
    GetLevelUpperLabel()public LabelStyle GetLevelUpperLabel(int level)
    GoUpALevel()public void GoUpALevel()
    返回上一层
    OnDataUpdate()public override void OnDataUpdate()
    SetSelectedSerieData()public bool SetSelectedSerieData(string serieDataName)
    设置选中(要展示的)的数据名
    SetSelectedSerieData()public void SetSelectedSerieData(SerieData serieData)

    TreemapChart

    class in XCharts.Runtime.Treemaps / 继承自: BaseChart

    配置项手册

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    参数默认版本描述
    leafDepth0默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。
    visualDimension0用于计算占比的数据维数。
    drillDownIcon当节点可以下钻时的提示符,只能是字符。默认为▶
    customGoUpLevelButton自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。
    upperLabel父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。
    levelStyle
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/tutorial01/index.html b/en/docs/v3.11.2/tutorial01/index.html index 3810c7ce..3b941146 100644 --- a/en/docs/v3.11.2/tutorial01/index.html +++ b/en/docs/v3.11.2/tutorial01/index.html @@ -14,8 +14,8 @@ 入门教程:5分钟上手 XCharts 3.0 | XCharts - - + +
    @@ -23,7 +23,7 @@ linechart2

    添加其他组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件按需额外添加。比如,需要给折线图区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent linechart3

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加Component。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent linechart4

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个至几十个不等的可配置参数,以支持各种灵活而复杂的功能。

    首次使用XCharts,可在 Inspector 视图添加各种图表,给图表添加或调整里面组件,Game 视图会实时反馈调整后的效果,以熟悉各种组件的使用。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是配置和数据来驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不需要去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时还原回来。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    通常颜色值为0000时表示用主题默认颜色,配置为0或null时表示用主题默认配置。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.EnsureChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.EnsureChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.EnsureChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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;

    清空默认数据,添加Line类型的Serie用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    用代码改图表参数

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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;

    注:低版本没有EnsureChartComponent()接口时,用GetOrAddChartComponent()

    改Serie的参数

    对于新添加的Serie:

    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:

    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添加额外组件:

    serie.EnsureComponent<AreaStyle>();

    var label = serie1.EnsureComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/tutorial02/index.html b/en/docs/v3.11.2/tutorial02/index.html index 8ba0ba49..5f4894b0 100644 --- a/en/docs/v3.11.2/tutorial02/index.html +++ b/en/docs/v3.11.2/tutorial02/index.html @@ -14,13 +14,13 @@ 从文件或数据库读取数据显示图表 | XCharts - - + +
    Version: v3.11.2

    从文件或数据库读取数据显示图表

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/tutorial03/index.html b/en/docs/v3.11.2/tutorial03/index.html index 6714efc1..f9f06437 100644 --- a/en/docs/v3.11.2/tutorial03/index.html +++ b/en/docs/v3.11.2/tutorial03/index.html @@ -14,13 +14,13 @@ 心电图效果实现 | XCharts - - + +
    Version: v3.11.2

    心电图效果实现

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.11.2/ui/index.html b/en/docs/v3.11.2/ui/index.html index fd6ccb54..433ce702 100644 --- a/en/docs/v3.11.2/ui/index.html +++ b/en/docs/v3.11.2/ui/index.html @@ -14,13 +14,13 @@ 扩展UI组件 | XCharts - - + +
    Version: v3.11.2

    扩展UI组件

    XCharts的扩展UI组件,VIP订阅用户专有。

    组件列表

    示例演示

    Demo仓库:XCharts-UI-Demo

    如何使用

    • 使用该仓库前先确保项目里已有对应版本的XCharts。
    • 下载本仓库放入Assets下或者通过Package Manager导入。

    更新日志

    v3.11.0

    • (2024.06.16) 发布v3.11.0版本

    v3.10.0

    • (2024.01.16) 增加UIImage图片组件
    • (2024.01.16) 优化Background组件,可设置圆角和边框
    • (2024.01.03) 增加UITablecarouselStylehoverPause
    • (2024.01.02) 增加UITablescrollStyleborderStyle
    • (2024.01.02) 增加UITablecolumnHeadStyleopaque
    • (2024.01.01) 调整UITableborder边框相关设置,用BorderStyle代替
    • (2023.12.22) 增加UITable的行边框

    v3.9.0

    • (2023.11.14) 增加UITableGetData()GetContent()接口
    • (2023.11.12) 增加UITableonTableClick点击表格回调
    • (2023.11.11) 重构UITableSeparatorStyle,可分开设置行列的分割线
    • (2023.11.05) 增加UITableColumnStyle,重构Column相关参数
    • (2023.11.05) 增加UITableRowStyle,重构Row相关参数
    • (2023.11.01) 增加UITableCarouselStyle轮播功能
    • (2023.11.01) 增加UITableAddColumn()UpdateColumn()接口
    • (2023.10.23) 修复UITable点击Rebuild Object异常的问题
    • (2023.10.23) 修复UITable尺寸变化时不刷新的问题
    • (2023.10.17) 修复UITable首次初始化异常的问题
    • (2023.10.17) 增加UITable的数据操作接口
    • (2023.10.17) 增加UITableRefreshTable()刷新接口

    v3.8.0

    • (2023.09.03) 发布v3.8.0版本
    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 增加UIStatistic
    • (2023.02.14) 增加UITable
    - - + + \ No newline at end of file diff --git a/en/docs/v3.5.0/about/index.html b/en/docs/v3.5.0/about/index.html index 7447dff9..8e7bae32 100644 --- a/en/docs/v3.5.0/about/index.html +++ b/en/docs/v3.5.0/about/index.html @@ -14,8 +14,8 @@ 关于XCharts | XCharts - - + +
    @@ -30,7 +30,7 @@ 答:目前只支持在Unity平台使用。理论上任何支持UGUIUnity版本都能运行XCharts

  • 锯齿怎么解决?支持多大量级的数据?
    答:XCharts是基于UGUI实现的,所以UGUI中碰到的问题,在XCharts中也会存在。比如锯齿问题,比如Mesh顶点数超65535的问题。这两个问题的解决可参考问答16问答27
    由于Mesh65535顶点数的限制,目前XCharts的单条Line支持约2万的数据量,当然开启采样可以支持更多数据的绘制,但同时也会更消耗CPU。

  • Licenses

    • MIT License
    • 可免费商用,可二次开发
    • 扩展图表需单独购买授权

    日志

    其他

    • 邮箱:monitor1394@gmail.com
    • QQ群:XCharts交流群(202030963
    • VIP群:XCharts技术支持VIP群(867291970
    • 捐助、合作和技术支持:☞ 看这里
    - - + + \ No newline at end of file diff --git a/en/docs/v3.5.0/api/index.html b/en/docs/v3.5.0/api/index.html index 50d90986..ea130950 100644 --- a/en/docs/v3.5.0/api/index.html +++ b/en/docs/v3.5.0/api/index.html @@ -14,13 +14,13 @@ API手册 | XCharts - - + +
    Version: v3.5.0

    API手册

    所有类

    AnimationStyleHelperAxisContextAxisHandler<T>
    AxisHelperBarChartBaseChart
    BaseGraphCandlestickChartChartCached
    ChartConstChartDrawerChartHelper
    ChartLabelChartObjectCheckHelper
    ColorUtilComponentHandlerAttributeComponentHelper
    CoordOptionsAttributeDataZoomContextDataZoomHelper
    DateTimeUtilDefaultAnimationAttributeDefineSymbolsUtil
    FormatterHelperGridCoordContextHeatmapChart
    IgnoreDocInteractDataLayerHelper
    LegendContextLegendHelperLegendItem
    LineChartListForListForComponent
    ListForSerieMainComponentContextMainComponentHandler
    MainComponentHandler<T>MathUtilPainter
    ParallelChartParallelCoordContextPieChart
    PolarChartPolarCoordContextProgressBar
    PropertyUtilRadarChartRadarCoordContext
    ReflectionUtilRequireChartComponentAttributeRingChart
    RuntimeUtilScatterChartSerieContext
    SerieConvertAttributeSerieDataContextSerieDataExtraComponentAttribute
    SerieDataExtraFieldAttributeSerieExtraComponentAttributeSerieHandler
    SerieHandler<T>SerieHandlerAttributeSerieHelper
    SerieLabelHelperSerieLabelPoolSerieParams
    SeriesHelperSimplifiedBarChartSimplifiedCandlestickChart
    SimplifiedLineChartSinceSVG
    SVGImageSVGPathSVGPathSeg
    TooltipContextTooltipDataTooltipHelper
    TooltipViewTooltipViewItemUGL
    UGLExampleUGLHelperVisualMapContext
    VisualMapHelperXChartsMgrXCResourceImporterWindow
    XCThemeMgr

    AnimationStyleHelper

    public methoddescription
    CheckDataAnimation()public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)
    GetAnimationPosition()public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip)
    UpdateAnimationType()public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType)
    UpdateSerieAnimation()public static void UpdateSerieAnimation(Serie serie)

    AxisContext

    Inherits or Implemented: MainComponentContext

    AxisHandler<T>

    Inherits or Implemented: MainComponentHandler

    AxisHelper

    public methoddescription
    AdjustCircleLabelPos()public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    AdjustMinMaxValue()public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
    调整最大最小值
    AdjustRadiusAxisLabelPos()public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    GetAxisLineArrowOffset()public static float GetAxisLineArrowOffset(Axis axis)
    包含箭头偏移的轴线长度
    GetAxisPosition()public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)
    GetAxisPositionValue()public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)
    GetAxisPositionValue()public static double GetAxisPositionValue(GridCoord grid, Axis axis, Vector3 pos)
    GetAxisValueDistance()public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上相对起点的距离
    GetAxisValueLength()public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上对应的长度
    GetAxisValuePosition()public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上的坐标位置
    GetAxisValueSplitIndex()public static int GetAxisValueSplitIndex(Axis axis, double value, int totalSplitNumber = -1)
    获得数值value在坐标轴上对应的split索引
    GetAxisXOrY()public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)
    GetDataWidth()public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
    获得一个类目数据在坐标系中代表的宽度
    GetEachWidth()public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    GetScaleNumber()public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    获得分割线条数
    GetScaleWidth()public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
    获得分割段宽度
    GetSplitNumber()public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
    获得分割段数
    GetTotalSplitGridNum()public static int GetTotalSplitGridNum(Axis axis)
    获得分割网格个数,包含次刻度
    GetXAxisXOrY()public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)
    GetYAxisXOrY()public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)
    NeedShowSplit()public static bool NeedShowSplit(Axis axis)

    BarChart

    Inherits or Implemented: BaseChart

    BaseChart

    Inherits or Implemented: BaseGraph,ISerializationCallbackReceiver

    public methoddescription
    AddChartComponent()public MainComponent AddChartComponent(Type type)
    AddChartComponent<T>()public T AddChartComponent<T>() where T : MainComponent
    AddChartComponentWhenNoExist<T>()public T AddChartComponentWhenNoExist<T>() where T : MainComponent
    AddData()public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
    添加一个数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(string serieName, double data, string dataName = null, string dataId = null)
    If serieName doesn't exist in legend,will be add to legend.
    AddData()public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddSerie<T>()public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie
    AddXAxisData()public void AddXAxisData(string category, int xAxisIndex = 0)
    添加一个类目数据到指定的x轴。
    AddXAxisIcon()public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
    添加一个图标到指定的x轴。
    AddYAxisData()public void AddYAxisData(string category, int yAxisIndex = 0)
    添加一个类目数据到指定的y轴。
    AddYAxisIcon()public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
    添加一个图标到指定的y轴。
    AnimationEnable()public void AnimationEnable(bool flag)
    启用或关闭起始动画。
    AnimationFadeIn()public void AnimationFadeIn(bool reset = true)
    开始渐入动画。
    AnimationFadeOut()public void AnimationFadeOut()
    开始渐出动画。
    AnimationPause()public void AnimationPause()
    暂停动画。
    AnimationReset()public void AnimationReset()
    重置动画。
    AnimationResume()public void AnimationResume()
    继续动画。
    CanAddChartComponent()public bool CanAddChartComponent(Type type)
    CanAddSerie()public bool CanAddSerie(Type type)
    CanAddSerie<T>()public bool CanAddSerie<T>() where T : Serie
    CanMultipleComponent()public bool CanMultipleComponent(Type type)
    ClampInChart()public void ClampInChart(ref Vector3 pos)
    ClampInGrid()public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)
    ClearComponentData()public virtual void ClearComponentData()
    清空所有组件的数据。
    ClearData()public virtual void ClearData()
    清空所有组件和Serie的数据。注意:Serie只是清空数据,不会移除Serie。
    ClearSerieData()public virtual void ClearSerieData()
    清空所有serie的数据。
    ClickLegendButton()public void ClickLegendButton(int legendIndex, string legendName, bool show)
    点击图例按钮
    CovertSerie()public bool CovertSerie(Serie serie, Type type)
    CovertSerie<T>()public bool CovertSerie<T>(Serie serie) where T : Serie
    CovertXYAxis()public void CovertXYAxis(int index)
    转换X轴和Y轴的配置
    GenerateDefaultSerieName()public string GenerateDefaultSerieName()
    GetAllSerieDataCount()public int GetAllSerieDataCount()
    GetChartBackgroundColor()public Color32 GetChartBackgroundColor()
    GetChartComponent<T>()public T GetChartComponent<T>(int index = 0) where T : MainComponent
    GetChartComponentNum()public int GetChartComponentNum(Type type)
    GetChartComponentNum<T>()public int GetChartComponentNum<T>() where T : MainComponent
    GetChartComponents<T>()public List<MainComponent> GetChartComponents<T>() where T : MainComponent
    GetData()public double GetData(int serieIndex, int dataIndex, int dimension = 1)
    GetData()public double GetData(string serieName, int dataIndex, int dimension = 1)
    GetDataZoomOfAxis()public DataZoom GetDataZoomOfAxis(Axis axis)
    GetDataZoomOfSerie()public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)
    GetGrid()public GridCoord GetGrid(Vector2 local)
    GetGridOfDataZoom()public GridCoord GetGridOfDataZoom(DataZoom dataZoom)
    GetItemColor()public Color32 GetItemColor(Serie serie)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)
    GetLegendRealShowNameColor()public Color32 GetLegendRealShowNameColor(string name)
    GetLegendRealShowNameIndex()public int GetLegendRealShowNameIndex(string name)
    GetMarkColor()public Color32 GetMarkColor(Serie serie, SerieData serieData)
    获得Serie的标识颜色。
    GetOrAddChartComponent<T>()public T GetOrAddChartComponent<T>() where T : MainComponent
    GetPainter()public Painter GetPainter(int index)
    GetSerie()public Serie GetSerie(int serieIndex)
    GetSerie()public Serie GetSerie(string serieName)
    GetSerie<T>()public T GetSerie<T>() where T : Serie
    GetSerie<T>()public T GetSerie<T>(int serieIndex) where T : Serie
    GetSerieBarGap<T>()public float GetSerieBarGap<T>() where T : Serie
    GetSerieBarRealCount<T>()public int GetSerieBarRealCount<T>() where T : Serie
    GetSerieIndexIfStack<T>()public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie
    GetSerieSameStackTotalValue<T>()public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie
    GetSeriesMinMaxValue()public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    GetSerieTotalGap<T>()public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie
    GetSerieTotalWidth<T>()public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie
    GetTitlePosition()public Vector3 GetTitlePosition(Title title)
    GetVisualMapOfSerie()public VisualMap GetVisualMapOfSerie(Serie serie)
    GetXDataZoomOfSerie()public DataZoom GetXDataZoomOfSerie(Serie serie)
    GetXLerpColor()public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    GetYLerpColor()public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    HasChartComponent()public bool HasChartComponent(Type type)
    HasChartComponent<T>()public bool HasChartComponent<T>()
    HasSerie()public bool HasSerie(Type type)
    HasSerie<T>()public bool HasSerie<T>() where T : Serie
    Init()public void Init(bool defaultChart = true)
    InitAxisRuntimeData()public virtual void InitAxisRuntimeData(Axis axis) { }
    InsertSerie()public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)
    InsertSerie<T>()public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie
    Internal_CheckAnimation()public void Internal_CheckAnimation()
    IsActiveByLegend()public virtual bool IsActiveByLegend(string legendName)
    获得指定图例名字的系列是否显示。
    IsAllAxisCategory()public bool IsAllAxisCategory()
    纯类目轴。
    IsAllAxisValue()public bool IsAllAxisValue()
    纯数值坐标轴(数值轴或对数轴)。
    IsInAnyGrid()public bool IsInAnyGrid(Vector2 local)
    IsInChart()public bool IsInChart(float x, float y)
    IsInChart()public bool IsInChart(Vector2 local)
    坐标是否在图表范围内
    IsSerieName()public bool IsSerieName(string name)
    MoveDownSerie()public bool MoveDownSerie(int serieIndex)
    MoveUpSerie()public bool MoveUpSerie(int serieIndex)
    OnAfterDeserialize()public void OnAfterDeserialize()
    OnBeforeSerialize()public void OnBeforeSerialize()
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDataZoomRangeChanged()public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public override void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public override void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public override void OnPointerUp(PointerEventData eventData)
    OnScroll()public override void OnScroll(PointerEventData eventData)
    RefreshBasePainter()public void RefreshBasePainter()
    RefreshChart()public void RefreshChart()
    在下一帧刷新整个图表。
    RefreshChart()public void RefreshChart(int serieIndex)
    在下一帧刷新图表的指定serie。
    RefreshChart()public void RefreshChart(Serie serie)
    在下一帧刷新图表的指定serie。
    RefreshDataZoom()public void RefreshDataZoom()
    在下一帧刷新DataZoom
    RefreshGraph()public override void RefreshGraph()
    RefreshPainter()public void RefreshPainter(int index)
    RefreshPainter()public void RefreshPainter(Serie serie)
    RefreshTopPainter()public void RefreshTopPainter()
    RefreshUpperPainter()public void RefreshUpperPainter()
    RemoveAllChartComponent()public void RemoveAllChartComponent()
    RemoveAllSerie()public virtual void RemoveAllSerie()
    移除所有的Serie。当确认只需要移除Serie时使用该接口,其他情况下一般用RemoveData()。
    RemoveChartComponent()public bool RemoveChartComponent(MainComponent component)
    RemoveChartComponent()public bool RemoveChartComponent(Type type, int index = 0)
    RemoveChartComponent<T>()public bool RemoveChartComponent<T>(int index = 0)
    RemoveChartComponents()public int RemoveChartComponents(Type type)
    RemoveChartComponents<T>()public int RemoveChartComponents<T>()
    RemoveData()public virtual void RemoveData()
    清空所有组件数据,并移除所有Serie。一般在图表重新初始化时使用。 注意:组件只清空数据部分,参数会保留不会被重置。
    RemoveData()public virtual void RemoveData(string serieName)
    清除指定系列名称的数据。
    RemoveSerie()public void RemoveSerie(int serieIndex)
    RemoveSerie()public void RemoveSerie(Serie serie)
    RemoveSerie()public void RemoveSerie(string serieName)
    RemoveSerie<T>()public void RemoveSerie<T>() where T : Serie
    ReplaceSerie()public bool ReplaceSerie(Serie oldSerie, Serie newSerie)
    ResetDataIndex()public bool ResetDataIndex(int serieIndex)
    重置serie的数据项索引。避免数据项索引异常。
    SaveAsImage()public void SaveAsImage(string imageType = "png", string savePath = "")
    保存图表为图片。
    SetBasePainterMaterial()public void SetBasePainterMaterial(Material material)
    设置Base Painter的材质球
    SetMaxCache()public void SetMaxCache(int maxCache)
    设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。
    SetPainterActive()public void SetPainterActive(int index, bool flag)
    SetSerieActive()public void SetSerieActive(int serieIndex, bool active)
    设置指定系列是否显示。
    SetSerieActive()public void SetSerieActive(Serie serie, bool active)
    SetSerieActive()public void SetSerieActive(string serieName, bool active)
    设置指定系列是否显示。
    SetSeriePainterMaterial()public void SetSeriePainterMaterial(Material material)
    设置Serie Painter的材质球
    SetTopPainterMaterial()public void SetTopPainterMaterial(Material material)
    设置Top Painter的材质球
    SetUpperPainterMaterial()public void SetUpperPainterMaterial(Material material)
    设置Upper Painter的材质球
    TryAddChartComponent()public bool TryAddChartComponent(Type type)
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>() where T : MainComponent
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>(out T component) where T : MainComponent
    TryGetChartComponent<T>()public bool TryGetChartComponent<T>(out T component, int index = 0)
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateDataName()public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateDataName()public bool UpdateDataName(string serieName, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateLegendColor()public virtual void UpdateLegendColor(string legendName, bool active)
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。
    UpdateTheme()public void UpdateTheme(Theme theme)
    切换图表主题。
    UpdateXAxisData()public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
    更新X轴类目数据。
    UpdateXAxisIcon()public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
    更新X轴图标。
    UpdateYAxisData()public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
    更新Y轴类目数据。
    UpdateYAxisIcon()public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
    更新Y轴图标。

    BaseGraph

    Inherits or Implemented: MaskableGraphic,IPointerDownHandler,IPointerUpHandler,

    public methoddescription
    CheckWarning()public string CheckWarning()
    检测警告信息。
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData)
    OnDrag()public virtual void OnDrag(PointerEventData eventData)
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData)
    OnScroll()public virtual void OnScroll(PointerEventData eventData)
    RebuildChartObject()public void RebuildChartObject()
    移除并重新创建所有图表的Object。
    RefreshAllComponent()public void RefreshAllComponent()
    RefreshGraph()public virtual void RefreshGraph()
    在下一帧刷新图形。
    ScreenPointToChartPoint()public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)
    SetPainterDirty()public void SetPainterDirty()
    重新初始化Painter
    SetSize()public virtual void SetSize(float width, float height)
    设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform)

    CandlestickChart

    Inherits or Implemented: BaseChart

    ChartCached

    public methoddescription
    ColorToDotStr()public static string ColorToDotStr(Color color)
    ColorToStr()public static string ColorToStr(Color color)
    FloatToStr()public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)
    GetSerieLabelName()public static string GetSerieLabelName(string prefix, int i, int j)
    IntToStr()public static string IntToStr(int value, string numericFormatter = "")
    NumberToStr()public static string NumberToStr(double value, string formatter)

    ChartConst

    ChartDrawer

    ChartHelper

    public methoddescription
    ActiveAllObject()public static void ActiveAllObject(Transform parent, bool active, string match = null)
    AddIcon()public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)
    Cancat()public static string Cancat(string str1, int i)
    Cancat()public static string Cancat(string str1, string str2)
    ClearEventListener()public static void ClearEventListener(GameObject obj)
    CopyArray<T>()public static bool CopyArray<T>(T[] toList, T[] fromList)
    CopyList<T>()public static bool CopyList<T>(List<T> toList, List<T> fromList)
    DestoryGameObject()public static void DestoryGameObject(GameObject go)
    DestoryGameObject()public static void DestoryGameObject(Transform parent, string childName)
    DestoryGameObjectByMatch()public static void DestoryGameObjectByMatch(Transform parent, string match)
    DestroyAllChildren()public static void DestroyAllChildren(Transform parent)
    GetActualValue()public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBlurColor()public static Color32 GetBlurColor(Color32 color, float a = 0.3f)
    GetColor()public static Color32 GetColor(string hexColorStr)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetFloatAccuracy()public static int GetFloatAccuracy(double value)
    GetFullName()public static string GetFullName(Transform transform)
    GetHighlightColor()public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)
    GetLastValue()public static Vector3 GetLastValue(List<Vector3> list)
    GetMaxDivisibleValue()public static double GetMaxDivisibleValue(double max, double ceilRate)
    GetMaxLogValue()public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetMinDivisibleValue()public static double GetMinDivisibleValue(double min, double ceilRate)
    GetMinLogValue()public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(Transform transform) where T : Component
    GetPointList()public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetPosition()public static Vector3 GetPosition(Vector3 center, float angle, float radius)
    GetSelectColor()public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    HideAllObject()public static void HideAllObject(GameObject obj, string match = null)
    HideAllObject()public static void HideAllObject(Transform parent, string match = null)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsColorAlphaZero()public static bool IsColorAlphaZero(Color color)
    IsEquals()public static bool IsEquals(double d1, double d2)
    IsEquals()public static bool IsEquals(float d1, float d2)
    IsIngore()public static bool IsIngore(Vector3 pos)
    IsInRect()public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)
    IsPointInQuadrilateral()public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    ParseFloatFromString()public static List<float> ParseFloatFromString(string jsonData)
    ParseStringFromString()public static List<string> ParseStringFromString(string jsonData)
    RemoveComponent<T>()public static void RemoveComponent<T>(GameObject gameObject)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
    SaveAsImage()public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")
    SetActive()public static void SetActive(GameObject gameObject, bool active)
    SetActive()public static void SetActive(Image image, bool active)
    SetActive()public static void SetActive(Text text, bool active)
    SetActive()public static void SetActive(Transform transform, bool active)
    通过设置scale实现是否显示,优化性能,减少GC
    SetBackground()public static void SetBackground(Image background, ImageStyle imageStyle)
    SetColorOpacity()public static void SetColorOpacity(ref Color32 color, float opacity)

    ChartLabel

    Inherits or Implemented: Image

    public methoddescription
    GetHeight()public float GetHeight()
    GetPosition()public Vector3 GetPosition()
    GetTextHeight()public float GetTextHeight()
    GetTextWidth()public float GetTextWidth()
    GetWidth()public float GetWidth()
    SetActive()public void SetActive(bool flag)
    SetIcon()public void SetIcon(Image image)
    SetIconActive()public void SetIconActive(bool flag)
    SetIconSize()public void SetIconSize(float width, float height)
    SetIconSprite()public void SetIconSprite(Sprite sprite)
    SetPadding()public void SetPadding(float[] padding)
    SetPosition()public void SetPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetSize()public void SetSize(float width, float height)
    SetText()public bool SetText(string text)
    SetTextActive()public void SetTextActive(bool flag)
    SetTextColor()public void SetTextColor(Color color)
    SetTextPadding()public void SetTextPadding(TextPadding padding)
    SetTextRotate()public void SetTextRotate(float rotate)
    UpdateIcon()public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null)

    ChartObject

    public methoddescription
    Destroy()public virtual void Destroy()

    CheckHelper

    public methoddescription
    CheckChart()public static string CheckChart(BaseChart chart)
    CheckChart()public static string CheckChart(BaseGraph chart)

    ColorUtil

    public methoddescription
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。

    ComponentHandlerAttribute

    Inherits or Implemented: Attribute

    public methoddescription
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler)
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler, bool allowMultiple)

    ComponentHelper

    public methoddescription
    GetAngleAxis()public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)
    GetRadiusAxis()public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)
    GetXAxisOnZeroOffset()public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)
    GetYAxisOnZeroOffset()public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)
    IsAnyCategoryOfYAxis()public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)

    CoordOptionsAttribute

    Inherits or Implemented: Attribute

    public methoddescription
    Contains<T>()public bool Contains<T>() where T : CoordSystem
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)

    DataZoomContext

    Inherits or Implemented: MainComponentContext

    DataZoomHelper

    public methoddescription
    UpdateDataZoomRuntimeStartEndValue()public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)
    UpdateDataZoomRuntimeStartEndValue<T>()public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie

    DateTimeUtil

    public methoddescription
    GetDateTime()public static DateTime GetDateTime(int timestamp)
    GetTimestamp()public static int GetTimestamp()
    GetTimestamp()public static int GetTimestamp(DateTime time)

    DefaultAnimationAttribute

    Inherits or Implemented: Attribute

    public methoddescription
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler)

    DefineSymbolsUtil

    public methoddescription
    AddGlobalDefine()public static void AddGlobalDefine(string symbol)
    RemoveGlobalDefine()public static void RemoveGlobalDefine(string symbol)

    FormatterHelper

    public methoddescription
    NeedFormat()public static bool NeedFormat(string content)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string numericFormatter, double value)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string value)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(string content)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(StringBuilder sb)

    GridCoordContext

    Inherits or Implemented: MainComponentContext

    HeatmapChart

    Inherits or Implemented: BaseChart

    IgnoreDoc

    Inherits or Implemented: Attribute

    public methoddescription
    IgnoreDoc()public IgnoreDoc()

    InteractData

    public methoddescription
    Reset()public void Reset()
    SetColor()public void SetColor(ref bool needInteract, Color32 color)
    SetColor()public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)
    SetValue()public void SetValue(ref bool needInteract, float size)
    SetValue()public void SetValue(ref bool needInteract, float size, bool highlight, float rate = 1.3f)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)
    TryGetColor()public bool TryGetColor(ref Color32 color, ref bool interacting, float animationDuration = 250)
    TryGetColor()public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetValue()public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)

    LayerHelper

    public methoddescription
    IsFixedWidthHeight()public static bool IsFixedWidthHeight(RectTransform rt)
    IsStretchPivot()public static bool IsStretchPivot(RectTransform rt)

    LegendContext

    Inherits or Implemented: MainComponentContext

    LegendHelper

    public methoddescription
    CheckDataHighlighted()public static bool CheckDataHighlighted(Serie serie, string legendName, bool heighlight)
    CheckDataShow()public static bool CheckDataShow(Serie serie, string legendName, bool show)
    GetContentColor()public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)
    GetIconColor()public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)
    ResetItemPosition()public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)
    SetLegendBackground()public static void SetLegendBackground(Legend legend, ImageStyle style)

    LegendItem

    public methoddescription
    GetIconColor()public Color GetIconColor()
    GetIconRect()public Rect GetIconRect()
    SetActive()public void SetActive(bool active)
    SetBackground()public void SetBackground(ImageStyle imageStyle)
    SetButton()public void SetButton(Button button)
    SetContent()public bool SetContent(string content)
    SetContentBackgroundColor()public void SetContentBackgroundColor(Color color)
    SetContentColor()public void SetContentColor(Color color)
    SetContentPosition()public void SetContentPosition(Vector3 offset)
    SetIcon()public void SetIcon(Image icon)
    SetIconActive()public void SetIconActive(bool active)
    SetIconColor()public void SetIconColor(Color color)
    SetIconImage()public void SetIconImage(Sprite image)
    SetIconSize()public void SetIconSize(float width, float height)
    SetObject()public void SetObject(GameObject obj)
    SetPosition()public void SetPosition(Vector3 position)
    SetText()public void SetText(ChartText text)
    SetTextBackground()public void SetTextBackground(Image image)

    LineChart

    Inherits or Implemented: BaseChart

    ListFor

    Inherits or Implemented: Attribute

    public methoddescription
    ListFor()public ListFor(Type type)

    ListForComponent

    Inherits or Implemented: ListFor

    public methoddescription
    ListForComponent()public ListForComponent(Type type) : base(type)

    ListForSerie

    Inherits or Implemented: ListFor

    public methoddescription
    ListForSerie()public ListForSerie(Type type) : base(type)

    MainComponentContext

    MainComponentHandler

    public methoddescription
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    OnSerieDataUpdate()public virtual void OnSerieDataUpdate(int serieIndex) { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }

    MainComponentHandler<T>

    Inherits or Implemented: MainComponentHandler

    MathUtil

    public methoddescription
    Abs()public static double Abs(double d)
    Approximately()public static bool Approximately(double a, double b)
    Clamp()public static double Clamp(double d, double min, double max)
    Clamp01()public static double Clamp01(double value)
    Lerp()public static double Lerp(double a, double b, double t)

    ObjectPool<T> where T

    Inherits or Implemented: new()

    public methoddescription
    ClearAll()public void ClearAll()
    Get()public T Get()
    new()public class ObjectPool<T> where T : new()
    ObjectPool()public ObjectPool(UnityAction<T> actionOnGet, UnityAction<T> actionOnRelease, bool newIfEmpty = true)
    Release()public void Release(T element)

    Painter

    Inherits or Implemented: MaskableGraphic

    public methoddescription
    Init()public void Init()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag, bool isDebugMode = false)

    ParallelChart

    Inherits or Implemented: BaseChart

    ParallelCoordContext

    Inherits or Implemented: MainComponentContext

    PieChart

    Inherits or Implemented: BaseChart

    PolarChart

    Inherits or Implemented: BaseChart

    PolarCoordContext

    Inherits or Implemented: MainComponentContext

    ProgressBar

    Inherits or Implemented: BaseChart

    PropertyUtil

    public methoddescription
    SetClass<T>()public static bool SetClass<T>(ref T currentValue, T newValue, bool notNull = false) where T : class
    SetColor()public static bool SetColor(ref Color currentValue, Color newValue)
    SetColor()public static bool SetColor(ref Color32 currentValue, Color32 newValue)
    SetStruct<T>()public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct

    RadarChart

    Inherits or Implemented: BaseChart

    RadarCoordContext

    Inherits or Implemented: MainComponentContext

    ReflectionUtil

    public methoddescription
    DeepCloneSerializeField()public static object DeepCloneSerializeField(object obj)
    InvokeListAdd()public static void InvokeListAdd(object obj, FieldInfo field, object item)
    InvokeListAddTo<T>()public static void InvokeListAddTo<T>(object obj, FieldInfo field, Action<T> callback)
    InvokeListClear()public static void InvokeListClear(object obj, FieldInfo field)
    InvokeListCount()public static int InvokeListCount(object obj, FieldInfo field)
    InvokeListGet<T>()public static T InvokeListGet<T>(object obj, FieldInfo field, int i)

    RequireChartComponentAttribute

    Inherits or Implemented: Attribute

    public methoddescription
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)

    RingChart

    Inherits or Implemented: BaseChart

    RuntimeUtil

    public methoddescription
    GetAllAssemblyTypes()public static IEnumerable<Type> GetAllAssemblyTypes()
    GetAllTypesDerivedFrom()public static IEnumerable<Type> GetAllTypesDerivedFrom(Type type)
    GetAllTypesDerivedFrom<T>()public static IEnumerable<Type> GetAllTypesDerivedFrom<T>()
    GetAttribute<T>()public static T GetAttribute<T>(this MemberInfo type, bool check = true) where T : Attribute
    GetAttribute<T>()public static T GetAttribute<T>(this Type type, bool check = true) where T : Attribute
    HasSubclass()public static bool HasSubclass(Type type)

    ScatterChart

    Inherits or Implemented: BaseChart

    SerieContext

    SerieConvertAttribute

    Inherits or Implemented: Attribute

    public methoddescription
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : Serie
    SerieConvertAttribute()public SerieConvertAttribute(Type serie)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)

    SerieDataContext

    public methoddescription
    Reset()public void Reset()

    SerieDataExtraComponentAttribute

    Inherits or Implemented: Attribute

    public methoddescription
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieExtraComponent
    SerieDataExtraComponentAttribute()public SerieDataExtraComponentAttribute()
    SerieDataExtraComponentAttribute()public SerieDataExtraComponentAttribute(Type type1)
    SerieDataExtraComponentAttribute()public SerieDataExtraComponentAttribute(Type type1, Type type2)
    SerieDataExtraComponentAttribute()public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3)
    SerieDataExtraComponentAttribute()public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieDataExtraComponentAttribute()public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieDataExtraComponentAttribute()public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieDataExtraComponentAttribute()public SerieDataExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieDataExtraFieldAttribute

    Inherits or Implemented: Attribute

    public methoddescription
    Contains()public bool Contains(string field)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute()
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7)

    SerieExtraComponentAttribute

    Inherits or Implemented: Attribute

    public methoddescription
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieExtraComponent
    SerieExtraComponentAttribute()public SerieExtraComponentAttribute()
    SerieExtraComponentAttribute()public SerieExtraComponentAttribute(Type type1)
    SerieExtraComponentAttribute()public SerieExtraComponentAttribute(Type type1, Type type2)
    SerieExtraComponentAttribute()public SerieExtraComponentAttribute(Type type1, Type type2, Type type3)
    SerieExtraComponentAttribute()public SerieExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieExtraComponentAttribute()public SerieExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieExtraComponentAttribute()public SerieExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieExtraComponentAttribute()public SerieExtraComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieHandler

    public methoddescription
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawSerie()public virtual void DrawSerie(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName) { }
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    RefreshLabelInternal()public virtual void RefreshLabelInternal() { }
    RefreshLabelNextFrame()public virtual void RefreshLabelNextFrame() { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }

    SerieHandler<T>

    Inherits or Implemented: [SerieHandler where T](#seriehandler where t),Serie

    public methoddescription
    DrawLabelLineSymbol()public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)
    GetSerieDataAutoColor()public virtual Color GetSerieDataAutoColor(SerieData serieData)
    GetSerieDataLabelOffset()public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)
    GetSerieDataLabelPosition()public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)
    GetSerieDataTitlePosition()public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)
    InitComponent()public override void InitComponent()
    OnLegendButtonClick()public override void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public override void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public override void OnLegendButtonExit(int index, string legendName)
    RefreshEndLabelInternal()public virtual void RefreshEndLabelInternal()
    RefreshLabelInternal()public override void RefreshLabelInternal()
    RefreshLabelNextFrame()public override void RefreshLabelNextFrame()
    RemoveComponent()public override void RemoveComponent()
    Update()public override void Update()

    SerieHandlerAttribute

    Inherits or Implemented: Attribute

    public methoddescription
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler)
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler, bool allowMultiple)

    SerieHelper

    public methoddescription
    CloneSerie<T>()public static T CloneSerie<T>(Serie serie) where T : Serie
    CopySerie()public static void CopySerie(Serie oldSerie, Serie newSerie)
    GetAllMinMaxData()public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)
    GetAreaStyle()public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)
    GetAverageData()public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetBlurStyle()public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)
    GetEmphasisStyle()public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData)
    GetItemColor()public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true)
    GetItemFormatter()public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetItemMarker()public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null)
    GetItemStyle()public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetLineColor()public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto)
    GetLineStyle()public static LineStyle GetLineStyle(Serie serie, SerieData serieData)
    GetMaxData()public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMaxSerieData()public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMedianData()public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinData()public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinMaxData()public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)
    获得系列所有数据的最大最小值。
    GetMinSerieData()public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetNumericFormatter()public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetSelectStyle()public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)
    GetSerieLabel()public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieLabelLine()public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieState()public static SerieState GetSerieState(Serie serie)
    GetSerieState()public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)
    GetSerieState()public static SerieState GetSerieState(SerieData serieData)
    GetSerieSymbol()public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetStateStyle()public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)
    GetSysmbolSize()public static float GetSysmbolSize(Serie serie, SerieData serieData, ThemeStyle theme, float defaultSize, SerieState state = SerieState.Auto)
    GetTitleStyle()public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)
    IsAllZeroValue()public static bool IsAllZeroValue(Serie serie, int dimension = 1)
    系列指定维数的数据是否全部为0。
    IsDownPoint()public static bool IsDownPoint(Serie serie, int index)
    UpdateCenter()public static void UpdateCenter(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
    更新运行时中心点和半径
    UpdateFilterData()public static void UpdateFilterData(Serie serie, DataZoom dataZoom)
    根据dataZoom更新数据列表缓存
    UpdateMinMaxData()public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)
    获得指定维数的最大最小值
    UpdateRect()public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
    UpdateSerieRuntimeFilterData()public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)

    SerieLabelHelper

    public methoddescription
    AvoidLabelOverlap()public static void AvoidLabelOverlap(Serie serie, ComponentTheme theme)
    CanShowLabel()public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)
    GetLabelColor()public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)
    GetRealLabelPosition()public static Vector3 GetRealLabelPosition(Serie serie, SerieData serieData, LabelStyle label, LabelLine labelLine)
    SetGaugeLabelText()public static void SetGaugeLabelText(Serie serie)
    UpdatePieLabelPosition()public static void UpdatePieLabelPosition(Serie serie, SerieData serieData)

    SerieLabelPool

    public methoddescription
    ClearAll()public static void ClearAll()
    Release()public static void Release(GameObject element)
    ReleaseAll()public static void ReleaseAll(Transform parent)

    SerieParams

    SeriesHelper

    public methoddescription
    GetLastStackSerie()public static Serie GetLastStackSerie(List<Serie> series, Serie serie)
    获得上一个同堆叠且显示的serie。
    GetLegalSerieNameList()public static List<string> GetLegalSerieNameList(List<Serie> series)
    GetMaxSerieDataCount()public static int GetMaxSerieDataCount(List<Serie> series)
    GetNameColor()public static Color GetNameColor(BaseChart chart, int index, string name)
    GetStackSeries()public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)
    获得堆叠系列列表
    IsAnyClipSerie()public static bool IsAnyClipSerie(List<Serie> series)
    是否有需裁剪的serie。
    IsLegalLegendName()public static bool IsLegalLegendName(string name)
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series) where T : Serie
    是否时百分比堆叠
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series, string stackName) where T : Serie
    是否时百分比堆叠
    IsStack()public static bool IsStack(List<Serie> series)
    是否由数据堆叠
    IsStack<T>()public static bool IsStack<T>(List<Serie> series, string stackName) where T : Serie
    是否堆叠
    UpdateSerieNameList()public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)
    获得所有系列名,不包含空名字。
    UpdateStackDataList()public static void UpdateStackDataList(List<Serie> series, Serie currSerie, DataZoom dataZoom, List<List<SerieData>> dataList)

    SimplifiedBarChart

    Inherits or Implemented: BaseChart

    SimplifiedCandlestickChart

    Inherits or Implemented: BaseChart

    SimplifiedLineChart

    Inherits or Implemented: BaseChart

    Since

    Inherits or Implemented: Attribute

    public methoddescription
    Since()public Since(string version)

    SVG

    public methoddescription
    DrawPath()public static void DrawPath(VertexHelper vh, string path)
    DrawPath()public static void DrawPath(VertexHelper vh, SVGPath path)
    Test()public static void Test(VertexHelper vh)

    SVGImage

    Inherits or Implemented: MaskableGraphic

    SVGPath

    public methoddescription
    AddSegment()public void AddSegment(SVGPathSeg seg)
    Draw()public void Draw(VertexHelper vh)
    Parse()public static SVGPath Parse(string path)

    SVGPathSeg

    public methoddescription
    SVGPathSeg()public SVGPathSeg(SVGPathSegType type)

    TooltipContext

    TooltipData

    TooltipHelper

    public methoddescription
    GetItemNumericFormatter()public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)
    GetLineColor()public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor)
    IsIgnoreFormatter()public static bool IsIgnoreFormatter(string itemFormatter)
    LimitInRect()public static void LimitInRect(Tooltip tooltip, Rect chartRect)

    TooltipView

    public methoddescription
    CreateView()public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)
    GetCurrentPos()public Vector3 GetCurrentPos()
    GetTargetPos()public Vector3 GetTargetPos()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag)
    Update()public void Update()
    UpdatePosition()public void UpdatePosition(Vector3 pos)

    TooltipViewItem

    UGL

    public methoddescription
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
    Draw a diamond. 画菱形(钻石形状)
    DrawEllipse()public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)
    DrawLine()public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color)
    Draw a line. 画直线
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
    Draw a line. 画直线
    DrawPolygon()public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
    填充任意多边形(目前只支持凸多边形)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Vector3 p1, Vector3 p2, float radius, Color32 color)
    Draw a rectangle. 画带长方形
    DrawSquare()public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
    Draw a square. 画正方形
    DrawSvgPath()public static void DrawSvgPath(VertexHelper vh, string path)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)

    UGLExample

    Inherits or Implemented: MaskableGraphic

    UGLHelper

    public methoddescription
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBezier()public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)
    GetBezier2()public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)
    GetBezierList()public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref Vector3 intersection)
    获得两直线的交点
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector3> polyons)
    IsPointInTriangle()public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)

    VisualMapContext

    Inherits or Implemented: MainComponentContext

    VisualMapHelper

    public methoddescription
    AutoSetLineMinMax()public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
    GetDimension()public static int GetDimension(VisualMap visualMap, int defaultDimension)
    IsNeedAreaGradient()public static bool IsNeedAreaGradient(VisualMap visualMap)
    IsNeedGradient()public static bool IsNeedGradient(VisualMap visualMap)
    IsNeedLineGradient()public static bool IsNeedLineGradient(VisualMap visualMap)
    SetMinMax()public static void SetMinMax(VisualMap visualMap, double min, double max)

    XChartsMgr

    public methoddescription
    AddChart()public static void AddChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(string chartName)
    DisableTextMeshPro()public static void DisableTextMeshPro()
    EnableTextMeshPro()public static void EnableTextMeshPro()
    GetChart()public static BaseChart GetChart(string chartName)
    GetCharts()public static List<BaseChart> GetCharts(string chartName)
    GetPackageFullPath()public static string GetPackageFullPath()
    GetRepeatChartNameInfo()public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
    IsExistTMPAssembly()public static bool IsExistTMPAssembly()
    IsRepeatChartName()public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
    ModifyTMPRefence()public static bool ModifyTMPRefence(bool removeTMP = false)
    RemoveAllChartObject()public static void RemoveAllChartObject()
    RemoveChart()public static void RemoveChart(string chartName)

    XCResourceImporterWindow

    Inherits or Implemented: UnityEditor.EditorWindow

    public methoddescription
    ShowPackageImporterWindow()public static void ShowPackageImporterWindow()

    XCThemeMgr

    public methoddescription
    AddTheme()public static void AddTheme(Theme theme)
    CheckReloadTheme()public static void CheckReloadTheme()
    ContainsTheme()public static bool ContainsTheme(string themeName)
    ExportTheme()public static bool ExportTheme(Theme theme)
    ExportTheme()public static bool ExportTheme(Theme theme, string themeNewName)
    GetAllThemeNames()public static List<string> GetAllThemeNames()
    GetTheme()public static Theme GetTheme(string themeName)
    GetTheme()public static Theme GetTheme(ThemeType type)
    GetThemeAssetPath()public static string GetThemeAssetPath(string themeName)
    GetThemeList()public static List<Theme> GetThemeList()
    LoadTheme()public static Theme LoadTheme(string themeName)
    LoadTheme()public static Theme LoadTheme(ThemeType type)
    ReloadThemeList()public static void ReloadThemeList()
    重新加载主题列表
    SwitchTheme()public static void SwitchTheme(BaseChart chart, string themeName)
    - - + + \ No newline at end of file diff --git a/en/docs/v3.5.0/bar3d/index.html b/en/docs/v3.5.0/bar3d/index.html index 94220b9d..efc3156f 100644 --- a/en/docs/v3.5.0/bar3d/index.html +++ b/en/docs/v3.5.0/bar3d/index.html @@ -14,14 +14,14 @@ 3D柱图 | XCharts - - + +
    Version: v3.5.0

    3D柱图

    XCharts的付费扩展图表 - 3D柱图。

    bar3d

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.5.0

    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 增加SerieItemStylebackgroundColor的支持
    • (2022.11.27) 增加SeriecolorBy的支持
    • (2022.11.27) 更新文档

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    v3.1.0

    • (2022.07.14) 发布v3.1.0版本
    • (2022.07.14) 增加bottomColorRate,cylinderRate参数
    • (2022.07.14) 调整topColorBurnRate改名为topColorRate
    • (2022.07.14) 调整sideColorBurnRate改名为sideColorRate
    • (2022.07.14) 调整dire改名为cubeDire
    • (2022.07.14) 支持Cylinder圆柱和Cube立方柱

    API

    Bar3DChart

    Inherits or Implemented: BaseChart

    配置项手册

    Bar3D

    Inherits or Implemented: Serie,INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    fielddefaultsincecomment
    bar3DTypev3.1.0
    Bar3DType:
    - Cube: 立方柱。
    - Cylinder: 圆柱。
    bar3DStyleBar3DStyle

    Bar3DStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showtrue
    verticalArrangefalse是否垂直排列。
    verticalArrangeDireVector3(-1, 1)垂直排列时的方向。
    verticalArrangeGap0.5f垂直排列时两个柱子间的间隙。
    barOffsetVector3.zero柱子偏移。
    widthRate0.5f方形柱侧边宽度相对正面的比例。
    topColorRate0.8f柱子顶部相对正面的颜色比例。
    bottomColorRate1f柱子底部相对正面的颜色比例。
    sideColorRate0.7f方形柱侧边相对正面的颜色比例。
    cubeDireVector3(1, 1)方形柱形成3D效果的方向。
    cylinderRate0.5fv3.1.0圆柱的顶部椭圆比列。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.5.0/changelog/index.html b/en/docs/v3.5.0/changelog/index.html index 52d5ace2..145553cc 100644 --- a/en/docs/v3.5.0/changelog/index.html +++ b/en/docs/v3.5.0/changelog/index.html @@ -14,8 +14,8 @@ 更新日志 | XCharts - - + +
    @@ -76,7 +76,7 @@ v0.8.0
    v0.5.0
    v0.1.0

    master

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Covert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    - - + + \ No newline at end of file diff --git a/en/docs/v3.5.0/configuration/index.html b/en/docs/v3.5.0/configuration/index.html index df29bf18..987e3698 100644 --- a/en/docs/v3.5.0/configuration/index.html +++ b/en/docs/v3.5.0/configuration/index.html @@ -14,13 +14,13 @@ 配置项手册 | XCharts - - + +
    Version: v3.5.0

    配置项手册

    Serie 系列

    BarBaseScatterCandlestickEffectScatter
    HeatmapLineParallelPie
    RadarRingScatterSerie
    SimplifiedBarSimplifiedCandlestickSimplifiedLine

    Theme 主题

    AngleAxisThemeAxisThemeBaseAxisThemeComponentTheme
    DataZoomThemeLegendThemePolarAxisThemeRadarAxisTheme
    RadiusAxisThemeSerieThemeSubTitleThemeTheme
    ThemeStyleTitleThemeTooltipThemeVisualMapTheme

    MainComponent 主组件

    AngleAxisAxisBackgroundCalendarCoord
    CommentCoordSystemDataZoomGridCoord
    LegendMarkAreaMarkLineParallelAxis
    ParallelCoordPolarCoordRadarCoordRadiusAxis
    SettingsSingleAxisSingleAxisCoordTitle
    TooltipVisualMapXAxisYAxis

    ChildComponent 子组件

    AngleAxisThemeAnimationStyleAreaStyleArrowStyle
    AxisLabelAxisLineAxisMinorSplitLineAxisMinorTick
    AxisNameAxisSplitAreaAxisSplitLineAxisTheme
    AxisTickBaseAxisThemeBaseLineBlurStyle
    CommentItemCommentMarkStyleComponentThemeDataZoomTheme
    EmphasisStyleEndLabelStyleIconStyleImageStyle
    ItemStyleLabelLineLabelStyleLegendTheme
    LevelLevelStyleLineArrowLineStyle
    LocationMarkAreaDataMarkLineDataMarqueeStyle
    PaddingPolarAxisThemeRadarAxisThemeRadiusAxisTheme
    SelectStyleSerieDataSerieSymbolSerieTheme
    StageColorStateStyleSubTitleThemeSymbolStyle
    TextLimitTextPaddingTextStyleThemeStyle
    TitleStyleTitleThemeTooltipThemeVisualMapRange
    VisualMapTheme

    ISerieExtraComponent 系列的额外组件

    AreaStyleBlurStyleEmphasisStyleImageStyle
    LabelLineLabelStyleLineArrowSelectStyle
    TitleStyle

    ISerieDataComponent 数据项的额外组件

    AreaStyleBlurStyleEmphasisStyleImageStyle
    ItemStyleLabelLineLabelStyleLineStyle
    SelectStyleSerieSymbolTitleStyle

    Other 其他组件

    BaseSerieChartTextChildComponentDebugInfo
    IndicatorLangLangCandlestickLangTime
    MainComponentXCResourcesImporterXCSettings

    AngleAxis

    Inherits or Implemented: Axis

    极坐标系的角度轴。

    fielddefaultsincecomment
    startAngle0起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    Inherits or Implemented: BaseAxisTheme

    AnimationStyle

    Inherits or Implemented: ChildComponent

    动画表现。

    fielddefaultsincecomment
    enabletrue是否开启动画效果。
    type动画类型。
    AnimationType:
    - Default: 默认。内部会根据实际情况选择一种动画播放方式。
    - LeftToRight: 从左往右播放动画。
    - BottomToTop: 从下往上播放动画。
    - InsideOut: 由内到外播放动画。
    - AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    - Clockwise: 顺时针播放动画。
    easting动画的缓动效果。
    AnimationEasing:
    - Linear:
    threshold2000是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
    fadeInDuration1000设定的渐入动画时长(毫秒)。如果要设置单个数据项的渐入时长,可以用代码定制:customFadeInDuration。
    fadeInDelay0渐入动画延时(毫秒)。如果要设置单个数据项的延时,可以用代码定制:customFadeInDelay。
    fadeOutDuration1000f设定的渐出动画时长(毫秒)。如果要设置单个数据项的渐出时长,可以用代码定制:customFadeOutDuration。
    fadeOutDelay0渐出动画延时(毫秒)。如果要设置单个数据项的延时,可以用代码定制:customFadeOutDelay。
    dataChangeEnabletrue是否开启数据变更动画。
    dataChangeDuration500数据变更的动画时长(毫秒)。
    actualDuration实际的动画时长(毫秒)。
    unscaledTimev3.4.0动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AreaStyle

    Inherits or Implemented: ChildComponent,ISerieExtraComponent,ISerieDataComponent

    区域填充样式。

    fielddefaultsincecomment
    showtrue是否显示区域填充。
    origin区域填充的起始位置。
    AreaStyle.AreaOrigin:
    - Auto: 填充坐标轴轴线到数据间的区域。
    - Start: 填充坐标轴底部到数据间的区域。
    - End: 填充坐标轴顶部到数据间的区域。
    color区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。
    toColor渐变色的终点颜色。
    opacity0.6f图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    innerFillv3.2.0是否只填充多边形区域。目前只支持凸多边形。

    ArrowStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    width10箭头宽。
    height15箭头高。
    offset0箭头偏移。
    dent3箭头的凹度。
    colorColor.clear箭头颜色。

    Axis

    Inherits or Implemented: MainComponent

    直角坐标系的坐标轴组件。

    fielddefaultsincecomment
    showtrue是否显示坐标轴。
    type坐标轴类型。
    Axis.AxisType:
    - Value: 数值轴。适用于连续数据。
    - Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    - Log: 对数轴。适用于对数数据。
    - Time: 时间轴。适用于连续的时序数据。
    minMaxType坐标轴刻度最大最小值显示类型。
    Axis.AxisMinMaxType:
    - Default: 0-最大值。
    - MinMax: 最小值-最大值。
    - Custom: 自定义最小值最大值。
    gridIndex坐标轴所在的 grid 的索引,默认位于第一个 grid。
    polarIndex坐标轴所在的 ploar 的索引,默认位于第一个 polar。
    parallelIndex坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
    position坐标轴在Grid中的位置。
    Axis.AxisPosition:
    - Left: 坐标轴在Grid中的位置
    - Right: 坐标轴在Grid中的位置
    - Bottom: 坐标轴在Grid中的位置
    - Top: 坐标轴在Grid中的位置
    offset坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
    min设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
    max设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
    splitNumber0坐标轴的期望的分割段数。默认为0表示自动分割。
    interval0强制设置坐标轴分割间隔。无法在类目轴中使用。
    boundaryGaptrue坐标轴两边是否留白。只对类目轴有效。
    maxCache0The first data will be remove when the size of axis data is larger then maxCache.
    logBase10对数轴的底数,只在对数轴(type:'Log')中有效。
    logBaseEfalse对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    inversefalse是否反向坐标轴。在类目轴中无效。
    clockwisetrue刻度增长是否按顺时针,默认顺时针。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    icons类目数据对应的图标。
    data类目数据,在类目轴(type: 'category')中有效。
    axisLine坐标轴轴线。 AxisLine
    axisName坐标轴名称。 AxisName
    axisTick坐标轴刻度。 AxisTick
    axisLabel坐标轴刻度标签。 AxisLabel
    splitLine坐标轴分割线。 AxisSplitLine
    splitArea坐标轴分割区域。 AxisSplitArea
    minorTickv3.2.0坐标轴次刻度。 AxisMinorTick
    minorSplitLinev3.2.0坐标轴次分割线。 AxisMinorSplitLine
    indicatorLabelv3.4.0指示器文本的样式。Tooltip为Cross时使用。 LabelStyle

    AxisLabel

    Inherits or Implemented: LabelStyle

    坐标轴刻度标签的相关设置。

    fielddefaultsincecomment
    interval0坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    insidefalse刻度标签是否朝内,默认朝外。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。
    onZerofalse刻度标签显示在0刻度上。
    showStartLabeltrue是否显示第一个文本。
    showEndLabeltrue是否显示最后一个文本。
    textLimit文本限制。 TextLimit

    AxisLine

    Inherits or Implemented: BaseLine

    坐标轴轴线。

    fielddefaultsincecomment
    onZeroX 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。
    showArrow是否显示箭头。
    arrow轴线箭头。 ArrowStyle

    AxisMinorSplitLine

    Inherits or Implemented: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    fielddefaultsincecomment
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。

    AxisMinorTick

    Inherits or Implemented: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    fielddefaultsincecomment
    splitNumber5分隔线之间分割的刻度数。
    autoColor

    AxisName

    Inherits or Implemented: ChildComponent

    坐标轴名称。

    fielddefaultsincecomment
    show是否显示坐标轴名称。
    name坐标轴名称。
    onZerov3.1.0坐标轴名称的位置是否保持和Y轴0刻度一致。
    labelStyle文本样式。 LabelStyle

    AxisSplitArea

    Inherits or Implemented: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    fielddefaultsincecomment
    show是否显示分隔区域。
    color分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitLine

    Inherits or Implemented: BaseLine

    坐标轴在 grid 区域中的分隔线。

    fielddefaultsincecomment
    interval坐标轴分隔线的显示间隔。
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。
    showStartLinetruev3.3.0是否显示第一条分割线。
    showEndLinetruev3.3.0是否显示最后一条分割线。

    AxisTheme

    Inherits or Implemented: BaseAxisTheme

    AxisTick

    Inherits or Implemented: BaseLine

    坐标轴刻度相关设置。

    fielddefaultsincecomment
    alignWithLabel类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。
    inside坐标轴刻度是否朝内,默认朝外。
    showStartTick是否显示第一个刻度。
    showEndTick是否显示最后一个刻度。
    distance刻度线与轴线的距离。
    splitNumber0分隔线之间分割的刻度数。
    autoColor

    Background

    Inherits or Implemented: MainComponent

    背景组件。

    fielddefaultsincecomment
    showtrue是否启用背景组件。
    image背景图。
    imageType背景图填充类型。
    imageColor背景图颜色。
    autoColortrue当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。

    Bar

    Inherits or Implemented: Serie,INeedSerieContainer

    BaseAxisTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f坐标轴线宽。
    lineLength0f坐标轴线长。
    lineColor坐标轴线颜色。
    splitLineType分割线线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    splitLineWidth1f分割线线宽。
    splitLineLength0f分割线线长。
    splitLineColor分割线线颜色。
    minorSplitLineColor次分割线线颜色。
    tickWidth1f刻度线线宽。
    tickLength5f刻度线线长。
    tickColor坐标轴线颜色。
    splitAreaColors坐标轴分隔区域的颜色。

    BaseLine

    Inherits or Implemented: ChildComponent

    线条基础配置。

    fielddefaultsincecomment
    show是否显示坐标轴轴线。
    lineStyle线条样式 LineStyle

    BaseScatter

    Inherits or Implemented: Serie,INeedSerieContainer

    BaseSerie

    BlurStyle

    Inherits or Implemented: StateStyle,ISerieExtraComponent,ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    CalendarCoord

    Inherits or Implemented: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Candlestick

    Inherits or Implemented: Serie,INeedSerieContainer

    ChartText

    ChildComponent

    Comment

    Inherits or Implemented: MainComponent,IPropertyChanged

    图表注解组件。

    fielddefaultsincecomment
    showtrue是否显示注解组件。
    labelStyle所有组件的文本样式。 LabelStyle
    markStyle所有组件的文本样式。 CommentMarkStyle
    items注解项。每个注解组件可以设置多个注解项。

    CommentItem

    Inherits or Implemented: ChildComponent

    注解项。

    fielddefaultsincecomment
    showtrue是否显示当前注解项。
    content注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。
    markRect注解区域。
    markStyle注解标记区域样式。 CommentMarkStyle
    labelStyle注解项的文本样式。 LabelStyle
    locationv3.5.0Comment显示的位置。 Location

    CommentMarkStyle

    Inherits or Implemented: ChildComponent

    注解项区域样式。

    fielddefaultsincecomment
    showtrue是否显示当前注解项。
    lineStyle线条样式。 LineStyle

    ComponentTheme

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    font字体。
    textColor文本颜色。
    textBackgroundColor文本颜色。
    fontSize18文本字体大小。
    tMPFont字体。

    CoordSystem

    Inherits or Implemented: MainComponent

    坐标系系统。

    DataZoom

    Inherits or Implemented: MainComponent,IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    fielddefaultsincecomment
    enabletrue是否显示缩放区域。
    filterMode数据过滤类型。
    DataZoom.FilterMode:
    - Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    - WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    - Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    - None: 不过滤数据,只改变数轴范围。
    xAxisIndexs控制的 x 轴索引列表。
    yAxisIndexs控制的 y 轴索引列表。
    supportInside是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
    supportInsideScrolltrue是否支持坐标系内滚动
    supportInsideDragtrue是否支持坐标系内拖拽
    supportSlider是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。
    supportMarquee是否支持框选。提供一个选框进行数据区域缩放。
    showDataShadow是否显示数据阴影。数据阴影可以简单地反应数据走势。
    showDetail是否显示detail,即拖拽时候显示详细数值信息。
    zoomLock是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    borderWidth边框宽。
    backgroundColor组件的背景颜色。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    rangeMode取绝对值还是百分比。
    DataZoom.RangeMode:
    - //Value: The value type of start and end.取值类型
    - Percent: 百分比。
    start数据窗口范围的起始百分比。范围是:0 ~ 100。
    end数据窗口范围的结束百分比。范围是:0 ~ 100。
    minShowNum1最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。
    scrollSensitivity1.1f缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。
    orient布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    labelStyle文本标签格式。 LabelStyle
    lineStyle阴影线条样式。 LineStyle
    areaStyle阴影填充样式。 AreaStyle
    marqueeStylev3.5.0选取框样式。 MarqueeStyle

    DataZoomTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    borderWidth边框线宽。
    dataLineWidth数据阴影线宽。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    dataLineColor数据阴影的线条颜色。
    dataAreaColor数据阴影的填充颜色。
    backgroundColor背景颜色。

    DebugInfo

    fielddefaultsincecomment
    showtrue是否显示Debug组件。
    showDebugInfofalse
    showAllChartObjectfalse是否在Hierarchy试图显示所有chart下的节点。
    foldSeriesfalse是否在Inspector上折叠Serie。
    labelStyleLabelStyle

    EffectScatter

    Inherits or Implemented: BaseScatter

    EmphasisStyle

    Inherits or Implemented: StateStyle,ISerieExtraComponent,ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    fielddefaultsincecomment
    scale1.1f高亮时的缩放倍数。
    focus在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。
    EmphasisStyle.FocusType:
    - None: 不淡出其它图形,默认使用该配置。
    - Self: 只聚焦(不淡出)当前高亮的数据的图形。
    - Series: 聚焦当前高亮的数据所在的系列的所有图形。
    blurScope在开启focus的时候,可以通过blurScope配置淡出的范围。
    EmphasisStyle.BlurScope:
    - GridCoord: 淡出范围为坐标系,默认使用该配置。
    - Series: 淡出范围为系列。
    - Global: 淡出范围为全局。

    EndLabelStyle

    Inherits or Implemented: LabelStyle

    GridCoord

    Inherits or Implemented: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    fielddefaultsincecomment
    showtrue是否显示直角坐标系网格。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。
    showBorderfalse是否显示网格边框。
    borderWidth0f网格边框宽。
    borderColor网格边框颜色。

    Heatmap

    Inherits or Implemented: Serie,INeedSerieContainer

    fielddefaultsincecomment
    heatmapTypev3.3.0热力图类型。通过颜色映射划分。
    HeatmapType:
    - Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    - Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showfalse是否显示图标。
    layer显示在上层还是在下层。
    IconStyle.Layer:
    - UnderText: The icon is display under the label text. 图标在标签文字下
    - AboveText: The icon is display above the label text. 图标在标签文字上
    align水平方向对齐方式。
    Align:
    - Center: 对齐方式
    - Left: 对齐方式
    - Right: 对齐方式
    sprite图标的图片。
    type图片的显示类型。
    color图标颜色。
    width20图标宽。
    height20图标高。
    offset图标偏移。
    autoHideWhenLabelEmptyfalse当label内容为空时是否自动隐藏图标

    ImageStyle

    Inherits or Implemented: ChildComponent,ISerieExtraComponent,ISerieDataComponent

    fielddefaultsincecomment
    showtrue是否显示图标。
    sprite图标的图片。
    type图片的显示类型。
    autoColor是否自动颜色。
    color图标颜色。
    width0图标宽。
    height0图标高。

    Indicator

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    fielddefaultsincecomment
    name指示器名称。
    max指示器的最大值,默认为 0 无限制。
    min指示器的最小值,默认为 0 无限制。
    range正常值范围。当数值不在这个范围时,会自动变更显示颜色。
    show是否显示雷达坐标系组件。
    shape雷达图绘制类型,支持 'Polygon' 和 'Circle'。
    radius100雷达图的半径。
    splitNumber5指示器轴的分割段数。
    center雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    axisLine轴线。 AxisLine
    axisName雷达图每个指示器名称的配置项。 AxisName
    splitLine分割线。 AxisSplitLine
    splitArea分割区域。 AxisSplitArea
    indicatortrue是否显示指示器。
    positionType显示位置类型。
    indicatorGap10指示器和雷达的间距。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    isAxisTooltip是否Tooltip显示轴线上的所有数据。
    outRangeColorColor.red数值超出范围时显示的颜色。
    connectCenterfalse数值是否连线到中心点。
    lineGradienttrue数值线段是否需要渐变。
    startAnglev3.4.0起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    indicatorList指示器列表。

    ItemStyle

    Inherits or Implemented: ChildComponent,ISerieDataComponent

    图形样式。

    fielddefaultsincecomment
    showtrue是否启用。
    color数据项颜色。
    color0数据项颜色。
    toColor渐变色的颜色1。
    toColor2渐变色的颜色2。只在折线图中有效。
    backgroundColor数据项背景颜色。
    backgroundWidth数据项背景宽度。
    centerColor中心区域颜色。
    centerGap中心区域间隙。
    borderWidth0边框宽。
    borderGap0边框间隙。
    borderColor边框的颜色。
    borderColor0边框的颜色。
    borderToColor边框的渐变色。
    opacity1透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    itemMarker提示框单项的字符标志。用在Tooltip中。
    itemFormatter提示框单项的字符串模版格式器。具体配置参考Tooltipformatter
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    LabelLine

    Inherits or Implemented: ChildComponent,ISerieExtraComponent,ISerieDataComponent

    标签的引导线

    fielddefaultsincecomment
    showtrue是否显示视觉引导线。
    lineType视觉引导线类型。
    LabelLine.LineType:
    - BrokenLine: 折线
    - Curves: 曲线
    - HorizontalLine: 水平线
    lineColorChartConst.clearColor32视觉引导线颜色。默认和serie一致取自调色板。
    lineAngle0视觉引导线的固定角度。对折线和曲线有效。
    lineWidth1.0f视觉引导线的宽度。
    lineGap1.0f视觉引导线和容器的间距。
    lineLength125f视觉引导线第一段的长度。
    lineLength215f视觉引导线第二段的长度。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle

    LabelStyle

    Inherits or Implemented: ChildComponent,ISerieExtraComponent,ISerieDataComponent

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    fielddefaultsincecomment
    showtrue是否显示文本标签。
    Position标签的位置。
    autoOffsetfalse是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。
    offset距离图形元素的偏移
    rotate文本的旋转。
    distance距离轴线的距离。
    formatter标签内容字符串模版格式器。支持用 \n 换行。 模板变量有: {.}:圆点标记。 {a}:系列名。 {a}:系列名。 {b}:类目值或数据名。 {c}:数据值。 {d}:百分比。 {e}:数据名。 {f}:数据和。 示例:“{b}:{c}”
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    width0标签的宽度。一般不用指定,不指定时则自动是文字的宽度。
    height0标签的高度。一般不用指定,不指定时则自动是文字的高度。
    icon图标样式。 IconStyle
    background背景图样式。 ImageStyle
    textPadding文本的边距。 TextPadding
    textStyle文本样式。 TextStyle

    Lang

    Inherits or Implemented: ScriptableObject

    国际化语言表。

    LangCandlestick

    LangTime

    Legend

    Inherits or Implemented: MainComponent,IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    fielddefaultsincecomment
    showtrue是否显示图例组件。
    iconType图例类型。
    Legend.Type:
    - Auto: 自动匹配。
    - Custom: 自定义图标。
    - EmptyCircle: 空心圆。
    - Circle: 圆形。
    - Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    - Triangle: 三角形。
    - Diamond: 菱形。
    - Candlestick: 烛台(可用于K线图)。
    selectedMode选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。
    Legend.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    - None: 无法选择。
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location图例显示的位置。 Location
    itemWidth25.0f图例标记的图形宽度。
    itemHeight12.0f图例标记的图形高度。
    itemGap10f图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
    itemAutoColortrue图例标记的图形是否自动匹配颜色。
    itemOpacity1图例标记的图形的颜色透明度。
    formatter图例内容字符串模版格式器。支持用 \n 换行。 模板变量为图例名称 {value}。其他模板变量参考Toolip的itemFormatter。
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    labelStyle文本样式。 LabelStyle
    data图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。
    icons自定义的图例标记图形。
    colors图例标记的颜色列表。
    backgroundv3.1.0背景图样式。 ImageStyle
    paddingv3.1.0图例标记和背景的间距。 Padding

    LegendTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    unableColor文本颜色。

    Level

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    label文本标签样式。 LabelStyle
    upperLabel上方的文本标签样式。 LabelStyle
    itemStyle数据项样式。 ItemStyle

    LevelStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showfalse是否启用LevelStyle
    levels各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    Line

    Inherits or Implemented: Serie,INeedSerieContainer

    LineArrow

    Inherits or Implemented: ChildComponent,ISerieExtraComponent

    fielddefaultsincecomment
    show是否显示箭头。
    position箭头位置。
    LineArrow.Position:
    - End: 末端箭头
    - Start: 头端箭头
    arrow箭头。 ArrowStyle

    LineStyle

    Inherits or Implemented: ChildComponent,ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    fielddefaultsincecomment
    showtrue是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。
    type线的类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    color线的颜色。
    toColor线的渐变颜色(需要水平方向渐变时)。
    toColor2线的渐变颜色2(需要水平方向三个渐变色的渐变时)。
    width0线宽。
    length0线长。
    opacity1线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。

    Location

    Inherits or Implemented: ChildComponent,IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    fielddefaultsincecomment
    align对齐方式。
    Location.Align:
    - TopLeft: 对齐方式
    - TopRight: 对齐方式
    - TopCenter: 对齐方式
    - BottomLeft: 对齐方式
    - BottomRight: 对齐方式
    - BottomCenter: 对齐方式
    - Center: 对齐方式
    - CenterLeft: 对齐方式
    - CenterRight: 对齐方式
    left离容器左侧的距离。
    right离容器右侧的距离。
    top离容器上侧的距离。
    bottom离容器下侧的距离。

    MainComponent

    Inherits or Implemented: IComparable

    MarkArea

    Inherits or Implemented: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    fielddefaultsincecomment
    showtrue是否显示标域。
    textThe text of markArea. 标域显示的文本。
    serieIndex0Serie index of markArea. 标域影响的Serie索引。
    start标域范围的起始数据。 MarkAreaData
    end标域范围的结束数据。 MarkAreaData
    itemStyle标域样式。 ItemStyle
    label标域文本样式。 LabelStyle

    MarkAreaData

    Inherits or Implemented: ChildComponent

    标域的数据。

    fielddefaultsincecomment
    type特殊的标域类型,用于标注最大值最小值等。
    MarkAreaType:
    - None: 标域类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标注名称。会作为文字显示。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    Inherits or Implemented: MainComponent

    图表标线。

    fielddefaultsincecomment
    showtrue是否显示标线。
    serieIndex0标线影响的Serie索引。
    animation标线的动画样式。 AnimationStyle
    data标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLineData

    Inherits or Implemented: ChildComponent

    图表标线的数据。

    fielddefaultsincecomment
    type特殊的标线类型,用于标注最大值最小值等。
    MarkLineType:
    - None: 标线类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    group0分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。
    zeroPositionfalse是否为坐标系原点。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle
    lineStyle标线样式。 LineStyle
    label文本样式。可设置position为Start、Middle和End在不同的位置显示文本。 LabelStyle

    MarqueeStyle

    Inherits or Implemented: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    fielddefaultsincecomment
    applyfalsev3.5.0选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。
    realRectfalsev3.5.0是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。
    areaStylev3.5.0选取框区域填充样式。 AreaStyle
    lineStylev3.5.0选取框区域边框样式。 LineStyle

    Padding

    Inherits or Implemented: ChildComponent

    边距设置。

    fielddefaultsincecomment
    showtrueshow padding. 是否显示。
    top0顶部间距。
    right2f右部间距。
    left2f左边间距。
    bottom0底部间距。

    Parallel

    Inherits or Implemented: Serie,INeedSerieContainer

    ParallelAxis

    Inherits or Implemented: Axis

    ParallelCoord

    Inherits or Implemented: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    fielddefaultsincecomment
    showtrue是否显示直角坐标系网格。
    orient坐标轴朝向。默认为垂直朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。

    Pie

    Inherits or Implemented: Serie

    PolarAxisTheme

    Inherits or Implemented: BaseAxisTheme

    PolarCoord

    Inherits or Implemented: CoordSystem,ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    fielddefaultsincecomment
    showtrue是否显示极坐标。
    center极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    backgroundColor极坐标的背景色,默认透明。

    Radar

    Inherits or Implemented: Serie,INeedSerieContainer

    fielddefaultsincecomment
    smoothfalsev3.2.0是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    Inherits or Implemented: BaseAxisTheme

    RadarCoord

    Inherits or Implemented: CoordSystem,ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    Inherits or Implemented: Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    Inherits or Implemented: BaseAxisTheme

    Ring

    Inherits or Implemented: Serie

    Scatter

    Inherits or Implemented: BaseScatter

    SelectStyle

    Inherits or Implemented: StateStyle,ISerieExtraComponent,ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    Inherits or Implemented: BaseSerie,IComparable

    系列。

    fielddefaultsincecomment
    index系列索引。
    showtrue系列是否显示在图表上。
    coordSystem使用的坐标系。
    serieType系列类型。
    serieName系列名称,用于 tooltip 的显示,legend 的图例筛选。
    statev3.2.0系列的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    colorByv3.2.0从主题中取色的策略。
    SerieColorBy:
    - Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略
    - Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    - Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。
    markColorv3.4.0Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。
    stack数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。
    xAxisIndex0使用X轴的index。
    yAxisIndex0使用Y轴的index。
    radarIndex0雷达图所使用的 radar 组件的 index。
    vesselIndex0水位图所使用的 vessel 组件的 index。
    polarIndex0所使用的 polar 组件的 index。
    singleAxisIndex0所使用的 singleAxis 组件的 index。
    parallelIndex0所使用的 parallel coord 组件的 index。
    minShow系列所显示数据的最小索引
    maxShow系列所显示数据的最大索引
    maxCache系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。
    sampleDist0采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。
    sampleType采样类型。当sampleDist大于0时有效。
    SampleType:
    - Peak: 取峰值。
    - Average: 取过滤点的平均值。
    - Max: 取过滤点的最大值。
    - Min: 取过滤点的最小值。
    - Sum: 取过滤点的和。
    sampleAverage0设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。
    lineType折线图样式类型。
    LineType:
    - Normal: 普通折线图。
    - Smooth: 平滑曲线。
    - StepStart: 阶梯线图:当前点。
    - StepMiddle: 阶梯线图:当前点和下一个点的中间。
    - StepEnd: 阶梯线图:下一个拐点。
    smoothLimittruev3.4.0是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。
    barType柱形图类型。
    BarType:
    - Normal: 普通柱形图。
    - Zebra: 斑马柱形图。
    - Capsule: 胶囊柱形图。
    barPercentStackfalse柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。
    barWidth0柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。
    barMaxWidth0v3.5.0柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。
    barGap0.1f不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。
    barZebraWidth4f斑马线的粗细。
    barZebraGap2f斑马线的间距。
    min最小值。
    max最大值。
    minSize0f数据最小值 min 映射的宽度。
    maxSize1f数据最大值 max 映射的宽度。
    startAngle起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    endAngle结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    minAngle最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。
    clockwisetrue是否顺时针。
    roundCap是否开启圆弧效果。
    splitNumber刻度分割段数。最大可设置36。
    clickOffsettrue鼠标点击时是否开启偏移,一般用在PieChart图表中。
    roseType是否展示成南丁格尔图,通过半径区分数据大小。
    RoseType:
    - None: 不展示成南丁格尔玫瑰图。
    - Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    - Area: 所有扇区圆心角相同,仅通过半径展现数据大小。
    gap间距。
    center中心点。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    showDataDimension数据项里的数据维数。
    showDataName在Editor的inpsector上是否显示name参数
    clipfalse是否裁剪超出坐标系部分的图形。
    ignorefalse是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。
    ignoreValue0忽略数据的默认值。当ignore为true才有效。
    ignoreLineBreakfalse忽略数据时折线是断开还是连接。默认false为连接。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。
    largetrue是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。
    largeThreshold200开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。
    avoidLabelOverlapfalse在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。
    radarType雷达图类型。
    RadarType:
    - Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    - Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]
    placeHolderfalse占位模式。占位模式时,数据有效但不参与渲染和显示。
    dataSortType组件的数据排序。
    SerieDataSortType:
    - None: 按 data 的顺序
    - Ascending: 升序
    - Descending: 降序
    orient组件的朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    align组件水平方向对齐方式。
    Align:
    - Center: 对齐方式
    - Left: 对齐方式
    - Right: 对齐方式
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    lineStyle线条样式。 LineStyle
    symbol标记的图形。 SerieSymbol
    animation起始动画。 AnimationStyle
    itemStyle图形样式。 ItemStyle
    data系列中的数据内容数组。SerieData可以设置1到n维数据。

    SerieData

    Inherits or Implemented: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    fielddefaultsincecomment
    index数据项索引。
    name数据项名称。
    id数据项的唯一id。唯一id不是必须设置的。
    parentId父节点id。父节点id不是必须设置的。
    ignore是否忽略数据。当为 true 时,数据不进行绘制。
    selected该数据项是否被选中。
    radius自定义半径。可用在饼图中自定义某个数据项的半径。
    statev3.2.0数据项的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    data可指定任意维数的数值列表。

    SerieSymbol

    Inherits or Implemented: SymbolStyle,ISerieDataComponent

    系列数据项的标记的图形

    fielddefaultsincecomment
    sizeType标记图形的大小获取方式。
    SymbolSizeType:
    - Custom: 自定义大小。
    - FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    - Function: 通过委托函数获取。
    dataIndex1当sizeType指定为FromData时,指定的数据源索引。
    dataScale1当sizeType指定为FromData时,指定的倍数系数。
    sizeFunction当sizeType指定为Function时,指定的委托函数。
    startIndex开始显示图形标记的索引。
    interval显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    forceShowLastfalse是否强制显示最后一个图形标记。
    repeatfalse图形是否重复。
    minSize0fv3.3.0图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。
    maxSize0fv3.3.0图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieTheme

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    lineWidth文本颜色。
    lineSymbolSize折线图的Symbol大小。
    scatterSymbolSize散点图的Symbol大小。
    pieTooltipExtraRadius饼图鼠标移到高亮时的额外半径
    selectedRate1.3f折线图或散点图在被选中时的放大倍数。
    pieSelectedOffset饼图选中时的中心点偏移。
    candlestickColorColor32(235, 84, 84, 255)K线图阳线(涨)填充色
    candlestickColor0Color32(71, 178, 98, 255)K线图阴线(跌)填充色
    candlestickBorderWidth1K线图边框宽度
    candlestickBorderColorColor32(235, 84, 84, 255)K线图阳线(跌)边框色
    candlestickBorderColor0Color32(71, 178, 98, 255)K线图阴线(跌)边框色

    Settings

    Inherits or Implemented: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    fielddefaultsincecomment
    showtrue
    maxPainter10设定的painter数量。
    reversePainterfalsePainter是否逆序。逆序时index大的serie最先绘制。
    basePainterMaterialBase Pointer 材质球,设置后会影响Axis等。
    seriePainterMaterialSerie Pointer 材质球,设置后会影响所有Serie。
    upperPainterMaterialUpper Pointer 材质球。
    topPainterMaterialTop Pointer 材质球。
    lineSmoothStyle2.5f曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。
    lineSmoothness2fWhen the area with gradient is filled, the larger the value, the worse the transition effect.
    lineSegmentDistance3f线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。
    cicleSmoothness2f圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。
    legendIconLineWidth2Line类型图例图标的线条宽度。
    legendIconCornerRadius图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    axisMaxSplitNumber50v3.1.0坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    SimplifiedBar

    Inherits or Implemented: Serie,INeedSerieContainer,ISimplifiedSerie

    SimplifiedCandlestick

    Inherits or Implemented: Serie,INeedSerieContainer,ISimplifiedSerie

    SimplifiedLine

    Inherits or Implemented: Serie,INeedSerieContainer,ISimplifiedSerie

    SingleAxis

    Inherits or Implemented: Axis,IUpdateRuntimeData

    单轴。

    fielddefaultsincecomment
    orient坐标轴朝向。默认为水平朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1f组件离容器左侧的距离。
    right0.1f组件离容器右侧的距离。
    top0f组件离容器上侧的距离。
    bottom0.2f组件离容器下侧的距离。
    width0坐标轴宽。
    height50坐标轴高。

    SingleAxisCoord

    Inherits or Implemented: CoordSystem

    StageColor

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    percent结束位置百分比。
    color颜色。

    StateStyle

    Inherits or Implemented: ChildComponent

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    fielddefaultsincecomment
    showtrue是否启用高亮样式。
    label图形文本标签。 LabelStyle
    labelLine图形文本引导线样式。 LabelLine
    itemStyle图形样式。 ItemStyle
    lineStyle折线样式。 LineStyle
    areaStyle区域样式。 AreaStyle
    symbol标记样式。 SerieSymbol

    SubTitleTheme

    Inherits or Implemented: ComponentTheme

    SymbolStyle

    Inherits or Implemented: ChildComponent

    系列数据项的标记的图形

    fielddefaultsincecomment
    showtrue是否显示标记。
    type标记类型。
    SymbolType:
    - None: 不显示标记。
    - Custom: 自定义标记。
    - Circle: 圆形。
    - EmptyCircle: 空心圆。
    - Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    - EmptyRect: 空心正方形。
    - Triangle: 三角形。
    - EmptyTriangle: 空心三角形。
    - Diamond: 菱形。
    - EmptyDiamond: 空心菱形。
    - Arrow: 箭头。
    - EmptyArrow: 空心箭头。
    size0f标记的大小。
    gap0图形标记和线条的间隙距离。
    width0f图形的宽。
    height0f图形的高。
    offsetVector2.zero图形的偏移。
    image自定义的标记图形。
    imageType图形填充类型。
    color图形的颜色。

    TextLimit

    Inherits or Implemented: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    fielddefaultsincecomment
    enablefalse是否启用文本自适应。 [default:true]
    maxWidth0Clipping occurs when the width of the text is greater than this value.
    gap1两边留白像素距离。 [default:10f]
    suffix长度超出时的后缀。 [default: "..."]

    TextPadding

    Inherits or Implemented: Padding

    文本的内边距设置。

    TextStyle

    Inherits or Implemented: ChildComponent

    文本的相关设置。

    fielddefaultsincecomment
    showtrue文本的相关设置。
    font文本字体。 [default: null]
    autoWrapfalse是否自动换行。
    autoAligntrue文本是否让系统自动选对齐方式。为false时才会用alignment。
    rotate0文本的旋转。 [default: 0f]
    autoColorfalse是否开启自动颜色。当开启时,会自动设置颜色。
    color文本的颜色。 [default: Color.clear]
    fontSize0文本字体大小。 [default: 18]
    fontStyle文本字体的风格。 [default: FontStyle.Normal]
    lineSpacing1f行间距。 [default: 1f]
    alignment对齐方式。
    tMPFontTextMeshPro字体。
    tMPFontStyle
    tMPAlignment
    tMPSpriteAssetv3.1.0

    Theme

    Inherits or Implemented: ScriptableObject

    主题相关配置。

    fielddefaultsincecomment
    themeType主题类型。
    ThemeType:
    - Default: 默认主题。
    - Light: 亮主题。
    - Dark: 暗主题。
    - Custom: 自定义主题。
    themeName主题名称。
    font主题字体。
    tMPFont主题字体。
    contrastColor对比色。
    backgroundColor背景颜色。
    colorPalette调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
    commonComponentTheme
    titleTitleTheme
    subTitleSubTitleTheme
    legendLegendTheme
    axisAxisTheme
    tooltipTooltipTheme
    dataZoomDataZoomTheme
    visualMapVisualMapTheme
    serieSerieTheme

    ThemeStyle

    Inherits or Implemented: ChildComponent

    主题相关配置。

    fielddefaultsincecomment
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse是否透明背景颜色。当设置为true时,不绘制背景颜色。
    enableCustomThemefalse是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。
    customFont
    customBackgroundColor自定义的背景颜色。
    customColorPalette

    Title

    Inherits or Implemented: MainComponent,IPropertyChanged

    标题组件,包含主标题和副标题。

    fielddefaultsincecomment
    showtrue是否显示标题组件。
    text主标题文本,支持使用 \n 换行。
    subText副标题文本,支持使用 \n 换行。
    labelStyle主标题文本样式。 LabelStyle
    subLabelStyle副标题文本样式。 LabelStyle
    itemGap0主副标题之间的间距。
    location标题显示位置。 Location

    TitleStyle

    Inherits or Implemented: LabelStyle,ISerieDataComponent,ISerieExtraComponent

    标题相关设置。

    TitleTheme

    Inherits or Implemented: ComponentTheme

    Tooltip

    Inherits or Implemented: MainComponent

    提示框组件。

    fielddefaultsincecomment
    showtrue是否显示提示框组件。
    type提示框指示器类型。
    Tooltip.Type:
    - Line: 直线指示器
    - Shadow: 阴影指示器
    - None: 无指示器
    - Corss: 十字准星指示器。坐标轴显示Label和交叉线。
    trigger触发类型。
    Tooltip.Trigger:
    - Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    - Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    - None: 什么都不触发。
    positionv3.3.0显示位置类型。
    Tooltip.Position:
    - Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    - Custom: 自定义。完全自定义显示位置(x,y)。
    - FixedX: 只固定坐标X。Y跟随鼠标位置。
    - FixedY:
    itemFormatter提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用
    titleFormatter提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {f}为数据总和。
    {g}为数据总个数。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
    markerserie的符号标志。
    fixedWidth0固定宽度。比 minWidth 优先。
    fixedHeight0固定高度。比 minHeight 优先。
    minWidth0最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。
    minHeight0最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    paddingLeftRight10左右边距。
    paddingTopBottom10上下边距。
    ignoreDataShowfalse是否显示忽略数据在tooltip上。
    ignoreDataDefaultContent被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。
    showContenttrue是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。
    alwayShowContentfalse是否触发后一直显示提示框浮层。
    offsetVector2(18f, -25f)提示框相对于鼠标位置的偏移。
    backgroundImage提示框的背景图片。
    backgroundType提示框的背景图片显示类型。
    backgroundColor提示框的背景颜色。
    borderWidth2f边框线宽。
    fixedX0f固定X位置的坐标。
    fixedY0.7f固定Y位置的坐标。
    titleHeight25f标题文本的高。
    itemHeight25f数据项文本的高。
    borderColorColor32(230, 230, 230, 255)边框颜色。
    lineStyle指示线样式。 LineStyle
    titleLabelStyle标题的文本样式。 LabelStyle
    contentLabelStyles内容部分的文本样式列表。和列一一对应。

    TooltipTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f指示线线宽。
    lineColor指示线颜色。
    areaColor区域指示的颜色。
    labelTextColor十字指示器坐标轴标签的文本颜色。
    labelBackgroundColor十字指示器坐标轴标签的背景颜色。

    VisualMap

    Inherits or Implemented: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    fielddefaultsincecomment
    showtrue组件是否生效。
    showUIfalse是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。
    type组件类型。
    VisualMap.Type:
    - Continuous: 连续型。
    - Piecewise: 分段型。
    selectedMode选择模式。
    VisualMap.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    serieIndex0影响的serie索引。
    min0范围最小值
    max0范围最大值
    range指定手柄对应数值的位置。range 应在[min,max]范围内。
    text两端的文本,如 ['High', 'Low']
    textGap两端文字主体之间的距离,单位为px。
    splitNumber5对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。
    calculablefalse是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。
    realtimetrue拖拽时,是否实时更新。
    itemWidth20f图形的宽度,即颜色条的宽度。
    itemHeight140f图形的高度,即颜色条的高度。
    itemGap10f每个图元之间的间隔距离。
    borderWidth0边框线宽,单位px。
    dimension-1Starting at 1, the default is 0 to take the last dimension in data.
    hoverLinktrueConversely, when the mouse hovers over a graphic element in a diagram, the corresponding value of the visualMap component is triangulated in the corresponding position.
    autoMinMaxtrueAutomatically set min, Max value 自动设置min,max的值
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location组件显示的位置。 Location
    workOnLinetrue组件是否对LineChart的LineStyle有效。
    workOnAreafalse组件是否对LineChart的AreaStyle有效。
    outOfRange定义 在选中范围外 的视觉颜色。
    inRange分段式每一段的相关配置。

    VisualMapRange

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    min范围最小值
    max范围最大值
    label文字描述
    color颜色

    VisualMapTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    borderWidth边框线宽。
    borderColor边框颜色。
    backgroundColor背景颜色。
    triangeLen20f可视化组件的调节三角形边长。

    XAxis

    Inherits or Implemented: Axis

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    XCSettings

    Inherits or Implemented: ScriptableObject

    fielddefaultsincecomment
    langLang
    font
    tMPFont
    fontSizeLv128一级字体大小。
    fontSizeLv224
    fontSizeLv320
    fontSizeLv418
    axisLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisLineWidth0.8f
    axisSplitLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisSplitLineWidth0.8f
    axisTickWidth0.8f
    axisTickLength5f
    gaugeAxisLineWidth15f
    gaugeAxisSplitLineWidth0.8f
    gaugeAxisSplitLineLength15f
    gaugeAxisTickWidth0.8f
    gaugeAxisTickLength5f
    tootipLineWidth0.8f
    dataZoomBorderWidth0.5f
    dataZoomDataLineWidth0.5f
    visualMapBorderWidth0f
    serieLineWidth1.8f
    serieLineSymbolSize5f
    serieScatterSymbolSize20f
    serieSelectedRate1.3f
    serieCandlestickBorderWidth1f
    editorShowAllListDatafalse
    maxPainter10
    lineSmoothStyle3f
    lineSmoothness2f
    lineSegmentDistance3f
    cicleSmoothness2f
    visualMapTriangeLen20f
    pieTooltipExtraRadius8f
    pieSelectedOffset8f
    customThemes

    YAxis

    Inherits or Implemented: Axis

    直角坐标系 grid 中的 y 轴。

    - - + + \ No newline at end of file diff --git a/en/docs/v3.5.0/faq/index.html b/en/docs/v3.5.0/faq/index.html index 2800c624..b48ffba8 100644 --- a/en/docs/v3.5.0/faq/index.html +++ b/en/docs/v3.5.0/faq/index.html @@ -14,8 +14,8 @@ 常见问题 | XCharts - - + +
    @@ -50,7 +50,7 @@ QA 29:如何修改Serie的Symbol的颜色?
    QA 30:导入或更新XCharts时TMP报错怎么办?
    QA 31:支持空数据吗?如何实现折线图断开的效果?

    如何调整坐标轴与背景的边距

    答:Grid组件,可调整上下左右边距。

    如何让初始动画重新播放

    答:调用AnimationReset()接口。

    如何自定义折线图_饼图等数据项的颜色

    答:通过ThemecolorPalette调整,或者部分Serie下的LineStyleItemStyle

    如何格式化文字_如我想给坐标轴标签加上单位

    答:通过formatternumericFormatter参数,在LegendAxisAxisLabelTooltopSerieLabel都提供该参数的配置。

    如何让柱形图的柱子堆叠显示

    答:设置Serie下的stackstack相同的serie会堆叠显示在一个柱子上。

    如何让柱形图的柱子同柱但不重叠

    答:设置Serie下的barGap-1stack为空。

    如何调整柱形图的柱子宽度和间距

    答:调整Serie下的barWidthbarGap,多个serie时最后一个seriebarWidthbarGap有效。

    如何调整柱形图单个柱子的颜色

    答:可通过调整单个Data下的ItemStyle调整,也可以通过两个serie同柱不堆叠来实现,通过设置数据项为0来达到类似效果。

    如何调整图表的对齐方式

    答:调整RectTransform的锚点,和UGUI的其他组件的用法一致。

    可以显示超过1000以上的大数据吗

    答:可以。但UGUI对单个Graphic限制65000个顶点,所以太多的数据不一定能显示完全。可通过设置采样距离sampleDist开启采样简化过密曲线。也可以通过设置一些参数来减少图表的顶点数有助于显示更多数据。如缩小图表的尺寸,关闭或减少坐标轴的客户端绘制,关闭Seriesymbollabel显示等。折线图的普通线图Normal比平滑线图Smooth占用顶点数更少。1.5.0以上版本可以设置largelargeThreshold参数来开启性能模式。

    折线图可以画虚线点线点划线吗

    答:可以。通过Serie下的lineType选择线条样式。当要显示的数据过多(成千以上)数据间过密时建议使用Normal或者Step样式。

    如何限定Y轴的值范围

    答:设置Axis下的minMaxTypeCustom,自定义minmax

    如何自定义数值轴刻度大小

    答:默认时通过Axis下的splitNumer进行自动划分。也可以设置interval自定义刻度大小。

    如何在数据项顶上显示文本

    答:通过设置Serie下的Label。3.0版本需要先添加LabelStyle组件。

    如何给数据项自定义图标

    答:通过设置Seriedata下的数据项可单独设置icon相关参数。

    锯齿太严重_如何让图表更顺滑

    答:开启抗锯齿设置(在Unity里设置)。调整UI渲染模式为Camera模式,开启MSAA,设置4倍或更高抗锯齿。

    为什么鼠标移上图表Tooltip不显示

    答:确认Tooltip是否开启;确认父节点是否关闭了鼠标事件。

    如何取消Tooltip的竖线

    答:设置TooltiptypeNone。或者调整lineStyle的参数。

    如何自定义Tooltip的显示内容

    答:自定义总的内容可以通过Tooltipformatter。如果只是想调整所有的serie的显示格式可以用itemFormattertitleFormatter结合。如果想每个serie的显示格式不一样,可以定制serieitemStyle里的tooltipFormatter。具体的用法请查阅XCharts配置项手册

    如何让Y轴显示多位小数

    答:设置Axis下的AxisLabel中的formatter{value:f1}{value:f2}1.5.0及以上版本通过numericFormatter设置。

    如何用代码动态更新数据

    答:请查阅Example下的代码,Example13_LineSimple.cs就是一个简单添加数据构建折线图的例子,其他Demo也都是通过代码控制不同的组件实现不同的功能,相关API请查看文档:XChartsAPI接口

    如何显示图例_为什么有时候图例无法显示

    答:首先,你的serie里的name需有值不为空。然后开启Legend显示,里面的data可以默认为空,表示显示所有的图例。如果你只想显示部分serie的图例,在data中填入要显示的图例的name即可。如果data中的值都不是系列的name,那图例就不会显示。

    如何做成预设

    答:做成prefab前,执行一下Rebuild Chart Object重新刷新节点,避免有冗余的节点存在。

    如何在图表上画点画线等自定义内容

    答:XCharts有自定义绘制回调onCustomDraw,具体可参考Example12_CustomDrawing.cs

    如何实现心电图类似的数据移动效果

    答:参考Example目录下的Example_Dynamic.cs。主要通过设置maxCache参数实现。axisserie都设置相同的maxCachemaxCache可固定数据个数,当数据超过设定时会先删除第一个在添加新数据,实现数据移动效果。

    如何使用背景组件_有什么条件限制

    答:设置background组件的showtrue

    区域折线图在用半透明颜色时有时候会一条叠加的线

    答:这是区域折线图绘制的bug。可以用浅的不透的颜色替代半透明颜色。

    Mesh_cannot_have_more_than_65000_vertices

    答:这是UGUI对单个Graphic的顶点数限制。XCharts是将图形绘制在单个Graphic上,所以也会有这个限制。解决的办法可以参考:QA 10:可以显示超过1000以上的大数据吗?

    为什么serie里设置的参数运行后又被重置了

    答:检测下代码里是否调用了RemoveData()并重新添加Serie了。如果想保留Serie的配置可以只ClearData(),然后重新添加数据。

    如何修改Serie的Symbol的颜色

    答:Symbol 的颜色是使用的 ItemStylecolor

    导入或更新XCharts时TMP报错怎么办

    答:XCharts默认时不开启TMP,所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    支持空数据吗_如何实现折线图断开的效果

    答:Seriedatadouble类型,所以无法表示空数据。可通过开启Serieignore和指定ignoreValue来达到空数据的效果。也可以每个SerieData设置ignore参数。忽略数据后断开还是连接可设置ignoreLineBreak参数。

    - - + + \ No newline at end of file diff --git a/en/docs/v3.5.0/funnel/index.html b/en/docs/v3.5.0/funnel/index.html index c0ea850d..2e7b3033 100644 --- a/en/docs/v3.5.0/funnel/index.html +++ b/en/docs/v3.5.0/funnel/index.html @@ -14,14 +14,14 @@ 漏斗图 | XCharts - - + +
    Version: v3.5.0

    漏斗图

    XCharts的付费扩展图表 - 漏斗图。

    funnel

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    FunnelChart

    Inherits or Implemented: BaseChart

    配置项手册

    Funnel

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    rectEndv3.3.0是否最后以矩形结束。默认false以三角形结束。
    dynamicHeightv3.3.0是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.5.0/gantt/index.html b/en/docs/v3.5.0/gantt/index.html index 43c9dbb6..d22aaed8 100644 --- a/en/docs/v3.5.0/gantt/index.html +++ b/en/docs/v3.5.0/gantt/index.html @@ -14,14 +14,14 @@ 甘特图 | XCharts - - + +
    Version: v3.5.0

    甘特图

    XCharts付费扩展图表 - 甘特图。

    gantt

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    GanttChart

    Inherits or Implemented: BaseChart

    public methoddescription
    GetSeriesMinMaxValue()public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    InitAxisRuntimeData()public override void InitAxisRuntimeData(Axis axis)
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)

    配置项手册

    Gantt

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    disableDrag

    GanttStyle

    Inherits or Implemented: MainComponent

    fielddefaultsincecomment
    showtrue
    ganttType甘特图类型。
    GanttType:
    - Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    - Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。
    inverttrue
    dragEnabletrue是否可以拖拽甘特图。
    dragSensitivity1f拖拽的灵敏度。
    dragRangeMin0拖拽最小值限制。
    dragRangeMax0拖拽最大值限制。
    autoAdsorbAlignlinetrue拖拽结束后是否自动吸附到对齐线。
    alignlineDataIndex1显示对齐线的数据项索引。
    showAlignlineRange10f显示对齐线的范围。
    aliginLine对齐线样式。
    splitArea
    - - + + \ No newline at end of file diff --git a/en/docs/v3.5.0/gauge/index.html b/en/docs/v3.5.0/gauge/index.html index 36c65bcd..7a309284 100644 --- a/en/docs/v3.5.0/gauge/index.html +++ b/en/docs/v3.5.0/gauge/index.html @@ -14,14 +14,14 @@ 仪表盘 | XCharts - - + +
    Version: v3.5.0

    仪表盘

    XCharts付费扩展图表 - 仪表盘。

    gauge

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    master

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.10.05) 增加GaugeAxisLinestageGradient支持设置阶段渐变色过渡

    v3.3.0

    • (2022.09.28) 发布v3.3.0版本
    • (2022.08.26) 修复Pointer在普通模式下不显示的问题
    • (2022.08.25) 增加label颜色跟随数值变化的支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.15) 支持渐变

    API

    GaugeChart

    Inherits or Implemented: BaseChart

    配置项手册

    Gauge

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    gaugeAxis仪表盘轴线。 GaugeAxis
    gaugePointer仪表盘指针。 GaugePointer
    gaugeAnchor仪表盘指针固定点。 GaugeAnchor

    GaugeAnchor

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showtrue是否显示指针固定点。
    showAbovetrue固定点是否显示在指针上面。
    type标记类型。
    size6标记的大小。
    gap0图形标记和线条的间隙距离。
    image自定义的标记图形。
    imageType
    offsetCenterVector2(0, 0)相对于中心的偏移位置。
    itemStyle图形样式。

    GaugeAxis

    Inherits or Implemented: ChildComponent

    仪表盘轴线相关设置。

    fielddefaultsincecomment
    showtrue
    type
    GaugeAxisType:
    - None: 仪表盘类型
    - Section: 分段
    - Progress: 进度
    overlaptrue
    distance
    axisLine仪表盘轴线样式。 GaugeAxisLine
    splitLine分割线。
    axisTick刻度。
    axisLabel文本标签。
    axisLabelText自定义Label的内容。

    GaugeAxisLine

    Inherits or Implemented: BaseLine

    fielddefaultsincecomment
    backgroundColorColor32(230, 235, 248, 255)进度条背景颜色。
    stageColor阶段颜色。
    stageGradientv3.4.0阶段颜色是否渐变过渡。

    GaugePointer

    Inherits or Implemented: ChildComponent

    仪表盘指针相关设置。

    fielddefaultsincecomment
    showtrue是否显示指针。
    length0.6f指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backLength0.05f指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backExtraLength0.05f指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topLeftLength0f指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topRightLength0f指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomLeftLength0.025f指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomRightLength0.025f指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    distance
    roundCap
    autoColortrue
    color
    toColor
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.5.0/liquid/index.html b/en/docs/v3.5.0/liquid/index.html index dfca7b2e..e37dbda4 100644 --- a/en/docs/v3.5.0/liquid/index.html +++ b/en/docs/v3.5.0/liquid/index.html @@ -14,14 +14,14 @@ 水位图 | XCharts - - + +
    Version: v3.5.0

    水位图

    XCharts的付费扩展图表 - 水位图。

    liquid

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    LiquidChart

    Inherits or Implemented: BaseChart

    VesselContext

    Inherits or Implemented: MainComponentContext

    配置项手册

    Liquid

    Inherits or Implemented: Serie,INeedSerieContainer

    fielddefaultsincecomment
    waveHeight10f波高。
    waveLength20f波长。为0-1小数时指直线的百分比。
    waveSpeed5f波速。正数时左移,负数时右移。
    waveOffset0f波偏移。

    Vessel

    Inherits or Implemented: MainComponent,ISerieContainer,IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    fielddefaultsincecomment
    showtrue是否显示容器组件。 [defaut: true]
    shape容器形状。 [default: Shape.Circle]
    Vessel.Shape:
    - Circle: 圆形
    - Rect: 正方形。
    - Triangle: 三角形。
    - Diamond: 菱形。
    shapeWidth5f容器厚度。 [defaut: 5f]
    gap5f间隙。容器和液体的间隙。 [defaut: 10f]
    colorColor32(70, 70, 240, 255)容器颜色。默认和serie一致。
    backgroundColor背景色,默认透明。 [default: Color.clear]
    autoColortrue是否自动颜色。为true时颜色会和serie一致。 [default: true]
    centerWhen value between 0 and 1 represents a percentage relative to the chart.
    radius0.35fWhen value between 0 and 1 represents a percentage relative to the chart.
    smoothness1f水波平滑度。 [default: 1f]
    width0.5fWhen value between 0 and 1 represents a percentage relative to the chart.
    height0.7fWhen value between 0 and 1 represents a percentage relative to the chart.
    borderWidth0f内壁边框。
    borderColorColor32(70, 70, 240, 255)容器内壁边框颜色。默认和serie一致。
    cornerRadius容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.5.0/pictorialbar/index.html b/en/docs/v3.5.0/pictorialbar/index.html index 59a4409e..a1248a1b 100644 --- a/en/docs/v3.5.0/pictorialbar/index.html +++ b/en/docs/v3.5.0/pictorialbar/index.html @@ -14,14 +14,14 @@ 象形柱图 | XCharts - - + +
    Version: v3.5.0

    象形柱图

    XCharts付费扩展图表 - 象形柱图。

    pictorialbar

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBarChart

    Inherits or Implemented: BaseChart

    配置项手册

    PictorialBar

    Inherits or Implemented: Serie,INeedSerieContainer

    - - + + \ No newline at end of file diff --git a/en/docs/v3.5.0/pie3d/index.html b/en/docs/v3.5.0/pie3d/index.html index 6c3d67bb..d278264f 100644 --- a/en/docs/v3.5.0/pie3d/index.html +++ b/en/docs/v3.5.0/pie3d/index.html @@ -14,14 +14,14 @@ 3D饼图 | XCharts - - + +
    Version: v3.5.0

    3D饼图

    XCharts的付费扩展图表 - 3D饼图。

    pie3d

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.3.0

    • (2022.09.02) 增加onPointerEnterPie回调支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pie3DChart

    Inherits or Implemented: BaseChart

    Pie3DSlice

    public methoddescription
    Contains()public bool Contains(float angle)
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    IsInSidePolygon()public bool IsInSidePolygon(Vector2 p)
    IsInStartOrEndSide()public bool IsInStartOrEndSide(Vector2 p)
    IsInTopPolygon()public bool IsInTopPolygon(Vector2 p)
    Pie3DSlice()public Pie3DSlice()
    UpdateValue()public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig)

    配置项手册

    Pie3D

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    pie3DStylePie3DStyle

    Pie3DStyle

    Inherits or Implemented: ChildComponent

    3D饼图样式。

    fielddefaultsincecomment
    showtrue
    ellipseMinorAxis0.65f椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。
    pieMaxHeight20f饼图厚度。
    pieAutoHeightfalse是否自动根据比例计算厚度。
    selectedOffsetVector2(0.1f, 0.5f)The offset of selected pie slice. 被选中状态的饼图块的额外偏移。
    peripherySideColorRate0.8f饼图切块的侧面颜色。
    startSideColorRate0.7f饼图切块的起始面颜色(顺时针)。
    endSideColorRate0.65f饼图切块的结束面颜色(顺时针)。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.5.0/pyramid/index.html b/en/docs/v3.5.0/pyramid/index.html index 1e048d19..a3f23cff 100644 --- a/en/docs/v3.5.0/pyramid/index.html +++ b/en/docs/v3.5.0/pyramid/index.html @@ -14,14 +14,14 @@ 金字塔 | XCharts - - + +
    Version: v3.5.0

    金字塔

    XCharts付费扩展图表 - 金字塔。

    pyramid

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    PyramidChart

    Inherits or Implemented: BaseChart

    配置项手册

    Pyramid

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    pyramidStylePyramidStyle

    PyramidStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showtrue
    3Dtrue
    drawToptrue
    bottomPointRate0.5f3D模式下,底部中点占金字塔宽度的比例
    leftPointRate0.1f3D模式下,底部左边点占金字塔高度的比例
    rightPointRate0.1f3D模式下,底部右边点占金字塔高度的比例
    leftColorOpacity0.9f3D模式下,金字塔左边的颜色透明度
    rightColorOpacity0.7f3D模式下,金字塔右边的颜色透明度
    topColorOpacity0.99f3D模式下,金字塔顶部的颜色透明度
    labelLineMargin10fLabel标签距离右边的距离
    - - + + \ No newline at end of file diff --git a/en/docs/v3.5.0/support/index.html b/en/docs/v3.5.0/support/index.html index f2789fdb..460f10ce 100644 --- a/en/docs/v3.5.0/support/index.html +++ b/en/docs/v3.5.0/support/index.html @@ -14,15 +14,15 @@ 订阅服务 | XCharts - - + +
    Version: v3.5.0

    订阅服务

    如需技术支持,可订阅个人VIP服务。扫后面的二维码后可加VIP群867291970,验证信息请输入付费的账号。
    企业商务合作可联系QQ:3525422251(XCharts技术支持)。

    订阅VIP服务

    订阅服务分个人订阅和企业订阅:

    • 个人订阅:个人VIP属于个人,不可转让,XCharts团队只服务于订阅当事人。
    • 企业订阅:企业VIP属于企业,席位内可安排固定职员,职员离职后席位可重新安排,XCharts团队通过专属企业群为企业服务。

    订阅服务的优势?

    • 提高工作效率,节省时间成本。一方面,XCharts功能强大,相关配置项非常多,VIP服务可快速帮您定位,节省去查找和核对的时间;另一方面,VIP的即时回答服务可快速为您答疑解惑,避免中断开发流程。总之,订阅VIP可让您能快速上手,快速处理问题,至少能提高10倍以上的工作效率。
    • 更多技术交流,更多经验交流。XCharts团队成员从业多年,有丰富的技术和工作经验。VIP服务不仅可以交流XCharts相关的内容,也可以咨询其他方面的技术。VIP群也有更多的交流。
    • 扩展图表的需要订阅VIP服务后才能购买,扩展图表超过1年后的更新支持也需要持续订阅VIP服务。
    • VIP用户可加入XChartsGitHub组织,参与XCharts社区构建,访问专有仓库。
    免费用户付费咨询个人VIP个人SVIP企业VIP
    订阅费用--98¥298¥首年1298¥
    后续298¥*
    联系我们
    订阅时长--7天*11年*1
    订阅席位--1个席位1个席位1个席位5个以上席位
    服务方式:
    官方QQ群交流
    即时一对一交流
    专属VIP群交流√(专属企业群)
    服务内容:
    可商用
    可二次开发
    有问必答
    即时回答
    新手指导
    开发指导
    优化指导
    其他技术支持
    问题及时处理
    需求优先考虑
    可另付费定制
    可另付费加急
    VIP专有功能教程和文档√待开放√待开放√待开放
    扩展图表购买按需购买全部免费全部免费
    扩展图表源码永久持有永久持有永久持有
    扩展图表更新1年更新支持1年更新支持1年更新支持

    购买扩展图表

    扩展图表为另付费购买图表,只对订阅了VIP服务的用户开放购买。对于SVIP的订阅用户,所有扩展图表仓库可免费使用,不用再单独购买。

    对所有已购买的扩展图表,源码可永久持有,并获得持续一年的更新支持,一年后如需更新支持服务,可继续订阅VIP服务。

    编号扩展图表价格备注
    101PictorialBarChart98¥象形柱图
    102FunnelChart98¥漏斗图
    103PyramidChart98¥3D金字塔
    104TreemapChart98¥树形矩图
    201Bar3DChart198¥3D柱图
    202Pie3DChart198¥3D饼图
    203GanttChart198¥甘特图
    204GaugeChart198¥仪表盘
    205LiquidChart198¥水位图

    备注说明

    1. 付费定制 是指用户可根据自己的需求定制不同的图表或新功能,只有VIP用户才享有付费定制权利。
    2. 付费加急 是指用户可对自己非常紧急的需求进行付费,将开发优先级提到最高,并可要求在Deadline内交付,只有VIP用户才享有付费加急权利。
    3. 付费咨询 付费咨询有效期7天,且总咨询时长不超过7个小时。
    4. 扩展图表 购买后代码可永久持有和商用,1年的更新支持。

    捐助支持

    如果这个项目对您有帮助,请右上方点 Star 予以支持!也欢迎任意金额的捐助,非常您的支持!

    alipay-qrcode wechat-qrcode

    - - + + \ No newline at end of file diff --git a/en/docs/v3.5.0/treemap/index.html b/en/docs/v3.5.0/treemap/index.html index 54d833a1..35bc9356 100644 --- a/en/docs/v3.5.0/treemap/index.html +++ b/en/docs/v3.5.0/treemap/index.html @@ -14,14 +14,14 @@ 矩形树图 | XCharts - - + +
    Version: v3.5.0

    矩形树图

    XCharts付费扩展图表 - 矩形树图。

    treemap

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    TreemapChart

    Inherits or Implemented: BaseChart

    配置项手册

    Treemap

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    leafDepth0默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。
    visualDimension0用于计算占比的数据维数。
    drillDownIcon当节点可以下钻时的提示符,只能是字符。默认为▶
    customGoUpLevelButton自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。
    upperLabel父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。
    levelStyle
    - - + + \ No newline at end of file diff --git a/en/docs/v3.5.0/tutorial01/index.html b/en/docs/v3.5.0/tutorial01/index.html index 2c456e5f..fd3e25cf 100644 --- a/en/docs/v3.5.0/tutorial01/index.html +++ b/en/docs/v3.5.0/tutorial01/index.html @@ -14,8 +14,8 @@ 入门教程:5分钟上手 XCharts 3.0 | XCharts - - + +
    @@ -23,7 +23,7 @@ linechart2

    添加其他组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件按需额外添加。比如,需要给折线图区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent linechart3

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加Component。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent linechart4

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个至几十个不等的可配置参数,以支持各种灵活而复杂的功能。

    首次使用XCharts,可在 Inspector 视图添加各种图表,给图表添加或调整里面组件,Game 视图会实时反馈调整后的效果,以熟悉各种组件的使用。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是配置和数据来驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不需要去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时还原回来。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    通常颜色值为0000时表示用主题默认颜色,配置为0或null时表示用主题默认配置。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.GetOrAddChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.GetOrAddChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.GetOrAddChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    用代码改图表参数

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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:

    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:

    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添加额外组件:

    serie.AddExtraComponent<AreaStyle>();

    var label = serie1.AddExtraComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.GetOrAddComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    - - + + \ No newline at end of file diff --git a/en/docs/v3.5.0/tutorial02/index.html b/en/docs/v3.5.0/tutorial02/index.html index a88b6cd7..f093374a 100644 --- a/en/docs/v3.5.0/tutorial02/index.html +++ b/en/docs/v3.5.0/tutorial02/index.html @@ -14,13 +14,13 @@ 从文件或数据库读取数据显示图表 | XCharts - - + +
    Version: v3.5.0

    从文件或数据库读取数据显示图表

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.5.0/tutorial03/index.html b/en/docs/v3.5.0/tutorial03/index.html index aba52c4c..434f860a 100644 --- a/en/docs/v3.5.0/tutorial03/index.html +++ b/en/docs/v3.5.0/tutorial03/index.html @@ -14,13 +14,13 @@ 心电图效果实现 | XCharts - - + +
    Version: v3.5.0

    心电图效果实现

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/about/index.html b/en/docs/v3.6.0/about/index.html index a1cd0a0f..f6361b68 100644 --- a/en/docs/v3.6.0/about/index.html +++ b/en/docs/v3.6.0/about/index.html @@ -14,8 +14,8 @@ 关于XCharts | XCharts - - + +
    @@ -31,7 +31,7 @@ 答:目前只支持在Unity平台使用。理论上任何支持UGUIUnity版本都能运行XCharts

  • 锯齿怎么解决?支持多大量级的数据?
    答:XCharts是基于UGUI实现的,所以UGUI中碰到的问题,在XCharts中也会存在。比如锯齿问题,比如Mesh顶点数超65535的问题。这两个问题的解决可参考问答16问答27
    由于Mesh65535顶点数的限制,目前XCharts的单条Line支持约2万的数据量,当然开启采样可以支持更多数据的绘制,但同时也会更消耗CPU。

  • Licenses

    • MIT License
    • 可免费商用,可二次开发
    • 扩展图表需单独购买授权

    日志

    其他

    • 邮箱:monitor1394@gmail.com
    • QQ群:XCharts交流群(202030963
    • VIP群:XCharts技术支持VIP群(867291970
    • 捐助、合作、订阅和技术支持:☞ 看这里
    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/api/index.html b/en/docs/v3.6.0/api/index.html index c7cd34ac..bc541f1c 100644 --- a/en/docs/v3.6.0/api/index.html +++ b/en/docs/v3.6.0/api/index.html @@ -14,13 +14,13 @@ API手册 | XCharts - - + +
    Version: v3.6.0

    API手册

    所有类

    AnimationStyleHelper

    public methodsincedescription
    CheckDataAnimation()public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)
    GetAnimationPosition()public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip)
    UpdateAnimationType()public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType)
    UpdateSerieAnimation()public static void UpdateSerieAnimation(Serie serie)

    AxisContext

    Inherits or Implemented: MainComponentContext

    AxisHandler<T>

    Inherits or Implemented: MainComponentHandler

    AxisHelper

    public methodsincedescription
    AdjustCircleLabelPos()public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    AdjustMinMaxValue()public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
    调整最大最小值
    AdjustRadiusAxisLabelPos()public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    GetAxisLineArrowOffset()public static float GetAxisLineArrowOffset(Axis axis)
    包含箭头偏移的轴线长度
    GetAxisPosition()public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)
    GetAxisPositionValue()public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)
    GetAxisPositionValue()public static double GetAxisPositionValue(GridCoord grid, Axis axis, Vector3 pos)
    GetAxisValueDistance()public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上相对起点的距离
    GetAxisValueLength()public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上对应的长度
    GetAxisValuePosition()public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上的坐标位置
    GetAxisValueSplitIndex()public static int GetAxisValueSplitIndex(Axis axis, double value, int totalSplitNumber = -1)
    获得数值value在坐标轴上对应的split索引
    GetAxisXOrY()public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)
    GetDataWidth()public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
    获得一个类目数据在坐标系中代表的宽度
    GetEachWidth()public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    GetScaleNumber()public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    获得分割线条数
    GetScaleWidth()public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
    获得分割段宽度
    GetSplitNumber()public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
    获得分割段数
    GetTotalSplitGridNum()public static int GetTotalSplitGridNum(Axis axis)
    获得分割网格个数,包含次刻度
    GetXAxisXOrY()public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)
    GetYAxisXOrY()public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)
    NeedShowSplit()public static bool NeedShowSplit(Axis axis)

    BarChart

    Inherits or Implemented: BaseChart

    BaseChart

    Inherits or Implemented: BaseGraph,ISerializationCallbackReceiver

    public methodsincedescription
    onAxisPointerValueChangedpublic Action<Axis, double> onAxisPointerValueChanged
    坐标轴变更数据索引时回调。参数:axis, dataIndex/dataValue
    onDrawpublic Action<VertexHelper> onDraw
    自定义绘制回调。在绘制Serie前调用。
    onDrawAfterSeriepublic Action<VertexHelper, Serie> onDrawAfterSerie
    自定义Serie绘制回调。在每个Serie绘制完后调用。
    onDrawBeforeSeriepublic Action<VertexHelper, Serie> onDrawBeforeSerie
    自定义Serie绘制回调。在每个Serie绘制完前调用。
    onDrawToppublic Action<VertexHelper> onDrawTop
    自定义Top层绘制回调。在绘制Tooltip前调用。
    onDrawUpperpublic Action<VertexHelper> onDrawUpper
    自定义Upper层绘制回调。在绘制Tooltip前调用。
    onInitpublic Action onInit
    图表的初始化完成回调。
    onLegendClickpublic Action<Legend, int, string, bool> onLegendClick
    点击图例按钮回调。参数:legendIndex, legendName, show
    onLegendEnterpublic Action<Legend, int, string> onLegendEnter
    鼠标进入图例回调。参数:legendIndex, legendName
    onLegendExitpublic Action<Legend, int, string> onLegendExit
    鼠标退出图例回调。参数:legendIndex, legendName
    onPointerClickBarpublic Action<PointerEventData, int> onPointerClickBar
    点击柱形图柱条回调。参数:eventData, dataIndex
    onPointerClickPiepublic Action<PointerEventData, int, int> onPointerClickPie
    点击饼图区域回调。参数:PointerEventData,SerieIndex,SerieDataIndex
    onPointerEnterPiepublic Action<int, int> onPointerEnterPie
    鼠标进入和离开饼图区域回调,SerieDataIndex为-1时表示离开。参数:PointerEventData,SerieIndex,SerieDataIndex
    onSerieClickv3.6.0public Action<SerieEventData> onSerieClick
    鼠标点击Serie回调。
    onSerieDownv3.6.0public Action<SerieEventData> onSerieDown
    鼠标按下Serie回调。
    onSerieEnterv3.6.0public Action<SerieEventData> onSerieEnter
    鼠标进入Serie回调。
    onSerieExitv3.6.0public Action<SerieEventData> onSerieExit
    鼠标离开Serie回调。
    onUpdatepublic Action onUpdate
    图表的Update回调。
    AddChartComponent()public MainComponent AddChartComponent(Type type)
    AddChartComponent<T>()public T AddChartComponent<T>() where T : MainComponent
    AddChartComponentWhenNoExist<T>()public T AddChartComponentWhenNoExist<T>() where T : MainComponent
    AddData()public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
    添加一个数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(string serieName, double data, string dataName = null, string dataId = null)
    If serieName doesn't exist in legend,will be add to legend.
    AddData()public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddSerie<T>()public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie
    AddXAxisData()public void AddXAxisData(string category, int xAxisIndex = 0)
    添加一个类目数据到指定的x轴。
    AddXAxisIcon()public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
    添加一个图标到指定的x轴。
    AddYAxisData()public void AddYAxisData(string category, int yAxisIndex = 0)
    添加一个类目数据到指定的y轴。
    AddYAxisIcon()public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
    添加一个图标到指定的y轴。
    AnimationEnable()public void AnimationEnable(bool flag)
    启用或关闭起始动画。
    AnimationFadeIn()public void AnimationFadeIn(bool reset = true)
    开始渐入动画。
    AnimationFadeOut()public void AnimationFadeOut()
    开始渐出动画。
    AnimationPause()public void AnimationPause()
    暂停动画。
    AnimationReset()public void AnimationReset()
    重置动画。
    AnimationResume()public void AnimationResume()
    继续动画。
    CanAddChartComponent()public bool CanAddChartComponent(Type type)
    CanAddSerie()public bool CanAddSerie(Type type)
    CanAddSerie<T>()public bool CanAddSerie<T>() where T : Serie
    CanMultipleComponent()public bool CanMultipleComponent(Type type)
    ClampInChart()public void ClampInChart(ref Vector3 pos)
    ClampInGrid()public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)
    ClearComponentData()public virtual void ClearComponentData()
    清空所有组件的数据。
    ClearData()public virtual void ClearData()
    清空所有组件和Serie的数据。注意:Serie只是清空数据,不会移除Serie。
    ClearSerieData()public virtual void ClearSerieData()
    清空所有serie的数据。
    ClickLegendButton()public void ClickLegendButton(int legendIndex, string legendName, bool show)
    点击图例按钮
    ConvertSerie()public bool ConvertSerie(Serie serie, Type type)
    ConvertSerie<T>()public bool ConvertSerie<T>(Serie serie) where T : Serie
    ConvertXYAxis()public void ConvertXYAxis(int index)
    转换X轴和Y轴的配置
    EnsureChartComponent<T>()v3.6.0public T EnsureChartComponent<T>() where T : MainComponent
    确保图表有该组件,如果没有则添加。注意:有可能添加不成功。
    GenerateDefaultSerieName()public string GenerateDefaultSerieName()
    GetAllSerieDataCount()public int GetAllSerieDataCount()
    GetChartBackgroundColor()public Color32 GetChartBackgroundColor()
    GetChartComponent<T>()public T GetChartComponent<T>(int index = 0) where T : MainComponent
    GetChartComponentNum()public int GetChartComponentNum(Type type)
    GetChartComponentNum<T>()public int GetChartComponentNum<T>() where T : MainComponent
    GetChartComponents<T>()public List<MainComponent> GetChartComponents<T>() where T : MainComponent
    GetData()public double GetData(int serieIndex, int dataIndex, int dimension = 1)
    GetData()public double GetData(string serieName, int dataIndex, int dimension = 1)
    GetDataZoomOfAxis()public DataZoom GetDataZoomOfAxis(Axis axis)
    GetDataZoomOfSerie()public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)
    GetGrid()public GridCoord GetGrid(Vector2 local)
    GetGridOfDataZoom()public GridCoord GetGridOfDataZoom(DataZoom dataZoom)
    GetItemColor()public Color32 GetItemColor(Serie serie)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)
    GetLegendRealShowNameColor()public Color32 GetLegendRealShowNameColor(string name)
    GetLegendRealShowNameIndex()public int GetLegendRealShowNameIndex(string name)
    GetMarkColor()public Color32 GetMarkColor(Serie serie, SerieData serieData)
    获得Serie的标识颜色。
    GetOrAddChartComponent<T>()public T GetOrAddChartComponent<T>() where T : MainComponent
    GetPainter()public Painter GetPainter(int index)
    GetSerie()public Serie GetSerie(int serieIndex)
    GetSerie()public Serie GetSerie(string serieName)
    GetSerie<T>()public T GetSerie<T>() where T : Serie
    GetSerie<T>()public T GetSerie<T>(int serieIndex) where T : Serie
    GetSerieBarGap<T>()public float GetSerieBarGap<T>() where T : Serie
    GetSerieBarRealCount<T>()public int GetSerieBarRealCount<T>() where T : Serie
    GetSerieIndexIfStack<T>()public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie
    GetSerieSameStackTotalValue<T>()public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie
    GetSeriesMinMaxValue()public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    GetSerieTotalGap<T>()public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie
    GetSerieTotalWidth<T>()public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie
    GetTitlePosition()public Vector3 GetTitlePosition(Title title)
    GetVisualMapOfSerie()public VisualMap GetVisualMapOfSerie(Serie serie)
    GetXDataZoomOfSerie()public DataZoom GetXDataZoomOfSerie(Serie serie)
    GetXLerpColor()public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    GetYLerpColor()public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    HasChartComponent()public bool HasChartComponent(Type type)
    HasChartComponent<T>()public bool HasChartComponent<T>()
    HasSerie()public bool HasSerie(Type type)
    HasSerie<T>()public bool HasSerie<T>() where T : Serie
    Init()public void Init(bool defaultChart = true)
    InitAxisRuntimeData()public virtual void InitAxisRuntimeData(Axis axis) { }
    InsertSerie()public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)
    InsertSerie<T>()public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie
    Internal_CheckAnimation()public void Internal_CheckAnimation()
    IsActiveByLegend()public virtual bool IsActiveByLegend(string legendName)
    获得指定图例名字的系列是否显示。
    IsAllAxisCategory()public bool IsAllAxisCategory()
    纯类目轴。
    IsAllAxisValue()public bool IsAllAxisValue()
    纯数值坐标轴(数值轴或对数轴)。
    IsInAnyGrid()public bool IsInAnyGrid(Vector2 local)
    IsInChart()public bool IsInChart(float x, float y)
    IsInChart()public bool IsInChart(Vector2 local)
    坐标是否在图表范围内
    IsSerieName()public bool IsSerieName(string name)
    MoveDownSerie()public bool MoveDownSerie(int serieIndex)
    MoveUpSerie()public bool MoveUpSerie(int serieIndex)
    OnAfterDeserialize()public void OnAfterDeserialize()
    OnBeforeSerialize()public void OnBeforeSerialize()
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDataZoomRangeChanged()public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public override void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public override void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public override void OnPointerUp(PointerEventData eventData)
    OnScroll()public override void OnScroll(PointerEventData eventData)
    RefreshBasePainter()public void RefreshBasePainter()
    RefreshChart()public void RefreshChart()
    在下一帧刷新整个图表。
    RefreshChart()public void RefreshChart(int serieIndex)
    在下一帧刷新图表的指定serie。
    RefreshChart()public void RefreshChart(Serie serie)
    在下一帧刷新图表的指定serie。
    RefreshDataZoom()public void RefreshDataZoom()
    在下一帧刷新DataZoom
    RefreshGraph()public override void RefreshGraph()
    RefreshPainter()public void RefreshPainter(int index)
    RefreshPainter()public void RefreshPainter(Serie serie)
    RefreshTopPainter()public void RefreshTopPainter()
    RefreshUpperPainter()public void RefreshUpperPainter()
    RemoveAllChartComponent()public void RemoveAllChartComponent()
    RemoveAllSerie()v3.2.0public virtual void RemoveAllSerie()
    移除所有的Serie。当确认只需要移除Serie时使用该接口,其他情况下一般用RemoveData()。
    RemoveChartComponent()public bool RemoveChartComponent(MainComponent component)
    RemoveChartComponent()public bool RemoveChartComponent(Type type, int index = 0)
    RemoveChartComponent<T>()public bool RemoveChartComponent<T>(int index = 0)
    RemoveChartComponents()public int RemoveChartComponents(Type type)
    RemoveChartComponents<T>()public int RemoveChartComponents<T>()
    RemoveData()public virtual void RemoveData()
    清空所有组件数据,并移除所有Serie。一般在图表重新初始化时使用。 注意:组件只清空数据部分,参数会保留不会被重置。
    RemoveData()public virtual void RemoveData(string serieName)
    清除指定系列名称的数据。
    RemoveSerie()public void RemoveSerie(int serieIndex)
    RemoveSerie()public void RemoveSerie(Serie serie)
    RemoveSerie()public void RemoveSerie(string serieName)
    RemoveSerie<T>()public void RemoveSerie<T>() where T : Serie
    ReplaceSerie()public bool ReplaceSerie(Serie oldSerie, Serie newSerie)
    ResetDataIndex()public bool ResetDataIndex(int serieIndex)
    重置serie的数据项索引。避免数据项索引异常。
    SetBasePainterMaterial()public void SetBasePainterMaterial(Material material)
    设置Base Painter的材质球
    SetMaxCache()public void SetMaxCache(int maxCache)
    设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。
    SetPainterActive()public void SetPainterActive(int index, bool flag)
    SetSerieActive()public void SetSerieActive(int serieIndex, bool active)
    设置指定系列是否显示。
    SetSerieActive()public void SetSerieActive(Serie serie, bool active)
    SetSerieActive()public void SetSerieActive(string serieName, bool active)
    设置指定系列是否显示。
    SetSeriePainterMaterial()public void SetSeriePainterMaterial(Material material)
    设置Serie Painter的材质球
    SetTopPainterMaterial()public void SetTopPainterMaterial(Material material)
    设置Top Painter的材质球
    SetUpperPainterMaterial()public void SetUpperPainterMaterial(Material material)
    设置Upper Painter的材质球
    TryAddChartComponent()public bool TryAddChartComponent(Type type)
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>() where T : MainComponent
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>(out T component) where T : MainComponent
    TryGetChartComponent<T>()public bool TryGetChartComponent<T>(out T component, int index = 0)
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateDataName()public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateDataName()public bool UpdateDataName(string serieName, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateLegendColor()public virtual void UpdateLegendColor(string legendName, bool active)
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。
    UpdateTheme()public void UpdateTheme(Theme theme)
    切换图表主题。
    UpdateXAxisData()public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
    更新X轴类目数据。
    UpdateXAxisIcon()public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
    更新X轴图标。
    UpdateYAxisData()public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
    更新Y轴类目数据。
    UpdateYAxisIcon()public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
    更新Y轴图标。

    BaseGraph

    Inherits or Implemented: MaskableGraphic,IPointerDownHandler,IPointerUpHandler,

    public methodsincedescription
    onBeginDragpublic Action<PointerEventData, BaseGraph> onBeginDrag
    鼠标开始拖拽回调。
    onDragpublic Action<PointerEventData, BaseGraph> onDrag
    鼠标拖拽回调。
    onEndDragpublic Action<PointerEventData, BaseGraph> onEndDrag
    鼠标结束拖拽回调。
    onPointerClickpublic Action<PointerEventData, BaseGraph> onPointerClick
    鼠标点击回调。
    onPointerDownpublic Action<PointerEventData, BaseGraph> onPointerDown
    鼠标按下回调。
    onPointerEnterpublic Action<PointerEventData, BaseGraph> onPointerEnter
    鼠标进入回调。
    onPointerExitpublic Action<PointerEventData, BaseGraph> onPointerExit
    鼠标退出回调。
    onPointerUppublic Action<PointerEventData, BaseGraph> onPointerUp
    鼠标弹起回调。
    onScrollpublic Action<PointerEventData, BaseGraph> onScroll
    鼠标滚动回调。
    CheckWarning()public string CheckWarning()
    检测警告信息。
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData)
    OnDrag()public virtual void OnDrag(PointerEventData eventData)
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData)
    OnScroll()public virtual void OnScroll(PointerEventData eventData)
    RebuildChartObject()public void RebuildChartObject()
    移除并重新创建所有图表的Object。
    RefreshAllComponent()public void RefreshAllComponent()
    RefreshGraph()public virtual void RefreshGraph()
    在下一帧刷新图形。
    SaveAsImage()public void SaveAsImage(string imageType = "png", string savePath = "")
    保存图表为图片。
    ScreenPointToChartPoint()public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)
    SetPainterDirty()public void SetPainterDirty()
    重新初始化Painter
    SetSize()public virtual void SetSize(float width, float height)
    设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform)

    CandlestickChart

    Inherits or Implemented: BaseChart

    ChartCached

    public methodsincedescription
    ColorToDotStr()public static string ColorToDotStr(Color color)
    ColorToStr()public static string ColorToStr(Color color)
    FloatToStr()public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)
    GetSerieLabelName()public static string GetSerieLabelName(string prefix, int i, int j)
    IntToStr()public static string IntToStr(int value, string numericFormatter = "")
    NumberToStr()public static string NumberToStr(double value, string formatter)

    ChartConst

    ChartDrawer

    ChartHelper

    public methodsincedescription
    ActiveAllObject()public static void ActiveAllObject(Transform parent, bool active, string match = null)
    AddIcon()public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)
    Cancat()public static string Cancat(string str1, int i)
    Cancat()public static string Cancat(string str1, string str2)
    ClearEventListener()public static void ClearEventListener(GameObject obj)
    CopyArray<T>()public static bool CopyArray<T>(T[] toList, T[] fromList)
    CopyList<T>()public static bool CopyList<T>(List<T> toList, List<T> fromList)
    DestoryGameObject()public static void DestoryGameObject(GameObject go)
    DestoryGameObject()public static void DestoryGameObject(Transform parent, string childName)
    DestoryGameObjectByMatch()public static void DestoryGameObjectByMatch(Transform parent, string containString)
    DestroyAllChildren()public static void DestroyAllChildren(Transform parent)
    EnsureComponent<T>()public static T EnsureComponent<T>(GameObject gameObject) where T : Component
    确保对象有指定的组件,如果没有则添加。
    EnsureComponent<T>()public static T EnsureComponent<T>(Transform transform) where T : Component
    确保对象有指定的组件,如果没有则添加。
    GetActualValue()public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBlurColor()public static Color32 GetBlurColor(Color32 color, float a = 0.3f)
    GetColor()public static Color32 GetColor(string hexColorStr)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetFullName()public static string GetFullName(Transform transform)
    GetHighlightColor()public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)
    GetLastValue()public static Vector3 GetLastValue(List<Vector3> list)
    GetMaxDivisibleValue()public static double GetMaxDivisibleValue(double max, double ceilRate)
    GetMaxLogValue()public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetMinDivisibleValue()public static double GetMinDivisibleValue(double min, double ceilRate)
    GetMinLogValue()public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(Transform transform) where T : Component
    GetPointList()public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetPosition()public static Vector3 GetPosition(Vector3 center, float angle, float radius)
    GetSelectColor()public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    HideAllObject()public static void HideAllObject(GameObject obj, string match = null)
    HideAllObject()public static void HideAllObject(Transform parent, string match = null)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsColorAlphaZero()public static bool IsColorAlphaZero(Color color)
    IsEquals()public static bool IsEquals(double d1, double d2)
    IsEquals()public static bool IsEquals(float d1, float d2)
    IsIngore()public static bool IsIngore(Vector3 pos)
    IsInRect()public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)
    IsPointInQuadrilateral()public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    ParseFloatFromString()public static List<float> ParseFloatFromString(string jsonData)
    ParseStringFromString()public static List<string> ParseStringFromString(string jsonData)
    RemoveComponent<T>()public static void RemoveComponent<T>(GameObject gameObject)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
    SaveAsImage()public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")
    SetActive()public static void SetActive(GameObject gameObject, bool active)
    SetActive()public static void SetActive(Image image, bool active)
    SetActive()public static void SetActive(Text text, bool active)
    SetActive()public static void SetActive(Transform transform, bool active)
    通过设置scale实现是否显示,优化性能,减少GC
    SetBackground()public static void SetBackground(Image background, ImageStyle imageStyle)
    SetColorOpacity()public static void SetColorOpacity(ref Color32 color, float opacity)

    ChartLabel

    Inherits or Implemented: Image

    public methodsincedescription
    GetHeight()public float GetHeight()
    GetPosition()public Vector3 GetPosition()
    GetTextHeight()public float GetTextHeight()
    GetTextWidth()public float GetTextWidth()
    GetWidth()public float GetWidth()
    IsActive()public override bool IsActive()
    SetActive()public void SetActive(bool flag)
    SetIcon()public void SetIcon(Image image)
    SetIconActive()public void SetIconActive(bool flag)
    SetIconSize()public void SetIconSize(float width, float height)
    SetIconSprite()public void SetIconSprite(Sprite sprite)
    SetPadding()public void SetPadding(float[] padding)
    SetPosition()public void SetPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetRotate()public void SetRotate(float rotate)
    SetSize()public void SetSize(float width, float height)
    SetText()public bool SetText(string text)
    SetTextActive()public void SetTextActive(bool flag)
    SetTextColor()public void SetTextColor(Color color)
    SetTextPadding()public void SetTextPadding(TextPadding padding)
    SetTextRotate()public void SetTextRotate(float rotate)
    UpdateIcon()public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null)

    ChartObject

    public methodsincedescription
    Destroy()public virtual void Destroy()

    CheckHelper

    public methodsincedescription
    CheckChart()public static string CheckChart(BaseChart chart)
    CheckChart()public static string CheckChart(BaseGraph chart)

    ColorUtil

    public methodsincedescription
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。

    ComponentHandlerAttribute

    Inherits or Implemented: Attribute

    public methodsincedescription
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler)
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler, bool allowMultiple)

    ComponentHelper

    public methodsincedescription
    GetAngleAxis()public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)
    GetRadiusAxis()public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)
    GetXAxisOnZeroOffset()public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)
    GetYAxisOnZeroOffset()public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)
    IsAnyCategoryOfYAxis()public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)

    CoordOptionsAttribute

    Inherits or Implemented: Attribute

    public methodsincedescription
    Contains<T>()public bool Contains<T>() where T : CoordSystem
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)

    DataZoomContext

    Inherits or Implemented: MainComponentContext

    DataZoomHelper

    public methodsincedescription
    UpdateDataZoomRuntimeStartEndValue()public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)
    UpdateDataZoomRuntimeStartEndValue<T>()public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie

    DateTimeUtil

    public methodsincedescription
    GetDateTime()public static DateTime GetDateTime(int timestamp)
    GetTimestamp()public static int GetTimestamp()
    GetTimestamp()public static int GetTimestamp(DateTime time)

    DefaultAnimationAttribute

    Inherits or Implemented: Attribute

    public methodsincedescription
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler)

    DefineSymbolsUtil

    public methodsincedescription
    AddGlobalDefine()public static void AddGlobalDefine(string symbol)
    RemoveGlobalDefine()public static void RemoveGlobalDefine(string symbol)

    FormatterHelper

    public methodsincedescription
    NeedFormat()public static bool NeedFormat(string content)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string numericFormatter, double value)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string value)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(string content)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(StringBuilder sb)

    GridCoordContext

    Inherits or Implemented: MainComponentContext

    HeatmapChart

    Inherits or Implemented: BaseChart

    IgnoreDoc

    Inherits or Implemented: Attribute

    public methodsincedescription
    IgnoreDoc()public IgnoreDoc()

    InputHelper

    public methodsincedescription
    GetKeyDown()public static bool GetKeyDown(KeyCode keyCode)
    GetTouch()public static Touch GetTouch(int v)

    InteractData

    public methodsincedescription
    Reset()public void Reset()
    SetColor()public void SetColor(ref bool needInteract, Color32 color)
    SetColor()public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)
    SetValue()public void SetValue(ref bool needInteract, float size)
    SetValue()public void SetValue(ref bool needInteract, float size, bool highlight, float rate = 1.3f)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)
    TryGetColor()public bool TryGetColor(ref Color32 color, ref bool interacting, float animationDuration = 250)
    TryGetColor()public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetValue()public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)

    LayerHelper

    public methodsincedescription
    IsFixedWidthHeight()public static bool IsFixedWidthHeight(RectTransform rt)
    IsStretchPivot()public static bool IsStretchPivot(RectTransform rt)

    LegendContext

    Inherits or Implemented: MainComponentContext

    LegendHelper

    public methodsincedescription
    CheckDataHighlighted()public static bool CheckDataHighlighted(Serie serie, string legendName, bool heighlight)
    CheckDataShow()public static bool CheckDataShow(Serie serie, string legendName, bool show)
    GetContentColor()public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)
    GetIconColor()public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)
    ResetItemPosition()public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)
    SetLegendBackground()public static void SetLegendBackground(Legend legend, ImageStyle style)

    LegendItem

    public methodsincedescription
    GetIconColor()public Color GetIconColor()
    GetIconRect()public Rect GetIconRect()
    SetActive()public void SetActive(bool active)
    SetBackground()public void SetBackground(ImageStyle imageStyle)
    SetButton()public void SetButton(Button button)
    SetContent()public bool SetContent(string content)
    SetContentBackgroundColor()public void SetContentBackgroundColor(Color color)
    SetContentColor()public void SetContentColor(Color color)
    SetContentPosition()public void SetContentPosition(Vector3 offset)
    SetIcon()public void SetIcon(Image icon)
    SetIconActive()public void SetIconActive(bool active)
    SetIconColor()public void SetIconColor(Color color)
    SetIconImage()public void SetIconImage(Sprite image)
    SetIconSize()public void SetIconSize(float width, float height)
    SetObject()public void SetObject(GameObject obj)
    SetPosition()public void SetPosition(Vector3 position)
    SetText()public void SetText(ChartText text)
    SetTextBackground()public void SetTextBackground(Image image)

    LineChart

    Inherits or Implemented: BaseChart

    ListFor

    Inherits or Implemented: Attribute

    public methodsincedescription
    ListFor()public ListFor(Type type)

    ListForComponent

    Inherits or Implemented: ListFor

    public methodsincedescription
    ListForComponent()public ListForComponent(Type type) : base(type)

    ListForSerie

    Inherits or Implemented: ListFor

    public methodsincedescription
    ListForSerie()public ListForSerie(Type type) : base(type)

    MainComponentContext

    MainComponentHandler

    public methodsincedescription
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    OnSerieDataUpdate()public virtual void OnSerieDataUpdate(int serieIndex) { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }

    MainComponentHandler<T>

    Inherits or Implemented: MainComponentHandler

    MathUtil

    public methodsincedescription
    Abs()public static double Abs(double d)
    Approximately()public static bool Approximately(double a, double b)
    Clamp()public static double Clamp(double d, double min, double max)
    Clamp01()public static double Clamp01(double value)
    GetPrecision()public static int GetPrecision(double value)
    IsInteger()public static bool IsInteger(double value)
    Lerp()public static double Lerp(double a, double b, double t)

    ObjectPool<T> where T

    Inherits or Implemented: new()

    public methodsincedescription
    ClearAll()public void ClearAll()
    Get()public T Get()
    new()public class ObjectPool<T> where T : new()
    ObjectPool()public ObjectPool(UnityAction<T> actionOnGet, UnityAction<T> actionOnRelease, bool newIfEmpty = true)
    Release()public void Release(T element)

    Painter

    Inherits or Implemented: MaskableGraphic

    public methodsincedescription
    onPopulateMeshpublic Action<VertexHelper, Painter> onPopulateMesh
    CheckRefresh()public void CheckRefresh()
    Init()public void Init()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag, bool isDebugMode = false)

    ParallelChart

    Inherits or Implemented: BaseChart

    ParallelCoordContext

    Inherits or Implemented: MainComponentContext

    PieChart

    Inherits or Implemented: BaseChart

    PolarChart

    Inherits or Implemented: BaseChart

    PolarCoordContext

    Inherits or Implemented: MainComponentContext

    PropertyUtil

    public methodsincedescription
    SetClass<T>()public static bool SetClass<T>(ref T currentValue, T newValue, bool notNull = false) where T : class
    SetColor()public static bool SetColor(ref Color currentValue, Color newValue)
    SetColor()public static bool SetColor(ref Color32 currentValue, Color32 newValue)
    SetStruct<T>()public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct

    RadarChart

    Inherits or Implemented: BaseChart

    RadarCoordContext

    Inherits or Implemented: MainComponentContext

    ReflectionUtil

    public methodsincedescription
    DeepCloneSerializeField()public static object DeepCloneSerializeField(object obj)
    InvokeListAdd()public static void InvokeListAdd(object obj, FieldInfo field, object item)
    InvokeListAddTo<T>()public static void InvokeListAddTo<T>(object obj, FieldInfo field, Action<T> callback)
    InvokeListClear()public static void InvokeListClear(object obj, FieldInfo field)
    InvokeListCount()public static int InvokeListCount(object obj, FieldInfo field)
    InvokeListGet<T>()public static T InvokeListGet<T>(object obj, FieldInfo field, int i)

    RequireChartComponentAttribute

    Inherits or Implemented: Attribute

    public methodsincedescription
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)

    RingChart

    Inherits or Implemented: BaseChart

    RuntimeUtil

    public methodsincedescription
    GetAllAssemblyTypes()public static IEnumerable<Type> GetAllAssemblyTypes()
    GetAllTypesDerivedFrom()public static IEnumerable<Type> GetAllTypesDerivedFrom(Type type)
    GetAllTypesDerivedFrom<T>()public static IEnumerable<Type> GetAllTypesDerivedFrom<T>()
    GetAttribute<T>()public static T GetAttribute<T>(this MemberInfo type, bool check = true) where T : Attribute
    GetAttribute<T>()public static T GetAttribute<T>(this Type type, bool check = true) where T : Attribute
    HasSubclass()public static bool HasSubclass(Type type)

    ScatterChart

    Inherits or Implemented: BaseChart

    SerieComponentAttribute

    Inherits or Implemented: Attribute

    public methodsincedescription
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieComponentAttribute()public SerieComponentAttribute()
    SerieComponentAttribute()public SerieComponentAttribute(Type type1)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieContext

    SerieConvertAttribute

    Inherits or Implemented: Attribute

    public methodsincedescription
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : Serie
    SerieConvertAttribute()public SerieConvertAttribute(Type serie)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)

    SerieDataComponentAttribute

    Inherits or Implemented: Attribute

    public methodsincedescription
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieDataComponentAttribute()public SerieDataComponentAttribute()
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieDataContext

    public methodsincedescription
    Reset()public void Reset()

    SerieDataExtraFieldAttribute

    Inherits or Implemented: Attribute

    public methodsincedescription
    Contains()public bool Contains(string field)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute()
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7)

    SerieEventData

    public methodsincedescription
    Reset()public void Reset()

    SerieEventDataPool

    public methodsincedescription
    Get()public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)
    Release()public static void Release(SerieEventData toRelease)

    SerieHandler

    public methodsincedescription
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawSerie()public virtual void DrawSerie(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName) { }
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    RefreshLabelInternal()public virtual void RefreshLabelInternal() { }
    RefreshLabelNextFrame()public virtual void RefreshLabelNextFrame() { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }
    UpdateSerieContext()public virtual void UpdateSerieContext() { }

    SerieHandler<T>

    Inherits or Implemented: [SerieHandler where T](#seriehandler where t),Serie

    public methodsincedescription
    DrawLabelLineSymbol()public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)
    GetPointerItemDataDimension()public override int GetPointerItemDataDimension()
    GetPointerItemDataIndex()public override int GetPointerItemDataIndex()
    GetSerieDataAutoColor()public virtual Color GetSerieDataAutoColor(SerieData serieData)
    GetSerieDataLabelOffset()public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)
    GetSerieDataLabelPosition()public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)
    GetSerieDataTitlePosition()public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)
    InitComponent()public override void InitComponent()
    OnLegendButtonClick()public override void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public override void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public override void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    RefreshEndLabelInternal()public virtual void RefreshEndLabelInternal()
    RefreshLabelInternal()public override void RefreshLabelInternal()
    RefreshLabelNextFrame()public override void RefreshLabelNextFrame()
    RemoveComponent()public override void RemoveComponent()
    Update()public override void Update()

    SerieHandlerAttribute

    Inherits or Implemented: Attribute

    public methodsincedescription
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler)
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler, bool allowMultiple)

    SerieHelper

    public methodsincedescription
    CloneSerie<T>()public static T CloneSerie<T>(Serie serie) where T : Serie
    CopySerie()public static void CopySerie(Serie oldSerie, Serie newSerie)
    GetAllMinMaxData()public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)
    GetAreaStyle()public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)
    GetAverageData()public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetBlurStyle()public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)
    GetEmphasisStyle()public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData)
    GetItemColor()public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true)
    GetItemFormatter()public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetItemMarker()public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null)
    GetItemStyle()public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetLineColor()public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto)
    GetLineStyle()public static LineStyle GetLineStyle(Serie serie, SerieData serieData)
    GetMaxData()public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMaxSerieData()public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMedianData()public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinData()public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinMaxData()public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)
    获得系列所有数据的最大最小值。
    GetMinSerieData()public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetNumericFormatter()public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetSelectStyle()public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)
    GetSerieLabel()public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieLabelLine()public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieState()public static SerieState GetSerieState(Serie serie)
    GetSerieState()public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)
    GetSerieState()public static SerieState GetSerieState(SerieData serieData)
    GetSerieSymbol()public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetStateStyle()public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)
    GetSysmbolSize()public static float GetSysmbolSize(Serie serie, SerieData serieData, ThemeStyle theme, float defaultSize, SerieState state = SerieState.Auto)
    GetTitleStyle()public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)
    IsAllZeroValue()public static bool IsAllZeroValue(Serie serie, int dimension = 1)
    系列指定维数的数据是否全部为0。
    IsDownPoint()public static bool IsDownPoint(Serie serie, int index)
    UpdateCenter()public static void UpdateCenter(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
    更新运行时中心点和半径
    UpdateFilterData()public static void UpdateFilterData(Serie serie, DataZoom dataZoom)
    根据dataZoom更新数据列表缓存
    UpdateMinMaxData()public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)
    获得指定维数的最大最小值
    UpdateRect()public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
    UpdateSerieRuntimeFilterData()public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)

    SerieLabelHelper

    public methodsincedescription
    AvoidLabelOverlap()public static void AvoidLabelOverlap(Serie serie, ComponentTheme theme)
    CanShowLabel()public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)
    GetLabelColor()public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)
    GetRealLabelPosition()public static Vector3 GetRealLabelPosition(Serie serie, SerieData serieData, LabelStyle label, LabelLine labelLine)
    SetGaugeLabelText()public static void SetGaugeLabelText(Serie serie)
    UpdatePieLabelPosition()public static void UpdatePieLabelPosition(Serie serie, SerieData serieData)

    SerieLabelPool

    public methodsincedescription
    ClearAll()public static void ClearAll()
    Release()public static void Release(GameObject element)
    ReleaseAll()public static void ReleaseAll(Transform parent)

    SerieParams

    SeriesHelper

    public methodsincedescription
    GetLastStackSerie()public static Serie GetLastStackSerie(List<Serie> series, Serie serie)
    获得上一个同堆叠且显示的serie。
    GetLegalSerieNameList()public static List<string> GetLegalSerieNameList(List<Serie> series)
    GetMaxSerieDataCount()public static int GetMaxSerieDataCount(List<Serie> series)
    GetNameColor()public static Color GetNameColor(BaseChart chart, int index, string name)
    GetStackSeries()public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)
    获得堆叠系列列表
    IsAnyClipSerie()public static bool IsAnyClipSerie(List<Serie> series)
    是否有需裁剪的serie。
    IsLegalLegendName()public static bool IsLegalLegendName(string name)
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series) where T : Serie
    是否时百分比堆叠
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series, string stackName) where T : Serie
    是否时百分比堆叠
    IsStack()public static bool IsStack(List<Serie> series)
    是否由数据堆叠
    IsStack<T>()public static bool IsStack<T>(List<Serie> series, string stackName) where T : Serie
    是否堆叠
    UpdateSerieNameList()public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)
    获得所有系列名,不包含空名字。
    UpdateStackDataList()public static void UpdateStackDataList(List<Serie> series, Serie currSerie, DataZoom dataZoom, List<List<SerieData>> dataList)

    SimplifiedBarChart

    Inherits or Implemented: BaseChart

    SimplifiedCandlestickChart

    Inherits or Implemented: BaseChart

    SimplifiedLineChart

    Inherits or Implemented: BaseChart

    Since

    Inherits or Implemented: Attribute

    public methodsincedescription
    Since()public Since(string version)

    SVG

    public methodsincedescription
    DrawPath()public static void DrawPath(VertexHelper vh, string path)
    DrawPath()public static void DrawPath(VertexHelper vh, SVGPath path)
    Test()public static void Test(VertexHelper vh)

    SVGImage

    Inherits or Implemented: MaskableGraphic

    SVGPath

    public methodsincedescription
    AddSegment()public void AddSegment(SVGPathSeg seg)
    Draw()public void Draw(VertexHelper vh)
    Parse()public static SVGPath Parse(string path)

    SVGPathSeg

    public methodsincedescription
    SVGPathSeg()public SVGPathSeg(SVGPathSegType type)

    TooltipContext

    TooltipData

    TooltipHelper

    public methodsincedescription
    GetItemNumericFormatter()public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)
    GetLineColor()public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor)
    IsIgnoreFormatter()public static bool IsIgnoreFormatter(string itemFormatter)
    LimitInRect()public static void LimitInRect(Tooltip tooltip, Rect chartRect)

    TooltipView

    public methodsincedescription
    CreateView()public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)
    GetCurrentPos()public Vector3 GetCurrentPos()
    GetTargetPos()public Vector3 GetTargetPos()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag)
    Update()public void Update()
    UpdatePosition()public void UpdatePosition(Vector3 pos)

    TooltipViewItem

    UGL

    public methodsincedescription
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
    Draw a diamond. 画菱形(钻石形状)
    DrawEllipse()public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)
    DrawLine()public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color)
    Draw a line. 画直线
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
    Draw a line. 画直线
    DrawPolygon()public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
    填充任意多边形(目前只支持凸多边形)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Vector3 p1, Vector3 p2, float radius, Color32 color)
    Draw a rectangle. 画带长方形
    DrawSquare()public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
    Draw a square. 画正方形
    DrawSvgPath()public static void DrawSvgPath(VertexHelper vh, string path)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)

    UGLExample

    Inherits or Implemented: MaskableGraphic

    UGLHelper

    public methodsincedescription
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBezier()public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)
    GetBezier2()public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)
    GetBezierList()public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref Vector3 intersection)
    获得两直线的交点
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector3> polyons)
    IsPointInTriangle()public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)

    UIComponent

    Inherits or Implemented: BaseGraph

    public methodsincedescription
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。

    UIHelper

    public methodsincedescription
    GetBackgroundColor()public static Color32 GetBackgroundColor(UIComponent component)

    VisualMapContext

    Inherits or Implemented: MainComponentContext

    VisualMapHelper

    public methodsincedescription
    AutoSetLineMinMax()public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
    GetDimension()public static int GetDimension(VisualMap visualMap, int defaultDimension)
    IsNeedAreaGradient()public static bool IsNeedAreaGradient(VisualMap visualMap)
    IsNeedGradient()public static bool IsNeedGradient(VisualMap visualMap)
    IsNeedLineGradient()public static bool IsNeedLineGradient(VisualMap visualMap)
    SetMinMax()public static void SetMinMax(VisualMap visualMap, double min, double max)

    XChartsMgr

    public methodsincedescription
    AddChart()public static void AddChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(string chartName)
    GetChart()public static BaseChart GetChart(string chartName)
    GetCharts()public static List<BaseChart> GetCharts(string chartName)
    GetPackageFullPath()public static string GetPackageFullPath()
    GetRepeatChartNameInfo()public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
    IsRepeatChartName()public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
    RemoveAllChartObject()public static void RemoveAllChartObject()
    RemoveChart()public static void RemoveChart(string chartName)

    XCResourceImporterWindow

    Inherits or Implemented: UnityEditor.EditorWindow

    public methodsincedescription
    ShowPackageImporterWindow()public static void ShowPackageImporterWindow()

    XCThemeMgr

    public methodsincedescription
    AddTheme()public static void AddTheme(Theme theme)
    CheckReloadTheme()public static void CheckReloadTheme()
    ContainsTheme()public static bool ContainsTheme(string themeName)
    ExportTheme()public static bool ExportTheme(Theme theme)
    ExportTheme()public static bool ExportTheme(Theme theme, string themeNewName)
    GetAllThemeNames()public static List<string> GetAllThemeNames()
    GetTheme()public static Theme GetTheme(string themeName)
    GetTheme()public static Theme GetTheme(ThemeType type)
    GetThemeAssetPath()public static string GetThemeAssetPath(string themeName)
    GetThemeList()public static List<Theme> GetThemeList()
    LoadTheme()public static Theme LoadTheme(string themeName)
    LoadTheme()public static Theme LoadTheme(ThemeType type)
    ReloadThemeList()public static void ReloadThemeList()
    重新加载主题列表
    SwitchTheme()public static void SwitchTheme(BaseChart chart, string themeName)
    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/bar3d/index.html b/en/docs/v3.6.0/bar3d/index.html index b277a324..959aaceb 100644 --- a/en/docs/v3.6.0/bar3d/index.html +++ b/en/docs/v3.6.0/bar3d/index.html @@ -14,14 +14,14 @@ Bar3DChart 3D柱图 | XCharts - - + +
    Version: v3.6.0

    Bar3DChart 3D柱图

    XCharts的付费扩展图表 - 3D柱图。

    bar3d

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0
    • (2023.02.14) 增加Bar3DStyletopColorbottomColorsideColor参数支持

    v3.5.0

    • (2022.11.29) 增加SeriebarMaxWidth参数支持
    • (2022.11.27) 增加SerieItemStylebackgroundColor参数支持
    • (2022.11.27) 增加SeriecolorBy的支持
    • (2022.11.27) 更新文档

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    v3.1.0

    • (2022.07.14) 发布v3.1.0版本
    • (2022.07.14) 增加bottomColorRate,cylinderRate参数
    • (2022.07.14) 调整topColorBurnRate改名为topColorRate
    • (2022.07.14) 调整sideColorBurnRate改名为sideColorRate
    • (2022.07.14) 调整dire改名为cubeDire
    • (2022.07.14) 支持Cylinder圆柱和Cube立方柱

    API

    Bar3DChart

    Inherits or Implemented: BaseChart

    配置项手册

    Bar3D

    Inherits or Implemented: Serie,INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    fielddefaultsincecomment
    bar3DTypev3.1.0
    Bar3DType:
    - Cube: 立方柱。
    - Cylinder: 圆柱。
    bar3DStyleBar3DStyle

    Bar3DStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showtrue
    verticalArrangefalse是否垂直排列。
    verticalArrangeDireVector3(-1, 1)垂直排列时的方向。
    verticalArrangeGap0.5f垂直排列时两个柱子间的间隙。
    barOffsetVector3.zero柱子偏移。
    widthRate0.5f方形柱侧边宽度相对正面的比例。
    topColorRate0.8f柱子顶部相对正面的颜色比例。
    bottomColorRate1f柱子底部相对正面的颜色比例。
    sideColorRate0.7f方形柱侧边相对正面的颜色比例。
    cubeDireVector3(1, 1)方形柱形成3D效果的方向。
    cylinderRate0.5fv3.1.0圆柱的顶部椭圆比列。
    topColorv3.6.0
    bottomColorv3.6.0
    sideColorv3.6.0
    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/changelog/index.html b/en/docs/v3.6.0/changelog/index.html index 69c2f895..01b93dbf 100644 --- a/en/docs/v3.6.0/changelog/index.html +++ b/en/docs/v3.6.0/changelog/index.html @@ -14,8 +14,8 @@ 更新日志 | XCharts - - + +
    @@ -77,7 +77,7 @@ v0.8.0
    v0.5.0
    v0.1.0

    master

    v3.6.0

    版本要点:

    • 增加InputSystem支持 (by Bian-Sh)
    • 增加官网在线示例多版本支持 (by SHL-COOL)
    • 完善对VR的支持 (by Ambitroc)
    • 增加UITableUIStatistic扩展UI组件
    • 增加ItemStyleMarkColor
    • 增加通配符{h}的支持
    • 优化TooltipLegendDataZoomAxis等组件
    • 重构相关API接口,完善回调接口
    • 修复若干问题

    升级注意:

    • 部分接口有调整,可根据提示更换下接口即可。

    日志详情:

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.14) 修复TooltiptitleFormater设置{b}可能不生效的问题
    • (2023.03.14) 修复BarChart在数据为0时不绘制柱条背景的问题 (#250) (by Ambitroc)
    • (2023.03.12) 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转
    • (2023.03.10) 增加VR等其他非鼠标输入方式的Point位置获取 (#248) (by Ambitroc)
    • (2023.03.09) 增加ChartonSerieClickonSerieDownonSerieEnteronSerieExit回调
    • (2023.03.09) 修复Pie的点击选中偏移不生效的问题
    • (2023.03.04) 增加LegendPositions可自定义图例的位置
    • (2023.03.03) 修复Animation变更动画可能无效的问题
    • (2023.02.28) 修复Legend点击时SerieLabel不刷新的问题
    • (2023.02.26) 增加DataZoomstartEndFunction委托
    • (2023.02.12) 重构Component相关代码,调整API接口
    • (2023.02.10) 修复AxisLog轴时某些情况下最小值不正确的问题
    • (2023.02.10) 优化Axis的数值Label的默认显示格式
    • (2023.02.08) 增加DataZoomstartLockendLock参数支持锁定
    • (2023.02.02) 修复DataZoom开启时X轴Label可能会显示在图表外的问题
    • (2023.02.02) 优化SerieDataignore设置时的忽略数据判断
    • (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) 删除SerieMarkColor,增加ItemStyleMarkColor
    • (2022.12.29) 增加EditorList+添加编辑功能
    • (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) 修复AxisValue轴在某些情况下计算数值范围不准确的问题
    • (2022.12.12) 优化Legendformatter支持{h}通配符
    • (2022.12.12) 修复Legendformatter设置为固定值时显示不正常的问题
    • (2022.12.08) 增加AreaStyletoTop参数可设置折线图渐变色是到顶部还是到实际位置
    • (2022.12.07) 增加Formatter的文本通配符{h}支持设置当前颜色值

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Convert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/configuration/index.html b/en/docs/v3.6.0/configuration/index.html index 7dc6191e..d8e70e33 100644 --- a/en/docs/v3.6.0/configuration/index.html +++ b/en/docs/v3.6.0/configuration/index.html @@ -14,13 +14,13 @@ 配置项手册 | XCharts - - + +
    Version: v3.6.0

    配置项手册

    Serie 系列

    Theme 主题

    MainComponent 主组件

    ChildComponent 子组件

    ISerieComponent 可添加到Serie的组件

    ISerieDataComponent 可添加到SerieData的组件

    Other 其他组件

    AngleAxis

    Inherits or Implemented: Axis

    极坐标系的角度轴。

    fielddefaultsincecomment
    startAngle0起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    Inherits or Implemented: BaseAxisTheme

    AnimationStyle

    Inherits or Implemented: ChildComponent

    动画表现。

    fielddefaultsincecomment
    enabletrue是否开启动画效果。
    type动画类型。
    AnimationType:
    - Default: 默认。内部会根据实际情况选择一种动画播放方式。
    - LeftToRight: 从左往右播放动画。
    - BottomToTop: 从下往上播放动画。
    - InsideOut: 由内到外播放动画。
    - AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    - Clockwise: 顺时针播放动画。
    easting动画的缓动效果。
    AnimationEasing:
    - Linear:
    threshold2000是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
    fadeInDuration1000设定的渐入动画时长(毫秒)。如果要设置单个数据项的渐入时长,可以用代码定制:customFadeInDuration。
    fadeInDelay0渐入动画延时(毫秒)。如果要设置单个数据项的延时,可以用代码定制:customFadeInDelay。
    fadeOutDuration1000f设定的渐出动画时长(毫秒)。如果要设置单个数据项的渐出时长,可以用代码定制:customFadeOutDuration。
    fadeOutDelay0渐出动画延时(毫秒)。如果要设置单个数据项的延时,可以用代码定制:customFadeOutDelay。
    dataChangeEnabletrue是否开启数据变更动画。
    dataChangeDuration500数据变更的动画时长(毫秒)。
    actualDuration实际的动画时长(毫秒)。
    unscaledTimev3.4.0动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AreaStyle

    Inherits or Implemented: ChildComponent,ISerieComponent,ISerieDataComponent

    区域填充样式。

    fielddefaultsincecomment
    showtrue是否显示区域填充。
    origin区域填充的起始位置。
    AreaStyle.AreaOrigin:
    - Auto: 填充坐标轴轴线到数据间的区域。
    - Start: 填充坐标轴底部到数据间的区域。
    - End: 填充坐标轴顶部到数据间的区域。
    color区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。
    toColor渐变色的终点颜色。
    opacity0.6f图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    innerFillv3.2.0是否只填充多边形区域。目前只支持凸多边形。
    toToptruev3.6.0渐变色是到顶部还是到实际位置。默认为true到顶部。

    ArrowStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    width10箭头宽。
    height15箭头高。
    offset0箭头偏移。
    dent3箭头的凹度。
    colorColor.clear箭头颜色。

    Axis

    Inherits or Implemented: MainComponent

    直角坐标系的坐标轴组件。

    fielddefaultsincecomment
    showtrue是否显示坐标轴。
    type坐标轴类型。
    Axis.AxisType:
    - Value: 数值轴。适用于连续数据。
    - Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    - Log: 对数轴。适用于对数数据。
    - Time: 时间轴。适用于连续的时序数据。
    minMaxType坐标轴刻度最大最小值显示类型。
    Axis.AxisMinMaxType:
    - Default: 0-最大值。
    - MinMax: 最小值-最大值。
    - Custom: 自定义最小值最大值。
    gridIndex坐标轴所在的 grid 的索引,默认位于第一个 grid。
    polarIndex坐标轴所在的 ploar 的索引,默认位于第一个 polar。
    parallelIndex坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
    position坐标轴在Grid中的位置。
    Axis.AxisPosition:
    - Left: 坐标轴在Grid中的位置
    - Right: 坐标轴在Grid中的位置
    - Bottom: 坐标轴在Grid中的位置
    - Top: 坐标轴在Grid中的位置
    offset坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
    min设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
    max设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
    splitNumber0坐标轴的期望的分割段数。默认为0表示自动分割。
    interval0强制设置坐标轴分割间隔。无法在类目轴中使用。
    boundaryGaptrue坐标轴两边是否留白。只对类目轴有效。
    maxCache0The first data will be remove when the size of axis data is larger then maxCache.
    logBase10对数轴的底数,只在对数轴(type:'Log')中有效。
    logBaseEfalse对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    inversefalse是否反向坐标轴。在类目轴中无效。
    clockwisetrue刻度增长是否按顺时针,默认顺时针。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    icons类目数据对应的图标。
    data类目数据,在类目轴(type: 'category')中有效。
    axisLine坐标轴轴线。 AxisLine
    axisName坐标轴名称。 AxisName
    axisTick坐标轴刻度。 AxisTick
    axisLabel坐标轴刻度标签。 AxisLabel
    splitLine坐标轴分割线。 AxisSplitLine
    splitArea坐标轴分割区域。 AxisSplitArea
    minorTickv3.2.0坐标轴次刻度。 AxisMinorTick
    minorSplitLinev3.2.0坐标轴次分割线。 AxisMinorSplitLine
    indicatorLabelv3.4.0指示器文本的样式。Tooltip为Cross时使用。 LabelStyle

    AxisLabel

    Inherits or Implemented: LabelStyle

    坐标轴刻度标签的相关设置。

    fielddefaultsincecomment
    interval0坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    insidefalse刻度标签是否朝内,默认朝外。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。
    onZerofalse刻度标签显示在0刻度上。
    showStartLabeltrue是否显示第一个文本。
    showEndLabeltrue是否显示最后一个文本。
    textLimit文本限制。 TextLimit

    AxisLine

    Inherits or Implemented: BaseLine

    坐标轴轴线。

    fielddefaultsincecomment
    onZeroX 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。
    showArrow是否显示箭头。
    arrow轴线箭头。 ArrowStyle

    AxisMinorSplitLine

    Inherits or Implemented: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    fielddefaultsincecomment
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。

    AxisMinorTick

    Inherits or Implemented: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    fielddefaultsincecomment
    splitNumber5分隔线之间分割的刻度数。
    autoColor

    AxisName

    Inherits or Implemented: ChildComponent

    坐标轴名称。

    fielddefaultsincecomment
    show是否显示坐标轴名称。
    name坐标轴名称。
    onZerov3.1.0坐标轴名称的位置是否保持和Y轴0刻度一致。
    labelStyle文本样式。 LabelStyle

    AxisSplitArea

    Inherits or Implemented: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    fielddefaultsincecomment
    show是否显示分隔区域。
    color分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitLine

    Inherits or Implemented: BaseLine

    坐标轴在 grid 区域中的分隔线。

    fielddefaultsincecomment
    interval坐标轴分隔线的显示间隔。
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。
    showStartLinetruev3.3.0是否显示第一条分割线。
    showEndLinetruev3.3.0是否显示最后一条分割线。

    AxisTheme

    Inherits or Implemented: BaseAxisTheme

    AxisTick

    Inherits or Implemented: BaseLine

    坐标轴刻度相关设置。

    fielddefaultsincecomment
    alignWithLabel类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。
    inside坐标轴刻度是否朝内,默认朝外。
    showStartTick是否显示第一个刻度。
    showEndTick是否显示最后一个刻度。
    distance刻度线与轴线的距离。
    splitNumber0分隔线之间分割的刻度数。
    autoColor

    Background

    Inherits or Implemented: MainComponent

    背景组件。

    fielddefaultsincecomment
    showtrue是否启用背景组件。
    image背景图。
    imageType背景图填充类型。
    imageColor背景图颜色。
    autoColortrue当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。

    Bar

    Inherits or Implemented: Serie,INeedSerieContainer

    BaseAxisTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f坐标轴线宽。
    lineLength0f坐标轴线长。
    lineColor坐标轴线颜色。
    splitLineType分割线线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    splitLineWidth1f分割线线宽。
    splitLineLength0f分割线线长。
    splitLineColor分割线线颜色。
    minorSplitLineColor次分割线线颜色。
    tickWidth1f刻度线线宽。
    tickLength5f刻度线线长。
    tickColor坐标轴线颜色。
    splitAreaColors坐标轴分隔区域的颜色。

    BaseLine

    Inherits or Implemented: ChildComponent

    线条基础配置。

    fielddefaultsincecomment
    show是否显示坐标轴轴线。
    lineStyle线条样式 LineStyle

    BaseScatter

    Inherits or Implemented: Serie,INeedSerieContainer

    BaseSerie

    BlurStyle

    Inherits or Implemented: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    CalendarCoord

    Inherits or Implemented: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Candlestick

    Inherits or Implemented: Serie,INeedSerieContainer

    ChartText

    ChildComponent

    Comment

    Inherits or Implemented: MainComponent,IPropertyChanged

    图表注解组件。

    fielddefaultsincecomment
    showtrue是否显示注解组件。
    labelStyle所有组件的文本样式。 LabelStyle
    markStyle所有组件的文本样式。 CommentMarkStyle
    items注解项。每个注解组件可以设置多个注解项。

    CommentItem

    Inherits or Implemented: ChildComponent

    注解项。

    fielddefaultsincecomment
    showtrue是否显示当前注解项。
    content注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。
    markRect注解区域。
    markStyle注解标记区域样式。 CommentMarkStyle
    labelStyle注解项的文本样式。 LabelStyle
    locationv3.5.0Comment显示的位置。 Location

    CommentMarkStyle

    Inherits or Implemented: ChildComponent

    注解项区域样式。

    fielddefaultsincecomment
    showtrue是否显示当前注解项。
    lineStyle线条样式。 LineStyle

    ComponentTheme

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    font字体。
    textColor文本颜色。
    textBackgroundColor文本颜色。
    fontSize18文本字体大小。
    tMPFont字体。

    CoordSystem

    Inherits or Implemented: MainComponent

    坐标系系统。

    DataZoom

    Inherits or Implemented: MainComponent,IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    fielddefaultsincecomment
    enabletrue是否显示缩放区域。
    filterMode数据过滤类型。
    DataZoom.FilterMode:
    - Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    - WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    - Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    - None: 不过滤数据,只改变数轴范围。
    xAxisIndexs控制的 x 轴索引列表。
    yAxisIndexs控制的 y 轴索引列表。
    supportInside是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
    supportInsideScrolltrue是否支持坐标系内滚动
    supportInsideDragtrue是否支持坐标系内拖拽
    supportSlider是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。
    supportMarquee是否支持框选。提供一个选框进行数据区域缩放。
    showDataShadow是否显示数据阴影。数据阴影可以简单地反应数据走势。
    showDetail是否显示detail,即拖拽时候显示详细数值信息。
    zoomLock是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    borderWidth边框宽。
    backgroundColor组件的背景颜色。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    rangeMode取绝对值还是百分比。
    DataZoom.RangeMode:
    - //Value: The value type of start and end.取值类型
    - Percent: 百分比。
    start数据窗口范围的起始百分比。范围是:0 ~ 100。
    end数据窗口范围的结束百分比。范围是:0 ~ 100。
    minShowNum1最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。
    scrollSensitivity1.1f缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。
    orient布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    labelStyle文本标签格式。 LabelStyle
    lineStyle阴影线条样式。 LineStyle
    areaStyle阴影填充样式。 AreaStyle
    marqueeStylev3.5.0选取框样式。 MarqueeStyle
    startLockv3.6.0固定起始值,不让改变。
    endLockv3.6.0固定结束值,不让改变。

    DataZoomTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    borderWidth边框线宽。
    dataLineWidth数据阴影线宽。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    dataLineColor数据阴影的线条颜色。
    dataAreaColor数据阴影的填充颜色。
    backgroundColor背景颜色。

    DebugInfo

    fielddefaultsincecomment
    showtrue是否显示Debug组件。
    showDebugInfofalse
    showAllChartObjectfalse是否在Hierarchy试图显示所有chart下的节点。
    foldSeriesfalse是否在Inspector上折叠Serie。
    labelStyleLabelStyle

    EffectScatter

    Inherits or Implemented: BaseScatter

    EmphasisStyle

    Inherits or Implemented: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    fielddefaultsincecomment
    scale1.1f高亮时的缩放倍数。
    focus在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。
    EmphasisStyle.FocusType:
    - None: 不淡出其它图形,默认使用该配置。
    - Self: 只聚焦(不淡出)当前高亮的数据的图形。
    - Series: 聚焦当前高亮的数据所在的系列的所有图形。
    blurScope在开启focus的时候,可以通过blurScope配置淡出的范围。
    EmphasisStyle.BlurScope:
    - GridCoord: 淡出范围为坐标系,默认使用该配置。
    - Series: 淡出范围为系列。
    - Global: 淡出范围为全局。

    EndLabelStyle

    Inherits or Implemented: LabelStyle

    GridCoord

    Inherits or Implemented: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    fielddefaultsincecomment
    showtrue是否显示直角坐标系网格。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。
    showBorderfalse是否显示网格边框。
    borderWidth0f网格边框宽。
    borderColor网格边框颜色。

    Heatmap

    Inherits or Implemented: Serie,INeedSerieContainer

    fielddefaultsincecomment
    heatmapTypev3.3.0热力图类型。通过颜色映射划分。
    HeatmapType:
    - Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    - Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showfalse是否显示图标。
    layer显示在上层还是在下层。
    IconStyle.Layer:
    - UnderText: The icon is display under the label text. 图标在标签文字下
    - AboveText: The icon is display above the label text. 图标在标签文字上
    align水平方向对齐方式。
    Align:
    - Center: 对齐方式
    - Left: 对齐方式
    - Right: 对齐方式
    sprite图标的图片。
    type图片的显示类型。
    color图标颜色。
    width20图标宽。
    height20图标高。
    offset图标偏移。
    autoHideWhenLabelEmptyfalse当label内容为空时是否自动隐藏图标

    ImageStyle

    Inherits or Implemented: ChildComponent,ISerieComponent,ISerieDataComponent

    fielddefaultsincecomment
    showtrue是否显示图标。
    sprite图标的图片。
    type图片的显示类型。
    autoColor是否自动颜色。
    color图标颜色。
    width0图标宽。
    height0图标高。

    Indicator

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    fielddefaultsincecomment
    name指示器名称。
    max指示器的最大值,默认为 0 无限制。
    min指示器的最小值,默认为 0 无限制。
    range正常值范围。当数值不在这个范围时,会自动变更显示颜色。
    show是否显示雷达坐标系组件。
    shape雷达图绘制类型,支持 'Polygon' 和 'Circle'。
    radius100雷达图的半径。
    splitNumber5指示器轴的分割段数。
    center雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    axisLine轴线。 AxisLine
    axisName雷达图每个指示器名称的配置项。 AxisName
    splitLine分割线。 AxisSplitLine
    splitArea分割区域。 AxisSplitArea
    indicatortrue是否显示指示器。
    positionType显示位置类型。
    indicatorGap10指示器和雷达的间距。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    isAxisTooltip是否Tooltip显示轴线上的所有数据。
    outRangeColorColor.red数值超出范围时显示的颜色。
    connectCenterfalse数值是否连线到中心点。
    lineGradienttrue数值线段是否需要渐变。
    startAnglev3.4.0起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    indicatorList指示器列表。

    ItemStyle

    Inherits or Implemented: ChildComponent,ISerieDataComponent

    图形样式。

    fielddefaultsincecomment
    showtrue是否启用。
    color数据项颜色。
    color0数据项颜色。
    toColor渐变色的颜色1。
    toColor2渐变色的颜色2。只在折线图中有效。
    markColorv3.6.0Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。
    backgroundColor数据项背景颜色。
    backgroundWidth数据项背景宽度。
    centerColor中心区域颜色。
    centerGap中心区域间隙。
    borderWidth0边框宽。
    borderGap0边框间隙。
    borderColor边框的颜色。
    borderColor0边框的颜色。
    borderToColor边框的渐变色。
    opacity1透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    itemMarker提示框单项的字符标志。用在Tooltip中。
    itemFormatter提示框单项的字符串模版格式器。具体配置参考Tooltipformatter
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    LabelLine

    Inherits or Implemented: ChildComponent,ISerieComponent,ISerieDataComponent

    标签的引导线

    fielddefaultsincecomment
    showtrue是否显示视觉引导线。
    lineType视觉引导线类型。
    LabelLine.LineType:
    - BrokenLine: 折线
    - Curves: 曲线
    - HorizontalLine: 水平线
    lineColorChartConst.clearColor32视觉引导线颜色。默认和serie一致取自调色板。
    lineAngle0视觉引导线的固定角度。对折线和曲线有效。
    lineWidth1.0f视觉引导线的宽度。
    lineGap1.0f视觉引导线和容器的间距。
    lineLength125f视觉引导线第一段的长度。
    lineLength215f视觉引导线第二段的长度。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle

    LabelStyle

    Inherits or Implemented: ChildComponent,ISerieComponent,ISerieDataComponent

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    fielddefaultsincecomment
    showtrue是否显示文本标签。
    Position标签的位置。
    autoOffsetfalse是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。
    offset距离图形元素的偏移
    rotate文本的旋转。
    autoRotatefalsev3.6.0是否自动旋转。
    distance距离轴线的距离。
    formatter标签内容字符串模版格式器。支持用 \n 换行。 模板变量有: {.}:圆点标记。 {a}:系列名。 {a}:系列名。 {b}:类目值或数据名。 {c}:数据值。 {d}:百分比。 {e}:数据名。 {f}:数据和。 示例:“{b}:{c}”
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    width0标签的宽度。一般不用指定,不指定时则自动是文字的宽度。
    height0标签的高度。一般不用指定,不指定时则自动是文字的高度。
    icon图标样式。 IconStyle
    background背景图样式。 ImageStyle
    textPadding文本的边距。 TextPadding
    textStyle文本样式。 TextStyle

    Lang

    Inherits or Implemented: ScriptableObject

    国际化语言表。

    LangCandlestick

    LangTime

    Legend

    Inherits or Implemented: MainComponent,IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    fielddefaultsincecomment
    showtrue是否显示图例组件。
    iconType图例类型。
    Legend.Type:
    - Auto: 自动匹配。
    - Custom: 自定义图标。
    - EmptyCircle: 空心圆。
    - Circle: 圆形。
    - Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    - Triangle: 三角形。
    - Diamond: 菱形。
    - Candlestick: 烛台(可用于K线图)。
    selectedMode选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。
    Legend.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    - None: 无法选择。
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location图例显示的位置。 Location
    itemWidth25.0f图例标记的图形宽度。
    itemHeight12.0f图例标记的图形高度。
    itemGap10f图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
    itemAutoColortrue图例标记的图形是否自动匹配颜色。
    itemOpacity1图例标记的图形的颜色透明度。
    formatter图例内容字符串模版格式器。支持用 \n 换行。 模板变量为图例名称 {value}。其他模板变量参考Toolip的itemFormatter。
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    labelStyle文本样式。 LabelStyle
    data图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。
    icons自定义的图例标记图形。
    colors图例标记的颜色列表。
    backgroundv3.1.0背景图样式。 ImageStyle
    paddingv3.1.0图例标记和背景的间距。 Padding
    positionsv3.6.0图例标记的自定义位置列表。

    LegendTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    unableColor文本颜色。

    Level

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    label文本标签样式。 LabelStyle
    upperLabel上方的文本标签样式。 LabelStyle
    itemStyle数据项样式。 ItemStyle

    LevelStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showfalse是否启用LevelStyle
    levels各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    Line

    Inherits or Implemented: Serie,INeedSerieContainer

    LineArrow

    Inherits or Implemented: ChildComponent,ISerieComponent

    fielddefaultsincecomment
    show是否显示箭头。
    position箭头位置。
    LineArrow.Position:
    - End: 末端箭头
    - Start: 头端箭头
    arrow箭头。 ArrowStyle

    LineStyle

    Inherits or Implemented: ChildComponent,ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    fielddefaultsincecomment
    showtrue是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。
    type线的类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    color线的颜色。
    toColor线的渐变颜色(需要水平方向渐变时)。
    toColor2线的渐变颜色2(需要水平方向三个渐变色的渐变时)。
    width0线宽。
    length0线长。
    opacity1线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。

    Location

    Inherits or Implemented: ChildComponent,IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    fielddefaultsincecomment
    align对齐方式。
    Location.Align:
    - TopLeft: 对齐方式
    - TopRight: 对齐方式
    - TopCenter: 对齐方式
    - BottomLeft: 对齐方式
    - BottomRight: 对齐方式
    - BottomCenter: 对齐方式
    - Center: 对齐方式
    - CenterLeft: 对齐方式
    - CenterRight: 对齐方式
    left离容器左侧的距离。
    right离容器右侧的距离。
    top离容器上侧的距离。
    bottom离容器下侧的距离。

    MainComponent

    Inherits or Implemented: IComparable

    MarkArea

    Inherits or Implemented: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    fielddefaultsincecomment
    showtrue是否显示标域。
    textThe text of markArea. 标域显示的文本。
    serieIndex0Serie index of markArea. 标域影响的Serie索引。
    start标域范围的起始数据。 MarkAreaData
    end标域范围的结束数据。 MarkAreaData
    itemStyle标域样式。 ItemStyle
    label标域文本样式。 LabelStyle

    MarkAreaData

    Inherits or Implemented: ChildComponent

    标域的数据。

    fielddefaultsincecomment
    type特殊的标域类型,用于标注最大值最小值等。
    MarkAreaType:
    - None: 标域类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标注名称。会作为文字显示。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    Inherits or Implemented: MainComponent

    图表标线。

    fielddefaultsincecomment
    showtrue是否显示标线。
    serieIndex0标线影响的Serie索引。
    animation标线的动画样式。 AnimationStyle
    data标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLineData

    Inherits or Implemented: ChildComponent

    图表标线的数据。

    fielddefaultsincecomment
    type特殊的标线类型,用于标注最大值最小值等。
    MarkLineType:
    - None: 标线类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    group0分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。
    zeroPositionfalse是否为坐标系原点。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle
    lineStyle标线样式。 LineStyle
    label文本样式。可设置position为Start、Middle和End在不同的位置显示文本。 LabelStyle

    MarqueeStyle

    Inherits or Implemented: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    fielddefaultsincecomment
    applyfalsev3.5.0选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。
    realRectfalsev3.5.0是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。
    areaStylev3.5.0选取框区域填充样式。 AreaStyle
    lineStylev3.5.0选取框区域边框样式。 LineStyle

    Padding

    Inherits or Implemented: ChildComponent

    边距设置。

    fielddefaultsincecomment
    showtrueshow padding. 是否显示。
    top0顶部间距。
    right2f右部间距。
    left2f左边间距。
    bottom0底部间距。

    Parallel

    Inherits or Implemented: Serie,INeedSerieContainer

    ParallelAxis

    Inherits or Implemented: Axis

    ParallelCoord

    Inherits or Implemented: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    fielddefaultsincecomment
    showtrue是否显示直角坐标系网格。
    orient坐标轴朝向。默认为垂直朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。

    Pie

    Inherits or Implemented: Serie

    PolarAxisTheme

    Inherits or Implemented: BaseAxisTheme

    PolarCoord

    Inherits or Implemented: CoordSystem,ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    fielddefaultsincecomment
    showtrue是否显示极坐标。
    center极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    backgroundColor极坐标的背景色,默认透明。

    Radar

    Inherits or Implemented: Serie,INeedSerieContainer

    fielddefaultsincecomment
    smoothfalsev3.2.0是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    Inherits or Implemented: BaseAxisTheme

    RadarCoord

    Inherits or Implemented: CoordSystem,ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    Inherits or Implemented: Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    Inherits or Implemented: BaseAxisTheme

    Ring

    Inherits or Implemented: Serie

    Scatter

    Inherits or Implemented: BaseScatter

    SelectStyle

    Inherits or Implemented: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    Inherits or Implemented: BaseSerie,IComparable

    系列。

    fielddefaultsincecomment
    index系列索引。
    showtrue系列是否显示在图表上。
    coordSystem使用的坐标系。
    serieType系列类型。
    serieName系列名称,用于 tooltip 的显示,legend 的图例筛选。
    statev3.2.0系列的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    colorByv3.2.0从主题中取色的策略。
    SerieColorBy:
    - Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略
    - Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    - Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。
    stack数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。
    xAxisIndex0使用X轴的index。
    yAxisIndex0使用Y轴的index。
    radarIndex0雷达图所使用的 radar 组件的 index。
    vesselIndex0水位图所使用的 vessel 组件的 index。
    polarIndex0所使用的 polar 组件的 index。
    singleAxisIndex0所使用的 singleAxis 组件的 index。
    parallelIndex0所使用的 parallel coord 组件的 index。
    minShow系列所显示数据的最小索引
    maxShow系列所显示数据的最大索引
    maxCache系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。
    sampleDist0采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。
    sampleType采样类型。当sampleDist大于0时有效。
    SampleType:
    - Peak: 取峰值。
    - Average: 取过滤点的平均值。
    - Max: 取过滤点的最大值。
    - Min: 取过滤点的最小值。
    - Sum: 取过滤点的和。
    sampleAverage0设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。
    lineType折线图样式类型。
    LineType:
    - Normal: 普通折线图。
    - Smooth: 平滑曲线。
    - StepStart: 阶梯线图:当前点。
    - StepMiddle: 阶梯线图:当前点和下一个点的中间。
    - StepEnd: 阶梯线图:下一个拐点。
    smoothLimitfalsev3.4.0是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。
    barType柱形图类型。
    BarType:
    - Normal: 普通柱形图。
    - Zebra: 斑马柱形图。
    - Capsule: 胶囊柱形图。
    barPercentStackfalse柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。
    barWidth0柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。
    barMaxWidth0v3.5.0柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。
    barGap0.1f不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。
    barZebraWidth4f斑马线的粗细。
    barZebraGap2f斑马线的间距。
    min最小值。
    max最大值。
    minSize0f数据最小值 min 映射的宽度。
    maxSize1f数据最大值 max 映射的宽度。
    startAngle起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    endAngle结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    minAngle最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。
    clockwisetrue是否顺时针。
    roundCap是否开启圆弧效果。
    splitNumber刻度分割段数。最大可设置36。
    clickOffsettrue鼠标点击时是否开启偏移,一般用在PieChart图表中。
    roseType是否展示成南丁格尔图,通过半径区分数据大小。
    RoseType:
    - None: 不展示成南丁格尔玫瑰图。
    - Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    - Area: 所有扇区圆心角相同,仅通过半径展现数据大小。
    gap间距。
    center中心点。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    showDataDimension数据项里的数据维数。
    showDataName在Editor的inpsector上是否显示name参数
    clipfalse是否裁剪超出坐标系部分的图形。
    ignorefalse是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。
    ignoreValue0忽略数据的默认值。当ignore为true才有效。
    ignoreLineBreakfalse忽略数据时折线是断开还是连接。默认false为连接。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。
    largetrue是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。
    largeThreshold200开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。
    avoidLabelOverlapfalse在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。
    radarType雷达图类型。
    RadarType:
    - Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    - Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]
    placeHolderfalse占位模式。占位模式时,数据有效但不参与渲染和显示。
    dataSortType组件的数据排序。
    SerieDataSortType:
    - None: 按 data 的顺序
    - Ascending: 升序
    - Descending: 降序
    orient组件的朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    align组件水平方向对齐方式。
    Align:
    - Center: 对齐方式
    - Left: 对齐方式
    - Right: 对齐方式
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    lineStyle线条样式。 LineStyle
    symbol标记的图形。 SerieSymbol
    animation起始动画。 AnimationStyle
    itemStyle图形样式。 ItemStyle
    data系列中的数据内容数组。SerieData可以设置1到n维数据。

    SerieData

    Inherits or Implemented: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    fielddefaultsincecomment
    index数据项索引。
    name数据项名称。
    id数据项的唯一id。唯一id不是必须设置的。
    parentId父节点id。父节点id不是必须设置的。
    ignore是否忽略数据。当为 true 时,数据不进行绘制。
    selected该数据项是否被选中。
    radius自定义半径。可用在饼图中自定义某个数据项的半径。
    statev3.2.0数据项的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    data可指定任意维数的数值列表。

    SerieSymbol

    Inherits or Implemented: SymbolStyle,ISerieDataComponent

    系列数据项的标记的图形

    fielddefaultsincecomment
    sizeType标记图形的大小获取方式。
    SymbolSizeType:
    - Custom: 自定义大小。
    - FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    - Function: 通过委托函数获取。
    dataIndex1当sizeType指定为FromData时,指定的数据源索引。
    dataScale1当sizeType指定为FromData时,指定的倍数系数。
    sizeFunction当sizeType指定为Function时,指定的委托函数。
    startIndex开始显示图形标记的索引。
    interval显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    forceShowLastfalse是否强制显示最后一个图形标记。
    repeatfalse图形是否重复。
    minSize0fv3.3.0图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。
    maxSize0fv3.3.0图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieTheme

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    lineWidth文本颜色。
    lineSymbolSize折线图的Symbol大小。
    scatterSymbolSize散点图的Symbol大小。
    pieTooltipExtraRadius饼图鼠标移到高亮时的额外半径
    selectedRate1.3f折线图或散点图在被选中时的放大倍数。
    pieSelectedOffset饼图选中时的中心点偏移。
    candlestickColorColor32(235, 84, 84, 255)K线图阳线(涨)填充色
    candlestickColor0Color32(71, 178, 98, 255)K线图阴线(跌)填充色
    candlestickBorderWidth1K线图边框宽度
    candlestickBorderColorColor32(235, 84, 84, 255)K线图阳线(跌)边框色
    candlestickBorderColor0Color32(71, 178, 98, 255)K线图阴线(跌)边框色

    Settings

    Inherits or Implemented: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    fielddefaultsincecomment
    showtrue
    maxPainter10设定的painter数量。
    reversePainterfalsePainter是否逆序。逆序时index大的serie最先绘制。
    basePainterMaterialBase Pointer 材质球,设置后会影响Axis等。
    seriePainterMaterialSerie Pointer 材质球,设置后会影响所有Serie。
    upperPainterMaterialUpper Pointer 材质球。
    topPainterMaterialTop Pointer 材质球。
    lineSmoothStyle2.5f曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。
    lineSmoothness2fWhen the area with gradient is filled, the larger the value, the worse the transition effect.
    lineSegmentDistance3f线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。
    cicleSmoothness2f圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。
    legendIconLineWidth2Line类型图例图标的线条宽度。
    legendIconCornerRadius图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    axisMaxSplitNumber50v3.1.0坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    SimplifiedBar

    Inherits or Implemented: Serie,INeedSerieContainer,ISimplifiedSerie

    SimplifiedCandlestick

    Inherits or Implemented: Serie,INeedSerieContainer,ISimplifiedSerie

    SimplifiedLine

    Inherits or Implemented: Serie,INeedSerieContainer,ISimplifiedSerie

    SingleAxis

    Inherits or Implemented: Axis,IUpdateRuntimeData

    单轴。

    fielddefaultsincecomment
    orient坐标轴朝向。默认为水平朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1f组件离容器左侧的距离。
    right0.1f组件离容器右侧的距离。
    top0f组件离容器上侧的距离。
    bottom0.2f组件离容器下侧的距离。
    width0坐标轴宽。
    height50坐标轴高。

    SingleAxisCoord

    Inherits or Implemented: CoordSystem

    StageColor

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    percent结束位置百分比。
    color颜色。

    StateStyle

    Inherits or Implemented: ChildComponent

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    fielddefaultsincecomment
    showtrue是否启用高亮样式。
    label图形文本标签。 LabelStyle
    labelLine图形文本引导线样式。 LabelLine
    itemStyle图形样式。 ItemStyle
    lineStyle折线样式。 LineStyle
    areaStyle区域样式。 AreaStyle
    symbol标记样式。 SerieSymbol

    SubTitleTheme

    Inherits or Implemented: ComponentTheme

    SymbolStyle

    Inherits or Implemented: ChildComponent

    系列数据项的标记的图形

    fielddefaultsincecomment
    showtrue是否显示标记。
    type标记类型。
    SymbolType:
    - None: 不显示标记。
    - Custom: 自定义标记。
    - Circle: 圆形。
    - EmptyCircle: 空心圆。
    - Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    - EmptyRect: 空心正方形。
    - Triangle: 三角形。
    - EmptyTriangle: 空心三角形。
    - Diamond: 菱形。
    - EmptyDiamond: 空心菱形。
    - Arrow: 箭头。
    - EmptyArrow: 空心箭头。
    size0f标记的大小。
    gap0图形标记和线条的间隙距离。
    width0f图形的宽。
    height0f图形的高。
    offsetVector2.zero图形的偏移。
    image自定义的标记图形。
    imageType图形填充类型。
    color图形的颜色。

    TextLimit

    Inherits or Implemented: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    fielddefaultsincecomment
    enablefalse是否启用文本自适应。 [default:true]
    maxWidth0Clipping occurs when the width of the text is greater than this value.
    gap1两边留白像素距离。 [default:10f]
    suffix长度超出时的后缀。 [default: "..."]

    TextPadding

    Inherits or Implemented: Padding

    文本的内边距设置。

    TextStyle

    Inherits or Implemented: ChildComponent

    文本的相关设置。

    fielddefaultsincecomment
    showtrue文本的相关设置。
    font文本字体。 [default: null]
    autoWrapfalse是否自动换行。
    autoAligntrue文本是否让系统自动选对齐方式。为false时才会用alignment。
    rotate0文本的旋转。 [default: 0f]
    autoColorfalse是否开启自动颜色。当开启时,会自动设置颜色。
    color文本的颜色。 [default: Color.clear]
    fontSize0文本字体大小。 [default: 18]
    fontStyle文本字体的风格。 [default: FontStyle.Normal]
    lineSpacing1f行间距。 [default: 1f]
    alignment对齐方式。
    tMPFontTextMeshPro字体。
    tMPFontStyle
    tMPAlignment
    tMPSpriteAssetv3.1.0

    Theme

    Inherits or Implemented: ScriptableObject

    主题相关配置。

    fielddefaultsincecomment
    themeType主题类型。
    ThemeType:
    - Default: 默认主题。
    - Light: 亮主题。
    - Dark: 暗主题。
    - Custom: 自定义主题。
    themeName主题名称。
    font主题字体。
    tMPFont主题字体。
    contrastColor对比色。
    backgroundColor背景颜色。
    colorPalette调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
    commonComponentTheme
    titleTitleTheme
    subTitleSubTitleTheme
    legendLegendTheme
    axisAxisTheme
    tooltipTooltipTheme
    dataZoomDataZoomTheme
    visualMapVisualMapTheme
    serieSerieTheme

    ThemeStyle

    Inherits or Implemented: ChildComponent

    主题相关配置。

    fielddefaultsincecomment
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse是否透明背景颜色。当设置为true时,不绘制背景颜色。
    enableCustomThemefalse是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。
    customFont
    customBackgroundColor自定义的背景颜色。
    customColorPalette

    Title

    Inherits or Implemented: MainComponent,IPropertyChanged

    标题组件,包含主标题和副标题。

    fielddefaultsincecomment
    showtrue是否显示标题组件。
    text主标题文本,支持使用 \n 换行。
    subText副标题文本,支持使用 \n 换行。
    labelStyle主标题文本样式。 LabelStyle
    subLabelStyle副标题文本样式。 LabelStyle
    itemGap0主副标题之间的间距。
    location标题显示位置。 Location

    TitleStyle

    Inherits or Implemented: LabelStyle,ISerieDataComponent,ISerieComponent

    标题相关设置。

    TitleTheme

    Inherits or Implemented: ComponentTheme

    Tooltip

    Inherits or Implemented: MainComponent

    提示框组件。

    fielddefaultsincecomment
    showtrue是否显示提示框组件。
    type提示框指示器类型。
    Tooltip.Type:
    - Line: 直线指示器
    - Shadow: 阴影指示器
    - None: 无指示器
    - Corss: 十字准星指示器。坐标轴显示Label和交叉线。
    trigger触发类型。
    Tooltip.Trigger:
    - Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    - Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    - None: 什么都不触发。
    positionv3.3.0显示位置类型。
    Tooltip.Position:
    - Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    - Custom: 自定义。完全自定义显示位置(x,y)。
    - FixedX: 只固定坐标X。Y跟随鼠标位置。
    - FixedY:
    itemFormatter提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用
    titleFormatter提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
    markerserie的符号标志。
    fixedWidth0固定宽度。比 minWidth 优先。
    fixedHeight0固定高度。比 minHeight 优先。
    minWidth0最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。
    minHeight0最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    paddingLeftRight10左右边距。
    paddingTopBottom10上下边距。
    ignoreDataShowfalse是否显示忽略数据在tooltip上。
    ignoreDataDefaultContent被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。
    showContenttrue是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。
    alwayShowContentfalse是否触发后一直显示提示框浮层。
    offsetVector2(18f, -25f)提示框相对于鼠标位置的偏移。
    backgroundImage提示框的背景图片。
    backgroundType提示框的背景图片显示类型。
    backgroundColor提示框的背景颜色。
    borderWidth2f边框线宽。
    fixedX0f固定X位置的坐标。
    fixedY0.7f固定Y位置的坐标。
    titleHeight25f标题文本的高。
    itemHeight25f数据项文本的高。
    borderColorColor32(230, 230, 230, 255)边框颜色。
    lineStyle指示线样式。 LineStyle
    titleLabelStyle标题的文本样式。 LabelStyle
    contentLabelStyles内容部分的文本样式列表。和列一一对应。

    TooltipTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f指示线线宽。
    lineColor指示线颜色。
    areaColor区域指示的颜色。
    labelTextColor十字指示器坐标轴标签的文本颜色。
    labelBackgroundColor十字指示器坐标轴标签的背景颜色。

    UIComponentTheme

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse

    VisualMap

    Inherits or Implemented: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    fielddefaultsincecomment
    showtrue组件是否生效。
    showUIfalse是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。
    type组件类型。
    VisualMap.Type:
    - Continuous: 连续型。
    - Piecewise: 分段型。
    selectedMode选择模式。
    VisualMap.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    serieIndex0影响的serie索引。
    min0范围最小值
    max0范围最大值
    range指定手柄对应数值的位置。range 应在[min,max]范围内。
    text两端的文本,如 ['High', 'Low']
    textGap两端文字主体之间的距离,单位为px。
    splitNumber5对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。
    calculablefalse是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。
    realtimetrue拖拽时,是否实时更新。
    itemWidth20f图形的宽度,即颜色条的宽度。
    itemHeight140f图形的高度,即颜色条的高度。
    itemGap10f每个图元之间的间隔距离。
    borderWidth0边框线宽,单位px。
    dimension-1Starting at 1, the default is 0 to take the last dimension in data.
    hoverLinktrueConversely, when the mouse hovers over a graphic element in a diagram, the corresponding value of the visualMap component is triangulated in the corresponding position.
    autoMinMaxtrueAutomatically set min, Max value 自动设置min,max的值
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location组件显示的位置。 Location
    workOnLinetrue组件是否对LineChart的LineStyle有效。
    workOnAreafalse组件是否对LineChart的AreaStyle有效。
    outOfRange定义 在选中范围外 的视觉颜色。
    inRange分段式每一段的相关配置。

    VisualMapRange

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    min范围最小值
    max范围最大值
    label文字描述
    color颜色

    VisualMapTheme

    Inherits or Implemented: ComponentTheme

    fielddefaultsincecomment
    borderWidth边框线宽。
    borderColor边框颜色。
    backgroundColor背景颜色。
    triangeLen20f可视化组件的调节三角形边长。

    XAxis

    Inherits or Implemented: Axis

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    XCSettings

    Inherits or Implemented: ScriptableObject

    fielddefaultsincecomment
    langLang
    font
    tMPFont
    fontSizeLv128一级字体大小。
    fontSizeLv224
    fontSizeLv320
    fontSizeLv418
    axisLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisLineWidth0.8f
    axisSplitLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisSplitLineWidth0.8f
    axisTickWidth0.8f
    axisTickLength5f
    gaugeAxisLineWidth15f
    gaugeAxisSplitLineWidth0.8f
    gaugeAxisSplitLineLength15f
    gaugeAxisTickWidth0.8f
    gaugeAxisTickLength5f
    tootipLineWidth0.8f
    dataZoomBorderWidth0.5f
    dataZoomDataLineWidth0.5f
    visualMapBorderWidth0f
    serieLineWidth1.8f
    serieLineSymbolSize5f
    serieScatterSymbolSize20f
    serieSelectedRate1.3f
    serieCandlestickBorderWidth1f
    editorShowAllListDatafalse
    maxPainter10
    lineSmoothStyle3f
    lineSmoothness2f
    lineSegmentDistance3f
    cicleSmoothness2f
    visualMapTriangeLen20f
    pieTooltipExtraRadius8f
    pieSelectedOffset8f
    customThemes

    YAxis

    Inherits or Implemented: Axis

    直角坐标系 grid 中的 y 轴。

    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/extra/index.html b/en/docs/v3.6.0/extra/index.html index 9ca089f9..c4150b47 100644 --- a/en/docs/v3.6.0/extra/index.html +++ b/en/docs/v3.6.0/extra/index.html @@ -14,13 +14,13 @@ 扩展图表 | XCharts - - + +
    Version: v3.6.0

    扩展图表

    XCharts的扩展图表。

    支持的扩展图表

    扩展图表如何导入到XCharts-Demo

    Pie3DChart 为例:

    1. 购买图表:购买扩展图表后,Github找到仓库 XCharts-Pie3DChart(私有仓库,购买后加入Team才可见)
    2. 下载图表:选择和XCharts最接近的版本
    3. 导入图表:将下载好的XCharts-Pie3DChart目录覆盖到XCharts-Demo项目中的Packages/XCharts-Pie3DChart
    4. 下载图表Demo:Github找到仓库 XCharts-Pie3DChart-Demo并下载
    5. 导入图表Demo:将下载好的XCharts-Pie3DChart-Demo目录覆盖到XCharts-Demo项目中的Assets/XChartsExtensionDemo/XCharts-Pie3DChart-Demo

    扩展图表如何导入自己的项目中

    Pie3DChart 为例:

    1. 先确保项目中已导入XCharts
    2. 再导入XCharts-Pie3DChart即可,不需要导入XCharts-Pie3DChart-Demo(如果要导入的话需要Unity版本接近2019.4.39f1)
    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/faq/index.html b/en/docs/v3.6.0/faq/index.html index dec327b3..3922543f 100644 --- a/en/docs/v3.6.0/faq/index.html +++ b/en/docs/v3.6.0/faq/index.html @@ -14,8 +14,8 @@ 常见问题 | XCharts - - + +
    @@ -50,7 +50,7 @@ QA 29:如何修改Serie的Symbol的颜色?
    QA 30:导入或更新XCharts时TMP报错怎么办?
    QA 31:支持空数据吗?如何实现折线图断开的效果?

    如何调整坐标轴与背景的边距

    答:Grid组件,可调整上下左右边距。

    如何让初始动画重新播放

    答:调用AnimationReset()接口。

    如何自定义折线图_饼图等数据项的颜色

    答:通过ThemecolorPalette调整,或者部分Serie下的LineStyleItemStyle

    如何格式化文字_如我想给坐标轴标签加上单位

    答:通过formatternumericFormatter参数,在LegendAxisAxisLabelTooltopSerieLabel都提供该参数的配置。

    如何让柱形图的柱子堆叠显示

    答:设置Serie下的stackstack相同的serie会堆叠显示在一个柱子上。

    如何让柱形图的柱子同柱但不重叠

    答:设置Serie下的barGap-1stack为空。

    如何调整柱形图的柱子宽度和间距

    答:调整Serie下的barWidthbarGap,多个serie时最后一个seriebarWidthbarGap有效。

    如何调整柱形图单个柱子的颜色

    答:可通过调整单个Data下的ItemStyle调整,也可以通过两个serie同柱不堆叠来实现,通过设置数据项为0来达到类似效果。

    如何调整图表的对齐方式

    答:调整RectTransform的锚点,和UGUI的其他组件的用法一致。

    可以显示超过1000以上的大数据吗

    答:可以。但UGUI对单个Graphic限制65000个顶点,所以太多的数据不一定能显示完全。可通过设置采样距离sampleDist开启采样简化过密曲线。也可以通过设置一些参数来减少图表的顶点数有助于显示更多数据。如缩小图表的尺寸,关闭或减少坐标轴的客户端绘制,关闭Seriesymbollabel显示等。折线图的普通线图Normal比平滑线图Smooth占用顶点数更少。1.5.0以上版本可以设置largelargeThreshold参数来开启性能模式。

    折线图可以画虚线点线点划线吗

    答:可以。通过Serie下的lineType选择线条样式。当要显示的数据过多(成千以上)数据间过密时建议使用Normal或者Step样式。

    如何限定Y轴的值范围

    答:设置Axis下的minMaxTypeCustom,自定义minmax

    如何自定义数值轴刻度大小

    答:默认时通过Axis下的splitNumer进行自动划分。也可以设置interval自定义刻度大小。

    如何在数据项顶上显示文本

    答:通过设置Serie下的Label。3.0版本需要先添加LabelStyle组件。

    如何给数据项自定义图标

    答:通过设置Seriedata下的数据项可单独设置icon相关参数。

    锯齿太严重_如何让图表更顺滑

    答:开启抗锯齿设置(在Unity里设置)。调整UI渲染模式为Camera模式,开启MSAA,设置4倍或更高抗锯齿。

    为什么鼠标移上图表Tooltip不显示

    答:确认Tooltip是否开启;确认父节点是否关闭了鼠标事件。

    如何取消Tooltip的竖线

    答:设置TooltiptypeNone。或者调整lineStyle的参数。

    如何自定义Tooltip的显示内容

    答:自定义总的内容可以通过Tooltipformatter。如果只是想调整所有的serie的显示格式可以用itemFormattertitleFormatter结合。如果想每个serie的显示格式不一样,可以定制serieitemStyle里的tooltipFormatter。具体的用法请查阅XCharts配置项手册

    如何让Y轴显示多位小数

    答:设置Axis下的AxisLabel中的formatter{value:f1}{value:f2}1.5.0及以上版本通过numericFormatter设置。

    如何用代码动态更新数据

    答:请查阅Example下的代码,Example13_LineSimple.cs就是一个简单添加数据构建折线图的例子,其他Demo也都是通过代码控制不同的组件实现不同的功能,相关API请查看文档:XChartsAPI接口

    如何显示图例_为什么有时候图例无法显示

    答:首先,你的serie里的name需有值不为空。然后开启Legend显示,里面的data可以默认为空,表示显示所有的图例。如果你只想显示部分serie的图例,在data中填入要显示的图例的name即可。如果data中的值都不是系列的name,那图例就不会显示。

    如何做成预设

    答:做成prefab前,执行一下Rebuild Chart Object重新刷新节点,避免有冗余的节点存在。

    如何在图表上画点画线等自定义内容

    答:XCharts有自定义绘制回调onCustomDraw,具体可参考Example12_CustomDrawing.cs

    如何实现心电图类似的数据移动效果

    答:参考Example目录下的Example_Dynamic.cs。主要通过设置maxCache参数实现。axisserie都设置相同的maxCachemaxCache可固定数据个数,当数据超过设定时会先删除第一个在添加新数据,实现数据移动效果。

    如何使用背景组件_有什么条件限制

    答:设置background组件的showtrue

    区域折线图在用半透明颜色时有时候会一条叠加的线

    答:这是区域折线图绘制的bug。可以用浅的不透的颜色替代半透明颜色。

    Mesh_cannot_have_more_than_65000_vertices

    答:这是UGUI对单个Graphic的顶点数限制。XCharts是将图形绘制在单个Graphic上,所以也会有这个限制。解决的办法可以参考:QA 10:可以显示超过1000以上的大数据吗?

    为什么serie里设置的参数运行后又被重置了

    答:检测下代码里是否调用了RemoveData()并重新添加Serie了。如果想保留Serie的配置可以只ClearData(),然后重新添加数据。

    如何修改Serie的Symbol的颜色

    答:Symbol 的颜色是使用的 ItemStylecolor

    导入或更新XCharts时TMP报错怎么办

    答:XCharts默认时不开启TMP,所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    支持空数据吗_如何实现折线图断开的效果

    答:Seriedatadouble类型,所以无法表示空数据。可通过开启Serieignore和指定ignoreValue来达到空数据的效果。也可以每个SerieData设置ignore参数。忽略数据后断开还是连接可设置ignoreLineBreak参数。

    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/funnel/index.html b/en/docs/v3.6.0/funnel/index.html index 302d7f01..2c9a3870 100644 --- a/en/docs/v3.6.0/funnel/index.html +++ b/en/docs/v3.6.0/funnel/index.html @@ -14,14 +14,14 @@ FunnelChart 漏斗图 | XCharts - - + +
    Version: v3.6.0

    FunnelChart 漏斗图

    XCharts的付费扩展图表 - 漏斗图。

    funnel

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    FunnelChart

    Inherits or Implemented: BaseChart

    配置项手册

    Funnel

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    rectEndv3.3.0是否最后以矩形结束。默认false以三角形结束。
    dynamicHeightv3.3.0是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/gantt/index.html b/en/docs/v3.6.0/gantt/index.html index 36fa7918..d59aa594 100644 --- a/en/docs/v3.6.0/gantt/index.html +++ b/en/docs/v3.6.0/gantt/index.html @@ -14,14 +14,14 @@ GanttChart 甘特图 | XCharts - - + +
    Version: v3.6.0

    GanttChart 甘特图

    XCharts付费扩展图表 - 甘特图。

    gantt

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    GanttChart

    Inherits or Implemented: BaseChart

    public methodsincedescription
    GetSeriesMinMaxValue()public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    InitAxisRuntimeData()public override void InitAxisRuntimeData(Axis axis)
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)

    配置项手册

    Gantt

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    disableDrag

    GanttStyle

    Inherits or Implemented: MainComponent

    fielddefaultsincecomment
    showtrue
    ganttType甘特图类型。
    GanttType:
    - Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    - Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。
    inverttrue
    dragEnabletrue是否可以拖拽甘特图。
    dragSensitivity1f拖拽的灵敏度。
    dragRangeMin0拖拽最小值限制。
    dragRangeMax0拖拽最大值限制。
    autoAdsorbAlignlinetrue拖拽结束后是否自动吸附到对齐线。
    alignlineDataIndex1显示对齐线的数据项索引。
    showAlignlineRange10f显示对齐线的范围。
    aliginLine对齐线样式。
    splitArea
    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/gauge/index.html b/en/docs/v3.6.0/gauge/index.html index 1cc6ebab..db140cb0 100644 --- a/en/docs/v3.6.0/gauge/index.html +++ b/en/docs/v3.6.0/gauge/index.html @@ -14,14 +14,14 @@ GaugeChart 仪表盘 | XCharts - - + +
    Version: v3.6.0

    GaugeChart 仪表盘

    XCharts付费扩展图表 - 仪表盘。

    gauge

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    master

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.17) 增加GaugerangeDataMode可设置是否使用范围数据模式
    • (2023.03.17) 增加Gaugeloop可设置是否循环数据,用于时钟甘特图
    • (2023.03.17) 增加GaugePointervalue可设置指针位置
    • (2023.03.17) 增加Clock时钟仪表盘支持
    • (2023.03.13) 增加GaugePointernowTime可设置指针指向当前时间
    • (2023.03.13) 增加GaugePointervalue可设置当前指针位置
    • (2023.03.13) 增加Clock类型的甘特图支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.10.05) 增加GaugeAxisLinestageGradient支持设置阶段渐变色过渡

    v3.3.0

    • (2022.09.28) 发布v3.3.0版本
    • (2022.08.26) 修复Pointer在普通模式下不显示的问题
    • (2022.08.25) 增加label颜色跟随数值变化的支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.15) 支持渐变

    API

    GaugeChart

    Inherits or Implemented: BaseChart

    配置项手册

    Gauge

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    rangeDataModefalsev3.6.0数值是否为范围数据。启用该模式后,data中的每个值都是一个数组,数组中的第一个值为起始值,第二个值为结束值。指针只有一个,数据绘制为环形。
    loopfalsev3.6.0数值是否循环。可用在钟表图。
    gaugeAxis仪表盘轴线。 GaugeAxis
    gaugePointer仪表盘指针。 GaugePointer
    gaugeAnchor仪表盘指针固定点。 GaugeAnchor

    GaugeAnchor

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showtrue是否显示指针固定点。
    showAbovetrue固定点是否显示在指针上面。
    type标记类型。
    size6标记的大小。
    gap0图形标记和线条的间隙距离。
    image自定义的标记图形。
    imageType
    offsetCenterVector2(0, 0)相对于中心的偏移位置。
    itemStyle图形样式。

    GaugeAxis

    Inherits or Implemented: ChildComponent

    仪表盘轴线相关设置。

    fielddefaultsincecomment
    showtrue
    type
    GaugeAxisType:
    - None: 仪表盘类型
    - Section: 分段
    - Progress: 进度
    overlaptrue
    distance
    axisLine仪表盘轴线样式。 GaugeAxisLine
    splitLine分割线。
    axisTick刻度。
    axisLabel文本标签。
    axisLabelText自定义Label的内容。

    GaugeAxisLine

    Inherits or Implemented: BaseLine

    fielddefaultsincecomment
    backgroundColorColor32(230, 235, 248, 255)进度条背景颜色。
    stageColor阶段颜色。
    stageGradientv3.4.0阶段颜色是否渐变过渡。

    GaugePointer

    Inherits or Implemented: ChildComponent

    仪表盘指针相关设置。

    fielddefaultsincecomment
    showtrue是否显示指针。
    length0.6f指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backLength0.05f指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backExtraLength0.05f指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topLeftLength0f指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topRightLength0f指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomLeftLength0.025f指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomRightLength0.025f指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    distance
    roundCap
    autoColortrue
    color
    toColor
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    valuev3.6.0指针的值。当为时钟仪表盘时,可通过指定value值来控制指针的位置。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/inputsystem/index.html b/en/docs/v3.6.0/inputsystem/index.html index 272e7d59..fdc92729 100644 --- a/en/docs/v3.6.0/inputsystem/index.html +++ b/en/docs/v3.6.0/inputsystem/index.html @@ -14,13 +14,13 @@ 切换到新的输入系统Input System | XCharts - - + +
    Version: v3.6.0

    教程:切换到新的输入系统Input System

    1. 按图示修改项目配置中输入模式为 Input System

    Project Settings

    2. 使用 Unity Package Manager 安装 Input System

    UPM

    3. 选中场景中 EventSystem 游戏对象,更换输入模组

    Input Module

    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/lang/articles/ui/ui_statistic/index.html b/en/docs/v3.6.0/lang/articles/ui/ui_statistic/index.html index e2be0614..0fc9ffaa 100644 --- a/en/docs/v3.6.0/lang/articles/ui/ui_statistic/index.html +++ b/en/docs/v3.6.0/lang/articles/ui/ui_statistic/index.html @@ -14,13 +14,13 @@ UIStatistic 统计数值 | XCharts - - + +
    Version: v3.6.0

    UIStatistic 统计数值

    statistic

    统计数值组件。用于展示统计数值。

    何时使用:

    • 当需要突出某个或某组数字时。
    • 当需要展示带描述的统计类数据时使用。

    支持的功能有:

    • 常规数值
    • 倒计时
    • 添加图标
    • 变更动画
    • 事件回调
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/lang/articles/ui/ui_table/index.html b/en/docs/v3.6.0/lang/articles/ui/ui_table/index.html index 9744330c..8b031e19 100644 --- a/en/docs/v3.6.0/lang/articles/ui/ui_table/index.html +++ b/en/docs/v3.6.0/lang/articles/ui/ui_table/index.html @@ -14,13 +14,13 @@ UITable 表格 | XCharts - - + +
    Version: v3.6.0

    UITable 表格

    table

    表格组件。可用于展示行列数据。

    支持的功能有:

    • 显示或隐藏列表头
    • 显示或隐藏行表头
    • 任意调整行列宽高
    • 支持行号
    • 支持选中
    • 支持分割线
    • 支持滚动和拖拽
    • 支持滚动条
    • 支持图标图片
    • 排序(暂不支持)
    • 分页(暂不支持)
    • 查找(暂不支持)
    • 过滤(暂不支持)
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/liquid/index.html b/en/docs/v3.6.0/liquid/index.html index 4a92ff19..84c76ab2 100644 --- a/en/docs/v3.6.0/liquid/index.html +++ b/en/docs/v3.6.0/liquid/index.html @@ -14,14 +14,14 @@ LiquidChart 水位图 | XCharts - - + +
    Version: v3.6.0

    LiquidChart 水位图

    XCharts的付费扩展图表 - 水位图。

    liquid

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    LiquidChart

    Inherits or Implemented: BaseChart

    VesselContext

    Inherits or Implemented: MainComponentContext

    配置项手册

    Liquid

    Inherits or Implemented: Serie,INeedSerieContainer

    fielddefaultsincecomment
    waveHeight10f波高。
    waveLength20f波长。为0-1小数时指直线的百分比。
    waveSpeed5f波速。正数时左移,负数时右移。
    waveOffset0f波偏移。

    Vessel

    Inherits or Implemented: MainComponent,ISerieContainer,IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    fielddefaultsincecomment
    showtrue是否显示容器组件。 [defaut: true]
    shape容器形状。 [default: Shape.Circle]
    Vessel.Shape:
    - Circle: 圆形
    - Rect: 正方形。
    - Triangle: 三角形。
    - Diamond: 菱形。
    shapeWidth5f容器厚度。 [defaut: 5f]
    gap5f间隙。容器和液体的间隙。 [defaut: 10f]
    colorColor32(70, 70, 240, 255)容器颜色。默认和serie一致。
    backgroundColor背景色,默认透明。 [default: Color.clear]
    autoColortrue是否自动颜色。为true时颜色会和serie一致。 [default: true]
    centerWhen value between 0 and 1 represents a percentage relative to the chart.
    radius0.35fWhen value between 0 and 1 represents a percentage relative to the chart.
    smoothness1f水波平滑度。 [default: 1f]
    width0.5fWhen value between 0 and 1 represents a percentage relative to the chart.
    height0.7fWhen value between 0 and 1 represents a percentage relative to the chart.
    borderWidth0f内壁边框。
    borderColorColor32(70, 70, 240, 255)容器内壁边框颜色。默认和serie一致。
    cornerRadius容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/pictorialbar/index.html b/en/docs/v3.6.0/pictorialbar/index.html index e327e241..693c2eeb 100644 --- a/en/docs/v3.6.0/pictorialbar/index.html +++ b/en/docs/v3.6.0/pictorialbar/index.html @@ -14,14 +14,14 @@ PictorialBarChart 象形柱图 | XCharts - - + +
    Version: v3.6.0

    PictorialBarChart 象形柱图

    XCharts付费扩展图表 - 象形柱图。

    pictorialbar

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBarChart

    Inherits or Implemented: BaseChart

    配置项手册

    PictorialBar

    Inherits or Implemented: Serie,INeedSerieContainer

    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/pie3d/index.html b/en/docs/v3.6.0/pie3d/index.html index 999fa1ce..f0bbee57 100644 --- a/en/docs/v3.6.0/pie3d/index.html +++ b/en/docs/v3.6.0/pie3d/index.html @@ -14,14 +14,14 @@ Pie3DChart 3D饼图 | XCharts - - + +
    Version: v3.6.0

    Pie3DChart 3D饼图

    XCharts的付费扩展图表 - 3D饼图。

    pie3d

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.3.0

    • (2022.09.02) 增加onPointerEnterPie回调支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pie3DChart

    Inherits or Implemented: BaseChart

    Pie3DSlice

    public methodsincedescription
    Contains()public bool Contains(float angle)
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    IsInSidePolygon()public bool IsInSidePolygon(Vector2 p)
    IsInStartOrEndSide()public bool IsInStartOrEndSide(Vector2 p)
    IsInTopPolygon()public bool IsInTopPolygon(Vector2 p)
    Pie3DSlice()public Pie3DSlice()
    UpdateValue()public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig)

    配置项手册

    Pie3D

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    pie3DStylePie3DStyle

    Pie3DStyle

    Inherits or Implemented: ChildComponent

    3D饼图样式。

    fielddefaultsincecomment
    showtrue
    ellipseMinorAxis0.65f椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。
    pieMaxHeight20f饼图厚度。
    pieAutoHeightfalse是否自动根据比例计算厚度。
    selectedOffsetVector2(0.1f, 0.5f)The offset of selected pie slice. 被选中状态的饼图块的额外偏移。
    peripherySideColorRate0.8f饼图切块的侧面颜色。
    startSideColorRate0.7f饼图切块的起始面颜色(顺时针)。
    endSideColorRate0.65f饼图切块的结束面颜色(顺时针)。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/pyramid/index.html b/en/docs/v3.6.0/pyramid/index.html index f05a66a2..f167580e 100644 --- a/en/docs/v3.6.0/pyramid/index.html +++ b/en/docs/v3.6.0/pyramid/index.html @@ -14,14 +14,14 @@ PyramidChart 金字塔 | XCharts - - + +
    Version: v3.6.0

    PyramidChart 金字塔

    XCharts付费扩展图表 - 金字塔。

    pyramid

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.21) 增加Tooltip支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    PyramidChart

    Inherits or Implemented: BaseChart

    配置项手册

    Pyramid

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    pyramidStylePyramidStyle

    PyramidStyle

    Inherits or Implemented: ChildComponent

    fielddefaultsincecomment
    showtrue
    3Dtrue
    drawToptrue
    bottomPointRate0.5f3D模式下,底部中点占金字塔宽度的比例
    leftPointRate0.1f3D模式下,底部左边点占金字塔高度的比例
    rightPointRate0.1f3D模式下,底部右边点占金字塔高度的比例
    leftColorOpacity0.9f3D模式下,金字塔左边的颜色透明度
    rightColorOpacity0.7f3D模式下,金字塔右边的颜色透明度
    topColorOpacity0.99f3D模式下,金字塔顶部的颜色透明度
    labelLineMargin10fLabel标签距离右边的距离
    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/support/index.html b/en/docs/v3.6.0/support/index.html index c634e371..60bedcaa 100644 --- a/en/docs/v3.6.0/support/index.html +++ b/en/docs/v3.6.0/support/index.html @@ -14,15 +14,15 @@ 订阅服务 | XCharts - - + +
    Version: v3.6.0

    订阅服务

    如需技术支持,可订阅个人VIP服务。扫后面的二维码付费后可加VIP群867291970,验证信息请输入付费的账号。
    企业商务合作可联系QQ:3525422251(XCharts技术支持)。

    订阅VIP服务

    订阅服务分个人订阅企业订阅

    • 个人订阅个人VIP属于个人,不可转让,XCharts团队只服务于订阅当事人。
    • 企业订阅企业VIP属于企业,席位内可安排固定职员,职员离职后席位可重新安排,XCharts团队通过专属企业群为企业服务。

    订阅服务有哪些优势?

    • 提高工作效率,节省时间成本。一方面,XCharts功能强大,相关配置项非常多,VIP服务可快速帮您定位,节省去查找和核对的时间;另一方面,VIP的即时回答服务可快速为您答疑解惑,避免中断开发流程,快速上手,快速处理问题,至少能提高10倍以上的工作效率。
    • 更多技术交流,更多经验交流。XCharts团队成员从业多年,有丰富的技术和工作经验。VIP服务不仅可以交流XCharts相关的内容,也可以咨询其他方面的技术。VIP群也有更多的交流。
    • 扩展图表需要订阅VIP服务后才能购买,扩展图表超过1年后的更新支持也需要持续订阅VIP服务。
    • VIP用户可加入XChartsGitHub组织,参与XCharts的社区构建,访问专有仓库。拥有扩展UI组件等专属功能。
    • XCharts交流群里拥有VIP专属标识,问题会第一时间得到响应,有问即答。
    免费用户付费咨询个人VIP个人SVIP企业VIP
    订阅费用--98¥298¥首年1298¥
    后续298¥*
    联系我们
    订阅时长--7天*11年*1
    订阅席位--1个席位1个席位1个席位5个以上席位
    服务方式:
    官方QQ群交流
    即时一对一交流
    专属VIP群交流√(专属企业群)
    服务内容:
    可商用
    可二次开发
    有问即答
    新手指导
    开发指导
    优化指导
    其他技术支持
    问题及时处理
    需求优先考虑
    可另付费定制
    可另付费加急
    扩展UI组件
    扩展图表购买按需购买全部免费全部免费
    扩展图表源码永久持有永久持有永久持有
    扩展图表更新1年更新支持1年更新支持1年更新支持

    购买扩展图表

    扩展图表为另付费购买图表,只对订阅了VIP服务的用户开放购买。对于SVIP的订阅用户,所有扩展图表仓库可免费使用,不用再单独购买。

    对所有已购买的扩展图表,源码可永久持有,并获得持续一年的更新支持,一年后如需更新支持服务,可再继续订阅VIP服务。

    编号扩展图表价格备注
    101PictorialBarChart98¥象形柱图
    102FunnelChart98¥漏斗图
    103PyramidChart98¥3D金字塔
    104TreemapChart98¥树形矩图
    201Bar3DChart198¥3D柱图
    202Pie3DChart198¥3D饼图
    203GanttChart198¥甘特图
    204GaugeChart198¥仪表盘
    205LiquidChart198¥水位图

    备注说明

    1. 付费定制 是指用户可根据自己的需求定制不同的图表或新功能,只有VIP用户才享有付费定制权利。
    2. 付费加急 是指用户可对自己非常紧急的需求进行付费,将开发优先级提到最高,并可要求在指定截止日期内交付,只有VIP用户才享有付费加急权利。
    3. 付费咨询 付费咨询有效期7天,且总咨询时长不超过7个小时。
    4. 扩展图表 购买后代码可永久持有和商用,1年的更新和技术支持。

    捐助支持

    如果这个项目对您有帮助,请右上方点 Star 予以支持!也欢迎任意金额的捐助,非常感谢您的支持!

    二维码

    如果看不到二维码图片,可以加QQXCharts技术支持:3525422251或邮件monitor1394@gmail.com咨询。

    alipay-qrcode wechat-qrcode

    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/treemap/index.html b/en/docs/v3.6.0/treemap/index.html index f79d6f09..f83631ee 100644 --- a/en/docs/v3.6.0/treemap/index.html +++ b/en/docs/v3.6.0/treemap/index.html @@ -14,14 +14,14 @@ TreemapChart 矩形树图 | XCharts - - + +
    Version: v3.6.0

    TreemapChart 矩形树图

    XCharts付费扩展图表 - 矩形树图。

    treemap

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    TreemapChart

    Inherits or Implemented: BaseChart

    配置项手册

    Treemap

    Inherits or Implemented: Serie

    fielddefaultsincecomment
    leafDepth0默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。
    visualDimension0用于计算占比的数据维数。
    drillDownIcon当节点可以下钻时的提示符,只能是字符。默认为▶
    customGoUpLevelButton自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。
    upperLabel父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。
    levelStyle
    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/tutorial01/index.html b/en/docs/v3.6.0/tutorial01/index.html index bea2cd92..0c31784d 100644 --- a/en/docs/v3.6.0/tutorial01/index.html +++ b/en/docs/v3.6.0/tutorial01/index.html @@ -14,8 +14,8 @@ 入门教程:5分钟上手 XCharts 3.0 | XCharts - - + +
    @@ -23,7 +23,7 @@ linechart2

    添加其他组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件按需额外添加。比如,需要给折线图区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent linechart3

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加Component。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent linechart4

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个至几十个不等的可配置参数,以支持各种灵活而复杂的功能。

    首次使用XCharts,可在 Inspector 视图添加各种图表,给图表添加或调整里面组件,Game 视图会实时反馈调整后的效果,以熟悉各种组件的使用。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是配置和数据来驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不需要去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时还原回来。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    通常颜色值为0000时表示用主题默认颜色,配置为0或null时表示用主题默认配置。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.EnsureChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.EnsureChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.EnsureChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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;

    清空默认数据,添加Line类型的Serie用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    用代码改图表参数

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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;

    改Serie的参数

    对于新添加的Serie:

    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:

    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添加额外组件:

    serie.EnsureComponent<AreaStyle>();

    var label = serie1.EnsureComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/tutorial02/index.html b/en/docs/v3.6.0/tutorial02/index.html index 3be66243..a81c0e0e 100644 --- a/en/docs/v3.6.0/tutorial02/index.html +++ b/en/docs/v3.6.0/tutorial02/index.html @@ -14,13 +14,13 @@ 从文件或数据库读取数据显示图表 | XCharts - - + +
    Version: v3.6.0

    从文件或数据库读取数据显示图表

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/tutorial03/index.html b/en/docs/v3.6.0/tutorial03/index.html index 5990a11d..2fa67639 100644 --- a/en/docs/v3.6.0/tutorial03/index.html +++ b/en/docs/v3.6.0/tutorial03/index.html @@ -14,13 +14,13 @@ 心电图效果实现 | XCharts - - + +
    Version: v3.6.0

    心电图效果实现

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.6.0/ui/index.html b/en/docs/v3.6.0/ui/index.html index 4785ad8b..dc38270e 100644 --- a/en/docs/v3.6.0/ui/index.html +++ b/en/docs/v3.6.0/ui/index.html @@ -14,13 +14,13 @@ 扩展UI组件 | XCharts - - + +
    Version: v3.6.0

    扩展UI组件

    XCharts的扩展UI组件,VIP订阅用户专有。

    组件列表

    如何使用

    • 使用该仓库前先确保项目里已有对应版本的XCharts。
    • 下载本仓库放入Assets下或者通过Package Manager导入。

    更新日志

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 增加UIStatistic
    • (2023.02.14) 增加UITable
    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/about/index.html b/en/docs/v3.7.0/about/index.html index cbd6cff7..8b336c9b 100644 --- a/en/docs/v3.7.0/about/index.html +++ b/en/docs/v3.7.0/about/index.html @@ -14,8 +14,8 @@ 关于XCharts | XCharts - - + +
    @@ -31,7 +31,7 @@ 答:目前只支持在Unity平台使用。理论上任何支持UGUIUnity版本都能运行XCharts

  • 锯齿怎么解决?支持多大量级的数据?
    答:XCharts是基于UGUI实现的,所以UGUI中碰到的问题,在XCharts中也会存在。比如锯齿问题,比如Mesh顶点数超65535的问题。这两个问题的解决可参考问答16问答27
    由于Mesh65535顶点数的限制,目前XCharts的单条Line支持约2万的数据量,当然开启采样可以支持更多数据的绘制,但同时也会更消耗CPU。

  • Licenses

    • MIT License
    • 可免费商用,可二次开发
    • 扩展图表需单独购买授权

    日志

    其他

    • 邮箱:monitor1394@gmail.com
    • QQ群:XCharts交流群(202030963
    • VIP群:XCharts技术支持VIP群(867291970
    • 捐助、合作、订阅和技术支持:☞ 看这里
    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/api/index.html b/en/docs/v3.7.0/api/index.html index fcae7076..6410390f 100644 --- a/en/docs/v3.7.0/api/index.html +++ b/en/docs/v3.7.0/api/index.html @@ -14,8 +14,8 @@ API手册 | XCharts - - + +
    @@ -30,7 +30,7 @@ UGUI 图形库

    public methodsincedescription
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
    Draw a diamond. 画菱形(钻石形状)
    DrawEllipse()public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)
    DrawLine()public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color)
    Draw a line. 画直线
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
    Draw a line. 画直线
    DrawPolygon()public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
    填充任意多边形(目前只支持凸多边形)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Vector3 p1, Vector3 p2, float radius, Color32 color)
    Draw a rectangle. 画带长方形
    DrawSquare()public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
    Draw a square. 画正方形
    DrawSvgPath()public static void DrawSvgPath(VertexHelper vh, string path)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)

    UGLExample

    XUGL.UGLExample : MaskableGraphic

    UGLHelper

    XUGL.UGLHelper

    public methodsincedescription
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBezier()public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)
    GetBezier2()public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)
    GetBezierList()public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref List<Vector3> intersection)
    获得两直线的交点
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref Vector3 intersection)
    获得两直线的交点
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector3> polyons)
    IsPointInTriangle()public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)

    UIComponent

    XCharts.Runtime.UIComponent : BaseGraph UI组件基类。

    public methodsincedescription
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。

    UIHelper

    XCharts.Runtime.UIHelper UI帮助类。

    public methodsincedescription
    GetBackgroundColor()public static Color32 GetBackgroundColor(UIComponent component)

    VisualMapContext

    XCharts.Runtime.VisualMapContext : MainComponentContext

    VisualMapHelper

    XCharts.Runtime.VisualMapHelper

    public methodsincedescription
    AutoSetLineMinMax()public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
    GetDimension()public static int GetDimension(VisualMap visualMap, int defaultDimension)
    IsNeedAreaGradient()public static bool IsNeedAreaGradient(VisualMap visualMap)
    IsNeedGradient()public static bool IsNeedGradient(VisualMap visualMap)
    IsNeedLineGradient()public static bool IsNeedLineGradient(VisualMap visualMap)
    SetMinMax()public static void SetMinMax(VisualMap visualMap, double min, double max)

    XChartsMgr

    XCharts.Runtime.XChartsMgr

    public methodsincedescription
    AddChart()public static void AddChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(string chartName)
    GetChart()public static BaseChart GetChart(string chartName)
    GetCharts()public static List<BaseChart> GetCharts(string chartName)
    GetPackageFullPath()public static string GetPackageFullPath()
    GetRepeatChartNameInfo()public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
    IsRepeatChartName()public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
    RemoveAllChartObject()public static void RemoveAllChartObject()
    RemoveChart()public static void RemoveChart(string chartName)

    XCResourceImporterWindow

    XCharts.Runtime.XCResourceImporterWindow : UnityEditor.EditorWindow

    public methodsincedescription
    ShowPackageImporterWindow()public static void ShowPackageImporterWindow()

    XCThemeMgr

    XCharts.Runtime.XCThemeMgr

    public methodsincedescription
    AddTheme()public static void AddTheme(Theme theme)
    CheckReloadTheme()public static void CheckReloadTheme()
    ContainsTheme()public static bool ContainsTheme(string themeName)
    ExportTheme()public static bool ExportTheme(Theme theme)
    ExportTheme()public static bool ExportTheme(Theme theme, string themeNewName)
    GetAllThemeNames()public static List<string> GetAllThemeNames()
    GetTheme()public static Theme GetTheme(string themeName)
    GetTheme()public static Theme GetTheme(ThemeType type)
    GetThemeAssetPath()public static string GetThemeAssetPath(string themeName)
    GetThemeList()public static List<Theme> GetThemeList()
    LoadTheme()public static Theme LoadTheme(string themeName)
    LoadTheme()public static Theme LoadTheme(ThemeType type)
    ReloadThemeList()public static void ReloadThemeList()
    重新加载主题列表
    SwitchTheme()public static void SwitchTheme(BaseChart chart, string themeName)
    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/bar3d/index.html b/en/docs/v3.7.0/bar3d/index.html index 6e4b89e1..137d50b8 100644 --- a/en/docs/v3.7.0/bar3d/index.html +++ b/en/docs/v3.7.0/bar3d/index.html @@ -14,14 +14,14 @@ Bar3DChart 3D柱图 | XCharts - - + +
    Version: v3.7.0

    Bar3DChart 3D柱图

    XCharts的付费扩展图表 - 3D柱图。

    bar3d

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0
    • (2023.02.14) 增加Bar3DStyletopColorbottomColorsideColor参数支持

    v3.5.0

    • (2022.11.29) 增加SeriebarMaxWidth参数支持
    • (2022.11.27) 增加SerieItemStylebackgroundColor参数支持
    • (2022.11.27) 增加SeriecolorBy的支持
    • (2022.11.27) 更新文档

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    v3.1.0

    • (2022.07.14) 发布v3.1.0版本
    • (2022.07.14) 增加bottomColorRate,cylinderRate参数
    • (2022.07.14) 调整topColorBurnRate改名为topColorRate
    • (2022.07.14) 调整sideColorBurnRate改名为sideColorRate
    • (2022.07.14) 调整dire改名为cubeDire
    • (2022.07.14) 支持Cylinder圆柱和Cube立方柱

    API

    Bar3DChart

    XCharts.Runtime.Bar3Ds.Bar3DChart : BaseChart

    配置项手册

    Bar3D

    XCharts.Runtime.Bar3Ds.Bar3D : Serie, INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    fielddefaultsincecomment
    bar3DTypev3.1.0
    Bar3DType:
    - Cube: 立方柱。
    - Cylinder: 圆柱。
    bar3DStyleBar3DStyle

    Bar3DStyle

    XCharts.Runtime.Bar3Ds.Bar3DStyle : ChildComponent

    fielddefaultsincecomment
    showtrue
    verticalArrangefalse是否垂直排列。
    verticalArrangeDireVector3(-1, 1)垂直排列时的方向。
    verticalArrangeGap0.5f垂直排列时两个柱子间的间隙。
    barOffsetVector3.zero柱子偏移。
    widthRate0.5f方形柱侧边宽度相对正面的比例。
    topColorRate0.8f柱子顶部相对正面的颜色比例。
    bottomColorRate1f柱子底部相对正面的颜色比例。
    sideColorRate0.7f方形柱侧边相对正面的颜色比例。
    cubeDireVector3(1, 1)方形柱形成3D效果的方向。
    cylinderRate0.5fv3.1.0圆柱的顶部椭圆比列。
    topColorv3.6.0
    bottomColorv3.6.0
    sideColorv3.6.0
    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/changelog/index.html b/en/docs/v3.7.0/changelog/index.html index 39891e04..7f907540 100644 --- a/en/docs/v3.7.0/changelog/index.html +++ b/en/docs/v3.7.0/changelog/index.html @@ -14,8 +14,8 @@ 更新日志 | XCharts - - + +
    @@ -77,7 +77,7 @@ v0.8.0
    v0.5.0
    v0.1.0

    master

    v3.7.0

    版本要点:

    • 增加HelpDoc官网帮助文档跳转
    • 增加LineClip的支持
    • 优化Axis的范围设置
    • 其他优化和修复

    日志详情:

    • (2023.06.08) 发布v3.7.0版本
    • (2023.06.04) 增加HelpDoc帮助文档跳转
    • (2023.05.30) 修复Serie的名字带_线导致Legend无法触发的问题 (#252) (by svr2kos2)
    • (2023.05.10) 增加AxisMinMaxAuto范围类型
    • (2023.05.10) 增加LineClip的支持
    • (2023.05.04) 优化Axis在-1到1范围时设置CeilRate不生效的问题
    • (2023.05.04) 优化AxisMinMax类型范围计算
    • (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) 增加BaseChartTriggerTooltip()接口尝试触发ToolTip
    • (2023.04.12) 优化RadarCood设置startAngle时文本也跟随调整位置
    • (2023.04.12) 增加Radar对通配符{b}的支持
    • (2023.04.11) 修复Inspector在动态添加组件时可能异常的问题

    v3.6.0

    版本要点:

    • 增加InputSystem支持 (by Bian-Sh)
    • 增加官网在线示例多版本支持 (by SHL-COOL)
    • 完善对VR的支持 (by Ambitroc)
    • 增加UITableUIStatistic扩展UI组件
    • 增加ItemStyleMarkColor
    • 增加通配符{h}的支持
    • 优化TooltipLegendDataZoomAxis等组件
    • 重构相关API接口,完善回调接口
    • 修复若干问题

    升级注意:

    • 部分接口有调整,可根据提示更换下接口即可。

    日志详情:

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.14) 修复TooltiptitleFormater设置{b}可能不生效的问题
    • (2023.03.14) 修复BarChart在数据为0时不绘制柱条背景的问题 (#250) (by Ambitroc)
    • (2023.03.12) 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转
    • (2023.03.10) 增加VR等其他非鼠标输入方式的Point位置获取 (#248) (by Ambitroc)
    • (2023.03.09) 增加ChartonSerieClickonSerieDownonSerieEnteronSerieExit回调
    • (2023.03.09) 修复Pie的点击选中偏移不生效的问题
    • (2023.03.04) 增加LegendPositions可自定义图例的位置
    • (2023.03.03) 修复Animation变更动画可能无效的问题
    • (2023.02.28) 修复Legend点击时SerieLabel不刷新的问题
    • (2023.02.26) 增加DataZoomstartEndFunction委托
    • (2023.02.12) 重构Component相关代码,调整API接口
    • (2023.02.10) 修复AxisLog轴时某些情况下最小值不正确的问题
    • (2023.02.10) 优化Axis的数值Label的默认显示格式
    • (2023.02.08) 增加DataZoomstartLockendLock参数支持锁定
    • (2023.02.02) 修复DataZoom开启时X轴Label可能会显示在图表外的问题
    • (2023.02.02) 优化SerieDataignore设置时的忽略数据判断
    • (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) 删除SerieMarkColor,增加ItemStyleMarkColor
    • (2022.12.29) 增加EditorList+添加编辑功能
    • (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) 修复AxisValue轴在某些情况下计算数值范围不准确的问题
    • (2022.12.12) 优化Legendformatter支持{h}通配符
    • (2022.12.12) 修复Legendformatter设置为固定值时显示不正常的问题
    • (2022.12.08) 增加AreaStyletoTop参数可设置折线图渐变色是到顶部还是到实际位置
    • (2022.12.07) 增加Formatter的文本通配符{h}支持设置当前颜色值

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Convert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/configuration/index.html b/en/docs/v3.7.0/configuration/index.html index 6d498938..cd76360e 100644 --- a/en/docs/v3.7.0/configuration/index.html +++ b/en/docs/v3.7.0/configuration/index.html @@ -14,13 +14,13 @@ 配置项手册 | XCharts - - + +
    Version: v3.7.0

    配置项手册

    Serie 系列

    Theme 主题

    MainComponent 主组件

    ChildComponent 子组件

    ISerieComponent 可添加到Serie的组件

    ISerieDataComponent 可添加到SerieData的组件

    Other 其他

    AngleAxis

    XCharts.Runtime.AngleAxis : Axis

    极坐标系的角度轴。

    fielddefaultsincecomment
    startAngle0起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    XCharts.Runtime.AngleAxisTheme : BaseAxisTheme

    AnimationStyle

    XCharts.Runtime.AnimationStyle : ChildComponent

    动画表现。

    fielddefaultsincecomment
    enabletrue是否开启动画效果。
    type动画类型。
    AnimationType:
    - Default: 默认。内部会根据实际情况选择一种动画播放方式。
    - LeftToRight: 从左往右播放动画。
    - BottomToTop: 从下往上播放动画。
    - InsideOut: 由内到外播放动画。
    - AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    - Clockwise: 顺时针播放动画。
    easting动画的缓动效果。
    AnimationEasing:
    - Linear:
    threshold2000是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
    fadeInDuration1000设定的渐入动画时长(毫秒)。如果要设置单个数据项的渐入时长,可以用代码定制:customFadeInDuration。
    fadeInDelay0渐入动画延时(毫秒)。如果要设置单个数据项的延时,可以用代码定制:customFadeInDelay。
    fadeOutDuration1000f设定的渐出动画时长(毫秒)。如果要设置单个数据项的渐出时长,可以用代码定制:customFadeOutDuration。
    fadeOutDelay0渐出动画延时(毫秒)。如果要设置单个数据项的延时,可以用代码定制:customFadeOutDelay。
    dataChangeEnabletrue是否开启数据变更动画。
    dataChangeDuration500数据变更的动画时长(毫秒)。
    actualDuration实际的动画时长(毫秒)。
    unscaledTimev3.4.0动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AreaStyle

    XCharts.Runtime.AreaStyle : ChildComponent, ISerieComponent, ISerieDataComponent

    区域填充样式。

    fielddefaultsincecomment
    showtrue是否显示区域填充。
    origin区域填充的起始位置。
    AreaStyle.AreaOrigin:
    - Auto: 填充坐标轴轴线到数据间的区域。
    - Start: 填充坐标轴底部到数据间的区域。
    - End: 填充坐标轴顶部到数据间的区域。
    color区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。
    toColor渐变色的终点颜色。
    opacity0.6f图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    innerFillv3.2.0是否只填充多边形区域。目前只支持凸多边形。
    toToptruev3.6.0渐变色是到顶部还是到实际位置。默认为true到顶部。

    ArrowStyle

    XCharts.Runtime.ArrowStyle : ChildComponent

    fielddefaultsincecomment
    width10箭头宽。
    height15箭头高。
    offset0箭头偏移。
    dent3箭头的凹度。
    colorColor.clear箭头颜色。

    Axis

    XCharts.Runtime.Axis : MainComponent / Subclasses: AngleAxis, ParallelAxis, RadiusAxis, SingleAxis, XAxis, YAxis

    直角坐标系的坐标轴组件。

    fielddefaultsincecomment
    showtrue是否显示坐标轴。
    type坐标轴类型。
    Axis.AxisType:
    - Value: 数值轴。适用于连续数据。
    - Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    - Log: 对数轴。适用于对数数据。
    - Time: 时间轴。适用于连续的时序数据。
    minMaxType坐标轴刻度最大最小值显示类型。
    Axis.AxisMinMaxType:
    - Default: 0-最大值。
    - MinMax: 最小值-最大值。
    - Custom: 自定义最小值最大值。
    - MinMaxAuto: [since("v3.7.0")]最小值-最大值。自动计算合适的值。
    gridIndex坐标轴所在的 grid 的索引,默认位于第一个 grid。
    polarIndex坐标轴所在的 ploar 的索引,默认位于第一个 polar。
    parallelIndex坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
    position坐标轴在Grid中的位置。
    Axis.AxisPosition:
    - Left: 坐标轴在Grid中的位置
    - Right: 坐标轴在Grid中的位置
    - Bottom: 坐标轴在Grid中的位置
    - Top: 坐标轴在Grid中的位置
    offset坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
    min设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
    max设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
    splitNumber0坐标轴的期望的分割段数。默认为0表示自动分割。
    interval0强制设置坐标轴分割间隔。无法在类目轴中使用。
    boundaryGaptrue坐标轴两边是否留白。只对类目轴有效。
    maxCache0The first data will be remove when the size of axis data is larger then maxCache.
    logBase10对数轴的底数,只在对数轴(type:'Log')中有效。
    logBaseEfalse对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    inversefalse是否反向坐标轴。在类目轴中无效。
    clockwisetrue刻度增长是否按顺时针,默认顺时针。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    icons类目数据对应的图标。
    data类目数据,在类目轴(type: 'category')中有效。
    axisLine坐标轴轴线。 AxisLine
    axisName坐标轴名称。 AxisName
    axisTick坐标轴刻度。 AxisTick
    axisLabel坐标轴刻度标签。 AxisLabel
    splitLine坐标轴分割线。 AxisSplitLine
    splitArea坐标轴分割区域。 AxisSplitArea
    minorTickv3.2.0坐标轴次刻度。 AxisMinorTick
    minorSplitLinev3.2.0坐标轴次分割线。 AxisMinorSplitLine
    indicatorLabelv3.4.0指示器文本的样式。Tooltip为Cross时使用。 LabelStyle

    AxisLabel

    XCharts.Runtime.AxisLabel : LabelStyle

    坐标轴刻度标签的相关设置。

    fielddefaultsincecomment
    interval0坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    insidefalse刻度标签是否朝内,默认朝外。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。
    onZerofalse刻度标签显示在0刻度上。
    showStartLabeltrue是否显示第一个文本。
    showEndLabeltrue是否显示最后一个文本。
    textLimit文本限制。 TextLimit

    AxisLine

    XCharts.Runtime.AxisLine : BaseLine

    坐标轴轴线。

    fielddefaultsincecomment
    onZeroX 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。
    showArrow是否显示箭头。
    arrow轴线箭头。 ArrowStyle

    AxisMinorSplitLine

    XCharts.Runtime.AxisMinorSplitLine : BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    fielddefaultsincecomment
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。

    AxisMinorTick

    XCharts.Runtime.AxisMinorTick : BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    fielddefaultsincecomment
    splitNumber5分隔线之间分割的刻度数。
    autoColor

    AxisName

    XCharts.Runtime.AxisName : ChildComponent

    坐标轴名称。

    fielddefaultsincecomment
    show是否显示坐标轴名称。
    name坐标轴名称。
    onZerov3.1.0坐标轴名称的位置是否保持和Y轴0刻度一致。
    labelStyle文本样式。 LabelStyle

    AxisSplitArea

    XCharts.Runtime.AxisSplitArea : ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    fielddefaultsincecomment
    show是否显示分隔区域。
    color分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitLine

    XCharts.Runtime.AxisSplitLine : BaseLine

    坐标轴在 grid 区域中的分隔线。

    fielddefaultsincecomment
    interval坐标轴分隔线的显示间隔。
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。
    showStartLinetruev3.3.0是否显示第一条分割线。
    showEndLinetruev3.3.0是否显示最后一条分割线。

    AxisTheme

    XCharts.Runtime.AxisTheme : BaseAxisTheme

    AxisTick

    XCharts.Runtime.AxisTick : BaseLine

    坐标轴刻度相关设置。

    fielddefaultsincecomment
    alignWithLabel类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。
    inside坐标轴刻度是否朝内,默认朝外。
    showStartTick是否显示第一个刻度。
    showEndTick是否显示最后一个刻度。
    distance刻度线与轴线的距离。
    splitNumber0分隔线之间分割的刻度数。
    autoColor

    Background

    XCharts.Runtime.Background : MainComponent

    背景组件。

    fielddefaultsincecomment
    showtrue是否启用背景组件。
    image背景图。
    imageType背景图填充类型。
    imageColor背景图颜色。
    autoColortrue当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。

    Bar

    XCharts.Runtime.Bar : Serie, INeedSerieContainer

    BaseAxisTheme

    XCharts.Runtime.BaseAxisTheme : ComponentTheme / Subclasses: AxisTheme, RadiusAxisTheme, AngleAxisTheme, PolarAxisTheme, RadarAxisTheme

    fielddefaultsincecomment
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f坐标轴线宽。
    lineLength0f坐标轴线长。
    lineColor坐标轴线颜色。
    splitLineType分割线线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    splitLineWidth1f分割线线宽。
    splitLineLength0f分割线线长。
    splitLineColor分割线线颜色。
    minorSplitLineColor次分割线线颜色。
    tickWidth1f刻度线线宽。
    tickLength5f刻度线线长。
    tickColor坐标轴线颜色。
    splitAreaColors坐标轴分隔区域的颜色。

    BaseLine

    XCharts.Runtime.BaseLine : ChildComponent / Subclasses: AxisLine, AxisMinorSplitLine, AxisMinorTick, AxisSplitLine, AxisTick

    线条基础配置。

    fielddefaultsincecomment
    show是否显示坐标轴轴线。
    lineStyle线条样式 LineStyle

    BaseScatter

    XCharts.Runtime.BaseScatter : Serie, INeedSerieContainer / Subclasses: EffectScatter, Scatter

    BaseSerie

    XCharts.Runtime.BaseSerie / Subclasses: Serie

    BlurStyle

    XCharts.Runtime.BlurStyle : StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    CalendarCoord

    XCharts.Runtime.CalendarCoord : CoordSystem, IUpdateRuntimeData, ISerieContainer

    Candlestick

    XCharts.Runtime.Candlestick : Serie, INeedSerieContainer

    ChartText

    XCharts.Runtime.ChartText

    ChildComponent

    XCharts.Runtime.ChildComponent / Subclasses: AnimationStyle, AxisName, AxisSplitArea, AreaStyle, ArrowStyle, BaseLine, IconStyle, ImageStyle, ItemStyle, Level, LevelStyle, LineArrow, LineStyle, Location, MarqueeStyle, Padding, StageColor, SymbolStyle, TextLimit, TextStyle, CommentItem, CommentMarkStyle, LabelLine, LabelStyle, MarkAreaData, MarkLineData, StateStyle, VisualMapRange, UIComponentTheme, SerieData, ComponentTheme, SerieTheme, ThemeStyle

    Comment

    XCharts.Runtime.Comment : MainComponent, IPropertyChanged

    图表注解组件。

    fielddefaultsincecomment
    showtrue是否显示注解组件。
    labelStyle所有组件的文本样式。 LabelStyle
    markStyle所有组件的文本样式。 CommentMarkStyle
    items注解项。每个注解组件可以设置多个注解项。

    CommentItem

    XCharts.Runtime.CommentItem : ChildComponent

    注解项。

    fielddefaultsincecomment
    showtrue是否显示当前注解项。
    content注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。
    markRect注解区域。
    markStyle注解标记区域样式。 CommentMarkStyle
    labelStyle注解项的文本样式。 LabelStyle
    locationv3.5.0Comment显示的位置。 Location

    CommentMarkStyle

    XCharts.Runtime.CommentMarkStyle : ChildComponent

    注解项区域样式。

    fielddefaultsincecomment
    showtrue是否显示当前注解项。
    lineStyle线条样式。 LineStyle

    ComponentTheme

    XCharts.Runtime.ComponentTheme : ChildComponent / Subclasses: BaseAxisTheme, DataZoomTheme, LegendTheme, SubTitleTheme, TitleTheme, TooltipTheme, VisualMapTheme

    fielddefaultsincecomment
    font字体。
    textColor文本颜色。
    textBackgroundColor文本颜色。
    fontSize18文本字体大小。
    tMPFont字体。

    CoordSystem

    XCharts.Runtime.CoordSystem : MainComponent / Subclasses: RadarCoord, CalendarCoord, GridCoord, ParallelCoord, PolarCoord, SingleAxisCoord

    坐标系系统。

    DataZoom

    XCharts.Runtime.DataZoom : MainComponent, IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    fielddefaultsincecomment
    enabletrue是否显示缩放区域。
    filterMode数据过滤类型。
    DataZoom.FilterMode:
    - Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    - WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    - Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    - None: 不过滤数据,只改变数轴范围。
    xAxisIndexs控制的 x 轴索引列表。
    yAxisIndexs控制的 y 轴索引列表。
    supportInside是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
    supportInsideScrolltrue是否支持坐标系内滚动
    supportInsideDragtrue是否支持坐标系内拖拽
    supportSlider是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。
    supportMarquee是否支持框选。提供一个选框进行数据区域缩放。
    showDataShadow是否显示数据阴影。数据阴影可以简单地反应数据走势。
    showDetail是否显示detail,即拖拽时候显示详细数值信息。
    zoomLock是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    borderWidth边框宽。
    backgroundColor组件的背景颜色。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    rangeMode取绝对值还是百分比。
    DataZoom.RangeMode:
    - //Value: The value type of start and end.取值类型
    - Percent: 百分比。
    start数据窗口范围的起始百分比。范围是:0 ~ 100。
    end数据窗口范围的结束百分比。范围是:0 ~ 100。
    minShowNum2最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。
    scrollSensitivity1.1f缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。
    orient布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    labelStyle文本标签格式。 LabelStyle
    lineStyle阴影线条样式。 LineStyle
    areaStyle阴影填充样式。 AreaStyle
    marqueeStylev3.5.0选取框样式。 MarqueeStyle
    startLockv3.6.0固定起始值,不让改变。
    endLockv3.6.0固定结束值,不让改变。

    DataZoomTheme

    XCharts.Runtime.DataZoomTheme : ComponentTheme

    fielddefaultsincecomment
    borderWidth边框线宽。
    dataLineWidth数据阴影线宽。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    dataLineColor数据阴影的线条颜色。
    dataAreaColor数据阴影的填充颜色。
    backgroundColor背景颜色。

    DebugInfo

    XCharts.Runtime.DebugInfo

    fielddefaultsincecomment
    showtrue是否显示Debug组件。
    showDebugInfofalse
    showAllChartObjectfalse是否在Hierarchy试图显示所有chart下的节点。
    foldSeriesfalse是否在Inspector上折叠Serie。
    labelStyleLabelStyle

    EffectScatter

    XCharts.Runtime.EffectScatter : BaseScatter

    EmphasisStyle

    XCharts.Runtime.EmphasisStyle : StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    fielddefaultsincecomment
    scale1.1f高亮时的缩放倍数。
    focus在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。
    EmphasisStyle.FocusType:
    - None: 不淡出其它图形,默认使用该配置。
    - Self: 只聚焦(不淡出)当前高亮的数据的图形。
    - Series: 聚焦当前高亮的数据所在的系列的所有图形。
    blurScope在开启focus的时候,可以通过blurScope配置淡出的范围。
    EmphasisStyle.BlurScope:
    - GridCoord: 淡出范围为坐标系,默认使用该配置。
    - Series: 淡出范围为系列。
    - Global: 淡出范围为全局。

    EndLabelStyle

    XCharts.Runtime.EndLabelStyle : LabelStyle

    GridCoord

    XCharts.Runtime.GridCoord : CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    fielddefaultsincecomment
    showtrue是否显示直角坐标系网格。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。
    showBorderfalse是否显示网格边框。
    borderWidth0f网格边框宽。
    borderColor网格边框颜色。

    Heatmap

    XCharts.Runtime.Heatmap : Serie, INeedSerieContainer

    fielddefaultsincecomment
    heatmapTypev3.3.0热力图类型。通过颜色映射划分。
    HeatmapType:
    - Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    - Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    XCharts.Runtime.IconStyle : ChildComponent

    fielddefaultsincecomment
    showfalse是否显示图标。
    layer显示在上层还是在下层。
    IconStyle.Layer:
    - UnderText: The icon is display under the label text. 图标在标签文字下
    - AboveText: The icon is display above the label text. 图标在标签文字上
    align水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    sprite图标的图片。
    type图片的显示类型。
    color图标颜色。
    width20图标宽。
    height20图标高。
    offset图标偏移。
    autoHideWhenLabelEmptyfalse当label内容为空时是否自动隐藏图标

    ImageStyle

    XCharts.Runtime.ImageStyle : ChildComponent, ISerieComponent, ISerieDataComponent

    fielddefaultsincecomment
    showtrue是否显示图标。
    sprite图标的图片。
    type图片的显示类型。
    autoColor是否自动颜色。
    color图标颜色。
    width0图标宽。
    height0图标高。

    Indicator

    XCharts.Runtime.Indicator

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    fielddefaultsincecomment
    name指示器名称。
    max指示器的最大值,默认为 0 无限制。
    min指示器的最小值,默认为 0 无限制。
    range正常值范围。当数值不在这个范围时,会自动变更显示颜色。
    show是否显示雷达坐标系组件。
    shape雷达图绘制类型,支持 'Polygon' 和 'Circle'。
    radius100雷达图的半径。
    splitNumber5指示器轴的分割段数。
    center雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    axisLine轴线。 AxisLine
    axisName雷达图每个指示器名称的配置项。 AxisName
    splitLine分割线。 AxisSplitLine
    splitArea分割区域。 AxisSplitArea
    indicatortrue是否显示指示器。
    positionType显示位置类型。
    indicatorGap10指示器和雷达的间距。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    isAxisTooltip是否Tooltip显示轴线上的所有数据。
    outRangeColorColor.red数值超出范围时显示的颜色。
    connectCenterfalse数值是否连线到中心点。
    lineGradienttrue数值线段是否需要渐变。
    startAnglev3.4.0起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    indicatorList指示器列表。

    INeedSerieContainer

    XCharts.Runtime.INeedSerieContainer / Subclasses: Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Radar, BaseScatter

    IPropertyChanged

    XCharts.Runtime.IPropertyChanged / Subclasses: Location, Comment, Legend, Title

    属性变更接口

    ISerieComponent

    XCharts.Runtime.ISerieComponent / Subclasses: AreaStyle, ImageStyle, LineArrow, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于Serie的组件。

    ISerieContainer

    XCharts.Runtime.ISerieContainer / Subclasses: RadarCoord, CalendarCoord, GridCoord, ParallelCoord, PolarCoord

    ISerieDataComponent

    XCharts.Runtime.ISerieDataComponent / Subclasses: AreaStyle, ImageStyle, ItemStyle, LineStyle, SerieSymbol, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    XCharts.Runtime.ISimplifiedSerie / Subclasses: SimplifiedBar, SimplifiedCandlestick, SimplifiedLine

    ItemStyle

    XCharts.Runtime.ItemStyle : ChildComponent, ISerieDataComponent

    图形样式。

    fielddefaultsincecomment
    showtrue是否启用。
    color数据项颜色。
    color0数据项颜色。
    toColor渐变色的颜色1。
    toColor2渐变色的颜色2。只在折线图中有效。
    markColorv3.6.0Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。
    backgroundColor数据项背景颜色。
    backgroundWidth数据项背景宽度。
    centerColor中心区域颜色。
    centerGap中心区域间隙。
    borderWidth0边框宽。
    borderGap0边框间隙。
    borderColor边框的颜色。
    borderColor0边框的颜色。
    borderToColor边框的渐变色。
    opacity1透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    itemMarker提示框单项的字符标志。用在Tooltip中。
    itemFormatter提示框单项的字符串模版格式器。具体配置参考Tooltipformatter
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    IUpdateRuntimeData

    XCharts.Runtime.IUpdateRuntimeData / Subclasses: SingleAxis, DataZoom, CalendarCoord, GridCoord, ParallelCoord

    LabelLine

    XCharts.Runtime.LabelLine : ChildComponent, ISerieComponent, ISerieDataComponent

    标签的引导线

    fielddefaultsincecomment
    showtrue是否显示视觉引导线。
    lineType视觉引导线类型。
    LabelLine.LineType:
    - BrokenLine: 折线
    - Curves: 曲线
    - HorizontalLine: 水平线
    lineColorColor32(0,0,0,0)视觉引导线颜色。默认和serie一致取自调色板。
    lineAngle0视觉引导线的固定角度。对折线和曲线有效。
    lineWidth1.0f视觉引导线的宽度。
    lineGap1.0f视觉引导线和容器的间距。
    lineLength125f视觉引导线第一段的长度。
    lineLength215f视觉引导线第二段的长度。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle

    LabelStyle

    XCharts.Runtime.LabelStyle : ChildComponent, ISerieComponent, ISerieDataComponent / Subclasses: AxisLabel, EndLabelStyle, TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    fielddefaultsincecomment
    showtrue是否显示文本标签。
    Position标签的位置。
    autoOffsetfalse是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。
    offset距离图形元素的偏移
    rotate文本的旋转。
    autoRotatefalsev3.6.0是否自动旋转。
    distance距离轴线的距离。
    formatter标签内容字符串模版格式器。支持用 \n 换行。 模板变量有: {.}:圆点标记。 {a}:系列名。 {a}:系列名。 {b}:类目值或数据名。 {c}:数据值。 {d}:百分比。 {e}:数据名。 {f}:数据和。 示例:“{b}:{c}”
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    width0标签的宽度。一般不用指定,不指定时则自动是文字的宽度。
    height0标签的高度。一般不用指定,不指定时则自动是文字的高度。
    icon图标样式。 IconStyle
    background背景图样式。 ImageStyle
    textPadding文本的边距。 TextPadding
    textStyle文本样式。 TextStyle

    Lang

    XCharts.Runtime.Lang : ScriptableObject

    国际化语言表。

    LangCandlestick

    XCharts.Runtime.LangCandlestick

    LangTime

    XCharts.Runtime.LangTime

    Legend

    XCharts.Runtime.Legend : MainComponent, IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    fielddefaultsincecomment
    showtrue是否显示图例组件。
    iconType图例类型。
    Legend.Type:
    - Auto: 自动匹配。
    - Custom: 自定义图标。
    - EmptyCircle: 空心圆。
    - Circle: 圆形。
    - Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    - Triangle: 三角形。
    - Diamond: 菱形。
    - Candlestick: 烛台(可用于K线图)。
    selectedMode选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。
    Legend.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    - None: 无法选择。
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location图例显示的位置。 Location
    itemWidth25.0f图例标记的图形宽度。
    itemHeight12.0f图例标记的图形高度。
    itemGap10f图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
    itemAutoColortrue图例标记的图形是否自动匹配颜色。
    itemOpacity1图例标记的图形的颜色透明度。
    formatter图例内容字符串模版格式器。支持用 \n 换行。 模板变量为图例名称 {value}。其他模板变量参考Toolip的itemFormatter。
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    labelStyle文本样式。 LabelStyle
    data图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。
    icons自定义的图例标记图形。
    colors图例标记的颜色列表。
    backgroundv3.1.0背景图样式。 ImageStyle
    paddingv3.1.0图例标记和背景的间距。 Padding
    positionsv3.6.0图例标记的自定义位置列表。

    LegendTheme

    XCharts.Runtime.LegendTheme : ComponentTheme

    fielddefaultsincecomment
    unableColor文本颜色。

    Level

    XCharts.Runtime.Level : ChildComponent

    fielddefaultsincecomment
    label文本标签样式。 LabelStyle
    upperLabel上方的文本标签样式。 LabelStyle
    itemStyle数据项样式。 ItemStyle

    LevelStyle

    XCharts.Runtime.LevelStyle : ChildComponent

    fielddefaultsincecomment
    showfalse是否启用LevelStyle
    levels各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    Line

    XCharts.Runtime.Line : Serie, INeedSerieContainer

    LineArrow

    XCharts.Runtime.LineArrow : ChildComponent, ISerieComponent

    fielddefaultsincecomment
    show是否显示箭头。
    position箭头位置。
    LineArrow.Position:
    - End: 末端箭头
    - Start: 头端箭头
    arrow箭头。 ArrowStyle

    LineStyle

    XCharts.Runtime.LineStyle : ChildComponent, ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    fielddefaultsincecomment
    showtrue是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。
    type线的类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    color线的颜色。
    toColor线的渐变颜色(需要水平方向渐变时)。
    toColor2线的渐变颜色2(需要水平方向三个渐变色的渐变时)。
    width0线宽。
    length0线长。
    opacity1线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。

    Location

    XCharts.Runtime.Location : ChildComponent, IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    fielddefaultsincecomment
    align对齐方式。
    Location.Align:
    - TopLeft: 对齐方式
    - TopRight: 对齐方式
    - TopCenter: 对齐方式
    - BottomLeft: 对齐方式
    - BottomRight: 对齐方式
    - BottomCenter: 对齐方式
    - Center: 对齐方式
    - CenterLeft: 对齐方式
    - CenterRight: 对齐方式
    left离容器左侧的距离。
    right离容器右侧的距离。
    top离容器上侧的距离。
    bottom离容器下侧的距离。

    MainComponent

    XCharts.Runtime.MainComponent : IComparable / Subclasses: Axis, Background, Comment, DataZoom, Legend, MarkArea, MarkLine, Settings, Title, Tooltip, VisualMap, CoordSystem

    MarkArea

    XCharts.Runtime.MarkArea : MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    fielddefaultsincecomment
    showtrue是否显示标域。
    textThe text of markArea. 标域显示的文本。
    serieIndex0Serie index of markArea. 标域影响的Serie索引。
    start标域范围的起始数据。 MarkAreaData
    end标域范围的结束数据。 MarkAreaData
    itemStyle标域样式。 ItemStyle
    label标域文本样式。 LabelStyle

    MarkAreaData

    XCharts.Runtime.MarkAreaData : ChildComponent

    标域的数据。

    fielddefaultsincecomment
    type特殊的标域类型,用于标注最大值最小值等。
    MarkAreaType:
    - None: 标域类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标注名称。会作为文字显示。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    XCharts.Runtime.MarkLine : MainComponent

    图表标线。

    fielddefaultsincecomment
    showtrue是否显示标线。
    serieIndex0标线影响的Serie索引。
    animation标线的动画样式。 AnimationStyle
    data标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLineData

    XCharts.Runtime.MarkLineData : ChildComponent

    图表标线的数据。

    fielddefaultsincecomment
    type特殊的标线类型,用于标注最大值最小值等。
    MarkLineType:
    - None: 标线类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    group0分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。
    zeroPositionfalse是否为坐标系原点。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle
    lineStyle标线样式。 LineStyle
    label文本样式。可设置position为Start、Middle和End在不同的位置显示文本。 LabelStyle

    MarqueeStyle

    XCharts.Runtime.MarqueeStyle : ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    fielddefaultsincecomment
    applyfalsev3.5.0选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。
    realRectfalsev3.5.0是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。
    areaStylev3.5.0选取框区域填充样式。 AreaStyle
    lineStylev3.5.0选取框区域边框样式。 LineStyle

    Padding

    XCharts.Runtime.Padding : ChildComponent / Subclasses: TextPadding

    边距设置。

    fielddefaultsincecomment
    showtrueshow padding. 是否显示。
    top0顶部间距。
    right2f右部间距。
    left2f左边间距。
    bottom0底部间距。

    Parallel

    XCharts.Runtime.Parallel : Serie, INeedSerieContainer

    ParallelAxis

    XCharts.Runtime.ParallelAxis : Axis

    ParallelCoord

    XCharts.Runtime.ParallelCoord : CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    fielddefaultsincecomment
    showtrue是否显示直角坐标系网格。
    orient坐标轴朝向。默认为垂直朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。

    Pie

    XCharts.Runtime.Pie : Serie

    PolarAxisTheme

    XCharts.Runtime.PolarAxisTheme : BaseAxisTheme

    PolarCoord

    XCharts.Runtime.PolarCoord : CoordSystem, ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    fielddefaultsincecomment
    showtrue是否显示极坐标。
    center极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    backgroundColor极坐标的背景色,默认透明。

    Radar

    XCharts.Runtime.Radar : Serie, INeedSerieContainer

    fielddefaultsincecomment
    smoothfalsev3.2.0是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    XCharts.Runtime.RadarAxisTheme : BaseAxisTheme

    RadarCoord

    XCharts.Runtime.RadarCoord : CoordSystem, ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    XCharts.Runtime.RadiusAxis : Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    XCharts.Runtime.RadiusAxisTheme : BaseAxisTheme

    Ring

    XCharts.Runtime.Ring : Serie

    Scatter

    XCharts.Runtime.Scatter : BaseScatter

    SelectStyle

    XCharts.Runtime.SelectStyle : StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    XCharts.Runtime.Serie : BaseSerie, IComparable / Subclasses: SerieHandler<T>, Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Pie, Radar, Ring, BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    fielddefaultsincecomment
    index系列索引。
    showtrue系列是否显示在图表上。
    coordSystem使用的坐标系。
    serieType系列类型。
    serieName系列名称,用于 tooltip 的显示,legend 的图例筛选。
    statev3.2.0系列的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    colorByv3.2.0从主题中取色的策略。
    SerieColorBy:
    - Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略。
    - Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    - Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。
    stack数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。
    xAxisIndex0使用X轴的index。
    yAxisIndex0使用Y轴的index。
    radarIndex0雷达图所使用的 radar 组件的 index。
    vesselIndex0水位图所使用的 vessel 组件的 index。
    polarIndex0所使用的 polar 组件的 index。
    singleAxisIndex0所使用的 singleAxis 组件的 index。
    parallelIndex0所使用的 parallel coord 组件的 index。
    minShow系列所显示数据的最小索引
    maxShow系列所显示数据的最大索引
    maxCache系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。
    sampleDist0采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。
    sampleType采样类型。当sampleDist大于0时有效。
    SampleType:
    - Peak: 取峰值。
    - Average: 取过滤点的平均值。
    - Max: 取过滤点的最大值。
    - Min: 取过滤点的最小值。
    - Sum: 取过滤点的和。
    sampleAverage0设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。
    lineType折线图样式类型。
    LineType:
    - Normal: 普通折线图。
    - Smooth: 平滑曲线。
    - StepStart: 阶梯线图:当前点。
    - StepMiddle: 阶梯线图:当前点和下一个点的中间。
    - StepEnd: 阶梯线图:下一个拐点。
    smoothLimitfalsev3.4.0是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。
    barType柱形图类型。
    BarType:
    - Normal: 普通柱形图。
    - Zebra: 斑马柱形图。
    - Capsule: 胶囊柱形图。
    barPercentStackfalse柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。
    barWidth0柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。
    barMaxWidth0v3.5.0柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。
    barGap0.1f不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。
    barZebraWidth4f斑马线的粗细。
    barZebraGap2f斑马线的间距。
    min最小值。
    max最大值。
    minSize0f数据最小值 min 映射的宽度。
    maxSize1f数据最大值 max 映射的宽度。
    startAngle起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    endAngle结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    minAngle最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。
    clockwisetrue是否顺时针。
    roundCap是否开启圆弧效果。
    splitNumber刻度分割段数。最大可设置36。
    clickOffsettrue鼠标点击时是否开启偏移,一般用在PieChart图表中。
    roseType是否展示成南丁格尔图,通过半径区分数据大小。
    RoseType:
    - None: 不展示成南丁格尔玫瑰图。
    - Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    - Area: 所有扇区圆心角相同,仅通过半径展现数据大小。
    gap间距。
    center中心点。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    showDataDimension数据项里的数据维数。
    showDataName在Editor的inpsector上是否显示name参数
    clipfalse是否裁剪超出坐标系部分的图形。
    ignorefalse是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。
    ignoreValue0忽略数据的默认值。当ignore为true才有效。
    ignoreLineBreakfalse忽略数据时折线是断开还是连接。默认false为连接。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。
    largetrue是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。
    largeThreshold200开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。
    avoidLabelOverlapfalse在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。
    radarType雷达图类型。
    RadarType:
    - Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    - Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]
    placeHolderfalse占位模式。占位模式时,数据有效但不参与渲染和显示。
    dataSortType组件的数据排序。
    SerieDataSortType:
    - None: 按数据的顺序。
    - Ascending: 升序。
    - Descending: 降序。
    orient组件的朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    align组件水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    lineStyle线条样式。 LineStyle
    symbol标记的图形。 SerieSymbol
    animation起始动画。 AnimationStyle
    itemStyle图形样式。 ItemStyle
    data系列中的数据内容数组。SerieData可以设置1到n维数据。

    SerieData

    XCharts.Runtime.SerieData : ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    fielddefaultsincecomment
    index数据项索引。
    name数据项名称。
    id数据项的唯一id。唯一id不是必须设置的。
    parentId父节点id。父节点id不是必须设置的。
    ignore是否忽略数据。当为 true 时,数据不进行绘制。
    selected该数据项是否被选中。
    radius自定义半径。可用在饼图中自定义某个数据项的半径。
    statev3.2.0数据项的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    data可指定任意维数的数值列表。

    SerieSymbol

    XCharts.Runtime.SerieSymbol : SymbolStyle, ISerieDataComponent

    系列数据项的标记的图形

    fielddefaultsincecomment
    sizeType标记图形的大小获取方式。
    SymbolSizeType:
    - Custom: 自定义大小。
    - FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    - Function: 通过委托函数获取。
    dataIndex1当sizeType指定为FromData时,指定的数据源索引。
    dataScale1当sizeType指定为FromData时,指定的倍数系数。
    sizeFunction当sizeType指定为Function时,指定的委托函数。
    startIndex开始显示图形标记的索引。
    interval显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    forceShowLastfalse是否强制显示最后一个图形标记。
    repeatfalse图形是否重复。
    minSize0fv3.3.0图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。
    maxSize0fv3.3.0图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieTheme

    XCharts.Runtime.SerieTheme : ChildComponent

    fielddefaultsincecomment
    lineWidth文本颜色。
    lineSymbolSize折线图的Symbol大小。
    scatterSymbolSize散点图的Symbol大小。
    pieTooltipExtraRadius饼图鼠标移到高亮时的额外半径
    selectedRate1.3f折线图或散点图在被选中时的放大倍数。
    pieSelectedOffset饼图选中时的中心点偏移。
    candlestickColorColor32(235, 84, 84, 255)K线图阳线(涨)填充色
    candlestickColor0Color32(71, 178, 98, 255)K线图阴线(跌)填充色
    candlestickBorderWidth1K线图边框宽度
    candlestickBorderColorColor32(235, 84, 84, 255)K线图阳线(跌)边框色
    candlestickBorderColor0Color32(71, 178, 98, 255)K线图阴线(跌)边框色

    Settings

    XCharts.Runtime.Settings : MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    fielddefaultsincecomment
    showtrue
    maxPainter10设定的painter数量。
    reversePainterfalsePainter是否逆序。逆序时index大的serie最先绘制。
    basePainterMaterialBase Pointer 材质球,设置后会影响Axis等。
    seriePainterMaterialSerie Pointer 材质球,设置后会影响所有Serie。
    upperPainterMaterialUpper Pointer 材质球。
    topPainterMaterialTop Pointer 材质球。
    lineSmoothStyle2.5f曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。
    lineSmoothness2fWhen the area with gradient is filled, the larger the value, the worse the transition effect.
    lineSegmentDistance3f线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。
    cicleSmoothness2f圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。
    legendIconLineWidth2Line类型图例图标的线条宽度。
    legendIconCornerRadius图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    axisMaxSplitNumber50v3.1.0坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    SimplifiedBar

    XCharts.Runtime.SimplifiedBar : Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedCandlestick

    XCharts.Runtime.SimplifiedCandlestick : Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedLine

    XCharts.Runtime.SimplifiedLine : Serie, INeedSerieContainer, ISimplifiedSerie

    SingleAxis

    XCharts.Runtime.SingleAxis : Axis, IUpdateRuntimeData

    单轴。

    fielddefaultsincecomment
    orient坐标轴朝向。默认为水平朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1f组件离容器左侧的距离。
    right0.1f组件离容器右侧的距离。
    top0f组件离容器上侧的距离。
    bottom0.2f组件离容器下侧的距离。
    width0坐标轴宽。
    height50坐标轴高。

    SingleAxisCoord

    XCharts.Runtime.SingleAxisCoord : CoordSystem

    StageColor

    XCharts.Runtime.StageColor : ChildComponent

    fielddefaultsincecomment
    percent结束位置百分比。
    color颜色。

    StateStyle

    XCharts.Runtime.StateStyle : ChildComponent / Subclasses: BlurStyle, EmphasisStyle, SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    fielddefaultsincecomment
    showtrue是否启用高亮样式。
    label图形文本标签。 LabelStyle
    labelLine图形文本引导线样式。 LabelLine
    itemStyle图形样式。 ItemStyle
    lineStyle折线样式。 LineStyle
    areaStyle区域样式。 AreaStyle
    symbol标记样式。 SerieSymbol

    SubTitleTheme

    XCharts.Runtime.SubTitleTheme : ComponentTheme

    SymbolStyle

    XCharts.Runtime.SymbolStyle : ChildComponent / Subclasses: SerieSymbol

    系列数据项的标记的图形

    fielddefaultsincecomment
    showtrue是否显示标记。
    type标记类型。
    SymbolType:
    - None: 不显示标记。
    - Custom: 自定义标记。
    - Circle: 圆形。
    - EmptyCircle: 空心圆。
    - Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    - EmptyRect: 空心正方形。
    - Triangle: 三角形。
    - EmptyTriangle: 空心三角形。
    - Diamond: 菱形。
    - EmptyDiamond: 空心菱形。
    - Arrow: 箭头。
    - EmptyArrow: 空心箭头。
    size0f标记的大小。
    gap0图形标记和线条的间隙距离。
    width0f图形的宽。
    height0f图形的高。
    offsetVector2.zero图形的偏移。
    image自定义的标记图形。
    imageType图形填充类型。
    color图形的颜色。

    TextLimit

    XCharts.Runtime.TextLimit : ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    fielddefaultsincecomment
    enablefalse是否启用文本自适应。 [default:true]
    maxWidth0Clipping occurs when the width of the text is greater than this value.
    gap1两边留白像素距离。 [default:10f]
    suffix长度超出时的后缀。 [default: "..."]

    TextPadding

    XCharts.Runtime.TextPadding : Padding

    文本的内边距设置。

    TextStyle

    XCharts.Runtime.TextStyle : ChildComponent

    文本的相关设置。

    fielddefaultsincecomment
    showtrue文本的相关设置。
    font文本字体。 [default: null]
    autoWrapfalse是否自动换行。
    autoAligntrue文本是否让系统自动选对齐方式。为false时才会用alignment。
    rotate0文本的旋转。 [default: 0f]
    autoColorfalse是否开启自动颜色。当开启时,会自动设置颜色。
    color文本的颜色。 [default: Color.clear]
    fontSize0文本字体大小。 [default: 18]
    fontStyle文本字体的风格。 [default: FontStyle.Normal]
    lineSpacing1f行间距。 [default: 1f]
    alignment对齐方式。
    tMPFontTextMeshPro字体。
    tMPFontStyle
    tMPAlignment
    tMPSpriteAssetv3.1.0

    Theme

    XCharts.Runtime.Theme : ScriptableObject

    主题相关配置。

    fielddefaultsincecomment
    themeType主题类型。
    ThemeType:
    - Default: 默认主题。
    - Light: 亮主题。
    - Dark: 暗主题。
    - Custom: 自定义主题。
    themeName主题名称。
    font主题字体。
    tMPFont主题字体。
    contrastColor对比色。
    backgroundColor背景颜色。
    colorPalette调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
    commonComponentTheme
    titleTitleTheme
    subTitleSubTitleTheme
    legendLegendTheme
    axisAxisTheme
    tooltipTooltipTheme
    dataZoomDataZoomTheme
    visualMapVisualMapTheme
    serieSerieTheme

    ThemeStyle

    XCharts.Runtime.ThemeStyle : ChildComponent

    主题相关配置。

    fielddefaultsincecomment
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse是否透明背景颜色。当设置为true时,不绘制背景颜色。
    enableCustomThemefalse是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。
    customFont
    customBackgroundColor自定义的背景颜色。
    customColorPalette

    Title

    XCharts.Runtime.Title : MainComponent, IPropertyChanged

    标题组件,包含主标题和副标题。

    fielddefaultsincecomment
    showtrue是否显示标题组件。
    text主标题文本,支持使用 \n 换行。
    subText副标题文本,支持使用 \n 换行。
    labelStyle主标题文本样式。 LabelStyle
    subLabelStyle副标题文本样式。 LabelStyle
    itemGap0主副标题之间的间距。
    location标题显示位置。 Location

    TitleStyle

    XCharts.Runtime.TitleStyle : LabelStyle, ISerieDataComponent, ISerieComponent

    标题相关设置。

    TitleTheme

    XCharts.Runtime.TitleTheme : ComponentTheme

    Tooltip

    XCharts.Runtime.Tooltip : MainComponent

    提示框组件。

    fielddefaultsincecomment
    showtrue是否显示提示框组件。
    type提示框指示器类型。
    Tooltip.Type:
    - Line: 直线指示器
    - Shadow: 阴影指示器
    - None: 无指示器
    - Corss: 十字准星指示器。坐标轴显示Label和交叉线。
    trigger触发类型。
    Tooltip.Trigger:
    - Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    - Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    - None: 什么都不触发。
    positionv3.3.0显示位置类型。
    Tooltip.Position:
    - Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    - Custom: 自定义。完全自定义显示位置(x,y)。
    - FixedX: 只固定坐标X。Y跟随鼠标位置。
    - FixedY:
    itemFormatter提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用
    titleFormatter提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
    markerserie的符号标志。
    fixedWidth0固定宽度。比 minWidth 优先。
    fixedHeight0固定高度。比 minHeight 优先。
    minWidth0最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。
    minHeight0最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    paddingLeftRight10左右边距。
    paddingTopBottom10上下边距。
    ignoreDataShowfalse是否显示忽略数据在tooltip上。
    ignoreDataDefaultContent被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。
    showContenttrue是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。
    alwayShowContentfalse是否触发后一直显示提示框浮层。
    offsetVector2(18f, -25f)提示框相对于鼠标位置的偏移。
    backgroundImage提示框的背景图片。
    backgroundType提示框的背景图片显示类型。
    backgroundColor提示框的背景颜色。
    borderWidth2f边框线宽。
    fixedX0f固定X位置的坐标。
    fixedY0.7f固定Y位置的坐标。
    titleHeight25f标题文本的高。
    itemHeight25f数据项文本的高。
    borderColorColor32(230, 230, 230, 255)边框颜色。
    lineStyle指示线样式。 LineStyle
    titleLabelStyle标题的文本样式。 LabelStyle
    contentLabelStyles内容部分的文本样式列表。和列一一对应。

    TooltipTheme

    XCharts.Runtime.TooltipTheme : ComponentTheme

    fielddefaultsincecomment
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f指示线线宽。
    lineColor指示线颜色。
    areaColor区域指示的颜色。
    labelTextColor十字指示器坐标轴标签的文本颜色。
    labelBackgroundColor十字指示器坐标轴标签的背景颜色。

    UIComponentTheme

    XCharts.Runtime.UIComponentTheme : ChildComponent

    fielddefaultsincecomment
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse

    VisualMap

    XCharts.Runtime.VisualMap : MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    fielddefaultsincecomment
    showtrue组件是否生效。
    showUIfalse是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。
    type组件类型。
    VisualMap.Type:
    - Continuous: 连续型。
    - Piecewise: 分段型。
    selectedMode选择模式。
    VisualMap.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    serieIndex0影响的serie索引。
    min0范围最小值
    max0范围最大值
    range指定手柄对应数值的位置。range 应在[min,max]范围内。
    text两端的文本,如 ['High', 'Low']
    textGap两端文字主体之间的距离,单位为px。
    splitNumber5对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。
    calculablefalse是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。
    realtimetrue拖拽时,是否实时更新。
    itemWidth20f图形的宽度,即颜色条的宽度。
    itemHeight140f图形的高度,即颜色条的高度。
    itemGap10f每个图元之间的间隔距离。
    borderWidth0边框线宽,单位px。
    dimension-1Starting at 1, the default is 0 to take the last dimension in data.
    autoMinMaxtrueAutomatically set min, Max value 自动设置min,max的值
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location组件显示的位置。 Location
    workOnLinetrue组件是否对LineChart的LineStyle有效。
    workOnAreafalse组件是否对LineChart的AreaStyle有效。
    outOfRange定义 在选中范围外 的视觉颜色。
    inRange分段式每一段的相关配置。

    VisualMapRange

    XCharts.Runtime.VisualMapRange : ChildComponent

    fielddefaultsincecomment
    min范围最小值
    max范围最大值
    label文字描述
    color颜色

    VisualMapTheme

    XCharts.Runtime.VisualMapTheme : ComponentTheme

    fielddefaultsincecomment
    borderWidth边框线宽。
    borderColor边框颜色。
    backgroundColor背景颜色。
    triangeLen20f可视化组件的调节三角形边长。

    XAxis

    XCharts.Runtime.XAxis : Axis

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    XCharts.Runtime.XCResourcesImporter

    XCSettings

    XCharts.Runtime.XCSettings : ScriptableObject

    fielddefaultsincecomment
    langLang
    font
    tMPFont
    fontSizeLv128一级字体大小。
    fontSizeLv224
    fontSizeLv320
    fontSizeLv418
    axisLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisLineWidth0.8f
    axisSplitLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisSplitLineWidth0.8f
    axisTickWidth0.8f
    axisTickLength5f
    gaugeAxisLineWidth15f
    gaugeAxisSplitLineWidth0.8f
    gaugeAxisSplitLineLength15f
    gaugeAxisTickWidth0.8f
    gaugeAxisTickLength5f
    tootipLineWidth0.8f
    dataZoomBorderWidth0.5f
    dataZoomDataLineWidth0.5f
    visualMapBorderWidth0f
    serieLineWidth1.8f
    serieLineSymbolSize5f
    serieScatterSymbolSize20f
    serieSelectedRate1.3f
    serieCandlestickBorderWidth1f
    editorShowAllListDatafalse
    maxPainter10
    lineSmoothStyle3f
    lineSmoothness2f
    lineSegmentDistance3f
    cicleSmoothness2f
    visualMapTriangeLen20f
    pieTooltipExtraRadius8f
    pieSelectedOffset8f
    customThemes

    YAxis

    XCharts.Runtime.YAxis : Axis

    直角坐标系 grid 中的 y 轴。

    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/extra/index.html b/en/docs/v3.7.0/extra/index.html index b87773bd..dd81859b 100644 --- a/en/docs/v3.7.0/extra/index.html +++ b/en/docs/v3.7.0/extra/index.html @@ -14,13 +14,13 @@ 扩展图表 | XCharts - - + +
    Version: v3.7.0

    扩展图表

    XCharts的扩展图表。

    支持的扩展图表

    扩展图表如何导入到XCharts-Demo

    Pie3DChart 为例:

    1. 购买图表:购买扩展图表后,Github找到仓库 XCharts-Pie3DChart(私有仓库,购买后加入Team才可见)
    2. 下载图表:选择和XCharts最接近的版本
    3. 导入图表:将下载好的XCharts-Pie3DChart目录覆盖到XCharts-Demo项目中的Packages/XCharts-Pie3DChart
    4. 下载图表Demo:Github找到仓库 XCharts-Pie3DChart-Demo并下载
    5. 导入图表Demo:将下载好的XCharts-Pie3DChart-Demo目录覆盖到XCharts-Demo项目中的Assets/XChartsExtensionDemo/XCharts-Pie3DChart-Demo

    扩展图表如何导入自己的项目中

    Pie3DChart 为例:

    1. 先确保项目中已导入XCharts
    2. 再导入XCharts-Pie3DChart即可,不需要导入XCharts-Pie3DChart-Demo(如果要导入的话需要Unity版本接近2019.4.39f1)
    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/faq/index.html b/en/docs/v3.7.0/faq/index.html index d55e0eb2..2271b4b2 100644 --- a/en/docs/v3.7.0/faq/index.html +++ b/en/docs/v3.7.0/faq/index.html @@ -14,8 +14,8 @@ 常见问题 | XCharts - - + +
    @@ -50,7 +50,7 @@ QA 29:如何修改Serie的Symbol的颜色?
    QA 30:导入或更新XCharts时TMP报错怎么办?
    QA 31:支持空数据吗?如何实现折线图断开的效果?

    如何调整坐标轴与背景的边距

    答:Grid组件,可调整上下左右边距。

    如何让初始动画重新播放

    答:调用AnimationReset()接口。

    如何自定义折线图_饼图等数据项的颜色

    答:通过ThemecolorPalette调整,或者部分Serie下的LineStyleItemStyle

    如何格式化文字_如我想给坐标轴标签加上单位

    答:通过formatternumericFormatter参数,在LegendAxisAxisLabelTooltopSerieLabel都提供该参数的配置。

    如何让柱形图的柱子堆叠显示

    答:设置Serie下的stackstack相同的serie会堆叠显示在一个柱子上。

    如何让柱形图的柱子同柱但不重叠

    答:设置Serie下的barGap-1stack为空。

    如何调整柱形图的柱子宽度和间距

    答:调整Serie下的barWidthbarGap,多个serie时最后一个seriebarWidthbarGap有效。

    如何调整柱形图单个柱子的颜色

    答:可通过调整单个Data下的ItemStyle调整,也可以通过两个serie同柱不堆叠来实现,通过设置数据项为0来达到类似效果。

    如何调整图表的对齐方式

    答:调整RectTransform的锚点,和UGUI的其他组件的用法一致。

    可以显示超过1000以上的大数据吗

    答:可以。但UGUI对单个Graphic限制65000个顶点,所以太多的数据不一定能显示完全。可通过设置采样距离sampleDist开启采样简化过密曲线。也可以通过设置一些参数来减少图表的顶点数有助于显示更多数据。如缩小图表的尺寸,关闭或减少坐标轴的客户端绘制,关闭Seriesymbollabel显示等。折线图的普通线图Normal比平滑线图Smooth占用顶点数更少。1.5.0以上版本可以设置largelargeThreshold参数来开启性能模式。

    折线图可以画虚线点线点划线吗

    答:可以。通过Serie下的lineType选择线条样式。当要显示的数据过多(成千以上)数据间过密时建议使用Normal或者Step样式。

    如何限定Y轴的值范围

    答:设置Axis下的minMaxTypeCustom,自定义minmax

    如何自定义数值轴刻度大小

    答:默认时通过Axis下的splitNumer进行自动划分。也可以设置interval自定义刻度大小。

    如何在数据项顶上显示文本

    答:通过设置Serie下的Label。3.0版本需要先添加LabelStyle组件。

    如何给数据项自定义图标

    答:通过设置Seriedata下的数据项可单独设置icon相关参数。

    锯齿太严重_如何让图表更顺滑

    答:开启抗锯齿设置(在Unity里设置)。调整UI渲染模式为Camera模式,开启MSAA,设置4倍或更高抗锯齿。

    为什么鼠标移上图表Tooltip不显示

    答:确认Tooltip是否开启;确认父节点是否关闭了鼠标事件。

    如何取消Tooltip的竖线

    答:设置TooltiptypeNone。或者调整lineStyle的参数。

    如何自定义Tooltip的显示内容

    答:自定义总的内容可以通过Tooltipformatter。如果只是想调整所有的serie的显示格式可以用itemFormattertitleFormatter结合。如果想每个serie的显示格式不一样,可以定制serieitemStyle里的tooltipFormatter。具体的用法请查阅XCharts配置项手册

    如何让Y轴显示多位小数

    答:设置Axis下的AxisLabel中的formatter{value:f1}{value:f2}1.5.0及以上版本通过numericFormatter设置。

    如何用代码动态更新数据

    答:请查阅Example下的代码,Example13_LineSimple.cs就是一个简单添加数据构建折线图的例子,其他Demo也都是通过代码控制不同的组件实现不同的功能,相关API请查看文档:XChartsAPI接口

    如何显示图例_为什么有时候图例无法显示

    答:首先,你的serie里的name需有值不为空。然后开启Legend显示,里面的data可以默认为空,表示显示所有的图例。如果你只想显示部分serie的图例,在data中填入要显示的图例的name即可。如果data中的值都不是系列的name,那图例就不会显示。

    如何做成预设

    答:做成prefab前,执行一下Rebuild Chart Object重新刷新节点,避免有冗余的节点存在。

    如何在图表上画点画线等自定义内容

    答:XCharts有自定义绘制回调onCustomDraw,具体可参考Example12_CustomDrawing.cs

    如何实现心电图类似的数据移动效果

    答:参考Example目录下的Example_Dynamic.cs。主要通过设置maxCache参数实现。axisserie都设置相同的maxCachemaxCache可固定数据个数,当数据超过设定时会先删除第一个在添加新数据,实现数据移动效果。

    如何使用背景组件_有什么条件限制

    答:设置background组件的showtrue

    区域折线图在用半透明颜色时有时候会一条叠加的线

    答:这是区域折线图绘制的bug。可以用浅的不透的颜色替代半透明颜色。

    Mesh_cannot_have_more_than_65000_vertices

    答:这是UGUI对单个Graphic的顶点数限制。XCharts是将图形绘制在单个Graphic上,所以也会有这个限制。解决的办法可以参考:QA 10:可以显示超过1000以上的大数据吗?

    为什么serie里设置的参数运行后又被重置了

    答:检测下代码里是否调用了RemoveData()并重新添加Serie了。如果想保留Serie的配置可以只ClearData(),然后重新添加数据。

    如何修改Serie的Symbol的颜色

    答:Symbol 的颜色是使用的 ItemStylecolor

    导入或更新XCharts时TMP报错怎么办

    答:XCharts默认时不开启TMP,所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    支持空数据吗_如何实现折线图断开的效果

    答:Seriedatadouble类型,所以无法表示空数据。可通过开启Serieignore和指定ignoreValue来达到空数据的效果。也可以每个SerieData设置ignore参数。忽略数据后断开还是连接可设置ignoreLineBreak参数。

    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/funnel/index.html b/en/docs/v3.7.0/funnel/index.html index fc14a393..37238ba1 100644 --- a/en/docs/v3.7.0/funnel/index.html +++ b/en/docs/v3.7.0/funnel/index.html @@ -14,14 +14,14 @@ FunnelChart 漏斗图 | XCharts - - + +
    Version: v3.7.0

    FunnelChart 漏斗图

    XCharts的付费扩展图表 - 漏斗图。

    funnel

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    FunnelChart

    XCharts.Runtime.Funnels.FunnelChart : BaseChart

    配置项手册

    Funnel

    XCharts.Runtime.Funnels.Funnel : Serie

    fielddefaultsincecomment
    rectEndv3.3.0是否最后以矩形结束。默认false以三角形结束。
    dynamicHeightv3.3.0是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/gantt/index.html b/en/docs/v3.7.0/gantt/index.html index d118f9e7..ce1b5333 100644 --- a/en/docs/v3.7.0/gantt/index.html +++ b/en/docs/v3.7.0/gantt/index.html @@ -14,14 +14,14 @@ GanttChart 甘特图 | XCharts - - + +
    Version: v3.7.0

    GanttChart 甘特图

    XCharts付费扩展图表 - 甘特图。

    gantt

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    GanttChart

    XCharts.Runtime.Gantts.GanttChart : BaseChart

    public methodsincedescription
    GetSeriesMinMaxValue()public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    InitAxisRuntimeData()public override void InitAxisRuntimeData(Axis axis)
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)

    配置项手册

    Gantt

    XCharts.Runtime.Gantts.Gantt : Serie

    fielddefaultsincecomment
    disableDrag

    GanttStyle

    XCharts.Runtime.Gantts.GanttStyle : MainComponent

    fielddefaultsincecomment
    showtrue
    ganttType甘特图类型。
    GanttType:
    - Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    - Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。
    inverttrue
    dragEnabletrue是否可以拖拽甘特图。
    dragSensitivity1f拖拽的灵敏度。
    dragRangeMin0拖拽最小值限制。
    dragRangeMax0拖拽最大值限制。
    autoAdsorbAlignlinetrue拖拽结束后是否自动吸附到对齐线。
    alignlineDataIndex1显示对齐线的数据项索引。
    showAlignlineRange10f显示对齐线的范围。
    aliginLine对齐线样式。
    splitArea
    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/gauge/index.html b/en/docs/v3.7.0/gauge/index.html index aba17ea0..42bfb00c 100644 --- a/en/docs/v3.7.0/gauge/index.html +++ b/en/docs/v3.7.0/gauge/index.html @@ -14,14 +14,14 @@ GaugeChart 仪表盘 | XCharts - - + +
    Version: v3.7.0

    GaugeChart 仪表盘

    XCharts付费扩展图表 - 仪表盘。

    gauge

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    master

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.17) 增加GaugerangeDataMode可设置是否使用范围数据模式
    • (2023.03.17) 增加Gaugeloop可设置是否循环数据,用于时钟甘特图
    • (2023.03.17) 增加GaugePointervalue可设置指针位置
    • (2023.03.17) 增加Clock时钟仪表盘支持
    • (2023.03.13) 增加GaugePointernowTime可设置指针指向当前时间
    • (2023.03.13) 增加GaugePointervalue可设置当前指针位置
    • (2023.03.13) 增加Clock类型的甘特图支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.10.05) 增加GaugeAxisLinestageGradient支持设置阶段渐变色过渡

    v3.3.0

    • (2022.09.28) 发布v3.3.0版本
    • (2022.08.26) 修复Pointer在普通模式下不显示的问题
    • (2022.08.25) 增加label颜色跟随数值变化的支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.15) 支持渐变

    API

    GaugeChart

    XCharts.Runtime.Gauges.GaugeChart : BaseChart

    配置项手册

    Gauge

    XCharts.Runtime.Gauges.Gauge : Serie

    fielddefaultsincecomment
    rangeDataModefalsev3.6.0数值是否为范围数据。启用该模式后,data中的每个值都是一个数组,数组中的第一个值为起始值,第二个值为结束值。指针只有一个,数据绘制为环形。
    loopfalsev3.6.0数值是否循环。可用在钟表图。
    gaugeAxis仪表盘轴线。 GaugeAxis
    gaugePointer仪表盘指针。 GaugePointer
    gaugeAnchor仪表盘指针固定点。 GaugeAnchor

    GaugeAnchor

    XCharts.Runtime.Gauges.GaugeAnchor : ChildComponent

    fielddefaultsincecomment
    showtrue是否显示指针固定点。
    showAbovetrue固定点是否显示在指针上面。
    type标记类型。
    size6标记的大小。
    gap0图形标记和线条的间隙距离。
    image自定义的标记图形。
    imageType
    offsetCenterVector2(0, 0)相对于中心的偏移位置。
    itemStyle图形样式。

    GaugeAxis

    XCharts.Runtime.Gauges.GaugeAxis : ChildComponent

    仪表盘轴线相关设置。

    fielddefaultsincecomment
    showtrue
    type
    GaugeAxisType:
    - None: 仪表盘类型
    - Section: 分段
    - Progress: 进度
    overlaptrue
    distance
    axisLine仪表盘轴线样式。 GaugeAxisLine
    splitLine分割线。
    axisTick刻度。
    axisLabel文本标签。
    axisLabelText自定义Label的内容。

    GaugeAxisLine

    XCharts.Runtime.Gauges.GaugeAxisLine : BaseLine

    fielddefaultsincecomment
    backgroundColorColor32(230, 235, 248, 255)进度条背景颜色。
    stageColor阶段颜色。
    stageGradientv3.4.0阶段颜色是否渐变过渡。

    GaugePointer

    XCharts.Runtime.Gauges.GaugePointer : ChildComponent

    仪表盘指针相关设置。

    fielddefaultsincecomment
    showtrue是否显示指针。
    length0.6f指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backLength0.05f指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backExtraLength0.05f指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topLeftLength0f指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topRightLength0f指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomLeftLength0.025f指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomRightLength0.025f指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    distance
    roundCap
    autoColortrue
    color
    toColor
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    valuev3.6.0指针的值。当为时钟仪表盘时,可通过指定value值来控制指针的位置。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/inputsystem/index.html b/en/docs/v3.7.0/inputsystem/index.html index b317fc32..fcd46df2 100644 --- a/en/docs/v3.7.0/inputsystem/index.html +++ b/en/docs/v3.7.0/inputsystem/index.html @@ -14,13 +14,13 @@ 切换到新的输入系统Input System | XCharts - - + +
    Version: v3.7.0

    教程:切换到新的输入系统Input System

    1. 按图示修改项目配置中输入模式为 Input System

    Project Settings

    2. 使用 Unity Package Manager 安装 Input System

    UPM

    3. 选中场景中 EventSystem 游戏对象,更换输入模组

    Input Module

    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/lang/articles/ui/ui_statistic/index.html b/en/docs/v3.7.0/lang/articles/ui/ui_statistic/index.html index db847d45..468b1cc7 100644 --- a/en/docs/v3.7.0/lang/articles/ui/ui_statistic/index.html +++ b/en/docs/v3.7.0/lang/articles/ui/ui_statistic/index.html @@ -14,13 +14,13 @@ UIStatistic 统计数值 | XCharts - - + +
    Version: v3.7.0

    UIStatistic 统计数值

    statistic

    统计数值组件。用于展示统计数值。

    何时使用:

    • 当需要突出某个或某组数字时。
    • 当需要展示带描述的统计类数据时使用。

    支持的功能有:

    • 常规数值
    • 倒计时
    • 添加图标
    • 变更动画
    • 事件回调
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/lang/articles/ui/ui_table/index.html b/en/docs/v3.7.0/lang/articles/ui/ui_table/index.html index fcbdb0fb..d73b3ff6 100644 --- a/en/docs/v3.7.0/lang/articles/ui/ui_table/index.html +++ b/en/docs/v3.7.0/lang/articles/ui/ui_table/index.html @@ -14,13 +14,13 @@ UITable 表格 | XCharts - - + +
    Version: v3.7.0

    UITable 表格

    table

    表格组件。可用于展示行列数据。

    支持的功能有:

    • 显示或隐藏列表头
    • 显示或隐藏行表头
    • 任意调整行列宽高
    • 支持行号
    • 支持选中
    • 支持分割线
    • 支持滚动和拖拽
    • 支持滚动条
    • 支持图标图片
    • 排序(暂不支持)
    • 分页(暂不支持)
    • 查找(暂不支持)
    • 过滤(暂不支持)
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/liquid/index.html b/en/docs/v3.7.0/liquid/index.html index f77a4ed9..23a2fd0a 100644 --- a/en/docs/v3.7.0/liquid/index.html +++ b/en/docs/v3.7.0/liquid/index.html @@ -14,15 +14,15 @@ LiquidChart 水位图 | XCharts - - + +
    Version: v3.7.0

    LiquidChart 水位图

    XCharts的付费扩展图表 - 水位图。

    liquid

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    LiquidChart

    XCharts.Runtime.Liquids.LiquidChart : BaseChart 水位图

    VesselContext

    XCharts.Runtime.Liquids.VesselContext : MainComponentContext

    配置项手册

    Liquid

    XCharts.Runtime.Liquids.Liquid : Serie, INeedSerieContainer

    fielddefaultsincecomment
    waveHeight10f波高。
    waveLength20f波长。为0-1小数时指直线的百分比。
    waveSpeed5f波速。正数时左移,负数时右移。
    waveOffset0f波偏移。

    Vessel

    XCharts.Runtime.Liquids.Vessel : MainComponent, ISerieContainer, IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    fielddefaultsincecomment
    showtrue是否显示容器组件。 [defaut: true]
    shape容器形状。 [default: Shape.Circle]
    Vessel.Shape:
    - Circle: 圆形
    - Rect: 正方形。
    - Triangle: 三角形。
    - Diamond: 菱形。
    shapeWidth5f容器厚度。 [defaut: 5f]
    gap5f间隙。容器和液体的间隙。 [defaut: 10f]
    colorColor32(70, 70, 240, 255)容器颜色。默认和serie一致。
    backgroundColor背景色,默认透明。 [default: Color.clear]
    autoColortrue是否自动颜色。为true时颜色会和serie一致。 [default: true]
    centerWhen value between 0 and 1 represents a percentage relative to the chart.
    radius0.35fWhen value between 0 and 1 represents a percentage relative to the chart.
    smoothness1f水波平滑度。 [default: 1f]
    width0.5fWhen value between 0 and 1 represents a percentage relative to the chart.
    height0.7fWhen value between 0 and 1 represents a percentage relative to the chart.
    borderWidth0f内壁边框。
    borderColorColor32(70, 70, 240, 255)容器内壁边框颜色。默认和serie一致。
    cornerRadius容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/pictorialbar/index.html b/en/docs/v3.7.0/pictorialbar/index.html index d99fc8f2..480a07dc 100644 --- a/en/docs/v3.7.0/pictorialbar/index.html +++ b/en/docs/v3.7.0/pictorialbar/index.html @@ -14,14 +14,14 @@ PictorialBarChart 象形柱图 | XCharts - - + +
    Version: v3.7.0

    PictorialBarChart 象形柱图

    XCharts付费扩展图表 - 象形柱图。

    pictorialbar

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBarChart

    XCharts.Runtime.PictorialBars.PictorialBarChart : BaseChart

    配置项手册

    PictorialBar

    XCharts.Runtime.PictorialBars.PictorialBar : Serie, INeedSerieContainer

    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/pie3d/index.html b/en/docs/v3.7.0/pie3d/index.html index c308c350..0e9a879c 100644 --- a/en/docs/v3.7.0/pie3d/index.html +++ b/en/docs/v3.7.0/pie3d/index.html @@ -14,8 +14,8 @@ Pie3DChart 3D饼图 | XCharts - - + +
    @@ -23,7 +23,7 @@ 配置项手册

    日志

    v3.6.2

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.1

    • (2023.05.21) 增加avoidLabelOverlap支持

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.3.0

    • (2022.09.02) 增加onPointerEnterPie回调支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pie3DChart

    XCharts.Runtime.Pie3Ds.Pie3DChart : BaseChart 3D饼图。

    Pie3DSlice

    XCharts.Runtime.Pie3Ds.Pie3DSlice 3D饼图的切块。

    public methodsincedescription
    Contains()public bool Contains(float angle)
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    IsInSidePolygon()public bool IsInSidePolygon(Vector2 p)
    IsInStartOrEndSide()public bool IsInStartOrEndSide(Vector2 p)
    IsInTopPolygon()public bool IsInTopPolygon(Vector2 p)
    Pie3DSlice()public Pie3DSlice()
    UpdateValue()public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig)

    配置项手册

    Pie3D

    XCharts.Runtime.Pie3Ds.Pie3D : Serie

    fielddefaultsincecomment
    pie3DStylePie3DStyle

    Pie3DStyle

    XCharts.Runtime.Pie3Ds.Pie3DStyle : ChildComponent

    3D饼图样式。

    fielddefaultsincecomment
    showtrue
    ellipseMinorAxis0.65f椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。
    pieMaxHeight20f饼图厚度。
    pieAutoHeightfalse是否自动根据比例计算厚度。
    selectedOffsetVector2(0.1f, 0.5f)The offset of selected pie slice. 被选中状态的饼图块的额外偏移。
    peripherySideColorRate0.8f饼图切块的侧面颜色。
    startSideColorRate0.7f饼图切块的起始面颜色(顺时针)。
    endSideColorRate0.65f饼图切块的结束面颜色(顺时针)。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/pyramid/index.html b/en/docs/v3.7.0/pyramid/index.html index a8fa5be5..c2efa808 100644 --- a/en/docs/v3.7.0/pyramid/index.html +++ b/en/docs/v3.7.0/pyramid/index.html @@ -14,14 +14,14 @@ PyramidChart 金字塔 | XCharts - - + +
    Version: v3.7.0

    PyramidChart 金字塔

    XCharts付费扩展图表 - 金字塔。

    pyramid

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.21) 增加Tooltip支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    PyramidChart

    XCharts.Runtime.Pyramids.PyramidChart : BaseChart

    配置项手册

    Pyramid

    XCharts.Runtime.Pyramids.Pyramid : Serie

    fielddefaultsincecomment
    pyramidStylePyramidStyle

    PyramidStyle

    XCharts.Runtime.Pyramids.PyramidStyle : ChildComponent

    fielddefaultsincecomment
    showtrue
    3Dtrue
    drawToptrue
    bottomPointRate0.5f3D模式下,底部中点占金字塔宽度的比例
    leftPointRate0.1f3D模式下,底部左边点占金字塔高度的比例
    rightPointRate0.1f3D模式下,底部右边点占金字塔高度的比例
    leftColorOpacity0.9f3D模式下,金字塔左边的颜色透明度
    rightColorOpacity0.7f3D模式下,金字塔右边的颜色透明度
    topColorOpacity0.99f3D模式下,金字塔顶部的颜色透明度
    labelLineMargin10fLabel标签距离右边的距离
    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/support/index.html b/en/docs/v3.7.0/support/index.html index dc8eac93..7c24c0d9 100644 --- a/en/docs/v3.7.0/support/index.html +++ b/en/docs/v3.7.0/support/index.html @@ -14,15 +14,15 @@ 订阅服务 | XCharts - - + +
    Version: v3.7.0

    订阅服务

    如需技术支持,可订阅个人VIP服务。扫后面的二维码付费后可加VIP群867291970,验证信息请输入付费的账号。
    企业商务合作可联系QQ:3525422251(XCharts技术支持)。

    订阅VIP服务

    订阅服务分个人订阅企业订阅

    • 个人订阅个人VIP属于个人,不可转让,XCharts团队只服务于订阅当事人。
    • 企业订阅企业VIP属于企业,席位内可安排固定职员,职员离职后席位可重新安排,XCharts团队通过专属企业群为企业服务。

    订阅服务有哪些优势?

    • 提高工作效率,节省时间成本。一方面,XCharts功能强大,相关配置项非常多,VIP服务可快速帮您定位,节省去查找和核对的时间;另一方面,VIP的即时回答服务可快速为您答疑解惑,避免中断开发流程,快速上手,快速处理问题,至少能提高10倍以上的工作效率。
    • 更多技术交流,更多经验交流。XCharts团队成员从业多年,有丰富的技术和工作经验。VIP服务不仅可以交流XCharts相关的内容,也可以咨询其他方面的技术。VIP群也有更多的交流。
    • 扩展图表需要订阅VIP服务后才能购买,扩展图表超过1年后的更新支持也需要持续订阅VIP服务。
    • VIP用户可加入XChartsGitHub组织,参与XCharts的社区构建,访问专有仓库。拥有扩展UI组件等专属功能。
    • XCharts交流群里拥有VIP专属标识,问题会第一时间得到响应,有问即答。
    免费用户付费咨询个人VIP个人SVIP企业VIP
    订阅费用--98¥298¥首年1298¥
    后续298¥*
    联系我们
    订阅时长--7天*11年*1
    订阅席位--1个席位1个席位1个席位5个以上席位
    服务方式:
    官方QQ群交流
    即时一对一交流
    专属VIP群交流√(专属企业群)
    服务内容:
    可商用
    可二次开发
    有问即答
    新手指导
    开发指导
    优化指导
    其他技术支持
    问题及时处理
    需求优先考虑
    可另付费定制
    可另付费加急
    扩展UI组件
    扩展图表购买按需购买全部免费全部免费
    扩展图表源码永久持有永久持有永久持有
    扩展图表更新1年更新支持1年更新支持1年更新支持

    购买扩展图表

    扩展图表为另付费购买图表,只对订阅了VIP服务的用户开放购买。对于SVIP的订阅用户,所有扩展图表仓库可免费使用,不用再单独购买。

    对所有已购买的扩展图表,源码可永久持有,并获得持续一年的更新支持,一年后如需更新支持服务,可再继续订阅VIP服务。

    编号扩展图表价格备注
    101PictorialBarChart98¥象形柱图
    102FunnelChart98¥漏斗图
    103PyramidChart98¥3D金字塔
    104TreemapChart98¥树形矩图
    201Bar3DChart198¥3D柱图
    202Pie3DChart198¥3D饼图
    203GanttChart198¥甘特图
    204GaugeChart198¥仪表盘
    205LiquidChart198¥水位图

    备注说明

    1. 付费定制 是指用户可根据自己的需求定制不同的图表或新功能,只有VIP用户才享有付费定制权利。
    2. 付费加急 是指用户可对自己非常紧急的需求进行付费,将开发优先级提到最高,并可要求在指定截止日期内交付,只有VIP用户才享有付费加急权利。
    3. 付费咨询 付费咨询有效期7天,且总咨询时长不超过7个小时。
    4. 扩展图表 购买后代码可永久持有和商用,1年的更新和技术支持。

    捐助支持

    如果这个项目对您有帮助,请右上方点 Star 予以支持!也欢迎任意金额的捐助,非常感谢您的支持!

    二维码

    如果看不到二维码图片,可以加QQXCharts技术支持:3525422251或邮件monitor1394@gmail.com咨询。

    alipay-qrcode wechat-qrcode

    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/treemap/index.html b/en/docs/v3.7.0/treemap/index.html index 79b5e96b..1fa5abc7 100644 --- a/en/docs/v3.7.0/treemap/index.html +++ b/en/docs/v3.7.0/treemap/index.html @@ -14,14 +14,14 @@ TreemapChart 矩形树图 | XCharts - - + +
    Version: v3.7.0

    TreemapChart 矩形树图

    XCharts付费扩展图表 - 矩形树图。

    treemap

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    TreemapChart

    XCharts.Runtime.Treemaps.TreemapChart : BaseChart

    配置项手册

    Treemap

    XCharts.Runtime.Treemaps.Treemap : Serie

    fielddefaultsincecomment
    leafDepth0默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。
    visualDimension0用于计算占比的数据维数。
    drillDownIcon当节点可以下钻时的提示符,只能是字符。默认为▶
    customGoUpLevelButton自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。
    upperLabel父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。
    levelStyle
    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/tutorial01/index.html b/en/docs/v3.7.0/tutorial01/index.html index a2ed4fcf..80031381 100644 --- a/en/docs/v3.7.0/tutorial01/index.html +++ b/en/docs/v3.7.0/tutorial01/index.html @@ -14,8 +14,8 @@ 入门教程:5分钟上手 XCharts 3.0 | XCharts - - + +
    @@ -23,7 +23,7 @@ linechart2

    添加其他组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件按需额外添加。比如,需要给折线图区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent linechart3

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加Component。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent linechart4

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个至几十个不等的可配置参数,以支持各种灵活而复杂的功能。

    首次使用XCharts,可在 Inspector 视图添加各种图表,给图表添加或调整里面组件,Game 视图会实时反馈调整后的效果,以熟悉各种组件的使用。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是配置和数据来驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不需要去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时还原回来。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    通常颜色值为0000时表示用主题默认颜色,配置为0或null时表示用主题默认配置。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.EnsureChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.EnsureChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.EnsureChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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;

    清空默认数据,添加Line类型的Serie用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    用代码改图表参数

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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;

    注:低版本没有EnsureChartComponent()接口时,用GetOrAddChartComponent()

    改Serie的参数

    对于新添加的Serie:

    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:

    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添加额外组件:

    serie.EnsureComponent<AreaStyle>();

    var label = serie1.EnsureComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/tutorial02/index.html b/en/docs/v3.7.0/tutorial02/index.html index 05f360c6..91237530 100644 --- a/en/docs/v3.7.0/tutorial02/index.html +++ b/en/docs/v3.7.0/tutorial02/index.html @@ -14,13 +14,13 @@ 从文件或数据库读取数据显示图表 | XCharts - - + +
    Version: v3.7.0

    从文件或数据库读取数据显示图表

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/tutorial03/index.html b/en/docs/v3.7.0/tutorial03/index.html index f48a5a0c..34e76d34 100644 --- a/en/docs/v3.7.0/tutorial03/index.html +++ b/en/docs/v3.7.0/tutorial03/index.html @@ -14,13 +14,13 @@ 心电图效果实现 | XCharts - - + +
    Version: v3.7.0

    心电图效果实现

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.7.0/ui/index.html b/en/docs/v3.7.0/ui/index.html index 637c20aa..f544dc07 100644 --- a/en/docs/v3.7.0/ui/index.html +++ b/en/docs/v3.7.0/ui/index.html @@ -14,13 +14,13 @@ 扩展UI组件 | XCharts - - + +
    Version: v3.7.0

    扩展UI组件

    XCharts的扩展UI组件,VIP订阅用户专有。

    组件列表

    如何使用

    • 使用该仓库前先确保项目里已有对应版本的XCharts。
    • 下载本仓库放入Assets下或者通过Package Manager导入。

    更新日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 增加UIStatistic
    • (2023.02.14) 增加UITable
    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/about/index.html b/en/docs/v3.8.1/about/index.html index 11457b57..042d1e19 100644 --- a/en/docs/v3.8.1/about/index.html +++ b/en/docs/v3.8.1/about/index.html @@ -14,8 +14,8 @@ 关于XCharts | XCharts - - + +
    @@ -31,7 +31,7 @@ 答:XCharts只支持在Unity平台使用。理论上任何支持UGUIUnity版本都能运行XCharts

  • 锯齿怎么解决?支持多大量级的数据?
    答:XCharts是基于UGUI实现的,所以UGUI中碰到的问题,在XCharts中也会存在。比如锯齿问题,比如Mesh顶点数超65535的问题。这两个问题的解决可参考问答16问答27
    由于Mesh65535顶点数的限制,目前XCharts的单条Line支持约2万的数据量,当然开启采样可以支持更多数据的绘制,但同时也会更消耗CPU。

  • Licenses

    • MIT License
    • 可免费商用,可二次开发
    • 扩展图表和高级功能部分需单独购买授权

    日志

    订阅

    • XCharts核心库是开源的,可免费使用的。在此基础上,我们也提供多种订阅服务以满足不同用户的需求,订阅详情☞ 请看这里
    • 订阅不是必须的,不影响XCharts的常用功能使用。
    • 订阅是按年付费制,部分订阅服务的首年费用比次年要高,是因为包含了购买部分源码。次年的费用基本都是服务费。
    • 订阅到期后,不要求必须续订,但中断订阅期间无法享受技术支持等服务。如需继续服务,可从当日继续续订即可。

    其他

    • 邮箱:monitor1394@gmail.com
    • QQ群:XCharts交流群(202030963
    • VIP群:XCharts技术支持VIP群(867291970
    • 捐助、合作、订阅和技术支持:☞ 看这里
    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/api/index.html b/en/docs/v3.8.1/api/index.html index 6c66fa88..760c3392 100644 --- a/en/docs/v3.8.1/api/index.html +++ b/en/docs/v3.8.1/api/index.html @@ -14,8 +14,8 @@ API手册 | XCharts - - + +
    @@ -31,7 +31,7 @@ UI组件基类。

    public methodsincedescription
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。

    UIHelper

    XCharts.Runtime.UIHelper UI帮助类。

    public methodsincedescription
    GetBackgroundColor()public static Color32 GetBackgroundColor(UIComponent component)

    VisualMapContext

    XCharts.Runtime.VisualMapContext : MainComponentContext

    VisualMapHelper

    XCharts.Runtime.VisualMapHelper

    public methodsincedescription
    AutoSetLineMinMax()public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
    GetDimension()public static int GetDimension(VisualMap visualMap, int defaultDimension)
    IsNeedAreaGradient()public static bool IsNeedAreaGradient(VisualMap visualMap)
    IsNeedGradient()public static bool IsNeedGradient(VisualMap visualMap)
    IsNeedLineGradient()public static bool IsNeedLineGradient(VisualMap visualMap)
    SetMinMax()public static void SetMinMax(VisualMap visualMap, double min, double max)

    XChartsMgr

    XCharts.Runtime.XChartsMgr

    public methodsincedescription
    AddChart()public static void AddChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(string chartName)
    GetChart()public static BaseChart GetChart(string chartName)
    GetCharts()public static List<BaseChart> GetCharts(string chartName)
    GetPackageFullPath()public static string GetPackageFullPath()
    GetRepeatChartNameInfo()public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
    IsRepeatChartName()public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
    RemoveAllChartObject()public static void RemoveAllChartObject()
    RemoveChart()public static void RemoveChart(string chartName)

    XCResourceImporterWindow

    XCharts.Runtime.XCResourceImporterWindow : UnityEditor.EditorWindow

    public methodsincedescription
    ShowPackageImporterWindow()public static void ShowPackageImporterWindow()

    XCThemeMgr

    XCharts.Runtime.XCThemeMgr

    public methodsincedescription
    AddTheme()public static void AddTheme(Theme theme)
    CheckReloadTheme()public static void CheckReloadTheme()
    ContainsTheme()public static bool ContainsTheme(string themeName)
    ExportTheme()public static bool ExportTheme(Theme theme)
    ExportTheme()public static bool ExportTheme(Theme theme, string themeNewName)
    GetAllThemeNames()public static List<string> GetAllThemeNames()
    GetTheme()public static Theme GetTheme(string themeName)
    GetTheme()public static Theme GetTheme(ThemeType type)
    GetThemeAssetPath()public static string GetThemeAssetPath(string themeName)
    GetThemeList()public static List<Theme> GetThemeList()
    LoadTheme()public static Theme LoadTheme(string themeName)
    LoadTheme()public static Theme LoadTheme(ThemeType type)
    ReloadThemeList()public static void ReloadThemeList()
    重新加载主题列表
    SwitchTheme()public static void SwitchTheme(BaseChart chart, string themeName)

    XLog

    XCharts.Runtime.XLog : MonoBehaviour 日志系统。用于输出带日期和日志类型的日志,支持输出到文件,支持自定义输出的日志类型。

    public methodsincedescription
    CanLog()public static bool CanLog(int level)
    ClearAllLog()public static void ClearAllLog()
    Debug()public static void Debug(string log)
    EnableLog()public static void EnableLog(int logType)
    Error()public static void Error(string log)
    FlushLog()public static void FlushLog()
    GetNowTime()public static string GetNowTime(string formatter = null)
    GetTimestamp()public static ulong GetTimestamp()
    Info()public static void Info(string log)
    Log()public static void Log(string log)
    LogError()public static void LogError(string log)
    LogWarning()public static void LogWarning(string log)
    Proto()public static void Proto(string log)
    Vital()public static void Vital(string log)
    Warning()public static void Warning(string log)
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/bar3d/index.html b/en/docs/v3.8.1/bar3d/index.html index ae824615..13ffdb52 100644 --- a/en/docs/v3.8.1/bar3d/index.html +++ b/en/docs/v3.8.1/bar3d/index.html @@ -14,14 +14,14 @@ Bar3DChart 3D柱图 | XCharts - - + +
    Version: v3.8.1

    Bar3DChart 3D柱图

    XCharts的付费扩展图表 - 3D柱图。

    截图

    Bar3D01Bar3D02Bar3D03Bar3D04Bar3D05
    Bar3D07Bar3D08Bar3D09Bar3D10

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0
    • (2023.02.14) 增加Bar3DStyletopColorbottomColorsideColor参数支持

    v3.5.0

    • (2022.11.29) 增加SeriebarMaxWidth参数支持
    • (2022.11.27) 增加SerieItemStylebackgroundColor参数支持
    • (2022.11.27) 增加SeriecolorBy的支持
    • (2022.11.27) 更新文档

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    v3.1.0

    • (2022.07.14) 发布v3.1.0版本
    • (2022.07.14) 增加bottomColorRate,cylinderRate参数
    • (2022.07.14) 调整topColorBurnRate改名为topColorRate
    • (2022.07.14) 调整sideColorBurnRate改名为sideColorRate
    • (2022.07.14) 调整dire改名为cubeDire
    • (2022.07.14) 支持Cylinder圆柱和Cube立方柱

    API

    Bar3DChart

    XCharts.Runtime.Bar3Ds.Bar3DChart : BaseChart

    配置项手册

    Bar3D

    XCharts.Runtime.Bar3Ds.Bar3D : Serie, INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    fielddefaultsincecomment
    bar3DTypev3.1.0
    Bar3DType:
    - Cube: 立方柱。
    - Cylinder: 圆柱。
    bar3DStyleBar3DStyle

    Bar3DStyle

    XCharts.Runtime.Bar3Ds.Bar3DStyle : ChildComponent

    fielddefaultsincecomment
    showtrue
    verticalArrangefalse是否垂直排列。
    verticalArrangeDireVector3(-1, 1)垂直排列时的方向。
    verticalArrangeGap0.5f垂直排列时两个柱子间的间隙。
    barOffsetVector3.zero柱子偏移。
    widthRate0.5f方形柱侧边宽度相对正面的比例。
    topColorRate0.8f柱子顶部相对正面的颜色比例。
    bottomColorRate1f柱子底部相对正面的颜色比例。
    sideColorRate0.7f方形柱侧边相对正面的颜色比例。
    cubeDireVector3(1, 1)方形柱形成3D效果的方向。
    cylinderRate0.5fv3.1.0圆柱的顶部椭圆比列。
    topColorv3.6.0
    bottomColorv3.6.0
    sideColorv3.6.0
    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/changelog/index.html b/en/docs/v3.8.1/changelog/index.html index e3c367d8..17733864 100644 --- a/en/docs/v3.8.1/changelog/index.html +++ b/en/docs/v3.8.1/changelog/index.html @@ -14,8 +14,8 @@ 更新日志 | XCharts - - + +
    @@ -80,7 +80,7 @@ v0.8.0
    v0.5.0
    v0.1.0

    master

    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) 增加PieradiusGradient可设置半径方向的渐变效果
    • (2023.09.05) 优化LabelLinelineEndXPie中的表现
    • (2023.09.05) 修复TriggerTooltip()接口对Ring无效的问题
    • (2023.09.05) 修复Radar数据全为0时绘制报错的问题

    v3.8.0

    版本要点:

    • 重构Animation动画系统,增加新增动画交互动画的支持
    • 完善PieChart的动画交互表现
    • 增加SymbolEmptyTriangleEmptyDiamondPlusMinus四种新标记
    • 完善Chart的鼠标交互回调
    • 增加LabelLine可固定横坐标的功能
    • 增加GridLayout网格布局组件
    • 增加TooltipAuto类型
    • 优化和修复若干其他问题

    日志详情:

    • (2023.09.03) 发布v3.8.0版本
    • (2023.09.01) 增加TooltipAuto自动设置显示类型和触发类型
    • (2023.08.29) 增加RinggridIndex支持设置指定网格
    • (2023.08.29) 增加RadargridIndex支持设置指定网格
    • (2023.08.29) 增加PiegridIndex支持设置指定网格
    • (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) 修复YAxisLabel可能会重复的问题
    • (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本地开启TextMeshProNewInputSystem后更新版本会报错的问题 (#272)
    • (2023.08.12) 修复Chart在运行时被删除时会异常报错的问题 (#269)
    • (2023.08.11) 修复DataZoom开启时可能会导致无法添加数据的问题
    • (2023.08.11) 修复SerieData单独设置ItemStyleitemFormatter不生效的问题
    • (2023.08.10) 优化BarChartTooltipTriggerItem时的表现
    • (2023.08.09) 增加Axis可通过设置IconStylecolorclear来实现动态图标颜色的支持
    • (2023.08.08) 增加PieLabelLinelineEndX的支持
    • (2023.08.05) 整理Examples的代码,删除不必要的用例
    • (2023.08.04) 增加LabelLinelineEndX可设置引导线固定X位置的支持
    • (2023.08.04) 增加RingavoidLabelOverlap避免文本堆叠的支持 (#247)
    • (2023.08.03) 完善ChartonSerieEnteronSerieExitonSerieClick回调
    • (2023.08.02) 修复BarChartonSerieEnteronSerieExit回调无效的问题
    • (2023.08.02) 增加SymbolPlus加号和Minus减号的支持
    • (2023.07.31) 增加SymbolEmptyTriangleEmptyDiamond的支持,优化Symbol表现效果
    • (2023.07.31) 优化Line的默认配置效果
    • (2023.07.27) 增加SerieminRadius可设置最小半径
    • (2023.07.26) 增加MLValue多样式数值
    • (2023.07.25) 增加XLog日志系统
    • (2023.07.18) 完善Pie饼图的交互动画效果
    • (2023.07.14) 增加AnimationInteraction交互动画配置支持
    • (2023.07.11) 增加AnimationAddition新增动画配置支持
    • (2023.07.11) 重构Animation动画系统,完善动画体验
    • (2023.06.30) 增加PolarCoodindicatorLabelOffset设置指示文本偏移的支持
    • (2023.06.30) 修复AxisIndicatorLabel的背景颜色可能不正常的问题
    • (2023.06.30) 增加AxisIndicatorLabel可自定义color的支持
    • (2023.06.12) 修复AxisLabelformatterFunction在数值轴时value不对的问题

    v3.7.0

    版本要点:

    • 增加HelpDoc官网帮助文档跳转
    • 增加LineClip的支持
    • 优化Axis的范围设置
    • 其他优化和修复

    日志详情:

    • (2023.06.08) 发布v3.7.0版本
    • (2023.06.04) 增加HelpDoc帮助文档跳转
    • (2023.05.30) 修复Serie的名字带_线导致Legend无法触发的问题 (#259) (by svr2kos2)
    • (2023.05.10) 增加AxisMinMaxAuto范围类型
    • (2023.05.10) 增加LineClip的支持
    • (2023.05.04) 优化Axis在-1到1范围时设置CeilRate不生效的问题
    • (2023.05.04) 优化AxisMinMax类型范围计算
    • (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) 增加BaseChartTriggerTooltip()接口尝试触发ToolTip
    • (2023.04.12) 优化RadarCood设置startAngle时文本也跟随调整位置
    • (2023.04.12) 增加Radar对通配符{b}的支持
    • (2023.04.11) 修复Inspector在动态添加组件时可能异常的问题

    v3.6.0

    版本要点:

    • 增加InputSystem支持 (by Bian-Sh)
    • 增加官网在线示例多版本支持 (by SHL-COOL)
    • 完善对VR的支持 (by Ambitroc)
    • 增加UITableUIStatistic扩展UI组件
    • 增加ItemStyleMarkColor
    • 增加通配符{h}的支持
    • 优化TooltipLegendDataZoomAxis等组件
    • 重构相关API接口,完善回调接口
    • 修复若干问题

    升级注意:

    • 部分接口有调整,可根据提示更换下接口即可。

    日志详情:

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.14) 修复TooltiptitleFormater设置{b}可能不生效的问题
    • (2023.03.14) 修复BarChart在数据为0时不绘制柱条背景的问题 (#250) (by Ambitroc)
    • (2023.03.12) 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转
    • (2023.03.10) 增加VR等其他非鼠标输入方式的Point位置获取 (#248) (by Ambitroc)
    • (2023.03.09) 增加ChartonSerieClickonSerieDownonSerieEnteronSerieExit回调
    • (2023.03.09) 修复Pie的点击选中偏移不生效的问题
    • (2023.03.04) 增加LegendPositions可自定义图例的位置
    • (2023.03.03) 修复Animation变更动画可能无效的问题
    • (2023.02.28) 修复Legend点击时SerieLabel不刷新的问题
    • (2023.02.26) 增加DataZoomstartEndFunction委托
    • (2023.02.12) 重构Component相关代码,调整API接口
    • (2023.02.10) 修复AxisLog轴时某些情况下最小值不正确的问题
    • (2023.02.10) 优化Axis的数值Label的默认显示格式
    • (2023.02.08) 增加DataZoomstartLockendLock参数支持锁定
    • (2023.02.02) 修复DataZoom开启时X轴Label可能会显示在图表外的问题
    • (2023.02.02) 优化SerieDataignore设置时的忽略数据判断
    • (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) 删除SerieMarkColor,增加ItemStyleMarkColor
    • (2022.12.29) 增加EditorList+添加编辑功能
    • (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) 修复AxisValue轴在某些情况下计算数值范围不准确的问题
    • (2022.12.12) 优化Legendformatter支持{h}通配符
    • (2022.12.12) 修复Legendformatter设置为固定值时显示不正常的问题
    • (2022.12.08) 增加AreaStyletoTop参数可设置折线图渐变色是到顶部还是到实际位置
    • (2022.12.07) 增加Formatter的文本通配符{h}支持设置当前颜色值

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Convert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/configuration/index.html b/en/docs/v3.8.1/configuration/index.html index 642d2b5a..14891d2c 100644 --- a/en/docs/v3.8.1/configuration/index.html +++ b/en/docs/v3.8.1/configuration/index.html @@ -14,13 +14,13 @@ 配置项手册 | XCharts - - + +
    Version: v3.8.1

    配置项手册

    Serie 系列

    Theme 主题

    MainComponent 主组件

    ChildComponent 子组件

    ISerieComponent 可添加到Serie的组件

    ISerieDataComponent 可添加到SerieData的组件

    Other 其他

    AngleAxis

    XCharts.Runtime.AngleAxis : Axis

    极坐标系的角度轴。

    fielddefaultsincecomment
    startAngle0起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    XCharts.Runtime.AngleAxisTheme : BaseAxisTheme

    AnimationAddition

    XCharts.Runtime.AnimationAddition : AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    XCharts.Runtime.AnimationChange : AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    XCharts.Runtime.AnimationFadeIn : AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    XCharts.Runtime.AnimationFadeOut : AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    XCharts.Runtime.AnimationHiding : AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    XCharts.Runtime.AnimationInfo / Subclasses: AnimationFadeIn, AnimationFadeOut, AnimationChange, AnimationAddition, AnimationHiding, AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    fielddefaultsincecomment
    enabletruev3.8.0是否开启动画效果。
    reversefalsev3.8.0是否开启反向动画效果。
    delay0v3.8.0动画开始前的延迟时间。
    duration1000v3.8.0动画的时长。

    AnimationInteraction

    XCharts.Runtime.AnimationInteraction : AnimationInfo

    v3.8.0 开始支持

    交互动画。

    fielddefaultsincecomment
    widthv3.8.0宽度的多样式数值。 MLValue
    radiusv3.8.0半径的多样式数值。 MLValue
    offsetv3.8.0交互的多样式数值。如饼图的扇形选中时的偏移。 MLValue

    AnimationStyle

    XCharts.Runtime.AnimationStyle : ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    fielddefaultsincecomment
    enabletrue是否开启动画效果。
    type动画类型。
    AnimationType:
    - Default: 默认。内部会根据实际情况选择一种动画播放方式。
    - LeftToRight: 从左往右播放动画。
    - BottomToTop: 从下往上播放动画。
    - InsideOut: 由内到外播放动画。
    - AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    - Clockwise: 顺时针播放动画。
    easting
    AnimationEasing:
    - Linear:
    threshold2000是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
    unscaledTimev3.4.0动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。
    fadeInv3.8.0渐入动画配置。 AnimationFadeIn
    fadeOutv3.8.0渐出动画配置。 AnimationFadeOut
    changev3.8.0数据变更动画配置。 AnimationChange
    additionv3.8.0数据新增动画配置。 AnimationAddition
    hidingv3.8.0数据隐藏动画配置。 AnimationHiding
    interactionv3.8.0交互动画配置。 AnimationInteraction

    AreaStyle

    XCharts.Runtime.AreaStyle : ChildComponent, ISerieComponent, ISerieDataComponent

    区域填充样式。

    fielddefaultsincecomment
    showtrue是否显示区域填充。
    origin区域填充的起始位置。
    AreaStyle.AreaOrigin:
    - Auto: 填充坐标轴轴线到数据间的区域。
    - Start: 填充坐标轴底部到数据间的区域。
    - End: 填充坐标轴顶部到数据间的区域。
    color区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。
    toColor渐变色的终点颜色。
    opacity0.6f图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    innerFillv3.2.0是否只填充多边形区域。目前只支持凸多边形。
    toToptruev3.6.0渐变色是到顶部还是到实际位置。默认为true到顶部。

    ArrowStyle

    XCharts.Runtime.ArrowStyle : ChildComponent

    fielddefaultsincecomment
    width10箭头宽。
    height15箭头高。
    offset0箭头偏移。
    dent3箭头的凹度。
    colorColor.clear箭头颜色。

    Axis

    XCharts.Runtime.Axis : MainComponent / Subclasses: AngleAxis, ParallelAxis, RadiusAxis, SingleAxis, XAxis, YAxis

    直角坐标系的坐标轴组件。

    fielddefaultsincecomment
    showtrue是否显示坐标轴。
    type坐标轴类型。
    Axis.AxisType:
    - Value: 数值轴。适用于连续数据。
    - Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    - Log: 对数轴。适用于对数数据。
    - Time: 时间轴。适用于连续的时序数据。
    minMaxType坐标轴刻度最大最小值显示类型。
    Axis.AxisMinMaxType:
    - Default: 0-最大值。
    - MinMax: 最小值-最大值。
    - Custom: 自定义最小值最大值。
    - MinMaxAuto: [since("v3.7.0")]最小值-最大值。自动计算合适的值。
    gridIndex坐标轴所在的 grid 的索引,默认位于第一个 grid。
    polarIndex坐标轴所在的 ploar 的索引,默认位于第一个 polar。
    parallelIndex坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
    position坐标轴在Grid中的位置。
    Axis.AxisPosition:
    - Left: 坐标轴在Grid中的位置
    - Right: 坐标轴在Grid中的位置
    - Bottom: 坐标轴在Grid中的位置
    - Top: 坐标轴在Grid中的位置
    offset坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
    min设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
    max设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
    splitNumber0坐标轴的期望的分割段数。默认为0表示自动分割。
    interval0强制设置坐标轴分割间隔。无法在类目轴中使用。
    boundaryGaptrue坐标轴两边是否留白。只对类目轴有效。
    maxCache0The first data will be remove when the size of axis data is larger then maxCache.
    logBase10对数轴的底数,只在对数轴(type:'Log')中有效。
    logBaseEfalse对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    inversefalse是否反向坐标轴。在类目轴中无效。
    clockwisetrue刻度增长是否按顺时针,默认顺时针。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    icons类目数据对应的图标。
    data类目数据,在类目轴(type: 'category')中有效。
    axisLine坐标轴轴线。 AxisLine
    axisName坐标轴名称。 AxisName
    axisTick坐标轴刻度。 AxisTick
    axisLabel坐标轴刻度标签。 AxisLabel
    splitLine坐标轴分割线。 AxisSplitLine
    splitArea坐标轴分割区域。 AxisSplitArea
    minorTickv3.2.0坐标轴次刻度。 AxisMinorTick
    minorSplitLinev3.2.0坐标轴次分割线。 AxisMinorSplitLine
    indicatorLabelv3.4.0指示器文本的样式。Tooltip为Cross时使用。 LabelStyle

    AxisLabel

    XCharts.Runtime.AxisLabel : LabelStyle

    坐标轴刻度标签的相关设置。

    fielddefaultsincecomment
    interval0坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    insidefalse刻度标签是否朝内,默认朝外。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。
    onZerofalse刻度标签显示在0刻度上。
    showStartLabeltrue是否显示第一个文本。
    showEndLabeltrue是否显示最后一个文本。
    textLimit文本限制。 TextLimit

    AxisLine

    XCharts.Runtime.AxisLine : BaseLine

    坐标轴轴线。

    fielddefaultsincecomment
    onZeroX 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。
    showArrow是否显示箭头。
    arrow轴线箭头。 ArrowStyle

    AxisMinorSplitLine

    XCharts.Runtime.AxisMinorSplitLine : BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    fielddefaultsincecomment
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。

    AxisMinorTick

    XCharts.Runtime.AxisMinorTick : BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    fielddefaultsincecomment
    splitNumber5分隔线之间分割的刻度数。
    autoColor

    AxisName

    XCharts.Runtime.AxisName : ChildComponent

    坐标轴名称。

    fielddefaultsincecomment
    show是否显示坐标轴名称。
    name坐标轴名称。
    onZerov3.1.0坐标轴名称的位置是否保持和Y轴0刻度一致。
    labelStyle文本样式。 LabelStyle

    AxisSplitArea

    XCharts.Runtime.AxisSplitArea : ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    fielddefaultsincecomment
    show是否显示分隔区域。
    color分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitLine

    XCharts.Runtime.AxisSplitLine : BaseLine

    坐标轴在 grid 区域中的分隔线。

    fielddefaultsincecomment
    interval坐标轴分隔线的显示间隔。
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。
    showStartLinetruev3.3.0是否显示第一条分割线。
    showEndLinetruev3.3.0是否显示最后一条分割线。

    AxisTheme

    XCharts.Runtime.AxisTheme : BaseAxisTheme

    AxisTick

    XCharts.Runtime.AxisTick : BaseLine

    坐标轴刻度相关设置。

    fielddefaultsincecomment
    alignWithLabel类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。
    inside坐标轴刻度是否朝内,默认朝外。
    showStartTick是否显示第一个刻度。
    showEndTick是否显示最后一个刻度。
    distance刻度线与轴线的距离。
    splitNumber0分隔线之间分割的刻度数。
    autoColor

    Background

    XCharts.Runtime.Background : MainComponent

    背景组件。

    fielddefaultsincecomment
    showtrue是否启用背景组件。
    image背景图。
    imageType背景图填充类型。
    imageColor背景图颜色。
    autoColortrue当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。

    Bar

    XCharts.Runtime.Bar : Serie, INeedSerieContainer

    BaseAxisTheme

    XCharts.Runtime.BaseAxisTheme : ComponentTheme / Subclasses: AxisTheme, RadiusAxisTheme, AngleAxisTheme, PolarAxisTheme, RadarAxisTheme

    fielddefaultsincecomment
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f坐标轴线宽。
    lineLength0f坐标轴线长。
    lineColor坐标轴线颜色。
    splitLineType分割线线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    splitLineWidth1f分割线线宽。
    splitLineLength0f分割线线长。
    splitLineColor分割线线颜色。
    minorSplitLineColor次分割线线颜色。
    tickWidth1f刻度线线宽。
    tickLength5f刻度线线长。
    tickColor坐标轴线颜色。
    splitAreaColors坐标轴分隔区域的颜色。

    BaseLine

    XCharts.Runtime.BaseLine : ChildComponent / Subclasses: AxisLine, AxisMinorSplitLine, AxisMinorTick, AxisSplitLine, AxisTick

    线条基础配置。

    fielddefaultsincecomment
    show是否显示坐标轴轴线。
    lineStyle线条样式 LineStyle

    BaseScatter

    XCharts.Runtime.BaseScatter : Serie, INeedSerieContainer / Subclasses: EffectScatter, Scatter

    BaseSerie

    XCharts.Runtime.BaseSerie / Subclasses: Serie

    BlurStyle

    XCharts.Runtime.BlurStyle : StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    CalendarCoord

    XCharts.Runtime.CalendarCoord : CoordSystem, IUpdateRuntimeData, ISerieContainer

    Candlestick

    XCharts.Runtime.Candlestick : Serie, INeedSerieContainer

    ChartText

    XCharts.Runtime.ChartText

    ChildComponent

    XCharts.Runtime.ChildComponent / Subclasses: AnimationStyle, AxisName, AxisSplitArea, AreaStyle, ArrowStyle, BaseLine, IconStyle, ImageStyle, ItemStyle, Level, LevelStyle, LineArrow, LineStyle, Location, MLValue, MarqueeStyle, Padding, StageColor, SymbolStyle, TextLimit, TextStyle, CommentItem, CommentMarkStyle, LabelLine, LabelStyle, MarkAreaData, MarkLineData, StateStyle, VisualMapRange, UIComponentTheme, SerieData, ComponentTheme, SerieTheme, ThemeStyle

    Comment

    XCharts.Runtime.Comment : MainComponent, IPropertyChanged

    图表注解组件。

    fielddefaultsincecomment
    showtrue是否显示注解组件。
    labelStyle所有组件的文本样式。 LabelStyle
    markStyle所有组件的文本样式。 CommentMarkStyle
    items注解项。每个注解组件可以设置多个注解项。

    CommentItem

    XCharts.Runtime.CommentItem : ChildComponent

    注解项。

    fielddefaultsincecomment
    showtrue是否显示当前注解项。
    content注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。
    markRect注解区域。
    markStyle注解标记区域样式。 CommentMarkStyle
    labelStyle注解项的文本样式。 LabelStyle
    locationv3.5.0Comment显示的位置。 Location

    CommentMarkStyle

    XCharts.Runtime.CommentMarkStyle : ChildComponent

    注解项区域样式。

    fielddefaultsincecomment
    showtrue是否显示当前注解项。
    lineStyle线条样式。 LineStyle

    ComponentTheme

    XCharts.Runtime.ComponentTheme : ChildComponent / Subclasses: BaseAxisTheme, DataZoomTheme, LegendTheme, SubTitleTheme, TitleTheme, TooltipTheme, VisualMapTheme

    fielddefaultsincecomment
    font字体。
    textColor文本颜色。
    textBackgroundColor文本颜色。
    fontSize18文本字体大小。
    tMPFont字体。

    CoordSystem

    XCharts.Runtime.CoordSystem : MainComponent / Subclasses: RadarCoord, CalendarCoord, GridCoord, ParallelCoord, PolarCoord, SingleAxisCoord

    坐标系系统。

    DataZoom

    XCharts.Runtime.DataZoom : MainComponent, IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    fielddefaultsincecomment
    enabletrue是否显示缩放区域。
    filterMode数据过滤类型。
    DataZoom.FilterMode:
    - Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    - WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    - Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    - None: 不过滤数据,只改变数轴范围。
    xAxisIndexs控制的 x 轴索引列表。
    yAxisIndexs控制的 y 轴索引列表。
    supportInside是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
    supportInsideScrolltrue是否支持坐标系内滚动
    supportInsideDragtrue是否支持坐标系内拖拽
    supportSlider是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。
    supportMarquee是否支持框选。提供一个选框进行数据区域缩放。
    showDataShadow是否显示数据阴影。数据阴影可以简单地反应数据走势。
    showDetail是否显示detail,即拖拽时候显示详细数值信息。
    zoomLock是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    borderWidth边框宽。
    backgroundColor组件的背景颜色。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    rangeMode取绝对值还是百分比。
    DataZoom.RangeMode:
    - //Value: The value type of start and end.取值类型
    - Percent: 百分比。
    start数据窗口范围的起始百分比。范围是:0 ~ 100。
    end数据窗口范围的结束百分比。范围是:0 ~ 100。
    minShowNum2最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。
    scrollSensitivity1.1f缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。
    orient布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    labelStyle文本标签格式。 LabelStyle
    lineStyle阴影线条样式。 LineStyle
    areaStyle阴影填充样式。 AreaStyle
    marqueeStylev3.5.0选取框样式。 MarqueeStyle
    startLockv3.6.0固定起始值,不让改变。
    endLockv3.6.0固定结束值,不让改变。

    DataZoomTheme

    XCharts.Runtime.DataZoomTheme : ComponentTheme

    fielddefaultsincecomment
    borderWidth边框线宽。
    dataLineWidth数据阴影线宽。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    dataLineColor数据阴影的线条颜色。
    dataAreaColor数据阴影的填充颜色。
    backgroundColor背景颜色。

    DebugInfo

    XCharts.Runtime.DebugInfo

    fielddefaultsincecomment
    showtrue是否显示Debug组件。
    showDebugInfofalse
    showAllChartObjectfalse是否在Hierarchy试图显示所有chart下的节点。
    foldSeriesfalse是否在Inspector上折叠Serie。
    labelStyleLabelStyle

    EffectScatter

    XCharts.Runtime.EffectScatter : BaseScatter

    EmphasisStyle

    XCharts.Runtime.EmphasisStyle : StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    fielddefaultsincecomment
    scale1.1f高亮时的缩放倍数。
    focus在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。
    EmphasisStyle.FocusType:
    - None: 不淡出其它图形,默认使用该配置。
    - Self: 只聚焦(不淡出)当前高亮的数据的图形。
    - Series: 聚焦当前高亮的数据所在的系列的所有图形。
    blurScope在开启focus的时候,可以通过blurScope配置淡出的范围。
    EmphasisStyle.BlurScope:
    - GridCoord: 淡出范围为坐标系,默认使用该配置。
    - Series: 淡出范围为系列。
    - Global: 淡出范围为全局。

    EndLabelStyle

    XCharts.Runtime.EndLabelStyle : LabelStyle

    GridCoord

    XCharts.Runtime.GridCoord : CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    fielddefaultsincecomment
    showtrue是否显示直角坐标系网格。
    layoutIndex-1v3.8.0网格所属的网格布局组件的索引。默认为-1,表示不属于任何网格布局组件。当设置了该值时,left、right、top、bottom属性将失效。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。
    showBorderfalse是否显示网格边框。
    borderWidth0f网格边框宽。
    borderColor网格边框颜色。

    GridLayout

    XCharts.Runtime.GridLayout : MainComponent, IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    fielddefaultsincecomment
    showtrue是否显示直角坐标系网格。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    row2网格布局的行数。
    column2网格布局的列数。
    spacingVector2.zero网格布局的间距。
    inversefalse是否反转网格布局。

    Heatmap

    XCharts.Runtime.Heatmap : Serie, INeedSerieContainer

    fielddefaultsincecomment
    heatmapTypev3.3.0热力图类型。通过颜色映射划分。
    HeatmapType:
    - Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    - Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    XCharts.Runtime.IconStyle : ChildComponent

    fielddefaultsincecomment
    showfalse是否显示图标。
    layer显示在上层还是在下层。
    IconStyle.Layer:
    - UnderText: The icon is display under the label text. 图标在标签文字下
    - AboveText: The icon is display above the label text. 图标在标签文字上
    align水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    sprite图标的图片。
    type图片的显示类型。
    color图标颜色。
    width20图标宽。
    height20图标高。
    offset图标偏移。
    autoHideWhenLabelEmptyfalse当label内容为空时是否自动隐藏图标

    ImageStyle

    XCharts.Runtime.ImageStyle : ChildComponent, ISerieComponent, ISerieDataComponent

    fielddefaultsincecomment
    showtrue是否显示图标。
    sprite图标的图片。
    type图片的显示类型。
    autoColor是否自动颜色。
    color图标颜色。
    width0图标宽。
    height0图标高。

    Indicator

    XCharts.Runtime.Indicator

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    fielddefaultsincecomment
    name指示器名称。
    max指示器的最大值,默认为 0 无限制。
    min指示器的最小值,默认为 0 无限制。
    range正常值范围。当数值不在这个范围时,会自动变更显示颜色。
    show是否显示雷达坐标系组件。
    shape雷达图绘制类型,支持 'Polygon' 和 'Circle'。
    radius100雷达图的半径。
    splitNumber5指示器轴的分割段数。
    center雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    axisLine轴线。 AxisLine
    axisName雷达图每个指示器名称的配置项。 AxisName
    splitLine分割线。 AxisSplitLine
    splitArea分割区域。 AxisSplitArea
    indicatortrue是否显示指示器。
    positionType显示位置类型。
    indicatorGap10指示器和雷达的间距。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    isAxisTooltip是否Tooltip显示轴线上的所有数据。
    outRangeColorColor.red数值超出范围时显示的颜色。
    connectCenterfalse数值是否连线到中心点。
    lineGradienttrue数值线段是否需要渐变。
    startAnglev3.4.0起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    indicatorList指示器列表。

    INeedSerieContainer

    XCharts.Runtime.INeedSerieContainer / Subclasses: Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Radar, BaseScatter

    IPropertyChanged

    XCharts.Runtime.IPropertyChanged / Subclasses: Location, Comment, Legend, Title

    属性变更接口

    ISerieComponent

    XCharts.Runtime.ISerieComponent / Subclasses: AreaStyle, ImageStyle, LineArrow, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于Serie的组件。

    ISerieContainer

    XCharts.Runtime.ISerieContainer / Subclasses: RadarCoord, CalendarCoord, GridCoord, ParallelCoord, PolarCoord

    ISerieDataComponent

    XCharts.Runtime.ISerieDataComponent / Subclasses: AreaStyle, ImageStyle, ItemStyle, LineStyle, SerieSymbol, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    XCharts.Runtime.ISimplifiedSerie / Subclasses: SimplifiedBar, SimplifiedCandlestick, SimplifiedLine

    ItemStyle

    XCharts.Runtime.ItemStyle : ChildComponent, ISerieDataComponent

    图形样式。

    fielddefaultsincecomment
    showtrue是否启用。
    color数据项颜色。
    color0数据项颜色。
    toColor渐变色的颜色1。
    toColor2渐变色的颜色2。只在折线图中有效。
    markColorv3.6.0Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。
    backgroundColor数据项背景颜色。
    backgroundWidth数据项背景宽度。
    centerColor中心区域颜色。
    centerGap中心区域间隙。
    borderWidth0边框宽。
    borderGap0边框间隙。
    borderColor边框的颜色。
    borderColor0边框的颜色。
    borderToColor边框的渐变色。
    opacity1透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    itemMarker提示框单项的字符标志。用在Tooltip中。
    itemFormatter提示框单项的字符串模版格式器。具体配置参考Tooltipformatter
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    IUpdateRuntimeData

    XCharts.Runtime.IUpdateRuntimeData / Subclasses: SingleAxis, DataZoom, CalendarCoord, GridCoord, GridLayout, ParallelCoord

    LabelLine

    XCharts.Runtime.LabelLine : ChildComponent, ISerieComponent, ISerieDataComponent

    标签的引导线

    fielddefaultsincecomment
    showtrue是否显示视觉引导线。
    lineType视觉引导线类型。
    LabelLine.LineType:
    - BrokenLine: 折线
    - Curves: 曲线
    - HorizontalLine: 水平线
    lineColorColor32(0,0,0,0)视觉引导线颜色。默认和serie一致取自调色板。
    lineAngle60视觉引导线的固定角度。对折线和曲线有效。在Pie中无效。
    lineWidth1.0f视觉引导线的宽度。
    lineGap1.0f视觉引导线和容器的间距。
    lineLength125f视觉引导线第一段的长度。
    lineLength215f视觉引导线第二段的长度。
    lineEndX0fv3.8.0视觉引导线结束点的固定x位置。当不为0时,会代替lineLength2设定引导线的x位置。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle

    LabelStyle

    XCharts.Runtime.LabelStyle : ChildComponent, ISerieComponent, ISerieDataComponent / Subclasses: AxisLabel, EndLabelStyle, TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    fielddefaultsincecomment
    showtrue是否显示文本标签。
    Position标签的位置。
    autoOffsetfalse是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。
    offset距离图形元素的偏移
    rotate文本的旋转。
    autoRotatefalsev3.6.0是否自动旋转。
    distance距离轴线的距离。
    formatter标签内容字符串模版格式器。支持用 \n 换行。 模板变量有: {.}:圆点标记。 {a}:系列名。 {a}:系列名。 {b}:类目值或数据名。 {c}:数据值。 {d}:百分比。 {e}:数据名。 {f}:数据和。 示例:“{b}:{c}”
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    width0标签的宽度。一般不用指定,不指定时则自动是文字的宽度。
    height0标签的高度。一般不用指定,不指定时则自动是文字的高度。
    icon图标样式。 IconStyle
    background背景图样式。 ImageStyle
    textPadding文本的边距。 TextPadding
    textStyle文本样式。 TextStyle

    Lang

    XCharts.Runtime.Lang : ScriptableObject

    国际化语言表。

    LangCandlestick

    XCharts.Runtime.LangCandlestick

    LangTime

    XCharts.Runtime.LangTime

    Legend

    XCharts.Runtime.Legend : MainComponent, IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    fielddefaultsincecomment
    showtrue是否显示图例组件。
    iconType图例类型。
    Legend.Type:
    - Auto: 自动匹配。
    - Custom: 自定义图标。
    - EmptyCircle: 空心圆。
    - Circle: 圆形。
    - Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    - Triangle: 三角形。
    - Diamond: 菱形。
    - Candlestick: 烛台(可用于K线图)。
    selectedMode选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。
    Legend.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    - None: 无法选择。
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location图例显示的位置。 Location
    itemWidth25.0f图例标记的图形宽度。
    itemHeight12.0f图例标记的图形高度。
    itemGap10f图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
    itemAutoColortrue图例标记的图形是否自动匹配颜色。
    itemOpacity1图例标记的图形的颜色透明度。
    formatter图例内容字符串模版格式器。支持用 \n 换行。 模板变量为图例名称 {value}。其他模板变量参考Toolip的itemFormatter。
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    labelStyle文本样式。 LabelStyle
    data图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。
    icons自定义的图例标记图形。
    colors图例标记的颜色列表。
    backgroundv3.1.0背景图样式。 ImageStyle
    paddingv3.1.0图例标记和背景的间距。 Padding
    positionsv3.6.0图例标记的自定义位置列表。

    LegendTheme

    XCharts.Runtime.LegendTheme : ComponentTheme

    fielddefaultsincecomment
    unableColor文本颜色。

    Level

    XCharts.Runtime.Level : ChildComponent

    fielddefaultsincecomment
    label文本标签样式。 LabelStyle
    upperLabel上方的文本标签样式。 LabelStyle
    itemStyle数据项样式。 ItemStyle

    LevelStyle

    XCharts.Runtime.LevelStyle : ChildComponent

    fielddefaultsincecomment
    showfalse是否启用LevelStyle
    levels各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    Line

    XCharts.Runtime.Line : Serie, INeedSerieContainer

    LineArrow

    XCharts.Runtime.LineArrow : ChildComponent, ISerieComponent

    fielddefaultsincecomment
    show是否显示箭头。
    position箭头位置。
    LineArrow.Position:
    - End: 末端箭头
    - Start: 头端箭头
    arrow箭头。 ArrowStyle

    LineStyle

    XCharts.Runtime.LineStyle : ChildComponent, ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    fielddefaultsincecomment
    showtrue是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。
    type线的类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    color线的颜色。
    toColor线的渐变颜色(需要水平方向渐变时)。
    toColor2线的渐变颜色2(需要水平方向三个渐变色的渐变时)。
    width0线宽。
    length0线长。
    opacity1线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    dashLength4v3.8.1虚线的长度。默认0时为线条宽度的12倍。在折线图中代表分割段数的倍数。
    dotLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。
    gapLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。

    Location

    XCharts.Runtime.Location : ChildComponent, IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    fielddefaultsincecomment
    align对齐方式。
    Location.Align:
    - TopLeft: 对齐方式
    - TopRight: 对齐方式
    - TopCenter: 对齐方式
    - BottomLeft: 对齐方式
    - BottomRight: 对齐方式
    - BottomCenter: 对齐方式
    - Center: 对齐方式
    - CenterLeft: 对齐方式
    - CenterRight: 对齐方式
    left离容器左侧的距离。
    right离容器右侧的距离。
    top离容器上侧的距离。
    bottom离容器下侧的距离。

    MainComponent

    XCharts.Runtime.MainComponent : IComparable / Subclasses: Axis, Background, Comment, DataZoom, Legend, MarkArea, MarkLine, Settings, Title, Tooltip, VisualMap, GridLayout, CoordSystem

    MarkArea

    XCharts.Runtime.MarkArea : MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    fielddefaultsincecomment
    showtrue是否显示标域。
    textThe text of markArea. 标域显示的文本。
    serieIndex0Serie index of markArea. 标域影响的Serie索引。
    start标域范围的起始数据。 MarkAreaData
    end标域范围的结束数据。 MarkAreaData
    itemStyle标域样式。 ItemStyle
    label标域文本样式。 LabelStyle

    MarkAreaData

    XCharts.Runtime.MarkAreaData : ChildComponent

    标域的数据。

    fielddefaultsincecomment
    type特殊的标域类型,用于标注最大值最小值等。
    MarkAreaType:
    - None: 标域类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标注名称。会作为文字显示。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    XCharts.Runtime.MarkLine : MainComponent

    图表标线。

    fielddefaultsincecomment
    showtrue是否显示标线。
    serieIndex0标线影响的Serie索引。
    animation标线的动画样式。 AnimationStyle
    data标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLineData

    XCharts.Runtime.MarkLineData : ChildComponent

    图表标线的数据。

    fielddefaultsincecomment
    type特殊的标线类型,用于标注最大值最小值等。
    MarkLineType:
    - None: 标线类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    group0分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。
    zeroPositionfalse是否为坐标系原点。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle
    lineStyle标线样式。 LineStyle
    label文本样式。可设置position为Start、Middle和End在不同的位置显示文本。 LabelStyle

    MarqueeStyle

    XCharts.Runtime.MarqueeStyle : ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    fielddefaultsincecomment
    applyfalsev3.5.0选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。
    realRectfalsev3.5.0是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。
    areaStylev3.5.0选取框区域填充样式。 AreaStyle
    lineStylev3.5.0选取框区域边框样式。 LineStyle

    MLValue

    XCharts.Runtime.MLValue : ChildComponent

    v3.8.0 开始支持

    多样式数值。

    fielddefaultsincecomment
    type
    MLValue.Type:
    - Percent: 百分比形式。
    - Absolute: 绝对值形式。
    - Extra: 额外形式。
    value

    Padding

    XCharts.Runtime.Padding : ChildComponent / Subclasses: TextPadding

    边距设置。

    fielddefaultsincecomment
    showtrueshow padding. 是否显示。
    top0顶部间距。
    right2f右部间距。
    left2f左边间距。
    bottom0底部间距。

    Parallel

    XCharts.Runtime.Parallel : Serie, INeedSerieContainer

    ParallelAxis

    XCharts.Runtime.ParallelAxis : Axis

    ParallelCoord

    XCharts.Runtime.ParallelCoord : CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    fielddefaultsincecomment
    showtrue是否显示直角坐标系网格。
    orient坐标轴朝向。默认为垂直朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。

    Pie

    XCharts.Runtime.Pie : Serie

    fielddefaultsincecomment
    radiusGradientfalsev3.8.1是否开启半径方向的渐变效果。

    PolarAxisTheme

    XCharts.Runtime.PolarAxisTheme : BaseAxisTheme

    PolarCoord

    XCharts.Runtime.PolarCoord : CoordSystem, ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    fielddefaultsincecomment
    showtrue是否显示极坐标。
    center极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    backgroundColor极坐标的背景色,默认透明。
    indicatorLabelOffset30fv3.8.0指示器标签的偏移量。

    Radar

    XCharts.Runtime.Radar : Serie, INeedSerieContainer

    fielddefaultsincecomment
    smoothfalsev3.2.0是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    XCharts.Runtime.RadarAxisTheme : BaseAxisTheme

    RadarCoord

    XCharts.Runtime.RadarCoord : CoordSystem, ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    XCharts.Runtime.RadiusAxis : Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    XCharts.Runtime.RadiusAxisTheme : BaseAxisTheme

    Ring

    XCharts.Runtime.Ring : Serie

    Scatter

    XCharts.Runtime.Scatter : BaseScatter

    SelectStyle

    XCharts.Runtime.SelectStyle : StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    XCharts.Runtime.Serie : BaseSerie, IComparable / Subclasses: SerieHandler<T>, Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Pie, Radar, Ring, BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    fielddefaultsincecomment
    index系列索引。
    showtrue系列是否显示在图表上。
    coordSystem使用的坐标系。
    serieType系列类型。
    serieName系列名称,用于 tooltip 的显示,legend 的图例筛选。
    statev3.2.0系列的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    colorByv3.2.0从主题中取色的策略。
    SerieColorBy:
    - Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略。
    - Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    - Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。
    stack数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。
    xAxisIndex0使用X轴的index。
    yAxisIndex0使用Y轴的index。
    radarIndex0雷达图所使用的 radar 组件的 index。
    vesselIndex0水位图所使用的 vessel 组件的 index。
    polarIndex0所使用的 polar 组件的 index。
    singleAxisIndex0所使用的 singleAxis 组件的 index。
    parallelIndex0所使用的 parallel coord 组件的 index。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    minShow系列所显示数据的最小索引
    maxShow系列所显示数据的最大索引
    maxCache系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。
    sampleDist0采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。
    sampleType采样类型。当sampleDist大于0时有效。
    SampleType:
    - Peak: 取峰值。
    - Average: 取过滤点的平均值。
    - Max: 取过滤点的最大值。
    - Min: 取过滤点的最小值。
    - Sum: 取过滤点的和。
    sampleAverage0设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。
    lineType折线图样式类型。
    LineType:
    - Normal: 普通折线图。
    - Smooth: 平滑曲线。
    - StepStart: 阶梯线图:当前点。
    - StepMiddle: 阶梯线图:当前点和下一个点的中间。
    - StepEnd: 阶梯线图:下一个拐点。
    smoothLimitfalsev3.4.0是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。
    barType柱形图类型。
    BarType:
    - Normal: 普通柱形图。
    - Zebra: 斑马柱形图。
    - Capsule: 胶囊柱形图。
    barPercentStackfalse柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。
    barWidth0柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。
    barMaxWidth0v3.5.0柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。
    barGap0.1f不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。
    barZebraWidth4f斑马线的粗细。
    barZebraGap2f斑马线的间距。
    min最小值。
    max最大值。
    minSize0f数据最小值 min 映射的宽度。
    maxSize1f数据最大值 max 映射的宽度。
    startAngle起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    endAngle结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    minAngle最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。
    clockwisetrue是否顺时针。
    roundCap是否开启圆弧效果。
    splitNumber刻度分割段数。最大可设置36。
    clickOffsettrue鼠标点击时是否开启偏移,一般用在PieChart图表中。
    roseType是否展示成南丁格尔图,通过半径区分数据大小。
    RoseType:
    - None: 不展示成南丁格尔玫瑰图。
    - Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    - Area: 所有扇区圆心角相同,仅通过半径展现数据大小。
    gap间距。
    center中心点。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    minRadius0fv3.8.0最小半径。可用于限制玫瑰图的最小半径。
    showDataDimension数据项里的数据维数。
    showDataName在Editor的inpsector上是否显示name参数
    clipfalse是否裁剪超出坐标系部分的图形。
    ignorefalse是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。
    ignoreValue0忽略数据的默认值。当ignore为true才有效。
    ignoreLineBreakfalse忽略数据时折线是断开还是连接。默认false为连接。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。
    largetrue是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。
    largeThreshold200开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。
    avoidLabelOverlapfalse在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。
    radarType雷达图类型。
    RadarType:
    - Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    - Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]
    placeHolderfalse占位模式。占位模式时,数据有效但不参与渲染和显示。
    dataSortType组件的数据排序。
    SerieDataSortType:
    - None: 按数据的顺序。
    - Ascending: 升序。
    - Descending: 降序。
    orient组件的朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    align组件水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    lineStyle线条样式。 LineStyle
    symbol标记的图形。 SerieSymbol
    animation起始动画。 AnimationStyle
    itemStyle图形样式。 ItemStyle
    data系列中的数据内容数组。SerieData可以设置1到n维数据。

    SerieData

    XCharts.Runtime.SerieData : ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    fielddefaultsincecomment
    index数据项索引。
    name数据项名称。
    id数据项的唯一id。唯一id不是必须设置的。
    parentId父节点id。父节点id不是必须设置的。
    ignore是否忽略数据。当为 true 时,数据不进行绘制。
    selected该数据项是否被选中。
    radius自定义半径。可用在饼图中自定义某个数据项的半径。
    statev3.2.0数据项的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    data可指定任意维数的数值列表。

    SerieSymbol

    XCharts.Runtime.SerieSymbol : SymbolStyle, ISerieDataComponent

    系列数据项的标记的图形

    fielddefaultsincecomment
    sizeType标记图形的大小获取方式。
    SymbolSizeType:
    - Custom: 自定义大小。
    - FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    - Function: 通过委托函数获取。
    dataIndex1当sizeType指定为FromData时,指定的数据源索引。
    dataScale1当sizeType指定为FromData时,指定的倍数系数。
    sizeFunction当sizeType指定为Function时,指定的委托函数。
    startIndex开始显示图形标记的索引。
    interval显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    forceShowLastfalse是否强制显示最后一个图形标记。
    repeatfalse图形是否重复。
    minSize0fv3.3.0图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。
    maxSize0fv3.3.0图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieTheme

    XCharts.Runtime.SerieTheme : ChildComponent

    fielddefaultsincecomment
    lineWidth文本颜色。
    lineSymbolSize折线图的Symbol大小。
    scatterSymbolSize散点图的Symbol大小。
    candlestickColorColor32(235, 84, 84, 255)K线图阳线(涨)填充色
    candlestickColor0Color32(71, 178, 98, 255)K线图阴线(跌)填充色
    candlestickBorderWidth1K线图边框宽度
    candlestickBorderColorColor32(235, 84, 84, 255)K线图阳线(跌)边框色
    candlestickBorderColor0Color32(71, 178, 98, 255)K线图阴线(跌)边框色

    Settings

    XCharts.Runtime.Settings : MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    fielddefaultsincecomment
    showtrue
    maxPainter10设定的painter数量。
    reversePainterfalsePainter是否逆序。逆序时index大的serie最先绘制。
    basePainterMaterialBase Pointer 材质球,设置后会影响Axis等。
    seriePainterMaterialSerie Pointer 材质球,设置后会影响所有Serie。
    upperPainterMaterialUpper Pointer 材质球。
    topPainterMaterialTop Pointer 材质球。
    lineSmoothStyle2.5f曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。
    lineSmoothness2fWhen the area with gradient is filled, the larger the value, the worse the transition effect.
    lineSegmentDistance3f线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。
    cicleSmoothness2f圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。
    legendIconLineWidth2Line类型图例图标的线条宽度。
    legendIconCornerRadius图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    axisMaxSplitNumber50v3.1.0坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    SimplifiedBar

    XCharts.Runtime.SimplifiedBar : Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedCandlestick

    XCharts.Runtime.SimplifiedCandlestick : Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedLine

    XCharts.Runtime.SimplifiedLine : Serie, INeedSerieContainer, ISimplifiedSerie

    SingleAxis

    XCharts.Runtime.SingleAxis : Axis, IUpdateRuntimeData

    单轴。

    fielddefaultsincecomment
    orient坐标轴朝向。默认为水平朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1f组件离容器左侧的距离。
    right0.1f组件离容器右侧的距离。
    top0f组件离容器上侧的距离。
    bottom0.2f组件离容器下侧的距离。
    width0坐标轴宽。
    height50坐标轴高。

    SingleAxisCoord

    XCharts.Runtime.SingleAxisCoord : CoordSystem

    StageColor

    XCharts.Runtime.StageColor : ChildComponent

    fielddefaultsincecomment
    percent结束位置百分比。
    color颜色。

    StateStyle

    XCharts.Runtime.StateStyle : ChildComponent / Subclasses: BlurStyle, EmphasisStyle, SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    fielddefaultsincecomment
    showtrue是否启用高亮样式。
    label图形文本标签。 LabelStyle
    labelLine图形文本引导线样式。 LabelLine
    itemStyle图形样式。 ItemStyle
    lineStyle折线样式。 LineStyle
    areaStyle区域样式。 AreaStyle
    symbol标记样式。 SerieSymbol

    SubTitleTheme

    XCharts.Runtime.SubTitleTheme : ComponentTheme

    SymbolStyle

    XCharts.Runtime.SymbolStyle : ChildComponent / Subclasses: SerieSymbol

    系列数据项的标记的图形

    fielddefaultsincecomment
    showtrue是否显示标记。
    type标记类型。
    SymbolType:
    - None: 不显示标记。
    - Custom: 自定义标记。
    - Circle: 圆形。
    - EmptyCircle: 空心圆。
    - Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    - EmptyRect: 空心正方形。
    - Triangle: 三角形。
    - EmptyTriangle: 空心三角形。
    - Diamond: 菱形。
    - EmptyDiamond: 空心菱形。
    - Arrow: 箭头。
    - EmptyArrow: 空心箭头。
    - Plus: 加号。
    - Minus: 减号。
    size0f标记的大小。
    gap0图形标记和线条的间隙距离。
    width0f图形的宽。
    height0f图形的高。
    offsetVector2.zero图形的偏移。
    image自定义的标记图形。
    imageType图形填充类型。
    color图形的颜色。

    TextLimit

    XCharts.Runtime.TextLimit : ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    fielddefaultsincecomment
    enablefalse是否启用文本自适应。 [default:true]
    maxWidth0Clipping occurs when the width of the text is greater than this value.
    gap1两边留白像素距离。 [default:10f]
    suffix长度超出时的后缀。 [default: "..."]

    TextPadding

    XCharts.Runtime.TextPadding : Padding

    文本的内边距设置。

    TextStyle

    XCharts.Runtime.TextStyle : ChildComponent

    文本的相关设置。

    fielddefaultsincecomment
    showtrue文本的相关设置。
    font文本字体。 [default: null]
    autoWrapfalse是否自动换行。
    autoAligntrue文本是否让系统自动选对齐方式。为false时才会用alignment。
    rotate0文本的旋转。 [default: 0f]
    autoColorfalse是否开启自动颜色。当开启时,会自动设置颜色。
    color文本的颜色。 [default: Color.clear]
    fontSize0文本字体大小。 [default: 18]
    fontStyle文本字体的风格。 [default: FontStyle.Normal]
    lineSpacing1f行间距。 [default: 1f]
    alignment对齐方式。
    tMPFontTextMeshPro字体。
    tMPFontStyle
    tMPAlignment
    tMPSpriteAssetv3.1.0

    Theme

    XCharts.Runtime.Theme : ScriptableObject

    主题相关配置。

    fielddefaultsincecomment
    themeType主题类型。
    ThemeType:
    - Default: 默认主题。
    - Light: 亮主题。
    - Dark: 暗主题。
    - Custom: 自定义主题。
    themeName主题名称。
    font主题字体。
    tMPFont主题字体。
    contrastColor对比色。
    backgroundColor背景颜色。
    colorPalette调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
    commonComponentTheme
    titleTitleTheme
    subTitleSubTitleTheme
    legendLegendTheme
    axisAxisTheme
    tooltipTooltipTheme
    dataZoomDataZoomTheme
    visualMapVisualMapTheme
    serieSerieTheme

    ThemeStyle

    XCharts.Runtime.ThemeStyle : ChildComponent

    主题相关配置。

    fielddefaultsincecomment
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse是否透明背景颜色。当设置为true时,不绘制背景颜色。
    enableCustomThemefalse是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。
    customFont
    customBackgroundColor自定义的背景颜色。
    customColorPalette

    Title

    XCharts.Runtime.Title : MainComponent, IPropertyChanged

    标题组件,包含主标题和副标题。

    fielddefaultsincecomment
    showtrue是否显示标题组件。
    text主标题文本,支持使用 \n 换行。
    subText副标题文本,支持使用 \n 换行。
    labelStyle主标题文本样式。 LabelStyle
    subLabelStyle副标题文本样式。 LabelStyle
    itemGap0主副标题之间的间距。
    location标题显示位置。 Location

    TitleStyle

    XCharts.Runtime.TitleStyle : LabelStyle, ISerieDataComponent, ISerieComponent

    标题相关设置。

    TitleTheme

    XCharts.Runtime.TitleTheme : ComponentTheme

    Tooltip

    XCharts.Runtime.Tooltip : MainComponent

    提示框组件。

    fielddefaultsincecomment
    showtrue是否显示提示框组件。
    type提示框指示器类型。
    Tooltip.Type:
    - Line: 直线指示器
    - Shadow: 阴影指示器
    - None: 无指示器
    - Corss: 十字准星指示器。坐标轴显示Label和交叉线。
    - Auto: 根据serie的类型自动选择显示指示器。
    trigger触发类型。
    Tooltip.Trigger:
    - Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    - Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    - None: 什么都不触发。
    - Auto: 根据serie的类型自动选择触发类型。
    positionv3.3.0显示位置类型。
    Tooltip.Position:
    - Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    - Custom: 自定义。完全自定义显示位置(x,y)。
    - FixedX: 只固定坐标X。Y跟随鼠标位置。
    - FixedY:
    itemFormatter提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用
    titleFormatter提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
    markerserie的符号标志。
    fixedWidth0固定宽度。比 minWidth 优先。
    fixedHeight0固定高度。比 minHeight 优先。
    minWidth0最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。
    minHeight0最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    paddingLeftRight10左右边距。
    paddingTopBottom10上下边距。
    ignoreDataShowfalse是否显示忽略数据在tooltip上。
    ignoreDataDefaultContent被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。
    showContenttrue是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。
    alwayShowContentfalse是否触发后一直显示提示框浮层。
    offsetVector2(18f, -25f)提示框相对于鼠标位置的偏移。
    backgroundImage提示框的背景图片。
    backgroundType提示框的背景图片显示类型。
    backgroundColor提示框的背景颜色。
    borderWidth2f边框线宽。
    fixedX0f固定X位置的坐标。
    fixedY0.7f固定Y位置的坐标。
    titleHeight25f标题文本的高。
    itemHeight25f数据项文本的高。
    borderColorColor32(230, 230, 230, 255)边框颜色。
    lineStyle指示线样式。 LineStyle
    titleLabelStyle标题的文本样式。 LabelStyle
    contentLabelStyles内容部分的文本样式列表。和列一一对应。

    TooltipTheme

    XCharts.Runtime.TooltipTheme : ComponentTheme

    fielddefaultsincecomment
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f指示线线宽。
    lineColor指示线颜色。
    areaColor区域指示的颜色。
    labelTextColor十字指示器坐标轴标签的文本颜色。
    labelBackgroundColor十字指示器坐标轴标签的背景颜色。

    UIComponentTheme

    XCharts.Runtime.UIComponentTheme : ChildComponent

    fielddefaultsincecomment
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse

    VisualMap

    XCharts.Runtime.VisualMap : MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    fielddefaultsincecomment
    showtrue组件是否生效。
    showUIfalse是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。
    type组件类型。
    VisualMap.Type:
    - Continuous: 连续型。
    - Piecewise: 分段型。
    selectedMode选择模式。
    VisualMap.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    serieIndex0影响的serie索引。
    min0范围最小值
    max0范围最大值
    range指定手柄对应数值的位置。range 应在[min,max]范围内。
    text两端的文本,如 ['High', 'Low']
    textGap两端文字主体之间的距离,单位为px。
    splitNumber5对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。
    calculablefalse是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。
    realtimetrue拖拽时,是否实时更新。
    itemWidth20f图形的宽度,即颜色条的宽度。
    itemHeight140f图形的高度,即颜色条的高度。
    itemGap10f每个图元之间的间隔距离。
    borderWidth0边框线宽,单位px。
    dimension-1Starting at 1, the default is 0 to take the last dimension in data.
    autoMinMaxtrueAutomatically set min, Max value 自动设置min,max的值
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location组件显示的位置。 Location
    workOnLinetrue组件是否对LineChart的LineStyle有效。
    workOnAreafalse组件是否对LineChart的AreaStyle有效。
    outOfRange定义 在选中范围外 的视觉颜色。
    inRange分段式每一段的相关配置。

    VisualMapRange

    XCharts.Runtime.VisualMapRange : ChildComponent

    fielddefaultsincecomment
    min范围最小值
    max范围最大值
    label文字描述
    color颜色

    VisualMapTheme

    XCharts.Runtime.VisualMapTheme : ComponentTheme

    fielddefaultsincecomment
    borderWidth边框线宽。
    borderColor边框颜色。
    backgroundColor背景颜色。
    triangeLen20f可视化组件的调节三角形边长。

    XAxis

    XCharts.Runtime.XAxis : Axis

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    XCharts.Runtime.XCResourcesImporter

    XCSettings

    XCharts.Runtime.XCSettings : ScriptableObject

    fielddefaultsincecomment
    langLang
    font
    tMPFont
    fontSizeLv128一级字体大小。
    fontSizeLv224
    fontSizeLv320
    fontSizeLv418
    axisLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisLineWidth0.8f
    axisSplitLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisSplitLineWidth0.8f
    axisTickWidth0.8f
    axisTickLength5f
    gaugeAxisLineWidth15f
    gaugeAxisSplitLineWidth0.8f
    gaugeAxisSplitLineLength15f
    gaugeAxisTickWidth0.8f
    gaugeAxisTickLength5f
    tootipLineWidth0.8f
    dataZoomBorderWidth0.5f
    dataZoomDataLineWidth0.5f
    visualMapBorderWidth0f
    serieLineWidth1.8f
    serieLineSymbolSize5f
    serieScatterSymbolSize20f
    serieSelectedRate1.3f
    serieCandlestickBorderWidth1f
    editorShowAllListDatafalse
    maxPainter10
    lineSmoothStyle3f
    lineSmoothness2f
    lineSegmentDistance3f
    cicleSmoothness2f
    visualMapTriangeLen20f
    customThemes

    YAxis

    XCharts.Runtime.YAxis : Axis

    直角坐标系 grid 中的 y 轴。

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/extra/index.html b/en/docs/v3.8.1/extra/index.html index de181f58..b59512ca 100644 --- a/en/docs/v3.8.1/extra/index.html +++ b/en/docs/v3.8.1/extra/index.html @@ -14,13 +14,13 @@ 扩展图表 | XCharts - - + +
    Version: v3.8.1

    扩展图表

    XCharts的扩展图表。

    支持的扩展图表

    扩展图表如何导入到XCharts-Demo

    Pie3DChart 为例:

    1. 购买图表:购买扩展图表后,Github找到仓库 XCharts-Pie3DChart(私有仓库,购买后加入Team才可见)
    2. 下载图表:选择和XCharts最接近的版本
    3. 导入图表:将下载好的XCharts-Pie3DChart目录覆盖到XCharts-Demo项目中的Packages/XCharts-Pie3DChart
    4. 下载图表Demo:Github找到仓库 XCharts-Pie3DChart-Demo并下载
    5. 导入图表Demo:将下载好的XCharts-Pie3DChart-Demo目录覆盖到XCharts-Demo项目中的Assets/XChartsExtensionDemo/XCharts-Pie3DChart-Demo

    扩展图表如何导入自己的项目中

    Pie3DChart 为例:

    1. 先确保项目中已导入XCharts
    2. 再导入XCharts-Pie3DChart即可,不需要导入XCharts-Pie3DChart-Demo(如果要导入的话需要Unity版本接近2019.4.39f1)
    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/faq/index.html b/en/docs/v3.8.1/faq/index.html index f882eb32..ec615f90 100644 --- a/en/docs/v3.8.1/faq/index.html +++ b/en/docs/v3.8.1/faq/index.html @@ -14,8 +14,8 @@ 常见问题 | XCharts - - + +
    @@ -50,7 +50,7 @@ QA 29:如何修改Serie的Symbol的颜色?
    QA 30:导入或更新XCharts时TMP报错如何处理?
    QA 31:支持空数据吗?如何实现折线图断开的效果?

    如何调整坐标轴与背景的边距

    答:调整Grid组件,可调整上下左右边距。

    如何让初始动画重新播放

    答:调用chart.AnimationReset()接口。

    如何自定义折线图饼图的颜色

    答:通过ThemecolorPalette调整,或者部分Serie下的LineStyleItemStyle

    如何给坐标轴上的文本加上单位

    答:通过formatternumericFormatter参数,在LegendAxisAxisLabelTooltopSerieLabel都提供该参数的配置。

    如何让柱形图的柱子堆叠显示

    答:设置Serie下的stackstack相同的serie会堆叠显示在一个柱子上。

    如何让柱形图的柱子同柱但不重叠

    答:设置Serie下的barGap-1stack为空。

    如何调整柱形图的柱子宽度和间距

    答:调整Serie下的barWidthbarGap,多个serie时最后一个seriebarWidthbarGap有效。

    如何调整柱形图单个柱子的颜色

    答:可通过调整单个Data下的ItemStyle调整,也可以通过两个serie同柱不堆叠来实现,通过设置数据项为0来达到类似效果。

    如何调整图表的对齐方式

    答:调整RectTransform的锚点,和UGUI的其他组件的用法一致。

    可以显示超过1000以上的大数据吗

    答:可以。但UGUI对单个Graphic限制65000个顶点,所以太多的数据不一定能显示完全。可通过设置采样距离sampleDist开启采样简化过密曲线。也可以通过设置一些参数来减少图表的顶点数有助于显示更多数据。如缩小图表的尺寸,关闭或减少坐标轴的客户端绘制,关闭Seriesymbollabel显示等。折线图的普通线图Normal比平滑线图Smooth占用顶点数更少。1.5.0以上版本可以设置largelargeThreshold参数来开启性能模式。

    折线图可以画虚线点线点划线吗

    答:可以。通过Serie下的lineType选择线条样式。当要显示的数据过多(成千以上)数据间过密时建议使用Normal或者Step样式。

    如何限定Y轴的值范围

    答:设置Axis下的minMaxTypeCustom,自定义minmax

    如何自定义数值轴刻度大小

    答:默认时通过Axis下的splitNumer进行自动划分。也可以设置interval自定义刻度大小。

    如何在数据项顶上显示文本

    答:通过设置Serie下的Label。3.0版本需要先添加LabelStyle组件。

    如何给数据项自定义图标

    答:通过设置Seriedata下的数据项可单独设置icon相关参数。

    锯齿太严重如何让图表更顺滑

    答:开启抗锯齿设置(在Unity里设置)。调整UI渲染模式为Camera模式,开启MSAA,设置4倍或更高抗锯齿。

    为什么鼠标移上图表Tooltip不显示

    答:确认Tooltip是否开启;确认父节点是否关闭了鼠标事件。

    如何取消Tooltip的竖线

    答:设置TooltiptypeNone。或者调整lineStyle的参数。

    如何自定义Tooltip的显示内容

    答:自定义总的内容可以通过Tooltipformatter。如果只是想调整所有的serie的显示格式可以用itemFormattertitleFormatter结合。如果想每个serie的显示格式不一样,可以定制serieitemStyle里的tooltipFormatter。具体的用法请查阅XCharts配置项手册

    如何让Y轴显示多位小数

    答:设置Axis下的AxisLabel中的formatter{value:f1}{value:f2}1.5.0及以上版本通过numericFormatter设置。

    如何用代码动态更新数据

    答:请查阅Example下的代码,Example13_LineSimple.cs就是一个简单添加数据构建折线图的例子,其他Demo也都是通过代码控制不同的组件实现不同的功能,相关API请查看文档:XChartsAPI接口

    如何显示图例为什么有时候图例无法显示

    答:首先,你的serie里的name需有值不为空。然后开启Legend显示,里面的data可以默认为空,表示显示所有的图例。如果你只想显示部分serie的图例,在data中填入要显示的图例的name即可。如果data中的值都不是系列的name,那图例就不会显示。

    如何做成预设

    答:做成prefab前,执行一下Rebuild Chart Object重新刷新节点,避免有冗余的节点存在。

    如何在图表上画点画线等自定义内容

    答:XCharts有自定义绘制回调onCustomDraw,具体可参考Example12_CustomDrawing.cs

    如何实现心电图类似的数据移动效果

    答:参考Example目录下的Example_Dynamic.cs。主要通过设置maxCache参数实现。axisserie都设置相同的maxCachemaxCache可固定数据个数,当数据超过设定时会先删除第一个在添加新数据,实现数据移动效果。

    如何使用背景组件有什么条件限制

    答:设置background组件的showtrue

    区域折线图在用半透明颜色时有时候会一条叠加的线

    答:这是区域折线图绘制的bug。可以用浅的不透的颜色替代半透明颜色。

    Mesh_cannot_have_more_than_65000_vertices

    答:这是UGUI对单个Graphic的顶点数限制。XCharts是将图形绘制在单个Graphic上,所以也会有这个限制。解决的办法可以参考:QA 10:可以显示超过1000以上的大数据吗?

    为什么serie里设置的参数运行后又被重置了

    答:检测下代码里是否调用了RemoveData()并重新添加Serie了。如果想保留Serie的配置可以只ClearData(),然后重新添加数据。

    如何修改Serie的Symbol的颜色

    答:Symbol 的颜色是使用的 ItemStylecolor

    导入或更新XCharts时TMP报错怎么办

    答:XCharts默认时不开启TMP,所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    支持空数据吗如何实现折线图断开的效果

    答:Seriedatadouble类型,所以无法表示空数据。可通过开启Serieignore和指定ignoreValue来达到空数据的效果。也可以每个SerieData设置ignore参数。忽略数据后断开还是连接可设置ignoreLineBreak参数。

    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/funnel/index.html b/en/docs/v3.8.1/funnel/index.html index e26b3b2d..5d336e6d 100644 --- a/en/docs/v3.8.1/funnel/index.html +++ b/en/docs/v3.8.1/funnel/index.html @@ -14,14 +14,14 @@ FunnelChart 漏斗图 | XCharts - - + +
    Version: v3.8.1

    FunnelChart 漏斗图

    XCharts的付费扩展图表 - 漏斗图。

    截图

    Funnel01Funnel02Funnel03Funnel04Funnel05
    Funnel07Funnel08Funnel09

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    FunnelChart

    XCharts.Runtime.Funnels.FunnelChart : BaseChart

    配置项手册

    Funnel

    XCharts.Runtime.Funnels.Funnel : Serie

    fielddefaultsincecomment
    rectEndv3.3.0是否最后以矩形结束。默认false以三角形结束。
    dynamicHeightv3.3.0是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/gantt/index.html b/en/docs/v3.8.1/gantt/index.html index 0d889d44..fdd1a99e 100644 --- a/en/docs/v3.8.1/gantt/index.html +++ b/en/docs/v3.8.1/gantt/index.html @@ -14,14 +14,14 @@ GanttChart 甘特图 | XCharts - - + +
    Version: v3.8.1

    GanttChart 甘特图

    XCharts付费扩展图表 - 甘特图。

    截图

    Gantt01Gantt02Gantt03Gantt04Gantt05
    Gantt07

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.8.0

    • (2023.08.11) 增加鼠标事件支持

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    GanttChart

    XCharts.Runtime.Gantts.GanttChart : BaseChart

    public methodsincedescription
    GetSeriesMinMaxValue()public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    InitAxisRuntimeData()public override void InitAxisRuntimeData(Axis axis)
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)

    配置项手册

    Gantt

    XCharts.Runtime.Gantts.Gantt : Serie

    fielddefaultsincecomment
    disableDrag

    GanttStyle

    XCharts.Runtime.Gantts.GanttStyle : MainComponent

    fielddefaultsincecomment
    showtrue
    ganttType甘特图类型。
    GanttType:
    - Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    - Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。
    inverttrue
    dragEnabletrue是否可以拖拽甘特图。
    dragSensitivity1f拖拽的灵敏度。
    dragRangeMin0拖拽最小值限制。
    dragRangeMax0拖拽最大值限制。
    autoAdsorbAlignlinetrue拖拽结束后是否自动吸附到对齐线。
    alignlineDataIndex1显示对齐线的数据项索引。
    showAlignlineRange10f显示对齐线的范围。
    aliginLine对齐线样式。
    splitArea
    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/gauge/index.html b/en/docs/v3.8.1/gauge/index.html index a8ead89b..66b3b4a2 100644 --- a/en/docs/v3.8.1/gauge/index.html +++ b/en/docs/v3.8.1/gauge/index.html @@ -14,14 +14,14 @@ GaugeChart 仪表盘 | XCharts - - + +
    Version: v3.8.1

    GaugeChart 仪表盘

    XCharts付费扩展图表 - 仪表盘。

    截图

    Gauge01Gauge02Gauge03Gauge04Gauge05
    Gauge07Gauge08Gauge09Gauge10Gauge11
    Gauge12Gauge13Gauge14

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    master

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.17) 增加GaugerangeDataMode可设置是否使用范围数据模式
    • (2023.03.17) 增加Gaugeloop可设置是否循环数据,用于时钟甘特图
    • (2023.03.17) 增加GaugePointervalue可设置指针位置
    • (2023.03.17) 增加Clock时钟仪表盘支持
    • (2023.03.13) 增加GaugePointernowTime可设置指针指向当前时间
    • (2023.03.13) 增加GaugePointervalue可设置当前指针位置
    • (2023.03.13) 增加Clock类型的甘特图支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.10.05) 增加GaugeAxisLinestageGradient支持设置阶段渐变色过渡

    v3.3.0

    • (2022.09.28) 发布v3.3.0版本
    • (2022.08.26) 修复Pointer在普通模式下不显示的问题
    • (2022.08.25) 增加label颜色跟随数值变化的支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.15) 支持渐变

    API

    GaugeChart

    XCharts.Runtime.Gauges.GaugeChart : BaseChart

    配置项手册

    Gauge

    XCharts.Runtime.Gauges.Gauge : Serie

    fielddefaultsincecomment
    rangeDataModefalsev3.6.0数值是否为范围数据。启用该模式后,data中的每个值都是一个数组,数组中的第一个值为起始值,第二个值为结束值。指针只有一个,数据绘制为环形。
    loopfalsev3.6.0数值是否循环。可用在钟表图。
    gaugeAxis仪表盘轴线。 GaugeAxis
    gaugePointer仪表盘指针。 GaugePointer
    gaugeAnchor仪表盘指针固定点。 GaugeAnchor

    GaugeAnchor

    XCharts.Runtime.Gauges.GaugeAnchor : ChildComponent

    fielddefaultsincecomment
    showtrue是否显示指针固定点。
    showAbovetrue固定点是否显示在指针上面。
    type标记类型。
    size6标记的大小。
    gap0图形标记和线条的间隙距离。
    image自定义的标记图形。
    imageType
    offsetCenterVector2(0, 0)相对于中心的偏移位置。
    itemStyle图形样式。

    GaugeAxis

    XCharts.Runtime.Gauges.GaugeAxis : ChildComponent

    仪表盘轴线相关设置。

    fielddefaultsincecomment
    showtrue
    type
    GaugeAxisType:
    - None: 仪表盘类型
    - Section: 分段
    - Progress: 进度
    overlaptrue
    distance
    axisLine仪表盘轴线样式。 GaugeAxisLine
    splitLine分割线。
    axisTick刻度。
    axisLabel文本标签。
    axisLabelText自定义Label的内容。

    GaugeAxisLine

    XCharts.Runtime.Gauges.GaugeAxisLine : BaseLine

    fielddefaultsincecomment
    backgroundColorColor32(230, 235, 248, 255)进度条背景颜色。
    stageColor阶段颜色。
    stageGradientv3.4.0阶段颜色是否渐变过渡。

    GaugePointer

    XCharts.Runtime.Gauges.GaugePointer : ChildComponent

    仪表盘指针相关设置。

    fielddefaultsincecomment
    showtrue是否显示指针。
    length0.6f指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backLength0.05f指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backExtraLength0.05f指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topLeftLength0f指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topRightLength0f指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomLeftLength0.025f指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomRightLength0.025f指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    distance
    roundCap
    autoColortrue
    color
    toColor
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    valuev3.6.0指针的值。当为时钟仪表盘时,可通过指定value值来控制指针的位置。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/inputsystem/index.html b/en/docs/v3.8.1/inputsystem/index.html index 0091fb96..62c7ce24 100644 --- a/en/docs/v3.8.1/inputsystem/index.html +++ b/en/docs/v3.8.1/inputsystem/index.html @@ -14,13 +14,13 @@ 切换到新的输入系统Input System | XCharts - - + +
    Version: v3.8.1

    教程:切换到新的输入系统Input System

    1. 按图示修改项目配置中输入模式为 Input System

    Project Settings

    2. 使用 Unity Package Manager 安装 Input System

    UPM

    3. 选中场景中 EventSystem 游戏对象,更换输入模组

    Input Module

    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/lang/articles/ui/ui_statistic/index.html b/en/docs/v3.8.1/lang/articles/ui/ui_statistic/index.html index 52e5db40..f516550b 100644 --- a/en/docs/v3.8.1/lang/articles/ui/ui_statistic/index.html +++ b/en/docs/v3.8.1/lang/articles/ui/ui_statistic/index.html @@ -14,13 +14,13 @@ UIStatistic 统计数值 | XCharts - - + +
    Version: v3.8.1

    UIStatistic 统计数值

    statistic

    统计数值组件。用于展示统计数值。

    何时使用:

    • 当需要突出某个或某组数字时。
    • 当需要展示带描述的统计类数据时使用。

    支持的功能有:

    • 常规数值
    • 倒计时
    • 添加图标
    • 变更动画
    • 事件回调
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/lang/articles/ui/ui_table/index.html b/en/docs/v3.8.1/lang/articles/ui/ui_table/index.html index 65551542..4724c8ee 100644 --- a/en/docs/v3.8.1/lang/articles/ui/ui_table/index.html +++ b/en/docs/v3.8.1/lang/articles/ui/ui_table/index.html @@ -14,13 +14,13 @@ UITable 表格 | XCharts - - + +
    Version: v3.8.1

    UITable 表格

    table

    表格组件。可用于展示行列数据。

    支持的功能有:

    • 显示或隐藏列表头
    • 显示或隐藏行表头
    • 任意调整行列宽高
    • 支持行号
    • 支持选中
    • 支持分割线
    • 支持滚动和拖拽
    • 支持滚动条
    • 支持图标图片
    • 排序(暂不支持)
    • 分页(暂不支持)
    • 查找(暂不支持)
    • 过滤(暂不支持)
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/liquid/index.html b/en/docs/v3.8.1/liquid/index.html index 0380da0d..288a0d83 100644 --- a/en/docs/v3.8.1/liquid/index.html +++ b/en/docs/v3.8.1/liquid/index.html @@ -14,15 +14,15 @@ LiquidChart 水位图 | XCharts - - + +
    Version: v3.8.1

    LiquidChart 水位图

    XCharts的付费扩展图表 - 水位图。

    截图

    Liquid01Liquid02Liquid03Liquid04Liquid05
    Liquid07Liquid08

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    LiquidChart

    XCharts.Runtime.Liquids.LiquidChart : BaseChart 水位图

    VesselContext

    XCharts.Runtime.Liquids.VesselContext : MainComponentContext

    配置项手册

    Liquid

    XCharts.Runtime.Liquids.Liquid : Serie, INeedSerieContainer

    fielddefaultsincecomment
    waveHeight10f波高。
    waveLength20f波长。为0-1小数时指直线的百分比。
    waveSpeed5f波速。正数时左移,负数时右移。
    waveOffset0f波偏移。

    Vessel

    XCharts.Runtime.Liquids.Vessel : MainComponent, ISerieContainer, IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    fielddefaultsincecomment
    showtrue是否显示容器组件。 [defaut: true]
    shape容器形状。 [default: Shape.Circle]
    Vessel.Shape:
    - Circle: 圆形
    - Rect: 正方形。
    - Triangle: 三角形。
    - Diamond: 菱形。
    shapeWidth5f容器厚度。 [defaut: 5f]
    gap5f间隙。容器和液体的间隙。 [defaut: 10f]
    colorColor32(70, 70, 240, 255)容器颜色。默认和serie一致。
    backgroundColor背景色,默认透明。 [default: Color.clear]
    autoColortrue是否自动颜色。为true时颜色会和serie一致。 [default: true]
    centerWhen value between 0 and 1 represents a percentage relative to the chart.
    radius0.35fWhen value between 0 and 1 represents a percentage relative to the chart.
    smoothness1f水波平滑度。 [default: 1f]
    width0.5fWhen value between 0 and 1 represents a percentage relative to the chart.
    height0.7fWhen value between 0 and 1 represents a percentage relative to the chart.
    borderWidth0f内壁边框。
    borderColorColor32(70, 70, 240, 255)容器内壁边框颜色。默认和serie一致。
    cornerRadius容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/pictorialbar/index.html b/en/docs/v3.8.1/pictorialbar/index.html index ef5f3021..01a678a3 100644 --- a/en/docs/v3.8.1/pictorialbar/index.html +++ b/en/docs/v3.8.1/pictorialbar/index.html @@ -14,14 +14,14 @@ PictorialBarChart 象形柱图 | XCharts - - + +
    Version: v3.8.1

    PictorialBarChart 象形柱图

    XCharts付费扩展图表 - 象形柱图。

    截图

    PictorialBar01PictorialBar02PictorialBar03PictorialBar04

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.8.1

    • (2023.09.26) 修复PictorialBar动态添加数据时不刷新的问题

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBarChart

    XCharts.Runtime.PictorialBars.PictorialBarChart : BaseChart

    配置项手册

    PictorialBar

    XCharts.Runtime.PictorialBars.PictorialBar : Serie, INeedSerieContainer

    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/pie3d/index.html b/en/docs/v3.8.1/pie3d/index.html index 969f73a8..6e9be269 100644 --- a/en/docs/v3.8.1/pie3d/index.html +++ b/en/docs/v3.8.1/pie3d/index.html @@ -14,8 +14,8 @@ Pie3DChart 3D饼图 | XCharts - - + +
    @@ -23,7 +23,7 @@ 配置项手册

    日志

    v3.8.1

    • (2023.09.14) 修复SerieData的数据为全为0时图表显示异常的问题
    • (2023.09.08) 增加SerieDataradius可自定义各饼块高度的支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.2

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.1

    • (2023.05.21) 增加avoidLabelOverlap支持

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.3.0

    • (2022.09.02) 增加onPointerEnterPie回调支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pie3DChart

    XCharts.Runtime.Pie3Ds.Pie3DChart : BaseChart 3D饼图。

    Pie3DSlice

    XCharts.Runtime.Pie3Ds.Pie3DSlice 3D饼图的切块。

    public methodsincedescription
    Contains()public bool Contains(float angle)
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    IsInSidePolygon()public bool IsInSidePolygon(Vector2 p)
    IsInStartOrEndSide()public bool IsInStartOrEndSide(Vector2 p)
    IsInTopPolygon()public bool IsInTopPolygon(Vector2 p)
    Pie3DSlice()public Pie3DSlice()
    UpdateValue()public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig)

    配置项手册

    Pie3D

    XCharts.Runtime.Pie3Ds.Pie3D : Serie

    fielddefaultsincecomment
    pie3DStylePie3DStyle

    Pie3DStyle

    XCharts.Runtime.Pie3Ds.Pie3DStyle : ChildComponent

    3D饼图样式。

    fielddefaultsincecomment
    showtrue
    ellipseMinorAxis0.65f椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。
    pieMaxHeight20f饼图厚度。
    pieAutoHeightfalse是否自动根据比例计算厚度。
    selectedOffsetVector2(0.1f, 0.5f)The offset of selected pie slice. 被选中状态的饼图块的额外偏移。
    peripherySideColorRate0.8f饼图切块的侧面颜色。
    startSideColorRate0.7f饼图切块的起始面颜色(顺时针)。
    endSideColorRate0.65f饼图切块的结束面颜色(顺时针)。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/pyramid/index.html b/en/docs/v3.8.1/pyramid/index.html index 3e0d4912..fa236d4e 100644 --- a/en/docs/v3.8.1/pyramid/index.html +++ b/en/docs/v3.8.1/pyramid/index.html @@ -14,14 +14,14 @@ PyramidChart 金字塔 | XCharts - - + +
    Version: v3.8.1

    PyramidChart 金字塔

    XCharts付费扩展图表 - 金字塔。

    截图

    Pyramid01Pyramid02Pyramid03

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.21) 增加Tooltip支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    PyramidChart

    XCharts.Runtime.Pyramids.PyramidChart : BaseChart

    配置项手册

    Pyramid

    XCharts.Runtime.Pyramids.Pyramid : Serie

    fielddefaultsincecomment
    pyramidStylePyramidStyle

    PyramidStyle

    XCharts.Runtime.Pyramids.PyramidStyle : ChildComponent

    fielddefaultsincecomment
    showtrue
    3Dtrue
    drawToptrue
    bottomPointRate0.5f3D模式下,底部中点占金字塔宽度的比例
    leftPointRate0.1f3D模式下,底部左边点占金字塔高度的比例
    rightPointRate0.1f3D模式下,底部右边点占金字塔高度的比例
    leftColorOpacity0.9f3D模式下,金字塔左边的颜色透明度
    rightColorOpacity0.7f3D模式下,金字塔右边的颜色透明度
    topColorOpacity0.99f3D模式下,金字塔顶部的颜色透明度
    labelLineMargin10fLabel标签距离右边的距离
    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/support/index.html b/en/docs/v3.8.1/support/index.html index fbb93bc9..5c37c0d5 100644 --- a/en/docs/v3.8.1/support/index.html +++ b/en/docs/v3.8.1/support/index.html @@ -14,8 +14,8 @@ 订阅服务 | XCharts - - + +
    @@ -26,7 +26,7 @@ 增加席位 企业VIP支持增加席位,每个席位298¥一年。
    对公转账 有开专票需求时,可用企业银行帐号进行公对公转账支付。二维码支付不支持开专票,只能开普票。发票默认都是电子发票。
    *登记资料 订阅成功后,需提供手机号和Github帐号进行登记,手机号用于确认归属,Github帐号用于下载源码。

    购买扩展图表

    扩展图表为另付费购买图表,只对订阅了VIP服务的用户开放购买。对于个人SVIP企业VIP的订阅用户,所有扩展图表仓库在订阅期间可全部免费使用,不用再单独购买。

    对所有已购买的扩展图表,源码可永久持有但不能传播,并获得持续一年的更新支持和技术服务,一年后如需更新支持等服务,可再继续订阅VIP服务。

    编号扩展图表扩展图表价格
    101象形柱图PictorialBarChart98¥
    102漏斗图FunnelChart98¥
    1033D金字塔PyramidChart98¥
    104树形矩图TreemapChart98¥
    2013D柱图Bar3DChart198¥
    2023D饼图Pie3DChart198¥
    203甘特图GanttChart198¥
    204仪表盘GaugeChart198¥
    205水位图LiquidChart198¥

    扩展图表的在线效果图也可以查看WebGL在线Demo

    捐助支持

    如果这个项目对您有帮助,请右上方点 Star 予以支持!也欢迎扫后面的二维码进行任意金额的捐助,XCharts需要您的支持和帮助。

    二维码

    如果看不到二维码图片,可以加Q联系XCharts技术支持:3525422251或邮件monitor1394@gmail.com咨询。

    alipay-qrcode wechat-qrcode

    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/treemap/index.html b/en/docs/v3.8.1/treemap/index.html index 4417482a..7ee7f083 100644 --- a/en/docs/v3.8.1/treemap/index.html +++ b/en/docs/v3.8.1/treemap/index.html @@ -14,14 +14,14 @@ TreemapChart 矩形树图 | XCharts - - + +
    Version: v3.8.1

    TreemapChart 矩形树图

    XCharts付费扩展图表 - 矩形树图。

    截图

    Treemap01Treemap02Treemap03Treemap04

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    TreemapChart

    XCharts.Runtime.Treemaps.TreemapChart : BaseChart

    配置项手册

    Treemap

    XCharts.Runtime.Treemaps.Treemap : Serie

    fielddefaultsincecomment
    leafDepth0默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。
    visualDimension0用于计算占比的数据维数。
    drillDownIcon当节点可以下钻时的提示符,只能是字符。默认为▶
    customGoUpLevelButton自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。
    upperLabel父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。
    levelStyle
    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/tutorial01/index.html b/en/docs/v3.8.1/tutorial01/index.html index fe8d5970..fb3faf26 100644 --- a/en/docs/v3.8.1/tutorial01/index.html +++ b/en/docs/v3.8.1/tutorial01/index.html @@ -14,8 +14,8 @@ 入门教程:5分钟上手 XCharts 3.0 | XCharts - - + +
    @@ -23,7 +23,7 @@ linechart2

    添加其他组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件按需额外添加。比如,需要给折线图区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent linechart3

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加Component。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent linechart4

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个至几十个不等的可配置参数,以支持各种灵活而复杂的功能。

    首次使用XCharts,可在 Inspector 视图添加各种图表,给图表添加或调整里面组件,Game 视图会实时反馈调整后的效果,以熟悉各种组件的使用。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是配置和数据来驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不需要去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时还原回来。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    通常颜色值为0000时表示用主题默认颜色,配置为0或null时表示用主题默认配置。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.EnsureChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.EnsureChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.EnsureChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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;

    清空默认数据,添加Line类型的Serie用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    用代码改图表参数

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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;

    注:低版本没有EnsureChartComponent()接口时,用GetOrAddChartComponent()

    改Serie的参数

    对于新添加的Serie:

    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:

    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添加额外组件:

    serie.EnsureComponent<AreaStyle>();

    var label = serie1.EnsureComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/tutorial02/index.html b/en/docs/v3.8.1/tutorial02/index.html index a554abca..6152e44f 100644 --- a/en/docs/v3.8.1/tutorial02/index.html +++ b/en/docs/v3.8.1/tutorial02/index.html @@ -14,13 +14,13 @@ 从文件或数据库读取数据显示图表 | XCharts - - + +
    Version: v3.8.1

    从文件或数据库读取数据显示图表

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/tutorial03/index.html b/en/docs/v3.8.1/tutorial03/index.html index bd48e3ab..ce6e5135 100644 --- a/en/docs/v3.8.1/tutorial03/index.html +++ b/en/docs/v3.8.1/tutorial03/index.html @@ -14,13 +14,13 @@ 心电图效果实现 | XCharts - - + +
    Version: v3.8.1

    心电图效果实现

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.8.1/ui/index.html b/en/docs/v3.8.1/ui/index.html index 165154a9..d19889d3 100644 --- a/en/docs/v3.8.1/ui/index.html +++ b/en/docs/v3.8.1/ui/index.html @@ -14,13 +14,13 @@ 扩展UI组件 | XCharts - - + +
    Version: v3.8.1

    扩展UI组件

    XCharts的扩展UI组件,VIP订阅用户专有。

    组件列表

    如何使用

    • 使用该仓库前先确保项目里已有对应版本的XCharts。
    • 下载本仓库放入Assets下或者通过Package Manager导入。

    更新日志

    v3.8.0

    • (2023.09.03) 发布v3.8.0版本
    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 增加UIStatistic
    • (2023.02.14) 增加UITable
    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/about/index.html b/en/docs/v3.9.0/about/index.html index 6dceb7fb..1862006c 100644 --- a/en/docs/v3.9.0/about/index.html +++ b/en/docs/v3.9.0/about/index.html @@ -14,8 +14,8 @@ 关于XCharts | XCharts - - + +
    @@ -31,7 +31,7 @@ 答:XCharts只支持在Unity平台使用。理论上任何支持UGUIUnity版本都能运行XCharts

  • 锯齿怎么解决?支持多大量级的数据?
    答:XCharts是基于UGUI实现的,所以UGUI中碰到的问题,在XCharts中也会存在。比如锯齿问题,比如Mesh顶点数超65535的问题。这两个问题的解决可参考问答16问答27
    由于Mesh65535顶点数的限制,目前XCharts的单条Line支持约2万的数据量,当然开启采样可以支持更多数据的绘制,但同时也会更消耗CPU。

  • Licenses

    • MIT License
    • 可免费商用,可二次开发
    • 扩展图表和高级功能部分需单独购买授权

    日志

    订阅

    • XCharts核心库是开源的,可免费使用的。在此基础上,我们也提供多种订阅服务以满足不同用户的需求,订阅详情☞ 请看这里
    • 订阅不是必须的,不影响XCharts的核心功能使用。
    • 订阅是按年付费,订阅到期后,不要求必须续订,但中断订阅期间无法享受技术支持等服务。如需继续服务,可从当日起续订即可。

    其他

    • 邮箱:monitor1394@gmail.com
    • QQ群:XCharts交流群(202030963
    • VIP群:XCharts VIP群(867291970
    • 捐助、合作、订阅和技术支持:☞ 看这里
    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/api/index.html b/en/docs/v3.9.0/api/index.html index 606d2f16..a53edf06 100644 --- a/en/docs/v3.9.0/api/index.html +++ b/en/docs/v3.9.0/api/index.html @@ -14,13 +14,13 @@ API手册 | XCharts - - + +
    Version: v3.9.0

    API手册

    所有类

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    API版本描述
    GetValueAngle()public float GetValueAngle(double value)
    GetValueAngle()public float GetValueAngle(float value)
    SetDefaultValue()public override void SetDefaultValue()

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    AngleAxisTheme()public AngleAxisTheme(ThemeType theme) : base(theme) { }

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn,AnimationFadeOut,AnimationChange,AnimationAddition,AnimationHiding,AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    API版本描述
    End()public void End()
    结束动画。
    GetIndexDelay()public float GetIndexDelay(int dataIndex)
    获取动画延迟。
    Init()public bool Init(float curr, float dest, int totalPointIndex)
    初始化动画。
    IsFinish()public bool IsFinish()
    动画是否结束。
    IsInDelay()public bool IsInDelay()
    动画是否在延迟中。
    IsInIndexDelay()public bool IsInIndexDelay(int dataIndex)
    动画是否在索引延迟中。
    Pause()public void Pause()
    暂停动画。
    Reset()public void Reset()
    重置动画。
    Resume()public void Resume()
    恢复动画。
    Start()public void Start(bool reset = true)
    开始动画。

    AnimationInfoContext

    class in XCharts.Runtime

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    API版本描述
    GetOffset()public float GetOffset()
    GetOffset()public float GetOffset(float total)
    GetRadius()public float GetRadius(float radius)
    GetWidth()public float GetWidth(float width)

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    API版本描述
    Addition()public void Addition()
    开始数据新增动画。
    CanCheckInteract()public bool CanCheckInteract()
    CheckDetailBreak()public bool CheckDetailBreak(float detail)
    CheckDetailBreak()public bool CheckDetailBreak(Vector3 pos, bool isYAxis)
    CheckProgress()public void CheckProgress()
    CheckProgress()public void CheckProgress(double total)
    CheckSymbol()public void CheckSymbol(float dest)
    FadeIn()public void FadeIn()
    开始渐入动画。
    FadeOut()public void FadeOut()
    开始渐出动画。
    GetAdditionDuration()public float GetAdditionDuration()
    GetChangeDuration()public float GetChangeDuration()
    GetCurrDetail()public float GetCurrDetail()
    GetCurrIndex()public int GetCurrIndex()
    GetCurrRate()public float GetCurrRate()
    GetInteractionDuration()public float GetInteractionDuration()
    GetInteractionRadius()public float GetInteractionRadius(float radius)
    GetSysmbolSize()public float GetSysmbolSize(float dest)
    HasFadeOut()public bool HasFadeOut()
    InitProgress()public void InitProgress(float curr, float dest)
    初始化动画配置。
    InitProgress()public void InitProgress(List<Vector3> paths, bool isY)
    初始化动画配置。
    IsDataAnimation()public bool IsDataAnimation()
    是否为数据动画。BottomToTop和InsideOut类型的为数据动画。
    IsEnd()public bool IsEnd()
    IsFadeIn()public bool IsFadeIn()
    IsFadeOut()public bool IsFadeOut()
    IsFinish()public bool IsFinish()
    IsInDelay()public bool IsInDelay()
    IsSerieAnimation()public bool IsSerieAnimation()
    是否为系列动画。LeftToRight、AlongPath和Clockwise类型的为系列动画。
    Pause()public void Pause()
    暂停所有动画。
    Reset()public void Reset()
    Reset all animations.
    Restart()public void Restart()
    重启当前激活的动画。
    Resume()public void Resume()
    恢复所有动画。

    AnimationStyleHelper

    class in XCharts.Runtime

    API版本描述
    CheckDataAnimation()public static float CheckDataAnimation(BaseChart chart, Serie serie, int dataIndex, float destProgress, float startPorgress = 0)
    GetAnimationPosition()public static bool GetAnimationPosition(AnimationStyle animation, bool isY, Vector3 lp, Vector3 cp, float progress, ref Vector3 ip)
    UpdateAnimationType()public static void UpdateAnimationType(AnimationStyle animation, AnimationType defaultType, bool enableSerieDataAnimation)
    UpdateSerieAnimation()public static void UpdateSerieAnimation(Serie serie)

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    区域填充样式。

    API版本描述
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 themeColor)

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Clone()public ArrowStyle Clone()
    Copy()public void Copy(ArrowStyle arrow)
    GetColor()public Color32 GetColor(Color32 defaultColor)

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis,ParallelAxis,RadiusAxis,SingleAxis,XAxis,YAxis

    直角坐标系的坐标轴组件。

    API版本描述
    AddData()public void AddData(string category)
    添加一个类目到类目数据列表
    AddIcon()public void AddIcon(Sprite icon)
    添加图标
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空类目数据
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public Axis Clone()
    Copy()public void Copy(Axis axis)
    GetData()public string GetData(int index)
    获得指定索引的类目数据
    GetData()public string GetData(int index, DataZoom dataZoom)
    获得在dataZoom范围内指定索引的类目数据
    GetDistance()public float GetDistance(double value, float axisLength)
    获得值在坐标轴上的距离
    GetIcon()public Sprite GetIcon(int index)
    GetLabelValue()public double GetLabelValue(int index)
    GetLastLabelValue()public double GetLastLabelValue()
    GetLogMaxIndex()public double GetLogMaxIndex()
    GetLogMinIndex()public double GetLogMinIndex()
    GetLogValue()public float GetLogValue(double value)
    GetValueLength()public float GetValueLength(double value, float axisLength)
    IsBottom()public bool IsBottom()
    IsCategory()public bool IsCategory()
    是否为类目轴。
    IsLeft()public bool IsLeft()
    IsLog()public bool IsLog()
    是否为对数轴。
    IsNeedShowLabel()public bool IsNeedShowLabel(int index, int total = 0)
    IsRight()public bool IsRight()
    IsTime()public bool IsTime()
    是否为时间轴。
    IsTop()public bool IsTop()
    IsValue()public bool IsValue()
    是否为数值轴。
    RemoveData()public void RemoveData(int dataIndex)
    SetComponentDirty()public override void SetComponentDirty()
    SetNeedUpdateFilterData()public void SetNeedUpdateFilterData()
    UpdateData()public void UpdateData(int index, string category)
    更新类目数据
    UpdateIcon()public void UpdateIcon(int index, Sprite icon)
    更新图标
    UpdateZeroOffset()public void UpdateZeroOffset(float axisLength)

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    API版本描述
    Clone()public AxisAnimation Clone()
    Copy()public void Copy(AxisAnimation animation)

    AxisContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    AxisHandler<T>

    class in XCharts / 继承自: MainComponentHandler

    AxisHelper

    class in XCharts.Runtime

    API版本描述
    AdjustCircleLabelPos()public static void AdjustCircleLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    AdjustMinMaxValue()public static void AdjustMinMaxValue(Axis axis, ref double minValue, ref double maxValue, bool needFormat, double ceilRate = 0)
    调整最大最小值
    AdjustRadiusAxisLabelPos()public static void AdjustRadiusAxisLabelPos(ChartLabel txt, Vector3 pos, Vector3 cenPos, float txtHig, Vector3 offset)
    GetAxisLineArrowOffset()public static float GetAxisLineArrowOffset(Axis axis)
    包含箭头偏移的轴线长度
    GetAxisPosition()public static float GetAxisPosition(GridCoord grid, Axis axis, double value, int dataCount = 0, DataZoom dataZoom = null)
    GetAxisPositionValue()public static double GetAxisPositionValue(float xy, float axisLength, double axisRange, float axisStart, float axisOffset)
    GetAxisPositionValue()public static double GetAxisPositionValue(GridCoord grid, Axis axis, Vector3 pos)
    GetAxisValueDistance()public static float GetAxisValueDistance(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上相对起点的距离
    GetAxisValueLength()public static float GetAxisValueLength(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上对应的长度
    GetAxisValuePosition()public static float GetAxisValuePosition(GridCoord grid, Axis axis, float scaleWidth, double value)
    获得数值value在坐标轴上的坐标位置
    GetAxisValueSplitIndex()public static int GetAxisValueSplitIndex(Axis axis, double value, int totalSplitNumber = -1)
    获得数值value在坐标轴上对应的split索引
    GetAxisXOrY()public static float GetAxisXOrY(GridCoord grid, Axis axis, Axis relativedAxis)
    GetDataWidth()public static float GetDataWidth(Axis axis, float coordinateWidth, int dataCount, DataZoom dataZoom)
    获得一个类目数据在坐标系中代表的宽度
    GetEachWidth()public static float GetEachWidth(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    GetScaleNumber()public static int GetScaleNumber(Axis axis, float coordinateWidth, DataZoom dataZoom = null)
    获得分割线条数
    GetScaleWidth()public static float GetScaleWidth(Axis axis, float coordinateWidth, int index, DataZoom dataZoom = null)
    获得分割段宽度
    GetSplitNumber()public static int GetSplitNumber(Axis axis, float coordinateWid, DataZoom dataZoom)
    获得分割段数
    GetTotalSplitGridNum()public static int GetTotalSplitGridNum(Axis axis)
    获得分割网格个数,包含次刻度
    GetXAxisXOrY()public static float GetXAxisXOrY(GridCoord grid, Axis xAxis, Axis relativedAxis)
    GetYAxisXOrY()public static float GetYAxisXOrY(GridCoord grid, Axis yAxis, Axis relativedAxis)
    NeedShowSplit()public static bool NeedShowSplit(Axis axis)

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    Clone()public new AxisLabel Clone()
    Copy()public void Copy(AxisLabel axisLabel)
    GetFormatterContent()public override string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
    GetFormatterContent()public override string GetFormatterContent(int labelIndex, string category)
    IsNeedShowLabel()public bool IsNeedShowLabel(int index, int total)
    SetRelatedText()public void SetRelatedText(ChartText txt, float labelWidth)

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    API版本描述
    Clone()public AxisLine Clone()
    Copy()public void Copy(AxisLine axisLine)

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisMinorSplitLine Clone()
    Copy()public void Copy(AxisMinorSplitLine splitLine)

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisMinorTick Clone()
    Copy()public void Copy(AxisMinorTick axisTick)

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    API版本描述
    Clone()public AxisName Clone()
    Copy()public void Copy(AxisName axisName)

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    API版本描述
    Clone()public AxisSplitArea Clone()
    Copy()public void Copy(AxisSplitArea splitArea)
    GetColor()public Color32 GetColor(int index, BaseAxisTheme theme)

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    API版本描述
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public AxisSplitLine Clone()
    Copy()public void Copy(AxisSplitLine splitLine)

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    AxisTheme()public AxisTheme(ThemeType theme) : base(theme) { }

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    API版本描述
    Clone()public AxisTick Clone()
    Copy()public void Copy(AxisTick axisTick)

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    Bar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Bar ConvertSerie(Serie serie)

    BarChart

    class in XCharts.Runtime / 继承自: BaseChart

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme,RadiusAxisTheme,AngleAxisTheme,PolarAxisTheme,RadarAxisTheme

    API版本描述
    BaseAxisTheme()public BaseAxisTheme(ThemeType theme) : base(theme)
    Copy()public void Copy(BaseAxisTheme theme)

    BaseChart

    class in XCharts.Runtime / 继承自: BaseGraph,ISerializationCallbackReceiver / 子类: BarChart,CandlestickChart,HeatmapChart,LineChart,ParallelChart,PieChart,PolarChart,RadarChart,RingChart,ScatterChart,SimplifiedBarChart,SimplifiedCandlestickChart,SimplifiedLineChart

    API版本描述
    onAxisPointerValueChangedpublic Action<Axis, double> onAxisPointerValueChanged
    坐标轴变更数据索引时回调。参数:axis, dataIndex/dataValue
    onDrawpublic Action<VertexHelper> onDraw
    自定义绘制回调。在绘制Serie前调用。
    onDrawAfterSeriepublic Action<VertexHelper, Serie> onDrawAfterSerie
    自定义Serie绘制回调。在每个Serie绘制完后调用。
    onDrawBeforeSeriepublic Action<VertexHelper, Serie> onDrawBeforeSerie
    自定义Serie绘制回调。在每个Serie绘制完前调用。
    onDrawToppublic Action<VertexHelper> onDrawTop
    自定义Top层绘制回调。在绘制Tooltip前调用。
    onDrawUpperpublic Action<VertexHelper> onDrawUpper
    自定义Upper层绘制回调。在绘制Tooltip前调用。
    onInitpublic Action onInit
    图表的初始化完成回调。
    onLegendClickpublic Action<Legend, int, string, bool> onLegendClick
    点击图例按钮回调。参数:legendIndex, legendName, show
    onLegendEnterpublic Action<Legend, int, string> onLegendEnter
    鼠标进入图例回调。参数:legendIndex, legendName
    onLegendExitpublic Action<Legend, int, string> onLegendExit
    鼠标退出图例回调。参数:legendIndex, legendName
    onPointerClickBarpublic Action<PointerEventData, int> onPointerClickBar
    点击柱形图柱条回调。参数:eventData, dataIndex
    onPointerClickPiepublic Action<PointerEventData, int, int> onPointerClickPie
    点击饼图区域回调。参数:PointerEventData,SerieIndex,SerieDataIndex
    onPointerEnterPiepublic Action<int, int> onPointerEnterPie
    鼠标进入和离开饼图区域回调,SerieDataIndex为-1时表示离开。参数:PointerEventData,SerieIndex,SerieDataIndex
    onSerieClickv3.6.0public Action<SerieEventData> onSerieClick
    鼠标点击Serie回调。
    onSerieDownv3.6.0public Action<SerieEventData> onSerieDown
    鼠标按下Serie回调。
    onSerieEnterv3.6.0public Action<SerieEventData> onSerieEnter
    鼠标进入Serie回调。
    onSerieExitv3.6.0public Action<SerieEventData> onSerieExit
    鼠标离开Serie回调。
    onUpdatepublic Action onUpdate
    图表的Update回调。
    AddChartComponent()public MainComponent AddChartComponent(Type type)
    AddChartComponent<T>()public T AddChartComponent<T>() where T : MainComponent
    AddChartComponentWhenNoExist<T>()public T AddChartComponentWhenNoExist<T>() where T : MainComponent
    AddData()public SerieData AddData(int serieIndex, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double data, string dataName = null, string dataId = null)
    添加一个数据到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(int serieIndex, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(int serieIndex, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(int serieIndex, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, DateTime time, double yValue, string dataName = null, string dataId = null)
    添加(time,y)数据到指定的系列中。
    AddData()public SerieData AddData(string serieName, double data, string dataName = null, string dataId = null)
    If serieName doesn't exist in legend,will be add to legend.
    AddData()public SerieData AddData(string serieName, double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    AddData()public SerieData AddData(string serieName, double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到指定系列中。
    AddData()public SerieData AddData(string serieName, List<double> multidimensionalData, string dataName = null, string dataId = null)
    添加多维数据(x,y,z...)到指定的系列中。
    AddData()public SerieData AddData(string serieName, params double[] multidimensionalData)
    添加多维数据(x,y,z...)到指定的系列中。
    AddSerie<T>()public T AddSerie<T>(string serieName = null, bool show = true, bool addToHead = false) where T : Serie
    AddXAxisData()public void AddXAxisData(string category, int xAxisIndex = 0)
    添加一个类目数据到指定的x轴。
    AddXAxisIcon()public void AddXAxisIcon(Sprite icon, int xAxisIndex = 0)
    添加一个图标到指定的x轴。
    AddYAxisData()public void AddYAxisData(string category, int yAxisIndex = 0)
    添加一个类目数据到指定的y轴。
    AddYAxisIcon()public void AddYAxisIcon(Sprite icon, int yAxisIndex = 0)
    添加一个图标到指定的y轴。
    AnimationEnable()public void AnimationEnable(bool flag)
    是否启用Serie动画。
    AnimationFadeIn()public void AnimationFadeIn(bool reset = true)
    开始所有Serie的渐入动画。
    AnimationFadeOut()public void AnimationFadeOut()
    开始所有Serie的渐出动画。
    AnimationPause()public void AnimationPause()
    暂停所有Serie的动画。
    AnimationReset()public void AnimationReset()
    重置所有Serie的动画。
    AnimationResume()public void AnimationResume()
    继续所有Serie的动画。
    CanAddChartComponent()public bool CanAddChartComponent(Type type)
    CanAddSerie()public bool CanAddSerie(Type type)
    CanAddSerie<T>()public bool CanAddSerie<T>() where T : Serie
    CancelTooltip()v3.7.0public void CancelTooltip()
    取消Tooltip.
    CanMultipleComponent()public bool CanMultipleComponent(Type type)
    ClampInChart()public void ClampInChart(ref Vector3 pos)
    ClampInGrid()public Vector3 ClampInGrid(GridCoord grid, Vector3 pos)
    ClearComponentData()public virtual void ClearComponentData()
    清空所有组件的数据。
    ClearData()public virtual void ClearData()
    清空所有组件和Serie的数据。注意:Serie只是清空数据,不会移除Serie。
    ClearSerieData()public virtual void ClearSerieData()
    清空所有serie的数据。
    ClickLegendButton()public void ClickLegendButton(int legendIndex, string legendName, bool show)
    点击图例按钮
    ConvertSerie()public bool ConvertSerie(Serie serie, Type type)
    ConvertSerie<T>()public bool ConvertSerie<T>(Serie serie) where T : Serie
    ConvertXYAxis()public void ConvertXYAxis(int index)
    转换X轴和Y轴的配置
    EnsureChartComponent<T>()v3.6.0public T EnsureChartComponent<T>() where T : MainComponent
    确保图表有该组件,如果没有则添加。注意:有可能添加不成功。
    GenerateDefaultSerieName()public string GenerateDefaultSerieName()
    GetAllSerieDataCount()public int GetAllSerieDataCount()
    GetChartBackgroundColor()public Color32 GetChartBackgroundColor()
    GetChartComponent<T>()public T GetChartComponent<T>(int index = 0) where T : MainComponent
    GetChartComponentNum()public int GetChartComponentNum(Type type)
    GetChartComponentNum<T>()public int GetChartComponentNum<T>() where T : MainComponent
    GetChartComponents<T>()public List<MainComponent> GetChartComponents<T>() where T : MainComponent
    GetData()public double GetData(int serieIndex, int dataIndex, int dimension = 1)
    GetData()public double GetData(string serieName, int dataIndex, int dimension = 1)
    GetDataZoomOfAxis()public DataZoom GetDataZoomOfAxis(Axis axis)
    GetDataZoomOfSerie()public void GetDataZoomOfSerie(Serie serie, out DataZoom xDataZoom, out DataZoom yDataZoom)
    GetGrid()public GridCoord GetGrid(Vector2 local)
    GetGridOfDataZoom()public GridCoord GetGridOfDataZoom(DataZoom dataZoom)
    GetItemColor()public Color32 GetItemColor(Serie serie)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData)
    GetItemColor()public Color32 GetItemColor(Serie serie, SerieData serieData, int colorIndex)
    GetLegendRealShowNameColor()public Color32 GetLegendRealShowNameColor(string name)
    GetLegendRealShowNameIndex()public int GetLegendRealShowNameIndex(string name)
    GetMarkColor()public Color32 GetMarkColor(Serie serie, SerieData serieData)
    获得Serie的标识颜色。
    GetOrAddChartComponent<T>()public T GetOrAddChartComponent<T>() where T : MainComponent
    GetPainter()public Painter GetPainter(int index)
    GetSerie()public Serie GetSerie(int serieIndex)
    GetSerie()public Serie GetSerie(string serieName)
    GetSerie<T>()public T GetSerie<T>() where T : Serie
    GetSerie<T>()public T GetSerie<T>(int serieIndex) where T : Serie
    GetSerieBarGap<T>()public float GetSerieBarGap<T>() where T : Serie
    GetSerieBarRealCount<T>()public int GetSerieBarRealCount<T>() where T : Serie
    GetSerieIndexIfStack<T>()public int GetSerieIndexIfStack<T>(Serie currSerie) where T : Serie
    GetSerieSameStackTotalValue<T>()public double GetSerieSameStackTotalValue<T>(string stack, int dataIndex) where T : Serie
    GetSeriesMinMaxValue()public virtual void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    GetSerieTotalGap<T>()public float GetSerieTotalGap<T>(float categoryWidth, float gap, int index) where T : Serie
    GetSerieTotalWidth<T>()public float GetSerieTotalWidth<T>(float categoryWidth, float gap, int realBarCount) where T : Serie
    GetTitlePosition()public Vector3 GetTitlePosition(Title title)
    GetVisualMapOfSerie()public VisualMap GetVisualMapOfSerie(Serie serie)
    GetXDataZoomOfSerie()public DataZoom GetXDataZoomOfSerie(Serie serie)
    GetXLerpColor()public Color32 GetXLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    GetYLerpColor()public Color32 GetYLerpColor(Color32 areaColor, Color32 areaToColor, Vector3 pos, GridCoord grid)
    HasChartComponent()public bool HasChartComponent(Type type)
    HasChartComponent<T>()public bool HasChartComponent<T>()
    HasSerie()public bool HasSerie(Type type)
    HasSerie<T>()public bool HasSerie<T>() where T : Serie
    Init()public void Init(bool defaultChart = true)
    InitAxisRuntimeData()public virtual void InitAxisRuntimeData(Axis axis) { }
    InsertSerie()public void InsertSerie(Serie serie, int index = -1, bool addToHead = false)
    InsertSerie<T>()public T InsertSerie<T>(int index, string serieName = null, bool show = true) where T : Serie
    Internal_CheckAnimation()public void Internal_CheckAnimation()
    IsActiveByLegend()public virtual bool IsActiveByLegend(string legendName)
    获得指定图例名字的系列是否显示。
    IsAllAxisCategory()public bool IsAllAxisCategory()
    纯类目轴。
    IsAllAxisValue()public bool IsAllAxisValue()
    纯数值坐标轴(数值轴或对数轴)。
    IsInAnyGrid()public bool IsInAnyGrid(Vector2 local)
    IsInChart()public bool IsInChart(float x, float y)
    IsInChart()public bool IsInChart(Vector2 local)
    坐标是否在图表范围内
    IsSerieName()public bool IsSerieName(string name)
    MoveDownSerie()public bool MoveDownSerie(int serieIndex)
    MoveUpSerie()public bool MoveUpSerie(int serieIndex)
    OnAfterDeserialize()public void OnAfterDeserialize()
    OnBeforeSerialize()public void OnBeforeSerialize()
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDataZoomRangeChanged()public virtual void OnDataZoomRangeChanged(DataZoom dataZoom)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public override void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public override void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public override void OnPointerUp(PointerEventData eventData)
    OnScroll()public override void OnScroll(PointerEventData eventData)
    RefreshBasePainter()public void RefreshBasePainter()
    RefreshChart()public void RefreshChart()
    在下一帧刷新整个图表。
    RefreshChart()public void RefreshChart(int serieIndex)
    在下一帧刷新图表的指定serie。
    RefreshChart()public void RefreshChart(Serie serie)
    在下一帧刷新图表的指定serie。
    RefreshDataZoom()public void RefreshDataZoom()
    在下一帧刷新DataZoom
    RefreshGraph()public override void RefreshGraph()
    RefreshPainter()public void RefreshPainter(int index)
    RefreshPainter()public void RefreshPainter(Serie serie)
    RefreshTopPainter()public void RefreshTopPainter()
    RefreshUpperPainter()public void RefreshUpperPainter()
    RemoveAllChartComponent()public void RemoveAllChartComponent()
    RemoveAllSerie()v3.2.0public virtual void RemoveAllSerie()
    移除所有的Serie。当确认只需要移除Serie时使用该接口,其他情况下一般用RemoveData()。
    RemoveChartComponent()public bool RemoveChartComponent(MainComponent component)
    RemoveChartComponent()public bool RemoveChartComponent(Type type, int index = 0)
    RemoveChartComponent<T>()public bool RemoveChartComponent<T>(int index = 0)
    RemoveChartComponents()public int RemoveChartComponents(Type type)
    RemoveChartComponents<T>()public int RemoveChartComponents<T>()
    RemoveData()public virtual void RemoveData()
    清空所有组件数据,并移除所有Serie。一般在图表重新初始化时使用。 注意:组件只清空数据部分,参数会保留不会被重置。
    RemoveData()public virtual void RemoveData(string serieName)
    清除指定系列名称的数据。
    RemoveSerie()public void RemoveSerie(int serieIndex)
    RemoveSerie()public void RemoveSerie(Serie serie)
    RemoveSerie()public void RemoveSerie(string serieName)
    RemoveSerie<T>()public void RemoveSerie<T>() where T : Serie
    ReplaceSerie()public bool ReplaceSerie(Serie oldSerie, Serie newSerie)
    ResetDataIndex()public bool ResetDataIndex(int serieIndex)
    重置serie的数据项索引。避免数据项索引异常。
    SetBasePainterMaterial()public void SetBasePainterMaterial(Material material)
    设置Base Painter的材质球
    SetMaxCache()public void SetMaxCache(int maxCache)
    设置可缓存的最大数据量。当数据量超过该值时,会自动删除第一个值再加入最新值。
    SetPainterActive()public void SetPainterActive(int index, bool flag)
    SetSerieActive()public void SetSerieActive(int serieIndex, bool active)
    设置指定系列是否显示。
    SetSerieActive()public void SetSerieActive(Serie serie, bool active)
    SetSerieActive()public void SetSerieActive(string serieName, bool active)
    设置指定系列是否显示。
    SetSeriePainterMaterial()public void SetSeriePainterMaterial(Material material)
    设置Serie Painter的材质球
    SetTopPainterMaterial()public void SetTopPainterMaterial(Material material)
    设置Top Painter的材质球
    SetUpperPainterMaterial()public void SetUpperPainterMaterial(Material material)
    设置Upper Painter的材质球
    TriggerTooltip()v3.7.0public bool TriggerTooltip(int dataIndex, int serieIndex = 0)
    尝试触发指定数据项的Tooltip.
    TriggerTooltip()v3.7.0public bool TriggerTooltip(Vector3 localPosition)
    在指定的位置尝试触发Tooltip.
    TryAddChartComponent()public bool TryAddChartComponent(Type type)
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>() where T : MainComponent
    TryAddChartComponent<T>()public bool TryAddChartComponent<T>(out T component) where T : MainComponent
    TryGetChartComponent<T>()public bool TryGetChartComponent<T>(out T component, int index = 0)
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(int serieIndex, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, double value)
    更新指定系列中的指定索引数据。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, int dimension, double value)
    更新指定系列指定索引指定维数的数据。维数从0开始。
    UpdateData()public bool UpdateData(string serieName, int dataIndex, List<double> multidimensionalData)
    更新指定系列指定索引的数据项的多维数据。
    UpdateDataName()public bool UpdateDataName(int serieIndex, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateDataName()public bool UpdateDataName(string serieName, int dataIndex, string dataName)
    更新指定系列中的指定索引数据名称。
    UpdateLegendColor()public virtual void UpdateLegendColor(string legendName, bool active)
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。
    UpdateTheme()public void UpdateTheme(Theme theme)
    切换图表主题。
    UpdateXAxisData()public void UpdateXAxisData(int index, string category, int xAxisIndex = 0)
    更新X轴类目数据。
    UpdateXAxisIcon()public void UpdateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
    更新X轴图标。
    UpdateYAxisData()public void UpdateYAxisData(int index, string category, int yAxisIndex = 0)
    更新Y轴类目数据。
    UpdateYAxisIcon()public void UpdateYAxisIcon(int index, Sprite icon, int yAxisIndex = 0)
    更新Y轴图标。

    BaseGraph

    class in XCharts.Runtime / 继承自: MaskableGraphic,IPointerDownHandler,IPointerUpHandler, / 子类: BaseChart,UIComponent

    API版本描述
    onBeginDragpublic Action<PointerEventData, BaseGraph> onBeginDrag
    鼠标开始拖拽回调。
    onDragpublic Action<PointerEventData, BaseGraph> onDrag
    鼠标拖拽回调。
    onEndDragpublic Action<PointerEventData, BaseGraph> onEndDrag
    鼠标结束拖拽回调。
    onPointerClickpublic Action<PointerEventData, BaseGraph> onPointerClick
    鼠标点击回调。
    onPointerDownpublic Action<PointerEventData, BaseGraph> onPointerDown
    鼠标按下回调。
    onPointerEnterpublic Action<PointerEventData, BaseGraph> onPointerEnter
    鼠标进入回调。
    onPointerExitpublic Action<PointerEventData, BaseGraph> onPointerExit
    鼠标退出回调。
    onPointerUppublic Action<PointerEventData, BaseGraph> onPointerUp
    鼠标弹起回调。
    onScrollpublic Action<PointerEventData, BaseGraph> onScroll
    鼠标滚动回调。
    CheckWarning()public string CheckWarning()
    检测警告信息。
    LocalPointToScreenPoint()v3.7.0public Vector2 LocalPointToScreenPoint(Vector2 localPoint)
    图表内坐标转屏幕坐标。
    LocalPointToWorldPoint()v3.7.0public Vector2 LocalPointToWorldPoint(Vector2 localPoint)
    图表内坐标转世界坐标。
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData)
    OnDrag()public virtual void OnDrag(PointerEventData eventData)
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData)
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData)
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData)
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData)
    OnScroll()public virtual void OnScroll(PointerEventData eventData)
    RebuildChartObject()public void RebuildChartObject()
    移除并重新创建所有图表的Object。
    RefreshAllComponent()public void RefreshAllComponent()
    RefreshGraph()public virtual void RefreshGraph()
    在下一帧刷新图形。
    SaveAsImage()public void SaveAsImage(string imageType = "png", string savePath = "")
    保存图表为图片。
    ScreenPointToChartPoint()public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)
    SetPainterDirty()public void SetPainterDirty()
    重新初始化Painter
    SetSize()public virtual void SetSize(float width, float height)
    设置图形的宽高(在非stretch pivot下才有效,其他情况需要自己调整RectTransform)

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine,AxisMinorSplitLine,AxisMinorTick,AxisSplitLine,AxisTick

    线条基础配置。

    API版本描述
    BaseLine()public BaseLine()
    BaseLine()public BaseLine(bool show) : base()
    Copy()public void Copy(BaseLine axisLine)
    GetColor()public Color32 GetColor(Color32 themeColor)
    GetLength()public float GetLength(float themeLength)
    GetType()public LineStyle.Type GetType(LineStyle.Type themeType)
    GetWidth()public float GetWidth(float themeWidth)

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer / 子类: EffectScatter,Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    API版本描述
    ClearComponentDirty()public static void ClearComponentDirty(ChildComponent component)
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearData()public virtual void ClearData() { }
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public static void ClearVerticesDirty(ChildComponent component)
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    IsComponentDirty()public static bool IsComponentDirty(ChildComponent component)
    IsVertsDirty()public static bool IsVertsDirty(ChildComponent component)
    OnAfterDeserialize()public virtual void OnAfterDeserialize()
    OnBeforeSerialize()public virtual void OnBeforeSerialize() { }
    OnDataUpdate()public virtual void OnDataUpdate() { }
    OnRemove()public virtual void OnRemove()
    RefreshLabel()public void RefreshLabel()
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetVerticesDirty()public virtual void SetVerticesDirty()

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    API版本描述
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    Candlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    CandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    ChartCached

    class in XCharts.Runtime

    API版本描述
    ColorToDotStr()public static string ColorToDotStr(Color color)
    ColorToStr()public static string ColorToStr(Color color)
    FloatToStr()public static string FloatToStr(double value, string numericFormatter = "F", int precision = 0)
    GetSerieLabelName()public static string GetSerieLabelName(string prefix, int i, int j)
    GetString()public static string GetString(string prefix, int suffix)
    IntToStr()public static string IntToStr(int value, string numericFormatter = "")
    NumberToStr()public static string NumberToStr(double value, string formatter)

    ChartConst

    class in XCharts.Runtime

    ChartDrawer

    class in XCharts.Runtime

    ChartHelper

    class in XCharts.Runtime

    API版本描述
    ActiveAllObject()public static void ActiveAllObject(Transform parent, bool active, string match = null)
    AddIcon()public static Image AddIcon(string name, Transform parent, IconStyle iconStyle)
    Cancat()public static string Cancat(string str1, int i)
    Cancat()public static string Cancat(string str1, string str2)
    ClearEventListener()public static void ClearEventListener(GameObject obj)
    CopyArray<T>()public static bool CopyArray<T>(T[] toList, T[] fromList)
    CopyList<T>()public static bool CopyList<T>(List<T> toList, List<T> fromList)
    DestoryGameObject()public static void DestoryGameObject(GameObject go)
    DestoryGameObject()public static void DestoryGameObject(Transform parent, string childName)
    DestoryGameObjectByMatch()public static void DestoryGameObjectByMatch(Transform parent, string containString)
    DestroyAllChildren()public static void DestroyAllChildren(Transform parent)
    EnsureComponent<T>()public static T EnsureComponent<T>(GameObject gameObject) where T : Component
    确保对象有指定的组件,如果没有则添加。
    EnsureComponent<T>()public static T EnsureComponent<T>(Transform transform) where T : Component
    确保对象有指定的组件,如果没有则添加。
    GetActualValue()public static float GetActualValue(float valueOrRate, float total, float maxRate = 1.5f)
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBlurColor()public static Color32 GetBlurColor(Color32 color, float a = 0.3f)
    GetColor()public static Color32 GetColor(string hexColorStr)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetFullName()public static string GetFullName(Transform transform)
    GetHighlightColor()public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)
    GetLastValue()public static Vector3 GetLastValue(List<Vector3> list)
    GetMaxCeilRate()public static double GetMaxCeilRate(double value, double ceilRate)
    GetMaxDivisibleValue()public static double GetMaxDivisibleValue(double max, double ceilRate)
    GetMaxLogValue()public static double GetMaxLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetMinCeilRate()public static double GetMinCeilRate(double value, double ceilRate)
    GetMinDivisibleValue()public static double GetMinDivisibleValue(double min, double ceilRate)
    GetMinLogValue()public static double GetMinLogValue(double value, float logBase, bool isLogBaseE, out int splitNumber)
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(GameObject gameObject) where T : Component
    GetOrAddComponent<T>()public static T GetOrAddComponent<T>(Transform transform) where T : Component
    GetPointList()public static void GetPointList(ref List<Vector3> posList, Vector3 sp, Vector3 ep, float k = 30f)
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetPosition()public static Vector3 GetPosition(Vector3 center, float angle, float radius)
    GetSelectColor()public static Color32 GetSelectColor(Color32 color, float rate = 0.8f)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    HideAllObject()public static void HideAllObject(GameObject obj, string match = null)
    HideAllObject()public static void HideAllObject(Transform parent, string match = null)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsColorAlphaZero()public static bool IsColorAlphaZero(Color color)
    IsEquals()public static bool IsEquals(double d1, double d2)
    IsEquals()public static bool IsEquals(float d1, float d2)
    IsIngore()public static bool IsIngore(Vector3 pos)
    IsInRect()public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)
    IsPointInQuadrilateral()public static bool IsPointInQuadrilateral(Vector3 P, Vector3 A, Vector3 B, Vector3 C, Vector3 D)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    ParseFloatFromString()public static List<float> ParseFloatFromString(string jsonData)
    ParseStringFromString()public static List<string> ParseStringFromString(string jsonData)
    RemoveComponent<T>()public static void RemoveComponent<T>(GameObject gameObject)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)
    SaveAsImage()public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")
    SetActive()public static void SetActive(GameObject gameObject, bool active)
    SetActive()public static void SetActive(Image image, bool active)
    SetActive()public static void SetActive(Text text, bool active)
    SetActive()public static void SetActive(Transform transform, bool active)
    通过设置scale实现是否显示,优化性能,减少GC
    SetBackground()public static void SetBackground(Image background, ImageStyle imageStyle)
    SetColorOpacity()public static void SetColorOpacity(ref Color32 color, float opacity)

    ChartLabel

    class in XCharts.Runtime / 继承自: Image

    API版本描述
    GetHeight()public float GetHeight()
    GetPosition()public Vector3 GetPosition()
    GetTextHeight()public float GetTextHeight()
    GetTextWidth()public float GetTextWidth()
    GetWidth()public float GetWidth()
    IsActiveByScale()public bool IsActiveByScale()
    SetActive()public void SetActive(bool flag)
    SetIcon()public void SetIcon(Image image)
    SetIconActive()public void SetIconActive(bool flag)
    SetIconSize()public void SetIconSize(float width, float height)
    SetIconSprite()public void SetIconSprite(Sprite sprite)
    SetPadding()public void SetPadding(float[] padding)
    SetPosition()public void SetPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetRotate()public void SetRotate(float rotate)
    SetSize()public void SetSize(float width, float height)
    SetText()public bool SetText(string text)
    SetTextActive()public void SetTextActive(bool flag)
    SetTextColor()public void SetTextColor(Color color)
    SetTextPadding()public void SetTextPadding(TextPadding padding)
    SetTextRotate()public void SetTextRotate(float rotate)
    UpdateIcon()public void UpdateIcon(IconStyle iconStyle, Sprite sprite = null, Color color = default(Color))

    ChartObject

    class in XCharts.Runtime

    API版本描述
    Destroy()public virtual void Destroy()

    ChartText

    class in XCharts.Runtime

    API版本描述
    ChartText()public ChartText()
    ChartText()public ChartText(GameObject textParent)
    GetPreferredHeight()public float GetPreferredHeight()
    GetPreferredText()public string GetPreferredText(string content, string suffix, float maxWidth)
    GetPreferredWidth()public float GetPreferredWidth()
    GetPreferredWidth()public float GetPreferredWidth(string content)
    GetText()public string GetText()
    SetActive()public void SetActive(bool flag)
    SetAlignment()public void SetAlignment(TextAnchor alignment)
    SetColor()public void SetColor(Color color)
    SetFont()public void SetFont(Font font)
    SetFont()public void SetFont(TMP_FontAsset font)
    SetFontAndSizeAndStyle()public void SetFontAndSizeAndStyle(TextStyle textStyle, ComponentTheme theme)
    SetFontSize()public void SetFontSize(float fontSize)
    SetFontStyle()public void SetFontStyle(FontStyle fontStyle)
    SetLineSpacing()public void SetLineSpacing(float lineSpacing)
    SetLocalEulerAngles()public void SetLocalEulerAngles(Vector3 position)
    SetLocalPosition()public void SetLocalPosition(Vector3 position)
    SetRectPosition()public void SetRectPosition(Vector3 position)
    SetSizeDelta()public void SetSizeDelta(Vector2 sizeDelta)
    SetText()public void SetText(string text)

    CheckHelper

    class in XCharts.Runtime

    API版本描述
    CheckChart()public static string CheckChart(BaseChart chart)
    CheckChart()public static string CheckChart(BaseGraph chart)

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle,AxisAnimation,AxisName,AxisSplitArea,AreaStyle,ArrowStyle,BaseLine,IconStyle,ImageStyle,ItemStyle,Level,LevelStyle,LineArrow,LineStyle,Location,MLValue,MarqueeStyle,Padding,StageColor,SymbolStyle,TextLimit,TextStyle,CommentItem,CommentMarkStyle,LabelLine,LabelStyle,MarkAreaData,MarkLineData,StateStyle,VisualMapRange,UIComponentTheme,SerieData,ComponentTheme,SerieTheme,ThemeStyle

    API版本描述
    ClearComponentDirty()public static void ClearComponentDirty(ChildComponent component)
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public static void ClearVerticesDirty(ChildComponent component)
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    IsComponentDirty()public static bool IsComponentDirty(ChildComponent component)
    IsVertsDirty()public static bool IsVertsDirty(ChildComponent component)
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetVerticesDirty()public virtual void SetVerticesDirty()

    ColorUtil

    class in XCharts.Runtime

    API版本描述
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。

    Comment

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图表注解组件。

    API版本描述
    GetLabelStyle()public LabelStyle GetLabelStyle(int index)
    GetMarkStyle()public CommentMarkStyle GetMarkStyle(int index)
    OnChanged()public void OnChanged()
    参数变更时的回调处理。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    ComponentHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler)
    ComponentHandlerAttribute()public ComponentHandlerAttribute(Type handler, bool allowMultiple)

    ComponentHelper

    class in XCharts.Runtime

    API版本描述
    GetAngleAxis()public static AngleAxis GetAngleAxis(List<MainComponent> components, int polarIndex)
    GetRadiusAxis()public static RadiusAxis GetRadiusAxis(List<MainComponent> components, int polarIndex)
    GetXAxisOnZeroOffset()public static float GetXAxisOnZeroOffset(List<MainComponent> components, XAxis axis)
    GetYAxisOnZeroOffset()public static float GetYAxisOnZeroOffset(List<MainComponent> components, YAxis axis)
    IsAnyCategoryOfYAxis()public static bool IsAnyCategoryOfYAxis(List<MainComponent> components)

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme,DataZoomTheme,LegendTheme,SubTitleTheme,TitleTheme,TooltipTheme,VisualMapTheme

    API版本描述
    ComponentTheme()public ComponentTheme(ThemeType theme)
    Copy()public virtual void Copy(ComponentTheme theme)
    Reset()public virtual void Reset(ComponentTheme defaultTheme)

    CoordOptionsAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Contains<T>()public bool Contains<T>() where T : CoordSystem
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3)
    CoordOptionsAttribute()public CoordOptionsAttribute(Type coord, Type coord2, Type coord3, Type coord4)

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord,CalendarCoord,GridCoord,ParallelCoord,PolarCoord,SingleAxisCoord

    坐标系系统。

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    API版本描述
    GetBackgroundColor()public Color32 GetBackgroundColor(Color32 themeColor)
    GetBorderColor()public Color32 GetBorderColor(Color32 themeColor)
    GetFillerColor()public Color32 GetFillerColor(Color32 themeColor)
    IsContainsAxis()public bool IsContainsAxis(Axis axis)
    IsContainsXAxis()public bool IsContainsXAxis(int index)
    IsContainsYAxis()public bool IsContainsYAxis(int index)
    IsInEndZoom()public bool IsInEndZoom(Vector2 pos)
    给定的坐标是否在结束活动条触发区域内
    IsInMarqueeArea()public bool IsInMarqueeArea(SerieData serieData)
    IsInMarqueeArea()public bool IsInMarqueeArea(Vector2 pos)
    IsInSelectedZoom()public bool IsInSelectedZoom(int totalIndex, int index, bool invert)
    IsInSelectedZoom()public bool IsInSelectedZoom(Vector2 pos)
    给定的坐标是否在选中区域内
    IsInStartZoom()public bool IsInStartZoom(Vector2 pos)
    给定的坐标是否在开始活动条触发区域内
    IsInZoom()public bool IsInZoom(Vector2 pos)
    给定的坐标是否在缩放区域内
    SetDefaultValue()public override void SetDefaultValue()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    DataZoomContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    DataZoomHelper

    class in XCharts.Runtime

    API版本描述
    UpdateDataZoomRuntimeStartEndValue()public static void UpdateDataZoomRuntimeStartEndValue(DataZoom dataZoom, Serie serie)
    UpdateDataZoomRuntimeStartEndValue<T>()public static void UpdateDataZoomRuntimeStartEndValue<T>(BaseChart chart) where T : Serie

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(DataZoomTheme theme)
    DataZoomTheme()public DataZoomTheme(ThemeType theme) : base(theme)

    DateTimeUtil

    class in XCharts.Runtime

    API版本描述
    GetDateTime()public static DateTime GetDateTime(int timestamp)
    GetTimestamp()public static int GetTimestamp()
    GetTimestamp()public static int GetTimestamp(DateTime time)

    DebugInfo

    class in XCharts.Runtime

    API版本描述
    Init()public void Init(BaseChart chart)
    Update()public void Update()

    DefaultAnimationAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler)
    DefaultAnimationAttribute()public DefaultAnimationAttribute(AnimationType handler, bool enableSerieDataAddedAnimation)

    DefaultTooltipAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    DefaultTooltipAttribute()public DefaultTooltipAttribute(Tooltip.Type type, Tooltip.Trigger trigger)

    DefineSymbolsUtil

    class in XCharts.Runtime

    API版本描述
    AddGlobalDefine()public static void AddGlobalDefine(string symbol)
    RemoveGlobalDefine()public static void RemoveGlobalDefine(string symbol)

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    API版本描述
    EndLabelStyle()public EndLabelStyle()

    FormatterHelper

    class in XCharts.Runtime

    API版本描述
    NeedFormat()public static bool NeedFormat(string content)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string numericFormatter, double value)
    ReplaceAxisLabelContent()public static void ReplaceAxisLabelContent(ref string content, string value)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(string content)
    TrimAndReplaceLine()public static string TrimAndReplaceLine(StringBuilder sb)

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    BoundaryPoint()public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref List<Vector3> point)
    给定的线段和Grid边界的交点
    BoundaryPoint()public bool BoundaryPoint(Vector3 sp, Vector3 ep, ref Vector3 point)
    给定的线段和Grid边界的交点
    Clamp()v3.7.0public void Clamp(ref Vector3 pos)
    将位置限制在网格内。
    ClampX()v3.7.0public void ClampX(ref Vector3 pos)
    将位置的X限制在网格内。
    ClampY()v3.7.0public void ClampY(ref Vector3 pos)
    将位置的Y限制在网格内。
    Contains()public bool Contains(float x, float y)
    给定的位置是否在网格内。
    Contains()public bool Contains(Vector3 pos)
    给定的位置是否在网格内。
    Contains()v3.7.0public bool Contains(Vector3 pos, bool isYAxis)
    给定的位置是否在网格内。
    ContainsX()v3.7.0public bool ContainsX(float x)
    给定的x是否在网格内。
    ContainsY()v3.7.0public bool ContainsY(float y)
    给定的y是否在网格内。
    IsPointerEnter()public bool IsPointerEnter()
    指针是否在网格内。
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent,IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    API版本描述
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    GridLayoutContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Heatmap

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    HeatmapChart

    class in XCharts.Runtime / 继承自: BaseChart

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Clone()public IconStyle Clone()
    Copy()public void Copy(IconStyle iconStyle)
    Reset()public void Reset()

    IgnoreDoc

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    IgnoreDoc()public IgnoreDoc()

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    API版本描述
    Clone()public ImageStyle Clone()
    Copy()public void Copy(ImageStyle imageStyle)
    Reset()public void Reset()

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    API版本描述
    AddIndicator()public RadarCoord.Indicator AddIndicator(string name, double min, double max)
    AddIndicator()public void AddIndicator(RadarCoord.Indicator indicator)
    AddIndicatorList()v3.3.0public void AddIndicatorList(List<string> nameList, double min = 0, double max = 0)
    ClearData()public override void ClearData()
    GetFormatterIndicatorContent()public string GetFormatterIndicatorContent(int indicatorIndex)
    GetFormatterIndicatorContent()public string GetFormatterIndicatorContent(string indicatorName)
    GetIndicator()public RadarCoord.Indicator GetIndicator(int indicatorIndex)
    GetIndicatorMax()public double GetIndicatorMax(int index)
    GetIndicatorMin()public double GetIndicatorMin(int index)
    GetIndicatorName()public string GetIndicatorName(int indicatorIndex)
    GetIndicatorPosition()public Vector3 GetIndicatorPosition(int index)
    IsInIndicatorRange()public bool IsInIndicatorRange(int index, double value)
    IsInRange()public bool IsInRange(double value)
    IsPointerEnter()public bool IsPointerEnter()
    SetDefaultValue()public override void SetDefaultValue()
    UpdateIndicator()public bool UpdateIndicator(int indicatorIndex, string name, double min, double max)

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Radar,BaseScatter

    InputHelper

    class in XCharts.Runtime

    API版本描述
    GetKeyDown()public static bool GetKeyDown(KeyCode keyCode)
    GetTouch()public static Touch GetTouch(int v)

    InteractData

    class in XCharts.Runtime

    API版本描述
    Reset()public void Reset()
    SetColor()public void SetColor(ref bool needInteract, Color32 color)
    SetColor()public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)
    SetPosition()public void SetPosition(ref bool needInteract, Vector3 pos)
    SetValue()public void SetValue(ref bool needInteract, float value, bool highlight, float rate = 1.3f)
    SetValue()public void SetValue(ref bool needInteract, float value, bool previousValueZero = false)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color)
    SetValueAndColor()public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)
    ToString()public override string ToString()
    TryGetColor()public bool TryGetColor(ref Color32 color, ref bool interacting, float animationDuration = 250)
    TryGetColor()public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetPosition()public bool TryGetPosition(ref Vector3 pos, ref bool interacting, float animationDuration = 250)
    TryGetValue()public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref bool interacting, float animationDuration = 250)
    TryGetValueAndColor()public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location,Comment,Legend,Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,LineArrow,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord,CalendarCoord,GridCoord,ParallelCoord,PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle,ImageStyle,ItemStyle,LineStyle,SerieSymbol,LabelLine,LabelStyle,BlurStyle,EmphasisStyle,SelectStyle,TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar,SimplifiedCandlestick,SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    图形样式。

    API版本描述
    GetBorderColor()public Color32 GetBorderColor(Color32 defaultColor)
    GetBorderColor0()public Color32 GetBorderColor0(Color32 defaultColor)
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 defaultColor)
    GetColor0()public Color32 GetColor0()
    GetColor0()public Color32 GetColor0(Color32 defaultColor)
    GetGradientColor()public Color32 GetGradientColor(float value, Color32 defaultColor)
    GetToColor()public Color32 GetToColor()
    IsNeedCorner()public bool IsNeedCorner()
    IsNeedGradient()public bool IsNeedGradient()
    NeedShowBorder()public bool NeedShowBorder()
    是否需要显示边框。
    Reset()public void Reset()

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis,DataZoom,CalendarCoord,GridCoord,GridLayout,ParallelCoord

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent

    标签的引导线

    API版本描述
    GetEndSymbolOffset()public Vector3 GetEndSymbolOffset()
    GetStartSymbolOffset()public Vector3 GetStartSymbolOffset()
    Reset()public void Reset()

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent,ISerieDataComponent / 子类: AxisLabel,EndLabelStyle,TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    API版本描述
    Clone()public virtual LabelStyle Clone()
    Copy()public virtual void Copy(LabelStyle label)
    GetColor()public Color GetColor(Color defaultColor)
    GetFormatterContent()public virtual string GetFormatterContent(int labelIndex, double value, double minValue, double maxValue, bool isLog = false)
    GetFormatterContent()public virtual string GetFormatterContent(int labelIndex, string category)
    GetFormatterDateTime()public string GetFormatterDateTime(int labelIndex, double value, double minValue, double maxValue)
    GetOffset()public Vector3 GetOffset(float radius)
    IsAutoSize()public bool IsAutoSize()
    IsDefaultPosition()public bool IsDefaultPosition(Position position)
    IsInside()public bool IsInside()
    是否在内部。
    Reset()public void Reset()

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    API版本描述
    GetCandlestickDimensionName()public string GetCandlestickDimensionName(int i)
    GetDay()public string GetDay(int day)
    GetMonthAbbr()public string GetMonthAbbr(int month)

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    API版本描述
    List<string>()public List<string> dayOfMonth = new List<string>()
    List<string>()public List<string> dayOfWeek = new List<string>()
    List<string>()public List<string> dayOfWeekAbbr = new List<string>()
    List<string>()public List<string> monthAbbr = new List<string>()
    List<string>()public List<string> months = new List<string>()

    LayerHelper

    class in XCharts.Runtime

    API版本描述
    IsFixedWidthHeight()public static bool IsFixedWidthHeight(RectTransform rt)
    IsStretchPivot()public static bool IsStretchPivot(RectTransform rt)

    Legend

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    API版本描述
    AddData()public void AddData(string name)
    添加图例。
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空。
    ContainsData()public bool ContainsData(string name)
    是否包括由指定名字的图例
    GetColor()public Color GetColor(int index)
    GetData()public string GetData(int index)
    获得指定索引的图例。
    GetIcon()public Sprite GetIcon(int index)
    获得指定索引的图例按钮。
    GetIndex()public int GetIndex(string legendName)
    获得指定图例的索引。
    GetPosition()public Vector3 GetPosition(int index, Vector3 defaultPos)
    OnChanged()public void OnChanged()
    参数变更时的回调处理。
    RemoveButton()public void RemoveButton()
    移除所有图例按钮。
    RemoveData()public void RemoveData(string name)
    移除指定名字的图例。
    SetButton()public void SetButton(string name, LegendItem item, int total)
    给图例绑定按钮。
    UpdateButtonColor()public void UpdateButtonColor(string name, Color color)
    更新图例按钮颜色。
    UpdateContentColor()public void UpdateContentColor(string name, Color color)
    更新图例文字颜色。

    LegendContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    LegendHelper

    class in XCharts.Runtime

    API版本描述
    CheckDataHighlighted()public static int CheckDataHighlighted(Serie serie, string legendName, bool heighlight)
    CheckDataShow()public static bool CheckDataShow(Serie serie, string legendName, bool show)
    GetContentColor()public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)
    GetIconColor()public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)
    ResetItemPosition()public static void ResetItemPosition(Legend legend, Vector3 chartPos, float chartWidth, float chartHeight)
    SetLegendBackground()public static void SetLegendBackground(Legend legend, ImageStyle style)

    LegendItem

    class in XCharts.Runtime

    API版本描述
    GetIconColor()public Color GetIconColor()
    GetIconRect()public Rect GetIconRect()
    SetActive()public void SetActive(bool active)
    SetBackground()public void SetBackground(ImageStyle imageStyle)
    SetButton()public void SetButton(Button button)
    SetContent()public bool SetContent(string content)
    SetContentBackgroundColor()public void SetContentBackgroundColor(Color color)
    SetContentColor()public void SetContentColor(Color color)
    SetContentPosition()public void SetContentPosition(Vector3 offset)
    SetIcon()public void SetIcon(Image icon)
    SetIconActive()public void SetIconActive(bool active)
    SetIconColor()public void SetIconColor(Color color)
    SetIconImage()public void SetIconImage(Sprite image)
    SetIconSize()public void SetIconSize(float width, float height)
    SetObject()public void SetObject(GameObject obj)
    SetPosition()public void SetPosition(Vector3 position)
    SetText()public void SetText(ChartText text)
    SetTextBackground()public void SetTextBackground(Image image)

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(LegendTheme theme)
    LegendTheme()public LegendTheme(ThemeType theme) : base(theme)

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    Line

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Line ConvertSerie(Serie serie)

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieComponent

    LineChart

    class in XCharts.Runtime / 继承自: BaseChart

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent,ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    API版本描述
    Clone()public LineStyle Clone()
    Copy()public void Copy(LineStyle lineStyle)
    GetColor()public Color32 GetColor()
    GetColor()public Color32 GetColor(Color32 themeColor)
    GetGradientColor()public Color32 GetGradientColor(float value, Color32 defaultColor)
    GetLength()public float GetLength(float themeLength)
    GetType()public Type GetType(Type themeType)
    GetWidth()public float GetWidth(float themeWidth)
    IsNeedGradient()public bool IsNeedGradient()
    IsNotSolidLine()public bool IsNotSolidLine()
    LineStyle()public LineStyle()
    LineStyle()public LineStyle(float width)
    LineStyle()public LineStyle(LineStyle.Type type)
    LineStyle()public LineStyle(LineStyle.Type type, float width)

    ListFor

    class in XCharts.Runtime / 继承自: Attribute / 子类: ListForComponent,ListForSerie

    API版本描述
    ListFor()public ListFor(Type type)

    ListForComponent

    class in XCharts.Runtime / 继承自: ListFor

    API版本描述
    ListForComponent()public ListForComponent(Type type) : base(type)

    ListForSerie

    class in XCharts.Runtime / 继承自: ListFor

    API版本描述
    ListForSerie()public ListForSerie(Type type) : base(type)

    Location

    class in XCharts.Runtime / 继承自: ChildComponent,IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    API版本描述
    GetPosition()public Vector3 GetPosition(float chartWidth, float chartHeight)
    返回在坐标系中的具体位置
    IsBottom()public bool IsBottom()
    IsCenter()public bool IsCenter()
    IsTop()public bool IsTop()
    OnChanged()public void OnChanged()
    属性变更时更新textAnchor,minAnchor,maxAnchor,pivot
    UpdateRuntimeData()public void UpdateRuntimeData(float chartWidth, float chartHeight)

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis,Background,Comment,DataZoom,Legend,MarkArea,MarkLine,Settings,Title,Tooltip,VisualMap,GridLayout,CoordSystem

    API版本描述
    ClearComponentDirty()public virtual void ClearComponentDirty()
    ClearData()public virtual void ClearData() { }
    ClearDirty()public virtual void ClearDirty()
    ClearVerticesDirty()public virtual void ClearVerticesDirty()
    CompareTo()public int CompareTo(object obj)
    OnRemove()public virtual void OnRemove()
    Reset()public virtual void Reset() { }
    SetAllDirty()public virtual void SetAllDirty()
    SetComponentDirty()public virtual void SetComponentDirty()
    SetDefaultValue()public virtual void SetDefaultValue() { }
    SetVerticesDirty()public virtual void SetVerticesDirty()

    MainComponentContext

    class in XCharts.Runtime / 子类: AxisContext,DataZoomContext,LegendContext,RadarCoordContext,VisualMapContext,GridCoordContext,GridLayoutContext,ParallelCoordContext,PolarCoordContext

    MainComponentHandler

    class in XCharts.Runtime / 子类: AxisHandler<T>,MainComponentHandler<T>

    API版本描述
    BeforceSerieUpdate()public virtual void BeforceSerieUpdate() { }
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    OnSerieDataUpdate()public virtual void OnSerieDataUpdate(int serieIndex) { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }

    MainComponentHandler<T>

    class in XCharts.Runtime / 继承自: MainComponentHandler

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    API版本描述
    onEndpublic Action<DataZoom> onEnd
    自定义选取框结束选取时的回调。
    onGoingpublic Action<DataZoom> onGoing
    自定义选取框选取进行时的回调。
    onStartpublic Action<DataZoom> onStart
    自定义选取框开始选取时的回调。

    MathUtil

    class in XCharts.Runtime

    API版本描述
    Abs()public static double Abs(double d)
    Approximately()public static bool Approximately(double a, double b)
    Clamp()public static double Clamp(double d, double min, double max)
    Clamp01()public static double Clamp01(double value)
    GetPrecision()public static int GetPrecision(double value)
    IsInteger()public static bool IsInteger(double value)
    Lerp()public static double Lerp(double a, double b, double t)

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    API版本描述
    GetValue()public float GetValue(float total)
    根据类型获取值。
    MLValue()public MLValue(float value)
    MLValue()public MLValue(Type type, float value)

    MonoBehaviour

    class in / 子类: XLog

    ObjectPool<T> where T

    class in XCharts.Runtime / 继承自: new()

    API版本描述
    ClearAll()public void ClearAll()
    Get()public T Get()
    new()public class ObjectPool<T> where T : new()
    ObjectPool()public ObjectPool(UnityAction<T> actionOnGet, UnityAction<T> actionOnRelease, bool newIfEmpty = true)
    Release()public void Release(T element)

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    API版本描述
    Padding()public Padding() { }
    Padding()public Padding(float top, float right, float bottom, float left)
    SetPadding()public void SetPadding(float top, float right, float bottom, float left)

    Painter

    class in XCharts.Runtime / 继承自: MaskableGraphic

    API版本描述
    onPopulateMeshpublic Action<VertexHelper, Painter> onPopulateMesh
    CheckRefresh()public void CheckRefresh()
    Init()public void Init()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag, bool isDebugMode = false)

    Parallel

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()

    ParallelChart

    class in XCharts.Runtime / 继承自: BaseChart

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem,IUpdateRuntimeData,ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    API版本描述
    Contains()public bool Contains(float x, float y)
    Contains()public bool Contains(Vector3 pos)
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    ParallelCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    Pie

    class in XCharts.Runtime / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Pie ConvertSerie(Serie serie)

    PieChart

    class in XCharts.Runtime / 继承自: BaseChart

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    PolarAxisTheme()public PolarAxisTheme(ThemeType theme) : base(theme) { }

    PolarChart

    class in XCharts.Runtime / 继承自: BaseChart

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    API版本描述
    Contains()public bool Contains(Vector3 pos)
    IsPointerEnter()public bool IsPointerEnter()

    PolarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    PropertyUtil

    class in XCharts.Runtime

    API版本描述
    SetClass<T>()public static bool SetClass<T>(ref T currentValue, T newValue, bool notNull = false) where T : class
    SetColor()public static bool SetColor(ref Color currentValue, Color newValue)
    SetColor()public static bool SetColor(ref Color32 currentValue, Color32 newValue)
    SetStruct<T>()public static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct

    Radar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    RadarAxisTheme()public RadarAxisTheme(ThemeType theme) : base(theme)

    RadarChart

    class in XCharts.Runtime / 继承自: BaseChart

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem,ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadarCoordContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    API版本描述
    RadiusAxisTheme()public RadiusAxisTheme(ThemeType theme) : base(theme) { }

    ReflectionUtil

    class in XCharts.Runtime

    API版本描述
    DeepCloneSerializeField()public static object DeepCloneSerializeField(object obj)
    InvokeListAdd()public static void InvokeListAdd(object obj, FieldInfo field, object item)
    InvokeListAddTo<T>()public static void InvokeListAddTo<T>(object obj, FieldInfo field, Action<T> callback)
    InvokeListClear()public static void InvokeListClear(object obj, FieldInfo field)
    InvokeListCount()public static int InvokeListCount(object obj, FieldInfo field)
    InvokeListGet<T>()public static T InvokeListGet<T>(object obj, FieldInfo field, int i)

    RequireChartComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)
    RequireChartComponentAttribute()public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)

    Ring

    class in XCharts.Runtime / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    GetDataTotal()public override double GetDataTotal(int dimension, SerieData serieData = null)

    RingChart

    class in XCharts.Runtime / 继承自: BaseChart

    RuntimeUtil

    class in XCharts.Runtime

    API版本描述
    GetAllAssemblyTypes()public static IEnumerable<Type> GetAllAssemblyTypes()
    GetAllTypesDerivedFrom()public static IEnumerable<Type> GetAllTypesDerivedFrom(Type type)
    GetAllTypesDerivedFrom<T>()public static IEnumerable<Type> GetAllTypesDerivedFrom<T>()
    GetAttribute<T>()public static T GetAttribute<T>(this MemberInfo type, bool check = true) where T : Attribute
    GetAttribute<T>()public static T GetAttribute<T>(this Type type, bool check = true) where T : Attribute
    HasSubclass()public static bool HasSubclass(Type type)

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    ScatterChart

    class in XCharts.Runtime / 继承自: BaseChart

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle,ISerieComponent,ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie,IComparable / 子类: SerieHandler<T>,Bar,SimplifiedBar,Candlestick,SimplifiedCandlestick,Heatmap,Line,SimplifiedLine,Parallel,Pie,Radar,Ring,BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    API版本描述
    onClickpublic Action<SerieEventData> onClick
    点击系列时的回调。
    onDownpublic Action<SerieEventData> onDown
    鼠标按下时的回调。
    onEnterpublic Action<SerieEventData> onEnter
    鼠标进入时的回调。
    onExitpublic Action<SerieEventData> onExit
    鼠标离开时的回调。
    AddChildData()public SerieData AddChildData(SerieData parent, double value, string name, string id)
    AddChildData()public SerieData AddChildData(SerieData parent, List<double> value, string name, string id)
    AddChildData()public void AddChildData(SerieData parent, SerieData serieData)
    AddData()public SerieData AddData(double indexOrTimestamp, double open, double close, double lowest, double heighest, string dataName = null, string dataId = null)
    添加 (open, close, lowest, heighest) 数据
    AddData()public SerieData AddData(List<double> valueList, string dataName = null, string dataId = null)
    将一组数据添加到系列中。 如果数据只有一个,默认添加到维度Y中。
    AddData()public SerieData AddData(params double[] values)
    添加任意维数据到系列中。
    AddExtraComponent<T>()public T AddExtraComponent<T>() where T : ChildComponent, ISerieComponent
    AddSerieData()public void AddSerieData(SerieData serieData)
    AddXYData()public SerieData AddXYData(double xValue, double yValue, string dataName = null, string dataId = null)
    添加(x,y)数据到维度X和维度Y
    AddYData()public SerieData AddYData(double value, string dataName = null, string dataId = null)
    添加一个数据到维度Y(此时维度X对应的数据是索引)
    AnimationEnable()public void AnimationEnable(bool flag)
    启用或取消初始动画
    AnimationFadeIn()public void AnimationFadeIn()
    渐入动画
    AnimationFadeOut()public void AnimationFadeOut()
    渐出动画
    AnimationPause()public void AnimationPause()
    暂停动画
    AnimationReset()public void AnimationReset()
    重置动画
    AnimationRestart()public void AnimationRestart()
    重置动画
    AnimationResume()public void AnimationResume()
    继续动画
    CanAddComponent()public bool CanAddComponent(Type type)
    CanAddComponent<T>()public bool CanAddComponent<T>() where T : ChildComponent, ISerieComponent
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    清空所有数据
    ClearDirty()public override void ClearDirty()
    ClearHighlight()public void ClearHighlight()
    清除所有数据的高亮标志
    ClearSerieNameDirty()public void ClearSerieNameDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Clone()public Serie Clone()
    Clone<T>()public T Clone<T>() where T : Serie
    CompareTo()public int CompareTo(object obj)
    EnsureComponent()public ISerieComponent EnsureComponent(Type type)
    EnsureComponent<T>()public T EnsureComponent<T>() where T : ChildComponent, ISerieComponent
    确保系列有该组件。如果没有,则添加。
    GetBarWidth()public float GetBarWidth(float categoryWidth, int barCount = 0)
    GetComponent()public ISerieComponent GetComponent(Type type)
    GetComponent<T>()public T GetComponent<T>() where T : ChildComponent, ISerieComponent
    GetData()public double GetData(int index, int dimension, DataZoom dataZoom = null)
    获得指定index指定维数的数据
    GetDataList()public List<SerieData> GetDataList(DataZoom dataZoom = null)
    获得系列的数据列表
    GetDataTotal()public virtual double GetDataTotal(int dimension, SerieData serieData = null)
    GetSerieData()public SerieData GetSerieData(int index, DataZoom dataZoom = null)
    获得指定索引的数据项
    GetSerieData()public SerieData GetSerieData(SerieData parent, string id)
    GetSerieData()public SerieData GetSerieData(string id, DataZoom dataZoom = null)
    GetXYData()public void GetXYData(int index, DataZoom dataZoom, out double xValue, out double yVlaue)
    获得指定索引的维度X和维度Y的数据
    GetYCurrData()public double GetYCurrData(int index, DataZoom dataZoom = null)
    GetYData()public double GetYData(int index, DataZoom dataZoom = null)
    获得维度Y索引对应的数据
    GetYData()public void GetYData(int index, out double yData, out string dataName, DataZoom dataZoom = null)
    获得维度Y索引对应的数据和数据名
    IsIgnoreIndex()public bool IsIgnoreIndex(int index, int dimension = 1)
    IsIgnorePoint()public bool IsIgnorePoint(int index)
    IsIgnoreValue()public bool IsIgnoreValue(double value)
    IsIgnoreValue()public bool IsIgnoreValue(SerieData serieData, double value)
    IsIgnoreValue()public bool IsIgnoreValue(SerieData serieData, int dimension = 1)
    IsLegendName()public bool IsLegendName(string legendName)
    IsPerformanceMode()public bool IsPerformanceMode()
    是否为性能模式。性能模式下不绘制Symbol,不刷新Label,不单独设置数据项配置。
    IsSerie<T>()public bool IsSerie<T>() where T : Serie
    IsSerieDataLegendName()public bool IsSerieDataLegendName(string legendName)
    IsSerieLegendName()public bool IsSerieLegendName(string legendName)
    IsUseCoord<T>()public bool IsUseCoord<T>() where T : CoordSystem
    RemoveAllComponents()public void RemoveAllComponents()
    移除所有额外组件。
    RemoveComponent()public void RemoveComponent(Type type)
    RemoveComponent<T>()public void RemoveComponent<T>() where T : ISerieComponent
    RemoveData()public void RemoveData(int index)
    移除指定索引的数据
    ResetDataIndex()public bool ResetDataIndex()
    重置数据项索引。避免部分数据项的索引异常。
    ResetInteract()public void ResetInteract()
    SetAllDirty()public override void SetAllDirty()
    SetCoord<T>()public bool SetCoord<T>() where T : CoordSystem
    SetHighlight()public void SetHighlight(int index, bool flag)
    设置指定索引的数据为高亮状态
    SetVerticesDirty()public override void SetVerticesDirty()
    UpdateData()public bool UpdateData(int index, int dimension, double value)
    更新指定索引指定维数的数据
    UpdateData()public bool UpdateData(int index, List<double> values)
    更新指定索引的数据项数据列表
    UpdateDataName()public bool UpdateDataName(int index, string name)
    UpdateXYData()public bool UpdateXYData(int index, double xValue, double yValue)
    更新指定索引的维度X和维度Y的数据
    UpdateYData()public bool UpdateYData(int index, double value)
    更新指定索引的维度Y数据

    SerieComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到Serie的组件。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieComponentAttribute()public SerieComponentAttribute()
    SerieComponentAttribute()public SerieComponentAttribute(Type type1)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieComponentAttribute()public SerieComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieContext

    class in XCharts.Runtime

    SerieConvertAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可转化为哪些Serie类型。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : Serie
    SerieConvertAttribute()public SerieConvertAttribute(Type serie)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3)
    SerieConvertAttribute()public SerieConvertAttribute(Type serie, Type serie2, Type serie3, Type serie4)

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    EnsureComponent()v3.6.0public ISerieDataComponent EnsureComponent(Type type)
    确保数据项有指定类型的组件,如果没有则添加。
    EnsureComponent<T>()v3.6.0public T EnsureComponent<T>() where T : ChildComponent, ISerieDataComponent
    确保数据项有指定类型的组件,如果没有则添加。
    GetAddAnimationData()public double GetAddAnimationData(double min, double max, float animationDuration = 500f, bool unscaledTime = false)
    GetComponent<T>()public T GetComponent<T>() where T : ChildComponent, ISerieDataComponent
    获取数据项的指定类型的组件,如果不存在则返回null。
    GetCurrData()public double GetCurrData(int index, AnimationStyle animation, bool inverse = false, bool loop = false)
    GetCurrData()public double GetCurrData(int index, AnimationStyle animation, bool inverse, double min, double max, bool loop = false)
    GetCurrData()public double GetCurrData(int index, float dataAddDuration = 500f, float animationDuration = 500f, bool unscaledTime = false, bool inverse = false)
    GetCurrData()public double GetCurrData(int index, float dataAddDuration, float animationDuration, bool inverse, double min, double max, bool unscaledTime, bool loop = false)
    GetData()public double GetData(int index, bool inverse = false)
    GetData()public double GetData(int index, double min, double max)
    GetFirstData()public double GetFirstData(bool unscaledTime, float animationDuration = 500f)
    GetLabelHeight()public float GetLabelHeight()
    GetLabelWidth()public float GetLabelWidth()
    GetLastData()public double GetLastData()
    GetMaxData()public double GetMaxData(bool inverse = false)
    最大值。
    GetMinData()public double GetMinData(bool inverse = false)
    最小值。
    GetMinMaxData()public void GetMinMaxData(int startDimensionIndex, bool inverse, out double min, out double max)
    GetOrAddComponent<T>()public T GetOrAddComponent<T>() where T : ChildComponent, ISerieDataComponent
    GetPreviousData()public double GetPreviousData(int index, bool inverse = false)
    GetTotalData()public double GetTotalData()
    IsDataChanged()public bool IsDataChanged()
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    List<string>()public static List<string> extraFieldList = new List<string>()
    系列中的一个数据项。可存储数据名和1-n维个数据。
    OnAdd()public void OnAdd(AnimationStyle animation, double startValue = 0)
    RemoveAllComponent()public void RemoveAllComponent()
    RemoveComponent()public void RemoveComponent(Type type)
    RemoveComponent<T>()public void RemoveComponent<T>() where T : ISerieDataComponent
    Reset()public void Reset()
    SetIconActive()public void SetIconActive(bool flag)
    SetLabelActive()public void SetLabelActive(bool flag)
    SetPolygon()public void SetPolygon(params Vector2[] points)
    SetPolygon()public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)
    SetPolygon()public void SetPolygon(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5)
    UpdateData()public bool UpdateData(int dimension, double value)
    UpdateData()public bool UpdateData(int dimension, double value, bool updateAnimation, bool unscaledTime, float animationDuration = 500f)

    SerieDataComponentAttribute

    class in XCharts.Runtime / 继承自: Attribute

    可添加到SerieData的组件。

    API版本描述
    Contains()public bool Contains(Type type)
    Contains<T>()public bool Contains<T>() where T : ISerieComponent
    SerieDataComponentAttribute()public SerieDataComponentAttribute()
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6)
    SerieDataComponentAttribute()public SerieDataComponentAttribute(Type type1, Type type2, Type type3, Type type4, Type type5, Type type6, Type type7)

    SerieDataContext

    class in XCharts.Runtime

    API版本描述
    Reset()public void Reset()

    SerieDataExtraFieldAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Contains()public bool Contains(string field)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute()
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6)
    SerieDataExtraFieldAttribute()public SerieDataExtraFieldAttribute(string field1, string field2, string field3, string field4, string field5, string field6, string field7)

    SerieEventData

    class in XCharts.Runtime

    serie事件的数据。

    API版本描述
    Reset()public void Reset()

    SerieEventDataPool

    class in XCharts.Runtime

    API版本描述
    Get()public static SerieEventData Get(Vector3 pos, int serieIndex, int dataIndex, int dimension, double value)
    Release()public static void Release(SerieEventData toRelease)

    SerieHandler

    class in XCharts.Runtime

    API版本描述
    AfterUpdate()public virtual void AfterUpdate() { }
    BeforeUpdate()public virtual void BeforeUpdate() { }
    CheckComponent()public virtual void CheckComponent(StringBuilder sb) { }
    DrawBase()public virtual void DrawBase(VertexHelper vh) { }
    DrawSerie()public virtual void DrawSerie(VertexHelper vh) { }
    DrawTop()public virtual void DrawTop(VertexHelper vh) { }
    DrawUpper()public virtual void DrawUpper(VertexHelper vh) { }
    ForceUpdateSerieContext()public virtual void ForceUpdateSerieContext() { }
    InitComponent()public virtual void InitComponent() { }
    OnBeginDrag()public virtual void OnBeginDrag(PointerEventData eventData) { }
    OnDrag()public virtual void OnDrag(PointerEventData eventData) { }
    OnEndDrag()public virtual void OnEndDrag(PointerEventData eventData) { }
    OnLegendButtonClick()public virtual void OnLegendButtonClick(int index, string legendName, bool show) { }
    OnLegendButtonEnter()public virtual void OnLegendButtonEnter(int index, string legendName) { }
    OnLegendButtonExit()public virtual void OnLegendButtonExit(int index, string legendName) { }
    OnPointerClick()public virtual void OnPointerClick(PointerEventData eventData) { }
    OnPointerDown()public virtual void OnPointerDown(PointerEventData eventData) { }
    OnPointerEnter()public virtual void OnPointerEnter(PointerEventData eventData) { }
    OnPointerExit()public virtual void OnPointerExit(PointerEventData eventData) { }
    OnPointerUp()public virtual void OnPointerUp(PointerEventData eventData) { }
    OnScroll()public virtual void OnScroll(PointerEventData eventData) { }
    RefreshLabelInternal()public virtual void RefreshLabelInternal() { }
    RefreshLabelNextFrame()public virtual void RefreshLabelNextFrame() { }
    RemoveComponent()public virtual void RemoveComponent() { }
    Update()public virtual void Update() { }
    UpdateSerieContext()public virtual void UpdateSerieContext() { }

    SerieHandler where T

    class in / 子类: SerieHandler<T>

    SerieHandler<T>

    class in XCharts.Runtime / 继承自: [SerieHandler where T](#seriehandler where t),Serie

    API版本描述
    AfterUpdate()public override void AfterUpdate()
    BeforeUpdate()public override void BeforeUpdate()
    DrawLabelLineSymbol()public void DrawLabelLineSymbol(VertexHelper vh, LabelLine labelLine, Vector3 startPos, Vector3 endPos, Color32 defaultColor)
    ForceUpdateSerieContext()public override void ForceUpdateSerieContext()
    GetPointerItemDataDimension()public override int GetPointerItemDataDimension()
    GetPointerItemDataIndex()public override int GetPointerItemDataIndex()
    GetSerieDataAutoColor()public virtual Color GetSerieDataAutoColor(SerieData serieData)
    GetSerieDataLabelOffset()public virtual Vector3 GetSerieDataLabelOffset(SerieData serieData, LabelStyle label)
    GetSerieDataLabelPosition()public virtual Vector3 GetSerieDataLabelPosition(SerieData serieData, LabelStyle label)
    GetSerieDataTitlePosition()public virtual Vector3 GetSerieDataTitlePosition(SerieData serieData, TitleStyle titleStyle)
    InitComponent()public override void InitComponent()
    OnLegendButtonClick()public override void OnLegendButtonClick(int index, string legendName, bool show)
    OnLegendButtonEnter()public override void OnLegendButtonEnter(int index, string legendName)
    OnLegendButtonExit()public override void OnLegendButtonExit(int index, string legendName)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)
    OnPointerDown()public override void OnPointerDown(PointerEventData eventData)
    RefreshEndLabelInternal()public virtual void RefreshEndLabelInternal()
    RefreshLabelInternal()public override void RefreshLabelInternal()
    RefreshLabelNextFrame()public override void RefreshLabelNextFrame()
    RemoveComponent()public override void RemoveComponent()
    Update()public override void Update()

    SerieHandlerAttribute

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler)
    SerieHandlerAttribute()public SerieHandlerAttribute(Type handler, bool allowMultiple)

    SerieHelper

    class in XCharts.Runtime

    API版本描述
    CloneSerie<T>()public static T CloneSerie<T>(Serie serie) where T : Serie
    CopySerie()public static void CopySerie(Serie oldSerie, Serie newSerie)
    GetAllMinMaxData()public static void GetAllMinMaxData(Serie serie, double ceilRate = 0, DataZoom dataZoom = null)
    GetAreaStyle()public static AreaStyle GetAreaStyle(Serie serie, SerieData serieData)
    GetAverageData()public static double GetAverageData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetBlurStyle()public static BlurStyle GetBlurStyle(Serie serie, SerieData serieData)
    GetEmphasisStyle()public static EmphasisStyle GetEmphasisStyle(Serie serie, SerieData serieData)
    GetItemColor()public static Color32 GetItemColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto, bool opacity = true)
    GetItemFormatter()public static string GetItemFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetItemMarker()public static string GetItemMarker(Serie serie, SerieData serieData, string defaultMarker = null)
    GetItemStyle()public static ItemStyle GetItemStyle(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetLineColor()public static Color32 GetLineColor(Serie serie, SerieData serieData, ThemeStyle theme, int index, SerieState state = SerieState.Auto)
    GetLineStyle()public static LineStyle GetLineStyle(Serie serie, SerieData serieData)
    GetMaxData()public static double GetMaxData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMaxSerieData()public static SerieData GetMaxSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMedianData()public static double GetMedianData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinData()public static double GetMinData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetMinMaxData()public static void GetMinMaxData(Serie serie, out double min, out double max, DataZoom dataZoom = null, int dimension = 0)
    获得系列所有数据的最大最小值。
    GetMinSerieData()public static SerieData GetMinSerieData(Serie serie, int dimension = 1, DataZoom dataZoom = null)
    GetNumericFormatter()public static string GetNumericFormatter(Serie serie, SerieData serieData, string defaultFormatter = null)
    GetSelectStyle()public static SelectStyle GetSelectStyle(Serie serie, SerieData serieData)
    GetSerieLabel()public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieLabelLine()public static LabelLine GetSerieLabelLine(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetSerieState()public static SerieState GetSerieState(Serie serie)
    GetSerieState()public static SerieState GetSerieState(Serie serie, SerieData serieData, bool defaultSerieState = false)
    GetSerieState()public static SerieState GetSerieState(SerieData serieData)
    GetSerieSymbol()public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)
    GetStateStyle()public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)
    GetSysmbolSize()public static float GetSysmbolSize(Serie serie, SerieData serieData, float defaultSize, SerieState state = SerieState.Auto, bool checkAnimation = false)
    GetTitleStyle()public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)
    IsAllZeroValue()public static bool IsAllZeroValue(Serie serie, int dimension = 1)
    系列指定维数的数据是否全部为0。
    IsDownPoint()public static bool IsDownPoint(Serie serie, int index)
    UpdateCenter()public static void UpdateCenter(Serie serie, BaseChart chart)
    更新运行时中心点和半径
    UpdateFilterData()public static void UpdateFilterData(Serie serie, DataZoom dataZoom)
    根据dataZoom更新数据列表缓存
    UpdateMinMaxData()public static void UpdateMinMaxData(Serie serie, int dimension, double ceilRate = 0, DataZoom dataZoom = null)
    获得指定维数的最大最小值
    UpdateRect()public static void UpdateRect(Serie serie, Vector3 chartPosition, float chartWidth, float chartHeight)
    UpdateSerieRuntimeFilterData()public static void UpdateSerieRuntimeFilterData(Serie serie, bool filterInvisible = true)

    SerieLabelHelper

    class in XCharts.Runtime

    API版本描述
    CanShowLabel()public static bool CanShowLabel(Serie serie, SerieData serieData, LabelStyle label, int dimesion)
    GetLabelColor()public static Color GetLabelColor(Serie serie, ThemeStyle theme, int index)
    SetGaugeLabelText()public static void SetGaugeLabelText(Serie serie)

    SerieLabelPool

    class in XCharts.Runtime

    API版本描述
    ClearAll()public static void ClearAll()
    Release()public static void Release(GameObject element)
    ReleaseAll()public static void ReleaseAll(Transform parent)

    SerieParams

    class in XCharts.Runtime

    SeriesHelper

    class in XCharts.Runtime

    API版本描述
    GetLastStackSerie()public static Serie GetLastStackSerie(List<Serie> series, Serie serie)
    获得上一个同堆叠且显示的serie。
    GetLegalSerieNameList()public static List<string> GetLegalSerieNameList(List<Serie> series)
    GetMaxSerieDataCount()public static int GetMaxSerieDataCount(List<Serie> series)
    GetMinAnimationDuration()public static float GetMinAnimationDuration(List<Serie> series)
    GetNameColor()public static Color GetNameColor(BaseChart chart, int index, string name)
    GetStackSeries()public static void GetStackSeries(List<Serie> series, ref Dictionary<int, List<Serie>> stackSeries)
    获得堆叠系列列表
    IsAnyClipSerie()public static bool IsAnyClipSerie(List<Serie> series)
    是否有需裁剪的serie。
    IsLegalLegendName()public static bool IsLegalLegendName(string name)
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series) where T : Serie
    是否时百分比堆叠
    IsPercentStack<T>()public static bool IsPercentStack<T>(List<Serie> series, string stackName) where T : Serie
    是否时百分比堆叠
    IsStack()public static bool IsStack(List<Serie> series)
    是否由数据堆叠
    IsStack<T>()public static bool IsStack<T>(List<Serie> series, string stackName) where T : Serie
    是否堆叠
    UpdateSerieNameList()public static void UpdateSerieNameList(BaseChart chart, ref List<string> serieNameList)
    获得所有系列名,不包含空名字。
    UpdateStackDataList()public static void UpdateStackDataList(List<Serie> series, Serie currSerie, DataZoom dataZoom, List<List<SerieData>> dataList)

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle,ISerieDataComponent

    系列数据项的标记的图形

    API版本描述
    GetSize()public float GetSize(List<double> data, float themeSize)
    根据指定的sizeType获得标记的大小
    Reset()public override void Reset()
    ShowSymbol()public bool ShowSymbol(int dataIndex, int dataCount)

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Copy()public void Copy(SerieTheme theme)
    SerieTheme()public SerieTheme(ThemeType theme)

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    API版本描述
    Copy()public void Copy(Settings settings)
    Reset()public override void Reset()

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedBar ConvertSerie(Serie serie)

    SimplifiedBarChart

    class in XCharts.Runtime / 继承自: BaseChart

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedCandlestick ConvertSerie(Serie serie)

    SimplifiedCandlestickChart

    class in XCharts.Runtime / 继承自: BaseChart

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie,INeedSerieContainer,ISimplifiedSerie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static SimplifiedLine ConvertSerie(Serie serie)

    SimplifiedLineChart

    class in XCharts.Runtime / 继承自: BaseChart

    Since

    class in XCharts.Runtime / 继承自: Attribute

    API版本描述
    Since()public Since(string version)

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis,IUpdateRuntimeData

    单轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    StageColor()public StageColor(float percent, Color32 color)

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle,EmphasisStyle,SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    Reset()public void Reset()

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    SubTitleTheme()public SubTitleTheme(ThemeType theme) : base(theme)

    SVG

    class in XUGL

    API版本描述
    DrawPath()public static void DrawPath(VertexHelper vh, string path)
    DrawPath()public static void DrawPath(VertexHelper vh, SVGPath path)
    Test()public static void Test(VertexHelper vh)

    SVGImage

    class in XCharts.Runtime / 继承自: MaskableGraphic

    SVGPath

    class in XUGL

    API版本描述
    AddSegment()public void AddSegment(SVGPathSeg seg)
    Draw()public void Draw(VertexHelper vh)
    Parse()public static SVGPath Parse(string path)

    SVGPathSeg

    class in XUGL

    API版本描述
    SVGPathSeg()public SVGPathSeg(SVGPathSegType type)

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    API版本描述
    GetColor()public Color32 GetColor(Color32 defaultColor)
    Reset()public virtual void Reset()

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    API版本描述
    Clone()public TextLimit Clone()
    Copy()public void Copy(TextLimit textLimit)
    GetLimitContent()public string GetLimitContent(string content)
    SetRelatedText()public void SetRelatedText(ChartText txt, float labelWidth)

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    API版本描述
    TextPadding()public TextPadding() { }
    TextPadding()public TextPadding(float top, float right, float bottom, float left)

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    API版本描述
    Copy()public void Copy(TextStyle textStyle)
    GetAlignment()public TextAnchor GetAlignment(TextAnchor defaultAlignment)
    GetColor()public Color GetColor(Color defaultColor)
    GetFontSize()public int GetFontSize(ComponentTheme defaultTheme)
    TextStyle()public TextStyle() { }
    TextStyle()public TextStyle(int fontSize)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle, Color color)
    TextStyle()public TextStyle(int fontSize, FontStyle fontStyle, Color color, int rorate)
    UpdateAlignmentByLocation()public void UpdateAlignmentByLocation(Location location)

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    API版本描述
    CheckWarning()public void CheckWarning(StringBuilder sb)
    CloneTheme()public Theme CloneTheme()
    克隆主题。
    CopyTheme()public bool CopyTheme(ThemeType theme)
    CopyTheme()public void CopyTheme(Theme theme)
    复制主题的所有配置。
    GetColor()public Color32 GetColor(int index)
    获得调色盘对应系列索引的颜色值。
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。
    GetColorStr()public string GetColorStr(int index)
    获得指定索引的十六进制颜色值字符串。
    GetHashCode()public override int GetHashCode()
    ResetTheme()public bool ResetTheme()
    重置,清除所有自定义配置。
    ResetToDarkTheme()public static void ResetToDarkTheme(Theme theme)
    暗主题。
    ResetToDefaultTheme()public static void ResetToDefaultTheme(Theme theme)
    默认主题。
    SetColorPalette()public void SetColorPalette(List<string> hexColorStringList)
    SetDefaultFont()public void SetDefaultFont()
    SyncFontToSubComponent()public void SyncFontToSubComponent()
    SyncTMPFontToSubComponent()public void SyncTMPFontToSubComponent()

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    API版本描述
    CheckWarning()public void CheckWarning(StringBuilder sb)
    GetBackgroundColor()public Color32 GetBackgroundColor(Background background)
    GetColor()public Color32 GetColor(int index)
    获得调色盘对应系列索引的颜色值。
    GetColor()public static Color32 GetColor(string hexColorStr)
    将字符串颜色值转成Color。
    GetColorStr()public string GetColorStr(int index)
    获得指定索引的十六进制颜色值字符串。
    SyncSharedThemeColorToCustom()public void SyncSharedThemeColorToCustom()

    Title

    class in XCharts.Runtime / 继承自: MainComponent,IPropertyChanged

    标题组件,包含主标题和副标题。

    API版本描述
    ClearComponentDirty()public override void ClearComponentDirty()
    OnChanged()public void OnChanged()

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle,ISerieDataComponent,ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    TitleTheme()public TitleTheme(ThemeType theme) : base(theme)

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    API版本描述
    AddSerieDataIndex()public void AddSerieDataIndex(int serieIndex, int dataIndex)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearData()public override void ClearData()
    ClearSerieDataIndex()public void ClearSerieDataIndex()
    GetContentLabelStyle()public LabelStyle GetContentLabelStyle(int index)
    IsActive()public bool IsActive()
    提示框是否显示
    isAnySerieDataIndex()public bool isAnySerieDataIndex()
    IsSelected()public bool IsSelected()
    当前提示框是否选中数据项
    IsSelected()public bool IsSelected(int index)
    指定索引的数据项是否被提示框选中
    IsTriggerAxis()public bool IsTriggerAxis()
    IsTriggerItem()public bool IsTriggerItem()
    KeepTop()public void KeepTop()
    保持Tooltiop显示在最顶上
    SetActive()public void SetActive(bool flag)
    设置Tooltip组件是否显示
    SetContentActive()public void SetContentActive(bool flag)
    设置文本框是否显示
    UpdateContentPos()public void UpdateContentPos(Vector2 pos, float width, float height)
    更新文本框位置

    TooltipContext

    class in XCharts.Runtime

    TooltipData

    class in XCharts.Runtime

    TooltipHelper

    class in XCharts.Runtime

    API版本描述
    GetItemNumericFormatter()public static string GetItemNumericFormatter(Tooltip tooltip, Serie serie, SerieData serieData)
    GetLineColor()public static Color32 GetLineColor(Tooltip tooltip, Color32 defaultColor)
    IsIgnoreFormatter()public static bool IsIgnoreFormatter(string itemFormatter)
    LimitInRect()public static void LimitInRect(Tooltip tooltip, Rect chartRect)

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(TooltipTheme theme)
    TooltipTheme()public TooltipTheme(ThemeType theme) : base(theme)

    TooltipView

    class in XCharts.Runtime

    API版本描述
    CreateView()public static TooltipView CreateView(Tooltip tooltip, ThemeStyle theme, Transform parent)
    GetCurrentPos()public Vector3 GetCurrentPos()
    GetTargetPos()public Vector3 GetTargetPos()
    Refresh()public void Refresh()
    SetActive()public void SetActive(bool flag)
    Update()public void Update()
    UpdatePosition()public void UpdatePosition(Vector3 pos)

    TooltipViewItem

    class in XCharts.Runtime

    UGL

    class in XUGL

    UGUI 图形库

    API版本描述
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float size, Color32 color, Color32 toColor)
    Draw a diamond. 画菱形(钻石形状)
    DrawDiamond()public static void DrawDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, Color32 color, Color32 toColor)
    DrawEllipse()public static void DrawEllipse(VertexHelper vh, Vector3 center, float w, float h, Color32 color, float smoothness = 1)
    DrawEmptyDiamond()public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color)
    DrawEmptyDiamond()public static void DrawEmptyDiamond(VertexHelper vh, Vector3 center, float xRadius, float yRadius, float tickness, Color32 color, Color32 emptyColor)
    DrawEmptyTriangle()public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color)
    DrawEmptyTriangle()public static void DrawEmptyTriangle(VertexHelper vh, Vector3 pos, float size, float tickness, Color32 color, Color32 backgroundColor)
    DrawLine()public static void DrawLine(VertexHelper vh, List<Vector3> points, float width, Color32 color, bool smooth, bool closepath = false)
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color)
    Draw a line. 画直线
    DrawLine()public static void DrawLine(VertexHelper vh, Vector3 startPoint, Vector3 endPoint, float width, Color32 color, Color32 toColor)
    Draw a line. 画直线
    DrawMinus()public static void DrawMinus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    绘制减号
    DrawPlus()public static void DrawPlus(VertexHelper vh, Vector3 center, float radius, float tickness, Color32 color)
    绘制加号
    DrawPolygon()public static void DrawPolygon(VertexHelper vh, List<Vector3> points, Color32 color)
    填充任意多边形(目前只支持凸多边形)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Rect rect, float border, Color32 color, Color32 toColor)
    DrawRectangle()public static void DrawRectangle(VertexHelper vh, Vector3 p1, Vector3 p2, float radius, Color32 color)
    Draw a rectangle. 画带长方形
    DrawSquare()public static void DrawSquare(VertexHelper vh, Vector3 center, float radius, Color32 color)
    Draw a square. 画正方形
    DrawSvgPath()public static void DrawSvgPath(VertexHelper vh, string path)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color)
    DrawTriangle()public static void DrawTriangle(VertexHelper vh, Vector3 pos, float size, Color32 color, Color32 toColor)

    UGLExample

    class in XUGL / 继承自: MaskableGraphic

    UGLHelper

    class in XUGL

    API版本描述
    GetAngle360()public static float GetAngle360(Vector2 from, Vector2 to)
    获得0-360的角度(12点钟方向为0度)
    GetBezier()public static Vector3 GetBezier(float t, Vector3 sp, Vector3 cp, Vector3 ep)
    GetBezier2()public static Vector3 GetBezier2(float t, Vector3 sp, Vector3 p1, Vector3 p2, Vector3 ep)
    GetBezierList()public static List<Vector3> GetBezierList(Vector3 sp, Vector3 ep, int segment, Vector3 cp)
    GetDire()public static Vector3 GetDire(float angle, bool isDegree = false)
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref List<Vector3> intersection)
    获得两直线的交点
    GetIntersection()public static bool GetIntersection(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, ref Vector3 intersection)
    获得两直线的交点
    GetPos()public static Vector3 GetPos(Vector3 center, float radius, float angle, bool isDegree = false)
    GetVertialDire()public static Vector3 GetVertialDire(Vector3 dire)
    IsClearColor()public static bool IsClearColor(Color color)
    IsClearColor()public static bool IsClearColor(Color32 color)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)
    IsPointInPolygon()public static bool IsPointInPolygon(Vector3 p, List<Vector3> polyons)
    IsPointInTriangle()public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color color1, Color color2)
    IsValueEqualsColor()public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
    IsValueEqualsList<T>()public static bool IsValueEqualsList<T>(List<T> list1, List<T> list2)
    IsValueEqualsString()public static bool IsValueEqualsString(string str1, string str2)
    IsValueEqualsVector2()public static bool IsValueEqualsVector2(Vector2 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector2 v2)
    IsValueEqualsVector3()public static bool IsValueEqualsVector3(Vector3 v1, Vector3 v2)
    IsZeroVector()public static bool IsZeroVector(Vector3 pos)
    RotateRound()public static Vector3 RotateRound(Vector3 position, Vector3 center, Vector3 axis, float angle)

    UIComponent

    class in XCharts.Runtime / 继承自: BaseGraph

    UI组件基类。

    API版本描述
    SetAllDirty()public override void SetAllDirty()
    SetDataDirty()v3.9.0public void SetDataDirty()
    SetVerticesDirty()public override void SetVerticesDirty()
    UpdateTheme()public bool UpdateTheme(ThemeType theme)
    切换内置主题。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    UIHelper

    class in XCharts.Runtime

    UI帮助类。

    API版本描述
    GetBackgroundColor()public static Color32 GetBackgroundColor(UIComponent component)

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    API版本描述
    AddColors()public void AddColors(List<Color32> colors)
    AddColors()public void AddColors(List<string> colors)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    GetColor()public Color32 GetColor(double value)
    GetIndex()public int GetIndex(double value)
    GetValue()public double GetValue(Vector3 pos, Rect chartRect)
    IsInRangeMaxRect()public bool IsInRangeMaxRect(Vector3 local, Rect chartRect, float triangleLen)
    IsInRangeMinRect()public bool IsInRangeMinRect(Vector3 local, Rect chartRect, float triangleLen)
    IsInRangeRect()public bool IsInRangeRect(Vector3 local, Rect chartRect)
    IsInRect()public bool IsInRect(Vector3 local, Rect chartRect, float triangleLen = 20)
    IsInSelectedValue()public bool IsInSelectedValue(double value)
    IsPiecewise()public bool IsPiecewise()

    VisualMapContext

    class in XCharts.Runtime / 继承自: MainComponentContext

    VisualMapHelper

    class in XCharts.Runtime

    API版本描述
    AutoSetLineMinMax()public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
    GetDimension()public static int GetDimension(VisualMap visualMap, int defaultDimension)
    IsNeedAreaGradient()public static bool IsNeedAreaGradient(VisualMap visualMap)
    IsNeedGradient()public static bool IsNeedGradient(VisualMap visualMap)
    IsNeedLineGradient()public static bool IsNeedLineGradient(VisualMap visualMap)
    SetMinMax()public static void SetMinMax(VisualMap visualMap, double min, double max)

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    API版本描述
    Contains()public bool Contains(double value, double minMaxRange)

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    API版本描述
    Copy()public void Copy(VisualMapTheme theme)
    VisualMapTheme()public VisualMapTheme(ThemeType theme) : base(theme)

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 x 轴。

    XChartsMgr

    class in XCharts.Runtime

    API版本描述
    AddChart()public static void AddChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(BaseChart chart)
    ContainsChart()public static bool ContainsChart(string chartName)
    GetChart()public static BaseChart GetChart(string chartName)
    GetCharts()public static List<BaseChart> GetCharts(string chartName)
    GetPackageFullPath()public static string GetPackageFullPath()
    GetRepeatChartNameInfo()public static string GetRepeatChartNameInfo(BaseChart chart, string chartName)
    IsRepeatChartName()public static bool IsRepeatChartName(BaseChart chart, string chartName = null)
    RemoveAllChartObject()public static void RemoveAllChartObject()
    RemoveChart()public static void RemoveChart(string chartName)

    XCResourceImporterWindow

    class in XCharts.Runtime / 继承自: UnityEditor.EditorWindow

    API版本描述
    ShowPackageImporterWindow()public static void ShowPackageImporterWindow()

    XCResourcesImporter

    class in XCharts.Runtime

    API版本描述
    OnDestroy()public void OnDestroy() { }
    OnGUI()public void OnGUI()
    XCResourcesImporter()public XCResourcesImporter() { }

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    API版本描述
    AddCustomTheme()public static bool AddCustomTheme(Theme theme)
    ExistAssetFile()public static bool ExistAssetFile()
    GetSettingAssetPath()public static string GetSettingAssetPath()

    XCThemeMgr

    class in XCharts.Runtime

    API版本描述
    AddTheme()public static void AddTheme(Theme theme)
    CheckReloadTheme()public static void CheckReloadTheme()
    ContainsTheme()public static bool ContainsTheme(string themeName)
    ExportTheme()public static bool ExportTheme(Theme theme)
    ExportTheme()public static bool ExportTheme(Theme theme, string themeNewName)
    GetAllThemeNames()public static List<string> GetAllThemeNames()
    GetTheme()public static Theme GetTheme(string themeName)
    GetTheme()public static Theme GetTheme(ThemeType type)
    GetThemeAssetPath()public static string GetThemeAssetPath(string themeName)
    GetThemeList()public static List<Theme> GetThemeList()
    LoadTheme()public static Theme LoadTheme(string themeName)
    LoadTheme()public static Theme LoadTheme(ThemeType type)
    ReloadThemeList()public static void ReloadThemeList()
    重新加载主题列表
    SwitchTheme()public static void SwitchTheme(BaseChart chart, string themeName)

    XLog

    class in XCharts.Runtime / 继承自: MonoBehaviour

    日志系统。用于输出带日期和日志类型的日志,支持输出到文件,支持自定义输出的日志类型。

    API版本描述
    CanLog()public static bool CanLog(int level)
    ClearAllLog()public static void ClearAllLog()
    Debug()public static void Debug(string log)
    EnableLog()public static void EnableLog(int logType)
    Error()public static void Error(string log)
    FlushLog()public static void FlushLog()
    GetNowTime()public static string GetNowTime(string formatter = null)
    GetTimestamp()public static ulong GetTimestamp()
    Info()public static void Info(string log)
    Log()public static void Log(string log)
    LogError()public static void LogError(string log)
    LogWarning()public static void LogWarning(string log)
    Proto()public static void Proto(string log)
    Vital()public static void Vital(string log)
    Warning()public static void Warning(string log)

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    API版本描述
    SetDefaultValue()public override void SetDefaultValue()
    直角坐标系 grid 中的 y 轴。
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/bar3d/index.html b/en/docs/v3.9.0/bar3d/index.html index ebce356a..11407b1a 100644 --- a/en/docs/v3.9.0/bar3d/index.html +++ b/en/docs/v3.9.0/bar3d/index.html @@ -14,14 +14,14 @@ Bar3DChart 3D柱图 | XCharts - - + +
    Version: v3.9.0

    Bar3DChart 3D柱图

    XCharts的付费扩展图表 - 3D柱图。

    截图

    Bar3D01Bar3D02Bar3D03Bar3D04Bar3D05
    Bar3D07Bar3D08Bar3D09Bar3D10

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0
    • (2023.02.14) 增加Bar3DStyletopColorbottomColorsideColor参数支持

    v3.5.0

    • (2022.11.29) 增加SeriebarMaxWidth参数支持
    • (2022.11.27) 增加SerieItemStylebackgroundColor参数支持
    • (2022.11.27) 增加SeriecolorBy的支持
    • (2022.11.27) 更新文档

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    v3.1.0

    • (2022.07.14) 发布v3.1.0版本
    • (2022.07.14) 增加bottomColorRate,cylinderRate参数
    • (2022.07.14) 调整topColorBurnRate改名为topColorRate
    • (2022.07.14) 调整sideColorBurnRate改名为sideColorRate
    • (2022.07.14) 调整dire改名为cubeDire
    • (2022.07.14) 支持Cylinder圆柱和Cube立方柱

    API

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie,INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    API版本描述
    AddDefaultSerie()public static Bar3D AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Bar3D ConvertSerie(Serie serie)

    Bar3DChart

    class in XCharts.Runtime.Bar3Ds / 继承自: BaseChart

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    配置项手册

    Bar3D

    class in XCharts.Runtime.Bar3Ds / 继承自: Serie, INeedSerieContainer

    3D柱图。支持立方柱和圆柱。可水平排列和垂直排列。

    参数默认版本描述
    bar3DTypev3.1.0
    Bar3DType:
    - Cube: 立方柱。
    - Cylinder: 圆柱。
    bar3DStyleBar3DStyle

    Bar3DStyle

    class in XCharts.Runtime.Bar3Ds / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    verticalArrangefalse是否垂直排列。
    verticalArrangeDireVector3(-1, 1)垂直排列时的方向。
    verticalArrangeGap0.5f垂直排列时两个柱子间的间隙。
    barOffsetVector3.zero柱子偏移。
    widthRate0.5f方形柱侧边宽度相对正面的比例。
    topColorRate0.8f柱子顶部相对正面的颜色比例。
    bottomColorRate1f柱子底部相对正面的颜色比例。
    sideColorRate0.7f方形柱侧边相对正面的颜色比例。
    cubeDireVector3(1, 1)方形柱形成3D效果的方向。
    cylinderRate0.5fv3.1.0圆柱的顶部椭圆比列。
    topColorv3.6.0
    bottomColorv3.6.0
    sideColorv3.6.0
    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/changelog/index.html b/en/docs/v3.9.0/changelog/index.html index a54b3e1f..e7af9fec 100644 --- a/en/docs/v3.9.0/changelog/index.html +++ b/en/docs/v3.9.0/changelog/index.html @@ -14,8 +14,8 @@ 更新日志 | XCharts - - + +
    @@ -81,7 +81,7 @@ v0.8.0
    v0.5.0
    v0.1.0

    master

    v3.9.0

    版本要点:

    • 增加AxisAnimation,完善数据变更动画效果
    • 增加Axis的对数轴子刻度的支持
    • 增加MarkLineonTop设置是否显示在最上层
    • 完善代码注释和手册文档
    • 修复若干问题

    扩展功能:

    • UITable增加轮播功能
    • UITable增加数据操作接口和回调函数
    • Pie3DChart优化绘制表现

    日志详情:

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 修复TooltiptitleFormatter设置为{b}后显示不准确的问题
    • (2023.11.30) 增加SerieData可单独添加Label的支持
    • (2023.11.28) 修复Tooltip在对数轴时指示不准确的问题
    • (2023.11.24) 修复ChartUpdateData()接口返回值不准确的问题
    • (2023.11.24) 修复Axis的更新数据时效果不顺畅的问题
    • (2023.11.23) 增加AxisAnimation支持动画效果
    • (2023.11.16) 取消Legendformatter,用LabelStyle的代替
    • (2023.11.14) 完善LabelStyleformatter的注释和文档(#291)
    • (2023.11.11) 修复Documentation部分注释生成文档不完整的问题 (#290)
    • (2023.11.11) 修复Legendformatter在数据变更时没有自动刷新的问题
    • (2023.11.05) 修复SerieEventDatavalue一直是0的问题 (#287)
    • (2023.11.03) 修复Bar设置渐变色时鼠标移出效果异常的问题 (#285)
    • (2023.11.02) 优化SerieData设置ignoreformatter的忽略问题
    • (2023.11.01) 增加MarkLineonTop设置是否显示在最上层
    • (2023.10.21) 修复Pie有0数据时Label的位置异常的问题
    • (2023.10.21) 增加Axis的对数轴支持子刻度
    • (2023.10.19) 修复Pie设置玫瑰图时引导线异常的问题
    • (2023.10.15) 修复Line设置AnimationAlongPath时动画异常的问题 (#281)
    • (2023.10.12) 修复MarkLine指定yValue时对数值轴无效的问题
    • (2023.10.11) 修复SerieshowDataDimension设置无效的问题

    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) 增加PieradiusGradient可设置半径方向的渐变效果
    • (2023.09.05) 优化LabelLinelineEndXPie中的表现
    • (2023.09.05) 修复TriggerTooltip()接口对Ring无效的问题
    • (2023.09.05) 修复Radar数据全为0时绘制报错的问题

    v3.8.0

    版本要点:

    • 重构Animation动画系统,增加新增动画交互动画的支持
    • 完善PieChart的动画交互表现
    • 增加SymbolEmptyTriangleEmptyDiamondPlusMinus四种新标记
    • 完善Chart的鼠标交互回调
    • 增加LabelLine可固定横坐标的功能
    • 增加GridLayout网格布局组件
    • 增加TooltipAuto类型
    • 优化和修复若干其他问题

    日志详情:

    • (2023.09.03) 发布v3.8.0版本
    • (2023.09.01) 增加TooltipAuto自动设置显示类型和触发类型
    • (2023.08.29) 增加RinggridIndex支持设置指定网格
    • (2023.08.29) 增加RadargridIndex支持设置指定网格
    • (2023.08.29) 增加PiegridIndex支持设置指定网格
    • (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) 修复YAxisLabel可能会重复的问题
    • (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本地开启TextMeshProNewInputSystem后更新版本会报错的问题 (#272)
    • (2023.08.12) 修复Chart在运行时被删除时会异常报错的问题 (#269)
    • (2023.08.11) 修复DataZoom开启时可能会导致无法添加数据的问题
    • (2023.08.11) 修复SerieData单独设置ItemStyleitemFormatter不生效的问题
    • (2023.08.10) 优化BarChartTooltipTriggerItem时的表现
    • (2023.08.09) 增加Axis可通过设置IconStylecolorclear来实现动态图标颜色的支持
    • (2023.08.08) 增加PieLabelLinelineEndX的支持
    • (2023.08.05) 整理Examples的代码,删除不必要的用例
    • (2023.08.04) 增加LabelLinelineEndX可设置引导线固定X位置的支持
    • (2023.08.04) 增加RingavoidLabelOverlap避免文本堆叠的支持 (#247)
    • (2023.08.03) 完善ChartonSerieEnteronSerieExitonSerieClick回调
    • (2023.08.02) 修复BarChartonSerieEnteronSerieExit回调无效的问题
    • (2023.08.02) 增加SymbolPlus加号和Minus减号的支持
    • (2023.07.31) 增加SymbolEmptyTriangleEmptyDiamond的支持,优化Symbol表现效果
    • (2023.07.31) 优化Line的默认配置效果
    • (2023.07.27) 增加SerieminRadius可设置最小半径
    • (2023.07.26) 增加MLValue多样式数值
    • (2023.07.25) 增加XLog日志系统
    • (2023.07.18) 完善Pie饼图的交互动画效果
    • (2023.07.14) 增加AnimationInteraction交互动画配置支持
    • (2023.07.11) 增加AnimationAddition新增动画配置支持
    • (2023.07.11) 重构Animation动画系统,完善动画体验
    • (2023.06.30) 增加PolarCoodindicatorLabelOffset设置指示文本偏移的支持
    • (2023.06.30) 修复AxisIndicatorLabel的背景颜色可能不正常的问题
    • (2023.06.30) 增加AxisIndicatorLabel可自定义color的支持
    • (2023.06.12) 修复AxisLabelformatterFunction在数值轴时value不对的问题

    v3.7.0

    版本要点:

    • 增加HelpDoc官网帮助文档跳转
    • 增加LineClip的支持
    • 优化Axis的范围设置
    • 其他优化和修复

    日志详情:

    • (2023.06.08) 发布v3.7.0版本
    • (2023.06.04) 增加HelpDoc帮助文档跳转
    • (2023.05.30) 修复Serie的名字带_线导致Legend无法触发的问题 (#259) (by svr2kos2)
    • (2023.05.10) 增加AxisMinMaxAuto范围类型
    • (2023.05.10) 增加LineClip的支持
    • (2023.05.04) 优化Axis在-1到1范围时设置CeilRate不生效的问题
    • (2023.05.04) 优化AxisMinMax类型范围计算
    • (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) 增加BaseChartTriggerTooltip()接口尝试触发ToolTip
    • (2023.04.12) 优化RadarCood设置startAngle时文本也跟随调整位置
    • (2023.04.12) 增加Radar对通配符{b}的支持
    • (2023.04.11) 修复Inspector在动态添加组件时可能异常的问题

    v3.6.0

    版本要点:

    • 增加InputSystem支持 (by Bian-Sh)
    • 增加官网在线示例多版本支持 (by SHL-COOL)
    • 完善对VR的支持 (by Ambitroc)
    • 增加UITableUIStatistic扩展UI组件
    • 增加ItemStyleMarkColor
    • 增加通配符{h}的支持
    • 优化TooltipLegendDataZoomAxis等组件
    • 重构相关API接口,完善回调接口
    • 修复若干问题

    升级注意:

    • 部分接口有调整,可根据提示更换下接口即可。

    日志详情:

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.14) 修复TooltiptitleFormater设置{b}可能不生效的问题
    • (2023.03.14) 修复BarChart在数据为0时不绘制柱条背景的问题 (#250) (by Ambitroc)
    • (2023.03.12) 增加LabelStyleautoRotate可设置有角度的竖版文本的自动旋转
    • (2023.03.10) 增加VR等其他非鼠标输入方式的Point位置获取 (#248) (by Ambitroc)
    • (2023.03.09) 增加ChartonSerieClickonSerieDownonSerieEnteronSerieExit回调
    • (2023.03.09) 修复Pie的点击选中偏移不生效的问题
    • (2023.03.04) 增加LegendPositions可自定义图例的位置
    • (2023.03.03) 修复Animation变更动画可能无效的问题
    • (2023.02.28) 修复Legend点击时SerieLabel不刷新的问题
    • (2023.02.26) 增加DataZoomstartEndFunction委托
    • (2023.02.12) 重构Component相关代码,调整API接口
    • (2023.02.10) 修复AxisLog轴时某些情况下最小值不正确的问题
    • (2023.02.10) 优化Axis的数值Label的默认显示格式
    • (2023.02.08) 增加DataZoomstartLockendLock参数支持锁定
    • (2023.02.02) 修复DataZoom开启时X轴Label可能会显示在图表外的问题
    • (2023.02.02) 优化SerieDataignore设置时的忽略数据判断
    • (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) 删除SerieMarkColor,增加ItemStyleMarkColor
    • (2022.12.29) 增加EditorList+添加编辑功能
    • (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) 修复AxisValue轴在某些情况下计算数值范围不准确的问题
    • (2022.12.12) 优化Legendformatter支持{h}通配符
    • (2022.12.12) 修复Legendformatter设置为固定值时显示不正常的问题
    • (2022.12.08) 增加AreaStyletoTop参数可设置折线图渐变色是到顶部还是到实际位置
    • (2022.12.07) 增加Formatter的文本通配符{h}支持设置当前颜色值

    v3.5.0

    版本要点:

    • 调整文档结构,增加XCharts官方主页
    • 增加DataZoom框选支持
    • 增加Bar的最大宽度设置支持
    • 其他优化

    升级注意:

    • 由于调整了文档目录结构,升级前建议先备份,再删除原XCharts后再升级

    日志详情:

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.30) 增加SeriebarMaxWidth可设置Bar的最大宽度
    • (2022.11.30) 优化TooltipShadow绘制不超出图表范围
    • (2022.11.29) 修复Tooltip指示的Serie数据项索引异常的问题
    • (2022.11.27) 优化AxisAxisName的偏移设置
    • (2022.11.27) 优化Comment的位置,用Location代替Position
    • (2022.11.27) 优化TooltipLineStyle支持设置Shadow时的颜色
    • (2022.11.27) 调整Documentation文档结构
    • (2022.11.26) 优化LabelLinesymbol默认不显示
    • (2022.11.26) 修复LineChartXY都为数值轴时添加无序数据显示异常的问题
    • (2022.11.26) 修复DataZoom从右往左框选时异常的问题
    • (2022.11.20) 调整UdpateXAxisIcon()接口重命名为UpdateXAxisIcon() (#235)
    • (2022.11.12) 增加PieLabelLine支持Symbol
    • (2022.11.12) 增加DataZoomMarqueeStyle支持框选区域
    • (2022.11.10) 优化Radar在类型为Single时的区域颜色填充效果
    • (2022.11.04) 修复TooltipitemFormatter设置通配符{d}后异常的问题

    v3.4.0

    版本要点:

    • 增加AxisindicatorLabel,可单独设置不同的指示文本样式
    • 增加SeriemarkColor可设置标识颜色
    • 增加RadarCoordstartAngle可设置Radar起始角度
    • 优化Axis的数值间隔表现
    • 增加DataZoom对数值轴的支持
    • 增加LineSmoothLimit可控制平滑曲线不同效果

    日志详情:

    • (2022.11.01) 发布v3.4.0版本
    • (2022.10.30) 增加APIAddData()ClearSerieData()ClearComponentData()
    • (2022.10.30) 增加AxisindicatorLabel,移除TooltipindicatorLabelStyle (#226)
    • (2022.10.29) 增加SeriemarkColor可设置标识颜色用于LegendTooltip的展示 (#229)
    • (2022.10.26) 增加RadarCoordstartAngle可设置Radar起始角度
    • (2022.10.21) 修复Chart在受Layout控制时Label显示不正常的问题 (#231)
    • (2022.10.21) 修复Unity2019.2上的兼容问题
    • (2022.10.18) 优化Axis的数值表现
    • (2022.10.15) 修复AxisLabelDataZoom开启时可能显示不正常的问题 (#227)
    • (2022.10.14) 增加DataZoom对数值轴的支持
    • (2022.10.13) 修复Pie的环形饼图设置边框时效果异常的问题 (#225)
    • (2022.10.13) 修复Download的接口造成iOS平台打包失败的问题
    • (2022.10.12) 增加AnimationUnscaledTime支持设置动画是否受TimeScale的影响 (#223)
    • (2022.10.10) 优化Documentation~文档格式
    • (2022.10.10) 增加LineSmoothLimit可控制平滑曲线不同效果
    • (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) 优化PolarChartLine热力图的支持
    • (2022.09.20) 增加PolarChartHeatmap热力图的支持
    • (2022.09.19) 增加PolarChart对多柱图和堆叠柱图的支持
    • (2022.09.16) 增加PolarChartBar柱图的支持
    • (2022.09.14) 增加PolarCoord可通过radius设置环形极坐标的支持
    • (2022.09.09) 修复Editor下编辑参数部分组件可能不会实时刷新的问题
    • (2022.09.08) 增加RingChart可设置LabelLine引导线的支持
    • (2022.09.06) 增加SerieSymbolminSizemaxSize参数设置最大最小尺寸的支持
    • (2022.09.06) 增加AxisSplitLineshowStartLineshowEndLine参数设置是否显示首位分割线的支持
    • (2022.09.06) 增加Heatmap通过symbol设置不同的图案的支持
    • (2022.09.05) 增加HeatmapheatmapType支持设置DataCount两种不同映射方式的热力图
    • (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) 增加Tooltipposition参数支持设置移动平台不同的显示位置
    • (2022.08.26) 删除TooltipfixedXEnablefixedYEnable参数
    • (2022.08.25) 优化EmphasisStylelabel的支持
    • (2022.08.25) 增加formatter{d3}指定维度数据百分比的支持
    • (2022.08.24) 修复ScatterChartlabel不刷新的问题
    • (2022.08.24) 修复MarkLinelabel某些情况下显示异常的问题

    v3.2.0

    版本要点:

    • Serie支持高亮,淡出和选中三状态配置:EmphasisStyle,BlurStyleSelectStyle
    • Axis支持坐标轴次刻度和次分割线:MinorTickMinorSplitLine
    • Serie支持不同的取色策略:colorBy
    • Radar支持平滑曲线:smooth
    • Line支持当作凸多边形填充:AreaStyleinnerFill
    • 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) 优化AxisTime时间轴的次分割线
    • (2022.08.09) 增加AreaStyleinnerFill参数支持填充凸多边形
    • (2022.08.08) 优化Serie的数据项索引维护,增加检测和修复功能,修复相关问题
    • (2022.07.29) 修复Unity版本兼容:在某些版本导入后图表创建异常的问题
    • (2022.07.29) 增加AxisTime时间轴时,支持次刻度和次分割线
    • (2022.07.28) 优化Radar雷达图效果
    • (2022.07.28) 增加SeriecolorBy参数配置取色策略
    • (2022.07.27) 增加StateStyleSymbol用于配置状态下的标记样式
    • (2022.07.27) 去掉SerieSymbolselectedSize参数
    • (2022.07.24) 增加SerieSerieDatastate设置默认状态
    • (2022.07.22) 增加Serie的三种状态EmphasisStyle,BlurStyle,SelectStyle
    • (2022.07.22) 去掉AreaStylehighlightColorhighlightToColor参数
    • (2022.07.22) 去掉Emphasis,EmphasisItemStyle,EmphasisLabelStyle,EmphasisLabelLine组件
    • (2022.07.20) 增加Since特性对类的支持
    • (2022.07.20) 修复AxisValue轴时,AxisLabelshowStartLabelshowEndLabel参数设置不生效的问题
    • (2022.07.19) 增加AxisMinorSplitLine设置坐标轴次分割线
    • (2022.07.19) 增加AxisMinorTick设置坐标轴次刻度
    • (2022.07.17) 增加Radarsmooth参数设置平滑曲线
    • (2022.07.15) 增加DataZoomTime时间轴的支持

    v3.1.0

    版本要点:

    • 优化Axis
    • 优化Tooltip
    • 优化平滑曲线算法
    • 优化代码动态创建图表
    • 完善配置项手册
    • 修复若干问题

    日志详情:

    • (2022.07.12) 发布v3.1.0版本
    • (2022.07.12) 修复SerieignoreLineBreak不生效的问题
    • (2022.07.07) 优化AxisminMaxType指定为MinMax时支持精确到小数
    • (2022.07.05) 修复Chart里有多个坐标系时绘制异常的问题 (#210)
    • (2022.07.04) 增加SettingsaxisMaxSplitNumber参数设置Axis的最大分隔段数
    • (2022.07.04) 修复Axis在设置offsetTick绘制位置异常的问题 (#209)
    • (2022.07.03) 优化AxisLabelformatterFunction自定义委托
    • (2022.07.03) 增加AxisNameonZero参数支持设置坐标轴名称位置是否和Y轴0刻度一致 (#207)
    • (2022.07.02) 修复PieChart用代码动态创建时Legend不正常的问题 (#206)
    • (2022.07.02) 修复YAxisAxisLabel设置onZero不生效的问题
    • (2022.07.02) 修复AxisLabel代码设置distance属性后一直刷新的问题
    • (2022.06.30) 修复Runtime下代码创建图表时组件无法初始化的问题
    • (2022.06.29) 增加TooltipitemFormatter支持{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层细分为UpperTop
    • (2022.06.24) 增加LegendBackgroundPadding的支持
    • (2022.06.21) 增加TextStyleTextMeshProSprite 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.15) 优化Doc自动生成,完善代码注释和配置项手册文档
    • (2022.06.14) 优化SerieLabelStyle,支持动态调整Icon
    • (2022.06.13) 优化Background背景设置
    • (2022.06.10) 增加LegendAxisLabel支持autoColor
    • (2022.06.08) 修复AxisAxisLabel在设置不显示时还显示首尾两个label的问题

    v3.0.0

    • 更健壮的底层框架。
    • 更强大的性能。
    • 更小的序列化文件。
    • 更好的交互体验。
    • 更多的组件支持。
    • 更强大的文本自述能力。
    • 更合理的组件调整。
    • 更灵活的组件插拔。
    • 更高效的二次开发。
    • 更丰富的Demo示例。
    • 增加Time时间轴。
    • 增加SingleAxis单轴。
    • 增加Comment文本组件。
    • 增加Widgets小组件。
    • 增加多种坐标系:GridPolarRadarSingleAxis
    • 增加多种动画方式。
    • 增加多种图表交互。
    • 增加国际化支持。
    • 增加多种扩展图表。

    v3.0.0-preivew9

    • (2022.05.06) 发布v3.0.0-preivew9版本
    • (2022.05.05) 优化ItemStyle设置color时的一致性
    • (2022.05.05) 增加LineDash,Dot等的支持 (#197)
    • (2022.05.04) 增加Legend的委托回调
    • (2022.05.04) 优化SymbolLabel
    • (2022.05.01) 增加Barclip的支持 (#196)
    • (2022.05.01) 修复RingChartLabel不刷新的问题 (#195)
    • (2022.04.29) 增加Tooltip支持自定义背景图
    • (2022.04.27) 修复ItemStyle代码修改color不刷新的问题

    v3.0.0-preivew8

    • (2022.04.26) 发布v3.0.0-preivew8版本
    • (2022.04.23) 移除SerieIconStyle组件
    • (2022.04.23) 强化LabelStyle,所有组件的TextStyle都升级为LabelStyle
    • (2022.04.19) 增加Labelrotate支持设置旋转
    • (2022.04.17) 修复Bar在数值为负数时动画无效的问题
    • (2022.04.17) 增加ItemStyleBorderGap支持设置边框间距
    • (2022.04.16) 优化BarBorderCapsule胶囊柱图
    • (2022.04.15) 增加LiquidRound Rect圆角矩形水位图的支持
    • (2022.04.14) 增加LineEndLabel的支持
    • (2022.04.13) 增加VisualMapworkOnLineworkOnArea支持折线和区域映射功能 (#191)
    • (2022.04.12) 优化Radar支持Area区域触发Tooltip
    • (2022.04.09) 优化VisualMap
    • (2022.04.09) 优化Tooltip

    v3.0.0-preivew7

    • (2022.04.07) 发布v3.0.0-preivew7版本
    • (2022.04.07) 修复Pie颜色不刷新的问题
    • (2022.03.31) 修复Add Main Component添加组件异常的问题
    • (2022.03.30) 修复Axis无法自定义Label颜色的问题

    v3.0.0-preivew6

    • (2022.03.30) 发布v3.0.0-preivew6版本

    v3.0.0-preivew5

    • (2022.03.26) 发布v3.0.0-preivew5版本

    v3.0.0-preivew4

    • (2022.03.21) 发布v3.0.0-preivew4版本

    v3.0.0-preivew3

    • (2022.03.09) 发布v3.0.0-preivew3版本

    v3.0.0-preivew2

    • (2022.01.08) 发布v3.0.0-preivew2版本

    v3.0.0-preivew1

    • (2022.01.07) 发布v3.0.0-preivew1版本

    v2.8.2

    • (2022.08.15) 发布v2.8.2版本
    • (2022.08.15) 增加HeatmapChart对自定义Tooltipformatter的支持
    • (2022.07.13) 修复SerieLabel刷新异常的问题 #215
    • (2022.06.30) 优化RadarTooltip的层在Indicator之上

    v2.8.1

    • (2022.05.06) 发布v2.8.1版本
    • (2022.05.03) 增加LegendonLegendClick,onLegendEnteronLegendExit委托回调
    • (2022.04.21) 修复RingChartTooltip异常的问题 #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版本
    • (2022.02.21) 修复ChartchartName重复检测问题 #183
    • (2022.02.17) 修复AxisSplitLine可能会显示在坐标系外的问题 #181
    • (2022.02.08) 修复数据全0时{d}显示不正确的问题
    • (2022.02.08) 修复YAxisAxisLabelonZero参数不生效的问题
    • (2022.01.06) 优化Zebra斑马柱图

    v2.6.0

    • (2021.12.30) 发布v2.6.0版本
    • (2021.12.21) 修复Emphasis不生效的问题
    • (2021.12.17) 修复MarkLine在运行时Label不自动刷新显示隐藏的问题 #178
    • (2021.12.10) 完善RadarAxisLineSplitLine可单独控制
    • (2021.12.08) 修复Serie隐藏后Y轴最大值不刷新的问题
    • (2021.12.04) 增加Symbol新类型:EmptyRect,EmptyTriangle,EmptyDiamond
    • (2021.12.04) 增加SymbolEmpty区域颜色可通过ItemStylebackgroundColor设置的支持
    • (2021.12.03) 修复Formatter{c}通配符不生效的问题 #175
    • (2021.12.03) 修复AxisboundaryGap某些情况下显示的问题 #174
    • (2021.11.30) 修复Serieignore某些情况下绘制异常的问题 #173

    v2.5.0

    • (2021.11.27) 发布v2.5.0版本
    • (2021.11.27) 增加TooltippositionFunction的坐标设置委托函数
    • (2021.10.29) 移除XCharts首次导入时TextMeshPro的相关设置
    • (2021.10.29) 增加Tooltip对通配符{e}的支持 #170
    • (2021.09.08) 完善RadarChart
    • (2021.09.07) 修复PieChart渐出动画结束时label没有消失的问题 #168
    • (2021.09.06) 修复GaugeChart用代码改变splitNumber不会刷新label的问题 #167

    v2.4.0

    版本要点:

    • 折线图支持忽略数据的连线是断开还是连接
    • 折线图支持轨迹匀速动画
    • 其他优化和问题修复

    日志详情:

    • (2021.08.31) 发布v2.4.0版本
    • (2021.08.31) 优化RingChart的渐变效果
    • (2021.08.31) 修复DataZoom拖动时SerieLabel不刷新的问题 (#165)
    • (2021.08.25) 修复Theme主题切换无法保持到场景上的问题 (#166)
    • (2021.08.24) 增加AnimationalongWithLinePath参数设置折线轨迹匀速动画
    • (2021.08.22) 增加SerieignoreLineBreak参数设置忽略数据连线是否断开 (#164)
    • (2021.08.22) 修复AxisDataZoom开启时Label可能不更新的问题 (#164)
    • (2021.08.15) 优化AxisAxisLabel文本旋转设置,避免在DataZoom开启时偏移不一致 (#163)
    • (2021.08.14) 增加LegendtextAutoColor设置文本颜色和Serie一致 (#163)
    • (2021.08.12) 优化BarChart设置Corner时正负柱条圆角对称
    • (2021.08.03) 优化Serie的数据全为0时Y轴不显示的问题
    • (2021.07.29) 修复Serie开启ignore时被忽略的数据还会参与计算的问题 (#161)
    • (2021.07.29) 完善BarChartZebra斑马柱图渐变支持
    • (2021.07.26) 修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

    v2.3.0

    版本要点:

    • 数据存储由float升级为double
    • 新增MarkLine标线
    • Serie下可用IconStyle统一配置图标
    • Label支持用代码自定义显示样式
    • DataZoom完善
    • PieChart优化
    • 问题修复

    升级注意:

    • 由于数据类型升级为了doublefloat隐式转double可能有精度问题,所以建议之前为float的数据类型都手动改为double类型。

    日志详情:

    • (2021.07.24) 发布v2.3.0版本
    • (2021.07.22) 完善SerieSymbol以支持象形柱图PictorialBarChart扩展
    • (2021.07.19) 修复WdbGL平台上Tooltip不显示的问题
    • (2021.07.18) 增加SerieiconStyle统一配置图标
    • (2021.07.15) 增加MarkLine标线 (#142)
    • (2021.07.09) 优化BarChart可通过serieData.show设置是否显示柱条
    • (2021.07.08) 优化data数据存储类型由float全部转为double
    • (2021.07.05) 修复PieChartavoidLabelOverlap参数不生效的问题
    • (2021.07.04) 修复PieChart选中扇区后鼠标区域指示不准确的问题
    • (2021.07.04) 优化PieChartLabelInside时可通过参数Margin调节偏移
    • (2021.07.01) 增加DataZoomsupportInsideScrollsupportInsideDrag参数设置坐标系内是否支持滚动和拖拽
    • (2021.06.27) 增加AxisLabelshowStartLabelshowEndLabel参数设置首尾的Label是否显示
    • (2021.06.27) 增加AxisLabelSerieLabelformatter委托方法 (#145)
    • (2021.06.27) 增加DataZoomorient参数设置水平或垂直样式
    • (2021.06.21) 增加IconStyleautoHideWhenLabelEmpty参数设置当label为空时是否自动隐藏图标

    v2.2.3

    • (2021.06.20) 发布v2.2.3版本
    • (2021.06.20) 修复AxisIcon默认显示出来的问题

    v2.2.2

    • (2021.06.18) 发布v2.2.2版本
    • (2021.06.18) 优化AxisLabel为空时自动隐藏Icon
    • (2021.06.17) 修复maxCache设置时实际数据个数多一个的问题
    • (2021.06.17) 修复TextMeshPro的开启和关闭不及时刷新的问题
    • (2021.06.17) 修复XCharts导入时总是弹出XCharts Importer的问题

    v2.2.1

    • (2021.06.13) 发布v2.2.1版本
    • (2021.06.13) 完善对多屏幕的支持
    • (2021.06.12) 增加IconStylealign参数设置图标的水平对齐
    • (2021.06.12) 完善Theme主题导入 (#148)
    • (2021.06.10) 修复Unity版本兼容问题 (#154)
    • (2021.06.05) 完善CandlestickChartinverse的支持 (#152)
    • (2021.06.04) 修复Gauge在最小值为负数时指针指示位置异常的问题 (#153)

    v2.2.0

    • (2021.05.30) 发布v2.2.0版本
    • (2021.05.25) 完善TextStylealignment的支持 (#150)
    • (2021.05.24) 修复PieChart数据全为0Label无法正常显示的问题
    • (2021.05.24) 修复Add Serie面板上Serie Name不生效的问题 (#149)
    • (2021.05.23) 增加TextStyleautoWrap设置是否自动换行
    • (2021.05.23) 增加TextStyleautoAlign设置是否让系统自动设置对齐方式
    • (2021.05.23) 增加AxisLabelwidthheight支持自定义文本的长宽
    • (2021.05.23) 增加AxisiconStyleicons支持设置坐标轴标签显示图标
    • (2021.05.20) 增加SerieAxisinsertDataToHead参数控制数据插入头部还是尾部
    • (2021.05.18) 优化Editor下的图表创建 #147
    • (2021.05.16) 抽离GanttChart甘特图,通过扩展模块的方式来提供
    • (2021.05.11) 增加VisualMapPiecewise分段设置颜色的支持
    • (2021.05.09) 修复RingChart无法设置环形的背景色的问题 #141
    • (2021.05.08) 增加LiquidChart的方形水位图支持
    • (2021.05.07) 优化Axis的刻度表现 #135
    • (2021.05.01) 增加Settings中关于关于材质球设置的参数 #140
    • (2021.05.01) 修复无法正确表示部分超大或超小数值的问题
    • (2021.04.29) 修复Radar切换到Circle异常的问题 #139
    • (2021.04.29) 增加SettingsreversePainter可设置Serie的绘制是否逆序
    • (2021.04.28) 增加SerieDataignore可忽略当前数据项
    • (2021.04.28) 修复DataZoomAxisLabel显示不准确的问题 #138
    • (2021.04.26) 修复运行时动态创建图表会异常的问题 #137
    • (2021.04.26) 增加BarChart绘制渐变边框的支持
    • (2021.04.23) 增加自定义图表支持
    • (2021.04.22) 修复GaugeAxisLabel和文字颜色无法调整的问题
    • (2021.04.13) 增加AxisTickShowStartTickShowEndTick参数控制第一个和最后一个刻度是否显示
    • (2021.04.13) 完善多坐标轴的支持 #132

    v2.1.1

    • (2021.04.13) 整理代码,清除Warning
    • (2021.04.13) 修复Unity版本兼容问题
    • (2021.04.12) 修复Theme重构后引起的missing class attribute 'ExtensionOfNativeClass'的问题 #131

    v2.1.0

    • (2021.04.07) 发布v2.1.0版本
    • (2021.03.31) 优化和重构Theme,解决引用相同或丢失的问题 #118
    • (2021.03.30) 优化Tooltip支持设置不同的类目轴数据 #129
    • (2021.03.29) 优化自定义绘制回调接口,增加onCustomDrawBeforeSerieonCustomDrawAfterSerieonCustomDrawTop
    • (2021.03.25) 增加GanttChart甘特图
    • (2021.03.22) 增加ThemeUnbind按钮用于解绑复制图表时的主题 #118
    • (2021.03.18) 修复InspectorFoldout后的勾选框无法选中的问题
    • (2021.03.18) 修复BarChart0数值时显示异常的问题
    • (2021.03.14) 修复Tooltip的指示器在某些情况下指示位置不准的问题
    • (2021.03.13) 优化MultiComponentMode开启后的编辑体验和组件刷新 #128
    • (2021.03.10) 增加CandlestickChartK线图 #124
    • (2021.03.06) 增加PieChartminAngle参数支持设置最小扇区角度 #117
    • (2021.03.05) 增加Legend几种内置图标的支持 #90
    • (2021.03.02) 增加DataZoom对数值轴的支持 #71
    • (2021.03.02) 优化TextMeshPro兼容问题 #125
    • (2021.03.01) 修复隐藏和显示图表时部分已隐藏的节点显示异常的问题 #125

    v2.0.1

    • (2021.02.26) 修复HeatmapChartTooltip指示的位置不准的问题 #123
    • (2021.02.22) 修复Unity版本兼容问题
    • (2021.02.21) 增加TooltipignoreDataShow参数
    • (2021.02.19) 修复图表在LayoutGroup控制下时可能显示错乱的问题 #121
    • (2021.02.18) 修复Radar参数变更后无法自刷新的问题 #122

    v2.0.0

    • (2021.02.05) 发布v2.0.0版本
    • (2021.02.03) 修复AxisLineOnZeroYAxis不生效的问题 #116
    • (2021.01.29) 修复Category轴在BoundaryGapAlignWithLabelTrueTick显示效果不对的问题 #115
    • (2021.01.25) 优化一些细节
    • (2021.01.22) 修复Inpsector上部分属性显示异常的问题

    v2.0.0-preview.2

    • (2021.01.21) 发布v2.0.0-preview.2版本
    • (2021.01.21) 修复Inpsector上展开AxisTick时报错问题
    • (2021.01.21) 修复打包兼容报错问题
    • (2021.01.19) 增加XChartsSettingseditorShowAllListData参数配置是否在Inspector中显示列表的所有数据

    v2.0.0-preview.1

    • (2021.01.19) 发布v2.0.0-preview.1版本

    v1.6.3

    • (2021.01.02) 发布v1.6.3版本
    • (2020.12.18) 修复Animation不启用时更新数据会导致图表一直刷新的问题
    • (2020.12.01) 修复Unity2020上新创建的图表无法正常绘制的问题
    • (2020.11.22) 发布v1.6.2版本
    • (2020.11.22) 修复LineChart在数据过于密集时折线绘制异常的问题 #99
    • (2020.11.21) 修复LineChart的刻度位置在alignWithLabeltrue时可能异常的问题
    • (2020.11.21) 修复Unity5兼容报错的问题
    • (2020.11.13) 完善RadarChartIndicator\n换行的支持
    • (2020.11.12) 修复LineChart当类型为Smooth时数据过密情况下报错的问题 #100
    • (2020.10.22) 完善HeatmapChartVisualMapPiecewise的支持
    • (2020.09.22) 修复PieChart边框大小不一致的问题

    v1.6.1

    • (2020.09.19) 发布v1.6.1版本
    • (2020.09.19) 增加Remove All Chart Object移除图表下的所有子节点(会自动重新初始化)
    • (2020.09.18) 修复SerieLabel在点击图例隐藏Serie后还显示的问题#94
    • (2020.09.18) 优化Axis的类目轴刻度和文本显示#93
    • (2020.09.17) 修复Package导入时缺失meta文件导致失败的问题#92
    • (2020.09.08) 优化Legend的颜色可自动匹配ItemStyle的自定义颜色#89
    • (2020.09.05) 优化LineChart在不使用XAxis1时也能显示XAxis1
    • (2020.08.29) 增加LineStyletoColortoColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变
    • (2020.08.29) 增加PieChartonPointerClickPie点击扇形图扇区回调
    • (2020.08.29) 增加BarChartonPointerClickBar点击柱形图柱条回调

    v1.6.0

    • (2020.08.24) 发布v1.6.0版本
    • (2020.08.23) 重构代码,将与绘制相关的Color改为Color32,减少隐式转换(更新后会导致自定义的颜色丢失,可参考问答29进行升级)
    • (2020.08.15) 优化PieChart绘制表现效果#85
    • (2020.08.11) 增加LiquidChart数据变更动画#83
    • (2020.08.11) 优化PieChart文本堆叠和引线效果#85
    • (2020.08.08) 优化LineChart密集数据的绘制表现效果
    • (2020.07.30) 增加LineChart可通过VisualMapItemStyle配置渐变#78
    • (2020.07.25) 修复LineChart渐出动画绘制异常的问题#79
    • (2020.07.25) 修复LiquidChart100%时渐变色会失效的问题#80
    • (2020.07.25) 增加RadarChartTooltipformatter支持#77
    • (2020.07.23) 增加RingChart环形渐变支持#75
    • (2020.07.21) 增加AxisLabelSerieLabelformatter可单独配置数值格式化#68
    • (2020.07.17) 增加SerieAnimation动画完成回调接口
    • (2020.07.17) 优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动
    • (2020.07.16) 修复Tooltip在上层有遮挡还会显示的问题#74
    • (2020.07.08) 优化Scatter类型Serie支持Log轴#70
    • (2020.07.07) 修复SerieLabel位置错乱的问题
    • (2020.07.07) 增加Tooltipoffset参数配置偏移
    • (2020.07.06) 增加LiquidChart水位图
    • (2020.07.01) 增加PolarChart极坐标图表

    v1.5.2

    • (2020.06.25) 发布v1.5.2版本
    • (2020.06.25) 修复BarChart在数值为0时还会绘制一小部分柱条的问题
    • (2020.06.24) 修复PieChart在设置clockwise后绘制异常的问题#65
    • (2020.06.23) 优化LineChart在峰谷差异过大时的绘制效果#64
    • (2020.06.18) 修复SerieLabel在重新添加数据时可能不显示的问题
    • (2020.06.17) 增加SerieData可单独设置SerieSymbol#66
    • (2020.06.17) 修复Check For UpdateUnity 2018部分版本报错的问题#63
    • (2020.06.16) 增加SerieavoidLabelOverlap参数避免饼图标签堆叠的情况#56
    • (2020.06.15) 修复SerieLabel单独控制显示时可能错乱的问题
    • (2020.06.11) 修复Check warning不生效的问题
    • (2020.06.11) 修复PieChartRingChart在数据占比很小时不显示的问题
    • (2020.06.11) 增加TooltiptitleFormatter支持配置占位符{i}表示忽略不显示标题
    • (2020.06.07) 增加AnimationcustomFadeInDelay等自定义数据项延时和时长回调函数#58
    • (2020.06.07) 优化PieChart在数据全为0时的显示为等份的效果#59
    • (2020.06.04) 增加SerieLabelautoOffset参数设置是否自动判断上下偏移
    • (2020.06.04) 增加TooltipalwayShow参数设置触发后一直显示
    • (2020.06.04) 优化Tooltipformatter支持{.1}通配符
    • (2020.06.04) 优化Legend数量过多时自动换行显示#53

    v1.5.1

    • (2020.06.03) 发布v1.5.1版本
    • (2020.06.02) 增加RadarceilRate,设置最大最小值的取整倍率
    • (2020.06.02) 优化Tooltipformatter,支持{c1:1-1:f1}格式配置
    • (2020.05.31) 优化Background组件的生效条件,需要有单独的父节点(升级前需要自己处理旧的背景节点)
    • (2020.05.30) 优化PieChart支持设置ignoreValue不显示指定数据
    • (2020.05.30) 修复RadarChartCircle时不绘制SplitArea的问题
    • (2020.05.30) 优化RadarChart在设置max0时可自动刷新最大值
    • (2020.05.29) 修复PieChart设置gap时只有一个数据时绘制异常的问题
    • (2020.05.27) 修复调用UpdateDataName()接口时不会自动刷新的问题
    • (2020.05.27) 优化柱状图的渐变色效果
    • (2020.05.24) 修复Axis同时设置boundaryGapalignWithLabelTick绘制异常的问题
    • (2020.05.24) 优化版本更新检测

    v1.5.0

    • (2020.05.22) 发布v1.5.0版本
    • (2020.05.21) 增加圆角柱图支持渐变
    • (2020.05.21) 增加Background背景组件
    • (2020.05.19) 隐藏Hierarchy试图下自动生成的子节点
    • (2020.05.18) 增加chartName属性可指定图表的别称,可通过XChartMgr.Instance.GetChart(chartName)获取图表
    • (2020.05.16) 增加部分鼠标事件回调
    • (2020.05.15) 优化自带例子,Demo改名为Example
    • (2020.05.13) 增加SerielargelargeThreshold参数配置折线图和柱状图的性能模式
    • (2020.05.13) 完善Demo,增加性能演示Demo
    • (2020.05.13) 优化性能,优化大数据绘制,重构代码
    • (2020.05.04) 增加numericFormatter参数可配置数值格式化显示,去掉forceENotation参数
    • (2020.04.28) 增加自由锚点支持,任意对齐方式
    • (2020.04.23) 优化ScatterChartTooltip显示效果
    • (2020.04.23) 增加Tooltipformatter{.}{c:0}{c1:1}的支持
    • (2020.04.19) 优化LineChart折线图的区域填充渐变效果
    • (2020.04.19) 增加AxisLabelonZero参数可将Label显示在0刻度上
    • (2020.04.19) 增加SerieAxisLabelshowAsPositiveNumber参数将负数数值显示为正数
    • (2020.04.18) 增加Convert XY Axis互换XY轴配置
    • (2020.04.17) 增加Axis可通过inverse参数设置坐标轴反转
    • (2020.04.16) 修复Check warningUnity2019.3上的显示问题
    • (2020.04.16) 修复PieChart在设置Space参数后动画绘制异常的问题

    v1.4.0

    • (2020.04.11) 发布v1.4.0版本
    • (2020.04.11) 增加Check warning检测功能
    • (2020.04.09) 修复Legend初始化异常的问题
    • (2020.04.08) 增加PieChart通过ItemStyle设置边框的支持
    • (2020.03.29) 增加AxisceilRate设置最大最小值的取整倍率
    • (2020.03.29) 增加BarChart可通过itemStylecornerRadius设置圆角柱图
    • (2020.03.29) 增加itemStylecornerRadius支持圆角矩形
    • (2020.03.24) 优化Editor参数编辑,兼容Unity2019.3及以上版本
    • (2020.03.24) 增加Serieinspector上可进行调整顺序、添加和删除操作
    • (2020.03.23) 修复TitletextStylesubTextStyle无效的问题
    • (2020.03.22) 增加BarChart通过barType参数设置胶囊柱状图
    • (2020.03.21) 增加BarChartHeatmapChart可通过ignore参数设置忽略数据的支持
    • (2020.03.21) 增加ItemStyletooltipFormatter参数可单独配置SerieTooltip显示
    • (2020.03.20) 修复X Axis 1Y Axis 1配置变更时不会自动刷新的问题
    • (2020.03.20) 增加AxisTickwidth参数可单独设置坐标轴刻度的宽度
    • (2020.03.20) 增加SerieradarType参数设置多圈单圈雷达图
    • (2020.03.17) 增加BarChart可用ItemStylebackgroundColor设置数据项背景颜色
    • (2020.03.17) 增加SerieDataItemStyleEmphasis可单独配置数据项样式的支持
    • (2020.03.15) 重构EmptyCricle类型的Symbol边宽取自ItemStyleborderWidth参数
    • (2020.03.15) 重构SerieSymbol,去掉coloropacity参数,取自ItemStyle

    v1.3.1

    • (2020.03.14) 发布v1.3.1版本
    • (2020.03.14) 修复LineChart开启ingore时部分数据可能绘制异常的问题
    • (2020.03.13) 修复LineChartlabel偏移显示异常的问题

    v1.3.0

    • (2020.03.11) 发布v1.3.0版本
    • (2020.03.11) 优化LineChartlabel偏移显示
    • (2020.03.11) 优化清空并重新添加数据后的自动刷新问题
    • (2020.03.10) 增加LineChart的普通折线图可通过ignore参数设置忽略数据的支持
    • (2020.03.09) 增加BarChart可通过ItemStyle配置边框的支持
    • (2020.03.08) 增加RingChart环形图
    • (2020.03.05) 调整SeriearcShaped参数重命名为roundCap
    • (2020.03.05) 增加运行时和非运行时参数变更自动刷新图表
    • (2020.02.26) 重构Legend图例,改变样式,增加自定义图标等设置
    • (2020.02.23) 增加BaseChart.AnimationFadeOut()渐出动画,重构动画系统
    • (2020.02.13) 增加BaseChart.RefreshTooltip()接口立即重新初始化Tooltip组件
    • (2020.02.13) 增加TooltiptextStyle参数配置内容文本样式,去掉fontSizefontStyle参数
    • (2020.02.13) 增加TextStylelineSpacing参数配置行间距
    • (2020.02.11) 增加RadarsplitLine参数配置分割线,去掉lineStyle参数
    • (2020.02.11) 增加TooltipbackgroundImage参数配置背景图
    • (2020.02.11) 增加TooltippaddingLeftRightpaddingTopBottom参数配置文字和边框的间距
    • (2020.02.11) 增加TooltiplineStyle参数配置指示线样式
    • (2020.02.11) 增加AxissplitLine参数控制分割线,去掉showSplitLinesplitLineType参数(更新时需要重新设置分割线相关设置)
    • (2020.02.10) 增加Serieclip参数控制是否超出坐标系外裁剪(只适用于折线图、柱状图、散点图)
    • (2020.02.08) 增加SerieSymbolgap参数控制图形标记的外留白距离
    • (2020.01.26) 增加TextLimit组件可以设置AxisLabel的文本自适应
    • (2020.01.20) 优化Tooltip设置itemFormatter时显示系列颜色
    • (2020.01.20) 增加Radar雷达图在inspector配置areaStyle的支持

    v1.2.0

    • (2020.01.15) 发布v1.2.0版本
    • (2020.01.15) 增加AxisLabel格式化为整数的支持({value:f0}
    • (2020.01.15) 增加折线图对数轴Log的支持
    • (2020.01.09) 修复当设置DataZoomminShowNum时可能异常的问题
    • (2020.01.08) 修复当设置AxisLineonZero时刻度显示异常的问题
    • (2020.01.08) 增加Mask遮罩遮挡支持
    • (2019.12.21) 增加Tooltip的单个数据项和标题的字符串模版格式器
    • (2019.12.21) 增加DataZoom的最小显示数据个数minShowNum
    • (2019.12.20) 增加Demo40_Radar.cs雷达图代码操作Demo
    • (2019.12.20) 添加RadarChart相关API接口

    v1.1.0

    • (2019.12.17) 发布v1.1.0版本
    • (2019.12.16) 修复Overlay模式下不显示Tooltip的问题
    • (2019.12.15) 增加TitleTextStyle支持
    • (2019.12.11) 修复Legend都隐藏时Value轴还显示数值的问题
    • (2019.12.11) 修复Series->Data->Size重置为0后设置无效的问题
    • (2019.12.06) 修复数据过小时AxisLabel直接科学计数法显示的问题
    • (2019.12.04) 优化和完善数据更新UpdateData接口
    • (2019.12.03) 增加圆环饼图的圆角支持,参数:serie.arcShaped
    • (2019.12.03) 增加数据更新动画,参数:serie.animation.dataChangeEnable
    • (2019.11.30) 增加GaugeChart仪表盘
    • (2019.11.22) 修复BarChart清空数据重新赋值后SerieLabel显示异常的问题
    • (2019.11.16) 修复SerieLabel设置color等参数不生效的问题

    v1.0.5

    • (2019.11.12) 发布v1.0.5版本
    • (2019.11.12) 修复2018.3以下版本打开项目报错的问题
    • (2019.11.12) 增加IconStyle子组件,优化SerieData的图标配置
    • (2019.11.11) 修复Serie的图标显示在上层遮挡Label的问题
    • (2019.11.11) 修复饼图当数据过小时视觉引导线会穿透的的问题
    • (2019.11.09) 修复饼图添加数据时Label异常的问题
    • (2019.11.09) 优化结构,分离为XChartsXChartsDemo两部分

    v1.0.4

    • (2019.11.05) 发布v1.0.4版本
    • (2019.11.05) 增加Radar雷达组件文本样式参数配置支持
    • (2019.11.04) 修复Unity2018.3以下版本代码不兼容的问题
    • (2019.11.04) 优化SerieLabel过多时引起的性能问题

    v1.0.3

    • (2019.11.03) 发布v1.0.3版本
    • (2019.11.03) 增加Editor快捷添加图表:Hierarchy试图下右键XCharts->LineChart
    • (2019.11.02) 优化非配置参数变量命名和访问权限,简化API

    v1.0.2

    • (2019.10.31) 发布v1.0.2版本
    • (2019.10.31) 修复prefab预设制作报错的问题
    • (2019.10.31) 增加访问主题组件API:BaseChart.theme

    v1.0.1

    • (2019.10.26) 发布v1.0.1版本
    • (2019.10.26) 修复版本检查功能在非运行时异常的问题
    • (2019.10.26) 增加科学计数法显示数值的支持(查阅forceENotation参数)
    • (2019.10.26) 增加Axis类目轴数据为空时的默认显示支持
    • (2019.10.26) 增加Axis数值轴的最大最小值可设置为小数的支持,优化极小数图表的表现效果

    v1.0.0

    • (2019.10.25) 发布v1.0.0版本
    • (2019.10.23) 增加版本检测功能:Component -> XCharts -> Check For Update
    • (2019.10.22) 增加Package Manager安装的支持
    • (2019.10.20) 增加Demo首页BarChart的代码动态控制效果
    • (2019.10.18) 增加SeriebarType参数,可配置斑马柱状图
    • (2019.10.18) 增加SeriebarPercentStack参数,可配置百分比堆叠柱状图
    • (2019.10.16) 增加Demo首页LineChart的代码动态控制效果
    • (2019.10.15) 移除Pie组件,相关参数放到Settings中配置
    • (2019.10.15) 增加Demo首页,展示代码动态控制效果
    • (2019.10.14) 增加RadarChartScatterChartHeatmapChart的起始动画效果
    • (2019.10.14) 增加SerieDataradius自定义数据项的半径
    • (2019.10.14) 增加HeatmapChart热力图
    • (2019.10.14) 增加VisualMap视觉映射组件
    • (2019.10.14) 增加ItemStyle数据项样式组件
    • (2019.10.14) 增加Emphasis高亮样式组件
    • (2019.10.10) 增加Settings全局参数配置组件,开放更多参数可配置
    • (2019.10.09) 增加AreaStyle的高亮相关参数配置鼠标悬浮时高亮之前区域
    • (2019.10.09) 优化DataZoom组件,增加双指缩放
    • (2019.10.05) 增加SerieLabelLineType给饼图配置不同类型的视觉引导线
    • (2019.10.02) 增加ScatterChart同时对ScatterLine的支持,实现折线图和散点图的组合图
    • (2019.10.01) 重构代码,废弃Series.series接口,用Series.list代替
    • (2019.10.01) 增加customDrawCallback自定义绘制回调
    • (2019.10.01) 增加SmoothDash平滑虚线的支持
    • (2019.09.30) 增加Serie采样类型sampleType的相关配置
    • (2019.09.29) 增加SerieSymbol关于显示间隔的相关配置
    • (2019.09.29) 重构代码:
      • BaseChartsampleDist删除,Serie增加lineSampleDist
      • BaseChartminShowDataNumber删除,Serie增加minShow
      • BaseChartmaxShowDataNumber删除,Serie增加maxShow
      • BaseChartmaxCacheDataNumber删除,Serie增加maxCache
      • BaseChartAddSerie()接口参数调整
      • BaseChartUpdateData()接口参数调整
      • Axis增加maxCache
    • (2019.09.28) 增加LineChartBarChart同时对LineBar类型Serie的支持,实现折线图和柱状图的组合图
    • (2019.09.27) 增加AxissplitNumber设置为0时表示绘制所有类目数据
    • (2019.09.27) 增加SampleDist采样距离的配置,对过密的曲线开启采样,优化绘制效率
    • (2019.09.27) 增加XCharts问答XChartsAPI接口XCharts配置项手册等文档
    • (2019.09.26) 增加AnimationReset()重置初始化动画接口
    • (2019.09.26) 优化LineChart的密集数据的曲线效果
    • (2019.09.25) 优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示
    • (2019.09.24) 增加SerieData的自定义图标相关配置支持
    • (2019.09.23) 增加Formatter配置AxisAxisLabel的格式化输出
    • (2019.09.23) 增加TooltipFontSizeFontStyle配置字体大小和样式
    • (2019.09.23) 增加Formatter配置SerieLabelLegendTooltip的格式化输出
    • (2019.09.19) 增加LineArrow配置带箭头曲线
    • (2019.09.19) 增加TooltipFixedWidthFixedHeightMinWidthMinHeight设置支持
    • (2019.09.18) 增加单条堆叠柱状图
    • (2019.09.18) 增加虚线Dash、点线Dot、点划线DashDot、双点划线DashDotDot等类型的折线图支持
    • (2019.09.17) 增加AnimationEnabel()启用或取消起始动画接口
    • (2019.09.17) 增加AxisInterval强制设置坐标轴分割间隔
    • (2019.09.16) 去掉Serie中的旧版本数据兼容,不再支持xDatayData
    • (2019.09.06) 增加Animation在重新初始化数据时自启动功能
    • (2019.09.06) 增加SerieLabelBorder边框相关配置支持
    • (2019.09.05) 增加PieChartAnimation初始化动画配置支持
    • (2019.09.03) 增加BarChartAnimation初始化动画配置支持
    • (2019.09.02) 增加LineChartAnimation初始化动画配置支持
    • (2019.08.22) 增加AxisNameOffset偏移配置支持
    • (2019.08.22) 增加AxisLineWidth配置支持
    • (2019.08.20) 增加SerieLabel的背景宽高、文字边距、文字旋转的配置
    • (2019.08.20) 增加BarChartLabel配置支持
    • (2019.08.15) 增加LineChartLabel配置
    • (2019.08.15) 重构BarChart,移除Bar组件,相关参数统一放到Serie中配置
    • (2019.08.15) 重构LineChart,移除Line组件,相关参数统一放到Serie中配置

    v0.8.3

    • (2019.08.15) 发布v0.8.3版本
    • (2019.08.14) 修复PieChartLabel无法自动更新的问题
    • (2019.08.13) 修复UpdateData接口无法更新数据的问题
    • (2019.08.07) 增加SerieSymbolColorOpacity配置

    v0.8.2

    • (2019.08.07) 发布v0.8.2版本
    • (2019.08.07) 修复区域平滑折线图显示异常的问题
    • (2019.08.06) 修复serie系列数超过调色盘颜色数时获取的颜色异常的问题
    • (2019.08.06) 修复当AxisminMaxTypeCustommax设置为100不生效的问题

    v0.8.1

    • (2019.08.04) 发布v0.8.1版本
    • (2019.08.04) 修复Inspector中修改数据不生效的问题

    v0.8.0

    • (2019.08.04) 发布v0.8.0版本
    • (2019.08.04) 优化RadarChart雷达图,增加多雷达图支持
    • (2019.08.01) 增加代码API注释文档,整理代码
    • (2019.07.29) 增加RadiusArea两种南丁格尔玫瑰图展示类型
    • (2019.07.29) 增加SerieLabel配置饼图标签,支持CenterInsideOutside等显示位置
    • (2019.07.28) 增加PieChart多饼图支持
    • (2019.07.23) 优化Theme主题的自定义,切换主题时自定义配置不受影响
    • (2019.07.22) 增加EffectScatter类型的散点图
    • (2019.07.21) 增加ScatterChart散点图
    • (2019.07.21) 增加SerieData支持多维数据配置
    • (2019.07.20) 增加Symbol配置Serie标志图形的显示
    • (2019.07.19) 增加用代码添加动态正弦曲线的示例Demo11_AddSinCurve
    • (2019.07.19) 优化Legend的显示和控制
    • (2019.07.18) 优化抗锯齿,曲线更平滑
    • (2019.07.18) 增加Tooltip指示器类型,优化显示控制
    • (2019.07.15) 增加Size设置图表尺寸
    • (2019.07.14) 增加二维数据支持,XY轴都可以设置为数值轴
    • (2019.07.13) 增加双坐标轴支持,代码改动较大

    v0.5.0

    • (2019.07.10) 发布v0.5.0版本
    • (2019.07.09) 增加AxisLine配置坐标轴轴线和箭头
    • (2019.07.03) 增加AxisLabel配置坐标轴刻度标签
    • (2019.07.02) 增加selected等相关参数配置PieChart的选中效果
    • (2019.06.30) 增加SplitArea配置坐标轴分割区域
    • (2019.06.29) 增加AxisName配置坐标轴名称
    • (2019.06.20) 增加AreaAlpha控制RadarChartArea透明度
    • (2019.06.13) 增加DataZoom实现区域缩放
    • (2019.06.01) 增加stepType实现LineChart阶梯线图
    • (2019.05.29) 增加InSameBar实现BarChart非堆叠同柱
    • (2019.05.29) 增加crossLabel控制Tooltip十字准星指示器
    • (2019.05.24) 增加堆叠区域图
    • (2019.05.16) 增加AxisMinMaxType控制坐标轴最大最小刻度
    • (2019.05.15) 完善数据接口
    • (2019.05.14) 增加X轴AxisType.Value模式支持
    • (2019.05.13) 增加负数数值轴支持
    • (2019.05.11) 增加自定义Editor编辑
    • (2019.03.21) 增加Tooltip
    • (2018.11.01) 增加DefaultLightDark三种默认主题

    v0.1.0

    • (2018.09.05) 发布v0.1.0版本
    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/configuration/index.html b/en/docs/v3.9.0/configuration/index.html index a30ac6c7..436a774c 100644 --- a/en/docs/v3.9.0/configuration/index.html +++ b/en/docs/v3.9.0/configuration/index.html @@ -14,13 +14,13 @@ 配置项手册 | XCharts - - + +
    Version: v3.9.0

    配置项手册

    Serie 系列

    Theme 主题

    MainComponent 主组件

    ChildComponent 子组件

    ISerieComponent 可添加到Serie的组件

    ISerieDataComponent 可添加到SerieData的组件

    Other 其他

    AngleAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的角度轴。

    参数默认版本描述
    startAngle0起始刻度的角度,默认为 0 度,即圆心的正右方。

    AngleAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AnimationAddition

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据新增动画。

    AnimationChange

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据变更动画。

    AnimationFadeIn

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡入动画。

    AnimationFadeOut

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    淡出动画。

    AnimationHiding

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    数据隐藏动画。

    AnimationInfo

    class in XCharts.Runtime / 子类: AnimationFadeIn, AnimationFadeOut, AnimationChange, AnimationAddition, AnimationHiding, AnimationInteraction

    v3.8.0 开始支持

    动画配置参数。

    参数默认版本描述
    enabletruev3.8.0是否开启动画效果。
    reversefalsev3.8.0是否开启反向动画效果。
    delay0v3.8.0动画开始前的延迟时间。
    duration1000v3.8.0动画的时长。

    AnimationInteraction

    class in XCharts.Runtime / 继承自: AnimationInfo

    v3.8.0 开始支持

    交互动画。

    参数默认版本描述
    widthv3.8.0宽度的多样式数值。 MLValue
    radiusv3.8.0半径的多样式数值。 MLValue
    offsetv3.8.0交互的多样式数值。如饼图的扇形选中时的偏移。 MLValue

    AnimationStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    动画组件,用于控制图表的动画播放。支持配置五种动画表现:FadeIn(渐入动画),FadeOut(渐出动画),Change(变更动画),Addition(新增动画),Interaction(交互动画)。 按作用的对象可以分为两类:SerieAnimation(系列动画)和DataAnimation(数据动画)。

    参数默认版本描述
    enabletrue是否开启动画效果。
    type动画类型。
    AnimationType:
    - Default: 默认。内部会根据实际情况选择一种动画播放方式。
    - LeftToRight: 从左往右播放动画。
    - BottomToTop: 从下往上播放动画。
    - InsideOut: 由内到外播放动画。
    - AlongPath: 沿着路径播放动画。当折线图从左到右无序或有折返时,可以使用该模式。
    - Clockwise: 顺时针播放动画。
    easting
    AnimationEasing:
    - Linear:
    threshold2000是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。
    unscaledTimev3.4.0动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。
    fadeInv3.8.0渐入动画配置。 AnimationFadeIn
    fadeOutv3.8.0渐出动画配置。 AnimationFadeOut
    changev3.8.0数据变更动画配置。 AnimationChange
    additionv3.8.0数据新增动画配置。 AnimationAddition
    hidingv3.8.0数据隐藏动画配置。 AnimationHiding
    interactionv3.8.0交互动画配置。 AnimationInteraction

    AreaStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    区域填充样式。

    参数默认版本描述
    showtrue是否显示区域填充。
    origin区域填充的起始位置。
    AreaStyle.AreaOrigin:
    - Auto: 填充坐标轴轴线到数据间的区域。
    - Start: 填充坐标轴底部到数据间的区域。
    - End: 填充坐标轴顶部到数据间的区域。
    color区域填充的颜色,如果toColor不是默认值,则表示渐变色的起点颜色。
    toColor渐变色的终点颜色。
    opacity0.6f图形透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    innerFillv3.2.0是否只填充多边形区域。目前只支持凸多边形。
    toToptruev3.6.0渐变色是到顶部还是到实际位置。默认为true到顶部。

    ArrowStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    width10箭头宽。
    height15箭头高。
    offset0箭头偏移。
    dent3箭头的凹度。
    colorColor.clear箭头颜色。

    Axis

    class in XCharts.Runtime / 继承自: MainComponent / 子类: AngleAxis, ParallelAxis, RadiusAxis, SingleAxis, XAxis, YAxis

    直角坐标系的坐标轴组件。

    参数默认版本描述
    showtrue是否显示坐标轴。
    type坐标轴类型。
    Axis.AxisType:
    - Value: 数值轴。适用于连续数据。
    - Category: 类目轴。适用于离散的类目数据,为该类型时必须通过 data 设置类目数据。serie的数据第0维数据对应坐标轴data的index。
    - Log: 对数轴。适用于对数数据。
    - Time: 时间轴。适用于连续的时序数据。
    minMaxType坐标轴刻度最大最小值显示类型。
    Axis.AxisMinMaxType:
    - Default: 0-最大值。
    - MinMax: 最小值-最大值。
    - Custom: 自定义最小值最大值。
    - MinMaxAuto: [since("v3.7.0")]最小值-最大值。自动计算合适的值。
    gridIndex坐标轴所在的 grid 的索引,默认位于第一个 grid。
    polarIndex坐标轴所在的 ploar 的索引,默认位于第一个 polar。
    parallelIndex坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
    position坐标轴在Grid中的位置。
    Axis.AxisPosition:
    - Left: 坐标轴在Grid中的位置
    - Right: 坐标轴在Grid中的位置
    - Bottom: 坐标轴在Grid中的位置
    - Top: 坐标轴在Grid中的位置
    offset坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
    min设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
    max设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
    splitNumber0坐标轴的期望的分割段数。默认为0表示自动分割。
    interval0强制设置坐标轴分割间隔。无法在类目轴中使用。
    boundaryGaptrue坐标轴两边是否留白。只对类目轴有效。
    maxCache0The first data will be remove when the size of axis data is larger then maxCache.
    logBase10对数轴的底数,只在对数轴(type:'Log')中有效。
    logBaseEfalse对数轴是否以自然数 e 为底数,为 true 时 logBase 失效。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    inversefalse是否反向坐标轴。在类目轴中无效。
    clockwisetrue刻度增长是否按顺时针,默认顺时针。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    icons类目数据对应的图标。
    data类目数据,在类目轴(type: 'category')中有效。
    axisLine坐标轴轴线。 AxisLine
    axisName坐标轴名称。 AxisName
    axisTick坐标轴刻度。 AxisTick
    axisLabel坐标轴刻度标签。 AxisLabel
    splitLine坐标轴分割线。 AxisSplitLine
    splitArea坐标轴分割区域。 AxisSplitArea
    animation坐标轴动画。 AxisAnimation
    minorTickv3.2.0坐标轴次刻度。 AxisMinorTick
    minorSplitLinev3.2.0坐标轴次分割线。 AxisMinorSplitLine
    indicatorLabelv3.4.0指示器文本的样式。Tooltip为Cross时使用。 LabelStyle

    AxisAnimation

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    坐标轴动画配置。

    参数默认版本描述
    showtrue是否开启动画。
    duration动画时长(ms)。 默认设置为0时,会自动获取serie的动画时长。
    unscaledTime动画是否受TimeScaled的影响。默认为 false 受TimeScaled的影响。

    AxisLabel

    class in XCharts.Runtime / 继承自: LabelStyle

    坐标轴刻度标签的相关设置。

    参数默认版本描述
    interval0坐标轴刻度标签的显示间隔,在类目轴中有效。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    insidefalse刻度标签是否朝内,默认朝外。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和SerieshowAsPositiveNumber配合使用。
    onZerofalse刻度标签显示在0刻度上。
    showStartLabeltrue是否显示第一个文本。
    showEndLabeltrue是否显示最后一个文本。
    textLimit文本限制。 TextLimit

    AxisLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴轴线。

    参数默认版本描述
    onZeroX 轴或者 Y 轴的轴线是否在另一个轴的 0 刻度上,只有在另一个轴为数值轴且包含 0 刻度时有效。
    showArrow是否显示箭头。
    arrow轴线箭头。 ArrowStyle

    AxisMinorSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴在 grid 区域中的次分隔线。次分割线会对齐次刻度线 minorTick。

    参数默认版本描述
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。

    AxisMinorTick

    class in XCharts.Runtime / 继承自: BaseLine

    v3.2.0 开始支持

    坐标轴次刻度相关设置。注意:次刻度无法在类目轴中使用。

    参数默认版本描述
    splitNumber5分隔线之间分割的刻度数。
    autoColor

    AxisName

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴名称。

    参数默认版本描述
    show是否显示坐标轴名称。
    name坐标轴名称。
    onZerov3.1.0坐标轴名称的位置是否保持和Y轴0刻度一致。
    labelStyle文本样式。 LabelStyle

    AxisSplitArea

    class in XCharts.Runtime / 继承自: ChildComponent

    坐标轴在 grid 区域中的分隔区域,默认不显示。

    参数默认版本描述
    show是否显示分隔区域。
    color分隔区域颜色。分隔区域会按数组中颜色的顺序依次循环设置颜色。默认是一个深浅的间隔色。

    AxisSplitLine

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴在 grid 区域中的分隔线。

    参数默认版本描述
    interval坐标轴分隔线的显示间隔。
    distance刻度线与轴线的距离。
    autoColor自动设置颜色。
    showStartLinetruev3.3.0是否显示第一条分割线。
    showEndLinetruev3.3.0是否显示最后一条分割线。

    AxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    AxisTick

    class in XCharts.Runtime / 继承自: BaseLine

    坐标轴刻度相关设置。

    参数默认版本描述
    alignWithLabel类目轴中在 boundaryGap 为 true 的时候有效,可以保证刻度线和标签对齐。
    inside坐标轴刻度是否朝内,默认朝外。
    showStartTick是否显示第一个刻度。
    showEndTick是否显示最后一个刻度。
    distance刻度线与轴线的距离。
    splitNumber0分隔线之间分割的刻度数。
    autoColor

    Background

    class in XCharts.Runtime / 继承自: MainComponent

    背景组件。

    参数默认版本描述
    showtrue是否启用背景组件。
    image背景图。
    imageType背景图填充类型。
    imageColor背景图颜色。
    autoColortrue当background组件开启时,是否自动使用主题背景色作为backgrounnd组件的颜色。当设置为false时,用imageColor作为颜色。

    Bar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    BaseAxisTheme

    class in XCharts.Runtime / 继承自: ComponentTheme / 子类: AxisTheme, RadiusAxisTheme, AngleAxisTheme, PolarAxisTheme, RadarAxisTheme

    参数默认版本描述
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f坐标轴线宽。
    lineLength0f坐标轴线长。
    lineColor坐标轴线颜色。
    splitLineType分割线线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    splitLineWidth1f分割线线宽。
    splitLineLength0f分割线线长。
    splitLineColor分割线线颜色。
    minorSplitLineColor次分割线线颜色。
    tickWidth1f刻度线线宽。
    tickLength5f刻度线线长。
    tickColor坐标轴线颜色。
    splitAreaColors坐标轴分隔区域的颜色。

    BaseLine

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: AxisLine, AxisMinorSplitLine, AxisMinorTick, AxisSplitLine, AxisTick

    线条基础配置。

    参数默认版本描述
    show是否显示坐标轴轴线。
    lineStyle线条样式 LineStyle

    BaseScatter

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer / 子类: EffectScatter, Scatter

    BaseSerie

    class in XCharts.Runtime / 子类: Serie

    BlurStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    淡出状态样式。

    CalendarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Candlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ChartText

    class in XCharts.Runtime

    ChildComponent

    class in XCharts.Runtime / 子类: AnimationStyle, AxisAnimation, AxisName, AxisSplitArea, AreaStyle, ArrowStyle, BaseLine, IconStyle, ImageStyle, ItemStyle, Level, LevelStyle, LineArrow, LineStyle, Location, MLValue, MarqueeStyle, Padding, StageColor, SymbolStyle, TextLimit, TextStyle, CommentItem, CommentMarkStyle, LabelLine, LabelStyle, MarkAreaData, MarkLineData, StateStyle, VisualMapRange, UIComponentTheme, SerieData, ComponentTheme, SerieTheme, ThemeStyle

    Comment

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图表注解组件。

    参数默认版本描述
    showtrue是否显示注解组件。
    labelStyle所有组件的文本样式。 LabelStyle
    markStyle所有组件的文本样式。 CommentMarkStyle
    items注解项。每个注解组件可以设置多个注解项。

    CommentItem

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项。

    参数默认版本描述
    showtrue是否显示当前注解项。
    content注解的文本内容。支持模板参数,可以参考Tooltip的itemFormatter。
    markRect注解区域。
    markStyle注解标记区域样式。 CommentMarkStyle
    labelStyle注解项的文本样式。 LabelStyle
    locationv3.5.0Comment显示的位置。 Location

    CommentMarkStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    注解项区域样式。

    参数默认版本描述
    showtrue是否显示当前注解项。
    lineStyle线条样式。 LineStyle

    ComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BaseAxisTheme, DataZoomTheme, LegendTheme, SubTitleTheme, TitleTheme, TooltipTheme, VisualMapTheme

    参数默认版本描述
    font字体。
    textColor文本颜色。
    textBackgroundColor文本颜色。
    fontSize18文本字体大小。
    tMPFont字体。

    CoordSystem

    class in XCharts.Runtime / 继承自: MainComponent / 子类: RadarCoord, CalendarCoord, GridCoord, ParallelCoord, PolarCoord, SingleAxisCoord

    坐标系系统。

    DataZoom

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息,或者概览数据整体,或者去除离群点的影响。

    参数默认版本描述
    enabletrue是否显示缩放区域。
    filterMode数据过滤类型。
    DataZoom.FilterMode:
    - Filter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只要有一个维度在数据窗口外,整个数据项就会被过滤掉。
    - WeakFilter: 当前数据窗口外的数据,被 过滤掉。即 会 影响其他轴的数据范围。每个数据项,只有当全部维度都在数据窗口同侧外部,整个数据项才会被过滤掉。
    - Empty: 当前数据窗口外的数据,被 设置为空。即 不会 影响其他轴的数据范围。
    - None: 不过滤数据,只改变数轴范围。
    xAxisIndexs控制的 x 轴索引列表。
    yAxisIndexs控制的 y 轴索引列表。
    supportInside是否支持内置。内置于坐标系中,使用户可以在坐标系上通过鼠标拖拽、鼠标滚轮、手指滑动(触屏上)来缩放或漫游坐标系。
    supportInsideScrolltrue是否支持坐标系内滚动
    supportInsideDragtrue是否支持坐标系内拖拽
    supportSlider是否支持滑动条。有单独的滑动条,用户在滑动条上进行缩放或漫游。
    supportMarquee是否支持框选。提供一个选框进行数据区域缩放。
    showDataShadow是否显示数据阴影。数据阴影可以简单地反应数据走势。
    showDetail是否显示detail,即拖拽时候显示详细数值信息。
    zoomLock是否锁定选择区域(或叫做数据窗口)的大小。 如果设置为 true 则锁定选择区域的大小,也就是说,只能平移,不能缩放。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    borderWidth边框宽。
    backgroundColor组件的背景颜色。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    rangeMode取绝对值还是百分比。
    DataZoom.RangeMode:
    - //Value: The value type of start and end.取值类型
    - Percent: 百分比。
    start数据窗口范围的起始百分比。范围是:0 ~ 100。
    end数据窗口范围的结束百分比。范围是:0 ~ 100。
    minShowNum2最小显示数据个数。当DataZoom放大到最大时,最小显示的数据个数。
    scrollSensitivity1.1f缩放区域组件的敏感度。值越高每次缩放所代表的数据越多。
    orient布局方式是横还是竖。不仅是布局方式,对于直角坐标系而言,也决定了,缺省情况控制横向数轴还是纵向数轴。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    labelStyle文本标签格式。 LabelStyle
    lineStyle阴影线条样式。 LineStyle
    areaStyle阴影填充样式。 AreaStyle
    marqueeStylev3.5.0选取框样式。 MarqueeStyle
    startLockv3.6.0固定起始值,不让改变。
    endLockv3.6.0固定结束值,不让改变。

    DataZoomTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    borderWidth边框线宽。
    dataLineWidth数据阴影线宽。
    fillerColor数据区域颜色。
    borderColor边框颜色。
    dataLineColor数据阴影的线条颜色。
    dataAreaColor数据阴影的填充颜色。
    backgroundColor背景颜色。

    DebugInfo

    class in XCharts.Runtime

    参数默认版本描述
    showtrue是否显示Debug组件。
    showDebugInfofalse
    showAllChartObjectfalse是否在Hierarchy试图显示所有chart下的节点。
    foldSeriesfalse是否在Inspector上折叠Serie。
    labelStyleLabelStyle

    EffectScatter

    class in XCharts.Runtime / 继承自: BaseScatter

    EmphasisStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    高亮状态样式。

    参数默认版本描述
    scale1.1f高亮时的缩放倍数。
    focus在高亮图形时,是否淡出其它数据的图形已达到聚焦的效果。
    EmphasisStyle.FocusType:
    - None: 不淡出其它图形,默认使用该配置。
    - Self: 只聚焦(不淡出)当前高亮的数据的图形。
    - Series: 聚焦当前高亮的数据所在的系列的所有图形。
    blurScope在开启focus的时候,可以通过blurScope配置淡出的范围。
    EmphasisStyle.BlurScope:
    - GridCoord: 淡出范围为坐标系,默认使用该配置。
    - Series: 淡出范围为系列。
    - Global: 淡出范围为全局。

    EndLabelStyle

    class in XCharts.Runtime / 继承自: LabelStyle

    GridCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    layoutIndex-1v3.8.0网格所属的网格布局组件的索引。默认为-1,表示不属于任何网格布局组件。当设置了该值时,left、right、top、bottom属性将失效。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。
    showBorderfalse是否显示网格边框。
    borderWidth0f网格边框宽。
    borderColor网格边框颜色。

    GridLayout

    class in XCharts.Runtime / 继承自: MainComponent, IUpdateRuntimeData

    v3.8.0 开始支持

    网格布局组件。用于管理多个GridCoord的布局,可以通过rowcolumn来控制网格的行列数。

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    row2网格布局的行数。
    column2网格布局的列数。
    spacingVector2.zero网格布局的间距。
    inversefalse是否反转网格布局。

    Heatmap

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    heatmapTypev3.3.0热力图类型。通过颜色映射划分。
    HeatmapType:
    - Data: 数据映射型。默认用第2维数据作为颜色映射。要求数据至少有3个维度数据。
    - Count: 个数映射型。统计数据在划分的格子中出现的次数,作为颜色映射。要求数据至少有2个维度数据。

    IconStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    showfalse是否显示图标。
    layer显示在上层还是在下层。
    IconStyle.Layer:
    - UnderText: The icon is display under the label text. 图标在标签文字下
    - AboveText: The icon is display above the label text. 图标在标签文字上
    align水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    sprite图标的图片。
    type图片的显示类型。
    color图标颜色。
    width20图标宽。
    height20图标高。
    offset图标偏移。
    autoHideWhenLabelEmptyfalse当label内容为空时是否自动隐藏图标

    ImageStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    参数默认版本描述
    showtrue是否显示图标。
    sprite图标的图片。
    type图片的显示类型。
    autoColor是否自动颜色。
    color图标颜色。
    width0图标宽。
    height0图标高。

    Indicator

    class in XCharts.Runtime

    雷达图的指示器,用来指定雷达图中的多个变量(维度)。

    参数默认版本描述
    name指示器名称。
    max指示器的最大值,默认为 0 无限制。
    min指示器的最小值,默认为 0 无限制。
    range正常值范围。当数值不在这个范围时,会自动变更显示颜色。
    show是否显示雷达坐标系组件。
    shape雷达图绘制类型,支持 'Polygon' 和 'Circle'。
    radius100雷达图的半径。
    splitNumber5指示器轴的分割段数。
    center雷达图的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    axisLine轴线。 AxisLine
    axisName雷达图每个指示器名称的配置项。 AxisName
    splitLine分割线。 AxisSplitLine
    splitArea分割区域。 AxisSplitArea
    indicatortrue是否显示指示器。
    positionType显示位置类型。
    indicatorGap10指示器和雷达的间距。
    ceilRate0最大最小值向上取整的倍率。默认为0时自动计算。
    isAxisTooltip是否Tooltip显示轴线上的所有数据。
    outRangeColorColor.red数值超出范围时显示的颜色。
    connectCenterfalse数值是否连线到中心点。
    lineGradienttrue数值线段是否需要渐变。
    startAnglev3.4.0起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    indicatorList指示器列表。

    INeedSerieContainer

    class in XCharts.Runtime / 子类: Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Radar, BaseScatter

    IPropertyChanged

    class in XCharts.Runtime / 子类: Location, Comment, Legend, Title

    属性变更接口

    ISerieComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, LineArrow, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于Serie的组件。

    ISerieContainer

    class in XCharts.Runtime / 子类: RadarCoord, CalendarCoord, GridCoord, ParallelCoord, PolarCoord

    ISerieDataComponent

    class in XCharts.Runtime / 子类: AreaStyle, ImageStyle, ItemStyle, LineStyle, SerieSymbol, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle

    可用于SerieData的组件。

    ISimplifiedSerie

    class in XCharts.Runtime / 子类: SimplifiedBar, SimplifiedCandlestick, SimplifiedLine

    ItemStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    图形样式。

    参数默认版本描述
    showtrue是否启用。
    color数据项颜色。
    color0数据项颜色。
    toColor渐变色的颜色1。
    toColor2渐变色的颜色2。只在折线图中有效。
    markColorv3.6.0Serie的标识颜色。仅用于Legend和Tooltip的展示,不影响绘制颜色,默认为clear。
    backgroundColor数据项背景颜色。
    backgroundWidth数据项背景宽度。
    centerColor中心区域颜色。
    centerGap中心区域间隙。
    borderWidth0边框宽。
    borderGap0边框间隙。
    borderColor边框的颜色。
    borderColor0边框的颜色。
    borderToColor边框的渐变色。
    opacity1透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    itemMarker提示框单项的字符标志。用在Tooltip中。
    itemFormatter提示框单项的字符串模版格式器。具体配置参考Tooltipformatter
    numericFormatter标准数字格式字符串。用于将数值格式化显示为字符串。 使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。 参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。

    IUpdateRuntimeData

    class in XCharts.Runtime / 子类: SingleAxis, DataZoom, CalendarCoord, GridCoord, GridLayout, ParallelCoord

    LabelLine

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent

    标签的引导线

    参数默认版本描述
    showtrue是否显示视觉引导线。
    lineType视觉引导线类型。
    LabelLine.LineType:
    - BrokenLine: 折线
    - Curves: 曲线
    - HorizontalLine: 水平线
    lineColorColor32(0,0,0,0)视觉引导线颜色。默认和serie一致取自调色板。
    lineAngle60视觉引导线的固定角度。对折线和曲线有效。在Pie中无效。
    lineWidth1.0f视觉引导线的宽度。
    lineGap1.0f视觉引导线和容器的间距。
    lineLength125f视觉引导线第一段的长度。
    lineLength215f视觉引导线第二段的长度。
    lineEndX0fv3.8.0视觉引导线结束点的固定x位置。当不为0时,会代替lineLength2设定引导线的x位置。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle

    LabelStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent, ISerieDataComponent / 子类: AxisLabel, EndLabelStyle, TitleStyle

    图形上的文本标签,可用于说明图形的一些数据信息,比如值,名称等。

    参数默认版本描述
    showtrue是否显示文本标签。
    Position标签的位置。
    autoOffsetfalse是否开启自动偏移。当开启时,Y的偏移会自动判断曲线的开口来决定向上还是向下偏移。
    offset距离图形元素的偏移
    rotate文本的旋转。
    autoRotatefalsev3.6.0是否自动旋转。
    distance距离轴线的距离。
    formatter标签内容字符串模版格式器。支持用 \n 换行。部分组件的格式器会不生效。
    模板通配符有以下这些,部分只适用于固定的组件:
    {.}:圆点标记。
    {a}:系列名。
    {b}:类目值或数据名。
    {c}:数据值。
    {d}:百分比。
    {e}:数据名。
    {f}:数据和。
    {g}:数据总个数。
    {h}:十六进制颜色值。
    {value}:坐标轴或图例的值。
    以下通配符适用UITable组件:
    {name}: 表格的行名。
    {index}:表格的行号。
    以下通配符适用UIStatistc组件:
    {title}:标题文本。
    {dd}:天。
    {hh}:小时。
    {mm}:分钟。
    {ss}:秒。
    {fff}:毫秒。
    {d}:天。
    {h}:小时。
    {m}:分钟。
    {s}:秒。
    {f}:毫秒。
    示例:“{b}:{c}”
    numericFormatter标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式常见的格式:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:yyyy-MM-dd HH:mm:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    width0标签的宽度。一般不用指定,不指定时则自动是文字的宽度。
    height0标签的高度。一般不用指定,不指定时则自动是文字的高度。
    icon图标样式。 IconStyle
    background背景图样式。 ImageStyle
    textPadding文本的边距。 TextPadding
    textStyle文本样式。 TextStyle

    Lang

    class in XCharts.Runtime / 继承自: ScriptableObject

    国际化语言表。

    LangCandlestick

    class in XCharts.Runtime

    LangTime

    class in XCharts.Runtime

    Legend

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    图例组件。 图例组件展现了不同系列的标记,颜色和名字。可以通过点击图例控制哪些系列不显示。

    参数默认版本描述
    showtrue是否显示图例组件。
    iconType图例类型。
    Legend.Type:
    - Auto: 自动匹配。
    - Custom: 自定义图标。
    - EmptyCircle: 空心圆。
    - Circle: 圆形。
    - Rect: 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
    - Triangle: 三角形。
    - Diamond: 菱形。
    - Candlestick: 烛台(可用于K线图)。
    selectedMode选择模式。控制是否可以通过点击图例改变系列的显示状态。默认开启图例选择,可以设成 None 关闭。
    Legend.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    - None: 无法选择。
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location图例显示的位置。 Location
    itemWidth25.0f图例标记的图形宽度。
    itemHeight12.0f图例标记的图形高度。
    itemGap10f图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
    itemAutoColortrue图例标记的图形是否自动匹配颜色。
    itemOpacity1图例标记的图形的颜色透明度。
    formatter不再使用,使用LabelStyle.formatter代替。
    labelStyle文本样式。 LabelStyle
    data图例的数据数组。数组项通常为一个字符串,每一项代表一个系列的 name(如果是饼图,也可以是饼图单个数据的 name)。 如果 data 没有被指定,会自动从当前系列中获取。指定data时里面的数据项和serie匹配时才会生效。
    icons自定义的图例标记图形。
    colors图例标记的颜色列表。
    backgroundv3.1.0背景图样式。 ImageStyle
    paddingv3.1.0图例标记和背景的间距。 Padding
    positionsv3.6.0图例标记的自定义位置列表。

    LegendTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    unableColor文本颜色。

    Level

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    label文本标签样式。 LabelStyle
    upperLabel上方的文本标签样式。 LabelStyle
    itemStyle数据项样式。 ItemStyle

    LevelStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    showfalse是否启用LevelStyle
    levels各层节点对应的配置。当enableLevels为true时生效,levels[0]对应的第一层的配置,levels[1]对应第二层,依次类推。当levels中没有对应层时用默认的设置。

    Line

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    LineArrow

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieComponent

    参数默认版本描述
    show是否显示箭头。
    position箭头位置。
    LineArrow.Position:
    - End: 末端箭头
    - Start: 头端箭头
    arrow箭头。 ArrowStyle

    LineStyle

    class in XCharts.Runtime / 继承自: ChildComponent, ISerieDataComponent

    线条样式。 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。

    参数默认版本描述
    showtrue是否显示线条。当作为子组件,它的父组件有参数控制是否显示时,改参数无效。
    type线的类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    color线的颜色。
    toColor线的渐变颜色(需要水平方向渐变时)。
    toColor2线的渐变颜色2(需要水平方向三个渐变色的渐变时)。
    width0线宽。
    length0线长。
    opacity1线的透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
    dashLength4v3.8.1虚线的长度。默认0时为线条宽度的12倍。在折线图中代表分割段数的倍数。
    dotLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。
    gapLength2v3.8.1点线的长度。默认0时为线条宽度的3倍。在折线图中代表分割段数的倍数。

    Location

    class in XCharts.Runtime / 继承自: ChildComponent, IPropertyChanged

    位置类型。通过Align快速设置大体位置,再通过left,right,top,bottom微调具体位置。

    参数默认版本描述
    align对齐方式。
    Location.Align:
    - TopLeft: 对齐方式
    - TopRight: 对齐方式
    - TopCenter: 对齐方式
    - BottomLeft: 对齐方式
    - BottomRight: 对齐方式
    - BottomCenter: 对齐方式
    - Center: 对齐方式
    - CenterLeft: 对齐方式
    - CenterRight: 对齐方式
    left离容器左侧的距离。
    right离容器右侧的距离。
    top离容器上侧的距离。
    bottom离容器下侧的距离。

    MainComponent

    class in XCharts.Runtime / 继承自: IComparable / 子类: Axis, Background, Comment, DataZoom, Legend, MarkArea, MarkLine, Settings, Title, Tooltip, VisualMap, GridLayout, CoordSystem

    MarkArea

    class in XCharts.Runtime / 继承自: MainComponent

    图表标域,常用于标记图表中某个范围的数据。

    参数默认版本描述
    showtrue是否显示标域。
    textThe text of markArea. 标域显示的文本。
    serieIndex0Serie index of markArea. 标域影响的Serie索引。
    start标域范围的起始数据。 MarkAreaData
    end标域范围的结束数据。 MarkAreaData
    itemStyle标域样式。 ItemStyle
    label标域文本样式。 LabelStyle

    MarkAreaData

    class in XCharts.Runtime / 继承自: ChildComponent

    标域的数据。

    参数默认版本描述
    type特殊的标域类型,用于标注最大值最小值等。
    MarkAreaType:
    - None: 标域类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标注名称。会作为文字显示。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。

    MarkLine

    class in XCharts.Runtime / 继承自: MainComponent

    图表标线。

    参数默认版本描述
    showtrue是否显示标线。
    serieIndex0标线影响的Serie索引。
    onToptruev3.9.0是否在最上层。
    animation标线的动画样式。 AnimationStyle
    data标线的数据列表。当数据项的group为0时,每个数据项表示一条标线;当group不为0时,相同group的两个数据项分别表 示标线的起始点和终止点来组成一条标线,此时标线的相关样式参数取起始点的参数。

    MarkLineData

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.9.0 开始支持

    图表标线的数据。

    参数默认版本描述
    type特殊的标线类型,用于标注最大值最小值等。
    MarkLineType:
    - None: 标线类型
    - Min: 最小值。
    - Max: 最大值。
    - Average: 平均值。
    - Median: 中位数。
    name标线名称,将会作为文字显示。label的formatter可通过{b}显示名称,通过{c}显示数值。
    dimension1从哪个维度的数据计算最大最小值等。
    xPosition相对原点的 x 坐标,单位像素。当type为None时有效。
    yPosition相对原点的 y 坐标,单位像素。当type为None时有效。
    xValueX轴上的指定值。当X轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    yValueY轴上的指定值。当Y轴为类目轴时指定值表示类目轴数据的索引,否则为具体的值。当type为None时有效。
    group0分组。当group不为0时,表示这个data是标线的起点或终点,group一致的data组成一条标线。
    zeroPositionfalse是否为坐标系原点。
    startSymbol起始点的图形标记。 SymbolStyle
    endSymbol结束点的图形标记。 SymbolStyle
    lineStyle标线样式。 LineStyle
    label文本样式。可设置position为Start、Middle和End在不同的位置显示文本。 LabelStyle

    MarqueeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.5.0 开始支持

    Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。

    参数默认版本描述
    applyfalsev3.5.0选取框范围是否应用到DataZoom上。当为true时,框选结束后的范围即为DataZoom的选择范围。
    realRectfalsev3.5.0是否选取实际框选区域。当为true时,以鼠标的其实点和结束点间的实际范围作为框选区域。
    areaStylev3.5.0选取框区域填充样式。 AreaStyle
    lineStylev3.5.0选取框区域边框样式。 LineStyle

    MLValue

    class in XCharts.Runtime / 继承自: ChildComponent

    v3.8.0 开始支持

    多样式数值。

    参数默认版本描述
    type
    MLValue.Type:
    - Percent: 百分比形式。
    - Absolute: 绝对值形式。
    - Extra: 额外形式。
    value

    Padding

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: TextPadding

    边距设置。

    参数默认版本描述
    showtrueshow padding. 是否显示。
    top0顶部间距。
    right2f右部间距。
    left2f左边间距。
    bottom0底部间距。

    Parallel

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    ParallelAxis

    class in XCharts.Runtime / 继承自: Axis

    ParallelCoord

    class in XCharts.Runtime / 继承自: CoordSystem, IUpdateRuntimeData, ISerieContainer

    Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.

    参数默认版本描述
    showtrue是否显示直角坐标系网格。
    orient坐标轴朝向。默认为垂直朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1fgrid 组件离容器左侧的距离。
    right0.08fgrid 组件离容器右侧的距离。
    top0.22fgrid 组件离容器上侧的距离。
    bottom0.12fgrid 组件离容器下侧的距离。
    backgroundColor网格背景色,默认透明。

    Pie

    class in XCharts.Runtime / 继承自: Serie

    参数默认版本描述
    radiusGradientfalsev3.8.1是否开启半径方向的渐变效果。

    PolarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    PolarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    极坐标系组件。 极坐标系,可以用于散点图和折线图。每个极坐标系拥有一个角度轴和一个半径轴。

    参数默认版本描述
    showtrue是否显示极坐标。
    center极坐标的中心点。数组的第一项是横坐标,第二项是纵坐标。 当值为0-1之间时表示百分比,设置成百分比时第一项是相对于容器宽度,第二项是相对于容器高度。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    backgroundColor极坐标的背景色,默认透明。
    indicatorLabelOffset30fv3.8.0指示器标签的偏移量。

    Radar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    smoothfalsev3.2.0是否平滑曲线。平滑曲线时不支持区域填充颜色。

    RadarAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    RadarCoord

    class in XCharts.Runtime / 继承自: CoordSystem, ISerieContainer

    Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。

    RadiusAxis

    class in XCharts.Runtime / 继承自: Axis

    极坐标系的径向轴。

    RadiusAxisTheme

    class in XCharts.Runtime / 继承自: BaseAxisTheme

    Ring

    class in XCharts.Runtime / 继承自: Serie

    Scatter

    class in XCharts.Runtime / 继承自: BaseScatter

    SelectStyle

    class in XCharts.Runtime / 继承自: StateStyle, ISerieComponent, ISerieDataComponent

    v3.2.0 开始支持

    选中状态样式。

    Serie

    class in XCharts.Runtime / 继承自: BaseSerie, IComparable / 子类: SerieHandler<T>, Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Pie, Radar, Ring, BaseScatter

    系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。

    参数默认版本描述
    index系列索引。
    showtrue系列是否显示在图表上。
    coordSystem使用的坐标系。
    serieType系列类型。
    serieName系列名称,用于 tooltip 的显示,legend 的图例筛选。
    statev3.2.0系列的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    colorByv3.2.0从主题中取色的策略。
    SerieColorBy:
    - Default: 默认策略。每种Serie都有自己的默认的取颜色策略。比如Line默认是Series策略,Pie默认是Data策略。
    - Serie: 按照系列分配调色盘中的颜色,同一系列中的所有数据都是用相同的颜色。
    - Data: 按照数据项分配调色盘中的颜色,每个数据项都使用不同的颜色。
    stack数据堆叠,同个类目轴上系列配置相同的stack值后,后一个系列的值会在前一个系列的值上相加。
    xAxisIndex0使用X轴的index。
    yAxisIndex0使用Y轴的index。
    radarIndex0雷达图所使用的 radar 组件的 index。
    vesselIndex0水位图所使用的 vessel 组件的 index。
    polarIndex0所使用的 polar 组件的 index。
    singleAxisIndex0所使用的 singleAxis 组件的 index。
    parallelIndex0所使用的 parallel coord 组件的 index。
    gridIndex-1v3.8.0所使用的 layout 组件的 index。 默认为-1不指定index, 当为大于或等于0时, 为第一个layout组件的第index个格子。
    minShow系列所显示数据的最小索引
    maxShow系列所显示数据的最大索引
    maxCache系列中可缓存的最大数据量。默认为0没有限制,大于0时超过指定值会移除旧数据再插入新数据。
    sampleDist0采样的最小像素距离,默认为0时不采样。当两个数据点间的水平距离小于改值时,开启采样,保证两点间的水平距离不小于改值。
    sampleType采样类型。当sampleDist大于0时有效。
    SampleType:
    - Peak: 取峰值。
    - Average: 取过滤点的平均值。
    - Max: 取过滤点的最大值。
    - Min: 取过滤点的最小值。
    - Sum: 取过滤点的和。
    sampleAverage0设定的采样平均值。当sampleType 为 Peak 时,用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。
    lineType折线图样式类型。
    LineType:
    - Normal: 普通折线图。
    - Smooth: 平滑曲线。
    - StepStart: 阶梯线图:当前点。
    - StepMiddle: 阶梯线图:当前点和下一个点的中间。
    - StepEnd: 阶梯线图:下一个拐点。
    smoothLimitfalsev3.4.0是否限制曲线。当为true时,两个连续相同数值的数据间的曲线会限制为不超出数据点,和数据点是平直的。
    barType柱形图类型。
    BarType:
    - Normal: 普通柱形图。
    - Zebra: 斑马柱形图。
    - Capsule: 胶囊柱形图。
    barPercentStackfalse柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true,则就显示成百分比堆叠柱状图。
    barWidth0柱条的宽度,不设时自适应。支持设置成相对于类目宽度的百分比。
    barMaxWidth0v3.5.0柱条的最大宽度,默认为0为不限制最大宽度。支持设置成相对于类目宽度的百分比。
    barGap0.1f不同系列的柱间距离。为百分比(如 '0.3f',表示柱子宽度的 30%) 如果想要两个系列的柱子重叠,可以设置 barGap 为 '-1f'。这在用柱子做背景的时候有用。 在同一坐标系上,此属性会被多个 'bar' 系列共享。此属性应设置于此坐标系中最后一个 'bar' 系列上才会生效,并且是对此坐标系中所有 'bar' 系列生效。
    barZebraWidth4f斑马线的粗细。
    barZebraGap2f斑马线的间距。
    min最小值。
    max最大值。
    minSize0f数据最小值 min 映射的宽度。
    maxSize1f数据最大值 max 映射的宽度。
    startAngle起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    endAngle结束角度。和时钟一样,12点钟位置是0度,顺时针到360度。
    minAngle最小的扇区角度(0-360)。用于防止某个值过小导致扇区太小影响交互。
    clockwisetrue是否顺时针。
    roundCap是否开启圆弧效果。
    splitNumber刻度分割段数。最大可设置36。
    clickOffsettrue鼠标点击时是否开启偏移,一般用在PieChart图表中。
    roseType是否展示成南丁格尔图,通过半径区分数据大小。
    RoseType:
    - None: 不展示成南丁格尔玫瑰图。
    - Radius: 扇区圆心角展现数据的百分比,半径展现数据的大小。
    - Area: 所有扇区圆心角相同,仅通过半径展现数据大小。
    gap间距。
    center中心点。
    radius半径。radius[0]表示内径,radius[1]表示外径。
    minRadius0fv3.8.0最小半径。可用于限制玫瑰图的最小半径。
    showDataDimension数据项里的数据维数。
    showDataName在Editor的inpsector上是否显示name参数
    clipfalse是否裁剪超出坐标系部分的图形。
    ignorefalse是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。
    ignoreValue0忽略数据的默认值。当ignore为true才有效。
    ignoreLineBreakfalse忽略数据时折线是断开还是连接。默认false为连接。
    showAsPositiveNumberfalse将负数数值显示为正数。一般和AxisLabelshowAsPositiveNumber配合使用。仅在折线图和柱状图中有效。
    largetrue是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点:优化后不能自定义设置单个数据项的样式,不能显示Label。
    largeThreshold200开启大数量优化的阈值。只有当开启了large并且数据量大于该阀值时才进入性能模式。
    avoidLabelOverlapfalse在饼图且标签外部显示的情况下,是否启用防止标签重叠策略,默认关闭,在标签拥挤重叠的情况下会挪动各个标签的位置,防止标签间的重叠。
    radarType雷达图类型。
    RadarType:
    - Multiple: 多圈雷达图。此时可一个雷达里绘制多个圈,一个serieData就可组成一个圈(多维数据)。
    - Single: 单圈雷达图。此时一个雷达只能绘制一个圈,多个serieData组成一个圈,数据取自data[1]
    placeHolderfalse占位模式。占位模式时,数据有效但不参与渲染和显示。
    dataSortType组件的数据排序。
    SerieDataSortType:
    - None: 按数据的顺序。
    - Ascending: 升序。
    - Descending: 降序。
    orient组件的朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    align组件水平方向对齐方式。
    Align:
    - Center: 对齐方式。文本,图标,图形等的对齐方式。
    - Left: 对齐方式。文本,图标,图形等的对齐方式。
    - Right: 对齐方式。文本,图标,图形等的对齐方式。
    left组件离容器左侧的距离。
    right组件离容器右侧的距离。
    top组件离容器上侧的距离。
    bottom组件离容器下侧的距离。
    insertDataToHead添加新数据时是在列表的头部还是尾部加入。
    lineStyle线条样式。 LineStyle
    symbol标记的图形。 SerieSymbol
    animation起始动画。 AnimationStyle
    itemStyle图形样式。 ItemStyle
    data系列中的数据内容数组。SerieData可以设置1到n维数据。

    SerieData

    class in XCharts.Runtime / 继承自: ChildComponent

    系列中的一个数据项。可存储数据名和1-n维个数据。

    参数默认版本描述
    index数据项索引。
    name数据项名称。
    id数据项的唯一id。唯一id不是必须设置的。
    parentId父节点id。父节点id不是必须设置的。
    ignore是否忽略数据。当为 true 时,数据不进行绘制。
    selected该数据项是否被选中。
    radius自定义半径。可用在饼图中自定义某个数据项的半径。
    statev3.2.0数据项的默认状态。
    SerieState:
    - Normal: 正常状态。
    - Emphasis: 高亮状态。
    - Blur: 淡出状态。
    - Select: 选中状态。
    - Auto: 自动保持和父节点一致。一般用在SerieData。
    data可指定任意维数的数值列表。

    SerieSymbol

    class in XCharts.Runtime / 继承自: SymbolStyle, ISerieDataComponent

    系列数据项的标记的图形

    参数默认版本描述
    sizeType标记图形的大小获取方式。
    SymbolSizeType:
    - Custom: 自定义大小。
    - FromData: 通过 dataIndex 从数据中获取,再乘以一个比例系数 dataScale 。
    - Function: 通过委托函数获取。
    dataIndex1当sizeType指定为FromData时,指定的数据源索引。
    dataScale1当sizeType指定为FromData时,指定的倍数系数。
    sizeFunction当sizeType指定为Function时,指定的委托函数。
    startIndex开始显示图形标记的索引。
    interval显示图形标记的间隔。0表示显示所有标签,1表示隔一个隔显示一个标签,以此类推。
    forceShowLastfalse是否强制显示最后一个图形标记。
    repeatfalse图形是否重复。
    minSize0fv3.3.0图形最小尺寸。只在sizeType为SymbolSizeType.FromData时有效。
    maxSize0fv3.3.0图形最大尺寸。只在sizeType为SymbolSizeType.FromData时有效。

    SerieTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    lineWidth文本颜色。
    lineSymbolSize折线图的Symbol大小。
    scatterSymbolSize散点图的Symbol大小。
    candlestickColorColor32(235, 84, 84, 255)K线图阳线(涨)填充色
    candlestickColor0Color32(71, 178, 98, 255)K线图阴线(跌)填充色
    candlestickBorderWidth1K线图边框宽度
    candlestickBorderColorColor32(235, 84, 84, 255)K线图阳线(跌)边框色
    candlestickBorderColor0Color32(71, 178, 98, 255)K线图阴线(跌)边框色

    Settings

    class in XCharts.Runtime / 继承自: MainComponent

    全局参数设置组件。一般情况下可使用默认值,当有需要时可进行调整。

    参数默认版本描述
    showtrue
    maxPainter10设定的painter数量。
    reversePainterfalsePainter是否逆序。逆序时index大的serie最先绘制。
    basePainterMaterialBase Pointer 材质球,设置后会影响Axis等。
    seriePainterMaterialSerie Pointer 材质球,设置后会影响所有Serie。
    upperPainterMaterialUpper Pointer 材质球。
    topPainterMaterialTop Pointer 材质球。
    lineSmoothStyle2.5f曲线平滑系数。通过调整平滑系数可以改变曲线的曲率,得到外观稍微有变化的不同曲线。
    lineSmoothness2fWhen the area with gradient is filled, the larger the value, the worse the transition effect.
    lineSegmentDistance3f线段的分割距离。普通折线图的线是由很多线段组成,段数由该数值决定。值越小段数越多,但顶点数也会随之增加。当开启有渐变的区域填充时,数值越大渐变过渡效果越差。
    cicleSmoothness2f圆形的平滑度。数越小圆越平滑,但顶点数也会随之增加。
    legendIconLineWidth2Line类型图例图标的线条宽度。
    legendIconCornerRadius图例圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    axisMaxSplitNumber50v3.1.0坐标轴最大分隔段数。段数过大时可能会生成较多的label节点。

    SimplifiedBar

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedCandlestick

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SimplifiedLine

    class in XCharts.Runtime / 继承自: Serie, INeedSerieContainer, ISimplifiedSerie

    SingleAxis

    class in XCharts.Runtime / 继承自: Axis, IUpdateRuntimeData

    单轴。

    参数默认版本描述
    orient坐标轴朝向。默认为水平朝向。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    left0.1f组件离容器左侧的距离。
    right0.1f组件离容器右侧的距离。
    top0f组件离容器上侧的距离。
    bottom0.2f组件离容器下侧的距离。
    width0坐标轴宽。
    height50坐标轴高。

    SingleAxisCoord

    class in XCharts.Runtime / 继承自: CoordSystem

    StageColor

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    percent结束位置百分比。
    color颜色。

    StateStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: BlurStyle, EmphasisStyle, SelectStyle

    v3.2.0 开始支持

    Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种状态。

    参数默认版本描述
    showtrue是否启用高亮样式。
    label图形文本标签。 LabelStyle
    labelLine图形文本引导线样式。 LabelLine
    itemStyle图形样式。 ItemStyle
    lineStyle折线样式。 LineStyle
    areaStyle区域样式。 AreaStyle
    symbol标记样式。 SerieSymbol

    SubTitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    SymbolStyle

    class in XCharts.Runtime / 继承自: ChildComponent / 子类: SerieSymbol

    系列数据项的标记的图形

    参数默认版本描述
    showtrue是否显示标记。
    type标记类型。
    SymbolType:
    - None: 不显示标记。
    - Custom: 自定义标记。
    - Circle: 圆形。
    - EmptyCircle: 空心圆。
    - Rect: 正方形。可通过设置itemStylecornerRadius变成圆角矩形。
    - EmptyRect: 空心正方形。
    - Triangle: 三角形。
    - EmptyTriangle: 空心三角形。
    - Diamond: 菱形。
    - EmptyDiamond: 空心菱形。
    - Arrow: 箭头。
    - EmptyArrow: 空心箭头。
    - Plus: 加号。
    - Minus: 减号。
    size0f标记的大小。
    gap0图形标记和线条的间隙距离。
    width0f图形的宽。
    height0f图形的高。
    offsetVector2.zero图形的偏移。
    image自定义的标记图形。
    imageType图形填充类型。
    color图形的颜色。

    TextLimit

    class in XCharts.Runtime / 继承自: ChildComponent

    文本字符限制和自适应。当文本长度超过设定的长度时进行裁剪,并将后缀附加在最后。 只在类目轴中有效。

    参数默认版本描述
    enablefalse是否启用文本自适应。 [default:true]
    maxWidth0Clipping occurs when the width of the text is greater than this value.
    gap1两边留白像素距离。 [default:10f]
    suffix长度超出时的后缀。 [default: "..."]

    TextPadding

    class in XCharts.Runtime / 继承自: Padding

    文本的内边距设置。

    TextStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    文本的相关设置。

    参数默认版本描述
    showtrue文本的相关设置。
    font文本字体。 [default: null]
    autoWrapfalse是否自动换行。
    autoAligntrue文本是否让系统自动选对齐方式。为false时才会用alignment。
    rotate0文本的旋转。 [default: 0f]
    autoColorfalse是否开启自动颜色。当开启时,会自动设置颜色。
    color文本的颜色。 [default: Color.clear]
    fontSize0文本字体大小。 [default: 18]
    fontStyle文本字体的风格。 [default: FontStyle.Normal]
    lineSpacing1f行间距。 [default: 1f]
    alignment对齐方式。
    tMPFontTextMeshPro字体。
    tMPFontStyle
    tMPAlignment
    tMPSpriteAssetv3.1.0

    Theme

    class in XCharts.Runtime / 继承自: ScriptableObject

    主题相关配置。

    参数默认版本描述
    themeType主题类型。
    ThemeType:
    - Default: 默认主题。
    - Light: 亮主题。
    - Dark: 暗主题。
    - Custom: 自定义主题。
    themeName主题名称。
    font主题字体。
    tMPFont主题字体。
    contrastColor对比色。
    backgroundColor背景颜色。
    colorPalette调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
    commonComponentTheme
    titleTitleTheme
    subTitleSubTitleTheme
    legendLegendTheme
    axisAxisTheme
    tooltipTooltipTheme
    dataZoomDataZoomTheme
    visualMapVisualMapTheme
    serieSerieTheme

    ThemeStyle

    class in XCharts.Runtime / 继承自: ChildComponent

    主题相关配置。

    参数默认版本描述
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse是否透明背景颜色。当设置为true时,不绘制背景颜色。
    enableCustomThemefalse是否自定义主题颜色。当设置为true时,可以用‘sync color to custom’同步主题的颜色到自定义颜色。也可以手动设置。
    customFont
    customBackgroundColor自定义的背景颜色。
    customColorPalette

    Title

    class in XCharts.Runtime / 继承自: MainComponent, IPropertyChanged

    标题组件,包含主标题和副标题。

    参数默认版本描述
    showtrue是否显示标题组件。
    text主标题文本,支持使用 \n 换行。
    subText副标题文本,支持使用 \n 换行。
    labelStyle主标题文本样式。 LabelStyle
    subLabelStyle副标题文本样式。 LabelStyle
    itemGap0主副标题之间的间距。
    location标题显示位置。 Location

    TitleStyle

    class in XCharts.Runtime / 继承自: LabelStyle, ISerieDataComponent, ISerieComponent

    标题相关设置。

    TitleTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    Tooltip

    class in XCharts.Runtime / 继承自: MainComponent

    提示框组件。

    参数默认版本描述
    showtrue是否显示提示框组件。
    type提示框指示器类型。
    Tooltip.Type:
    - Line: 直线指示器
    - Shadow: 阴影指示器
    - None: 无指示器
    - Corss: 十字准星指示器。坐标轴显示Label和交叉线。
    - Auto: 根据serie的类型自动选择显示指示器。
    trigger触发类型。
    Tooltip.Trigger:
    - Item: 数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
    - Axis: 坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用。
    - None: 什么都不触发。
    - Auto: 根据serie的类型自动选择触发类型。
    positionv3.3.0显示位置类型。
    Tooltip.Position:
    - Auto: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。
    - Custom: 自定义。完全自定义显示位置(x,y)。
    - FixedX: 只固定坐标X。Y跟随鼠标位置。
    - FixedY:
    itemFormatter提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用
    titleFormatter提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。
    {.}为当前所指示或index为0的serie的对应颜色的圆点。
    {a}为当前所指示或index为0的serie的系列名name。
    {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。
    {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。
    {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。
    {e}为当前所指示或index为0的serie的数据项serieData的name。
    {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。
    {f}为数据总和。
    {g}为数据总个数。
    {.1}表示指定index为1的serie对应颜色的圆点。
    {a1}、{b1}、{c1}中的1表示指定index为1的serie。
    {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。
    {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。
    {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。
    {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。
    示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
    markerserie的符号标志。
    fixedWidth0固定宽度。比 minWidth 优先。
    fixedHeight0固定高度。比 minHeight 优先。
    minWidth0最小宽度。如若 fixedWidth 设有值,优先取 fixedWidth。
    minHeight0最小高度。如若 fixedHeight 设有值,优先取 fixedHeight。
    numericFormatter标准数字和日期格式字符串。用于将Double数值或DateTime日期格式化显示为字符串。numericFormatter用来作为Double.ToString()或DateTime.ToString()的参数。
    数字格式使用Axx的形式:A是格式说明符的单字符,支持C货币、D十进制、E指数、F定点数、G常规、N数字、P百分比、R往返、X十六进制的。xx是精度说明,从0-99。如:F1, E2
    日期格式常见的格式:yyyy年,MM月,dd日,HH时,mm分,ss秒,fff毫秒。如:yyyy-MM-dd HH:mm:ss
    数值格式化参考:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
    日期格式化参考:https://learn.microsoft.com/zh-cn/dotnet/standard/base-types/standard-date-and-time-format-strings
    paddingLeftRight10左右边距。
    paddingTopBottom10上下边距。
    ignoreDataShowfalse是否显示忽略数据在tooltip上。
    ignoreDataDefaultContent被忽略数据的默认显示字符信息。如果设置为空,则表示完全不显示忽略数据。
    showContenttrue是否显示提示框浮层,默认显示。只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为false。
    alwayShowContentfalse是否触发后一直显示提示框浮层。
    offsetVector2(18f, -25f)提示框相对于鼠标位置的偏移。
    backgroundImage提示框的背景图片。
    backgroundType提示框的背景图片显示类型。
    backgroundColor提示框的背景颜色。
    borderWidth2f边框线宽。
    fixedX0f固定X位置的坐标。
    fixedY0.7f固定Y位置的坐标。
    titleHeight25f标题文本的高。
    itemHeight25f数据项文本的高。
    borderColorColor32(230, 230, 230, 255)边框颜色。
    lineStyle指示线样式。 LineStyle
    titleLabelStyle标题的文本样式。 LabelStyle
    contentLabelStyles内容部分的文本样式列表。和列一一对应。

    TooltipTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    lineType坐标轴线类型。
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    lineWidth1f指示线线宽。
    lineColor指示线颜色。
    areaColor区域指示的颜色。
    labelTextColor十字指示器坐标轴标签的文本颜色。
    labelBackgroundColor十字指示器坐标轴标签的背景颜色。

    UIComponentTheme

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    sharedTheme主题配置。 Theme
    transparentBackgroundfalse

    VisualMap

    class in XCharts.Runtime / 继承自: MainComponent

    视觉映射组件。用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。

    参数默认版本描述
    showtrue组件是否生效。
    showUIfalse是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。
    type组件类型。
    VisualMap.Type:
    - Continuous: 连续型。
    - Piecewise: 分段型。
    selectedMode选择模式。
    VisualMap.SelectedMode:
    - Multiple: 多选。
    - Single: 单选。
    serieIndex0影响的serie索引。
    min0范围最小值
    max0范围最大值
    range指定手柄对应数值的位置。range 应在[min,max]范围内。
    text两端的文本,如 ['High', 'Low']
    textGap两端文字主体之间的距离,单位为px。
    splitNumber5对于连续型数据,自动平均切分成几段,默认为0时自动匹配inRange颜色列表大小。
    calculablefalse是否显示拖拽用的手柄(手柄能拖拽调整选中范围)。
    realtimetrue拖拽时,是否实时更新。
    itemWidth20f图形的宽度,即颜色条的宽度。
    itemHeight140f图形的高度,即颜色条的高度。
    itemGap10f每个图元之间的间隔距离。
    borderWidth0边框线宽,单位px。
    dimension-1Starting at 1, the default is 0 to take the last dimension in data.
    autoMinMaxtrueAutomatically set min, Max value 自动设置min,max的值
    orient布局方式是横还是竖。
    Orient:
    - Horizonal: 水平
    - Vertical: 垂直
    location组件显示的位置。 Location
    workOnLinetrue组件是否对LineChart的LineStyle有效。
    workOnAreafalse组件是否对LineChart的AreaStyle有效。
    outOfRange定义 在选中范围外 的视觉颜色。
    inRange分段式每一段的相关配置。

    VisualMapRange

    class in XCharts.Runtime / 继承自: ChildComponent

    参数默认版本描述
    min范围最小值
    max范围最大值
    label文字描述
    color颜色

    VisualMapTheme

    class in XCharts.Runtime / 继承自: ComponentTheme

    参数默认版本描述
    borderWidth边框线宽。
    borderColor边框颜色。
    backgroundColor背景颜色。
    triangeLen20f可视化组件的调节三角形边长。

    XAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 x 轴。

    XCResourcesImporter

    class in XCharts.Runtime

    XCSettings

    class in XCharts.Runtime / 继承自: ScriptableObject

    参数默认版本描述
    langLang
    font
    tMPFont
    fontSizeLv128一级字体大小。
    fontSizeLv224
    fontSizeLv320
    fontSizeLv418
    axisLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisLineWidth0.8f
    axisSplitLineType
    LineStyle.Type:
    - Solid: 实线
    - Dashed: 虚线
    - Dotted: 点线
    - DashDot: 点划线
    - DashDotDot: 双点划线
    - None: 双点划线
    axisSplitLineWidth0.8f
    axisTickWidth0.8f
    axisTickLength5f
    gaugeAxisLineWidth15f
    gaugeAxisSplitLineWidth0.8f
    gaugeAxisSplitLineLength15f
    gaugeAxisTickWidth0.8f
    gaugeAxisTickLength5f
    tootipLineWidth0.8f
    dataZoomBorderWidth0.5f
    dataZoomDataLineWidth0.5f
    visualMapBorderWidth0f
    serieLineWidth1.8f
    serieLineSymbolSize5f
    serieScatterSymbolSize20f
    serieSelectedRate1.3f
    serieCandlestickBorderWidth1f
    editorShowAllListDatafalse
    maxPainter10
    lineSmoothStyle3f
    lineSmoothness2f
    lineSegmentDistance3f
    cicleSmoothness2f
    visualMapTriangeLen20f
    customThemes

    YAxis

    class in XCharts.Runtime / 继承自: Axis

    直角坐标系 grid 中的 y 轴。

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/extra/index.html b/en/docs/v3.9.0/extra/index.html index ffb02066..ed485177 100644 --- a/en/docs/v3.9.0/extra/index.html +++ b/en/docs/v3.9.0/extra/index.html @@ -14,13 +14,13 @@ 扩展图表 | XCharts - - + +
    Version: v3.9.0

    扩展图表

    XCharts的扩展图表。

    支持的扩展图表

    扩展图表如何导入到XCharts-Demo

    Pie3DChart 为例:

    1. 购买图表:购买扩展图表后,Github找到仓库 XCharts-Pie3DChart(私有仓库,购买后加入Team才可见)
    2. 下载图表:选择和XCharts最接近的版本
    3. 导入图表:将下载好的XCharts-Pie3DChart目录覆盖到XCharts-Demo项目中的Packages/XCharts-Pie3DChart
    4. 下载图表Demo:Github找到仓库 XCharts-Pie3DChart-Demo并下载
    5. 导入图表Demo:将下载好的XCharts-Pie3DChart-Demo目录覆盖到XCharts-Demo项目中的Assets/XChartsExtensionDemo/XCharts-Pie3DChart-Demo

    扩展图表如何导入自己的项目中

    Pie3DChart 为例:

    1. 先确保项目中已导入XCharts
    2. 再导入XCharts-Pie3DChart即可,不需要导入XCharts-Pie3DChart-Demo(如果要导入的话需要Unity版本接近2019.4.39f1)
    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/faq/index.html b/en/docs/v3.9.0/faq/index.html index a452286e..28a0c3d3 100644 --- a/en/docs/v3.9.0/faq/index.html +++ b/en/docs/v3.9.0/faq/index.html @@ -14,8 +14,8 @@ 常见问题 | XCharts - - + +
    @@ -50,7 +50,7 @@ QA 29:如何修改Serie的Symbol的颜色?
    QA 30:导入或更新XCharts时TMP报错如何处理?
    QA 31:支持空数据吗?如何实现折线图断开的效果?

    如何调整坐标轴与背景的边距

    答:调整Grid组件,可调整上下左右边距。

    如何让初始动画重新播放

    答:调用chart.AnimationReset()接口。

    如何自定义折线图饼图的颜色

    答:通过ThemecolorPalette调整,或者部分Serie下的LineStyleItemStyle

    如何给坐标轴上的文本加上单位

    答:通过formatternumericFormatter参数,在LegendAxisAxisLabelTooltopSerieLabel都提供该参数的配置。

    如何让柱形图的柱子堆叠显示

    答:设置Serie下的stackstack相同的serie会堆叠显示在一个柱子上。

    如何让柱形图的柱子同柱但不重叠

    答:设置Serie下的barGap-1stack为空。

    如何调整柱形图的柱子宽度和间距

    答:调整Serie下的barWidthbarGap,多个serie时最后一个seriebarWidthbarGap有效。

    如何调整柱形图单个柱子的颜色

    答:可通过调整单个Data下的ItemStyle调整,也可以通过两个serie同柱不堆叠来实现,通过设置数据项为0来达到类似效果。

    如何调整图表的对齐方式

    答:调整RectTransform的锚点,和UGUI的其他组件的用法一致。

    可以显示超过1000以上的大数据吗

    答:可以。但UGUI对单个Graphic限制65000个顶点,所以太多的数据不一定能显示完全。可通过设置采样距离sampleDist开启采样简化过密曲线。也可以通过设置一些参数来减少图表的顶点数有助于显示更多数据。如缩小图表的尺寸,关闭或减少坐标轴的客户端绘制,关闭Seriesymbollabel显示等。折线图的普通线图Normal比平滑线图Smooth占用顶点数更少。1.5.0以上版本可以设置largelargeThreshold参数来开启性能模式。

    折线图可以画虚线点线点划线吗

    答:可以。通过Serie下的lineType选择线条样式。当要显示的数据过多(成千以上)数据间过密时建议使用Normal或者Step样式。

    如何限定Y轴的值范围

    答:设置Axis下的minMaxTypeCustom,自定义minmax

    如何自定义数值轴刻度大小

    答:默认时通过Axis下的splitNumer进行自动划分。也可以设置interval自定义刻度大小。

    如何在数据项顶上显示文本

    答:通过设置Serie下的Label。3.0版本需要先添加LabelStyle组件。

    如何给数据项自定义图标

    答:通过设置Seriedata下的数据项可单独设置icon相关参数。

    锯齿太严重如何让图表更顺滑

    答:开启抗锯齿设置(在Unity里设置)。调整UI渲染模式为Camera模式,开启MSAA,设置4倍或更高抗锯齿。

    为什么鼠标移上图表Tooltip不显示

    答:确认Tooltip是否开启;确认父节点是否关闭了鼠标事件。

    如何取消Tooltip的竖线

    答:设置TooltiptypeNone。或者调整lineStyle的参数。

    如何自定义Tooltip的显示内容

    答:自定义总的内容可以通过Tooltipformatter。如果只是想调整所有的serie的显示格式可以用itemFormattertitleFormatter结合。如果想每个serie的显示格式不一样,可以定制serieitemStyle里的tooltipFormatter。具体的用法请查阅XCharts配置项手册

    如何让Y轴显示多位小数

    答:设置Axis下的AxisLabel中的formatter{value:f1}{value:f2}1.5.0及以上版本通过numericFormatter设置。

    如何用代码动态更新数据

    答:请查阅Example下的代码,Example13_LineSimple.cs就是一个简单添加数据构建折线图的例子,其他Demo也都是通过代码控制不同的组件实现不同的功能,相关API请查看文档:XChartsAPI接口

    如何显示图例为什么有时候图例无法显示

    答:首先,你的serie里的name需有值不为空。然后开启Legend显示,里面的data可以默认为空,表示显示所有的图例。如果你只想显示部分serie的图例,在data中填入要显示的图例的name即可。如果data中的值都不是系列的name,那图例就不会显示。

    如何做成预设

    答:做成prefab前,执行一下Rebuild Chart Object重新刷新节点,避免有冗余的节点存在。

    如何在图表上画点画线等自定义内容

    答:XCharts有自定义绘制回调onCustomDraw,具体可参考Example12_CustomDrawing.cs

    如何实现心电图类似的数据移动效果

    答:参考Example目录下的Example_Dynamic.cs。主要通过设置maxCache参数实现。axisserie都设置相同的maxCachemaxCache可固定数据个数,当数据超过设定时会先删除第一个在添加新数据,实现数据移动效果。

    如何使用背景组件有什么条件限制

    答:设置background组件的showtrue

    区域折线图在用半透明颜色时有时候会一条叠加的线

    答:这是区域折线图绘制的bug。可以用浅的不透的颜色替代半透明颜色。

    Mesh_cannot_have_more_than_65000_vertices

    答:这是UGUI对单个Graphic的顶点数限制。XCharts是将图形绘制在单个Graphic上,所以也会有这个限制。解决的办法可以参考:QA 10:可以显示超过1000以上的大数据吗?

    为什么serie里设置的参数运行后又被重置了

    答:检测下代码里是否调用了RemoveData()并重新添加Serie了。如果想保留Serie的配置可以只ClearData(),然后重新添加数据。

    如何修改Serie的Symbol的颜色

    答:Symbol 的颜色是使用的 ItemStylecolor

    导入或更新XCharts时TMP报错怎么办

    答:XCharts默认时不开启TMP,所以asmdef上没有TMP的引用。当本地开启TMP后再更新XCharts可能会出现这个问题。可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    支持空数据吗如何实现折线图断开的效果

    答:Seriedatadouble类型,所以无法表示空数据。可通过开启Serieignore和指定ignoreValue来达到空数据的效果。也可以每个SerieData设置ignore参数。忽略数据后断开还是连接可设置ignoreLineBreak参数。

    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/funnel/index.html b/en/docs/v3.9.0/funnel/index.html index 1c054d18..3de92988 100644 --- a/en/docs/v3.9.0/funnel/index.html +++ b/en/docs/v3.9.0/funnel/index.html @@ -14,14 +14,14 @@ FunnelChart 漏斗图 | XCharts - - + +
    Version: v3.9.0

    FunnelChart 漏斗图

    XCharts的付费扩展图表 - 漏斗图。

    截图

    Funnel01Funnel02Funnel03Funnel04Funnel05
    Funnel07Funnel08Funnel09

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.3.0

    • (2022.09.24) 增加DynamicHeight参数支持配置是否映射为动态高度
    • (2022.09.24) 增加RectEnd参数支持配置是否以矩形结束

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    FunnelChart

    class in XCharts.Runtime.Funnels / 继承自: BaseChart

    配置项手册

    Funnel

    class in XCharts.Runtime.Funnels / 继承自: Serie

    参数默认版本描述
    rectEndv3.3.0是否最后以矩形结束。默认false以三角形结束。
    dynamicHeightv3.3.0是否映射为动态高度。当设置为 'true' 时,漏斗图每个条目(图表元素)的高度和 y 轴字段对应数值成正比。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/gantt/index.html b/en/docs/v3.9.0/gantt/index.html index 1b349b78..37a44276 100644 --- a/en/docs/v3.9.0/gantt/index.html +++ b/en/docs/v3.9.0/gantt/index.html @@ -14,14 +14,14 @@ GanttChart 甘特图 | XCharts - - + +
    Version: v3.9.0

    GanttChart 甘特图

    XCharts付费扩展图表 - 甘特图。

    截图

    Gantt01Gantt02Gantt03Gantt04Gantt05
    Gantt07

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.08.11) 增加鼠标事件支持

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    GanttChart

    class in XCharts.Runtime.Gantts / 继承自: BaseChart

    API版本描述
    GetSeriesMinMaxValue()public override void GetSeriesMinMaxValue(Axis axis, int axisIndex, out double tempMinValue, out double tempMaxValue)
    InitAxisRuntimeData()public override void InitAxisRuntimeData(Axis axis)
    OnBeginDrag()public override void OnBeginDrag(PointerEventData eventData)
    OnDrag()public override void OnDrag(PointerEventData eventData)
    OnEndDrag()public override void OnEndDrag(PointerEventData eventData)
    OnPointerClick()public override void OnPointerClick(PointerEventData eventData)

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    配置项手册

    Gantt

    class in XCharts.Runtime.Gantts / 继承自: Serie

    参数默认版本描述
    disableDrag

    GanttStyle

    class in XCharts.Runtime.Gantts / 继承自: MainComponent

    参数默认版本描述
    showtrue
    ganttType甘特图类型。
    GanttType:
    - Monomial: 单项甘特图。每个数据项都是单独的一条进度。
    - Multinomial: 多项甘特图。每个数据项只是一条进度里的一段。
    inverttrue
    dragEnabletrue是否可以拖拽甘特图。
    dragSensitivity1f拖拽的灵敏度。
    dragRangeMin0拖拽最小值限制。
    dragRangeMax0拖拽最大值限制。
    autoAdsorbAlignlinetrue拖拽结束后是否自动吸附到对齐线。
    alignlineDataIndex1显示对齐线的数据项索引。
    showAlignlineRange10f显示对齐线的范围。
    aliginLine对齐线样式。
    splitArea
    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/gauge/index.html b/en/docs/v3.9.0/gauge/index.html index bd6c34a0..cf8a3fbc 100644 --- a/en/docs/v3.9.0/gauge/index.html +++ b/en/docs/v3.9.0/gauge/index.html @@ -14,14 +14,14 @@ GaugeChart 仪表盘 | XCharts - - + +
    Version: v3.9.0

    GaugeChart 仪表盘

    XCharts付费扩展图表 - 仪表盘。

    截图

    Gauge01Gauge02Gauge03Gauge04Gauge05
    Gauge07Gauge08Gauge09Gauge10Gauge11
    Gauge12Gauge13Gauge14

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.17) 增加GaugerangeDataMode可设置是否使用范围数据模式
    • (2023.03.17) 增加Gaugeloop可设置是否循环数据,用于时钟甘特图
    • (2023.03.17) 增加GaugePointervalue可设置指针位置
    • (2023.03.17) 增加Clock时钟仪表盘支持
    • (2023.03.13) 增加GaugePointernowTime可设置指针指向当前时间
    • (2023.03.13) 增加GaugePointervalue可设置当前指针位置
    • (2023.03.13) 增加Clock类型的甘特图支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.10.05) 增加GaugeAxisLinestageGradient支持设置阶段渐变色过渡

    v3.3.0

    • (2022.09.28) 发布v3.3.0版本
    • (2022.08.26) 修复Pointer在普通模式下不显示的问题
    • (2022.08.25) 增加label颜色跟随数值变化的支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.15) 支持渐变

    API

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    ClearComponentDirty()public override void ClearComponentDirty()
    ClearVerticesDirty()public override void ClearVerticesDirty()
    GetPointerColor()public Color32 GetPointerColor(ThemeStyle theme, int colorIndex, float angle, Color32 dataColor)

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    API版本描述
    GetPosition()public Vector3 GetPosition(Vector3 center, float radius)

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    API版本描述
    AddLabelObject()public void AddLabelObject(ChartLabel label)
    ClearLabelObject()public void ClearLabelObject()
    GaugeAxis()public GaugeAxis()
    GetLabelObject()public ChartLabel GetLabelObject(int index)
    GetStageColor()public Color32 GetStageColor(float rate)
    GetStageColorByAngle()public Color32 GetStageColorByAngle(float angle)
    SetLabelObjectActive()public void SetLabelObjectActive(bool flag)
    SetLabelObjectPosition()public void SetLabelObjectPosition(int index, Vector3 pos)
    SetLabelObjectText()public void SetLabelObjectText(int index, string text)

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    API版本描述
    GaugeAxisLine()public GaugeAxisLine(bool show) : base(show)

    GaugeChart

    class in XCharts.Runtime.Gauges / 继承自: BaseChart

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    配置项手册

    Gauge

    class in XCharts.Runtime.Gauges / 继承自: Serie

    参数默认版本描述
    rangeDataModefalsev3.6.0数值是否为范围数据。启用该模式后,data中的每个值都是一个数组,数组中的第一个值为起始值,第二个值为结束值。指针只有一个,数据绘制为环形。
    loopfalsev3.6.0数值是否循环。可用在钟表图。
    gaugeAxis仪表盘轴线。 GaugeAxis
    gaugePointer仪表盘指针。 GaugePointer
    gaugeAnchor仪表盘指针固定点。 GaugeAnchor

    GaugeAnchor

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    参数默认版本描述
    showtrue是否显示指针固定点。
    showAbovetrue固定点是否显示在指针上面。
    type标记类型。
    size6标记的大小。
    gap0图形标记和线条的间隙距离。
    image自定义的标记图形。
    imageType
    offsetCenterVector2(0, 0)相对于中心的偏移位置。
    itemStyle图形样式。

    GaugeAxis

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘轴线相关设置。

    参数默认版本描述
    showtrue
    type
    GaugeAxisType:
    - None: 仪表盘类型
    - Section: 分段
    - Progress: 进度
    overlaptrue
    distance
    axisLine仪表盘轴线样式。 GaugeAxisLine
    splitLine分割线。
    axisTick刻度。
    axisLabel文本标签。
    axisLabelText自定义Label的内容。

    GaugeAxisLine

    class in XCharts.Runtime.Gauges / 继承自: BaseLine

    参数默认版本描述
    backgroundColorColor32(230, 235, 248, 255)进度条背景颜色。
    stageColor阶段颜色。
    stageGradientv3.4.0阶段颜色是否渐变过渡。

    GaugePointer

    class in XCharts.Runtime.Gauges / 继承自: ChildComponent

    仪表盘指针相关设置。

    参数默认版本描述
    showtrue是否显示指针。
    length0.6f指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backLength0.05f指针后凸出的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    backExtraLength0.05f指针后额外的长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topLeftLength0f指针顶部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    topRightLength0f指针顶部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomLeftLength0.025f指针底部左边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    bottomRightLength0.025f指针底部右边凸起长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。
    distance
    roundCap
    autoColortrue
    color
    toColor
    cornerRadius圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。
    valuev3.6.0指针的值。当为时钟仪表盘时,可通过指定value值来控制指针的位置。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/inputsystem/index.html b/en/docs/v3.9.0/inputsystem/index.html index f6f1770c..6fbe9dc1 100644 --- a/en/docs/v3.9.0/inputsystem/index.html +++ b/en/docs/v3.9.0/inputsystem/index.html @@ -14,13 +14,13 @@ 切换到新的输入系统Input System | XCharts - - + +
    Version: v3.9.0

    教程:切换到新的输入系统Input System

    1. 按图示修改项目配置中输入模式为 Input System

    Project Settings

    2. 使用 Unity Package Manager 安装 Input System

    UPM

    3. 选中场景中 EventSystem 游戏对象,更换输入模组

    Input Module

    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/lang/articles/ui/ui_statistic/index.html b/en/docs/v3.9.0/lang/articles/ui/ui_statistic/index.html index 2f2ff6ac..56994d87 100644 --- a/en/docs/v3.9.0/lang/articles/ui/ui_statistic/index.html +++ b/en/docs/v3.9.0/lang/articles/ui/ui_statistic/index.html @@ -14,13 +14,13 @@ UIStatistic 统计数值 | XCharts - - + +
    Version: v3.9.0

    UIStatistic 统计数值

    statistic

    统计数值组件。用于展示统计数值。

    何时使用:

    • 当需要突出某个或某组数字时。
    • 当需要展示带描述的统计类数据时使用。

    支持的功能有:

    • 常规数值
    • 倒计时
    • 添加图标
    • 变更动画
    • 事件回调
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/lang/articles/ui/ui_table/index.html b/en/docs/v3.9.0/lang/articles/ui/ui_table/index.html index 7e253d43..5548fb10 100644 --- a/en/docs/v3.9.0/lang/articles/ui/ui_table/index.html +++ b/en/docs/v3.9.0/lang/articles/ui/ui_table/index.html @@ -14,13 +14,13 @@ UITable 表格 | XCharts - - + +
    Version: v3.9.0

    UITable 表格

    table

    表格组件。可用于展示行列数据。

    支持的功能有:

    • 显示或隐藏列表头
    • 显示或隐藏行表头
    • 任意调整行列宽高
    • 支持行号
    • 支持选中
    • 支持分割线
    • 支持滚动和拖拽
    • 支持滚动条
    • 支持图标图片
    • 支持轮播
    • 排序(暂不支持)
    • 分页(暂不支持)
    • 查找(暂不支持)
    • 过滤(暂不支持)
    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/liquid/index.html b/en/docs/v3.9.0/liquid/index.html index 266cb364..5879c5d7 100644 --- a/en/docs/v3.9.0/liquid/index.html +++ b/en/docs/v3.9.0/liquid/index.html @@ -14,14 +14,14 @@ LiquidChart 水位图 | XCharts - - + +
    Version: v3.9.0

    LiquidChart 水位图

    XCharts的付费扩展图表 - 水位图。

    截图

    Liquid01Liquid02Liquid03Liquid04Liquid05
    Liquid07Liquid08

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)

    LiquidChart

    class in XCharts.Runtime.Liquids / 继承自: BaseChart

    水位图

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent,ISerieContainer,IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    API版本描述
    IsPointerEnter()public bool IsPointerEnter()
    UpdateRuntimeData()public void UpdateRuntimeData(BaseChart chart)

    VesselContext

    class in XCharts.Runtime.Liquids / 继承自: MainComponentContext

    配置项手册

    Liquid

    class in XCharts.Runtime.Liquids / 继承自: Serie, INeedSerieContainer

    参数默认版本描述
    waveHeight10f波高。
    waveLength20f波长。为0-1小数时指直线的百分比。
    waveSpeed5f波速。正数时左移,负数时右移。
    waveOffset0f波偏移。

    Vessel

    class in XCharts.Runtime.Liquids / 继承自: MainComponent, ISerieContainer, IUpdateRuntimeData

    容器组件。 一般用于LiquidChart。一个Chart中可以有多个Vessel,Serie中用vesselIndex来对应。

    参数默认版本描述
    showtrue是否显示容器组件。 [defaut: true]
    shape容器形状。 [default: Shape.Circle]
    Vessel.Shape:
    - Circle: 圆形
    - Rect: 正方形。
    - Triangle: 三角形。
    - Diamond: 菱形。
    shapeWidth5f容器厚度。 [defaut: 5f]
    gap5f间隙。容器和液体的间隙。 [defaut: 10f]
    colorColor32(70, 70, 240, 255)容器颜色。默认和serie一致。
    backgroundColor背景色,默认透明。 [default: Color.clear]
    autoColortrue是否自动颜色。为true时颜色会和serie一致。 [default: true]
    centerWhen value between 0 and 1 represents a percentage relative to the chart.
    radius0.35fWhen value between 0 and 1 represents a percentage relative to the chart.
    smoothness1f水波平滑度。 [default: 1f]
    width0.5fWhen value between 0 and 1 represents a percentage relative to the chart.
    height0.7fWhen value between 0 and 1 represents a percentage relative to the chart.
    borderWidth0f内壁边框。
    borderColorColor32(70, 70, 240, 255)容器内壁边框颜色。默认和serie一致。
    cornerRadius容器的圆角半径。用数组分别指定4个圆角半径(顺时针左上,右上,右下,左下)。shape为Rect时有效。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/pictorialbar/index.html b/en/docs/v3.9.0/pictorialbar/index.html index 411cfb72..39f0520f 100644 --- a/en/docs/v3.9.0/pictorialbar/index.html +++ b/en/docs/v3.9.0/pictorialbar/index.html @@ -14,14 +14,14 @@ PictorialBarChart 象形柱图 | XCharts - - + +
    Version: v3.9.0

    PictorialBarChart 象形柱图

    XCharts付费扩展图表 - 象形柱图。

    截图

    PictorialBar01PictorialBar02PictorialBar03PictorialBar04

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.8.1

    • (2023.09.26) 修复PictorialBar动态添加数据时不刷新的问题

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.29) 增加SeriebarMaxWidth的支持
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0
    • (2022.08.09) 增加colorBy参数支持
    • (2022.08.09) 修复label异常问题 (#1)

    API

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie,INeedSerieContainer

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static PictorialBar ConvertSerie(Serie serie)

    PictorialBarChart

    class in XCharts.Runtime.PictorialBars / 继承自: BaseChart

    配置项手册

    PictorialBar

    class in XCharts.Runtime.PictorialBars / 继承自: Serie, INeedSerieContainer

    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/pie3d/index.html b/en/docs/v3.9.0/pie3d/index.html index 2e9dc418..683ad9de 100644 --- a/en/docs/v3.9.0/pie3d/index.html +++ b/en/docs/v3.9.0/pie3d/index.html @@ -14,14 +14,14 @@ Pie3DChart 3D饼图 | XCharts - - + +
    Version: v3.9.0

    Pie3DChart 3D饼图

    XCharts的付费扩展图表 - 3D饼图。

    截图

    Pie3D01Pie3D02Pie3D03Pie3D04Pie3D05
    Pie3D07Pie3D08

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.11.30) 优化SerieData只有一个时不绘制侧边
    • (2023.11.30) 增加SerieData可单独添加Label的支持

    v3.8.1

    • (2023.09.14) 修复SerieData的数据为全为0时图表显示异常的问题
    • (2023.09.08) 增加SerieDataradius可自定义各饼块高度的支持

    v3.8.0

    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.2

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.1

    • (2023.05.21) 增加avoidLabelOverlap支持

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.4.0

    • (2022.11.01) 支持AnimationunscaledTime
    • (2022.11.01) 同步XCharts v3.4.0

    v3.3.0

    • (2022.09.02) 增加onPointerEnterPie回调支持

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static Serie AddDefaultSerie(BaseChart chart, string serieName)
    ConvertSerie()public static Pie3D ConvertSerie(Serie serie)

    Pie3DChart

    class in XCharts.Runtime.Pie3Ds / 继承自: BaseChart

    3D饼图。

    Pie3DSlice

    class in XCharts.Runtime.Pie3Ds

    3D饼图的切块。

    API版本描述
    Contains()public bool Contains(float angle)
    IsInPolygon()public bool IsInPolygon(Vector2 p)
    IsInSidePolygon()public bool IsInSidePolygon(Vector2 p)
    IsInStartOrEndSide()public bool IsInStartOrEndSide(Vector2 p)
    IsInTopPolygon()public bool IsInTopPolygon(Vector2 p)
    Pie3DSlice()public Pie3DSlice()
    UpdateValue()public void UpdateValue(int index, float start, float end, bool startSide, bool endSide, float maxHig)

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    配置项手册

    Pie3D

    class in XCharts.Runtime.Pie3Ds / 继承自: Serie

    参数默认版本描述
    pie3DStylePie3DStyle

    Pie3DStyle

    class in XCharts.Runtime.Pie3Ds / 继承自: ChildComponent

    3D饼图样式。

    参数默认版本描述
    showtrue
    ellipseMinorAxis0.65f椭圆的短轴长度。当为0-1的浮点数时为长轴的百分比。
    pieMaxHeight20f饼图厚度。
    pieAutoHeightfalse是否自动根据比例计算厚度。
    selectedOffsetVector2(0.1f, 0.5f)The offset of selected pie slice. 被选中状态的饼图块的额外偏移。
    peripherySideColorRate0.8f饼图切块的侧面颜色。
    startSideColorRate0.7f饼图切块的起始面颜色(顺时针)。
    endSideColorRate0.65f饼图切块的结束面颜色(顺时针)。
    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/pyramid/index.html b/en/docs/v3.9.0/pyramid/index.html index c843cc06..41580a6e 100644 --- a/en/docs/v3.9.0/pyramid/index.html +++ b/en/docs/v3.9.0/pyramid/index.html @@ -14,14 +14,14 @@ PyramidChart 金字塔 | XCharts - - + +
    Version: v3.9.0

    PyramidChart 金字塔

    XCharts付费扩展图表 - 金字塔。

    截图

    Pyramid01Pyramid02Pyramid03

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.21) 增加Tooltip支持
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    PyramidChart

    class in XCharts.Runtime.Pyramids / 继承自: BaseChart

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    配置项手册

    Pyramid

    class in XCharts.Runtime.Pyramids / 继承自: Serie

    参数默认版本描述
    pyramidStylePyramidStyle

    PyramidStyle

    class in XCharts.Runtime.Pyramids / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    3Dtrue
    drawToptrue
    bottomPointRate0.5f3D模式下,底部中点占金字塔宽度的比例
    leftPointRate0.1f3D模式下,底部左边点占金字塔高度的比例
    rightPointRate0.1f3D模式下,底部右边点占金字塔高度的比例
    leftColorOpacity0.9f3D模式下,金字塔左边的颜色透明度
    rightColorOpacity0.7f3D模式下,金字塔右边的颜色透明度
    topColorOpacity0.99f3D模式下,金字塔顶部的颜色透明度
    labelLineMargin10fLabel标签距离右边的距离
    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/sankey/index.html b/en/docs/v3.9.0/sankey/index.html index 7920aee1..60b98b70 100644 --- a/en/docs/v3.9.0/sankey/index.html +++ b/en/docs/v3.9.0/sankey/index.html @@ -14,14 +14,14 @@ SankeyChart 桑基图 | XCharts - - + +
    Version: v3.9.0

    SankeyChart 桑基图

    XCharts付费扩展图表 - 桑基图。

    截图

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.10.0

    API

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)

    SankeyChart

    class in XCharts.Runtime.Sankeys / 继承自: BaseChart

    SankeyStyle

    class in XCharts.Runtime.Sankeys / 继承自: ChildComponent

    配置项手册

    Sankey

    class in XCharts.Runtime.Sankeys / 继承自: Serie

    参数默认版本描述
    sankeyStyleSankeyStyle

    SankeyStyle

    class in XCharts.Runtime.Sankeys / 继承自: ChildComponent

    参数默认版本描述
    showtrue
    3Dtrue
    drawToptrue
    bottomPointRate0.5f3D模式下,底部中点占金字塔宽度的比例
    leftPointRate0.1f3D模式下,底部左边点占金字塔高度的比例
    rightPointRate0.1f3D模式下,底部右边点占金字塔高度的比例
    leftColorOpacity0.9f3D模式下,金字塔左边的颜色透明度
    rightColorOpacity0.7f3D模式下,金字塔右边的颜色透明度
    topColorOpacity0.99f3D模式下,金字塔顶部的颜色透明度
    labelLineMargin10fLabel标签距离右边的距离
    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/support/index.html b/en/docs/v3.9.0/support/index.html index 76a15673..ffb3c4c4 100644 --- a/en/docs/v3.9.0/support/index.html +++ b/en/docs/v3.9.0/support/index.html @@ -14,8 +14,8 @@ 订阅服务 | XCharts - - + +
    @@ -26,7 +26,7 @@ 增加席位 企业VIP支持增加席位,每个席位298¥一年。
    对公转账 有开专票需求时,可用企业银行帐号进行公对公转账支付。二维码支付不支持开专票,只能开普票。发票默认都是电子发票。
    *登记资料 订阅成功后,需提供手机号和Github帐号进行登记,手机号用于确认归属,Github帐号用于加入Github的Team组织,下载源码。

    购买扩展图表

    扩展图表为另付费购买图表,只对订阅了VIP服务的用户开放购买。对于个人SVIP企业VIP的订阅用户,所有扩展图表仓库在订阅期间可全部免费使用,不用再单独购买。

    对所有已购买的扩展图表,源码可永久持有但不能传播,并获得持续一年的更新支持和技术服务,一年后如需更新支持等服务,可再继续订阅VIP服务。

    编号扩展图表扩展图表价格
    101象形柱图PictorialBarChart98¥
    102漏斗图FunnelChart98¥
    1033D金字塔PyramidChart98¥
    104树形矩图TreemapChart98¥
    2013D柱图Bar3DChart198¥
    2023D饼图Pie3DChart198¥
    203甘特图GanttChart198¥
    204仪表盘GaugeChart198¥
    205水位图LiquidChart198¥

    扩展图表的在线效果图也可以查看WebGL在线Demo

    捐助支持

    如果这个项目对您有帮助,请右上方点 Star 予以支持!也欢迎扫后面的二维码进行任意金额的捐助,XCharts需要您的支持和帮助。

    二维码

    如果看不到二维码图片,可以加Q联系XCharts技术支持:3525422251或邮件monitor1394@gmail.com咨询。

    alipay-qrcode wechat-qrcode

    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/treemap/index.html b/en/docs/v3.9.0/treemap/index.html index fbe44786..39493960 100644 --- a/en/docs/v3.9.0/treemap/index.html +++ b/en/docs/v3.9.0/treemap/index.html @@ -14,14 +14,14 @@ TreemapChart 矩形树图 | XCharts - - + +
    Version: v3.9.0

    TreemapChart 矩形树图

    XCharts付费扩展图表 - 矩形树图。

    截图

    Treemap01Treemap02Treemap03Treemap04

    许可

    扩展图表,需付费购买后才获得使用许可。

    教程

    扩展图表如何导入Demo项目或导入自己项目

    文档

    API
    配置项手册

    日志

    v3.9.0

    • (2023.12.01) 发布v3.9.0版本
    • (2023.12.01) 更新文档

    v3.6.2

    • (2023.11.08) 修复ItemStyle设置borderColor后边框绘制异常的问题

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.03.09) 支持onSerieClick onSerieDown onSerieEnteronSerieExit回调
    • (2023.02.14) 同步XCharts v3.6.0

    v3.5.0

    • (2022.12.01) 发布v3.5.0版本
    • (2022.11.27) 调整Documentation文档结构

    v3.2.0

    • (2022.08.22) 发布v3.2.0版本
    • (2022.08.19) 同步XCharts v3.2.0

    API

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    API版本描述
    AddDefaultSerie()public static void AddDefaultSerie(BaseChart chart, string serieName)
    CanGoUpALevel()public bool CanGoUpALevel()
    是否可以返回上一层
    GetLevelItemStyle()public ItemStyle GetLevelItemStyle(int level)
    GetLevelLabel()public LabelStyle GetLevelLabel(int level)
    GetLevelUpperLabel()public LabelStyle GetLevelUpperLabel(int level)
    GoUpALevel()public void GoUpALevel()
    返回上一层
    OnDataUpdate()public override void OnDataUpdate()
    SetSelectedSerieData()public bool SetSelectedSerieData(string serieDataName)
    设置选中(要展示的)的数据名
    SetSelectedSerieData()public void SetSelectedSerieData(SerieData serieData)

    TreemapChart

    class in XCharts.Runtime.Treemaps / 继承自: BaseChart

    配置项手册

    Treemap

    class in XCharts.Runtime.Treemaps / 继承自: Serie

    参数默认版本描述
    leafDepth0默认显示的几层节点。默认为0时表示尽可能展示多层节点,设置大于0时,下钻功能开启,需要点击后才展示子节点。
    visualDimension0用于计算占比的数据维数。
    drillDownIcon当节点可以下钻时的提示符,只能是字符。默认为▶
    customGoUpLevelButton自定义返回上一层按钮,自定义的按钮需要自己处理点击事件,调用GoUpALevel()接口。
    upperLabel父节点标签。show为true时表示显示父节点标签,margin参数设置子节点和父节点的间距。
    levelStyle
    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/tutorial01/index.html b/en/docs/v3.9.0/tutorial01/index.html index 9c6f93c5..4208fc90 100644 --- a/en/docs/v3.9.0/tutorial01/index.html +++ b/en/docs/v3.9.0/tutorial01/index.html @@ -14,8 +14,8 @@ 入门教程:5分钟上手 XCharts 3.0 | XCharts - - + +
    @@ -23,7 +23,7 @@ linechart2

    添加其他组件

    默认图表没有Legend,需要Legend组件可通过Add Component按钮添加:

    op_addcomponent

    添加Serie组件

    Serie只自带了几个常见的组件,其他组件按需额外添加。比如,需要给折线图区域填充颜色,可单独给Serie添加AreaStyle组件:

    op_addseriecomponent linechart3

    添加SerieData组件

    如果需要个性化定制每个数据项的配置,可以单独给每个SerieData添加Component。比如我们给折线图的第二个数据单独显示Label

    op_addseriedatacomponent linechart4

    更多组件和配置参数

    XCharts经过不断的迭代优化,目前已有多达几十种的主组件和子组件,每个组件有几个至几十个不等的可配置参数,以支持各种灵活而复杂的功能。

    首次使用XCharts,可在 Inspector 视图添加各种图表,给图表添加或调整里面组件,Game 视图会实时反馈调整后的效果,以熟悉各种组件的使用。各个组件的详细参数说明可查阅XCharts配置项手册

    如何快速调整参数

    XCharts是配置和数据来驱动的。想要什么效果,只需要去调整对应组件下的配置参数就可以,不需要去改Hierarchy视图下的节点,因为那些节点是由XCharts内部根据配置和数据生成的,即使改了也会在刷新时还原回来。

    如何快速定位你想要改的效果所对应的组件,这就需要对组件有一定的了解。比如我们想要让X轴的轴线末端显示箭头,如何定位?第一步,X轴定位到XAxis0;第二步,轴线定位到AxisLine;最后,再去看AxisLine组件下有没有这样的参数可以实现这个效果,对于不太确定的参数可以查阅XCharts配置项手册

    XCharts提供从全局Theme、系列Serie、单个数据项SerieData三方面全方位的参数配置。优先级从大到小为:SerieData->Serie->Theme。以ItemStyle的颜色为例:

    1. 如果SerieDataItemStyle配置有非0000颜色值,则优先用这个颜色值。
    2. 如果SerieItemStyle配置有非0000颜色值,则优先用这个颜色值。
    3. 否则颜色值取自主题ThemeColor Palette

    通常颜色值为0000时表示用主题默认颜色,配置为0或null时表示用主题默认配置。

    用代码添加折线图

    gameObject挂上LineChart脚本:

    var chart = gameObject.GetComponent<LineChart>();
    if (chart == null)
    {
    chart = gameObject.AddComponent<LineChart>();
    chart.Init();
    }

    调整大小:

    chart.SetSize(580, 300);//代码动态设置尺寸,或直接操作chart.rectTransform,或直接在Inspector上改

    设置标题:

    var title = chart.EnsureChartComponent<Title>();
    title.text = "Simple Line";

    设置提示框和图例是否显示:

    var tooltip = chart.EnsureChartComponent<Tooltip>();
    tooltip.show = true;

    var legend = chart.EnsureChartComponent<Legend>();
    legend.show = false;

    设置坐标轴:

    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;

    清空默认数据,添加Line类型的Serie用于接收数据:

    chart.RemoveData();
    chart.AddSerie<Line>("line");

    添加10个数据:

    for (int i = 0; i < 10; i++)
    {
    chart.AddXAxisData("x" + i);
    chart.AddData(0, Random.Range(10, 20));
    }

    这样一个简单的折线图就出来了:

    tutorial01_linechart_simple

    如果一个Chart里面有多个系列时,则Axis的data只需要加一次,不要多个循环加重复了。记住:Axis的数据个数要和Serie的数据个数一致。

    完整代码请查阅ExamplesExample13_LineSimple.cs

    你还可以用代码控制更多的参数,Examples下还有更多的其他例子,凡是Inspector上看到的可配置的参数,都可以通过代码来设置。XCharts配置项手册里面的所有参数都是可以通过代码控制的。

    另外,除非定制,建议调用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():刷新图表绘制,只刷新绘制部分,不会刷新组件文本,位置等部分。
    3. 各个组件也可以通过SetAllDirty()只刷新自己。

    使用TextMeshPro

    XCharts支持TextMeshPro,但默认是不开启的,需要自己手动切换。可通过以下方式开启和关闭:

    textmeshpro1

    开启后需要设置好TextMeshPro要用的全局字体,也可以在主题Theme里单独设置:

    textmeshpro-font

    建议在项目初就规划好是否使用TextMeshPro,并设置好字体。在已有很多图表的情况下切换TMP时,可能某些图表无法自动刷新,可以手动点击Rebuild Chart Object按钮来重建图表,即可正常初始化。

    开启了TMP项目在更新XCharts时,可能会碰到丢失了TMP引用而无法编译通过的问题,可通过以下两种方式解决:

    1. 找到XCharts.Runtime.asmdefXCharts.Editor.asmdef,手动加上 TextMeshPro的引用
    2. 移除PlayerSettingScripting Define SymbolsdUI_TextMeshPro

    3.8.0版本后增加XCharts-Daemon守护程序,将XCharts-Daemon导入项目后,在更新XCharts时守护程序会自动根据本地开启的TMP情况刷新asmdef,确保编译正常。

    用代码改图表参数

    Inspector上看到的所有参数都可以用代码来修改,关键是要定位好你要改的参数是在组件上、还是Serie上、还是在具体的数据项SerieData上。

    改主组件上的参数

    需要先获取组件,再修改里面的参数:

    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;

    注:低版本没有EnsureChartComponent()接口时,用GetOrAddChartComponent()

    改Serie的参数

    对于新添加的Serie:

    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:

    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添加额外组件:

    serie.EnsureComponent<AreaStyle>();

    var label = serie1.EnsureComponent<LabelStyle>();
    label.offset = new Vector3(0,20,0);

    改数据项SerieData上的参数

    var serieData = chart.AddData(0, 20);
    //var serieData = serie.GetSerieData(0); //从已有数据中获取
    serieData.radius = 10;

    var itemStyle = serieData.EnsureComponent<ItemStyle>(); //给数据项添加ItemStyle组件
    itemStyle.color = Color.blue;

    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/tutorial02/index.html b/en/docs/v3.9.0/tutorial02/index.html index acfaa472..cb1ed4b2 100644 --- a/en/docs/v3.9.0/tutorial02/index.html +++ b/en/docs/v3.9.0/tutorial02/index.html @@ -14,13 +14,13 @@ 从文件或数据库读取数据显示图表 | XCharts - - + +
    Version: v3.9.0

    从文件或数据库读取数据显示图表

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/tutorial03/index.html b/en/docs/v3.9.0/tutorial03/index.html index e1999797..fb1b3840 100644 --- a/en/docs/v3.9.0/tutorial03/index.html +++ b/en/docs/v3.9.0/tutorial03/index.html @@ -14,13 +14,13 @@ 心电图效果实现 | XCharts - - + +
    Version: v3.9.0

    心电图效果实现

    TODO

    Was this helpful?
    - - + + \ No newline at end of file diff --git a/en/docs/v3.9.0/ui/index.html b/en/docs/v3.9.0/ui/index.html index 510946bb..e44f1f29 100644 --- a/en/docs/v3.9.0/ui/index.html +++ b/en/docs/v3.9.0/ui/index.html @@ -14,13 +14,13 @@ 扩展UI组件 | XCharts - - + +
    Version: v3.9.0

    扩展UI组件

    XCharts的扩展UI组件,VIP订阅用户专有。

    组件列表

    如何使用

    • 使用该仓库前先确保项目里已有对应版本的XCharts。
    • 下载本仓库放入Assets下或者通过Package Manager导入。

    更新日志

    v3.9.0

    • (2023.11.14) 增加UITableGetData()GetContent()接口
    • (2023.11.12) 增加UITableonTableClick点击表格回调
    • (2023.11.11) 重构UITableSeparatorStyle,可分开设置行列的分割线
    • (2023.11.05) 增加UITableColumnStyle,重构Column相关参数
    • (2023.11.05) 增加UITableRowStyle,重构Row相关参数
    • (2023.11.01) 增加UITableCarouselStyle轮播功能
    • (2023.11.01) 增加UITableAddColumn()UpdateColumn()接口
    • (2023.10.23) 修复UITable点击Rebuild Object异常的问题
    • (2023.10.23) 修复UITable尺寸变化时不刷新的问题
    • (2023.10.17) 修复UITable首次初始化异常的问题
    • (2023.10.17) 增加UITable的数据操作接口
    • (2023.10.17) 增加UITableRefreshTable()刷新接口

    v3.8.0

    • (2023.09.03) 发布v3.8.0版本
    • (2023.07.31) 同步XCharts v3.8.0

    v3.6.1

    • (2023.06.08) 发布v3.6.1版本
    • (2023.06.08) 更新文档

    v3.6.0

    • (2023.04.01) 发布v3.6.0版本
    • (2023.02.14) 增加UIStatistic
    • (2023.02.14) 增加UITable
    - - + + \ No newline at end of file diff --git a/en/examples/index.html b/en/examples/index.html index c470ea92..7c2e5a90 100644 --- a/en/examples/index.html +++ b/en/examples/index.html @@ -14,13 +14,13 @@ XCharts Demo | XCharts - - + + - - + + \ No newline at end of file diff --git a/en/help-us-translate/index.html b/en/help-us-translate/index.html index 4bfbaf29..e5f70736 100644 --- a/en/help-us-translate/index.html +++ b/en/help-us-translate/index.html @@ -14,8 +14,8 @@ Translation Contribution Guide | XCharts - - + +
    @@ -25,7 +25,7 @@ i.e. i18n (internationalization).

    You may have noticed that this XCharts documentation website is built and maintained by core developers and the XCharts community together, and when it comes to i18n, we really need and appreciate all kinds of help from the community, include but not limited to:

    • Translate a page, section or even a few sentences to your preferred language.
    • Proofread other translations and fix translation issues in your preferred language.
    • Drive or lead a specific language's translation progress.
    • ...
    - - + + \ No newline at end of file diff --git a/en/index.html b/en/index.html index faf0a9a5..c711ecd7 100644 --- a/en/index.html +++ b/en/index.html @@ -14,13 +14,13 @@ XCharts - - + +

    A charting and data visualization library for Unity.

    Unity数据可视化图表插件。

    目标

    XCharts致力于为Unity开发人员和创意人员提供一套强大易用的图表库,能快速的通过Unity实现和定制各种图表展示。

    为什么用XCharts

    • Unity上最好用的免费开源图表插件,5分钟即可上手。
    • 支持折线图、柱状图、饼图、雷达图、散点图、热力图、环形图、K线图、极坐标、平行坐标等十多种常见的图表。
    • 支持多种扩展组件和扩展图表。提供扩展定制服务,满足用户个性化需求。
    • 持续维护和更新;稳定;可靠。

    将来

    • 完善图表编辑体验,让非开发人员也能轻松制作图表。
    • 增强图表数据展示能力,增强图表效果。
    • 增加更多的扩展组件和扩展图表支持。
    • 完善文档和教程。
    - - + + \ No newline at end of file diff --git a/en/newsletter/2022/12/newsletter2212/index.html b/en/newsletter/2022/12/newsletter2212/index.html index 9fae38e1..ae1da849 100644 --- a/en/newsletter/2022/12/newsletter2212/index.html +++ b/en/newsletter/2022/12/newsletter2212/index.html @@ -14,13 +14,13 @@ XCharts Newsletter for December | XCharts - - + +
    - - + + \ No newline at end of file diff --git a/en/newsletter/archive/index.html b/en/newsletter/archive/index.html index f72e98b7..a8b5668e 100644 --- a/en/newsletter/archive/index.html +++ b/en/newsletter/archive/index.html @@ -14,13 +14,13 @@ Archive | XCharts - - + + - - + + \ No newline at end of file diff --git a/en/newsletter/index.html b/en/newsletter/index.html index 6226aff7..b6660122 100644 --- a/en/newsletter/index.html +++ b/en/newsletter/index.html @@ -14,13 +14,13 @@ XCharts Newsletter | XCharts - - + +

    XCharts Newletters

    XCharts Newsletter for December
    December 1, 2022
    📌 Highlights
    XCharts launched v3.5.0
    Read More
    Subscribe to our updates

    Get the latest news from the XCharts community in a monthly email: Groundbreaking releases, upcoming events, new insights, community updates, and more!

    We'll never share your information with anyone else and you can opt out at any time.
    - - + + \ No newline at end of file diff --git a/en/search/index.html b/en/search/index.html index 7c0fa9d1..5655d7e9 100644 --- a/en/search/index.html +++ b/en/search/index.html @@ -14,13 +14,13 @@ Search the documentation | XCharts - - + +

    Search the documentation

    All
    Docs
    API
    Blogs
    - - + + \ No newline at end of file diff --git a/en/user-stories/index.html b/en/user-stories/index.html index a57ce0cd..e304d45d 100644 --- a/en/user-stories/index.html +++ b/en/user-stories/index.html @@ -14,13 +14,13 @@ XCharts - - + +

    一款基于UGUI的功能强大,简单易用的Unity数据可视化图表插件。

    ☞ 了解更多

    目标

    XCharts致力于为Unity开发者和创意人员提供一套强大易用的图表库,能快速的在Unity中实现各种图表的展示。

    为什么使用XCharts

    • Unity上最好用的免费开源图表插件,5分钟即可上手。
    • 支持折线图、柱状图、饼图、雷达图、散点图、热力图、环形图、K线图、极坐标、平行坐标等十多种常见的图表。
    • 提供扩展定制支持等服务,满足用户个性化需求。
    • 持续维护和更新;稳定;可靠。

    将来

    • 完善图表编辑体验,让非开发人员也能轻松制作图表。
    • 增强图表数据展示能力,支持更多图表类型。
    • 增加地图支持。
    • 增加AR/VR支持。
    - - + + \ No newline at end of file diff --git a/examples/index.html b/examples/index.html index 81832507..80d9a2d2 100644 --- a/examples/index.html +++ b/examples/index.html @@ -14,13 +14,13 @@ XCharts Demo | XCharts - - + + - - + + \ No newline at end of file diff --git a/help-us-translate/index.html b/help-us-translate/index.html index cb296f7b..f4a3cea6 100644 --- a/help-us-translate/index.html +++ b/help-us-translate/index.html @@ -14,8 +14,8 @@ Translation Contribution Guide | XCharts - - + +
    @@ -25,7 +25,7 @@ i.e. i18n (internationalization).

    You may have noticed that this XCharts documentation website is built and maintained by core developers and the XCharts community together, and when it comes to i18n, we really need and appreciate all kinds of help from the community, include but not limited to:

    • Translate a page, section or even a few sentences to your preferred language.
    • Proofread other translations and fix translation issues in your preferred language.
    • Drive or lead a specific language's translation progress.
    • ...
    - - + + \ No newline at end of file diff --git a/index.html b/index.html index a009a5ea..1b25b959 100644 --- a/index.html +++ b/index.html @@ -14,13 +14,13 @@ XCharts - - + +

    A charting and data visualization library for Unity.

    Unity数据可视化图表插件。

    目标

    XCharts致力于为Unity开发人员和创意人员提供一套强大易用的图表库,能快速的通过Unity实现和定制各种图表展示。

    为什么用XCharts

    • Unity上最好用的免费开源图表插件,5分钟即可上手。
    • 支持折线图、柱状图、饼图、雷达图、散点图、热力图、环形图、K线图、极坐标、平行坐标等十多种常见的图表。
    • 支持多种扩展组件和扩展图表。提供扩展定制服务,满足用户个性化需求。
    • 持续维护和更新;稳定;可靠。

    将来

    • 完善图表编辑体验,让非开发人员也能轻松制作图表。
    • 增强图表数据展示能力,增强图表效果。
    • 增加更多的扩展组件和扩展图表支持。
    • 完善文档和教程。
    - - + + \ No newline at end of file diff --git a/newsletter/2022/12/newsletter12/index.html b/newsletter/2022/12/newsletter12/index.html index e5332abd..34d42454 100644 --- a/newsletter/2022/12/newsletter12/index.html +++ b/newsletter/2022/12/newsletter12/index.html @@ -14,13 +14,13 @@ XCharts 十二月社区月报 | XCharts - - + +
    - - + + \ No newline at end of file diff --git a/newsletter/archive/index.html b/newsletter/archive/index.html index e84e8124..7ad8c9c9 100644 --- a/newsletter/archive/index.html +++ b/newsletter/archive/index.html @@ -14,13 +14,13 @@ 历史博文 | XCharts - - + + - - + + \ No newline at end of file diff --git a/newsletter/index.html b/newsletter/index.html index d30a76b4..c01d6781 100644 --- a/newsletter/index.html +++ b/newsletter/index.html @@ -14,13 +14,13 @@ XCharts Newsletter | XCharts - - + +

    月报

    XCharts 十二月社区月报
    2022年12月1日
    📌 十二月高光时刻
    XCharts 发布 v3.5.0
    官方主页全新上线
    GitHub 获得超 2.3k 的 stars
    阅读更多
    订阅月报

    Get the latest news from the XCharts community in a monthly email: Groundbreaking releases, upcoming events, new insights, community updates, and more!

    We'll never share your information with anyone else and you can opt out at any time.
    - - + + \ No newline at end of file diff --git a/search/index.html b/search/index.html index b96fd905..67804c43 100644 --- a/search/index.html +++ b/search/index.html @@ -14,13 +14,13 @@ 在文档中搜索 | XCharts - - + +

    在文档中搜索

    All
    Docs
    API
    Blogs
    - - + + \ No newline at end of file diff --git a/user-stories/index.html b/user-stories/index.html index 5ac494ce..c47b60ff 100644 --- a/user-stories/index.html +++ b/user-stories/index.html @@ -14,13 +14,13 @@ XCharts - - + +

    一款基于UGUI的功能强大,简单易用的Unity数据可视化图表插件。

    ☞ 了解更多

    目标

    XCharts致力于为Unity开发者和创意人员提供一套强大易用的图表库,能快速的在Unity中实现各种图表的展示。

    为什么使用XCharts

    • Unity上最好用的免费开源图表插件,5分钟即可上手。
    • 支持折线图、柱状图、饼图、雷达图、散点图、热力图、环形图、K线图、极坐标、平行坐标等十多种常见的图表。
    • 提供扩展定制支持等服务,满足用户个性化需求。
    • 持续维护和更新;稳定;可靠。

    将来

    • 完善图表编辑体验,让非开发人员也能轻松制作图表。
    • 增强图表数据展示能力,支持更多图表类型。
    • 增加地图支持。
    • 增加AR/VR支持。
    - - + + \ No newline at end of file