From b18251758b6d83778ebce4abd8254a34bd8fba1f Mon Sep 17 00:00:00 2001 From: etimberg Date: Tue, 10 Apr 2018 18:37:40 -0400 Subject: [PATCH] Test --- test/fixtures/core.scale/tick-drawing.json | 79 +++++++++++++++++++++ test/fixtures/core.scale/tick-drawing.png | Bin 0 -> 958 bytes 2 files changed, 79 insertions(+) create mode 100644 test/fixtures/core.scale/tick-drawing.json create mode 100644 test/fixtures/core.scale/tick-drawing.png diff --git a/test/fixtures/core.scale/tick-drawing.json b/test/fixtures/core.scale/tick-drawing.json new file mode 100644 index 00000000000..7c9d6da7abe --- /dev/null +++ b/test/fixtures/core.scale/tick-drawing.json @@ -0,0 +1,79 @@ +{ + "config": { + "type": "horizontalBar", + "data": { + "labels": ["January", "February", "March", "April", "May", "June", "July"], + "datasets": [] + }, + "options": { + "legend": false, + "title": false, + "scales": { + "xAxes": [{ + "type": "category", + "position": "top", + "id": "x-axis-1", + "ticks": { + "display": false + }, + "gridLines":{ + "drawOnChartArea": false, + "drawBorder": false, + "color": "rgba(0, 0, 0, 1)", + "zeroLineColor": "rgba(0, 0, 0, 1)" + } + }, { + "type": "category", + "position": "bottom", + "id": "x-axis-2", + "ticks": { + "display": false + }, + "gridLines":{ + "drawOnChartArea": false, + "drawBorder": false, + "color": "rgba(0, 0, 0, 1)", + "zeroLineColor": "rgba(0, 0, 0, 1)" + } + }], + "yAxes": [{ + "position": "left", + "id": "y-axis-1", + "type": "linear", + "ticks": { + "display": false, + "min": -100, + "max": 100 + }, + "gridLines":{ + "drawOnChartArea": false, + "drawBorder": false, + "color": "rgba(0, 0, 0, 1)", + "zeroLineColor": "rgba(0, 0, 0, 1)" + } + }, { + "type": "linear", + "id": "y-axis-2", + "position": "right", + "ticks": { + "display": false, + "min": 0, + "max": 50 + }, + "gridLines":{ + "drawOnChartArea": false, + "drawBorder": false, + "color": "rgba(0, 0, 0, 1)", + "zeroLineColor": "rgba(0, 0, 0, 1)" + } + }] + } + } + }, + "options": { + "canvas": { + "height": 256, + "width": 512 + } + } +} diff --git a/test/fixtures/core.scale/tick-drawing.png b/test/fixtures/core.scale/tick-drawing.png new file mode 100644 index 0000000000000000000000000000000000000000..fb80cd0123293cde8b79ec2b63b9f9c25c589573 GIT binary patch literal 958 zcmeAS@N?(olHy`uVBq!ia0y~yU;;83893O0)X@p&(is?-TRmMILn`LHy|yv;hyxFU z-!I8|apS_qg~`sx-R@mHZi3*p zF(+usN?VyhL>@9kcpY!+>X8 zHPH^8^IVFLVZ;53_2hUF6pQ;m#{CD`eLjw)gzz5Z#ZPKbz5KWp2hu{2re)C zfgq%W#<*b$EM332QNW