2 Replies Latest reply on Mar 19, 2010 1:17 AM by haire

    cfchart combine 3 data on single bar?

    haire

      Hi guys,

       

      i use to create chart using CFCHART, but in this case, i don't have any ideas on how to display this kind of chart.

       

      this sample chart is generated from excel file, and i want to create the same chart using coldfusion.

       

      the chart will combine 3 data on a single bar. if i could display just one bar with 3 different color is enough for an example...

       

      any suggestion or example how to do this kind of chart? thank you very much...

       

      10001.jpg

        • 1. Re: cfchart combine 3 data on single bar?
          Fernis Level 3

          <cfchart format="png" show3d="yes" seriesplacement="stacked">
              <cfchartseries type="bar">
                  <cfchartdata item="Col1" value="30">
                  <cfchartdata item="Col2" value="60">
              </cfchartseries>

              <cfchartseries type="bar">
                  <cfchartdata item="Col1" value="20">
                  <cfchartdata item="Col2" value="110">
              </cfchartseries>

              <cfchartseries type="bar">
                  <cfchartdata item="Col1" value="80">
                  <cfchartdata item="Col2" value="25">
              </cfchartseries>
          </cfchart>

           

          This should get you started.

           

          --

          - Fernis - fernis.net - ColdFusion Developer For Hire

          • 2. Re: cfchart combine 3 data on single bar?
            haire Level 1

            thanks Fernis... that what i love about coldfusion... simple and easy to display...