Skip to content
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

New component: Apache EChart #1451

Closed
melloware opened this issue Feb 21, 2024 · 8 comments
Closed

New component: Apache EChart #1451

melloware opened this issue Feb 21, 2024 · 8 comments
Assignees
Labels
🎲 new component New component request
Milestone

Comments

@melloware
Copy link
Member

melloware commented Feb 21, 2024

Describe the feature you would like to see added

Request on Discord: https://discord.com/channels/787967399105134612/787974851100409866/1209370699697750016

https://echarts.apache.org/en/index.html

I think this would be easy to base on the new PrimeFaces Chart component which is pretty thin. We can incubate it here in Extensions.

@melloware melloware added enhancement Improve an existing component 🎲 new component New component request and removed enhancement Improve an existing component labels Feb 21, 2024
@melloware melloware changed the title Apache EChart New component: Apache EChart Feb 21, 2024
@fcorneli
Copy link
Contributor

Check out:
https://demo.e-contract.be/ejsf-demo/echarts.xhtml

@melloware
Copy link
Member Author

Nice @fcorneli i think i am going to create a echart component here in Extensions because echarts does look REALLY nice and full featured!

@fcorneli
Copy link
Contributor

I've been using the ECharts JSF component within a few projects already. Easiest way to do graphs for me.

@melloware
Copy link
Member Author

Plus some of the eCharts i have seen on their demo site I have not seen other charting libraries even have.

@melloware melloware self-assigned this Feb 26, 2024
@melloware melloware added this to the 14.0.0 milestone Feb 26, 2024
@melloware
Copy link
Member Author

melloware commented Feb 26, 2024

Got it all working.

Dark Theme:

image

Light Theme:

image

Custom Theme:

image

@melloware melloware pinned this issue Feb 26, 2024
@fcorneli
Copy link
Contributor

Nice with the theme support!

@melloware
Copy link
Member Author

@fcorneli thanks for your feedback, updates made here and in PF Chart component which had the same issues.

@melloware
Copy link
Member Author

I also just added JS methods exportAsImage() and print() to send the chart to the printer or export it as a PNG image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎲 new component New component request
Projects
None yet
Development

No branches or pull requests

2 participants