Search found 71 matches
- Thu May 05, 2016 3:16 am
- Forum: JavaScript / HTML5
- Topic: Round the decimal value problem
- Replies: 2
- Views: 7995
Re: Round the decimal value problem
Thanks. It is working now as expected.
- Wed May 04, 2016 3:02 pm
- Forum: JavaScript / HTML5
- Topic: Customize Legend Symbols
- Replies: 7
- Views: 16166
Re: Customize Legend Symbols
Hello,
Can you please share some sample code for the legend symbol customization? We are unable to find any sample code this customization.
Thanks!
Can you please share some sample code for the legend symbol customization? We are unable to find any sample code this customization.
Thanks!
- Wed May 04, 2016 11:32 am
- Forum: JavaScript / HTML5
- Topic: Round the decimal value problem
- Replies: 2
- Views: 7995
Round the decimal value problem
If we pass the decimal value to the series, the same value should be displayed in the legend and the segment of pie chart. Instead it displays like 5.30,3.50,2.50,7.50,1.70 . It seems the value "0" is appended to each value of series array. function draw() { Chart1=new Tee.Chart("canvas"); Chart1.ad...
- Wed May 04, 2016 11:22 am
- Forum: JavaScript / HTML5
- Topic: Save chart to image - background color issue
- Replies: 3
- Views: 9265
Re: Save chart to image - background color issue
We have fixed this issue now. We have called a method "beforeDraw()" before tooltip functionality. Earlier the "beforeDraw()" method is called after Tooltip functionality.
Thanks.
Thanks.
- Tue May 03, 2016 11:28 am
- Forum: JavaScript / HTML5
- Topic: Save chart to image - background color issue
- Replies: 3
- Views: 9265
Save chart to image - background color issue
I used the below line to save generated chart to image. I was able to generate a chart success, but applied background color and format is not displayed with series in the image. Please refer the attached screenshot. Chart1.toImage('pngimage', 'image/png'); Below is the code that we used to apply th...
- Mon May 02, 2016 11:25 am
- Forum: JavaScript / HTML5
- Topic: Resize chart for mobile view
- Replies: 1
- Views: 6721
Resize chart for mobile view
The legend is not resized along with the canvas when we access the chart for mobile devices. Below function is used to resize the chart and legend. function resize(chart) { if (!chart) return; var canvas = chart.canvas; startWidth = 500; startHeight = 600; var w = startWidth; var h = startHeight; if...
- Sat Apr 30, 2016 10:29 am
- Forum: JavaScript / HTML5
- Topic: X-Axis DateTime format Customize issue
- Replies: 12
- Views: 24879
Re: X-Axis DateTime format Customize issue
Thanks for your suggestion. We have tried with the custom label option for the x axis values. Actually, we need to plot the graph for 12:30 AM,1:30 AM,2:30 AM......., 11:30 PM and the x axis label should display as 12:00 AM,4:00 AM, 8:00 AM....12:00 AM . But, when we used the custom label, the graph...
- Thu Apr 28, 2016 9:02 am
- Forum: JavaScript / HTML5
- Topic: X-Axis Time zone issue
- Replies: 2
- Views: 9540
Re: X-Axis Time zone issue
Please refer the attachment for the time zone issue.
- Thu Apr 28, 2016 9:00 am
- Forum: JavaScript / HTML5
- Topic: X-Axis Time zone issue
- Replies: 2
- Views: 9540
X-Axis Time zone issue
Hello, We are facing problem with the x-axis date time increment value. When the x axes increment time value is less than or equal to 1 hour the time value same for all the time zones. Below is the example code for the increment value(<=1 hour), var Chart1; function draw() { Chart1 = new Tee.Chart("...
- Wed Apr 27, 2016 10:33 am
- Forum: JavaScript / HTML5
- Topic: X-Axis DateTime format Customize issue
- Replies: 12
- Views: 24879
Re: X-Axis DateTime format Customize issue
We tried to resolve timezone issue of x-axis value but still facing the same issue. Let me explain with example for better understanding We have data which populates within 5 minutes like [2016-03-23 10:10:12.000,2016-03-23 17:18:12.000,2016-03-23 17:23:12.000 , .......... ,2016-04-24 00:53:12.000] ...
- Thu Apr 21, 2016 10:58 pm
- Forum: JavaScript / HTML5
- Topic: Save a chart to physical path
- Replies: 1
- Views: 6442
Save a chart to physical path
I am able to create an image from generated chart using the below method.But I want to save the same image to physical location of the server path. Chart1.draw(); Chart1.toImage('pngimage', 'image/png'); Chart1.toImage('jpgimage', 'image/jpeg'); How I can save the same image to server/any physical l...
- Thu Apr 21, 2016 10:34 am
- Forum: JavaScript / HTML5
- Topic: X-Axis DateTime format Customize issue
- Replies: 12
- Views: 24879
Re: X-Axis DateTime format Customize issue
In addition to my previous reply, how to customize the time zone for X-axis? I am in IST time zone and by default it's displaying "5:30 AM".
- Thu Apr 21, 2016 10:31 am
- Forum: JavaScript / HTML5
- Topic: Generate bar chart based on Min and Max value
- Replies: 11
- Views: 20675
Re: Generate bar chart based on Min and Max value
Hello,
Can you please share the modified Teechart.js script file to accept array for Origin? If you share the updated script file that would be better for us. Actually, we are expecting to pass the array value to the Origin.
Thanks!
Can you please share the modified Teechart.js script file to accept array for Origin? If you share the updated script file that would be better for us. Actually, we are expecting to pass the array value to the Origin.
Thanks!
- Wed Apr 20, 2016 11:20 am
- Forum: JavaScript / HTML5
- Topic: Generate bar chart based on Min and Max value
- Replies: 11
- Views: 20675
Re: Generate bar chart based on Min and Max value
Hello,
As per your attached image, bar and point is not plotted to correct position even I have used the same x-axis value for both.
As per your attached image, bar and point is not plotted to correct position even I have used the same x-axis value for both.
- Wed Apr 20, 2016 11:17 am
- Forum: JavaScript / HTML5
- Topic: X-Axis DateTime format Customize issue
- Replies: 12
- Views: 24879
Re: X-Axis DateTime format Customize issue
Thanks for the response. The x-axis should start from 12:00 AM with 6h increment. I have used the below code to achieve that. But, by default it is showing as "5:30 AM, 11:30 AM etc.". Please refer the attached image. Chart1.axes.bottom.setMinMax(new Date(2000, 1, 1, 0, 0, 0).getTime(), new Date(200...