optimizations
This commit is contained in:
@@ -4,6 +4,7 @@ import { provide } from 'vue';
|
||||
import Graph from '@/components/SvgGraph.vue';
|
||||
import Axis from '@/components/GraphAxis.vue';
|
||||
import Line from '@/components/TelemetryLine.vue';
|
||||
import { AxisSide } from '@/graph/axis';
|
||||
|
||||
const websocket = useWebsocket();
|
||||
provide(WEBSOCKET_SYMBOL, websocket);
|
||||
@@ -11,6 +12,18 @@ provide(WEBSOCKET_SYMBOL, websocket);
|
||||
|
||||
<template>
|
||||
<main>
|
||||
<Graph
|
||||
:width="800"
|
||||
:height="400"
|
||||
:border_top_bottom="24"
|
||||
:border_left_right="128"
|
||||
>
|
||||
<Axis>
|
||||
<Line data="simple_producer/time_offset"></Line>
|
||||
<Line data="simple_producer/publish_offset"></Line>
|
||||
<Line data="simple_producer/await_offset"></Line>
|
||||
</Axis>
|
||||
</Graph>
|
||||
<Graph
|
||||
:width="800"
|
||||
:height="400"
|
||||
@@ -20,41 +33,28 @@ provide(WEBSOCKET_SYMBOL, websocket);
|
||||
<Axis>
|
||||
<Line data="simple_producer/sin"></Line>
|
||||
<Line data="simple_producer/cos4"></Line>
|
||||
</Axis>
|
||||
</Graph>
|
||||
<Graph
|
||||
:width="800"
|
||||
:height="400"
|
||||
:border_top_bottom="24"
|
||||
:border_left_right="128"
|
||||
>
|
||||
<Axis>
|
||||
<Line data="simple_producer/sin2"></Line>
|
||||
<Line data="simple_producer/cos"></Line>
|
||||
</Axis>
|
||||
</Graph>
|
||||
<Graph
|
||||
:width="800"
|
||||
:height="400"
|
||||
:border_top_bottom="24"
|
||||
:border_left_right="128"
|
||||
>
|
||||
<Axis>
|
||||
<Line data="simple_producer/sin3"></Line>
|
||||
<Line data="simple_producer/cos2"></Line>
|
||||
</Axis>
|
||||
</Graph>
|
||||
<Graph
|
||||
:width="800"
|
||||
:height="400"
|
||||
:border_top_bottom="24"
|
||||
:border_left_right="128"
|
||||
>
|
||||
<Axis>
|
||||
<Line data="simple_producer/sin4"></Line>
|
||||
<Line data="simple_producer/cos3"></Line>
|
||||
</Axis>
|
||||
</Graph>
|
||||
<Graph
|
||||
:width="800"
|
||||
:height="400"
|
||||
:border_top_bottom="24"
|
||||
:border_left_right="128"
|
||||
>
|
||||
</Graph>
|
||||
<Graph
|
||||
:width="800"
|
||||
:height="400"
|
||||
:border_top_bottom="24"
|
||||
:border_left_right="128"
|
||||
>
|
||||
</Graph>
|
||||
</main>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user