diff --git a/.size-limit.cjs b/.size-limit.cjs index 1c42d1dc0..2f4e5e4c6 100644 --- a/.size-limit.cjs +++ b/.size-limit.cjs @@ -7,7 +7,7 @@ function modifyWebpackConfig(config) { module.exports = [ { path: 'dist/chart.js', - limit: '78.5 KB', + limit: '79 KB', webpack: false, running: false }, diff --git a/docs/general/data-structures.md b/docs/general/data-structures.md index 10ec6bc6b..3f59ed4ad 100644 --- a/docs/general/data-structures.md +++ b/docs/general/data-structures.md @@ -124,7 +124,7 @@ When using object notation in a radar chart you still need a labels array with l ```javascript const cfg = { - type: 'pie', + type: 'line', data: { datasets: [{ data: { @@ -187,7 +187,7 @@ When using typescript, if you want to use a data structure that is not the defau ```ts import {ChartData} from 'chart.js'; -const datasets: ChartData <'bar', {key: string, value: number} [] > = { +const datasets: ChartData <'bar', {key: string, value: number} []> = { datasets: [{ data: [{key: 'Sales', value: 20}, {key: 'Revenue', value: 10}], parsing: {