Summary | This article gives you access to the Grid adc 2.0 Javascript control. You also got access to a live example, qex file example and details of the parameters available for this control. |
Applies to | askiadesign |
Written for | Scriptwriters and survey authors |
Keywords | adc; adc2; javascript; control; design; askiadesign |
- To access to the live survey, click on the picture above.
- To download the qex file (inside the example directory), click here
- Version of the adc: 2.0.2
This control is compatible with a numerical double loop question (response block).
This is a nice one.
Just two questions:
1) how can I hide the axis?
2) Is it possible to show the response text in the start area, but hide it in the drop area? (and perhaps show it as a tooltip?)
Hi Steven, It's HTML CSS and Javascript so if you look the developers tools of your browser and isolate the axis, you can see, it's the class crosshair so you can add a style like this i think:
.crosshair {
display: none;
}
To hide the responsetext, you have a data-ontarget= true or false depending if it's in the grid or not so you can certainly do it using a piece of javascript to check this attribute and apply a class
In the same way you can certainly read the response text to show a tooltip
Best Regards
Of course...
I feel embarrassed for asking this question :-)
Thanks
Looks like in updated version of the Grid, there is no option to make the axis invisible or to change it's color. Also even if the origin of the grid changes to bottom-left, the axis still remains middle of the Grid.