Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 QCSPCChart for Javascript
 QCSPCChart for Javascript
 Setting the scrollbar to a specified index value

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
martintijmes Posted - 24 Jul 2018 : 05:32:56
Hi, I am trying to set the scrollbar at a specific index value when loading the chart, but can't get it to work.

I am using QCSPCChart+ 3.6.

For example, I have updated the chartdefExampleScripts.js like this for the TimeXBarR chart:
"Scrollbar": {
"EnableScrollBar": true,
"ScrollbarValue": 5
}

But the scrollbar keeps index 0 at load. Please help.

I assume that the index refers to the BatchCount in the SampleData.SampleIntervalRecords. Is that correct?
4   L A T E S T    R E P L I E S    (Newest First)
martintijmes Posted - 31 Jul 2018 : 11:55:56
Works fine now. Thank you.
quinncurtis Posted - 25 Jul 2018 : 09:05:19
We updated the library with the fix for the ScrollbarValue property, and you should be able to download it using your original download link. Make sure the old qcspcchartgwt folder (Quinn-Curtis\GWTJavascript\QCSPCChartGWTWar\qcspcchartgwt) is deleted before you unzip and overwrite or copy over the new one. The contents of that folder are what that you need to change to bring in the new library.

Set the value using the following script:

	    "Scrollbar": {
	      "EnableScrollBar": true,
	      "ScrollbarPosition": "SCROLLBAR_POSITION_UNCHANGED",
	       "ScrollbarValue": 5				
   }


Let us know the results. Thank you for reporting this bug.
martintijmes Posted - 24 Jul 2018 : 10:11:10
Ok, thank you. Please keep me updated.
quinncurtis Posted - 24 Jul 2018 : 09:42:06
The following script should work,

	    "Scrollbar": {
	      "EnableScrollBar": true,
	      "ScrollbarPosition": "SCROLLBAR_POSITION_UNCHANGED",
	       "ScrollbarValue": 5				
   }


but doesn't. Looks like a bug introduced in the transition from 3.5 to 3.6. We will have to investigate and provide a fix.
Yes, the ScrollbarValue is the batch index.

Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07