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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T21:57:09+00:00 2026-06-07T21:57:09+00:00

I have Developed a Bubble Chart in Asp.net using a simple sqldatsource by defining

  • 0

I have Developed a Bubble Chart in Asp.net using a simple sqldatsource by defining x and y axis columns formaly.Now Problem is that the size of bubbles are same for all vlaues.For example the size of bubble for with 100 is same as the size of bubble for 2000 .Please any one tell me if there exist any property or attribute to check the size of bubbles according to the values.I have tried Much to find any property like this but all in vain.Kindly Help me

Update

 <asp:Chart ID="Chart1" runat="server" DataSourceID="SqlDataSource1" 
            Width="1115px" Height="556px" Compression="5">
            <Series>
                <asp:Series Name="Series1" XValueMember="Date" YValueMembers="Amount" 
                    ChartType="Bubble" YValuesPerPoint="2" IsValueShownAsLabel="True" 
                    IsXValueIndexed="True" MarkerSize="0" MarkerStyle="Circle" Palette="EarthTones">
                </asp:Series>
            </Series>
            <ChartAreas>
                <asp:ChartArea Name="ChartArea1" >
                </asp:ChartArea>
            </ChartAreas>
        </asp:Chart>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ConnectionStringSMLAPP %>" 
            ProviderName="<%$ ConnectionStrings:ConnectionStringSMLAPP.ProviderName %>" 
            SelectCommand="SELECT DISTINCT to_char(DS_DATE,'DD MON YYYY') &quot;Date&quot;, DS_AMT &quot;Amount&quot;FROM DIESEL where ds_amt &lt; 5000 and DS_DATE in('1-APR-2011','1-DEC-2011') order by 1">
        </asp:SqlDataSource>
  • 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-07T21:57:10+00:00Added an answer on June 7, 2026 at 9:57 pm

    As you didn’t provide any details how are you initializing series it’s hard to give specific answer, but in general chart series has property YValuesPerPoint which should be set to 2 and to the methods series.Points.DataBindXY() or series.Points.AddXY() you can provide multiple Y values. First Y value provided would be responsible for place of bubble on Y axis and second Y value would be for bubble size.

    So, to have one bubble in each series you can use following piece of code:

    Chart chart = new Chart();
    DataTable dt = GetData(); //your method to initialize data table with columns "Series", "X_value", "Y_value" and "BubbleSize_value"
    
    foreach (DataRow row in dt.Rows)
    {
        string seriesName = row["Series"].ToString();
        var series = new Series(seriesName);
        series.YValuesPerPoint = 2;
        series.ChartType = SeriesChartType.Bubble;
        series.MarkerStyle = MarkerStyle.Circle;
    
        series.Points.AddXY(row["X_value"], row["Y_value"], row["BubbleSize_value"]);
        chart.Series.Add(series);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed a website using Razor (Microsoft WebMatrix) and now I want to
I have developed a simple django application using sqlite3. At first, I wanted to
I have developed a multilingual web application with Asp.Net. I want to a question
I have developed reports using SSRS 2008 R2 but now need to deploy to
I have developed a Java server using Eclipse that accepts TCP socket connection from
I have developed a Facebook application using Flash as3. In this application when ever
Have developed a small Windows application using SQL Server as its database. I need
I have developed an application which creates an outlook application using outlook object model.
I have developed a simple API to allow communication between my Android/iPhone apps and
I have developed a utility in Java using the Financial Information eXchange(FIX) protocol to

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.