Title: Chart v_axis syntax
Last modified: August 30, 2016

---

# Chart v_axis syntax

 *  Resolved [ZenEntSEA](https://wordpress.org/support/users/zenentsea/)
 * (@zenentsea)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/chart-v_axis-syntax/)
 * I am trying to customize a line chart. I would like to have ticks at 9, 18 & 
   27. But when I use this code
    `chart_v_axis='{"ticks":"9,18,27", "gridlines":{"
   color": "#202020"}}'` I get ticks on 1, 2, 7, 8 & 9. The gridlines color code
   works fine.
 * Could you tell me what syntax I can use to make sure its not ignoring the commas?
   Am I missing something obvious?
 * [https://wordpress.org/plugins/inline-google-spreadsheet-viewer/](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)

Viewing 6 replies - 16 through 21 (of 21 total)

[←](https://wordpress.org/support/topic/chart-v_axis-syntax/?output_format=md) [1](https://wordpress.org/support/topic/chart-v_axis-syntax/?output_format=md)
2

 *  Thread Starter [ZenEntSEA](https://wordpress.org/support/users/zenentsea/)
 * (@zenentsea)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/chart-v_axis-syntax/page/2/#post-6703718)
 * Thanks so much…. but,
 * On my page its still not reading the URL encodes properly. I’m getting ticks 
   on 1,2,5,7,8,9, which looks like its stripping the endodes and only seeing their
   numbers, and adding ticks for them.
 * Damn this is a tough one!
 * BTW, I read your profile, and assure you I am not “pro-capitalism”. I’m a small
   business owner who escaped my corporate overlords 10 years ago. But I get it 
   now, after reading your story. Cheers.
 *  Thread Starter [ZenEntSEA](https://wordpress.org/support/users/zenentsea/)
 * (@zenentsea)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/chart-v_axis-syntax/page/2/#post-6703719)
 * Forgot [the link](http://premierleaguepokerclub.com/test-2/).
 *  Thread Starter [ZenEntSEA](https://wordpress.org/support/users/zenentsea/)
 * (@zenentsea)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/chart-v_axis-syntax/page/2/#post-6703720)
 * I guess I should also tell you that I DO NOT need to use “ticks”.
 * What I’m trying to achieve is to split the charts display into 3 sections, thirds
   of equal amount, 1 through 27. The data is locked into 27 being the highest, 
   so I’m trying to visually represent the bottom, middle and top third.
 * If there is an easier way to do this, I’m game.
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/chart-v_axis-syntax/page/2/#post-6703721)
 * > I guess I should also tell you that I DO NOT need to use “ticks”.
 * Well, `ticks` should work, so if there’s a problem with it, that’s its own issue
   and should eventually get formally reported as a bug or otherwise resolved.
 * > What I’m trying to achieve is to split the charts display into 3 sections, 
   > thirds of equal amount, 1 through 27. The data is locked into 27 being the 
   > highest, so I’m trying to visually represent the bottom, middle and top third.
   > If there is an easier way to do this, I’m game.
 * IIUC, this isn’t actually what `ticks` is supposed to do, anyway. It sounds like
   you’re trying to represent three different visualizations in one chart. Why not
   just use three charts? The `ticks` option is for specifying what shows up as 
   markers for a particular scale on a particular axis.
 * You could:
    - Split your data into three sheets.
    - Split the display of your data (residing on one sheet) into three charts by
      applying an appropriate `query`.
 * Ultimately, if there is a problem with `ticks`, that’s its own issue and I still
   haven’t explored your test case. But given your goal, I don’t even think using
   the `ticks` option makes sense, so….
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/chart-v_axis-syntax/page/2/#post-6703722)
 * > BTW, I read your profile, and assure you I am not “pro-capitalism”. I’m a small
   > business owner who escaped my corporate overlords 10 years ago. But I get it
   > now, after reading your story. Cheers.
 * Also, “a small business owner who has escaped corporate overlords” is an oxymoron(
   obviously), but that’s neither here nor there in terms of the `ticks` option.
   😛
 *  Thread Starter [ZenEntSEA](https://wordpress.org/support/users/zenentsea/)
 * (@zenentsea)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/chart-v_axis-syntax/page/2/#post-6703723)
 * Hmmm…. I think I’ll stick with ticks and hope for a solution.
 * I can’t split the data into 3 charts. My use is to rank 27 players, as they progress
   through a series of competitions. But they all need to appear on the same chart
   at once, since they move from the bottom, to the middle and top, and all over
   through the course of the competitions over 12 weeks, and the chart is to track
   them as they progress through it.
 * Let me if/when you get a chance to look at the test case.
 * (I guess I should have said I’m a “sole proprietor”, as I do not have any employees,
   or have a desire to own a company that does. Just me.)

Viewing 6 replies - 16 through 21 (of 21 total)

[←](https://wordpress.org/support/topic/chart-v_axis-syntax/?output_format=md) [1](https://wordpress.org/support/topic/chart-v_axis-syntax/?output_format=md)
2

The topic ‘Chart v_axis syntax’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/inline-google-spreadsheet-viewer.
   svg)
 * [Inline Google Spreadsheet Viewer](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/reviews/)

## Tags

 * [ticks](https://wordpress.org/support/topic-tag/ticks/)

 * 21 replies
 * 3 participants
 * Last reply from: [ZenEntSEA](https://wordpress.org/support/users/zenentsea/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/chart-v_axis-syntax/page/2/#post-6703723)
 * Status: resolved