Sha256: ee9280428149130f99889ea2e9ad28e83d5b0991796fb5b48dd43ed4c43c965c

Contents?: true

Size: 1.21 KB

Versions: 4

Compression:

Stored size: 1.21 KB

Contents

//>>built
define("dojox/charting/themes/PlotKit/base",["dojo/_base/lang","dojo/_base/Color","../../Theme","../common"],function(_1,_2,_3,_4){
var pk=_1.getObject("PlotKit",true,_4);
pk.base=new _3({chart:{stroke:null,fill:"yellow"},plotarea:{stroke:null,fill:"yellow"},axis:{stroke:{color:"#fff",width:1},line:{color:"#fff",width:0.5},majorTick:{color:"#fff",width:0.5,length:6},minorTick:{color:"#fff",width:0.5,length:3},tick:{font:"normal normal normal 7pt Helvetica,Arial,sans-serif",fontColor:"#999"}},series:{stroke:{width:2.5,color:"#fff"},fill:"#666",font:"normal normal normal 7.5pt Helvetica,Arial,sans-serif",fontColor:"#666"},marker:{stroke:{width:2},fill:"#333",font:"normal normal normal 7pt Helvetica,Arial,sans-serif",fontColor:"#666"},colors:["red","green","blue"]});
pk.base.next=function(_5,_6,_7){
var _8=_3.prototype.next.apply(this,arguments);
if(_5=="line"){
_8.marker.outline={width:2,color:"#fff"};
_8.series.stroke.width=3.5;
_8.marker.stroke.width=2;
}else{
if(_5=="candlestick"){
_8.series.stroke.width=1;
}else{
if(_8.series.stroke.color&&(_8.series.stroke.color.toString()==new _2(this.colors[(this._current-1)%this.colors.length]).toString())){
_8.series.stroke.color="#fff";
}
}
}
return _8;
};
return pk;
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dojox-rails-0.14.0 vendor/assets/javascripts/dojox/charting/themes/PlotKit/base.js
dojox-rails-0.13.0 vendor/assets/javascripts/dojox/charting/themes/PlotKit/base.js
dojox-rails-0.12.0 vendor/assets/javascripts/dojox/charting/themes/PlotKit/base.js
dojox-rails-0.11.0 vendor/assets/javascripts/charting/themes/PlotKit/base.js