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

Update Series Value and Series Category #60

Open
esp70 opened this issue Mar 23, 2020 · 3 comments
Open

Update Series Value and Series Category #60

esp70 opened this issue Mar 23, 2020 · 3 comments
Labels
bug Something isn't working will accept PR

Comments

@esp70
Copy link

esp70 commented Mar 23, 2020

I don't know if I am missing something or not but it does not look like there is a way to update the series category like there is for the series value.

Update Example

This example shows that indeed the series data can be updated, but the category for that point can't be specified and I don't believe I see a way in your Addon to perform this operation.

image

Ideally, it would be nice to append data and the category to the existing series as seen in the Apex chart method appendSeries(). But I would be Ok with just updating the category like the data series value.

Is something like this already possible?

@esp70 esp70 added the bug Something isn't working label Mar 23, 2020
@mrrenealvarenga
Copy link

How did you add the zoom in and out options? For me it only adds the download menu, which I hide on purpose with CSS but I see no way to toggle the zoom values

@esp70
Copy link
Author

esp70 commented Apr 1, 2020

Add:
ApexChartsBuilder.get() .withChart(ChartBuilder.get() .withType(Type.line) .withZoom(ZoomBuilder.get() .withEnabled(true) .build()) .build())

When constructing the Chart Class

@mrrenealvarenga
Copy link

Add:
ApexChartsBuilder.get() .withChart(ChartBuilder.get() .withType(Type.line) .withZoom(ZoomBuilder.get() .withEnabled(true) .build()) .build())

When constructing the Chart Class

Sweet... thanks man!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working will accept PR
Projects
None yet
Development

No branches or pull requests

3 participants