MENU
.net Powerful JavaScript charts
About
RGraph is a JavaScript charts library based on HTML5 SVG and canvas. RGraph is mature (over 18 years old) and has a wealth of features making it an ideal choice to use for showing charts on your website.

More »

 

Version 7.20
Version 7.20 (released in June 2026) is the latest version of RGraph and the major change in this version is an update to the default values of properties making for better looking charts without having to set any properties. Read more about this and other changes in the changelog.

Download »

 

Download
Get the latest version of RGraph (version 7.20, 9th June 2026) from the download page. You can read the changelog here. There's also older versions available, minified files and links to cdnjs.com hosted libraries.

Download »

 

Latest forum posts
These are the latest support forum posts that have been posted or updated.


16th June, Rachel
I have a question about the 3D Bar chart
12th June, Marco
Should I use SVG or canvas for the charts on my website?
9th June, Richard
New version of RGraph: version 7.20
3rd June, Patrick
Question about installing RGraph
1st June, Ouja
How do I add a click event to a bar in my Bar chart?


Support forum »

 

License
RGraph can be used for free under the GPL or if that doesn't suit your situation there's an inexpensive (£129) commercial license available.

More »

I have a problem with the tooltips layout and the tooltip pointers


Posted by Joachim at 15:21 on Saturday 29th June 2024 [link]
hi,

With the new version the arrow of tooltips do not display correctly - e.g. outline is missing.
Poperty "tooltipsCssClass": "rgraph_tooltips" seems not to work as it did with 6.17.
Can you pls. check,
Thank you!

Posted by Richard at 16:38 on Saturday 29th June 2024 [link]
Can you post a minimal example that reproduces this please?

Posted by Joachim at 16:59 on Saturday 29th June 2024 [link]
Hi,
I found that with v6.18 you append the canvas -id to "RGraph_tooltipsPointer". E.g. if your canvas is "my_cvs" then the id for the tooltips pointer is set to "RGraph_tooltipsPointer_my_cvs".
If the used css had settings for "#RGraph_tooltipsPointer" this will not be used any more.
How can you fix this?

you may see samples at https://www.jschmidt-systemberatung.de/index.php?option=com_jphpx&view=application&fileid=9&lang=en&Itemid=652

Posted by Richard at 18:02 on Saturday 29th June 2024 [link]
The canvas ID was added to the tooltip ID to make it feasible to have different CSS for different charts' tooltips when you have multiple on one page.

If you're not bothered about this then you could make a slight alteration to your CSS selector and use a regex selector like this:

<style>
    div.RGraph_tooltip div[id^=RGraph_tooltipsPointer] {
        background-color: red !important;
    }
</style>

Or if you don't use any <div> tags in your tooltips:

<style>
    div.RGraph_tooltip div {
        background-color: red !important;
    }
</style>

I appear to have not mentioned this in the changelog - sorry about that!

[Replies are closed]