You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
799 B
24 lines
799 B
import histogram from "../option/columnarOption"
|
|
const data=['智骏', '国机', '小虎', '华晨', '朋克美美','华晨新日','百智大熊','朋克多多','YOUNG光小新','易至EV3','雷丁芒果','风光MINIEV','宝骏KiWiEV','思皓E10X','零跑T03','科莱威CLEVER','奔奔E-Star','QQ冰激凌','小蚂蚁','宏光MINIEV',]
|
|
const data2= [600,700,800,900,1000,1200,1300,1400,1500,1600,1700,1900,2000,2100,2200,2300,2400,2500,2600,2700,]
|
|
|
|
Component({
|
|
data: {
|
|
showChart: true,
|
|
brandOption: histogram(data,data2,[],'#0084FF',false)
|
|
,
|
|
|
|
},
|
|
onShow() {
|
|
this.getTabBar().init();
|
|
},
|
|
|
|
methods: {
|
|
priceSel(e){
|
|
this.setData({
|
|
intervalSel: e.currentTarget.dataset.index
|
|
})
|
|
}
|
|
|
|
}
|
|
}) |