In the traditional asp.net chart control one can easily show the numeric values of each point in the chart. I am using an Ultrachart as a line chart, on mouse hover the numeric value of a data point is displayed by default. How can i show these numeric values for all data points by default and not just on mouse hover, but i have not found a property to do so. Can somebody point me to it ?
thank you very much for your answer. I have run into a related question with the Column Chart. I am able to add Char Text fields for the columns of particular rows, however the number of rows and columns depends on user input and can go up to 4 columns for 13 rows. Do i have to add all the Chart texts manually or can i set one to be displayed by default for all columns and rows ?
Hello Henning,
I'm just following up to see if my suggestion was helpful to you. Please let me know if you need any further assistance.
Sincerely,
Tsanna
In order to show the data values of the line chart constantly you should access LineChart property in the Properties tab and from the ChartText properties collection find and set Visible to true. Here is the code that will be generated after enabling chart item's visibility:
... <LineChart> <ChartText> <igchartprop:ChartTextAppearance ChartTextFont="Arial, 7pt" ClipText="False" Column="-2" ItemFormatString="<DATA_VALUE:00.00>" Row="-2" Visible="true" /> </ChartText> </LineChart> ...
...
<LineChart>
<ChartText>
<igchartprop:ChartTextAppearance ChartTextFont="Arial, 7pt" ClipText="False"
Column="-2" ItemFormatString="<DATA_VALUE:00.00>" Row="-2" Visible="true" />
</ChartText>
</LineChart>
I'm attaching you also a sample for demonstration. Please let me know if you need any further assistance.