Issue #490 new

pointLabels formatter ignored if no formatstring

Anonymous created an issue

I was trying to use my own formatter function, and my function does not need a format string.

I found that pointLabels ignored the formatter if the format string was empty.

I see the following in the code: if (!r.formatString) { r.formatString = this[o]._ticks[0].formatString; r.formatter = this[o]._ticks[0].formatter }

I'm not sure what the intent is but it seems that if formatString is empty it will take the formatstring AND formatter from _ticks[0], I'm not sure who that is in this context and why this is done.

thanks

Comments (0)

  1. Log in to comment