/** * *********************************************** * * @param view view * @param n number (bar chart) */ public DrawBarGraph(EuclidianView view, GeoNumeric n) { this.view = view; sum = n; geo = n; n.setDrawable(true); init(); update(); }
/** * Creates new drawable for slope * * @param view view * @param slope slope number */ public DrawSlope(EuclidianView view, GeoNumeric slope) { this.view = view; kernel = view.getKernel(); this.slope = slope; geo = slope; slope.setDrawable(true); // get parent line init(); update(); }