ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  can we do this chart?
Posted by Jack on May-10-2011 10:36
Attachments:
can we do this chart?
Picture1.png

  Re: can we do this chart?
Posted by Peter Kwan on May-11-2011 00:47
Hi Jack,

Yes. You just need to create an XYChart with 2 layers. The first layer is a multi-bar layer, and the second layer a simple bar layer. For example, in Java/C#:


BarLayer layer = c.addBarLayer2(Chart.Side);
layer.addDataSet(dataArray0, 0x66aaee, "XXX");
layer.addDataSet(dataArray1, 0xeebb22, "YYY");
layer.addDataSet(dataArray2, 0xcc0000, "ZZZ");
layer.addDataSet(dataArray3, 0x00cc00, "WWW");
layer.setBorderColor(Chart.Transparent, Chart.barLighting(0.75, 1.75));
layer.setBarGap(0.2, Chart.TouchBar);

c.addBarLayer(dataArray4, 0x7f6666ff, "AAA").setBarShape(Chart.CircleShape);


Hope this can help.

Regards
Peter Kwan