javascript - How to dynamically edit rows/columns to a Google Line chart on user action(slider/dropdown) -


i have create line chart using google visualization api , data coming json line chart. want edit line chart on user action(can dropdown each point on horizontal axis) i.e. change data values passes google chart i.e. edit value in "arraytodatatable".

var linedata = google.visualization.arraytodatatable([ ['popularity', 'time'], [0, 0],   [1, 10],  [2, 23],  [3, 17],  [4, 18],  [5, 9], [6, 11],  [7, 27],  [8, 33],  [9, 40],  [10, 32], [11, 35], [12, 30], [13, 40] ]); 

i tried using controls , dashboards(google chart feature) allows change chart below mentioned link:

https://jsfiddle.net/harshl22/nuff8zlc/1/

but changing axis values not datatable values wanted.

is there feature or property allow me so.

thanks in advance.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

unity3d - Fatal error- Monodevelop-Unity failed to start -