You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm creating a pie chart for a document using QuestPDF. The problem is that I'm displaying percentages in this chart, and the issue arises when there's a very high percentage; the other percentages get grouped together and overlap each other. I've tried separating them by adding or removing lines, but the small values aren't displayed correctly.
`private static PlotModel CreatePieChart(string titulo, PieSlice[] data)
{
var model = new PlotModel
{
Title = titulo,
DefaultFont = "SourceSansPro",
TitleFont = "SourceSansPro",
SubtitleFont = "SourceSansPro",
DefaultFontSize = 8,
TitleFontSize = 8,
SubtitleFontSize = 8,
TextColor = OxyColor.Parse("#231f20"),
};
Activity