|
|
|
@ -446,7 +446,7 @@ export default class TbFlot { |
|
|
|
if (keySettings.showPoints === true) { |
|
|
|
series.points.show = true; |
|
|
|
series.points.lineWidth = 5; |
|
|
|
series.points.radius = 3; |
|
|
|
series.points.radius = angular.isDefined(keySettings.showPointsRadius) ? keySettings.showPointsRadius : 3; |
|
|
|
} |
|
|
|
|
|
|
|
if (this.chartType === 'line' && this.ctx.settings.smoothLines && !series.points.show) { |
|
|
|
@ -1107,6 +1107,11 @@ export default class TbFlot { |
|
|
|
"type": "boolean", |
|
|
|
"default": false |
|
|
|
}, |
|
|
|
"showPointsRadius": { |
|
|
|
"title": "Radius of points", |
|
|
|
"type": "number", |
|
|
|
"default": 3 |
|
|
|
}, |
|
|
|
"tooltipValueFormatter": { |
|
|
|
"title": "Tooltip value format function, f(value)", |
|
|
|
"type": "string", |
|
|
|
@ -1159,6 +1164,7 @@ export default class TbFlot { |
|
|
|
"showLines", |
|
|
|
"fillLines", |
|
|
|
"showPoints", |
|
|
|
"showPointsRadius", |
|
|
|
{ |
|
|
|
"key": "tooltipValueFormatter", |
|
|
|
"type": "javascript" |
|
|
|
|