コード例 #1
0
        private static void SetupSeries(Series series, GraphConfiguration configuration, int index)
        {
            if (configuration.Palette.Count > 0)
            {
                PaletteItem item = configuration.Palette[index % configuration.Palette.Count];

                series.BackHatchStyle = item.HatchStyle;
                series.Color          = item.Color;
            }
        }
コード例 #2
0
        private static void SetupPoint(DataPoint point, GraphConfiguration configuration, int index)
        {
            if (configuration.Palette.Count > 0)
            {
                PaletteItem item = configuration.Palette[index % configuration.Palette.Count];

                point.BackHatchStyle = item.HatchStyle;
                point.Color          = item.Color;
            }
        }