nidhijohar

Results 2 comments of nidhijohar

You will need to console.log to know x value if (this.x == "234") { this.box = r.rect(this.x, this.y, box_width, this.size()).attr({ 'fill': "#ff0000", "stroke": "#D4CBF2" }); } else if (this.x ==...

console.log(this.label_text); if (this.label_text == "A") { this.box = r.rect(this.x, this.y, box_width, this.size()).attr({ 'fill': "#ff0000", "stroke": "#D4CBF2" }); } else if (this.label_text == "B"){ this.box = r.rect(this.x, this.y, box_width, this.size()).attr({ 'fill':...