Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ScatterDraw & ScatterCtrl » Modifier methods organization
Modifier methods organization [message #54907] Mon, 28 September 2020 14:05 Go to next message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member
I suspect that it probably too late at this point, but I would rather like to have methods that modify series attributes to be public methods of ScatterSeries class. AddSeries should return ScatterSeries reference instead.

Mirek
Re: Modifier methods organization [message #54918 is a reply to message #54907] Mon, 28 September 2020 18:10 Go to previous message
koldo is currently offline  koldo
Messages: 3373
Registered: August 2008
Senior Veteran
Nowadays it is that way to allow this:
scatter.AddSeries(x, y).Units("ºC", "seg").Legend("Series 2").Stroke(5, Null);
All functions are linked in the same line, as all are ScatterDraw functions. Functions after AddSeries() know implicitly that they refer to the last added series.

Proposals acknowledged.


Best regards
Iñaki
Previous Topic: Legend & spline interpolation
Next Topic: ScatterDraw::LegendLine
Goto Forum:
  


Current Time: Thu Jun 20 01:56:03 CEST 2024

Total time taken to generate the page: 0.02304 seconds