Flex 3.0 : Showing data in the legend of a Pie Chart - apache-flex

I'm a newbie to Adobe Flex 3.0. I need to show data within the Pie Chart Legend, alongside the colored markers. I have a few vague ideas about how to go about it. (Maybe I would have to write my custom legendMarkerRenderer.) Could anybody give any pointers? There aren't many examples on the net regarding this.
Thanks in advance!
P.R.

To show the data on the Legend you will need to extend LegendItem class. Example you can see in my blog: http://northam.blogspot.com/2009/05/flex-showing-data-in-legend-of-pie.html
Enjoy!

You can always customize the UI controls in flex as per ur requirements.
So you can extend the legend class
have a look # this also:liveDocs

Here's a really useful link for you. The Flex 3 Component explorer... It has examples of how to implement the majority, if not all, of the adobe flex components. If you want something more complex you may need to extend legend and create you own component. By the sounds of things it should give you enough to go on
Flex 3 Component Explorer (broken link)

Related

Multithumb-Slider in JavaFX

Hello dear Stackoverflow Community,
I was looking for something like a multithumbslider in JavaFX, but couldn't find anything. I have a bar chart displaying the grades of an exam, and below that I would like to implement a multithumbslider (or if you have any other suggestions) where I can slide the points which are needed for each grade, so that the chart changes, depending on the changes of the multithumbslider.
Did i state my intentions clear...anyhow?
Does anyone have any ideas on that?
Thanks in advance!
Not by default, but you can have a look at ControlsFX which is a libaray which supply controls which are not available in JavaFX by default. They also have a RangeSlider
You can use their code to write your own MultiThumbSlider. This Control is mainly made up of two classes the RangeSlider and the RangeSliderSkin. The code can be found here:
org.controlsfx.control.RangeSlider
impl.org.controlsfx.skin.RangeSliderSkin
You can also find all other classes reqiured there.

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 their 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:
Here is my new Dev Express Pie:
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.

Ribbon component for Adobe Flex or Aswing?

Anyone can point me to free or commercial Ribbon component done for Adobe Flex or Aswing? I seen one at some point but for some reason cant find any now. (Please don't mention minddomo, since it has nothing to do do with my question).
Thank you.
A Ribbon implementation in Flex would be a lot different from the standard TabNavigator. You must consider groups within each tab, and dynamic buttons within each group, and group popups etc.
I know this isn't an answer, but I don't know how to reply to the previous answer. :)
I don't know of one. But, whenever anyone asks for one I ask this question:
What is the difference between a Ribbon and a TabNavigator with a button bar as the children?
I'd consider creating one for Flextras if anyone could explain what the difference was.

Customizing Flex Charts

I am wondering if it is possible to customize Flex Chart to have grids like in this example: http://imglink.ru/show-image.php?id=bfcb5a0c5bbcfc20f3f21ef764ed79e7
Thank you in advance!
the simple answer is YES you can.
you can give a skin to each of the elements in the Graph, I worked on a FOREX trading application earlier this year and I was surprised from the level of customization you can achieve with it.
you will probably have to extend the chart to accomplish it but you certainly can achieve the look you are looking for.
HI You can do a lot of things with charts. I have worked on various elements of it while working with financial firms.
the primer from where you can start with is
http://demo.quietlyscheming.com/ChartSampler/app.html
HTH
Yes, it's possible to include grids, axis customization and many more things to Flex Charts. You will have to invest some time reading the Flex Charting Components document at Adobe livedocs, or download the whole Flex documentation.

Is there a way to draw lines (x,y)-(x2,y2) in ASP.NET pages?

Not animated of course, but good for displaying data visually such as Gantt chart etc.
why not use a javascript graphs library to draw your graphs and charts?
check out these flot examples - maybe flot is what you need
I'm not sure if i understand your question but if you want to draw images dynamically you can use GDI+ and the System.Drawing namespace. Look here for an example.
Edit: Sorry i did not see the gannt tag. Check out the following control.
You could create the image using the Graphics class, then output the file to the filesystem, and link an Image control of some sort to that image.
There is a new Chart control in ASP.NET 3.5 with a bunch of features and options, maybe you'll like it.
You can read a quick review here.
The Walter Zorn javascript library may be your answer.

Resources