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

  • SEARCH
  • Home
  • 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 7666587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T14:52:16+00:00 2026-05-31T14:52:16+00:00

I have a stacked bar chart where I want to display two values for

  • 0

I have a stacked bar chart where I want to display two values for the Y parameter at the method :

public void DataBindXY(
    IEnumerable xValue,
    string xField,
    IEnumerable yValue,
    string yFields
)

My problem is that I would like to have two values for Y and not just one, as mentioned at [MS documentation][1]

[1]: http://msdn.microsoft.com/en-us/library/dd488523.aspx , I tried putting at the yField parameter two values , and I am keep getting “You can only set 1 Y values for this data point. Parameter name: yValue”

here is an example of my code , while DV is a DataView object with three parameters, two applicable for Y axis and one applicable for X axis:

Points.DataBindXY(dv, "Xfield", dv, "Yfield1,Yfield2");

Thanks, David

  • 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-31T14:52:18+00:00Added an answer on May 31, 2026 at 2:52 pm

    I think you just need to make it aware that your series needs 2 Y values, so just try setting

    Chart1.Series[0].YValuesPerPoint = 2;
    

    But as per Stacked Chart it only allows a single Y value per point.

    In case you are looking for the values to be stacked up, then i think you would need equivalent number of series as the number of stacks you want which would then be rendered based upon their common X Values.

    Series 1 –> Xfield,Yfield1

    Series 2 –> Xfield,Yfield2

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

Sidebar

Related Questions

I want to draw horizontal stacked bar chart which will have two section. Is
I have two labels that are stacked. If I want a horizontal line between
I have some problems with making a stacked bar chart in ggplot2. I know
I have a ZedGraph stacked bar graph, and I want each bar to show
Currently I have a stacked bar chart like this ( jsfiddle demo ) I
I have used a stacked bar chart (with coord_flip) to try to compare distributions
I have a a stacked bar plot using ggplot for which I'm trying to
I have a stacked bar graph to include in my paper, which is going
I have stumbled accross the following snippet, for creating horizontal bar chart using matplotlib:
I want to make a radial stacked barchart. I have something like this: ggplot(diamonds,

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.