Skip to content

Comments

Ensure that all series values are floats#7

Open
jnazaren wants to merge 1 commit intoZEPL:masterfrom
jnazaren:patch-2
Open

Ensure that all series values are floats#7
jnazaren wants to merge 1 commit intoZEPL:masterfrom
jnazaren:patch-2

Conversation

@jnazaren
Copy link

There are instances I've run into where zeppelin (0.9.0-preview1) may interpret your numeric data as strings, regardless of whether or not they are actually float values underneath. This is unfortunate, as it also leads to Highcharts Error 14 trying to access the inner series in the chart. Putting in some parseFloat calls here is one easy way to ensure the data are numeric when passing into the HighCharts instance.

There are instances I've run into where zeppelin (0.9.0-preview1) may interpret your numeric data as strings, **regardless of whether or not they are actually float values underneath**. This is unfortunate, as it also leads to [Highcharts Error 14](https://www.highcharts.com/errors/14/) trying to access the inner series in the chart. Putting in a `parseFloat` call here is one easy way to ensure the data are numeric when passing into the HighCharts instance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant