Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1004
StackBarChart Tooltips Problem
posted

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="&lt;ITEM_LABEL&gt;" Orientation="VerticalLeftFacing"
                VerticalAlign="Center" SeriesFormatString="&lt;SERIES_LABEL&gt;" >
                <SeriesLabels Font="Verdana, 8pt" FontColor="black" FormatString="&lt;SERIES_LABEL&gt;"
                    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="&lt;DATA_VALUE:00.##&gt;" 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="&lt;DATA_VALUE:00.##&gt;" 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="&lt;ITEM_LABEL&gt;" 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="&lt;DATA_VALUE:00.##&gt;" EnableFadingEffect="False" Format="DataValue" FontColor="Black" BorderColor="Black" Display="MouseMove" BackColor="AntiqueWhite" Padding="0"></Tooltips>
</igchart:UltraChart>

 

Thanks