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

[Solved] legend font not applied

2 Answers 91 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.
mahmoud
Top achievements
Rank 1
mahmoud asked on 18 Sep 2011, 07:41 AM
Dear Teleriks,

The chart legend font is not applied , here is an example :

    @(Html.Telerik().Chart(Model)
.Name("priceTrendChart")
.Title(title => title.Text("Title...").Font("Tahoma"))
.ChartArea(area=>area.Border(1,"black"))
                .Legend(legend => legend.Font("180px Arial, sans-serif").Border(2, "red"))
    .SeriesDefaults(series =>
    {
        series.Line().Labels(true);
    })
.Series(series =>
{
    series.Line(o => o.Price).Name("Legend Title").Color("red");
})
    .CategoryAxis(axis => axis.Categories(s => s.InquiryDateString))
           .HtmlAttributes(new { style = "width: 600px; height: 400px;"})
 
       )

2 Answers, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 19 Sep 2011, 12:34 PM
Hello Mahmoud,

Thank you for the feedback.

I am glad to inform you that the bug is fixed and the fix fill be include with next official release of Telerik Components for ASP.NET MVC.

I have attached the modified javascript file.

I have updated you telerik points.

Best wishes,
Hristo Germanov
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
mahmoud
Top achievements
Rank 1
answered on 19 Sep 2011, 10:04 PM
Really Thanks, It solved!
Tags
Chart
Asked by
mahmoud
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
mahmoud
Top achievements
Rank 1
Share this question
or