NChartControl with transparent background failing to clear


Author
Message
rich dudley
rich dudley
Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)
Group: Forum Members
Posts: 33, Visits: 76
Using this code to start building my chart:
      chartControl.Clear();
      chartControl.Size = new Size(options.width, options.height);
      chartControl.BackgroundStyle.FrameStyle.Visible = false;
      chartControl.BackgroundStyle.FillStyle = new NColorFillStyle(Color.Transparent);
      NCartesianChart chart = (NCartesianChart)chartControl.Charts[0];
If I have the line setting the fillstyle to transparent the old charts never clear. If I redraw the chart it just stacks on top of previous. If I remove the fillstyle line, it behaves correctly.
https://www.nevron.com/forum/uploads/images/9df8e9a6-3ab0-4c2d-a477-1d1d.png

Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi Rich,

We don't support transparent background for the control anymore as it was too problematic. You can send a project replicating the problem at support@nevron.com for further review.

Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search