morrisjs / morris.js

Pretty time-series line graphs
http://morrisjs.github.com/morris.js/
6.91k stars 1.23k forks source link

behaveLikeLine overriding area chart line colors #730

Closed sjnims closed 7 years ago

sjnims commented 7 years ago

I'm attempting to create an area chart using the behaveLikeLine option set to true. However, when the option is set to true, the colors I've set in lineColors aren't used. When behaveLikeLine is set to false (or not set at all, as false is the default), the colors set in lineColors are used. See it in action on this fiddle.

Using:

sjnims commented 7 years ago

Never mind, the opacity settings I was using made it hard to tell which colors were being used. All good.