Hi Everyone,
Is there anyway we could add images in stacked bar chart? It is something close to "Call out". I'm open to explore other horizontal charts as well as if its something close to this.
Reproduce chart:
Stacked bar chart.
Bar color expression -
=Switch(Fields!Type.Value = "Road","Blue",
Fields!Type.Value = "LampPost","Red",
Fields!Type.Value = "Sewage","Yellow",
Fields!Type.Value = "ElectricLine","Lime")
![]()
![]()
Please find the sample data:
select * from
(select 'Road' as Type,1 as SequenceNo, 0
as SectionBeginFootage, 1.25
as SectionEndFootage, 1.25 as SectionLength
union select 'Sewage' as Type,2 as SequenceNo, 1.25 as SectionBeginFootage, 2.69
as SectionEndFootage, 1.44 as SectionLength
union select 'Road' as Type,3 as SequenceNo, 2.69 as SectionBeginFootage, 5.15
as SectionEndFootage, 2.46 as SectionLength
union select 'Road' as Type,4 as SequenceNo, 5.15 as SectionBeginFootage, 33.35
as SectionEndFootage, 28.2 as SectionLength
union select 'Road' as Type,5 as SequenceNo, 33.35 as SectionBeginFootage, 77.53
as SectionEndFootage, 44.18 as SectionLength
union select 'Road' as Type,6 as SequenceNo, 77.53 as SectionBeginFootage, 121.5
as SectionEndFootage, 43.97 as SectionLength
union select 'Road' as Type,7 as SequenceNo, 121.5 as SectionBeginFootage, 162.79
as SectionEndFootage, 41.29 as SectionLength
union select 'Road' as Type,8 as SequenceNo, 162.79 as SectionBeginFootage, 205.15
as SectionEndFootage, 42.36 as SectionLength
union select 'Road' as Type,9 as SequenceNo, 205.15 as SectionBeginFootage, 247.92
as SectionEndFootage, 42.77 as SectionLength
union select 'Road' as Type,10 as SequenceNo, 247.92 as SectionBeginFootage, 257.62
as SectionEndFootage, 9.7 as SectionLength
union select 'Road' as Type,11 as SequenceNo, 257.62 as SectionBeginFootage, 290.48
as SectionEndFootage, 32.86 as SectionLength
union select 'Road' as Type,12 as SequenceNo, 290.48 as SectionBeginFootage, 335.12
as SectionEndFootage, 44.64 as SectionLength
union select 'Road' as Type,13 as SequenceNo, 335.12 as SectionBeginFootage, 377.1
as SectionEndFootage, 41.98 as SectionLength
union select 'Road' as Type,14 as SequenceNo, 377.1 as SectionBeginFootage, 419.58
as SectionEndFootage, 42.48 as SectionLength
union select 'Road' as Type,15 as SequenceNo, 419.58 as SectionBeginFootage, 462.78
as SectionEndFootage, 43.2 as SectionLength
union select 'Road' as Type,16 as SequenceNo, 462.78 as SectionBeginFootage, 505.84
as SectionEndFootage, 43.06 as SectionLength
union select 'Road' as Type,17 as SequenceNo, 505.84 as SectionBeginFootage, 547.91
as SectionEndFootage, 42.07 as SectionLength
union select 'Road' as Type,18 as SequenceNo, 547.91 as SectionBeginFootage, 591.17
as SectionEndFootage, 43.26 as SectionLength
union select 'Road' as Type,19 as SequenceNo, 591.17 as SectionBeginFootage, 629.81
as SectionEndFootage, 38.64 as SectionLength
union select 'Road' as Type,20 as SequenceNo, 629.81 as SectionBeginFootage, 672.65
as SectionEndFootage, 42.84 as SectionLength
union select 'Road' as Type,21 as SequenceNo, 672.65 as SectionBeginFootage, 714.03
as SectionEndFootage, 41.38 as SectionLength
union select 'Road' as Type,22 as SequenceNo, 714.03 as SectionBeginFootage, 757.34
as SectionEndFootage, 43.31 as SectionLength
union select 'Road' as Type,23 as SequenceNo, 757.34 as SectionBeginFootage, 792.07
as SectionEndFootage, 34.73 as SectionLength
union select 'Road' as Type,24 as SequenceNo, 792.07 as SectionBeginFootage, 834.25
as SectionEndFootage, 42.18 as SectionLength
union select 'Road' as Type,25 as SequenceNo, 834.25 as SectionBeginFootage, 867.48
as SectionEndFootage, 33.23 as SectionLength
union select 'Road' as Type,26 as SequenceNo, 867.48 as SectionBeginFootage, 907.61
as SectionEndFootage, 40.13 as SectionLength
union select 'Road' as Type,27 as SequenceNo, 907.61 as SectionBeginFootage, 951.24
as SectionEndFootage, 43.63 as SectionLength
union select 'Road' as Type,28 as SequenceNo, 951.24 as SectionBeginFootage, 993.74
as SectionEndFootage, 42.5 as SectionLength
union select 'Road' as Type,29 as SequenceNo, 993.74 as SectionBeginFootage, 1038.4
as SectionEndFootage, 44.66 as SectionLength
union select 'Road' as Type,30 as SequenceNo, 1038.4 as SectionBeginFootage, 1081.92
as SectionEndFootage, 43.52 as SectionLength
union select 'Road' as Type,31 as SequenceNo, 1081.92 as SectionBeginFootage, 1127.36
as SectionEndFootage, 45.44 as SectionLength
union select 'Road' as Type,32 as SequenceNo, 1127.36 as SectionBeginFootage, 1171.09
as SectionEndFootage, 43.73 as SectionLength
union select 'Road' as Type,33 as SequenceNo, 1171.09 as SectionBeginFootage, 1213.59
as SectionEndFootage, 42.5 as SectionLength
union select 'Road' as Type,34 as SequenceNo, 1213.59 as SectionBeginFootage, 1258.09
as SectionEndFootage, 44.5 as SectionLength
union select 'Road' as Type,35 as SequenceNo, 1258.09 as SectionBeginFootage, 1302.17
as SectionEndFootage, 44.08 as SectionLength
union select 'Road' as Type,36 as SequenceNo, 1302.17 as SectionBeginFootage, 1346.83
as SectionEndFootage, 44.66 as SectionLength
union select 'Road' as Type,37 as SequenceNo, 1346.83 as SectionBeginFootage, 1388.89
as SectionEndFootage, 42.06 as SectionLength
union select 'Road' as Type,38 as SequenceNo, 1388.89 as SectionBeginFootage, 1432
as SectionEndFootage, 43.11 as SectionLength
union select 'Road' as Type,39 as SequenceNo, 1432 as SectionBeginFootage, 1473.74
as SectionEndFootage, 41.74 as SectionLength
union select 'Road' as Type,40 as SequenceNo, 1473.74 as SectionBeginFootage, 1516.1
as SectionEndFootage, 42.36 as SectionLength
union select 'Road' as Type,41 as SequenceNo, 1516.1 as SectionBeginFootage, 1559.63
as SectionEndFootage, 43.53 as SectionLength
union select 'Road' as Type,42 as SequenceNo, 1559.63 as SectionBeginFootage, 1643.04
as SectionEndFootage, 83.41 as SectionLength
union select 'Road' as Type,43 as SequenceNo, 1643.04 as SectionBeginFootage, 1646.03
as SectionEndFootage, 2.99 as SectionLength
union select 'Road' as Type,44 as SequenceNo, 1646.03 as SectionBeginFootage, 1681.58
as SectionEndFootage, 35.55 as SectionLength
union select 'Road' as Type,45 as SequenceNo, 1681.58 as SectionBeginFootage, 1721.9
as SectionEndFootage, 40.32 as SectionLength
union select 'Road' as Type,46 as SequenceNo, 1721.9 as SectionBeginFootage, 1752.55
as SectionEndFootage, 30.65 as SectionLength
union select 'Road' as Type,47 as SequenceNo, 1752.55 as SectionBeginFootage, 1764.87
as SectionEndFootage, 12.32 as SectionLength
union select 'Road' as Type,48 as SequenceNo, 1764.87 as SectionBeginFootage, 1799.48
as SectionEndFootage, 34.61 as SectionLength
union select 'Road' as Type,49 as SequenceNo, 1799.48 as SectionBeginFootage, 1805.48
as SectionEndFootage, 6 as SectionLength
union select 'Road' as Type,50 as SequenceNo, 1805.48 as SectionBeginFootage, 1819.25
as SectionEndFootage, 13.77 as SectionLength
union select 'Road' as Type,51 as SequenceNo, 1819.25 as SectionBeginFootage, 1827.73
as SectionEndFootage, 8.48 as SectionLength
union select 'Road' as Type,52 as SequenceNo, 1827.73 as SectionBeginFootage, 1838.11
as SectionEndFootage, 10.38 as SectionLength
union select 'Road' as Type,53 as SequenceNo, 1838.11 as SectionBeginFootage, 1849.14
as SectionEndFootage, 11.03 as SectionLength
union select 'Road' as Type,54 as SequenceNo, 1849.14 as SectionBeginFootage, 1859.7
as SectionEndFootage, 10.56 as SectionLength
union select 'Road' as Type,55 as SequenceNo, 1859.7 as SectionBeginFootage, 1860.34
as SectionEndFootage, 0.64 as SectionLength
union select 'ElectricLine' as Type,56 as SequenceNo,
1860.34 as SectionBeginFootage, 1862.33
as SectionEndFootage, 1.99 as SectionLength
union select 'LampPost' as Type,57 as SequenceNo, 1862.33 as SectionBeginFootage, 1864.21
as SectionEndFootage, 1.88 as SectionLength
union select 'ElectricLine' as Type,58 as SequenceNo,
1864.21 as SectionBeginFootage, 1865.17
as SectionEndFootage, 0.96 as SectionLength
union select 'Road' as Type,59 as SequenceNo, 1865.17 as SectionBeginFootage, 1876.15
as SectionEndFootage, 10.98 as SectionLength
union select 'Road' as Type,60 as SequenceNo, 1876.15 as SectionBeginFootage, 1885.78
as SectionEndFootage, 9.63 as SectionLength
) a order by SequenceNo
Thanks a lot.