cleanup
This commit is contained in:
parent
0249912154
commit
248764ce98
|
@ -79,7 +79,7 @@
|
|||
text: xAxisLabel
|
||||
}
|
||||
},
|
||||
// Providing `type: "datetime"` normally makes Apex Charts parse unix time nicely with no additonal config, but bar charts in horizontal mode don't have a default setting for parsing the labels of dates, and will just spit out the unix time value. It also doesn't seem to respect any date based formatting properties passed in. So we'll just manualy format the labels, the chart still sorts the dates correctly in any case
|
||||
// Providing `type: "datetime"` normally makes Apex Charts parse unix time nicely with no additonal config, but bar charts in horizontal mode don't have a default setting for parsing the labels of dates, and will just spit out the unix time value. It also doesn't seem to respect any date based formatting properties passed in. So we'll just manually format the labels, the chart still sorts the dates correctly in any case
|
||||
yaxis: {
|
||||
labels: {
|
||||
formatter: yAxisFormatter
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
}
|
||||
|
||||
const isString = typeof value === "string";
|
||||
// "2025" could be either an ISO 8601 date time string or Unix time.
|
||||
// "2025" could be either an ISO 8601 datetime string or Unix time.
|
||||
// There's no way to tell the user's intent without providing more
|
||||
// granular controls.
|
||||
// We'll just assume any string without dashes is Unix time.
|
||||
|
|
|
@ -102,7 +102,6 @@
|
|||
|
||||
const editColumn = async () => {
|
||||
editIsOpen = true
|
||||
console.log(column.schema);
|
||||
await tick()
|
||||
dispatch("edit-column", column.schema)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue