Jump to content
We've recently updated our Privacy Statement, available here ×

TheBronx

Members
  • Posts

    4
  • Joined

  • Last visited

TheBronx's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I have a variable of type List (ArrayList in fact) that contains numbers. How can I plot that numbers in a Bar Chart? What should I enter in Series Category Expression? Complete story: I'm using an XML datasource. One of its fields is: <values>48,59,59,58,53,53,52,55,50,52,54,56,57,59,60,57,56,55,58,62</values>[/code]So I've created a variable with those values splitted like this: <variable name="arraylist" class="java.util.List"><variableExpression><![CDATA[newArrayList<>(Arrays.asList($F{values}.split(",")))]]></variableExpression></variable>[/code]Now I want to plot the values in a Bar Chart but... what should I write here? http://i.stack.imgur.com/HnZuL.png The list of values will always have 20 values (size=20), if that simplifies the problem.
  2. forget it, this is an issue with Adobe Reader when opening more than one PDF file (more than one instance of PDF Reader)
  3. I've posted this also on SO: http://stackoverflow.com/questions/15925258/jfreechart-charts-appearance-when-combined-with-jasperreports
  4. The problem is that the first report generated with the java application looks fine while subsequent reports don't: This is a screenshot from the first report: http://oi46.tinypic.com/ab47d5.jpg This is the second/third/...: http://oi45.tinypic.com/1263edt.jpg The chart is different, background has changed a bit and font's are not antialiased... It's not only a problem with charts, the entire report has the same aliased font. Restarting the application results in repeating the same problem: first report is ok, subsequent reports are not. -------------------------------- JasperReports: 5.0.1 JFreeChart: v.1.0.13
×
×
  • Create New...