Line chart combination numeric x-Axis and discrete markers #5005
Unanswered
Deaniebean
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to create a line chart that has an numeric axis scales, I want to apply conditional styling to the marker points, I know that this is done with the property markers.discrete but I'm having trouble applying it:
here is an example sandbox: https://codesandbox.io/p/sandbox/apexcharts-responsiveness-px56nz#
Basically I'm trying to set a standard size of 6 for all markers and for one of the lines it should only display the markers at the Integer values:
markers: { size: 6, discrete: [ { seriesIndex: 0, dataPointIndex: [2, 3, 5, 6, 8, 9, 10], size: 6, },
Still all markers are being displayed? How would I do this correctly?
Any help is really appreciated. :)
Beta Was this translation helpful? Give feedback.
All reactions