コード例 #1
0
        private static ChartShapePropertiesOptions GetChartShapePropertiesOptions()
        {
            var chartShapePropertiesOptions = new ChartShapePropertiesOptions
            {
                BlackWhiteMode     = null,
                FillType           = FillTypes.Solid,
                SchemaColorOptions = new SchemaColorOptions
                {
                    SchemeColor = SchemeColorValues.Background1,
                    Tint        = 0
                },
                HasLine        = true,
                OutlineOptions = new OutlineOptions
                {
                    FillType           = FillTypes.Solid,
                    SchemaColorOptions = new SchemaColorOptions
                    {
                        SchemeColor = SchemeColorValues.Text1,
                        Tint        = 0.85M
                    },
                    JoinType     = JoinTypes.Round,
                    Width        = 0.75M,
                    LineCap      = LineCapValues.Flat,
                    CompoundLine = CompoundLineValues.Single,
                    PenAlignment = PenAlignmentValues.Center
                },
                HasEffectList     = true,
                EffectListOptions = new EffectListOptions()
            };

            return(chartShapePropertiesOptions);
        }
コード例 #2
0
        private static ChartShapePropertiesOptions GetPlotChartShapePropertiesOptions()
        {
            var chartShapePropertiesOptions = new ChartShapePropertiesOptions
            {
                BlackWhiteMode = null,
                FillType       = FillTypes.NoFill,
                HasLine        = true,
                OutlineOptions = new OutlineOptions
                {
                    FillType     = FillTypes.NoFill,
                    JoinType     = null,
                    Width        = null,
                    LineCap      = null,
                    CompoundLine = null,
                    PenAlignment = null
                },
                HasEffectList     = true,
                EffectListOptions = new EffectListOptions()
            };

            return(chartShapePropertiesOptions);
        }