Skip to content

Commit

Permalink
fix(charts): simplify the interface to match
Browse files Browse the repository at this point in the history
  • Loading branch information
scottdickerson committed Jan 21, 2020
1 parent b3b6812 commit 96da97b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/core/src/interfaces/charts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ export interface BaseChartOptions {
*/
legend?: LegendOptions;
/**
* Optional function to determine whether is filled based on datasetLabel, label, and/or value
* Optional function to determine whether is filled based on datasetLabel, label, and/or data
*/
getIsFilled?: (datasetLabel: any, label?: any, value?: any, data?: any, defaultFilled?: boolean) => boolean;
getIsFilled?: (datasetLabel: any, label?: any, data?: any, defaultFilled?: boolean) => boolean;
/**
* Optional function to generate the fill color based on datasetLabel, label, and/or value
* Optional function to generate the fill color based on datasetLabel, label, and/or data
*/
getFillColor?: (datasetLabel: any, label?: any, value?: any, data?: any, defaultFillColor?: string) => string;
getFillColor?: (datasetLabel: any, label?: any, data?: any, defaultFillColor?: string) => string;
/**
* Optional function to generate the stroke color based on datasetLabel, label, and/or value
* Optional function to generate the stroke color based on datasetLabel, label, and/or data
*/
getStrokeColor?: (datasetLabel: any, label?: any, value?: any, data?: any, defaultStrokeColor?: string) => string;
getStrokeColor?: (datasetLabel: any, label?: any, data?: any, defaultStrokeColor?: string) => string;
/**
* stylesheet options
*/
Expand Down

0 comments on commit 96da97b

Please sign in to comment.