<template>
  <div class="style-line">
    <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.lineWidth"></el-input-number>
      </el-form-item>
      <el-form-item label="线类型">
        <el-select v-model="option.lineType">
          <el-option label="实线" value="solid"></el-option>
          <el-option label="虚线" value="dashed"></el-option>
          <el-option label="点线" value="dotted"></el-option>
        </el-select>
      </el-form-item>
      <el-form-item label="线条平滑">
        <el-switch v-model="option.lineSmooth"></el-switch>
      </el-form-item>
    </el-form>
  </div>
</template>
<script>
export default {
  props: ["option"],
  data() {
    return {
      show: false,
    };
  },
  methods: {},
};
</script>
<style lang="scss">
</style>
