Click here to Skip to main content
16,017,502 members
Please Sign up or sign in to vote.
5.00/5 (3 votes)
See more:
Hi every one,
I have a web chart control in my asp.net page.I want the values of the chart to be displayed in string format so that i can concatenate with the string "*".

My requirement is just to display a number with prefix as *.

Plz help me
Posted
Comments
Manikandan Sekar 2-Sep-13 2:48am    
So what have you tried. You post that you need to display as string but you didnt mention what data you received and also in which format. Post your snippet and query clearly so that others can help you
Member 8388026 2-Sep-13 3:00am    
the data will be coming from datatable in which i am concatinating the *.
The web chart has only two options like numerical and datetime.There is no string option.
Can we some how manage by annotation text.
VishwaKL 2-Sep-13 5:22am    
are you adding * to numeric values? usually Chart controls plot chart on numeric values bY X and Y axis. so on which basis you plotting graph ? and what is the graph type. and every chart will be having X and Y axis. consider Y as values to be plotted and make X values string and display on that.
Member 8388026 2-Sep-13 6:34am    
Ya. Vishwa KL . You are absolutely right. But my requirement is to display * .I m displaying the data month wise and if the next month value is greater than previous month then it needs to be indicated by * with that numeric value.I was trying for it.
Member 8388026 2-Sep-13 6:34am    
my requirement is to display * .I m displaying the data month wise and if the next month value is greater than previous month then it needs to be indicated by * with that numeric value.I was trying for it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900