Issue #38 resolved

single negative point value blows up the graph

Anonymous created an issue

==== The following code does not plot correctly: ====

{{{ $(document).ready(function(){

line1 = [-2];
plot = $.jqplot('chartdiv',[line1],{
title: 'Rotated Text with Canvas Axis',
axes: {
    xaxis: {
        rendererOptions: {
            tickRenderer: $.jqplot.CanvasAxisTickRenderer
        },
        tickOptions: {
            angle: -40
        }
    }
},
series: [{
    lineWidth: 1,
   // showLine: false,
   //showMarker: true,
    markerOptions: {
        size: 4
    }
}],

cursor:{
    zoom:true,
    tooltipOffset: 80,
    tooltipLocation: 'nw'
},

highlighter: {
    sizeAdjust: 1
},

});

}}}

Comments (3)

  1. Anonymous

    If you add a min and max for the y-axis. It will plot it. Otherwise, the graph will not know how to automatically fit the y-axis.

  2. Log in to comment