How can I make my Chart Web Part look good when I use it with lookup fields?

The issue I have is that the chart displays the field id along with its value. For example, it displays "2;#Bing" when I'd like to see only "Bing".

link|improve this question

53% accept rate
feedback

1 Answer

you can use xpath to do that, for example /dsQueryResponse/Rows/Row[substring-after(@field., '#')

But that has to be done in a dataview that displays a content source in your page

Another way would be to use javascript or jquery to split the text of a paragraph or a div for example with a specific id Hope that helps

Tolis

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.