Problème backgroundcolor et dessin

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #173642 quote
    imencityimencity
    Participant
    Senior

    Bonjour,

    J’ai mis un backgroundcolor sur le prix; couleur en fonction de MM un truc simple.
    Mais quand je fais des tracés ça passe derrière… alors que sur le web j’ai déjà vu ça mais les tracés passent bien devant, un peu comme s’il y avait des z-index.

    Une petite image pour mieux expliquer.

    traces.jpg traces.jpg
    #173646 quote
    NicolasNicolas
    Keymaster
    Legend

    Non il n’y a pas de z-index 🙂 Je pense que tu dois utiliser à la fois COLOURED et BORDERCOLOR quand tu traces un objet graphique (voir exemple joint).

    couleur-objet-graphique-prorealtime.png couleur-objet-graphique-prorealtime.png
    #173653 quote
    imencityimencity
    Participant
    Senior

    Merci de ta réponse.

    Les objets graphiques sont dessinés avec les outils PRT. A la main…. pas avec la programmation.
    C’est pour ça que je ne comprends pas.

    Une idée ?

    #173657 quote
    NicolasNicolas
    Keymaster
    Legend

    Merci pour la précision ! 🙄

    Pour que le tracé à la main passe devant le backgroundcolor, il faut ajouter une transparence (alpha) dans le COLOURED:

    backgroundcolor(0,0,255,100)
    
    return
    #173661 quote
    imencityimencity
    Participant
    Senior

    D’accord. Effectivement on voit une transparence sur le graph visible sur le web.

    merci.

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

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Problème backgroundcolor et dessin


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
imencity @imencity Participant
Summary

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

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 07/14/2021
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...