Skip to content

Commit

Permalink
feat:调整图表样式 (#1994)
Browse files Browse the repository at this point in the history
* feat:调整图表样式
  • Loading branch information
declandragon authored Sep 18, 2024
1 parent cd7b050 commit 4270897
Showing 1 changed file with 24 additions and 12 deletions.
36 changes: 24 additions & 12 deletions src/options/views/statisticCharts/SiteBase.vue
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,10 @@ export default Vue.extend({
// categories: categories,
gridLineDashStyle: "ShortDash",
gridLineWidth: 1,
gridLineColor: "#dddddd"
gridLineColor: "#dddddd",
labels: {
rotation: -45
},
},
yAxis: [
{
Expand Down Expand Up @@ -717,7 +720,10 @@ export default Vue.extend({
},
gridLineDashStyle: "ShortDash",
gridLineWidth: 1,
gridLineColor: "#dddddd"
gridLineColor: "#dddddd",
labels: {
rotation: -45
},
},
yAxis: [
{
Expand Down Expand Up @@ -831,14 +837,17 @@ export default Vue.extend({
xAxis: {
type: "datetime",
dateTimeLabelFormats: {
day: "%m-%d",
week: "%m-%d",
month: "%m-%d",
year: "%m-%d"
day: "%Y-%m-%d",
week: "%Y-%m-%d",
month: "%Y-%m-%d",
year: "%Y-%m-%d"
},
gridLineDashStyle: "ShortDash",
gridLineWidth: 1,
gridLineColor: "#dddddd"
gridLineColor: "#dddddd",
labels: {
rotation: -45
},
},
yAxis: {
title: {
Expand Down Expand Up @@ -936,14 +945,17 @@ export default Vue.extend({
xAxis: {
type: "datetime",
dateTimeLabelFormats: {
day: "%m-%d",
week: "%m-%d",
month: "%m-%d",
year: "%m-%d"
day: "%Y-%m-%d",
week: "%Y-%m-%d",
month: "%Y-%m-%d",
year: "%Y-%m-%d"
},
gridLineDashStyle: "ShortDash",
gridLineWidth: 1,
gridLineColor: "#dddddd"
gridLineColor: "#dddddd",
labels: {
rotation: -45
},
},
yAxis: {
title: {
Expand Down

0 comments on commit 4270897

Please sign in to comment.