Completed
Last Updated: 16 Apr 2014 10:48 by Michael
ADMIN
Danail Vasilev
Created on: 30 Jan 2014 15:38
Category: UI for ASP.NET AJAX
Type: Feature Request
1
Improve XAxis' AxisCrossingValue property so that each YAxis can cross a different point
For the time being the following workaround can be used.

JavaScript:

    <script>
        function pageLoad() {
            var chart = $find("<%=RadHtmlChart1.ClientID%>");
            chart._chartObject.options.categoryAxis.axisCrossingValue = [0, 3];
            chart.repaint();
        }
    </script>
ASPX:

        <telerik:RadHtmlChart ID="RadHtmlChart1" runat="server" Width="600px" Height="400px">
            <PlotArea>
                <Series>
                    <telerik:ColumnSeries AxisName="axis1">
                        <SeriesItems>
                            <telerik:CategorySeriesItem Y="30" />
                            <telerik:CategorySeriesItem Y="20" />
                            <telerik:CategorySeriesItem Y="10" />
                        </SeriesItems>
                    </telerik:ColumnSeries>
                    <telerik:ColumnSeries AxisName="axis2">
                        <SeriesItems>
                            <telerik:CategorySeriesItem Y="3100" />
                            <telerik:CategorySeriesItem Y="2700" />
                            <telerik:CategorySeriesItem Y="1400" />
                        </SeriesItems>
                    </telerik:ColumnSeries>
                </Series>
                <XAxis AxisCrossingValue="2">
                    <Items>
                        <telerik:AxisItem LabelText="item 1" />
                        <telerik:AxisItem LabelText="item 2" />
                        <telerik:AxisItem LabelText="item 3" />
                    </Items>
                </XAxis>
                <YAxis Name="axis1">
                </YAxis>
                <AdditionalYAxes>
                    <telerik:AxisY Name="axis2"></telerik:AxisY>
                </AdditionalYAxes>
            </PlotArea>
        </telerik:RadHtmlChart>
1 comment
Michael
Posted on: 16 Apr 2014 10:48
Needed.