private static string SparklineAxisMinMaxToString(SparklineAxisMinMax type) { if (SparklineAxisMinMax.Custom == type) { return("custom"); } else if (SparklineAxisMinMax.Group == type) { return("group"); } else { return("individual"); } }
internal void Init() { this.axisColor = Colors.Black; this.firstMarkerColor = Windows.UI.Color.FromArgb(0xff, 0x95, 0xb3, 0xd7); this.highMarkerColor = Colors.Blue; this.lastMarkerColor = Windows.UI.Color.FromArgb(0xff, 0x95, 0xb3, 0xd7); this.lowMarkerColor = Colors.Blue; this.markersColor = Windows.UI.Color.FromArgb(0xff, 0x24, 0x40, 0x62); this.negativeColor = Colors.Brown; this.seriesColor = Windows.UI.Color.FromArgb(0xff, 0x24, 0x40, 0x62); this.axisThemeColor = string.Empty; this.firstMarkerThemeColor = string.Empty; this.highMarkerThemeColor = string.Empty; this.lastMarkerThemeColor = string.Empty; this.lowMarkerThemeColor = string.Empty; this.markersThemeColor = string.Empty; this.negativeThemeColor = string.Empty; this.seriesThemeColor = string.Empty; this.displayEmptyValueStyle = EmptyValueStyle.Gaps; this.rightToLeft = false; this.displayHidden = false; this.displayXAxis = false; this.showFirst = false; this.showHigh = false; this.showLast = false; this.showLow = false; this.showNegative = false; this.showMarkers = false; this.manualMax = 0.0; this.manualMin = 0.0; this.maxAxisType = SparklineAxisMinMax.Individual; this.minAxisType = SparklineAxisMinMax.Individual; this.groupMaxValue = 0.0; this.groupMinValue = 0.0; this.lineWeight = 1.0; }