in reply to box width in bar chart

Have you taken a look at this Example Gallery?

Have not worked with this module, but the code examples and plots look like they might give you some ideas...

Hope that is helpful...

...the majority is always wrong, and always the last to know about it...
Insanity: Doing the same thing over and over again and expecting different results.

Replies are listed 'Best First'.
Re^2: box width in bar chart
by priyo (Novice) on Feb 20, 2014 at 06:47 UTC

    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

        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', );