I'm currently using Apexcharts to display a data series. In one of the options, I can select an array of colors as defined in the documentation, which is an array of strings. Obviously, passing in hex strings works just fine.
However, what I'm trying to do now is to have my data series on my graph show with patterns. I understand that I can use the fill
object as defined here, but that would define a pattern for the whole graph, whereas I would like to define it for certain data only.
Since the color
array is an array of strings, is there a way where I can define something like linear-gradient
or something equivalent but in string format?
from Create Pattern on RGB Colors
No comments:
Post a Comment