Stacked Bar Charts 100

Thread is closed for posting
2 posts, 0 answers
  1. Stephan
    Stephan avatar
    33 posts
    Member since:
    Jun 2012

    Posted 29 Dec 2011 Link to this post

    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>

  2. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 30 Dec 2011 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top