Vote count:
0
How can I change the code below to have bar charts for volume and turnover. Or at least dashed lines for these two?
This is what I have now:
<script language="javascript" type="text/javascript">
$(document).ready(function()
{
plot<%=request("qot_id")%> = $.jqplot('plot_<%=request("qot_id")%>', [line1, line2, line3],
{
axes:{
xaxis:{
renderer:$.jqplot.DateAxisRenderer,
tickOptions: {
angle: -30
}
}
},
series:[
{label: 'Close'},
{label: 'Volumen', yaxis:'y2axis', linePattern: 'dashed'},
{label: 'Turnover', yaxis:'y3axis', linePattern: 'dashed'}
],
cursor:{
show: true
},
legend: {
show: true,
placement: 'inside'
},
seriesDefaults: {
showMarker:false,
lineWidth:0.2,
rendererOptions: {
smooth: true,
animation: {
show: true
}
}
},
highlighter: {
show: true,
showLabel: true,
tooltipAxes: 'y',
sizeAdjust: 0.1 ,
tooltipLocation : 'ne'
}
});
});
</script>
<div id="plot_<%=request("qot_id")%>" style="height:350px; width:980px;"></div>
asked 1 min ago
Aucun commentaire:
Enregistrer un commentaire