I want to set a toolTip on each of the data Points of the pie charts.
I know how to do that, but as you can see in the attached picture,
the toolTips look different according to the data points directions.
Someone has an idea how can I do that ?
If you're using the WPF/Silverlight toolkit charts, see Bea Stollnitz's posts on that subject:
http://bea.stollnitz.com/blog/?p=353
http://bea.stollnitz.com/blog/?p=438
http://bea.stollnitz.com/blog/?p=363
Her posts are very well-written - you should be able to find what you need there.
If you are looking for more advanced charts then you should give Telerik a try. Here is a demo page with several chart samples (that can include ToolTips).
Related
In a video of the DevExpress Chart Demo (see attached image and link below) out on YouTube... the "Large DataSource" demo seems to have some sort of "range" bar at the top where you can see an overview of the data and adjust the left and right of the range and drag the range left and right as well. In the current version of DevExpress the demo doesn't have this feature. Does anyone know how to implement it... or at least what it is officially called so I can look it up in the documentation.
Also, if anybody knows, is there is source code for this demo?
The actual video I'm talking about is here: https://www.youtube.com/watch?v=HmA6vANrKKk
some sort of "range" bar at the top
Your screenshot is demonstrates the RangeControl, which provides a data range selection functionality.
ChartControl on your screenshot is bound to the RangeControl via the RangeControl.Client property.
As seen in image, the data labels are overlapping and making the data difficult to read. Anybody know how to sort this?
Have now updated the question as I have changed the PieLabelStyle to Outside and in the picture you can see in the design view above it acknowledges this however when I preview the chart it remains on the inside! (See image 3 link below)
image3
Technet has a nice piece on this:
The secret is in the Properties pane under the Custom Attributes section:
A good solution is to sort the pie chart between small and big pieces. I posted a script that helps with this issue:
http://williameduardo.com/development/ssrs/pie-chart-series-label-overlapping-in-ssrs/
I really like a certain Silverlight feature that I've seen in a couple of sites. I would like to know what this "concept(s)" is/are so I can do more research and implemented it on my own. If you see the attached image, I like those expandable sections, reference (1) and (2) sections. They are circled in red and the features that I like are green and expandable.
For a live demo: http://demos.telerik.com/silverlight/#DataPager/FirstLook
Thanks for any advice.
Judging by the screenshot, it's just a collapsible pane. Such a control would have an API allowing two pieces of child content to be supplied, an orientation to be set (horizontal/vertical), and perhaps a collapse direction (left/right or up/down).
The control's template would place each piece of content alongside the other with a separator in between. Clicking the separator would collapse one piece of content in the chosen direction, thus giving the other piece of content more room.
Hii
Can anyone tell me how can I show percentage on the piechart....
The percentage is seen on mouseover event but I dont know how to show
the percentage on the piechart's slices....
If you are looking to put labels on the chart itself (instead of tooltip), take a look at this great blog post by WPF guru Bea Stollnitz.
It shows how to do this, in many different modes, and explains not only how, but why.
Take a look at amCharts Bundle for WPF. Pie chart supports labels on the slices, outside connected labels and includes an algorithm to prevent label overlapping.
I've just followed this tutorial (just to make sure) and I get the percentages of each slice as tooltip on mouse over by default.
If you post your code we might be able to spot if there's a problem with it.
You can use labelFunction in mx:PieSeries, and lableFunction look like that
private function pieSeries_labelFunc(item:Object, field:String, index:Number, percentValue:Number):String
{
return StringUtil.substitute("{0} ({1}%)",item.description,percentValue.toFixed(1));
}
Where description is the label that you want to see.
feel free to ask any question.
I would like to make a rotating form WPF effect like the one in the norton antivirus 2010.
The effect is a rotating form that changes the contents when the other side is shown. But the axis is not in the center of the form but moves from side to center and back. Like a three step effect.
The rotating form can be seen at 8' 07" in this video: http://www.youtube.com/watch?v=A3hHPdgi9Nk&feature=related (I'm sad but this was the only video I found on YouTube)
Thanks.
Have a look at the Thriple stuff on CodePlex: http://thriple.codeplex.com/
It's almost exactly what you're after.
Hope this helps.
I did not examine the details, but I know that Microsoft's patterns & practices team also uses a similar animation in their "StockTrader Reference Implementation" for the "Composite Application Guidance". They sub-classed the TabControl and added some animation to it. I think the relevant code parts can be found here:
AnimatedTabControl.Desktop.cs
Generic.xaml
just verify this link. It has code as well as the Sample.
From the Sample take the TransitionPresenter link from the left panel and choose the 3D Rotate item from the listbox. Then select the images from the top list. You can see the same effect in the video. I saw some initial sanp of the video and may be this link can help you.
http://bot.codeplex.com/