Hi,I am learning to program by use of JFreeChart.But Now I have a trobule, Can anyone be kind enough to help me?
The Chart picture on the webpage can not been seen sometimes in Internet Explore. When I set the Security Level to low in the Option of IE, the picture can been seen again. I don't know how to fix this problem.
The following is the releated code:
///////////// Code begin /////////////
String DNAidentify="";
for(int i=0;i<(maxnum<showNum?maxnum:showNum);i++)
DNAidentify=DNAidentify+up.gotDNAindenty(i)+"-";
//String chartViewer = up.getChartViewer(request, response);
String fileNameLine=BarChart.getChartViewer(session,new PrintWriter(out),370,230,DNAidentify);
String graphURLLine = request.getContextPath() + "/CreateBarChart?filename=" + fileNameLine;
////////////// Code end ////////////////////
I use the following code to refer it:
<img src=" <%= graphURLLine %>" border=0 usemap="#imageMap" >