@rio-cloud/uikit-mcp 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (388) hide show
  1. package/README.md +75 -40
  2. package/dist/doc-metadata.json +1872 -0
  3. package/dist/docs/components/accentBar.md +582 -0
  4. package/dist/docs/components/activity.md +330 -0
  5. package/dist/docs/components/animatedNumber.md +88 -0
  6. package/dist/docs/components/animatedTextReveal.md +381 -0
  7. package/dist/docs/components/animations.md +459 -0
  8. package/dist/docs/components/appHeader.md +737 -0
  9. package/dist/docs/components/appLayout.md +2016 -0
  10. package/dist/docs/components/appNavigationBar.md +274 -0
  11. package/dist/docs/components/areaCharts.md +828 -0
  12. package/dist/docs/components/aspectRatioPlaceholder.md +106 -0
  13. package/dist/docs/components/assetTree.md +3223 -0
  14. package/dist/docs/components/autosuggests.md +1177 -0
  15. package/dist/docs/components/avatar.md +206 -0
  16. package/dist/docs/components/banner.md +668 -0
  17. package/dist/docs/components/barCharts.md +2785 -0
  18. package/dist/docs/components/barList.md +517 -0
  19. package/dist/docs/components/basicMap.md +167 -0
  20. package/dist/docs/components/bottomSheet.md +721 -0
  21. package/dist/docs/components/button.md +775 -0
  22. package/dist/docs/components/buttonToolbar.md +134 -0
  23. package/dist/docs/components/calendarStripe.md +525 -0
  24. package/dist/docs/components/card.md +86 -0
  25. package/dist/docs/components/carousel.md +128 -0
  26. package/dist/docs/components/chartColors.md +716 -0
  27. package/dist/docs/components/chartsGettingStarted.md +28 -0
  28. package/dist/docs/components/chat.md +932 -0
  29. package/dist/docs/components/checkbox.md +996 -0
  30. package/dist/docs/components/clearableInput.md +806 -0
  31. package/dist/docs/components/collapse.md +189 -0
  32. package/dist/docs/components/composedCharts.md +424 -0
  33. package/dist/docs/components/contentLoader.md +674 -0
  34. package/dist/docs/components/dataTabs.md +1251 -0
  35. package/dist/docs/components/datepickers.md +2543 -0
  36. package/dist/docs/components/dialogs.md +2244 -0
  37. package/dist/docs/components/divider.md +219 -0
  38. package/dist/docs/components/dropdowns.md +17550 -0
  39. package/dist/docs/components/editableContent.md +1127 -0
  40. package/dist/docs/components/expander.md +970 -0
  41. package/dist/docs/components/fade.md +836 -0
  42. package/dist/docs/components/fadeExpander.md +180 -0
  43. package/dist/docs/components/fadeUp.md +396 -0
  44. package/dist/docs/components/feedback.md +758 -0
  45. package/dist/docs/components/filePickers.md +370 -0
  46. package/dist/docs/components/formLabel.md +251 -0
  47. package/dist/docs/components/fullscreenMap.md +10 -0
  48. package/dist/docs/components/groupedItemList.md +1001 -0
  49. package/dist/docs/components/iconList.md +306 -0
  50. package/dist/docs/components/imagePreloader.md +167 -0
  51. package/dist/docs/components/labeledElement.md +115 -0
  52. package/dist/docs/components/licensePlate.md +412 -0
  53. package/dist/docs/components/lineCharts.md +2014 -0
  54. package/dist/docs/components/listMenu.md +392 -0
  55. package/dist/docs/components/loadMore.md +219 -0
  56. package/dist/docs/components/mainNavigation.md +129 -0
  57. package/dist/docs/components/mapCircle.md +93 -0
  58. package/dist/docs/components/mapCluster.md +337 -0
  59. package/dist/docs/components/mapContext.md +284 -0
  60. package/dist/docs/components/mapDraggableMarker.md +150 -0
  61. package/dist/docs/components/mapGettingStarted.md +39 -0
  62. package/dist/docs/components/mapInfoBubble.md +135 -0
  63. package/dist/docs/components/mapLayerGroup.md +94 -0
  64. package/dist/docs/components/mapMarker.md +1814 -0
  65. package/dist/docs/components/mapPolygon.md +959 -0
  66. package/dist/docs/components/mapRoute.md +3816 -0
  67. package/dist/docs/components/mapRouteGenerator.md +6 -0
  68. package/dist/docs/components/mapSettings.md +1040 -0
  69. package/dist/docs/components/mapUtils.md +132 -0
  70. package/dist/docs/components/multiselects.md +1921 -0
  71. package/dist/docs/components/noData.md +210 -0
  72. package/dist/docs/components/notifications.md +314 -0
  73. package/dist/docs/components/numbercontrol.md +706 -0
  74. package/dist/docs/components/onboarding.md +297 -0
  75. package/dist/docs/components/page.md +241 -0
  76. package/dist/docs/components/pager.md +133 -0
  77. package/dist/docs/components/pieCharts.md +1284 -0
  78. package/dist/docs/components/popover.md +222 -0
  79. package/dist/docs/components/position.md +50 -0
  80. package/dist/docs/components/radialBarCharts.md +3663 -0
  81. package/dist/docs/components/radiobutton.md +1271 -0
  82. package/dist/docs/components/releaseNotes.md +135 -0
  83. package/dist/docs/components/resizer.md +162 -0
  84. package/dist/docs/components/responsiveColumnStripe.md +435 -0
  85. package/dist/docs/components/responsiveVideo.md +71 -0
  86. package/dist/docs/components/rioglyph.md +331 -0
  87. package/dist/docs/components/rules.md +965 -0
  88. package/dist/docs/components/saveableInput.md +1721 -0
  89. package/dist/docs/components/selects.md +1993 -0
  90. package/dist/docs/components/sidebar.md +332 -0
  91. package/dist/docs/components/sliders.md +376 -0
  92. package/dist/docs/components/smoothScrollbars.md +1180 -0
  93. package/dist/docs/components/spinners.md +506 -0
  94. package/dist/docs/components/states.md +1176 -0
  95. package/dist/docs/components/statsWidgets.md +636 -0
  96. package/dist/docs/components/statusBar.md +644 -0
  97. package/dist/docs/components/stepButton.md +61 -0
  98. package/dist/docs/components/steppedProgressBars.md +1064 -0
  99. package/dist/docs/components/subNavigation.md +470 -0
  100. package/dist/docs/components/supportMarker.md +115 -0
  101. package/dist/docs/components/svgImage.md +248 -0
  102. package/dist/docs/components/switch.md +554 -0
  103. package/dist/docs/components/tables.md +8 -0
  104. package/dist/docs/components/tagManager.md +476 -0
  105. package/dist/docs/components/tags.md +785 -0
  106. package/dist/docs/components/teaser.md +925 -0
  107. package/dist/docs/components/timeline.md +514 -0
  108. package/dist/docs/components/timepicker.md +262 -0
  109. package/dist/docs/components/toggleButton.md +178 -0
  110. package/dist/docs/components/tooltip.md +454 -0
  111. package/dist/docs/components/virtualList.md +483 -0
  112. package/dist/docs/foundations.md +20901 -0
  113. package/dist/docs/start/changelog.md +439 -0
  114. package/dist/docs/start/goodtoknow.md +14 -0
  115. package/dist/docs/start/guidelines/color-combinations.md +678 -0
  116. package/dist/docs/start/guidelines/custom-css.md +42 -0
  117. package/dist/docs/start/guidelines/custom-rioglyph.md +35 -0
  118. package/dist/docs/start/guidelines/formatting.md +587 -0
  119. package/dist/docs/start/guidelines/iframe.md +323 -0
  120. package/dist/docs/start/guidelines/obfuscate-data.md +30 -0
  121. package/dist/docs/start/guidelines/print-css.md +36 -0
  122. package/dist/docs/start/guidelines/spinner.md +710 -0
  123. package/dist/docs/start/guidelines/supported-browsers.md +10 -0
  124. package/dist/docs/start/guidelines/writing.md +635 -0
  125. package/dist/docs/start/howto.md +187 -0
  126. package/dist/docs/start/intro.md +43 -0
  127. package/dist/docs/start/responsiveness.md +98 -0
  128. package/dist/docs/templates/common-table.md +1111 -0
  129. package/dist/docs/templates/detail-views.md +942 -0
  130. package/dist/docs/templates/expandable-details.md +228 -0
  131. package/dist/docs/templates/feature-cards.md +549 -0
  132. package/dist/docs/templates/form-summary.md +199 -0
  133. package/dist/docs/templates/form-toggle.md +367 -0
  134. package/dist/docs/templates/list-blocks.md +1021 -0
  135. package/dist/docs/templates/loading-progress.md +109 -0
  136. package/dist/docs/templates/options-panel.md +152 -0
  137. package/dist/docs/templates/panel-variants.md +164 -0
  138. package/dist/docs/templates/progress-cards.md +607 -0
  139. package/dist/docs/templates/progress-success.md +142 -0
  140. package/dist/docs/templates/settings-form.md +434 -0
  141. package/dist/docs/templates/stats-blocks.md +1381 -0
  142. package/dist/docs/templates/table-panel.md +184 -0
  143. package/dist/docs/templates/table-row-animation.md +317 -0
  144. package/dist/docs/templates/usage-cards.md +227 -0
  145. package/dist/docs/utilities/deviceUtils.md +123 -0
  146. package/dist/docs/utilities/featureToggles.md +90 -0
  147. package/dist/docs/utilities/fuelTypeUtils.md +186 -0
  148. package/dist/docs/utilities/routeUtils.md +138 -0
  149. package/dist/docs/utilities/useAfterMount.md +66 -0
  150. package/dist/docs/utilities/useAutoAnimate.md +193 -0
  151. package/dist/docs/utilities/useAverage.md +95 -0
  152. package/dist/docs/utilities/useClickOutside.md +61 -0
  153. package/dist/docs/utilities/useClipboard.md +93 -0
  154. package/dist/docs/utilities/useCount.md +178 -0
  155. package/dist/docs/utilities/useDarkMode.md +49 -0
  156. package/dist/docs/utilities/useDebugInfo.md +126 -0
  157. package/dist/docs/utilities/useEffectOnce.md +58 -0
  158. package/dist/docs/utilities/useElapsedTime.md +58 -0
  159. package/dist/docs/utilities/useElementSize.md +71 -0
  160. package/dist/docs/utilities/useEsc.md +58 -0
  161. package/dist/docs/utilities/useEvent.md +64 -0
  162. package/dist/docs/utilities/useFocusTrap.md +85 -0
  163. package/dist/docs/utilities/useFullscreen.md +198 -0
  164. package/dist/docs/utilities/useHover.md +55 -0
  165. package/dist/docs/utilities/useIncomingPostMessages.md +237 -0
  166. package/dist/docs/utilities/useInterval.md +85 -0
  167. package/dist/docs/utilities/useIsFocusWithin.md +114 -0
  168. package/dist/docs/utilities/useKey.md +151 -0
  169. package/dist/docs/utilities/useLocalStorage.md +91 -0
  170. package/dist/docs/utilities/useLocationSuggestions.md +114 -0
  171. package/dist/docs/utilities/useMax.md +62 -0
  172. package/dist/docs/utilities/useMin.md +78 -0
  173. package/dist/docs/utilities/useMutationObserver.md +113 -0
  174. package/dist/docs/utilities/useOnScreen.md +138 -0
  175. package/dist/docs/utilities/useOnlineStatus.md +49 -0
  176. package/dist/docs/utilities/usePostMessage.md +117 -0
  177. package/dist/docs/utilities/usePostMessageSender.md +257 -0
  178. package/dist/docs/utilities/usePrevious.md +101 -0
  179. package/dist/docs/utilities/useResizeObserver.md +151 -0
  180. package/dist/docs/utilities/useScrollPosition.md +252 -0
  181. package/dist/docs/utilities/useSearch.md +228 -0
  182. package/dist/docs/utilities/useSorting.md +389 -0
  183. package/dist/docs/utilities/useStateWithValidation.md +83 -0
  184. package/dist/docs/utilities/useSum.md +155 -0
  185. package/dist/docs/utilities/useTableExport.md +404 -0
  186. package/dist/docs/utilities/useTableSelection.md +1120 -0
  187. package/dist/docs/utilities/useTimeout.md +55 -0
  188. package/dist/docs/utilities/useToggle.md +115 -0
  189. package/dist/docs/utilities/useWindowResize.md +70 -0
  190. package/dist/index.mjs +271 -0
  191. package/dist/search-synonyms.json +134 -0
  192. package/dist/version.json +4 -0
  193. package/package.json +23 -19
  194. package/bin/uikit-mcp.mjs +0 -23
  195. package/data/pages/Components/components/accentbar.json +0 -207
  196. package/data/pages/Components/components/activity.json +0 -87
  197. package/data/pages/Components/components/animatednumber.json +0 -99
  198. package/data/pages/Components/components/animations.json +0 -87
  199. package/data/pages/Components/components/appheader.json +0 -291
  200. package/data/pages/Components/components/applayout.json +0 -1198
  201. package/data/pages/Components/components/appnavigationbar.json +0 -327
  202. package/data/pages/Components/components/areacharts.json +0 -563
  203. package/data/pages/Components/components/aspectratioplaceholder.json +0 -75
  204. package/data/pages/Components/components/assettree.json +0 -3080
  205. package/data/pages/Components/components/autosuggests.json +0 -710
  206. package/data/pages/Components/components/avatar.json +0 -157
  207. package/data/pages/Components/components/banner.json +0 -599
  208. package/data/pages/Components/components/barcharts.json +0 -1507
  209. package/data/pages/Components/components/barlist.json +0 -223
  210. package/data/pages/Components/components/basicmap.json +0 -68
  211. package/data/pages/Components/components/bottomsheet.json +0 -601
  212. package/data/pages/Components/components/button.json +0 -583
  213. package/data/pages/Components/components/buttontoolbar.json +0 -63
  214. package/data/pages/Components/components/calendarstripe.json +0 -235
  215. package/data/pages/Components/components/card.json +0 -69
  216. package/data/pages/Components/components/carousel.json +0 -39
  217. package/data/pages/Components/components/chartcolors.json +0 -34
  218. package/data/pages/Components/components/chartsgettingstarted.json +0 -32
  219. package/data/pages/Components/components/chat.json +0 -39
  220. package/data/pages/Components/components/checkbox.json +0 -847
  221. package/data/pages/Components/components/clearableinput.json +0 -789
  222. package/data/pages/Components/components/collapse.json +0 -175
  223. package/data/pages/Components/components/composedcharts.json +0 -159
  224. package/data/pages/Components/components/contentloader.json +0 -233
  225. package/data/pages/Components/components/datatabs.json +0 -680
  226. package/data/pages/Components/components/datepickers.json +0 -287
  227. package/data/pages/Components/components/dialogs.json +0 -1492
  228. package/data/pages/Components/components/divider.json +0 -93
  229. package/data/pages/Components/components/dropdowns.json +0 -936
  230. package/data/pages/Components/components/editablecontent.json +0 -1117
  231. package/data/pages/Components/components/expander.json +0 -377
  232. package/data/pages/Components/components/fade.json +0 -403
  233. package/data/pages/Components/components/fadeexpander.json +0 -75
  234. package/data/pages/Components/components/fadeup.json +0 -127
  235. package/data/pages/Components/components/feedback.json +0 -269
  236. package/data/pages/Components/components/filepickers.json +0 -269
  237. package/data/pages/Components/components/formlabel.json +0 -115
  238. package/data/pages/Components/components/fullscreenmap.json +0 -22
  239. package/data/pages/Components/components/groupeditemlist.json +0 -323
  240. package/data/pages/Components/components/iconlist.json +0 -45
  241. package/data/pages/Components/components/imagepreloader.json +0 -81
  242. package/data/pages/Components/components/labeledelement.json +0 -75
  243. package/data/pages/Components/components/licenseplate.json +0 -69
  244. package/data/pages/Components/components/linecharts.json +0 -987
  245. package/data/pages/Components/components/listmenu.json +0 -313
  246. package/data/pages/Components/components/loadmore.json +0 -175
  247. package/data/pages/Components/components/mainnavigation.json +0 -39
  248. package/data/pages/Components/components/mapcircle.json +0 -34
  249. package/data/pages/Components/components/mapcluster.json +0 -51
  250. package/data/pages/Components/components/mapcontext.json +0 -105
  251. package/data/pages/Components/components/mapdraggablemarker.json +0 -34
  252. package/data/pages/Components/components/mapgettingstarted.json +0 -27
  253. package/data/pages/Components/components/mapgroup.json +0 -1198
  254. package/data/pages/Components/components/mapinfobubble.json +0 -34
  255. package/data/pages/Components/components/maplayergroup.json +0 -34
  256. package/data/pages/Components/components/mapmarker.json +0 -700
  257. package/data/pages/Components/components/mappolygon.json +0 -45
  258. package/data/pages/Components/components/maproute.json +0 -623
  259. package/data/pages/Components/components/maproutegenerator.json +0 -16
  260. package/data/pages/Components/components/mapsettings.json +0 -51
  261. package/data/pages/Components/components/maputils.json +0 -34
  262. package/data/pages/Components/components/multiselects.json +0 -1451
  263. package/data/pages/Components/components/nodata.json +0 -139
  264. package/data/pages/Components/components/notifications.json +0 -65
  265. package/data/pages/Components/components/numbercontrol.json +0 -301
  266. package/data/pages/Components/components/onboarding.json +0 -302
  267. package/data/pages/Components/components/page.json +0 -197
  268. package/data/pages/Components/components/pager.json +0 -93
  269. package/data/pages/Components/components/piecharts.json +0 -731
  270. package/data/pages/Components/components/popover.json +0 -251
  271. package/data/pages/Components/components/position.json +0 -69
  272. package/data/pages/Components/components/radialbarcharts.json +0 -1304
  273. package/data/pages/Components/components/radiobutton.json +0 -1105
  274. package/data/pages/Components/components/releasenotes.json +0 -44
  275. package/data/pages/Components/components/resizer.json +0 -93
  276. package/data/pages/Components/components/responsivecolumnstripe.json +0 -123
  277. package/data/pages/Components/components/responsivevideo.json +0 -75
  278. package/data/pages/Components/components/rioglyph.json +0 -93
  279. package/data/pages/Components/components/rules.json +0 -410
  280. package/data/pages/Components/components/saveableinput.json +0 -703
  281. package/data/pages/Components/components/selects.json +0 -701
  282. package/data/pages/Components/components/sidebar.json +0 -243
  283. package/data/pages/Components/components/sliders.json +0 -235
  284. package/data/pages/Components/components/smoothscrollbars.json +0 -335
  285. package/data/pages/Components/components/spinners.json +0 -343
  286. package/data/pages/Components/components/states.json +0 -1705
  287. package/data/pages/Components/components/statswidgets.json +0 -314
  288. package/data/pages/Components/components/statusbar.json +0 -177
  289. package/data/pages/Components/components/stepbutton.json +0 -57
  290. package/data/pages/Components/components/steppedprogressbars.json +0 -417
  291. package/data/pages/Components/components/subnavigation.json +0 -107
  292. package/data/pages/Components/components/supportmarker.json +0 -45
  293. package/data/pages/Components/components/svgimage.json +0 -81
  294. package/data/pages/Components/components/switch.json +0 -111
  295. package/data/pages/Components/components/tables.json +0 -144
  296. package/data/pages/Components/components/tagmanager.json +0 -86
  297. package/data/pages/Components/components/tags.json +0 -146
  298. package/data/pages/Components/components/teaser.json +0 -188
  299. package/data/pages/Components/components/timeline.json +0 -45
  300. package/data/pages/Components/components/timepicker.json +0 -163
  301. package/data/pages/Components/components/togglebutton.json +0 -247
  302. package/data/pages/Components/components/tooltip.json +0 -270
  303. package/data/pages/Components/components/virtuallist.json +0 -175
  304. package/data/pages/Foundations/foundations.json +0 -2475
  305. package/data/pages/Getting-started/start/changelog.json +0 -22
  306. package/data/pages/Getting-started/start/goodtoknow.json +0 -32
  307. package/data/pages/Getting-started/start/guidelines/color-combinations.json +0 -58
  308. package/data/pages/Getting-started/start/guidelines/custom-css.json +0 -27
  309. package/data/pages/Getting-started/start/guidelines/custom-rioglyph.json +0 -22
  310. package/data/pages/Getting-started/start/guidelines/formatting.json +0 -97
  311. package/data/pages/Getting-started/start/guidelines/iframe.json +0 -93
  312. package/data/pages/Getting-started/start/guidelines/obfuscate-data.json +0 -22
  313. package/data/pages/Getting-started/start/guidelines/print-css.json +0 -37
  314. package/data/pages/Getting-started/start/guidelines/spinner.json +0 -144
  315. package/data/pages/Getting-started/start/guidelines/supported-browsers.json +0 -22
  316. package/data/pages/Getting-started/start/guidelines/writing.json +0 -242
  317. package/data/pages/Getting-started/start/howto.json +0 -72
  318. package/data/pages/Getting-started/start/intro.json +0 -37
  319. package/data/pages/Getting-started/start/responsiveness.json +0 -52
  320. package/data/pages/Templates/templates/common-table.json +0 -39
  321. package/data/pages/Templates/templates/detail-views.json +0 -71
  322. package/data/pages/Templates/templates/expandable-details.json +0 -39
  323. package/data/pages/Templates/templates/feature-cards.json +0 -103
  324. package/data/pages/Templates/templates/form-summary.json +0 -39
  325. package/data/pages/Templates/templates/form-toggle.json +0 -39
  326. package/data/pages/Templates/templates/list-blocks.json +0 -119
  327. package/data/pages/Templates/templates/loading-progress.json +0 -39
  328. package/data/pages/Templates/templates/options-panel.json +0 -39
  329. package/data/pages/Templates/templates/panel-variants.json +0 -39
  330. package/data/pages/Templates/templates/progress-cards.json +0 -71
  331. package/data/pages/Templates/templates/progress-success.json +0 -39
  332. package/data/pages/Templates/templates/settings-form.json +0 -39
  333. package/data/pages/Templates/templates/stats-blocks.json +0 -135
  334. package/data/pages/Templates/templates/table-panel.json +0 -39
  335. package/data/pages/Templates/templates/table-row-animation.json +0 -39
  336. package/data/pages/Templates/templates/usage-cards.json +0 -39
  337. package/data/pages/Utilities/utilities/deviceutils.json +0 -39
  338. package/data/pages/Utilities/utilities/featuretoggles.json +0 -42
  339. package/data/pages/Utilities/utilities/fueltypeutils.json +0 -118
  340. package/data/pages/Utilities/utilities/routeutils.json +0 -34
  341. package/data/pages/Utilities/utilities/useaftermount.json +0 -63
  342. package/data/pages/Utilities/utilities/useaverage.json +0 -86
  343. package/data/pages/Utilities/utilities/useclickoutside.json +0 -69
  344. package/data/pages/Utilities/utilities/useclipboard.json +0 -57
  345. package/data/pages/Utilities/utilities/usecount.json +0 -92
  346. package/data/pages/Utilities/utilities/usedarkmode.json +0 -50
  347. package/data/pages/Utilities/utilities/usedebuginfo.json +0 -63
  348. package/data/pages/Utilities/utilities/useeffectonce.json +0 -57
  349. package/data/pages/Utilities/utilities/useelapsedtime.json +0 -57
  350. package/data/pages/Utilities/utilities/useelementsize.json +0 -63
  351. package/data/pages/Utilities/utilities/useesc.json +0 -57
  352. package/data/pages/Utilities/utilities/useevent.json +0 -75
  353. package/data/pages/Utilities/utilities/usefocustrap.json +0 -57
  354. package/data/pages/Utilities/utilities/usefullscreen.json +0 -197
  355. package/data/pages/Utilities/utilities/usehover.json +0 -57
  356. package/data/pages/Utilities/utilities/useinterval.json +0 -63
  357. package/data/pages/Utilities/utilities/useisfocuswithin.json +0 -75
  358. package/data/pages/Utilities/utilities/usekey.json +0 -75
  359. package/data/pages/Utilities/utilities/uselocalstorage.json +0 -69
  360. package/data/pages/Utilities/utilities/uselocationsuggestions.json +0 -110
  361. package/data/pages/Utilities/utilities/usemax.json +0 -86
  362. package/data/pages/Utilities/utilities/usemin.json +0 -86
  363. package/data/pages/Utilities/utilities/usemutationobserver.json +0 -69
  364. package/data/pages/Utilities/utilities/useonlinestatus.json +0 -39
  365. package/data/pages/Utilities/utilities/useonscreen.json +0 -63
  366. package/data/pages/Utilities/utilities/usepostmessage.json +0 -80
  367. package/data/pages/Utilities/utilities/useprevious.json +0 -63
  368. package/data/pages/Utilities/utilities/useresizeobserver.json +0 -65
  369. package/data/pages/Utilities/utilities/usescrollposition.json +0 -103
  370. package/data/pages/Utilities/utilities/usesearch.json +0 -197
  371. package/data/pages/Utilities/utilities/usesorting.json +0 -139
  372. package/data/pages/Utilities/utilities/usestatewithvalidation.json +0 -69
  373. package/data/pages/Utilities/utilities/usesum.json +0 -86
  374. package/data/pages/Utilities/utilities/usetableexport.json +0 -87
  375. package/data/pages/Utilities/utilities/usetableselection.json +0 -311
  376. package/data/pages/Utilities/utilities/usetimeout.json +0 -63
  377. package/data/pages/Utilities/utilities/usetoggle.json +0 -75
  378. package/data/pages/Utilities/utilities/usewindowresize.json +0 -63
  379. package/data/version.json +0 -4
  380. package/docs/content-schema.md +0 -147
  381. package/docs/navigation-inventory.json +0 -1310
  382. package/docs/search-synonyms.json +0 -43
  383. package/server/index.mjs +0 -268
  384. package/server/lib/load-docs.mjs +0 -48
  385. package/server/lib/normalise-doc.mjs +0 -220
  386. package/server/lib/render-markdown.mjs +0 -82
  387. package/server/lib/search-index.mjs +0 -49
  388. package/server/lib/types.js +0 -99
@@ -0,0 +1,2014 @@
1
+ # LineChart
2
+
3
+ *Category:* Components
4
+ *Section:* Charts
5
+ *Source:* https://uikit.developers.rio.cloud/#components/lineCharts
6
+ *Captured:* 2025-12-12T12:39:21.280Z
7
+
8
+ ## LineChart
9
+
10
+ > Note: When using a chart in your application, do not get fancy and try to stick to the proposed examples or at least base your chart upon them. That will save time and money and, equally important, gives the user a coherent look and feel across the different services.
11
+
12
+ ### Example: Example 1
13
+
14
+ Simple LineChart
15
+
16
+ Page APage BPage CPage DPage EPage FPage G
17
+
18
+ #### Summary
19
+
20
+ Simple LineChart
21
+
22
+ Page APage BPage CPage DPage EPage FPage G
23
+
24
+ #### React (tsx)
25
+
26
+ ```tsx
27
+ import LineChart from '@rio-cloud/rio-uikit/LineChart';
28
+ import Line from '@rio-cloud/rio-uikit/Line';
29
+
30
+ type CustomData = {
31
+ name: string;
32
+ value: number;
33
+ };
34
+
35
+ export default () => {
36
+ return (
37
+ <>
38
+ <label>Simple LineChart</label>
39
+ <div className='panel panel-default panel-body margin-bottom-0 height-200 max-width-500'>
40
+ <LineChart
41
+ data={data}
42
+ dataKey={(entry: CustomData) => entry.name}
43
+ xAxisOptions={{ padding: { left: 30, right: 30 } }}
44
+ showGrid
45
+ gridOptions={{ vertical: false, strokeDasharray: '0', stroke: 'gray-lighter' }}
46
+ lines={[<Line key='line' dataKey={entry => entry.value} />]}
47
+ />
48
+ </div>
49
+ </>
50
+ );
51
+ };
52
+
53
+ const data: CustomData[] = [
54
+ {
55
+ name: 'Page A',
56
+ value: 3200,
57
+ },
58
+ {
59
+ name: 'Page B',
60
+ value: 3000,
61
+ },
62
+ {
63
+ name: 'Page C',
64
+ value: 2000,
65
+ },
66
+ {
67
+ name: 'Page D',
68
+ value: 2780,
69
+ },
70
+ {
71
+ name: 'Page E',
72
+ value: 1890,
73
+ },
74
+ {
75
+ name: 'Page F',
76
+ value: 2390,
77
+ },
78
+ {
79
+ name: 'Page G',
80
+ value: 3490,
81
+ },
82
+ ];
83
+ ```
84
+
85
+ #### HTML (html)
86
+
87
+ ```html
88
+ <label>Simple LineChart</label>
89
+ <div class="panel panel-default panel-body margin-bottom-0 height-200 max-width-500">
90
+ <div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
91
+ <div style="width: 0px; height: 0px; overflow: visible;">
92
+ <div width="468" height="168" class="recharts-wrapper" style="position: relative; cursor: default; width: 468px; height: 168px;">
93
+ <div xmlns="http://www.w3.org/1999/xhtml" tabindex="-1" class="recharts-tooltip-wrapper" style="visibility: hidden; pointer-events: none; position: absolute; top: 0px; left: 0px;">
94
+ <div class="recharts-default-tooltip" role="status" aria-live="assertive" style="margin: 0px; padding: 10px; background-color: rgb(255, 255, 255); border: 1px solid rgb(204, 204, 204); white-space: nowrap;">
95
+ <p class="recharts-tooltip-label" style="margin: 0px;">
96
+ </p>
97
+ </div>
98
+ </div>
99
+ <svg role="application" tabindex="0" class="recharts-surface" width="468" height="168" viewBox="0 0 468 168" style="width: 100%; height: 100%; display: block;">
100
+ <title>
101
+ </title>
102
+ <desc>
103
+ </desc>
104
+ <g tabindex="-1" id="recharts-zindex--100-:r1:">
105
+ <g class="recharts-cartesian-grid">
106
+ <g class="recharts-cartesian-grid-horizontal">
107
+ <line stroke-dasharray="0" stroke="#e5ebf0 " fill="none" x="15" y="15" width="438" height="108" x1="15" y1="123" x2="453" y2="123">
108
+ </line>
109
+ <line stroke-dasharray="0" stroke="#e5ebf0 " fill="none" x="15" y="15" width="438" height="108" x1="15" y1="96" x2="453" y2="96">
110
+ </line>
111
+ <line stroke-dasharray="0" stroke="#e5ebf0 " fill="none" x="15" y="15" width="438" height="108" x1="15" y1="69" x2="453" y2="69">
112
+ </line>
113
+ <line stroke-dasharray="0" stroke="#e5ebf0 " fill="none" x="15" y="15" width="438" height="108" x1="15" y1="42" x2="453" y2="42">
114
+ </line>
115
+ <line stroke-dasharray="0" stroke="#e5ebf0 " fill="none" x="15" y="15" width="438" height="108" x1="15" y1="15" x2="453" y2="15">
116
+ </line>
117
+ </g>
118
+ </g>
119
+ </g>
120
+ <g tabindex="-1" id="recharts-zindex--50-:r2:">
121
+ </g>
122
+ <defs>
123
+ <clipPath id="recharts1-clip">
124
+ <rect x="15" y="15" height="108" width="438">
125
+ </rect>
126
+ </clipPath>
127
+ </defs>
128
+ <g tabindex="-1" id="recharts-zindex-100-:r4:">
129
+ </g>
130
+ <g tabindex="-1" id="recharts-zindex-200-:r5:">
131
+ </g>
132
+ <g tabindex="-1" id="recharts-zindex-300-:r6:">
133
+ </g>
134
+ <g tabindex="-1" id="recharts-zindex-400-:r7:">
135
+ <g class="recharts-layer recharts-line">
136
+ <path stroke="#67abc5 " fill="none" stroke-width="1" id="recharts-line-:r3:" height="108" width="438" class="recharts-curve recharts-line-curve" stroke-dasharray="11.340162640277331px 40.048654193218766px" d="M45,27C66,28,87,29,108,33C129,37,150,63,171,63C192,63,213,39.6,234,39.6C255,39.6,276,66.3,297,66.3C318,66.3,339,59.3,360,51.3C381,43.3,402,30.8,423,18.3">
137
+ </path>
138
+ </g>
139
+ </g>
140
+ <g tabindex="-1" id="recharts-zindex-500-:r8:">
141
+ <g class="recharts-layer recharts-cartesian-axis recharts-xAxis xAxis">
142
+ <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-line" stroke="#666" fill="none" x1="15" y1="123" x2="453" y2="123">
143
+ </line>
144
+ <g class="recharts-cartesian-axis-ticks recharts-xAxis-ticks">
145
+ <g class="recharts-cartesian-axis-tick-lines recharts-xAxis-tick-lines">
146
+ <g class="recharts-layer recharts-cartesian-axis-tick">
147
+ <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="45" y1="129" x2="45" y2="123">
148
+ </line>
149
+ </g>
150
+ <g class="recharts-layer recharts-cartesian-axis-tick">
151
+ <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="108" y1="129" x2="108" y2="123">
152
+ </line>
153
+ </g>
154
+ <g class="recharts-layer recharts-cartesian-axis-tick">
155
+ <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="171" y1="129" x2="171" y2="123">
156
+ </line>
157
+ </g>
158
+ <g class="recharts-layer recharts-cartesian-axis-tick">
159
+ <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="234" y1="129" x2="234" y2="123">
160
+ </line>
161
+ </g>
162
+ <g class="recharts-layer recharts-cartesian-axis-tick">
163
+ <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="297" y1="129" x2="297" y2="123">
164
+ </line>
165
+ </g>
166
+ <g class="recharts-layer recharts-cartesian-axis-tick">
167
+ <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="360" y1="129" x2="360" y2="123">
168
+ </line>
169
+ </g>
170
+ <g class="recharts-layer recharts-cartesian-axis-tick">
171
+ <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="423" y1="129" x2="423" y2="123">
172
+ </line>
173
+ </g>
174
+ </g>
175
+ </g>
176
+ </g>
177
+ </g>
178
+ <g tabindex="-1" id="recharts-zindex-600-:r9:">
179
+ <g class="recharts-layer recharts-line-dots">
180
+ <circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="438" cx="45" cy="27.000000000000007" class="recharts-dot recharts-line-dot">
181
+ </circle>
182
+ <circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="438" cx="108" cy="33" class="recharts-dot recharts-line-dot">
183
+ </circle>
184
+ <circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="438" cx="171" cy="63" class="recharts-dot recharts-line-dot">
185
+ </circle>
186
+ <circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="438" cx="234" cy="39.599999999999994" class="recharts-dot recharts-line-dot">
187
+ </circle>
188
+ <circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="438" cx="297" cy="66.3" class="recharts-dot recharts-line-dot">
189
+ </circle>
190
+ <circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="438" cx="360" cy="51.3" class="recharts-dot recharts-line-dot">
191
+ </circle>
192
+ <circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="438" cx="423" cy="18.3" class="recharts-dot recharts-line-dot">
193
+ </circle>
194
+ </g>
195
+ </g>
196
+ <g tabindex="-1" id="recharts-zindex-1000-:ra:">
197
+ </g>
198
+ <g tabindex="-1" id="recharts-zindex-1100-:rb:">
199
+ </g>
200
+ <g tabindex="-1" id="recharts-zindex-1200-:rc:">
201
+ </g>
202
+ <g tabindex="-1" id="recharts-zindex-2000-:rd:">
203
+ <g class="recharts-cartesian-axis-tick-labels recharts-xAxis-tick-labels">
204
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
205
+ <text height="30" orientation="bottom" width="438" stroke="none" x="45" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
206
+ <tspan x="45" dy="0.71em">Page A</tspan>
207
+ </text>
208
+ </g>
209
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
210
+ <text height="30" orientation="bottom" width="438" stroke="none" x="108" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
211
+ <tspan x="108" dy="0.71em">Page B</tspan>
212
+ </text>
213
+ </g>
214
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
215
+ <text height="30" orientation="bottom" width="438" stroke="none" x="171" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
216
+ <tspan x="171" dy="0.71em">Page C</tspan>
217
+ </text>
218
+ </g>
219
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
220
+ <text height="30" orientation="bottom" width="438" stroke="none" x="234" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
221
+ <tspan x="234" dy="0.71em">Page D</tspan>
222
+ </text>
223
+ </g>
224
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
225
+ <text height="30" orientation="bottom" width="438" stroke="none" x="297" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
226
+ <tspan x="297" dy="0.71em">Page E</tspan>
227
+ </text>
228
+ </g>
229
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
230
+ <text height="30" orientation="bottom" width="438" stroke="none" x="360" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
231
+ <tspan x="360" dy="0.71em">Page F</tspan>
232
+ </text>
233
+ </g>
234
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
235
+ <text height="30" orientation="bottom" width="438" stroke="none" x="423" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
236
+ <tspan x="423" dy="0.71em">Page G</tspan>
237
+ </text>
238
+ </g>
239
+ </g>
240
+ </g>
241
+ </svg>
242
+ </div>
243
+ </div>
244
+ </div>
245
+ </div>
246
+ ```
247
+
248
+ #### Props: LineChart
249
+
250
+ ### LineChart
251
+
252
+ | Name | Type | Default | Description |
253
+ | --- | --- | --- | --- |
254
+ | width | Number | — | The width of chart container. |
255
+ | height | Number | — | The height of chart container. |
256
+ | data | Array | — | The source data, in which each element is an object. It has the following format: [{ name: "a", value: 12 }] Note: for some charts, the color of the individual data is taken from the color prop: [{ name: "a", value: 12, color: "color-coldplay-fountain" }] |
257
+ | dataKey | String \| Number \| Function | value | The key of data displayed in the axis. Also, used as label for the x-axis. |
258
+ | dataUnit | string | — | The unit of data displayed in the chart. |
259
+ | showGrid | Boolean | false | Defines whether or not the grid shall be rendered. |
260
+ | showXAxis | Boolean | true | Defines whether or not the x-axis shall be rendered. |
261
+ | showYAxis | Boolean | false | Defines whether or not the y-axis shall be rendered. |
262
+ | xAxisOptions | Object | — | Detailed options passed to the underlying XAxis component. Details can be found here: https://recharts.org/en-US/api/XAxis |
263
+ | yAxisOptions | Object | — | Detailed options passed to the underlying YAxis component. Details can be found here: https://recharts.org/en-US/api/YAxis |
264
+ | additionalAxes | React.ReactElement<XAxisProps \| YAxisProps>[] | — | Render a list of additional axes. This includes YAxis and XAxis. |
265
+ | gridOptions | Object | — | Detailed options passed to the underlying Grid component. Details can be found here: https://recharts.org/en-US/api/CartesianGrid |
266
+ | containerOptions | Object | — | Detailed options passed to the underlying ResponsiveContainer component. Details can be found here: https://recharts.org/en-US/api/ResponsiveContainer |
267
+ | brush | Boolean | false | Defines whether or not the brush component shall be used. |
268
+ | tooltip | ChartTooltip \| Boolean | — | Defines whether or not the tooltip component shall be used. You can customize the tooltip by providing a custom ChartTooltip. Prop details can be found here: https://recharts.org/en-US/api/Tooltip. You can also customize the cursor color by setting a stroke or fill color in the cursor props. Details can be found here: https://recharts.org/en-US/api/Tooltip#cursor |
269
+ | legend | Legend \| Boolean | false | Shows the provided Legend component otherwise shows nothing. |
270
+ | lines | Array of Line | [] | Renders the provided Line components. |
271
+ | ... | | — | Additional props are passed to the underlying LineChart component. Details can be found here: https://recharts.org/en-US/api/LineChart |
272
+
273
+ #### Props: Line
274
+
275
+ ### Line
276
+
277
+ | Name | Type | Default | Description |
278
+ | --- | --- | --- | --- |
279
+ | strokeColor | String | color-coldplay-fountain | Defines the color for the line. Take the color name from the charts colors page. |
280
+ | dataKey | string \| number \| ((obj: T) => any) | value | The key of data used for the line. |
281
+ | dataUnit | String \| Number | — | The unit of data displayed for the line. |
282
+ | legendType | String | square | The type of icon in legend. If set to "none", no legend item will be rendered. |
283
+ | type | String | monotone | The interpolation type of line. And customized interpolation function can be set to type. It is the same as type in Area. |
284
+ | isAnimationActive | Boolean | true | If set false, animation of line will be disabled. |
285
+ | ... | | — | Additional props are passed to the underlying Line component. Details can be found here: https://recharts.org/en-US/api/Line |
286
+
287
+ #### Props: ReferenceLine
288
+
289
+ ### ReferenceLine
290
+
291
+ | Name | Type | Default | Description |
292
+ | --- | --- | --- | --- |
293
+ | stroke | String | color-coldplay-fountain | Defines the color for the line. Take the color name from the charts colors page. |
294
+ | ... | | — | Additional props are passed to the underlying ReferenceLine component. Details can be found here: https://recharts.org/en-US/api/ReferenceLine |
295
+
296
+ #### Props: Legend
297
+
298
+ ### Legend
299
+
300
+ | Name | Type | Default | Description |
301
+ | --- | --- | --- | --- |
302
+ | iconType | String | square | Defines the type of the leading icon. |
303
+ | iconSize | String | 12 | Defines the size of the leading icon. |
304
+ | layout | String | vertical | Defines the layout of the legend. |
305
+ | align | String | right | Defines the alignment of the legend relative to the chart. |
306
+ | verticalAlign | String | top | Defines the vertical alignment of the legend relative to the chart. |
307
+ | ... | | — | Additional props are passed to the underlying legend component. Details can be found here: https://recharts.org/en-US/api/Legend |
308
+
309
+ ### Example: Example 2
310
+
311
+ LineChart with ReferenceLine
312
+ Custom labelPage APage BPage CPage DPage EPage FPage GMaxSegment
313
+
314
+ #### Summary
315
+
316
+ LineChart with ReferenceLine
317
+ Custom labelPage APage BPage CPage DPage EPage FPage GMaxSegment
318
+
319
+ #### React (tsx)
320
+
321
+ ```tsx
322
+ import LineChart from '@rio-cloud/rio-uikit/LineChart';
323
+ import Line from '@rio-cloud/rio-uikit/Line';
324
+ import ReferenceLine from '@rio-cloud/rio-uikit/ReferenceLine';
325
+ import ChartTooltip from '@rio-cloud/rio-uikit/ChartTooltip';
326
+
327
+ type CustomData = {
328
+ name: string;
329
+ value: number;
330
+ };
331
+
332
+ export default () => {
333
+ return (
334
+ <>
335
+ <label>LineChart with ReferenceLine</label>
336
+ <div className='panel panel-default panel-body margin-bottom-0 height-200 max-width-500'>
337
+ <LineChart
338
+ data={data}
339
+ dataKey={(entry: CustomData) => entry.name}
340
+ xAxisOptions={{ padding: { left: 30, right: 30 } }}
341
+ lines={[<Line key='line' type='monotone' dataKey={entry => entry.value} />]}
342
+ tooltip={<ChartTooltip content={<CustomTooltip />} cursor={{ fill: '#ebf9fa80' }} />}
343
+ referenceLines={[
344
+ <ReferenceLine key='x' x='Page E' stroke='color-coldplay-turquoise' label={<CustomLabel />} />,
345
+ <ReferenceLine
346
+ key='y'
347
+ y={3500}
348
+ stroke='color-warmup-salmon'
349
+ strokeDasharray='3 3'
350
+ label='Max'
351
+ />,
352
+ <ReferenceLine
353
+ key='segment'
354
+ stroke='color-warmup-salmon'
355
+ strokeDasharray='3 6'
356
+ segment={[
357
+ { x: 'Page A', y: 0 },
358
+ { x: 'Page E', y: 3500 },
359
+ ]}
360
+ label='Segment'
361
+ />,
362
+ ]}
363
+ />
364
+ </div>
365
+ </>
366
+ );
367
+ };
368
+
369
+ const CustomLabel = (props: any) => {
370
+ const { viewBox } = props;
371
+ return (
372
+ <text x={viewBox.x + 5} y={viewBox.y + 90} fill='gray' textAnchor='right'>
373
+ Custom label
374
+ </text>
375
+ );
376
+ };
377
+
378
+ const CustomTooltip = ({ active, payload }: { active?: boolean; payload?: any }) => {
379
+ if (!active) {
380
+ return null;
381
+ }
382
+
383
+ const firstValue = payload[0].value;
384
+
385
+ return (
386
+ <div className='custom-tooltip bg-white border padding-10 min-width-100 rounded shadow-smooth'>
387
+ <div className='display-flex justify-content-between gap-20'>
388
+ <span className='text-color-dark'>20.06.2022</span>
389
+ <span className='display-flex align-items-center text-color-darker line-height-12'>
390
+ <span className='rioglyph rioglyph-truck' />
391
+ <span className='margin-left-2'>{payload.length}</span>
392
+ </span>
393
+ </div>
394
+ <hr className='margin-y-5' />
395
+ <div>
396
+ <div className='display-flex'>
397
+ <span className='width-10' />
398
+ <span className='text-color-highlight-dark'>{`${firstValue}`}</span>
399
+ </div>
400
+ </div>
401
+ </div>
402
+ );
403
+ };
404
+
405
+ const data: CustomData[] = [
406
+ {
407
+ name: 'Page A',
408
+ value: 3200,
409
+ },
410
+ {
411
+ name: 'Page B',
412
+ value: 3000,
413
+ },
414
+ {
415
+ name: 'Page C',
416
+ value: 2000,
417
+ },
418
+ {
419
+ name: 'Page D',
420
+ value: 2780,
421
+ },
422
+ {
423
+ name: 'Page E',
424
+ value: 1890,
425
+ },
426
+ {
427
+ name: 'Page F',
428
+ value: 2390,
429
+ },
430
+ {
431
+ name: 'Page G',
432
+ value: 3490,
433
+ },
434
+ ];
435
+ ```
436
+
437
+ #### HTML (html)
438
+
439
+ ```html
440
+ <label>LineChart with ReferenceLine</label>
441
+ <div class="panel panel-default panel-body margin-bottom-0 height-200 max-width-500">
442
+ <div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
443
+ <div style="width: 0px; height: 0px; overflow: visible;">
444
+ <div width="468" height="168" class="recharts-wrapper" style="position: relative; cursor: default; width: 468px; height: 168px;">
445
+ <div xmlns="http://www.w3.org/1999/xhtml" tabindex="-1" class="recharts-tooltip-wrapper" style="visibility: hidden; pointer-events: none; position: absolute; top: 0px; left: 0px;">
446
+ </div>
447
+ <svg role="application" tabindex="0" class="recharts-surface" width="468" height="168" viewBox="0 0 468 168" style="width: 100%; height: 100%; display: block;">
448
+ <title>
449
+ </title>
450
+ <desc>
451
+ </desc>
452
+ <g tabindex="-1" id="recharts-zindex--100-:re:">
453
+ </g>
454
+ <g tabindex="-1" id="recharts-zindex--50-:rf:">
455
+ </g>
456
+ <defs>
457
+ <clipPath id="recharts2-clip">
458
+ <rect x="15" y="15" height="108" width="438">
459
+ </rect>
460
+ </clipPath>
461
+ </defs>
462
+ <g tabindex="-1" id="recharts-zindex-100-:rh:">
463
+ </g>
464
+ <g tabindex="-1" id="recharts-zindex-200-:ri:">
465
+ </g>
466
+ <g tabindex="-1" id="recharts-zindex-300-:rj:">
467
+ </g>
468
+ <g tabindex="-1" id="recharts-zindex-400-:rk:">
469
+ <g class="recharts-layer recharts-line">
470
+ <path stroke="#67abc5 " fill="none" stroke-width="1" id="recharts-line-:rg:" height="108" width="438" class="recharts-curve recharts-line-curve" stroke-dasharray="49.640030826810914px 1.7487860066851795px" d="M45,27C66,28,87,29,108,33C129,37,150,63,171,63C192,63,213,39.6,234,39.6C255,39.6,276,66.3,297,66.3C318,66.3,339,59.3,360,51.3C381,43.3,402,30.8,423,18.3">
471
+ </path>
472
+ </g>
473
+ <g class="recharts-layer recharts-reference-line">
474
+ <line x="Page E" stroke="#4eccc1 " fill="none" fill-opacity="1" stroke-width="1" x1="297" y1="123" x2="297" y2="15" class="recharts-reference-line-line">
475
+ </line>
476
+ <text x="302" y="105" fill="gray" text-anchor="right">Custom label</text>
477
+ </g>
478
+ <g class="recharts-layer recharts-reference-line">
479
+ <line y="3500" stroke-dasharray="3 3" stroke="#f19588 " fill="none" fill-opacity="1" stroke-width="1" x1="15" y1="18.000000000000004" x2="453" y2="18.000000000000004" class="recharts-reference-line-line">
480
+ </line>
481
+ </g>
482
+ <g class="recharts-layer recharts-reference-line">
483
+ <line stroke-dasharray="3 6" stroke="#f19588 " fill="none" fill-opacity="1" stroke-width="1" x1="45" y1="123" x2="297" y2="18.000000000000004" class="recharts-reference-line-line">
484
+ </line>
485
+ </g>
486
+ </g>
487
+ <g tabindex="-1" id="recharts-zindex-500-:rl:">
488
+ <g class="recharts-layer recharts-cartesian-axis recharts-xAxis xAxis">
489
+ <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-line" stroke="#666" fill="none" x1="15" y1="123" x2="453" y2="123">
490
+ </line>
491
+ <g class="recharts-cartesian-axis-ticks recharts-xAxis-ticks">
492
+ <g class="recharts-cartesian-axis-tick-lines recharts-xAxis-tick-lines">
493
+ <g class="recharts-layer recharts-cartesian-axis-tick">
494
+ <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="45" y1="129" x2="45" y2="123">
495
+ </line>
496
+ </g>
497
+ <g class="recharts-layer recharts-cartesian-axis-tick">
498
+ <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="108" y1="129" x2="108" y2="123">
499
+ </line>
500
+ </g>
501
+ <g class="recharts-layer recharts-cartesian-axis-tick">
502
+ <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="171" y1="129" x2="171" y2="123">
503
+ </line>
504
+ </g>
505
+ <g class="recharts-layer recharts-cartesian-axis-tick">
506
+ <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="234" y1="129" x2="234" y2="123">
507
+ </line>
508
+ </g>
509
+ <g class="recharts-layer recharts-cartesian-axis-tick">
510
+ <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="297" y1="129" x2="297" y2="123">
511
+ </line>
512
+ </g>
513
+ <g class="recharts-layer recharts-cartesian-axis-tick">
514
+ <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="360" y1="129" x2="360" y2="123">
515
+ </line>
516
+ </g>
517
+ <g class="recharts-layer recharts-cartesian-axis-tick">
518
+ <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="423" y1="129" x2="423" y2="123">
519
+ </line>
520
+ </g>
521
+ </g>
522
+ </g>
523
+ </g>
524
+ </g>
525
+ <g tabindex="-1" id="recharts-zindex-600-:rm:">
526
+ <g class="recharts-layer recharts-line-dots">
527
+ <circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="438" cx="45" cy="27.000000000000007" class="recharts-dot recharts-line-dot">
528
+ </circle>
529
+ <circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="438" cx="108" cy="33" class="recharts-dot recharts-line-dot">
530
+ </circle>
531
+ <circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="438" cx="171" cy="63" class="recharts-dot recharts-line-dot">
532
+ </circle>
533
+ <circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="438" cx="234" cy="39.599999999999994" class="recharts-dot recharts-line-dot">
534
+ </circle>
535
+ <circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="438" cx="297" cy="66.3" class="recharts-dot recharts-line-dot">
536
+ </circle>
537
+ <circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="438" cx="360" cy="51.3" class="recharts-dot recharts-line-dot">
538
+ </circle>
539
+ <circle r="3" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="438" cx="423" cy="18.3" class="recharts-dot recharts-line-dot">
540
+ </circle>
541
+ </g>
542
+ </g>
543
+ <g tabindex="-1" id="recharts-zindex-1000-:rn:">
544
+ </g>
545
+ <g tabindex="-1" id="recharts-zindex-1100-:ro:">
546
+ </g>
547
+ <g tabindex="-1" id="recharts-zindex-1200-:rp:">
548
+ </g>
549
+ <g tabindex="-1" id="recharts-zindex-2000-:rq:">
550
+ <g class="recharts-cartesian-axis-tick-labels recharts-xAxis-tick-labels">
551
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
552
+ <text height="30" orientation="bottom" width="438" stroke="none" x="45" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
553
+ <tspan x="45" dy="0.71em">Page A</tspan>
554
+ </text>
555
+ </g>
556
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
557
+ <text height="30" orientation="bottom" width="438" stroke="none" x="108" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
558
+ <tspan x="108" dy="0.71em">Page B</tspan>
559
+ </text>
560
+ </g>
561
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
562
+ <text height="30" orientation="bottom" width="438" stroke="none" x="171" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
563
+ <tspan x="171" dy="0.71em">Page C</tspan>
564
+ </text>
565
+ </g>
566
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
567
+ <text height="30" orientation="bottom" width="438" stroke="none" x="234" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
568
+ <tspan x="234" dy="0.71em">Page D</tspan>
569
+ </text>
570
+ </g>
571
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
572
+ <text height="30" orientation="bottom" width="438" stroke="none" x="297" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
573
+ <tspan x="297" dy="0.71em">Page E</tspan>
574
+ </text>
575
+ </g>
576
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
577
+ <text height="30" orientation="bottom" width="438" stroke="none" x="360" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
578
+ <tspan x="360" dy="0.71em">Page F</tspan>
579
+ </text>
580
+ </g>
581
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
582
+ <text height="30" orientation="bottom" width="438" stroke="none" x="423" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
583
+ <tspan x="423" dy="0.71em">Page G</tspan>
584
+ </text>
585
+ </g>
586
+ </g>
587
+ <text offset="5" x="234" y="18.000000000000004" class="recharts-text recharts-label" text-anchor="middle" fill="#808080">
588
+ <tspan x="234" dy="0.355em">Max</tspan>
589
+ </text>
590
+ <text offset="5" x="171" y="70.5" class="recharts-text recharts-label" text-anchor="middle" fill="#808080">
591
+ <tspan x="171" dy="0.355em">Segment</tspan>
592
+ </text>
593
+ </g>
594
+ </svg>
595
+ </div>
596
+ </div>
597
+ </div>
598
+ </div>
599
+ ```
600
+
601
+ #### Props: LineChart
602
+
603
+ ### LineChart
604
+
605
+ | Name | Type | Default | Description |
606
+ | --- | --- | --- | --- |
607
+ | width | Number | — | The width of chart container. |
608
+ | height | Number | — | The height of chart container. |
609
+ | data | Array | — | The source data, in which each element is an object. It has the following format: [{ name: "a", value: 12 }] Note: for some charts, the color of the individual data is taken from the color prop: [{ name: "a", value: 12, color: "color-coldplay-fountain" }] |
610
+ | dataKey | String \| Number \| Function | value | The key of data displayed in the axis. Also, used as label for the x-axis. |
611
+ | dataUnit | string | — | The unit of data displayed in the chart. |
612
+ | showGrid | Boolean | false | Defines whether or not the grid shall be rendered. |
613
+ | showXAxis | Boolean | true | Defines whether or not the x-axis shall be rendered. |
614
+ | showYAxis | Boolean | false | Defines whether or not the y-axis shall be rendered. |
615
+ | xAxisOptions | Object | — | Detailed options passed to the underlying XAxis component. Details can be found here: https://recharts.org/en-US/api/XAxis |
616
+ | yAxisOptions | Object | — | Detailed options passed to the underlying YAxis component. Details can be found here: https://recharts.org/en-US/api/YAxis |
617
+ | additionalAxes | React.ReactElement<XAxisProps \| YAxisProps>[] | — | Render a list of additional axes. This includes YAxis and XAxis. |
618
+ | gridOptions | Object | — | Detailed options passed to the underlying Grid component. Details can be found here: https://recharts.org/en-US/api/CartesianGrid |
619
+ | containerOptions | Object | — | Detailed options passed to the underlying ResponsiveContainer component. Details can be found here: https://recharts.org/en-US/api/ResponsiveContainer |
620
+ | brush | Boolean | false | Defines whether or not the brush component shall be used. |
621
+ | tooltip | ChartTooltip \| Boolean | — | Defines whether or not the tooltip component shall be used. You can customize the tooltip by providing a custom ChartTooltip. Prop details can be found here: https://recharts.org/en-US/api/Tooltip. You can also customize the cursor color by setting a stroke or fill color in the cursor props. Details can be found here: https://recharts.org/en-US/api/Tooltip#cursor |
622
+ | legend | Legend \| Boolean | false | Shows the provided Legend component otherwise shows nothing. |
623
+ | lines | Array of Line | [] | Renders the provided Line components. |
624
+ | ... | | — | Additional props are passed to the underlying LineChart component. Details can be found here: https://recharts.org/en-US/api/LineChart |
625
+
626
+ #### Props: Line
627
+
628
+ ### Line
629
+
630
+ | Name | Type | Default | Description |
631
+ | --- | --- | --- | --- |
632
+ | strokeColor | String | color-coldplay-fountain | Defines the color for the line. Take the color name from the charts colors page. |
633
+ | dataKey | string \| number \| ((obj: T) => any) | value | The key of data used for the line. |
634
+ | dataUnit | String \| Number | — | The unit of data displayed for the line. |
635
+ | legendType | String | square | The type of icon in legend. If set to "none", no legend item will be rendered. |
636
+ | type | String | monotone | The interpolation type of line. And customized interpolation function can be set to type. It is the same as type in Area. |
637
+ | isAnimationActive | Boolean | true | If set false, animation of line will be disabled. |
638
+ | ... | | — | Additional props are passed to the underlying Line component. Details can be found here: https://recharts.org/en-US/api/Line |
639
+
640
+ #### Props: ReferenceLine
641
+
642
+ ### ReferenceLine
643
+
644
+ | Name | Type | Default | Description |
645
+ | --- | --- | --- | --- |
646
+ | stroke | String | color-coldplay-fountain | Defines the color for the line. Take the color name from the charts colors page. |
647
+ | ... | | — | Additional props are passed to the underlying ReferenceLine component. Details can be found here: https://recharts.org/en-US/api/ReferenceLine |
648
+
649
+ #### Props: Legend
650
+
651
+ ### Legend
652
+
653
+ | Name | Type | Default | Description |
654
+ | --- | --- | --- | --- |
655
+ | iconType | String | square | Defines the type of the leading icon. |
656
+ | iconSize | String | 12 | Defines the size of the leading icon. |
657
+ | layout | String | vertical | Defines the layout of the legend. |
658
+ | align | String | right | Defines the alignment of the legend relative to the chart. |
659
+ | verticalAlign | String | top | Defines the vertical alignment of the legend relative to the chart. |
660
+ | ... | | — | Additional props are passed to the underlying legend component. Details can be found here: https://recharts.org/en-US/api/Legend |
661
+
662
+ ### Example: Example 3
663
+
664
+ Multiple lines in a LineChart with a brush for range selection
665
+
666
+ uv
667
+ pv
668
+ amt
669
+
670
+ Page APage BPage CPage DPage EPage FPage G025005000750010000
671
+
672
+ #### Summary
673
+
674
+ Multiple lines in a LineChart with a brush for range selection
675
+
676
+ uv
677
+ pv
678
+ amt
679
+
680
+ Page APage BPage CPage DPage EPage FPage G025005000750010000
681
+
682
+ #### React (tsx)
683
+
684
+ ```tsx
685
+ import LineChart from '@rio-cloud/rio-uikit/LineChart';
686
+ import Line from '@rio-cloud/rio-uikit/Line';
687
+ import Legend from '@rio-cloud/rio-uikit/Legend';
688
+
689
+ type CustomData = {
690
+ name: string;
691
+ uv: number;
692
+ pv: number;
693
+ amt: number;
694
+ };
695
+
696
+ export default () => {
697
+ return (
698
+ <>
699
+ <label>Multiple lines in a LineChart with a brush for range selection</label>
700
+ <div className='panel panel-default panel-body margin-bottom-0 height-300'>
701
+ <LineChart
702
+ data={data}
703
+ dataKey={(entry: CustomData) => entry.name}
704
+ brush
705
+ showYAxis
706
+ showGrid
707
+ legend={
708
+ <Legend
709
+ layout='horizontal'
710
+ verticalAlign='bottom'
711
+ iconType='line'
712
+ formatter={(value: string, entry: any, index: number) => {
713
+ const { color } = entry;
714
+ return <span style={{ color }}>{Object.keys(data[0])[index + 1]}</span>;
715
+ }}
716
+ />
717
+ }
718
+ lines={[
719
+ <Line key='line1' name='uv' dataKey='uv' strokeColor='color-coldplay-fountain' />,
720
+ <Line key='line2' name='pv' dataKey='pv' strokeColor='color-coldplay-moos' />,
721
+ <Line key='line3' name='amt' dataKey='amt' strokeColor='color-warmup-raspberry' />,
722
+ ]}
723
+ />
724
+ </div>
725
+ </>
726
+ );
727
+ };
728
+
729
+ const data: CustomData[] = [
730
+ {
731
+ name: 'Page A',
732
+ uv: 3200,
733
+ pv: 2400,
734
+ amt: 2400,
735
+ },
736
+ {
737
+ name: 'Page B',
738
+ uv: 3000,
739
+ pv: 1398,
740
+ amt: 2210,
741
+ },
742
+ {
743
+ name: 'Page C',
744
+ uv: 2000,
745
+ pv: 9800,
746
+ amt: 2290,
747
+ },
748
+ {
749
+ name: 'Page D',
750
+ uv: 2780,
751
+ pv: 3908,
752
+ amt: 2000,
753
+ },
754
+ {
755
+ name: 'Page E',
756
+ uv: 1890,
757
+ pv: 4800,
758
+ amt: 2181,
759
+ },
760
+ {
761
+ name: 'Page F',
762
+ uv: 2390,
763
+ pv: 3800,
764
+ amt: 2500,
765
+ },
766
+ {
767
+ name: 'Page G',
768
+ uv: 3490,
769
+ pv: 4300,
770
+ amt: 2100,
771
+ },
772
+ ];
773
+ ```
774
+
775
+ #### HTML (html)
776
+
777
+ ```html
778
+ <label>Multiple lines in a LineChart with a brush for range selection</label>
779
+ <div class="panel panel-default panel-body margin-bottom-0 height-300">
780
+ <div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
781
+ <div style="width: 0px; height: 0px; overflow: visible;">
782
+ <div width="876" height="268" class="recharts-wrapper" style="position: relative; cursor: default; width: 876px; height: 268px;">
783
+ <div xmlns="http://www.w3.org/1999/xhtml" tabindex="-1" class="recharts-tooltip-wrapper" style="visibility: hidden; pointer-events: none; position: absolute; top: 0px; left: 0px;">
784
+ <div class="recharts-default-tooltip" role="status" aria-live="assertive" style="margin: 0px; padding: 10px; background-color: rgb(255, 255, 255); border: 1px solid rgb(204, 204, 204); white-space: nowrap;">
785
+ <p class="recharts-tooltip-label" style="margin: 0px;">
786
+ </p>
787
+ </div>
788
+ </div>
789
+ <div class="recharts-legend-wrapper" style="position: absolute; width: 846px; height: auto; right: 15px; bottom: 15px;">
790
+ <ul class="recharts-default-legend" style="padding: 0px; margin: 0px; text-align: right;">
791
+ <li class="recharts-legend-item legend-item-0" style="display: inline-block; margin-right: 10px;">
792
+ <svg aria-label="[object Object] legend icon" class="recharts-surface" width="12" height="12" viewBox="0 0 32 32" style="display: inline-block; vertical-align: middle; margin-right: 4px;">
793
+ <title>
794
+ </title>
795
+ <desc>
796
+ </desc>
797
+ <path stroke-width="4" fill="none" stroke="#b23672 " d="M0,16h10.666666666666666
798
+ A5.333333333333333,5.333333333333333,0,1,1,21.333333333333332,16
799
+ H32M21.333333333333332,16
800
+ A5.333333333333333,5.333333333333333,0,1,1,10.666666666666666,16" class="recharts-legend-icon">
801
+ </path>
802
+ </svg>
803
+ <span class="recharts-legend-item-text" style="color: rgb(178, 54, 114);">
804
+ <span style="color: rgb(178, 54, 114);">uv</span>
805
+ </span>
806
+ </li>
807
+ <li class="recharts-legend-item legend-item-1" style="display: inline-block; margin-right: 10px;">
808
+ <svg aria-label="[object Object] legend icon" class="recharts-surface" width="12" height="12" viewBox="0 0 32 32" style="display: inline-block; vertical-align: middle; margin-right: 4px;">
809
+ <title>
810
+ </title>
811
+ <desc>
812
+ </desc>
813
+ <path stroke-width="4" fill="none" stroke="#a1daa3 " d="M0,16h10.666666666666666
814
+ A5.333333333333333,5.333333333333333,0,1,1,21.333333333333332,16
815
+ H32M21.333333333333332,16
816
+ A5.333333333333333,5.333333333333333,0,1,1,10.666666666666666,16" class="recharts-legend-icon">
817
+ </path>
818
+ </svg>
819
+ <span class="recharts-legend-item-text" style="color: rgb(161, 218, 163);">
820
+ <span style="color: rgb(161, 218, 163);">pv</span>
821
+ </span>
822
+ </li>
823
+ <li class="recharts-legend-item legend-item-2" style="display: inline-block; margin-right: 10px;">
824
+ <svg aria-label="[object Object] legend icon" class="recharts-surface" width="12" height="12" viewBox="0 0 32 32" style="display: inline-block; vertical-align: middle; margin-right: 4px;">
825
+ <title>
826
+ </title>
827
+ <desc>
828
+ </desc>
829
+ <path stroke-width="4" fill="none" stroke="#67abc5 " d="M0,16h10.666666666666666
830
+ A5.333333333333333,5.333333333333333,0,1,1,21.333333333333332,16
831
+ H32M21.333333333333332,16
832
+ A5.333333333333333,5.333333333333333,0,1,1,10.666666666666666,16" class="recharts-legend-icon">
833
+ </path>
834
+ </svg>
835
+ <span class="recharts-legend-item-text" style="color: rgb(103, 171, 197);">
836
+ <span style="color: rgb(103, 171, 197);">amt</span>
837
+ </span>
838
+ </li>
839
+ </ul>
840
+ </div>
841
+ <svg role="application" tabindex="0" class="recharts-surface" width="876" height="268" viewBox="0 0 876 268" style="width: 100%; height: 100%; display: block;">
842
+ <title>
843
+ </title>
844
+ <desc>
845
+ </desc>
846
+ <g tabindex="-1" id="recharts-zindex--100-:rr:">
847
+ <g class="recharts-cartesian-grid">
848
+ <g class="recharts-cartesian-grid-horizontal">
849
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="786" height="108" x1="75" y1="123" x2="861" y2="123">
850
+ </line>
851
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="786" height="108" x1="75" y1="96" x2="861" y2="96">
852
+ </line>
853
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="786" height="108" x1="75" y1="69" x2="861" y2="69">
854
+ </line>
855
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="786" height="108" x1="75" y1="42" x2="861" y2="42">
856
+ </line>
857
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="786" height="108" x1="75" y1="15" x2="861" y2="15">
858
+ </line>
859
+ </g>
860
+ <g class="recharts-cartesian-grid-vertical">
861
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="786" height="108" x1="75" y1="15" x2="75" y2="123">
862
+ </line>
863
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="786" height="108" x1="206" y1="15" x2="206" y2="123">
864
+ </line>
865
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="786" height="108" x1="337" y1="15" x2="337" y2="123">
866
+ </line>
867
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="786" height="108" x1="468" y1="15" x2="468" y2="123">
868
+ </line>
869
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="786" height="108" x1="599" y1="15" x2="599" y2="123">
870
+ </line>
871
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="786" height="108" x1="730" y1="15" x2="730" y2="123">
872
+ </line>
873
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="786" height="108" x1="861" y1="15" x2="861" y2="123">
874
+ </line>
875
+ </g>
876
+ </g>
877
+ </g>
878
+ <g tabindex="-1" id="recharts-zindex--50-:rs:">
879
+ </g>
880
+ <defs>
881
+ <clipPath id="recharts3-clip">
882
+ <rect x="75" y="15" height="108" width="786">
883
+ </rect>
884
+ </clipPath>
885
+ </defs>
886
+ <g class="recharts-layer recharts-brush" style="user-select: none;">
887
+ <rect stroke="#a7afbb " fill="#fff" x="75" y="153" width="786" height="40">
888
+ </rect>
889
+ <rect class="recharts-brush-slide" stroke="none" fill="#a7afbb " fill-opacity="0.2" x="80" y="153" width="776" height="40" style="cursor: move;">
890
+ </rect>
891
+ <g class="recharts-layer recharts-brush-traveller" tabindex="0" role="slider" aria-label="Min value: Page A, Max value: Page G" aria-valuenow="75" style="cursor: col-resize;">
892
+ <rect x="75" y="153" width="5" height="40" fill="#a7afbb " stroke="none">
893
+ </rect>
894
+ <line x1="76" y1="172" x2="79" y2="172" fill="none" stroke="#fff">
895
+ </line>
896
+ <line x1="76" y1="174" x2="79" y2="174" fill="none" stroke="#fff">
897
+ </line>
898
+ </g>
899
+ <g class="recharts-layer recharts-brush-traveller" tabindex="0" role="slider" aria-label="Min value: Page A, Max value: Page G" aria-valuenow="856" style="cursor: col-resize;">
900
+ <rect x="856" y="153" width="5" height="40" fill="#a7afbb " stroke="none">
901
+ </rect>
902
+ <line x1="857" y1="172" x2="860" y2="172" fill="none" stroke="#fff">
903
+ </line>
904
+ <line x1="857" y1="174" x2="860" y2="174" fill="none" stroke="#fff">
905
+ </line>
906
+ </g>
907
+ </g>
908
+ <g tabindex="-1" id="recharts-zindex-100-:r10:">
909
+ </g>
910
+ <g tabindex="-1" id="recharts-zindex-200-:r11:">
911
+ </g>
912
+ <g tabindex="-1" id="recharts-zindex-300-:r12:">
913
+ </g>
914
+ <g tabindex="-1" id="recharts-zindex-400-:r13:">
915
+ <g class="recharts-layer recharts-line">
916
+ <path name="uv" stroke="#67abc5 " fill="none" stroke-width="1" id="recharts-line-:rt:" height="108" width="786" class="recharts-curve recharts-line-curve" stroke-dasharray="787.956298828125px 0px" d="M75,88.44C118.667,88.8,162.333,89.16,206,90.6C249.667,92.04,293.333,101.4,337,101.4C380.667,101.4,424.333,92.976,468,92.976C511.667,92.976,555.333,102.588,599,102.588C642.667,102.588,686.333,100.068,730,97.188C773.667,94.308,817.333,89.808,861,85.308">
917
+ </path>
918
+ </g>
919
+ <g class="recharts-layer recharts-line">
920
+ <path name="pv" stroke="#a1daa3 " fill="none" stroke-width="1" id="recharts-line-:ru:" height="108" width="786" class="recharts-curve recharts-line-curve" stroke-dasharray="836.8355102539062px 0px" d="M75,97.08C118.667,102.491,162.333,107.902,206,107.902C249.667,107.902,293.333,17.16,337,17.16C380.667,17.16,424.333,80.794,468,80.794C511.667,80.794,555.333,71.16,599,71.16C642.667,71.16,686.333,81.96,730,81.96C773.667,81.96,817.333,79.26,861,76.56">
921
+ </path>
922
+ </g>
923
+ <g class="recharts-layer recharts-line">
924
+ <path name="amt" stroke="#b23672 " fill="none" stroke-width="1" id="recharts-line-:rv:" height="108" width="786" class="recharts-curve recharts-line-curve" stroke-dasharray="786.2213134765625px 0px" d="M75,97.08C118.667,98.106,162.333,99.132,206,99.132C249.667,99.132,293.333,98.268,337,98.268C380.667,98.268,424.333,101.4,468,101.4C511.667,101.4,555.333,100.345,599,99.445C642.667,98.545,686.333,96,730,96C773.667,96,817.333,98.16,861,100.32">
925
+ </path>
926
+ </g>
927
+ </g>
928
+ <g tabindex="-1" id="recharts-zindex-500-:r14:">
929
+ <g class="recharts-layer recharts-cartesian-axis recharts-xAxis xAxis">
930
+ <line angle="0" height="30" orientation="bottom" x="75" y="123" width="786" class="recharts-cartesian-axis-line" stroke="#666" fill="none" x1="75" y1="123" x2="861" y2="123">
931
+ </line>
932
+ <g class="recharts-cartesian-axis-ticks recharts-xAxis-ticks">
933
+ <g class="recharts-cartesian-axis-tick-lines recharts-xAxis-tick-lines">
934
+ <g class="recharts-layer recharts-cartesian-axis-tick">
935
+ <line angle="0" height="30" orientation="bottom" x="75" y="123" width="786" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="75" y1="129" x2="75" y2="123">
936
+ </line>
937
+ </g>
938
+ <g class="recharts-layer recharts-cartesian-axis-tick">
939
+ <line angle="0" height="30" orientation="bottom" x="75" y="123" width="786" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="206" y1="129" x2="206" y2="123">
940
+ </line>
941
+ </g>
942
+ <g class="recharts-layer recharts-cartesian-axis-tick">
943
+ <line angle="0" height="30" orientation="bottom" x="75" y="123" width="786" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="337" y1="129" x2="337" y2="123">
944
+ </line>
945
+ </g>
946
+ <g class="recharts-layer recharts-cartesian-axis-tick">
947
+ <line angle="0" height="30" orientation="bottom" x="75" y="123" width="786" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="468" y1="129" x2="468" y2="123">
948
+ </line>
949
+ </g>
950
+ <g class="recharts-layer recharts-cartesian-axis-tick">
951
+ <line angle="0" height="30" orientation="bottom" x="75" y="123" width="786" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="599" y1="129" x2="599" y2="123">
952
+ </line>
953
+ </g>
954
+ <g class="recharts-layer recharts-cartesian-axis-tick">
955
+ <line angle="0" height="30" orientation="bottom" x="75" y="123" width="786" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="730" y1="129" x2="730" y2="123">
956
+ </line>
957
+ </g>
958
+ <g class="recharts-layer recharts-cartesian-axis-tick">
959
+ <line angle="0" height="30" orientation="bottom" x="75" y="123" width="786" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="861" y1="129" x2="861" y2="123">
960
+ </line>
961
+ </g>
962
+ </g>
963
+ </g>
964
+ </g>
965
+ <g class="recharts-layer recharts-cartesian-axis recharts-yAxis yAxis">
966
+ <line angle="0" orientation="left" width="60" x="15" y="15" height="108" class="recharts-cartesian-axis-line" stroke="#666" fill="none" x1="75" y1="15" x2="75" y2="123">
967
+ </line>
968
+ <g class="recharts-cartesian-axis-ticks recharts-yAxis-ticks">
969
+ <g class="recharts-cartesian-axis-tick-lines recharts-yAxis-tick-lines">
970
+ <g class="recharts-layer recharts-cartesian-axis-tick">
971
+ <line angle="0" orientation="left" width="60" x="15" y="15" height="108" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="69" y1="123" x2="75" y2="123">
972
+ </line>
973
+ </g>
974
+ <g class="recharts-layer recharts-cartesian-axis-tick">
975
+ <line angle="0" orientation="left" width="60" x="15" y="15" height="108" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="69" y1="96" x2="75" y2="96">
976
+ </line>
977
+ </g>
978
+ <g class="recharts-layer recharts-cartesian-axis-tick">
979
+ <line angle="0" orientation="left" width="60" x="15" y="15" height="108" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="69" y1="69" x2="75" y2="69">
980
+ </line>
981
+ </g>
982
+ <g class="recharts-layer recharts-cartesian-axis-tick">
983
+ <line angle="0" orientation="left" width="60" x="15" y="15" height="108" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="69" y1="42" x2="75" y2="42">
984
+ </line>
985
+ </g>
986
+ <g class="recharts-layer recharts-cartesian-axis-tick">
987
+ <line angle="0" orientation="left" width="60" x="15" y="15" height="108" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="69" y1="15" x2="75" y2="15">
988
+ </line>
989
+ </g>
990
+ </g>
991
+ </g>
992
+ </g>
993
+ </g>
994
+ <g tabindex="-1" id="recharts-zindex-600-:r15:">
995
+ <g class="recharts-layer recharts-line-dots">
996
+ <circle r="3" name="uv" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="786" cx="75" cy="88.43999999999998" class="recharts-dot recharts-line-dot">
997
+ </circle>
998
+ <circle r="3" name="uv" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="786" cx="206" cy="90.6" class="recharts-dot recharts-line-dot">
999
+ </circle>
1000
+ <circle r="3" name="uv" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="786" cx="337" cy="101.4" class="recharts-dot recharts-line-dot">
1001
+ </circle>
1002
+ <circle r="3" name="uv" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="786" cx="468" cy="92.976" class="recharts-dot recharts-line-dot">
1003
+ </circle>
1004
+ <circle r="3" name="uv" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="786" cx="599" cy="102.58799999999998" class="recharts-dot recharts-line-dot">
1005
+ </circle>
1006
+ <circle r="3" name="uv" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="786" cx="730" cy="97.18799999999999" class="recharts-dot recharts-line-dot">
1007
+ </circle>
1008
+ <circle r="3" name="uv" stroke="#67abc5 " fill="#fff" stroke-width="1" height="108" width="786" cx="861" cy="85.308" class="recharts-dot recharts-line-dot">
1009
+ </circle>
1010
+ </g>
1011
+ <g class="recharts-layer recharts-line-dots">
1012
+ <circle r="3" name="pv" stroke="#a1daa3 " fill="#fff" stroke-width="1" height="108" width="786" cx="75" cy="97.08" class="recharts-dot recharts-line-dot">
1013
+ </circle>
1014
+ <circle r="3" name="pv" stroke="#a1daa3 " fill="#fff" stroke-width="1" height="108" width="786" cx="206" cy="107.90159999999999" class="recharts-dot recharts-line-dot">
1015
+ </circle>
1016
+ <circle r="3" name="pv" stroke="#a1daa3 " fill="#fff" stroke-width="1" height="108" width="786" cx="337" cy="17.16" class="recharts-dot recharts-line-dot">
1017
+ </circle>
1018
+ <circle r="3" name="pv" stroke="#a1daa3 " fill="#fff" stroke-width="1" height="108" width="786" cx="468" cy="80.79359999999998" class="recharts-dot recharts-line-dot">
1019
+ </circle>
1020
+ <circle r="3" name="pv" stroke="#a1daa3 " fill="#fff" stroke-width="1" height="108" width="786" cx="599" cy="71.16" class="recharts-dot recharts-line-dot">
1021
+ </circle>
1022
+ <circle r="3" name="pv" stroke="#a1daa3 " fill="#fff" stroke-width="1" height="108" width="786" cx="730" cy="81.96000000000001" class="recharts-dot recharts-line-dot">
1023
+ </circle>
1024
+ <circle r="3" name="pv" stroke="#a1daa3 " fill="#fff" stroke-width="1" height="108" width="786" cx="861" cy="76.56000000000002" class="recharts-dot recharts-line-dot">
1025
+ </circle>
1026
+ </g>
1027
+ <g class="recharts-layer recharts-line-dots">
1028
+ <circle r="3" name="amt" stroke="#b23672 " fill="#fff" stroke-width="1" height="108" width="786" cx="75" cy="97.08" class="recharts-dot recharts-line-dot">
1029
+ </circle>
1030
+ <circle r="3" name="amt" stroke="#b23672 " fill="#fff" stroke-width="1" height="108" width="786" cx="206" cy="99.132" class="recharts-dot recharts-line-dot">
1031
+ </circle>
1032
+ <circle r="3" name="amt" stroke="#b23672 " fill="#fff" stroke-width="1" height="108" width="786" cx="337" cy="98.268" class="recharts-dot recharts-line-dot">
1033
+ </circle>
1034
+ <circle r="3" name="amt" stroke="#b23672 " fill="#fff" stroke-width="1" height="108" width="786" cx="468" cy="101.4" class="recharts-dot recharts-line-dot">
1035
+ </circle>
1036
+ <circle r="3" name="amt" stroke="#b23672 " fill="#fff" stroke-width="1" height="108" width="786" cx="599" cy="99.44520000000001" class="recharts-dot recharts-line-dot">
1037
+ </circle>
1038
+ <circle r="3" name="amt" stroke="#b23672 " fill="#fff" stroke-width="1" height="108" width="786" cx="730" cy="96" class="recharts-dot recharts-line-dot">
1039
+ </circle>
1040
+ <circle r="3" name="amt" stroke="#b23672 " fill="#fff" stroke-width="1" height="108" width="786" cx="861" cy="100.32000000000001" class="recharts-dot recharts-line-dot">
1041
+ </circle>
1042
+ </g>
1043
+ </g>
1044
+ <g tabindex="-1" id="recharts-zindex-1000-:r16:">
1045
+ </g>
1046
+ <g tabindex="-1" id="recharts-zindex-1100-:r17:">
1047
+ </g>
1048
+ <g tabindex="-1" id="recharts-zindex-1200-:r18:">
1049
+ </g>
1050
+ <g tabindex="-1" id="recharts-zindex-2000-:r19:">
1051
+ <g class="recharts-cartesian-axis-tick-labels recharts-xAxis-tick-labels">
1052
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1053
+ <text height="30" orientation="bottom" width="786" stroke="none" x="75" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1054
+ <tspan x="75" dy="0.71em">Page A</tspan>
1055
+ </text>
1056
+ </g>
1057
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1058
+ <text height="30" orientation="bottom" width="786" stroke="none" x="206" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1059
+ <tspan x="206" dy="0.71em">Page B</tspan>
1060
+ </text>
1061
+ </g>
1062
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1063
+ <text height="30" orientation="bottom" width="786" stroke="none" x="337" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1064
+ <tspan x="337" dy="0.71em">Page C</tspan>
1065
+ </text>
1066
+ </g>
1067
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1068
+ <text height="30" orientation="bottom" width="786" stroke="none" x="468" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1069
+ <tspan x="468" dy="0.71em">Page D</tspan>
1070
+ </text>
1071
+ </g>
1072
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1073
+ <text height="30" orientation="bottom" width="786" stroke="none" x="599" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1074
+ <tspan x="599" dy="0.71em">Page E</tspan>
1075
+ </text>
1076
+ </g>
1077
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1078
+ <text height="30" orientation="bottom" width="786" stroke="none" x="730" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1079
+ <tspan x="730" dy="0.71em">Page F</tspan>
1080
+ </text>
1081
+ </g>
1082
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1083
+ <text height="30" orientation="bottom" width="786" stroke="none" x="856.1875" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1084
+ <tspan x="856.1875" dy="0.71em">Page G</tspan>
1085
+ </text>
1086
+ </g>
1087
+ </g>
1088
+ <g class="recharts-cartesian-axis-tick-labels recharts-yAxis-tick-labels">
1089
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1090
+ <text orientation="left" width="60" height="108" stroke="none" x="67" y="123" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="end" fill="#666">
1091
+ <tspan x="67" dy="0.355em">0</tspan>
1092
+ </text>
1093
+ </g>
1094
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1095
+ <text orientation="left" width="60" height="108" stroke="none" x="67" y="96" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="end" fill="#666">
1096
+ <tspan x="67" dy="0.355em">2500</tspan>
1097
+ </text>
1098
+ </g>
1099
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1100
+ <text orientation="left" width="60" height="108" stroke="none" x="67" y="69" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="end" fill="#666">
1101
+ <tspan x="67" dy="0.355em">5000</tspan>
1102
+ </text>
1103
+ </g>
1104
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1105
+ <text orientation="left" width="60" height="108" stroke="none" x="67" y="42" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="end" fill="#666">
1106
+ <tspan x="67" dy="0.355em">7500</tspan>
1107
+ </text>
1108
+ </g>
1109
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1110
+ <text orientation="left" width="60" height="108" stroke="none" x="67" y="15" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="end" fill="#666">
1111
+ <tspan x="67" dy="0.355em">10000</tspan>
1112
+ </text>
1113
+ </g>
1114
+ </g>
1115
+ </g>
1116
+ </svg>
1117
+ </div>
1118
+ </div>
1119
+ </div>
1120
+ </div>
1121
+ ```
1122
+
1123
+ #### Props: LineChart
1124
+
1125
+ ### LineChart
1126
+
1127
+ | Name | Type | Default | Description |
1128
+ | --- | --- | --- | --- |
1129
+ | width | Number | — | The width of chart container. |
1130
+ | height | Number | — | The height of chart container. |
1131
+ | data | Array | — | The source data, in which each element is an object. It has the following format: [{ name: "a", value: 12 }] Note: for some charts, the color of the individual data is taken from the color prop: [{ name: "a", value: 12, color: "color-coldplay-fountain" }] |
1132
+ | dataKey | String \| Number \| Function | value | The key of data displayed in the axis. Also, used as label for the x-axis. |
1133
+ | dataUnit | string | — | The unit of data displayed in the chart. |
1134
+ | showGrid | Boolean | false | Defines whether or not the grid shall be rendered. |
1135
+ | showXAxis | Boolean | true | Defines whether or not the x-axis shall be rendered. |
1136
+ | showYAxis | Boolean | false | Defines whether or not the y-axis shall be rendered. |
1137
+ | xAxisOptions | Object | — | Detailed options passed to the underlying XAxis component. Details can be found here: https://recharts.org/en-US/api/XAxis |
1138
+ | yAxisOptions | Object | — | Detailed options passed to the underlying YAxis component. Details can be found here: https://recharts.org/en-US/api/YAxis |
1139
+ | additionalAxes | React.ReactElement<XAxisProps \| YAxisProps>[] | — | Render a list of additional axes. This includes YAxis and XAxis. |
1140
+ | gridOptions | Object | — | Detailed options passed to the underlying Grid component. Details can be found here: https://recharts.org/en-US/api/CartesianGrid |
1141
+ | containerOptions | Object | — | Detailed options passed to the underlying ResponsiveContainer component. Details can be found here: https://recharts.org/en-US/api/ResponsiveContainer |
1142
+ | brush | Boolean | false | Defines whether or not the brush component shall be used. |
1143
+ | tooltip | ChartTooltip \| Boolean | — | Defines whether or not the tooltip component shall be used. You can customize the tooltip by providing a custom ChartTooltip. Prop details can be found here: https://recharts.org/en-US/api/Tooltip. You can also customize the cursor color by setting a stroke or fill color in the cursor props. Details can be found here: https://recharts.org/en-US/api/Tooltip#cursor |
1144
+ | legend | Legend \| Boolean | false | Shows the provided Legend component otherwise shows nothing. |
1145
+ | lines | Array of Line | [] | Renders the provided Line components. |
1146
+ | ... | | — | Additional props are passed to the underlying LineChart component. Details can be found here: https://recharts.org/en-US/api/LineChart |
1147
+
1148
+ #### Props: Line
1149
+
1150
+ ### Line
1151
+
1152
+ | Name | Type | Default | Description |
1153
+ | --- | --- | --- | --- |
1154
+ | strokeColor | String | color-coldplay-fountain | Defines the color for the line. Take the color name from the charts colors page. |
1155
+ | dataKey | string \| number \| ((obj: T) => any) | value | The key of data used for the line. |
1156
+ | dataUnit | String \| Number | — | The unit of data displayed for the line. |
1157
+ | legendType | String | square | The type of icon in legend. If set to "none", no legend item will be rendered. |
1158
+ | type | String | monotone | The interpolation type of line. And customized interpolation function can be set to type. It is the same as type in Area. |
1159
+ | isAnimationActive | Boolean | true | If set false, animation of line will be disabled. |
1160
+ | ... | | — | Additional props are passed to the underlying Line component. Details can be found here: https://recharts.org/en-US/api/Line |
1161
+
1162
+ #### Props: ReferenceLine
1163
+
1164
+ ### ReferenceLine
1165
+
1166
+ | Name | Type | Default | Description |
1167
+ | --- | --- | --- | --- |
1168
+ | stroke | String | color-coldplay-fountain | Defines the color for the line. Take the color name from the charts colors page. |
1169
+ | ... | | — | Additional props are passed to the underlying ReferenceLine component. Details can be found here: https://recharts.org/en-US/api/ReferenceLine |
1170
+
1171
+ #### Props: Legend
1172
+
1173
+ ### Legend
1174
+
1175
+ | Name | Type | Default | Description |
1176
+ | --- | --- | --- | --- |
1177
+ | iconType | String | square | Defines the type of the leading icon. |
1178
+ | iconSize | String | 12 | Defines the size of the leading icon. |
1179
+ | layout | String | vertical | Defines the layout of the legend. |
1180
+ | align | String | right | Defines the alignment of the legend relative to the chart. |
1181
+ | verticalAlign | String | top | Defines the vertical alignment of the legend relative to the chart. |
1182
+ | ... | | — | Additional props are passed to the underlying legend component. Details can be found here: https://recharts.org/en-US/api/Legend |
1183
+
1184
+ ### Example: Example 4
1185
+
1186
+ Multiple axes in a LineChart with a brush for range selection
1187
+
1188
+ Extreme
1189
+ Moderate
1190
+ Nominal
1191
+
1192
+ Now00:1500:4501:1501:4502:1502:4503:1503:4504:1504:450306090120PlannedChargingDischargingInterruption
1193
+
1194
+ #### Summary
1195
+
1196
+ Multiple axes in a LineChart with a brush for range selection
1197
+
1198
+ Extreme
1199
+ Moderate
1200
+ Nominal
1201
+
1202
+ Now00:1500:4501:1501:4502:1502:4503:1503:4504:1504:450306090120PlannedChargingDischargingInterruption
1203
+
1204
+ #### React (tsx)
1205
+
1206
+ ```tsx
1207
+ import { useState } from 'react';
1208
+
1209
+ import LineChart from '@rio-cloud/rio-uikit/LineChart';
1210
+ import Line from '@rio-cloud/rio-uikit/Line';
1211
+ import Legend from '@rio-cloud/rio-uikit/Legend';
1212
+ import Tooltip from '@rio-cloud/rio-uikit/Tooltip';
1213
+ import XAxis from '@rio-cloud/rio-uikit/XAxis';
1214
+ import ReferenceLine from '@rio-cloud/rio-uikit/ReferenceLine';
1215
+
1216
+ type CustomData = {
1217
+ time: string;
1218
+ nominal: number;
1219
+ moderate: number;
1220
+ extreme: number;
1221
+ status: string;
1222
+ };
1223
+
1224
+ const getCurrentTime = () =>
1225
+ new Date().toLocaleTimeString('de-DE', {
1226
+ hour12: false,
1227
+ hour: '2-digit',
1228
+ minute: '2-digit',
1229
+ });
1230
+
1231
+ export default () => {
1232
+ const [highlightedLine, setHighlightedLine] = useState<string | null>(null);
1233
+
1234
+ const handleLegendMouseEnter = (dataKey: string) => {
1235
+ setHighlightedLine(dataKey);
1236
+ };
1237
+
1238
+ const handleLegendMouseLeave = () => {
1239
+ setHighlightedLine(null);
1240
+ };
1241
+
1242
+ const lineData = [
1243
+ { dataKey: 'nominal', name: 'Nominal', strokeColor: 'color-coldplay-fountain' },
1244
+ { dataKey: 'moderate', name: 'Moderate', strokeColor: 'color-coldplay-moos' },
1245
+ { dataKey: 'extreme', name: 'Extreme', strokeColor: 'color-warmup-raspberry' },
1246
+ ];
1247
+
1248
+ return (
1249
+ <>
1250
+ <label>Multiple axes in a LineChart with a brush for range selection</label>
1251
+ <div className='panel panel-default panel-body margin-bottom-0 height-300'>
1252
+ <LineChart
1253
+ data={data}
1254
+ brush
1255
+ showGrid
1256
+ showYAxis
1257
+ xAxisOptions={{ dataKey: 'time', xAxisId: '0' }}
1258
+ additionalAxes={[<XAxis key='1' xAxisId='1' dataKey='status' allowDuplicatedCategory={false} />]}
1259
+ gridOptions={{ strokeDasharray: '3 3' }}
1260
+ tooltip={<Tooltip />}
1261
+ legend={
1262
+ <Legend
1263
+ content={
1264
+ <CustomLegend
1265
+ highlightedLine={highlightedLine}
1266
+ onMouseEnter={handleLegendMouseEnter}
1267
+ onMouseLeave={handleLegendMouseLeave}
1268
+ />
1269
+ }
1270
+ />
1271
+ }
1272
+ referenceLines={[
1273
+ <ReferenceLine
1274
+ key='currentTime'
1275
+ x='03:30'
1276
+ stroke='color-warmup-salmon'
1277
+ label={<CustomLabel />}
1278
+ />,
1279
+ ]}
1280
+ brushOptions={{ dataKey: 'date', height: 20 }}
1281
+ lines={lineData.map((line, index) => (
1282
+ <Line
1283
+ key={`line${index + 1}`}
1284
+ name={line.name}
1285
+ dataKey={line.dataKey}
1286
+ strokeColor={line.strokeColor}
1287
+ activeDot={index === 0 ? { r: 8 } : undefined}
1288
+ strokeWidth={highlightedLine === line.dataKey ? 2 : 1}
1289
+ dot={{ strokeWidth: highlightedLine === line.dataKey ? 2 : 1 }}
1290
+ />
1291
+ ))}
1292
+ />
1293
+ </div>
1294
+ </>
1295
+ );
1296
+ };
1297
+
1298
+ const CustomLabel = (props: any) => {
1299
+ const { viewBox } = props;
1300
+ return (
1301
+ <text x={viewBox.x + 5} y={viewBox.y + 15} fill='gray' textAnchor='right'>
1302
+ Now
1303
+ </text>
1304
+ );
1305
+ };
1306
+
1307
+ type CustomLegendProps = {
1308
+ payload?: any[];
1309
+ highlightedLine: string | null;
1310
+ onMouseEnter: (dataKey: string) => void;
1311
+ onMouseLeave: () => void;
1312
+ };
1313
+
1314
+ const CustomLegend = ({ payload, highlightedLine, onMouseEnter, onMouseLeave }: CustomLegendProps) => {
1315
+ return (
1316
+ <ul className='list-style-none padding-left-20'>
1317
+ {payload?.map((entry: any, index: number) => (
1318
+ <li
1319
+ key={`item-${index}`}
1320
+ onMouseEnter={() => onMouseEnter(entry.dataKey)}
1321
+ onMouseLeave={onMouseLeave}
1322
+ className={`cursor-pointer display-flex gap-5 align-items-center rounded padding-x-5 padding-y-3 ${highlightedLine === entry.dataKey ? 'bg-lightest' : ''}`}
1323
+ >
1324
+ <span className='rioglyph rioglyph-sphere' style={{ color: entry.color }} />
1325
+ <span className='text-color-darker text-capitalize-first-word'>{entry.value}</span>
1326
+ </li>
1327
+ ))}
1328
+ </ul>
1329
+ );
1330
+ };
1331
+
1332
+ const data: CustomData[] = [
1333
+ {
1334
+ time: '00:00',
1335
+ nominal: 94.62,
1336
+ moderate: 94.72,
1337
+ extreme: 101.45,
1338
+ status: 'Planned',
1339
+ },
1340
+ {
1341
+ time: '00:15',
1342
+ nominal: 79.16,
1343
+ moderate: 85.05,
1344
+ extreme: 79.05,
1345
+ status: 'Planned',
1346
+ },
1347
+ {
1348
+ time: '00:30',
1349
+ nominal: 62.79,
1350
+ moderate: 74.82,
1351
+ extreme: 55.34,
1352
+ status: 'Planned',
1353
+ },
1354
+ {
1355
+ time: '00:45',
1356
+ nominal: 49.19,
1357
+ moderate: 66.32,
1358
+ extreme: 35.64,
1359
+ status: 'Planned',
1360
+ },
1361
+ {
1362
+ time: '01:00',
1363
+ nominal: 73.74,
1364
+ moderate: 81.59,
1365
+ extreme: 74.15,
1366
+ status: 'Charging',
1367
+ },
1368
+ {
1369
+ time: '01:15',
1370
+ nominal: 61.45,
1371
+ moderate: 73.9,
1372
+ extreme: 56.34,
1373
+ status: 'Charging',
1374
+ },
1375
+ {
1376
+ time: '01:30',
1377
+ nominal: 53.24,
1378
+ moderate: 68.78,
1379
+ extreme: 44.46,
1380
+ status: 'Charging',
1381
+ },
1382
+ {
1383
+ time: '01:45',
1384
+ nominal: 46.88,
1385
+ moderate: 64.8,
1386
+ extreme: 35.24,
1387
+ status: 'Charging',
1388
+ },
1389
+ {
1390
+ time: '02:00',
1391
+ nominal: 65.86,
1392
+ moderate: 76.63,
1393
+ extreme: 63.98,
1394
+ status: 'Charging',
1395
+ },
1396
+ {
1397
+ time: '02:15',
1398
+ nominal: 56.26,
1399
+ moderate: 70.63,
1400
+ extreme: 50.08,
1401
+ status: 'Discharging',
1402
+ },
1403
+ {
1404
+ time: '02:30',
1405
+ nominal: 53.08,
1406
+ moderate: 68.64,
1407
+ extreme: 45.48,
1408
+ status: 'Discharging',
1409
+ },
1410
+ {
1411
+ time: '02:45',
1412
+ nominal: 50.67,
1413
+ moderate: 67.14,
1414
+ extreme: 41.99,
1415
+ status: 'Discharging',
1416
+ },
1417
+ {
1418
+ time: '03:00',
1419
+ nominal: 45.38,
1420
+ moderate: 63.81,
1421
+ extreme: 35.02,
1422
+ status: 'Charging',
1423
+ },
1424
+ {
1425
+ time: '03:15',
1426
+ nominal: 49.21,
1427
+ moderate: 66.2,
1428
+ extreme: 40.57,
1429
+ status: 'Charging',
1430
+ },
1431
+ {
1432
+ time: '03:30',
1433
+ nominal: 55.23,
1434
+ moderate: 69.97,
1435
+ extreme: 49.28,
1436
+ status: 'Charging',
1437
+ },
1438
+ {
1439
+ time: '03:45',
1440
+ nominal: 64.17,
1441
+ moderate: 75.55,
1442
+ extreme: 62.23,
1443
+ status: 'Interruption',
1444
+ },
1445
+ {
1446
+ time: '04:00',
1447
+ nominal: 60.17,
1448
+ moderate: 71.55,
1449
+ extreme: 59.23,
1450
+ status: 'Interruption',
1451
+ },
1452
+ {
1453
+ time: '04:15',
1454
+ nominal: 64.17,
1455
+ moderate: 75.55,
1456
+ extreme: 62.23,
1457
+ status: 'Interruption',
1458
+ },
1459
+ {
1460
+ time: '04:30',
1461
+ nominal: 64.17,
1462
+ moderate: 75.55,
1463
+ extreme: 62.23,
1464
+ status: 'Interruption',
1465
+ },
1466
+ {
1467
+ time: '04:45',
1468
+ nominal: 64.17,
1469
+ moderate: 75.55,
1470
+ extreme: 62.23,
1471
+ status: 'Interruption',
1472
+ },
1473
+ ];
1474
+ ```
1475
+
1476
+ #### HTML (html)
1477
+
1478
+ ```html
1479
+ <label>Multiple axes in a LineChart with a brush for range selection</label>
1480
+ <div class="panel panel-default panel-body margin-bottom-0 height-300">
1481
+ <div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
1482
+ <div style="width: 0px; height: 0px; overflow: visible;">
1483
+ <div width="876" height="268" class="recharts-wrapper" style="position: relative; cursor: default; width: 876px; height: 268px;">
1484
+ <div xmlns="http://www.w3.org/1999/xhtml" tabindex="-1" class="recharts-tooltip-wrapper" style="visibility: hidden; pointer-events: none; position: absolute; top: 0px; left: 0px;">
1485
+ <div class="recharts-default-tooltip" role="status" aria-live="assertive" style="margin: 0px; padding: 10px; background-color: rgb(255, 255, 255); border: 1px solid rgb(204, 204, 204); white-space: nowrap;">
1486
+ <p class="recharts-tooltip-label" style="margin: 0px;">
1487
+ </p>
1488
+ </div>
1489
+ </div>
1490
+ <div class="recharts-legend-wrapper" style="position: absolute; width: auto; height: auto; right: 15px; top: 15px;">
1491
+ <ul class="list-style-none padding-left-20">
1492
+ <li class="cursor-pointer display-flex gap-5 align-items-center rounded padding-x-5 padding-y-3 ">
1493
+ <span class="rioglyph rioglyph-sphere" style="color: rgb(178, 54, 114);">
1494
+ </span>
1495
+ <span class="text-color-darker text-capitalize-first-word">Extreme</span>
1496
+ </li>
1497
+ <li class="cursor-pointer display-flex gap-5 align-items-center rounded padding-x-5 padding-y-3 ">
1498
+ <span class="rioglyph rioglyph-sphere" style="color: rgb(161, 218, 163);">
1499
+ </span>
1500
+ <span class="text-color-darker text-capitalize-first-word">Moderate</span>
1501
+ </li>
1502
+ <li class="cursor-pointer display-flex gap-5 align-items-center rounded padding-x-5 padding-y-3 ">
1503
+ <span class="rioglyph rioglyph-sphere" style="color: rgb(103, 171, 197);">
1504
+ </span>
1505
+ <span class="text-color-darker text-capitalize-first-word">Nominal</span>
1506
+ </li>
1507
+ </ul>
1508
+ </div>
1509
+ <svg role="application" tabindex="0" class="recharts-surface" width="876" height="268" viewBox="0 0 876 268" style="width: 100%; height: 100%; display: block;">
1510
+ <title>
1511
+ </title>
1512
+ <desc>
1513
+ </desc>
1514
+ <g tabindex="-1" id="recharts-zindex--100-:r1a:">
1515
+ <g class="recharts-cartesian-grid">
1516
+ <g class="recharts-cartesian-grid-horizontal">
1517
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="681.640625" height="158" x1="75" y1="173" x2="756.640625" y2="173">
1518
+ </line>
1519
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="681.640625" height="158" x1="75" y1="133.5" x2="756.640625" y2="133.5">
1520
+ </line>
1521
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="681.640625" height="158" x1="75" y1="94" x2="756.640625" y2="94">
1522
+ </line>
1523
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="681.640625" height="158" x1="75" y1="54.5" x2="756.640625" y2="54.5">
1524
+ </line>
1525
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="681.640625" height="158" x1="75" y1="15" x2="756.640625" y2="15">
1526
+ </line>
1527
+ </g>
1528
+ <g class="recharts-cartesian-grid-vertical">
1529
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="681.640625" height="158" x1="110.87582236842105" y1="15" x2="110.87582236842105" y2="173">
1530
+ </line>
1531
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="681.640625" height="158" x1="182.62746710526318" y1="15" x2="182.62746710526318" y2="173">
1532
+ </line>
1533
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="681.640625" height="158" x1="254.37911184210526" y1="15" x2="254.37911184210526" y2="173">
1534
+ </line>
1535
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="681.640625" height="158" x1="326.1307565789474" y1="15" x2="326.1307565789474" y2="173">
1536
+ </line>
1537
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="681.640625" height="158" x1="397.8824013157895" y1="15" x2="397.8824013157895" y2="173">
1538
+ </line>
1539
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="681.640625" height="158" x1="469.6340460526316" y1="15" x2="469.6340460526316" y2="173">
1540
+ </line>
1541
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="681.640625" height="158" x1="541.3856907894738" y1="15" x2="541.3856907894738" y2="173">
1542
+ </line>
1543
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="681.640625" height="158" x1="613.1373355263158" y1="15" x2="613.1373355263158" y2="173">
1544
+ </line>
1545
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="681.640625" height="158" x1="684.8889802631579" y1="15" x2="684.8889802631579" y2="173">
1546
+ </line>
1547
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="681.640625" height="158" x1="756.640625" y1="15" x2="756.640625" y2="173">
1548
+ </line>
1549
+ <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="681.640625" height="158" x1="75" y1="15" x2="75" y2="173">
1550
+ </line>
1551
+ </g>
1552
+ </g>
1553
+ </g>
1554
+ <g tabindex="-1" id="recharts-zindex--50-:r1b:">
1555
+ </g>
1556
+ <defs>
1557
+ <clipPath id="recharts4-clip">
1558
+ <rect x="75" y="15" height="158" width="681.640625">
1559
+ </rect>
1560
+ </clipPath>
1561
+ </defs>
1562
+ <g class="recharts-layer recharts-brush" style="user-select: none;">
1563
+ <rect stroke="#a7afbb " fill="#fff" x="75" y="233" width="681.640625" height="20">
1564
+ </rect>
1565
+ <rect class="recharts-brush-slide" stroke="none" fill="#a7afbb " fill-opacity="0.2" x="80" y="233" width="671.640625" height="20" style="cursor: move;">
1566
+ </rect>
1567
+ <g class="recharts-layer recharts-brush-traveller" tabindex="0" role="slider" aria-label="Min value: undefined, Max value: undefined" aria-valuenow="75" style="cursor: col-resize;">
1568
+ <rect x="75" y="233" width="5" height="20" fill="#a7afbb " stroke="none">
1569
+ </rect>
1570
+ <line x1="76" y1="242" x2="79" y2="242" fill="none" stroke="#fff">
1571
+ </line>
1572
+ <line x1="76" y1="244" x2="79" y2="244" fill="none" stroke="#fff">
1573
+ </line>
1574
+ </g>
1575
+ <g class="recharts-layer recharts-brush-traveller" tabindex="0" role="slider" aria-label="Min value: undefined, Max value: undefined" aria-valuenow="751.640625" style="cursor: col-resize;">
1576
+ <rect x="751.640625" y="233" width="5" height="20" fill="#a7afbb " stroke="none">
1577
+ </rect>
1578
+ <line x1="752.640625" y1="242" x2="755.640625" y2="242" fill="none" stroke="#fff">
1579
+ </line>
1580
+ <line x1="752.640625" y1="244" x2="755.640625" y2="244" fill="none" stroke="#fff">
1581
+ </line>
1582
+ </g>
1583
+ </g>
1584
+ <g tabindex="-1" id="recharts-zindex-100-:r1f:">
1585
+ </g>
1586
+ <g tabindex="-1" id="recharts-zindex-200-:r1g:">
1587
+ </g>
1588
+ <g tabindex="-1" id="recharts-zindex-300-:r1h:">
1589
+ </g>
1590
+ <g tabindex="-1" id="recharts-zindex-400-:r1i:">
1591
+ <g class="recharts-layer recharts-reference-line">
1592
+ <line x="03:30" stroke="#f19588 " fill="none" fill-opacity="1" stroke-width="1" x1="577.2615131578948" y1="173" x2="577.2615131578948" y2="15" class="recharts-reference-line-line">
1593
+ </line>
1594
+ <text x="582.2615131578948" y="30" fill="gray" text-anchor="right">Now</text>
1595
+ </g>
1596
+ <g class="recharts-layer recharts-line">
1597
+ <path name="Nominal" stroke-width="1" stroke="#67abc5 " fill="none" id="recharts-line-:r1c:" height="158" width="681.640625" class="recharts-curve recharts-line-curve" stroke-dasharray="734.8751831054688px 0px" d="M75,48.417C86.959,55.102,98.917,61.788,110.876,68.773C122.834,75.758,134.793,83.75,146.752,90.327C158.71,96.903,170.669,108.233,182.627,108.233C194.586,108.233,206.545,75.909,218.503,75.909C230.462,75.909,242.421,87.592,254.379,92.091C266.338,96.589,278.296,99.703,290.255,102.901C302.214,106.098,314.172,111.275,326.131,111.275C338.089,111.275,350.048,86.284,362.007,86.284C373.965,86.284,385.924,96.133,397.882,98.924C409.841,101.716,421.8,101.885,433.758,103.111C445.717,104.338,457.675,104.595,469.634,106.285C481.593,107.974,493.551,113.25,505.51,113.25C517.468,113.25,529.427,110.368,541.386,108.207C553.344,106.045,565.303,103.563,577.262,100.28C589.22,96.998,601.179,88.509,613.137,88.509C625.096,88.509,637.055,93.776,649.013,93.776C660.972,93.776,672.93,88.509,684.889,88.509C696.848,88.509,708.806,88.509,720.765,88.509C732.723,88.509,744.682,88.509,756.641,88.509">
1598
+ </path>
1599
+ </g>
1600
+ <g class="recharts-layer recharts-line">
1601
+ <path name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="none" id="recharts-line-:r1d:" height="158" width="681.640625" class="recharts-curve recharts-line-curve" stroke-dasharray="704.3584594726562px 0px" d="M75,48.285C86.959,52.468,98.917,56.651,110.876,61.018C122.834,65.384,134.793,70.377,146.752,74.487C158.71,78.597,170.669,85.679,182.627,85.679C194.586,85.679,206.545,65.573,218.503,65.573C230.462,65.573,242.421,72.887,254.379,75.698C266.338,78.509,278.296,80.443,290.255,82.44C302.214,84.437,314.172,87.68,326.131,87.68C338.089,87.68,350.048,72.104,362.007,72.104C373.965,72.104,385.924,78.257,397.882,80.004C409.841,81.751,421.8,81.858,433.758,82.624C445.717,83.39,457.675,83.539,469.634,84.599C481.593,85.659,493.551,88.983,505.51,88.983C517.468,88.983,529.427,87.188,541.386,85.837C553.344,84.485,565.303,82.925,577.262,80.873C589.22,78.821,601.179,73.526,613.137,73.526C625.096,73.526,637.055,78.793,649.013,78.793C660.972,78.793,672.93,73.526,684.889,73.526C696.848,73.526,708.806,73.526,720.765,73.526C732.723,73.526,744.682,73.526,756.641,73.526">
1602
+ </path>
1603
+ </g>
1604
+ <g class="recharts-layer recharts-line">
1605
+ <path name="Extreme" stroke-width="1" stroke="#b23672 " fill="none" id="recharts-line-:r1e:" height="158" width="681.640625" class="recharts-curve recharts-line-curve" stroke-dasharray="786.78271484375px 0px" d="M75,39.424C86.959,49.112,98.917,58.799,110.876,68.918C122.834,79.036,134.793,90.61,146.752,100.136C158.71,109.662,170.669,126.074,182.627,126.074C194.586,126.074,206.545,75.369,218.503,75.369C230.462,75.369,242.421,92.304,254.379,98.819C266.338,105.334,278.296,109.831,290.255,114.461C302.214,119.091,314.172,126.601,326.131,126.601C338.089,126.601,350.048,88.76,362.007,88.76C373.965,88.76,385.924,103.024,397.882,107.061C409.841,111.099,421.8,111.343,433.758,113.118C445.717,114.893,457.675,115.418,469.634,117.713C481.593,120.009,493.551,126.89,505.51,126.89C517.468,126.89,529.427,122.712,541.386,119.583C553.344,116.454,565.303,112.868,577.262,108.115C589.22,103.361,601.179,91.064,613.137,91.064C625.096,91.064,637.055,95.014,649.013,95.014C660.972,95.014,672.93,91.064,684.889,91.064C696.848,91.064,708.806,91.064,720.765,91.064C732.723,91.064,744.682,91.064,756.641,91.064">
1606
+ </path>
1607
+ </g>
1608
+ </g>
1609
+ <g tabindex="-1" id="recharts-zindex-500-:r1j:">
1610
+ <g class="recharts-layer recharts-cartesian-axis recharts-xAxis xAxis">
1611
+ <line angle="0" height="30" orientation="bottom" x="75" y="173" width="681.640625" class="recharts-cartesian-axis-line" stroke="#666" fill="none" x1="75" y1="173" x2="756.640625" y2="173">
1612
+ </line>
1613
+ <g class="recharts-cartesian-axis-ticks recharts-xAxis-ticks">
1614
+ <g class="recharts-cartesian-axis-tick-lines recharts-xAxis-tick-lines">
1615
+ <g class="recharts-layer recharts-cartesian-axis-tick">
1616
+ <line angle="0" height="30" orientation="bottom" x="75" y="173" width="681.640625" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="110.87582236842105" y1="179" x2="110.87582236842105" y2="173">
1617
+ </line>
1618
+ </g>
1619
+ <g class="recharts-layer recharts-cartesian-axis-tick">
1620
+ <line angle="0" height="30" orientation="bottom" x="75" y="173" width="681.640625" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="182.62746710526318" y1="179" x2="182.62746710526318" y2="173">
1621
+ </line>
1622
+ </g>
1623
+ <g class="recharts-layer recharts-cartesian-axis-tick">
1624
+ <line angle="0" height="30" orientation="bottom" x="75" y="173" width="681.640625" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="254.37911184210526" y1="179" x2="254.37911184210526" y2="173">
1625
+ </line>
1626
+ </g>
1627
+ <g class="recharts-layer recharts-cartesian-axis-tick">
1628
+ <line angle="0" height="30" orientation="bottom" x="75" y="173" width="681.640625" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="326.1307565789474" y1="179" x2="326.1307565789474" y2="173">
1629
+ </line>
1630
+ </g>
1631
+ <g class="recharts-layer recharts-cartesian-axis-tick">
1632
+ <line angle="0" height="30" orientation="bottom" x="75" y="173" width="681.640625" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="397.8824013157895" y1="179" x2="397.8824013157895" y2="173">
1633
+ </line>
1634
+ </g>
1635
+ <g class="recharts-layer recharts-cartesian-axis-tick">
1636
+ <line angle="0" height="30" orientation="bottom" x="75" y="173" width="681.640625" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="469.6340460526316" y1="179" x2="469.6340460526316" y2="173">
1637
+ </line>
1638
+ </g>
1639
+ <g class="recharts-layer recharts-cartesian-axis-tick">
1640
+ <line angle="0" height="30" orientation="bottom" x="75" y="173" width="681.640625" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="541.3856907894738" y1="179" x2="541.3856907894738" y2="173">
1641
+ </line>
1642
+ </g>
1643
+ <g class="recharts-layer recharts-cartesian-axis-tick">
1644
+ <line angle="0" height="30" orientation="bottom" x="75" y="173" width="681.640625" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="613.1373355263158" y1="179" x2="613.1373355263158" y2="173">
1645
+ </line>
1646
+ </g>
1647
+ <g class="recharts-layer recharts-cartesian-axis-tick">
1648
+ <line angle="0" height="30" orientation="bottom" x="75" y="173" width="681.640625" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="684.8889802631579" y1="179" x2="684.8889802631579" y2="173">
1649
+ </line>
1650
+ </g>
1651
+ <g class="recharts-layer recharts-cartesian-axis-tick">
1652
+ <line angle="0" height="30" orientation="bottom" x="75" y="173" width="681.640625" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="756.640625" y1="179" x2="756.640625" y2="173">
1653
+ </line>
1654
+ </g>
1655
+ </g>
1656
+ </g>
1657
+ </g>
1658
+ <g class="recharts-layer recharts-cartesian-axis recharts-yAxis yAxis">
1659
+ <line angle="0" orientation="left" width="60" x="15" y="15" height="158" class="recharts-cartesian-axis-line" stroke="#666" fill="none" x1="75" y1="15" x2="75" y2="173">
1660
+ </line>
1661
+ <g class="recharts-cartesian-axis-ticks recharts-yAxis-ticks">
1662
+ <g class="recharts-cartesian-axis-tick-lines recharts-yAxis-tick-lines">
1663
+ <g class="recharts-layer recharts-cartesian-axis-tick">
1664
+ <line angle="0" orientation="left" width="60" x="15" y="15" height="158" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="69" y1="173" x2="75" y2="173">
1665
+ </line>
1666
+ </g>
1667
+ <g class="recharts-layer recharts-cartesian-axis-tick">
1668
+ <line angle="0" orientation="left" width="60" x="15" y="15" height="158" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="69" y1="133.5" x2="75" y2="133.5">
1669
+ </line>
1670
+ </g>
1671
+ <g class="recharts-layer recharts-cartesian-axis-tick">
1672
+ <line angle="0" orientation="left" width="60" x="15" y="15" height="158" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="69" y1="94" x2="75" y2="94">
1673
+ </line>
1674
+ </g>
1675
+ <g class="recharts-layer recharts-cartesian-axis-tick">
1676
+ <line angle="0" orientation="left" width="60" x="15" y="15" height="158" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="69" y1="54.5" x2="75" y2="54.5">
1677
+ </line>
1678
+ </g>
1679
+ <g class="recharts-layer recharts-cartesian-axis-tick">
1680
+ <line angle="0" orientation="left" width="60" x="15" y="15" height="158" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="69" y1="15" x2="75" y2="15">
1681
+ </line>
1682
+ </g>
1683
+ </g>
1684
+ </g>
1685
+ </g>
1686
+ <g class="recharts-layer recharts-cartesian-axis recharts-xAxis xAxis">
1687
+ <line angle="0" height="30" orientation="bottom" x="75" y="203" width="681.640625" class="recharts-cartesian-axis-line" stroke="#666" fill="none" x1="75" y1="203" x2="756.640625" y2="203">
1688
+ </line>
1689
+ <g class="recharts-cartesian-axis-ticks recharts-xAxis-ticks">
1690
+ <g class="recharts-cartesian-axis-tick-lines recharts-xAxis-tick-lines">
1691
+ <g class="recharts-layer recharts-cartesian-axis-tick">
1692
+ <line angle="0" height="30" orientation="bottom" x="75" y="203" width="681.640625" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="75" y1="209" x2="75" y2="203">
1693
+ </line>
1694
+ </g>
1695
+ <g class="recharts-layer recharts-cartesian-axis-tick">
1696
+ <line angle="0" height="30" orientation="bottom" x="75" y="203" width="681.640625" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="302.21354166666663" y1="209" x2="302.21354166666663" y2="203">
1697
+ </line>
1698
+ </g>
1699
+ <g class="recharts-layer recharts-cartesian-axis-tick">
1700
+ <line angle="0" height="30" orientation="bottom" x="75" y="203" width="681.640625" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="529.4270833333333" y1="209" x2="529.4270833333333" y2="203">
1701
+ </line>
1702
+ </g>
1703
+ <g class="recharts-layer recharts-cartesian-axis-tick">
1704
+ <line angle="0" height="30" orientation="bottom" x="75" y="203" width="681.640625" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="756.640625" y1="209" x2="756.640625" y2="203">
1705
+ </line>
1706
+ </g>
1707
+ </g>
1708
+ </g>
1709
+ </g>
1710
+ </g>
1711
+ <g tabindex="-1" id="recharts-zindex-600-:r1k:">
1712
+ <g class="recharts-layer recharts-line-dots">
1713
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="75" cy="48.41699999999999" class="recharts-dot recharts-line-dot">
1714
+ </circle>
1715
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="110.87582236842105" cy="68.77266666666668" class="recharts-dot recharts-line-dot">
1716
+ </circle>
1717
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="146.7516447368421" cy="90.3265" class="recharts-dot recharts-line-dot">
1718
+ </circle>
1719
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="182.62746710526318" cy="108.23316666666665" class="recharts-dot recharts-line-dot">
1720
+ </circle>
1721
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="218.50328947368422" cy="75.909" class="recharts-dot recharts-line-dot">
1722
+ </circle>
1723
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="254.37911184210526" cy="92.09083333333334" class="recharts-dot recharts-line-dot">
1724
+ </circle>
1725
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="290.25493421052636" cy="102.90066666666667" class="recharts-dot recharts-line-dot">
1726
+ </circle>
1727
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="326.1307565789474" cy="111.27466666666666" class="recharts-dot recharts-line-dot">
1728
+ </circle>
1729
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="362.00657894736844" cy="86.28433333333335" class="recharts-dot recharts-line-dot">
1730
+ </circle>
1731
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="397.8824013157895" cy="98.92433333333334" class="recharts-dot recharts-line-dot">
1732
+ </circle>
1733
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="433.7582236842105" cy="103.11133333333335" class="recharts-dot recharts-line-dot">
1734
+ </circle>
1735
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="469.6340460526316" cy="106.2845" class="recharts-dot recharts-line-dot">
1736
+ </circle>
1737
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="505.50986842105266" cy="113.24966666666666" class="recharts-dot recharts-line-dot">
1738
+ </circle>
1739
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="541.3856907894738" cy="108.20683333333334" class="recharts-dot recharts-line-dot">
1740
+ </circle>
1741
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="577.2615131578948" cy="100.28049999999999" class="recharts-dot recharts-line-dot">
1742
+ </circle>
1743
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="613.1373355263158" cy="88.50949999999999" class="recharts-dot recharts-line-dot">
1744
+ </circle>
1745
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="649.0131578947369" cy="93.77616666666665" class="recharts-dot recharts-line-dot">
1746
+ </circle>
1747
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="684.8889802631579" cy="88.50949999999999" class="recharts-dot recharts-line-dot">
1748
+ </circle>
1749
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="720.764802631579" cy="88.50949999999999" class="recharts-dot recharts-line-dot">
1750
+ </circle>
1751
+ <circle r="3" name="Nominal" stroke-width="1" stroke="#67abc5 " fill="#fff" height="158" width="681.640625" cx="756.640625" cy="88.50949999999999" class="recharts-dot recharts-line-dot">
1752
+ </circle>
1753
+ </g>
1754
+ <g class="recharts-layer recharts-line-dots">
1755
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="75" cy="48.28533333333333" class="recharts-dot recharts-line-dot">
1756
+ </circle>
1757
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="110.87582236842105" cy="61.017500000000005" class="recharts-dot recharts-line-dot">
1758
+ </circle>
1759
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="146.7516447368421" cy="74.487" class="recharts-dot recharts-line-dot">
1760
+ </circle>
1761
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="182.62746710526318" cy="85.67866666666666" class="recharts-dot recharts-line-dot">
1762
+ </circle>
1763
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="218.50328947368422" cy="65.57316666666665" class="recharts-dot recharts-line-dot">
1764
+ </circle>
1765
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="254.37911184210526" cy="75.69833333333332" class="recharts-dot recharts-line-dot">
1766
+ </circle>
1767
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="290.25493421052636" cy="82.43966666666665" class="recharts-dot recharts-line-dot">
1768
+ </circle>
1769
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="326.1307565789474" cy="87.68" class="recharts-dot recharts-line-dot">
1770
+ </circle>
1771
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="362.00657894736844" cy="72.10383333333334" class="recharts-dot recharts-line-dot">
1772
+ </circle>
1773
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="397.8824013157895" cy="80.00383333333333" class="recharts-dot recharts-line-dot">
1774
+ </circle>
1775
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="433.7582236842105" cy="82.62400000000001" class="recharts-dot recharts-line-dot">
1776
+ </circle>
1777
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="469.6340460526316" cy="84.599" class="recharts-dot recharts-line-dot">
1778
+ </circle>
1779
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="505.50986842105266" cy="88.98349999999999" class="recharts-dot recharts-line-dot">
1780
+ </circle>
1781
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="541.3856907894738" cy="85.83666666666667" class="recharts-dot recharts-line-dot">
1782
+ </circle>
1783
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="577.2615131578948" cy="80.87283333333335" class="recharts-dot recharts-line-dot">
1784
+ </circle>
1785
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="613.1373355263158" cy="73.52583333333334" class="recharts-dot recharts-line-dot">
1786
+ </circle>
1787
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="649.0131578947369" cy="78.7925" class="recharts-dot recharts-line-dot">
1788
+ </circle>
1789
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="684.8889802631579" cy="73.52583333333334" class="recharts-dot recharts-line-dot">
1790
+ </circle>
1791
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="720.764802631579" cy="73.52583333333334" class="recharts-dot recharts-line-dot">
1792
+ </circle>
1793
+ <circle r="3" name="Moderate" stroke-width="1" stroke="#a1daa3 " fill="#fff" height="158" width="681.640625" cx="756.640625" cy="73.52583333333334" class="recharts-dot recharts-line-dot">
1794
+ </circle>
1795
+ </g>
1796
+ <g class="recharts-layer recharts-line-dots">
1797
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="75" cy="39.42416666666666" class="recharts-dot recharts-line-dot">
1798
+ </circle>
1799
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="110.87582236842105" cy="68.9175" class="recharts-dot recharts-line-dot">
1800
+ </circle>
1801
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="146.7516447368421" cy="100.13566666666667" class="recharts-dot recharts-line-dot">
1802
+ </circle>
1803
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="182.62746710526318" cy="126.07400000000001" class="recharts-dot recharts-line-dot">
1804
+ </circle>
1805
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="218.50328947368422" cy="75.36916666666666" class="recharts-dot recharts-line-dot">
1806
+ </circle>
1807
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="254.37911184210526" cy="98.819" class="recharts-dot recharts-line-dot">
1808
+ </circle>
1809
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="290.25493421052636" cy="114.461" class="recharts-dot recharts-line-dot">
1810
+ </circle>
1811
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="326.1307565789474" cy="126.60066666666665" class="recharts-dot recharts-line-dot">
1812
+ </circle>
1813
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="362.00657894736844" cy="88.75966666666666" class="recharts-dot recharts-line-dot">
1814
+ </circle>
1815
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="397.8824013157895" cy="107.06133333333334" class="recharts-dot recharts-line-dot">
1816
+ </circle>
1817
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="433.7582236842105" cy="113.118" class="recharts-dot recharts-line-dot">
1818
+ </circle>
1819
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="469.6340460526316" cy="117.71316666666667" class="recharts-dot recharts-line-dot">
1820
+ </circle>
1821
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="505.50986842105266" cy="126.89033333333332" class="recharts-dot recharts-line-dot">
1822
+ </circle>
1823
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="541.3856907894738" cy="119.58283333333334" class="recharts-dot recharts-line-dot">
1824
+ </circle>
1825
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="577.2615131578948" cy="108.11466666666665" class="recharts-dot recharts-line-dot">
1826
+ </circle>
1827
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="613.1373355263158" cy="91.06383333333335" class="recharts-dot recharts-line-dot">
1828
+ </circle>
1829
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="649.0131578947369" cy="95.01383333333335" class="recharts-dot recharts-line-dot">
1830
+ </circle>
1831
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="684.8889802631579" cy="91.06383333333335" class="recharts-dot recharts-line-dot">
1832
+ </circle>
1833
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="720.764802631579" cy="91.06383333333335" class="recharts-dot recharts-line-dot">
1834
+ </circle>
1835
+ <circle r="3" name="Extreme" stroke-width="1" stroke="#b23672 " fill="#fff" height="158" width="681.640625" cx="756.640625" cy="91.06383333333335" class="recharts-dot recharts-line-dot">
1836
+ </circle>
1837
+ </g>
1838
+ </g>
1839
+ <g tabindex="-1" id="recharts-zindex-1000-:r1l:">
1840
+ </g>
1841
+ <g tabindex="-1" id="recharts-zindex-1100-:r1m:">
1842
+ </g>
1843
+ <g tabindex="-1" id="recharts-zindex-1200-:r1n:">
1844
+ </g>
1845
+ <g tabindex="-1" id="recharts-zindex-2000-:r1o:">
1846
+ <g class="recharts-cartesian-axis-tick-labels recharts-xAxis-tick-labels">
1847
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1848
+ <text height="30" orientation="bottom" width="681.640625" stroke="none" x="110.87582236842105" y="181" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1849
+ <tspan x="110.87582236842105" dy="0.71em">00:15</tspan>
1850
+ </text>
1851
+ </g>
1852
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1853
+ <text height="30" orientation="bottom" width="681.640625" stroke="none" x="182.62746710526318" y="181" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1854
+ <tspan x="182.62746710526318" dy="0.71em">00:45</tspan>
1855
+ </text>
1856
+ </g>
1857
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1858
+ <text height="30" orientation="bottom" width="681.640625" stroke="none" x="254.37911184210526" y="181" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1859
+ <tspan x="254.37911184210526" dy="0.71em">01:15</tspan>
1860
+ </text>
1861
+ </g>
1862
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1863
+ <text height="30" orientation="bottom" width="681.640625" stroke="none" x="326.1307565789474" y="181" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1864
+ <tspan x="326.1307565789474" dy="0.71em">01:45</tspan>
1865
+ </text>
1866
+ </g>
1867
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1868
+ <text height="30" orientation="bottom" width="681.640625" stroke="none" x="397.8824013157895" y="181" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1869
+ <tspan x="397.8824013157895" dy="0.71em">02:15</tspan>
1870
+ </text>
1871
+ </g>
1872
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1873
+ <text height="30" orientation="bottom" width="681.640625" stroke="none" x="469.6340460526316" y="181" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1874
+ <tspan x="469.6340460526316" dy="0.71em">02:45</tspan>
1875
+ </text>
1876
+ </g>
1877
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1878
+ <text height="30" orientation="bottom" width="681.640625" stroke="none" x="541.3856907894738" y="181" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1879
+ <tspan x="541.3856907894738" dy="0.71em">03:15</tspan>
1880
+ </text>
1881
+ </g>
1882
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1883
+ <text height="30" orientation="bottom" width="681.640625" stroke="none" x="613.1373355263158" y="181" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1884
+ <tspan x="613.1373355263158" dy="0.71em">03:45</tspan>
1885
+ </text>
1886
+ </g>
1887
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1888
+ <text height="30" orientation="bottom" width="681.640625" stroke="none" x="684.8889802631579" y="181" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1889
+ <tspan x="684.8889802631579" dy="0.71em">04:15</tspan>
1890
+ </text>
1891
+ </g>
1892
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1893
+ <text height="30" orientation="bottom" width="681.640625" stroke="none" x="756.640625" y="181" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1894
+ <tspan x="756.640625" dy="0.71em">04:45</tspan>
1895
+ </text>
1896
+ </g>
1897
+ </g>
1898
+ <g class="recharts-cartesian-axis-tick-labels recharts-yAxis-tick-labels">
1899
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1900
+ <text orientation="left" width="60" height="158" stroke="none" x="67" y="173" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="end" fill="#666">
1901
+ <tspan x="67" dy="0.355em">0</tspan>
1902
+ </text>
1903
+ </g>
1904
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1905
+ <text orientation="left" width="60" height="158" stroke="none" x="67" y="133.5" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="end" fill="#666">
1906
+ <tspan x="67" dy="0.355em">30</tspan>
1907
+ </text>
1908
+ </g>
1909
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1910
+ <text orientation="left" width="60" height="158" stroke="none" x="67" y="94" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="end" fill="#666">
1911
+ <tspan x="67" dy="0.355em">60</tspan>
1912
+ </text>
1913
+ </g>
1914
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1915
+ <text orientation="left" width="60" height="158" stroke="none" x="67" y="54.5" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="end" fill="#666">
1916
+ <tspan x="67" dy="0.355em">90</tspan>
1917
+ </text>
1918
+ </g>
1919
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1920
+ <text orientation="left" width="60" height="158" stroke="none" x="67" y="15" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="end" fill="#666">
1921
+ <tspan x="67" dy="0.355em">120</tspan>
1922
+ </text>
1923
+ </g>
1924
+ </g>
1925
+ <g class="recharts-cartesian-axis-tick-labels recharts-xAxis-tick-labels">
1926
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1927
+ <text height="30" orientation="bottom" width="681.640625" stroke="none" x="75" y="211" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1928
+ <tspan x="75" dy="0.71em">Planned</tspan>
1929
+ </text>
1930
+ </g>
1931
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1932
+ <text height="30" orientation="bottom" width="681.640625" stroke="none" x="302.21354166666663" y="211" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1933
+ <tspan x="302.21354166666663" dy="0.71em">Charging</tspan>
1934
+ </text>
1935
+ </g>
1936
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1937
+ <text height="30" orientation="bottom" width="681.640625" stroke="none" x="529.4270833333333" y="211" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1938
+ <tspan x="529.4270833333333" dy="0.71em">Discharging</tspan>
1939
+ </text>
1940
+ </g>
1941
+ <g class="recharts-layer recharts-cartesian-axis-tick-label">
1942
+ <text height="30" orientation="bottom" width="681.640625" stroke="none" x="756.640625" y="211" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
1943
+ <tspan x="756.640625" dy="0.71em">Interruption</tspan>
1944
+ </text>
1945
+ </g>
1946
+ </g>
1947
+ </g>
1948
+ </svg>
1949
+ </div>
1950
+ </div>
1951
+ </div>
1952
+ </div>
1953
+ ```
1954
+
1955
+ #### Props: LineChart
1956
+
1957
+ ### LineChart
1958
+
1959
+ | Name | Type | Default | Description |
1960
+ | --- | --- | --- | --- |
1961
+ | width | Number | — | The width of chart container. |
1962
+ | height | Number | — | The height of chart container. |
1963
+ | data | Array | — | The source data, in which each element is an object. It has the following format: [{ name: "a", value: 12 }] Note: for some charts, the color of the individual data is taken from the color prop: [{ name: "a", value: 12, color: "color-coldplay-fountain" }] |
1964
+ | dataKey | String \| Number \| Function | value | The key of data displayed in the axis. Also, used as label for the x-axis. |
1965
+ | dataUnit | string | — | The unit of data displayed in the chart. |
1966
+ | showGrid | Boolean | false | Defines whether or not the grid shall be rendered. |
1967
+ | showXAxis | Boolean | true | Defines whether or not the x-axis shall be rendered. |
1968
+ | showYAxis | Boolean | false | Defines whether or not the y-axis shall be rendered. |
1969
+ | xAxisOptions | Object | — | Detailed options passed to the underlying XAxis component. Details can be found here: https://recharts.org/en-US/api/XAxis |
1970
+ | yAxisOptions | Object | — | Detailed options passed to the underlying YAxis component. Details can be found here: https://recharts.org/en-US/api/YAxis |
1971
+ | additionalAxes | React.ReactElement<XAxisProps \| YAxisProps>[] | — | Render a list of additional axes. This includes YAxis and XAxis. |
1972
+ | gridOptions | Object | — | Detailed options passed to the underlying Grid component. Details can be found here: https://recharts.org/en-US/api/CartesianGrid |
1973
+ | containerOptions | Object | — | Detailed options passed to the underlying ResponsiveContainer component. Details can be found here: https://recharts.org/en-US/api/ResponsiveContainer |
1974
+ | brush | Boolean | false | Defines whether or not the brush component shall be used. |
1975
+ | tooltip | ChartTooltip \| Boolean | — | Defines whether or not the tooltip component shall be used. You can customize the tooltip by providing a custom ChartTooltip. Prop details can be found here: https://recharts.org/en-US/api/Tooltip. You can also customize the cursor color by setting a stroke or fill color in the cursor props. Details can be found here: https://recharts.org/en-US/api/Tooltip#cursor |
1976
+ | legend | Legend \| Boolean | false | Shows the provided Legend component otherwise shows nothing. |
1977
+ | lines | Array of Line | [] | Renders the provided Line components. |
1978
+ | ... | | — | Additional props are passed to the underlying LineChart component. Details can be found here: https://recharts.org/en-US/api/LineChart |
1979
+
1980
+ #### Props: Line
1981
+
1982
+ ### Line
1983
+
1984
+ | Name | Type | Default | Description |
1985
+ | --- | --- | --- | --- |
1986
+ | strokeColor | String | color-coldplay-fountain | Defines the color for the line. Take the color name from the charts colors page. |
1987
+ | dataKey | string \| number \| ((obj: T) => any) | value | The key of data used for the line. |
1988
+ | dataUnit | String \| Number | — | The unit of data displayed for the line. |
1989
+ | legendType | String | square | The type of icon in legend. If set to "none", no legend item will be rendered. |
1990
+ | type | String | monotone | The interpolation type of line. And customized interpolation function can be set to type. It is the same as type in Area. |
1991
+ | isAnimationActive | Boolean | true | If set false, animation of line will be disabled. |
1992
+ | ... | | — | Additional props are passed to the underlying Line component. Details can be found here: https://recharts.org/en-US/api/Line |
1993
+
1994
+ #### Props: ReferenceLine
1995
+
1996
+ ### ReferenceLine
1997
+
1998
+ | Name | Type | Default | Description |
1999
+ | --- | --- | --- | --- |
2000
+ | stroke | String | color-coldplay-fountain | Defines the color for the line. Take the color name from the charts colors page. |
2001
+ | ... | | — | Additional props are passed to the underlying ReferenceLine component. Details can be found here: https://recharts.org/en-US/api/ReferenceLine |
2002
+
2003
+ #### Props: Legend
2004
+
2005
+ ### Legend
2006
+
2007
+ | Name | Type | Default | Description |
2008
+ | --- | --- | --- | --- |
2009
+ | iconType | String | square | Defines the type of the leading icon. |
2010
+ | iconSize | String | 12 | Defines the size of the leading icon. |
2011
+ | layout | String | vertical | Defines the layout of the legend. |
2012
+ | align | String | right | Defines the alignment of the legend relative to the chart. |
2013
+ | verticalAlign | String | top | Defines the vertical alignment of the legend relative to the chart. |
2014
+ | ... | | — | Additional props are passed to the underlying legend component. Details can be found here: https://recharts.org/en-US/api/Legend |