Ejemplo n.º 1
0
 public static IChartDrawer Create()
 {
     if (RuntimeInspection.IsRunningOnMono() || ForceZedGraph)
     {
         return(new ZedGraphChartDrawer());
     }
     return(new DataVisualizationChartDrawer());
 }
Ejemplo n.º 2
0
        public static IEnumerable <GraphicsManagerWrapperOption> GetOptions()
        {
            yield return(new GraphicsManagerWrapperOption("Buffered graphics", (panel, action) => new BufferedGraphicsManagerWrapper(panel, action)));

            if (!RuntimeInspection.IsRunningOnMono())
            {
                yield return(new GraphicsManagerWrapperOption("Direct2D", (panel, action) => new SharpDxGraphicsManagerWrapper(panel, action)));
            }
        }