164 lines
3.9 KiB
JavaScript
164 lines
3.9 KiB
JavaScript
Highcharts.themes = {};
|
|
|
|
Highcharts.themes.simpl = {
|
|
"colors": ["#d35400", "#2980b9", "#2ecc71", "#f1c40f", "#2c3e50", "#7f8c8d"],
|
|
"chart": {
|
|
"style": {
|
|
"fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\"",
|
|
"color": "#666666"
|
|
}
|
|
},
|
|
"title": {
|
|
"align": "left",
|
|
"style": {
|
|
"fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\"",
|
|
"fontWeight": "bold"
|
|
}
|
|
},
|
|
"subtitle": {
|
|
"align": "left",
|
|
"style": {
|
|
"fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\""
|
|
}
|
|
},
|
|
"legend": {
|
|
"align": "right",
|
|
"verticalAlign": "bottom"
|
|
},
|
|
"xAxis": {
|
|
"gridLineWidth": 1,
|
|
"gridLineColor": "#F3F3F3",
|
|
"lineColor": "#F3F3F3",
|
|
"minorGridLineColor": "#F3F3F3",
|
|
"tickColor": "#F3F3F3",
|
|
"tickWidth": 1
|
|
},
|
|
"yAxis": {
|
|
"gridLineColor": "#F3F3F3",
|
|
"lineColor": "#F3F3F3",
|
|
"minorGridLineColor": "#F3F3F3",
|
|
"tickColor": "#F3F3F3",
|
|
"tickWidth": 1
|
|
},
|
|
"plotOptions": {
|
|
"line": {
|
|
"marker": {
|
|
"enabled": false
|
|
}
|
|
},
|
|
"spline": {
|
|
"marker": {
|
|
"enabled": false
|
|
}
|
|
},
|
|
"area": {
|
|
"marker": {
|
|
"enabled": false
|
|
}
|
|
},
|
|
"areaspline": {
|
|
"marker": {
|
|
"enabled": false
|
|
}
|
|
},
|
|
"arearange": {
|
|
"marker": {
|
|
"enabled": false
|
|
}
|
|
},
|
|
"bubble": {
|
|
"maxSize": "10%"
|
|
}
|
|
}
|
|
};
|
|
|
|
Highcharts.themes.ggplot2 = {
|
|
"chart": {
|
|
"plotBackgroundColor": "#EBEBEB",
|
|
"style": {
|
|
"color": "#000000",
|
|
"fontFamily": "Arial, sans-serif"
|
|
}
|
|
},
|
|
"colors": ["#595959", "#F8766D", "#A3A500", "#00BF7D", "#00B0F6", "#E76BF3"],
|
|
"xAxis": {
|
|
"labels": {
|
|
"style": {
|
|
"color": "#666666"
|
|
}
|
|
},
|
|
"title": {
|
|
"style": {
|
|
"color": "#000000"
|
|
}
|
|
},
|
|
"startOnTick": false,
|
|
"endOnTick": false,
|
|
"gridLineColor": "#FFFFFF",
|
|
"gridLineWidth": 1.5,
|
|
"tickWidth": 1.5,
|
|
"tickLength": 5,
|
|
"tickColor": "#666666",
|
|
"minorTickInterval": 0,
|
|
"minorGridLineColor": "#FFFFFF",
|
|
"minorGridLineWidth": 0.5
|
|
},
|
|
"yAxis": {
|
|
"labels": {
|
|
"style": {
|
|
"color": "#666666"
|
|
}
|
|
},
|
|
"title": {
|
|
"style": {
|
|
"color": "#000000"
|
|
}
|
|
},
|
|
"startOnTick": false,
|
|
"endOnTick": false,
|
|
"gridLineColor": "#FFFFFF",
|
|
"gridLineWidth": 1.5,
|
|
"tickWidth": 1.5,
|
|
"tickLength": 5,
|
|
"tickColor": "#666666",
|
|
"minorTickInterval": 0,
|
|
"minorGridLineColor": "#FFFFFF",
|
|
"minorGridLineWidth": 0.5
|
|
},
|
|
"legendBackgroundColor": "rgba(0, 0, 0, 0.5)",
|
|
"background2": "#505053",
|
|
"dataLabelsColor": "#B0B0B3",
|
|
"textColor": "#C0C0C0",
|
|
"contrastTextColor": "#F0F0F3",
|
|
"maskColor": "rgba(255,255,255,0.3)"
|
|
};
|
|
|
|
Highcharts.themes.flat = {
|
|
"colors": ["#f1c40f", "#2ecc71", "#9b59b6", "#e74c3c", "#34495e", "#3498db", "#1abc9c", "#f39c12", "#d35400"],
|
|
"chart": {
|
|
"backgroundColor": "#ECF0F1"
|
|
},
|
|
"xAxis": {
|
|
"gridLineDashStyle": "Dash",
|
|
"gridLineWidth": 1,
|
|
"gridLineColor": "#BDC3C7",
|
|
"lineColor": "#BDC3C7",
|
|
"minorGridLineColor": "#BDC3C7",
|
|
"tickColor": "#BDC3C7",
|
|
"tickWidth": 1
|
|
},
|
|
"yAxis": {
|
|
"gridLineDashStyle": "Dash",
|
|
"gridLineColor": "#BDC3C7",
|
|
"lineColor": "#BDC3C7",
|
|
"minorGridLineColor": "#BDC3C7",
|
|
"tickColor": "#BDC3C7",
|
|
"tickWidth": 1
|
|
},
|
|
"legendBackgroundColor": "rgba(0, 0, 0, 0.5)",
|
|
"background2": "#505053",
|
|
"dataLabelsColor": "#B0B0B3",
|
|
"textColor": "#34495e",
|
|
"contrastTextColor": "#F0F0F3",
|
|
"maskColor": "rgba(255,255,255,0.3)"
|
|
}; |