<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi,<div><br></div><div>I should get some data from a specific field of a specific layer but I’m stuck.</div><div><br></div><div>I’m using “Data Ploty” plug-in and I’d like to customise the colour of the chart using expression. </div><div>As I’m working on layout I can’t see any field into expression menu, so I need to call a specific layer and then the field.</div><div>I’d like to write something like that but, of course, selecting the correct layer:</div><div><br style="-webkit-text-size-adjust: auto; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: "Exo 2", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255);"><span class="mycode_color" style="-webkit-text-size-adjust: auto; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: "Exo 2", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255);"><span class="mycode_font" style="font-family: "Courier New";">CASE</span></span><br style="-webkit-text-size-adjust: auto; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: "Exo 2", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255);"><span class="mycode_color" style="-webkit-text-size-adjust: auto; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: "Exo 2", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255);"><span class="mycode_font" style="font-family: "Courier New";">WHEN "Civici" = 'Neri' THEN color_rgb(0,0,0)</span></span><br style="-webkit-text-size-adjust: auto; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: "Exo 2", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255);"><span class="mycode_color" style="-webkit-text-size-adjust: auto; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: "Exo 2", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255);"><span class="mycode_font" style="font-family: "Courier New";">ELSE color_rgb (255,0,0)</span></span><br style="-webkit-text-size-adjust: auto; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: "Exo 2", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255);"><span class="mycode_color" style="-webkit-text-size-adjust: auto; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: "Exo 2", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255);"><span class="mycode_font" style="font-family: "Courier New";">END</span></span></div><div><br></div><div><br></div><div>Thank you in advance.</div><div><br></div><div>Cheers</div><div><div><br><div dir="ltr">_</div></div></div></body></html>