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

  1. #1

    Default cfchart Problem

    I am having a problem displaying all of the itemColumn values when I use the
    cfchart function. I am retreiving 10 records with a query, however on 5 of the
    itemColumn values are displaying. All 10 of the valuecolumns are displaying
    and only everyother itemColumn value.

    Here is a sample of my code:

    <cfchart chartheight="315" chartwidth="415" show3D = "yes"
    foregroundcolor="##3300FF" backgroundcolor="##C0C099"
    xAxisTitle="Donation Dates" yAxisTitle="Cholesterol
    Levels">
    <cfchartseries type="bar" query="cholesterol" itemColumn="visit"
    valuecolumn="cholesterol" seriescolor="##990000">
    </cfchartseries>
    </cfchart>



    steve0331@hotmail.com Guest

  2. Similar Questions and Discussions

    1. CF8 and cfchart problem
      I could be wrong but it seems to me that coldfusion 8 never displays flash charts when the name is specified, making it impossible to use charts...
    2. CFChart Problem in MX 7
      I am unable to get a single stacked bar to display using cfchart, but I can get multiple bars to display correctly. When I look at the chart, the...
    3. CFChart Pie problem
      When creating a pie from a database query, if 2 or more adjacent slices are very small, say 1 or 2 percent, then the data labels will overlap each...
    4. CFCHART Problem
      I have a few pages with flash charts and a java menu on the same page. I cannot find where to set the WMODE properties for the flash charts to make...
    5. CFCHART problem in CF7
      My charts in CF7 are not showing all of my x-labels when they worked fine in CF6.1. The only way all the x labels appear in CF7 is when I increase...
  3. #2

    Default Re: cfchart Problem

    I had this same problem with a chart I was working on. My issue turned out to
    be that the graph thought the labels were overlapping and because of that,
    didn't display many of them.

    If you are using 7, you can change the overlap from the default. I believe
    the only way to do this is to use a style and then edit the .xml file for that
    style.

    ie. in your cfchart tag put:

    <cfchart style="silver">

    then modify your C:\CFROOT\charting\styles\silver.xml file to:


    <xAxis>
    <labelStyle isHideOverlapped="false" orientation="horizontal" />
    <titleStyle font="Arial-12-bold" isMultiline="false" />
    </xAxis>


    This will also apply all other aspects of the 'silver' theme. You can also
    make your own style and do this.

    Xenotrim Guest

  4. #3

    Default Re: cfchart Problem

    Thanks for that tip. It worked, and I got the results that I wanted.
    steve0331@hotmail.com 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