Hello,
I habe Problem with tooltips in Stack Bar Chart :
Ref: Image
the Tooltips display the sum of the previously Datavalue + current DataValue and i want to display just the current Datavalue, how can i do that.
<?xml version="1.0" encoding="utf-8" ?><igchart:UltraChart BackColor="White" BorderWidth="0px" BorderColor="Black" ChartType="StackColumnChart" EmptyChartText="Data Not Available." Version="9.1"> <Legend Visible="True"></Legend> <ColorModel AlphaLevel="150" ColorBegin="Pink" ColorEnd="DarkRed" ModelStyle="CustomLinear"> </ColorModel> <Axis> <X Extent="100" LineThickness="1" TickmarkInterval="50" TickmarkStyle="Smart" Visible="True"> <Margin> <Far Value="2.4896265560165975" /> </Margin> <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1" Visible="True" /> <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1" Visible="False" /> <Labels Font="Verdana, 7.8pt" FontColor="black" HorizontalAlign="Far" ItemFormatString="<ITEM_LABEL>" Orientation="VerticalLeftFacing" VerticalAlign="Center" SeriesFormatString="<SERIES_LABEL>" > <SeriesLabels Font="Verdana, 8pt" FontColor="black" FormatString="<SERIES_LABEL>" HorizontalAlign="Far" Orientation="VerticalLeftFacing" VerticalAlign="Center"> <Layout Behavior="Auto"> </Layout> </SeriesLabels> <Layout Behavior="Auto"> </Layout> </Labels> </X> <Y Visible="True" TickmarkInterval="40" Extent="100" LineThickness="1" TickmarkStyle="Smart"> <MajorGridLines Visible="True" DrawStyle="Dot" Color="Gainsboro" Thickness="1" AlphaLevel="255"> </MajorGridLines> <MinorGridLines Visible="False" DrawStyle="Dot" Color="LightGray" Thickness="1" AlphaLevel="255"> </MinorGridLines> <Labels ItemFormatString="<DATA_VALUE:00.##>" HorizontalAlign="Far" VerticalAlign="Center" Orientation="Horizontal" Font="Verdana, 7pt" FontColor="Black"> <SeriesLabels HorizontalAlign="Far" VerticalAlign="Center" Orientation="Horizontal" Font="Verdana, 7pt" FontColor="Black" FormatString=""> <Layout Behavior="Auto"> </Layout> </SeriesLabels> <Layout Behavior="Auto"> </Layout> </Labels> </Y> <Y2 Visible="False" TickmarkInterval="40" LineThickness="1" TickmarkStyle="Smart"> <MajorGridLines Visible="True" DrawStyle="Dot" Color="Gainsboro" Thickness="1" AlphaLevel="255"> </MajorGridLines> <MinorGridLines Visible="False" DrawStyle="Dot" Color="LightGray" Thickness="1" AlphaLevel="255"> </MinorGridLines> <Labels ItemFormatString="<DATA_VALUE:00.##>" Visible="False" HorizontalAlign="Near" VerticalAlign="Center" Orientation="Horizontal" Font="Verdana, 7pt" FontColor="Gray"> <SeriesLabels HorizontalAlign="Near" VerticalAlign="Center" Orientation="Horizontal" Font="Verdana, 7pt" FontColor="Gray" FormatString=""> <Layout Behavior="Auto"> </Layout> </SeriesLabels> <Layout Behavior="Auto"> </Layout> </Labels> </Y2> <X2 Visible="False" TickmarkInterval="0" LineThickness="1" TickmarkStyle="Smart"> <MajorGridLines Visible="True" DrawStyle="Dot" Color="Gainsboro" Thickness="1" AlphaLevel="255"> </MajorGridLines> <MinorGridLines Visible="False" DrawStyle="Dot" Color="LightGray" Thickness="1" AlphaLevel="255"> </MinorGridLines> <Labels ItemFormatString="<ITEM_LABEL>" Visible="False" HorizontalAlign="Far" VerticalAlign="Center" Orientation="VerticalLeftFacing" Font="Verdana, 7pt" FontColor="Gray"> <SeriesLabels HorizontalAlign="Far" VerticalAlign="Center" Orientation="VerticalLeftFacing" Font="Verdana, 7pt" FontColor="Gray"> <Layout Behavior="Auto"> </Layout> </SeriesLabels> <Layout Behavior="Auto"> </Layout> </Labels> </X2> <Z Visible="False" TickmarkInterval="0" LineThickness="1" TickmarkStyle="Smart"> <MajorGridLines Visible="True" DrawStyle="Dot" Color="Gainsboro" Thickness="1" AlphaLevel="255"> </MajorGridLines> <MinorGridLines Visible="False" DrawStyle="Dot" Color="LightGray" Thickness="1" AlphaLevel="255"> </MinorGridLines> <Labels ItemFormatString="" HorizontalAlign="Near" VerticalAlign="Center" Orientation="Horizontal" Font="Verdana, 7pt" FontColor="Black" Visible="False"> <SeriesLabels HorizontalAlign="Near" VerticalAlign="Center" Orientation="Horizontal" Font="Verdana, 7pt" FontColor="Black"> <Layout Behavior="Auto"> </Layout> </SeriesLabels> <Layout Behavior="Auto"> </Layout> </Labels> </Z> <Z2 Visible="False" TickmarkInterval="0" LineThickness="1" TickmarkStyle="Smart"> <MajorGridLines Visible="True" DrawStyle="Dot" Color="Gainsboro" Thickness="1" AlphaLevel="255"> </MajorGridLines> <MinorGridLines Visible="False" DrawStyle="Dot" Color="LightGray" Thickness="1" AlphaLevel="255"> </MinorGridLines> <Labels ItemFormatString="" Visible="False" HorizontalAlign="Near" VerticalAlign="Center" Orientation="Horizontal" Font="Verdana, 7pt" FontColor="Gray"> <SeriesLabels HorizontalAlign="Near" VerticalAlign="Center" Orientation="Horizontal" Font="Verdana, 7pt" FontColor="Gray"> <Layout Behavior="Auto"> </Layout> </SeriesLabels> <Layout Behavior="Auto"> </Layout> </Labels> </Z2> </Axis> <TitleBottom Visible="False"> </TitleBottom> <Border Thickness="0" /> <Tooltips BorderThickness="1" Overflow="None" FormatString="<DATA_VALUE:00.##>" EnableFadingEffect="False" Format="DataValue" FontColor="Black" BorderColor="Black" Display="MouseMove" BackColor="AntiqueWhite" Padding="0"></Tooltips></igchart:UltraChart>
Thanks
Thanks Max,
It work now
You can set chart.Tooltips.FormatString = "<DATA_VALUE_ITEM>"