{"id":1017,"date":"2008-10-23T17:12:29","date_gmt":"2008-10-23T22:12:29","guid":{"rendered":"http:\/\/bobbeaty.com\/wp\/?p=1017"},"modified":"2008-10-24T07:51:56","modified_gmt":"2008-10-24T12:51:56","slug":"think-i-found-a-wild-bug-in-vantagepoint","status":"publish","type":"post","link":"https:\/\/bobbeaty.com\/wp\/archives\/1017","title":{"rendered":"Think I Found a Wild Bug in VantagePoint"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/bobbeaty.com\/wp\/wp-content\/uploads\/2007\/06\/combograph.png\" alt=\"comboGraph.png\" border=\"0\" width=\"150\" height=\"95\" align=\"right\" \/><\/p>\n<p>Most of today I've been messing with getting the secondary Y axis on the BKSimpleLineGraphApplet in BKit to work with an additional list of the columns of data for the secondary axis. Basically, a guy stopped by and asked if it would be possible to make the dual-Y axis line graph have two lists at the top: one for the primary Y axis and the other for the secondary Y axis. That way, the user could pick what they wanted to plot on the \"left\" and what they wanted to plot on the \"right\".<\/p>\n<p>Something like this:<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/img.skitch.com\/20081024-1bcge61f952addkmr3mfk3agm7.jpg\" alt=\"Bogus Double Y Axis Graph\" width=\"400\" height=\"361\"\/><\/div>\n<p>The problem is that I got a lot of it working with just a few additional applet param tags, but there were problems with the selection of the columns of data for the secondary Y axis. I'd say <em>show me the third column<\/em>, and it'd show me the first. Very odd. I spent quite a while on this until I checked how the BKFixedLineGraphApplet worked -- <em>It had the same problem!<\/em> This shouldn't be as I wasn't messing with it at all. So there had to be a low-level issue in the BKBaseGraph when dealing with multiple Y axes.<\/p>\n<p>I started running a lot of tests. What it <strong><em>appears<\/em><\/strong> to be is an issue with <a href=\"http:\/\/www.visual-technologies.net\/vantagepoint.html\">VantagePoint<\/a> where no matter what 'Variables' you tell it to put on the secondary Y axis, it's only going to put one of the first two. Essentially taking the column number modulo 2.<\/p>\n<p>Ask for columns 2 and 3 (zero-biased indexes) and you'll get columns 0 and 1. Ask for 1 and 2 and you'll get 1 and 0. Very odd. When I tried out the BKSimpleLienGraphApplet with multiple lines on the secondary Y axis, I saw that I picked up on what <a href=\"http:\/\/www.visual-technologies.net\/vantagepoint.html\">VantagePoint<\/a> had thrown down: the first two columns - no matter what. Wild.<\/p>\n<p>So tomorrow I'm going to have to send Gordon an email saying what I've found and asking if the most recent version he's sending me to fix the problem with multiple Y axes and version 4.6.6 will fix this as well. Because I'm sure not going to deliver this to the users - they wanted the pick lists in order to select what's on each axis. As it is now, it's really too broken to deploy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most of today I&#8217;ve been messing with getting the secondary Y axis on the BKSimpleLineGraphApplet in BKit to work with an additional list of the columns of data for the secondary axis. Basically, a guy stopped by and asked if it would be possible to make the dual-Y axis line graph have two lists at [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5],"tags":[],"class_list":["post-1017","post","type-post","status-publish","format-standard","hentry","category-coding","category-vendors"],"_links":{"self":[{"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/posts\/1017","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/comments?post=1017"}],"version-history":[{"count":3,"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/posts\/1017\/revisions"}],"predecessor-version":[{"id":1020,"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/posts\/1017\/revisions\/1020"}],"wp:attachment":[{"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/media?parent=1017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/categories?post=1017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/tags?post=1017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}