Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6194025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:13:27+00:00 2026-05-24T03:13:27+00:00

I am newbie in WPF and now I am using a 3rd party lib

  • 0

I am newbie in WPF and now I am using a 3rd party lib xamChart in my project

previously in the XAML i have a Chart and its axis has a Unit which is a int property
and I have

Unit="{Binding NextStartRow, Converter={StaticResource UnitConverter}}"

This works perfectly, but now I need to create the chart in the runtime through the code behind.
How can I do that in C#? and FYI all the axis.Unit.xxx in the c# code do not have the thing I want, Please help, thank you very much in advance, any suggestion is much appreciated!

FYI code snippet in of xaml

<igCA:Axis AxisType="PrimaryX" AutoRange="True"  
           Unit="{Binding AnotherIntegerProperty, Converter={StaticResource UnitConverter}}">
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T03:13:27+00:00Added an answer on May 24, 2026 at 3:13 am

    Try this by adjusting anything is not correct as you missed to specify:

    myXamChart.SetBinding(
      Unit,
      new Binding("AnotherIntegerProperty")
      {
        Converter = new UnitConverter()
      });
    

    Cheers

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a newbie WPF question. Imagine my user control has a namespace declaration
I am a newbie to WPF and have a couple of questions about WPF
First, fair warning: I am a complete newbie with C# and WPF. I have
i'm using sharpdevelop to program WPF application(I'm newbie to WPF i've knowledge of VB
I'm a XAML/WPF newbie, and I thought I'd write an alarm clock application to
I'm a newbie with WPF and c# and have a (probably very simple) problem.
I'm newbie to WPF, and maybe ask some stupid question. However. I have a
FYI - I am a C# / WPF newbie. I have been tasked with
I am newbie to WPF. I have drawn simple 3D cube and rotate it
I'm a newbie in WPF and I would like to ask if it's possible

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.