Heyy folks I have a pretty strange requirement.I need to draw an arrow shaped image beside a stacked bar chart in a category plot .The arrow image has to be red or green depending on some pre defined condition.I just need help to find a method to draw an image outside the stacked bar on the plot using jfree chart.Please help me out with this guys .Being stuck with this for days !!!!
相关问题
- Views base64 encoded blob in HTML with PHP
- How to get the background from multiple images by
- Plotting multiple columns with ggplot2 [duplicate]
- CV2 Image Error: error: (-215:Assertion failed) !s
- JFreeChart SpiderWebPlot inner circles?
相关文章
- How to plot smoother curves in R
- Use savefig in Python with string and iterative in
- Where does this quality loss on Images come from?
- Specifying image dimensions in HTML vs CSS for pag
- How to insert pictures into each individual bar in
- How to add clipboard support to Matplotlib figures
- Adding a legend to a matplotlib boxplot with multi
- How do I append metadata to an image in Matlab?
Do you need an arrow, an image or an image cropped to an arrow? In the first case, I would look at CategoryPointerAnnotation. In the second case, look at the source of XYImageAnnotation and wrap the logic in a custom CategoryAnnotation. An XYImageAnnotation itself won´t work, if your plot is indeed a CategoryPlot.
You could implement the
CategoryAnnotation
interface: