Question

How do I color the last point of a line chart differently?

  • 20 December 2019
  • 2 replies
  • 296 views

Hello,

We are implementing a weekly trend line chart. Given the nature of being weekly, the last data point won’t be completed as long as we view the chart in the middle of a week. We would like to color it differently, e.g. in grey like this:


One way I can think of is to paint the same data series for two times, one as the line chart and the other filtering out the rest but the last value as a scattered graph. However, it’s super tedious when there are a dozen of charts.


Is there an easier way to do it?


Thanks.


2 replies

Userlevel 4

Hi

i think this could help you

Userlevel 7
Badge +1

Yup, you arrived at the same answer that’s been referenced in Benjamin’s linked post— There’s not currently an easier way to do it, but it is a pretty flexible solution (You’re right that it is tedious if there are many charts to do this on, though).

Reply