February 29, 20241 yr I have a C3 pie chart created from my data and showing in a web viewer. I've been attempting to create a chart with my data. Thankfully, on another post, a user came up with a helpful method which has allowed me to create a scaleable pie chart. Now I'm trying to adjust the background. I understand on Windows it is not possible to create a transparent background, so my second choice was to use the background color of the layout so that it appeared transparent. However, I'm getting what I think is odd results. The following screen grabs show different colors specified in the webviewer code. Any ideas? <GetLayoutObjectAttribute ( \"c3-eb4b9be8.css\"; \"content\" )> ¶ <script src='https://c3js.org/js/d3-5.8.2.min-c5268e33.js'></script> ¶ <script src='https://c3js.org/js/c3.min-d2a1f852.js'></script> ¶</head> ¶ ¶<body bgcolor=#FFCC00; style='margin-top:0px; margin-left:0px; overflow:hidden;'> ¶ ¶<div id='chart'></div> ¶ ¶<script> ¶var chart = c3.generate({ In the <body bgcolor= selector, I've specified black, #FF0800, #FFCC00, all with results that are not the colors specified. this one should be the same color as the yellow slice This one should be red (FF0800) This one should be black This is should be the same light blue as the layout navigation pane (47CCFC).
February 29, 20241 yr This is a cross-post: https://community.claris.com/en/s/question/0D5Vy000003rwHZKAY/c3-chart-backgrounds-in-webviewer Please have the courtesy to provide a link when you do that, so that people don't waste their time repeating replies already given. Edited February 29, 20241 yr by comment
March 3, 20241 yr And you just did it again: https://fmforums.com/topic/110142-hide-text-object-on-a-portal-based-on-portal-contents/#comment-491944 https://community.claris.com/en/s/question/0D5Vy000004340nKAA/hiding-layout-objects-conditionally
March 3, 20241 yr Author Quote Sorry-I misunderstood your first cross-post police comment. I thought I did this in the same forum. I intentionally asked people in another forum on another site for advice on the same issue, hoping to gain more insight into my problem.
Create an account or sign in to comment