In an existing applications (web forms, but the underlying Microsoft Charting stack is basically the same for winforms/webforms/razor charts) I have Pie Charts, with for each slice the following business data:
- Value
- Label
- Color (used for categorization, same color for multiple slices)
The requirement is a Chart that has all information layout out in one chart like this (mockup):
Using the CustomProperties on the Series/Points I can display each datapoint with either an Inside
Or an Outside Label:
But not both. Can I somehow trick the Pie Chart into displaying both an inside and outside label for each data point?
I realize that this is an edge case (normally you'd use legend+color to visualize this, but we already use color to categorize). I'd rather avoid rendering to a bitmap first and manually rendering the label texts on there (because there are mechanisms in place to stream the charts to both web pages and generated documents).