no message
Former-commit-id: afef3af60139bd559aa150052fc3a72ec2f384a4 Former-commit-id: e2b324d8476ca2a52c625f2aee16972708a43bec Former-commit-id: ab3a3d9097c684c0fb1b54b1a5f228157b2f81ff
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<Container type="ghost" :responsive="true" class="demo-chart-index">
|
||||
<d2-container type="ghost" :responsive="true" class="demo-chart-index">
|
||||
<el-row :gutter="20">
|
||||
<el-col class="col" :span="8">
|
||||
<el-card class="header-in">
|
||||
@@ -50,7 +50,7 @@
|
||||
</el-card>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</Container>
|
||||
</d2-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<Container type="ghost" :responsive="true">
|
||||
<d2-container type="ghost" :responsive="true">
|
||||
<ChartDemoCard class="d2-mb" v-bind="card" @resize="$refs.chart.resize()">
|
||||
<G2PieBase slot-scope="{data}" ref="chart" :data="data" v-bind="chart"></G2PieBase>
|
||||
</ChartDemoCard>
|
||||
<el-card>
|
||||
<Markdown url="/static/md/组件 - 图表.md"></Markdown>
|
||||
</el-card>
|
||||
</Container>
|
||||
</d2-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<Container type="ghost" :responsive="true">
|
||||
<d2-container type="ghost" :responsive="true">
|
||||
<ChartDemoCard class="d2-mb" v-bind="card" @resize="$refs.chart.resize()">
|
||||
<G2AreaBase slot-scope="{data}" ref="chart" :data="data" v-bind="chart"></G2AreaBase>
|
||||
</ChartDemoCard>
|
||||
<el-card>
|
||||
<Markdown url="/static/md/组件 - 图表.md"></Markdown>
|
||||
</el-card>
|
||||
</Container>
|
||||
</d2-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<Container type="ghost" :responsive="true">
|
||||
<d2-container type="ghost" :responsive="true">
|
||||
<ChartDemoCard class="d2-mb" v-bind="card" @resize="$refs.chart.resize()">
|
||||
<G2BarBase slot-scope="{data}" ref="chart" :data="data" v-bind="chart"></G2BarBase>
|
||||
</ChartDemoCard>
|
||||
<el-card>
|
||||
<Markdown url="/static/md/组件 - 图表.md"></Markdown>
|
||||
</el-card>
|
||||
</Container>
|
||||
</d2-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<Container type="ghost" :responsive="true">
|
||||
<d2-container type="ghost" :responsive="true">
|
||||
<ChartDemoCard class="d2-mb" v-bind="card" @resize="$refs.chart.resize()">
|
||||
<G2ColumnBase slot-scope="{data}" ref="chart" :data="data" v-bind="chart"></G2ColumnBase>
|
||||
</ChartDemoCard>
|
||||
<el-card>
|
||||
<Markdown url="/static/md/组件 - 图表.md"></Markdown>
|
||||
</el-card>
|
||||
</Container>
|
||||
</d2-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<Container type="ghost" :responsive="true">
|
||||
<d2-container type="ghost" :responsive="true">
|
||||
<ChartDemoCard class="d2-mb" v-bind="card" @resize="$refs.chart.resize()">
|
||||
<G2LineBase slot-scope="{data}" ref="chart" :data="data" v-bind="chart"></G2LineBase>
|
||||
</ChartDemoCard>
|
||||
<el-card>
|
||||
<Markdown url="/static/md/组件 - 图表.md"></Markdown>
|
||||
</el-card>
|
||||
</Container>
|
||||
</d2-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<Container type="ghost" :responsive="true">
|
||||
<d2-container type="ghost" :responsive="true">
|
||||
<ChartDemoCard class="d2-mb" v-bind="card" @resize="$refs.chart.resize()">
|
||||
<G2LineStep slot-scope="{data}" ref="chart" :data="data" v-bind="chart"></G2LineStep>
|
||||
</ChartDemoCard>
|
||||
<el-card>
|
||||
<Markdown url="/static/md/组件 - 图表.md"></Markdown>
|
||||
</el-card>
|
||||
</Container>
|
||||
</d2-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<Container type="ghost" :responsive="true">
|
||||
<d2-container type="ghost" :responsive="true">
|
||||
<ChartDemoCard class="d2-mb" v-bind="card" @resize="$refs.chart.resize()">
|
||||
<G2NightingaleRoseBase slot-scope="{data}" ref="chart" :data="data" v-bind="chart"></G2NightingaleRoseBase>
|
||||
</ChartDemoCard>
|
||||
<el-card>
|
||||
<Markdown url="/static/md/组件 - 图表.md"></Markdown>
|
||||
</el-card>
|
||||
</Container>
|
||||
</d2-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<Container type="ghost" :responsive="true">
|
||||
<d2-container type="ghost" :responsive="true">
|
||||
<ChartDemoCard class="d2-mb" v-bind="card" @resize="$refs.chart.resize()">
|
||||
<G2RadarBase slot-scope="{data}" ref="chart" :data="data" v-bind="chart"></G2RadarBase>
|
||||
</ChartDemoCard>
|
||||
<el-card>
|
||||
<Markdown url="/static/md/组件 - 图表.md"></Markdown>
|
||||
</el-card>
|
||||
</Container>
|
||||
</d2-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<Container type="ghost" :responsive="true" class="demo-chart-index">
|
||||
<d2-container type="ghost" :responsive="true" class="demo-chart-index">
|
||||
<GridLayout v-bind="layout" @layout-updated="layoutUpdatedHandler">
|
||||
<!-- 卡片 -->
|
||||
<GridItem v-bind="layout.layout[0]" @resized="handleResized(chart[0].refName)">
|
||||
@@ -58,7 +58,7 @@
|
||||
</el-card>
|
||||
</GridItem>
|
||||
</GridLayout>
|
||||
</Container>
|
||||
</d2-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<Container type="full">
|
||||
<d2-container type="full">
|
||||
<PageIndexArticle
|
||||
title="内置 G2 图表库"
|
||||
sub-title="如果用不到 建议删除相关代码和依赖">
|
||||
<img src="@/assets/image/logo/w500-chart.png">
|
||||
</PageIndexArticle>
|
||||
</Container>
|
||||
</d2-container>
|
||||
</template>
|
||||
Reference in New Issue
Block a user