Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2601 - BubbleCloud regression in which not all values are rendered.
Summary: BubbleCloud regression in which not all values are rendered.
Status: RESOLVED NOTABUG
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: .NET 5.0 (show other bugs)
Version: unspecified
Hardware: PC All
: --- regression
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-11 04:03 EDT by christopher ireland
Modified: 2023-04-11 06:18 EDT (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
Screenshot (17.59 KB, image/png)
2023-04-11 04:03 EDT, christopher ireland
Details

Note You need to log in before you can comment on or make changes to this bug.
Description christopher ireland 2023-04-11 04:03:26 EDT
Created attachment 1043 [details]
Screenshot

Using code such as the following:


       private void InitializeChart()
        {
            tChart1.Legend.Visible = false;

            var bcloud = new BubbleCloud(tChart1.Chart);
            bcloud.Add(14, "Data 1");
            bcloud.Add(10, "Data 2");
            bcloud.Add(18, "Data 3");
        }

Gives us the erroneous screenshot attached.
Comment 1 christopher ireland 2023-04-11 06:18:42 EDT
This is not a defect, and the BubbleCloud Chart can be bettered with code such as the following:

        private void InitializeChart()
        {
            tChart1.Legend.Visible = false;
            tChart1.Header.Visible = false;

            var bcloud = new BubbleCloud(tChart1.Chart)
            {
                UseColorRange = false,
                UsePalette = true,
                PaletteStyle = PaletteStyles.Strong
            };
            bcloud.Add(14, "Data 1");
            bcloud.Add(10, "Data 2");
            bcloud.Add(18, "Data 3");
            bcloud.Separation = 3;
            bcloud.SizeRatio = 4;
            bcloud.Rotation = 180;
        }