Using the latest version of RGraph, I noticed a wrong display in Internet Explorer


« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Rocco Caruso on 29th October 2015
Example here:

methods.it/RGraph
Posted by Richard on 29th October 2015
Hi there,

Well for some reason Chrome and MSIE were showing it 2D/3D instead of just 3D - possibly because you were setting the angle to a string instead of a number. So I've made a few alterations and come up with this example:

www.rgraph.net/fiddle/view.html/a-3d-bar-chart

It uses an increased bottom gutter in order to allow for the 3D effect.



Richard
If RGraph has helped you - please share the website and give your feedback - thanks:

www.rgraph.net/testimonials
Posted by Rocco Caruso on 29th October 2015
The problem is in the command:

bar.Set("chart.variantThreedAngle", "0.0");

that Internet Explorer does not work
Posted by Richard on 29th October 2015
Hi there,

It should be a number - not a string (no quotes):

bar.set("variantThreedAngle", 0);

Cheers


Richard
If RGraph has helped you - please share the website and give your feedback - thanks:

www.rgraph.net/testimonials
Posted by Rocco on 29th October 2015
By changing the format of the parameter Explorer continues to ignore

bar.Set("chart.variantThreedAngle", 0.0);

Also ignores:

bar.Set("chart.variantThreedAngle", 0.5);


Example code:
window.onload = function ()
{
     var bar = new RGraph.Bar({
         id: 'cvs',
         data: [ [4,8,3],[5,2,1], [8,4,2],[3,6,1],[5,1,0],[2,5,1],[1,2,2] ],
         options: {
             variant: '3d',
             variantThreedAngle: 0.1,
             strokestyle: 'rgba(0,0,0,0)',
             gutterBottom: 80,
             labels: ['John','Fred','Baz','Charlie','Kev','Ken','July']
         }
     });
     bar.Set("chart.variantThreedAngle", 0.0);
     bar.draw();
};
Posted by Richard on 29th October 2015
Hi there,

Use the code from the example - you're mixing the different configuration styles which is not demonstrated anywhere on the RGraph site.

The example works.



Richard
If RGraph has helped you - please share the website and give your feedback - thanks:

www.rgraph.net/testimonials
Posted by Rocco on 31st October 2015
I modified the example on
methods.it/RGraph

bar.Set("chart.variant.threed.angle", 0.0);
on Internet Explorer works

bar.Set("chart.variantThreedAngle", 0.0);
on Internet Explorer does NOT work

On other browsers work both

Probably the problem lies in the function
RG.Registry.Set
that Internet Explorer does not work properly
Posted by Richard on 31st October 2015
Hi,

You're setting the angle to zero in a strange way. Take this line out:

bar.Set("chart.variant.threed.angle", 0.0);

And then modify the angle in the main configuration block.


Richard

Add a reply

 




« Back to message list
RGraph on social media