[Timing][Style] Allow all Style for timeline, on timing diagram

0 votes
asked May 8, 2022 in Wanted features by The-Lu (73,540 points)

Hello PlantUML team,

  • Could you allow all Style for timeline, on timing diagram?

Here is an example:

@startuml
<style>
timingDiagram {
  timeline {
    FontColor red
    FontSize 10
    FontStyle italic
    LineColor red
    LineThickness 2
    LineStyle 4;4
    BackgroundColor pink
  }
}
</style>

clock   "Clock_0"   as C0 with period 50
binary  "Binary"  as B
concise "Concise" as C
robust  "Robust"  as R
@0
C is Idle
R is Idle
@100
B is high
C is Waiting
R is Processing
@300
R is Waiting
@enduml

  • The vertical time lines are red (OK), but not (KO) the horizontal time-axis...
    Why time-axis is not red?

Regards.

1 Answer

0 votes
answered May 27, 2022 by plantuml (295,760 points)
selected May 27, 2022 by The-Lu
 
Best answer
This should be fixed with last online version.
commented May 27, 2022 by The-Lu (73,540 points)

Thanks a lot.

Then, about the timing diagram, there will remain the point to colour the background horizontally:

But I have no idea for syntax (because `BackgroundColor` is already use for concise!)
...