Multithumb-Slider in JavaFX - 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.

Related

I need to create a chart in my enyo project. Which properties are used to do this?

I'm new on enyo, so I don't have yet a full knowledge in this framework.
I've been looking for a property of enyo that I be able to make a chart of bars. But the only things I found in the web, was about using the "enyo.Control", what i think that don't have nothing to do about this.
Can anyone help with some tips?
Thank's.
Enyo has certain widgets available in the Onyx library, but I don't think there are any charting/graph ones. I guess you could use a ProgressBar kind to sort of be a bar graph.
Some developers have used Flot successfully: http://www.flotcharts.org/
Enyo-ified YUI charts are in the pipeline: https://enyojs.atlassian.net/browse/ENYO/component/10802. So watch this issue for updates.

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.

Where is a reference for the customizable stylesheet properties for Qt widgets?

I've been struggling with learning how to use stylesheets to customize the look of my widgets in Qt.
For example, after much effort, I just figured out that the name of the property that determines what color the text on a QComboBox drop-down menu is when it is mouse-over'd is selection-color, and the background color is selection-background-color. But most of that I discovered by random guess-and-check.
Where can I find documentation that will actually tell me these things so I don't have to guess? Does Qt follow some sort of standard naming convention?
http://doc.qt.nokia.com/latest/stylesheet-reference.html
http://doc.qt.io/qt-5/stylesheet-examples.html
The above link gives examples for pretty much every control. For the combobox it mentions the QAbstractItemView, and mentions that you need selection-background-color etc... to style it - with an example.
It doesn't always explain what each property does however, which is where the doc that baysmith linked to comes in.
So with these two documents together you should be in good shape.

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.

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

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)

Resources