Jump to content
Changes to the Jaspersoft community edition download ×

daad.madhusudan

Members
  • Posts

    27
  • Joined

  • Last visited

Community Answers

  1. daad.madhusudan's post in How to call oracle (PLSQL) Stored procedures from ireport designer? was marked as the answer   
    The problem was in iReport field extractor. The solution for above problem is, we should analyse our stored procedure and create fields in iReport designer with the same name which are present in select clause of stored procedure.
     
    After creating stored procedure, just drag and drop the fields on the report are and execute it. It will show the retrieved data.
     
    This solution worked for me, so I am sharing it with you.
  2. daad.madhusudan's post in How to align bars and labels on category axis properly using customizer? was marked as the answer   
    Got it! I created custom renderer to fulfill my requirements.
  3. daad.madhusudan's post in data parameter format was marked as the answer   
    in parameter expression clause add following line:
    new SimpleDateFormat("yyyy-MM-dd hh:mm:ss").format($P{Date})
    I think this will work
  4. daad.madhusudan's post in How to remove box around labels in piechart? was marked as the answer   
    I got the solution for this. I added following two lines of code in my customize methos:
                 piePlot.setLabelOutlinePaint(null);            piePlot.setLabelShadowPaint(null); And this removed box around labels :)
  5. daad.madhusudan's post in How to change the thickness of 3D piechart using customizer? was marked as the answer   
    I got the solution. Using depth field in ireport designer, we can adjust the thicknes. For me I kept it 0.08 and graph generated in the disk format.
  6. daad.madhusudan's post in Showing Label on top and outside of bars in Bar Chart was marked as the answer   
    I got the solution :)
    In my customizer class I am adding following lines:
    CategoryPlot categoryPlot = (CategoryPlot) chart.getPlot();categoryPlot.getRenderer().setBasePositiveItemLabelPosition(new ItemLabelPosition(ItemLabelAnchor.OUTSIDE12, TextAnchor.BOTTOM_CENTER));Its working :)
×
×
  • Create New...