Written on: 06. 03. 2019 [12:03]
|
punk
Василий Петров
Topic creator
registered since: 09.05.2011
Posts: 57
|
Добрый день.
Для визуализации состояния производственной линии мне потребовалась картинка вроде прикреплённой. Сейчас такие "полосы" реализованы с помощью wdg_ElFigure в котором все линии толстые и горизонтальные. Пример для первой полосы ниже. Выяснилось что отрисовка такого "крокодила" сильно тормозит. Собственно вопрос - я в правильную сторону смотрю или есть какой-то более производительный способ нарисовать что-то подобное?
Пример для первой полосы
line:(0|16.5):(15.85|16.5):30:green
line:(15.85|16.5):(15.85|16.5):30:red
line:(15.85|16.5):(29.75|16.5):30:green
line:(29.75|16.5):(30.65|16.5):30:red
line:(30.65|16.5):(66.1|16.5):30:green
line:(66.1|16.5):(66.2|16.5):30:green
line:(66.2|16.5):(73.65|16.5):30:orange
line:(73.65|16.5):(73.65|16.5):30:red
line:(73.65|16.5):(74.55|16.5):30:green
line:(74.55|16.5):(74.55|16.5):30:green
line:(74.55|16.5):(81.35|16.5):30:orange
line:(81.35|16.5):(81.4|16.5):30:red
line:(81.4|16.5):(108.15|16.5):30:green
line:(108.15|16.5):(108.15|16.5):30:green
line:(108.15|16.5):(108.4|16.5):30:orange
line:(108.4|16.5):(108.45|16.5):30:red
line:(108.45|16.5):(114.9|16.5):30:green
line:(114.9|16.5):(115|16.5):30:green
line:(115|16.5):(115.25|16.5):30:orange
line:(115.25|16.5):(115.3|16.5):30:red
line:(115.3|16.5):(128.7|16.5):30:green
line:(128.7|16.5):(128.8|16.5):30:green
line:(128.8|16.5):(129.15|16.5):30:orange
line:(129.15|16.5):(129.2|16.5):30:red
line:(129.2|16.5):(161.35|16.5):30:green
line:(161.35|16.5):(161.4|16.5):30:green
line:(161.4|16.5):(167.45|16.5):30:orange
line:(167.45|16.5):(167.5|16.5):30:green
line:(167.5|16.5):(170.95|16.5):30:green
line:(170.95|16.5):(171.1|16.5):30:green
line:(171.1|16.5):(171.95|16.5):30:orange
line:(171.95|16.5):(172.05|16.5):30:red
line:(172.05|16.5):(208.6|16.5):30:green
line:(208.6|16.5):(208.6|16.5):30:red
line:(208.6|16.5):(209|16.5):30:orange
line:(209|16.5):(209.1|16.5):30:red
line:(209.1|16.5):(216.6|16.5):30:green
line:(216.6|16.5):(216.6|16.5):30:green
line:(216.6|16.5):(227.5|16.5):30:yellow
line:(227.5|16.5):(227.5|16.5):30:red
line:(227.5|16.5):(227.65|16.5):30:green
line:(227.65|16.5):(227.65|16.5):30:red
line:(227.65|16.5):(227.75|16.5):30:green
line:(227.75|16.5):(228.05|16.5):30:red
line:(228.05|16.5):(228.8|16.5):30:green
line:(228.8|16.5):(229|16.5):30:red
line:(229|16.5):(229.05|16.5):30:green
line:(229.05|16.5):(229.55|16.5):30:red
line:(229.55|16.5):(232.45|16.5):30:green
line:(232.45|16.5):(232.5|16.5):30:red
line:(232.5|16.5):(232.55|16.5):30:green
line:(232.55|16.5):(232.55|16.5):30:red
line:(232.55|16.5):(232.75|16.5):30:green
line:(232.75|16.5):(232.75|16.5):30:red
line:(232.75|16.5):(232.85|16.5):30:green
line:(232.85|16.5):(232.85|16.5):30:red
line:(232.85|16.5):(232.95|16.5):30:green
line:(232.95|16.5):(232.95|16.5):30:red
line:(232.95|16.5):(233|16.5):30:green
line:(233|16.5):(233.05|16.5):30:red
line:(233.05|16.5):(233.2|16.5):30:green
line:(233.2|16.5):(233.2|16.5):30:red
line:(233.2|16.5):(233.3|16.5):30:green
line:(233.3|16.5):(233.3|16.5):30:red
line:(233.3|16.5):(233.4|16.5):30:green
line:(233.4|16.5):(233.55|16.5):30:green
line:(233.55|16.5):(239.4|16.5):30:orange
line:(239.4|16.5):(239.45|16.5):30:red
line:(239.45|16.5):(239.9|16.5):30:green
line:(239.9|16.5):(239.9|16.5):30:red
line:(239.9|16.5):(240.05|16.5):30:green
line:(240.05|16.5):(240.1|16.5):30:red
line:(240.1|16.5):(240.15|16.5):30:green
line:(240.15|16.5):(240.15|16.5):30:red
line:(240.15|16.5):(240.25|16.5):30:green
line:(240.25|16.5):(240.25|16.5):30:red
line:(240.25|16.5):(240.35|16.5):30:green
line:(240.35|16.5):(240.35|16.5):30:red
line:(240.35|16.5):(240.45|16.5):30:green
line:(240.45|16.5):(240.5|16.5):30:red
line:(240.5|16.5):(240.55|16.5):30:green
line:(240.55|16.5):(240.65|16.5):30:green
line:(240.65|16.5):(244.55|16.5):30:orange
line:(244.55|16.5):(244.6|16.5):30:red
line:(244.6|16.5):(256.15|16.5):30:green
line:(256.15|16.5):(256.3|16.5):30:red
line:(256.3|16.5):(256.65|16.5):30:orange
line:(256.65|16.5):(260.55|16.5):30:red
line:(260.55|16.5):(263.2|16.5):30:green
line:(263.2|16.5):(263.2|16.5):30:green
line:(263.2|16.5):(263.7|16.5):30:yellow
line:(263.7|16.5):(263.8|16.5):30:green
line:(263.8|16.5):(263.8|16.5):30:green
line:(263.8|16.5):(263.9|16.5):30:red
line:(263.9|16.5):(264.35|16.5):30:green
line:(264.35|16.5):(264.5|16.5):30:red
line:(264.5|16.5):(268.5|16.5):30:green
line:(268.5|16.5):(268.6|16.5):30:green
line:(268.6|16.5):(269.35|16.5):30:orange
line:(269.35|16.5):(269.45|16.5):30:green
line:(269.45|16.5):(269.5|16.5):30:orange
line:(269.5|16.5):(269.5|16.5):30:red
line:(269.5|16.5):(275.95|16.5):30:green
line:(275.95|16.5):(276.15|16.5):30:green
line:(276.15|16.5):(276.85|16.5):30:orange
line:(276.85|16.5):(276.9|16.5):30:red
line:(276.9|16.5):(278.6|16.5):30:green
line:(278.6|16.5):(278.65|16.5):30:red
line:(278.65|16.5):(278.7|16.5):30:green
line:(278.7|16.5):(278.7|16.5):30:red
line:(278.7|16.5):(278.8|16.5):30:green
line:(278.8|16.5):(278.8|16.5):30:red
line:(278.8|16.5):(279.45|16.5):30:green
line:(279.45|16.5):(279.55|16.5):30:green
line:(279.55|16.5):(344.4|16.5):30:orange
line:(344.4|16.5):(344.45|16.5):30:red
line:(344.45|16.5):(345.7|16.5):30:green
line:(345.7|16.5):(345.7|16.5):30:red
line:(345.7|16.5):(349.4|16.5):30:green
line:(349.4|16.5):(349.4|16.5):30:red
line:(349.4|16.5):(349.55|16.5):30:green
line:(349.55|16.5):(349.55|16.5):30:red
line:(349.55|16.5):(356.1|16.5):30:green
line:(356.1|16.5):(356.1|16.5):30:red
line:(356.1|16.5):(360.55|16.5):30:green
line:(360.55|16.5):(360.7|16.5):30:green
line:(360.7|16.5):(363.1|16.5):30:orange
line:(363.1|16.5):(363.2|16.5):30:red
line:(363.2|16.5):(380.8|16.5):30:green
line:(380.8|16.5):(380.8|16.5):30:red
line:(380.8|16.5):(381.5|16.5):30:green
line:(381.5|16.5):(381.55|16.5):30:red
line:(381.55|16.5):(400.3|16.5):30:green
line:(400.3|16.5):(400.3|16.5):30:red
line:(400.3|16.5):(400.55|16.5):30:green
line:(400.55|16.5):(400.55|16.5):30:red
line:(400.55|16.5):(401.05|16.5):30:green
line:(401.05|16.5):(401.05|16.5):30:red
line:(401.05|16.5):(401.95|16.5):30:green
line:(401.95|16.5):(401.95|16.5):30:red
line:(401.95|16.5):(402.55|16.5):30:green
line:(402.55|16.5):(402.55|16.5):30:red
line:(402.55|16.5):(402.7|16.5):30:green
line:(402.7|16.5):(402.7|16.5):30:red
line:(402.7|16.5):(402.95|16.5):30:green
line:(402.95|16.5):(402.95|16.5):30:red
line:(402.95|16.5):(403.35|16.5):30:green
line:(403.35|16.5):(403.4|16.5):30:red
line:(403.4|16.5):(403.65|16.5):30:green
line:(403.65|16.5):(403.65|16.5):30:red
line:(403.65|16.5):(403.7|16.5):30:green
line:(403.7|16.5):(403.75|16.5):30:red
line:(403.75|16.5):(405.05|16.5):30:green
line:(405.05|16.5):(405.05|16.5):30:red
line:(405.05|16.5):(405.15|16.5):30:green
line:(405.15|16.5):(405.15|16.5):30:red
line:(405.15|16.5):(405.4|16.5):30:green
line:(405.4|16.5):(405.4|16.5):30:red
line:(405.4|16.5):(405.55|16.5):30:green
line:(405.55|16.5):(405.6|16.5):30:red
line:(405.6|16.5):(405.65|16.5):30:green
line:(405.65|16.5):(405.7|16.5):30:red
line:(405.7|16.5):(405.75|16.5):30:green
line:(405.75|16.5):(405.75|16.5):30:red
line:(405.75|16.5):(405.85|16.5):30:green
line:(405.85|16.5):(405.85|16.5):30:red
line:(405.85|16.5):(405.95|16.5):30:green
line:(405.95|16.5):(405.95|16.5):30:red
line:(405.95|16.5):(406.05|16.5):30:green
line:(406.05|16.5):(406.05|16.5):30:red
line:(406.05|16.5):(406.15|16.5):30:green
line:(406.15|16.5):(406.15|16.5):30:red
line:(406.15|16.5):(406.2|16.5):30:green
line:(406.2|16.5):(406.25|16.5):30:red
line:(406.25|16.5):(406.3|16.5):30:green
line:(406.3|16.5):(406.3|16.5):30:red
line:(406.3|16.5):(406.5|16.5):30:green
line:(406.5|16.5):(406.5|16.5):30:red
line:(406.5|16.5):(406.6|16.5):30:green
line:(406.6|16.5):(406.6|16.5):30:red
line:(406.6|16.5):(406.65|16.5):30:green
line:(406.65|16.5):(406.7|16.5):30:red
line:(406.7|16.5):(406.95|16.5):30:green
line:(406.95|16.5):(406.95|16.5):30:red
line:(406.95|16.5):(407.1|16.5):30:green
line:(407.1|16.5):(407.1|16.5):30:red
line:(407.1|16.5):(407.35|16.5):30:green
line:(407.35|16.5):(407.35|16.5):30:red
line:(407.35|16.5):(407.45|16.5):30:green
line:(407.45|16.5):(407.45|16.5):30:red
line:(407.45|16.5):(407.55|16.5):30:green
line:(407.55|16.5):(407.55|16.5):30:red
line:(407.55|16.5):(407.65|16.5):30:green
line:(407.65|16.5):(407.65|16.5):30:red
line:(407.65|16.5):(407.75|16.5):30:green
line:(407.75|16.5):(407.75|16.5):30:red
line:(407.75|16.5):(407.85|16.5):30:green
line:(407.85|16.5):(407.85|16.5):30:red
line:(407.85|16.5):(407.95|16.5):30:green
line:(407.95|16.5):(407.95|16.5):30:red
line:(407.95|16.5):(408.05|16.5):30:green
line:(408.05|16.5):(408.05|16.5):30:red
line:(408.05|16.5):(408.15|16.5):30:green
line:(408.15|16.5):(408.15|16.5):30:red
line:(408.15|16.5):(410|16.5):30:green
line:(410|16.5):(410|16.5):30:red
line:(410|16.5):(410.3|16.5):30:green
line:(410.3|16.5):(410.3|16.5):30:red
line:(410.3|16.5):(422.7|16.5):30:green
line:(422.7|16.5):(422.7|16.5):30:red
line:(422.7|16.5):(422.8|16.5):30:green
line:(422.8|16.5):(422.8|16.5):30:red
line:(422.8|16.5):(432.9|16.5):30:green
line:(432.9|16.5):(433|16.5):30:green
line:(433|16.5):(434.45|16.5):30:orange
line:(434.45|16.5):(434.5|16.5):30:green
line:(434.5|16.5):(440.95|16.5):30:orange
line:(440.95|16.5):(441|16.5):30:red
line:(441|16.5):(441.2|16.5):30:green
line:(441.2|16.5):(441.2|16.5):30:red
line:(441.2|16.5):(441.9|16.5):30:green
line:(441.9|16.5):(441.9|16.5):30:green
line:(441.9|16.5):(445.15|16.5):30:orange
line:(445.15|16.5):(445.2|16.5):30:red
line:(445.2|16.5):(445.95|16.5):30:green
line:(445.95|16.5):(446|16.5):30:green
line:(446|16.5):(446.55|16.5):30:orange
line:(446.55|16.5):(446.6|16.5):30:red
line:(446.6|16.5):(447.05|16.5):30:green
line:(447.05|16.5):(447.05|16.5):30:red
line:(447.05|16.5):(447.15|16.5):30:green
line:(447.15|16.5):(447.15|16.5):30:red
line:(447.15|16.5):(447.95|16.5):30:green
line:(447.95|16.5):(447.95|16.5):30:red
line:(447.95|16.5):(449.3|16.5):30:green
line:(449.3|16.5):(449.35|16.5):30:red
line:(449.35|16.5):(449.4|16.5):30:green
line:(449.4|16.5):(449.45|16.5):30:red
line:(449.45|16.5):(449.55|16.5):30:green
line:(449.55|16.5):(449.6|16.5):30:red
line:(449.6|16.5):(449.7|16.5):30:green
line:(449.7|16.5):(449.8|16.5):30:red
line:(449.8|16.5):(449.85|16.5):30:green
line:(449.85|16.5):(449.95|16.5):30:red
line:(449.95|16.5):(450.05|16.5):30:green
line:(450.05|16.5):(450.1|16.5):30:red
line:(450.1|16.5):(450.2|16.5):30:green
line:(450.2|16.5):(450.25|16.5):30:red
line:(450.25|16.5):(456.75|16.5):30:green
line:(456.75|16.5):(456.75|16.5):30:red
line:(456.75|16.5):(456.95|16.5):30:green
line:(456.95|16.5):(456.95|16.5):30:red
line:(456.95|16.5):(457.05|16.5):30:green
line:(457.05|16.5):(457.05|16.5):30:red
line:(457.05|16.5):(457.35|16.5):30:green
line:(457.35|16.5):(457.4|16.5):30:red
line:(457.4|16.5):(457.6|16.5):30:green
line:(457.6|16.5):(457.6|16.5):30:red
line:(457.6|16.5):(459|16.5):30:green
line:(459|16.5):(459|16.5):30:red
line:(459|16.5):(459.15|16.5):30:green
line:(459.15|16.5):(459.15|16.5):30:red
line:(459.15|16.5):(459.25|16.5):30:green
line:(459.25|16.5):(459.25|16.5):30:red
line:(459.25|16.5):(459.35|16.5):30:green
line:(459.35|16.5):(459.35|16.5):30:red
line:(459.35|16.5):(459.45|16.5):30:green
line:(459.45|16.5):(459.45|16.5):30:red
line:(459.45|16.5):(459.55|16.5):30:green
line:(459.55|16.5):(459.55|16.5):30:red
line:(459.55|16.5):(459.65|16.5):30:green
line:(459.65|16.5):(459.65|16.5):30:red
line:(459.65|16.5):(459.75|16.5):30:green
line:(459.75|16.5):(459.75|16.5):30:red
line:(459.75|16.5):(459.9|16.5):30:green
line:(459.9|16.5):(459.9|16.5):30:red
line:(459.9|16.5):(493.3|16.5):30:green
line:(493.3|16.5):(493.3|16.5):30:green
line:(493.3|16.5):(493.9|16.5):30:orange
line:(493.9|16.5):(493.9|16.5):30:red
line:(493.9|16.5):(499.15|16.5):30:green
line:(499.15|16.5):(501.05|16.5):30:red
line:(501.05|16.5):(515.75|16.5):30:green
line:(515.75|16.5):(518.65|16.5):30:red
line:(518.65|16.5):(529.6|16.5):30:green
line:(529.6|16.5):(529.65|16.5):30:green
line:(529.65|16.5):(533.05|16.5):30:orange
line:(533.05|16.5):(533.05|16.5):30:green
line:(533.05|16.5):(540.25|16.5):30:green
line:(540.25|16.5):(540.35|16.5):30:green
line:(540.35|16.5):(546.75|16.5):30:orange
line:(546.75|16.5):(546.8|16.5):30:red
line:(546.8|16.5):(580.3|16.5):30:green
line:(580.3|16.5):(580.3|16.5):30:green
line:(580.3|16.5):(583.85|16.5):30:yellow
line:(583.85|16.5):(583.85|16.5):30:red
line:(583.85|16.5):(588.75|16.5):30:green
line:(588.75|16.5):(588.85|16.5):30:green
line:(588.85|16.5):(589.65|16.5):30:orange
line:(589.65|16.5):(589.7|16.5):30:red
line:(589.7|16.5):(595.1|16.5):30:green
line:(595.1|16.5):(595.15|16.5):30:green
line:(595.15|16.5):(595.45|16.5):30:orange
line:(595.45|16.5):(595.55|16.5):30:red
line:(595.55|16.5):(598.1|16.5):30:green
line:(598.1|16.5):(598.1|16.5):30:red
line:(598.1|16.5):(598.7|16.5):30:green
line:(598.7|16.5):(598.7|16.5):30:green
line:(598.7|16.5):(605.1|16.5):30:yellow
line:(605.1|16.5):(605.1|16.5):30:red
line:(605.1|16.5):(629.65|16.5):30:green
line:(629.65|16.5):(629.8|16.5):30:green
line:(629.8|16.5):(631.95|16.5):30:orange
line:(631.95|16.5):(632|16.5):30:red
line:(632|16.5):(634.6|16.5):30:green
line:(634.6|16.5):(634.7|16.5):30:green
line:(634.7|16.5):(635.1|16.5):30:orange
line:(635.1|16.5):(635.15|16.5):30:red
line:(635.15|16.5):(641.3|16.5):30:green
line:(641.3|16.5):(641.4|16.5):30:green
line:(641.4|16.5):(645.85|16.5):30:orange
line:(645.85|16.5):(645.9|16.5):30:red
line:(645.9|16.5):(647.35|16.5):30:green
line:(647.35|16.5):(647.45|16.5):30:green
line:(647.45|16.5):(647.6|16.5):30:orange
line:(647.6|16.5):(647.6|16.5):30:red
line:(647.6|16.5):(648|16.5):30:green
line:(648|16.5):(648.1|16.5):30:green
line:(648.1|16.5):(649.05|16.5):30:orange
line:(649.05|16.5):(649.1|16.5):30:red
line:(649.1|16.5):(667.9|16.5):30:green
line:(667.9|16.5):(667.95|16.5):30:green
line:(667.95|16.5):(669.75|16.5):30:orange
line:(669.75|16.5):(669.8|16.5):30:red
line:(669.8|16.5):(681.95|16.5):30:green
line:(681.95|16.5):(682.05|16.5):30:green
line:(682.05|16.5):(685.3|16.5):30:orange
line:(685.3|16.5):(685.35|16.5):30:green
line:(685.35|16.5):(695|16.5):30:green
line:(695|16.5):(695|16.5):30:red
line:(695|16.5):(695.25|16.5):30:green
line:(695.25|16.5):(695.25|16.5):30:red
line:(695.25|16.5):(719.3|16.5):30:green
line:(719.3|16.5):(721.5|16.5):30:red
line:(721.5|16.5):(725|16.5):15:green
Attachment
barGraph.png (File type: image/png, Size: 17.38 kilobytes) — 1311 downloads
|
Written on: 06. 03. 2019 [13:00]
|
roman
Roman Savochenko
Moderator Contributor Developer
registered since: 12.12.2007
Posts: 3750
|
"punk" wrote:
Для визуализации состояния производственной линии мне потребовалась картинка вроде прикреплённой. Сейчас такие "полосы" реализованы с помощью wdg_ElFigure в котором все линии толстые и горизонтальные. Пример для первой полосы ниже. Выяснилось что отрисовка такого "крокодила" сильно тормозит.
Естественно, на таком векторном изображении затормозит что угодно
"punk" wrote:
Собственно вопрос - я в правильную сторону смотрю или есть какой-то более производительный способ нарисовать что-то подобное?
Диаграмма прямо изображает дискретные и их можно развести по вертикали, меняя шкалу.
Learn, learn and learn better than work, work and work.
|
Written on: 22. 10. 2019 [16:24]
|
ShuraF
Aleksandr Fenogentov
registered since: 08.08.2019
Posts: 50
|
Т.е. использование векторной графики сильно тормозит процесс визуализации?
Или тормозит только при изменении (пропорций, масштаба, смена страниц)?
|