Java Reference
In-Depth Information
barCreator
:function(
series:Series,
ImageView
{
image:Image{
url:"{__DIR__}nokia.png"
width:barWidth
}
}
}
}
...
}
The function assigned to
barCreator
is invoked for each data element in the series as the
chart is rendered. In this version of the code, the function returns an instance of
ImageView
.
The chart renders an image of a phone instead of the standard bar in the chart, as shown in
the following figure:


