File tree Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -488,6 +488,7 @@ function labelOptions(
488488 fontFamily,
489489 fontSize,
490490 fontStyle,
491+ fontVariant,
491492 fontWeight,
492493 monospace,
493494 pointerEvents,
@@ -508,6 +509,7 @@ function labelOptions(
508509 fontFamily,
509510 fontSize,
510511 fontStyle,
512+ fontVariant,
511513 fontWeight,
512514 monospace,
513515 pointerEvents,
Original file line number Diff line number Diff line change @@ -52,6 +52,12 @@ export async function axisLabelBothReverse() {
5252 } ) ;
5353}
5454
55+ export async function axisLabelFontVariant ( ) {
56+ return Plot . plot ( {
57+ x : { domain : "abcde" } ,
58+ marks : [ Plot . axisX ( { label : "Letter" , fontVariant : "small-caps" } ) ]
59+ } ) ;
60+ }
5561export async function axisLabelVaryingFill ( ) {
5662 return Plot . plot ( {
5763 x : { domain : "ABCDEF" } ,
You can’t perform that action at this time.
0 commit comments