Customize Chart.js configuration.
globalChartConfigProps
function to the ThemeProvider
component.
This function accepts the
config object from Chart.js as an argument and should return the
modified config object with your configurations applied.
chartConfigProps
prop. This prop accepts
a function that receives the chart’s current configuration object specific to a chart type. Within this function, you
can modify and return the configuration object to tailor the chart’s appearance and behavior to your needs. The changes
made through chartConfigProps
will only affect the particular instance of the chart.