|
@@ -319,6 +319,9 @@ export default {
|
|
})
|
|
})
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
this.$refs.graphRef.setOptions(this.graphOptions, async (graphInstance) => {
|
|
this.$refs.graphRef.setOptions(this.graphOptions, async (graphInstance) => {
|
|
|
|
+ if (!this.$refs.graphRef.setJsonData) {
|
|
|
|
+ return
|
|
|
|
+ }
|
|
this.$refs.graphRef.setJsonData(data, async (_graphInstance) => {
|
|
this.$refs.graphRef.setJsonData(data, async (_graphInstance) => {
|
|
await _graphInstance.setZoom(75)
|
|
await _graphInstance.setZoom(75)
|
|
successCallback()
|
|
successCallback()
|