Click image for larger version. 

Name:	QQ截图20130807164214.png 
Views:	6 
Size:	18.9 KB 
ID:	6721why the radar cannot show? thank your !!

code :

X.Panel().Layout(LayoutType.Fit).MarginSpec("0 0 0 50").RowSpan(3).ColSpan(2)
.Width(200)
.Height(200)
.StyleSpec("overflow:hidden;")
.Items
(
X.Chart()
.ID("Chart1")
.StyleSpec("background:#fff;")
.StandardTheme(StandardChartTheme.Category2)
.InsetPadding(20).Height(100).Width(100)
.Animate(true)
//.Width(190).Height(190)
// .LegendConfig(X.ChartLegend().Position(LegendPosit ion.Right))
.Store(X.Store()
.Model(X.Model()
.Fields(
X.ModelField().Name("Name"),
X.ModelField().Name("Data1"),
X.ModelField().Name("Data2"),
X.ModelField().Name("Data3")
)
)
.Proxy(X.AjaxProxy()
.Url(Url.Action("GetData"))
.Reader(X.JsonReader().Root("data"))
)
)
.Axes(
X.RadialAxis()
)
.Series(
X.RadarSeries()
.XField("Name")
.YField("Data1")
.ShowInLegend(true)
.ShowMarkers(true)
.MarkerConfig(new SpriteAttributes { Radius = 5, Size = 5 })
.Style(new SpriteAttributes { StrokeWidth = 2, Fill = "none" }),

X.RadarSeries()
.XField("Name")
.YField("Data2")
.ShowInLegend(true)
.ShowMarkers(true)
.MarkerConfig(new SpriteAttributes { Radius = 5, Size = 5 })
.Style(new SpriteAttributes { StrokeWidth = 2, Fill = "none" }),

X.RadarSeries()
.XField("Name")
.YField("Data3")
.ShowInLegend(true)
.ShowMarkers(true)
.MarkerConfig(new SpriteAttributes { Radius = 5, Size = 5 })
.Style(new SpriteAttributes { StrokeWidth = 2, Fill = "none" })
)

)