@@ -1612,4 +1612,53 @@ import { PieChart } from '@/afcl'
16121612 </div >
16131613</div >
16141614
1615+ ## Mixed Chart
1616+
1617+ ``` ts
1618+ import { MixedChart } from ' @/afcl'
1619+ ```
1620+
1621+ ### Basic
1622+
1623+ <div class =" split-screen " >
1624+
1625+ <div >
1626+ ``` html
1627+ <MixedChart
1628+ :data =" [
1629+ { x: '02 Jun 2025', avgPrice: 100, listedPrice: 100, unlistedPrice: 100},
1630+ { x: '03 Jun 2025', avgPrice: 280, listedPrice: 130, unlistedPrice: 200},
1631+ { x: '04 Jun 2025', avgPrice: 150, listedPrice: 90, unlistedPrice: 60},
1632+ { x: '05 Jun 2025', avgPrice: 100, listedPrice: 100, unlistedPrice: 100},
1633+ { x: '06 Jun 2025', avgPrice: 200, listedPrice: 290, unlistedPrice: 180},
1634+ { x: '07 Jun 2025', avgPrice: 100, listedPrice: 100, unlistedPrice: 100},
1635+ ]"
1636+ :series =" [
1637+ { name: $t('Avg Price'), fieldName: 'avgPrice', type: 'line', color: COLORS[0] },
1638+ { name: $t('Listed Price'), fieldName: 'listedPrice', type: 'column', color: COLORS[1] },
1639+ { name: $t('Unlisted Price'), fieldName: 'unlistedPrice', type: 'area', color: COLORS[2] },
1640+
1641+ ]"
1642+ :options =" {
1643+ chart: {
1644+ height: 350,
1645+ },
1646+ stroke: {
1647+ width: [6, 0, 6], // Line: 6px, Column: 0px (no border), Area: 6px
1648+ },
1649+ fill: {
1650+ opacity: [1, 0.85, 0.25], // Line: 1, Column: 0.85, Area: 0.25
1651+ },
1652+ }"
1653+ />
1654+ ```
1655+ </div >
1656+ <div >
1657+ 
1658+ </div >
1659+ </div >
1660+
1661+
1662+
1663+
16151664
0 commit comments