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>