如何删除dojo折线图中虚线的灰色背景?

Cos*_*tel 3 charts dojo linechart

我使用虚线和虚线在Dojo中创建了一个图表.除了虚线的背景为灰色外,一切正常.

如何删除线条的灰色背景?

var xChart = new dojox.charting.Chart2D("test-chart");
xChart.setTheme(dojox.charting.themes.Julie);
xChart.addAxis("x");
xChart.addPlot("default", {type: "Lines"});

xChart.addSeries("xscsd", [2,3,5,5,23,1,6],
   {stroke: {color: "red", width: 1.5, style:"Dot"}});

xChart.render();
Run Code Online (Sandbox Code Playgroud)

Cra*_*ing 5

默认主题定义灰色轮廓.添加系列时,用null覆盖轮廓.

xChart.addSeries("xscsd", [2,3,5,5,23,1,6],
                 {stroke: {color: "red", width: 1.5, style:"Dot"},
                     outline: null });
Run Code Online (Sandbox Code Playgroud)

http://jsfiddle.net/cswing/qDL79/