123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- var theme_wonderland = {
- version: 1,
- themeName: "wonderland",
- theme: {
- seriesCnt: "3",
- backgroundColor: "rgba(255,255,255,0)",
- titleColor: "#666666",
- subtitleColor: "#999999",
- textColorShow: false,
- textColor: "#333",
- markTextColor: "#ffffff",
- color: [
- "#4ea397",
- "#22c3aa",
- "#7bd9a5",
- "#d0648a",
- "#f58db2",
- "#f2b3c9",
- ],
- borderColor: "#ccc",
- borderWidth: 0,
- visualMapColor: ["#d0648a", "#22c3aa", "#adfff1"],
- legendTextColor: "#999999",
- kColor: "#d0648a",
- kColor0: "transparent",
- kBorderColor: "#d0648a",
- kBorderColor0: "#22c3aa",
- kBorderWidth: "1",
- lineWidth: "3",
- symbolSize: "8",
- symbol: "emptyCircle",
- symbolBorderWidth: "2",
- lineSmooth: false,
- graphLineWidth: "1",
- graphLineColor: "#cccccc",
- mapLabelColor: "#28544e",
- mapLabelColorE: "rgb(52,158,142)",
- mapBorderColor: "#999999",
- mapBorderColorE: "#22c3aa",
- mapBorderWidth: 0.5,
- mapBorderWidthE: 1,
- mapAreaColor: "#eeeeee",
- mapAreaColorE: "rgba(34,195,170,0.25)",
- axes: [
- {
- type: "all",
- name: "通用坐标轴",
- axisLineShow: true,
- axisLineColor: "#cccccc",
- axisTickShow: false,
- axisTickColor: "#333",
- axisLabelShow: true,
- axisLabelColor: "#999999",
- splitLineShow: true,
- splitLineColor: ["#eeeeee"],
- splitAreaShow: false,
- splitAreaColor: [
- "rgba(250,250,250,0.05)",
- "rgba(200,200,200,0.02)",
- ],
- },
- {
- type: "category",
- name: "类目坐标轴",
- axisLineShow: true,
- axisLineColor: "#333",
- axisTickShow: true,
- axisTickColor: "#333",
- axisLabelShow: true,
- axisLabelColor: "#333",
- splitLineShow: false,
- splitLineColor: ["#ccc"],
- splitAreaShow: false,
- splitAreaColor: [
- "rgba(250,250,250,0.3)",
- "rgba(200,200,200,0.3)",
- ],
- },
- {
- type: "value",
- name: "数值坐标轴",
- axisLineShow: true,
- axisLineColor: "#333",
- axisTickShow: true,
- axisTickColor: "#333",
- axisLabelShow: true,
- axisLabelColor: "#333",
- splitLineShow: true,
- splitLineColor: ["#ccc"],
- splitAreaShow: false,
- splitAreaColor: [
- "rgba(250,250,250,0.3)",
- "rgba(200,200,200,0.3)",
- ],
- },
- {
- type: "log",
- name: "对数坐标轴",
- axisLineShow: true,
- axisLineColor: "#333",
- axisTickShow: true,
- axisTickColor: "#333",
- axisLabelShow: true,
- axisLabelColor: "#333",
- splitLineShow: true,
- splitLineColor: ["#ccc"],
- splitAreaShow: false,
- splitAreaColor: [
- "rgba(250,250,250,0.3)",
- "rgba(200,200,200,0.3)",
- ],
- },
- {
- type: "time",
- name: "时间坐标轴",
- axisLineShow: true,
- axisLineColor: "#333",
- axisTickShow: true,
- axisTickColor: "#333",
- axisLabelShow: true,
- axisLabelColor: "#333",
- splitLineShow: true,
- splitLineColor: ["#ccc"],
- splitAreaShow: false,
- splitAreaColor: [
- "rgba(250,250,250,0.3)",
- "rgba(200,200,200,0.3)",
- ],
- },
- ],
- axisSeperateSetting: false,
- toolboxColor: "#999999",
- toolboxEmpasisColor: "#666666",
- tooltipAxisColor: "#cccccc",
- tooltipAxisWidth: 1,
- timelineLineColor: "#4ea397",
- timelineLineWidth: 1,
- timelineItemColor: "#4ea397",
- timelineItemColorE: "#4ea397",
- timelineCheckColor: "#4ea397",
- timelineCheckBorderColor: "rgba(60,235,210,0.3)",
- timelineItemBorderWidth: 1,
- timelineControlColor: "#4ea397",
- timelineControlBorderColor: "#4ea397",
- timelineControlBorderWidth: 0.5,
- timelineLabelColor: "#4ea397",
- datazoomBackgroundColor: "rgba(255,255,255,0)",
- datazoomDataColor: "rgba(222,222,222,1)",
- datazoomFillColor: "rgba(114,230,212,0.25)",
- datazoomHandleColor: "#cccccc",
- datazoomHandleWidth: "100",
- datazoomLabelColor: "#999999",
- },
- };
- window.echarts.registerTheme(
- theme_wonderland.themeName,
- theme_wonderland.theme
- );
|