This documentation shows how to style a single point in Google Charts in a 
single series:

https://developers.google.com/chart/interactive/docs/points

But my chart has multiple series. I have implemented a working version of 
my chart but I'm only able to style the last series:

https://codepen.io/trevcis/pen/PooyNqR

How do I target the first series (blue line)?? I could change my series 
data around but plan on adding further series to the chart so would like to 
figure it out.

I thought I could add another role column

  data.addColumn('date', 'Date');
  data.addColumn('number', 'Linepack');
  data.addColumn({role: 'style', type: 'string'});  // added
  data.addColumn('number', 'Target');
  data.addColumn({role: 'style', type: 'string'});

and then add another point config but it doesn't work.

  [new Date(2020, 2, 10), 515,'point { size: 12; shape-type: 
triangle;fill-color: #ff6600;opacity:0.9}',520,'point { size: 12; shape-type: 
circle;fill-color: #ff6600;opacity:0.9}'], 

What would be the proper way to configure this?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/7235c38f-53b6-4db4-b686-4c27daf0012d%40googlegroups.com.

Reply via email to