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 using microcharts with QuestPdf to generate PDF reports. I have a report that has a bar chart which doesn't reflect the entries with the value had been given and as you see in the attached screenshots it randomly renders the chart and it doesn't accurately reflects the bar value.
Which platform and version is this for?
aspnet webapi .net 6
Azure Kubernetes container
To Reproduce
the following is the BarChart object created
Did you find any resolution to this?
I think I have a similar problem using the radial gauge in QuestPDF in a linux docker container.
For me the very first render is incorrect, but subsequent renders seem ok. I suspect the bars are being animated despite animation being disabled. I'll update if I find anything further.
Describe the bug
I'm using microcharts with QuestPdf to generate PDF reports. I have a report that has a bar chart which doesn't reflect the entries with the value had been given and as you see in the attached screenshots it randomly renders the chart and it doesn't accurately reflects the bar value.
Which platform and version is this for?
aspnet webapi .net 6
Azure Kubernetes container
To Reproduce
the following is the BarChart object created
BarChart chart = new() { Entries = _model .GroupBy(item => item.ExpiryDate?.ToString("yyyy-MM") ?? default) .OrderBy(group => group.Key) .Select(group => new ChartEntry((group.Count() / _model.Count) * 100f) { Label = group.Key, ValueLabel = group.Count().ToString(), ValueLabelColor = SKColor.Parse("#000000"), TextColor = SKColor.Parse("#000000"), Color = SKColor.Parse($"#{rnd.Next(0x1000000):X6}") }), LabelColor = SKColor.Parse("#000000"), LabelTextSize = 10, LabelOrientation = Orientation.Vertical, ValueLabelOrientation = Orientation.Horizontal, BarAreaAlpha = 60, MaxValue = 100, IsAnimated = false, Typeface = SKTypeface.FromFamilyName("Arial"), Margin = 10, };
Steps to reproduce the behavior:
Expected behavior
Of course the expected behavior is finding the BarChart reflects the appropriate bar heights based on the given values.
Screenshots
First Example
** Device**
OS:
Edition Windows 11 Pro
Version 22H2
OS build 22621.900
Experience Windows Feature Experience Pack 1000.22638.1000.0
I'm using Adobe Acrobat to view the generated PDF files
@shelbaz
The text was updated successfully, but these errors were encountered: