Hi,
I am using ClipTextAxisLabelLayoutBehavior to trim labels and display ellipces for data on X axis . Now i would like to display tooltip on mouse hover to show the entire label. I observed tooltips are only appearing for data on chart but not for labels.
Please suggest.
Thanks
bp
you can get the text string of the Text Primitive using t.GetTextString() -- is that enough to identify it?
I tried the hack, but I am always getting row or column of text primitive as -1, because of which i am seeing the same value (or 0 row value) for all the text primitives. Any idea why row or column for the text primitive is always coming as -1, or is there a way to identify the text primitive.
I was binding the chart with the dataTable in my sample.
i'm having trouble understanding your situation based on the few sentences you have posted. could you try describing the whole problem, along with the expected result vs. the actual result? images or sample could would also be a big help.
I'm using ScatterChart, <DATA_VALUE_X> doesn't change anything.
this does depend on the chart type you are using. if the item labels are on the Y axis, then try setting the tooltips.formatstring to <DATA_VALUE> to display the data value on the tooltip. this would be the x-axis value for charts like BarChart. or if you're using a chart with 2 numeric axes like ScatterChart, try <DATA_VALUE_X> as your formatstring.