@@ -11927,7 +11927,6 @@ function Axes(gl) {
11927
11927
this.tickFont = [ 'sans-serif', 'sans-serif', 'sans-serif' ]
11928
11928
this.tickFontStyle = [ 'normal', 'normal', 'normal' ]
11929
11929
this.tickFontWeight = [ 'normal', 'normal', 'normal' ]
11930
- this.tickFontStretch = [ 'normal', 'normal', 'normal' ]
11931
11930
this.tickFontVariant = [ 'normal', 'normal', 'normal' ]
11932
11931
this.tickSize = [ 12, 12, 12 ]
11933
11932
this.tickAngle = [ 0, 0, 0 ]
@@ -11945,7 +11944,6 @@ function Axes(gl) {
11945
11944
this.labelFont = [ 'sans-serif', 'sans-serif', 'sans-serif' ]
11946
11945
this.labelFontStyle = [ 'normal', 'normal', 'normal' ]
11947
11946
this.labelFontWeight = [ 'normal', 'normal', 'normal' ]
11948
- this.labelFontStretch = [ 'normal', 'normal', 'normal' ]
11949
11947
this.labelFontVariant = [ 'normal', 'normal', 'normal' ]
11950
11948
this.labelSize = [ 20, 20, 20 ]
11951
11949
this.labelAngle = [ 0, 0, 0 ]
@@ -12088,7 +12086,6 @@ i_loop:
12088
12086
if(STRING('tickFont')) ticksUpdate = true
12089
12087
if(STRING('tickFontStyle')) ticksUpdate = true
12090
12088
if(STRING('tickFontWeight')) ticksUpdate = true
12091
- if(STRING('tickFontStretch')) ticksUpdate = true
12092
12089
if(STRING('tickFontVariant')) ticksUpdate = true
12093
12090
12094
12091
NUMBER('tickSize')
@@ -12102,7 +12099,6 @@ i_loop:
12102
12099
if(STRING('labelFont')) labelUpdate = true
12103
12100
if(STRING('labelFontStyle')) labelUpdate = true
12104
12101
if(STRING('labelFontWeight')) labelUpdate = true
12105
- if(STRING('labelFontStretch')) labelUpdate = true
12106
12102
if(STRING('labelFontVariant')) labelUpdate = true
12107
12103
12108
12104
BOOLEAN('labelEnable')
@@ -12142,21 +12138,18 @@ i_loop:
12142
12138
family: this.labelFont[0],
12143
12139
style: this.labelFontStyle[0],
12144
12140
weight: this.labelFontWeight[0],
12145
- stretch: this.labelFontStretch[0],
12146
12141
variant: this.labelFontVariant[0],
12147
12142
},
12148
12143
{
12149
12144
family: this.labelFont[1],
12150
12145
style: this.labelFontStyle[1],
12151
12146
weight: this.labelFontWeight[1],
12152
- stretch: this.labelFontStretch[1],
12153
12147
variant: this.labelFontVariant[1],
12154
12148
},
12155
12149
{
12156
12150
family: this.labelFont[2],
12157
12151
style: this.labelFontStyle[2],
12158
12152
weight: this.labelFontWeight[2],
12159
- stretch: this.labelFontStretch[2],
12160
12153
variant: this.labelFontVariant[2],
12161
12154
}
12162
12155
]
@@ -12166,21 +12159,18 @@ i_loop:
12166
12159
family: this.tickFont[0],
12167
12160
style: this.tickFontStyle[0],
12168
12161
weight: this.tickFontWeight[0],
12169
- stretch: this.tickFontStretch[0],
12170
12162
variant: this.tickFontVariant[0],
12171
12163
},
12172
12164
{
12173
12165
family: this.tickFont[1],
12174
12166
style: this.tickFontStyle[1],
12175
12167
weight: this.tickFontWeight[1],
12176
- stretch: this.tickFontStretch[1],
12177
12168
variant: this.tickFontVariant[1],
12178
12169
},
12179
12170
{
12180
12171
family: this.tickFont[2],
12181
12172
style: this.tickFontStyle[2],
12182
12173
weight: this.tickFontWeight[2],
12183
- stretch: this.tickFontStretch[2],
12184
12174
variant: this.tickFontVariant[2],
12185
12175
}
12186
12176
]
@@ -13251,7 +13241,6 @@ proto.update = function(bounds, labels, labelFont, ticks, tickFont) {
13251
13241
var fontKey = [
13252
13242
font.style,
13253
13243
font.weight,
13254
- font.stretch,
13255
13244
font.variant,
13256
13245
font.family
13257
13246
].join('_')
@@ -13267,7 +13256,6 @@ proto.update = function(bounds, labels, labelFont, ticks, tickFont) {
13267
13256
font: font.family,
13268
13257
fontStyle: font.style,
13269
13258
fontWeight: font.weight,
13270
- fontStretch: font.stretch,
13271
13259
fontVariant: font.variant,
13272
13260
textAlign: 'center',
13273
13261
textBaseline: 'middle',
@@ -13325,7 +13313,6 @@ proto.update = function(bounds, labels, labelFont, ticks, tickFont) {
13325
13313
family: ticks[d][i].font || tickFont[d].family,
13326
13314
style: tickFont[d].fontStyle || tickFont[d].style,
13327
13315
weight: tickFont[d].fontWeight || tickFont[d].weight,
13328
- stretch: tickFont[d].fontStretch || tickFont[d].stretch,
13329
13316
variant: tickFont[d].fontVariant || tickFont[d].variant,
13330
13317
}
13331
13318
@@ -19352,7 +19339,6 @@ proto.update = function(options) {
19352
19339
var font = tick.font || 'sans-serif'
19353
19340
var fontStyle = tick.fontStyle || 'normal'
19354
19341
var fontWeight = tick.fontWeight || 'normal'
19355
- var fontStretch = tick.fontStretch || 'normal'
19356
19342
var fontVariant = tick.fontVariant || 'normal'
19357
19343
scale = (tick.fontSize || 12)
19358
19344
@@ -19364,7 +19350,6 @@ proto.update = function(options) {
19364
19350
data = getText(font, rows[r], {
19365
19351
fontStyle: fontStyle,
19366
19352
fontWeight: fontWeight,
19367
- fontStretch: fontStretch,
19368
19353
fontVariant: fontVariant
19369
19354
}).data
19370
19355
for (j = 0; j < data.length; j += 2) {
@@ -19390,7 +19375,6 @@ proto.update = function(options) {
19390
19375
data = getText(options.labelFont[dimension], options.labels[dimension], {
19391
19376
fontStyle: options.labelFontStyle[dimension],
19392
19377
fontWeight: options.labelFontWeight[dimension],
19393
- fontStretch: options.labelFontStretch[dimension],
19394
19378
fontVariant: options.labelFontVariant[dimension],
19395
19379
textAlign: 'center'
19396
19380
}).data
@@ -19409,7 +19393,6 @@ proto.update = function(options) {
19409
19393
data = getText(options.titleFont, options.title, {
19410
19394
fontStyle: options.titleFontStyle,
19411
19395
fontWeight: options.titleFontWeight,
19412
- fontStretch: options.titleFontStretch,
19413
19396
fontVariant: options.titleFontVariant,
19414
19397
}).data
19415
19398
scale = options.titleSize
@@ -19950,15 +19933,13 @@ proto.update = function(options) {
19950
19933
labelFont: options.labelFont || ['sans-serif', 'sans-serif'],
19951
19934
labelFontStyle: options.labelFontStyle || ['normal', 'normal'],
19952
19935
labelFontWeight: options.labelFontWeight || ['normal', 'normal'],
19953
- labelFontStretch: options.labelFontStretch || ['normal', 'normal'],
19954
19936
labelFontVariant: options.labelFontVariant || ['normal', 'normal'],
19955
19937
19956
19938
title: options.title || '',
19957
19939
titleSize: options.titleSize || 18,
19958
19940
titleFont: options.titleFont || 'sans-serif',
19959
19941
titleFontStyle: options.titleFontStyle || 'normal',
19960
19942
titleFontWeight: options.titleFontWeight || 'normal',
19961
- titleFontStretch: options.titleFontStretch || 'normal',
19962
19943
titleFontVariant: options.titleFontVariant || 'normal'
19963
19944
})
19964
19945
@@ -40257,13 +40238,11 @@ function textGet(font, text, opts) {
40257
40238
40258
40239
var fontStyle = opts.fontStyle || 'normal'
40259
40240
var fontWeight = opts.fontWeight || 'normal'
40260
- var fontStretch = opts.fontStretch || 'normal'
40261
40241
var fontVariant = opts.fontVariant || 'normal'
40262
40242
40263
40243
var fontKey = [
40264
40244
fontStyle,
40265
40245
fontWeight,
40266
- fontStretch,
40267
40246
fontVariant,
40268
40247
font
40269
40248
].join('_')
@@ -40285,7 +40264,6 @@ function textGet(font, text, opts) {
40285
40264
font: font,
40286
40265
fontStyle: fontStyle,
40287
40266
fontWeight: fontWeight,
40288
- fontStretch: fontStretch,
40289
40267
fontVariant: fontVariant,
40290
40268
textAlign: opts.textAlign || 'left',
40291
40269
textBaseline: 'alphabetic',
0 commit comments