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

cfchart combine 3 data on single bar?

New Here ,
Mar 18, 2010 Mar 18, 2010

Copy link to clipboard

Copied

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

TOPICS
Advanced techniques

Views

1.8K

Translate

Translate

Report

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

Enthusiast , Mar 18, 2010 Mar 18, 2010

<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 ge

...

Votes

Translate

Translate
Enthusiast ,
Mar 18, 2010 Mar 18, 2010

Copy link to clipboard

Copied

<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

Votes

Translate

Translate

Report

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 ,
Mar 19, 2010 Mar 19, 2010

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

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
Documentation