This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi there I have a chart that contains StackedBarSeries and need to display Y-Value for the bar the mouse is hovering over. What is the best approach to achieve it? Any samples would be good. Thank you Boris |
|
|
Hello Boris The easiest way to do this is to use a recently added feature: Set the ToolTipBinding property on the StackedBarSeries to be a binding to the property you want to be displayed in a tool tip. For example, if your chart is populated with Point objects, you can set ToolTipBinding="{Binding Y}" Which will display the Y value in a tool tip when you hover the mouse over a bar. You could also create a custom bar style in order to customize the appearance and placement of the tool tips. Note that this just displays the raw Y value of the data point. There currently isn't a way to display the accumulated Y value of stacked data points. Jason Fauchelle |
|