When creating a flex Chart, the list of colors is always the same, something like (orange, green, blue, ... ) I imagine that the Flex Charts use any array of default colors, Is there a way to get this array ?
I have a mysql table - request_events with three fields; request_eventsid,datetime,type.this table will track all the activities of my website day wise and also type wise.thus,type may be 1 or 2.I need to display an open-chart for understanding the progress.So I need to retrieve the ratio of type2/type1 as input day wise.How can I get all these input for last 30 days from this table.Please give me some idea....It already kill my week end.Please help me
Forgive me for being a little naive perhaps, but it seems that System.Windows.Controls.DataVisualization.Charting has vanished from VS2010, and blend 4. I'm trying to make a bar graph with a line overlayed, but can't even get started because I can't find the appropriate controls.
I know I could use an external graphing package, but I'd like to try the inbuilt controls first.
It's probably something really simple, but I can't find it in the docs and I can't find a map with it to check it's source...
I use version 3 of the API.
I guess it's an something to add in myOptions?
var latlng = new google.maps.LatLng(-34.397, 150.644);
var myOptions = {
zoom: 8,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
}
map = new google.maps.Map(document.getElementById('map_canvas'), myOptions);
Currently I only have dragging controls and the zoom pane controls. I would like to have the two Street View controls icons too.
If you want full source, I'm using this example as a base (how would you add Street View controls to this example?).
hi guys,
somehow there are really little tutorials out there for html5 video and audio playback.
I simply want to embed video and audio files with customized controls. However the controls should be farely simple. I only need a play-button. If clicked, play gets replaced by pause.
that's all!
however i even don't know how to embed/display a video without "preload controls". Somehow if i only set (without preload controls) Firefox even don't shows anything. Chrome does show a black window.
I would love to be able to use jquery to control the video play and pause button. Maybe you have some little start-approach for me!
thank you very much!
I have a collection of controls "MyCollection" wich changes in the Runtime. And I have to follow some constraints for that, for example: If my parameter "MyCollection.Count = 4" the property "NumberOfcolumns" will have the value 2, in order to create new Lines, and show the controls Two per Two.
This is how I'm displaying my collection :
<ItemsControl ItemsSource="{Binding MyCollection}" BorderThickness="0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" >
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate >
<UniformGrid Columns="{Binding NumberOfColumns}" VerticalAlignment="Center" HorizontalAlignment="Center" Background="Transparent"/>
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
</ItemsControl>
The problem is that my controls have different sizes, and as In UniformGrids, Cells are uniform... My design is not really pretty, because I have little controls shown in big Cells !!
Can someone help me to solve this problem ?
NB: Please give me a detailled solution if possible, not something like : "Use WrapPanel..."
I am relatively new to website design and specifically working in ASP.NET, i am using CSS to style my site, but when i use ASP.NET Controls like GridView, Navigation controls, etc ...
they are messed up by the style sheets, and you can't see that until you run the website, because the controls are translated to HTML and so affected by CSS in a way that you can't predict, how to solve this, and is there a better way to layout and desgin sites in ASP.NET.
We're using the MS Chart for .net, but encountering the "image not found" problem for which there doesn't seem to be a solution.
Are there any alternatives for generating simple charts?
Hi All,
I have a c code and I want to extract some patterns of code which contains instructions of communication etc and build a sequence chart from that.
Is there any way I can do that?
Thanks
is there any simple way to replace an image inside word-document with an excel chart using VB and preserving all of the format details such as image frame style, text wrap, anchor, etc. (thus the image is just a placeholder in a template document)
I have a flex line chart. Instead of the default behavior of having to hover over parts of the line to see the data points, is there a way to change the rendering of each point and have them always displayed? (almost like a connect the dots type view).
Hi,
I have a query related to Touch events on the UI controls.
I have 4 controls on the screen ( UITextField, UISlider, UISwitch, UIButton ). If the user touches any of the control on the screen, I want to fire touchesBegan and touchesEnded events on those controls in which I would implement some code.
Please let me know how to fire these events.
Thanks in advance,
Sreelatha.
If I was using the following:
https://developers.google.com/chart/interactive/docs/gallery/annotatedtimeline
Assuming I did not have the line:
data.addColumn('number', 'Sold Pencils');
or anything referring to 'Sold Pencils';
How do I make it such that when the user clicks an external link 'Sold Pencils' I am able to retrieve the data and add it to the graph (without the user refreshing the page). Is there some way to redraw the graph/add the column in this way?
I am dynamically loading user control in Button Click event, since these user controls are dynamically loaded I have to recreate all previous user controls as well per click. My user control just has two textboxes for now, but I am not able to persist my inputs across postbacks.
My ids are same everytime. I have enableViewstate ="true" in all controls all up to page level. Please adivce.
I was wondering if there are any 3rd party controls for use with the iPhone that are available, even better if usable from Interface Builder. From what I can gather, the answer is no.
I come from a Microsoft .NET background where of course there are tons of controls available from 3rd parties. I'm curious if this is a general Mac development ecosystem fact, i.e. no 3rd party controls for sale, or just an iPhone one, or if I've just missed finding them.
Hi I need to know if there's any way of making all controls
of a column the same width, and that all these controls are as wide as the cells that contain them.
I added a demo on JSFiddle with the controls I'm using.
I tried using size for the input texts and style="width:" for the selects , and even though I managed to make them the same width,(it doesn't seem to work in Chrome) it's kinda difficult , that's why I'd like to know if there is any more straightforward way to do the same thing
Any ideas or insights?
Hey everyone I am working on an applications and I am using the built in zoom controls. When using a specific size I can see the zoom controls. When using fill_parent the zoom controls are not visible. How it is setup is a mapview inside of a frame layout(also using fill parent for the height and width but with an offset down the screen. The only thing I can think of is the fill parent issue is with the framelayout and the zoom controls are off the screen. Sorry if this is confusing, I confused myself writing it. Thanks in advance
hi,
in my application i am using literal controls in data list , now i want to apply height and width for the literal controls is it possible for applying height and width to literal controls. thank you.
I need to display a list of ActiveX controls for the user to choose. It needs to show the control name and description.
How do I query Windows on the installed controls?
Is there a way to differentiate controls from COM automation servers?
I've build a custom WebControl, which has the following structure:
<gws:ModalBox ID="ModalBox1" HeaderText="Title" runat="server">
<Contents>(controls...)</Contents>
<Footer>(controls...)</Footer>
</gws:ModalBox>
The control contains two ControlCollection properties, 'Contents' and 'Footer'. Never tried to build a control with multiple control collections, but solved it like this (simplified):
[PersistChildren(false), ParseChildren(true)]
public class ModalBox : WebControl
{
private ControlCollection _contents;
private ControlCollection _footer;
public ModalBox()
: base()
{
this._contents = base.CreateControlCollection();
this._footer = base.CreateControlCollection();
}
[PersistenceMode(PersistenceMode.InnerProperty)]
public ControlCollection Contents { get { return this._contents; } }
[PersistenceMode(PersistenceMode.InnerProperty)]
public ControlCollection Footer { get { return this._footer; } }
protected override void RenderContents(HtmlTextWriter output)
{
// Render content controls.
foreach (Control control in this.Contents)
{
control.RenderControl(output);
}
// Render footer controls.
foreach (Control control in this.Footer)
{
control.RenderControl(output);
}
}
}
However it seems to render properly, it doesn't work anymore if I add some asp.net labels and input controls inside the property. I'll get the HttpException:
Unable to find control with id 'KeywordTextBox' that
is associated with the Label 'KeywordLabel'.
Somewhat understandable, because the label appears before the textbox in the controlcollection. However, with default asp.net controls it does work, so why doesn't this work? What am I doing wrong? Is it even possible to have two control collections in one control? Should I render it differently?
Thanks for replies.
http://chart.apis.google.com/chart?cht=lc&chs=600x400&chd=t:171,811,629,507,460,390,434,379,329,312,368,329,329,329,352,330,299,323,340,325,329,1895,1047,736,617,684,620,515
If you go there on your browser, you'll notice that you see a graph. However, the axis are messed up! And it seems like I can't see the ups and downs of my line graph. WHy?
I don't get what's wrong. I just want to plot the simple stuff on a line chart. Just those data points. Nothing more, nothing less!
i have an HP dm3t notebook which normally comes with windows 7.
after some time i figured out how to install Windows XP on it.
but now i am facing a problem that the brightess controls dont work so i am unable to change the brightess.
the strange thing is that all the other buttons (sound volume, mute, sleep , etc... ) works but not the 2 brightess controls.
i already downloaded the "HP Quick Launch Buttons"
so i am asking about suggesitions how can i enable these two buttons in windows XP or even if i can change the brightess using some kind of software.
thanks
i have an HP dm3t notebook which normally comes with windows 7.
after some time i figured out how to install Windows XP on it.
but now i am facing a problem that the brightess controls dont work so i am unable to change the brightess.
the strange thing is that all the other buttons (sound volume, mute, sleep , etc... ) works but not the 2 brightess controls.
i already downloaded the "HP Quick Launch Buttons"
so i am asking about suggesitions how can i enable these two buttons in windows XP or even if i can change the brightess using some kind of software.
thanks
I currently use the excellent Logitech X-230 desktop speaker/subwoofer set, which I love for the volume dial on the front which gives me a nice, quick, tactile control of my sound without requiring a remote or keyboard buttons or some awkward software slider. Additionally, there's a very convenient headphone jack right next to the volume dial but the volume dial only controls the speakers, leaving the headphones at full volume.
The goal is to be able to adjust the sound in my headphones without having to fumble around and find an inline headphone volume control (and my current favorite pair doesn't even have one).
Is anyone aware of a desktop speaker set that has convenient volume controls for both levels?