Ejemplo n.º 1
0
 protected PlotOptions GetPlotOptions(string color, bool shadedErrorBars, bool showInLegend = true, PlotOptions.LineStyles lineStyle = PlotOptions.LineStyles.Solid, PlotOptions.Markers marker = PlotOptions.Markers.None)
 {
     return(new PlotOptions
     {
         ShadedErrorBars = shadedErrorBars,
         Opacity = TEXHelper.GetOpacityFor(Constants.Population.STD_DEV_CURVE_TRANSPARENCY),
         LineStyle = lineStyle,
         Marker = marker,
         MarkColor = color,
         Color = color,
         ShowInLegend = showInLegend,
         ThicknessSize = Helper.Length(1, Helper.MeasurementUnits.pt)
     });
 }
        private static PlotOptions getBoxWhiskerPlotOptions(float lowerWhisker, float lowerQuartile, float median, float upperQuartile, float upperWhisker, float drawPosition, string color, PlotOptions.Markers marker, bool showInLegend)
        {
            var plotOptions1 = new PlotOptions
            {
                LineStyle       = PlotOptions.LineStyles.Solid,
                Marker          = marker,
                MarkColor       = color,
                Color           = color,
                BoxPlotPrepared = new BoxPlotPrepared(lowerWhisker, lowerQuartile, median, upperQuartile, upperWhisker, drawPosition),
                ThicknessSize   = Helper.Length(1, Helper.MeasurementUnits.pt),
                ShowInLegend    = showInLegend
            };

            return(plotOptions1);
        }