Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default generate chart with excel

I have a realtime data in a cell, how to create a line graph agains
time automatically

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 126
Default generate chart with excel

Do you mean like one of the examples on the Dynamic Charts page of my
web site?

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Multi-disciplinary business expertise
+ Technology skills
= Optimal solution to your business problem
Recipient Microsoft MVP award 2000-2004

In article , netjerk
says...
I have a realtime data in a cell, how to create a line graph against
time automatically?


---
Message posted from http://www.ExcelForum.com/


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default generate chart with excel

I have a cell getting updated data from PLC. I need to compile thos
data into a line graph against time. Eg. the data fluctuate from 10 t
15 in an hour. I need to have the line graph showing the value at th
interval of every 5 minutes. So that I can see at which time the dat
is the max and min from the graph

--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,071
Default generate chart with excel

Adapt the untested code below. It assumes the incoming data will be in
A1, and puts them in column B. Note that there is no protection
against column B overflowing.

Now, apply the idea on the Dynamic Charts page of my web site to the
contents of column B.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article , netjerk
says...
I have a cell getting updated data from PLC. I need to compile those
data into a line graph against time. Eg. the data fluctuate from 10 to
15 in an hour. I need to have the line graph showing the value at the
interval of every 5 minutes. So that I can see at which time the data
is the max and min from the graph.


---
Message posted from http://www.ExcelForum.com/


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,071
Default generate chart with excel

And the promised code...

Option Explicit

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count 1 Then Exit Sub
If Target.Cells.Address < "$A$1" Then Exit Sub
If IsEmpty(Cells(1, 2).Value) Then
Cells(1, 2).Value = Target.Value
Else
Cells(Rows.Count, 2).End(xlUp).Offset(1, 0).Value = _
Target.Value
End If
End Sub

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article , netjerk
says...
I have a cell getting updated data from PLC. I need to compile those
data into a line graph against time. Eg. the data fluctuate from 10 to
15 in an hour. I need to have the line graph showing the value at the
interval of every 5 minutes. So that I can see at which time the data
is the max and min from the graph.


---
Message posted from http://www.ExcelForum.com/




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to generate some random numbers for chart demo in Excel? helen Excel Discussion (Misc queries) 5 January 26th 09 07:34 PM
Can we generate excel chart with out opening the excel instance.? ramkumar_cpt Charts and Charting in Excel 0 March 29th 06 11:46 AM
Can I generate the excel chart with out opening the excel instance? ramkumar_cpt Charts and Charting in Excel 1 March 1st 06 05:22 PM
generate a chart in asp.net Denny Charts and Charting in Excel 0 February 10th 06 07:44 AM
How do we generate Candlestick chart using Microsoft Excel? silver23 Charts and Charting in Excel 0 April 30th 05 11:32 PM


All times are GMT +1. The time now is 06:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"