There might be better options but I would use a stacked bar chart and hide
the first data entry to get the offsets correct.
Consider the data to be in 1 column, e.g.
A1 : Ethanol from sugar cane (Brazil)
A2 : 3.0 <= open value
A3 : 0.8 <= difference between open and close value
B1 : Ethanol from corn (US)
B2 : 4.1
B3 : 2.7
Then just generate a stacked bar chart. You should get 2 items per series.
If you format the first item to have no border and no fill color, your chart
should look the way you want.
The following macro formats does the hiding automatically. You might have to
adjust the range in your case of course:
====================================
Sub OpenCloseChart()
' Create the chart and add the data.
ActiveSheet.Shapes.AddChart.Select
ActiveChart.SetSourceData Source:=Range("'Sheet1'!$A$1:$B$3")
ActiveChart.ChartType = xlBarStacked
' Hide the first series.
ActiveChart.SeriesCollection(1).Select
Selection.Border.ColorIndex = xlColorIndexNone
Selection.Interior.ColorIndex = xlColorIndexNone
' Hide the legend
ActiveChart.SetElement (msoElementLegendNone)
' Set the X axis scale.
ActiveChart.Axes(xlValue).Select
ActiveChart.Axes(xlValue).MinimumScale = 0
ActiveChart.Axes(xlValue).MajorUnit = 1
End Sub
====================================
Yves
"Dream" <(E-Mail Removed)> wrote in message
news:746F6487-138D-4131-A4DB-(E-Mail Removed)...
> Greetings,
>
> I am trying to create a chart similar to the one available at the
> following
> link:
>
> http://earthtrends.wri.org/images/et...cost_small.jpg
>
> It shows on the Y-axis different items. On the X-axis, the price in USD
> 0..1...2...3...4...5...6...7...and so on.
>
> Than, for each product I need to plot its range of prices. For example,
> for
> item 1, its price ranges from 3 to 5 dollar. so it should be a horizontal
> line or bar extending from 3 to 5.
>
> Could you please explain to me how to do it? By the way, Any idea what
> these
> types of charts are called?
>
> Thanks in advance,
>