2.0.0 • Published 1 year ago

@expertbridge-ui/legacy-plugin-chart-calendar v2.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

@expertbridge-ui/legacy-plugin-chart-calendar

Version David (path)

This plugin provides Calendar Heatmap for Expertbridge.

Usage

Configure key, which can be any string, and register the plugin. This key will be used to lookup this chart throughout the app.

import CalendarChartPlugin from '@expertbridge-ui/legacy-plugin-chart-calendar';

new CalendarChartPlugin().configure({ key: 'calendar' }).register();

Then use it via SuperChart. See storybook for more details.

<SuperChart
  chartType="calendar"
  width={600}
  height={600}
  formData={...}
  queriesData={[{
    data: {...},
  }]}
/>