kewp

Results 15 comments of kewp

@ChepteaCatalin the issue with that is that I'm assuming that params is an array so `params[0].axisLabel` gives me this error: ``` Element implicitly has an 'any' type because expression of...

In fact, I'm still getting an error on the function as well: ``` Type '{ trigger: "axis"; axisPointer: { type: "shadow"; }; formatter: (params: CallbackDataParams) => string | TooltipFormatterCallback |...

> That's because tooltip formatter params don't have axisLabel property. But I saw the `axisLabel` on the params object when I log it to console? It seems like `name` works...

> Maybe you want axisValueLabel from params, because I don't see axisLabel in your screenshot and it should not exist there. Ah you're right. Sorry, my mistake.

I feel like this issue might have a simple cause: running `vite` in the wrong directory. It keeps happening to me but it's always because I'm not in my app's...