I have a fairly simple chart
var d1 = [['A', 5], ['B', 7], ['C', 8], ['D', 9], ['E', 0], ['F', 10], ['G', 5], ];
$.plot(".appointments_chart", [d1],
{
xaxis: {
mode: "categories",
tickLength: 0,
panRange: [null, null]
},
yaxis: {
panRange: false
},
pan: {
interactive: true
}
});
What I want is when the initial chart is displayed there are only three points on the X Axis, C, D & E and the user can pan forwards or backwards to see the others. Is this possible?