From 41499e8e658b1ab81f8e1b696fb9c1fd27654a18 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Mon, 15 Jan 2018 18:23:06 +0300 Subject: [PATCH] Add multiple axes test --- .../mocks/gl2d_multiple-traces-axes.json | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 test/image/mocks/gl2d_multiple-traces-axes.json diff --git a/test/image/mocks/gl2d_multiple-traces-axes.json b/test/image/mocks/gl2d_multiple-traces-axes.json new file mode 100644 index 00000000000..43edcc4e0f4 --- /dev/null +++ b/test/image/mocks/gl2d_multiple-traces-axes.json @@ -0,0 +1,44 @@ +{ + "data": [ + { + "x": [ + 0, + 1, + 2 + ], + "y": [ + 0, + 1, + 2 + ], + "mode": "lines+markers", + "type": "scattergl" + }, + { + "x": [ + 0, + 1, + 2 + ], + "y": [ + 2, + 1, + 0 + ], + "mode": "lines+markers", + "type": "scattergl", + "yaxis": "y2" + } + ], + "layout": { + "width": 700, + "height": 500, + "yaxis": { + "side": "left" + }, + "yaxis2": { + "side": "right", + "overlaying": "y" + } + } +}