question

GaniTPT avatar image
0 Votes"
GaniTPT asked AgaveJoe edited

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

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




dotnet-aspnet-webforms
image.png (8.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LanHuang-MSFT avatar image
0 Votes"
LanHuang-MSFT answered GaniTPT commented

Hi @GaniTPT,
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.jpg (99.7 KiB)
2.jpg (110.1 KiB)
4.jpg (161.7 KiB)
· 16
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Your reply is awesome.

Can you pls. confirm "Syncfusion" is a open source or paid tool/package..?

Because we are looking open source control (free version) only...

pls. help..

0 Votes 0 ·

Hi @LanHuang-MSFT

Can you pls. update the license or open source details...

0 Votes 0 ·

Hi @GaniTPT,
Maybe you can try WebControl. You can check my answer for details.
Best regards,
Lan Huang

0 Votes 0 ·
Show more comments
AgaveJoe avatar image
0 Votes"
AgaveJoe answered AgaveJoe edited

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


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

we couldn't find exact asp.net chart control for TrendLine.

Can i have any sample source code for asp.net Trend Line chart..?

We are struggling...

0 Votes 0 ·

I don't know if the asp.net chart control has the features you are looking for. Frankly, you've been working with the chart control for a few days now. You should have a very good idea how the control works and if the chart control meets your requirements.

Perhaps it is time to find a different chart library?

0 Votes 0 ·