Modifying Candlestick Fill Colors with setOption()

22 views
Skip to first unread message

T. Mack Brown

unread,
Nov 8, 2018, 9:50:48 AM11/8/18
to Google Visualization API
How does one modify the fill color of a candlestick with setOption()? 

Here's the context in which I'd like to add the fill-modifying code:

      var chart = graphsSheet.getCharts()[0];
      chart = chart.modify()
          .setOption('title', "District Representation at Session #" + sessionNumber + ": Projected and Actual")
          .setOption('colors', ["black"])
          .build();
      graphsSheet.updateChart(chart);

I've tried variations of the following statement to no avail:

        .setOption('candlestick.risingColor.fill', ["blue"])

I'd appreciate your advice.  
Reply all
Reply to author
Forward
0 new messages