Posts Tagged ‘Dojox Charting’

29
Apr

Dojox Charting Tutorial – Part Six: Charts for Navigation

It's been a while since I last wrote anything on dojox charting, but there is always more. Anyone who was at BLUG or has downloaded the sample database I created for that session will have seen that I extended dojox charting to allow the user to click on a pie chart and navigate through the database to specific documents. For me, this is the real power of XPages, using repeat controls to produce innovative and dynamic methods of navigation. Outlines or menus are okay, but we can do so much more. Dashboards look nice, but allow your users to ...

04
Feb

Dojox Charting Tutorial – Part Six: Appendices

As I said in Part One, this series came about through an awareness of dojox charting and a desire to investigate its suitability to replace our current third-party solution. At the time I was not aware of NotesReconn on OpenNTF, which recently won second place in the TeamStudio Spotlight awards, and that's definitely on my radar now as a product to investigate further. In this series I've references a number of useful references, but I've also come across more while writing up the series. So I wanted to put together a one-stop shop of useful resources on dojox charting. Obviously the first point ...

02
Feb

Dojox Charting Tutorial – Part Five: Line Chart HTML Markup

In the previous parts of this tutorial (accessible from the link on the left-hand side of this page) I have shown how to use the dojox charting code to create pie charts, bar charts, column charts, and a line chart via javascript. In this part, I will create a line chart similar to the one created in the previous part, but this time using an HTML table data store and markup HTML. This took a bit of trial and error because, although there are plenty of examples on the web of charts created with javascript, the examples of charts created using HTML ...

20
Jan

Dojox Charting Tutorial – Part Three: Column and Bar Charts

In Part One I have given some background and generic code quired on any page showing a dojo chart. In Part Two I added a series using javascript onto my XPage and generated a pie chart. In Part Three I will cover the other two chart types shown on my first demo page, column charts and bar charts. Adding the Series If you try to apply the series we generated for the pie chart to a column or bar chart, you will find you get no data plotted. This is because of a limitation on the ...

12
Jan

In Part One I covered the generic code elements required on the XPage before we get as far as creating the data for the chart and the chart itself. Now we get into the interesting stuff. Creating a Series The first part of the chart is the series. What I'm looking to produce is an array of JSON objects as a variable, one per portion of the pie, holding the value along with all the other parameters I want to use for my pie. If you view the source of Chart 1, you will see the full variable. The ...