Tcl Library Source Code

Artifact [8e2ae8efd2]
Login

Artifact 8e2ae8efd2a1950a27dd201b11303db5544c74fd:

Ticket change [8e2ae8efd2] - Ticket [1903306fffffffff|1903306fff] <i>xyplot xconfig / yconfig -scale not working</i> status still Open with 5 other changes by arjenmarkus 2014-09-21 13:59:10.
D 2014-09-21T13:59:10.964
J comment Using\sthe\sxconfig\sor\syconfig\scommand\swith\sthe\s-scale\soption\sresults\sin\san\s"Unknown\sor\sinvalid\svalue"\serror.\r\n\r\nScript\sshowing\sproblem:\r\n\r\npackage\srequire\sTk\r\npackage\srequire\sPlotchart\r\n\r\ncanvas\s.c\r\npack\s.c\r\n\r\nset\ss\s[Plotchart::createXYPlot\s.c\s{0\s100\s10}\s{0\s100\s10}]\r\n$s\sxconfig\s-scale\s{0\s200\s20}\r\n\r\n\r\nThe\sproblem\sis\sin\sPlotchart::AxisConfig,\sin\sthe\sfile\splotaxis.tcl\saround\sline\s492.\s\sThe\s"idx"\svalue\sis\sthe\sindex\sinto\sa\slist\swith\sa\ssingle\svalue\sper\soption,\sand\sit\sis\sused\sto\sindex\sinto\sthe\saxis_option_values\swhich\shas\stwo\svalues\sper\soption.\s\sOne\spossible\sfix\sis\sto\smultiply\sthe\sidx\sby\s2\sbefore\susing\sit\son\sthe\saxis_option_values.\r\n\r\n\s\sset\sclear\s\s\s[lindex\s\s$axis_option_clear\s\s$idx]\r\n>>\s\sset\sidx\s[expr\s{2\s*\s$idx}]\r\n\s\sset\svalues\s\s[lindex\s\s$axis_option_values\s[incr\sidx]]\r\n\r\n\r\nAlso,\sin\sthe\splotaxis.tcl\sfile\sthere\sis\s"console\sshow"\sand\s"puts"\scommand\sin\sthe\sPlotchart::DrawXaxis\sroutine\swhich\sseem\sout\sof\splace.\r\n\r\nThanks,\r\n-paul
J icomment The\serror\shas\sbeen\ssolved,\sbut\sthe\seffect\sis\snot\squite\swhat\sone\swould\sexpect:\sthe\saxis\sis\snot\scompletely\sredefined.\sThis\sneeds\sto\sbe\sinvestigated.
J login arjenmarkus
J mimetype text/plain
J severity Minor
K 1903306fffffffffffffffffffffffffffffffff
U arjenmarkus
Z b3cc54820971b6eec17b0ee1ed8751f0