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

[Solved] Y values wrong

4 Answers 77 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alan Mosley
Top achievements
Rank 1
Alan Mosley asked on 19 Sep 2011, 08:25 AM

I have a chart set to load on demand, but numbers dont add up to scale. (see image)
the value passed is 200, i have checked, the lable shows 200, but yvalue shows about 180.
Code below

Thanks

@(Html.Telerik().Chart(Of BO.Dataflow.ProductSale).Name("ProductChart") _
.Title("Product Totals").Legend(Function(legend) legend.Position(ChartLegendPosition.Bottom)) _
.ValueAxis(Function(a) a.Numeric().Min(0)) _
.Series(Sub(series)
                series.Bar("Net").Name("Net").Color("#8FDE02").Labels(True)
                series.Bar("Gst").Name("Gross").Color("#4E7A25").Labels(True)
        End Sub) _
                        .CategoryAxis(Function(axis) axis.Categories(Function(s) s.Product)) _
                        .DataBinding(Function(d) d.Ajax.Select("productchart", "order", New With {
                                                               .area = "franchisees",
                                                               .Year = Model.DateObject.Year,
                                                               .Month = Model.DateObject.Month
                                                           })).HtmlAttributes(New With {.style = "width: 600px; height: 400px;"}))

4 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 19 Sep 2011, 09:10 AM
Hello Alan,

This issue and more are fixed in the SP1 release of the MVC extensions from last week.
Find the announcement and release notes here.

Regards,
Tsvetomir Tsonev
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
Alan Mosley
Top achievements
Rank 1
answered on 19 Sep 2011, 09:30 AM

Thank for your reply, but unfortunately I don’t have a commercial licence. Is their any fix for the non commercial download?

Will there be a fix in the next qtr release, if so, do you have an eta?

Thanks

0
T. Tsonev
Telerik team
answered on 19 Sep 2011, 12:57 PM
Hi Alan,

We've made the SP1 release public, please download it from here:
http://www.telerik.com/community/forums/aspnet-mvc/general/q2-2011-sp1.aspx

Kind regards,
Tsvetomir Tsonev
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
Alan Mosley
Top achievements
Rank 1
answered on 19 Sep 2011, 01:39 PM
Thanks mate,
I wish i waited for a reply as I just riped them out and went with the MS System.Web.UI.DataVisualization.Charting
I am now trying to find a previous version.

Thanks


Tags
Chart
Asked by
Alan Mosley
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Alan Mosley
Top achievements
Rank 1
Share this question
or