Charts Widget

Hello world

I am trying to display graphs generated in Javascript in a BB widget.

I tried a few (ProtoChart, flood) JS library, but no one works with BB.

Do you know how? Is it possible to do?

Thanks a lot for your help.

Michel

Resolved, I used the chart.apis.google.com to display graphics in my widget.

So I create an image on my body: to preload the graphics, then I call a function on the onLoad of the body:

function get_image() {}
var req = new XMLHttpRequest();
Req.Open ("POST", "http://chart.apis.google.com/chart", true);
req.setRequestHeader ("Content-type", "image/png");
   
{Req.onreadystatechange = Function ()}
If (req.readyState == 4) {}
If {(req.status is 200)
var data = req.responseText;
document.getElementById('graphique').src ='http://chart.apis.google.com/chart?cht=p3&chs=360x150&chd=t:"+ capital2 + ', '+' interest + & chl = Capital | INTERESTS. "
}
}
};
Req.Send ("cht = p3 & chs = 250 x 100 & chd = t:60, 40 & chl = Hello |" ' ") "'World');

Tags: BlackBerry Developers

Similar Questions

  • Dynamically set widget values

    I'm starting to experiment with variables and widgets. I'm still new in Captivate 4. In particular, I've been tinkering with the PieChart.swf widget. Documentation Adobe tell me can I set properties of widget via the variables (http://help.adobe.com/en_US/Captivate/4.0/Using/WSc1b83f70210cd101-2567a7d211d86f261eb-7ff a.html), but I didn't chance to set the values for this widget.

    I created variables and associated text entry areas. I can make the echo that the variables of back in a text caption. I inserted my variable names (with $$ one side or the other of them) in the column 'Action' of the widget parameters tab of the widget, but the values are always null.

    Hello

    I think you mix things up. Some widgets use variables, such as the certificate Widget. But this isn't the case, IMO, with the pie chart widget. Nowhere in the Advanced tab, variables are mentioned. You can insert the value of a variable in a text caption with the sum of $ before and after the variable, but the settings in the pie chart are not only the text. He is the designer of the widget which decides to use variables, in this case that no variable is used.

    Help text that you link is for a Widget Designer, not for the user of a ready to use Widget.

    I hope this was clear enough? If you want a widget like this table, but with variables, it will have to be programmed.

    Lilybiri

  • All custom settings does not work

    Hello guys im new to this software and I'm trying to work through the features of it.

    On the definition of a set of metric, I configured the xml file and place it in/usr/lib/vmware-vcops/tomcat-enterprise/webapps/vcops-custom/WEB-INF/classes/resources/reskndmetrics

    But then nothing has happened when I put the graphic metric widget to display what you want to see. I have attached the file xml, you guys can see what's wrong with that?

    using vcops version im is 5.7.1

    BTW, a couple more questions:

    1: I shot the attr_key of ip/vcops-custom/dbAccessQuery, it will give the same result of ip/dbAccessQuery? as I do not have access to him

    2: I put the metric chart widget to receive the resource selected and no parameters, and friendly mode of reference defined for the XML wrote, it works this way?

    3: from time to time, it will show some graphs generated randomly, what that means?

    Res type file will not work for everyone, aag. Remove the "attrkeyId =" areas, such as those that are unique to each vC deployment Ops. Sometimes, they "arrive" are the same, but that's all.

    The only thing wrong with the original Jimmy file, they used "characters instead of"characters. Always use "characters.

    Jimmy, make sure you chmod 644 and put "admin" as the owner of this file of res type interactions, otherwise they will not work.

  • Graphing calculator virtual machine by the data store size?

    Hello

    I am interested in creating a dashboard to illustrate the growth of space on a data store but by VM as apposed to the entire data store.

    I try to help track down when the space used on a datastore jump illustrating changes in the size of the virtual machine, e.g. VM is responsible.

    Ideally what I was looking for a graph with all the VM from the store of data that are selected, but I went through a variety of different dashboards and nothing seems to provide the data I'm after.

    Is there an easy way to display this type of data?

    Thank you

    Paul

    The example I gave was dynamic. You would be populating the graph of a widget of virtual machines. This widget of VMs would be filled by selecting a data store.

    You would have 2 resource widgets and widget 1 graph. The free provider, data warehouses, will be simple a list of filters RK DSs. The following resource will receive the DS resource widget interaction and display the 'parent' and also filter by VM RK. When you select the virtual machines, select multiple interaction and it will fill on the chart widget. Then just manipulate it from there.

    If you want to get fancy, you don't have to bother with a resource interaction file and throw a metric selector between the VM resource widget and the graphic metric, then you will spend multi select multiple selection interaction and so to the graphic metric... this way you are not stuck to display only a few types of attribute in the GIR.

  • How to save a chart for a specific length of time

    Dear all,

    I use a sensor of magnetic field on a mine detector. Let's say the minedetector scans the area for 10 sec. I need your help on the following

    (1) how to back up the chart of waveform for the sec ten integer. All I know is that I came across an example where I can save the graph at a specific time as a jpg. But this example is also in a graph. for the chart, I suppose we must change the table in a certain way.

    (2) if I record the magnetic field value obtained in each sample in a table, can I save it as an excel file. How to do that.

    Best regards

    Whenever I am asked to reproduce the data in the chart, I use Excel. In other words, your #2. The cards are widgets floating along on the screen. Once they are gone, they are gone. You can save the chart on jpg whenever the table is full, then follow up later, but why? The data is the data, not the chart.

    To save an Excel spreadsheet, the easiest method is to simply write the data to a text file and have LabVIEW save the file as a *.csv file. This file can be opened directly in Excel and then mapped out.

    The other method would be to have the LabVIEW to record directly to an Excel spreadsheet. There are many examples of this on the forum.

  • Loading an image out of a widget... Legend/display until this only charged text?

    I create an image using google static graphics and display it inside one of my widgets. Once the web request is made to the chart, I place the on the form, but I would like to be able to set the ALT text or something to show somehow a text until the image appears. Any ideas/thoughts?

    I did similar things in the widgets that might be of help in this situation.

    When your page loads all first use an image of "loading" to act as a space reserved where the graph is supposed to go.  Make sure that this placeholder image is generic and local for the widget so that it loads instantly.

    Then use AJAX to retrieve the table.  Specifically, I use the Gears HTTPRequest object because it has a responseBlob property.  Once you have retrieved into a blob content save your image graphic/blob with a unique name locally on the file system (be sure to white list this place).  Then replace the placeholder image "src" with the local path to the saved image.

    Now at this point you're probably thinking... Why the hell would I do that?

    The reason why I suggest this is because caching is not enabled in the widgets.  By doing this you are essentially caching the image to the next, and it will be much faster.  On the next view, if your data points in the chart are the same, just pull the image directly from the local file system to the place to recover again.

    It becomes like your own little hidden on the file system that you control.  We will also be providing built in caching in a near future of widgets that will help you in this scenario.  But it is also a good technique for all AJAX requests for data that are just snippets of XML/HTML.  Put in browser cache only put cache files and not blocks of data retrieved by XMLHttpRequest.  I found creating a small cache of the generic file system is quite simple and quite convenient.

    I hope that gives you some ideas

  • Graphical Widget

    I'm trying to make an exact copy of this chart of turning on this link facebook to dreamweaver, Jake billiards - on | Facebook located under the section HOURS. I tried to copy a code for, but I can't understand. Someone told me that looks like a widget. but my dreamweaver widget browser will not let me connect so I can't use it. generators of free widget that I can use? I tried jQuery Sparklines and Javascript Graphing Library D3.js-based bar graphs | Examples | Plotly but I get lost and don't know what to do.

    The browser widget has been dead for several years. You can find extensions on Adobe page modules here: https://creative.adobe.com/addons

    That you found seems to be a WordPress adds, making it a little harder to copy since at least part of the code that's probably handled by the server prior to be displayed in the browser of a spectator, so some of the features is out of reach a copy/paste. I doubt that he is no exact replica available online for non-WordPress sites (developers of WP still do not have a javascript or jQuery vanilla their plug-ins version).

    When you try to add others to your site, what part of problem with?

    It may be easier for one of the contributors here to help you add one of those that try to find the original in a non - WP version.

  • How to display the charging icon when updating of charts

    Hello

    in my actual page, I have an IR and a chart based on the data presented in the ir. When the user applies a filter in the ir, the data in the chart changes. to achieve this, I retrieve the State of the ir filter, rebuild the graphical application, a refreesh in a DA triggered after the update of the IR region.

    So far so good. now my problem:

    the graphical query is sort of a long walk. This means that it takes about 30 seconds to get the data. First, the graph is displayed, it said "loading data". so that the user knows that he (or she) have to show patience.

    but during the refreshing of the region of cat and re - run the query the old values are presented. as long as the new query is running. Once the query has been completed, the table is updated, new data are presented.

    what I want is to give the user some sort of information, new data are loaded. either by disabling the table before you start the new query, either by showing any sort of reload the icon or the text.

    can you give some advice my way to reach one or other purpose?

    Greetings

    Peter

    (APEX 4.2)

    Hello yeti.

    In your DA trigger "discount for after ' IR in which you rebuild the query and refresh the chart area:

    • Add/before the first chart refresh 'Real' action 'Execute JavaScript code' with the code like:
    apex.widget.waitPopup();
    
    • Add the last 'Real' action "Execute JavaScript Code to the code like:
    $('#apex_wait_popup').remove();
    $('#apex_wait_overlay').remove();
    

    It will show the Oracle APEX waiting popup with loading image and an overlay to disable the interaction of the user with the page until your DA runs and then remove the popup of waiting and the cache.

    Kind regards

    Kiran

  • All 6.2.1 vRO dashboard charts don't show 'no data available '.

    Hello-

    I'm not entirely sure when this started happening, but the other day I went to watch a heatmap of data store in the dashboard of data store and the chart area normal just showed a gray window with "No data available" printed on it.  I thought maybe it was my collector, but everything went well with it.  I moved and re-created in any case, going so far as to do a second time, but allowing him to remove all previous data, still no luck.  So I changed it on behalf of [email protected], but that made no difference, I was using a service account for data collection.  I tried upgrading to the latest version and vRO, 6.2.1.3774215 and gave a few weeks ago, but still nothing.  All my other data seem to collect and works fine, including regular health alerts or warnings from the anomaly.  Health, risk and badges of efficiency that seem to be all very well for production, it is only the tables in the dashboard and the widgets that appear to be broken, and it does for all of VM hosts to data warehouses.  Anyone has any ideas, or suggestions on where I could go to investigate further?  Thank you.

    My idea is that you must change the dashboard and re - manually select the objects you want to monitor.

    I had a similar problem if I remember correctly and that is reproducible only after an upgrade. So, go into dashboards that show any info and click on the pencil icon to edit and check if an object is selected at all; If you don't mind attach or incorporate a screenshot with defective dashboards.

    Best regards

  • Adding a graphic button in a widget accordion instead of using just the text?

    You can add a graphical button to a widget accordion instead of using just the text?

    You can do this in the text box in the accordion. Here's what you want to do. Add/create the chart or the button on the page of Muse (not in the accordion). Once you have it set the size you want, select the item, and then copy it. Go to your accordion, then click the tab that you want the image to appear. Just like if you were to type in the box. Instead of typing you want to paste the selected chart. I hope this helps.

  • Bug: (Composition widget), HDPI image Resolution

    I have a problem using the widget of composition in Adobe Muse CC.

    Embedded images to compose the show seem very pixelated

    even though I have checked HDPI images in my site properties for mobile.

    See example on this page.

    Any ideas?

    For any image to be HiDPI image loaded in Muse must be at least 2 x the size in which it will appear on your website. It seems likely, the original images were not big enough for Muse to create HiDPI versions, because the link you provided will contain images HiDPI.

    On a separate, by default, note the "convert Opaque PNG to JPEG" option is enabled in the properties of the Site. When a PNG image contains a chart of photographic nature, conversion to JPEG will generally reduce the size of the file by a factor of 5, so only active must faster page loading time. However, if opaque PNG is an image of synthesis with hard edges and areas of solid color, JPEG compression will introduce artifacts into the image that will appear to blur the edges between colors. You can enable this option to make these sharper images, priced at the page load slower.

    For vector drawings as the "Haus der Küche" graphics, file size and sharpness of the image would be better as an SVG, rather than a raster format (JPEG, PNG, GIF).

  • Highcharts (or similar) widget for Adobe Muse

    I would add Highcharts (http://www.highcharts.com/) or some other plugin to graph Microsoft graph/similar to an Adobe Muse Web site.  Is it possible?


    Also, I wish it were easy to do.  Is it possible to create a Muse widget which would allow a user without knowledge of JavaScript/HTML add a chart?

    You can try the steps here:

    http://code.tutsplus.com/tutorials/adding-charts-to-your-site-with-Highcharts--CMS-21692

    Thank you

    Sanjit

  • is there such a thing as a way to a bar chart changing automatically as data in real-time changes

    Do not know if it exists, but I have a client who active data that he wants to represent with a graphic barcode equivalent evolving: as numbers of real-time data he wanted the chart bar to change as a result, nobody knows if theres a way to muse or with a widget to offer something like this as a representation of numbers in real-time? Any advice would be appreciated... Thank you!

    Hello

    Did you try Google Spreadsheet and embed the chart in Adobe Muse. I guess it must meet the requirement.

    You can learn more here

    Create a table or chart - publishers help Docs

    Here is a screenshot, what it looks like

    Here's a video how to incorporate the graphic of your site in Google spreadsheet

  • Image inside a custom widget

    Hello Muse creative colleagues

    Suppose I want to make a widget that allows users to specify (with a bool) users could collapse (-) or close a widget (X)?

    It is only for the purpose of prototyping, so I don't need the logic to expand/retract this content, but what I really need, it's a widget that can be configured with title (already in place), but until now I can't understand how to load a chart, in this case two, which presents these options. Again offers the possibility to do the folding widget or minimizable.

    Thank you

    I'm afraid we don't have code for how the widget was created publicly available.  However, to support the functioning of the widget, you can see: Adobe Muse Help | Working with widgets of Composition

  • In the lightbox widget, how can I move a legend without moving the location of all legends?

    I use the lightbox widget for my wallet, and I downloaded the files of different layouts and directions. Some captions appear over my graphics. When I try to move the legend below the chart, it moves the location for all my captions. Edit together is not checked. What Miss me?

    Try the widget 'Presentation' under 'Compositions' but Yes - will not work with the lightbox.

Maybe you are looking for