protected void paint() {
canvas.clear();
for (int i = 0, n = visualizations.size(); i < n; i++) {
Visualization<?, ?> viz = visualizations.get(i);
GraphModel model = viz.getModel().getGraphModel();
GraphUiProps graphUiProps = viz.getGraphUiProps();
Color graphColor = graphUiProps.getGraphColor();
Color graphStrokeColor = graphUiProps.getStrokeColor();
double maxYValue = Math.max(model.getMaxEncounteredValue(),
graphUiProps.getYAxisScaleCap());
double yAdjustment = COORD_Y_HEIGHT / maxYValue;
canvas.setLineWidth(2);
canvas.setStrokeStyle(graphStrokeColor);