Click here to Skip to main content
15,867,835 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am trying to add a heatmap image beside the chart, which is as shown below. I want the heatmap image to be directly beside the chart. Has tried to set the chart height and image height to be the same but it does not work. Chart is generated dynamically out onto the tab panel. (See here: http://i.stack.imgur.com/aEPTz.png[^])

Question: How to make sure chart height is aligned with the heatmap image height? In short, how to make them side by side each other? Appreciate if someone can provide me help on this, thanks a lot!!

Regards,
Felicia
Posted
Updated 29-Sep-15 21:44pm
v2

1 solution

You can just set the display to inline-block for them like:

C#
#chart { display: inline-block; }
#heatmap { display: inline-block; }


where chart & heatmap are ids of the chart & heatmap controls respectively.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900