In using this package, I can't imagine a use case that requires series and color to be in their own respective arrays. They will always have the same number of elements correct? Does anyone have an example where having more items in series than color is useful (or vice versa)?
I think it would be far more readable if we had a single items array, and properties of objects in items would be color and percentage.
In using this package, I can't imagine a use case that requires series and color to be in their own respective arrays. They will always have the same number of elements correct? Does anyone have an example where having more items in series than color is useful (or vice versa)?
I think it would be far more readable if we had a single
items
array, and properties of objects initems
would becolor
andpercentage
.