The ContinuousLegend is now working as a standalone. The Tick marks are being drawn correctly and label text is not being cut off.