优化
This commit is contained in:
@ -75,7 +75,7 @@
|
||||
<date-range-select ref="chartDateRangeSelect" @updateDate="updateChartDate"
|
||||
style="margin-bottom: 10px;" />
|
||||
<view class="chart-container">
|
||||
<qiun-data-charts type="line" :reload="showChart" :optsWatch='false' :opts="options"
|
||||
<qiun-data-charts type="area" :reload="showChart" :optsWatch='false' :opts="options"
|
||||
:chartData="chartsData" :ontouch="true" :inScrollView="true" :pageScrollTop="pageScrollTop" />
|
||||
</view>
|
||||
</view>
|
||||
@ -140,6 +140,7 @@
|
||||
|
||||
},
|
||||
options: {
|
||||
padding: [10, 5, 0, 10],
|
||||
duration: 0,
|
||||
animation: false,
|
||||
dataLabel: false,
|
||||
@ -149,6 +150,16 @@
|
||||
itemCount: 3,
|
||||
disableGrid: true
|
||||
},
|
||||
extra: {
|
||||
area: {
|
||||
type: "curve",
|
||||
opacity: 0.2,
|
||||
addLine: true,
|
||||
width: 2,
|
||||
gradient: true,
|
||||
activeType: "hollow"
|
||||
}
|
||||
}
|
||||
},
|
||||
range: [],
|
||||
end: Date.now(),
|
||||
|
||||
Reference in New Issue
Block a user