GetDataStyle – PB Docs 150

GetDataStyle method (Graphs in DataWindows)

Finds out the appearance of a data point in a graph.
Each data point in a series can have individual appearance settings.
There are different syntaxes, depending on what settings you want
to check.

To get the

Use

Data point’s colors (called GetDataStyleColor in
JavaScript)

Syntax 1

Line style and width used by the data
point (called GetDataStyleLine in JavaScript)

Syntax 2

Fill pattern for the data point (called GetDataStyleFill in JavaScript)

Syntax 3

Symbol for the data point (called GetDataStyleSymbol in JavaScript)

Syntax 4

GetDataStyle provides information about
a single data point. The series to which the data point belongs
has its own style settings. In general, the style values for the
data point are the same as its series’ settings. Use SetDataStyle to
change the style values for individual data points. Use GetSeriesStyle and SetSeriesStyle to
get and set style information for the series.

The graph stores style information for properties that do
not apply to the current graph type. For example, you can find out
the fill pattern for a data point or a series in a 2-dimensional
line graph, but that fill pattern will not be visible.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x