Home Forums StockChart Support Problem with Sync in a quadruple graph

Problem with Sync in a quadruple graph

Viewing 2 posts - 1 through 2 (of 2 total)
  • #30507

    Hi People,
    I’ve tried to make 4 graphs in single browser’s screen and I thought I succeeded. But when I tried to include sync among them, things got strange for me. For example, one graph’s x-axis pointed to one date while others pointed to different dates. I really don’t know if I well understood how graphs dimensions are related. Because that I invoke your holy help, please.
    I didn’t find an option in JSFiddle to include a text file so I included it here. You’ll need some data like below saved in a file (e.g., just copy & past & save file “RBRR11.txt”):

    B3#RBRR11#08/03/2020#9920#9925#9790#9791#6056#28332#279033549#9909.09#9964.91#172764112.00#2742.38#17420.58#CAIU#-786146286#DOWN#DUVIDA###11060.75#SAI#
    B3#RBRR11#07/31/2020#9900#9960#9900#9929#5079#13885#138093476#9921.52#9966.66#161577856.00#2393.58#16272.01#CAIU#-758242932#####11060.75#SAI#
    B3#RBRR11#07/30/2020#9900#10000#9893#9960#2974#15424#153474523#9920.73#9967.04#164049888.00#2110.91#16523.27#SUBIU#-744433585#UP#SUBINDO#UP#CAINDO#11060.75#SAI#
    B3#RBRR11#07/29/2020#9865#9900#9821#9900#1822#11424#112682177#9916.60#9967.11#165163072.00#2020.05#16638.98#SUBIU#-759781037#UP#DUVIDA###11060.75#SAI#
    B3#RBRR11#07/28/2020#9770#9868#9767#9851#3008#15110#148523327#9918.35#9967.78#170687376.00#2040.90#17187.93#SUBIU#-771049254#####11060.75#SAI#
    B3#RBRR11#07/27/2020#9804#9847#9767#9770#3638#16174#158588424#9925.43#9968.96#173020432.00#1939.10#17406.66#CAIU#-785901586#DOWN#CAINDO#DOWN#CAINDO#11060.75#SAI#
    B3#RBRR11#07/24/2020#9798#9860#9767#9804#1099#14590#142852683#9941.80#9970.96#174539584.00#1760.27#17536.41#SUBIU#-770042744#####11060.75#SAI#
    B3#RBRR11#07/23/2020#9864#9865#9787#9795#2998#20581#201982775#9956.30#9972.63#177875040.00#1829.88#17846.56#CAIU#-784328012#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#07/22/2020#9850#9882#9848#9870#1722#17042#168071261#9973.28#9974.42#175337392.00#1706.92#17558.72#SUBIU#-764129735#####11060.75#SAI#
    B3#RBRR11#07/21/2020#9824#9896#9800#9815#1422#12680#124634204#9984.15#9975.47#176102256.00#1705.33#17613.11#CAIU#-780936861#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#07/20/2020#9916#9940#9802#9824#1639#23690#234092757#10001.96#9977.08#181519952.00#1735.15#18132.39#CAIU#-768473441#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#07/17/2020#9948#9948#9861#9915#1009#16073#159362921#10020.69#9978.62#175985968.00#1745.27#17547.38#SUBIU#-745064166#####11060.75#SAI#
    B3#RBRR11#07/16/2020#9900#9962#9870#9901#1021#15702#155791977#10031.81#9979.26#177735760.00#1822.78#17702.57#CAIU#-761000458#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#07/15/2020#9985#9995#9850#9954#1568#17013#168650525#10045.58#9980.04#180045632.00#1907.17#17913.16#CAIU#-745421261#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#07/14/2020#9997#10000#9942#9986#984#10896#108737949#10055.22#9980.31#181245120.00#1942.88#18007.92#CAIU#-728556209#DOWN#DUVIDA###11060.75#SAI#
    B3#RBRR11#07/13/2020#10000#10039#9806#9998#1441#19419#193797276#10062.51#9980.25#188877456.00#2043.81#18756.54#CAIU#-717682415#####11060.75#SAI#
    B3#RBRR11#07/10/2020#10062#10199#9918#10109#1428#24008#242155435#10069.30#9980.07#188359584.00#2107.26#18686.81#CAIU#-698302688#####11060.75#SAI#
    B3#RBRR11#07/09/2020#10220#10277#10201#10237#1149#13970#142858484#10065.12#9978.77#182696848.00#2178.77#18126.68#SUBIU#-674087145#UP#SUBINDO#UP#DUVIDA#11060.75#SAI#
    B3#RBRR11#07/08/2020#10284#10284#10200#10220#2048#14681#149984102#10047.03#9976.18#186890368.00#2287.16#18564.22#SUBIU#-688372993#####11060.75#SAI#
    B3#RBRR11#07/07/2020#10252#10300#10192#10208#1595#21278#217563222#10028.82#9973.73#190775232.00#2312.34#18972.98#SUBIU#-703371403#####11060.75#SAI#
    B3#RBRR11#07/06/2020#10270#10299#10200#10200#2197#32344#330877902#10009.96#9971.37#187955440.00#2387.85#18730.35#CAIU#-725127725#####11060.75#SAI#
    B3#RBRR11#07/03/2020#10290#10290#10206#10230#1470#16663#170965535#9989.96#9969.08#172910976.00#2407.94#17297.33#CAIU#-692039935#####11060.75#SAI#
    B3#RBRR11#07/02/2020#10245#10299#10150#10299#1787#21433#219796249#9964.69#9966.45#173115760.00#2506.67#17364.11#SUBIU#-674943382#UP#SUBINDO###11060.75#SAI#
    B3#RBRR11#07/01/2020#10079#10250#10079#10250#2019#19586#199443710#9929.50#9963.11#168202032.00#2582.42#16935.80#SUBIU#-696923006#UP#SUBINDO###11060.75#SAI#
    B3#RBRR11#06/30/2020#9907#10100#9907#10009#5238#17506#175214774#9895.76#9960.23#164913440.00#2641.73#16656.83#SUBIU#-716867377#UP#DUVIDA###11060.75#SAI#
    B3#RBRR11#06/29/2020#10002#10049#9901#9901#1062#9719#96869457#9883.84#9959.74#163829088.00#2368.44#16567.45#CAIU#-734388854#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#06/26/2020#9973#10049#9910#10020#970#9585#95677117#9882.04#9960.33#170877472.00#2505.96#17288.33#SUBIU#-724701909#####11060.75#SAI#
    B3#RBRR11#06/25/2020#9934#10025#9900#9901#1633#13923#138698098#9867.52#9959.73#178793296.00#2667.64#18099.21#CAIU#-734269620#####11060.75#SAI#
    B3#RBRR11#06/24/2020#9800#9925#9701#9920#3887#17465#171137032#9863.99#9960.32#183013840.00#2776.54#18538.81#SUBIU#-720399811#####11060.75#SAI#
    B3#RBRR11#06/23/2020#9939#9939#9720#9720#3751#28266#278615009#9858.10#9960.72#184264032.00#2659.65#18651.84#CAIU#-737513514#DOWN#CAINDO#DOWN#DUVIDA#11060.75#SAI#
    B3#RBRR11#06/22/2020#9998#9998#9821#9890#7618#29548#292654491#9872.63#9963.14#174332352.00#2544.78#17639.83#CAIU#-709652014#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#06/19/2020#10000#10017#9923#9979#2996#25577#255001342#9870.80#9963.88#161877392.00#2010.75#16386.33#CAIU#-680386565#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#06/18/2020#10070#10146#9970#10014#3090#16733#167618225#9859.42#9963.72#152074864.00#1907.04#15418.90#CAIU#-654886431#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#06/17/2020#10185#10200#9971#10070#2524#19766#199989748#9843.14#9963.22#150438720.00#1782.52#15280.57#CAIU#-638124609#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#06/16/2020#10199#10250#10015#10156#961#12035#122488329#9819.26#9962.14#145222816.00#1704.47#14808.42#CAIU#-618125635#DOWN#DUVIDA###11060.75#SAI#
    B3#RBRR11#06/15/2020#10000#10199#9842#10198#880#10278#102420980#9783.82#9960.20#147615920.00#1782.73#15100.36#SUBIU#-605876803#####11060.75#SAI#
    B3#RBRR11#06/12/2020#10099#10099#9550#10029#1392#15587#155684413#9740.22#9957.80#152373280.00#1877.75#15607.97#CAIU#-616118901#####11060.75#SAI#
    B3#RBRR11#06/10/2020#10299#10299#10150#10180#3376#13453#137320701#9709.82#9957.09#152024736.00#1928.89#15610.18#CAIU#-600550460#####11060.75#SAI#
    B3#RBRR11#06/09/2020#10305#10328#10200#10313#1749#13473#138395184#9660.33#9954.85#153572528.00#1776.56#15837.25#SUBIU#-586818390#UP#SUBINDO#UP#SUBINDO#11060.75#SAI#
    B3#RBRR11#06/08/2020#10099#10320#10070#10202#1870#23822#241667881#9591.63#9951.25#155170144.00#1779.46#16086.12#SUBIU#-600657908#UP#SUBINDO###11060.75#SAI#
    B3#RBRR11#06/05/2020#10100#10100#10004#10100#2727#19959#201130937#9527.38#9948.73#146065120.00#1769.93#15271.82#SUBIU#-624824696#UP#SUBINDO###11060.75#SAI#
    B3#RBRR11#06/04/2020#9890#10100#9800#10098#2828#20467#203816463#9467.10#9947.21#140268704.00#1669.18#14778.43#SUBIU#-644937789#UP#SUBINDO###11060.75#SAI#
    B3#RBRR11#06/03/2020#9842#9900#9812#9890#1934#16283#160755514#9400.69#9945.69#133579472.00#1547.20#14179.63#SUBIU#-665319435#UP#SUBINDO###11060.75#SAI#
    B3#RBRR11#06/02/2020#9770#9898#9670#9800#3409#16375#159582880#9349.18#9946.25#130718840.00#1506.49#13958.22#SUBIU#-681394986#UP#SUBINDO###11060.75#SAI#
    B3#RBRR11#06/01/2020#9499#9799#9480#9550#1635#21165#202256446#9301.73#9947.72#127680520.00#1306.22#13703.82#SUBIU#-697353274#UP#SUBINDO###11060.75#SAI#
    B3#RBRR11#05/29/2020#9340#9500#9340#9499#1761#17518#165935943#9275.60#9951.72#119830416.00#1271.62#12918.44#SUBIU#-717578918#UP#DUVIDA###11060.75#SAI#
    B3#RBRR11#05/28/2020#9385#9415#9340#9340#749#12100#113530628#9252.08#9956.27#114977200.00#1220.10#12434.27#CAIU#-734172512#DOWN#CAINDO#DOWN#SUBINDO#11060.75#SAI#
    B3#RBRR11#05/27/2020#9334#9386#9256#9350#1161#12126#113269003#9242.83#9962.46#115129472.00#1269.69#12469.46#SUBIU#-722819450#####11060.75#SAI#
    B3#RBRR11#05/26/2020#9339#9339#9251#9251#1153#13142#122495185#9231.54#9968.62#115325312.00#1281.13#12505.61#CAIU#-734146350#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#05/25/2020#9350#9350#9250#9316#1131#9021#84041294#9229.50#9975.83#114570592.00#1294.62#12438.62#CAIU#-721896832#DOWN#DUVIDA###11060.75#SAI#
    B3#RBRR11#05/22/2020#9209#9350#9200#9340#506#5496#50899765#9220.39#9982.46#117784200.00#1311.84#12798.37#SUBIU#-713492703#####11060.75#SAI#
    B3#RBRR11#05/21/2020#9279#9279#9001#9209#810#12794#117257759#9207.80#9988.92#124824664.00#1396.67#13567.04#CAIU#-718582679#####11060.75#SAI#
    B3#RBRR11#05/20/2020#9221#9288#9210#9240#729#10115#93349567#9207.67#9996.75#125621176.00#1458.42#13648.42#SUBIU#-706856904#UP#SUBINDO#UP#DUVIDA#11060.75#SAI#
    B3#RBRR11#05/19/2020#9200#9227#9156#9227#743#15800#145410023#9204.27#10004.36#129018192.00#1535.20#14020.36#SUBIU#-716191860#UP#SUBINDO###11060.75#SAI#
    B3#RBRR11#05/18/2020#9175#9238#9100#9185#805#10652#97548915#9201.88#10012.17#127292736.00#1618.59#13833.03#SUBIU#-730732862#####11060.75#SAI#
    B3#RBRR11#05/15/2020#9195#9234#9145#9175#2670#10781#98872065#9203.65#10020.48#130423656.00#1704.24#14167.87#CAIU#-740487753#DOWN#DUVIDA#DOWN#CAINDO#11060.75#SAI#
    B3#RBRR11#05/14/2020#9169#9200#9001#9195#1441#8307#75704164#9206.67#10028.98#133744880.00#1602.58#14524.38#SUBIU#-730600547#####11060.75#SAI#
    B3#RBRR11#05/13/2020#9239#9269#9090#9097#1561#10538#96732070#9207.90#10037.36#139854432.00#1619.58#15178.84#CAIU#-738170963#####11060.75#SAI#
    B3#RBRR11#05/12/2020#9350#9398#9184#9250#821#11795#109268238#9219.57#10046.81#144393632.00#1625.75#15667.35#CAIU#-728497756#####11060.75#SAI#
    B3#RBRR11#05/11/2020#9300#9385#9251#9336#977#18143#169094295#9216.37#10054.82#148091040.00#1710.46#16074.97#SUBIU#-717570933#UP#DUVIDA###11060.75#SAI#
    B3#RBRR11#05/08/2020#9226#9240#9118#9213#3119#11550#105774615#9203.78#10062.04#145880176.00#1787.67#15857.28#SUBIU#-734480362#####11060.75#SAI#
    B3#RBRR11#05/07/2020#9330#9370#9102#9113#2304#14054#129671643#9202.80#10070.58#150101808.00#1647.53#16310.68#CAIU#-745057823#DOWN#CAINDO#DOWN#CAINDO#11060.75#SAI#
    B3#RBRR11#05/06/2020#9300#9330#9211#9275#625#8477#78648763#9212.26#10080.20#152252352.00#1578.43#16548.23#SUBIU#-732090659#####11060.75#SAI#
    B3#RBRR11#05/05/2020#9270#9329#9200#9256#938#12331#114275465#9205.65#10088.29#160000096.00#1678.79#17397.83#CAIU#-739955535#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#05/04/2020#9203#9292#9025#9270#1220#11962#109875228#9200.35#10096.66#164813216.00#1756.76#17931.18#SUBIU#-728527989#####11060.75#SAI#
    B3#RBRR11#04/30/2020#9100#9210#9004#9025#1692#22810#207976851#9193.02#10104.96#170596160.00#1813.27#18559.51#CAIU#-739515511#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#04/29/2020#9100#9150#9000#9078#768#14148#128637196#9210.71#10115.82#166661360.00#1826.03#18112.09#CAIU#-718717826#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#04/28/2020#9200#9289#8997#9100#818#9152#83526231#9224.68#10126.25#170663888.00#1937.40#18529.37#CAIU#-705854107#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#04/27/2020#8920#9251#8920#9112#640#8498#77391920#9237.80#10136.56#179836272.00#2055.23#19516.46#SUBIU#-697501484#####11060.75#SAI#
    B3#RBRR11#04/24/2020#9131#9198#8703#8918#1308#25906#232763965#9251.04#10146.86#190619888.00#2204.21#20676.29#CAIU#-705240676#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#04/23/2020#9300#9395#9102#9130#4571#22492#206886335#9286.10#10159.21#186183664.00#2298.54#20125.80#CAIU#-681964280#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#04/22/2020#9231#9332#9231#9293#956#11039#102577316#9302.54#10169.55#184004432.00#2059.34#19876.72#SUBIU#-661275647#####11060.75#SAI#
    B3#RBRR11#04/20/2020#9369#9369#9199#9278#1387#11774#109591176#9303.54#10178.36#192575712.00#2175.48#20807.01#CAIU#-671533378#####11060.75#SAI#
    B3#RBRR11#04/17/2020#9410#9448#9250#9372#3023#18778#175107233#9306.23#10187.41#201310928.00#2258.47#21757.85#SUBIU#-660574261#####11060.75#SAI#
    B3#RBRR11#04/16/2020#9393#9446#9300#9349#1051#23750#221377656#9299.30#10195.61#204069216.00#2178.00#22071.52#CAIU#-678084984#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#04/15/2020#9400#9430#9254#9378#3106#16486#154004459#9294.07#10204.12#202247280.00#2296.63#21894.84#CAIU#-655947219#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#04/14/2020#9497#9497#9350#9477#1432#13596#128095752#9285.24#10212.42#207325472.00#2211.43#22464.19#SUBIU#-640546774#####11060.75#SAI#
    B3#RBRR11#04/13/2020#9439#9497#9300#9336#843#12764#119233877#9265.05#10219.81#215665440.00#2293.48#23397.68#CAIU#-653356349#DOWN#CAINDO###11060.75#SAI#
    B3#RBRR11#04/09/2020#9450#9529#9270#9439#1770#18049#170209807#9257.58#10228.69#225816128.00#2446.16#24517.02#CAIU#-641432962#DOWN#DUVIDA###11060.75#SAI#
    B3#RBRR11#04/08/2020#9525#9579#9195#9440#2975#19190#181653323#9238.49#10236.63#231669424.00#2517.34#25197.86#CAIU#-624411982#####11060.75#SAI#
    B3#RBRR11#04/07/2020#9492#9550#9301#9500#1622#29555#280307891#9217.28#10244.63#236934272.00#2469.16#25830.27#SUBIU#-606246650#####11060.75#SAI#
    B3#RBRR11#04/06/2020#9500#9540#9449#9492#1360#25194#239114258#9187.52#10252.12#232368624.00#2558.33#25438.19#CAIU#-634277439#####11060.75#SAI#
    B3#RBRR11#04/03/2020#9598#9599#9400#9500#1678#23458#222833594#9155.47#10259.75#231658560.00#2684.48#25463.89#MANTEVE#-610366014#####11060.75#SAI#
    B3#RBRR11#04/02/2020#9600#9600#9436#9500#3082#21771#208032854#9119.20#10267.39#232587504.00#2790.42#25675.04#CAIU#-610366014#####11060.75#SAI#
    B3#RBRR11#04/01/2020#9300#9612#8977#9559#2219#31704#300182568#9079.12#10275.10#235172192.00#2759.73#26085.99#SUBIU#-589562729#UP#SUBINDO#UP#CAINDO#11060.75#SAI#
    B3#RBRR11#03/31/2020#9000#9500#9000#9354#13559#37904#356811220#9028.60#10282.30#228328992.00#2816.65#25494.62#SUBIU#-619580985#UP#SUBINDO###11060.75#SAI#
    B3#RBRR11#03/30/2020#8705#9139#8670#8900#582#9607#85842302#8994.35#10291.63#214804528.00#1685.87#24188.37#SUBIU#-655262107#####11060.75#SAI#
    B3#RBRR11#03/27/2020#8909#8909#8600#8890#1690#23187#204717627#9004.28#10305.62#228379504.00#1802.07#25723.25#CAIU#-663846337#####11060.75#SAI#
    B3#RBRR11#03/26/2020#8495#9405#8495#9070#786#16276#147624874#9016.31#10319.84#230870224.00#1813.87#25990.23#SUBIU#-643374575#UP#DUVIDA###11060.75#SAI#
    B3#RBRR11#03/25/2020#7880#8500#7860#8491#759#19720#163119704#9010.66#10332.40#239632880.00#1922.06#27012.78#SUBIU#-658137062#####11060.75#SAI#

    When you run the JSFiddle in https://jsfiddle.net/guguilharaujo/L7csn2v0/ you’ll be asked by the file that you saved with the data above.

    Thanks in advance. Best regards.

    Gutemberg Araújo

    #30515

    Gutemberg Araújo,

    You seemed to have simulating mouse-events on all other charts based on events on one chart – which is a work-around for syncing toolTip and crosshair. We have recently released v3.0 Beta 1 with new APIs that helps in synchronizing toolTip and crosshair across multiple charts. Please take a look at this Gallery Page for an example on same.

    If you are still facing issue, kindly create JSFiddle reproducing the issue and share it with us so that we can look into the code, understand the scenario better and help you resolve.


    Vishwas R
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.