Background Color an Time interval

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #106375 quote
    Pluvinel
    Participant
    Average

    Buenos tardes. EStoy tratando de dar un determinado background color a una zona del gráfico comprendida en un intervalo de tiempo, por ejemplo, desde las 2:00 am hasta las 08:00 am. He probado el código:

    TimeInterval = (time >= 020000) AND (time <= 080000)
    if TimeInterval then
    backgroundcolor(255,10,10,1)
    endif

    Pero no funciona. ¿Alguna idea?

    Muchas gracias y un saludo.

    #106378 quote
    Nicolas
    Keymaster
    Master

    Debido a que la configuración de transparencia alfa que tiene es demasiado baja (1 es casi invisible), le sugiero que use 100 (el máximo es 255):

    backgroundcolor(255,10,10,100)
    #106380 quote
    Pluvinel
    Participant
    Average

    Qué sencillo era! Muy agradecido, Nicolás.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Background Color an Time interval


ProBuilder: Indicadores y Herramientas

New Reply
Author
author-avatar
Pluvinel @pluvinel Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Pluvinel
6 years, 5 months ago.

Topic Details
Forum: ProBuilder: Indicadores y Herramientas
Language: Spanish
Started: 09/03/2019
Status: Active
Attachments: No files
Logo Logo
Loading...