Chart options for time series #25
No reviewers
Labels
No labels
breaking
bug
ci
dependencies
documentation
feature
security
skip-changelog
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Gilles/bigb-vue!25
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/24-chart-options"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #24
Needed by Argus's metric charts and project dashboards (argus/frontend#30, argus/backend#46).
Changes
src/chartConfig.ts:ChartOptions(xAxis: "time",step,unit,color,table) andbuildConfig(). Time axis = Chart.js linear scale overDate.parsevalues (no date-adapter dependency), ticks/tooltip formatted as dates;stepped: "after";var(--x)colors resolved on the canvas element at render time; a single series has no legend, a 2px line, no point dots until hover, a 10 % wash for hex colors;interaction: nearest x.ChartRendererpropoptions+ optional "Valeurs" table (<details>);BigbQueryResultpropchartOptions;BigbTilereadstile.options.chart.buildConfig,resolveColorand theChartOptionstype are exported.pnpm run test, new CI step) withsrc/__tests__/chartConfig.spec.ts.Checks
pnpm run lint,pnpm run test(5 passed),pnpm run build(vite + vue-tsc).🤖 Generated with Claude Code
https://claude.ai/code/session_014BSmBtGWeFBD9z4mYm9SjA