How to make Trend Plot line chart in modal pop up in ASP.NET

BeUnique 2,332 Reputation points
2022-03-01T06:40:16.62+00:00

I have some data and i want to make some chart.

My client asking Trend Plot line chart in modal pop up window.

How to make Trend Plot line chart in modal pop up in ASP.NET. How to do this...

This is (Trend plot Chart) very important for my client. pls. provide sample chart with asp.net

Example chart is below.

178743-image.png

Developer technologies | ASP.NET | Other
0 comments No comments
{count} votes

Accepted answer
  1. Lan Huang-MSFT 30,191 Reputation points Microsoft External Staff
    2022-03-01T10:02:12.863+00:00

    Hi @BeUnique ,
    Maybe you can try WebControl's free chart control for ASP.NET.
    First, you need to download the WebControl.dll file (the dll file cannot be uploaded, it is recommended to download it from Google)
    Then add the WebChart control to the toolbox and select the options menu "View -> Toolbox".
    Right click on it and select the option Customize Toolbox.
    Once in the Customize Toolbox dialog, select the .NET Framework Components tab. Click the Browse button.
    179193-1.jpg179108-2.jpg
    Then just drag a chart control, you can refer to the example below

    <Web:ChartControl id="Chart1" runat="server" BorderWidth="5px" BorderStyle="Outset" HasChartLegend="False" Padding="20"  ChartPadding="60" TopPadding="15" Height="551px" Width="827px" XValuesInterval="10">  
     <YTitle ForeColor="White" StringFormat="Center,Near,Character,DirectionVertical" Text="Units" Font="Tahoma, 8pt, style=Bold"></YTitle>  
     <ChartTitle ForeColor="DeepSkyBlue" StringFormat="Near,Near,Character,LineLimit" Text="This is a ScatterChart Test" Font="Verdana, 10pt, style=Bold"></ChartTitle>  
     <XTitle ForeColor="White" StringFormat="Center,Near,Character,NoWrap" Text="Date" Font="Tahoma, 8pt, style=Bold"></XTitle>  
     <Background Type="LinearGradient" StartPoint="0, 0" ForeColor="SteelBlue" EndPoint="800, 500" Color="Gray" HatchStyle="DiagonalBrick"></Background>  
     <Border EndCap="Flat" DashStyle="Solid" StartCap="Flat" Color="51, 102, 102" Width="2" LineJoin="Miter"></Border>  
     <PlotBackground Type="Solid" StartPoint="0, 0" ForeColor="White" EndPoint="100, 100" Color="White" HatchStyle="Shingle"></PlotBackground>  
     <YAxisFont ForeColor="115, 138, 156" StringFormat="Far,Near,Character,LineLimit" Font="Tahoma, 8pt, style=Bold"></YAxisFont>  
     <XAxisFont ForeColor="115, 138, 156" StringFormat="Near,Center,None,DirectionVertical" Font="Tahoma, 8pt, style=Bold"></XAxisFont>  
     <Legend Width="100" Font="Tahoma, 8pt">  
     <Border EndCap="Flat" DashStyle="Solid" StartCap="Flat" Color="Black" Width="0" LineJoin="Miter"></Border>  
     <Background Type="Solid" StartPoint="0, 0" ForeColor="Black" EndPoint="100, 100" Color="White" HatchStyle="Shingle"></Background>  
     </Legend>  
     </Web:ChartControl>  
    

    179222-4.jpg

    Best regards,
    Lan Huang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. AgaveJoe 30,126 Reputation points
    2022-03-02T12:09:35.33+00:00

    GaniTPT, do an Internet search to find a Chart library that suits your needs.

    https://www.google.com/search?q=Trend+plot+Chart+JavaScript
    https://www.google.com/search?q=Trend+plot+Chart+asp.net


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.