r - Dimple change axis title -
I am hosting a graph with RCHHT on the website and want to change the title of X-axis. I'm using it:
d1 $ setTemplate (afterScript = "& lt; script> myChart.draw () myChart.axes [0] .titleShape.text ('x- Axis title ') myChart .xes [1] .titleShape.text (' y-axis title ') myChart.svg.append (' text ') .attr (' x ', 40) .attr (' y ', 20) Style ('text-size', '100%')
However, this does not seem to work. Now the names of the variables are shown on the website as Axis Labels. But when I run full slot in Rustidio, this axis title is changed
The question is: How can I fix this?
Thank you in advance.
AD
I have solved this today. The exact problem that I do not know, however, I tried to run this script in R which works fine But since the graph has been hosted on any page, I have put the script between the HTML code which is more logical in my opinion and this work The literacy.
AD
Comments
Post a Comment