IS it possible to setup Skype call or Team Viewer to understand the logic and steps for Trendline chart.
Thanks Vishwas,
This is what I want in my chart what you are showing in jsfiddle, I am taking data from Database and my ques are,
How should I take start and end value?
How should I calculate Y=mx + b for Trendline Calculation. I only have x Value. How do I calculate m and b value.Or is there any way to calculate trend line from database value.each time data will vary, sometimes I get 5 rows, Sometimes I get 10 row for chart. in that case how do I calculate Trendline.
I have have some code but I can’t paste here as it is long. How do I show you my code. In jsfiddle it will not work because databae is not there. Please help.
Regards
Thank you for your prompt response and proper explanation.
I need Trend Line chart by this calculation. Please check link below
based on this link i want to create chart. Number will be random sometimes will get 4 no of rows for data sometime will get 5 nos of rows of data based on date parameter in query.
https://classroom.synonym.com/calculate-trendline-2709.html
how do I create Trend line chart by using above formula. Please help me. I wil take data from Database.
Regards
Thank you for your prompt response and proper explanation.
I need Trend Line chart by this calculation. Please check link below
based on this link i want to create chart. Number will be random sometimes will get 4 nos sometime will get 5 no. based on date parameter in query.
https://classroom.synonym.com/calculate-trendline-2709.html
how do I create Trend line chart by using above formula. Please help me. I wil take data from Database.
Regards
yValue += Math.round(Math.random() * 10 – 5);
What is 10 and 5 here. On what basis we take 10 and 5. Are they constant values? in any chart we are going to take 10 , 5 or it depends on X and Y value. Please explain this also.
One More Question: yValue += Math.round(Math.random() * 10 – 5); What is 10 and 5 here? What we are doing in this formula. Sorry I am new to this.
Thanks Vishwas,
This is what I want in my chart what you are showing in jsfiddle, I am taking data from Database and my ques are,
How should I take start and end value?
How should I calculate Y=mx + b for Trendline Calculation. I only have x Value. How do I calculate m and b value.Or is there any way to calculate trend line from database value.each time data will vary, sometimes I get 5 rows, Sometimes I get 10 row for chart. in that case how do I calculate Trendline.
I have have some code but I can’t paste here as it is long. How do I show you my code. In jsfiddle it will not work because databae is not there. Please help.
Regards
Dear Vishwas R,
Thank you for response, I am new to CanvasJS and I need Trendline Chart in my existing chart.
Chart should look like the link given below Trendline only.
http://www.jqchart.com/jquery/chart/ChartTypes/TrendlineChart
Please advise how to do this.
How to make Trendline chart (Straight Line) in CanvasJS?
I have column chart with moving average? Is it possible to add another line with column without affecting moving average.
I need bar and line on same chart, multiple point
How can we display exact decimal in Moving Average Calculation. Currently it is showing either .50 or 1. How can I show exact calculation like 1.82 if my calculation is 1.82 in moving average Tool Tip.
Also, How can I set left hand side Label point starting 0, 0.2, 0.4,0.6,0.8,1.0,1.2 etc. Normally it comes automatically but is there way to set it by code.
Please help
How can we display exact decimal in Moving Average Calculation. Currently it is showing either .50 or 1. How can I show exact calculation like 1.82 if my calculation is 1.82 in moving average label.
Also, How can I set left hand side point starting 0, 0.2, 0.4,0.6,0.8,1.0,1.2 etc. Normally it comes automatically but is there way to set it by code.
Please help
Thank you so much.
Can’t we have two dataset and two moving average for each data? I need two lines for two different data but I dont know how to get data for that line?