Skip to content

Commit

Permalink
Add an example of vertical histogram in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
XVilka committed Jan 28, 2023
1 parent 2133313 commit ec37224
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions librz/cons/histogram.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,14 @@ static void histogram_block(RZ_NONNULL RzHistogramOptions *opts, RZ_NONNULL RzSt
/**
* \brief Create the string buffer with the vertical histogram
*
* │████████████████████████████████████████████████
* │███
* │████████████████████████████████████████████
* │█████████████████████
* │███████████████████████████████████████████████
* │█████████████
* │██████████████
*
* \param opts Histogram options: color, style, legend and cursor position
* \param data A buffer with the numerical data in the format of one byte per value
* \param width Width of the histogram
Expand Down

0 comments on commit ec37224

Please sign in to comment.