<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>Wijmo</title> <atom:link href="http://wijmo.com/feed/" rel="self" type="application/rss+xml" /><link>http://wijmo.com</link> <description>UI for the Web</description> <lastBuildDate>Wed, 22 May 2013 11:41:35 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>How to Set Cell Styles in SpreadJS</title><link>http://wijmo.com/how-to-set-cell-styles-in-spreadjs/</link> <comments>http://wijmo.com/how-to-set-cell-styles-in-spreadjs/#comments</comments> <pubDate>Mon, 20 May 2013 23:52:21 +0000</pubDate> <dc:creator>eric peng</dc:creator> <category><![CDATA[Sample]]></category> <category><![CDATA[SpreadJS]]></category> <category><![CDATA[Border]]></category> <category><![CDATA[Cell Style]]></category> <category><![CDATA[Font]]></category> <category><![CDATA[spread]]></category> <category><![CDATA[spreadsheet]]></category><guid isPermaLink="false">http://wijmo.com/?p=13363</guid> <description><![CDATA[A Cell Style is a great way to make important data stand out on a sheet, SpreadJS provides styles to customize your text to give it the exact look you want. You can add a variety of styles and colors to your text, as well as borders or gridlines of cells. Give your text a [...]]]></description> <content:encoded><![CDATA[<p>A Cell Style is a great way to make important data stand out on a sheet, SpreadJS provides styles to customize your text to give it the exact look you want. You can add a variety of styles and colors to your text, as well as borders or gridlines of cells.</p><p>Give your text a specific color and font style by using the font method of the Cell object. SpreadJS uses syntax of css font, same as the way to set font for other DOM elements.</p><pre>sheet.addSpan(1, 1, 1, 5);
sheet.setValue(1, 1, "Sale Data Analysis");
sheet.getCell(1, 1).font("bold 16px arial");
sheet.getCell(1, 1).foreColor("white");
sheet.getCell(1, 1).backColor("Purple");.</pre><p><a href="http://wijmo.com/wp-content/uploads/2013/05/font.png"><img src="http://wijmo.com/wp-content/uploads/2013/05/font.png" alt="" title="font" width="506" height="207" class="alignnone size-full wp-image-13364" /></a></p><p>Plus, give different color or line style borders to a range of cells by using the setBorder method of the Sheet object. It provides many options to easily determine which part of the cell range to set.</p><pre>sheet.setBorder(new $.wijmo.wijspread.Range(1, 1, 6, 5), new $.wijmo.wijspread.LineBorder("Black", $.wijmo.wijspread.LineStyle.thin), { outline: true });
sheet.setBorder(new $.wijmo.wijspread.Range(1, 1, 6, 5), new $.wijmo.wijspread.LineBorder("Blue", $.wijmo.wijspread.LineStyle.dotted), { inside: true });
sheet.setBorder(new $.wijmo.wijspread.Range(5, 1, 1, 5), new $.wijmo.wijspread.LineBorder("Black", $.wijmo.wijspread.LineStyle.double), { bottom: true });</pre><p><a href="http://wijmo.com/wp-content/uploads/2013/05/border.png"><img src="http://wijmo.com/wp-content/uploads/2013/05/border.png" alt="" title="border" width="507" height="206" class="alignnone size-full wp-image-13365" /></a></p><p>And you also can change the color of the gridline, even hide the gridline to make your data stand out on the sheet.</p><pre>sheet.setGridlineOptions({showVerticalGridline: false, showHorizontalGridline: false});</pre><p><a href="http://wijmo.com/wp-content/uploads/2013/05/gridline.png"><img src="http://wijmo.com/wp-content/uploads/2013/05/gridline.png" alt="" title="gridline" width="506" height="206" class="alignnone size-full wp-image-13366" /></a></p><p>You can try all of the above code in a web page which has initialized SpreadJS, to learn more about getting started with SpreadJS in a web page, please read <a href="http://wijmo.com/four-steps-to-use-spreadjs/" target="_blank">Quick Start Guide to Using SpreadJS</a>.</p><p>For more information about how to use SpreadJS, includes its data model and API, please read our <a href="http://wijmo.com/docs/spreadjs/webframe.htm" target="_blank">online documentation</a> or try <a href="http://wijmo.com/demos/" target="_blank">online demos</a>.</p> ]]></content:encoded> <wfw:commentRss>http://wijmo.com/how-to-set-cell-styles-in-spreadjs/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Wijmo 2013 v1 Webcast</title><link>http://wijmo.com/wijmo-2013-v1-webcast/</link> <comments>http://wijmo.com/wijmo-2013-v1-webcast/#comments</comments> <pubDate>Fri, 17 May 2013 17:40:24 +0000</pubDate> <dc:creator>Chris Bannon</dc:creator> <category><![CDATA[Sample]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[Video]]></category> <category><![CDATA[jquery mobile]]></category> <category><![CDATA[mobile]]></category> <category><![CDATA[SpreadJS]]></category> <category><![CDATA[Webcast]]></category><guid isPermaLink="false">http://wijmo.com/?p=13312</guid> <description><![CDATA[Thanks to everyone that showed up for our webcast this week. It had record breaking attendance here at ComponentOne! If you missed it or want to share or watch it again, here is the recording. Video Join Sheela Nath and Chris Bannon as they unveil new technology from Team Wijmo. Wijmo 2013 v1 was a [...]]]></description> <content:encoded><![CDATA[<p>Thanks to everyone that showed up for our webcast this week. It had record breaking attendance here at ComponentOne! If you missed it or want to share or watch it again, here is the recording.</p><h2>Video</h2><p><iframe src="http://player.vimeo.com/video/66400250?byline=0&amp;portrait=0" frameborder="0" width="597" height="336"></iframe></p><blockquote><p> Join Sheela Nath and Chris Bannon as they unveil new technology from Team Wijmo. Wijmo 2013 v1 was a major release that added jQuery Mobile support, new widgets and a powerful spreadsheet component. We have been solidifying our framework and creating a platform for HTML5 development. Come take a tour through Wijmo 2013 v1.</p></blockquote><h2>Samples</h2><p>These samples will be integrated into our download soon. But for now you can download them here.</p><ul><li><a href="https://www.dropbox.com/s/8d35p2ew8j5h837/NorthwindTradersMobile.zip">Northwind Mobile App</a></li><li><a href="https://www.dropbox.com/s/uxyromp4z4kiblb/MvcTabletApplicationAppView.zip">MVC Mobile CRUD App</a></li></ul><p>You can also try out AppView and SpreadJS from our <a href="http://wijmo.com/demos/">online demos</a>. And don&#8217;t forget to <a href="http://wijmo.com/downloads/">download wijmo</a> and start building great mobile applications.</p><h2>Slides</h2><p><iframe style="border: 1px solid #CCC; border-width: 1px 1px 0; margin-bottom: 5px;" src="http://www.slideshare.net/slideshow/embed_code/21329501?rel=0" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="597" height="486"></iframe></p> ]]></content:encoded> <wfw:commentRss>http://wijmo.com/wijmo-2013-v1-webcast/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How To Merge Cells in SpreadJS</title><link>http://wijmo.com/how-to-merge-cells-in-spreadjs/</link> <comments>http://wijmo.com/how-to-merge-cells-in-spreadjs/#comments</comments> <pubDate>Thu, 16 May 2013 19:49:04 +0000</pubDate> <dc:creator>eric peng</dc:creator> <category><![CDATA[Sample]]></category> <category><![CDATA[SpreadJS]]></category> <category><![CDATA[Cell]]></category> <category><![CDATA[Merge]]></category> <category><![CDATA[Span]]></category> <category><![CDATA[spread]]></category> <category><![CDATA[spreadsheet]]></category><guid isPermaLink="false">http://wijmo.com/?p=13270</guid> <description><![CDATA[Merging is when you combine a range of cells to create a new, larger cell. This is a great way to create a label that spans several columns or several rows. You can easily create a cell span in the view port, row header, or column header area. For example, here cells A1, B1, and [...]]]></description> <content:encoded><![CDATA[<p>Merging is when you combine a range of cells to create a new, larger cell. This is a great way to create a label that spans several columns or several rows. You can easily create a cell span in the view port, row header, or column header area. For example, here cells A1, B1, and C1 were merged to create the label “Monthly Sales” to describe the information below. It is easy to do it with code:</p><pre>sheet.addSpan(0, 0, 1, 3);
sheet.getCell(0, 0).hAlign($.wijmo.wijspread.HorizontalAlign.center)
sheet.setValue(0, 0, "Monthly Sales");
sheet.setValue(1, 0, "Jan");
sheet.setValue(1, 1, "Feb");
sheet.setValue(1, 2, "Mar");</pre><p><a href="http://wijmo.com/wp-content/uploads/2013/05/addSpan.png"><img class="alignnone size-full wp-image-13272" title="addSpan" src="http://wijmo.com/wp-content/uploads/2013/05/addSpan.png" alt="" width="504" height="206" /></a></p><p>And you can use the addSpan method to merge cells on the row header or the column header, by simply adding a SheetArea parameter.<br /> <code>sheet.addSpan(0, 0, 1, 3, $.wijmo.wijspread.SheetArea.colHeader);</code><br /> <a href="http://wijmo.com/wp-content/uploads/2013/05/addSpanHeader.png"><img class="alignnone size-full wp-image-13273" title="addSpanHeader" src="http://wijmo.com/wp-content/uploads/2013/05/addSpanHeader.png" alt="" width="508" height="208" /></a></p><p>Certainly, you can remove span from a merged cell by using the removeSpan method, this code removes the span for all merged cells in the sheet view port.</p><pre>var spans = sheet.getSpans();
for(var i = 0; i < spans.length; i++) {
	sheet.removeSpan(spans<em class="bbcode-em"></em>.row,spans<em class="bbcode-em"></em>.col);
}
</pre><p>You can try all of the above code in a web page which has initialized SpreadJS, to learn more about getting started with SpreadJS in a web page, please read <a href="http://wijmo.com/four-steps-to-use-spreadjs/">Quick Start Guide to Using SpreadJS</a>.</p><p>For more information about how to use SpreadJS, includes its data model and API, please read our <a href="http://wijmo.com/docs/spreadjs/webframe.htm">online documentation</a> or try <a href="http://wijmo.com/demos/">online demos</a>.</p> ]]></content:encoded> <wfw:commentRss>http://wijmo.com/how-to-merge-cells-in-spreadjs/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Using Knockout with the WijCarousel</title><link>http://wijmo.com/using-knockout-with-the-wijcarousel/</link> <comments>http://wijmo.com/using-knockout-with-the-wijcarousel/#comments</comments> <pubDate>Wed, 15 May 2013 13:00:45 +0000</pubDate> <dc:creator>Chris Karkowsky</dc:creator> <category><![CDATA[Sample]]></category> <category><![CDATA[Showcase]]></category> <category><![CDATA[Tutorials]]></category><guid isPermaLink="false">http://wijmo.com/?p=13224</guid> <description><![CDATA[Recently added with the release 2013v1 of Wijmo was an addition to the Knockout library enabling two way bindable functionality for the Data of the WijCarousel. This is perfect for those who want to manage the content of their carousel on the fly. In this example, I have decided to combine the checkbox functionality of [...]]]></description> <content:encoded><![CDATA[<p>Recently added with the release 2013v1 of Wijmo was an addition to the Knockout library enabling two way bindable functionality for the Data of the WijCarousel.  This is perfect for those who want to manage the content of their carousel on the fly.</p><p><img src="http://wijmo.com/wp-content/uploads/2013/05/bannerPic.jpg" alt="" /></p><p>In this example, I have decided to combine the checkbox functionality of the WijTree with the data of the WijCarousel.</p><p>I will treat each value within the Tree as a “node”, meaning that they will all have their own specific properties as defined within the Model…</p><pre>
function PictureNode(url, text)
{
        this.imageUrl = url,
        this.caption = text,
        this.text = text
}
</pre><p>The “imageUrl” and “caption” properties are both necessary to insert pictures with captions into the WijCarousel, while the “text” property is used within the WijTree.</p><p>In order to populate the nodes within the WijTree, I will create two ko.observableArray’s.</p><pre>
self.west = ko.observableArray([]);
self.east = ko.observableArray([]);
</pre><p>For each of the WijTree’s, I will set the “nodes” option to their specific array, as well as set several properties.</p><pre>
&lt;ul id="westTree"data-bind="wijtree: {disabled: disabled, allowDrag: allowDrag, allowDrop:allowDrop,
    nodes: west, showCheckBoxes: showCheckBoxes, nodeCheckChanged: nodeCheckChangedWest }">
&lt;/ul>
</pre><p>For each of the WijCarousel’s, I will also create two ko.observableArrays, and push some initial data into them.</p><pre>
self.visNodesWest = ko.observableArray([
     new PictureNode("http://wijmo.com/files/img/logos/Hawks.png", "Chicago Blackhawks")
]);
self.visNodesEast = ko.observableArray([
     new PictureNode("http://wijmo.com/files/img/logos/Pens.png", "Pittsburgh Penguins")
]);
</pre><p>I will then do the data-bind for the WijCarousel, by setting the “data” option to each array, as well as set several more options.</p><pre>
&lt;div id="westCaro" data-bind="wijcarousel:{data:visNodesWest,showTimer:showTimer,
      display:display, auto:auto, interval:interval}" style="height:200px;">&lt;/div>
</pre><p>The WijTree has a built in function nodeCheckChanged, which will trigger anytime an option with in tree is checked or unchecked.  I will trigger this function each time a change is made, and use Knockout to fill each array of the array’s bound to the Carousel.</p><pre>
self.nodeCheckChangedWest = function(e,data)
{
	self.visNodesWest.remove(function(item){return item.text != "Chicago Blackhawks"});
	var nodes = $(this).wijtree("getCheckedNodes");

	$.each(nodes, function(index, elem)
	{
        	var text = $(elem).wijtreenode('option', 'text');
        	var url = $(elem).wijtreenode('option', 'imageUrl');
		self.visNodesWest.push(new PictureNode(url,text));
	});
};
</pre><p>When running, you will notice that once the team name is checked, the image will be added/removed from the WijCarousel.</p><p><img src="http://wijmo.com/wp-content/uploads/2013/05/Demo2.gif" alt="" /></p><p>This is a great way to let Knockout do all the heavy lifting for you, as well as create a live interface for your end user.</p><p>Let’s go Pens!</p><p>Sample code can be found <a href="http://wijmo.com/wp-content/uploads/2013/05/KOCarousel.html" title="here">here</a>.</p> ]]></content:encoded> <wfw:commentRss>http://wijmo.com/using-knockout-with-the-wijcarousel/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How To Set Cell Value in SpreadJS</title><link>http://wijmo.com/how-to-set-cell-value-in-spreadjs/</link> <comments>http://wijmo.com/how-to-set-cell-value-in-spreadjs/#comments</comments> <pubDate>Mon, 13 May 2013 18:57:01 +0000</pubDate> <dc:creator>eric peng</dc:creator> <category><![CDATA[Sample]]></category> <category><![CDATA[Showcase]]></category> <category><![CDATA[SpreadJS]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[Binding]]></category> <category><![CDATA[Cell]]></category> <category><![CDATA[Csv]]></category> <category><![CDATA[How To]]></category> <category><![CDATA[Set Value]]></category><guid isPermaLink="false">http://wijmo.com/?p=13174</guid> <description><![CDATA[SpreadJS provides many ways to assign value to cells, you can choose any one of options below to set value of cells. 1. setValue/setText method Sheet object of SpreadJS has a method setValue, this method can be used to set value to any cell in viewport or headers by specific row and column index. The [...]]]></description> <content:encoded><![CDATA[<p>SpreadJS provides many ways to assign value to cells, you can choose any one of options below to set value of cells.<br /> 1. setValue/setText method<br /> Sheet object of SpreadJS has a method setValue, this method can be used to set value to any cell in viewport or headers by specific row and column index. The value can be any type of data like string, date time, boolean, number. In addition, the Sheet object has another method setText, you can use this method to set text to any cell in either viewport or header.</p><pre>sheet.setValue(0,2,"ColumnHeader", $.wijmo.wijspread.SheetArea.colHeader);
sheet.setValue(2,0,"RowHeader", $.wijmo.wijspread.SheetArea.rowHeader);
sheet.setValue(2,2,"viewport", $.wijmo.wijspread.SheetArea.viewport);</pre><p><img src="http://wijmo.com/wp-content/uploads/2013/05/setValue.png" alt="" title="setValue"/></p><p>2. Set value by Cell object<br /> Sheet object has two methods getCell and getCells, you can use them to get a Cell object which indicates a specific cell, or a range of cells, and use value/text method of Cell object to set value to a cell or a range of cells.</p><pre>sheet.getCell(0,0).text("cell");
sheet.getCells(1,1,3,3).value("range");</pre><p><img src="http://wijmo.com/wp-content/uploads/2013/05/getCells.png" alt="" title="getCells" /><br /> 3. Binding to JSon array<br /> You can create a JSON array, and bind it to Sheet object by using the setDataSource method.</p><pre>var arr = [
{"Series0":2,"Series1":1},
{"Series0":4,"Series1":2},
{"Series0":3,"Series1":4}
];
sheet.setDataSource(arr);</pre><p><img src="http://wijmo.com/wp-content/uploads/2013/05/setDataSrouce.png" alt="" title="setDataSrouce"/><br /> 4. Import CSV text<br /> You can import a CSV text string into a range of cells by using the setCsv method of Sheet object.</p><pre>var csv = "1,2,3;a,b,c";
sheet.setCsv(1,1,csv,";",",");</pre><p><img src="http://wijmo.com/wp-content/uploads/2013/05/setCsv.png" alt="" title="setCsv"/></p><p>You can try all of the above code in a web page which has initialized SpreadJS, to learn more about getting started with SpreadJS in a web page, please read <a href="http://wijmo.com/four-steps-to-use-spreadjs/">Quick Start Guide to Using SpreadJS</a>.</p><p>For more information about how to use SpreadJS, includes its data model and API, please read our <a href="http://wijmo.com/docs/spreadjs/webframe.htm">online documentation</a> or try <a href="http://wijmo.com/demos/">online demos</a>.</p> ]]></content:encoded> <wfw:commentRss>http://wijmo.com/how-to-set-cell-value-in-spreadjs/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Quick Start Guide to Using SpreadJS</title><link>http://wijmo.com/four-steps-to-use-spreadjs/</link> <comments>http://wijmo.com/four-steps-to-use-spreadjs/#comments</comments> <pubDate>Thu, 09 May 2013 16:11:36 +0000</pubDate> <dc:creator>eric peng</dc:creator> <category><![CDATA[Sample]]></category> <category><![CDATA[SpreadJS]]></category> <category><![CDATA[Get Start]]></category> <category><![CDATA[How To]]></category> <category><![CDATA[spreadsheet]]></category><guid isPermaLink="false">http://wijmo.com/?p=13089</guid> <description><![CDATA[SpreadJS is JavaScript spreadsheet widget which is based on HTML5 and jQuery technology. It is very easy to use in a web page, and in this post I’ll show you how to initialize a SpreadJS widget in a web page in four simple steps. Step 1. Create a standard html file &#60;!DOCTYPE html&#62; &#60;html&#62;   [...]]]></description> <content:encoded><![CDATA[<p>SpreadJS is JavaScript spreadsheet widget which is based on HTML5 and jQuery technology. It is very easy to use in a web page, and in this post I’ll show you how to initialize a SpreadJS widget in a web page in four simple steps.<br /> <strong>Step 1</strong>. Create a standard html file</p><pre>
&lt;!DOCTYPE html&gt;
&lt;html&gt;
    &lt;head&gt;

    &lt;/head&gt;
    &lt;body&gt;

    &lt;/body&gt;
&lt;/html&gt;
</pre><p><strong>Step 2</strong>. Define SpreadJS host in the body section, give the host an id which will use to create and get the widget instance in JavaScript code. Then you can set some settings of the host like size, border via css styling.</p><pre>
&lt;div id="ss" style="height:500px;border:solid gray 1px;"/&gt;
</pre><p><strong>Step 3</strong>. Add script files and css files reference in the head section, here it uses CDN, as for file names of Wijmo and SpreadJS, please go to our <a href="http://wijmo.com/downloads/">download page</a> to get CDN links of the latest version.</p><pre>
&lt;!--jQuery References--&gt;
&lt;script src="http://code.jquery.com/jquery-1.8.2.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="http://code.jquery.com/ui/1.9.1/jquery-ui.min.js" type="text/javascript"&gt;&lt;/script&gt;

&lt;!--Theme--&gt;
&lt;link href="http://cdn.wijmo.com/themes/aristo/jquery-wijmo.css" rel="stylesheet" type="text/css" title="rocket-jqueryui"/&gt;

&lt;!--Wijmo Widgets CSS--&gt;
&lt;link href="http://cdn.wijmo.com/jquery.wijmo-pro.all.3.20131.3.min.css" rel="stylesheet" type="text/css" /&gt;

&lt;!--Wijmo Widgets JavaScript--&gt;
&lt;script src="http://cdn.wijmo.com/jquery.wijmo-open.all.3.20131.3.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="http://cdn.wijmo.com/jquery.wijmo-pro.all.3.20131.3.min.js" type="text/javascript"&gt;&lt;/script&gt;

&lt;!-- SpreadJS CSS and script --&gt;
&lt;script src="http://cdn.wijmo.com/spreadjs/jquery.wijmo.wijspread.all.1.20131.1.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;link href="http://cdn.wijmo.com/spreadjs/jquery.wijmo.wijspread.1.20131.1.css" rel="stylesheet" type="text/css" /&gt;
</pre><p><strong>Step 4</strong>. Add script to create an instance of SpreadJS after these references in the head section, and initialize SpreadJS by JavaScript code, merge cell, set value, style, formula to cells&#8230;</p><pre>
&lt;script type="text/javascript"&gt;
    $(document).ready(function () {
                $("#ss").wijspread({ sheetCount: 2 }); // create wijspread widget instance
                var spread = $("#ss").wijspread("spread"); // get instance of wijspread widget
                var sheet = spread.getActiveSheet(); // get active worksheet of the wijspread widget
                // initialize spreadJS
            });
&lt;/script&gt;
</pre><p>That&#8217;s it, then you can open the file in a browser, SpreadJS will be there.<br /> <a href="http://wijmo.com/wp-content/uploads/2013/05/Capture.png"><img src="http://wijmo.com/wp-content/uploads/2013/05/Capture-150x150.png" alt="" title="Capture" width="150" height="150" class="alignnone size-thumbnail wp-image-13104" /></a></p><p>For more information about how to use SpreadJS, its data model and API, please read our <a href="http://wijmo.com/docs/spreadjs/webframe.htm">online documentation</a> or try <a href="http://wijmo.com/demos/">online demos</a>.</p> ]]></content:encoded> <wfw:commentRss>http://wijmo.com/four-steps-to-use-spreadjs/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Join the 2013 v1 Webcast</title><link>http://wijmo.com/join-the-2013-v1-webcast/</link> <comments>http://wijmo.com/join-the-2013-v1-webcast/#comments</comments> <pubDate>Tue, 07 May 2013 17:57:55 +0000</pubDate> <dc:creator>Chris Bannon</dc:creator> <category><![CDATA[Announcements]]></category> <category><![CDATA[Webcast]]></category><guid isPermaLink="false">http://wijmo.com/?p=13049</guid> <description><![CDATA[Please join Sheela Nath and myself for our Wijmo 2013 v1 Webcast. Wednesday, May 15, 2013 2:00 PM &#8211; 3:00 PM EDT Register for the webcast About the Webcast Join Sheela Nath and Chris Bannon as they unveil new technology from Team Wijmo. Wijmo 2013 v1 was a major release that added jQuery Mobile support, [...]]]></description> <content:encoded><![CDATA[<p><img src="http://wijmo.com/wp-content/uploads/2013/05/banner-v3final.png" alt="" title="Join us" width="1100" height="300" class="alignnone size-full wp-image-13050" /><br /> Please join Sheela Nath and myself for our Wijmo 2013 v1 Webcast.</p><p>Wednesday, May 15, 2013<br /> 2:00 PM &#8211; 3:00 PM EDT<br /> <a href="https://www2.gotomeeting.com/register/217896922">Register for the webcast</a></p><h3>About the Webcast</h3><blockquote><p> Join Sheela Nath and Chris Bannon as they unveil new technology from Team Wijmo. Wijmo 2013 v1 was a major release that added jQuery Mobile support, new widgets and a powerful spreadsheet component. We have been solidifying our framework and creating a platform for HTML5 development. Come take a tour through Wijmo 2013 v1.</p></blockquote> ]]></content:encoded> <wfw:commentRss>http://wijmo.com/join-the-2013-v1-webcast/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How To: Change the Width of a Bar in Wijmo Bar Chart</title><link>http://wijmo.com/how-to-change-the-width-of-a-bar-in-wijmo-bar-chart/</link> <comments>http://wijmo.com/how-to-change-the-width-of-a-bar-in-wijmo-bar-chart/#comments</comments> <pubDate>Thu, 02 May 2013 15:25:31 +0000</pubDate> <dc:creator>Ashish Jindal</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[bar]]></category> <category><![CDATA[BarChart]]></category> <category><![CDATA[custom width]]></category> <category><![CDATA[default width]]></category> <category><![CDATA[width]]></category> <category><![CDATA[wijbarchart]]></category><guid isPermaLink="false">http://wijmo.com/?p=12888</guid> <description><![CDATA[When there are multiple charts on a page having different number of bars in each, then, the width of bars vary in each chart. This is because the width of a bar is directly dependent on the number of datapoints(bars) in a dataseries. That means, if a barchart has 2 datapoints then the bars will [...]]]></description> <content:encoded><![CDATA[<p>When there are multiple charts on a page having different number of bars in each, then, the width of bars vary in each chart. This is because the width of a bar is directly dependent on the number of <strong>datapoints</strong>(<strong>bars)</strong> in a <strong>dataseries</strong>. That means, if a barchart has 2 datapoints then the bars will be thicker as compared to the width of bars in a chart having 6 datapoints. The charts will look like:</p><p><a href="http://wijmo.com/wp-content/uploads/2013/04/BarWidths.png"><img class="alignnone  wp-image-12889" title="BarWidths" src="http://wijmo.com/wp-content/uploads/2013/04/BarWidths-1024x323.png" alt="" width="824" height="323" /></a></p><p>This blogs explains how you can change the default width for each bar in <strong>wijmo barchart</strong> so that you can have bars with a consistent width in all the charts.</p><p>To start off, you can create a wijbarchart by setting  few properties in jQuery and may refer to the online <a href="http://wijmo.com/demo/explore/?widget=BarChart&amp;sample=Column%20bar%20chart">demo</a> for this. In order to set width of each bar, we can access the bar using <strong><a href="http://wijmo.com/wiki/index.php/Barchart#getBar">getBar</a></strong> method of the <strong>WijBarChart</strong>. Now, we can set the width of this bar to any custom value using its attributes. Please note, since we are changing the width, we also need to change its x position so that bar is displayed correctly.</p><p>The code given below would help you in achieving the same:</p><pre>var seriesElements = $("#wijbarchart2").wijbarchart().data().fields.seriesEles;
//loop through the serieslist
$.each(seriesElements, function (index, series) {
   //custom value which we want to set
   var newWidth = 75;
   //loop through datapoints of each series
   $.each(series, function (counter, datapoint) {
      //get the bar object
      var barObj = $("#wijbarchart2").wijbarchart('getBar', counter);
      //calculate its centre
      var centre = barObj.attrs.x + barObj.attrs.width / 2;
      //calculate and set the new x-positon
      var newX = centre - newWidth / 2;
      barObj.attr('x', newX);
      //set the custom width
      barObj.attr('width', newWidth);
      barObj.width = newWidth;
      $("#wijbarchart2").find("rect:eq(" + counter + ")").attr("stroke-width", 0);
    });
 });</pre><p><a href="http://wijmo.com/wp-content/uploads/2013/04/CustomBarWidth.png"><img class="alignnone  wp-image-12892" title="CustomBarWidth" src="http://wijmo.com/wp-content/uploads/2013/04/CustomBarWidth-1024x324.png" alt="" width="836" height="324" /></a></p><p>You may also checkout this <a href="http://wijmo.com/wp-content/uploads/2013/04/WijBarChart_CustomBarWidth.html">sample</a> implementing the same.</p> ]]></content:encoded> <wfw:commentRss>http://wijmo.com/how-to-change-the-width-of-a-bar-in-wijmo-bar-chart/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>HowTo: Highlight a Datapoint Through Code in WijLineChart</title><link>http://wijmo.com/howto-highlight-a-datapoint-through-code-in-wijlinechart/</link> <comments>http://wijmo.com/howto-highlight-a-datapoint-through-code-in-wijlinechart/#comments</comments> <pubDate>Thu, 02 May 2013 12:15:01 +0000</pubDate> <dc:creator>Ashish Jindal</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[datapoint]]></category> <category><![CDATA[hover]]></category> <category><![CDATA[LineChart]]></category> <category><![CDATA[programmatically]]></category> <category><![CDATA[tooltip]]></category> <category><![CDATA[wijlinechart]]></category><guid isPermaLink="false">http://wijmo.com/?p=12488</guid> <description><![CDATA[Generally, when we hover the mouse over a datapoint on the wijlinechart, it highlights the datapoint and shows its data value in a tooltip. But, one of our customers had a requirement : He had a Google map on the same page as the line chart and when the mouse hovered over the Google map, [...]]]></description> <content:encoded><![CDATA[<p>Generally, when we hover the mouse over a <strong>datapoint</strong> on the <strong>wijlinechart</strong>, it highlights the datapoint and shows its data value in a <strong>tooltip</strong>. But, one of our customers had a requirement : He had a Google map on the same page as the line chart and when the mouse hovered over the Google map, he wanted to highlight the corresponding value on the wijmo line chart. That means, we need to highlight the datapoint and show tooltip programmatically.</p><p>I thought this might help others as well and this blog demonstrates how you can <strong>highlight</strong> a specific <strong>datapoint</strong> through <strong>code</strong> in <strong>Wijmo LineChart.</strong></p><p>To start with, you can take a look at <a href="http://wijmo.com/demo/explore/?widget=LineChart&amp;sample=Overview">this</a> demo on how to use the <strong>wijlinechart</strong> . After that, you can a create an object of tooltip using <strong>canvas</strong> object of wijlinechart as given below :</p><pre>var lineChart = $("#wijlinechart").data("wijlinechart");
//create tooltip object
var tooltip = lineChart.canvas.tooltip(null, {});</pre><p>Here is the complete code which you can use to highlight the datapoint on a button click:</p><pre>$("#btnHighlight").click(function () {

   //get the marker reference
   var lineMarker = $("#wijlinechart").wijlinechart('getLineMarkers', 0);

   lineMarker[index].transform("s1");
   //get the index of the datapoint to be highlighted
   index = $("#txtIndex").val();

   if (index &lt; lineMarker.length) {
      //scale the specific marker
      lineMarker[index].transform("s2");

      //get the data to be displayed in tooltip
      var label = lineChart.options.seriesList[0].label;
      var x = lineChart.options.seriesList[0].data.x[index];
      var y = lineChart.options.seriesList[0].data.y[index];

      //set the properties of tooltip
      tooltip.setOptions({
         content: label + '\n' + "X :" + x + '\n' + "Y:" + y + '',
         style: { fill: "#000000", "stroke-width": "2", stroke: "#00a6dd" },
         animated: "fade", showAnimated: "fade", hideAnimated: "fade",
         hideDelay: 150, easing: "easeOutExpo",
         showEasing: "easeOutExpo", hideEasing: "easeOutExpo",
         compass: "north", offsetX: 0, offsetY: 0
      });

      tooltip.showAt({
         x: lineMarker[index].attrs.cx,
         y: lineMarker[index].attrs.cy
      });
   }
   else
      index = 0;
 });</pre><p>You may download <a href="http://wijmo.com/wp-content/uploads/2013/04/WijLineChart_HighlightDataPointInCode.html">this</a> sample with the complete implementation.</p><p><a href="http://wijmo.com/wp-content/uploads/2013/04/wijLineChart_HightlightDatapoint.png"><img class="alignnone size-full wp-image-12493" title="wijLineChart_HightlightDatapoint" src="http://wijmo.com/wp-content/uploads/2013/04/wijLineChart_HightlightDatapoint.png" alt="" width="745" height="538" /></a></p> ]]></content:encoded> <wfw:commentRss>http://wijmo.com/howto-highlight-a-datapoint-through-code-in-wijlinechart/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Wijmo 2013 v1 Releases Mobile Widgets and an HTML5 Spreadsheet Control</title><link>http://wijmo.com/wijmo-2013-v1-releases-mobile-widgets-and-an-html5-spreadsheet-control/</link> <comments>http://wijmo.com/wijmo-2013-v1-releases-mobile-widgets-and-an-html5-spreadsheet-control/#comments</comments> <pubDate>Thu, 18 Apr 2013 18:25:06 +0000</pubDate> <dc:creator>Eve Turzillo</dc:creator> <category><![CDATA[Press Release]]></category> <category><![CDATA[PR]]></category> <category><![CDATA[SpreadJS]]></category> <category><![CDATA[Wijmo]]></category><guid isPermaLink="false">http://wijmo.com/?p=12736</guid> <description><![CDATA[A Collection of UI Widgets for Both Mobile and Web Development now with BreezeJS Support PITTSBURGH, PA – April 18, 2013 - ComponentOne, a division of GrapeCity and a leader in developer-productivity tools, has announced the 2013 v1 release of Wijmo Enterprise: a kit of user interface (UI) widgets for HTML5 development. This release debuts [...]]]></description> <content:encoded><![CDATA[<p align="center"><em>A Collection of UI Widgets </em><em>for Both Mobile and Web Development now with BreezeJS Support</em></p><p><strong>PITTSBURGH, PA – April 18, 2013 -</strong> ComponentOne, a division of GrapeCity and a leader in developer-productivity tools, has announced the 2013 v1 release of Wijmo Enterprise: a kit of user interface (UI) widgets for HTML5 development. This release debuts a new addition to the kit, a high performance spreadsheet component for enterprise web application development.</p><p>&#8220;We have expanded our collection of over 40 widgets to include first-class mobile support,&#8221; said Chris Bannon, product manager at ComponentOne.  &#8220;All of our widgets will automatically adapt to jQuery Mobile or jQuery UI environments given we have created the first and only Adaptive Widget Framework on the market with this release&#8221; said Bannon.</p><p>Initially released as a Beta version in February of 2013 and since moved into RTW (release to web),  Wijmo Enterprise   now models the company’s other products with a subscription-based plan. Bannon shared that, &#8220;Wijmo will feature three releases per year and any customer with a current subscription will be eligible for free upgrades.&#8221;</p><p>BreezeJS is quickly becoming the industry standard plug-in for providing data services to JavaScript applications and the 2013 v1 release of Wijmo integrates with these standards. This integration with BreezeJS keeps Wijmo lightweight and gives developers the flexibility to choose the frameworks they want to work in.</p><p>Building off the company&#8217;s 20 years&#8217; experience with spreadsheet controls, ComponentOne has introduced SpreadJS, the new spreadsheet control which is now part of Wijmo Enterprise. This JavaScript-based widget uses HTML5 Canvas to render Excel-like spreadsheets. &#8220;SpreadJS brings additional data visualization and calculation features into your web applications,&#8221; said Bannon. &#8220;Now you can create calculators, dynamic interactive dashboards, rich colorful reports, and much more using SpreadJS.&#8221;</p><p><strong>Availability                                                                                                                                                                              </strong>The Company offers download and purchase options online at <a href="https://wijmo.com/purchase/">https://wijmo.com/purchase/</a>  or by email at <a href="mailto:sales@wijmo.com">sales@wijmo.com</a>.</p><p><strong>Resources</strong></p><p>Chris Bannon Blog post<strong>:</strong> <a href="http://wijmo.com/wijmo-2013v1-has-landed/">http://wijmo.com/wijmo-2013v1-has-landed/</a></p><p><strong>About Wijmo                                                                                                                                                                               </strong>Wijmo provides a set of jQuery widgets for creating interactive websites and apps. Built on jQuery UI and jQuery Mobile guidelines and frameworks, each widget is fully themed and theme-able using Themeroller. Wijmo has everything you need including grids, charts, interactive widgets, and more. Visit <a href="http://wijmo.com/">http://wijmo.com</a>. Follow @wijmo at <a href="http://twitter.com/wijmo">http://twitter.com/wijmo</a> and “Like” Wijmo on Facebook at <a href="http://www.facebook.com/Wijmo">http://www.facebook.com/Wijmo</a>.</p> ]]></content:encoded> <wfw:commentRss>http://wijmo.com/wijmo-2013-v1-releases-mobile-widgets-and-an-html5-spreadsheet-control/feed/</wfw:commentRss> <slash:comments>11</slash:comments> </item> </channel> </rss>
<!-- Served from: wijmo.com @ 2013-05-22 12:50:09 by W3 Total Cache -->