public static void AddLocalGroupStyle(
     IPlotGroupStyleCollection externalGroups,
     IPlotGroupStyleCollection localGroups)
 {
     if (PlotGroupStyle.ShouldAddLocalGroupStyle(externalGroups, localGroups, typeof(LineConnection2DGroupStyle)))
     {
         localGroups.Add(new LineConnection2DGroupStyle());
     }
 }
Exemple #2
0
 public static void AddLocalGroupStyle(
     IPlotGroupStyleCollection externalGroups,
     IPlotGroupStyleCollection localGroups)
 {
     if (PlotGroupStyle.ShouldAddLocalGroupStyle(externalGroups, localGroups, typeof(ColorGroupStyle)))
     {
         localGroups.Add(ColorGroupStyle.NewLocalGroupStyle());
     }
 }
 public static void AddLocalGroupStyle(
     IPlotGroupStyleCollection externalGroups,
     IPlotGroupStyleCollection localGroups)
 {
     if (PlotGroupStyle.ShouldAddLocalGroupStyle(externalGroups, localGroups, typeof(IgnoreMissingDataPointsGroupStyle)))
     {
         localGroups.Add(new IgnoreMissingDataPointsGroupStyle());
     }
 }
Exemple #4
0
 public static void AddLocalGroupStyle(
     IPlotGroupStyleCollection externalGroups,
     IPlotGroupStyleCollection localGroups)
 {
     if (PlotGroupStyle.ShouldAddLocalGroupStyle(externalGroups, localGroups, typeof(SymbolSizeGroupStyle)))
     {
         localGroups.Add(new SymbolSizeGroupStyle());
     }
 }
 public static void AddLocalGroupStyle(
     IPlotGroupStyleCollection externalGroups,
     IPlotGroupStyleCollection localGroups)
 {
     if (PlotGroupStyle.ShouldAddLocalGroupStyle(externalGroups, localGroups, typeof(BarWidthPositionGroupStyle)))
     {
         localGroups.Add(new BarWidthPositionGroupStyle());
     }
 }
 /// <summary>
 /// If neccessary, adds this group style to localGroups.
 /// </summary>
 /// <param name="externalGroups">External group styles.</param>
 /// <param name="localGroups">Local group styles.</param>
 public static void AddLocalGroupStyle(
     IPlotGroupStyleCollection externalGroups,
     IPlotGroupStyleCollection localGroups)
 {
     if (PlotGroupStyle.ShouldAddLocalGroupStyle(externalGroups, localGroups, MyType))
     {
         localGroups.Add(new VariableSymbolSizeGroupStyle());
     }
 }
 /// <summary>
 /// Adds a local BarWidthPositionGroupStyle in case there is no external one. In this case also BeginPrepare is called on
 /// this newly created group style.
 /// </summary>
 /// <param name="externalGroups">Collection of external plot group styles.</param>
 /// <param name="localGroups">Collection of plot group styles of the plot item.</param>
 public static void AddLocalGroupStyle(
     IPlotGroupStyleCollection externalGroups,
     IPlotGroupStyleCollection localGroups)
 {
     if (PlotGroupStyle.ShouldAddLocalGroupStyle(externalGroups, localGroups, typeof(BarSizePosition2DGroupStyle)))
     {
         var styleToAdd = new BarSizePosition2DGroupStyle();
         localGroups.Add(styleToAdd);
     }
 }