This is a migrated thread and some comments may be shown as answers.
how to close right side of radHtmlChart?
3 Answers 1 View
This is a migrated thread and some comments may be shown as answers.
Doug
Top achievements
Rank 1
Doug asked on 31 Jul 2015, 05:37 PM
my chart has open end on right side.
how can I tell it to close the plot area?

3 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 03 Aug 2015, 12:58 PM
Hi Doug,

I am not sure I understand the exact problem properly. Can you, please, provide a little more information on the exact scenario in which the issue occurs? Can you provide us he exact markup needed to replicate the case so we can examine it on our side? Some screenshots of the problem will be also of great help in investigating the case.

Regards,
Vessy
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Doug
Top achievements
Rank 1
answered on 03 Aug 2015, 02:51 PM
all I added to a line series is
<MajorGridLines Visible="false" />
<MinorGridLines Visible="false"/>
0
Vessy
Telerik team
answered on 06 Aug 2015, 11:22 AM
Hi Doug,

Thank you for the clarification. A possible way to show only the last YAxis MajorGridLine is to keep the major GridLines visible, but set its step to the maximum value of the YAxis. For example:
<telerik:RadHtmlChart runat="server" ID="RadHtmlChart1" Width="800px" Height="500px">
    <PlotArea>
        <Series>
            <telerik:BarSeries Name="Serie 1" DataFieldY="Quarter1">
                <Items>
                    <telerik:SeriesItem Name="Quarter1" YValue="15" />
                    <telerik:SeriesItem Name="Quarter2" YValue="150" />
                    <telerik:SeriesItem Name="Quarter2" YValue="50" />
 
                </Items>
            </telerik:BarSeries>
        </Series>
        <YAxis MaxValue="200" Step="200">
            <MajorGridLines Visible="true" />
            <MinorGridLines Visible="false" />
        </YAxis>
    </PlotArea>
    <ChartTitle Text="Charge current vs. charge time">
    </ChartTitle>
</telerik:RadHtmlChart>

I hope this helps.

Regards,
Vessy
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Asked by
Doug
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Doug
Top achievements
Rank 1
Share this question
or