You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working with this plugin and, first of all, I have to tell you that It's great!
The code was working fine for the pie precision. But when I tried in the x or y in a bar chart I came across this issue. The precision was not working. I looked at the source code for the plugin and I find out what was the issue.
I just put the following lines in the code, overwriting the existing ones, and it worked. So I'm here to share this with you. The lines are:
164 var xPattern = /%x.{0,1}(\d{0,})/;
165 var yPattern = /%y.{0,1}(\d{0,})/;
instead of
164 var xPattern = /%x.{0,1}(?:\d{0,})/;
165 var yPattern = /%y.{0,1}(?:\d{0,})/;
The text was updated successfully, but these errors were encountered:
I'm working with this plugin and, first of all, I have to tell you that It's great!
The code was working fine for the pie precision. But when I tried in the x or y in a bar chart I came across this issue. The precision was not working. I looked at the source code for the plugin and I find out what was the issue.
I just put the following lines in the code, overwriting the existing ones, and it worked. So I'm here to share this with you. The lines are:
164 var xPattern = /%x.{0,1}(\d{0,})/;
165 var yPattern = /%y.{0,1}(\d{0,})/;
instead of
164 var xPattern = /%x.{0,1}(?:\d{0,})/;
165 var yPattern = /%y.{0,1}(?:\d{0,})/;
The text was updated successfully, but these errors were encountered: