I'm trying to apply a gradient background to an SPCBatchVariableControlChart, but I'm not having much success.
I tried referencing the LineGapChart example in the QCChart2D examples, but I feel that my problem may be due to my coordinate transform variable. Below is the code that I'm using to try and set the background.
Dim pc As New ProbabilityCoordinates()
pc.AutoScale(ChartObj.AUTOAXES_NEAR, ChartObj.AUTOAXES_FAR)
Dim bg As New Background(pc, ChartObj.GRAPH_BACKGROUND, Color.FromArgb(0, 120, 70), _
Color.FromArgb(0, 40, 30), ChartObj.Y_AXIS)
chart.AddChartObject(bg)
pc.SetScaleStartY(0)
I've also tried using CartesianCoordinates, as well as just setting a single color background.
Note: I was able to set single color background using the DefaultPlot/GraphBackgroundColor methods, but not by creating a new Background object.
Any help would be greatly appreciated.