Curve editor implementation.