Quite a few improvements have been made to Flexicharts. The most obvious one is that there’s a “chart creator” button, which, when clicked, shows a simple interface that allows custom charts to be created with a few mouse clicks and no typing.
This chart creator isn’t able to create a lot of charts that can be entered directly as commands, but it makes it possible to build some charts with a quick and simple interface.
There are a lot more changes to Flexicharts beyond the chart creator.
The colour of points can be based on data by specifying
color as an axis.
chart().pwc170(0.5, 'y').epower_curve(1200, 'x').day_lts('color').color('blue-gold').x_axis(160, 360).y_axis(190, 420)
There are five built-in colour scales:
yellow-purple (which is used by default),
blue-gold (used above), and
Segments can be used with Flexicharts. The segment must first be selected with
segment(name), and this allows access to segment summary data, plus access to the usual ride summary data for the ride that it was part of. For example:
day_sb provide access to the long term stress, short term stress, and stress balance from the day of a ride.
aggregate(min) preserve the summary data of the ride found, making it possible to find, for example, the longest ride in each month and making a table with links to each ride. There are also new
min(n) commands for
aggregate, which find multiple highest or lowest rides of whatever data you’re looking at. With this, it’s possible to do things like chart the average of the top five twenty minute efforts according to effective power:
There are also some new helper commands for setting the name, colour and axis limits.
The Flexicharts documentation has been updated with all the new details. All existing charts should work the same as before. Some of the default charts in the chart library have been slightly changed.
This is the blog of Cycling Analytics, a website that exists to help people analyse their rides and manage their training. You might be interested in following via Facebook or Twitter. Also, I'm on Twitter as @cyclist_dave.