English 中文(简体)
RadChart的小时标签
原标题:Hours labelling for RadChart

I m trying to use Telerik s RadChart (Spline) on WP7 to display the hourly temperature forecast. I m having a hard time finding information on how to set the horizontal-axis to group by hour. The examples project contains a chart grouped by month, but when I change

:

当我试图建立轴心时,我会遭遇到一种逐方的错误。

这里是我试图实现以下目标的一个例子:

任何人都知道辅导或我会做什么错误?

增 编

最佳回答

对我来说,解决办法是将时间轴移到时间轴。 我发现Telerik样本中的例子非常有用。

<telerikChart:DateTimeContinuousAxis
    LabelFitMode="MultiLine"
    LabelFormat="htt"
    MajorStep="6"
    LabelStyle="{StaticResource PhoneTextSmallStyle}"
    MajorStepUnit="Hour"
    PlotMode="OnTicks" />
问题回答

For the LabelFormat can you please try "h tt"? I don t have access to try right now, but that should work. The format would be "3 PM"





相关问题
Discuss on Commercial Component libraries of silverlight

I am now looking forward to buy a component library of silverlight for increase the productivity. I find there are number of them. Telerik ComponentOne ComponentArt Infragistics Syncfusion I found ...

Telerik RadGrid: grid clientside pagination

I have a web service which returns me some data,I am massaging this data and using this as datasource for my radgrid (telerik). The datasource is quite large, and would like to paginate it. I found ...

Binding a radgrid to a tree like data structure

I have a structure that looks following Class TreeNode { public TreeNode Parent { get; } public IEnumerable<TreeNode> Children { get; } public . . . . } I want to bind this to a ...

IQueryable into a hierarchy

I currently have an IQueryable of Questions. In my Question object I have and "id" and a "parentId" which can be used to create a hierarchy. Currently, I bind a RadTreeView to the IQueryable of ...

Expand all items in RadGrid Hierarchy

I am using a RadGrid (2009 Q2) with a hierarchy. Is there a way in the client api to expand all rows and vice-versa? thanks! Update: I have written a javascript function based off the api ...

热门标签