plot2d v0.1.4 (2018-04-16T18:21:42Z)
Dub
Repo
BaseChart
plot2d
chart
base
class
BaseChart :
Chart
, Stylized(
T
) {
mixin
StylizedHelper
;
protected
Viewport
vp
;
protected
Appender
!(
Elem
[])
buffer
;
protected
BufferFiller
fillData
;
void
expandViewport
(Elem val, bool[2] inited);
alias
Elem
=
T
;
alias
BufferFiller
=
void
delegate
(
ref
Appender
!(
Elem
[]))
;
this
(BufferFiller fillData);
bool
visible
[@property getter];
const
(
Viewport
)
viewport
[@property getter];
void
update
();
void
draw
(Ctx cr, Trtor tr);
}
Constructors
this
this
(BufferFiller fillData)
Undocumented in source.
Members
Aliases
BufferFiller
alias
BufferFiller
=
void
delegate
(
ref
Appender
!(
Elem
[]))
Undocumented in source.
Elem
alias
Elem
=
T
Undocumented in source.
Functions
draw
void
draw
(Ctx cr, Trtor tr)
expandViewport
void
expandViewport
(Elem val, bool[2] inited)
Undocumented in source.
update
void
update
()
Mixins
__anonymous
mixin
StylizedHelper
Undocumented in source.
Properties
viewport
const
(
Viewport
)
viewport
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
visible
bool
visible
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
buffer
Appender
!(
Elem
[])
buffer
;
Undocumented in source.
fillData
BufferFiller
fillData
;
Undocumented in source.
vp
Viewport
vp
;
Inherited Members
From Chart
viewport
const
(
Viewport
)
viewport
[@property getter]
visible
bool
visible
[@property getter]
update
void
update
()
update buffered data and viewport
Meta
Source
See Implementation
plot2d
chart
base
classes
BaseChart
interfaces
Chart