Ngx-charts: Changing pie chart label text size

Created on 30 Nov 2017  路  1Comment  路  Source: swimlane/ngx-charts

I'm submitting a ... (check one with "x")

[X] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here

Current behavior
Tried several times using CSS to update the font size of the label text with no success.
used for example:

/deep/ g > .pie-label {
font-size: 14px !important;
}

and

/deep/ .pie-label {
font-size: 14px !important;
}

Expected behavior
To be able to set the label font size in a pie chart.

Please tell us about your environment:
Angular 2+ project

  • ngx-charts version: x.x.x
    6.1.0

  • Angular version: 2.x.x
    4.3.2

  • Browser: [ Chrome ]

Most helpful comment

Here's a plunkr demonstrating that: https://plnkr.co/edit/R859owBxqpZ9lpxNg0yJ?p=preview

>All comments

Here's a plunkr demonstrating that: https://plnkr.co/edit/R859owBxqpZ9lpxNg0yJ?p=preview

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jvbianchi picture jvbianchi  路  4Comments

ianfdk picture ianfdk  路  3Comments

kakalos12 picture kakalos12  路  4Comments

lokeshdaiya picture lokeshdaiya  路  3Comments

emeric0101 picture emeric0101  路  3Comments