Plot Color not changing

No, you are not correct.
You can plot with green color.
And it does plot with green color.

(If that's the entire code in post #1 then) you have UI setting that causes that. And I know which one it is (but as aside you do not need to use styleBar at all in order to have no connection between periods (Day, Week, Month) anyway).

There are three solutions:

  1. setting different UI setting
  2. or not using styleBar
  3. or using your UI setting but adding an additional line

But for further help you have to validate forum account first.