1
|
define([
|
2
|
"dojox/charting/themes/PlotKit/blue"
|
3
|
], function(){
|
4
|
|
5
|
steam2.StatsChartThemes = {};
|
6
|
var th = dojo.clone(dojox.charting.themes.PlotKit.blue);
|
7
|
|
8
|
th.axis.tick = {
|
9
|
color: "#474747",
|
10
|
position: "center",
|
11
|
font: "normal normal normal 8pt Helvetica, Arial, sans-serif",
|
12
|
fontColor: "#474747"
|
13
|
};
|
14
|
|
15
|
th.marker = {
|
16
|
stroke: {width: 0.5, color: "#eaf2cb"},
|
17
|
outline: {width: 0, color: "#eaf2cb"},
|
18
|
font: "normal normal normal 8pt Helvetica, Arial, sans-serif"
|
19
|
};
|
20
|
|
21
|
th.next = function(elementType, mixin, doPost){
|
22
|
// bypass reset of marker stroke and color in plotkit
|
23
|
return dojox.charting.Theme.prototype.next.apply(this, arguments);
|
24
|
};
|
25
|
|
26
|
th.chart.fill = '#FFF';
|
27
|
steam2.StatsChartThemes.blue = th;
|
28
|
|
29
|
});
|
30
|
|
31
|
|