add graph legends
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 { GraphSide } from '@/graph/graph';
|
||||
|
||||
const websocket = useWebsocket();
|
||||
provide(WEBSOCKET_SYMBOL, websocket);
|
||||
@@ -15,6 +16,7 @@ provide(WEBSOCKET_SYMBOL, websocket);
|
||||
:width="800"
|
||||
:height="400"
|
||||
:right_axis="true"
|
||||
:legend="GraphSide.Left"
|
||||
>
|
||||
<Axis>
|
||||
<Line data="simple_producer/time_offset"></Line>
|
||||
@@ -27,6 +29,7 @@ provide(WEBSOCKET_SYMBOL, websocket);
|
||||
:height="400"
|
||||
:duration="60 * 1000 * 10"
|
||||
:right_axis="true"
|
||||
:legend="GraphSide.Right"
|
||||
>
|
||||
<Axis>
|
||||
<Line
|
||||
|
||||
Reference in New Issue
Block a user