Jump to content
JChartFX Community
  • 0

IE 11


Question

So IE 11 is being rolled out autoamtic, and it looks like jChartFX is not working with IE 11 (edge mode)

SCRIPT438: Object doesn't support property or method 'ieG'

File: charts, Line: 1, Column: 86032

Please not File: charts is just because it bundles with asp.net bundler

Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

 Hi there,

I Have a new client which runs IE11 and no graphs appear. I run the javascript latest version from the download section. Run fine with IE10 though. Iguess there's an error but I don't have access to the PC directly to check for one. This is classic asp. No plans for now to change this. thanks

Here's my sample code:

 

        <div id="ChartDiv" style="width:450px;height:350px;display:inline-block"></div>
    <script>
        var chart1 = new cfx.Chart();
        var items = [
       

    <%
            strOut = ""   

        for i=0 to uBound(myValueArray)
            strOut = strOut & "{""Label"": """ & myTitleArray(i) & """, ""Value"": " & cstr(myValueArray(i)) &  "},"
        Next

        strOut = Left(strOut,Len(strOut)-1)
        response.write (strOut)
    %> ];

        chart1.setGallery(cfx.Gallery.Pie);
        chart1.getAllSeries().getPointLabels().setVisible(true);
        chart1.getAllSeries().getPointLabels().setFormat("%v");
        chart1.getLegendBox().setVisible(true);   
        chart1.getLegendBox().setDock(cfx.DockArea.Bottom);
    <%
        strAnim = IniFileValue("other|anim")
        if strAnim = "1" then
            response.write("chart1.getAnimations().getLoad().setEnabled(true);" & vbCrLf)
        end if
       
        ' lets get our colors
        strP1 = IniFileValue("colors|P1")
        strP2 = IniFileValue("colors|P2")
        strP3 = IniFileValue("colors|P3")
        strP4 = IniFileValue("colors|P4")
    %>
       
        var pie = chart1.getGalleryAttributes();
        pie.setExplodingMode(cfx.ExplodingMode.All);   
       
        chart1.getPoints().getItem(-1,3).setColor("#<%=strP1%>");
        chart1.getPoints().getItem(-1,2).setColor("#<%=strP2%>");
        chart1.getPoints().getItem(-1,1).setColor("#<%=strP3%>");
        chart1.getPoints().getItem(-1,0).setColor("#<%=strP4%>");
       
        chart1.setDataSource(items);
       
        chart1.create('ChartDiv');
    </script>
 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...