ObjectProfile / Roassal3

The Roassal Visualization Engine
MIT License
95 stars 52 forks source link

RSStyler #580

Closed DurieuxPol closed 8 months ago

DurieuxPol commented 11 months ago

I wanted to change label color for horizontal top ticks only for DoubleBar plot, but it changed for the horizontal ticks and vertical ticks also. The issue seems to be that all ticks have the same styler object.

Here is an example:

p := RSLinePlot new x: #(1 2 3) y: #(2 3 4).
p horizontalTick styler textColor: Color red.
p open

image

akevalion commented 8 months ago

You can use

p := RSLinePlot new x: #(1 2 3) y: #(2 3 4).
p horizontalTick styler: (RSChartStyler new textColor: Color red).

p open