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

Message ListMessage List     Post MessagePost Message

  Instead of having multicolors to bars want only single color for all bars
Posted by shareef on Jun-24-2013 13:13
Dear All,

i'm using chart director in my project its working fine..
but my requirement is instead of having individual color for each single bar..i want same
color for all bars
how can i place same color for all bars

  Re: Instead of having multicolors to bars want only single color for all bars
Posted by shareef on Jun-24-2013 13:20
im using javascript clicable charts the entire functionality is working fine but i want same
color for all bars

  Re: Instead of having multicolors to bars want only single color for all bars
Posted by Peter Kwan on Jun-25-2013 03:20
Hi shareef,

To create a bar layer with all the bars being the same color, the API is addBarLayer. There are many examples in the ChartDirector distribution in which all the bars are of a single color. May be you can refer to them as references.

For example, in C#/Java, instead of using:

c.addBarLayer3(data);

you may use:

c.addBarLayer(data, 0x666699);

Hope this can help.

Regards
Peter Kwan