Just represent given array data as barcode linear image
Data example:
array(
        ‘0’ => array(‘val’ => ‘2000’, ‘count’ => ‘7’),
        ‘1’ => array(‘val’ => ‘2700’, ‘count’ => ‘8’),
        ‘2’ => array(‘val’ => ‘2650’, ‘count’ => ‘3’),
        ‘3’ => array(‘val’ => ‘2600’),
        ...
)