Hello Vishwas R ,
In view we are giving static time intervel.In my requirement i want to give time intervel from database.
I have tried a lot but didn’t get a solution. could you please help me.
Example in database i have created a table for time intervel in that i am going to assign time intervels like this
Graph1-10000sec
Graph2-20000sec
Thanks & Regards
Mahesh Reddy
Hello Vishwas R ,
time refresh is working fine only of both data types are int.
But Here my data types are one is string another is int.
could you plase share some live example which cab be working fine in all instances
in my database i have 2 fileds
x y
string1 100
string2 50
Thanks & Regards
Mahesh Reddy
Hello,
I have tried your example again there should be some bugs
If i try to change the any value on database which i have already created is not updating on graph and in the same way delete also not working
For example in database we have 2 columns x and y
x y
1 10
2 20
If i need change
x y
1 20
2 30
In the same way delete also
x y
1 20
If i can delete row 2
In these both scenarios graph is not updating.
let me know the reason why this was not updating
Hello Vishwas R,
In my project it was not displaying any values on graph
I have 2 columns on my table names as stock on x-axis and head in y-axis and name of the table name as db.kpi
Let me know why it was not displaying any data
Thanks and regards,
mahesh
Hello Priyanka M S,
Could please share some sample project in which we are going to refresh the chart with in a some particular time duration using Asp.net mvc and sql
Please provide some sample database which is working fine.
https://drive.google.com/open?id=1pObxzHUL7AyOif5bT61Cnc5t7iS3n7sN
Please be go through above link for database
https://drive.google.com/open?id=1o2Q5kd10eJO4kbgazbz8CuWe5HAywEws
Please refer this link for sample project which i have tried
https://drive.google.com/open?id=1o2Q5kd10eJO4kbgazbz8CuWe5HAywEws
Please refer above link for sample project which i have tried and try to find a solution
Below is the sample data which i have created on database
https://drive.google.com/open?id=1y8gIsYpOhcU0-P3aCONvCu7L8jtIaAa7
Sure madam,
may i know how to share my project to you. I don’t know how to share
If you need i can send my entire code and sample data
Hi mam,
graphs are not refreshing automatically with in a particular time duration if i try to update the data on database using asp.net mvc
Thanks for your replay.
If you don’t mind could you please share me sample code in MVC
Thanking you
Thanks & regards
Mahesh
i need dynamic time refresh for example in database(sql) i have assign time interval (5000). Instead of giving time interval in html better to fetching from database
var update Interval =5000;(html)(static)
here i put 5000 as time interval i want time interval from database
i want to fetch time duration in SQL database
Tell me any idea for dynamic refresh time instead of static
Thanks & regards
mahesh
Thanks’s for your replay.
I have 1 view and want to give time intervel from database(Sql) dynamically not static
I have gave some particular time duration(5000) in database based upon that it should be updating the graph
Could you please help me?
I am using SQL and Asp.Net MVC
Thanks & regards
Mahesh
Thanks for sending sample code
right now my problem has been resloved .
i have one more doubt how to remove water marks(trail vesion,canvas.com) from chart could you please help me?
Thanks & regards
Mahesh