Thu, 2015-11-19 07:01
I am using asp:chart for chart view... I am binding the chart values from a datalist based on onCommand of the datalist... The design is basic HTML with CSS styling... I have already made all other parts of the page responsive... Only the chart view remains the same. If you want I cant post a piece of the code that is used for chart view... I tried downloading Chart.js plugin but I can't find a legitimate source...
<asp:updatepanel id="UpdatePanel1" runat="server" updatemode="Conditional" xmlns:asp="#unknown"> <contenttemplate> <table style="margin-removed auto; margin-removed auto"> <tr> <td> <div> <asp:chart id="ZoneSalesChart" runat="server" imagestoragemode="UseImageLocation" ImageLocation="~//images/Zone1_#SEQ(30,3)" ImageType="Png" Width="950px" BackHatchStyle="None"> <series> <asp:series name="Series1"> </asp:series> </series> <chartareas> <asp:chartarea name="ChartArea1" backcolor="Transparent"> <axisx> </axisx> </asp:chartarea> </chartareas> </asp:chart> </td> </tr> </table> </contenttemplate> <triggers> <asp:asyncpostbacktrigger controlid="dlstZone" eventname="ItemCommand" /> <asp:asyncpostbacktrigger controlid="lbtnZone" eventname="Click" /> <asp:asyncpostbacktrigger controlid="SalesTickerTimer" eventname="Tick" /> </triggers> </asp:updatepanel>
Thu, 2015-11-19 07:34
#1
client side html + css
We need to see the client side code, not the server asp code. A link to the page will be especially helpful.
Be aware that a table is not naturally a responsive structure. Its rules require that it may not be smaller than necessary to render the whole structure and each element's content.
cheers,
gary