Next Page

1

Previous Page

Thread: How to display delta of bars

Created on: 07/12/12 03:42 PM

Replies: 7

lolson


Member


Joined: 04/30/12

Posts: 20

How to display delta of bars
07/12/12 3:42 PM

I would like to display delta of the two in bar chart.

How do get the delta of result1 and result2 on the chart.

Here is the codes:

<cfchart format="flash" xaxistitle="respondents" yaxistitle="numbers" style="#style#" show3d="yes">

<cfchartseries type="bar" serieslabel="result" >
<cfchartdata item="result1" value="75">
<cfchartdata item="result2" value="80">
</cfchartseries>

</cfchart>

Thank you,

Link | Top | Bottom

admin


Experienced Member


Joined: 04/08/04

Posts: 2,878

RE: How to display delta of bars
07/13/12 10:31 AM

Do you have an idea of how you would 'draw' the delta?

Link | Top | Bottom

lolson


Member


Joined: 04/30/12

Posts: 20

RE: How to display delta of bars
07/13/12 10:38 AM

I wanted the delta value to display as labels inside the bar chart.
Can I do that? Thank you.

Link | Top | Bottom

admin


Experienced Member


Joined: 04/08/04

Posts: 2,878

RE: How to display delta of bars
07/13/12 10:44 AM

So to be clear, item 2's label would have the delta between 1 and 2. 3 would be 2 and 3. And item 1 would have no delta.

Right

Link | Top | Bottom

lolson


Member


Joined: 04/30/12

Posts: 20

RE: How to display delta of bars
07/13/12 10:52 AM

Yes, as result 1 = 75 and result2 = 80 and delta should display on result2 5 delta.

Link | Top | Bottom

admin


Experienced Member


Joined: 04/08/04

Posts: 2,878

RE: How to display delta of bars
07/13/12 11:32 AM

As far as I know, this is not possible in the Flash style charts in ColdFusion 9. It may be possible in ColdFusion 10 with the HTML based charting, but you would need to use JavaScript to modify the labels dynamically.

Link | Top | Bottom

admin


Experienced Member


Joined: 04/08/04

Posts: 2,878

RE: How to display delta of bars
07/13/12 11:32 AM

Another option would be to use a second series. Like a bar chart of deltas.

Link | Top | Bottom

lolson


Member


Joined: 04/30/12

Posts: 20

RE: How to display delta of bars
08/07/12 5:32 PM

How can I make the horizontalbar chart thicker.

Link | Top | Bottom

Next Page

1

Previous Page

New Post

Please login to post a response.