Chart.js
JavaScript charting library. Supported in Obsidian with Charts plugin
· Docs · #note/sink ·
Dates
To get time axis without parsing use Date.parse(<date>)
to convert dates into timestamps
and then disable parse in the axis:
data: {},
type: {},
options: {
color: '#B0B0B0',
scales: {
x:
{
type: 'time',
time: {
unit: 'day',
parser: false,
displayFormats: {day: 'ddd DD MMM'},
},
},
},
}