Quellcode durchsuchen

修复legand和series重叠

kagg886 vor 1 Monat
Ursprung
Commit
52c688142e

+ 0 - 1
src/components/markdown/plugins/impl/VueCharts.vue

@@ -40,7 +40,6 @@ const setOption = () => {
 			left: '3%',
 			right: '4%',
 			bottom: '3%',
-			top: '3%',
 			containLabel: true,
 		},
 		tooltip: {

+ 3 - 0
src/components/markdown/plugins/struct-data.ts

@@ -50,6 +50,9 @@ const StructDataPlugin = defineMarkdownPlugin({
 	renderer: (node: { attribs: Record<string, string> }) => {
 		return h(VueStructData, {
 			uuid: decodeURIComponent(node.attribs.uuid || ''),
+			style: {
+				'height': '400px'
+			}
 		})
 	},
 })