• Resolved jamesin144

    (@jamesin144)


    So I’ve been looking to customize my graphs and have been reading the google documentation in regarding to line charts

    One of the things I’m attempting to do is to slant the date values x axis so it looks better instead of having 2 rows of dates.
    I found this property hAxis.slantedText and have attempted to add that into my shortcode (hAxis.slantedText = “true”) which did not work and was wondering how I could accomplish this?

    Another question I have is as my sheet will keep on growing with more and more values (daily figures) am I able to make the x-axis display based on month and then potentially years? Or is this done automatically for me.

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

    (@meitar)

    have attempted to add that into my shortcode (hAxis.slantedText = “true”) which did not work

    You probably want chart_h_axis="{slantedText: true}", since there is no hAxis.slantedText attribute for shortcodes. See the Other Notes page.

    Thread Starter jamesin144

    (@jamesin144)

    Thank you so much I had no idea how to use the short code but that example made everything make sense

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customization of the X axis’ is closed to new replies.