Ejemplo n.º 1
0
        public static void InvalidateView(this Charts.IChartBase chart)
        {
#if SKIASHARP && !NATIVE
            chart.InvalidateSurface();
#elif __ANDROID__
            chart.Invalidate();
#elif __IOS__ || __TVOS__
            chart.SetNeedsDisplay();
#elif WPF
            chart.InvalidateVisual();
#endif
        }
Ejemplo n.º 2
0
 public MoveViewJob(ViewPortHandler viewPortHandler, float xValue, float yValue, Transformer trans, Charts.IChartBase v) : base(viewPortHandler, xValue, yValue, trans, v)
 {
 }
Ejemplo n.º 3
0
        public static MoveViewJob GetInstance(ViewPortHandler viewPortHandler, float xValue, float yValue, Transformer trans, Charts.IChartBase v)
        {
            MoveViewJob result = pool.Get();

            result.ViewPortHandler = viewPortHandler;
            result.XValue          = xValue;
            result.YValue          = yValue;
            result.Transformer     = trans;
            result.View            = v;
            return(result);
        }