Merge pull request #28946 from tscizzle/scatter-type

in types/chart.js, added 'scatter' to ChartType options
This commit is contained in:
Jesse Trinity
2018-09-19 15:42:17 -07:00
committed by GitHub

View File

@@ -163,7 +163,7 @@ interface Model {
}
declare namespace Chart {
type ChartType = 'line' | 'bar' | 'horizontalBar' | 'radar' | 'doughnut' | 'polarArea' | 'bubble' | 'pie';
type ChartType = 'line' | 'bar' | 'horizontalBar' | 'radar' | 'doughnut' | 'polarArea' | 'bubble' | 'pie' | 'scatter';
type TimeUnit = 'millisecond' | 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year';