change format settings
This commit is contained in:
@@ -1,28 +1,28 @@
|
||||
<script setup lang="ts">
|
||||
import { useWebsocket, WEBSOCKET_SYMBOL } from '@/composables/websocket'
|
||||
import { provide } from 'vue'
|
||||
import Graph from '@/components/SvgGraph.vue'
|
||||
import Axis from '@/components/GraphAxis.vue'
|
||||
import Line from '@/components/TelemetryLine.vue'
|
||||
import { useWebsocket, WEBSOCKET_SYMBOL } from '@/composables/websocket';
|
||||
import { provide } from 'vue';
|
||||
import Graph from '@/components/SvgGraph.vue';
|
||||
import Axis from '@/components/GraphAxis.vue';
|
||||
import Line from '@/components/TelemetryLine.vue';
|
||||
|
||||
const websocket = useWebsocket()
|
||||
provide(WEBSOCKET_SYMBOL, websocket)
|
||||
const websocket = useWebsocket();
|
||||
provide(WEBSOCKET_SYMBOL, websocket);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main>
|
||||
<Graph
|
||||
:width="1500"
|
||||
:height="800"
|
||||
:border_top_bottom="24"
|
||||
:border_left_right="64"
|
||||
>
|
||||
<Axis>
|
||||
<Line data="simple_producer/sin" color="#FF0000"></Line>
|
||||
<Line data="simple_producer/cos" color="#00FF00"></Line>
|
||||
</Axis>
|
||||
</Graph>
|
||||
</main>
|
||||
<main>
|
||||
<Graph
|
||||
:width="1500"
|
||||
:height="800"
|
||||
:border_top_bottom="24"
|
||||
:border_left_right="64"
|
||||
>
|
||||
<Axis>
|
||||
<Line data="simple_producer/sin" color="#FF0000"></Line>
|
||||
<Line data="simple_producer/cos" color="#00FF00"></Line>
|
||||
</Axis>
|
||||
</Graph>
|
||||
</main>
|
||||
</template>
|
||||
|
||||
<style></style>
|
||||
|
||||
Reference in New Issue
Block a user