Need a special offer?Find out if your project fits.
+

charts/graph not working

Answered
sabby asked on August 24, 2017

how can i show charts? i am getting js errors. kindly assist

Attachments:
flex1.png

13 answers

Public
sabby August 24, 2017

Uncaught DOMException: Failed to execute 'querySelector' on 'Document': '#' is not a valid selector.
at ka (https://cdn.flexmonster.com/2.4/lib/d3.min.js :3:10479)

Public
sabby August 24, 2017

I am using <script src="https://cdn.flexmonster.com/flexmonster.js"></script>
am unable to retrieve charts and graphs

Public
Ian Sadovy Ian Sadovy Flexmonster August 24, 2017

 Hello Sabby,
 
Thanks for reporting.
There was an issue and we have committed a fix to flexmonster.react.js
Please download an update from our GitHub.
 
Regards,
Ian

Public
sabby August 24, 2017

ok . let me check it out . thanks 

Public
sabby August 24, 2017

this works now. thanks alot

Public
Jonathan Loos August 31, 2017

 Hi Ian, 
I have the same problem using angularjs and the flexmonster.js from the downloaded trial files.
Best,
Jonathan

Public
Tanya Gryshko Tanya Gryshko Flexmonster August 31, 2017

Hello Jonathan,
Thank you for reporting the issue. The fix will be ready within the next minor release 2.403, ETA Sep 11. As a workaround, you can add id="pivot-container" to the container for the component. This should fix the issue. Please let me know if everything works fine.
Regards,
Tanya

Public
sabby August 31, 2017

like this ?  
<FlexmonsterReact.Pivot id="pivot-container" ref ="pivot" toolbar = "true"
beforetoolbarcreated = {this.customizeToolbar}
componentFolder="https://cdn.flexmonster.com/2.4/"
width="1550px" height="1000px"
report = {

Public
sabby August 31, 2017

it didnt work though

Public
Jonathan Loos September 1, 2017

Thanks a lot, for me it worked like a charm. 😀

Public
Tanya Gryshko Tanya Gryshko Flexmonster September 1, 2017

Hello Sabby,
The fix for this issue for flexmonster.react.js is available on GitHub. The workaround with id="pivot-container" works for Angular. Let me know if you have further questions.
Regards,
Tanya

Public
Tanya Gryshko Tanya Gryshko Flexmonster September 1, 2017

Hello Jonathan,
We are glad that everything worked!
Regards,
Tanya

Public
Tanya Gryshko Tanya Gryshko Flexmonster September 15, 2017

Hello Jonathan and Sabby,
I am glad to inform you that the minor releases 2.403 is available for download now. The issue with showing charts if pivot container doesn’t have an ID was fixed.
You are welcome to update the component.
Regards,
Tanya

Please login or Register to Submit Answer