Skip to content

chartjs-chart-venn v4.3.3 / VennDiagramController

Class: VennDiagramController

Extends

Extended by

Constructors

new VennDiagramController()

new VennDiagramController(chart, datasetIndex): VennDiagramController

Parameters

chart: Chart<keyof ChartTypeRegistry, (null | number | [number, number] | Point | BubbleDataPoint | ISet<number>)[], unknown>

datasetIndex: number

Returns

VennDiagramController

Inherited from

DatasetController<'venn', ArcSlice>.constructor

Defined in

.yarn/berry/cache/chart.js-npm-4.4.4-714602763b-10c0.zip/node_modules/chart.js/dist/types/index.d.ts:588

Properties

id

readonly static id: string = 'venn'

Defined in

work/chartjs-chart-venn/chartjs-chart-venn/src/controllers/VennDiagramController.ts:24

Methods

computeLayout()

protected computeLayout(size): IVennDiagramLayout

Parameters

size: IBoundingBox

Returns

IVennDiagramLayout

Defined in

work/chartjs-chart-venn/chartjs-chart-venn/src/controllers/VennDiagramController.ts:86