Sign in to follow this  
karl

Styling Questions On My Chart

Recommended Posts

I am using MSColumn2D.swf for my chart and I need to do a couple of more things in order to satisfy my requirements. Here is an image of my chart currently:

F2igw.png.

 

Please let me know how to accomplish each item:

 

1) Each value shown ($110k, $120, $30K, $60K) needs to be in the same color as its corresponding bar. For example, $60K and $120K need need to be in the green color and $110K and $30K need to be in the blue color.

 

2) I need to put 10 pixels of spacing between each pair of bars. For example, the two bars for "A - TEST GROUP 1 x 1.0" need to have 10 pixels of space separating them.

 

3) I need to be able to make the letter in the labels be bold and the rest of the text not bold. For example, in "A - TEST GROUP 1 X 1.0" , "A" would be bold and the rest of the text would be normal font-weight.

 

Thank you for your assistance!

Share this post


Link to post
Share on other sites
Guest Sumedh
  On 6/5/2012 at 8:16 PM, karl said:

Also, can you tell me how to get the second label from being within the bar ? It should appear above it.

 

Hi,

 

Find answers to your queries inline below:

 

Each value shown ($110k, $120, $30K, $60K) needs to be in the same color as its corresponding bar.

For example, $60K and $120K need need to be in the green color and $110K and $30K need to be in the blue color.

>> Making each data-values colored differently corresponding to data-plot color is not possible. The same style would be applied on the data-values.

As, DATAVALUES is a global chart object.

 

I need to put 10 pixels of spacing between each pair of bars. For example, the two bars for "A - TEST GROUP 1 x 1.0" need to have 10 pixels of space separating them.

>> This is not possible. MSColumn2D chart displays grouped data and separating a group is not possible.

 

I need to be able to make the letter in the labels be bold and the rest of the text not bold. For example, in "A - TEST GROUP 1 X 1.0" , "A" would be bold and the rest of the text would be normal font-weight.

>> You can have bold effect on a particular word or letter of the data-label but Flash chart allows you to encode only few HTML tags.

Here in this scenario, you can use JavaScript chart.

 

Please find attached XML code and screen-shot which is rendered in JavaScript.

post-24802-0-16406600-1338962902_thumb.png

MSColumn2D_Data.xml

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this