-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Feature : per-serie options #104
Comments
Hi @atoy40 Good question and I have thought about this while creating configurations. The reason I have not provided design config in the But, some options accepts an array which corresponds to the series index. Some of those properties The Thanks for the suggestion |
Thanks ! |
Yes, have you checked out this? |
Oh yes, not enough doc reading :) sorry !! |
No worries |
Seems there is no way to have two scales and several series in each. All can be put to one or each can have their own, but no combination. Is it possible to add that feature or is there some way to get it working now? |
It is possible to have a variable number of scales and multiple series for each scale. You have to relate yaxis to chartID. I will provide an example soon. |
Here you go: https://codepen.io/junedchhipa/pen/KGqwmd In the demo, you can see - you have 3 series, but only 2 scales. You can control which series uses a particular scale in the |
Thank you. The example works but it is not so simple with the real data. There seems to be hidden rules: |
Do you have an example of any other chart library that implements the way you described? |
In chart.js there are yaxis with id and that id can be given to the dataset, so can be like yaxis with only 3 elements and 20 datasets pointing to those like I have now. Actually trying to port that implementation to use Apexcharts instead to get more speed. There are huge amount of datapoints in those. In your example if you write min:-20 to first yaxis elment, it crash. In the second it do not. then if you add negative value to first serie, it do not affect, but if you add to second, the scale changes. |
Thanks for providing the details. Regarding your other points, I am carefully testing each y-axis by providing min/max to each y-axis. |
Hi |
Why is this not documented? The docs just say |
Hello,
Is it possible to set per-serie options, for example different stroke width, fill type, etc... ? The only one I've seen is the color through the "colors" array
Anthony.
The text was updated successfully, but these errors were encountered: