Posted 10 September 2017, 11:41 am ESTI don't see any option (in help, or otherwise) to change the background color of the viewport. Is this a limitation of the trial or am I missing a simple setting?
C1Gauge Background Color
Posted by: jgennari on 10 September 2017, 11:41 am EST
Replied 10 September 2017, 11:41 am ESTHello,
There is no Background property in the C1Gauge for ASP.NET, but you can still achieve a background color by using FaceShapes. The following code should be enough to give you a yellow background on the C1Gauge:
var faceBackground = new C1.Web.UI.Controls.C1Gauge.C1GaugeRectangle();
faceBackground.Filling.Color = Color.Yellow;
Replied 10 September 2017, 11:41 am ESTBut the viewport comes automatically with a gray color, do I need to create a rectangle to fill the view port for every gauge?
Replied 10 September 2017, 11:41 am ESTHello jqennari,
You should not need to do this for each ViewPort, just one time for each C1Gauge. If you have any issues, please let me know.