<template>
  <div class="new-bar-option">
    <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="35%" v-show="show">
      <el-form-item label="显示标签">
        <el-switch v-model="option.isLabel"></el-switch>
      </el-form-item>
      <el-form-item label="显示标签" v-if="option.isLabel">
        <el-checkbox v-model="option.isWeidu">维度</el-checkbox>
        <el-checkbox v-model="option.isZhibiao">指标</el-checkbox>
        <el-checkbox v-model="option.isBfb">百分比</el-checkbox>
      </el-form-item>
    </el-form>
  </div>
</template>
<script>
export default {
  name: "new-gauge-option",
  props: ["option"],
  data() {
    return {
      show: true,
    };
  },
};
</script>
<style lang="scss">
.new-bar-option {
}
</style>
