Displaying Values in CFChart Graph

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Displaying Values in CFChart Graph

    We are generating a graph with CFChart in a bar format. Is it possible to
    display the numeric value from the ValueColumn attribute on the actual bar
    itself? One of the end-users would like that in addition to the values being
    displayed on the X gridline. I haven't been able to dig anything up on this,
    so I'd appreciate any input. Thanks, Steve Hanzelman Milton Hershey School

    hanzelmans Guest

  2. Similar Questions and Discussions

    1. CFChart Not Displaying
      I'm playing around with the cfchart. One problem I'm having is. 1 The cfm code works on my production server, however it's when I try it on my...
    2. $ not displaying using cfchart
      Hello, I have a developer who is using cfchart. On one of the prod servers the $ sign is displayed. On the other server, the $ does not display. ...
    3. CFCHART and displaying of images
      :confused; I am attempting to use cfchart on MX 6.1, but it doesn't work on my production box. However, I have MX installed on my personal server...
    4. GD::Graph::Pie display values
      > > Just stated using this great module. I can't seem to get values to Labels display fine; I'm looking to display the *values*. I...
    5. components for dynamically displaying data chart or graph in ASP
      Hello, I tried to find some components I can use to dynamically generate chart or graph from database in ASP. It seems to me that only some...
  3. #2

    Default Re: Displaying Values in CFChart Graph

    Have you been able to get answer to your query ?
    Prayank

    prayank Guest

  4. #3

    Default Re: Displaying Values in CFChart Graph

    No responses yet.

    Have you ever tried for the same results?

    Thanks,

    hanzelmans Guest

  5. #4

    Default Re: Displaying Values in CFChart Graph

    Webchart3D that comes withCF7 allows you to display values on the bars.
    soonersak Guest

  6. #5

    Default Re: Displaying Values in CFChart Graph

    soonersak, I really like WebCharts as I can get the chart I need, where I
    canNOT get the chart using CFChart. But, I don't exactly know how to get the
    WebCharts to populate the data by using CFQuery to populate the chart. Also,
    I need to print the numeric value on the actual column like hanzelmans
    described. Do you have an example of how to do this or can you direct me to a
    really, really good example of how to do this? Thanks Carol

    mynewnameforthisforum Guest

  7. #6

    Default Re: Displaying Values in CFChart Graph

    This is not as difficult as it sounds. Create a chart using CFChart like you
    normally would - forget how it looks for a second. Just create the general
    chart - bar chart, using these query variables, etc. THEN, open the webcharts,
    and create a chart that you WANT - data labels, different colored bars, etc etc
    etc. THEN, click on the XML tab on the bottom. Copy that XML, and paste it
    into a file - call it mychartxml.xml - or whatever. Now, in your CFChart code,
    enter a new parameter: style = "path_to_xml/xml_filename.xml".

    It takes some playing around in webcharts to get the results you want, but I
    promise, it'll work - mine do. The only problem I have come across is if you
    have a chart with two data series - in my case, a bar chart with a line chart -
    and you have data labels, you have the labels on BOTH of the crat series, which
    can get very confusing. I have a post to these forums looking for either a
    fix, or a workaround.

    Hope this helps, drop me a line if you need some more assistance.

    Neil Bailey

    nbhealthpro Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139