Javascript jqplot帆布覆盖层最大和最小

Javascript jqplot帆布覆盖层最大和最小,javascript,canvas,jqplot,Javascript,Canvas,Jqplot,我已经基于组合框的事件onchange调用了jqplot气泡渲染器。 表示每次用户更改combobox的值时,气泡渲染器都会被调用。combobox最终会向气泡渲染器提供不同的数据集。代码如下:` $.jqplot.config.enablePlugins= true; $.jqplot('bubbleChart2', [data], { title : 'Committed Hours Vs Delivered Hours', seriesDefaults :

我已经基于组合框的事件onchange调用了jqplot气泡渲染器。 表示每次用户更改combobox的值时,气泡渲染器都会被调用。combobox最终会向气泡渲染器提供不同的数据集。代码如下:`

$.jqplot.config.enablePlugins= true;
    $.jqplot('bubbleChart2', [data], {
    title : 'Committed Hours Vs Delivered Hours',
        seriesDefaults : {
        renderer : $.jqplot.BubbleRenderer,
            rendererOptions : {
             bubbleGradients: true,
             varyBubbleColors: true,
             autoscaleBubbles: true,
            autoscalePointsFactor: -0.15,
            autoscaleMultiplier: 0.85,
            highlightMouseOver : true,
            escapeHtml:true,
            showLabels:false
        },
        shadow : true,
        shadowAlpha : 0.1
    },
    axesDefaults : {
        tickRenderer : $.jqplot.CanvasAxisTickRenderer,
         labelOptions: {
        fontFamily: 'Georgia, Serif',
        fontSize: '12pt',
        color: 'Green'},
    },
            axes : {
        xaxis : {
            renderer : $.jqplot.CategoryAxisRenderer,
            label : 'Committed %',
             labelRenderer: $.jqplot.CanvasAxisLabelRenderer
        },
        yaxis : {
            autoscale : false,
            label : 'Delivered %',
             renderer : $.jqplot.CategoryAxisRenderer,
              labelRenderer: $.jqplot.CanvasAxisLabelRenderer
        }
    },
        grid:grid,
        canvasOverlay: {
        show: true,
        objects: [
        {line: {
                name: "Performance Indicator",
               start: [-200,-200],
               stop: [1200,2200],
                color: "#FF0000",
                lineCap: 'butt',
                shadow: false,
                shadowAlpha: -15,
                showTooltip: false,
                lineWidth: 2
            }},
           ]}
                }).replot();` 
现在我在两个不同的地方遇到了问题

帆布覆盖开始和停止。 绘制气泡的数据范围将不同,因此一些气泡非常大,而一些气泡非常小,这对绘图没有任何意义。 任何建议都将感谢我的工作