Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 477 Bytes

File metadata and controls

13 lines (11 loc) · 477 Bytes

@bunnarin/plugin-extensible-data-visualization

Just like @nocobase/plugin-data-visualization, but comes with a pivot table and you can actually add your own chart

import { chartFlowRegistry } from '@bunnarin/plugin-extensible-data-visualization/client';

chartFlowRegistry.register('radar', {
  labelKey: 'Radar',
  fieldSpecs: [...],
  autoFillRules: { first: 'indicator', second: 'value' },
  genRaw: (builder) => `return { series: [{ type: 'radar', ... }] }`,
});