Jump to content
Software FX Community

Maps template persistence bug?


omri

Recommended Posts

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?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...