Skip to content

Echarts setup 1 #24

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

Open
wants to merge 27 commits into
base: echarts-master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
88f6fd4
Added: Initial Setup
ShwetaDeodhare Dec 4, 2024
7663fb4
Added: bootstrap and react-bootstrap
ShwetaDeodhare Jan 22, 2025
7878edd
Added: Bar chart
ShwetaDeodhare Jan 22, 2025
6c8ce67
Added: line chart and bar chart data
ShwetaDeodhare Jan 22, 2025
f76bb25
Added: stacked and waterfall chart
ShwetaDeodhare Jan 22, 2025
217eaa5
Added: scss and new layout
ShwetaDeodhare Jan 23, 2025
b5f59ae
Updated: font family
ShwetaDeodhare Jan 23, 2025
9ead5c8
Updated: tab items with actual component
ShwetaDeodhare Jan 23, 2025
0a41b69
Added: styling to x and y axis labels
ShwetaDeodhare Jan 24, 2025
0dd2716
Moved: stacked line chart to different file
ShwetaDeodhare Jan 24, 2025
38dfa9e
Update StackedLine.tsx
ShwetaDeodhare Jan 24, 2025
ba2408c
Added: Stacked line customisation
ShwetaDeodhare Jan 24, 2025
3b2d6f4
update: label in bar
ShwetaDeodhare Jan 27, 2025
8ec0cf2
Added: Pie Chart
ShwetaDeodhare Jan 27, 2025
b461f92
Updated: stacked bar
ShwetaDeodhare Jan 29, 2025
0f01ace
Added deploy workflow
saddamhusainkhan Feb 7, 2025
dec6506
Remove unused code
saddamhusainkhan Feb 7, 2025
d88c23d
Update VerticaTab.tsx
ShwetaDeodhare Feb 10, 2025
d96edc9
visual enhancments
ShwetaDeodhare Feb 14, 2025
5ffa8f9
Added: visual map on toggle
ShwetaDeodhare Feb 14, 2025
bbf0982
Update Line.tsx
ShwetaDeodhare Feb 14, 2025
c72598e
Removed: unused imports
ShwetaDeodhare Feb 14, 2025
9313955
Added comment
saddamhusainkhan Mar 15, 2025
8581f3f
Merge branch 'echarts-setup-1' of https://github.com/TalenticaSoftwar…
ShwetaDeodhare Mar 17, 2025
0a34b12
Update: bottom spacing in waterfall
ShwetaDeodhare Mar 17, 2025
03621fd
Update index.html
ShwetaDeodhare Mar 17, 2025
d7c8931
Fixed: bar visual map and waterfall chkbox text
ShwetaDeodhare Mar 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy echarts

on:
push:
branches:
- echarts-setup-1

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Navigate to echarts-poc directory
run: cd echarts-poc

- name: Install dependencies
working-directory: echarts-poc
run: npm install

- name: Build site
working-directory: echarts-poc
run: npm run build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: echarts-poc/build/
publish_branch: gh-pages
destination_dir: echarts
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./node_modules
23 changes: 23 additions & 0 deletions echarts-poc/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
51 changes: 51 additions & 0 deletions echarts-poc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# ECharts POC

This is a proof-of-concept (POC) dashboard built with **React** and **ECharts**. It showcases various chart types in a tab-based layout, including bar charts, line charts, stacked charts, pie charts, and more.

## Features

- Vertical tab navigation to switch between chart types.
- Supports multiple chart types: Bar, Stacked Bar, Line, Stacked Line, Waterfall, Pie, and Gauge.
- Responsive design using **React Bootstrap**.

## Technologies

- **React**
- **React Bootstrap**
- **ECharts for React**
- **Sass** (for styling)
- **TypeScript**

## Setup

### 1. Clone the repo

```bash
git clone https://github.com/TalenticaSoftware/UI-POC.git
cd echarts-poc
```

### 2. Install dependencies

```bash
npm install
```

### 3. Run the app

```bash
npm start
```

Visit `http://localhost:3000` to view the app.

## Project Structure

- **src/components/VerticalTabs.tsx**: Main component with tabbed charts.
- **src/Charts**: Contains individual chart components.
- **src/App.tsx**: Entry point for the app.

## License

MIT License - see [LICENSE](LICENSE).
Let me know if you'd like to make any further changes!
Loading