Welcome Guest Search | Active Topics |

Stacked Chart 100%
slotty
#1 Posted : Friday, June 6, 2014 1:03:51 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/3/2014(UTC)
Posts: 4

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Hi all,

Code:

    <jqChart:Chart ID="StackChart" runat="server">
    <Series>
    <jqChart:Stacked100ColumnSeries>
    <YValues>
    <jqChart:DoubleValue Value ="1" />
    <jqChart:DoubleValue Value = "2" />
    <jqChart:DoubleValue Value = "7" />
    </YValues>
    </jqChart:Stacked100ColumnSeries>
    </Series>
    </jqChart:Chart>



Could someone please explain how this creates multiple columns?

How can I have it stacked?
Ivan
#2 Posted : Friday, June 6, 2014 5:47:03 AM(UTC)
Rank: Administration

Groups: Administrators, Moderator, Registered
Joined: 11/5/2012(UTC)
Posts: 131

Thanks: 0 times
Was thanked: 15 time(s) in 15 post(s)
Here is:

Code:
<jqChart:Chart ID="StackChart" runat="server">
        <Series>
            <jqChart:Stacked100ColumnSeries>
                <YValues>
                    <jqChart:DoubleValue Value="1" />
                    <jqChart:DoubleValue Value="2" />
                    <jqChart:DoubleValue Value="7" />
                </YValues>
            </jqChart:Stacked100ColumnSeries>
             <jqChart:Stacked100ColumnSeries>
                <YValues>
                    <jqChart:DoubleValue Value="3" />
                    <jqChart:DoubleValue Value="2" />
                    <jqChart:DoubleValue Value="3" />
                </YValues>
            </jqChart:Stacked100ColumnSeries>
            <jqChart:Stacked100ColumnSeries>
                <YValues>
                    <jqChart:DoubleValue Value="6" />
                    <jqChart:DoubleValue Value="5" />
                    <jqChart:DoubleValue Value="4" />
                </YValues>
            </jqChart:Stacked100ColumnSeries>
        </Series>
    </jqChart:Chart>
Best,
Ivan Petrov
jqChart Inc.
slotty
#3 Posted : Wednesday, October 29, 2014 1:39:05 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/3/2014(UTC)
Posts: 4

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Hi Ivan,

Thanks for all the help.

I'm curious is there any way to display the Stacked Group Name on the axis?


Ivan
#4 Posted : Wednesday, October 29, 2014 8:34:44 AM(UTC)
Rank: Administration

Groups: Administrators, Moderator, Registered
Joined: 11/5/2012(UTC)
Posts: 131

Thanks: 0 times
Was thanked: 15 time(s) in 15 post(s)
You can try adding 2 category axes like in the second example here:
http://www.jqchart.com/docs/aspnet/guides/#!/guide/MultipleAxes
Best,
Ivan Petrov
jqChart Inc.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

FlatEarth Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.068 seconds.