Implement working canvas-based trading chart

- Created SimpleTradingChart component using HTML5 Canvas
- Renders proper candlestick chart with sample SOL/USDC data
- Includes grid lines, price labels, and proper styling
- Replaced problematic lightweight-charts with working solution
- Updated trading page to use the new working chart component

Fixes chart loading issues by using native HTML5 Canvas instead of external library dependencies.
This commit is contained in:
mindesbunister
2025-07-16 13:06:58 +02:00
parent 86d4f5289c
commit c1a7a28cd8
4 changed files with 203 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
---
applyTo: '**'
---
whenever you make changes to the code, please ensure to double-check everything to avoid any issues. This includes:
- Reviewing the code for syntax errors
- Testing the functionality to ensure it works as expected
- Checking for any potential security vulnerabilities
- Verifying that all dependencies are up to date
- Ensuring that the code adheres to the project's coding standards
- Running any automated tests to confirm that existing features are not broken
- Documenting any changes made for future reference