Skip to content

Commit

Permalink
Add 2019 calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
gtt116 committed Dec 12, 2018
1 parent ecafd9f commit 6ca909a
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions static/index.html
Expand Up @@ -32,7 +32,7 @@

#year {
margin-top: 40px;
height: 700px;
height: 900px;
}

#day {
Expand Down Expand Up @@ -81,7 +81,7 @@ <h1>上海迪士尼排队情况</h1>
</div>
<div id="footer">
<p>
&copy2017 <a href="https://gaott.info/">gtt116</a>
&copy2017-2019 <a href="https://gaott.info/">gtt116</a>
</p>
</div>
<script type="text/javascript">
Expand Down Expand Up @@ -247,7 +247,24 @@ <h1>上海迪士尼排队情况</h1>
yearLabel: {
position: 'top'
}
}],
},
{
left: 40,
top: 740,
range: '2019',
cellSize: ['auto', 20],
dayLabel: {
nameMap: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
firstDay: 1
},
monthLabel: {
nameMap: 'cn'
},
yearLabel: {
position: 'top'
}
}
],

series: [
{
Expand All @@ -267,7 +284,14 @@ <h1>上海迪士尼排队情况</h1>
coordinateSystem: 'calendar',
calendarIndex: 2,
data: data
},
{
type: 'heatmap',
coordinateSystem: 'calendar',
calendarIndex: 3,
data: data
}

]
};

Expand Down

0 comments on commit 6ca909a

Please sign in to comment.