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

Set the crossing points visibility in linechart

3 Answers 55 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Gustavo
Top achievements
Rank 1
Gustavo asked on 15 Oct 2013, 06:53 PM
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

3 Answers, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 16 Oct 2013, 11:52 AM
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.
0
Gustavo
Top achievements
Rank 1
answered on 16 Oct 2013, 12:07 PM
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.
0
Danail Vasilev
Telerik team
answered on 17 Oct 2013, 03:11 PM
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.
Tags
Chart (HTML5)
Asked by
Gustavo
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Gustavo
Top achievements
Rank 1
Share this question
or