javascript - How to set a sequential integer step in AmCharts' value axis? -


i want set sequential integer step, i.e. 0,1,2,3,4,......., in my charts valueaxis. how can accomplish this?

per documentation, step read-only value, can't set influence value axis step. have couple of options force own step increment:

1) set valueaxis' autogridcount false , set gridcount large enough value minimum/maximum desired step. value of 20 works in chart's case. demo

2) disable labels , use guides draw each tick on valueaxis. demo


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -