1

How to use fill parttern for the Bar or Stacked Bar graph in Jasper Report? Can anyone give some instructions or a easy example? Many thanks.

My expecting is somethink like the graph beblow,and I want to use diagonal stroke to fill the bar. enter image description here

Alex K
  • 22,315
  • 19
  • 108
  • 236
Eric
  • 1,279
  • 1
  • 11
  • 8
  • 1
    You might look at a suitable [`Paint`](https://docs.oracle.com/en/java/javase/17/docs/api/java.desktop/java/awt/Paint.html) implementation, seen [here](https://stackoverflow.com/q/6935748/230513). – trashgod Jan 07 '23 at 00:12
  • 1
    Hi Eric with the 2 duplicates (trashgod's shows the JFreeChart code) and mine shows how to implement it in jasper reports (JRChartCustomizer), you should be ok. However if you still have doubt's let me know – Petter Friberg Jan 09 '23 at 09:16

0 Answers0