提交 7a281e8e authored 作者: junjie's avatar junjie

feat: 视图坐标轴设置增加属性设置

上级 544f4d8a
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
</template> </template>
<script> <script>
import { DEFAULT_XAXIS_STYLE, DEFAULT_YAXIS_STYLE } from '../../chart/chart' import { DEFAULT_YAXIS_STYLE } from '../../chart/chart'
export default { export default {
name: 'YAxisSelector', name: 'YAxisSelector',
...@@ -121,7 +121,7 @@ export default { ...@@ -121,7 +121,7 @@ export default {
this.axisForm.splitLine = JSON.parse(JSON.stringify(DEFAULT_YAXIS_STYLE.splitLine)) this.axisForm.splitLine = JSON.parse(JSON.stringify(DEFAULT_YAXIS_STYLE.splitLine))
} }
if (!this.axisForm.nameTextStyle) { if (!this.axisForm.nameTextStyle) {
this.axisForm.nameTextStyle = JSON.parse(JSON.stringify(DEFAULT_XAXIS_STYLE.nameTextStyle)) this.axisForm.nameTextStyle = JSON.parse(JSON.stringify(DEFAULT_YAXIS_STYLE.nameTextStyle))
} }
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论