Possible rendering/layout issue with BarSeries chart

Charts for WPF Forum

The latest build of this product (v25.1.4) was released 4 months ago, which was before this thread was created.
Posted 1 days ago by bcs99
Version: 25.1.4
Platform: .NET 9
Environment: Windows 11 (64-bit)
Avatar

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

Comments (1)

Posted 23 hours ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Bob,

We appreciate you for providing the detail.  We aren't aware of problems so it would be best if you can send the sample project to our support address, link to this thread in the email, and we'll have a look.  Please exclude the bin/obj folders from the .zip you send so it doesn't get spam blocked.  Thanks!


Actipro Software Support

Add Comment

Please log in to a validated account to post comments.