This is a migrated thread and some comments may be shown as answers.

Stacked Bar Charts 100

1 Answer 60 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Stephan
Top achievements
Rank 1
Stephan asked on 29 Dec 2011, 06:02 PM
I am trying to use the chart control, but things are not going as expected.  I have entered the Data from my query with the columns of data from what i expect to be the smallest to largest.  In the building process DataYColumn = 1, DataYColumn2 = 2,and DataYColumn3 = 4396.  All I end up seeing is one line of data in the Legend and nothing is stacked.

 

 

 

 

 

<telerik:RadChart ID="RadChart3" runat="server" DefaultType="StackedBar100"
        SeriesOrientation="Horizontal" ChartImageFormat="Jpeg"
        DataSourceID="AccessDataSource4" Skin="BabyBlue" Width="500px">
        <Appearance>
            <FillStyle MainColor="239, 255, 254">
            </FillStyle>
            <Border Color="188, 229, 231" Width="8" />
        </Appearance>
        <Series>
<telerik:ChartSeries Name="" Type="StackedBar100" DataLabelsColumn="contactdate By Month"
                DataYColumn="Expr1" DataYColumn2="Sum Of contactdates_custno"
                DataYColumn3="CountOfcustsales">
    <Appearance>
        <FillStyle FillType="Solid" MainColor="194, 230, 252">
        </FillStyle>
        <TextAppearance TextProperties-Color="78, 168, 188">
        </TextAppearance>
        <Border Color="177, 215, 250" />
    </Appearance>
            </telerik:ChartSeries>
</Series>
        <Legend>
            <Appearance Corners="Round, Round, Round, Round, 6"
                Dimensions-Margins="20%, 3%, 1px, 1px">
                <ItemTextAppearance TextProperties-Color="120, 162, 19">
                </ItemTextAppearance>
                <Border Color="194, 212, 109" />
            </Appearance>
        </Legend>
        <PlotArea>
            <XAxis>
                <Appearance Color="226, 218, 202" MajorTick-Color="216, 184, 86"
                    ValueFormat="Percent">
                    <MajorGridLines Color="244, 227, 195" Width="0" />
                    <TextAppearance TextProperties-Color="78, 168, 188">
                    </TextAppearance>
                </Appearance>
                <AxisLabel>
                    <Appearance RotationAngle="270">
                    </Appearance>
                    <TextBlock>
                        <Appearance TextProperties-Color="78, 168, 188">
                        </Appearance>
                    </TextBlock>
                </AxisLabel>
            </XAxis>
            <YAxis>
                <Appearance Color="226, 218, 202" MajorTick-Color="216, 184, 86"
                    MinorTick-Color="216, 184, 86">
                    <MajorGridLines Color="244, 227, 195" />
                    <MinorGridLines Color="244, 227, 195" />
                    <TextAppearance TextProperties-Color="78, 168, 188">
                    </TextAppearance>
                </Appearance>
                <AxisLabel>
                    <Appearance RotationAngle="0">
                    </Appearance>
                    <TextBlock>
                        <Appearance TextProperties-Color="78, 168, 188">
                        </Appearance>
                    </TextBlock>
                </AxisLabel>
            </YAxis>
            <YAxis2>
                <AxisLabel>
                    <Appearance RotationAngle="0">
                    </Appearance>
                </AxisLabel>
            </YAxis2>
            <Appearance Dimensions-Margins="20%, 24%, 12%, 10%">
                <FillStyle MainColor="255, 249, 239" SecondColor="Transparent">
                </FillStyle>
                <Border Color="226, 201, 156" />
            </Appearance>
        </PlotArea>
        <ChartTitle>
            <Appearance Dimensions-Margins="4%, 10px, 10px, 7%">
                <FillStyle MainColor="">
                </FillStyle>
            </Appearance>
            <TextBlock Text="Customers Interested">
                <Appearance TextProperties-Color="232, 140, 0"
                    TextProperties-Font="Verdana, 20pt, style=Bold">
                </Appearance>
            </TextBlock>
        </ChartTitle>
    </telerik:RadChart>

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 30 Dec 2011, 01:17 PM
Hi Stephan,

It is hard for us to determine what is the cause for such unwanted beahvior from the information provided. Could you send us what is the data you are binding to and preferably your sample runnable project so that we can inspect it locally and get back to you with our findings/suggestions?

All the best,
Evgenia
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Chart (Obsolete)
Asked by
Stephan
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or