Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/77.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery ace:图表:如何更改图表的大小_Jquery_Icefaces 3 - Fatal编程技术网

Jquery ace:图表:如何更改图表的大小

Jquery ace:图表:如何更改图表的大小,jquery,icefaces-3,Jquery,Icefaces 3,我正在使用icefaces 3.2 ace图表,并在IE8/firefox上进行测试。我有一个柱状图。我想知道如何设置图表的高度和宽度。问题是,如果x轴标签长度增加,我注意到图表高度会降低。只是为了突出显示icefaces图表框架基于jquery中的jqplot。添加css: .jqplot-target { height: HEIGHT px; width: WIDTH px; } 还可以使用setTickAngle()属性以对角线显示标签 xAxis = new Axi

我正在使用icefaces 3.2 ace图表,并在IE8/firefox上进行测试。我有一个柱状图。我想知道如何设置图表的高度和宽度。问题是,如果x轴标签长度增加,我注意到图表高度会降低。只是为了突出显示icefaces图表框架基于jquery中的jqplot。

添加css:

.jqplot-target {
    height: HEIGHT px;  
    width: WIDTH px;
}
还可以使用setTickAngle()属性以对角线显示标签

xAxis = new Axis();
xAxis.setAutoscale(true);
xAxis.setTickAngle(-30);