How to change the color of the outer section of an Angular gauge? #1460
Replies: 4 comments 1 reply
-
Here is a code snippet I used... GaugeItem normalRangeItem = CreateNormalRangeItem(needle); GaugeItem backgroundItem = new GaugeItem(GaugeItem.Background, series => GaugeItem[] gaugeItems = new GaugeItem[] needle.Series = GaugeGenerator.BuildAngularGaugeSections(gaugeItems); Hope that helps. |
Beta Was this translation helpful? Give feedback.
-
private static void SetStyle(double sectionsOuter, double sectionsWidth, SKColor color, PieSeries series) |
Beta Was this translation helpful? Give feedback.
-
How are you able to change the colors of the inner? |
Beta Was this translation helpful? Give feedback.
-
Not sure what you mean with the 'inner section'.
You can set the color for a gauge item in a property of the associated series in the following way.
Others are welcome to correct me. |
Beta Was this translation helpful? Give feedback.
-
I can change the color of the series, but how to change the default color of the outer section that is, as default, gray?
Beta Was this translation helpful? Give feedback.
All reactions