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 7784655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:07:46+00:00 2026-06-01T20:07:46+00:00

Basically I have a chart with multiple bar series. The independent value for all

  • 0

Basically I have a chart with multiple bar series. The independent value for all the series are the same. So the chart’s xaxes are rendered with stacked of same independent values.

If I want to make all series (except for the first one) xaxes’ labels to not visible, how can i do that in the xaml declaration?

Can anyone please give me assistance on this?

Update:

I have come across example with the following code:

<toolkit:Chart x:Name="myChart" Width="600" Height="400">
<toolkit:LineSeries                 
Title="Tasks"
ItemsSource="{Binding}"
IndependentValueBinding="{Binding Month}"
DependentValueBinding="{Binding Task}">                       
</toolkit:LineSeries>

<toolkit:LineSeries                 
Title="Benefits"
ItemsSource="{Binding}"
IndependentValueBinding="{Binding Month}"
DependentValueBinding="{Binding Benefits}">               
</toolkit:LineSeries>

<toolkit:Chart.Axes>
<toolkit:LinearAxis Orientation="Y" Location="Left" Title="First" />
<toolkit:LinearAxis Orientation="Y"  Location="Right" Title="Second" />
</toolkit:Chart.Axes>            
</toolkit:Chart>

If you plot the above code, you will see that both series will base the Y values from the left one. How can we change it so that first series will be plotted against Y values on the left and second series to be plotted against Y values on the right.

is that possible?

Thanks.

  • 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-06-01T20:07:47+00:00Added an answer on June 1, 2026 at 8:07 pm

    I think you can achieve what you want using the DependentRangeAxis properties of the LineSeries objects.

    First, give each Y-axis an x:Name, for example TaskAxis and BenefitsAxis.

    Then, you can tell a LineSeries to use an axis by adding to it the property

    DependentRangeAxis="{Binding ElementName=TaskAxis}"
    

    or

    DependentRangeAxis="{Binding ElementName=BenefitsAxis}"
    

    as appropriate.

    The full XAML of the chart then becomes

        <toolkit:Chart x:Name="myChart" Width="600" Height="400">
            <toolkit:LineSeries                 
                    Title="Tasks"
                    ItemsSource="{Binding Path=Data1}"
                    IndependentValueBinding="{Binding Month}"
                    DependentValueBinding="{Binding Task}"
                    DependentRangeAxis="{Binding ElementName=TaskAxis}">
            </toolkit:LineSeries>
            <toolkit:LineSeries                 
                    Title="Benefits"
                    ItemsSource="{Binding Path=Data1}"
                    IndependentValueBinding="{Binding Month}"
                    DependentValueBinding="{Binding Benefits}"
                    DependentRangeAxis="{Binding ElementName=BenefitsAxis}">
            </toolkit:LineSeries>
            <toolkit:Chart.Axes>
                <toolkit:LinearAxis Orientation="Y" Location="Left" Title="First" x:Name="TaskAxis" />
                <toolkit:LinearAxis Orientation="Y" Location="Right" Title="Second" x:Name="BenefitsAxis" />
            </toolkit:Chart.Axes>
        </toolkit:Chart>
    

    Another approach is to move the Axis objects inside the LineSeries. A demonstration of how to do this can be found here.

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

Sidebar

Related Questions

I basically have the same question as this guy .. The example in the
I have a char byte that I want to convert to an int. Basically
Does anyone have any idea how to create a logarithmic chart in FLOT? Basically
I have a line series chart called lineSeries1. I would like that chart to
How to create dynamic color list for charts Basically i have a different value
I want a chart that has several separate series running in rows across. They
I have a chart with 3 data series, 2 are columns and 1 is
Basically I have a table like this: Week | Value 1 | 2 2
I have a chart created as shown below, and I am adding values to
First of all let me apologize for the wall of code. Basically, I have

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.