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
75
LabelSettings not working on Y Axis
posted

We're currently trailing the charts in WPF and we have a problem where the label settings don't work for the Y Axis on any of our charts.

Below is the code for one of our charts, the LabelSettings for the X Axis work, can you tell us what we're doing wrong for the Y Axis?

<ig:XamDataChart Background="Transparent" PlotAreaBackground="Transparent" HorizontalAlignment="Stretch" Height="200">
<ig:XamDataChart.Axes>
<ig:CategoryDateTimeXAxis DateTimeMemberPath="EffectiveFrom" Interval="30" ItemsSource="{Binding Path=Prices}" x:Name="LineXAxis" Label="{}{EffectiveFrom:MMM}" Background="White" Foreground="#777777">
<ig:CategoryDateTimeXAxis.LabelSettings>
<ig:AxisLabelSettings Padding="0,7,0,0"></ig:AxisLabelSettings>
</ig:CategoryDateTimeXAxis.LabelSettings>
</ig:CategoryDateTimeXAxis>
<ig:NumericYAxis x:Name="LineYAxis" Interval="1" Label="{}{}" Background="White" Foreground="#777777" >
<ig:NumericYAxis.LabelSettings>
<ig:AxisLabelSettings Padding="5,0,0,0"></ig:AxisLabelSettings>
</ig:NumericYAxis.LabelSettings>
</ig:NumericYAxis>
</ig:XamDataChart.Axes>
<ig:XamDataChart.Series>
<ig:LineSeries MarkerType="None" ItemsSource="{Binding Path=Prices}" ValueMemberPath="Amount.FormattedPrice" XAxis="{Binding ElementName=LineXAxis}" Brush="{DynamicResource Accent}" Thickness="1"
YAxis="{Binding ElementName=LineYAxis}">
</ig:LineSeries>
</ig:XamDataChart.Series>
</ig:XamDataChart>

Parents Reply
  • 35319
    posted in reply to Infragistics User

    Hello,

     

    After consulting with our development team I found out that this setting is not intended to work in this context. If you would like to use left/right alignment settings for horizontal axis labels, I can suggest submitting a new product idea at <http://ideas.infragistics.com>.

     

    There are many benefits to submitting an product idea:

     

    -          Direct communication with our product management team regarding your product idea.

    -          Notifications whenever new information regarding your idea becomes available.

    -          Ability to vote on your favorite product ideas to let us know which ones are the most important to you.  You will have ten votes for this and can change which ideas you are voting for at any time.

    -          Allow you to shape the future of our products by requesting new controls and products altogether.

    -          You and other developers can discuss existing product ideas with members of our Product Management team.

     

    Steps to create your idea:

                   

    1. Log into the Infragistics Product Idea site at http://ideas.infragistics.com (creating a new login if needed).
    2. Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.)
    3. Add your product idea and be sure to be specific and provide as much detail as possible. Explain the context in which a feature would be used, why it is needed, why it can’t be accomplished today, and who would benefit from it. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. Be convincing!

     

     

    The Product Idea site puts you in the driver’s seat and allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.

     

    Thank you for contacting Infragistics.

Children