CSS Styling Issue with Pie Chart Label

Hello,

I’m having some trouble resizing my pie chart labels (i.e. the text that appears on top of the pie chart slice to indicate the values the slice represents) using CSS styling. Specifically, I’ve tried the following in the CSS Editor:
.knime-label {
font-size: 16pt;
font-weight: bold;
}

It’s worth noting that I’ve been able to successfully apply CSS styling to other elements of the chart without issue using the same CSS Editor node.

Also, I assume there’s no way to show the labels as integers (i.e. with no decimals) but if anyone knows a way to do this that would be great.

Any suggestions are greatly appreciated!

Hello @sforesti,
can you try to add “text” to “.knime-label”? So it would look like this:
.knime-label text {
font-size: 16pt;
font-weight: bold;
}
That should work :slight_smile:

3 Likes

Hi Joerg,

Thank you so much, that worked perfectly!

Kind regards,

Sam

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.