before chart

master
cn.yimian.xyz 4 years ago
parent 8e00417fc9
commit c9e5a6534c
  1. 2
      index.html
  2. 8
      js/app-charts.js

@ -276,7 +276,7 @@
<script src="https://cdn.yimian.xyz/smart-settlement/plugins/jquery-sparkline/jquery.sparkline.js"></script>
<!-- Template global script file. requared all pages -->
<!--<script src="./js/app-charts.js"></script>-->
<script src="./js/app-charts.js"></script>
<script src="./js/global.script.js"></script>

@ -140,8 +140,10 @@ $(function () {
{ label: "", data: Math.floor (Math.random() * 100 + 140) },
{ label: "", data: Math.floor (Math.random() * 100 + 30) },
{ label: "", data: Math.floor (Math.random() * 100 + 60) },
{ label: "", data: Math.floor (Math.random() * 100 + 90) },
{ label: "", data: Math.floor (Math.random() * 100 + 120) },
{ label: "", data: Math.floor (Math.random() * 100 + 60) },
{ label: "", data: Math.floor (Math.random() * 100 + 60) },
{ label: "", data: Math.floor (Math.random() * 100 + 60) },
{ label: "", data: Math.floor (Math.random() * 100 + 60) },
];
chartOptions = {
series: {
@ -174,4 +176,4 @@ $(function () {
if (holder.length) {
$.plot(holder, data, chartOptions );
}
});
});

Loading…
Cancel
Save