Profile Picture

NChartControl with transparent background failing to clear

Posted By rich dudley 6 Years Ago

NChartControl with transparent background failing to clear

Author
Message
rich dudley
Question Posted 6 Years Ago
View Quick Profile
Forum Guru

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
Last Active: Last Year
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
Posted 6 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: 13 hours ago
Posts: 3,054, Visits: 4,009
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





Similar Topics


Reading This Topic