PMSI-AlignAlytics / dimple

An object-oriented API for business analytics
Other
2.73k stars 557 forks source link

Series that have the same category field but different color axes behave differently based on plot type #165

Open emilydolson opened 9 years ago

emilydolson commented 9 years ago

This is a small issue, and may not even be unintended, but it seemed inconsistent.

When I create two series with the same category field, they are the same color, as expected. For bubble charts, when I assign each of these series a different colorAxis each series is colored according to its own colorAxis. However, for line charts, both series seem to be colored according to whichever color axis was most recently assigned to them. The only way to assign to line chart series different color axes is two give them different category fields.

(see this stackoverflow post for further details + an example: http://stackoverflow.com/q/30174657/1560599)

Either of these behaviors seem reasonable, but it seems strange for them to differ by plot type.