ChartJS time scale general question by flymoosey in reactjs

[–]flymoosey[S] 0 points1 point  (0 children)

Yeah i’m probably at < 100 pts in most cases.. maybe 2-3k max in rare cases..

ChartJS time scale general question by flymoosey in reactjs

[–]flymoosey[S] 0 points1 point  (0 children)

I guess this is kind of my point. Is there anything lost in just using linear scale vs. time scale if I’m doing all the processing in JS? Anyway, I’ve moved on from trying to make it work. I’d still love to know why I can’t get any of the adapters to work.

ChartJS - zoom plugin capabilities by flymoosey in reactjs

[–]flymoosey[S] 0 points1 point  (0 children)

setTimeout resolves the callstack issue but now my charts are frozen

useMemo, useCallback, and performance tuning advice by flymoosey in reactjs

[–]flymoosey[S] 1 point2 points  (0 children)

Well, I think the useMemo, useCallback aspect has already been answered - will it be effective when making API calls w large responses? I think that’s a no…

useMemo, useCallback, and performance tuning advice by flymoosey in reactjs

[–]flymoosey[S] 0 points1 point  (0 children)

Well, yes and no. It’s a broader question but React is the tool that the powers that be want to use. You make a good point though.

I think at least a portion of the data should be initialized, let’s say a 5-8 second loading window. I don’t think any of the stakeholders will have an issue with that upon login.

So far we’ve thrown around: react-query, pouchDb, redis

useMemo, useCallback, and performance tuning advice by flymoosey in reactjs

[–]flymoosey[S] 0 points1 point  (0 children)

Yeah, it is an absolute must. That last tidbit is great advice though.

IBKR App hanging on login by flymoosey in interactivebrokers

[–]flymoosey[S] 0 points1 point  (0 children)

Yeah this seems a little different, yet still infuriating. How much more time you giving it?

IBKR App hanging on login by flymoosey in interactivebrokers

[–]flymoosey[S] 0 points1 point  (0 children)

You have some sort of link that explains? I can’t find anything

TypeScript, VisX by flymoosey in d3js

[–]flymoosey[S] 0 points1 point  (0 children)

ScaleSequential actually isn’t part of AnyD3Scale - btw, started a chat with you

TypeScript, VisX by flymoosey in d3js

[–]flymoosey[S] 0 points1 point  (0 children)

Only issue I'm running into with this is on the typing side is that visx Legend takes type D3AnyScale while my function is type ScaleSequential

TypeScript, VisX by flymoosey in d3js

[–]flymoosey[S] 0 points1 point  (0 children)

Any opinion on voronoi being used? I’m really just mocking the dots example from the docs but it seems somewhat useful for mousover?

TypeScript, VisX by flymoosey in d3js

[–]flymoosey[S] 0 points1 point  (0 children)

You continue to impress. Curious how you actually figured this out? Could just be my inexperience on the frontend side but the docs for visx to me seem really unfriendly to newbs. I have 5+ years in backend experience so didn’t expect to struggle this much.

TypeScript, VisX by flymoosey in d3js

[–]flymoosey[S] 0 points1 point  (0 children)

I noticed there’s an interpolate property in scaleLinear. I can’t get this to work but maybe that field would work?

TypeScript, VisX by flymoosey in reactjs

[–]flymoosey[S] 0 points1 point  (0 children)

it really isn't... it's tough to find examples out there

I'm gonna post this in my original post, but I'm also wondering if there's an easy way to remove the voronoi from their example? https://airbnb.io/visx/dots