-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make charts zooming and panning to work #42
Comments
@miohtama are you aware of specific sites that provide a high quality zooming / panning experience for trading charts (or similar time-series data)? |
Yes. TradingView is the market leader. A cold start might be hard. Let’s hop on a 30 - 45 minuters call with @tsorro and go through it. Let’s also make a short recording of it, so we might publish a bits of it later as a tutorial. We’ll give you a crash course. |
Meanwhile please peak on uPlot code and website for examples. It is not the easiest library, but it’s still much better than starting building something like this from the scratch. |
Sounds good. I'm assuming next week, given how busy you guys are at Avalanche? |
👍 makes sense. I started reviewing the uPlot code yesterday, as well as their docs / examples – will continue exploring today. I also started some high-level research into other open-source alternatives (Chart.js, Carbon Charts, other D3-based solutions). If I reach a point where I'm blocked, I'll move on to the next issue. Thanks… enjoy the rest of the summit! |
@kenkunz I’d be happy to hop on a brief video call to show you a standard functionality that charting tools typically provide. I believe I would find a slot tomorrow afternoon my time or Friday afternoon if that would help you progress. |
@tsorro thanks – that would be helpful. My schedule is flexible, so you name the time that's best for you:
I've done some initial exploration of TradingView chart and ChartIQ – they seem to follow pretty consistent UI conventions. FYI, I'm not blocked at the moment – I am experimenting with uPlot and some other JS charting options – so if it's easier to wait until next week, that's fine for me as well. Thanks! |
Per Discord discussion with @miohtama: Current features
Near term enhancements
Long term enhancements
|
Trading ViewPros
Cons
|
ChartIQPros
Cons
|
D3 + Svelte SVG ComponentsIn addition to the above proprietary solutions, I also did a PoC using D3 for all of the math and Svelte SVG components for all of the rendering. Pros
Cons
|
Additional JS Charting LibrariesThe following other JS charting solutions were also considered:
|
Decision – ChartIQBased on review of PoCs on 19.4.2022 and discussion – team is aligned to go with ChartIQ. Next steps:
|
This spike / investigation issue is complete. See: |
Currently, one cannot zoom and pan trading chart data properly.
We use ad hoc uPlot.js integration.
Explore how to panning and zooming would be easiest to implement
The text was updated successfully, but these errors were encountered: