Skip to main content
Participant
May 11, 2018
Question

Change the slider in to celsius counter

  • May 11, 2018
  • 2 replies
  • 274 views

Hi

I'm working on a graph and would like to have a counter in Celsius degree, so from 0 to 2 and so it can go as low as -2. Doing a global warming chart. How can i make the slider count my graph in Celsius degree?

As you can see i tried something like that. But need it to work on my lines and in to Celsius degree.

    This topic has been closed for replies.

    2 replies

    Participant
    May 14, 2018

    This is what i have now. So the bar moves along and i controll it with the slider. But it shows in % value. How can i change it so it shows the °C value. So at one i need to show number 1. I tried changing the slider value, to max 2 but it didnt align with my number 1 and want to go as low as -2.

    Mylenium
    Legend
    May 11, 2018

    Simply concatenate the string in teh expression:

    mSlider=thisComp.layer("A").effect("Slider")(1);

    mVal=mSlider.toString()+" °C";

    Mylenium

    Participant
    May 11, 2018

    Thanks for answering.

    So, i put this instead of what i have now in scale? The slider does not go along with the text and the bar doesn't move now.

    Sorry but i don't understand so much in this.