How can I add some shapes in Ganntt Chart with Java?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
xmaster
Posts: 1
Joined: Tue Aug 25, 2020 11:32 am
antibot: No, of course not.

How can I add some shapes in Ganntt Chart with Java?

Post by xmaster » Tue Aug 25, 2020 11:41 am

I made a Ganntt diagram with Java to show some processes. Now I want to find a way to add some shapes like rhombuses or triangles in specific places in the bars of the chart. hier is a picture to show what exactly i mean. Does anyone have any ideas, please, how can I do this?
Image

John Matthews
Posts: 513
Joined: Wed Sep 12, 2007 3:18 pm

Re: How can I add some shapes in Ganntt Chart with Java?

Post by John Matthews » Mon Sep 07, 2020 11:52 pm

Have you looked at a custom CategoryAnnotation, seen among the org.jfree.chart.annotations?

Locked