thejoecode
thejoecode
This worked for me while synchronizing multiple charts: `chart.tooltip.setActiveElements([], { x: 0, y: 0 });` From the docs here: https://www.chartjs.org/docs/latest/api/interfaces/TooltipModel.html#setactiveelements Sample here (look at the tooltip tab): https://www.chartjs.org/docs/latest/samples/advanced/programmatic-events.html
onZoomComplete is already debounced at 250ms. (I would love to see an option to configure or disable that debouncing.) If you are seeing multiple calls to onZoomComplete you will need...
> Exposing the debounce time with an option to disable it completely would be great. Maybe 0 and or null instead of a number to disable.
Check out the built in Decimation plugin if you meet the requirements: https://www.chartjs.org/docs/latest/configuration/decimation.html#requirements Another option would be to reduce the number of points at the beginning of the zoom and...
useRouteParams doesn't allow removing the parameter by setting it to empty string / null / undefined
This appears to be a bug in the router when changing params but not route: https://github.com/vuejs/router/issues/1893 The current work around is to use empty string to remove the optional parameters....
Could do a check similar to what Prisma does: https://github.com/prisma/prisma/blob/main/packages/client/src/generation/generateClient.ts#L772 Prisma passes the generated name to ensure it is the generated package. If this route sounds good I could create...