开发者

google chart api

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜