1

I basically have a bar chart showing the score of individuals and I want to add a few line in the chart representing the different levels (i.e. the 65% is pass, 75% is fair, etc) something like this Add a “Target Line” to a Coldfusion 8 CFChart Bar Graph only in coldfusion 10 which supports html format. Thanks guys,

Community
  • 1
  • 1
Rob
  • 47
  • 4
  • You should post that as an answer so it is easier to find. (Answering your own question is allowed). Then delete the comment above. – Leigh Jul 15 '13 at 12:49

2 Answers2

1

Use markers. This is how you do it:

"scale-y":{"zooming":true,"thousands-separator":",","markers":
    [{"type":"line","range":[1500000],"alpha":"1","line-color":"#ff0000",
    "line-style":"solid","label":{"text":"Minimum","color":"#f00"}}]},

Check the example http://www.cfuser.com/library/demos/index.cfm?do=charting&get=barline

Edward Falk
  • 9,991
  • 11
  • 77
  • 112
0

Its the use of markers in scale-y using type line and range [ - wherever number you want -]

R. Mo
  • 185
  • 9