JQplot을 사용하여 그래프를 그립니다. 그리고 지금은 일부 값이 표시되어야 막대 그래프의 개별 막대 위에 마우스를 .. PLZ 플러그인에 대한 JQplot을 사용하여 그래프를 그립니다. 이제 JQplot의 막대 그래프에서 막대 위에 마우스를 가져 가면 일부 값이 표시됩니다.
$(document).ready(function(){
var line1 = [['Content Of The Training', 2.2], ['Relavance Of Training To The Work Place', 3.5], ['Phase Of The Training', 3.2],
['Session Met The Objectives Stated', 3.4], [' The Session Met My Exceptations', 3],
['Overall Ratining On the Training', 3.6]];
var plot1 = $.jqplot('graph1', [line1], {
title: 'Rating On Training',
series:[{renderer:$.jqplot.BarRenderer}],
axesDefaults: {
tickRenderer: $.jqplot.CanvasAxisTickRenderer ,
tickOptions: {
fontFamily: 'Calibri',
angle: -30,
fontSize: '10pt'
}
},
axes: {
xaxis: {
renderer: $.jqplot.CategoryAxisRenderer
}
},
canvasOverlay: {
show: true,
objects: [
{horizontalLine: {
name: 'pebbles',
y: 2.5,
lineWidth: 2,
color: 'rgb(255, 0, 0)',
shadow: true,
lineCap: 'butt',
xOffset: 0
}},
]
}
});
});
다음 링크에서 jplot를 다운로드 ...
이 내 그래프는 다음입니다
으로 도움을 때
http://www.jqplot.com/tests/bar-charts.php