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 1526 - Function series marks aren't displayed
Summary: Function series marks aren't displayed
Status: RESOLVED NOTABUG
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-27 00:29 EDT by Shinobu Nagai
Modified: 2016-05-02 01:02 EDT (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shinobu Nagai 2016-04-27 00:29:43 EDT
Using the latest version of TeeChart for .NET v2015, please follow the steps below at design time using Chart Editor to reporduce a problem.
1. adds a FastLine series.
2. adds an Average function.
3. sets the FastLine series as the source series of the Average function.
4. presses the Apply button.
5. marks the Visible checkboxes for both FastLine and source series marks.

Source series marks aren't displayed.
Comment 1 sandra pazos 2016-04-28 10:09:51 EDT
Hello Nagai,

I would like inform you it isn't a bug. The problem is resolved setting the SoftClip property to false. The code below shows how:

        tChart1 = new Steema.TeeChart.TChart();
            this.Text = tChart1.ProductVersion;
            this.Controls.Add(tChart1);
            tChart1.Left = 100;
            tChart1.Top = 50;
            tChart1.Width = 600;
            tChart1.Height = 400;

            Steema.TeeChart.Styles.FastLine series1 = new Steema.TeeChart.Styles.FastLine(tChart1.Chart);
            Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
            Steema.TeeChart.Functions.Average av1 = new Steema.TeeChart.Functions.Average();
            series1.FillSampleValues(10);
            line1.DataSource = series1;
            line1.Function = av1;

            //Marks
            series1.Marks.Visible = true;
            line1.Marks.Visible = true;
            line1.Marks.SoftClip = false;

Thanks in advance,
Regards
Comment 2 Shinobu Nagai 2016-05-02 01:02:13 EDT
Let me make sure once again.
For example, when a source series is Bar or Point series, a fuction's marks can be displayed by just marking the Visible checkbox. However, when a source series is FastLine or Line series, it's required to set the SoftClip to False by code to show the fuction's marks. Is it correct?