@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.
- package/README.md +75 -40
- package/dist/doc-metadata.json +1872 -0
- package/dist/docs/components/accentBar.md +582 -0
- package/dist/docs/components/activity.md +330 -0
- package/dist/docs/components/animatedNumber.md +88 -0
- package/dist/docs/components/animatedTextReveal.md +381 -0
- package/dist/docs/components/animations.md +459 -0
- package/dist/docs/components/appHeader.md +737 -0
- package/dist/docs/components/appLayout.md +2016 -0
- package/dist/docs/components/appNavigationBar.md +274 -0
- package/dist/docs/components/areaCharts.md +828 -0
- package/dist/docs/components/aspectRatioPlaceholder.md +106 -0
- package/dist/docs/components/assetTree.md +3223 -0
- package/dist/docs/components/autosuggests.md +1177 -0
- package/dist/docs/components/avatar.md +206 -0
- package/dist/docs/components/banner.md +668 -0
- package/dist/docs/components/barCharts.md +2785 -0
- package/dist/docs/components/barList.md +517 -0
- package/dist/docs/components/basicMap.md +167 -0
- package/dist/docs/components/bottomSheet.md +721 -0
- package/dist/docs/components/button.md +775 -0
- package/dist/docs/components/buttonToolbar.md +134 -0
- package/dist/docs/components/calendarStripe.md +525 -0
- package/dist/docs/components/card.md +86 -0
- package/dist/docs/components/carousel.md +128 -0
- package/dist/docs/components/chartColors.md +716 -0
- package/dist/docs/components/chartsGettingStarted.md +28 -0
- package/dist/docs/components/chat.md +932 -0
- package/dist/docs/components/checkbox.md +996 -0
- package/dist/docs/components/clearableInput.md +806 -0
- package/dist/docs/components/collapse.md +189 -0
- package/dist/docs/components/composedCharts.md +424 -0
- package/dist/docs/components/contentLoader.md +674 -0
- package/dist/docs/components/dataTabs.md +1251 -0
- package/dist/docs/components/datepickers.md +2543 -0
- package/dist/docs/components/dialogs.md +2244 -0
- package/dist/docs/components/divider.md +219 -0
- package/dist/docs/components/dropdowns.md +17550 -0
- package/dist/docs/components/editableContent.md +1127 -0
- package/dist/docs/components/expander.md +970 -0
- package/dist/docs/components/fade.md +836 -0
- package/dist/docs/components/fadeExpander.md +180 -0
- package/dist/docs/components/fadeUp.md +396 -0
- package/dist/docs/components/feedback.md +758 -0
- package/dist/docs/components/filePickers.md +370 -0
- package/dist/docs/components/formLabel.md +251 -0
- package/dist/docs/components/fullscreenMap.md +10 -0
- package/dist/docs/components/groupedItemList.md +1001 -0
- package/dist/docs/components/iconList.md +306 -0
- package/dist/docs/components/imagePreloader.md +167 -0
- package/dist/docs/components/labeledElement.md +115 -0
- package/dist/docs/components/licensePlate.md +412 -0
- package/dist/docs/components/lineCharts.md +2014 -0
- package/dist/docs/components/listMenu.md +392 -0
- package/dist/docs/components/loadMore.md +219 -0
- package/dist/docs/components/mainNavigation.md +129 -0
- package/dist/docs/components/mapCircle.md +93 -0
- package/dist/docs/components/mapCluster.md +337 -0
- package/dist/docs/components/mapContext.md +284 -0
- package/dist/docs/components/mapDraggableMarker.md +150 -0
- package/dist/docs/components/mapGettingStarted.md +39 -0
- package/dist/docs/components/mapInfoBubble.md +135 -0
- package/dist/docs/components/mapLayerGroup.md +94 -0
- package/dist/docs/components/mapMarker.md +1814 -0
- package/dist/docs/components/mapPolygon.md +959 -0
- package/dist/docs/components/mapRoute.md +3816 -0
- package/dist/docs/components/mapRouteGenerator.md +6 -0
- package/dist/docs/components/mapSettings.md +1040 -0
- package/dist/docs/components/mapUtils.md +132 -0
- package/dist/docs/components/multiselects.md +1921 -0
- package/dist/docs/components/noData.md +210 -0
- package/dist/docs/components/notifications.md +314 -0
- package/dist/docs/components/numbercontrol.md +706 -0
- package/dist/docs/components/onboarding.md +297 -0
- package/dist/docs/components/page.md +241 -0
- package/dist/docs/components/pager.md +133 -0
- package/dist/docs/components/pieCharts.md +1284 -0
- package/dist/docs/components/popover.md +222 -0
- package/dist/docs/components/position.md +50 -0
- package/dist/docs/components/radialBarCharts.md +3663 -0
- package/dist/docs/components/radiobutton.md +1271 -0
- package/dist/docs/components/releaseNotes.md +135 -0
- package/dist/docs/components/resizer.md +162 -0
- package/dist/docs/components/responsiveColumnStripe.md +435 -0
- package/dist/docs/components/responsiveVideo.md +71 -0
- package/dist/docs/components/rioglyph.md +331 -0
- package/dist/docs/components/rules.md +965 -0
- package/dist/docs/components/saveableInput.md +1721 -0
- package/dist/docs/components/selects.md +1993 -0
- package/dist/docs/components/sidebar.md +332 -0
- package/dist/docs/components/sliders.md +376 -0
- package/dist/docs/components/smoothScrollbars.md +1180 -0
- package/dist/docs/components/spinners.md +506 -0
- package/dist/docs/components/states.md +1176 -0
- package/dist/docs/components/statsWidgets.md +636 -0
- package/dist/docs/components/statusBar.md +644 -0
- package/dist/docs/components/stepButton.md +61 -0
- package/dist/docs/components/steppedProgressBars.md +1064 -0
- package/dist/docs/components/subNavigation.md +470 -0
- package/dist/docs/components/supportMarker.md +115 -0
- package/dist/docs/components/svgImage.md +248 -0
- package/dist/docs/components/switch.md +554 -0
- package/dist/docs/components/tables.md +8 -0
- package/dist/docs/components/tagManager.md +476 -0
- package/dist/docs/components/tags.md +785 -0
- package/dist/docs/components/teaser.md +925 -0
- package/dist/docs/components/timeline.md +514 -0
- package/dist/docs/components/timepicker.md +262 -0
- package/dist/docs/components/toggleButton.md +178 -0
- package/dist/docs/components/tooltip.md +454 -0
- package/dist/docs/components/virtualList.md +483 -0
- package/dist/docs/foundations.md +20901 -0
- package/dist/docs/start/changelog.md +439 -0
- package/dist/docs/start/goodtoknow.md +14 -0
- package/dist/docs/start/guidelines/color-combinations.md +678 -0
- package/dist/docs/start/guidelines/custom-css.md +42 -0
- package/dist/docs/start/guidelines/custom-rioglyph.md +35 -0
- package/dist/docs/start/guidelines/formatting.md +587 -0
- package/dist/docs/start/guidelines/iframe.md +323 -0
- package/dist/docs/start/guidelines/obfuscate-data.md +30 -0
- package/dist/docs/start/guidelines/print-css.md +36 -0
- package/dist/docs/start/guidelines/spinner.md +710 -0
- package/dist/docs/start/guidelines/supported-browsers.md +10 -0
- package/dist/docs/start/guidelines/writing.md +635 -0
- package/dist/docs/start/howto.md +187 -0
- package/dist/docs/start/intro.md +43 -0
- package/dist/docs/start/responsiveness.md +98 -0
- package/dist/docs/templates/common-table.md +1111 -0
- package/dist/docs/templates/detail-views.md +942 -0
- package/dist/docs/templates/expandable-details.md +228 -0
- package/dist/docs/templates/feature-cards.md +549 -0
- package/dist/docs/templates/form-summary.md +199 -0
- package/dist/docs/templates/form-toggle.md +367 -0
- package/dist/docs/templates/list-blocks.md +1021 -0
- package/dist/docs/templates/loading-progress.md +109 -0
- package/dist/docs/templates/options-panel.md +152 -0
- package/dist/docs/templates/panel-variants.md +164 -0
- package/dist/docs/templates/progress-cards.md +607 -0
- package/dist/docs/templates/progress-success.md +142 -0
- package/dist/docs/templates/settings-form.md +434 -0
- package/dist/docs/templates/stats-blocks.md +1381 -0
- package/dist/docs/templates/table-panel.md +184 -0
- package/dist/docs/templates/table-row-animation.md +317 -0
- package/dist/docs/templates/usage-cards.md +227 -0
- package/dist/docs/utilities/deviceUtils.md +123 -0
- package/dist/docs/utilities/featureToggles.md +90 -0
- package/dist/docs/utilities/fuelTypeUtils.md +186 -0
- package/dist/docs/utilities/routeUtils.md +138 -0
- package/dist/docs/utilities/useAfterMount.md +66 -0
- package/dist/docs/utilities/useAutoAnimate.md +193 -0
- package/dist/docs/utilities/useAverage.md +95 -0
- package/dist/docs/utilities/useClickOutside.md +61 -0
- package/dist/docs/utilities/useClipboard.md +93 -0
- package/dist/docs/utilities/useCount.md +178 -0
- package/dist/docs/utilities/useDarkMode.md +49 -0
- package/dist/docs/utilities/useDebugInfo.md +126 -0
- package/dist/docs/utilities/useEffectOnce.md +58 -0
- package/dist/docs/utilities/useElapsedTime.md +58 -0
- package/dist/docs/utilities/useElementSize.md +71 -0
- package/dist/docs/utilities/useEsc.md +58 -0
- package/dist/docs/utilities/useEvent.md +64 -0
- package/dist/docs/utilities/useFocusTrap.md +85 -0
- package/dist/docs/utilities/useFullscreen.md +198 -0
- package/dist/docs/utilities/useHover.md +55 -0
- package/dist/docs/utilities/useIncomingPostMessages.md +237 -0
- package/dist/docs/utilities/useInterval.md +85 -0
- package/dist/docs/utilities/useIsFocusWithin.md +114 -0
- package/dist/docs/utilities/useKey.md +151 -0
- package/dist/docs/utilities/useLocalStorage.md +91 -0
- package/dist/docs/utilities/useLocationSuggestions.md +114 -0
- package/dist/docs/utilities/useMax.md +62 -0
- package/dist/docs/utilities/useMin.md +78 -0
- package/dist/docs/utilities/useMutationObserver.md +113 -0
- package/dist/docs/utilities/useOnScreen.md +138 -0
- package/dist/docs/utilities/useOnlineStatus.md +49 -0
- package/dist/docs/utilities/usePostMessage.md +117 -0
- package/dist/docs/utilities/usePostMessageSender.md +257 -0
- package/dist/docs/utilities/usePrevious.md +101 -0
- package/dist/docs/utilities/useResizeObserver.md +151 -0
- package/dist/docs/utilities/useScrollPosition.md +252 -0
- package/dist/docs/utilities/useSearch.md +228 -0
- package/dist/docs/utilities/useSorting.md +389 -0
- package/dist/docs/utilities/useStateWithValidation.md +83 -0
- package/dist/docs/utilities/useSum.md +155 -0
- package/dist/docs/utilities/useTableExport.md +404 -0
- package/dist/docs/utilities/useTableSelection.md +1120 -0
- package/dist/docs/utilities/useTimeout.md +55 -0
- package/dist/docs/utilities/useToggle.md +115 -0
- package/dist/docs/utilities/useWindowResize.md +70 -0
- package/dist/index.mjs +271 -0
- package/dist/search-synonyms.json +134 -0
- package/dist/version.json +4 -0
- package/package.json +23 -19
- package/bin/uikit-mcp.mjs +0 -23
- package/data/pages/Components/components/accentbar.json +0 -207
- package/data/pages/Components/components/activity.json +0 -87
- package/data/pages/Components/components/animatednumber.json +0 -99
- package/data/pages/Components/components/animations.json +0 -87
- package/data/pages/Components/components/appheader.json +0 -291
- package/data/pages/Components/components/applayout.json +0 -1198
- package/data/pages/Components/components/appnavigationbar.json +0 -327
- package/data/pages/Components/components/areacharts.json +0 -563
- package/data/pages/Components/components/aspectratioplaceholder.json +0 -75
- package/data/pages/Components/components/assettree.json +0 -3080
- package/data/pages/Components/components/autosuggests.json +0 -710
- package/data/pages/Components/components/avatar.json +0 -157
- package/data/pages/Components/components/banner.json +0 -599
- package/data/pages/Components/components/barcharts.json +0 -1507
- package/data/pages/Components/components/barlist.json +0 -223
- package/data/pages/Components/components/basicmap.json +0 -68
- package/data/pages/Components/components/bottomsheet.json +0 -601
- package/data/pages/Components/components/button.json +0 -583
- package/data/pages/Components/components/buttontoolbar.json +0 -63
- package/data/pages/Components/components/calendarstripe.json +0 -235
- package/data/pages/Components/components/card.json +0 -69
- package/data/pages/Components/components/carousel.json +0 -39
- package/data/pages/Components/components/chartcolors.json +0 -34
- package/data/pages/Components/components/chartsgettingstarted.json +0 -32
- package/data/pages/Components/components/chat.json +0 -39
- package/data/pages/Components/components/checkbox.json +0 -847
- package/data/pages/Components/components/clearableinput.json +0 -789
- package/data/pages/Components/components/collapse.json +0 -175
- package/data/pages/Components/components/composedcharts.json +0 -159
- package/data/pages/Components/components/contentloader.json +0 -233
- package/data/pages/Components/components/datatabs.json +0 -680
- package/data/pages/Components/components/datepickers.json +0 -287
- package/data/pages/Components/components/dialogs.json +0 -1492
- package/data/pages/Components/components/divider.json +0 -93
- package/data/pages/Components/components/dropdowns.json +0 -936
- package/data/pages/Components/components/editablecontent.json +0 -1117
- package/data/pages/Components/components/expander.json +0 -377
- package/data/pages/Components/components/fade.json +0 -403
- package/data/pages/Components/components/fadeexpander.json +0 -75
- package/data/pages/Components/components/fadeup.json +0 -127
- package/data/pages/Components/components/feedback.json +0 -269
- package/data/pages/Components/components/filepickers.json +0 -269
- package/data/pages/Components/components/formlabel.json +0 -115
- package/data/pages/Components/components/fullscreenmap.json +0 -22
- package/data/pages/Components/components/groupeditemlist.json +0 -323
- package/data/pages/Components/components/iconlist.json +0 -45
- package/data/pages/Components/components/imagepreloader.json +0 -81
- package/data/pages/Components/components/labeledelement.json +0 -75
- package/data/pages/Components/components/licenseplate.json +0 -69
- package/data/pages/Components/components/linecharts.json +0 -987
- package/data/pages/Components/components/listmenu.json +0 -313
- package/data/pages/Components/components/loadmore.json +0 -175
- package/data/pages/Components/components/mainnavigation.json +0 -39
- package/data/pages/Components/components/mapcircle.json +0 -34
- package/data/pages/Components/components/mapcluster.json +0 -51
- package/data/pages/Components/components/mapcontext.json +0 -105
- package/data/pages/Components/components/mapdraggablemarker.json +0 -34
- package/data/pages/Components/components/mapgettingstarted.json +0 -27
- package/data/pages/Components/components/mapgroup.json +0 -1198
- package/data/pages/Components/components/mapinfobubble.json +0 -34
- package/data/pages/Components/components/maplayergroup.json +0 -34
- package/data/pages/Components/components/mapmarker.json +0 -700
- package/data/pages/Components/components/mappolygon.json +0 -45
- package/data/pages/Components/components/maproute.json +0 -623
- package/data/pages/Components/components/maproutegenerator.json +0 -16
- package/data/pages/Components/components/mapsettings.json +0 -51
- package/data/pages/Components/components/maputils.json +0 -34
- package/data/pages/Components/components/multiselects.json +0 -1451
- package/data/pages/Components/components/nodata.json +0 -139
- package/data/pages/Components/components/notifications.json +0 -65
- package/data/pages/Components/components/numbercontrol.json +0 -301
- package/data/pages/Components/components/onboarding.json +0 -302
- package/data/pages/Components/components/page.json +0 -197
- package/data/pages/Components/components/pager.json +0 -93
- package/data/pages/Components/components/piecharts.json +0 -731
- package/data/pages/Components/components/popover.json +0 -251
- package/data/pages/Components/components/position.json +0 -69
- package/data/pages/Components/components/radialbarcharts.json +0 -1304
- package/data/pages/Components/components/radiobutton.json +0 -1105
- package/data/pages/Components/components/releasenotes.json +0 -44
- package/data/pages/Components/components/resizer.json +0 -93
- package/data/pages/Components/components/responsivecolumnstripe.json +0 -123
- package/data/pages/Components/components/responsivevideo.json +0 -75
- package/data/pages/Components/components/rioglyph.json +0 -93
- package/data/pages/Components/components/rules.json +0 -410
- package/data/pages/Components/components/saveableinput.json +0 -703
- package/data/pages/Components/components/selects.json +0 -701
- package/data/pages/Components/components/sidebar.json +0 -243
- package/data/pages/Components/components/sliders.json +0 -235
- package/data/pages/Components/components/smoothscrollbars.json +0 -335
- package/data/pages/Components/components/spinners.json +0 -343
- package/data/pages/Components/components/states.json +0 -1705
- package/data/pages/Components/components/statswidgets.json +0 -314
- package/data/pages/Components/components/statusbar.json +0 -177
- package/data/pages/Components/components/stepbutton.json +0 -57
- package/data/pages/Components/components/steppedprogressbars.json +0 -417
- package/data/pages/Components/components/subnavigation.json +0 -107
- package/data/pages/Components/components/supportmarker.json +0 -45
- package/data/pages/Components/components/svgimage.json +0 -81
- package/data/pages/Components/components/switch.json +0 -111
- package/data/pages/Components/components/tables.json +0 -144
- package/data/pages/Components/components/tagmanager.json +0 -86
- package/data/pages/Components/components/tags.json +0 -146
- package/data/pages/Components/components/teaser.json +0 -188
- package/data/pages/Components/components/timeline.json +0 -45
- package/data/pages/Components/components/timepicker.json +0 -163
- package/data/pages/Components/components/togglebutton.json +0 -247
- package/data/pages/Components/components/tooltip.json +0 -270
- package/data/pages/Components/components/virtuallist.json +0 -175
- package/data/pages/Foundations/foundations.json +0 -2475
- package/data/pages/Getting-started/start/changelog.json +0 -22
- package/data/pages/Getting-started/start/goodtoknow.json +0 -32
- package/data/pages/Getting-started/start/guidelines/color-combinations.json +0 -58
- package/data/pages/Getting-started/start/guidelines/custom-css.json +0 -27
- package/data/pages/Getting-started/start/guidelines/custom-rioglyph.json +0 -22
- package/data/pages/Getting-started/start/guidelines/formatting.json +0 -97
- package/data/pages/Getting-started/start/guidelines/iframe.json +0 -93
- package/data/pages/Getting-started/start/guidelines/obfuscate-data.json +0 -22
- package/data/pages/Getting-started/start/guidelines/print-css.json +0 -37
- package/data/pages/Getting-started/start/guidelines/spinner.json +0 -144
- package/data/pages/Getting-started/start/guidelines/supported-browsers.json +0 -22
- package/data/pages/Getting-started/start/guidelines/writing.json +0 -242
- package/data/pages/Getting-started/start/howto.json +0 -72
- package/data/pages/Getting-started/start/intro.json +0 -37
- package/data/pages/Getting-started/start/responsiveness.json +0 -52
- package/data/pages/Templates/templates/common-table.json +0 -39
- package/data/pages/Templates/templates/detail-views.json +0 -71
- package/data/pages/Templates/templates/expandable-details.json +0 -39
- package/data/pages/Templates/templates/feature-cards.json +0 -103
- package/data/pages/Templates/templates/form-summary.json +0 -39
- package/data/pages/Templates/templates/form-toggle.json +0 -39
- package/data/pages/Templates/templates/list-blocks.json +0 -119
- package/data/pages/Templates/templates/loading-progress.json +0 -39
- package/data/pages/Templates/templates/options-panel.json +0 -39
- package/data/pages/Templates/templates/panel-variants.json +0 -39
- package/data/pages/Templates/templates/progress-cards.json +0 -71
- package/data/pages/Templates/templates/progress-success.json +0 -39
- package/data/pages/Templates/templates/settings-form.json +0 -39
- package/data/pages/Templates/templates/stats-blocks.json +0 -135
- package/data/pages/Templates/templates/table-panel.json +0 -39
- package/data/pages/Templates/templates/table-row-animation.json +0 -39
- package/data/pages/Templates/templates/usage-cards.json +0 -39
- package/data/pages/Utilities/utilities/deviceutils.json +0 -39
- package/data/pages/Utilities/utilities/featuretoggles.json +0 -42
- package/data/pages/Utilities/utilities/fueltypeutils.json +0 -118
- package/data/pages/Utilities/utilities/routeutils.json +0 -34
- package/data/pages/Utilities/utilities/useaftermount.json +0 -63
- package/data/pages/Utilities/utilities/useaverage.json +0 -86
- package/data/pages/Utilities/utilities/useclickoutside.json +0 -69
- package/data/pages/Utilities/utilities/useclipboard.json +0 -57
- package/data/pages/Utilities/utilities/usecount.json +0 -92
- package/data/pages/Utilities/utilities/usedarkmode.json +0 -50
- package/data/pages/Utilities/utilities/usedebuginfo.json +0 -63
- package/data/pages/Utilities/utilities/useeffectonce.json +0 -57
- package/data/pages/Utilities/utilities/useelapsedtime.json +0 -57
- package/data/pages/Utilities/utilities/useelementsize.json +0 -63
- package/data/pages/Utilities/utilities/useesc.json +0 -57
- package/data/pages/Utilities/utilities/useevent.json +0 -75
- package/data/pages/Utilities/utilities/usefocustrap.json +0 -57
- package/data/pages/Utilities/utilities/usefullscreen.json +0 -197
- package/data/pages/Utilities/utilities/usehover.json +0 -57
- package/data/pages/Utilities/utilities/useinterval.json +0 -63
- package/data/pages/Utilities/utilities/useisfocuswithin.json +0 -75
- package/data/pages/Utilities/utilities/usekey.json +0 -75
- package/data/pages/Utilities/utilities/uselocalstorage.json +0 -69
- package/data/pages/Utilities/utilities/uselocationsuggestions.json +0 -110
- package/data/pages/Utilities/utilities/usemax.json +0 -86
- package/data/pages/Utilities/utilities/usemin.json +0 -86
- package/data/pages/Utilities/utilities/usemutationobserver.json +0 -69
- package/data/pages/Utilities/utilities/useonlinestatus.json +0 -39
- package/data/pages/Utilities/utilities/useonscreen.json +0 -63
- package/data/pages/Utilities/utilities/usepostmessage.json +0 -80
- package/data/pages/Utilities/utilities/useprevious.json +0 -63
- package/data/pages/Utilities/utilities/useresizeobserver.json +0 -65
- package/data/pages/Utilities/utilities/usescrollposition.json +0 -103
- package/data/pages/Utilities/utilities/usesearch.json +0 -197
- package/data/pages/Utilities/utilities/usesorting.json +0 -139
- package/data/pages/Utilities/utilities/usestatewithvalidation.json +0 -69
- package/data/pages/Utilities/utilities/usesum.json +0 -86
- package/data/pages/Utilities/utilities/usetableexport.json +0 -87
- package/data/pages/Utilities/utilities/usetableselection.json +0 -311
- package/data/pages/Utilities/utilities/usetimeout.json +0 -63
- package/data/pages/Utilities/utilities/usetoggle.json +0 -75
- package/data/pages/Utilities/utilities/usewindowresize.json +0 -63
- package/data/version.json +0 -4
- package/docs/content-schema.md +0 -147
- package/docs/navigation-inventory.json +0 -1310
- package/docs/search-synonyms.json +0 -43
- package/server/index.mjs +0 -268
- package/server/lib/load-docs.mjs +0 -48
- package/server/lib/normalise-doc.mjs +0 -220
- package/server/lib/render-markdown.mjs +0 -82
- package/server/lib/search-index.mjs +0 -49
- package/server/lib/types.js +0 -99
|
@@ -0,0 +1,3663 @@
|
|
|
1
|
+
# RadialBarChart
|
|
2
|
+
|
|
3
|
+
*Category:* Components
|
|
4
|
+
*Section:* Charts
|
|
5
|
+
*Source:* https://uikit.developers.rio.cloud/#components/radialBarCharts
|
|
6
|
+
*Captured:* 2025-12-12T12:39:28.455Z
|
|
7
|
+
|
|
8
|
+
## RadialBarChart
|
|
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
|
+
Multiple RadialBarChart barsAge 18-24
|
|
15
|
+
Age 25-29
|
|
16
|
+
Age 30-34
|
|
17
|
+
Age 35-39
|
|
18
|
+
|
|
19
|
+
67%Registrations
|
|
20
|
+
56%Logins
|
|
21
|
+
|
|
22
|
+
#### Summary
|
|
23
|
+
|
|
24
|
+
Multiple RadialBarChart barsAge 18-24
|
|
25
|
+
Age 25-29
|
|
26
|
+
Age 30-34
|
|
27
|
+
Age 35-39
|
|
28
|
+
|
|
29
|
+
67%Registrations
|
|
30
|
+
56%Logins
|
|
31
|
+
|
|
32
|
+
#### React (tsx)
|
|
33
|
+
|
|
34
|
+
```tsx
|
|
35
|
+
import RadialBarChart from '@rio-cloud/rio-uikit/RadialBarChart';
|
|
36
|
+
import Legend, { type LegendPayload } from '@rio-cloud/rio-uikit/Legend';
|
|
37
|
+
|
|
38
|
+
type CustomData = {
|
|
39
|
+
name: string;
|
|
40
|
+
uv: number;
|
|
41
|
+
pv: number;
|
|
42
|
+
color?: string;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
type CustomData2 = {
|
|
46
|
+
name: string;
|
|
47
|
+
value: number;
|
|
48
|
+
color?: string;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export default () => {
|
|
52
|
+
return (
|
|
53
|
+
<>
|
|
54
|
+
<label>Multiple RadialBarChart bars</label>
|
|
55
|
+
<div className='display-flex flex-wrap gap-15'>
|
|
56
|
+
<div className='panel panel-default panel-body height-300 aspect-ratio-1'>
|
|
57
|
+
<RadialBarChart
|
|
58
|
+
cx={120}
|
|
59
|
+
cy={180}
|
|
60
|
+
data={data}
|
|
61
|
+
dataKey='uv'
|
|
62
|
+
cornerRadius={0}
|
|
63
|
+
showBarLabel
|
|
64
|
+
tooltip
|
|
65
|
+
legend={<Legend layout='horizontal' verticalAlign='bottom' align='center' />}
|
|
66
|
+
/>
|
|
67
|
+
</div>
|
|
68
|
+
<div className='panel panel-default panel-body height-300 aspect-ratio-1'>
|
|
69
|
+
<RadialBarChart
|
|
70
|
+
data={data2}
|
|
71
|
+
dataKey='value'
|
|
72
|
+
startAngle={90}
|
|
73
|
+
endAngle={-270}
|
|
74
|
+
innerRadius='80%'
|
|
75
|
+
range={[0, 100]}
|
|
76
|
+
legend={
|
|
77
|
+
<Legend
|
|
78
|
+
layout='vertical'
|
|
79
|
+
verticalAlign='middle'
|
|
80
|
+
align='center'
|
|
81
|
+
formatter={(label: string | number, entry: LegendPayload) => (
|
|
82
|
+
<span className='text-color-darker'>
|
|
83
|
+
<span className='text-medium margin-right-5'>{`${entry.payload?.value}%`}</span>
|
|
84
|
+
<span>{label}</span>
|
|
85
|
+
</span>
|
|
86
|
+
)}
|
|
87
|
+
/>
|
|
88
|
+
}
|
|
89
|
+
/>
|
|
90
|
+
</div>
|
|
91
|
+
</div>
|
|
92
|
+
</>
|
|
93
|
+
);
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
const data: CustomData[] = [
|
|
97
|
+
{
|
|
98
|
+
name: 'Age 18-24',
|
|
99
|
+
uv: 31.47,
|
|
100
|
+
pv: 2400,
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
name: 'Age 25-29',
|
|
104
|
+
uv: 26.69,
|
|
105
|
+
pv: 4567,
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
name: 'Age 30-34',
|
|
109
|
+
uv: -15.69,
|
|
110
|
+
pv: 1398,
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: 'Age 35-39',
|
|
114
|
+
uv: 8.22,
|
|
115
|
+
pv: 9800,
|
|
116
|
+
color: 'color-warmup-corn',
|
|
117
|
+
},
|
|
118
|
+
];
|
|
119
|
+
|
|
120
|
+
const data2: CustomData2[] = [
|
|
121
|
+
{ name: 'Registrations', value: 67, color: 'color-coldplay-fountain' },
|
|
122
|
+
{ name: 'Logins', value: 56, color: 'color-coldplay-moos' },
|
|
123
|
+
];
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
#### HTML (html)
|
|
127
|
+
|
|
128
|
+
```html
|
|
129
|
+
<label>Multiple RadialBarChart bars</label>
|
|
130
|
+
<div class="display-flex flex-wrap gap-15">
|
|
131
|
+
<div class="panel panel-default panel-body height-300 aspect-ratio-1">
|
|
132
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
133
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
134
|
+
<div width="268" height="268" class="recharts-wrapper" style="position: relative; cursor: default; width: 268px; height: 268px;">
|
|
135
|
+
<div class="recharts-legend-wrapper" style="position: absolute; width: 258px; height: auto; left: 5px; bottom: 5px;">
|
|
136
|
+
<ul class="recharts-default-legend" style="padding: 0px; margin: 0px; text-align: center;">
|
|
137
|
+
<li class="recharts-legend-item legend-item-0" style="display: inline-block; margin-right: 10px;">
|
|
138
|
+
<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;">
|
|
139
|
+
<title>
|
|
140
|
+
</title>
|
|
141
|
+
<desc>
|
|
142
|
+
</desc>
|
|
143
|
+
<path fill="#ef7186 " cx="16" cy="16" class="recharts-symbols" transform="translate(16, 16)" d="M16,0A16,16,0,1,1,-16,0A16,16,0,1,1,16,0">
|
|
144
|
+
</path>
|
|
145
|
+
</svg>
|
|
146
|
+
<span class="recharts-legend-item-text" style="color: rgb(239, 113, 134);">
|
|
147
|
+
<span class="text-color-darker">Age 18-24</span>
|
|
148
|
+
</span>
|
|
149
|
+
</li>
|
|
150
|
+
<li class="recharts-legend-item legend-item-1" style="display: inline-block; margin-right: 10px;">
|
|
151
|
+
<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;">
|
|
152
|
+
<title>
|
|
153
|
+
</title>
|
|
154
|
+
<desc>
|
|
155
|
+
</desc>
|
|
156
|
+
<path fill="#e878b6 " cx="16" cy="16" class="recharts-symbols" transform="translate(16, 16)" d="M16,0A16,16,0,1,1,-16,0A16,16,0,1,1,16,0">
|
|
157
|
+
</path>
|
|
158
|
+
</svg>
|
|
159
|
+
<span class="recharts-legend-item-text" style="color: rgb(232, 120, 182);">
|
|
160
|
+
<span class="text-color-darker">Age 25-29</span>
|
|
161
|
+
</span>
|
|
162
|
+
</li>
|
|
163
|
+
<li class="recharts-legend-item legend-item-2" style="display: inline-block; margin-right: 10px;">
|
|
164
|
+
<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;">
|
|
165
|
+
<title>
|
|
166
|
+
</title>
|
|
167
|
+
<desc>
|
|
168
|
+
</desc>
|
|
169
|
+
<path fill="#dc82e9 " cx="16" cy="16" class="recharts-symbols" transform="translate(16, 16)" d="M16,0A16,16,0,1,1,-16,0A16,16,0,1,1,16,0">
|
|
170
|
+
</path>
|
|
171
|
+
</svg>
|
|
172
|
+
<span class="recharts-legend-item-text" style="color: rgb(220, 130, 233);">
|
|
173
|
+
<span class="text-color-darker">Age 30-34</span>
|
|
174
|
+
</span>
|
|
175
|
+
</li>
|
|
176
|
+
<li class="recharts-legend-item legend-item-3" style="display: inline-block; margin-right: 10px;">
|
|
177
|
+
<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;">
|
|
178
|
+
<title>
|
|
179
|
+
</title>
|
|
180
|
+
<desc>
|
|
181
|
+
</desc>
|
|
182
|
+
<path fill="#fde082 " cx="16" cy="16" class="recharts-symbols" transform="translate(16, 16)" d="M16,0A16,16,0,1,1,-16,0A16,16,0,1,1,16,0">
|
|
183
|
+
</path>
|
|
184
|
+
</svg>
|
|
185
|
+
<span class="recharts-legend-item-text" style="color: rgb(253, 224, 130);">
|
|
186
|
+
<span class="text-color-darker">Age 35-39</span>
|
|
187
|
+
</span>
|
|
188
|
+
</li>
|
|
189
|
+
</ul>
|
|
190
|
+
</div>
|
|
191
|
+
<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;">
|
|
192
|
+
<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;">
|
|
193
|
+
<p class="recharts-tooltip-label" style="margin: 0px;">
|
|
194
|
+
</p>
|
|
195
|
+
</div>
|
|
196
|
+
</div>
|
|
197
|
+
<svg cx="120" cy="180" role="application" tabindex="0" class="recharts-surface" width="268" height="268" viewBox="0 0 268 268" style="width: 100%; height: 100%; display: block;">
|
|
198
|
+
<title>
|
|
199
|
+
</title>
|
|
200
|
+
<desc>
|
|
201
|
+
</desc>
|
|
202
|
+
<g tabindex="-1" id="recharts-zindex--100-:r1:">
|
|
203
|
+
</g>
|
|
204
|
+
<g tabindex="-1" id="recharts-zindex--50-:r2:">
|
|
205
|
+
<path name="Age 18-24" cx="120" cy="180" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 79.7425,180
|
|
206
|
+
A 40.2575,40.2575,0,
|
|
207
|
+
0,1,
|
|
208
|
+
160.2575,180
|
|
209
|
+
L 148.2575,180
|
|
210
|
+
A 28.2575,28.2575,0,
|
|
211
|
+
0,0,
|
|
212
|
+
91.7425,180 Z">
|
|
213
|
+
</path>
|
|
214
|
+
<path name="Age 25-29" cx="120" cy="180" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 64.1675,180
|
|
215
|
+
A 55.832499999999996,55.832499999999996,0,
|
|
216
|
+
0,1,
|
|
217
|
+
175.83249999999998,180
|
|
218
|
+
L 163.83249999999998,180
|
|
219
|
+
A 43.832499999999996,43.832499999999996,0,
|
|
220
|
+
0,0,
|
|
221
|
+
76.1675,180 Z">
|
|
222
|
+
</path>
|
|
223
|
+
<path name="Age 30-34" cx="120" cy="180" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 48.5925,180
|
|
224
|
+
A 71.4075,71.4075,0,
|
|
225
|
+
0,1,
|
|
226
|
+
191.4075,180
|
|
227
|
+
L 179.4075,180
|
|
228
|
+
A 59.40749999999999,59.40749999999999,0,
|
|
229
|
+
0,0,
|
|
230
|
+
60.59250000000001,180 Z">
|
|
231
|
+
</path>
|
|
232
|
+
<path name="Age 35-39" color="color-warmup-corn" cx="120" cy="180" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 33.0175,180
|
|
233
|
+
A 86.9825,86.9825,0,
|
|
234
|
+
0,1,
|
|
235
|
+
206.98250000000002,180
|
|
236
|
+
L 194.98250000000002,180
|
|
237
|
+
A 74.9825,74.9825,0,
|
|
238
|
+
0,0,
|
|
239
|
+
45.0175,180 Z">
|
|
240
|
+
</path>
|
|
241
|
+
</g>
|
|
242
|
+
<defs>
|
|
243
|
+
<clipPath id="recharts1-clip">
|
|
244
|
+
<rect x="5" y="5" height="178" width="258">
|
|
245
|
+
</rect>
|
|
246
|
+
</clipPath>
|
|
247
|
+
</defs>
|
|
248
|
+
<g tabindex="-1" id="recharts-zindex-100-:r4:">
|
|
249
|
+
</g>
|
|
250
|
+
<g tabindex="-1" id="recharts-zindex-200-:r5:">
|
|
251
|
+
</g>
|
|
252
|
+
<g tabindex="-1" id="recharts-zindex-300-:r6:">
|
|
253
|
+
<g class="recharts-layer recharts-area">
|
|
254
|
+
<g class="recharts-layer recharts-radial-bar-background">
|
|
255
|
+
</g>
|
|
256
|
+
<g class="recharts-layer recharts-radial-bar-sectors">
|
|
257
|
+
<g class="recharts-layer">
|
|
258
|
+
<path name="Age 18-24" cx="120" cy="180" fill="#ef7186 " class="recharts-sector recharts-radial-bar-sector undefined" d="M 99.80161559729078,145.17627857665997
|
|
259
|
+
A 40.2575,40.2575,0,
|
|
260
|
+
0,1,
|
|
261
|
+
117.45416296773377,139.8230785144613
|
|
262
|
+
L 118.21302887811555,151.7990595820006
|
|
263
|
+
A 28.2575,28.2575,0,
|
|
264
|
+
0,0,
|
|
265
|
+
105.82237229685012,155.55657186561433 Z">
|
|
266
|
+
</path>
|
|
267
|
+
<path name="Age 25-29" cx="120" cy="180" fill="#e878b6 " class="recharts-sector recharts-radial-bar-sector undefined" d="M 91.9871751309877,131.70352291203793
|
|
268
|
+
A 55.832499999999996,55.832499999999996,0,
|
|
269
|
+
0,1,
|
|
270
|
+
112.56833901183175,124.66431105329096
|
|
271
|
+
L 114.16561536266718,136.5575321585703
|
|
272
|
+
A 43.832499999999996,43.832499999999996,0,
|
|
273
|
+
0,0,
|
|
274
|
+
98.00793183054705,142.08381620099232 Z">
|
|
275
|
+
</path>
|
|
276
|
+
<path name="Age 30-34" cx="120" cy="180" fill="#dc82e9 " class="recharts-sector recharts-radial-bar-sector undefined" d="M 84.17273466468461,118.2307672474159
|
|
277
|
+
A 71.4075,71.4075,0,
|
|
278
|
+
0,0,
|
|
279
|
+
71.00837280502704,128.04952819233702
|
|
280
|
+
L 79.24139491530502,136.77978288115762
|
|
281
|
+
A 59.40749999999999,59.40749999999999,0,
|
|
282
|
+
0,1,
|
|
283
|
+
90.19349136424397,128.61106053637027 Z">
|
|
284
|
+
</path>
|
|
285
|
+
<path name="Age 35-39" color="color-warmup-corn" cx="120" cy="180" fill="#fde082 " class="recharts-sector recharts-radial-bar-sector undefined" d="M 76.35829419838153,104.75801158279387
|
|
286
|
+
A 86.9825,86.9825,0,
|
|
287
|
+
0,1,
|
|
288
|
+
85.74007685507732,100.04868373595097
|
|
289
|
+
L 90.4665342199389,111.07867017194198
|
|
290
|
+
A 74.9825,74.9825,0,
|
|
291
|
+
0,0,
|
|
292
|
+
82.37905089794089,115.13830487174825 Z">
|
|
293
|
+
</path>
|
|
294
|
+
</g>
|
|
295
|
+
</g>
|
|
296
|
+
</g>
|
|
297
|
+
</g>
|
|
298
|
+
<g tabindex="-1" id="recharts-zindex-400-:r7:">
|
|
299
|
+
</g>
|
|
300
|
+
<g tabindex="-1" id="recharts-zindex-500-:r8:">
|
|
301
|
+
</g>
|
|
302
|
+
<g tabindex="-1" id="recharts-zindex-600-:r9:">
|
|
303
|
+
</g>
|
|
304
|
+
<g tabindex="-1" id="recharts-zindex-1000-:ra:">
|
|
305
|
+
</g>
|
|
306
|
+
<g tabindex="-1" id="recharts-zindex-1100-:rb:">
|
|
307
|
+
</g>
|
|
308
|
+
<g tabindex="-1" id="recharts-zindex-1200-:rc:">
|
|
309
|
+
</g>
|
|
310
|
+
<g tabindex="-1" id="recharts-zindex-2000-:rd:">
|
|
311
|
+
</g>
|
|
312
|
+
</svg>
|
|
313
|
+
</div>
|
|
314
|
+
</div>
|
|
315
|
+
</div>
|
|
316
|
+
</div>
|
|
317
|
+
<div class="panel panel-default panel-body height-300 aspect-ratio-1">
|
|
318
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
319
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
320
|
+
<div width="268" height="268" class="recharts-wrapper" style="position: relative; cursor: default; width: 268px; height: 268px;">
|
|
321
|
+
<div class="recharts-legend-wrapper" style="position: absolute; width: auto; height: auto; left: 75.3672px; top: 104px;">
|
|
322
|
+
<ul class="recharts-default-legend" style="padding: 0px; margin: 0px; text-align: left;">
|
|
323
|
+
<li class="recharts-legend-item legend-item-0" style="display: block; margin-right: 10px;">
|
|
324
|
+
<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;">
|
|
325
|
+
<title>
|
|
326
|
+
</title>
|
|
327
|
+
<desc>
|
|
328
|
+
</desc>
|
|
329
|
+
<path fill="#67abc5 " cx="16" cy="16" class="recharts-symbols" transform="translate(16, 16)" d="M16,0A16,16,0,1,1,-16,0A16,16,0,1,1,16,0">
|
|
330
|
+
</path>
|
|
331
|
+
</svg>
|
|
332
|
+
<span class="recharts-legend-item-text" style="color: rgb(103, 171, 197);">
|
|
333
|
+
<span class="text-color-darker">
|
|
334
|
+
<span class="text-medium margin-right-5">67%</span>
|
|
335
|
+
<span>Registrations</span>
|
|
336
|
+
</span>
|
|
337
|
+
</span>
|
|
338
|
+
</li>
|
|
339
|
+
<li class="recharts-legend-item legend-item-1" style="display: block; margin-right: 10px;">
|
|
340
|
+
<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;">
|
|
341
|
+
<title>
|
|
342
|
+
</title>
|
|
343
|
+
<desc>
|
|
344
|
+
</desc>
|
|
345
|
+
<path fill="#a1daa3 " cx="16" cy="16" class="recharts-symbols" transform="translate(16, 16)" d="M16,0A16,16,0,1,1,-16,0A16,16,0,1,1,16,0">
|
|
346
|
+
</path>
|
|
347
|
+
</svg>
|
|
348
|
+
<span class="recharts-legend-item-text" style="color: rgb(161, 218, 163);">
|
|
349
|
+
<span class="text-color-darker">
|
|
350
|
+
<span class="text-medium margin-right-5">56%</span>
|
|
351
|
+
<span>Logins</span>
|
|
352
|
+
</span>
|
|
353
|
+
</span>
|
|
354
|
+
</li>
|
|
355
|
+
</ul>
|
|
356
|
+
</div>
|
|
357
|
+
<svg cx="50%" cy="50%" role="application" tabindex="0" class="recharts-surface" width="268" height="268" viewBox="0 0 268 268" style="width: 100%; height: 100%; display: block;">
|
|
358
|
+
<title>
|
|
359
|
+
</title>
|
|
360
|
+
<desc>
|
|
361
|
+
</desc>
|
|
362
|
+
<g tabindex="-1" id="recharts-zindex--100-:re:">
|
|
363
|
+
</g>
|
|
364
|
+
<g tabindex="-1" id="recharts-zindex--50-:rf:">
|
|
365
|
+
<path name="Registrations" color="color-coldplay-fountain" cx="134" cy="134" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 134,19.50999999999999
|
|
366
|
+
A 114.49000000000001,114.49000000000001,0,
|
|
367
|
+
1,1,
|
|
368
|
+
133.9980017725395,19.510000017437818
|
|
369
|
+
L 133.99817630546468,29.510000015914727
|
|
370
|
+
A 104.49000000000001,104.49000000000001,0,
|
|
371
|
+
1,0,
|
|
372
|
+
134,29.50999999999999 Z">
|
|
373
|
+
</path>
|
|
374
|
+
<path name="Logins" color="color-coldplay-moos" cx="134" cy="134" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 134,6.609999999999999
|
|
375
|
+
A 127.39,127.39,0,
|
|
376
|
+
1,1,
|
|
377
|
+
133.997776625066,6.610000019402605
|
|
378
|
+
L 133.9979511579912,16.610000017879514
|
|
379
|
+
A 117.39,117.39,0,
|
|
380
|
+
1,0,
|
|
381
|
+
134,16.61 Z">
|
|
382
|
+
</path>
|
|
383
|
+
</g>
|
|
384
|
+
<defs>
|
|
385
|
+
<clipPath id="recharts2-clip">
|
|
386
|
+
<rect x="5" y="5" height="258" width="258">
|
|
387
|
+
</rect>
|
|
388
|
+
</clipPath>
|
|
389
|
+
</defs>
|
|
390
|
+
<g tabindex="-1" id="recharts-zindex-100-:rh:">
|
|
391
|
+
</g>
|
|
392
|
+
<g tabindex="-1" id="recharts-zindex-200-:ri:">
|
|
393
|
+
</g>
|
|
394
|
+
<g tabindex="-1" id="recharts-zindex-300-:rj:">
|
|
395
|
+
<g class="recharts-layer recharts-area">
|
|
396
|
+
<g class="recharts-layer recharts-radial-bar-background">
|
|
397
|
+
</g>
|
|
398
|
+
<g class="recharts-layer recharts-radial-bar-sectors">
|
|
399
|
+
<g class="recharts-layer">
|
|
400
|
+
<path name="Registrations" color="color-coldplay-fountain" cx="134" cy="134" fill="#67abc5 " class="recharts-sector recharts-radial-bar-sector undefined" d="M 134,24.624225259886728
|
|
401
|
+
A5,5,0,0,1,139.2283313544616,19.62944150154746
|
|
402
|
+
A114.49000000000001,114.49000000000001,0,0,1,222.43762441547005,61.289982205006595
|
|
403
|
+
A5,5,0,0,1,221.5710824581418,68.4685906064174
|
|
404
|
+
L221.5710824581418,68.4685906064174
|
|
405
|
+
A5,5,0,0,1,214.71313979537484,67.64075675256476
|
|
406
|
+
A104.49000000000001,104.49000000000001,0,0,0,138.77166864553843,29.619009018225995
|
|
407
|
+
A5,5,0,0,1,134,24.624225259886728Z">
|
|
408
|
+
</path>
|
|
409
|
+
<path name="Logins" color="color-coldplay-moos" cx="134" cy="134" fill="#a1daa3 " class="recharts-sector recharts-radial-bar-sector undefined" d="M 134,11.712175176757682
|
|
410
|
+
A5,5,0,0,1,139.20426505433448,6.71634934036409
|
|
411
|
+
A127.39,127.39,0,0,1,219.43426319407047,39.50556221403136
|
|
412
|
+
A5,5,0,0,1,219.64978406150834,46.71640136762811
|
|
413
|
+
L219.64978406150834,46.71640136762811
|
|
414
|
+
A5,5,0,0,1,212.7277506582301,46.92329027635718
|
|
415
|
+
A117.39,117.39,0,0,0,138.7957349456655,16.708001013151275
|
|
416
|
+
A5,5,0,0,1,134,11.712175176757682Z">
|
|
417
|
+
</path>
|
|
418
|
+
</g>
|
|
419
|
+
</g>
|
|
420
|
+
</g>
|
|
421
|
+
</g>
|
|
422
|
+
<g tabindex="-1" id="recharts-zindex-400-:rk:">
|
|
423
|
+
</g>
|
|
424
|
+
<g tabindex="-1" id="recharts-zindex-500-:rl:">
|
|
425
|
+
<g class="recharts-layer recharts-polar-angle-axis angleAxis">
|
|
426
|
+
<path cx="134" cy="134" orientation="outer" radius="129" fill="none" class="recharts-polygon recharts-polar-angle-axis-line" d="M134,5L209.82429754572905,29.636807725631783L256.6862906020748,94.13680772563178L256.6862906020748,173.86319227436823L209.82429754572905,238.3631922743682L134,263L58.175702454270976,238.3631922743682L11.313709397925194,173.86319227436823L11.31370939792518,94.1368077256318L58.17570245427095,29.636807725631797L134,5Z">
|
|
427
|
+
</path>
|
|
428
|
+
<g class="recharts-layer recharts-polar-angle-axis-ticks">
|
|
429
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
430
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="134" cy="134" orientation="outer" radius="129" fill="none" x1="134" y1="5" x2="134" y2="-3">
|
|
431
|
+
</line>
|
|
432
|
+
</g>
|
|
433
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
434
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="134" cy="134" orientation="outer" radius="129" fill="none" x1="209.82429754572905" y1="29.636807725631783" x2="214.5265795640688" y2="23.164671770632197">
|
|
435
|
+
</line>
|
|
436
|
+
</g>
|
|
437
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
438
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="134" cy="134" orientation="outer" radius="129" fill="none" x1="256.6862906020748" y1="94.13680772563178" x2="264.294742732436" y2="91.6646717706322">
|
|
439
|
+
</line>
|
|
440
|
+
</g>
|
|
441
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
442
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="134" cy="134" orientation="outer" radius="129" fill="none" x1="256.6862906020748" y1="173.86319227436823" x2="264.294742732436" y2="176.3353282293678">
|
|
443
|
+
</line>
|
|
444
|
+
</g>
|
|
445
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
446
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="134" cy="134" orientation="outer" radius="129" fill="none" x1="209.82429754572905" y1="238.3631922743682" x2="214.5265795640688" y2="244.8353282293678">
|
|
447
|
+
</line>
|
|
448
|
+
</g>
|
|
449
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
450
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="134" cy="134" orientation="outer" radius="129" fill="none" x1="134" y1="263" x2="134" y2="271">
|
|
451
|
+
</line>
|
|
452
|
+
</g>
|
|
453
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
454
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="134" cy="134" orientation="outer" radius="129" fill="none" x1="58.175702454270976" y1="238.3631922743682" x2="53.47342043593119" y2="244.8353282293678">
|
|
455
|
+
</line>
|
|
456
|
+
</g>
|
|
457
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
458
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="134" cy="134" orientation="outer" radius="129" fill="none" x1="11.313709397925194" y1="173.86319227436823" x2="3.7052572675639794" y2="176.3353282293678">
|
|
459
|
+
</line>
|
|
460
|
+
</g>
|
|
461
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
462
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="134" cy="134" orientation="outer" radius="129" fill="none" x1="11.31370939792518" y1="94.1368077256318" x2="3.705257267563951" y2="91.66467177063222">
|
|
463
|
+
</line>
|
|
464
|
+
</g>
|
|
465
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
466
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="134" cy="134" orientation="outer" radius="129" fill="none" x1="58.17570245427095" y1="29.636807725631797" x2="53.47342043593116" y2="23.16467177063221">
|
|
467
|
+
</line>
|
|
468
|
+
</g>
|
|
469
|
+
</g>
|
|
470
|
+
</g>
|
|
471
|
+
</g>
|
|
472
|
+
<g tabindex="-1" id="recharts-zindex-600-:rm:">
|
|
473
|
+
</g>
|
|
474
|
+
<g tabindex="-1" id="recharts-zindex-1000-:rn:">
|
|
475
|
+
</g>
|
|
476
|
+
<g tabindex="-1" id="recharts-zindex-1100-:ro:">
|
|
477
|
+
</g>
|
|
478
|
+
<g tabindex="-1" id="recharts-zindex-1200-:rp:">
|
|
479
|
+
</g>
|
|
480
|
+
<g tabindex="-1" id="recharts-zindex-2000-:rq:">
|
|
481
|
+
</g>
|
|
482
|
+
</svg>
|
|
483
|
+
</div>
|
|
484
|
+
</div>
|
|
485
|
+
</div>
|
|
486
|
+
</div>
|
|
487
|
+
</div>
|
|
488
|
+
```
|
|
489
|
+
|
|
490
|
+
#### Props: RadialBarChart
|
|
491
|
+
|
|
492
|
+
### RadialBarChart
|
|
493
|
+
|
|
494
|
+
| Name | Type | Default | Description |
|
|
495
|
+
| --- | --- | --- | --- |
|
|
496
|
+
| width | Number | — | The width of chart container. |
|
|
497
|
+
| height | Number | — | The height of chart container. |
|
|
498
|
+
| 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" }] |
|
|
499
|
+
| dataKey | string \| number \| ((obj: T) => any) | value | The key of data used for the RadialBar. |
|
|
500
|
+
| startAngle | Number | 180 | The start angle of all the bars. |
|
|
501
|
+
| endAngle | Number | 180 | The end angle of all the bars. |
|
|
502
|
+
| innerRadius | String \| Number | 30% | The innerRadius of the radial bar which is most close to the center. If set a percentage, the final value is obtained by multiplying the percentage of maxRadius which is calculated by the width, height, cx, cy. |
|
|
503
|
+
| outerRadius | String \| Number | 100% | The outerRadius of the radial bar which is most far away from the center. If set a percentage, the final value is obtained by multiplying the percentage of maxRadius which is calculated by the width, height, cx, cy. |
|
|
504
|
+
| clockWise | Boolean | true | Set to "true" if the bars should go clockwise. |
|
|
505
|
+
| cornerRadius | Number | 30 | Set the corner radius for the individual bars. |
|
|
506
|
+
| showBarLabel | Boolean | false | Renders a label on top of the bars. |
|
|
507
|
+
| background | Boolean \| Function | true | If false set, background of bars will not be drawn. If true set, background of bars will be drawn which have the props calculated internally. If set a function, the function will be called to render customized background. |
|
|
508
|
+
| range | Array | — | Defines the min and max value for the bar. |
|
|
509
|
+
| radialBarOptions | Object | — | Detailed options passed to the underlying RadialBar component. Details can be found here: https://recharts.org/en-US/api/RadialBar |
|
|
510
|
+
| textOptions | Object | — | Detailed options passed to the underlying Text component. Details can be found here: https://recharts.org/en-US/api/Text |
|
|
511
|
+
| containerOptions | Object | — | Detailed options passed to the underlying ResponsiveContainer component. Details can be found here: https://recharts.org/en-US/api/ResponsiveContainer |
|
|
512
|
+
| 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 |
|
|
513
|
+
| legend | Legend \| Boolean | <Legend /> | Shows the provided Legend component otherwise shows nothing. |
|
|
514
|
+
| ... | | — | Additional props are passed to the underlying RadialBarChart component. Details can be found here: https://recharts.org/en-US/api/RadialBarChart |
|
|
515
|
+
|
|
516
|
+
#### Props: Legend
|
|
517
|
+
|
|
518
|
+
### Legend
|
|
519
|
+
|
|
520
|
+
| Name | Type | Default | Description |
|
|
521
|
+
| --- | --- | --- | --- |
|
|
522
|
+
| iconType | String | square | Defines the type of the leading icon. |
|
|
523
|
+
| iconSize | String | 12 | Defines the size of the leading icon. |
|
|
524
|
+
| layout | String | vertical | Defines the layout of the legend. |
|
|
525
|
+
| align | String | right | Defines the alignment of the legend relative to the chart. |
|
|
526
|
+
| verticalAlign | String | top | Defines the vertical alignment of the legend relative to the chart. |
|
|
527
|
+
| ... | | — | Additional props are passed to the underlying legend component. Details can be found here: https://recharts.org/en-US/api/Legend |
|
|
528
|
+
|
|
529
|
+
### Example: Example 2
|
|
530
|
+
|
|
531
|
+
Circle RadialBarChart with built-in text82%
|
|
532
|
+
|
|
533
|
+
82
|
|
534
|
+
|
|
535
|
+
#### Summary
|
|
536
|
+
|
|
537
|
+
Circle RadialBarChart with built-in text82%
|
|
538
|
+
|
|
539
|
+
82
|
|
540
|
+
|
|
541
|
+
#### React (tsx)
|
|
542
|
+
|
|
543
|
+
```tsx
|
|
544
|
+
import RadialBarChart from '@rio-cloud/rio-uikit/RadialBarChart';
|
|
545
|
+
|
|
546
|
+
export default () => {
|
|
547
|
+
const panelClasses = 'panel panel-default panel-body margin-bottom-0 height-200 aspect-ratio-1 position-relative';
|
|
548
|
+
return (
|
|
549
|
+
<>
|
|
550
|
+
<label>Circle RadialBarChart with built-in text</label>
|
|
551
|
+
<div className='display-flex flex-wrap gap-25'>
|
|
552
|
+
<div className={panelClasses}>
|
|
553
|
+
<RadialBarChart
|
|
554
|
+
data={data}
|
|
555
|
+
dataKey='value'
|
|
556
|
+
startAngle={90}
|
|
557
|
+
endAngle={-270}
|
|
558
|
+
innerRadius='80%'
|
|
559
|
+
legend={false}
|
|
560
|
+
range={[0, 100]}
|
|
561
|
+
textOptions={{
|
|
562
|
+
x: 84,
|
|
563
|
+
y: 88,
|
|
564
|
+
text: '82%',
|
|
565
|
+
size: '250%',
|
|
566
|
+
color: 'brand-success',
|
|
567
|
+
}}
|
|
568
|
+
/>
|
|
569
|
+
</div>
|
|
570
|
+
<div className={panelClasses}>
|
|
571
|
+
<RadialBarChart
|
|
572
|
+
data={data}
|
|
573
|
+
dataKey='value'
|
|
574
|
+
startAngle={210}
|
|
575
|
+
endAngle={30}
|
|
576
|
+
innerRadius='90%'
|
|
577
|
+
legend={false}
|
|
578
|
+
range={[0, 100]}
|
|
579
|
+
textOptions={{
|
|
580
|
+
x: 84,
|
|
581
|
+
y: 88,
|
|
582
|
+
text: '82',
|
|
583
|
+
size: '400%',
|
|
584
|
+
weight: '300',
|
|
585
|
+
color: 'brand-success',
|
|
586
|
+
}}
|
|
587
|
+
/>
|
|
588
|
+
</div>
|
|
589
|
+
</div>
|
|
590
|
+
</>
|
|
591
|
+
);
|
|
592
|
+
};
|
|
593
|
+
|
|
594
|
+
const data = [
|
|
595
|
+
{
|
|
596
|
+
name: 'Ranking',
|
|
597
|
+
value: 82,
|
|
598
|
+
color: 'brand-success',
|
|
599
|
+
},
|
|
600
|
+
];
|
|
601
|
+
```
|
|
602
|
+
|
|
603
|
+
#### HTML (html)
|
|
604
|
+
|
|
605
|
+
```html
|
|
606
|
+
<label>Circle RadialBarChart with built-in text</label>
|
|
607
|
+
<div class="display-flex flex-wrap gap-25">
|
|
608
|
+
<div class="panel panel-default panel-body margin-bottom-0 height-200 aspect-ratio-1 position-relative">
|
|
609
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
610
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
611
|
+
<div width="168" height="168" class="recharts-wrapper" style="position: relative; cursor: default; width: 168px; height: 168px;">
|
|
612
|
+
<svg cx="50%" cy="50%" role="application" tabindex="0" class="recharts-surface" width="168" height="168" viewBox="0 0 168 168" style="width: 100%; height: 100%; display: block;">
|
|
613
|
+
<title>
|
|
614
|
+
</title>
|
|
615
|
+
<desc>
|
|
616
|
+
</desc>
|
|
617
|
+
<g tabindex="-1" id="recharts-zindex--100-:rr:">
|
|
618
|
+
</g>
|
|
619
|
+
<g tabindex="-1" id="recharts-zindex--50-:rs:">
|
|
620
|
+
<path name="Ranking" color="brand-success" cx="84" cy="84" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 84,7.219999999999999
|
|
621
|
+
A 76.78,76.78,0,
|
|
622
|
+
1,1,
|
|
623
|
+
83.9986599362004,7.2200000116942675
|
|
624
|
+
L 83.99886937571063,19.220000009866553
|
|
625
|
+
A 64.78,64.78,0,
|
|
626
|
+
1,0,
|
|
627
|
+
84,19.22 Z">
|
|
628
|
+
</path>
|
|
629
|
+
</g>
|
|
630
|
+
<defs>
|
|
631
|
+
<clipPath id="recharts3-clip">
|
|
632
|
+
<rect x="5" y="5" height="158" width="158">
|
|
633
|
+
</rect>
|
|
634
|
+
</clipPath>
|
|
635
|
+
</defs>
|
|
636
|
+
<text x="84" y="88" text-anchor="middle" dominant-baseline="middle" class="radialbarchart-text" style="font-size: 250%; font-weight: normal; fill: rgb(92, 184, 92);">82%</text>
|
|
637
|
+
<g tabindex="-1" id="recharts-zindex-100-:ru:">
|
|
638
|
+
</g>
|
|
639
|
+
<g tabindex="-1" id="recharts-zindex-200-:rv:">
|
|
640
|
+
</g>
|
|
641
|
+
<g tabindex="-1" id="recharts-zindex-300-:r10:">
|
|
642
|
+
<g class="recharts-layer recharts-area">
|
|
643
|
+
<g class="recharts-layer recharts-radial-bar-background">
|
|
644
|
+
</g>
|
|
645
|
+
<g class="recharts-layer recharts-radial-bar-sectors">
|
|
646
|
+
<g class="recharts-layer">
|
|
647
|
+
<path name="Ranking" color="brand-success" cx="84" cy="84" fill="#5cb85c " class="recharts-sector recharts-radial-bar-sector undefined" d="M 84,13.47476763597301
|
|
648
|
+
A6,6,0,0,1,90.50861825374399,7.496364214326192
|
|
649
|
+
A76.78,76.78,0,1,1,7.24153393931222,82.18167989335137
|
|
650
|
+
A6,6,0,0,1,13.889908574363261,76.35909165813003
|
|
651
|
+
L13.889908574363261,76.35909165813003
|
|
652
|
+
A6,6,0,0,1,19.23816838484821,82.4658664169224
|
|
653
|
+
A64.78,64.78,0,1,0,89.491381746256,19.453171057619826
|
|
654
|
+
A6,6,0,0,1,84,13.47476763597301Z">
|
|
655
|
+
</path>
|
|
656
|
+
</g>
|
|
657
|
+
</g>
|
|
658
|
+
</g>
|
|
659
|
+
</g>
|
|
660
|
+
<g tabindex="-1" id="recharts-zindex-400-:r11:">
|
|
661
|
+
</g>
|
|
662
|
+
<g tabindex="-1" id="recharts-zindex-500-:r12:">
|
|
663
|
+
<g class="recharts-layer recharts-polar-angle-axis angleAxis">
|
|
664
|
+
<path cx="84" cy="84" orientation="outer" radius="79" fill="none" class="recharts-polygon recharts-polar-angle-axis-line" d="M84,5L130.43503493110538,20.087657444379154L159.1334647873171,59.587657444379154L159.1334647873171,108.41234255562085L130.43503493110538,147.91234255562085L84,163L37.56496506889463,147.91234255562085L8.866535212682876,108.41234255562085L8.866535212682862,59.58765744437916L37.564965068894615,20.08765744437916L84,5Z">
|
|
665
|
+
</path>
|
|
666
|
+
<g class="recharts-layer recharts-polar-angle-axis-ticks">
|
|
667
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
668
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="84" y1="5" x2="84" y2="-3">
|
|
669
|
+
</line>
|
|
670
|
+
</g>
|
|
671
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
672
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="130.43503493110538" y1="20.087657444379154" x2="135.13731694944516" y2="13.615521489379574">
|
|
673
|
+
</line>
|
|
674
|
+
</g>
|
|
675
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
676
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="159.1334647873171" y1="59.587657444379154" x2="166.74191691767834" y2="57.115521489379574">
|
|
677
|
+
</line>
|
|
678
|
+
</g>
|
|
679
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
680
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="159.1334647873171" y1="108.41234255562085" x2="166.74191691767834" y2="110.88447851062043">
|
|
681
|
+
</line>
|
|
682
|
+
</g>
|
|
683
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
684
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="130.43503493110538" y1="147.91234255562085" x2="135.13731694944516" y2="154.38447851062043">
|
|
685
|
+
</line>
|
|
686
|
+
</g>
|
|
687
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
688
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="84" y1="163" x2="84" y2="171">
|
|
689
|
+
</line>
|
|
690
|
+
</g>
|
|
691
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
692
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="37.56496506889463" y1="147.91234255562085" x2="32.86268305055485" y2="154.38447851062043">
|
|
693
|
+
</line>
|
|
694
|
+
</g>
|
|
695
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
696
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="8.866535212682876" y1="108.41234255562085" x2="1.2580830823216473" y2="110.88447851062043">
|
|
697
|
+
</line>
|
|
698
|
+
</g>
|
|
699
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
700
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="8.866535212682862" y1="59.58765744437916" x2="1.2580830823216331" y2="57.11552148937959">
|
|
701
|
+
</line>
|
|
702
|
+
</g>
|
|
703
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
704
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="37.564965068894615" y1="20.08765744437916" x2="32.86268305055483" y2="13.615521489379574">
|
|
705
|
+
</line>
|
|
706
|
+
</g>
|
|
707
|
+
</g>
|
|
708
|
+
</g>
|
|
709
|
+
</g>
|
|
710
|
+
<g tabindex="-1" id="recharts-zindex-600-:r13:">
|
|
711
|
+
</g>
|
|
712
|
+
<g tabindex="-1" id="recharts-zindex-1000-:r14:">
|
|
713
|
+
</g>
|
|
714
|
+
<g tabindex="-1" id="recharts-zindex-1100-:r15:">
|
|
715
|
+
</g>
|
|
716
|
+
<g tabindex="-1" id="recharts-zindex-1200-:r16:">
|
|
717
|
+
</g>
|
|
718
|
+
<g tabindex="-1" id="recharts-zindex-2000-:r17:">
|
|
719
|
+
</g>
|
|
720
|
+
</svg>
|
|
721
|
+
</div>
|
|
722
|
+
</div>
|
|
723
|
+
</div>
|
|
724
|
+
</div>
|
|
725
|
+
<div class="panel panel-default panel-body margin-bottom-0 height-200 aspect-ratio-1 position-relative">
|
|
726
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
727
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
728
|
+
<div width="168" height="168" class="recharts-wrapper" style="position: relative; cursor: default; width: 168px; height: 168px;">
|
|
729
|
+
<svg cx="50%" cy="50%" role="application" tabindex="0" class="recharts-surface" width="168" height="168" viewBox="0 0 168 168" style="width: 100%; height: 100%; display: block;">
|
|
730
|
+
<title>
|
|
731
|
+
</title>
|
|
732
|
+
<desc>
|
|
733
|
+
</desc>
|
|
734
|
+
<g tabindex="-1" id="recharts-zindex--100-:r18:">
|
|
735
|
+
</g>
|
|
736
|
+
<g tabindex="-1" id="recharts-zindex--50-:r19:">
|
|
737
|
+
<path name="Ranking" color="brand-success" cx="84" cy="84" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 19.195416250083042,121.41494387273622
|
|
738
|
+
A3,3,0,0,1,15.039337317652155,120.21158795760601
|
|
739
|
+
A77.89,77.89,0,0,1,149.8404864238354,42.38410823408022
|
|
740
|
+
A3,3,0,0,1,148.80458374991696,46.585056127263805
|
|
741
|
+
L148.80458374991696,46.585056127263805
|
|
742
|
+
A3,3,0,0,1,144.76868107599853,45.589851597740754
|
|
743
|
+
A71.89,71.89,0,0,0,20.351495182513965,117.42214736515979
|
|
744
|
+
A3,3,0,0,1,19.195416250083042,121.41494387273622Z">
|
|
745
|
+
</path>
|
|
746
|
+
</g>
|
|
747
|
+
<defs>
|
|
748
|
+
<clipPath id="recharts4-clip">
|
|
749
|
+
<rect x="5" y="5" height="158" width="158">
|
|
750
|
+
</rect>
|
|
751
|
+
</clipPath>
|
|
752
|
+
</defs>
|
|
753
|
+
<text x="84" y="88" text-anchor="middle" dominant-baseline="middle" class="radialbarchart-text" style="font-size: 400%; font-weight: 300; fill: rgb(92, 184, 92);">82</text>
|
|
754
|
+
<g tabindex="-1" id="recharts-zindex-100-:r1b:">
|
|
755
|
+
</g>
|
|
756
|
+
<g tabindex="-1" id="recharts-zindex-200-:r1c:">
|
|
757
|
+
</g>
|
|
758
|
+
<g tabindex="-1" id="recharts-zindex-300-:r1d:">
|
|
759
|
+
<g class="recharts-layer recharts-area">
|
|
760
|
+
<g class="recharts-layer recharts-radial-bar-background">
|
|
761
|
+
</g>
|
|
762
|
+
<g class="recharts-layer recharts-radial-bar-sectors">
|
|
763
|
+
<g class="recharts-layer">
|
|
764
|
+
<path name="Ranking" color="brand-success" cx="84" cy="84" fill="#5cb85c " class="recharts-sector recharts-radial-bar-sector undefined" d="M 19.195416250083042,121.41494387273622
|
|
765
|
+
A3,3,0,0,1,15.039337317652155,120.21158795760601
|
|
766
|
+
A77.89,77.89,0,0,1,105.22633622140984,9.05805746702542
|
|
767
|
+
A3,3,0,0,1,107.26017182833417,12.877032496412454
|
|
768
|
+
L107.26017182833417,12.877032496412454
|
|
769
|
+
A3,3,0,0,1,103.59123521578063,14.83096355507071
|
|
770
|
+
A71.89,71.89,0,0,0,20.351495182513965,117.42214736515979
|
|
771
|
+
A3,3,0,0,1,19.195416250083042,121.41494387273622Z">
|
|
772
|
+
</path>
|
|
773
|
+
</g>
|
|
774
|
+
</g>
|
|
775
|
+
</g>
|
|
776
|
+
</g>
|
|
777
|
+
<g tabindex="-1" id="recharts-zindex-400-:r1e:">
|
|
778
|
+
</g>
|
|
779
|
+
<g tabindex="-1" id="recharts-zindex-500-:r1f:">
|
|
780
|
+
<g class="recharts-layer recharts-polar-angle-axis angleAxis">
|
|
781
|
+
<path cx="84" cy="84" orientation="outer" radius="79" fill="none" class="recharts-polygon recharts-polar-angle-axis-line" d="M15.58399310102935,123.5L6.726339542029365,100.425023574603L5.432770265906413,75.74225140185536L11.829908846234545,51.86780519701177L25.291558787285872,31.13868209765019L44.500000000000014,15.583993101029336L67.57497642539701,6.726339542029351L92.25774859814462,5.432770265906413L116.13219480298821,11.829908846234531L136.8613179023498,25.291558787285858L152.41600689897066,44.50000000000001L15.58399310102935,123.5Z">
|
|
782
|
+
</path>
|
|
783
|
+
<g class="recharts-layer recharts-polar-angle-axis-ticks">
|
|
784
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
785
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="15.58399310102935" y1="123.5" x2="8.655789870753836" y2="127.5">
|
|
786
|
+
</line>
|
|
787
|
+
</g>
|
|
788
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
789
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="6.726339542029365" y1="100.425023574603" x2="-1.0988412638410807" y2="102.08831710114508">
|
|
790
|
+
</line>
|
|
791
|
+
</g>
|
|
792
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
793
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="5.432770265906413" y1="75.74225140185536" x2="-2.523404897039782" y2="74.90602369571413">
|
|
794
|
+
</line>
|
|
795
|
+
</g>
|
|
796
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
797
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="11.829908846234545" y1="51.86780519701177" x2="4.5215451850937285" y2="48.61391205240536">
|
|
798
|
+
</line>
|
|
799
|
+
</g>
|
|
800
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
801
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="25.291558787285872" y1="31.13868209765019" x2="19.346400183466727" y2="25.785637246779324">
|
|
802
|
+
</line>
|
|
803
|
+
</g>
|
|
804
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
805
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="44.500000000000014" y1="15.583993101029336" x2="40.50000000000002" y2="8.655789870753836">
|
|
806
|
+
</line>
|
|
807
|
+
</g>
|
|
808
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
809
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="67.57497642539701" y1="6.726339542029351" x2="65.91168289885493" y2="-1.098841263841095">
|
|
810
|
+
</line>
|
|
811
|
+
</g>
|
|
812
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
813
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="92.25774859814462" y1="5.432770265906413" x2="93.09397630428585" y2="-2.523404897039782">
|
|
814
|
+
</line>
|
|
815
|
+
</g>
|
|
816
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
817
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="116.13219480298821" y1="11.829908846234531" x2="119.38608794759462" y2="4.5215451850937285">
|
|
818
|
+
</line>
|
|
819
|
+
</g>
|
|
820
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
821
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="136.8613179023498" y1="25.291558787285858" x2="142.21436275322066" y2="19.3464001834667">
|
|
822
|
+
</line>
|
|
823
|
+
</g>
|
|
824
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
825
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="152.41600689897066" y1="44.50000000000001" x2="159.34421012924616" y2="40.50000000000001">
|
|
826
|
+
</line>
|
|
827
|
+
</g>
|
|
828
|
+
</g>
|
|
829
|
+
</g>
|
|
830
|
+
</g>
|
|
831
|
+
<g tabindex="-1" id="recharts-zindex-600-:r1g:">
|
|
832
|
+
</g>
|
|
833
|
+
<g tabindex="-1" id="recharts-zindex-1000-:r1h:">
|
|
834
|
+
</g>
|
|
835
|
+
<g tabindex="-1" id="recharts-zindex-1100-:r1i:">
|
|
836
|
+
</g>
|
|
837
|
+
<g tabindex="-1" id="recharts-zindex-1200-:r1j:">
|
|
838
|
+
</g>
|
|
839
|
+
<g tabindex="-1" id="recharts-zindex-2000-:r1k:">
|
|
840
|
+
</g>
|
|
841
|
+
</svg>
|
|
842
|
+
</div>
|
|
843
|
+
</div>
|
|
844
|
+
</div>
|
|
845
|
+
</div>
|
|
846
|
+
</div>
|
|
847
|
+
```
|
|
848
|
+
|
|
849
|
+
#### Props: RadialBarChart
|
|
850
|
+
|
|
851
|
+
### RadialBarChart
|
|
852
|
+
|
|
853
|
+
| Name | Type | Default | Description |
|
|
854
|
+
| --- | --- | --- | --- |
|
|
855
|
+
| width | Number | — | The width of chart container. |
|
|
856
|
+
| height | Number | — | The height of chart container. |
|
|
857
|
+
| 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" }] |
|
|
858
|
+
| dataKey | string \| number \| ((obj: T) => any) | value | The key of data used for the RadialBar. |
|
|
859
|
+
| startAngle | Number | 180 | The start angle of all the bars. |
|
|
860
|
+
| endAngle | Number | 180 | The end angle of all the bars. |
|
|
861
|
+
| innerRadius | String \| Number | 30% | The innerRadius of the radial bar which is most close to the center. If set a percentage, the final value is obtained by multiplying the percentage of maxRadius which is calculated by the width, height, cx, cy. |
|
|
862
|
+
| outerRadius | String \| Number | 100% | The outerRadius of the radial bar which is most far away from the center. If set a percentage, the final value is obtained by multiplying the percentage of maxRadius which is calculated by the width, height, cx, cy. |
|
|
863
|
+
| clockWise | Boolean | true | Set to "true" if the bars should go clockwise. |
|
|
864
|
+
| cornerRadius | Number | 30 | Set the corner radius for the individual bars. |
|
|
865
|
+
| showBarLabel | Boolean | false | Renders a label on top of the bars. |
|
|
866
|
+
| background | Boolean \| Function | true | If false set, background of bars will not be drawn. If true set, background of bars will be drawn which have the props calculated internally. If set a function, the function will be called to render customized background. |
|
|
867
|
+
| range | Array | — | Defines the min and max value for the bar. |
|
|
868
|
+
| radialBarOptions | Object | — | Detailed options passed to the underlying RadialBar component. Details can be found here: https://recharts.org/en-US/api/RadialBar |
|
|
869
|
+
| textOptions | Object | — | Detailed options passed to the underlying Text component. Details can be found here: https://recharts.org/en-US/api/Text |
|
|
870
|
+
| containerOptions | Object | — | Detailed options passed to the underlying ResponsiveContainer component. Details can be found here: https://recharts.org/en-US/api/ResponsiveContainer |
|
|
871
|
+
| 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 |
|
|
872
|
+
| legend | Legend \| Boolean | <Legend /> | Shows the provided Legend component otherwise shows nothing. |
|
|
873
|
+
| ... | | — | Additional props are passed to the underlying RadialBarChart component. Details can be found here: https://recharts.org/en-US/api/RadialBarChart |
|
|
874
|
+
|
|
875
|
+
#### Props: Legend
|
|
876
|
+
|
|
877
|
+
### Legend
|
|
878
|
+
|
|
879
|
+
| Name | Type | Default | Description |
|
|
880
|
+
| --- | --- | --- | --- |
|
|
881
|
+
| iconType | String | square | Defines the type of the leading icon. |
|
|
882
|
+
| iconSize | String | 12 | Defines the size of the leading icon. |
|
|
883
|
+
| layout | String | vertical | Defines the layout of the legend. |
|
|
884
|
+
| align | String | right | Defines the alignment of the legend relative to the chart. |
|
|
885
|
+
| verticalAlign | String | top | Defines the vertical alignment of the legend relative to the chart. |
|
|
886
|
+
| ... | | — | Additional props are passed to the underlying legend component. Details can be found here: https://recharts.org/en-US/api/Legend |
|
|
887
|
+
|
|
888
|
+
### Example: Example 3
|
|
889
|
+
|
|
890
|
+
Full circle RadialBarChart with custom text
|
|
891
|
+
|
|
892
|
+
Fuel level
|
|
893
|
+
24%
|
|
894
|
+
|
|
895
|
+
Charge level
|
|
896
|
+
38%
|
|
897
|
+
|
|
898
|
+
Open RadialBarChart with custom text
|
|
899
|
+
|
|
900
|
+
Lorem ipsum
|
|
901
|
+
80
|
|
902
|
+
|
|
903
|
+
Lorem ipsum dolor sit amet
|
|
904
|
+
67
|
|
905
|
+
|
|
906
|
+
#### Summary
|
|
907
|
+
|
|
908
|
+
Full circle RadialBarChart with custom text
|
|
909
|
+
|
|
910
|
+
Fuel level
|
|
911
|
+
24%
|
|
912
|
+
|
|
913
|
+
Charge level
|
|
914
|
+
38%
|
|
915
|
+
|
|
916
|
+
Open RadialBarChart with custom text
|
|
917
|
+
|
|
918
|
+
Lorem ipsum
|
|
919
|
+
80
|
|
920
|
+
|
|
921
|
+
Lorem ipsum dolor sit amet
|
|
922
|
+
67
|
|
923
|
+
|
|
924
|
+
#### React (tsx)
|
|
925
|
+
|
|
926
|
+
```tsx
|
|
927
|
+
import RadialBarChart from '@rio-cloud/rio-uikit/RadialBarChart';
|
|
928
|
+
|
|
929
|
+
export default () => {
|
|
930
|
+
const panelClasses = 'panel panel-default panel-body margin-bottom-0 height-200 aspect-ratio-1 position-relative';
|
|
931
|
+
|
|
932
|
+
const infoBlockClasses =
|
|
933
|
+
'position-absolute top-50pct left-50pct translate-x-50pct-y-50pct text-size-16 line-height-125rel';
|
|
934
|
+
|
|
935
|
+
return (
|
|
936
|
+
<>
|
|
937
|
+
<label>Full circle RadialBarChart with custom text</label>
|
|
938
|
+
<div className='display-flex flex-wrap gap-25'>
|
|
939
|
+
<div className={panelClasses}>
|
|
940
|
+
<RadialBarChart
|
|
941
|
+
data={[fuelLevel]}
|
|
942
|
+
dataKey='value'
|
|
943
|
+
startAngle={90}
|
|
944
|
+
endAngle={-270}
|
|
945
|
+
innerRadius='90%'
|
|
946
|
+
legend={false}
|
|
947
|
+
range={[0, 100]}
|
|
948
|
+
/>
|
|
949
|
+
<div className={infoBlockClasses}>
|
|
950
|
+
<div className='text-color-darker'>{fuelLevel.name}</div>
|
|
951
|
+
<div className='text-color-darker text-size-200pct text-thin text-center'>
|
|
952
|
+
{`${fuelLevel.value}%`}
|
|
953
|
+
</div>
|
|
954
|
+
</div>
|
|
955
|
+
</div>
|
|
956
|
+
|
|
957
|
+
<div className={panelClasses}>
|
|
958
|
+
<RadialBarChart
|
|
959
|
+
data={[chargeLevel]}
|
|
960
|
+
dataKey='value'
|
|
961
|
+
startAngle={90}
|
|
962
|
+
endAngle={-270}
|
|
963
|
+
innerRadius='90%'
|
|
964
|
+
legend={false}
|
|
965
|
+
range={[0, 100]}
|
|
966
|
+
/>
|
|
967
|
+
<div className={infoBlockClasses}>
|
|
968
|
+
<div className='text-color-darker'>{chargeLevel.name}</div>
|
|
969
|
+
<div className='text-color-darker text-size-200pct text-thin text-center'>
|
|
970
|
+
{`${chargeLevel.value}%`}
|
|
971
|
+
</div>
|
|
972
|
+
</div>
|
|
973
|
+
</div>
|
|
974
|
+
</div>
|
|
975
|
+
|
|
976
|
+
<label className='margin-top-15'>Open RadialBarChart with custom text</label>
|
|
977
|
+
<div className='display-flex flex-wrap gap-25'>
|
|
978
|
+
<div className={panelClasses}>
|
|
979
|
+
<RadialBarChart
|
|
980
|
+
data={[loremIpsum]}
|
|
981
|
+
dataKey='value'
|
|
982
|
+
startAngle={210}
|
|
983
|
+
endAngle={-30}
|
|
984
|
+
innerRadius='90%'
|
|
985
|
+
legend={false}
|
|
986
|
+
range={[0, 100]}
|
|
987
|
+
/>
|
|
988
|
+
<div className={infoBlockClasses}>
|
|
989
|
+
<div className='text-color-darker'>{loremIpsum.name}</div>
|
|
990
|
+
<div className='text-color-darker text-size-200pct text-thin text-center'>
|
|
991
|
+
{loremIpsum.value}
|
|
992
|
+
</div>
|
|
993
|
+
</div>
|
|
994
|
+
</div>
|
|
995
|
+
|
|
996
|
+
<div className={panelClasses}>
|
|
997
|
+
<RadialBarChart
|
|
998
|
+
data={[loremIpsum2]}
|
|
999
|
+
dataKey='value'
|
|
1000
|
+
startAngle={240}
|
|
1001
|
+
endAngle={45}
|
|
1002
|
+
innerRadius='90%'
|
|
1003
|
+
legend={false}
|
|
1004
|
+
range={[0, 100]}
|
|
1005
|
+
/>
|
|
1006
|
+
<div className={infoBlockClasses}>
|
|
1007
|
+
<div className='text-color-darker'>{loremIpsum2.name}</div>
|
|
1008
|
+
<div className='text-color-darker text-size-200pct text-thin text-center'>
|
|
1009
|
+
{loremIpsum2.value}
|
|
1010
|
+
</div>
|
|
1011
|
+
</div>
|
|
1012
|
+
</div>
|
|
1013
|
+
</div>
|
|
1014
|
+
</>
|
|
1015
|
+
);
|
|
1016
|
+
};
|
|
1017
|
+
|
|
1018
|
+
const fuelLevel = {
|
|
1019
|
+
name: 'Fuel level',
|
|
1020
|
+
value: 24,
|
|
1021
|
+
color: 'color-coldplay-fountain',
|
|
1022
|
+
};
|
|
1023
|
+
|
|
1024
|
+
const chargeLevel = {
|
|
1025
|
+
name: 'Charge level',
|
|
1026
|
+
value: 38,
|
|
1027
|
+
color: 'color-coldplay-fountain',
|
|
1028
|
+
};
|
|
1029
|
+
|
|
1030
|
+
const loremIpsum = {
|
|
1031
|
+
name: 'Lorem ipsum',
|
|
1032
|
+
value: 80,
|
|
1033
|
+
color: 'color-warmup-charm',
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1036
|
+
const loremIpsum2 = {
|
|
1037
|
+
name: 'Lorem ipsum dolor sit amet',
|
|
1038
|
+
value: 67,
|
|
1039
|
+
color: 'color-coldplay-moos',
|
|
1040
|
+
};
|
|
1041
|
+
```
|
|
1042
|
+
|
|
1043
|
+
#### HTML (html)
|
|
1044
|
+
|
|
1045
|
+
```html
|
|
1046
|
+
<label>Full circle RadialBarChart with custom text</label>
|
|
1047
|
+
<div class="display-flex flex-wrap gap-25">
|
|
1048
|
+
<div class="panel panel-default panel-body margin-bottom-0 height-200 aspect-ratio-1 position-relative">
|
|
1049
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
1050
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
1051
|
+
<div width="168" height="168" class="recharts-wrapper" style="position: relative; cursor: default; width: 168px; height: 168px;">
|
|
1052
|
+
<svg cx="50%" cy="50%" role="application" tabindex="0" class="recharts-surface" width="168" height="168" viewBox="0 0 168 168" style="width: 100%; height: 100%; display: block;">
|
|
1053
|
+
<title>
|
|
1054
|
+
</title>
|
|
1055
|
+
<desc>
|
|
1056
|
+
</desc>
|
|
1057
|
+
<g tabindex="-1" id="recharts-zindex--100-:r1l:">
|
|
1058
|
+
</g>
|
|
1059
|
+
<g tabindex="-1" id="recharts-zindex--50-:r1m:">
|
|
1060
|
+
<path name="Fuel level" color="color-coldplay-fountain" cx="84" cy="84" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 84,6.109999999999999
|
|
1061
|
+
A 77.89,77.89,0,
|
|
1062
|
+
1,1,
|
|
1063
|
+
83.9986405630457,6.11000001186332
|
|
1064
|
+
L 83.99874528280081,12.110000010949477
|
|
1065
|
+
A 71.89,71.89,0,
|
|
1066
|
+
1,0,
|
|
1067
|
+
84,12.11 Z">
|
|
1068
|
+
</path>
|
|
1069
|
+
</g>
|
|
1070
|
+
<defs>
|
|
1071
|
+
<clipPath id="recharts5-clip">
|
|
1072
|
+
<rect x="5" y="5" height="158" width="158">
|
|
1073
|
+
</rect>
|
|
1074
|
+
</clipPath>
|
|
1075
|
+
</defs>
|
|
1076
|
+
<g tabindex="-1" id="recharts-zindex-100-:r1o:">
|
|
1077
|
+
</g>
|
|
1078
|
+
<g tabindex="-1" id="recharts-zindex-200-:r1p:">
|
|
1079
|
+
</g>
|
|
1080
|
+
<g tabindex="-1" id="recharts-zindex-300-:r1q:">
|
|
1081
|
+
<g class="recharts-layer recharts-area">
|
|
1082
|
+
<g class="recharts-layer recharts-radial-bar-background">
|
|
1083
|
+
</g>
|
|
1084
|
+
<g class="recharts-layer recharts-radial-bar-sectors">
|
|
1085
|
+
<g class="recharts-layer">
|
|
1086
|
+
<path name="Fuel level" color="color-coldplay-fountain" cx="84" cy="84" fill="#67abc5 " class="recharts-sector recharts-radial-bar-sector undefined" d="M 84,9.170112254527595
|
|
1087
|
+
A3,3,0,0,1,87.1201762585125,6.172520276474231
|
|
1088
|
+
A77.89,77.89,0,0,1,161.47798748199304,75.99915281109992
|
|
1089
|
+
A3,3,0,0,1,158.68222805526864,79.30139247214157
|
|
1090
|
+
L158.68222805526864,79.30139247214157
|
|
1091
|
+
A3,3,0,0,1,155.50972551136834,76.6154717626136
|
|
1092
|
+
A71.89,71.89,0,0,0,86.87982374148753,12.167704232580974
|
|
1093
|
+
A3,3,0,0,1,84,9.170112254527595Z">
|
|
1094
|
+
</path>
|
|
1095
|
+
</g>
|
|
1096
|
+
</g>
|
|
1097
|
+
</g>
|
|
1098
|
+
</g>
|
|
1099
|
+
<g tabindex="-1" id="recharts-zindex-400-:r1r:">
|
|
1100
|
+
</g>
|
|
1101
|
+
<g tabindex="-1" id="recharts-zindex-500-:r1s:">
|
|
1102
|
+
<g class="recharts-layer recharts-polar-angle-axis angleAxis">
|
|
1103
|
+
<path cx="84" cy="84" orientation="outer" radius="79" fill="none" class="recharts-polygon recharts-polar-angle-axis-line" d="M84,5L130.43503493110538,20.087657444379154L159.1334647873171,59.587657444379154L159.1334647873171,108.41234255562085L130.43503493110538,147.91234255562085L84,163L37.56496506889463,147.91234255562085L8.866535212682876,108.41234255562085L8.866535212682862,59.58765744437916L37.564965068894615,20.08765744437916L84,5Z">
|
|
1104
|
+
</path>
|
|
1105
|
+
<g class="recharts-layer recharts-polar-angle-axis-ticks">
|
|
1106
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1107
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="84" y1="5" x2="84" y2="-3">
|
|
1108
|
+
</line>
|
|
1109
|
+
</g>
|
|
1110
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1111
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="130.43503493110538" y1="20.087657444379154" x2="135.13731694944516" y2="13.615521489379574">
|
|
1112
|
+
</line>
|
|
1113
|
+
</g>
|
|
1114
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1115
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="159.1334647873171" y1="59.587657444379154" x2="166.74191691767834" y2="57.115521489379574">
|
|
1116
|
+
</line>
|
|
1117
|
+
</g>
|
|
1118
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1119
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="159.1334647873171" y1="108.41234255562085" x2="166.74191691767834" y2="110.88447851062043">
|
|
1120
|
+
</line>
|
|
1121
|
+
</g>
|
|
1122
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1123
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="130.43503493110538" y1="147.91234255562085" x2="135.13731694944516" y2="154.38447851062043">
|
|
1124
|
+
</line>
|
|
1125
|
+
</g>
|
|
1126
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1127
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="84" y1="163" x2="84" y2="171">
|
|
1128
|
+
</line>
|
|
1129
|
+
</g>
|
|
1130
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1131
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="37.56496506889463" y1="147.91234255562085" x2="32.86268305055485" y2="154.38447851062043">
|
|
1132
|
+
</line>
|
|
1133
|
+
</g>
|
|
1134
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1135
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="8.866535212682876" y1="108.41234255562085" x2="1.2580830823216473" y2="110.88447851062043">
|
|
1136
|
+
</line>
|
|
1137
|
+
</g>
|
|
1138
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1139
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="8.866535212682862" y1="59.58765744437916" x2="1.2580830823216331" y2="57.11552148937959">
|
|
1140
|
+
</line>
|
|
1141
|
+
</g>
|
|
1142
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1143
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="37.564965068894615" y1="20.08765744437916" x2="32.86268305055483" y2="13.615521489379574">
|
|
1144
|
+
</line>
|
|
1145
|
+
</g>
|
|
1146
|
+
</g>
|
|
1147
|
+
</g>
|
|
1148
|
+
</g>
|
|
1149
|
+
<g tabindex="-1" id="recharts-zindex-600-:r1t:">
|
|
1150
|
+
</g>
|
|
1151
|
+
<g tabindex="-1" id="recharts-zindex-1000-:r1u:">
|
|
1152
|
+
</g>
|
|
1153
|
+
<g tabindex="-1" id="recharts-zindex-1100-:r1v:">
|
|
1154
|
+
</g>
|
|
1155
|
+
<g tabindex="-1" id="recharts-zindex-1200-:r20:">
|
|
1156
|
+
</g>
|
|
1157
|
+
<g tabindex="-1" id="recharts-zindex-2000-:r21:">
|
|
1158
|
+
</g>
|
|
1159
|
+
</svg>
|
|
1160
|
+
</div>
|
|
1161
|
+
</div>
|
|
1162
|
+
</div>
|
|
1163
|
+
<div class="position-absolute top-50pct left-50pct translate-x-50pct-y-50pct text-size-16 line-height-125rel">
|
|
1164
|
+
<div class="text-color-darker">Fuel level</div>
|
|
1165
|
+
<div class="text-color-darker text-size-200pct text-thin text-center">24%</div>
|
|
1166
|
+
</div>
|
|
1167
|
+
</div>
|
|
1168
|
+
<div class="panel panel-default panel-body margin-bottom-0 height-200 aspect-ratio-1 position-relative">
|
|
1169
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
1170
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
1171
|
+
<div width="168" height="168" class="recharts-wrapper" style="position: relative; cursor: default; width: 168px; height: 168px;">
|
|
1172
|
+
<svg cx="50%" cy="50%" role="application" tabindex="0" class="recharts-surface" width="168" height="168" viewBox="0 0 168 168" style="width: 100%; height: 100%; display: block;">
|
|
1173
|
+
<title>
|
|
1174
|
+
</title>
|
|
1175
|
+
<desc>
|
|
1176
|
+
</desc>
|
|
1177
|
+
<g tabindex="-1" id="recharts-zindex--100-:r22:">
|
|
1178
|
+
</g>
|
|
1179
|
+
<g tabindex="-1" id="recharts-zindex--50-:r23:">
|
|
1180
|
+
<path name="Charge level" color="color-coldplay-fountain" cx="84" cy="84" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 84,6.109999999999999
|
|
1181
|
+
A 77.89,77.89,0,
|
|
1182
|
+
1,1,
|
|
1183
|
+
83.9986405630457,6.11000001186332
|
|
1184
|
+
L 83.99874528280081,12.110000010949477
|
|
1185
|
+
A 71.89,71.89,0,
|
|
1186
|
+
1,0,
|
|
1187
|
+
84,12.11 Z">
|
|
1188
|
+
</path>
|
|
1189
|
+
</g>
|
|
1190
|
+
<defs>
|
|
1191
|
+
<clipPath id="recharts6-clip">
|
|
1192
|
+
<rect x="5" y="5" height="158" width="158">
|
|
1193
|
+
</rect>
|
|
1194
|
+
</clipPath>
|
|
1195
|
+
</defs>
|
|
1196
|
+
<g tabindex="-1" id="recharts-zindex-100-:r25:">
|
|
1197
|
+
</g>
|
|
1198
|
+
<g tabindex="-1" id="recharts-zindex-200-:r26:">
|
|
1199
|
+
</g>
|
|
1200
|
+
<g tabindex="-1" id="recharts-zindex-300-:r27:">
|
|
1201
|
+
<g class="recharts-layer recharts-area">
|
|
1202
|
+
<g class="recharts-layer recharts-radial-bar-background">
|
|
1203
|
+
</g>
|
|
1204
|
+
<g class="recharts-layer recharts-radial-bar-sectors">
|
|
1205
|
+
<g class="recharts-layer">
|
|
1206
|
+
<path name="Charge level" color="color-coldplay-fountain" cx="84" cy="84" fill="#67abc5 " class="recharts-sector recharts-radial-bar-sector undefined" d="M 84,9.170112254527595
|
|
1207
|
+
A3,3,0,0,1,87.1201762585125,6.172520276474231
|
|
1208
|
+
A77.89,77.89,0,0,1,139.55108661094397,138.5978834419742
|
|
1209
|
+
A3,3,0,0,1,135.2245830931318,138.54864055991533
|
|
1210
|
+
L135.2245830931318,138.54864055991533
|
|
1211
|
+
A3,3,0,0,1,135.27189133984803,134.3921150422843
|
|
1212
|
+
A71.89,71.89,0,0,0,86.87982374148753,12.167704232580974
|
|
1213
|
+
A3,3,0,0,1,84,9.170112254527595Z">
|
|
1214
|
+
</path>
|
|
1215
|
+
</g>
|
|
1216
|
+
</g>
|
|
1217
|
+
</g>
|
|
1218
|
+
</g>
|
|
1219
|
+
<g tabindex="-1" id="recharts-zindex-400-:r28:">
|
|
1220
|
+
</g>
|
|
1221
|
+
<g tabindex="-1" id="recharts-zindex-500-:r29:">
|
|
1222
|
+
<g class="recharts-layer recharts-polar-angle-axis angleAxis">
|
|
1223
|
+
<path cx="84" cy="84" orientation="outer" radius="79" fill="none" class="recharts-polygon recharts-polar-angle-axis-line" d="M84,5L130.43503493110538,20.087657444379154L159.1334647873171,59.587657444379154L159.1334647873171,108.41234255562085L130.43503493110538,147.91234255562085L84,163L37.56496506889463,147.91234255562085L8.866535212682876,108.41234255562085L8.866535212682862,59.58765744437916L37.564965068894615,20.08765744437916L84,5Z">
|
|
1224
|
+
</path>
|
|
1225
|
+
<g class="recharts-layer recharts-polar-angle-axis-ticks">
|
|
1226
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1227
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="84" y1="5" x2="84" y2="-3">
|
|
1228
|
+
</line>
|
|
1229
|
+
</g>
|
|
1230
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1231
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="130.43503493110538" y1="20.087657444379154" x2="135.13731694944516" y2="13.615521489379574">
|
|
1232
|
+
</line>
|
|
1233
|
+
</g>
|
|
1234
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1235
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="159.1334647873171" y1="59.587657444379154" x2="166.74191691767834" y2="57.115521489379574">
|
|
1236
|
+
</line>
|
|
1237
|
+
</g>
|
|
1238
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1239
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="159.1334647873171" y1="108.41234255562085" x2="166.74191691767834" y2="110.88447851062043">
|
|
1240
|
+
</line>
|
|
1241
|
+
</g>
|
|
1242
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1243
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="130.43503493110538" y1="147.91234255562085" x2="135.13731694944516" y2="154.38447851062043">
|
|
1244
|
+
</line>
|
|
1245
|
+
</g>
|
|
1246
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1247
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="84" y1="163" x2="84" y2="171">
|
|
1248
|
+
</line>
|
|
1249
|
+
</g>
|
|
1250
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1251
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="37.56496506889463" y1="147.91234255562085" x2="32.86268305055485" y2="154.38447851062043">
|
|
1252
|
+
</line>
|
|
1253
|
+
</g>
|
|
1254
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1255
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="8.866535212682876" y1="108.41234255562085" x2="1.2580830823216473" y2="110.88447851062043">
|
|
1256
|
+
</line>
|
|
1257
|
+
</g>
|
|
1258
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1259
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="8.866535212682862" y1="59.58765744437916" x2="1.2580830823216331" y2="57.11552148937959">
|
|
1260
|
+
</line>
|
|
1261
|
+
</g>
|
|
1262
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1263
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="37.564965068894615" y1="20.08765744437916" x2="32.86268305055483" y2="13.615521489379574">
|
|
1264
|
+
</line>
|
|
1265
|
+
</g>
|
|
1266
|
+
</g>
|
|
1267
|
+
</g>
|
|
1268
|
+
</g>
|
|
1269
|
+
<g tabindex="-1" id="recharts-zindex-600-:r2a:">
|
|
1270
|
+
</g>
|
|
1271
|
+
<g tabindex="-1" id="recharts-zindex-1000-:r2b:">
|
|
1272
|
+
</g>
|
|
1273
|
+
<g tabindex="-1" id="recharts-zindex-1100-:r2c:">
|
|
1274
|
+
</g>
|
|
1275
|
+
<g tabindex="-1" id="recharts-zindex-1200-:r2d:">
|
|
1276
|
+
</g>
|
|
1277
|
+
<g tabindex="-1" id="recharts-zindex-2000-:r2e:">
|
|
1278
|
+
</g>
|
|
1279
|
+
</svg>
|
|
1280
|
+
</div>
|
|
1281
|
+
</div>
|
|
1282
|
+
</div>
|
|
1283
|
+
<div class="position-absolute top-50pct left-50pct translate-x-50pct-y-50pct text-size-16 line-height-125rel">
|
|
1284
|
+
<div class="text-color-darker">Charge level</div>
|
|
1285
|
+
<div class="text-color-darker text-size-200pct text-thin text-center">38%</div>
|
|
1286
|
+
</div>
|
|
1287
|
+
</div>
|
|
1288
|
+
</div>
|
|
1289
|
+
<label class="margin-top-15">Open RadialBarChart with custom text</label>
|
|
1290
|
+
<div class="display-flex flex-wrap gap-25">
|
|
1291
|
+
<div class="panel panel-default panel-body margin-bottom-0 height-200 aspect-ratio-1 position-relative">
|
|
1292
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
1293
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
1294
|
+
<div width="168" height="168" class="recharts-wrapper" style="position: relative; cursor: default; width: 168px; height: 168px;">
|
|
1295
|
+
<svg cx="50%" cy="50%" role="application" tabindex="0" class="recharts-surface" width="168" height="168" viewBox="0 0 168 168" style="width: 100%; height: 100%; display: block;">
|
|
1296
|
+
<title>
|
|
1297
|
+
</title>
|
|
1298
|
+
<desc>
|
|
1299
|
+
</desc>
|
|
1300
|
+
<g tabindex="-1" id="recharts-zindex--100-:r2f:">
|
|
1301
|
+
</g>
|
|
1302
|
+
<g tabindex="-1" id="recharts-zindex--50-:r2g:">
|
|
1303
|
+
<path name="Lorem ipsum" color="color-warmup-charm" cx="84" cy="84" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 19.195416250083042,121.41494387273622
|
|
1304
|
+
A3,3,0,0,1,15.039337317652155,120.21158795760601
|
|
1305
|
+
A77.89,77.89,0,1,1,152.96066268234785,120.21158795760599
|
|
1306
|
+
A3,3,0,0,1,148.80458374991696,121.41494387273619
|
|
1307
|
+
L148.80458374991696,121.41494387273619
|
|
1308
|
+
A3,3,0,0,1,147.64850481748604,117.42214736515977
|
|
1309
|
+
A71.89,71.89,0,1,0,20.351495182513965,117.42214736515979
|
|
1310
|
+
A3,3,0,0,1,19.195416250083042,121.41494387273622Z">
|
|
1311
|
+
</path>
|
|
1312
|
+
</g>
|
|
1313
|
+
<defs>
|
|
1314
|
+
<clipPath id="recharts7-clip">
|
|
1315
|
+
<rect x="5" y="5" height="158" width="158">
|
|
1316
|
+
</rect>
|
|
1317
|
+
</clipPath>
|
|
1318
|
+
</defs>
|
|
1319
|
+
<g tabindex="-1" id="recharts-zindex-100-:r2i:">
|
|
1320
|
+
</g>
|
|
1321
|
+
<g tabindex="-1" id="recharts-zindex-200-:r2j:">
|
|
1322
|
+
</g>
|
|
1323
|
+
<g tabindex="-1" id="recharts-zindex-300-:r2k:">
|
|
1324
|
+
<g class="recharts-layer recharts-area">
|
|
1325
|
+
<g class="recharts-layer recharts-radial-bar-background">
|
|
1326
|
+
</g>
|
|
1327
|
+
<g class="recharts-layer recharts-radial-bar-sectors">
|
|
1328
|
+
<g class="recharts-layer">
|
|
1329
|
+
<path name="Lorem ipsum" color="color-warmup-charm" cx="84" cy="84" fill="#c9778d " class="recharts-sector recharts-radial-bar-sector undefined" d="M 19.195416250083042,121.41494387273622
|
|
1330
|
+
A3,3,0,0,1,15.039337317652155,120.21158795760601
|
|
1331
|
+
A77.89,77.89,0,1,1,157.05414424856252,56.98252217341118
|
|
1332
|
+
A3,3,0,0,1,155.16745235396638,60.87629299947942
|
|
1333
|
+
L155.16745235396638,60.87629299947942
|
|
1334
|
+
A3,3,0,0,1,151.42665849312056,59.06372472777673
|
|
1335
|
+
A71.89,71.89,0,1,0,20.351495182513965,117.42214736515979
|
|
1336
|
+
A3,3,0,0,1,19.195416250083042,121.41494387273622Z">
|
|
1337
|
+
</path>
|
|
1338
|
+
</g>
|
|
1339
|
+
</g>
|
|
1340
|
+
</g>
|
|
1341
|
+
</g>
|
|
1342
|
+
<g tabindex="-1" id="recharts-zindex-400-:r2l:">
|
|
1343
|
+
</g>
|
|
1344
|
+
<g tabindex="-1" id="recharts-zindex-500-:r2m:">
|
|
1345
|
+
<g class="recharts-layer recharts-polar-angle-axis angleAxis">
|
|
1346
|
+
<path cx="84" cy="84" orientation="outer" radius="79" fill="none" class="recharts-polygon recharts-polar-angle-axis-line" d="M15.58399310102935,123.5L5.432770265906413,92.25774859814463L8.866535212682876,59.58765744437915L25.291558787285872,31.13868209765019L51.867805197011776,11.829908846234531L84,5L116.13219480298821,11.829908846234531L142.70844121271415,31.13868209765019L159.13346478731714,59.58765744437916L162.5672297340936,92.25774859814463L152.41600689897066,123.5L15.58399310102935,123.5Z">
|
|
1347
|
+
</path>
|
|
1348
|
+
<g class="recharts-layer recharts-polar-angle-axis-ticks">
|
|
1349
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1350
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="15.58399310102935" y1="123.5" x2="8.655789870753836" y2="127.5">
|
|
1351
|
+
</line>
|
|
1352
|
+
</g>
|
|
1353
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1354
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="5.432770265906413" y1="92.25774859814463" x2="-2.523404897039782" y2="93.09397630428586">
|
|
1355
|
+
</line>
|
|
1356
|
+
</g>
|
|
1357
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1358
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="8.866535212682876" y1="59.58765744437915" x2="1.2580830823216473" y2="57.11552148937957">
|
|
1359
|
+
</line>
|
|
1360
|
+
</g>
|
|
1361
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1362
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="25.291558787285872" y1="31.13868209765019" x2="19.346400183466727" y2="25.785637246779324">
|
|
1363
|
+
</line>
|
|
1364
|
+
</g>
|
|
1365
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1366
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="51.867805197011776" y1="11.829908846234531" x2="48.613912052405375" y2="4.5215451850937285">
|
|
1367
|
+
</line>
|
|
1368
|
+
</g>
|
|
1369
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1370
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="84" y1="5" x2="84" y2="-3">
|
|
1371
|
+
</line>
|
|
1372
|
+
</g>
|
|
1373
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1374
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="116.13219480298821" y1="11.829908846234531" x2="119.38608794759462" y2="4.5215451850937285">
|
|
1375
|
+
</line>
|
|
1376
|
+
</g>
|
|
1377
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1378
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="142.70844121271415" y1="31.13868209765019" x2="148.6535998165333" y2="25.785637246779324">
|
|
1379
|
+
</line>
|
|
1380
|
+
</g>
|
|
1381
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1382
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="159.13346478731714" y1="59.58765744437916" x2="166.74191691767837" y2="57.11552148937959">
|
|
1383
|
+
</line>
|
|
1384
|
+
</g>
|
|
1385
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1386
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="162.5672297340936" y1="92.25774859814463" x2="170.52340489703977" y2="93.09397630428586">
|
|
1387
|
+
</line>
|
|
1388
|
+
</g>
|
|
1389
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1390
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="152.41600689897066" y1="123.5" x2="159.34421012924616" y2="127.5">
|
|
1391
|
+
</line>
|
|
1392
|
+
</g>
|
|
1393
|
+
</g>
|
|
1394
|
+
</g>
|
|
1395
|
+
</g>
|
|
1396
|
+
<g tabindex="-1" id="recharts-zindex-600-:r2n:">
|
|
1397
|
+
</g>
|
|
1398
|
+
<g tabindex="-1" id="recharts-zindex-1000-:r2o:">
|
|
1399
|
+
</g>
|
|
1400
|
+
<g tabindex="-1" id="recharts-zindex-1100-:r2p:">
|
|
1401
|
+
</g>
|
|
1402
|
+
<g tabindex="-1" id="recharts-zindex-1200-:r2q:">
|
|
1403
|
+
</g>
|
|
1404
|
+
<g tabindex="-1" id="recharts-zindex-2000-:r2r:">
|
|
1405
|
+
</g>
|
|
1406
|
+
</svg>
|
|
1407
|
+
</div>
|
|
1408
|
+
</div>
|
|
1409
|
+
</div>
|
|
1410
|
+
<div class="position-absolute top-50pct left-50pct translate-x-50pct-y-50pct text-size-16 line-height-125rel">
|
|
1411
|
+
<div class="text-color-darker">Lorem ipsum</div>
|
|
1412
|
+
<div class="text-color-darker text-size-200pct text-thin text-center">80</div>
|
|
1413
|
+
</div>
|
|
1414
|
+
</div>
|
|
1415
|
+
<div class="panel panel-default panel-body margin-bottom-0 height-200 aspect-ratio-1 position-relative">
|
|
1416
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
1417
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
1418
|
+
<div width="168" height="168" class="recharts-wrapper" style="position: relative; cursor: default; width: 168px; height: 168px;">
|
|
1419
|
+
<svg cx="50%" cy="50%" role="application" tabindex="0" class="recharts-surface" width="168" height="168" viewBox="0 0 168 168" style="width: 100%; height: 100%; display: block;">
|
|
1420
|
+
<title>
|
|
1421
|
+
</title>
|
|
1422
|
+
<desc>
|
|
1423
|
+
</desc>
|
|
1424
|
+
<g tabindex="-1" id="recharts-zindex--100-:r2s:">
|
|
1425
|
+
</g>
|
|
1426
|
+
<g tabindex="-1" id="recharts-zindex--50-:r2t:">
|
|
1427
|
+
<path name="Lorem ipsum dolor sit amet" color="color-coldplay-moos" cx="84" cy="84" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 46.58505612726376,148.80458374991693
|
|
1428
|
+
A3,3,0,0,1,42.38410823408026,149.8404864238354
|
|
1429
|
+
A77.89,77.89,0,1,1,136.82604088427215,26.76136353394495
|
|
1430
|
+
A3,3,0,0,1,136.91272106025167,31.087278939748337
|
|
1431
|
+
L136.91272106025167,31.087278939748337
|
|
1432
|
+
A3,3,0,0,1,132.7567605491119,31.170553658432432
|
|
1433
|
+
A71.89,71.89,0,1,0,45.58985159774078,144.76868107599853
|
|
1434
|
+
A3,3,0,0,1,46.58505612726376,148.80458374991693Z">
|
|
1435
|
+
</path>
|
|
1436
|
+
</g>
|
|
1437
|
+
<defs>
|
|
1438
|
+
<clipPath id="recharts8-clip">
|
|
1439
|
+
<rect x="5" y="5" height="158" width="158">
|
|
1440
|
+
</rect>
|
|
1441
|
+
</clipPath>
|
|
1442
|
+
</defs>
|
|
1443
|
+
<g tabindex="-1" id="recharts-zindex-100-:r2v:">
|
|
1444
|
+
</g>
|
|
1445
|
+
<g tabindex="-1" id="recharts-zindex-200-:r30:">
|
|
1446
|
+
</g>
|
|
1447
|
+
<g tabindex="-1" id="recharts-zindex-300-:r31:">
|
|
1448
|
+
<g class="recharts-layer recharts-area">
|
|
1449
|
+
<g class="recharts-layer recharts-radial-bar-background">
|
|
1450
|
+
</g>
|
|
1451
|
+
<g class="recharts-layer recharts-radial-bar-sectors">
|
|
1452
|
+
<g class="recharts-layer">
|
|
1453
|
+
<path name="Lorem ipsum dolor sit amet" color="color-coldplay-moos" cx="84" cy="84" fill="#a1daa3 " class="recharts-sector recharts-radial-bar-sector undefined" d="M 46.58505612726376,148.80458374991693
|
|
1454
|
+
A3,3,0,0,1,42.38410823408026,149.8404864238354
|
|
1455
|
+
A77.89,77.89,0,0,1,55.26888295022491,11.602658798322409
|
|
1456
|
+
A3,3,0,0,1,59.20602300052397,13.397090679282528
|
|
1457
|
+
L59.20602300052397,13.397090679282528
|
|
1458
|
+
A3,3,0,0,1,57.48209006665386,17.179549891018084
|
|
1459
|
+
A71.89,71.89,0,0,0,45.58985159774078,144.76868107599853
|
|
1460
|
+
A3,3,0,0,1,46.58505612726376,148.80458374991693Z">
|
|
1461
|
+
</path>
|
|
1462
|
+
</g>
|
|
1463
|
+
</g>
|
|
1464
|
+
</g>
|
|
1465
|
+
</g>
|
|
1466
|
+
<g tabindex="-1" id="recharts-zindex-400-:r32:">
|
|
1467
|
+
</g>
|
|
1468
|
+
<g tabindex="-1" id="recharts-zindex-500-:r33:">
|
|
1469
|
+
<g class="recharts-layer recharts-polar-angle-axis angleAxis">
|
|
1470
|
+
<path cx="84" cy="84" orientation="outer" radius="79" fill="none" class="recharts-polygon recharts-polar-angle-axis-line" d="M44.499999999999964,152.41600689897064L23.927928717597545,135.3063958180845L10.247146306721064,112.31106801407873L5.0270713269309795,86.06797891632198L8.866535212682876,59.58765744437915L21.32508611699243,35.90784710831105L40.97351623381286,17.74502513231151L65.55781625538346,7.182776288583554L92.25774859814464,5.432770265906413L118.01037664785532,12.695762536361016L139.86143571373725,28.13856428626275L44.499999999999964,152.41600689897064Z">
|
|
1471
|
+
</path>
|
|
1472
|
+
<g class="recharts-layer recharts-polar-angle-axis-ticks">
|
|
1473
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1474
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="44.499999999999964" y1="152.41600689897064" x2="40.499999999999964" y2="159.34421012924614">
|
|
1475
|
+
</line>
|
|
1476
|
+
</g>
|
|
1477
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1478
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="23.927928717597545" y1="135.3063958180845" x2="17.844680992797294" y2="140.50198020472595">
|
|
1479
|
+
</line>
|
|
1480
|
+
</g>
|
|
1481
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1482
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="10.247146306721064" y1="112.31106801407873" x2="2.778502894743454" y2="115.17801161044113">
|
|
1483
|
+
</line>
|
|
1484
|
+
</g>
|
|
1485
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1486
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="5.0270713269309795" y1="86.06797891632198" x2="-2.9701872728734884" y2="86.27739450278497">
|
|
1487
|
+
</line>
|
|
1488
|
+
</g>
|
|
1489
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1490
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="8.866535212682876" y1="59.58765744437915" x2="1.2580830823216473" y2="57.11552148937957">
|
|
1491
|
+
</line>
|
|
1492
|
+
</g>
|
|
1493
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1494
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="21.32508611699243" y1="35.90784710831105" x2="14.978259394662544" y2="31.037755676241282">
|
|
1495
|
+
</line>
|
|
1496
|
+
</g>
|
|
1497
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1498
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="40.97351623381286" y1="17.74502513231151" x2="36.61640395369265" y2="11.035660588748115">
|
|
1499
|
+
</line>
|
|
1500
|
+
</g>
|
|
1501
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1502
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="65.55781625538346" y1="7.182776288583554" x2="63.69025334453622" y2="-0.5961830745978602">
|
|
1503
|
+
</line>
|
|
1504
|
+
</g>
|
|
1505
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1506
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="92.25774859814464" y1="5.432770265906413" x2="93.09397630428587" y2="-2.523404897039782">
|
|
1507
|
+
</line>
|
|
1508
|
+
</g>
|
|
1509
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1510
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="118.01037664785532" y1="12.695762536361016" x2="121.45446542232169" y2="5.475080261562141">
|
|
1511
|
+
</line>
|
|
1512
|
+
</g>
|
|
1513
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1514
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="139.86143571373725" y1="28.13856428626275" x2="145.51828996322965" y2="22.481710036770373">
|
|
1515
|
+
</line>
|
|
1516
|
+
</g>
|
|
1517
|
+
</g>
|
|
1518
|
+
</g>
|
|
1519
|
+
</g>
|
|
1520
|
+
<g tabindex="-1" id="recharts-zindex-600-:r34:">
|
|
1521
|
+
</g>
|
|
1522
|
+
<g tabindex="-1" id="recharts-zindex-1000-:r35:">
|
|
1523
|
+
</g>
|
|
1524
|
+
<g tabindex="-1" id="recharts-zindex-1100-:r36:">
|
|
1525
|
+
</g>
|
|
1526
|
+
<g tabindex="-1" id="recharts-zindex-1200-:r37:">
|
|
1527
|
+
</g>
|
|
1528
|
+
<g tabindex="-1" id="recharts-zindex-2000-:r38:">
|
|
1529
|
+
</g>
|
|
1530
|
+
</svg>
|
|
1531
|
+
</div>
|
|
1532
|
+
</div>
|
|
1533
|
+
</div>
|
|
1534
|
+
<div class="position-absolute top-50pct left-50pct translate-x-50pct-y-50pct text-size-16 line-height-125rel">
|
|
1535
|
+
<div class="text-color-darker">Lorem ipsum dolor sit amet</div>
|
|
1536
|
+
<div class="text-color-darker text-size-200pct text-thin text-center">67</div>
|
|
1537
|
+
</div>
|
|
1538
|
+
</div>
|
|
1539
|
+
</div>
|
|
1540
|
+
```
|
|
1541
|
+
|
|
1542
|
+
#### Props: RadialBarChart
|
|
1543
|
+
|
|
1544
|
+
### RadialBarChart
|
|
1545
|
+
|
|
1546
|
+
| Name | Type | Default | Description |
|
|
1547
|
+
| --- | --- | --- | --- |
|
|
1548
|
+
| width | Number | — | The width of chart container. |
|
|
1549
|
+
| height | Number | — | The height of chart container. |
|
|
1550
|
+
| 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" }] |
|
|
1551
|
+
| dataKey | string \| number \| ((obj: T) => any) | value | The key of data used for the RadialBar. |
|
|
1552
|
+
| startAngle | Number | 180 | The start angle of all the bars. |
|
|
1553
|
+
| endAngle | Number | 180 | The end angle of all the bars. |
|
|
1554
|
+
| innerRadius | String \| Number | 30% | The innerRadius of the radial bar which is most close to the center. If set a percentage, the final value is obtained by multiplying the percentage of maxRadius which is calculated by the width, height, cx, cy. |
|
|
1555
|
+
| outerRadius | String \| Number | 100% | The outerRadius of the radial bar which is most far away from the center. If set a percentage, the final value is obtained by multiplying the percentage of maxRadius which is calculated by the width, height, cx, cy. |
|
|
1556
|
+
| clockWise | Boolean | true | Set to "true" if the bars should go clockwise. |
|
|
1557
|
+
| cornerRadius | Number | 30 | Set the corner radius for the individual bars. |
|
|
1558
|
+
| showBarLabel | Boolean | false | Renders a label on top of the bars. |
|
|
1559
|
+
| background | Boolean \| Function | true | If false set, background of bars will not be drawn. If true set, background of bars will be drawn which have the props calculated internally. If set a function, the function will be called to render customized background. |
|
|
1560
|
+
| range | Array | — | Defines the min and max value for the bar. |
|
|
1561
|
+
| radialBarOptions | Object | — | Detailed options passed to the underlying RadialBar component. Details can be found here: https://recharts.org/en-US/api/RadialBar |
|
|
1562
|
+
| textOptions | Object | — | Detailed options passed to the underlying Text component. Details can be found here: https://recharts.org/en-US/api/Text |
|
|
1563
|
+
| containerOptions | Object | — | Detailed options passed to the underlying ResponsiveContainer component. Details can be found here: https://recharts.org/en-US/api/ResponsiveContainer |
|
|
1564
|
+
| 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 |
|
|
1565
|
+
| legend | Legend \| Boolean | <Legend /> | Shows the provided Legend component otherwise shows nothing. |
|
|
1566
|
+
| ... | | — | Additional props are passed to the underlying RadialBarChart component. Details can be found here: https://recharts.org/en-US/api/RadialBarChart |
|
|
1567
|
+
|
|
1568
|
+
#### Props: Legend
|
|
1569
|
+
|
|
1570
|
+
### Legend
|
|
1571
|
+
|
|
1572
|
+
| Name | Type | Default | Description |
|
|
1573
|
+
| --- | --- | --- | --- |
|
|
1574
|
+
| iconType | String | square | Defines the type of the leading icon. |
|
|
1575
|
+
| iconSize | String | 12 | Defines the size of the leading icon. |
|
|
1576
|
+
| layout | String | vertical | Defines the layout of the legend. |
|
|
1577
|
+
| align | String | right | Defines the alignment of the legend relative to the chart. |
|
|
1578
|
+
| verticalAlign | String | top | Defines the vertical alignment of the legend relative to the chart. |
|
|
1579
|
+
| ... | | — | Additional props are passed to the underlying legend component. Details can be found here: https://recharts.org/en-US/api/Legend |
|
|
1580
|
+
|
|
1581
|
+
### Example: Example 4
|
|
1582
|
+
|
|
1583
|
+
Example for error visualizationMost reported problems
|
|
1584
|
+
|
|
1585
|
+
43%
|
|
1586
|
+
|
|
1587
|
+
App
|
|
1588
|
+
|
|
1589
|
+
37%
|
|
1590
|
+
|
|
1591
|
+
Website
|
|
1592
|
+
|
|
1593
|
+
20%
|
|
1594
|
+
|
|
1595
|
+
Server Connection
|
|
1596
|
+
|
|
1597
|
+
#### Summary
|
|
1598
|
+
|
|
1599
|
+
Example for error visualizationMost reported problems
|
|
1600
|
+
|
|
1601
|
+
43%
|
|
1602
|
+
|
|
1603
|
+
App
|
|
1604
|
+
|
|
1605
|
+
37%
|
|
1606
|
+
|
|
1607
|
+
Website
|
|
1608
|
+
|
|
1609
|
+
20%
|
|
1610
|
+
|
|
1611
|
+
Server Connection
|
|
1612
|
+
|
|
1613
|
+
#### React (tsx)
|
|
1614
|
+
|
|
1615
|
+
```tsx
|
|
1616
|
+
import RadialBarChart from '@rio-cloud/rio-uikit/RadialBarChart';
|
|
1617
|
+
|
|
1618
|
+
export default () => {
|
|
1619
|
+
return (
|
|
1620
|
+
<>
|
|
1621
|
+
<label>Example for error visualization</label>
|
|
1622
|
+
<div className='panel panel-default panel-body shadow-default margin-bottom-0 height-auto'>
|
|
1623
|
+
<div className='margin-bottom-15 text-color-darker text-medium text-size-16'>
|
|
1624
|
+
Most reported problems
|
|
1625
|
+
</div>
|
|
1626
|
+
|
|
1627
|
+
<div className='display-flex flex-wrap gap-25'>
|
|
1628
|
+
{data.map(item => (
|
|
1629
|
+
<div key={item.name} className='display-flex flex-column justify-content-center'>
|
|
1630
|
+
<div className='position-relative width-100 aspect-ratio-1'>
|
|
1631
|
+
<RadialBarChart
|
|
1632
|
+
data={[item]}
|
|
1633
|
+
dataKey='value'
|
|
1634
|
+
startAngle={270}
|
|
1635
|
+
endAngle={-90}
|
|
1636
|
+
innerRadius='90%'
|
|
1637
|
+
legend={false}
|
|
1638
|
+
range={[0, 100]}
|
|
1639
|
+
/>
|
|
1640
|
+
<div className='position-absolute top-50pct left-50pct translate-x-50pct-y-50pct'>
|
|
1641
|
+
<div className='text-color-darker text-size-20 text-medium text-center'>
|
|
1642
|
+
{`${item.value}%`}
|
|
1643
|
+
</div>
|
|
1644
|
+
</div>
|
|
1645
|
+
</div>
|
|
1646
|
+
<div className='text-center text-color-darker'>{item.name}</div>
|
|
1647
|
+
</div>
|
|
1648
|
+
))}
|
|
1649
|
+
</div>
|
|
1650
|
+
</div>
|
|
1651
|
+
</>
|
|
1652
|
+
);
|
|
1653
|
+
};
|
|
1654
|
+
|
|
1655
|
+
const data = [
|
|
1656
|
+
{
|
|
1657
|
+
name: 'App',
|
|
1658
|
+
value: 43,
|
|
1659
|
+
color: 'brand-danger',
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
name: 'Website',
|
|
1663
|
+
value: 37,
|
|
1664
|
+
color: 'brand-danger',
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
name: 'Server Connection',
|
|
1668
|
+
value: 20,
|
|
1669
|
+
color: 'brand-danger',
|
|
1670
|
+
},
|
|
1671
|
+
];
|
|
1672
|
+
```
|
|
1673
|
+
|
|
1674
|
+
#### HTML (html)
|
|
1675
|
+
|
|
1676
|
+
```html
|
|
1677
|
+
<label>Example for error visualization</label>
|
|
1678
|
+
<div class="panel panel-default panel-body shadow-default margin-bottom-0 height-auto">
|
|
1679
|
+
<div class="margin-bottom-15 text-color-darker text-medium text-size-16">Most reported problems</div>
|
|
1680
|
+
<div class="display-flex flex-wrap gap-25">
|
|
1681
|
+
<div class="display-flex flex-column justify-content-center">
|
|
1682
|
+
<div class="position-relative width-100 aspect-ratio-1">
|
|
1683
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
1684
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
1685
|
+
<div width="100" height="100" class="recharts-wrapper" style="position: relative; cursor: default; width: 100px; height: 100px;">
|
|
1686
|
+
<svg cx="50%" cy="50%" role="application" tabindex="0" class="recharts-surface" width="100" height="100" viewBox="0 0 100 100" style="width: 100%; height: 100%; display: block;">
|
|
1687
|
+
<title>
|
|
1688
|
+
</title>
|
|
1689
|
+
<desc>
|
|
1690
|
+
</desc>
|
|
1691
|
+
<g tabindex="-1" id="recharts-zindex--100-:r39:">
|
|
1692
|
+
</g>
|
|
1693
|
+
<g tabindex="-1" id="recharts-zindex--50-:r3a:">
|
|
1694
|
+
<path name="App" color="brand-danger" cx="50" cy="50" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 49.99999999999999,93.95
|
|
1695
|
+
A 43.95,43.95,0,
|
|
1696
|
+
1,1,
|
|
1697
|
+
50.000767072206195,93.94999999330604
|
|
1698
|
+
L 50.00071471232864,90.94999999376296
|
|
1699
|
+
A 40.95,40.95,0,
|
|
1700
|
+
1,0,
|
|
1701
|
+
49.99999999999999,90.95 Z">
|
|
1702
|
+
</path>
|
|
1703
|
+
</g>
|
|
1704
|
+
<defs>
|
|
1705
|
+
<clipPath id="recharts9-clip">
|
|
1706
|
+
<rect x="5" y="5" height="90" width="90">
|
|
1707
|
+
</rect>
|
|
1708
|
+
</clipPath>
|
|
1709
|
+
</defs>
|
|
1710
|
+
<g tabindex="-1" id="recharts-zindex-100-:r3c:">
|
|
1711
|
+
</g>
|
|
1712
|
+
<g tabindex="-1" id="recharts-zindex-200-:r3d:">
|
|
1713
|
+
</g>
|
|
1714
|
+
<g tabindex="-1" id="recharts-zindex-300-:r3e:">
|
|
1715
|
+
<g class="recharts-layer recharts-area">
|
|
1716
|
+
<g class="recharts-layer recharts-radial-bar-background">
|
|
1717
|
+
</g>
|
|
1718
|
+
<g class="recharts-layer recharts-radial-bar-sectors">
|
|
1719
|
+
<g class="recharts-layer">
|
|
1720
|
+
<path name="App" color="brand-danger" cx="50" cy="50" fill="#e22837 " class="recharts-sector recharts-radial-bar-sector undefined" d="M 49.99999999999999,92.42348995544803
|
|
1721
|
+
A1.5,1.5,0,0,1,48.44699646643109,93.92255320475715
|
|
1722
|
+
A43.95,43.95,0,0,1,29.893486803000833,10.918922391278684
|
|
1723
|
+
A1.5,1.5,0,0,1,31.93695650105136,11.614078628290173
|
|
1724
|
+
L31.93695650105136,11.614078628290173
|
|
1725
|
+
A1.5,1.5,0,0,1,31.265945041703848,13.58657273999686
|
|
1726
|
+
A40.95,40.95,0,0,0,48.5530035335689,90.92442670613892
|
|
1727
|
+
A1.5,1.5,0,0,1,49.99999999999999,92.42348995544803Z">
|
|
1728
|
+
</path>
|
|
1729
|
+
</g>
|
|
1730
|
+
</g>
|
|
1731
|
+
</g>
|
|
1732
|
+
</g>
|
|
1733
|
+
<g tabindex="-1" id="recharts-zindex-400-:r3f:">
|
|
1734
|
+
</g>
|
|
1735
|
+
<g tabindex="-1" id="recharts-zindex-500-:r3g:">
|
|
1736
|
+
<g class="recharts-layer recharts-polar-angle-axis angleAxis">
|
|
1737
|
+
<path cx="50" cy="50" orientation="outer" radius="45" fill="none" class="recharts-polygon recharts-polar-angle-axis-line" d="M49.99999999999999,95L23.549663646838702,86.40576474687262L7.202456766718086,63.90576474687263L7.202456766718093,36.094235253127366L23.549663646838713,13.594235253127366L50,5L76.45033635316129,13.594235253127366L92.79754323328191,36.09423525312735L92.79754323328191,63.90576474687265L76.45033635316129,86.40576474687263L49.99999999999999,95Z">
|
|
1738
|
+
</path>
|
|
1739
|
+
<g class="recharts-layer recharts-polar-angle-axis-ticks">
|
|
1740
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1741
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="49.99999999999999" y1="95" x2="49.99999999999999" y2="103">
|
|
1742
|
+
</line>
|
|
1743
|
+
</g>
|
|
1744
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1745
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="23.549663646838702" y1="86.40576474687262" x2="18.84738162849892" y2="92.8779007018722">
|
|
1746
|
+
</line>
|
|
1747
|
+
</g>
|
|
1748
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1749
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="7.202456766718086" y1="63.90576474687263" x2="-0.40599536364314304" y2="66.3779007018722">
|
|
1750
|
+
</line>
|
|
1751
|
+
</g>
|
|
1752
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1753
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="7.202456766718093" y1="36.094235253127366" x2="-0.40599536364313593" y2="33.62209929812778">
|
|
1754
|
+
</line>
|
|
1755
|
+
</g>
|
|
1756
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1757
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="23.549663646838713" y1="13.594235253127366" x2="18.84738162849893" y2="7.122099298127786">
|
|
1758
|
+
</line>
|
|
1759
|
+
</g>
|
|
1760
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1761
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="50" y1="5" x2="50" y2="-3">
|
|
1762
|
+
</line>
|
|
1763
|
+
</g>
|
|
1764
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1765
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="76.45033635316129" y1="13.594235253127366" x2="81.15261837150108" y2="7.122099298127786">
|
|
1766
|
+
</line>
|
|
1767
|
+
</g>
|
|
1768
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1769
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="92.79754323328191" y1="36.09423525312735" x2="100.40599536364313" y2="33.622099298127765">
|
|
1770
|
+
</line>
|
|
1771
|
+
</g>
|
|
1772
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1773
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="92.79754323328191" y1="63.90576474687265" x2="100.40599536364314" y2="66.37790070187222">
|
|
1774
|
+
</line>
|
|
1775
|
+
</g>
|
|
1776
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1777
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="76.45033635316129" y1="86.40576474687263" x2="81.15261837150106" y2="92.87790070187222">
|
|
1778
|
+
</line>
|
|
1779
|
+
</g>
|
|
1780
|
+
</g>
|
|
1781
|
+
</g>
|
|
1782
|
+
</g>
|
|
1783
|
+
<g tabindex="-1" id="recharts-zindex-600-:r3h:">
|
|
1784
|
+
</g>
|
|
1785
|
+
<g tabindex="-1" id="recharts-zindex-1000-:r3i:">
|
|
1786
|
+
</g>
|
|
1787
|
+
<g tabindex="-1" id="recharts-zindex-1100-:r3j:">
|
|
1788
|
+
</g>
|
|
1789
|
+
<g tabindex="-1" id="recharts-zindex-1200-:r3k:">
|
|
1790
|
+
</g>
|
|
1791
|
+
<g tabindex="-1" id="recharts-zindex-2000-:r3l:">
|
|
1792
|
+
</g>
|
|
1793
|
+
</svg>
|
|
1794
|
+
</div>
|
|
1795
|
+
</div>
|
|
1796
|
+
</div>
|
|
1797
|
+
<div class="position-absolute top-50pct left-50pct translate-x-50pct-y-50pct">
|
|
1798
|
+
<div class="text-color-darker text-size-20 text-medium text-center">43%</div>
|
|
1799
|
+
</div>
|
|
1800
|
+
</div>
|
|
1801
|
+
<div class="text-center text-color-darker">App</div>
|
|
1802
|
+
</div>
|
|
1803
|
+
<div class="display-flex flex-column justify-content-center">
|
|
1804
|
+
<div class="position-relative width-100 aspect-ratio-1">
|
|
1805
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
1806
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
1807
|
+
<div width="100" height="100" class="recharts-wrapper" style="position: relative; cursor: default; width: 100px; height: 100px;">
|
|
1808
|
+
<svg cx="50%" cy="50%" role="application" tabindex="0" class="recharts-surface" width="100" height="100" viewBox="0 0 100 100" style="width: 100%; height: 100%; display: block;">
|
|
1809
|
+
<title>
|
|
1810
|
+
</title>
|
|
1811
|
+
<desc>
|
|
1812
|
+
</desc>
|
|
1813
|
+
<g tabindex="-1" id="recharts-zindex--100-:r3m:">
|
|
1814
|
+
</g>
|
|
1815
|
+
<g tabindex="-1" id="recharts-zindex--50-:r3n:">
|
|
1816
|
+
<path name="Website" color="brand-danger" cx="50" cy="50" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 49.99999999999999,93.95
|
|
1817
|
+
A 43.95,43.95,0,
|
|
1818
|
+
1,1,
|
|
1819
|
+
50.000767072206195,93.94999999330604
|
|
1820
|
+
L 50.00071471232864,90.94999999376296
|
|
1821
|
+
A 40.95,40.95,0,
|
|
1822
|
+
1,0,
|
|
1823
|
+
49.99999999999999,90.95 Z">
|
|
1824
|
+
</path>
|
|
1825
|
+
</g>
|
|
1826
|
+
<defs>
|
|
1827
|
+
<clipPath id="recharts10-clip">
|
|
1828
|
+
<rect x="5" y="5" height="90" width="90">
|
|
1829
|
+
</rect>
|
|
1830
|
+
</clipPath>
|
|
1831
|
+
</defs>
|
|
1832
|
+
<g tabindex="-1" id="recharts-zindex-100-:r3p:">
|
|
1833
|
+
</g>
|
|
1834
|
+
<g tabindex="-1" id="recharts-zindex-200-:r3q:">
|
|
1835
|
+
</g>
|
|
1836
|
+
<g tabindex="-1" id="recharts-zindex-300-:r3r:">
|
|
1837
|
+
<g class="recharts-layer recharts-area">
|
|
1838
|
+
<g class="recharts-layer recharts-radial-bar-background">
|
|
1839
|
+
</g>
|
|
1840
|
+
<g class="recharts-layer recharts-radial-bar-sectors">
|
|
1841
|
+
<g class="recharts-layer">
|
|
1842
|
+
<path name="Website" color="brand-danger" cx="50" cy="50" fill="#e22837 " class="recharts-sector recharts-radial-bar-sector undefined" d="M 49.99999999999999,92.42348995544803
|
|
1843
|
+
A1.5,1.5,0,0,1,48.44699646643109,93.92255320475715
|
|
1844
|
+
A43.95,43.95,0,0,1,16.91873260308263,21.06503417293098
|
|
1845
|
+
A1.5,1.5,0,0,1,19.074606756751002,20.959122727603262
|
|
1846
|
+
L19.074606756751002,20.959122727603262
|
|
1847
|
+
A1.5,1.5,0,0,1,19.176839592633307,23.040117164539783
|
|
1848
|
+
A40.95,40.95,0,0,0,48.5530035335689,90.92442670613892
|
|
1849
|
+
A1.5,1.5,0,0,1,49.99999999999999,92.42348995544803Z">
|
|
1850
|
+
</path>
|
|
1851
|
+
</g>
|
|
1852
|
+
</g>
|
|
1853
|
+
</g>
|
|
1854
|
+
</g>
|
|
1855
|
+
<g tabindex="-1" id="recharts-zindex-400-:r3s:">
|
|
1856
|
+
</g>
|
|
1857
|
+
<g tabindex="-1" id="recharts-zindex-500-:r3t:">
|
|
1858
|
+
<g class="recharts-layer recharts-polar-angle-axis angleAxis">
|
|
1859
|
+
<path cx="50" cy="50" orientation="outer" radius="45" fill="none" class="recharts-polygon recharts-polar-angle-axis-line" d="M49.99999999999999,95L23.549663646838702,86.40576474687262L7.202456766718086,63.90576474687263L7.202456766718093,36.094235253127366L23.549663646838713,13.594235253127366L50,5L76.45033635316129,13.594235253127366L92.79754323328191,36.09423525312735L92.79754323328191,63.90576474687265L76.45033635316129,86.40576474687263L49.99999999999999,95Z">
|
|
1860
|
+
</path>
|
|
1861
|
+
<g class="recharts-layer recharts-polar-angle-axis-ticks">
|
|
1862
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1863
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="49.99999999999999" y1="95" x2="49.99999999999999" y2="103">
|
|
1864
|
+
</line>
|
|
1865
|
+
</g>
|
|
1866
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1867
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="23.549663646838702" y1="86.40576474687262" x2="18.84738162849892" y2="92.8779007018722">
|
|
1868
|
+
</line>
|
|
1869
|
+
</g>
|
|
1870
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1871
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="7.202456766718086" y1="63.90576474687263" x2="-0.40599536364314304" y2="66.3779007018722">
|
|
1872
|
+
</line>
|
|
1873
|
+
</g>
|
|
1874
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1875
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="7.202456766718093" y1="36.094235253127366" x2="-0.40599536364313593" y2="33.62209929812778">
|
|
1876
|
+
</line>
|
|
1877
|
+
</g>
|
|
1878
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1879
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="23.549663646838713" y1="13.594235253127366" x2="18.84738162849893" y2="7.122099298127786">
|
|
1880
|
+
</line>
|
|
1881
|
+
</g>
|
|
1882
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1883
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="50" y1="5" x2="50" y2="-3">
|
|
1884
|
+
</line>
|
|
1885
|
+
</g>
|
|
1886
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1887
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="76.45033635316129" y1="13.594235253127366" x2="81.15261837150108" y2="7.122099298127786">
|
|
1888
|
+
</line>
|
|
1889
|
+
</g>
|
|
1890
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1891
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="92.79754323328191" y1="36.09423525312735" x2="100.40599536364313" y2="33.622099298127765">
|
|
1892
|
+
</line>
|
|
1893
|
+
</g>
|
|
1894
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1895
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="92.79754323328191" y1="63.90576474687265" x2="100.40599536364314" y2="66.37790070187222">
|
|
1896
|
+
</line>
|
|
1897
|
+
</g>
|
|
1898
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1899
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="76.45033635316129" y1="86.40576474687263" x2="81.15261837150106" y2="92.87790070187222">
|
|
1900
|
+
</line>
|
|
1901
|
+
</g>
|
|
1902
|
+
</g>
|
|
1903
|
+
</g>
|
|
1904
|
+
</g>
|
|
1905
|
+
<g tabindex="-1" id="recharts-zindex-600-:r3u:">
|
|
1906
|
+
</g>
|
|
1907
|
+
<g tabindex="-1" id="recharts-zindex-1000-:r3v:">
|
|
1908
|
+
</g>
|
|
1909
|
+
<g tabindex="-1" id="recharts-zindex-1100-:r40:">
|
|
1910
|
+
</g>
|
|
1911
|
+
<g tabindex="-1" id="recharts-zindex-1200-:r41:">
|
|
1912
|
+
</g>
|
|
1913
|
+
<g tabindex="-1" id="recharts-zindex-2000-:r42:">
|
|
1914
|
+
</g>
|
|
1915
|
+
</svg>
|
|
1916
|
+
</div>
|
|
1917
|
+
</div>
|
|
1918
|
+
</div>
|
|
1919
|
+
<div class="position-absolute top-50pct left-50pct translate-x-50pct-y-50pct">
|
|
1920
|
+
<div class="text-color-darker text-size-20 text-medium text-center">37%</div>
|
|
1921
|
+
</div>
|
|
1922
|
+
</div>
|
|
1923
|
+
<div class="text-center text-color-darker">Website</div>
|
|
1924
|
+
</div>
|
|
1925
|
+
<div class="display-flex flex-column justify-content-center">
|
|
1926
|
+
<div class="position-relative width-100 aspect-ratio-1">
|
|
1927
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
1928
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
1929
|
+
<div width="100" height="100" class="recharts-wrapper" style="position: relative; cursor: default; width: 100px; height: 100px;">
|
|
1930
|
+
<svg cx="50%" cy="50%" role="application" tabindex="0" class="recharts-surface" width="100" height="100" viewBox="0 0 100 100" style="width: 100%; height: 100%; display: block;">
|
|
1931
|
+
<title>
|
|
1932
|
+
</title>
|
|
1933
|
+
<desc>
|
|
1934
|
+
</desc>
|
|
1935
|
+
<g tabindex="-1" id="recharts-zindex--100-:r43:">
|
|
1936
|
+
</g>
|
|
1937
|
+
<g tabindex="-1" id="recharts-zindex--50-:r44:">
|
|
1938
|
+
<path name="Server Connection" color="brand-danger" cx="50" cy="50" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 49.99999999999999,93.95
|
|
1939
|
+
A 43.95,43.95,0,
|
|
1940
|
+
1,1,
|
|
1941
|
+
50.000767072206195,93.94999999330604
|
|
1942
|
+
L 50.00071471232864,90.94999999376296
|
|
1943
|
+
A 40.95,40.95,0,
|
|
1944
|
+
1,0,
|
|
1945
|
+
49.99999999999999,90.95 Z">
|
|
1946
|
+
</path>
|
|
1947
|
+
</g>
|
|
1948
|
+
<defs>
|
|
1949
|
+
<clipPath id="recharts11-clip">
|
|
1950
|
+
<rect x="5" y="5" height="90" width="90">
|
|
1951
|
+
</rect>
|
|
1952
|
+
</clipPath>
|
|
1953
|
+
</defs>
|
|
1954
|
+
<g tabindex="-1" id="recharts-zindex-100-:r46:">
|
|
1955
|
+
</g>
|
|
1956
|
+
<g tabindex="-1" id="recharts-zindex-200-:r47:">
|
|
1957
|
+
</g>
|
|
1958
|
+
<g tabindex="-1" id="recharts-zindex-300-:r48:">
|
|
1959
|
+
<g class="recharts-layer recharts-area">
|
|
1960
|
+
<g class="recharts-layer recharts-radial-bar-background">
|
|
1961
|
+
</g>
|
|
1962
|
+
<g class="recharts-layer recharts-radial-bar-sectors">
|
|
1963
|
+
<g class="recharts-layer">
|
|
1964
|
+
<path name="Server Connection" color="brand-danger" cx="50" cy="50" fill="#e22837 " class="recharts-sector recharts-radial-bar-sector undefined" d="M 49.99999999999999,92.42348995544803
|
|
1965
|
+
A1.5,1.5,0,0,1,48.44699646643109,93.92255320475715
|
|
1966
|
+
A43.95,43.95,0,0,1,8.707074046492266,65.04980950703788
|
|
1967
|
+
A1.5,1.5,0,0,1,9.652863433889152,63.10957935692832
|
|
1968
|
+
L9.652863433889152,63.10957935692832
|
|
1969
|
+
A1.5,1.5,0,0,1,11.525703804410881,64.02251875570423
|
|
1970
|
+
A40.95,40.95,0,0,0,48.5530035335689,90.92442670613892
|
|
1971
|
+
A1.5,1.5,0,0,1,49.99999999999999,92.42348995544803Z">
|
|
1972
|
+
</path>
|
|
1973
|
+
</g>
|
|
1974
|
+
</g>
|
|
1975
|
+
</g>
|
|
1976
|
+
</g>
|
|
1977
|
+
<g tabindex="-1" id="recharts-zindex-400-:r49:">
|
|
1978
|
+
</g>
|
|
1979
|
+
<g tabindex="-1" id="recharts-zindex-500-:r4a:">
|
|
1980
|
+
<g class="recharts-layer recharts-polar-angle-axis angleAxis">
|
|
1981
|
+
<path cx="50" cy="50" orientation="outer" radius="45" fill="none" class="recharts-polygon recharts-polar-angle-axis-line" d="M49.99999999999999,95L23.549663646838702,86.40576474687262L7.202456766718086,63.90576474687263L7.202456766718093,36.094235253127366L23.549663646838713,13.594235253127366L50,5L76.45033635316129,13.594235253127366L92.79754323328191,36.09423525312735L92.79754323328191,63.90576474687265L76.45033635316129,86.40576474687263L49.99999999999999,95Z">
|
|
1982
|
+
</path>
|
|
1983
|
+
<g class="recharts-layer recharts-polar-angle-axis-ticks">
|
|
1984
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1985
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="49.99999999999999" y1="95" x2="49.99999999999999" y2="103">
|
|
1986
|
+
</line>
|
|
1987
|
+
</g>
|
|
1988
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1989
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="23.549663646838702" y1="86.40576474687262" x2="18.84738162849892" y2="92.8779007018722">
|
|
1990
|
+
</line>
|
|
1991
|
+
</g>
|
|
1992
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1993
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="7.202456766718086" y1="63.90576474687263" x2="-0.40599536364314304" y2="66.3779007018722">
|
|
1994
|
+
</line>
|
|
1995
|
+
</g>
|
|
1996
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
1997
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="7.202456766718093" y1="36.094235253127366" x2="-0.40599536364313593" y2="33.62209929812778">
|
|
1998
|
+
</line>
|
|
1999
|
+
</g>
|
|
2000
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2001
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="23.549663646838713" y1="13.594235253127366" x2="18.84738162849893" y2="7.122099298127786">
|
|
2002
|
+
</line>
|
|
2003
|
+
</g>
|
|
2004
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2005
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="50" y1="5" x2="50" y2="-3">
|
|
2006
|
+
</line>
|
|
2007
|
+
</g>
|
|
2008
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2009
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="76.45033635316129" y1="13.594235253127366" x2="81.15261837150108" y2="7.122099298127786">
|
|
2010
|
+
</line>
|
|
2011
|
+
</g>
|
|
2012
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2013
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="92.79754323328191" y1="36.09423525312735" x2="100.40599536364313" y2="33.622099298127765">
|
|
2014
|
+
</line>
|
|
2015
|
+
</g>
|
|
2016
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2017
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="92.79754323328191" y1="63.90576474687265" x2="100.40599536364314" y2="66.37790070187222">
|
|
2018
|
+
</line>
|
|
2019
|
+
</g>
|
|
2020
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2021
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="76.45033635316129" y1="86.40576474687263" x2="81.15261837150106" y2="92.87790070187222">
|
|
2022
|
+
</line>
|
|
2023
|
+
</g>
|
|
2024
|
+
</g>
|
|
2025
|
+
</g>
|
|
2026
|
+
</g>
|
|
2027
|
+
<g tabindex="-1" id="recharts-zindex-600-:r4b:">
|
|
2028
|
+
</g>
|
|
2029
|
+
<g tabindex="-1" id="recharts-zindex-1000-:r4c:">
|
|
2030
|
+
</g>
|
|
2031
|
+
<g tabindex="-1" id="recharts-zindex-1100-:r4d:">
|
|
2032
|
+
</g>
|
|
2033
|
+
<g tabindex="-1" id="recharts-zindex-1200-:r4e:">
|
|
2034
|
+
</g>
|
|
2035
|
+
<g tabindex="-1" id="recharts-zindex-2000-:r4f:">
|
|
2036
|
+
</g>
|
|
2037
|
+
</svg>
|
|
2038
|
+
</div>
|
|
2039
|
+
</div>
|
|
2040
|
+
</div>
|
|
2041
|
+
<div class="position-absolute top-50pct left-50pct translate-x-50pct-y-50pct">
|
|
2042
|
+
<div class="text-color-darker text-size-20 text-medium text-center">20%</div>
|
|
2043
|
+
</div>
|
|
2044
|
+
</div>
|
|
2045
|
+
<div class="text-center text-color-darker">Server Connection</div>
|
|
2046
|
+
</div>
|
|
2047
|
+
</div>
|
|
2048
|
+
</div>
|
|
2049
|
+
```
|
|
2050
|
+
|
|
2051
|
+
#### Props: RadialBarChart
|
|
2052
|
+
|
|
2053
|
+
### RadialBarChart
|
|
2054
|
+
|
|
2055
|
+
| Name | Type | Default | Description |
|
|
2056
|
+
| --- | --- | --- | --- |
|
|
2057
|
+
| width | Number | — | The width of chart container. |
|
|
2058
|
+
| height | Number | — | The height of chart container. |
|
|
2059
|
+
| 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" }] |
|
|
2060
|
+
| dataKey | string \| number \| ((obj: T) => any) | value | The key of data used for the RadialBar. |
|
|
2061
|
+
| startAngle | Number | 180 | The start angle of all the bars. |
|
|
2062
|
+
| endAngle | Number | 180 | The end angle of all the bars. |
|
|
2063
|
+
| innerRadius | String \| Number | 30% | The innerRadius of the radial bar which is most close to the center. If set a percentage, the final value is obtained by multiplying the percentage of maxRadius which is calculated by the width, height, cx, cy. |
|
|
2064
|
+
| outerRadius | String \| Number | 100% | The outerRadius of the radial bar which is most far away from the center. If set a percentage, the final value is obtained by multiplying the percentage of maxRadius which is calculated by the width, height, cx, cy. |
|
|
2065
|
+
| clockWise | Boolean | true | Set to "true" if the bars should go clockwise. |
|
|
2066
|
+
| cornerRadius | Number | 30 | Set the corner radius for the individual bars. |
|
|
2067
|
+
| showBarLabel | Boolean | false | Renders a label on top of the bars. |
|
|
2068
|
+
| background | Boolean \| Function | true | If false set, background of bars will not be drawn. If true set, background of bars will be drawn which have the props calculated internally. If set a function, the function will be called to render customized background. |
|
|
2069
|
+
| range | Array | — | Defines the min and max value for the bar. |
|
|
2070
|
+
| radialBarOptions | Object | — | Detailed options passed to the underlying RadialBar component. Details can be found here: https://recharts.org/en-US/api/RadialBar |
|
|
2071
|
+
| textOptions | Object | — | Detailed options passed to the underlying Text component. Details can be found here: https://recharts.org/en-US/api/Text |
|
|
2072
|
+
| containerOptions | Object | — | Detailed options passed to the underlying ResponsiveContainer component. Details can be found here: https://recharts.org/en-US/api/ResponsiveContainer |
|
|
2073
|
+
| 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 |
|
|
2074
|
+
| legend | Legend \| Boolean | <Legend /> | Shows the provided Legend component otherwise shows nothing. |
|
|
2075
|
+
| ... | | — | Additional props are passed to the underlying RadialBarChart component. Details can be found here: https://recharts.org/en-US/api/RadialBarChart |
|
|
2076
|
+
|
|
2077
|
+
#### Props: Legend
|
|
2078
|
+
|
|
2079
|
+
### Legend
|
|
2080
|
+
|
|
2081
|
+
| Name | Type | Default | Description |
|
|
2082
|
+
| --- | --- | --- | --- |
|
|
2083
|
+
| iconType | String | square | Defines the type of the leading icon. |
|
|
2084
|
+
| iconSize | String | 12 | Defines the size of the leading icon. |
|
|
2085
|
+
| layout | String | vertical | Defines the layout of the legend. |
|
|
2086
|
+
| align | String | right | Defines the alignment of the legend relative to the chart. |
|
|
2087
|
+
| verticalAlign | String | top | Defines the vertical alignment of the legend relative to the chart. |
|
|
2088
|
+
| ... | | — | Additional props are passed to the underlying legend component. Details can be found here: https://recharts.org/en-US/api/Legend |
|
|
2089
|
+
|
|
2090
|
+
### Example: Fuel level
|
|
2091
|
+
|
|
2092
|
+
RadialBarChart with a needle
|
|
2093
|
+
|
|
2094
|
+
Fuel level
|
|
2095
|
+
24%
|
|
2096
|
+
|
|
2097
|
+
Charge level
|
|
2098
|
+
38%
|
|
2099
|
+
|
|
2100
|
+
#### Summary
|
|
2101
|
+
|
|
2102
|
+
RadialBarChart with a needle
|
|
2103
|
+
|
|
2104
|
+
Fuel level
|
|
2105
|
+
24%
|
|
2106
|
+
|
|
2107
|
+
Charge level
|
|
2108
|
+
38%
|
|
2109
|
+
|
|
2110
|
+
#### React (tsx)
|
|
2111
|
+
|
|
2112
|
+
```tsx
|
|
2113
|
+
import RadialBarChart from '@rio-cloud/rio-uikit/RadialBarChart';
|
|
2114
|
+
import ChartNeedle from '@rio-cloud/rio-uikit/ChartNeedle';
|
|
2115
|
+
|
|
2116
|
+
export default () => {
|
|
2117
|
+
const panelClasses = 'panel panel-default panel-body margin-bottom-0 height-200 aspect-ratio-1 position-relative';
|
|
2118
|
+
|
|
2119
|
+
return (
|
|
2120
|
+
<>
|
|
2121
|
+
<label>RadialBarChart with a needle</label>
|
|
2122
|
+
|
|
2123
|
+
<div className='display-flex flex-wrap gap-25'>
|
|
2124
|
+
<div className={panelClasses}>
|
|
2125
|
+
<RadialBarChart
|
|
2126
|
+
data={[fuelLevel]}
|
|
2127
|
+
dataKey='value'
|
|
2128
|
+
startAngle={210}
|
|
2129
|
+
endAngle={-30}
|
|
2130
|
+
innerRadius='90%'
|
|
2131
|
+
legend={false}
|
|
2132
|
+
range={[0, 100]}
|
|
2133
|
+
/>
|
|
2134
|
+
<div className='position-absolute top-50pct left-50pct translate-x-50pct-y-50pct'>
|
|
2135
|
+
<ChartNeedle rotation={-62} />
|
|
2136
|
+
</div>
|
|
2137
|
+
<div className='position-absolute bottom-5 left-50pct translate-x-50pct-y-50pct line-height-125rel'>
|
|
2138
|
+
<div className='text-color-dark'>{fuelLevel.name}</div>
|
|
2139
|
+
<div className='text-color-darker text-size-18 text-medium text-center'>
|
|
2140
|
+
{`${fuelLevel.value}%`}
|
|
2141
|
+
</div>
|
|
2142
|
+
</div>
|
|
2143
|
+
</div>
|
|
2144
|
+
|
|
2145
|
+
<div className={panelClasses}>
|
|
2146
|
+
<RadialBarChart
|
|
2147
|
+
data={[chargeLevel]}
|
|
2148
|
+
dataKey='value'
|
|
2149
|
+
startAngle={180}
|
|
2150
|
+
endAngle={0}
|
|
2151
|
+
innerRadius='90%'
|
|
2152
|
+
legend={false}
|
|
2153
|
+
range={[0, 100]}
|
|
2154
|
+
/>
|
|
2155
|
+
<div className='position-absolute top-50pct left-50pct translate-x-50pct-y-50pct'>
|
|
2156
|
+
<ChartNeedle rotation={-22} />
|
|
2157
|
+
</div>
|
|
2158
|
+
<div
|
|
2159
|
+
className={
|
|
2160
|
+
'position-absolute bottom-25 left-50pct translate-x-50pct-y-50pct ' + ' line-height-125rel'
|
|
2161
|
+
}
|
|
2162
|
+
>
|
|
2163
|
+
<div className='text-color-dark'>{chargeLevel.name}</div>
|
|
2164
|
+
<div className='text-color-darker text-size-18 text-medium text-center'>
|
|
2165
|
+
{`${chargeLevel.value}%`}
|
|
2166
|
+
</div>
|
|
2167
|
+
</div>
|
|
2168
|
+
</div>
|
|
2169
|
+
|
|
2170
|
+
<div className={panelClasses}>
|
|
2171
|
+
<RadialBarChart
|
|
2172
|
+
data={[loremIpsum]}
|
|
2173
|
+
dataKey='value'
|
|
2174
|
+
startAngle={90}
|
|
2175
|
+
endAngle={-270}
|
|
2176
|
+
innerRadius='90%'
|
|
2177
|
+
legend={false}
|
|
2178
|
+
range={[0, 100]}
|
|
2179
|
+
/>
|
|
2180
|
+
<div className='position-absolute top-50pct left-50pct translate-x-50pct-y-50pct'>
|
|
2181
|
+
<ChartNeedle rotation={-73} />
|
|
2182
|
+
</div>
|
|
2183
|
+
</div>
|
|
2184
|
+
</div>
|
|
2185
|
+
</>
|
|
2186
|
+
);
|
|
2187
|
+
};
|
|
2188
|
+
|
|
2189
|
+
const fuelLevel = {
|
|
2190
|
+
name: 'Fuel level',
|
|
2191
|
+
value: 24,
|
|
2192
|
+
color: 'color-coldplay-fountain',
|
|
2193
|
+
};
|
|
2194
|
+
|
|
2195
|
+
const chargeLevel = {
|
|
2196
|
+
name: 'Charge level',
|
|
2197
|
+
value: 38,
|
|
2198
|
+
color: 'color-coldplay-fountain',
|
|
2199
|
+
};
|
|
2200
|
+
|
|
2201
|
+
const loremIpsum = {
|
|
2202
|
+
name: 'Lorem ipsum',
|
|
2203
|
+
value: 80,
|
|
2204
|
+
color: 'color-warmup-charm',
|
|
2205
|
+
};
|
|
2206
|
+
```
|
|
2207
|
+
|
|
2208
|
+
#### HTML (html)
|
|
2209
|
+
|
|
2210
|
+
```html
|
|
2211
|
+
<label>RadialBarChart with a needle</label>
|
|
2212
|
+
<div class="display-flex flex-wrap gap-25">
|
|
2213
|
+
<div class="panel panel-default panel-body margin-bottom-0 height-200 aspect-ratio-1 position-relative">
|
|
2214
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
2215
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
2216
|
+
<div width="168" height="168" class="recharts-wrapper" style="position: relative; cursor: default; width: 168px; height: 168px;">
|
|
2217
|
+
<svg cx="50%" cy="50%" role="application" tabindex="0" class="recharts-surface" width="168" height="168" viewBox="0 0 168 168" style="width: 100%; height: 100%; display: block;">
|
|
2218
|
+
<title>
|
|
2219
|
+
</title>
|
|
2220
|
+
<desc>
|
|
2221
|
+
</desc>
|
|
2222
|
+
<g tabindex="-1" id="recharts-zindex--100-:r4g:">
|
|
2223
|
+
</g>
|
|
2224
|
+
<g tabindex="-1" id="recharts-zindex--50-:r4h:">
|
|
2225
|
+
<path name="Fuel level" color="color-coldplay-fountain" cx="84" cy="84" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 19.195416250083042,121.41494387273622
|
|
2226
|
+
A3,3,0,0,1,15.039337317652155,120.21158795760601
|
|
2227
|
+
A77.89,77.89,0,1,1,152.96066268234785,120.21158795760599
|
|
2228
|
+
A3,3,0,0,1,148.80458374991696,121.41494387273619
|
|
2229
|
+
L148.80458374991696,121.41494387273619
|
|
2230
|
+
A3,3,0,0,1,147.64850481748604,117.42214736515977
|
|
2231
|
+
A71.89,71.89,0,1,0,20.351495182513965,117.42214736515979
|
|
2232
|
+
A3,3,0,0,1,19.195416250083042,121.41494387273622Z">
|
|
2233
|
+
</path>
|
|
2234
|
+
</g>
|
|
2235
|
+
<defs>
|
|
2236
|
+
<clipPath id="recharts12-clip">
|
|
2237
|
+
<rect x="5" y="5" height="158" width="158">
|
|
2238
|
+
</rect>
|
|
2239
|
+
</clipPath>
|
|
2240
|
+
</defs>
|
|
2241
|
+
<g tabindex="-1" id="recharts-zindex-100-:r4j:">
|
|
2242
|
+
</g>
|
|
2243
|
+
<g tabindex="-1" id="recharts-zindex-200-:r4k:">
|
|
2244
|
+
</g>
|
|
2245
|
+
<g tabindex="-1" id="recharts-zindex-300-:r4l:">
|
|
2246
|
+
<g class="recharts-layer recharts-area">
|
|
2247
|
+
<g class="recharts-layer recharts-radial-bar-background">
|
|
2248
|
+
</g>
|
|
2249
|
+
<g class="recharts-layer recharts-radial-bar-sectors">
|
|
2250
|
+
<g class="recharts-layer">
|
|
2251
|
+
<path name="Fuel level" color="color-coldplay-fountain" cx="84" cy="84" fill="#67abc5 " class="recharts-sector recharts-radial-bar-sector undefined" d="M 19.195416250083042,121.41494387273622
|
|
2252
|
+
A3,3,0,0,1,15.039337317652155,120.21158795760601
|
|
2253
|
+
A77.89,77.89,0,0,1,13.58344361702271,50.707948588845106
|
|
2254
|
+
A3,3,0,0,1,17.68548564649234,49.33160969905831
|
|
2255
|
+
L17.68548564649234,49.33160969905831
|
|
2256
|
+
A3,3,0,0,1,19.007751465242805,53.27249228465881
|
|
2257
|
+
A71.89,71.89,0,0,0,20.351495182513965,117.42214736515979
|
|
2258
|
+
A3,3,0,0,1,19.195416250083042,121.41494387273622Z">
|
|
2259
|
+
</path>
|
|
2260
|
+
</g>
|
|
2261
|
+
</g>
|
|
2262
|
+
</g>
|
|
2263
|
+
</g>
|
|
2264
|
+
<g tabindex="-1" id="recharts-zindex-400-:r4m:">
|
|
2265
|
+
</g>
|
|
2266
|
+
<g tabindex="-1" id="recharts-zindex-500-:r4n:">
|
|
2267
|
+
<g class="recharts-layer recharts-polar-angle-axis angleAxis">
|
|
2268
|
+
<path cx="84" cy="84" orientation="outer" radius="79" fill="none" class="recharts-polygon recharts-polar-angle-axis-line" d="M15.58399310102935,123.5L5.432770265906413,92.25774859814463L8.866535212682876,59.58765744437915L25.291558787285872,31.13868209765019L51.867805197011776,11.829908846234531L84,5L116.13219480298821,11.829908846234531L142.70844121271415,31.13868209765019L159.13346478731714,59.58765744437916L162.5672297340936,92.25774859814463L152.41600689897066,123.5L15.58399310102935,123.5Z">
|
|
2269
|
+
</path>
|
|
2270
|
+
<g class="recharts-layer recharts-polar-angle-axis-ticks">
|
|
2271
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2272
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="15.58399310102935" y1="123.5" x2="8.655789870753836" y2="127.5">
|
|
2273
|
+
</line>
|
|
2274
|
+
</g>
|
|
2275
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2276
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="5.432770265906413" y1="92.25774859814463" x2="-2.523404897039782" y2="93.09397630428586">
|
|
2277
|
+
</line>
|
|
2278
|
+
</g>
|
|
2279
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2280
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="8.866535212682876" y1="59.58765744437915" x2="1.2580830823216473" y2="57.11552148937957">
|
|
2281
|
+
</line>
|
|
2282
|
+
</g>
|
|
2283
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2284
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="25.291558787285872" y1="31.13868209765019" x2="19.346400183466727" y2="25.785637246779324">
|
|
2285
|
+
</line>
|
|
2286
|
+
</g>
|
|
2287
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2288
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="51.867805197011776" y1="11.829908846234531" x2="48.613912052405375" y2="4.5215451850937285">
|
|
2289
|
+
</line>
|
|
2290
|
+
</g>
|
|
2291
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2292
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="84" y1="5" x2="84" y2="-3">
|
|
2293
|
+
</line>
|
|
2294
|
+
</g>
|
|
2295
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2296
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="116.13219480298821" y1="11.829908846234531" x2="119.38608794759462" y2="4.5215451850937285">
|
|
2297
|
+
</line>
|
|
2298
|
+
</g>
|
|
2299
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2300
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="142.70844121271415" y1="31.13868209765019" x2="148.6535998165333" y2="25.785637246779324">
|
|
2301
|
+
</line>
|
|
2302
|
+
</g>
|
|
2303
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2304
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="159.13346478731714" y1="59.58765744437916" x2="166.74191691767837" y2="57.11552148937959">
|
|
2305
|
+
</line>
|
|
2306
|
+
</g>
|
|
2307
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2308
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="162.5672297340936" y1="92.25774859814463" x2="170.52340489703977" y2="93.09397630428586">
|
|
2309
|
+
</line>
|
|
2310
|
+
</g>
|
|
2311
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2312
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="152.41600689897066" y1="123.5" x2="159.34421012924616" y2="127.5">
|
|
2313
|
+
</line>
|
|
2314
|
+
</g>
|
|
2315
|
+
</g>
|
|
2316
|
+
</g>
|
|
2317
|
+
</g>
|
|
2318
|
+
<g tabindex="-1" id="recharts-zindex-600-:r4o:">
|
|
2319
|
+
</g>
|
|
2320
|
+
<g tabindex="-1" id="recharts-zindex-1000-:r4p:">
|
|
2321
|
+
</g>
|
|
2322
|
+
<g tabindex="-1" id="recharts-zindex-1100-:r4q:">
|
|
2323
|
+
</g>
|
|
2324
|
+
<g tabindex="-1" id="recharts-zindex-1200-:r4r:">
|
|
2325
|
+
</g>
|
|
2326
|
+
<g tabindex="-1" id="recharts-zindex-2000-:r4s:">
|
|
2327
|
+
</g>
|
|
2328
|
+
</svg>
|
|
2329
|
+
</div>
|
|
2330
|
+
</div>
|
|
2331
|
+
</div>
|
|
2332
|
+
<div class="position-absolute top-50pct left-50pct translate-x-50pct-y-50pct">
|
|
2333
|
+
<div class="position-relative">
|
|
2334
|
+
<div class="position-absolute bg-dark " style="width: 5px; height: 65px; transform-origin: center bottom; transform: translate(-50%, -100%) rotate(-62deg); border-radius: 100% 100% 4px 4px; display: inline-block;">
|
|
2335
|
+
</div>
|
|
2336
|
+
</div>
|
|
2337
|
+
</div>
|
|
2338
|
+
<div class="position-absolute bottom-5 left-50pct translate-x-50pct-y-50pct line-height-125rel">
|
|
2339
|
+
<div class="text-color-dark">Fuel level</div>
|
|
2340
|
+
<div class="text-color-darker text-size-18 text-medium text-center">24%</div>
|
|
2341
|
+
</div>
|
|
2342
|
+
</div>
|
|
2343
|
+
<div class="panel panel-default panel-body margin-bottom-0 height-200 aspect-ratio-1 position-relative">
|
|
2344
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
2345
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
2346
|
+
<div width="168" height="168" class="recharts-wrapper" style="position: relative; cursor: default; width: 168px; height: 168px;">
|
|
2347
|
+
<svg cx="50%" cy="50%" role="application" tabindex="0" class="recharts-surface" width="168" height="168" viewBox="0 0 168 168" style="width: 100%; height: 100%; display: block;">
|
|
2348
|
+
<title>
|
|
2349
|
+
</title>
|
|
2350
|
+
<desc>
|
|
2351
|
+
</desc>
|
|
2352
|
+
<g tabindex="-1" id="recharts-zindex--100-:r4t:">
|
|
2353
|
+
</g>
|
|
2354
|
+
<g tabindex="-1" id="recharts-zindex--50-:r4u:">
|
|
2355
|
+
<path name="Charge level" color="color-coldplay-fountain" cx="84" cy="84" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 9.170112254527595,83.99999999999999
|
|
2356
|
+
A3,3,0,0,1,6.172520276474231,80.87982374148751
|
|
2357
|
+
A77.89,77.89,0,0,1,161.82747972352576,80.87982374148751
|
|
2358
|
+
A3,3,0,0,1,158.8298877454724,84
|
|
2359
|
+
L158.8298877454724,84
|
|
2360
|
+
A3,3,0,0,1,155.83229576741903,81.12017625851249
|
|
2361
|
+
A71.89,71.89,0,0,0,12.167704232580974,81.12017625851249
|
|
2362
|
+
A3,3,0,0,1,9.170112254527595,83.99999999999999Z">
|
|
2363
|
+
</path>
|
|
2364
|
+
</g>
|
|
2365
|
+
<defs>
|
|
2366
|
+
<clipPath id="recharts13-clip">
|
|
2367
|
+
<rect x="5" y="5" height="158" width="158">
|
|
2368
|
+
</rect>
|
|
2369
|
+
</clipPath>
|
|
2370
|
+
</defs>
|
|
2371
|
+
<g tabindex="-1" id="recharts-zindex-100-:r50:">
|
|
2372
|
+
</g>
|
|
2373
|
+
<g tabindex="-1" id="recharts-zindex-200-:r51:">
|
|
2374
|
+
</g>
|
|
2375
|
+
<g tabindex="-1" id="recharts-zindex-300-:r52:">
|
|
2376
|
+
<g class="recharts-layer recharts-area">
|
|
2377
|
+
<g class="recharts-layer recharts-radial-bar-background">
|
|
2378
|
+
</g>
|
|
2379
|
+
<g class="recharts-layer recharts-radial-bar-sectors">
|
|
2380
|
+
<g class="recharts-layer">
|
|
2381
|
+
<path name="Charge level" color="color-coldplay-fountain" cx="84" cy="84" fill="#67abc5 " class="recharts-sector recharts-radial-bar-sector undefined" d="M 9.170112254527595,83.99999999999999
|
|
2382
|
+
A3,3,0,0,1,6.172520276474231,80.87982374148751
|
|
2383
|
+
A77.89,77.89,0,0,1,52.448727323209546,12.786452886583334
|
|
2384
|
+
A3,3,0,0,1,56.45328104625332,14.424929932602339
|
|
2385
|
+
L56.45328104625332,14.424929932602339
|
|
2386
|
+
A3,3,0,0,1,54.879175853967574,18.272154294729432
|
|
2387
|
+
A71.89,71.89,0,0,0,12.167704232580974,81.12017625851249
|
|
2388
|
+
A3,3,0,0,1,9.170112254527595,83.99999999999999Z">
|
|
2389
|
+
</path>
|
|
2390
|
+
</g>
|
|
2391
|
+
</g>
|
|
2392
|
+
</g>
|
|
2393
|
+
</g>
|
|
2394
|
+
<g tabindex="-1" id="recharts-zindex-400-:r53:">
|
|
2395
|
+
</g>
|
|
2396
|
+
<g tabindex="-1" id="recharts-zindex-500-:r54:">
|
|
2397
|
+
<g class="recharts-layer recharts-polar-angle-axis angleAxis">
|
|
2398
|
+
<path cx="84" cy="84" orientation="outer" radius="79" fill="none" class="recharts-polygon recharts-polar-angle-axis-line" d="M5,83.99999999999999L8.866535212682876,59.58765744437915L20.08765744437916,37.564965068894615L37.56496506889463,20.087657444379154L59.58765744437916,8.866535212682862L84,5L108.41234255562085,8.866535212682876L130.43503493110538,20.087657444379154L147.91234255562085,37.56496506889463L159.13346478731714,59.58765744437916L163,84L5,83.99999999999999Z">
|
|
2399
|
+
</path>
|
|
2400
|
+
<g class="recharts-layer recharts-polar-angle-axis-ticks">
|
|
2401
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2402
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="5" y1="83.99999999999999" x2="-3" y2="83.99999999999999">
|
|
2403
|
+
</line>
|
|
2404
|
+
</g>
|
|
2405
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2406
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="8.866535212682876" y1="59.58765744437915" x2="1.2580830823216473" y2="57.11552148937957">
|
|
2407
|
+
</line>
|
|
2408
|
+
</g>
|
|
2409
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2410
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="20.08765744437916" y1="37.564965068894615" x2="13.615521489379574" y2="32.86268305055483">
|
|
2411
|
+
</line>
|
|
2412
|
+
</g>
|
|
2413
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2414
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="37.56496506889463" y1="20.087657444379154" x2="32.86268305055485" y2="13.615521489379574">
|
|
2415
|
+
</line>
|
|
2416
|
+
</g>
|
|
2417
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2418
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="59.58765744437916" y1="8.866535212682862" x2="57.11552148937958" y2="1.2580830823216331">
|
|
2419
|
+
</line>
|
|
2420
|
+
</g>
|
|
2421
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2422
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="84" y1="5" x2="84" y2="-3">
|
|
2423
|
+
</line>
|
|
2424
|
+
</g>
|
|
2425
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2426
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="108.41234255562085" y1="8.866535212682876" x2="110.88447851062043" y2="1.2580830823216473">
|
|
2427
|
+
</line>
|
|
2428
|
+
</g>
|
|
2429
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2430
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="130.43503493110538" y1="20.087657444379154" x2="135.13731694944516" y2="13.615521489379574">
|
|
2431
|
+
</line>
|
|
2432
|
+
</g>
|
|
2433
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2434
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="147.91234255562085" y1="37.56496506889463" x2="154.38447851062043" y2="32.86268305055485">
|
|
2435
|
+
</line>
|
|
2436
|
+
</g>
|
|
2437
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2438
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="159.13346478731714" y1="59.58765744437916" x2="166.74191691767837" y2="57.11552148937958">
|
|
2439
|
+
</line>
|
|
2440
|
+
</g>
|
|
2441
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2442
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="163" y1="84" x2="171" y2="84">
|
|
2443
|
+
</line>
|
|
2444
|
+
</g>
|
|
2445
|
+
</g>
|
|
2446
|
+
</g>
|
|
2447
|
+
</g>
|
|
2448
|
+
<g tabindex="-1" id="recharts-zindex-600-:r55:">
|
|
2449
|
+
</g>
|
|
2450
|
+
<g tabindex="-1" id="recharts-zindex-1000-:r56:">
|
|
2451
|
+
</g>
|
|
2452
|
+
<g tabindex="-1" id="recharts-zindex-1100-:r57:">
|
|
2453
|
+
</g>
|
|
2454
|
+
<g tabindex="-1" id="recharts-zindex-1200-:r58:">
|
|
2455
|
+
</g>
|
|
2456
|
+
<g tabindex="-1" id="recharts-zindex-2000-:r59:">
|
|
2457
|
+
</g>
|
|
2458
|
+
</svg>
|
|
2459
|
+
</div>
|
|
2460
|
+
</div>
|
|
2461
|
+
</div>
|
|
2462
|
+
<div class="position-absolute top-50pct left-50pct translate-x-50pct-y-50pct">
|
|
2463
|
+
<div class="position-relative">
|
|
2464
|
+
<div class="position-absolute bg-dark " style="width: 5px; height: 65px; transform-origin: center bottom; transform: translate(-50%, -100%) rotate(-22deg); border-radius: 100% 100% 4px 4px; display: inline-block;">
|
|
2465
|
+
</div>
|
|
2466
|
+
</div>
|
|
2467
|
+
</div>
|
|
2468
|
+
<div class="position-absolute bottom-25 left-50pct translate-x-50pct-y-50pct line-height-125rel">
|
|
2469
|
+
<div class="text-color-dark">Charge level</div>
|
|
2470
|
+
<div class="text-color-darker text-size-18 text-medium text-center">38%</div>
|
|
2471
|
+
</div>
|
|
2472
|
+
</div>
|
|
2473
|
+
<div class="panel panel-default panel-body margin-bottom-0 height-200 aspect-ratio-1 position-relative">
|
|
2474
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
2475
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
2476
|
+
<div width="168" height="168" class="recharts-wrapper" style="position: relative; cursor: default; width: 168px; height: 168px;">
|
|
2477
|
+
<svg cx="50%" cy="50%" role="application" tabindex="0" class="recharts-surface" width="168" height="168" viewBox="0 0 168 168" style="width: 100%; height: 100%; display: block;">
|
|
2478
|
+
<title>
|
|
2479
|
+
</title>
|
|
2480
|
+
<desc>
|
|
2481
|
+
</desc>
|
|
2482
|
+
<g tabindex="-1" id="recharts-zindex--100-:r5a:">
|
|
2483
|
+
</g>
|
|
2484
|
+
<g tabindex="-1" id="recharts-zindex--50-:r5b:">
|
|
2485
|
+
<path name="Lorem ipsum" color="color-warmup-charm" cx="84" cy="84" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 84,6.109999999999999
|
|
2486
|
+
A 77.89,77.89,0,
|
|
2487
|
+
1,1,
|
|
2488
|
+
83.9986405630457,6.11000001186332
|
|
2489
|
+
L 83.99874528280081,12.110000010949477
|
|
2490
|
+
A 71.89,71.89,0,
|
|
2491
|
+
1,0,
|
|
2492
|
+
84,12.11 Z">
|
|
2493
|
+
</path>
|
|
2494
|
+
</g>
|
|
2495
|
+
<defs>
|
|
2496
|
+
<clipPath id="recharts14-clip">
|
|
2497
|
+
<rect x="5" y="5" height="158" width="158">
|
|
2498
|
+
</rect>
|
|
2499
|
+
</clipPath>
|
|
2500
|
+
</defs>
|
|
2501
|
+
<g tabindex="-1" id="recharts-zindex-100-:r5d:">
|
|
2502
|
+
</g>
|
|
2503
|
+
<g tabindex="-1" id="recharts-zindex-200-:r5e:">
|
|
2504
|
+
</g>
|
|
2505
|
+
<g tabindex="-1" id="recharts-zindex-300-:r5f:">
|
|
2506
|
+
<g class="recharts-layer recharts-area">
|
|
2507
|
+
<g class="recharts-layer recharts-radial-bar-background">
|
|
2508
|
+
</g>
|
|
2509
|
+
<g class="recharts-layer recharts-radial-bar-sectors">
|
|
2510
|
+
<g class="recharts-layer">
|
|
2511
|
+
<path name="Lorem ipsum" color="color-warmup-charm" cx="84" cy="84" fill="#c9778d " class="recharts-sector recharts-radial-bar-sector undefined" d="M 84,9.170112254527595
|
|
2512
|
+
A3,3,0,0,1,87.1201762585125,6.172520276474231
|
|
2513
|
+
A77.89,77.89,0,1,1,9.017480772786286,62.91745009870664
|
|
2514
|
+
A3,3,0,0,1,12.832547646033603,60.87629299947942
|
|
2515
|
+
L12.832547646033603,60.87629299947942
|
|
2516
|
+
A3,3,0,0,1,14.793512553031277,64.5414749980231
|
|
2517
|
+
A71.89,71.89,0,1,0,86.87982374148753,12.167704232580974
|
|
2518
|
+
A3,3,0,0,1,84,9.170112254527595Z">
|
|
2519
|
+
</path>
|
|
2520
|
+
</g>
|
|
2521
|
+
</g>
|
|
2522
|
+
</g>
|
|
2523
|
+
</g>
|
|
2524
|
+
<g tabindex="-1" id="recharts-zindex-400-:r5g:">
|
|
2525
|
+
</g>
|
|
2526
|
+
<g tabindex="-1" id="recharts-zindex-500-:r5h:">
|
|
2527
|
+
<g class="recharts-layer recharts-polar-angle-axis angleAxis">
|
|
2528
|
+
<path cx="84" cy="84" orientation="outer" radius="79" fill="none" class="recharts-polygon recharts-polar-angle-axis-line" d="M84,5L130.43503493110538,20.087657444379154L159.1334647873171,59.587657444379154L159.1334647873171,108.41234255562085L130.43503493110538,147.91234255562085L84,163L37.56496506889463,147.91234255562085L8.866535212682876,108.41234255562085L8.866535212682862,59.58765744437916L37.564965068894615,20.08765744437916L84,5Z">
|
|
2529
|
+
</path>
|
|
2530
|
+
<g class="recharts-layer recharts-polar-angle-axis-ticks">
|
|
2531
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2532
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="84" y1="5" x2="84" y2="-3">
|
|
2533
|
+
</line>
|
|
2534
|
+
</g>
|
|
2535
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2536
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="130.43503493110538" y1="20.087657444379154" x2="135.13731694944516" y2="13.615521489379574">
|
|
2537
|
+
</line>
|
|
2538
|
+
</g>
|
|
2539
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2540
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="159.1334647873171" y1="59.587657444379154" x2="166.74191691767834" y2="57.115521489379574">
|
|
2541
|
+
</line>
|
|
2542
|
+
</g>
|
|
2543
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2544
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="159.1334647873171" y1="108.41234255562085" x2="166.74191691767834" y2="110.88447851062043">
|
|
2545
|
+
</line>
|
|
2546
|
+
</g>
|
|
2547
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2548
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="130.43503493110538" y1="147.91234255562085" x2="135.13731694944516" y2="154.38447851062043">
|
|
2549
|
+
</line>
|
|
2550
|
+
</g>
|
|
2551
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2552
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="84" y1="163" x2="84" y2="171">
|
|
2553
|
+
</line>
|
|
2554
|
+
</g>
|
|
2555
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2556
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="37.56496506889463" y1="147.91234255562085" x2="32.86268305055485" y2="154.38447851062043">
|
|
2557
|
+
</line>
|
|
2558
|
+
</g>
|
|
2559
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2560
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="8.866535212682876" y1="108.41234255562085" x2="1.2580830823216473" y2="110.88447851062043">
|
|
2561
|
+
</line>
|
|
2562
|
+
</g>
|
|
2563
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2564
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="8.866535212682862" y1="59.58765744437916" x2="1.2580830823216331" y2="57.11552148937959">
|
|
2565
|
+
</line>
|
|
2566
|
+
</g>
|
|
2567
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2568
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="84" cy="84" orientation="outer" radius="79" fill="none" x1="37.564965068894615" y1="20.08765744437916" x2="32.86268305055483" y2="13.615521489379574">
|
|
2569
|
+
</line>
|
|
2570
|
+
</g>
|
|
2571
|
+
</g>
|
|
2572
|
+
</g>
|
|
2573
|
+
</g>
|
|
2574
|
+
<g tabindex="-1" id="recharts-zindex-600-:r5i:">
|
|
2575
|
+
</g>
|
|
2576
|
+
<g tabindex="-1" id="recharts-zindex-1000-:r5j:">
|
|
2577
|
+
</g>
|
|
2578
|
+
<g tabindex="-1" id="recharts-zindex-1100-:r5k:">
|
|
2579
|
+
</g>
|
|
2580
|
+
<g tabindex="-1" id="recharts-zindex-1200-:r5l:">
|
|
2581
|
+
</g>
|
|
2582
|
+
<g tabindex="-1" id="recharts-zindex-2000-:r5m:">
|
|
2583
|
+
</g>
|
|
2584
|
+
</svg>
|
|
2585
|
+
</div>
|
|
2586
|
+
</div>
|
|
2587
|
+
</div>
|
|
2588
|
+
<div class="position-absolute top-50pct left-50pct translate-x-50pct-y-50pct">
|
|
2589
|
+
<div class="position-relative">
|
|
2590
|
+
<div class="position-absolute bg-dark " style="width: 5px; height: 65px; transform-origin: center bottom; transform: translate(-50%, -100%) rotate(-73deg); border-radius: 100% 100% 4px 4px; display: inline-block;">
|
|
2591
|
+
</div>
|
|
2592
|
+
</div>
|
|
2593
|
+
</div>
|
|
2594
|
+
</div>
|
|
2595
|
+
</div>
|
|
2596
|
+
```
|
|
2597
|
+
|
|
2598
|
+
#### Props: RadialBarChart
|
|
2599
|
+
|
|
2600
|
+
### RadialBarChart
|
|
2601
|
+
|
|
2602
|
+
| Name | Type | Default | Description |
|
|
2603
|
+
| --- | --- | --- | --- |
|
|
2604
|
+
| width | Number | — | The width of chart container. |
|
|
2605
|
+
| height | Number | — | The height of chart container. |
|
|
2606
|
+
| 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" }] |
|
|
2607
|
+
| dataKey | string \| number \| ((obj: T) => any) | value | The key of data used for the RadialBar. |
|
|
2608
|
+
| startAngle | Number | 180 | The start angle of all the bars. |
|
|
2609
|
+
| endAngle | Number | 180 | The end angle of all the bars. |
|
|
2610
|
+
| innerRadius | String \| Number | 30% | The innerRadius of the radial bar which is most close to the center. If set a percentage, the final value is obtained by multiplying the percentage of maxRadius which is calculated by the width, height, cx, cy. |
|
|
2611
|
+
| outerRadius | String \| Number | 100% | The outerRadius of the radial bar which is most far away from the center. If set a percentage, the final value is obtained by multiplying the percentage of maxRadius which is calculated by the width, height, cx, cy. |
|
|
2612
|
+
| clockWise | Boolean | true | Set to "true" if the bars should go clockwise. |
|
|
2613
|
+
| cornerRadius | Number | 30 | Set the corner radius for the individual bars. |
|
|
2614
|
+
| showBarLabel | Boolean | false | Renders a label on top of the bars. |
|
|
2615
|
+
| background | Boolean \| Function | true | If false set, background of bars will not be drawn. If true set, background of bars will be drawn which have the props calculated internally. If set a function, the function will be called to render customized background. |
|
|
2616
|
+
| range | Array | — | Defines the min and max value for the bar. |
|
|
2617
|
+
| radialBarOptions | Object | — | Detailed options passed to the underlying RadialBar component. Details can be found here: https://recharts.org/en-US/api/RadialBar |
|
|
2618
|
+
| textOptions | Object | — | Detailed options passed to the underlying Text component. Details can be found here: https://recharts.org/en-US/api/Text |
|
|
2619
|
+
| containerOptions | Object | — | Detailed options passed to the underlying ResponsiveContainer component. Details can be found here: https://recharts.org/en-US/api/ResponsiveContainer |
|
|
2620
|
+
| 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 |
|
|
2621
|
+
| legend | Legend \| Boolean | <Legend /> | Shows the provided Legend component otherwise shows nothing. |
|
|
2622
|
+
| ... | | — | Additional props are passed to the underlying RadialBarChart component. Details can be found here: https://recharts.org/en-US/api/RadialBarChart |
|
|
2623
|
+
|
|
2624
|
+
#### Props: Legend
|
|
2625
|
+
|
|
2626
|
+
### Legend
|
|
2627
|
+
|
|
2628
|
+
| Name | Type | Default | Description |
|
|
2629
|
+
| --- | --- | --- | --- |
|
|
2630
|
+
| iconType | String | square | Defines the type of the leading icon. |
|
|
2631
|
+
| iconSize | String | 12 | Defines the size of the leading icon. |
|
|
2632
|
+
| layout | String | vertical | Defines the layout of the legend. |
|
|
2633
|
+
| align | String | right | Defines the alignment of the legend relative to the chart. |
|
|
2634
|
+
| verticalAlign | String | top | Defines the vertical alignment of the legend relative to the chart. |
|
|
2635
|
+
| ... | | — | Additional props are passed to the underlying legend component. Details can be found here: https://recharts.org/en-US/api/Legend |
|
|
2636
|
+
|
|
2637
|
+
### Example: Example 6
|
|
2638
|
+
|
|
2639
|
+
Circle RadialBarChart as progress steps
|
|
2640
|
+
|
|
2641
|
+
Not Started
|
|
2642
|
+
Lorem ipsum dolor sit amet
|
|
2643
|
+
|
|
2644
|
+
Initial Step
|
|
2645
|
+
Lorem ipsum dolor sit amet
|
|
2646
|
+
|
|
2647
|
+
Second Step
|
|
2648
|
+
Lorem ipsum dolor sit amet
|
|
2649
|
+
|
|
2650
|
+
Final Step
|
|
2651
|
+
Lorem ipsum dolor sit amet
|
|
2652
|
+
|
|
2653
|
+
#### Summary
|
|
2654
|
+
|
|
2655
|
+
Circle RadialBarChart as progress steps
|
|
2656
|
+
|
|
2657
|
+
Not Started
|
|
2658
|
+
Lorem ipsum dolor sit amet
|
|
2659
|
+
|
|
2660
|
+
Initial Step
|
|
2661
|
+
Lorem ipsum dolor sit amet
|
|
2662
|
+
|
|
2663
|
+
Second Step
|
|
2664
|
+
Lorem ipsum dolor sit amet
|
|
2665
|
+
|
|
2666
|
+
Final Step
|
|
2667
|
+
Lorem ipsum dolor sit amet
|
|
2668
|
+
|
|
2669
|
+
#### React (tsx)
|
|
2670
|
+
|
|
2671
|
+
```tsx
|
|
2672
|
+
import RadialBarChart from '@rio-cloud/rio-uikit/RadialBarChart';
|
|
2673
|
+
|
|
2674
|
+
export default () => {
|
|
2675
|
+
const Icon = ({ className }: { className?: string }) => (
|
|
2676
|
+
<div
|
|
2677
|
+
className={
|
|
2678
|
+
'position-absolute top-50pct left-50pct translate-x-50pct-y-50pct ' + 'line-height-125rel text-center'
|
|
2679
|
+
}
|
|
2680
|
+
>
|
|
2681
|
+
<span className={`rioglyph rioglyph-ok text-size-16 text-color-success ${className}`} />
|
|
2682
|
+
</div>
|
|
2683
|
+
);
|
|
2684
|
+
|
|
2685
|
+
const commonProps = {
|
|
2686
|
+
dataKey: 'value',
|
|
2687
|
+
startAngle: 90,
|
|
2688
|
+
endAngle: -270,
|
|
2689
|
+
innerRadius: '80%',
|
|
2690
|
+
range: [0, 3],
|
|
2691
|
+
};
|
|
2692
|
+
|
|
2693
|
+
return (
|
|
2694
|
+
<>
|
|
2695
|
+
<label>Circle RadialBarChart as progress steps</label>
|
|
2696
|
+
<hr />
|
|
2697
|
+
|
|
2698
|
+
<div className='display-flex align-items-center gap-10'>
|
|
2699
|
+
<div className='height-60 aspect-ratio-1 position-relative'>
|
|
2700
|
+
<RadialBarChart data={[notStartedStep]} legend={false} {...commonProps} />
|
|
2701
|
+
<Icon className='opacity-50' />
|
|
2702
|
+
</div>
|
|
2703
|
+
<div className='line-height-125rel'>
|
|
2704
|
+
<div className='text-size-18 text-color-darker'>Not Started</div>
|
|
2705
|
+
<div className='text-color-gray'>Lorem ipsum dolor sit amet</div>
|
|
2706
|
+
</div>
|
|
2707
|
+
</div>
|
|
2708
|
+
<hr />
|
|
2709
|
+
|
|
2710
|
+
<div className='display-flex align-items-center gap-10'>
|
|
2711
|
+
<div className='height-60 aspect-ratio-1 position-relative'>
|
|
2712
|
+
<RadialBarChart data={[firstStep]} legend={false} {...commonProps} />
|
|
2713
|
+
<Icon />
|
|
2714
|
+
</div>
|
|
2715
|
+
<div className='line-height-125rel'>
|
|
2716
|
+
<div className='text-size-18 text-color-darker'>Initial Step</div>
|
|
2717
|
+
<div className='text-color-gray'>Lorem ipsum dolor sit amet</div>
|
|
2718
|
+
</div>
|
|
2719
|
+
</div>
|
|
2720
|
+
<hr />
|
|
2721
|
+
|
|
2722
|
+
<div className='display-flex align-items-center gap-10'>
|
|
2723
|
+
<div className='height-60 aspect-ratio-1 position-relative'>
|
|
2724
|
+
<RadialBarChart data={[secondStep]} legend={false} {...commonProps} />
|
|
2725
|
+
<Icon />
|
|
2726
|
+
</div>
|
|
2727
|
+
<div className='line-height-125rel'>
|
|
2728
|
+
<div className='text-size-18 text-color-darker'>Second Step</div>
|
|
2729
|
+
<div className='text-color-gray'>Lorem ipsum dolor sit amet</div>
|
|
2730
|
+
</div>
|
|
2731
|
+
</div>
|
|
2732
|
+
<hr />
|
|
2733
|
+
|
|
2734
|
+
<div className='display-flex align-items-center gap-10'>
|
|
2735
|
+
<div className='height-60 aspect-ratio-1 position-relative'>
|
|
2736
|
+
<RadialBarChart data={[thirdStep]} legend={false} {...commonProps} />
|
|
2737
|
+
<Icon />
|
|
2738
|
+
</div>
|
|
2739
|
+
<div className='line-height-125rel'>
|
|
2740
|
+
<div className='text-size-18 text-color-darker'>Final Step</div>
|
|
2741
|
+
<div className='text-color-gray'>Lorem ipsum dolor sit amet</div>
|
|
2742
|
+
</div>
|
|
2743
|
+
</div>
|
|
2744
|
+
</>
|
|
2745
|
+
);
|
|
2746
|
+
};
|
|
2747
|
+
|
|
2748
|
+
const notStartedStep = {
|
|
2749
|
+
value: 0,
|
|
2750
|
+
color: 'brand-success',
|
|
2751
|
+
};
|
|
2752
|
+
|
|
2753
|
+
const firstStep = {
|
|
2754
|
+
value: 1,
|
|
2755
|
+
color: 'brand-success',
|
|
2756
|
+
};
|
|
2757
|
+
|
|
2758
|
+
const secondStep = {
|
|
2759
|
+
value: 2,
|
|
2760
|
+
color: 'brand-success',
|
|
2761
|
+
};
|
|
2762
|
+
|
|
2763
|
+
const thirdStep = {
|
|
2764
|
+
value: 3,
|
|
2765
|
+
color: 'brand-success',
|
|
2766
|
+
};
|
|
2767
|
+
```
|
|
2768
|
+
|
|
2769
|
+
#### HTML (html)
|
|
2770
|
+
|
|
2771
|
+
```html
|
|
2772
|
+
<label>Circle RadialBarChart as progress steps</label>
|
|
2773
|
+
<hr>
|
|
2774
|
+
<div class="display-flex align-items-center gap-10">
|
|
2775
|
+
<div class="height-60 aspect-ratio-1 position-relative">
|
|
2776
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
2777
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
2778
|
+
<div width="100" height="100" class="recharts-wrapper" style="position: relative; cursor: default; width: 100px; height: 100px;">
|
|
2779
|
+
<svg cx="50%" cy="50%" role="application" tabindex="0" class="recharts-surface" width="100" height="100" viewBox="0 0 100 100" style="width: 100%; height: 100%; display: block;">
|
|
2780
|
+
<title>
|
|
2781
|
+
</title>
|
|
2782
|
+
<desc>
|
|
2783
|
+
</desc>
|
|
2784
|
+
<g tabindex="-1" id="recharts-zindex--100-:r5n:">
|
|
2785
|
+
</g>
|
|
2786
|
+
<g tabindex="-1" id="recharts-zindex--50-:r5o:">
|
|
2787
|
+
<path color="brand-success" cx="50" cy="50" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 50,6.100000000000001
|
|
2788
|
+
A 43.9,43.9,0,
|
|
2789
|
+
1,1,
|
|
2790
|
+
49.99923380045842,6.100000006686358
|
|
2791
|
+
L 49.99935597350605,13.100000005620196
|
|
2792
|
+
A 36.9,36.9,0,
|
|
2793
|
+
1,0,
|
|
2794
|
+
50,13.100000000000001 Z">
|
|
2795
|
+
</path>
|
|
2796
|
+
</g>
|
|
2797
|
+
<defs>
|
|
2798
|
+
<clipPath id="recharts15-clip">
|
|
2799
|
+
<rect x="5" y="5" height="90" width="90">
|
|
2800
|
+
</rect>
|
|
2801
|
+
</clipPath>
|
|
2802
|
+
</defs>
|
|
2803
|
+
<g tabindex="-1" id="recharts-zindex-100-:r5q:">
|
|
2804
|
+
</g>
|
|
2805
|
+
<g tabindex="-1" id="recharts-zindex-200-:r5r:">
|
|
2806
|
+
</g>
|
|
2807
|
+
<g tabindex="-1" id="recharts-zindex-300-:r5s:">
|
|
2808
|
+
<g class="recharts-layer recharts-area">
|
|
2809
|
+
<g class="recharts-layer recharts-radial-bar-background">
|
|
2810
|
+
</g>
|
|
2811
|
+
<g class="recharts-layer recharts-radial-bar-sectors">
|
|
2812
|
+
<g class="recharts-layer">
|
|
2813
|
+
</g>
|
|
2814
|
+
</g>
|
|
2815
|
+
</g>
|
|
2816
|
+
</g>
|
|
2817
|
+
<g tabindex="-1" id="recharts-zindex-400-:r5t:">
|
|
2818
|
+
</g>
|
|
2819
|
+
<g tabindex="-1" id="recharts-zindex-500-:r5u:">
|
|
2820
|
+
<g class="recharts-layer recharts-polar-angle-axis angleAxis">
|
|
2821
|
+
<path cx="50" cy="50" orientation="outer" radius="45" fill="none" class="recharts-polygon recharts-polar-angle-axis-line" d="M50,5L68.30314893841101,8.89045440608296L83.44151714648274,19.88912271385138L92.79754323328191,36.094235253127366L94.7534852915723,54.703780847044406L88.97114317029974,72.5L76.4503363531613,86.40576474687262L59.3560260867992,94.01664203302124L40.64397391320083,94.01664203302126L23.549663646838713,86.40576474687263L11.02885682970026,72.5L5.246514708427696,54.70378084704438L7.202456766718079,36.094235253127394L16.558482853517262,19.88912271385138L31.696851061588962,8.890454406082974L50,5Z">
|
|
2822
|
+
</path>
|
|
2823
|
+
<g class="recharts-layer recharts-polar-angle-axis-ticks">
|
|
2824
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2825
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="50" y1="5" x2="50" y2="-3">
|
|
2826
|
+
</line>
|
|
2827
|
+
</g>
|
|
2828
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2829
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="68.30314893841101" y1="8.89045440608296" x2="71.55704208301741" y2="1.5820907449421568">
|
|
2830
|
+
</line>
|
|
2831
|
+
</g>
|
|
2832
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2833
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="83.44151714648274" y1="19.88912271385138" x2="89.38667575030189" y2="14.536077862980513">
|
|
2834
|
+
</line>
|
|
2835
|
+
</g>
|
|
2836
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2837
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="92.79754323328191" y1="36.094235253127366" x2="100.40599536364314" y2="33.62209929812778">
|
|
2838
|
+
</line>
|
|
2839
|
+
</g>
|
|
2840
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2841
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="94.7534852915723" y1="54.703780847044406" x2="102.70966045451848" y2="55.540008553185636">
|
|
2842
|
+
</line>
|
|
2843
|
+
</g>
|
|
2844
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2845
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="88.97114317029974" y1="72.5" x2="95.89934640057525" y2="76.5">
|
|
2846
|
+
</line>
|
|
2847
|
+
</g>
|
|
2848
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2849
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="76.4503363531613" y1="86.40576474687262" x2="81.15261837150109" y2="92.87790070187219">
|
|
2850
|
+
</line>
|
|
2851
|
+
</g>
|
|
2852
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2853
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="59.3560260867992" y1="94.01664203302124" x2="61.019319613341274" y2="101.84182283889169">
|
|
2854
|
+
</line>
|
|
2855
|
+
</g>
|
|
2856
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2857
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="40.64397391320083" y1="94.01664203302126" x2="38.980680386658754" y2="101.8418228388917">
|
|
2858
|
+
</line>
|
|
2859
|
+
</g>
|
|
2860
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2861
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="23.549663646838713" y1="86.40576474687263" x2="18.84738162849893" y2="92.87790070187222">
|
|
2862
|
+
</line>
|
|
2863
|
+
</g>
|
|
2864
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2865
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="11.02885682970026" y1="72.5" x2="4.100653599424746" y2="76.5">
|
|
2866
|
+
</line>
|
|
2867
|
+
</g>
|
|
2868
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2869
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="5.246514708427696" y1="54.70378084704438" x2="-2.7096604545184917" y2="55.5400085531856">
|
|
2870
|
+
</line>
|
|
2871
|
+
</g>
|
|
2872
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2873
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="7.202456766718079" y1="36.094235253127394" x2="-0.40599536364315014" y2="33.622099298127814">
|
|
2874
|
+
</line>
|
|
2875
|
+
</g>
|
|
2876
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2877
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="16.558482853517262" y1="19.88912271385138" x2="10.613324249698103" y2="14.536077862980513">
|
|
2878
|
+
</line>
|
|
2879
|
+
</g>
|
|
2880
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2881
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="31.696851061588962" y1="8.890454406082974" x2="28.442957916982554" y2="1.582090744942171">
|
|
2882
|
+
</line>
|
|
2883
|
+
</g>
|
|
2884
|
+
</g>
|
|
2885
|
+
</g>
|
|
2886
|
+
</g>
|
|
2887
|
+
<g tabindex="-1" id="recharts-zindex-600-:r5v:">
|
|
2888
|
+
</g>
|
|
2889
|
+
<g tabindex="-1" id="recharts-zindex-1000-:r60:">
|
|
2890
|
+
</g>
|
|
2891
|
+
<g tabindex="-1" id="recharts-zindex-1100-:r61:">
|
|
2892
|
+
</g>
|
|
2893
|
+
<g tabindex="-1" id="recharts-zindex-1200-:r62:">
|
|
2894
|
+
</g>
|
|
2895
|
+
<g tabindex="-1" id="recharts-zindex-2000-:r63:">
|
|
2896
|
+
</g>
|
|
2897
|
+
</svg>
|
|
2898
|
+
</div>
|
|
2899
|
+
</div>
|
|
2900
|
+
</div>
|
|
2901
|
+
<div class="position-absolute top-50pct left-50pct translate-x-50pct-y-50pct line-height-125rel text-center">
|
|
2902
|
+
<span class="rioglyph rioglyph-ok text-size-16 text-color-success opacity-50">
|
|
2903
|
+
</span>
|
|
2904
|
+
</div>
|
|
2905
|
+
</div>
|
|
2906
|
+
<div class="line-height-125rel">
|
|
2907
|
+
<div class="text-size-18 text-color-darker">Not Started</div>
|
|
2908
|
+
<div class="text-color-gray">Lorem ipsum dolor sit amet</div>
|
|
2909
|
+
</div>
|
|
2910
|
+
</div>
|
|
2911
|
+
<hr>
|
|
2912
|
+
<div class="display-flex align-items-center gap-10">
|
|
2913
|
+
<div class="height-60 aspect-ratio-1 position-relative">
|
|
2914
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
2915
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
2916
|
+
<div width="100" height="100" class="recharts-wrapper" style="position: relative; cursor: default; width: 100px; height: 100px;">
|
|
2917
|
+
<svg cx="50%" cy="50%" role="application" tabindex="0" class="recharts-surface" width="100" height="100" viewBox="0 0 100 100" style="width: 100%; height: 100%; display: block;">
|
|
2918
|
+
<title>
|
|
2919
|
+
</title>
|
|
2920
|
+
<desc>
|
|
2921
|
+
</desc>
|
|
2922
|
+
<g tabindex="-1" id="recharts-zindex--100-:r64:">
|
|
2923
|
+
</g>
|
|
2924
|
+
<g tabindex="-1" id="recharts-zindex--50-:r65:">
|
|
2925
|
+
<path color="brand-success" cx="50" cy="50" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 50,6.100000000000001
|
|
2926
|
+
A 43.9,43.9,0,
|
|
2927
|
+
1,1,
|
|
2928
|
+
49.99923380045842,6.100000006686358
|
|
2929
|
+
L 49.99935597350605,13.100000005620196
|
|
2930
|
+
A 36.9,36.9,0,
|
|
2931
|
+
1,0,
|
|
2932
|
+
50,13.100000000000001 Z">
|
|
2933
|
+
</path>
|
|
2934
|
+
</g>
|
|
2935
|
+
<defs>
|
|
2936
|
+
<clipPath id="recharts16-clip">
|
|
2937
|
+
<rect x="5" y="5" height="90" width="90">
|
|
2938
|
+
</rect>
|
|
2939
|
+
</clipPath>
|
|
2940
|
+
</defs>
|
|
2941
|
+
<g tabindex="-1" id="recharts-zindex-100-:r67:">
|
|
2942
|
+
</g>
|
|
2943
|
+
<g tabindex="-1" id="recharts-zindex-200-:r68:">
|
|
2944
|
+
</g>
|
|
2945
|
+
<g tabindex="-1" id="recharts-zindex-300-:r69:">
|
|
2946
|
+
<g class="recharts-layer recharts-area">
|
|
2947
|
+
<g class="recharts-layer recharts-radial-bar-background">
|
|
2948
|
+
</g>
|
|
2949
|
+
<g class="recharts-layer recharts-radial-bar-sectors">
|
|
2950
|
+
<g class="recharts-layer">
|
|
2951
|
+
<path color="brand-success" cx="50" cy="50" fill="#5cb85c " class="recharts-sector recharts-radial-bar-sector undefined" d="M 50,9.75189445452122
|
|
2952
|
+
A3.5,3.5,0,0,1,53.80321782178218,6.2650536275614215
|
|
2953
|
+
A43.9,43.9,0,0,1,89.77718350257298,68.5737899364302
|
|
2954
|
+
A3.5,3.5,0,0,1,84.85588185658196,70.12405277273939
|
|
2955
|
+
L84.85588185658196,70.12405277273939
|
|
2956
|
+
A3.5,3.5,0,0,1,83.43458021059095,65.6121377825575
|
|
2957
|
+
A36.9,36.9,0,0,0,53.196782178217816,13.238735281481013
|
|
2958
|
+
A3.5,3.5,0,0,1,50,9.75189445452122Z">
|
|
2959
|
+
</path>
|
|
2960
|
+
</g>
|
|
2961
|
+
</g>
|
|
2962
|
+
</g>
|
|
2963
|
+
</g>
|
|
2964
|
+
<g tabindex="-1" id="recharts-zindex-400-:r6a:">
|
|
2965
|
+
</g>
|
|
2966
|
+
<g tabindex="-1" id="recharts-zindex-500-:r6b:">
|
|
2967
|
+
<g class="recharts-layer recharts-polar-angle-axis angleAxis">
|
|
2968
|
+
<path cx="50" cy="50" orientation="outer" radius="45" fill="none" class="recharts-polygon recharts-polar-angle-axis-line" d="M50,5L68.30314893841101,8.89045440608296L83.44151714648274,19.88912271385138L92.79754323328191,36.094235253127366L94.7534852915723,54.703780847044406L88.97114317029974,72.5L76.4503363531613,86.40576474687262L59.3560260867992,94.01664203302124L40.64397391320083,94.01664203302126L23.549663646838713,86.40576474687263L11.02885682970026,72.5L5.246514708427696,54.70378084704438L7.202456766718079,36.094235253127394L16.558482853517262,19.88912271385138L31.696851061588962,8.890454406082974L50,5Z">
|
|
2969
|
+
</path>
|
|
2970
|
+
<g class="recharts-layer recharts-polar-angle-axis-ticks">
|
|
2971
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2972
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="50" y1="5" x2="50" y2="-3">
|
|
2973
|
+
</line>
|
|
2974
|
+
</g>
|
|
2975
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2976
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="68.30314893841101" y1="8.89045440608296" x2="71.55704208301741" y2="1.5820907449421568">
|
|
2977
|
+
</line>
|
|
2978
|
+
</g>
|
|
2979
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2980
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="83.44151714648274" y1="19.88912271385138" x2="89.38667575030189" y2="14.536077862980513">
|
|
2981
|
+
</line>
|
|
2982
|
+
</g>
|
|
2983
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2984
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="92.79754323328191" y1="36.094235253127366" x2="100.40599536364314" y2="33.62209929812778">
|
|
2985
|
+
</line>
|
|
2986
|
+
</g>
|
|
2987
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2988
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="94.7534852915723" y1="54.703780847044406" x2="102.70966045451848" y2="55.540008553185636">
|
|
2989
|
+
</line>
|
|
2990
|
+
</g>
|
|
2991
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2992
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="88.97114317029974" y1="72.5" x2="95.89934640057525" y2="76.5">
|
|
2993
|
+
</line>
|
|
2994
|
+
</g>
|
|
2995
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
2996
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="76.4503363531613" y1="86.40576474687262" x2="81.15261837150109" y2="92.87790070187219">
|
|
2997
|
+
</line>
|
|
2998
|
+
</g>
|
|
2999
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3000
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="59.3560260867992" y1="94.01664203302124" x2="61.019319613341274" y2="101.84182283889169">
|
|
3001
|
+
</line>
|
|
3002
|
+
</g>
|
|
3003
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3004
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="40.64397391320083" y1="94.01664203302126" x2="38.980680386658754" y2="101.8418228388917">
|
|
3005
|
+
</line>
|
|
3006
|
+
</g>
|
|
3007
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3008
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="23.549663646838713" y1="86.40576474687263" x2="18.84738162849893" y2="92.87790070187222">
|
|
3009
|
+
</line>
|
|
3010
|
+
</g>
|
|
3011
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3012
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="11.02885682970026" y1="72.5" x2="4.100653599424746" y2="76.5">
|
|
3013
|
+
</line>
|
|
3014
|
+
</g>
|
|
3015
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3016
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="5.246514708427696" y1="54.70378084704438" x2="-2.7096604545184917" y2="55.5400085531856">
|
|
3017
|
+
</line>
|
|
3018
|
+
</g>
|
|
3019
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3020
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="7.202456766718079" y1="36.094235253127394" x2="-0.40599536364315014" y2="33.622099298127814">
|
|
3021
|
+
</line>
|
|
3022
|
+
</g>
|
|
3023
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3024
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="16.558482853517262" y1="19.88912271385138" x2="10.613324249698103" y2="14.536077862980513">
|
|
3025
|
+
</line>
|
|
3026
|
+
</g>
|
|
3027
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3028
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="31.696851061588962" y1="8.890454406082974" x2="28.442957916982554" y2="1.582090744942171">
|
|
3029
|
+
</line>
|
|
3030
|
+
</g>
|
|
3031
|
+
</g>
|
|
3032
|
+
</g>
|
|
3033
|
+
</g>
|
|
3034
|
+
<g tabindex="-1" id="recharts-zindex-600-:r6c:">
|
|
3035
|
+
</g>
|
|
3036
|
+
<g tabindex="-1" id="recharts-zindex-1000-:r6d:">
|
|
3037
|
+
</g>
|
|
3038
|
+
<g tabindex="-1" id="recharts-zindex-1100-:r6e:">
|
|
3039
|
+
</g>
|
|
3040
|
+
<g tabindex="-1" id="recharts-zindex-1200-:r6f:">
|
|
3041
|
+
</g>
|
|
3042
|
+
<g tabindex="-1" id="recharts-zindex-2000-:r6g:">
|
|
3043
|
+
</g>
|
|
3044
|
+
</svg>
|
|
3045
|
+
</div>
|
|
3046
|
+
</div>
|
|
3047
|
+
</div>
|
|
3048
|
+
<div class="position-absolute top-50pct left-50pct translate-x-50pct-y-50pct line-height-125rel text-center">
|
|
3049
|
+
<span class="rioglyph rioglyph-ok text-size-16 text-color-success undefined">
|
|
3050
|
+
</span>
|
|
3051
|
+
</div>
|
|
3052
|
+
</div>
|
|
3053
|
+
<div class="line-height-125rel">
|
|
3054
|
+
<div class="text-size-18 text-color-darker">Initial Step</div>
|
|
3055
|
+
<div class="text-color-gray">Lorem ipsum dolor sit amet</div>
|
|
3056
|
+
</div>
|
|
3057
|
+
</div>
|
|
3058
|
+
<hr>
|
|
3059
|
+
<div class="display-flex align-items-center gap-10">
|
|
3060
|
+
<div class="height-60 aspect-ratio-1 position-relative">
|
|
3061
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
3062
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
3063
|
+
<div width="100" height="100" class="recharts-wrapper" style="position: relative; cursor: default; width: 100px; height: 100px;">
|
|
3064
|
+
<svg cx="50%" cy="50%" role="application" tabindex="0" class="recharts-surface" width="100" height="100" viewBox="0 0 100 100" style="width: 100%; height: 100%; display: block;">
|
|
3065
|
+
<title>
|
|
3066
|
+
</title>
|
|
3067
|
+
<desc>
|
|
3068
|
+
</desc>
|
|
3069
|
+
<g tabindex="-1" id="recharts-zindex--100-:r6h:">
|
|
3070
|
+
</g>
|
|
3071
|
+
<g tabindex="-1" id="recharts-zindex--50-:r6i:">
|
|
3072
|
+
<path color="brand-success" cx="50" cy="50" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 50,6.100000000000001
|
|
3073
|
+
A 43.9,43.9,0,
|
|
3074
|
+
1,1,
|
|
3075
|
+
49.99923380045842,6.100000006686358
|
|
3076
|
+
L 49.99935597350605,13.100000005620196
|
|
3077
|
+
A 36.9,36.9,0,
|
|
3078
|
+
1,0,
|
|
3079
|
+
50,13.100000000000001 Z">
|
|
3080
|
+
</path>
|
|
3081
|
+
</g>
|
|
3082
|
+
<defs>
|
|
3083
|
+
<clipPath id="recharts17-clip">
|
|
3084
|
+
<rect x="5" y="5" height="90" width="90">
|
|
3085
|
+
</rect>
|
|
3086
|
+
</clipPath>
|
|
3087
|
+
</defs>
|
|
3088
|
+
<g tabindex="-1" id="recharts-zindex-100-:r6k:">
|
|
3089
|
+
</g>
|
|
3090
|
+
<g tabindex="-1" id="recharts-zindex-200-:r6l:">
|
|
3091
|
+
</g>
|
|
3092
|
+
<g tabindex="-1" id="recharts-zindex-300-:r6m:">
|
|
3093
|
+
<g class="recharts-layer recharts-area">
|
|
3094
|
+
<g class="recharts-layer recharts-radial-bar-background">
|
|
3095
|
+
</g>
|
|
3096
|
+
<g class="recharts-layer recharts-radial-bar-sectors">
|
|
3097
|
+
<g class="recharts-layer">
|
|
3098
|
+
<path color="brand-success" cx="50" cy="50" fill="#5cb85c " class="recharts-sector recharts-radial-bar-sector undefined" d="M 50,9.75189445452122
|
|
3099
|
+
A3.5,3.5,0,0,1,53.80321782178218,6.2650536275614215
|
|
3100
|
+
A43.9,43.9,0,1,1,14.026034319209195,75.16115643600837
|
|
3101
|
+
A3.5,3.5,0,0,1,15.144118143418034,70.12405277273939
|
|
3102
|
+
L15.144118143418034,70.12405277273939
|
|
3103
|
+
A3.5,3.5,0,0,1,19.76220196762686,71.14912693596148
|
|
3104
|
+
A36.9,36.9,0,1,0,53.196782178217816,13.238735281481013
|
|
3105
|
+
A3.5,3.5,0,0,1,50,9.75189445452122Z">
|
|
3106
|
+
</path>
|
|
3107
|
+
</g>
|
|
3108
|
+
</g>
|
|
3109
|
+
</g>
|
|
3110
|
+
</g>
|
|
3111
|
+
<g tabindex="-1" id="recharts-zindex-400-:r6n:">
|
|
3112
|
+
</g>
|
|
3113
|
+
<g tabindex="-1" id="recharts-zindex-500-:r6o:">
|
|
3114
|
+
<g class="recharts-layer recharts-polar-angle-axis angleAxis">
|
|
3115
|
+
<path cx="50" cy="50" orientation="outer" radius="45" fill="none" class="recharts-polygon recharts-polar-angle-axis-line" d="M50,5L68.30314893841101,8.89045440608296L83.44151714648274,19.88912271385138L92.79754323328191,36.094235253127366L94.7534852915723,54.703780847044406L88.97114317029974,72.5L76.4503363531613,86.40576474687262L59.3560260867992,94.01664203302124L40.64397391320083,94.01664203302126L23.549663646838713,86.40576474687263L11.02885682970026,72.5L5.246514708427696,54.70378084704438L7.202456766718079,36.094235253127394L16.558482853517262,19.88912271385138L31.696851061588962,8.890454406082974L50,5Z">
|
|
3116
|
+
</path>
|
|
3117
|
+
<g class="recharts-layer recharts-polar-angle-axis-ticks">
|
|
3118
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3119
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="50" y1="5" x2="50" y2="-3">
|
|
3120
|
+
</line>
|
|
3121
|
+
</g>
|
|
3122
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3123
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="68.30314893841101" y1="8.89045440608296" x2="71.55704208301741" y2="1.5820907449421568">
|
|
3124
|
+
</line>
|
|
3125
|
+
</g>
|
|
3126
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3127
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="83.44151714648274" y1="19.88912271385138" x2="89.38667575030189" y2="14.536077862980513">
|
|
3128
|
+
</line>
|
|
3129
|
+
</g>
|
|
3130
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3131
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="92.79754323328191" y1="36.094235253127366" x2="100.40599536364314" y2="33.62209929812778">
|
|
3132
|
+
</line>
|
|
3133
|
+
</g>
|
|
3134
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3135
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="94.7534852915723" y1="54.703780847044406" x2="102.70966045451848" y2="55.540008553185636">
|
|
3136
|
+
</line>
|
|
3137
|
+
</g>
|
|
3138
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3139
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="88.97114317029974" y1="72.5" x2="95.89934640057525" y2="76.5">
|
|
3140
|
+
</line>
|
|
3141
|
+
</g>
|
|
3142
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3143
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="76.4503363531613" y1="86.40576474687262" x2="81.15261837150109" y2="92.87790070187219">
|
|
3144
|
+
</line>
|
|
3145
|
+
</g>
|
|
3146
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3147
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="59.3560260867992" y1="94.01664203302124" x2="61.019319613341274" y2="101.84182283889169">
|
|
3148
|
+
</line>
|
|
3149
|
+
</g>
|
|
3150
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3151
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="40.64397391320083" y1="94.01664203302126" x2="38.980680386658754" y2="101.8418228388917">
|
|
3152
|
+
</line>
|
|
3153
|
+
</g>
|
|
3154
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3155
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="23.549663646838713" y1="86.40576474687263" x2="18.84738162849893" y2="92.87790070187222">
|
|
3156
|
+
</line>
|
|
3157
|
+
</g>
|
|
3158
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3159
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="11.02885682970026" y1="72.5" x2="4.100653599424746" y2="76.5">
|
|
3160
|
+
</line>
|
|
3161
|
+
</g>
|
|
3162
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3163
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="5.246514708427696" y1="54.70378084704438" x2="-2.7096604545184917" y2="55.5400085531856">
|
|
3164
|
+
</line>
|
|
3165
|
+
</g>
|
|
3166
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3167
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="7.202456766718079" y1="36.094235253127394" x2="-0.40599536364315014" y2="33.622099298127814">
|
|
3168
|
+
</line>
|
|
3169
|
+
</g>
|
|
3170
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3171
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="16.558482853517262" y1="19.88912271385138" x2="10.613324249698103" y2="14.536077862980513">
|
|
3172
|
+
</line>
|
|
3173
|
+
</g>
|
|
3174
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3175
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="31.696851061588962" y1="8.890454406082974" x2="28.442957916982554" y2="1.582090744942171">
|
|
3176
|
+
</line>
|
|
3177
|
+
</g>
|
|
3178
|
+
</g>
|
|
3179
|
+
</g>
|
|
3180
|
+
</g>
|
|
3181
|
+
<g tabindex="-1" id="recharts-zindex-600-:r6p:">
|
|
3182
|
+
</g>
|
|
3183
|
+
<g tabindex="-1" id="recharts-zindex-1000-:r6q:">
|
|
3184
|
+
</g>
|
|
3185
|
+
<g tabindex="-1" id="recharts-zindex-1100-:r6r:">
|
|
3186
|
+
</g>
|
|
3187
|
+
<g tabindex="-1" id="recharts-zindex-1200-:r6s:">
|
|
3188
|
+
</g>
|
|
3189
|
+
<g tabindex="-1" id="recharts-zindex-2000-:r6t:">
|
|
3190
|
+
</g>
|
|
3191
|
+
</svg>
|
|
3192
|
+
</div>
|
|
3193
|
+
</div>
|
|
3194
|
+
</div>
|
|
3195
|
+
<div class="position-absolute top-50pct left-50pct translate-x-50pct-y-50pct line-height-125rel text-center">
|
|
3196
|
+
<span class="rioglyph rioglyph-ok text-size-16 text-color-success undefined">
|
|
3197
|
+
</span>
|
|
3198
|
+
</div>
|
|
3199
|
+
</div>
|
|
3200
|
+
<div class="line-height-125rel">
|
|
3201
|
+
<div class="text-size-18 text-color-darker">Second Step</div>
|
|
3202
|
+
<div class="text-color-gray">Lorem ipsum dolor sit amet</div>
|
|
3203
|
+
</div>
|
|
3204
|
+
</div>
|
|
3205
|
+
<hr>
|
|
3206
|
+
<div class="display-flex align-items-center gap-10">
|
|
3207
|
+
<div class="height-60 aspect-ratio-1 position-relative">
|
|
3208
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
3209
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
3210
|
+
<div width="100" height="100" class="recharts-wrapper" style="position: relative; cursor: default; width: 100px; height: 100px;">
|
|
3211
|
+
<svg cx="50%" cy="50%" role="application" tabindex="0" class="recharts-surface" width="100" height="100" viewBox="0 0 100 100" style="width: 100%; height: 100%; display: block;">
|
|
3212
|
+
<title>
|
|
3213
|
+
</title>
|
|
3214
|
+
<desc>
|
|
3215
|
+
</desc>
|
|
3216
|
+
<g tabindex="-1" id="recharts-zindex--100-:r6u:">
|
|
3217
|
+
</g>
|
|
3218
|
+
<g tabindex="-1" id="recharts-zindex--50-:r6v:">
|
|
3219
|
+
<path color="brand-success" cx="50" cy="50" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 50,6.100000000000001
|
|
3220
|
+
A 43.9,43.9,0,
|
|
3221
|
+
1,1,
|
|
3222
|
+
49.99923380045842,6.100000006686358
|
|
3223
|
+
L 49.99935597350605,13.100000005620196
|
|
3224
|
+
A 36.9,36.9,0,
|
|
3225
|
+
1,0,
|
|
3226
|
+
50,13.100000000000001 Z">
|
|
3227
|
+
</path>
|
|
3228
|
+
</g>
|
|
3229
|
+
<defs>
|
|
3230
|
+
<clipPath id="recharts18-clip">
|
|
3231
|
+
<rect x="5" y="5" height="90" width="90">
|
|
3232
|
+
</rect>
|
|
3233
|
+
</clipPath>
|
|
3234
|
+
</defs>
|
|
3235
|
+
<g tabindex="-1" id="recharts-zindex-100-:r71:">
|
|
3236
|
+
</g>
|
|
3237
|
+
<g tabindex="-1" id="recharts-zindex-200-:r72:">
|
|
3238
|
+
</g>
|
|
3239
|
+
<g tabindex="-1" id="recharts-zindex-300-:r73:">
|
|
3240
|
+
<g class="recharts-layer recharts-area">
|
|
3241
|
+
<g class="recharts-layer recharts-radial-bar-background">
|
|
3242
|
+
</g>
|
|
3243
|
+
<g class="recharts-layer recharts-radial-bar-sectors">
|
|
3244
|
+
<g class="recharts-layer">
|
|
3245
|
+
<path color="brand-success" cx="50" cy="50" fill="#5cb85c " class="recharts-sector recharts-radial-bar-sector undefined" d="M 50,6.100000000000001
|
|
3246
|
+
A 43.9,43.9,0,
|
|
3247
|
+
1,1,
|
|
3248
|
+
49.99923380045842,6.100000006686358
|
|
3249
|
+
L 49.99935597350605,13.100000005620196
|
|
3250
|
+
A 36.9,36.9,0,
|
|
3251
|
+
1,0,
|
|
3252
|
+
50,13.100000000000001 Z">
|
|
3253
|
+
</path>
|
|
3254
|
+
</g>
|
|
3255
|
+
</g>
|
|
3256
|
+
</g>
|
|
3257
|
+
</g>
|
|
3258
|
+
<g tabindex="-1" id="recharts-zindex-400-:r74:">
|
|
3259
|
+
</g>
|
|
3260
|
+
<g tabindex="-1" id="recharts-zindex-500-:r75:">
|
|
3261
|
+
<g class="recharts-layer recharts-polar-angle-axis angleAxis">
|
|
3262
|
+
<path cx="50" cy="50" orientation="outer" radius="45" fill="none" class="recharts-polygon recharts-polar-angle-axis-line" d="M50,5L68.30314893841101,8.89045440608296L83.44151714648274,19.88912271385138L92.79754323328191,36.094235253127366L94.7534852915723,54.703780847044406L88.97114317029974,72.5L76.4503363531613,86.40576474687262L59.3560260867992,94.01664203302124L40.64397391320083,94.01664203302126L23.549663646838713,86.40576474687263L11.02885682970026,72.5L5.246514708427696,54.70378084704438L7.202456766718079,36.094235253127394L16.558482853517262,19.88912271385138L31.696851061588962,8.890454406082974L50,5Z">
|
|
3263
|
+
</path>
|
|
3264
|
+
<g class="recharts-layer recharts-polar-angle-axis-ticks">
|
|
3265
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3266
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="50" y1="5" x2="50" y2="-3">
|
|
3267
|
+
</line>
|
|
3268
|
+
</g>
|
|
3269
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3270
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="68.30314893841101" y1="8.89045440608296" x2="71.55704208301741" y2="1.5820907449421568">
|
|
3271
|
+
</line>
|
|
3272
|
+
</g>
|
|
3273
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3274
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="83.44151714648274" y1="19.88912271385138" x2="89.38667575030189" y2="14.536077862980513">
|
|
3275
|
+
</line>
|
|
3276
|
+
</g>
|
|
3277
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3278
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="92.79754323328191" y1="36.094235253127366" x2="100.40599536364314" y2="33.62209929812778">
|
|
3279
|
+
</line>
|
|
3280
|
+
</g>
|
|
3281
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3282
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="94.7534852915723" y1="54.703780847044406" x2="102.70966045451848" y2="55.540008553185636">
|
|
3283
|
+
</line>
|
|
3284
|
+
</g>
|
|
3285
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3286
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="88.97114317029974" y1="72.5" x2="95.89934640057525" y2="76.5">
|
|
3287
|
+
</line>
|
|
3288
|
+
</g>
|
|
3289
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3290
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="76.4503363531613" y1="86.40576474687262" x2="81.15261837150109" y2="92.87790070187219">
|
|
3291
|
+
</line>
|
|
3292
|
+
</g>
|
|
3293
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3294
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="59.3560260867992" y1="94.01664203302124" x2="61.019319613341274" y2="101.84182283889169">
|
|
3295
|
+
</line>
|
|
3296
|
+
</g>
|
|
3297
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3298
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="40.64397391320083" y1="94.01664203302126" x2="38.980680386658754" y2="101.8418228388917">
|
|
3299
|
+
</line>
|
|
3300
|
+
</g>
|
|
3301
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3302
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="23.549663646838713" y1="86.40576474687263" x2="18.84738162849893" y2="92.87790070187222">
|
|
3303
|
+
</line>
|
|
3304
|
+
</g>
|
|
3305
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3306
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="11.02885682970026" y1="72.5" x2="4.100653599424746" y2="76.5">
|
|
3307
|
+
</line>
|
|
3308
|
+
</g>
|
|
3309
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3310
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="5.246514708427696" y1="54.70378084704438" x2="-2.7096604545184917" y2="55.5400085531856">
|
|
3311
|
+
</line>
|
|
3312
|
+
</g>
|
|
3313
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3314
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="7.202456766718079" y1="36.094235253127394" x2="-0.40599536364315014" y2="33.622099298127814">
|
|
3315
|
+
</line>
|
|
3316
|
+
</g>
|
|
3317
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3318
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="16.558482853517262" y1="19.88912271385138" x2="10.613324249698103" y2="14.536077862980513">
|
|
3319
|
+
</line>
|
|
3320
|
+
</g>
|
|
3321
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3322
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="50" cy="50" orientation="outer" radius="45" fill="none" x1="31.696851061588962" y1="8.890454406082974" x2="28.442957916982554" y2="1.582090744942171">
|
|
3323
|
+
</line>
|
|
3324
|
+
</g>
|
|
3325
|
+
</g>
|
|
3326
|
+
</g>
|
|
3327
|
+
</g>
|
|
3328
|
+
<g tabindex="-1" id="recharts-zindex-600-:r76:">
|
|
3329
|
+
</g>
|
|
3330
|
+
<g tabindex="-1" id="recharts-zindex-1000-:r77:">
|
|
3331
|
+
</g>
|
|
3332
|
+
<g tabindex="-1" id="recharts-zindex-1100-:r78:">
|
|
3333
|
+
</g>
|
|
3334
|
+
<g tabindex="-1" id="recharts-zindex-1200-:r79:">
|
|
3335
|
+
</g>
|
|
3336
|
+
<g tabindex="-1" id="recharts-zindex-2000-:r7a:">
|
|
3337
|
+
</g>
|
|
3338
|
+
</svg>
|
|
3339
|
+
</div>
|
|
3340
|
+
</div>
|
|
3341
|
+
</div>
|
|
3342
|
+
<div class="position-absolute top-50pct left-50pct translate-x-50pct-y-50pct line-height-125rel text-center">
|
|
3343
|
+
<span class="rioglyph rioglyph-ok text-size-16 text-color-success undefined">
|
|
3344
|
+
</span>
|
|
3345
|
+
</div>
|
|
3346
|
+
</div>
|
|
3347
|
+
<div class="line-height-125rel">
|
|
3348
|
+
<div class="text-size-18 text-color-darker">Final Step</div>
|
|
3349
|
+
<div class="text-color-gray">Lorem ipsum dolor sit amet</div>
|
|
3350
|
+
</div>
|
|
3351
|
+
</div>
|
|
3352
|
+
```
|
|
3353
|
+
|
|
3354
|
+
#### Props: RadialBarChart
|
|
3355
|
+
|
|
3356
|
+
### RadialBarChart
|
|
3357
|
+
|
|
3358
|
+
| Name | Type | Default | Description |
|
|
3359
|
+
| --- | --- | --- | --- |
|
|
3360
|
+
| width | Number | — | The width of chart container. |
|
|
3361
|
+
| height | Number | — | The height of chart container. |
|
|
3362
|
+
| 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" }] |
|
|
3363
|
+
| dataKey | string \| number \| ((obj: T) => any) | value | The key of data used for the RadialBar. |
|
|
3364
|
+
| startAngle | Number | 180 | The start angle of all the bars. |
|
|
3365
|
+
| endAngle | Number | 180 | The end angle of all the bars. |
|
|
3366
|
+
| innerRadius | String \| Number | 30% | The innerRadius of the radial bar which is most close to the center. If set a percentage, the final value is obtained by multiplying the percentage of maxRadius which is calculated by the width, height, cx, cy. |
|
|
3367
|
+
| outerRadius | String \| Number | 100% | The outerRadius of the radial bar which is most far away from the center. If set a percentage, the final value is obtained by multiplying the percentage of maxRadius which is calculated by the width, height, cx, cy. |
|
|
3368
|
+
| clockWise | Boolean | true | Set to "true" if the bars should go clockwise. |
|
|
3369
|
+
| cornerRadius | Number | 30 | Set the corner radius for the individual bars. |
|
|
3370
|
+
| showBarLabel | Boolean | false | Renders a label on top of the bars. |
|
|
3371
|
+
| background | Boolean \| Function | true | If false set, background of bars will not be drawn. If true set, background of bars will be drawn which have the props calculated internally. If set a function, the function will be called to render customized background. |
|
|
3372
|
+
| range | Array | — | Defines the min and max value for the bar. |
|
|
3373
|
+
| radialBarOptions | Object | — | Detailed options passed to the underlying RadialBar component. Details can be found here: https://recharts.org/en-US/api/RadialBar |
|
|
3374
|
+
| textOptions | Object | — | Detailed options passed to the underlying Text component. Details can be found here: https://recharts.org/en-US/api/Text |
|
|
3375
|
+
| containerOptions | Object | — | Detailed options passed to the underlying ResponsiveContainer component. Details can be found here: https://recharts.org/en-US/api/ResponsiveContainer |
|
|
3376
|
+
| 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 |
|
|
3377
|
+
| legend | Legend \| Boolean | <Legend /> | Shows the provided Legend component otherwise shows nothing. |
|
|
3378
|
+
| ... | | — | Additional props are passed to the underlying RadialBarChart component. Details can be found here: https://recharts.org/en-US/api/RadialBarChart |
|
|
3379
|
+
|
|
3380
|
+
#### Props: Legend
|
|
3381
|
+
|
|
3382
|
+
### Legend
|
|
3383
|
+
|
|
3384
|
+
| Name | Type | Default | Description |
|
|
3385
|
+
| --- | --- | --- | --- |
|
|
3386
|
+
| iconType | String | square | Defines the type of the leading icon. |
|
|
3387
|
+
| iconSize | String | 12 | Defines the size of the leading icon. |
|
|
3388
|
+
| layout | String | vertical | Defines the layout of the legend. |
|
|
3389
|
+
| align | String | right | Defines the alignment of the legend relative to the chart. |
|
|
3390
|
+
| verticalAlign | String | top | Defines the vertical alignment of the legend relative to the chart. |
|
|
3391
|
+
| ... | | — | Additional props are passed to the underlying legend component. Details can be found here: https://recharts.org/en-US/api/Legend |
|
|
3392
|
+
|
|
3393
|
+
### Example: Example 7
|
|
3394
|
+
|
|
3395
|
+
RadialBarChart with changing data1%
|
|
3396
|
+
|
|
3397
|
+
Start
|
|
3398
|
+
|
|
3399
|
+
#### Summary
|
|
3400
|
+
|
|
3401
|
+
RadialBarChart with changing data1%
|
|
3402
|
+
|
|
3403
|
+
Start
|
|
3404
|
+
|
|
3405
|
+
#### React (tsx)
|
|
3406
|
+
|
|
3407
|
+
```tsx
|
|
3408
|
+
import { useState, useLayoutEffect } from 'react';
|
|
3409
|
+
|
|
3410
|
+
import RadialBarChart, { type RadialBarChartDataType } from '@rio-cloud/rio-uikit/RadialBarChart';
|
|
3411
|
+
|
|
3412
|
+
type CustomDataType = RadialBarChartDataType & {
|
|
3413
|
+
value: number;
|
|
3414
|
+
};
|
|
3415
|
+
|
|
3416
|
+
const initialData: CustomDataType = {
|
|
3417
|
+
value: 1,
|
|
3418
|
+
color: 'brand-danger',
|
|
3419
|
+
};
|
|
3420
|
+
|
|
3421
|
+
const delay = 100;
|
|
3422
|
+
|
|
3423
|
+
export default () => {
|
|
3424
|
+
const [data, setData] = useState(initialData);
|
|
3425
|
+
const [isIncrement, setIsIncrement] = useState(true);
|
|
3426
|
+
const [run, setRun] = useState(false);
|
|
3427
|
+
|
|
3428
|
+
const getColor = (value: number) => {
|
|
3429
|
+
if (value <= 25) {
|
|
3430
|
+
return 'brand-danger';
|
|
3431
|
+
}
|
|
3432
|
+
if (value <= 50) {
|
|
3433
|
+
return 'brand-warning';
|
|
3434
|
+
}
|
|
3435
|
+
if (value <= 100) {
|
|
3436
|
+
return 'brand-success';
|
|
3437
|
+
}
|
|
3438
|
+
};
|
|
3439
|
+
|
|
3440
|
+
useLayoutEffect(() => {
|
|
3441
|
+
if (!run) {
|
|
3442
|
+
return;
|
|
3443
|
+
}
|
|
3444
|
+
|
|
3445
|
+
const tick = () => {
|
|
3446
|
+
if (data.value === 1) {
|
|
3447
|
+
setIsIncrement(true);
|
|
3448
|
+
} else if (data.value === 99) {
|
|
3449
|
+
setIsIncrement(false);
|
|
3450
|
+
}
|
|
3451
|
+
|
|
3452
|
+
const newValue = isIncrement ? data.value + 1 : data.value - 1;
|
|
3453
|
+
|
|
3454
|
+
setData({
|
|
3455
|
+
value: newValue,
|
|
3456
|
+
color: getColor(newValue),
|
|
3457
|
+
});
|
|
3458
|
+
};
|
|
3459
|
+
|
|
3460
|
+
const id = setTimeout(tick, delay);
|
|
3461
|
+
|
|
3462
|
+
return () => {
|
|
3463
|
+
id && clearTimeout(id);
|
|
3464
|
+
};
|
|
3465
|
+
}, [data, delay, run]);
|
|
3466
|
+
|
|
3467
|
+
const panelClasses = 'panel panel-default panel-body margin-bottom-0 height-150 aspect-ratio-1 position-relative';
|
|
3468
|
+
|
|
3469
|
+
return (
|
|
3470
|
+
<>
|
|
3471
|
+
<label>RadialBarChart with changing data</label>
|
|
3472
|
+
<div className='display-flex gap-25 margin-bottom-15'>
|
|
3473
|
+
<div className={panelClasses}>
|
|
3474
|
+
<RadialBarChart
|
|
3475
|
+
data={[data]}
|
|
3476
|
+
dataKey='value'
|
|
3477
|
+
startAngle={90}
|
|
3478
|
+
endAngle={-270}
|
|
3479
|
+
innerRadius='85%'
|
|
3480
|
+
legend={false}
|
|
3481
|
+
range={[0, 100]}
|
|
3482
|
+
textOptions={{
|
|
3483
|
+
x: 60,
|
|
3484
|
+
y: 62,
|
|
3485
|
+
text: `${data.value}%`,
|
|
3486
|
+
size: '180%',
|
|
3487
|
+
color: data.color,
|
|
3488
|
+
}}
|
|
3489
|
+
/>
|
|
3490
|
+
</div>
|
|
3491
|
+
</div>
|
|
3492
|
+
<button className='btn btn-default' type='button' onClick={() => setRun(!run)}>
|
|
3493
|
+
{run ? 'Stop' : 'Start'}
|
|
3494
|
+
</button>
|
|
3495
|
+
</>
|
|
3496
|
+
);
|
|
3497
|
+
};
|
|
3498
|
+
```
|
|
3499
|
+
|
|
3500
|
+
#### HTML (html)
|
|
3501
|
+
|
|
3502
|
+
```html
|
|
3503
|
+
<label>RadialBarChart with changing data</label>
|
|
3504
|
+
<div class="display-flex gap-25 margin-bottom-15">
|
|
3505
|
+
<div class="panel panel-default panel-body margin-bottom-0 height-150 aspect-ratio-1 position-relative">
|
|
3506
|
+
<div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
|
|
3507
|
+
<div style="width: 0px; height: 0px; overflow: visible;">
|
|
3508
|
+
<div width="118" height="118" class="recharts-wrapper" style="position: relative; cursor: default; width: 118px; height: 118px;">
|
|
3509
|
+
<svg cx="50%" cy="50%" role="application" tabindex="0" class="recharts-surface" width="118" height="118" viewBox="0 0 118 118" style="width: 100%; height: 100%; display: block;">
|
|
3510
|
+
<title>
|
|
3511
|
+
</title>
|
|
3512
|
+
<desc>
|
|
3513
|
+
</desc>
|
|
3514
|
+
<g tabindex="-1" id="recharts-zindex--100-:r7b:">
|
|
3515
|
+
</g>
|
|
3516
|
+
<g tabindex="-1" id="recharts-zindex--50-:r7c:">
|
|
3517
|
+
<path color="brand-danger" cx="59" cy="59" fill="#eee" class="recharts-sector recharts-radial-bar-background-sector undefined" d="M 59,6.289999999999999
|
|
3518
|
+
A 52.71,52.71,0,
|
|
3519
|
+
1,1,
|
|
3520
|
+
58.99908003695133,6.290000008028194
|
|
3521
|
+
L 58.99918475670644,12.290000007114337
|
|
3522
|
+
A 46.71,46.71,0,
|
|
3523
|
+
1,0,
|
|
3524
|
+
59,12.29 Z">
|
|
3525
|
+
</path>
|
|
3526
|
+
</g>
|
|
3527
|
+
<defs>
|
|
3528
|
+
<clipPath id="recharts19-clip">
|
|
3529
|
+
<rect x="5" y="5" height="108" width="108">
|
|
3530
|
+
</rect>
|
|
3531
|
+
</clipPath>
|
|
3532
|
+
</defs>
|
|
3533
|
+
<text x="60" y="62" text-anchor="middle" dominant-baseline="middle" class="radialbarchart-text" style="font-size: 180%; font-weight: normal; fill: rgb(226, 40, 55);">1%</text>
|
|
3534
|
+
<g tabindex="-1" id="recharts-zindex-100-:r7e:">
|
|
3535
|
+
</g>
|
|
3536
|
+
<g tabindex="-1" id="recharts-zindex-200-:r7f:">
|
|
3537
|
+
</g>
|
|
3538
|
+
<g tabindex="-1" id="recharts-zindex-300-:r7g:">
|
|
3539
|
+
<g class="recharts-layer recharts-area">
|
|
3540
|
+
<g class="recharts-layer recharts-radial-bar-background">
|
|
3541
|
+
</g>
|
|
3542
|
+
<g class="recharts-layer recharts-radial-bar-sectors">
|
|
3543
|
+
<g class="recharts-layer">
|
|
3544
|
+
<path color="brand-danger" cx="59" cy="59" fill="#e22837 " class="recharts-sector recharts-radial-bar-sector undefined" d="M 59,6.289999999999999
|
|
3545
|
+
A 52.71,52.71,0,
|
|
3546
|
+
0,1,
|
|
3547
|
+
62.30968828439011,6.394011144545807
|
|
3548
|
+
L 61.932945167214235,12.382171515115438
|
|
3549
|
+
A 46.71,46.71,0,
|
|
3550
|
+
0,0,
|
|
3551
|
+
59,12.29 Z">
|
|
3552
|
+
</path>
|
|
3553
|
+
</g>
|
|
3554
|
+
</g>
|
|
3555
|
+
</g>
|
|
3556
|
+
</g>
|
|
3557
|
+
<g tabindex="-1" id="recharts-zindex-400-:r7h:">
|
|
3558
|
+
</g>
|
|
3559
|
+
<g tabindex="-1" id="recharts-zindex-500-:r7i:">
|
|
3560
|
+
<g class="recharts-layer recharts-polar-angle-axis angleAxis">
|
|
3561
|
+
<path cx="59" cy="59" orientation="outer" radius="54" fill="none" class="recharts-polygon recharts-polar-angle-axis-line" d="M59,5L90.74040362379355,15.313082303752836L110.3570518799383,42.313082303752836L110.3570518799383,75.68691769624716L90.74040362379355,102.68691769624716L59,113L27.259596376206456,102.68691769624716L7.64294812006171,75.68691769624716L7.642948120061703,42.31308230375285L27.259596376206446,15.313082303752843L59,5Z">
|
|
3562
|
+
</path>
|
|
3563
|
+
<g class="recharts-layer recharts-polar-angle-axis-ticks">
|
|
3564
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3565
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="59" cy="59" orientation="outer" radius="54" fill="none" x1="59" y1="5" x2="59.00000000000001" y2="-3">
|
|
3566
|
+
</line>
|
|
3567
|
+
</g>
|
|
3568
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3569
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="59" cy="59" orientation="outer" radius="54" fill="none" x1="90.74040362379355" y1="15.313082303752836" x2="95.44268564213334" y2="8.840946348753256">
|
|
3570
|
+
</line>
|
|
3571
|
+
</g>
|
|
3572
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3573
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="59" cy="59" orientation="outer" radius="54" fill="none" x1="110.3570518799383" y1="42.313082303752836" x2="117.96550401029953" y2="39.84094634875326">
|
|
3574
|
+
</line>
|
|
3575
|
+
</g>
|
|
3576
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3577
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="59" cy="59" orientation="outer" radius="54" fill="none" x1="110.3570518799383" y1="75.68691769624716" x2="117.96550401029953" y2="78.15905365124675">
|
|
3578
|
+
</line>
|
|
3579
|
+
</g>
|
|
3580
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3581
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="59" cy="59" orientation="outer" radius="54" fill="none" x1="90.74040362379355" y1="102.68691769624716" x2="95.44268564213334" y2="109.15905365124675">
|
|
3582
|
+
</line>
|
|
3583
|
+
</g>
|
|
3584
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3585
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="59" cy="59" orientation="outer" radius="54" fill="none" x1="59" y1="113" x2="59.00000000000001" y2="121">
|
|
3586
|
+
</line>
|
|
3587
|
+
</g>
|
|
3588
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3589
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="59" cy="59" orientation="outer" radius="54" fill="none" x1="27.259596376206456" y1="102.68691769624716" x2="22.557314357866673" y2="109.15905365124675">
|
|
3590
|
+
</line>
|
|
3591
|
+
</g>
|
|
3592
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3593
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="59" cy="59" orientation="outer" radius="54" fill="none" x1="7.64294812006171" y1="75.68691769624716" x2="0.03449598970048129" y2="78.15905365124675">
|
|
3594
|
+
</line>
|
|
3595
|
+
</g>
|
|
3596
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3597
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="59" cy="59" orientation="outer" radius="54" fill="none" x1="7.642948120061703" y1="42.31308230375285" x2="0.03449598970047418" y2="39.84094634875326">
|
|
3598
|
+
</line>
|
|
3599
|
+
</g>
|
|
3600
|
+
<g class="recharts-layer recharts-polar-angle-axis-tick">
|
|
3601
|
+
<line class="recharts-polar-angle-axis-tick-line" cx="59" cy="59" orientation="outer" radius="54" fill="none" x1="27.259596376206446" y1="15.313082303752843" x2="22.55731435786666" y2="8.840946348753263">
|
|
3602
|
+
</line>
|
|
3603
|
+
</g>
|
|
3604
|
+
</g>
|
|
3605
|
+
</g>
|
|
3606
|
+
</g>
|
|
3607
|
+
<g tabindex="-1" id="recharts-zindex-600-:r7j:">
|
|
3608
|
+
</g>
|
|
3609
|
+
<g tabindex="-1" id="recharts-zindex-1000-:r7k:">
|
|
3610
|
+
</g>
|
|
3611
|
+
<g tabindex="-1" id="recharts-zindex-1100-:r7l:">
|
|
3612
|
+
</g>
|
|
3613
|
+
<g tabindex="-1" id="recharts-zindex-1200-:r7m:">
|
|
3614
|
+
</g>
|
|
3615
|
+
<g tabindex="-1" id="recharts-zindex-2000-:r7n:">
|
|
3616
|
+
</g>
|
|
3617
|
+
</svg>
|
|
3618
|
+
</div>
|
|
3619
|
+
</div>
|
|
3620
|
+
</div>
|
|
3621
|
+
</div>
|
|
3622
|
+
</div>
|
|
3623
|
+
<button class="btn btn-default" type="button">Start</button>
|
|
3624
|
+
```
|
|
3625
|
+
|
|
3626
|
+
#### Props: RadialBarChart
|
|
3627
|
+
|
|
3628
|
+
### RadialBarChart
|
|
3629
|
+
|
|
3630
|
+
| Name | Type | Default | Description |
|
|
3631
|
+
| --- | --- | --- | --- |
|
|
3632
|
+
| width | Number | — | The width of chart container. |
|
|
3633
|
+
| height | Number | — | The height of chart container. |
|
|
3634
|
+
| 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" }] |
|
|
3635
|
+
| dataKey | string \| number \| ((obj: T) => any) | value | The key of data used for the RadialBar. |
|
|
3636
|
+
| startAngle | Number | 180 | The start angle of all the bars. |
|
|
3637
|
+
| endAngle | Number | 180 | The end angle of all the bars. |
|
|
3638
|
+
| innerRadius | String \| Number | 30% | The innerRadius of the radial bar which is most close to the center. If set a percentage, the final value is obtained by multiplying the percentage of maxRadius which is calculated by the width, height, cx, cy. |
|
|
3639
|
+
| outerRadius | String \| Number | 100% | The outerRadius of the radial bar which is most far away from the center. If set a percentage, the final value is obtained by multiplying the percentage of maxRadius which is calculated by the width, height, cx, cy. |
|
|
3640
|
+
| clockWise | Boolean | true | Set to "true" if the bars should go clockwise. |
|
|
3641
|
+
| cornerRadius | Number | 30 | Set the corner radius for the individual bars. |
|
|
3642
|
+
| showBarLabel | Boolean | false | Renders a label on top of the bars. |
|
|
3643
|
+
| background | Boolean \| Function | true | If false set, background of bars will not be drawn. If true set, background of bars will be drawn which have the props calculated internally. If set a function, the function will be called to render customized background. |
|
|
3644
|
+
| range | Array | — | Defines the min and max value for the bar. |
|
|
3645
|
+
| radialBarOptions | Object | — | Detailed options passed to the underlying RadialBar component. Details can be found here: https://recharts.org/en-US/api/RadialBar |
|
|
3646
|
+
| textOptions | Object | — | Detailed options passed to the underlying Text component. Details can be found here: https://recharts.org/en-US/api/Text |
|
|
3647
|
+
| containerOptions | Object | — | Detailed options passed to the underlying ResponsiveContainer component. Details can be found here: https://recharts.org/en-US/api/ResponsiveContainer |
|
|
3648
|
+
| 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 |
|
|
3649
|
+
| legend | Legend \| Boolean | <Legend /> | Shows the provided Legend component otherwise shows nothing. |
|
|
3650
|
+
| ... | | — | Additional props are passed to the underlying RadialBarChart component. Details can be found here: https://recharts.org/en-US/api/RadialBarChart |
|
|
3651
|
+
|
|
3652
|
+
#### Props: Legend
|
|
3653
|
+
|
|
3654
|
+
### Legend
|
|
3655
|
+
|
|
3656
|
+
| Name | Type | Default | Description |
|
|
3657
|
+
| --- | --- | --- | --- |
|
|
3658
|
+
| iconType | String | square | Defines the type of the leading icon. |
|
|
3659
|
+
| iconSize | String | 12 | Defines the size of the leading icon. |
|
|
3660
|
+
| layout | String | vertical | Defines the layout of the legend. |
|
|
3661
|
+
| align | String | right | Defines the alignment of the legend relative to the chart. |
|
|
3662
|
+
| verticalAlign | String | top | Defines the vertical alignment of the legend relative to the chart. |
|
|
3663
|
+
| ... | | — | Additional props are passed to the underlying legend component. Details can be found here: https://recharts.org/en-US/api/Legend |
|