I´m using fusion chart, and i need to use external legend like a checkbox.
How can i enabled or disable options of my chart, from the checkbox ?
Thanks for your answer.
You can use the FusionCharts JavaScript class to update the data on event strike.
For more information on updating the chart, visit-
http://docs.fusioncharts.com/charts/contents/JavaScript/JS_ChangeData.html#update
The attribute 'visible' of the element can be used for this purpose to show and to hide the data plot.
Related
We're developing a custom control (to make our lives easier), which included a customs (external) grid control and some default buttons and text. The grid control has the option to add columns by clicking the small arrow on the top right of the grid in designer, like shown in the picture.
We want to keep this option when putting our new custom control on a (win)form. Is there any way we can achieve this?
I've already looked into the 'verbs' and I can add my own custom verbs to the new control, but I'm not sure the arrow is a verb (as it does not show the option on the bottom of the properties). I also haven't been able to find how to use the verbs from the grid control.
Thank you very much!
I've found the solution to my problem.
I thought the way to add columns was a custom control when in reality, it was a default CollectionEditor. This, in combination with Smart Tag, solved my problem.
What is recommended approach to display a Dropdown in CommandBar?
There is no build-in support to display a dropdown in CommandBar. I know two ways to work around that.
Label + Dropdown. It's the simplest implementation but I have to take care of for/aria-labelledby attribute, maybe ms-Dropdown-label class. I don't feel it logically correct as we treat label and dropdown separately from component view. That's why I tried the second approach below.
Dropdown + styles. We can get label associated with a dropdown for free. The problem is the layout. Default display for dropdown is 'block' and I have to adjust that as well as padding, default font size etc.
Is there an easy way to achieve it? Or does office-ui-fabric have plan to support dropdown in CommandBar. I feel it a common UI everywhere.
You might look at the Office single line ribbon for inspiration. They use the same overflow sets and resize groups as the command bar, and extensively use dropdowns and comboboxes.
I'd probably suggest label + dropdown so that you have a nice encapsolated control you can render inside of the command bar.
I need to create a filter between some buttons named and a histogram, so for example when I click on "Mois" the histogram will change automatically to show us the Months.
Not sure to understand your question. Each widgets has a set of events that can be generated (Event tab, 'on Row Click', 'on Cell Click ...).
Once the event has been defined with a name, 'histogram-click', in can be used mainly everywhere with #{eventName!defaultValue}. This will be replaced by icCube once the event changes. Check here for a little more documentation.
Also, in Configuration/Report Javascript you can add some code that is called on event generation for more dynamic behavior (e.g. using jquery to change the page).
hope it helps
I am creating simple application in NI LabVIEW - Lissajous Curves from signal generated by NI Elvis.
I have already added Osciloscope control and connected it to the XYGRaph. But I would also like to have some values that could be changed. I would like to have options to set values like in this image:
How can I Add them to my project?
Thanks in advance
The two highlighted controls look like 'Dial' controls which can be found on the 'Numeric' palette on the 'Modern' control palette (also in 'Classic' and 'Silver' depending on you LabVIEW version).
Looking at the Vertical Position control this has the numeric indicator visible which can be show by right clicking on the dial, and from the menu move across 'Visible Items' and select 'Digital Display'.
The Scale Volts dial looks to have some kind of drop down menu which I guess would have pre-set values. You could use an enumerated data type for this and code you user interface event structure to sync these two. Your user interface event structure could also update the properties of the graph (use a Property Node from the 'Application Control' Pallet of the 'Programming' section of the Block Diagram 'Functions Pallet') to change the displayed range (Scale Volts).
Have you looked at the example code from the image block diagram?
The two highlighted boxes are known as Knob controls. There are a variety of controls for changing values in LabView.
Please see the below figure to understand what I am trying to explain.
This is how you get the knob controls:
http://i.stack.imgur.com/sICHw.png
How to assign the values to the min and max of the control can be changed from the knobs property. Right click -> property. see below
http://i.stack.imgur.com/wxfsC.png
If you have any further questions, don't fail to read up the help from Labview. Its quite useful and very demonstrative.
I am trying to remove the hover effect that brings up the checkbox next to the row item in SharePoint 2010 list item rows. Is there any settings that can make this happen? I would like to keep away from having to tinker with the CSS and javascripts. Please see illustration below. Thank you.
There are no settings for that sort of thing - the selection check box is a default behavior. You are going to have to modify the CSS, for that.
Use SharePoint Designer (Available Here]1) to help determine whitch CSS elements control that behavior, and make a custom style sheet to override it.
You can accomplish this by going to the Modify View option of your list and unchecking the Allow Individual Item Checkboxes under Tabular View options.
Note: If you are using a Web Part to view it you might have to set the view again for the changes to reflect.