Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 48479

Re: How to define Table DataViewMappings

$
0
0

 I could create a link button using SVG and on click it was redirecting.

  this.htmlContents = d3.select(options.element.get(0)).append("svg")

                              .attr("width",400)   

                            .attr("height", 200);

                           

                            this.htmlContents.append("a").attr("xlink:href", "http://en.wikipedia.org/wiki/")

                            .append("rect") 

                            .attr("x", 100)

                            .attr("y", 50)

                            .attr("height", 100)

                            .attr("width", 200)

                            .style("fill", "lightgreen")

                            .attr("rx", 10)

                            .attr("ry", 10);

                           

                           this.htmlContents.append("text")

                            .attr("x", 200)

                            .attr("y", 100)

                            .style("fill", "black")

                            .style("font-size", "20px")

                            .attr("dy", ".35em")

                            .attr("text-anchor", "middle")

                            .style("pointer-events", "none")

                            .text("Resolve");

But when I added the same to a table cell, errror occurs "Refused to display "https://app/powerbi.com/www/wiki.org" in a frame because it set X-Frame-Opttions to deny

XFrame error.png"

 

 


Viewing all articles
Browse latest Browse all 48479

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>