<template>
    <hc-new-card title="各标完成投资柱状图">
        <hc-charts :option="chartsOption" />
    </hc-new-card>
</template>

<script setup>
import { ref } from 'vue'

defineOptions({
    name: 'DebitPayLedgersStandards',
})

const chartsOption = ref({
    color: ['#99CC98', '#FF999A'],
    legend: {},
    tooltip: {},
    grid: {
        top: '50px',
        left: '0',
        right: '6px',
        bottom: '0',
        containLabel: true,
    },
    dataset: {
        source: [
            ['product', '变更后金额', '累计计量金额'],
            ['第一合同段', 43.3, 85.8],
            ['第二合同段', 83.1, 73.4],
            ['第一总监办', 86.4, 65.2],
        ],
    },
    xAxis: { type: 'category' },
    yAxis: {},
    series: [{ type: 'bar' }, { type: 'bar' }],
})
</script>

<style scoped lang="scss">

</style>
