infinum/flutter-charts

Add an image/images using Stack?

roly151 opened this issue · 1 comments

I'm relatively inexperienced, so not sure if this is possible - but I would like to add some images to the bottom of the candle chart I have created. I thought I would be able to use Stack and Positioned widgets to add them. However putting my chart widget into a Stack breaks the chart. Here are the images that show what happens when I add a Stack only. Is this possible to do?

Container(
      child:  rangeChart(context),
),

Screen Shot 2021-11-01 at 10 46 49 pm

Container(
         child: Stack(
                children: <Widget>[
                      rangeChart(context),
                 ]
         )
),

Screen Shot 2021-11-01 at 10 45 28 pm

I added a container around my chart widget and set the height and with of the container to solve my problem.