Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to make a dynamic chart in asp.net responsive

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #235017
    sajinaboo
    Participant

    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>
    
Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.