Hi,
Thank for your reply. With your help I did it successfully.
The code snippet is:
function filter_m_chart_chart_args( $chart_args, $post, $post_meta, $args ) {
$chart_args['options']['plugins']['title'] = [
'display' => false
];
return $chart_args;
}
add_filter( 'm_chart_chart_args', 'filter_m_chart_chart_args', 10, 4 );
The config from the chartjs(.org)
https://www.chartjs.org/docs/latest/configuration/title.html
const chart = new Chart(ctx, {
type: 'line',
data: data,
options: {
plugins: {
title: {
display: true,
text: 'Custom Chart Title',
padding: {
top: 10,
bottom: 30
}
}
}
}
});
Thanks