Hi @oliver, I’m glad you liked the article. What you saw in the video was done only using ChartFactor, without any external visualizations libraries, the other thing is that there are not crazy tricks or anything to accomplish, just some color configuration as you already pointed and some CSS to help the visualization.
For example the trend at the top was accomplished by using something like this:
<!-- This would be the container with color -->
<div class="trend-widget">
<!-- The placeholder for the trend -->
<div id="trend"></div>
</div>
For the color definition for the Trend, we just need to set a transparent background (usually is white), then a palette with only the white for the line in the trend.
var color = cf.Color()
.theme({ background: 'transparent', font: 'white'})
.palette(['#FFF']);
And then we add some CSS:
/* The blue widget */
.trend-widget {
background-color: #0bf; // A light blue background
padding: 10px;
}
/* The placeholder div */
#trend {
width:99%;
height:140px;
background: transparent;
}
As you can see is pretty easy to do, let me know if this helped!