Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Horizontal bar with red for negative and green for positive?

New Here ,
Jul 23, 2012 Jul 23, 2012

I need to use CF9 to create horizontal bar chart where the intensity of the red (negative) is determined by the amount of negativity of the values and similarly the intensity of the green is based on the amount of positivity of the values.

See attached snapshot. Ignore the value label.

Can CF10 do this. I briefly looked but does not appear so.

Any advice? THANKS!!

horzBarGreenRed.png

1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Participant , Jul 25, 2012 Jul 25, 2012

Very much so.  It is just cfchart format=html and then you set the parameters either in CF using the json format or using an external 'stylesheet' (preferable).  See the other post on my site called ZingChart and ColdFusion.

Translate
Participant ,
Jul 24, 2012 Jul 24, 2012

Yes, with the new charting engine it is possible to do this with rules.  Check out my example at http://www.cfuser.com/library/demos/index.cfm?do=charting&get=bcr.  You have to set the threshholds and the colors.  The colors are two part to allow for gradients. I have also just posted a write-up at http://www.cfuser.com/rules-preview-zoom-and-flash/

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 25, 2012 Jul 25, 2012

Stephen... thanks for the reply. It looks very capable. But it's not "out of the (CF) box" solution. Is it?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 25, 2012 Jul 25, 2012

Very much so.  It is just cfchart format=html and then you set the parameters either in CF using the json format or using an external 'stylesheet' (preferable).  See the other post on my site called ZingChart and ColdFusion.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 25, 2012 Jul 25, 2012
LATEST

I probably should have included the caviat that the html5 charting is only available in Enterprise edition.  I forget that because because it doesn't make sense to me.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources