url « Development « JFreeChart Q&A





1. How to generate URL...??    jfree.org

2. "INTERNATIONLIZED" URL GENERATOR ?    jfree.org

Hi all I am trying to use the URL Generator to realize some kinda "Drill-down" functionality. But since some of my "Parameters" will be in CHINESE, and somehow I could not get them correctly in the target pages... Interesting thing is, the display of CHINESE characters including "LABELS" and "TOOLTIPS" are both ok... btw, my application is fully I18Ned, both GET ...

3. set more params in URL::URGENT    jfree.org

5. URLs in Chart Legend?    jfree.org

6. Setting URLs to category names?    jfree.org

Hello everybody, I'm trying to set URLs to the category names and use these later when creating the image map. I managed to get this working for the bars themselves and read the post about manually setting an URL to one of the axis, but I could not do it for the category names - I can get their average position ...

8. Custom URL    jfree.org

Hello all, I'm using JSP and MySQL : I'm having alot of fun with JFREE. One thing I am stuck with is customizing URLs in an imagemap. I am doing a timeseries graph (simple) : I would like the url to be different for every data point instead of being index.html?ID=1, index.html?ID=2, index.html?ID=3 etc.. I tried different methods by had no ...

9. Help with URLs    jfree.org





10. Grab/Access generated chart/image URL    jfree.org

JFreeChart has no notion of a URL for the image--you configure that in your servlet configuration when you write a servlet that streams the image to the client. JFreeChart just produces the image and can write it as a PNG, etc, to an output stream, which you can get for the HttpServletResponse. Did that help?

11. set the URL which has provided which creating the data.    jfree.org

XYSeriesCollection xyDataset = new XYSeriesCollection(); ArrayList dataSet = new ArrayList(); ArrayList sectionList = whDataSet.getSections(); Iterator sectionIter = sectionList.iterator(); while (sectionIter.hasNext()){ String sectionName = (String) sectionIter.next(); dataSet = whDataSet.getDataByHitDate(sectionName); if (dataSet.size() == 0) { System.out.println("No data has been found"); throw new Exception("No data has been found"); } WalgreensXYSeries dataSeries = new WalgreensXYSeries(sectionName); Iterator iter = dataSet.listIterator(); while (iter.hasNext()) { WebHit wh = ...

13. Unique URL for Tasks/ Subtasks    jfree.org

14. How can i implement my own class to generate URL    jfree.org

I have 3 days trying to customize the URL generation in XYLineChart. Let me explain my situation to get some answer to my problems. a).- I have a dataset with 2 series, like next: XYSeriesCollection dataset = new XYSeriesCollection(); XYSeries serieLstYr = new XYSeries(2006); XYSeries serieCurYr = new XYSeries(2007); serieLstYr.add(1,2563); serieLstYr.add(2,1345); serieLstYr.add(3,2343); dataset.addSeries(serieLstYr); serieCurYr.add(1,5874); serieCurYr.add(2,3656); serieCurYr.add(3,5221); dataset.addSeries(serieCurYr); b).- I have the ...

15. jfree chat version 1.0.1 - legend adding urls to legend item    jfree.org

is there a way I can easily add a url link to a legend item in jfreechart 1.0.1 I cannot upgrade to 1.0.6 so please do not suggest to do so. I have to work with the 1.0.1 version. Is there a way to get the x,y coordinates of the legend in relation to the entire chart?

16. URL Example    jfree.org

Hi, I bought the latest and greatest J Free Chart Guide for Developers and downloaded the demo source code that went with the project. I need an example that shows when URL is set to true. It looks like this is used as an image map from the API code. When demo example shows the URL being set to true? I ...





17. A Problem About Map Url Clobber?    jfree.org

18. Legend URLs - How can I set the receiving class?    jfree.org

No replies, maybe because it is not possible?? Anyway, I created a new class: ExtendedCategorySeriesLabelGenerator() which extends StandardCategorySeriesLabelGenerator() It has a URL prefix variable and getter and setter methods for it. I pass the receiving servlet/JSP name to the setter. createItemArray was modified as follows: if (sUrlPrefix == null) { result[0] = dataset.getRowKey(series).toString(); } else { result[0] = sUrlPrefix + "?series=" ...

19. change url parameters    jfree.org

I don't think you can. As written, your URL will be: page.jsp?series=[legend label]&category=[person's name(x axis label)] I think page.jsp will need the ability to link the person's name to serial number. Perhaps from session data you set in the JSP that creates the chart or by having page.jsp get it from a database.

20. how can i read data from URL?    jfree.org

21. Problem with Encoded url with StackedBarRenderer3D.    jfree.org

Problem with Encoded url with StackedBarRenderer3D. by rk3549 Thu Jun 19, 2008 8:23 pm I have a requirement to generate a stacked bar chart with customized URL for a web application (using image map in JSP). I am using jfree 1.0.8 and StackedBarRenderer3D. I used the StandardCategoryURLGenerator in the following way. renderer.setBaseItemURLGenerator(new StandardCategoryURLGenerator (displayBarGraph.do) ); The url shows up as ...

22. Assigning URLs to a TextTopic string    jfree.org

Hi, I am working on a charting application where i need to link a piece of text from my Subtitle to a separate page. I was thinking of creating an imagemap and then assigning the URL using servlets. But i am not able to obtain the title or subtitle text from the chart to do so. Can anyone guide me as ...

23. How to set url in jfreechart when I use jfreechart on seam?    jfree.org

hi all, when I generate a chart use jfreechart on seam,I don't konw how to set the url to the chart.I use the code bellow: XYPlot plot = chart.getXYPlot(); XYLineAndShapeRenderer xylineandshaperenderer = (XYLineAndShapeRenderer)plot.getRenderer(); StandardXYURLGenerator generator = new StandardXYURLGenerator("toneanalysis/clickInput.jsp", "yAxis_n", "xAxis_n"); xylineandshaperenderer.setURLGenerator(generator); HttpServletRequest request = (HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest(); HttpServletResponse response = (HttpServletResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse(); HttpSession session = request.getSession(); StandardEntityCollection sec = new StandardEntityCollection(); ChartRenderingInfo info = ...

24. How to generate URL    jfree.org

25. How to Set a Url for the Chart Urgent pls    jfree.org

Hi I am using a line chart and i have data points in the chart ,when i clicking a point it draws a line for that series. So now my req is when ever i click on the remaining part of the chart other than series points i need to get the series without line i.e., basic chart i am using ...

26. Adding urls to a graphic    jfree.org

Hi! I have to add some URL to the graphic. I know, that I will have to use Image Maps and I have also seen some Url-generator... But it seems, that not one of these generator will fit to my purposes. My question is, is there a way to add a URL to a value of the dataset? Like: Dataset dataset ...

27. URLs with additional dynamic parameters    jfree.org

Hi, Is there a way to add dynamic parameters to a URL? I was able to generate an XYLineChart with an Image Map that has default URL parameters as the "series" and "position". I would also like to include the x and y coordinates in every URL. Is that possible? Creating a CustomXYURLGenerator and setting values in the TreeMap was not ...