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

Graph: fill type and line width support for area graph #332

Open
dammy001 opened this issue Jan 31, 2024 · 4 comments
Open

Graph: fill type and line width support for area graph #332

dammy001 opened this issue Jan 31, 2024 · 4 comments

Comments

@dammy001
Copy link

Fill types
We should be able to configure the SVG paths by specifying whether to fill the paths with solid colors, gradients, or patterns.

Currently, the fill type is just solid colors. see this for example: https://codepen.io/apexcharts/pen/GQmoXP

@rokotyan
Copy link
Contributor

This is supported via custom SVG defs, check out this example https://unovis.dev/docs/guides/tips-and-tricks#custom-fills-with-svg-defs

@dammy001
Copy link
Author

@rokotyan i'm trying to achieve this using the area but it doesn't seem possible. Do you have any example regarding this?
Chart Flow

@dammy001
Copy link
Author

dammy001 commented Feb 2, 2024

@rokotyan --vis-area-stroke-width: 5; doesn't seem to apply for area stroke width.

@rokotyan
Copy link
Contributor

rokotyan commented Feb 2, 2024

@dammy001 Try setting --vis-area-stroke-color along with --vis-area-stroke-width

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

No branches or pull requests

2 participants