refactor(charts): [charts] rename chart-core packages to huicharts-core (#2027)
* fix: 【Charts】update charts snapshots * fix: 修复图表height为100%时的高度问题 * fix: 优化图表extend逻辑 * fix: 修复图表extend失效问题 * fix: 删除注释 * fix: 新增图表echartOption变量,以便用户获取echart配置 * fix: 修复playground百度地图案例错误问题 * fix: 修复图表option复杂变量失效问题 * fix: 修改高德百度地图案例注释 * fix: chart-core添加cloneDeep引入 * fix: 修改chart组件getFormatted函数判断逻辑 * fix: 更新chart-core包版本为3.17.1 * fix: 修复箱型图data为空数组时的报错问题 * fix: 添加图标属性逻辑的深拷贝 * fix: 删除注释文件 * docs: 更新图表文档 * fix: 修复机器人提出的问题 * chore: [charts]rename chart-core packages to huicharts-core * fix: 修改图表引用路径 * fix: 修改盒须图案例代码和图表简介 * fix: 切换图表基本引入,删除本地无用代码 * fix: 修复图表colors属性失效问题,修改引入路径 * fix: 更新chart图表依赖 * fix: 修改chart打包路径 * fix: 修改图表组件路径和案例导入路径 * fix: 修改案例导入路径 * fix: 还原文件 --------- Co-authored-by: Davont <davontz.icloud.com>
This commit is contained in:
parent
3e824bbb5a
commit
feea189475
|
@ -10,14 +10,14 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Tabs, TabItem, ChartBar, ChartGauge } from '@opentiny/vue'
|
import { Tabs, TabItem, HuichartsBar, HuichartsGauge } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyTabs: Tabs,
|
TinyTabs: Tabs,
|
||||||
TinyTabItem: TabItem,
|
TinyTabItem: TabItem,
|
||||||
TinyBar: ChartBar,
|
TinyBar: HuichartsBar,
|
||||||
TinyGauge: ChartGauge
|
TinyGauge: HuichartsGauge
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { AutonaviMap as TinyAutonaviMap } from '@opentiny/vue'
|
import { HuichartsAmap as TinyAutonaviMap } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
key: '4b5f2cf2cba25200cc6b68c398468899',
|
key: '4b5f2cf2cba25200cc6b68c398468899',
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { AutonaviMap } from '@opentiny/vue'
|
import { HuichartsAmap } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyAutonaviMap: AutonaviMap
|
TinyAutonaviMap: HuichartsAmap
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartBar as TinyChartBar } from '@opentiny/vue'
|
import { HuichartsBar as TinyChartBar } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
data: [
|
data: [
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartBar } from '@opentiny/vue'
|
import { HuichartsBar } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyBar: ChartBar
|
TinyBar: HuichartsBar
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ChartBar as TinyChartBar } from '@opentiny/vue'
|
import { HuichartsBar as TinyChartBar } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
data: [
|
data: [
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartBar } from '@opentiny/vue'
|
import { HuichartsBar } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyBar: ChartBar
|
TinyBar: HuichartsBar
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartBar as TinyChartBar } from '@opentiny/vue'
|
import { HuichartsBar as TinyChartBar } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
data: [
|
data: [
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartBar } from '@opentiny/vue'
|
import { HuichartsBar } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyBar: ChartBar
|
TinyBar: HuichartsBar
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartBar as TinyChartBar } from '@opentiny/vue'
|
import { HuichartsBar as TinyChartBar } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
data: [
|
data: [
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartBar } from '@opentiny/vue'
|
import { HuichartsBar } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyBar: ChartBar
|
TinyBar: HuichartsBar
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartBar as TinyChartBar } from '@opentiny/vue'
|
import { HuichartsBar as TinyChartBar } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
data: [
|
data: [
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartBar } from '@opentiny/vue'
|
import { HuichartsBar } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyBar: ChartBar
|
TinyBar: HuichartsBar
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartBar as TinyChartBar } from '@opentiny/vue'
|
import { HuichartsBar as TinyChartBar } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
data: [
|
data: [
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartBar } from '@opentiny/vue'
|
import { HuichartsBar } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyBar: ChartBar
|
TinyBar: HuichartsBar
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,8 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartBar as TinyChartBar } from '@opentiny/vue'
|
import { HuichartsBar as TinyChartBar } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
// 双向柱状图形态
|
// 双向柱状图形态
|
||||||
type: 'double-sides',
|
type: 'double-sides',
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartBar } from '@opentiny/vue'
|
import { HuichartsBar } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyBar: ChartBar
|
TinyBar: HuichartsBar
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { Chart as TinyChart, Button as TinyButton } from '@opentiny/vue'
|
import { Huicharts as TinyChart, Button as TinyButton } from '@opentiny/vue'
|
||||||
|
|
||||||
const colorMode = ref('default')
|
const colorMode = ref('default')
|
||||||
const key = ref(0)
|
const key = ref(0)
|
||||||
|
|
|
@ -27,11 +27,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { Chart, Button } from '@opentiny/vue'
|
import { Huicharts, Button } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyChart: Chart,
|
TinyChart: Huicharts,
|
||||||
TinyButton: Button
|
TinyButton: Button
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { BaiduMap as TinyBaiduMap } from '@opentiny/vue'
|
import { HuichartsBmap as TinyBaiduMap } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
key: 'oBvDtR6nzWtVchkY4cLHtnah1VVZQKRK',
|
key: 'oBvDtR6nzWtVchkY4cLHtnah1VVZQKRK',
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { BaiduMap } from '@opentiny/vue'
|
import { HuichartsBmap } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyBaiduMap: BaiduMap
|
TinyBaiduMap: HuichartsBmap
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartBoxplot as TinyChartBoxplot } from '@opentiny/vue'
|
import { HuichartsBoxplot as TinyChartBoxplot } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
data: [
|
data: [
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartBoxplot } from '@opentiny/vue'
|
import { HuichartsBoxplot } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyBoxplot: ChartBoxplot
|
TinyBoxplot: HuichartsBoxplot
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartBoxplot as TinyChartBoxplot } from '@opentiny/vue'
|
import { HuichartsBoxplot as TinyChartBoxplot } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
direction: 'horizontal', // 横向
|
direction: 'horizontal', // 横向
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartBoxplot } from '@opentiny/vue'
|
import { HuichartsBoxplot } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyBoxplot: ChartBoxplot
|
TinyBoxplot: HuichartsBoxplot
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ChartBoxplot as TinyChartBoxplot } from '@opentiny/vue'
|
import { HuichartsBoxplot as TinyChartBoxplot } from '@opentiny/vue'
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
|
|
||||||
function makeData() {
|
function makeData() {
|
||||||
|
|
|
@ -3,17 +3,17 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartBoxplot } from '@opentiny/vue'
|
import { HuichartsBoxplot } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyBoxplot: ChartBoxplot
|
TinyBoxplot: HuichartsBoxplot
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
const sourceData0 = this.makeData()
|
||||||
|
const sourceData1 = this.makeData()
|
||||||
|
const sourceData2 = this.makeData()
|
||||||
return {
|
return {
|
||||||
sourceData0: makeData(),
|
|
||||||
sourceData1: makeData(),
|
|
||||||
sourceData2: makeData(),
|
|
||||||
options: {
|
options: {
|
||||||
padding: [50, 30, 55, 20],
|
padding: [50, 30, 55, 20],
|
||||||
xAxis: {
|
xAxis: {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartCandle as TinyChartCandle } from '@opentiny/vue'
|
import { HuichartsCandle as TinyChartCandle } from '@opentiny/vue'
|
||||||
|
|
||||||
const baseData = [
|
const baseData = [
|
||||||
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],
|
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartCandle } from '@opentiny/vue'
|
import { HuichartsCandle } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyCandle: ChartCandle
|
TinyCandle: HuichartsCandle
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartCandle as TinyChartCandle } from '@opentiny/vue'
|
import { HuichartsCandle as TinyChartCandle } from '@opentiny/vue'
|
||||||
|
|
||||||
const baseData = [
|
const baseData = [
|
||||||
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],
|
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartCandle } from '@opentiny/vue'
|
import { HuichartsCandle } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyCandle: ChartCandle
|
TinyCandle: HuichartsCandle
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartCandle as TinyChartCandle } from '@opentiny/vue'
|
import { HuichartsCandle as TinyChartCandle } from '@opentiny/vue'
|
||||||
|
|
||||||
const baseData = [
|
const baseData = [
|
||||||
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],
|
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartCandle } from '@opentiny/vue'
|
import { HuichartsCandle } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyCandle: ChartCandle
|
TinyCandle: HuichartsCandle
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartCandle as TinyChartCandle } from '@opentiny/vue'
|
import { HuichartsCandle as TinyChartCandle } from '@opentiny/vue'
|
||||||
|
|
||||||
const baseData = [
|
const baseData = [
|
||||||
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],
|
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartCandle } from '@opentiny/vue'
|
import { HuichartsCandle } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyCandle: ChartCandle
|
TinyCandle: HuichartsCandle
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartCandle as TinyChartCandle } from '@opentiny/vue'
|
import { HuichartsCandle as TinyChartCandle } from '@opentiny/vue'
|
||||||
|
|
||||||
const baseData = [
|
const baseData = [
|
||||||
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],
|
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartCandle } from '@opentiny/vue'
|
import { HuichartsCandle } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyCandle: ChartCandle
|
TinyCandle: HuichartsCandle
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartCandle as TinyChartCandle } from '@opentiny/vue'
|
import { HuichartsCandle as TinyChartCandle } from '@opentiny/vue'
|
||||||
|
|
||||||
const baseData = [
|
const baseData = [
|
||||||
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],
|
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartCandle } from '@opentiny/vue'
|
import { HuichartsCandle } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyCandle: ChartCandle
|
TinyCandle: HuichartsCandle
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartPie as TinyChartPie, Modal as TinyModal } from '@opentiny/vue'
|
import { HuichartsPie as TinyChartPie, Modal as TinyModal } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
type: 'pie',
|
type: 'pie',
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartPie, Modal as TinyModal } from '@opentiny/vue'
|
import { HuichartsPie, Modal as TinyModal } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyPie: ChartPie
|
TinyPie: HuichartsPie
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartFunnel as TinyChartFunnel } from '@opentiny/vue'
|
import { HuichartsFunnel as TinyChartFunnel } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
data: [
|
data: [
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartFunnel } from '@opentiny/vue'
|
import { HuichartsFunnel } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyFunnel: ChartFunnel
|
TinyFunnel: HuichartsFunnel
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartFunnel as TinyChartFunnel } from '@opentiny/vue'
|
import { HuichartsFunnel as TinyChartFunnel } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
sort: 'ascending',
|
sort: 'ascending',
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartFunnel } from '@opentiny/vue'
|
import { HuichartsFunnel } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyFunnel: ChartFunnel
|
TinyFunnel: HuichartsFunnel
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartFunnel as TinyChartFunnel } from '@opentiny/vue'
|
import { HuichartsFunnel as TinyChartFunnel } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
maxSize: '80%',
|
maxSize: '80%',
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartFunnel } from '@opentiny/vue'
|
import { HuichartsFunnel } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyFunnel: ChartFunnel
|
TinyFunnel: HuichartsFunnel
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartFunnel as TinyChartFunnel } from '@opentiny/vue'
|
import { HuichartsFunnel as TinyChartFunnel } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
gap: 10,
|
gap: 10,
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartFunnel } from '@opentiny/vue'
|
import { HuichartsFunnel } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyFunnel: ChartFunnel
|
TinyFunnel: HuichartsFunnel
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartFunnel as TinyChartFunnel } from '@opentiny/vue'
|
import { HuichartsFunnel as TinyChartFunnel } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
color: ['#fa2a2d', '#ff7500', '#ffbf00', '#41ba41'], // 自定义颜色组,循环使用该颜色组
|
color: ['#fa2a2d', '#ff7500', '#ffbf00', '#41ba41'], // 自定义颜色组,循环使用该颜色组
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartFunnel } from '@opentiny/vue'
|
import { HuichartsFunnel } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyFunnel: ChartFunnel
|
TinyFunnel: HuichartsFunnel
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartFunnel as TinyChartFunnel } from '@opentiny/vue'
|
import { HuichartsFunnel as TinyChartFunnel } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
legend: {
|
legend: {
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartFunnel } from '@opentiny/vue'
|
import { HuichartsFunnel } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyFunnel: ChartFunnel
|
TinyFunnel: HuichartsFunnel
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartFunnel as TinyChartFunnel } from '@opentiny/vue'
|
import { HuichartsFunnel as TinyChartFunnel } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
tipHtml: (params, ticket, callback) => {
|
tipHtml: (params, ticket, callback) => {
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartFunnel } from '@opentiny/vue'
|
import { HuichartsFunnel } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyFunnel: ChartFunnel
|
TinyFunnel: HuichartsFunnel
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartGauge as TinyChartGauge } from '@opentiny/vue'
|
import { HuichartsGauge as TinyChartGauge } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
data: [
|
data: [
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartGauge } from '@opentiny/vue'
|
import { HuichartsGauge } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyGauge: ChartGauge
|
TinyGauge: HuichartsGauge
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartGauge as TinyChartGauge } from '@opentiny/vue'
|
import { HuichartsGauge as TinyChartGauge } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
// 仪表盘的最小值
|
// 仪表盘的最小值
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartGauge } from '@opentiny/vue'
|
import { HuichartsGauge } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyGauge: ChartGauge
|
TinyGauge: HuichartsGauge
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartGauge as TinyChartGauge } from '@opentiny/vue'
|
import { HuichartsGauge as TinyChartGauge } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
// splitColor 分割仪表盘
|
// splitColor 分割仪表盘
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartGauge } from '@opentiny/vue'
|
import { HuichartsGauge } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyGauge: ChartGauge
|
TinyGauge: HuichartsGauge
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartGauge as TinyChartGauge } from '@opentiny/vue'
|
import { HuichartsGauge as TinyChartGauge } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
position: {
|
position: {
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartGauge } from '@opentiny/vue'
|
import { HuichartsGauge } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyGauge: ChartGauge
|
TinyGauge: HuichartsGauge
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartGauge as TinyChartGauge } from '@opentiny/vue'
|
import { HuichartsGauge as TinyChartGauge } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
// gradientColor表示从仪表盘左到右的渐变色
|
// gradientColor表示从仪表盘左到右的渐变色
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartGauge } from '@opentiny/vue'
|
import { HuichartsGauge } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyGauge: ChartGauge
|
TinyGauge: HuichartsGauge
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartGauge as TinyChartGauge } from '@opentiny/vue'
|
import { HuichartsGauge as TinyChartGauge } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
min: 0,
|
min: 0,
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartGauge } from '@opentiny/vue'
|
import { HuichartsGauge } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyGauge: ChartGauge
|
TinyGauge: HuichartsGauge
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartGraph as TinyChartGraph } from '@opentiny/vue'
|
import { HuichartsGraph as TinyChartGraph } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
animationDurationUpdate: 1600,
|
animationDurationUpdate: 1600,
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartGraph } from '@opentiny/vue'
|
import { HuichartsGraph } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyGraph: ChartGraph
|
TinyGraph: HuichartsGraph
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartGraph as TinyChartGraph } from '@opentiny/vue'
|
import { HuichartsGraph as TinyChartGraph } from '@opentiny/vue'
|
||||||
|
|
||||||
let axisData = ['周一', '周二', '周三', '很长很长的周四', '周五', '周六', '周日']
|
let axisData = ['周一', '周二', '周三', '很长很长的周四', '周五', '周六', '周日']
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { ChartGraph } from '@opentiny/vue'
|
import { HuichartsGraph } from '@opentiny/vue'
|
||||||
|
|
||||||
let axisData = ['周一', '周二', '周三', '很长很长的周四', '周五', '周六', '周日']
|
let axisData = ['周一', '周二', '周三', '很长很长的周四', '周五', '周六', '周日']
|
||||||
const data = [800, 600, 900, 1500, 3200, 4800, 900]
|
const data = [800, 600, 900, 1500, 3200, 4800, 900]
|
||||||
|
@ -52,7 +52,7 @@ let option = {
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyGraph: ChartGraph
|
TinyGraph: HuichartsGraph
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartHeatmap as TinyChartHeatmap } from '@opentiny/vue'
|
import { HuichartsHeatmap as TinyChartHeatmap } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
// 图表类型(矩形热力图)
|
// 图表类型(矩形热力图)
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartHeatmap } from '@opentiny/vue'
|
import { HuichartsHeatmap } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyHeatmap: ChartHeatmap
|
TinyHeatmap: HuichartsHeatmap
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartHeatmap as TinyChartHeatmap } from '@opentiny/vue'
|
import { HuichartsHeatmap as TinyChartHeatmap } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
// 图表类型(矩形热力图)
|
// 图表类型(矩形热力图)
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartHeatmap } from '@opentiny/vue'
|
import { HuichartsHeatmap } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyHeatmap: ChartHeatmap
|
TinyHeatmap: HuichartsHeatmap
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartHeatmap as TinyChartHeatmap } from '@opentiny/vue'
|
import { HuichartsHeatmap as TinyChartHeatmap } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
// 图表类型(矩形热力图)
|
// 图表类型(矩形热力图)
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartHeatmap } from '@opentiny/vue'
|
import { HuichartsHeatmap } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyHeatmap: ChartHeatmap
|
TinyHeatmap: HuichartsHeatmap
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartHistogram as TinyChartHistogram } from '@opentiny/vue'
|
import { HuichartsHistogram as TinyChartHistogram } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
data: [
|
data: [
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartHistogram } from '@opentiny/vue'
|
import { HuichartsHistogram } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyHistogram: ChartHistogram
|
TinyHistogram: HuichartsHistogram
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartHistogram as TinyChartHistogram } from '@opentiny/vue'
|
import { HuichartsHistogram as TinyChartHistogram } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
padding: [40, 10, 40, 10],
|
padding: [40, 10, 40, 10],
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartHistogram } from '@opentiny/vue'
|
import { HuichartsHistogram } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyHistogram: ChartHistogram
|
TinyHistogram: HuichartsHistogram
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartHistogram as TinyChartHistogram } from '@opentiny/vue'
|
import { HuichartsHistogram as TinyChartHistogram } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartHistogram } from '@opentiny/vue'
|
import { HuichartsHistogram } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyHistogram: ChartHistogram
|
TinyHistogram: HuichartsHistogram
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartHistogram as TinyChartHistogram } from '@opentiny/vue'
|
import { HuichartsHistogram as TinyChartHistogram } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
legend: {
|
legend: {
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartHistogram } from '@opentiny/vue'
|
import { HuichartsHistogram } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyHistogram: ChartHistogram
|
TinyHistogram: HuichartsHistogram
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartHistogram as TinyChartHistogram } from '@opentiny/vue'
|
import { HuichartsHistogram as TinyChartHistogram } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
legend: {
|
legend: {
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartHistogram } from '@opentiny/vue'
|
import { HuichartsHistogram } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyHistogram: ChartHistogram
|
TinyHistogram: HuichartsHistogram
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartHistogram as TinyChartHistogram } from '@opentiny/vue'
|
import { HuichartsHistogram as TinyChartHistogram } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartHistogram } from '@opentiny/vue'
|
import { HuichartsHistogram } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyHistogram: ChartHistogram
|
TinyHistogram: HuichartsHistogram
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartHistogram as TinyChartHistogram } from '@opentiny/vue'
|
import { HuichartsHistogram as TinyChartHistogram } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
legend: {
|
legend: {
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartHistogram } from '@opentiny/vue'
|
import { HuichartsHistogram } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyHistogram: ChartHistogram
|
TinyHistogram: HuichartsHistogram
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartHistogram as TinyChartHistogram } from '@opentiny/vue'
|
import { HuichartsHistogram as TinyChartHistogram } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
data: [
|
data: [
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartHistogram } from '@opentiny/vue'
|
import { HuichartsHistogram } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyHistogram: ChartHistogram
|
TinyHistogram: HuichartsHistogram
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartLine as TinyChartLine } from '@opentiny/vue'
|
import { HuichartsLine as TinyChartLine } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
padding: [50, 30, 50, 20],
|
padding: [50, 30, 50, 20],
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartLine } from '@opentiny/vue'
|
import { HuichartsLine } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyLine: ChartLine
|
TinyLine: HuichartsLine
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartLine as TinyChartLine } from '@opentiny/vue'
|
import { HuichartsLine as TinyChartLine } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
padding: [50, 30, 50, 20],
|
padding: [50, 30, 50, 20],
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartLine } from '@opentiny/vue'
|
import { HuichartsLine } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyLine: ChartLine
|
TinyLine: HuichartsLine
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartLine as TinyChartLine } from '@opentiny/vue'
|
import { HuichartsLine as TinyChartLine } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
padding: [50, 30, 50, 20],
|
padding: [50, 30, 50, 20],
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
import { ChartLine } from '@opentiny/vue'
|
import { HuichartsLine } from '@opentiny/vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
TinyLine: ChartLine
|
TinyLine: HuichartsLine
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { ChartLine as TinyChartLine } from '@opentiny/vue'
|
import { HuichartsLine as TinyChartLine } from '@opentiny/vue'
|
||||||
|
|
||||||
const options = ref({
|
const options = ref({
|
||||||
padding: [50, 30, 50, 20],
|
padding: [50, 30, 50, 20],
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue