Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Java
 QCSPCChart SPC for Java
 QCSPCChart Javascript Chart UI
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

samatqcc

Canada
2 Posts

Posted - 03 Nov 2016 :  09:23:57  Show Profile  Reply with Quote
Hi,
We are using the licensed QCSPCChart JavaScript Library in one of our projects and need to do the following:

1. Hide the grid lines on the Chart
2. Hide the minor tick marks on the X & Y axis
3. Change the display format of time in chart & data table to date & time

Can someone help me out on this..

Regards
Sameer

Edited by - samatqcc on 03 Nov 2016 09:30:31

quinncurtis

1534 Posts

Posted - 03 Nov 2016 :  11:10:20  Show Profile  Reply with Quote
Sorry, but there are no options in the software to remove the grid lines or the minor tick marks. Exactly what are you objections these items?

You can change the time display in the table to any format you want using the TableSetup | ChartData | CustomTimeFormatString property.

"TableSetup": {
	  "HeaderStringsLevel": "HEADER_STRINGS_LEVEL2",
        "TableAlarmEmphasisMode": "ALARM_HIGHLIGHT_BAR",
	  "ChartAlarmEmphasisMode": "ALARM_HIGHLIGHT_SYMBOL",
	  "ChartData": {
	     "CustomTimeFormatString": "H:mm d/M/yy",


The format string follows standard Java date/time formatting rules. Here are some examples

"CustomTimeFormatString": "H:mm d/M/yy"
"CustomTimeFormatString": "H:mm:ss d/M/yy"
"CustomTimeFormatString": "H:mm M/dd/yy"

Using a much wider date/time formatting string may cause the date/time items in the data table to overlap. You may have to reduce the number of points you show in the chart at a time (NumDatapointsInView property) to prevent this.

Time format of the time axis labels in a TimeVariableControlChart can be customized in a similar manner using the PrimaryChartSetup | XAxisLabels | CustomFormatString.

"PrimaryChartSetup": {
    "XAxisLabels": {
          "CustomFormatString": "H:mm d/M/yy"
     },


Note that the "CustomFormatString" property above does not have "Time" in it as the TableSetup | ChartData | CustomTimeFormatString version does.
Go to Top of Page

samatqcc

Canada
2 Posts

Posted - 03 Nov 2016 :  16:24:22  Show Profile  Reply with Quote
Hi,
Thank you for the response.
Regarding the grid lines, we would like to have the chart background plain without the grid lines. The minor tick marks would be fine I think.

Regards
Sameer
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07