How do i build charts using Java script
Answered
Hi,
I am unable to develop reports using Javascript. I am using one dimension and a measure and when i click on the final tab Preview the error is like, "There is an error in the javascript.
Please help me resolving my issue.
Venu
Hi Venu,
Unfortunately JavaScript can be a bit tricky to get going, and like all programming languages will require a bit of a learning curve and debugging.
In this case we can get more information on what specifically is going wrong with your code by looking at the browser console when you move to the data preview tab. Right click "inspect" on your browser screen, and then navigate to the "console" tab. This will display any errors thrown during Javascript processing.
This article should get you going in the right direction:
https://community.yellowfinbi.com/knowledge-base/article/tips-to-code-and-debug-a-javascript-chart-in-yellowfin
I would also recommend starting with one of our examples, and then modifying the code:
https://community.yellowfinbi.com/knowledge-base/article/javascript-charting-libraries-ski-team-examples
Let me know if you need anything else here.
Regards,
Nathan
Hi Venu,
Unfortunately JavaScript can be a bit tricky to get going, and like all programming languages will require a bit of a learning curve and debugging.
In this case we can get more information on what specifically is going wrong with your code by looking at the browser console when you move to the data preview tab. Right click "inspect" on your browser screen, and then navigate to the "console" tab. This will display any errors thrown during Javascript processing.
This article should get you going in the right direction:
https://community.yellowfinbi.com/knowledge-base/article/tips-to-code-and-debug-a-javascript-chart-in-yellowfin
I would also recommend starting with one of our examples, and then modifying the code:
https://community.yellowfinbi.com/knowledge-base/article/javascript-charting-libraries-ski-team-examples
Let me know if you need anything else here.
Regards,
Nathan
Hi Venu,
I am going to set this ticket to closed for now, but if there is anything else I can do to help here, please just let me know and the case will be re-opened!
Regards,
Nathan
Hi Venu,
I am going to set this ticket to closed for now, but if there is anything else I can do to help here, please just let me know and the case will be re-opened!
Regards,
Nathan
Replies have been locked on this page!