<template>
  <div class="style-ylabel">
    <div class="setting-title" @click="show = !show">
      <div>图表属性</div>
      <e class="el-icon-arrow-right" v-show="!show"></e>
      <e class="el-icon-arrow-down" v-show="show"></e>
    </div>
    <el-form size="mini" label-width="30%" v-show="show">
      <el-form-item label="左边距">
        <el-input-number v-model="option.gridLeft"></el-input-number>
      </el-form-item>
      <el-form-item label="右边距">
        <el-input-number v-model="option.gridRight"></el-input-number>
      </el-form-item>
      <el-form-item label="上边距">
        <el-input-number v-model="option.gridTop"></el-input-number>
      </el-form-item>
      <el-form-item label="下边距">
        <el-input-number v-model="option.gridBottom"></el-input-number>
      </el-form-item>
    </el-form>
  </div>
</template>
<script>
export default {
  props: ["option"],
  data() {
    return {
      show: false,
    };
  },
  methods: {},
};
</script>
<style lang="scss">
</style>
