---
title: 清家底
order: 26
---

## 停车解决方案-清家底

````jsx
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import { Chart } from '@linkdesign/screen';

const { BarStackChart } = Chart;

const App = () => {
  return (
    <div data-mode="screen">
      <BarStackChart
        title="接入停车场"
        total={100}
        dataSource={[{
          label: '图例标签指标',
          value: '20%',
          rate: 20,
          color: '#3B81FF',
        }, {
          label: '图例标签指标',
          value: '30%',
          rate: 30,
          color: '#2ACA96',
        }, {
          label: '图例标签指标',
          value: '50%',
          rate: 50,
          color: '#FEC400',
        }]}
        universalStyle={{ width: '450px' }}
        normOptions={{ widthRate: 40 }}
      />
    </div>
  );
}

ReactDOM.render((
  <App />
), mountNode);
````

````css

````
