Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't read values with special symbols #59

Open
C10ne opened this issue Oct 2, 2014 · 5 comments
Open

Doesn't read values with special symbols #59

C10ne opened this issue Oct 2, 2014 · 5 comments

Comments

@C10ne
Copy link

C10ne commented Oct 2, 2014

A cell value with percent (55%) is displayed nicely in the chart, but values like $223 make the plugin render empty graph.
Workaround is to add the symbol via css :before and :after attributes.

@agallou
Copy link
Member

agallou commented Oct 7, 2014

Hi. Could you paste some example here or in a jsfiddle, please ?

@C10ne
Copy link
Author

C10ne commented Oct 9, 2014

I just edited your fiddle from another issue, just notice $ sign in first row:
http://jsfiddle.net/8cqc6mh1/

@agallou
Copy link
Member

agallou commented Feb 15, 2015

@C10ne if we create callback function thath will be called on each value to clean those values (with the callback function that must be written be every user of this library), will this be ok for you ?

maybe something like this :

  $('table.highchart')
  .bind('highchartTable.cleanValue', function(event, value) {
    return value.replace('$', '');
 });

@C10ne
Copy link
Author

C10ne commented Mar 3, 2015

Well, I made a workaround by adding css pseudo classes. But this sollution could also work.

@jamesryanbell
Copy link

I have run into similar issues with £, did the cleanValue callback every get implemented?

Thanks

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

No branches or pull requests

3 participants