Hide all lines (X axis and Y axis)

4 posts, 0 answers
  1. Bill
    Bill avatar
    96 posts
    Member since:
    Aug 2006

    Posted 20 Mar 2014 Link to this post

    I can hide major and minor grid lines, but does anyone know how to hide the X or Y axis line?
    See attach image.
  2. Danail Vasilev
    Danail Vasilev avatar
    1502 posts

    Posted 24 Mar 2014 Link to this post

    Hello Bill,

    You can use the Visible property of the axes, in order to hide them. For example:


    <telerik:RadHtmlChart runat="server" ID="ColumnChart1" Transitions="true">
                <telerik:ColumnSeries Name="Product 1">
                    <TooltipsAppearance BackgroundColor="Orange" DataFormatString="{0} sales" />
                        <telerik:CategorySeriesItem Y="15000" />
                        <telerik:CategorySeriesItem Y="23000" />
                        <telerik:CategorySeriesItem Y="10000" />
                        <telerik:CategorySeriesItem Y="16000" />
            <XAxis AxisCrossingValue="0" Color="Black" MajorTickType="Outside" MinorTickType="Outside" Visible="false"
                    <telerik:AxisItem LabelText="1" />
                    <telerik:AxisItem LabelText="2" />
                    <telerik:AxisItem LabelText="3" />
                    <telerik:AxisItem LabelText="4" />
                <LabelsAppearance DataFormatString="Q{0}" RotationAngle="0" />
                <MajorGridLines Color="#EFEFEF" Width="1" />
                <MinorGridLines Color="#F7F7F7" Width="1" />
                <TitleAppearance Position="Center" RotationAngle="0" Text="Quarters" />
            <YAxis AxisCrossingValue="0" Color="Black" MajorTickSize="1" MajorTickType="Outside" Visible="false"
                MaxValue="50000" MinorTickSize="1" MinorTickType="Outside" MinValue="0" Reversed="false"
                <LabelsAppearance DataFormatString="{0} sales" RotationAngle="0" />
                <TitleAppearance Position="Center" RotationAngle="0" Text="Sales" />

    Danail Vasilev

    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

  3. Jon
    Jon avatar
    6 posts
    Member since:
    Oct 2011

    Posted 23 Oct 2014 Link to this post

    I'm trying to do the same thing but on Mobile with App Builder - any thoughts?

  4. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 27 Oct 2014 Link to this post

    Hi Jon,

    I suppose in AppBuilder you are using the Kendo UI DataViz Chart widget. If this is the case, then you can control the X and Y axis lines through the following set of properties:

    valueAxis: {
        line: {
             visible: false
    categoryAxis: {
        line: {
              visible: false


    If you have further questions, please post them in the Kendo UI forums or submit a support ticket for the Kendo UI DataViz widgets as this way your questions will reach the Kendo UI support specialists who will be able to assist you further with your development.

    Tina Stancheva

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

Back to Top