开发者

google chart api

开发者 https://www.devze.com 2023-01-06 06:44 出处:网络
I\'m using the Google Chart API wrapper. I didn\'t see the option to set the labels for x-axis. I want the graph to look something like this.

I'm using the Google Chart API wrapper.

I didn't see the option to set the labels for x-axis. I want the graph to look something like this.

I want to set the X labels.

Please help me figure out how to accomplish that.

Thanks!


UPDATE:

Found Solution: T.. are the values of the x-axis on the bottom.

lineChart.AddAxis(
  new ChartA开发者_JAVA百科xis(
    ChartAxisType.Bottom,
    new string[] { "T1", "T2", "T3", "T4", "T5", "T6" }
  )
);


Hope this helps you

http://chart.apis.google.com/chart ?chxt=y &chbh=a &chs=300x225 &cht=bvg &chco=A2C180,3D7930 &chd=s:s,J &chdl=yes+no|no &chtt=Vertical+bar+chart

0

精彩评论

暂无评论...
验证码 换一张
取 消