FAQs
Why is my chart covering other content on the page?
This may happen if you configure a chart to use an extra spillover area to draw transient elements like tooltips. You can turn that feature off by removing the option: data-fm-enable-spillover="true". See Chart layout and sizing.
Why is "You need to register your domain at http://charts.factmint.com in order to use this Chart." reported in the console?
Our system checks the "Referer" header in the request for our JavaScript; if you have not registered the domain then we will not serve the JavaScript.
I have registered my domain but I still get "You need to register your domain at http://charts.factmint.com in order to use this Chart."
Have you registered the subdomain that you at hosting the chart from? For example, blog.factmint.com and factmint.com would both need to be registered seperately.
Why does my chart flash black?
If you include the script tag before the style link, it is possible that the chart renders before its styling has loaded. Make sure you include the CSS first, or in the document's head.
How can I use Factmint Charts with WordPress? It strips out
script
tags.You can use a shortcode to embed the script and link tags. Something like this:
Then you would add this to the a table in an article:
I'm a commercial licence customer, what happens if I exceed the number of chart impressions I have paid for?
We'll contact you. Your service will continue to run and you will not be charged any more; we will ask you to upgrade your licence to cover your usage for subsequent months.
I don't like the table styling for older browsers / disabled JavaScript.
If a Factmint chart cannot render, it should leave the original HTML table in place. The chart itself does not provide any styling for the table as that might be obtrusive on the host site and may not have consistent style with the rest of the site. However, we do provide a simple stylesheet to improve the look of basic tables: you can use it like this:
The stylesheet will not set the
font-family
, thecolor
of thetbody
text, etc; these things should cascade from the documents styling.What does the "async" attribute on my
<script>
tag do, and do I need it?This attribute means the code will start executing as soon as the script is downloaded. This behaviour is desirable in most cases because it means the loading of your page won't hang until the script is ready. However, if you notice any issues with how charts are displaying (particularly in the case of larger websites with complicated CSS), you should try removing the "async" attribute.
Labels are not appearing correctly on my chart: the background is too small for the text. What is causing this?
By default, Factmint Charts embed codes include an "async" attribute (see question above). Sometimes, particularly in the case of larger websites with complicated CSS, this can cause the chart to be rendered before the CSS has finished being applied. This can cause display problems such as the label backgrounds being drawn with an incorrect size. To resolve the issue, remove the "async" attribute from the
<script>
tag.Which browsers do your charts support?
In short, we support the latest and latest -1 releases for Chrome and Firefox, Safari 7 & 8 and Internet Explorer 10 & 11. Please see our supported browsers page for more detailed information.