constraintBy method
Sets the constraint about the current chart layout.
Implementation
void constraintBy(ChartPainterConstraint given) {
constraint = ChartPainterConstraint(
left: constraint.left + given.left,
right: constraint.right + given.right,
top: constraint.top + given.top,
bottom: constraint.bottom + given.bottom
);
}