views:

227

answers:

1

Hi, All. I use LineChart in Flex with horizontal category axis and I need drop duplicated category label on the chart.

The data I use are like that: {Product: "C1", Store: "S1", Profit: "1500}, {Product: "C2", Store: "S1", Profit: "1000}, {Product: "C3", Store: "S2", Profit: "800}, {Product: "C4", Store: "S2", Profit: "1200}, {Product: "C5", Store: "S3", Profit: "1800}

Beacuse I set horizontalAxis.categoryField = "Store" , the chart show label "S1,S1,S2,S2,S3" on ths axes. However, I have to group C1 and C2 data point on the same "S1" category (also for C3,C4 on second S2) and drop duplicated category label.

If there any idea to do this? (Maybe set categories on the Axes manually? ) Thanks!

A: 

Hi I am facing the same problem. Did you find a solution to it?

Thanks Cheree

Cheree