Home › Forums › Chart Support › Line chart with bar chart › Reply To: Line chart with bar 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