• Resolved tabletools

    (@tabletools)


    Dear Meitai, and friends,

    I have tried reading google combochart in order to make a ComboChart by using this great plugin.

    However according to the OtherNote – complete list of attributes for configurable chart options, it seems there is no seriesType on list. Please would you advise how to make change to the seriesType, say Column in primary axis, and Line in secondary axis?

    Thanks very much in advance for your great help, as I have been trying for a week and keep trying. Many thanks

    https://www.ads-software.com/plugins/inline-google-spreadsheet-viewer/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Meitar

    (@meitar)

    For a Combo chart, you have to use the chart_series attribute to specify each series individually. The seriesType attribute is just a shortcut for specifying a default, but this plugin needs to be told about each series explicitly. See the documentation for the series configuration option for details about it.

    Thread Starter tabletools

    (@tabletools)

    I am very thankful for your typical very, very fast response ??

    I’ve gone thru doc. of configuration option, and found the the default chart type is ,line’ chart for a combo chart. And learnt from you that each series has to be specify individually.

    (and apologize that I am not good at coding)
    Isn’t this chart_series call for an object value (that should be a JSON according to your FAQ page), have tried below combinations but not successful on getting a Combo (bar) chart

    1.)
    chart_series='{“type”:”bars”,”type”:”bars”}’

    2.)
    chart_series='{“type”:’bars’,”type”:’bars’}’

    3)
    chart_series='{0:”type”:”bars”,1:”type”:”bars”}’

    thanks

    Thread Starter tabletools

    (@tabletools)

    Dear Meitar,

    Thanks for your help, finally I figured out how to amend the series chart type of a comboChart, the short code should be:

    chart_series='{“0”:{“type”:”bars”},”1″:{“type”:”line”},”2″:{“type”:”bars”}}’

    i.e. the 0, 1, 2, and so on should also include the ” sign.

    I hope about short code could help those without programming skill like me.

    Plugin Author Meitar

    (@meitar)

    Great, glad you got it figured out. Sorry I was unable to respond in time.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Combo Chart Tutorial’ is closed to new replies.