Exemplo n.º 1
0
 /// <summary>
 /// Checks bar item canvas left and top values.
 /// </summary>
 public void CheckBarItemCanvasLeftTopValues(ChartViewBarItem bar, double canvastLeft, double canvasTop, double tolerance)
 {
     Assert.AreEqual(canvastLeft, bar.CanvasLeft, tolerance, "Bar canvas left verification failed!");
     Assert.AreEqual(canvasTop, bar.CanvasTop, tolerance, "Bar canvas top verification failed!");
 }
Exemplo n.º 2
0
 /// <summary>
 /// Checks bar item values.
 /// </summary>
 public void CheckBarValues(ChartViewBarItem bar, double height, double width, double tolerance)
 {
     Assert.AreEqual(width, bar.Width, tolerance, "Bar width verification failed!");
     Assert.AreEqual(height, bar.Height, tolerance, "Bar height verification failed!");
 }