var yLineValue = me.getPixelForTick(index); // xvalues for grid lines
yLineValue += helpers.aliasPixel(lineWidth);
- labelY = me.getPixelForTick(index, gridLines.offsetGridLines);
+ labelY = me.getPixelForTick(index, gridLines.offsetGridLines) + optionTicks.labelOffset;
tx1 = xTickStart;
tx2 = xTickEnd;
--- /dev/null
+{
+ "config": {
+ "type": "horizontalBar",
+ "data": {
+ "labels": ["\u25C0", "\u25A0", "\u25C6", "\u25CF"],
+ "datasets": [{
+ "data": [12, 19, 3, 5]
+ }]
+ },
+ "options": {
+ "legend": false,
+ "title": false,
+ "scales": {
+ "xAxes": [{
+ "ticks": {
+ "display": false
+ },
+ "gridLines":{
+ "display": false,
+ "drawBorder": false
+ }
+ }],
+ "yAxes": [{
+ "ticks": {
+ "labelOffset": 25
+ },
+ "gridLines":{
+ "display": false,
+ "drawBorder": false
+ }
+ }]
+ }
+ }
+ },
+ "options": {
+ "canvas": {
+ "height": 256,
+ "width": 512
+ }
+ }
+}
--- /dev/null
+describe('Core.scale', function() {
+ describe('auto', jasmine.specsFromFixtures('core.scale'));
+});