0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Added curve to line charts

This commit is contained in:
Peter Zimon 2022-05-17 11:45:18 +02:00
parent a9da3b13fc
commit da9a2c6b8a
2 changed files with 2 additions and 2 deletions

View file

@ -176,7 +176,7 @@ export default class Anchor extends Component {
labels: labels, labels: labels,
datasets: [{ datasets: [{
data: data, data: data,
tension: 0, tension: 1,
cubicInterpolationMode: 'monotone', cubicInterpolationMode: 'monotone',
fill: true, fill: true,
fillColor: gradientFill, fillColor: gradientFill,

View file

@ -118,7 +118,7 @@ export default class PaidMrr extends Component {
labels: labels, labels: labels,
datasets: [{ datasets: [{
data: data, data: data,
tension: 0, tension: 1,
cubicInterpolationMode: 'monotone', cubicInterpolationMode: 'monotone',
fill: false, fill: false,
fillColor: gradient, fillColor: gradient,