Rank: Member
Groups: jQueryChart, Registered Joined: 6/7/2012(UTC) Posts: 16
Thanks: 0 times Was thanked: 0 time(s) in 0 post(s)
|
Hello All, I'm making a simple scatter chart with a date x-axis. I'm not sure of the format, I've gotten pretty close with the following but the markers themselves do not show up. The y-axis adjusts accordingly so I know it is seen. Does anyone see something glaringly wrong here? Code: <script lang="javascript" type="text/javascript"> $(document).ready(function () { $('#jqChart').jqChart({ title: { text: 'Scatter Chart' }, series: [ { title: 'Scatter 1', type: 'scatter', data: [['12/01/2010', 100], ['12/02/2010', 2], ['12/03/2010', 3],['12/04/2010', 100], ['12/05/2010', 2], ['12/06/2010', 3]], markers: { type: 'diamond', size: 8 } }, { title: 'Scatter 2', type: 'scatter', data: [['12/01/2010', 10], ['12/02/2010', 5], ['12/03/2010', 4]], markers: { type: 'rectangle', size: 8 } } ] }); }); </script>
|