Ejemplo n.º 1
0
        public void PrepareGroupStyles(Altaxo.Graph.Gdi.Plot.Groups.PlotGroupStyleCollection externalGroups, Altaxo.Graph.Gdi.Plot.Groups.PlotGroupStyleCollection localGroups, IPlotArea layer, Altaxo.Graph.Gdi.Plot.Data.Processed2DPlotData pdata)
        {
            if (!_independentColor)
            {
                Graph.Plot.Groups.ColorGroupStyle.PrepareStyle(externalGroups, localGroups, delegate() { return(PlotColors.Colors.GetPlotColor(this._strokePen.Color)); });
            }

            // SkipFrequency should be the same for all sub plot styles, so there is no "private" property
            SkipFrequencyGroupStyle.PrepareStyle(externalGroups, localGroups, delegate() { return(SkipFrequency); });


            // note: symbol size and barposition are only applied, but not prepared
            // this item can not be used as provider of a symbol size
        }
Ejemplo n.º 2
0
        public void PrepareGroupStyles(PlotGroupStyleCollection externalGroups, PlotGroupStyleCollection localGroups, IPlotArea layer, Processed3DPlotData pdata)
        {
            if (IsColorProvider)
            {
                ColorGroupStyle.PrepareStyle(externalGroups, localGroups, delegate()
                                             { return(Color); });
            }

            // SkipFrequency should be the same for all sub plot styles, so there is no "private" property
            if (!_independentSkipFreq)
            {
                SkipFrequencyGroupStyle.PrepareStyle(externalGroups, localGroups, delegate()
                                                     { return(_skipFreq); });
            }
        }
Ejemplo n.º 3
0
        public void PrepareGroupStyles(PlotGroupStyleCollection externalGroups, PlotGroupStyleCollection localGroups, IPlotArea layer, Processed3DPlotData pdata)
        {
            if (!_independentColor)
            {
                Graph.Plot.Groups.ColorGroupStyle.PrepareStyle(externalGroups, localGroups, delegate()
                                                               { return(_strokePen.Color); });
            }

            if (!_independentSkipFrequency)
            {
                SkipFrequencyGroupStyle.PrepareStyle(externalGroups, localGroups, delegate()
                                                     { return(SkipFrequency); });
            }

            // note: symbol size and barposition are only applied, but not prepared
            // this item can not be used as provider of a symbol size
        }
Ejemplo n.º 4
0
        public void PrepareGroupStyles(PlotGroupStyleCollection externalGroups, PlotGroupStyleCollection localGroups, IPlotArea layer, Processed2DPlotData pdata)
        {
            if (this.IsColorProvider)
            {
                ColorGroupStyle.PrepareStyle(externalGroups, localGroups, delegate() { return(PlotColors.Colors.GetPlotColor(this.Color)); });
            }

            SymbolShapeStyleGroupStyle.PrepareStyle(externalGroups, localGroups, delegate { return(this.ShapeAndStyle); });

            if (this.IsSymbolSizeProvider)
            {
                SymbolSizeGroupStyle.PrepareStyle(externalGroups, localGroups, delegate() { return(SymbolSize); });
            }

            // SkipFrequency should be the same for all sub plot styles, so there is no "private" property
            SkipFrequencyGroupStyle.PrepareStyle(externalGroups, localGroups, delegate() { return(SkipFrequency); });
        }
Ejemplo n.º 5
0
        public void PrepareGroupStyles(PlotGroupStyleCollection externalGroups, PlotGroupStyleCollection localGroups, IPlotArea layer, Processed2DPlotData pdata)
        {
            if (!_independentColor)
            {
                Graph.Plot.Groups.ColorGroupStyle.PrepareStyle(externalGroups, localGroups, delegate()
                                                               { return(_strokePen.Color); });
            }

            if (!_independentSkipFrequency)
            {
                SkipFrequencyGroupStyle.PrepareStyle(externalGroups, localGroups, delegate()
                                                     { return(SkipFrequency); });
            }

            // IgnoreMissingDataPoints should be the same for all sub plot styles, so there is no "private" property
            IgnoreMissingDataPointsGroupStyle.PrepareStyle(externalGroups, localGroups, () => _ignoreMissingDataPoints);

            // note: symbol size and barposition are only applied, but not prepared
            // this item can not be used as provider of a symbol size
        }
Ejemplo n.º 6
0
        public void PrepareGroupStyles(PlotGroupStyleCollection externalGroups, PlotGroupStyleCollection localGroups, IPlotArea layer, Processed2DPlotData pdata)
        {
            if (IsColorProvider)
            {
                ColorGroupStyle.PrepareStyle(externalGroups, localGroups, delegate()
                                             { return(Color); });
            }

            ScatterSymbolGroupStyle.PrepareStyle(externalGroups, localGroups, delegate
                                                 { return(_scatterSymbol); });

            if (IsSymbolSizeProvider)
            {
                SymbolSizeGroupStyle.PrepareStyle(externalGroups, localGroups, delegate()
                                                  { return(SymbolSize); });
            }

            // SkipFrequency should be the same for all sub plot styles, so there is no "private" property
            SkipFrequencyGroupStyle.PrepareStyle(externalGroups, localGroups, delegate()
                                                 { return(SkipFrequency); });

            // IgnoreMissingDataPoints should be the same for all sub plot styles, so there is no "private" property
            IgnoreMissingDataPointsGroupStyle.PrepareStyle(externalGroups, localGroups, () => _ignoreMissingDataPoints);
        }