Skip to content

Commit ac02a12

Browse files
committed
no stretch option for now
1 parent f8a2849 commit ac02a12

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

lib/text.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ proto.update = function(options) {
213213
var font = tick.font || 'sans-serif'
214214
var fontStyle = tick.fontStyle || 'normal'
215215
var fontWeight = tick.fontWeight || 'normal'
216-
var fontStretch = tick.fontStretch || 'normal'
217216
var fontVariant = tick.fontVariant || 'normal'
218217
scale = (tick.fontSize || 12)
219218

@@ -225,7 +224,6 @@ proto.update = function(options) {
225224
data = getText(font, rows[r], {
226225
fontStyle: fontStyle,
227226
fontWeight: fontWeight,
228-
fontStretch: fontStretch,
229227
fontVariant: fontVariant
230228
}).data
231229
for (j = 0; j < data.length; j += 2) {
@@ -251,7 +249,6 @@ proto.update = function(options) {
251249
data = getText(options.labelFont[dimension], options.labels[dimension], {
252250
fontStyle: options.labelFontStyle[dimension],
253251
fontWeight: options.labelFontWeight[dimension],
254-
fontStretch: options.labelFontStretch[dimension],
255252
fontVariant: options.labelFontVariant[dimension],
256253
textAlign: 'center'
257254
}).data
@@ -270,7 +267,6 @@ proto.update = function(options) {
270267
data = getText(options.titleFont, options.title, {
271268
fontStyle: options.titleFontStyle,
272269
fontWeight: options.titleFontWeight,
273-
fontStretch: options.titleFontStretch,
274270
fontVariant: options.titleFontVariant,
275271
}).data
276272
scale = options.titleSize

plot.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,15 +506,13 @@ proto.update = function(options) {
506506
labelFont: options.labelFont || ['sans-serif', 'sans-serif'],
507507
labelFontStyle: options.labelFontStyle || ['normal', 'normal'],
508508
labelFontWeight: options.labelFontWeight || ['normal', 'normal'],
509-
labelFontStretch: options.labelFontStretch || ['normal', 'normal'],
510509
labelFontVariant: options.labelFontVariant || ['normal', 'normal'],
511510

512511
title: options.title || '',
513512
titleSize: options.titleSize || 18,
514513
titleFont: options.titleFont || 'sans-serif',
515514
titleFontStyle: options.titleFontStyle || 'normal',
516515
titleFontWeight: options.titleFontWeight || 'normal',
517-
titleFontStretch: options.titleFontStretch || 'normal',
518516
titleFontVariant: options.titleFontVariant || 'normal'
519517
})
520518

0 commit comments

Comments
 (0)