Open erdemildiz opened 2 years ago
@willdale Could you help me?
the BarChartStyle has a property markerType which will accept the MarkerType enum where we can set the color of the marker as well as its stroke style.
BarChartStyle (
...
markerType: .vertical(colour: .red, style: StrokeStyle()),
...
)
The followings are different values for markerType
public enum BarMarkerType: MarkerType {
/// No overlay markers.
case none
/// Vertical line from top to bottom.
case vertical(colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
/// Full width and height of view intersecting at a specified point.
case full(colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
/// From bottom and leading edges meeting at a specified point.
case bottomLeading(colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
/// From bottom and trailing edges meeting at a specified point.
case bottomTrailing(colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
/// From top and leading edges meeting at a specified point.
case topLeading(colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
/// From top and trailing edges meeting at a specified point.
case topTrailing(colour: Color = Color.primary, style: StrokeStyle = StrokeStyle())
}
Hello, I can change infobox style with below codes
but I can't change
touchoverlay
color. Is there any way to change this color?