Hi,

I'm trying to recreate the same style of charts like they're produced by 
windfinder by using a combochart, the first series displays the bars and 
the second the steppedArea



<https://lh3.googleusercontent.com/-N4blgiMo9bs/WkJi97sDxeI/AAAAAAAAJFs/7-ElGPqS1R8APlJLUr5tSMz-Feu8nl6zwCLcBGAs/s1600/Capture.PNG>
I succeeded to recreate most of it, there's one detail left, namely the 
vertical lines in the steppedArea. You can disable it for a steppedArea 
chart by setting the option  connectSteps to false.
I tried to include it in the options at several places but none seem to 
work. Does anyone know how I can achieve this ?

You can see the code over here

https://jsfiddle.net/cdacunha71/sfv1qokf/4/

The relevant section is the option section, I tried it at three locations 
without any success. connectSteps is not documented as an option inside the 
combo chart.

var options = {
          title: 'Monthly Coffee Production by Country',
          connectSteps: false,
          legend: 'none',

          vAxis: {
          viewWindow: {
              min: 0,
              max: 12
            },
            title: 'Cups',
            gridlines: {
              color: 'none'
            }
          },
          hAxis: {
            textPosition: 'none',
            title: 'Month',
          },
          seriesType: 'bars',
          series: {
           0: {
              areaOpacity: 0.0,
              type: 'steppedArea',
              connectSteps: false,
              style: {connectSteps: false}
            }
          }
        };

Regards,

Carlos


-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/08a10159-add9-4c03-b09f-1e63e3221fbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to