in reply to Re: box width in bar chart
in thread box width in bar chart

Thanks wjw,

I have already checked those examples and those are really very helpful. However it does not show usage of fixed width bar graph.

I tried to use histrograms style, since my x axis is time based, it gave error.

Regards

Priyo

Replies are listed 'Best First'.
Re^3: box width in bar chart
by zentara (Cardinal) on Feb 20, 2014 at 10:27 UTC

      While going through some more example codes, I realized 'impulses' style can be used as bar graph with appropriate width option setting. Following code is working as I wanted

      $my_dataset = Chart::Gnuplot::DataSet->new( xdata => \@dates, ydata => \@data, style => 'impulses', width => 15, linetype => 'solid', color => 'green', timefmt => '%Y-%m-%d', );