Set the crossing points visibility in linechart

4 posts, 0 answers
  1. Gustavo
    Gustavo avatar
    23 posts
    Member since:
    Apr 2012

    Posted 15 Oct 2013 Link to this post

    Hi Telerik team,

    I'm developing a live linechart and I want to know if is possible set the crossing points visibility to false.
    I want to do something like the attached picture.

    Thanks
  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1492 posts

    Posted 16 Oct 2013 Link to this post

    Hello Gustavo,

    Could you please clarify what do you mean by setting the visibility of "crossing points" to false? By crossing points if you mean:
    • markers then you can set the visible property of the series MarkersAppearance tag to false.
    • major/minor gridlines of both axes then you can set the visible property of the MajorGridLines/MinorGridLines tags of both axes to false.

    For example:

    <telerik:RadHtmlChart runat="server" ID="LineChart" Width="800" Height="500" Transitions="true">
        <PlotArea>
            <XAxis>
                <Items>
                    <telerik:AxisItem LabelText="Monday"></telerik:AxisItem>
                    <telerik:AxisItem LabelText="Tuesday"></telerik:AxisItem>
                    <telerik:AxisItem LabelText="Wednesday"></telerik:AxisItem>
                    <telerik:AxisItem LabelText="Thursday"></telerik:AxisItem>
                    <telerik:AxisItem LabelText="Friday"></telerik:AxisItem>
                    <telerik:AxisItem LabelText="Saturday"></telerik:AxisItem>
                    <telerik:AxisItem LabelText="Sunday"></telerik:AxisItem>
                </Items>
                <MajorGridLines Visible="false"></MajorGridLines>
                <MinorGridLines Visible="false"></MinorGridLines>
            </XAxis>
            <YAxis>
                <MajorGridLines Visible="false"></MajorGridLines>
                <MinorGridLines Visible="false"></MinorGridLines>
            </YAxis>
            <Series>
                <telerik:LineSeries Name="Week 1" MissingValues="Gap">
                    <MarkersAppearance Visible="false"></MarkersAppearance>
                    <SeriesItems>
                        <telerik:CategorySeriesItem Y="35"></telerik:CategorySeriesItem>
                        <telerik:CategorySeriesItem Y="52"></telerik:CategorySeriesItem>
                        <telerik:CategorySeriesItem Y="18"></telerik:CategorySeriesItem>
                        <telerik:CategorySeriesItem Y="39"></telerik:CategorySeriesItem>
                        <telerik:CategorySeriesItem></telerik:CategorySeriesItem>
                        <telerik:CategorySeriesItem Y="10"></telerik:CategorySeriesItem>
                        <telerik:CategorySeriesItem Y="6"></telerik:CategorySeriesItem>
                    </SeriesItems>
                </telerik:LineSeries>
            </Series>
        </PlotArea>
    </telerik:RadHtmlChart>

    You may also find useful Configuring Series and Configuring Axes help articles.

    Regards,
    Danail Vasilev
    Telerik
    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 the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Gustavo
    Gustavo avatar
    23 posts
    Member since:
    Apr 2012

    Posted 16 Oct 2013 Link to this post

    Hi Danail,

    Thanks for the reply and sorry if I was not clear.
    What I want to do is that the line series starts exactly at the YAxis, as you can see in the attached picture.
  5. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1492 posts

    Posted 17 Oct 2013 Link to this post

    Hi Gustavo,

    Thank you for the additional clarification.

    I am sorry to say that in the current version of RadControls the desired behavior is not achievable. Nevertheless I have logged it in our feedback portal here, so that you can monitor, comment or raise its priority by voting on it.

    I have also updated your Telerik points for sharing your ideas with us.


    Regards,
    Danail Vasilev
    Telerik
    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 the blog feed now.
Back to Top