echarts_adapter
Adapter for converting sync graph to ECharts visualization format.
Functions:
-
get_status_color–Get the color for a diagnostic status.
-
sync_graph_to_echart_options–Convert a SyncGraph to an ECharts options dict containing a graph series.
sync_graph_to_echart_options
sync_graph_to_echart_options(sg: SyncGraph)
Convert a SyncGraph to an ECharts options dict containing a graph series.