I was hoping someone could verify what I am seeing, and tell me if I am doing something wrong...
I am using a custom theme for the pie chart, and I am setting .othersCategoryFont, .othersCategoryFontColor, .othersCategoryThickness, and .othersCategoryPalette on the custom theme. However, when setting a threshold and threshold type when i create the chart, the "Others" label does not show up. The pie slice and the leader line show up for the "others" category, but the label does not.
Only when I also set the .othersCategoryLabelFont property on the pie chart itself when I create the chart does the label show up. However, I already set .othersCategoryFont in my custom theme, so I shouldn't have to set this property on the pie chart as well to get it to show up. Right?
Thanks.
Hello Jeff,
Thank you for your response. I have logged this behavior with our developers and I've created support case CAS-134164-F6W1C9 to track this. You can view this case by navigating to the Support Activity page on our web-site.
I was able to reproduce the issue after some trial and error to see what exactly was causing it. If I set the font size of the others palette to be anything higher than the font size on the theme definition itself, then the 'Others' label does not appear. I attached the project showing the issue.
def.font = [UIFont fontWithName:@"Helvetica" size:12]; // theme font
def.othersCategoryFont = [UIFont fontWithName:@"Helvetica" size:13]; // <-- Higher than the theme font size, label doesn't appear
Can you verify? Thanks.
Thank you for contacting Infragistics.
I created the attached sample to try to reproduce the issue you described. When I run my sample I see the others label show up correctly. I'd like you to try to modify my sample so it reproduces the issue.