<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
I was hoping to utilise a CSS based pie chart <a
moz-do-not-send="true"
href="https://codepen.io/AtomicNoggin/pen/fEish">like this</a> in
my QWebView to print some reports.<br>
I copied the css code from the above example to my already
implemented local CSS file, but the pie chart wont' display in the
QWebView (other css definitions do have a effect).<br>
<br>
All I'm doing in the Qt relevant code is this:<br>
self.htmlView = QWebView()<br>
self.htmlView.settings().setUserStyleSheetUrl(QtCore.QUrl.fromLocalFile('/ohufx/consulting/PreferredMedia/code/report_template.css'))<br>
<br>
Is this a limitation of QWebView or am I missing something?<br>
I have attached the css file.<br>
<br>
Cheers,<br>
frank<br>
<br>
<br>
<div class="moz-signature">-- <br>
<p> </p>
<!-- A { text-decoration:none } -->
<table style="width: 524px; height: 58px;" border="0">
<tbody>
<tr>
<td style="text-align: right;"><a
href="http://www.ohufx.com"><img
src="http://ohufx.com/images/ohufxLogo_50x50.png"
alt="ohufxLogo 50x50"></a> </td>
<td style="text-align: center;"> <br>
</td>
<td style="text-align: left;"><strong><span
style="font-size: 8pt;"><a
href="http://ohufx.com/compositing.html">vfx
compositing</a></span> | <span style="font-size:
8pt;"><strong><a
href="http://ohufx.com/customising.html">workflow
customisation and consulting</a></strong> </span>
</strong> </td>
</tr>
<tr>
<td style="text-align: right;"> </td>
<td style="text-align: center;"> </td>
<td style="text-align: left;"><strong><span
style="font-size: 8pt;"><a
href="http://ohufx.com/compositing.html"> </a></span></strong>
<br>
</td>
</tr>
<tr>
<td style="text-align: right;"><a
href="http://www.nukepedia.com/nubridge"><img
src="http://nukepedia.com/images/nuBridge/logo/nuBridge_logo.png"
alt=""> </a> </td>
<td style="text-align: center;"> <br>
</td>
<td style="text-align: center;">
<p style="text-align: left;"><a style="color: #999;
font-size: 10px; font-family: Arial, Helvetica,
sans-serif;" href="http://www.nukepedia.com/nubridge">Your
gateway to over 1,000 free tools... right inside of
Nuke</a>
<style><!--A{text-decoration:none}--></style> </p>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>