Skip to content

Commit

Permalink
Sync chart cursors
Browse files Browse the repository at this point in the history
  • Loading branch information
simon04 committed Jun 21, 2024
1 parent 3e7e0df commit 3acc6e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/TimeseriesChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ function cssVar(variable: string): string {
}
const chartRef = ref<HTMLDivElement | null>(null);
const { width } = useElementSize(chartRef);
onMounted(() => {
const config: uPlot.Options = {
width: 1200,
height: 600,
cursor: { sync: { key: "Uy1ru6de9eisha7EireiV5pooM8chaic" } },
axes: [
{
space: 80,
Expand Down

0 comments on commit 3acc6e7

Please sign in to comment.