Skip to content

Commit 260bdf2

Browse files
committed
feat: add route and menu support for axis title color
1 parent 9f578f0 commit 260bdf2

4 files changed

Lines changed: 9 additions & 1 deletion

File tree

  • lib/node_modules/@stdlib/plot

lib/node_modules/@stdlib/plot/base/view/lib/browser/app/editor/config/axis.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ var resolveTextValue = require( './resolve_text_value.js' );
2828
// VARIABLES //
2929

3030
var PROPS = [
31+
'titleColor',
3132
'titleFont',
3233
'titleOpacity'
3334
];

lib/node_modules/@stdlib/plot/base/view/lib/browser/app/schema/transforms/axis.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ var signalName = require( './../../utils/signal_name.js' );
3030

3131
var PROPS = [
3232
'title',
33+
'titleColor',
3334
'titleFont',
3435
'titleOpacity'
3536
];

lib/node_modules/@stdlib/plot/base/view/lib/browser/routes/app/bundle.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/node_modules/@stdlib/plot/vega/editor-config/axis/lib/main.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ function config() {
3737
'default': '',
3838
'type': 'string'
3939
},
40+
'titleColor': {
41+
'description': 'color of the title',
42+
'property': 'titleColor',
43+
'default': '',
44+
'type': 'string'
45+
},
4046
'titleFont': {
4147
'description': 'font of the title',
4248
'property': 'titleFont',

0 commit comments

Comments
 (0)