when changing the color of the ruler, doesn't matter if the ruler belongs to the currently shown chart, the chart is repainted