Hi Manju,
You may develop these types of charts using ChartDirector.
There are many methods to create these charts. For example, for the first chart in your post, it can be considered as a chart with multiple horizontal bar layers. In ChartDirector, each bar layer can have a different "baseline" (see BarLayer.setBaseLine). You may use multiple bar layers, each start at the beginning of a different day.
Similarly, for the second chart, you can consider it either as a horizontal bar chart or vertical stacked bar chart. You may also consider it as a "floating box" chart (see the "Floating Box Chart" sample code).
I see that in both the first and second charts, near the bottom, there are something that looks like a vertical bar chart. You can use a separate XYChart to create the vertical bar chart, and then put it under the top part of the chart (or you may use the MultiChart object to merge them into a single chart).
Unluckily, we do not have any sample code that fits exactly what you want. You probably would need to develop the code yourself.
Regards
Peter Kwan |