Returns a style object to override the graph default assignment.
If null is returned for underlays, the following will be observed
- both shape and color is null: no underlays
- only shape is null: colored square underlay
- only color is null: grey shaped underlay
To retain the current style, return
DataStyleContext.getDataStyle
Parameters:
type - DataStyleType
context - instance of DataStyleContext class
Returns:
custom style specification
If type is color, expects a Color, Integer or String (#hex format) object.
If type is shape, expects a DataStyleType.Shape enum.