1 reply [Last post]
sajinaboo
sajinaboo's picture
Offline
newbie
India
Last seen: 4 years 2 weeks ago
India
Timezone: GMT+5.5
Joined: 2015-11-16
Posts: 3
Points: 5

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>

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 16 hours 21 min ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9745
Points: 3824

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

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.