Skip to content

Commit 10e9b51

Browse files
committed
feat: semi
1 parent 56ca86f commit 10e9b51

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/pages/app/components/Dashboard/components/MonthOnMonth/Wrapper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ function optionOf(lastPeriodItems: Row[], thisPeriodItems: Row[], domWidth: numb
3131
tooltip: {
3232
trigger: 'axis',
3333
axisPointer: { type: 'shadow' },
34+
borderWidth: 0,
3435
formatter(params: TopLevelFormatterParams) {
3536
if (!Array.isArray(params)) return ''
3637
const [thisItem, lastItem] = params.map(v => v.data as _Value).map(v => v.row) || []

src/pages/app/components/Dashboard/components/Timeline/Wrapper.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ class Wrapper extends EchartsWrapper<timer.timeline.Tick[], EcOption> {
8787
}
8888
})
8989

90+
// todo
91+
// find the busiest 6 hours as the default range of data zoom
92+
9093
return {
9194
grid: {
9295
left: gridLeft, width: domWidth - gridLeft - LEGEND_WIDTH,

src/pages/app/components/Dashboard/index.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,10 @@ const _default = defineComponent(() => {
8080
<DashboardCard span={24} height={300}>
8181
<Calendar />
8282
</DashboardCard>
83-
<DashboardCard span={19} height={250}>
83+
<DashboardCard span={20} height={250}>
8484
<Timeline />
8585
</DashboardCard>
86-
<DashboardCard span={5} height={250}>
87-
86+
<DashboardCard span={4} height={250}>
8887
</DashboardCard>
8988
</>}
9089
</ElRow>

0 commit comments

Comments
 (0)