Jump to content
JChartFX Community

xilton

Members
  • Posts

    6
  • Joined

  • Last visited

xilton's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. xilton

    IE 11

    We found it. They had a proxy on the network which caused a few things which incuded the graphics not showing. A well, things happen. thanks
  2. xilton

    IE 11

    ah man, I just tried it here at work and it works fine... I hate when that happens. Now to try and get the client and see if he's able togive me the js error if any,
  3. xilton

    IE 11

    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>
  4. ok I got it to work like follows chart1.getPoints().getItem(0,3).setColor("#FFAA34"); now I only need to fix the legend to show the same color
  5. This may seem dumb but I just can't get my pie colors changed. I'm able to with bar graphs but not simple 2d pies? I know I'm doing something wrong but what. Works fine for bars. Thanks Javascript code ... 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); chart1.getSeries().getItem(0).setColor("#FF9900"); chart1.getSeries().getItem(1).setColor("#009900"); var pie = chart1.getGalleryAttributes(); pie.setExplodingMode(cfx.ExplodingMode.All); ...
×
×
  • Create New...