setting ngx charts y axis to right side & weir angular selector
up vote
0
down vote
favorite
I am building an area chart using ngx-charts, my requirement is to have y-axis on the right side rather than left.
Now going through their GitHub they have made yOrient
property as an input()
. I just can't figure out how to use this because of a weird selector which is
selector: 'g[ngx-charts-y-axis]',
@Input() yOrient: string = 'left';
How do I pass data to this selector and where either in component or template?
angular
New contributor
add a comment |
up vote
0
down vote
favorite
I am building an area chart using ngx-charts, my requirement is to have y-axis on the right side rather than left.
Now going through their GitHub they have made yOrient
property as an input()
. I just can't figure out how to use this because of a weird selector which is
selector: 'g[ngx-charts-y-axis]',
@Input() yOrient: string = 'left';
How do I pass data to this selector and where either in component or template?
angular
New contributor
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am building an area chart using ngx-charts, my requirement is to have y-axis on the right side rather than left.
Now going through their GitHub they have made yOrient
property as an input()
. I just can't figure out how to use this because of a weird selector which is
selector: 'g[ngx-charts-y-axis]',
@Input() yOrient: string = 'left';
How do I pass data to this selector and where either in component or template?
angular
New contributor
I am building an area chart using ngx-charts, my requirement is to have y-axis on the right side rather than left.
Now going through their GitHub they have made yOrient
property as an input()
. I just can't figure out how to use this because of a weird selector which is
selector: 'g[ngx-charts-y-axis]',
@Input() yOrient: string = 'left';
How do I pass data to this selector and where either in component or template?
angular
angular
New contributor
New contributor
edited Nov 10 at 13:48
grrigore
564420
564420
New contributor
asked Nov 10 at 12:15
uday kumar
11
11
New contributor
New contributor
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
uday kumar is a new contributor. Be nice, and check out our Code of Conduct.
uday kumar is a new contributor. Be nice, and check out our Code of Conduct.
uday kumar is a new contributor. Be nice, and check out our Code of Conduct.
uday kumar is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53238856%2fsetting-ngx-charts-y-axis-to-right-side-weir-angular-selector%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password