许多轴标签

时间:2013-08-08 12:56:06

标签: axis jqplot labels

有人可以通过http://www.jqplot.com/tests/axisLabelTests.php

帮助mi

我需要在图片上插入三个轴,但我不知道如何。

1 个答案:

答案 0 :(得分:0)

您可以在以下链接中找到所需内容的示例[jqPlot文档]:

- First example

- Second example

And finally, Axis documentation here

修改根据您原始帖子附带的评论,您可以执行like this (jsFiddle link)的操作:

//Declare a first series
var cosPoints = [...];
//Declare a second one
var cosPoints2 = [...];
//Draw a new plot with those two series
$.jqplot('chart1', [cosPoints,cosPoints2], {});
//You will obtain a graph with two lines representing your two series.

PS 我认为您肯定需要查看jqPlot示例herehere