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
MajorGridLines/MinorGridLines disappear
posted

I want alway to have MajorGridLines/MinorGridLines  on my Chart but sometime i didnt have it.

<igchart:UltraChart BackColor="White" EmptyChartText="Data Not Available." BorderWidth="0px" ChartType="BarChart" Version="9.1">
    <Axis>
        <PE ElementType="None" Fill="Cornsilk" />
        <X Extent="70" LineThickness="1" TickmarkInterval="50" TickmarkStyle="Smart"
            Visible="True">
            <Margin>
                <Far Value="2.4896265560165975" />
            </Margin>
            <MajorGridLines AlphaLevel="255" Color="Red" DrawStyle="Dot"
                Thickness="1" Visible="True" />
            <MinorGridLines AlphaLevel="255" Color="Blue" DrawStyle="Dot"
                Thickness="1" Visible="true" />
            <Labels Font="Verdana, 9pt" FontColor="black" HorizontalAlign="Far"
                ItemFormatString="&lt;DATA_VALUE:00.##&gt;" Orientation="VerticalLeftFacing"
                VerticalAlign="Center">
                <SeriesLabels Font="Verdana, 9pt" FontColor="black" FormatString=""
                    HorizontalAlign="Far" Orientation="VerticalLeftFacing" VerticalAlign="Center">
                    <Layout Behavior="Auto">
                    </Layout>
                </SeriesLabels>
                <Layout Behavior="Auto">
                </Layout>
            </Labels>
        </X>
        <Y Extent="140" LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart"
            Visible="True">
            <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot"
                Thickness="1" Visible="True" />
            <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot"
                Thickness="1" Visible="False" />
            <Labels ItemFormatString="&lt;ITEM_LABEL&gt;" VerticalAlign="Center" WrapText="False" FontSizeBestFit="False" SeriesFormatString="&lt;SERIES_LABEL&gt;" ClipText="True" Font="Verdana, 7.8pt" Flip="False" ItemFormat="ItemLabel" FontColor="Black" Orientation="Horizontal" Visible="True" OrientationAngle="0" HorizontalAlign="Far">
                <SeriesLabels Font="Verdana, 8pt" Visible="True" HorizontalAlign="Center" FontSizeBestFit="False" ClipText="True" FormatString="&lt;SERIES_LABEL&gt;" Orientation="VerticalLeftFacing" WrapText="False" Flip="False" FontColor="Black" VerticalAlign="Near" OrientationAngle="0"></SeriesLabels>
            </Labels>
        </Y>
        <Y2 LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart"
            Visible="False">
            <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, 7pt" FontColor="Gray" HorizontalAlign="Near"
                ItemFormatString="&lt;ITEM_LABEL&gt;" Orientation="Horizontal"
                VerticalAlign="Center" Visible="False">
                <SeriesLabels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Center"
                    Orientation="VerticalLeftFacing" VerticalAlign="Center">
                    <Layout Behavior="Auto">
                    </Layout>
                </SeriesLabels>
                <Layout Behavior="Auto">
                </Layout>
            </Labels>
        </Y2>
        <X2 LineThickness="1" TickmarkInterval="50" TickmarkStyle="Smart"
            Visible="False">
            <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, 7pt" FontColor="Gray" HorizontalAlign="Far"
                ItemFormatString="&lt;DATA_VALUE:00.##&gt;" Orientation="VerticalLeftFacing"
                VerticalAlign="Center" Visible="False">
                <SeriesLabels Font="Verdana, 7pt" FontColor="Gray" FormatString=""
                    HorizontalAlign="Far" Orientation="VerticalLeftFacing" VerticalAlign="Center">
                    <Layout Behavior="Auto">
                    </Layout>
                </SeriesLabels>
                <Layout Behavior="Auto">
                </Layout>
            </Labels>
        </X2>
        <Z LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart" Visible="False">
            <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, 7pt" FontColor="DimGray" HorizontalAlign="Near"
                ItemFormatString="" Orientation="Horizontal" VerticalAlign="Center"
                Visible="False">
                <SeriesLabels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Near"
                    Orientation="Horizontal" VerticalAlign="Center">
                    <Layout Behavior="Auto">
                    </Layout>
                </SeriesLabels>
                <Layout Behavior="Auto">
                </Layout>
            </Labels>
        </Z>
        <Z2 LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart"
            Visible="False">
            <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, 7pt" FontColor="Gray" HorizontalAlign="Near"
                ItemFormatString="" Orientation="Horizontal" VerticalAlign="Center"
                Visible="False">
                <SeriesLabels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Near"
                    Orientation="VerticalLeftFacing" VerticalAlign="Center">
                    <Layout Behavior="Auto">
                    </Layout>
                </SeriesLabels>
                <Layout Behavior="Auto">
                </Layout>
            </Labels>
        </Z2>
    </Axis>
    <Border Thickness="0" />
    <Tooltips BorderThickness="1" Overflow="None" FormatString="&lt;DATA_VALUE:n0&gt;" EnableFadingEffect="False" Format="DataValue" FontColor="Black" BorderColor="Black" Display="MouseMove" BackColor="AntiqueWhite" Padding="0"></Tooltips>
</igchart:UltraChart>

 

some Solution for this.

Thanks

Parents Reply Children
No Data