toBase64Image

Returns a base64 encoded string of the chart in its current state.