mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 22:26:15 +08:00
DEV: updates chart.js to 3.5.1 (#14107)
This commit is contained in:
@ -27,14 +27,16 @@ export default Component.extend({
|
||||
data: data,
|
||||
options: {
|
||||
responsive: true,
|
||||
tooltips: {
|
||||
callbacks: {
|
||||
title: (context) =>
|
||||
moment(context[0].xLabel, "YYYY-MM-DD").format("LL"),
|
||||
plugins: {
|
||||
tooltip: {
|
||||
callbacks: {
|
||||
title: (context) =>
|
||||
moment(context[0].label, "YYYY-MM-DD").format("LL"),
|
||||
},
|
||||
},
|
||||
},
|
||||
scales: {
|
||||
yAxes: [
|
||||
y: [
|
||||
{
|
||||
display: true,
|
||||
ticks: {
|
||||
|
Reference in New Issue
Block a user