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
760
Problem displaying secondary axes
posted

Hello all,

I'd first like to say that these forums have been extremely helpful to me so far, and thank you to the people asking insightful questions and to the people taking the time to respond.

My issue today is that I can't seem to get my secondary axes to be visible just by setting their visibility property. I was wondering if there are some other properties that need to be set, or if there is some sort of data requirement.

The strange thing is that visibility works fine for my primary axes, which leads me to believe that I am providing something there that is required. I have also debugged and ensured that I am passing the correct value to the binding.

I have included the xaml for one of my axes below:

<igWebChart:Axis AxisType="SecondaryX" Visibility="{Binding SecondaryXAxisVisibility, Converter={StaticResource BooleanToVisibilityConverter}, FallbackValue=Collapsed}" AutoRange="{Binding SecondaryXAxisAutoRange}" Minimum="{Binding SecondaryXAxisMinimum}" Maximum="{Binding SecondaryXAxisMaximum}" Unit="{Binding SecondaryXAxisUnit}">

                    <igWebChart:Axis.MajorGridline>

                        <igWebChart:GridlineGroup Visibility="{Binding SecondaryXAxisGridlineVisibility, Converter={StaticResource BooleanToVisibilityConverter}}" Stroke="{Binding SecondaryXAxisGridlineColor}"/>

                    </igWebChart:Axis.MajorGridline>

                    <igWebChart:Axis.Label>

                        <igWebChart:LabelGroup Angle="{Binding SecondaryXAxisLabelAngle}" Format="{Binding SecondaryXAxisLabelFormat}" FontFamily="{Binding SecondaryXAxisLabelFontFamily}" FontSize="{Binding SecondaryXAxisLabelFontSize}"  Foreground="{Binding SecondaryXAxisLabelFontColor}"/>

                    </igWebChart:Axis.Label>

                </igWebChart:Axis>

 

Any insight would be appreciated. Thank you for your time.

Parents
No Data
Reply
  • 1134
    posted

    Hi Matt,

    Thank you for your post.  I have a couple of questions regarding the project where you took the above XAML snippet from.

    1).  Do you have Primary axes created in this project as well as secondary axes?

    2).  If you do have primary axes, do you have data plotting on them?

    3).  Do you have any data plotting on your secondary axes?

     

    Thank you,

    Marisa

Children