Hi Actipro Support,
I've found a rendering issue with the WPF Charts control when using a BarSeries.
Scenario
Six charts arranged in a 3×2 grid.
- Left column uses a data source containing 12 monthly data points.
- Right column uses the same data extended to 18 monthly data points.
- Both columns use identical chart configuration (same axes, labels, margins, styles, etc.). The only difference is the number of data points.
The chart types are:
- Row 1:
LineSeries - Row 2:
BarSeries - Row 3:
AreaSeries
Expected behavior
All charts should render correctly regardless of whether the data source contains 12 or 18 points.
Actual behavior
Only the BarSeries with 18 data points renders incorrectly.
The issues include:
- The X-axis title is rendered inside the tick labels instead of below them.
- The chart appears to extend beyond its allocated layout area and overlaps the AreaSeries below it.
- The X-axis labels appear to consume more vertical space than expected.
- The LineSeries and AreaSeries render correctly using the same data and axis configuration.
Additional observations
- The BarSeries using the 12-point data source renders correctly.
- The only change between the working and non-working charts is the number of data points (12 vs. 18).
- Both charts use the same XAxis and YAxis settings.
- The issue appears to be specific to the BarSeries layout/rendering.
Could you let me know if this is a known issue or if there is a recommended workaround?
I can provide a sample project that reproduces the problem.
Thanks!
Bob