UNPKG

@lobehub/charts

Version:

React modern charts components built on recharts

42 lines (25 loc) 1.17 kB
--- title: Tracker description: Component for visualizing activity logs or other data related to monitoring. category: Visualizations --- import DemoIndex from './demos/index.tsx?demo'; import DemoExample from './demos/example.tsx?demo'; import DemoClickEvent from './demos/clickEvent.tsx?demo'; import DemoCustomTooltip from './demos/customTooltip.tsx?demo'; import DemoCustomColors from './demos/customColors.tsx?demo'; <Demo of={DemoIndex} layout="bare" /> ## Usage example The example below shows a composition of an uptime monitor with a `Tracker` component. The \`tooltip property acts as pop-up information and displays the provided status. <Demo of={DemoExample} layout="center" /> ## Usage example with click event The example below shows an interacive chart using the `onValueChange` prop. <Demo of={DemoClickEvent} /> ## Usage example with custom tooltip The example below shows a custom tooltip using `customTooltip` prop. <Demo of={DemoCustomTooltip} layout="center" /> ## Usage example with a custom colors The example below shows a chart with custom `colors`. <Demo of={DemoCustomColors} layout="center" /> ## API <Api name="Tracker" />