Commit d5aa9fb 1 parent 242651f commit d5aa9fb Copy full SHA for d5aa9fb
File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ The line chart allows a number of properties to be specified for each dataset. T
87
87
| [ ` pointRadius ` ] ( #point-styling ) | ` number ` | Yes | Yes | ` 3 `
88
88
| [ ` pointRotation ` ] ( #point-styling ) | ` number ` | Yes | Yes | ` 0 `
89
89
| [ ` pointStyle ` ] ( #point-styling ) | ` string ` \| ` Image ` | Yes | Yes | ` 'circle' `
90
- | [ ` showLine ` ] ( #line-styling ) | ` boolean ` | - | - | ` undefined `
90
+ | [ ` showLine ` ] ( #line-styling ) | ` boolean ` | - | - | ` true `
91
91
| [ ` spanGaps ` ] ( #line-styling ) | ` boolean ` \| ` number ` | - | - | ` undefined `
92
92
| [ ` stepped ` ] ( #stepped ) | ` boolean ` \| ` string ` | - | - | ` false `
93
93
| [ ` xAxisID ` ] ( #general ) | ` string ` | - | - | first x axis
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ function example() {
50
50
## Dataset Properties
51
51
52
52
The scatter chart supports all of the same properties as the [ line chart] ( ./charts/line.mdx#dataset-properties ) .
53
+ By default, the scatter chart will override the showLine property of the line chart to ` false ` .
53
54
54
55
## Data Structure
55
56
Original file line number Diff line number Diff line change @@ -24,9 +24,12 @@ ScatterController.defaults = {
24
24
fill : false
25
25
} ,
26
26
27
+ interaction : {
28
+ mode : 'point'
29
+ } ,
30
+
27
31
plugins : {
28
32
tooltip : {
29
- mode : 'point' ,
30
33
callbacks : {
31
34
title ( ) {
32
35
return '' ; // doesn't make sense for scatter since data are formatted as a point
You can’t perform that action at this time.
0 commit comments