@fxlt/common-ui 0.0.5-rc2 → 0.0.5-rc3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1514,8 +1514,8 @@ class ChartComponent {
1514
1514
  },
1515
1515
  labelLine: {
1516
1516
  show: this.showPieLabel,
1517
- length: 12,
1518
- length2: 12,
1517
+ length: 7,
1518
+ length2: 7,
1519
1519
  },
1520
1520
  itemStyle: {
1521
1521
  borderWidth: 0,
@@ -1528,23 +1528,6 @@ class ChartComponent {
1528
1528
  },
1529
1529
  },
1530
1530
  ],
1531
- media: [
1532
- {
1533
- query: { maxWidth: 480 },
1534
- option: {
1535
- legend: {
1536
- orient: 'horizontal',
1537
- left: 'center',
1538
- bottom: 0,
1539
- },
1540
- series: [
1541
- {
1542
- center: ['50%', '40%'],
1543
- },
1544
- ],
1545
- },
1546
- },
1547
- ],
1548
1531
  graphic: {
1549
1532
  type: 'group',
1550
1533
  left: '40%',
@@ -1566,6 +1549,27 @@ class ChartComponent {
1566
1549
  },
1567
1550
  ],
1568
1551
  },
1552
+ media: [
1553
+ {
1554
+ query: { maxWidth: 350 },
1555
+ option: {
1556
+ graphic: {
1557
+ left: '50%',
1558
+ top: '40%',
1559
+ },
1560
+ series: [
1561
+ {
1562
+ center: ['50%', '40%'],
1563
+ },
1564
+ ],
1565
+ legend: {
1566
+ orient: 'vertical',
1567
+ left: 'center',
1568
+ bottom: 0,
1569
+ },
1570
+ },
1571
+ },
1572
+ ],
1569
1573
  };
1570
1574
  },
1571
1575
  sunburst: (data, colors) => ({