omri Posted May 31, 2007 Report Share Posted May 31, 2007 I use "exportChart" to save map settings and then "importChart" to load them. It appears that conditional attributes are not loaded. Here is code that shows this (Java, CFX 6.5): (page1.jsp) SoftwareFX.ChartFX.ConditionalAttributes cond1 = new SoftwareFX.ChartFX.ConditionalAttributes(); cond1.getCondition().setTo(50); cond1.setColor(java.awt.Color.red); cond1.setLegend("Under 50%"); map.exportChart(FileFormat.XML,"c:/temp/chart/map2.cfx"); (page2.jsp) map.importChart(FileFormat.XML,"c:/temp/chart/map2.cfx"); out.println("C="+map.getConditionalAttributes().size()+"<BR>"); // Should be "1" but is "0" - BUG? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.