support color for plotly bar; closes #513

This commit is contained in:
Thomas Breloff 2016-09-30 10:40:26 -04:00
parent 24a4c31f0d
commit f4329a9483

View File

@ -386,6 +386,7 @@ function plotly_series(plt::Plot, series::Series)
d_out[:type] = "bar"
d_out[:x], d_out[:y] = x, y
d_out[:orientation] = isvertical(series) ? "v" : "h"
d_out[:marker] = KW(:color => rgba_string(series[:fillcolor]))
elseif st == :heatmap
d_out[:type] = "heatmap"