开发者

DevExpress WebChartControl Pie Controlling Fill

I have been using the System.Web.UI.DataVisualization.Charting pie chart control to display pie chart.

With the introduction of IE9, these graphs seem intermittantly to not load and just present the user with an image not found.

I have decided to replace this with DevExpress's WebChartControl and implement their Pie Chart.

I got th开发者_C百科eir pie to resemble ours 90%, but am stuck at getting the pie's fill to match.

This is best explained with images.

Here is my original MS Chart Pie:

DevExpress WebChartControl Pie Controlling Fill

Here is my new Dev Express Pie:

DevExpress WebChartControl Pie Controlling Fill

The old pie seems to have a shadow effect around the border that makes it look much better.

Is this kind of effect possible with the DevExpress control?

I have tried playing with:

((PieSeriesView) series.View).Border
((PieSeriesView) series.View).FillStyle

Both don't seem to do what i want. Any help will be greatly appreciated


I tried for about an hour to get the desired result for you, but unfortunately I just can't seem to be able to get deep enough to be able to introduce a new painter with the Drawing2d.PathGradientBrush.Blend option (which would be able to give you the desired look).

I have placed a question on your behalf on the support center Q337316, you are welcomed to track this question which I would imagine will turn into a suggestion.

So although this isn't a good answer, I don't think you will be able to achieve the results in the current DX library.


We have answered this question in the RadialGradientPainter - Support PathGradientBrush.Blend thread. I've also talked to guys from the XtraCharts team. This is impossible to implement in WindowsForms Charts, but should be possible in WPF. If you are interested in this alternative, drop me a line and I will add the required information here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜