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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T16:08:09+00:00 2026-06-10T16:08:09+00:00

I have been trying to pull some information from a MSSQL database and deposit

  • 0

I have been trying to pull some information from a MSSQL database and deposit it into a chart via ASP.NET v4 which has been easy. The issue I am really struggling with are the X and Y axes. For some reason, it will only allow me to have certain data on a particular axis which just happens to be the opposite (Axis) to what I want. Could someone please point me in the right direction so that I can either choose what table data (Pulling name from Table 1 and the data from table 2) goes to which axis or if there is a way to force a swap via code? Thanks for any help you guys can provide!

If it helps, this is my ASP.NET code.

<asp:Chart ID="Chart1" runat="server" DataSourceID="SqlDataSource1" 
Width="900px" Height="500px" style="margin-top: 5px" Palette="EarthTones">
    <Series>
        <asp:Series Name="Series1" XValueMember="ActualWOB" 
            YValueMembers="Rig_ID" Legend="Legend" ChartType="Bar" YValuesPerPoint="4">
        </asp:Series>
    </Series>
    <ChartAreas>
        <asp:ChartArea Name="ChartArea1">
        </asp:ChartArea>
    </ChartAreas>
    <Legends>
        <asp:Legend Name="Legend" Title="Legend">
        </asp:Legend>
    </Legends>
</asp:Chart>

I want the ID/Name to be on the X Axis and the ActualWOB data on the Y Axis but just can’t seem to figure it out. Could it be something to do with my SQL Query? There are 2 Tables as mentioned earlier. One has ID, name, Manager, status and the other table has all the actual recorded data with the ID tying the 2 tables together. Because there are multiple names, I want to have the Names going up the chart with all the data fields on the bottom.

  • 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-10T16:08:11+00:00Added an answer on June 10, 2026 at 4:08 pm

    I am still not 100% sure how, but I resolved this. I think it was just a dodgy SQL Query.

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

Sidebar

Related Questions

I have been trying to use the document.getElementByID to pull information from an HTML
I'm trying to have my GAE app pull some records from the Datastore but
I am trying ot use C# / ASP.NET to pull a date from an
I am starting to pull my hair out over this! I have been trying
I have been trying to setup git for our web development team unsuccessfully. Some
I have been trying for almost a week now to create an SQLite database
I've been trying to get the id field to pull and have no idea
I have been have issues trying to retrieve the values from a treeMap that
I am trying to pull data from our Oracle datamart into R using RODBC.
I'm trying to undo some changes that have already been pushed to a remote

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.