Skip to content

Use of both dummy tracks and overlaid tracks in a circular layout seem to freeze rendering? #1198

@sehilyi

Description

@sehilyi

Specs to reproduce on https://v2.gosling-lang.org

{
  "id": "2cd618ba-d065-4e26-a1e5-62e2e310f275",
  "views": [
    {
      "id": "c18c66d7-b5cc-4a1b-aef7-975a52b8ad40",
      "style": {
        "outline": "#C7C7C7",
        "outlineWidth": 1,
        "enableSmoothPath": true
      },
      "layout": "circular",
      "tracks": [
        {
          "id": "dummy-track-c18c66d7-b5cc-4a1b-aef7-975a52b8ad40-0",
          "type": "dummy-track",
          "height": 6,
          "width": 6,
          "style": {
            "outline": "transparent",
            "background": "transparent"
          }
        },
        {
          "id": "3ca497c1-de6c-4597-acdd-0e2b0d5e1beb",
          "style": {
            "outline": "#C7C7C7",
            "outlineWidth": 1,
            "enableSmoothPath": true
          },
          "width": 600,
          "height": 50,
          "tracks": [
            {
              "x": {
                "type": "genomic",
                "field": "position"
              },
              "y": {
                "grid": true,
                "type": "quantitative",
                "field": "value"
              },
              "id": "0a39f71a-0e35-4120-9831-36e3e5d0baa2",
              "data": {
                "url": "https://s3.amazonaws.com/gosling-lang.org/data/HFFc6_H3K4me3.bigWig",
                "type": "bigwig",
                "binSize": 4
              },
              "mark": "area",
              "style": {
                "outline": "#C7C7C7",
                "outlineWidth": 1,
                "enableSmoothPath": true
              },
              "width": 600,
              "height": 50
            },
            {
              "x": {
                "type": "genomic",
                "field": "start"
              },
              "y": {
                "type": "quantitative",
                "field": "value"
              },
              "id": "bdc5f991-3741-4d8e-ac14-0501ccb54a6b",
              "xe": {
                "type": "genomic",
                "field": "end"
              },
              "data": {
                "url": "https://s3.amazonaws.com/gosling-lang.org/data/HFFc6_H3K4me3.bigWig",
                "type": "bigwig",
                "binSize": 4
              },
              "mark": "bar",
              "color": {
                "value": "#CC7DAA"
              },
              "style": {
                "outline": "#C7C7C7",
                "outlineWidth": 1,
                "enableSmoothPath": true
              },
              "width": 600,
              "height": 80
            }
          ],
          "alignment": "overlay"
        },
        {
          "id": "dummy-track-c18c66d7-b5cc-4a1b-aef7-975a52b8ad40-1",
          "type": "dummy-track",
          "height": 6,
          "width": 6,
          "style": {
            "outline": "transparent",
            "background": "transparent"
          }
        },
        {
          "x": {
            "type": "genomic",
            "field": "start"
          },
          "y": {
            "type": "quantitative",
            "field": "value"
          },
          "id": "1b8feff6-046f-4f01-ae51-3da35e465cbe",
          "xe": {
            "type": "genomic",
            "field": "end"
          },
          "data": {
            "url": "https://s3.amazonaws.com/gosling-lang.org/data/HFFc6_H3K4me3.bigWig",
            "type": "bigwig",
            "binSize": 4
          },
          "mark": "bar",
          "color": {
            "value": "#CC7DAA"
          },
          "style": {
            "outline": "#C7C7C7",
            "outlineWidth": 1,
            "enableSmoothPath": true
          },
          "width": 600,
          "height": 80
        },
        {
          "id": "dummy-track-c18c66d7-b5cc-4a1b-aef7-975a52b8ad40-2",
          "type": "dummy-track",
          "height": 6,
          "width": 6,
          "style": {
            "outline": "transparent",
            "background": "transparent"
          }
        },
        {
          "x": {
            "type": "genomic",
            "field": "start"
          },
          "y": {
            "type": "quantitative",
            "field": "value"
          },
          "id": "c79961cd-f9d3-467a-b232-81fab99d6c41",
          "xe": {
            "type": "genomic",
            "field": "end"
          },
          "data": {
            "url": "https://s3.amazonaws.com/gosling-lang.org/data/HFFc6_H3K4me3.bigWig",
            "type": "bigwig",
            "binSize": 4
          },
          "mark": "bar",
          "color": {
            "value": "#CC7DAA"
          },
          "style": {
            "outline": "#C7C7C7",
            "outlineWidth": 1,
            "enableSmoothPath": true
          },
          "width": 600,
          "height": 80
        },
        {
          "id": "dummy-track-c18c66d7-b5cc-4a1b-aef7-975a52b8ad40-last",
          "type": "dummy-track",
          "height": 6,
          "width": 6,
          "style": {
            "outline": "transparent",
            "background": "transparent"
          }
        }
      ],
      "spacing": 3
    }
  ],
  "spacing": 90,
  "xDomain": {
    "chromosome": "chr1"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug🐛Something isn't workingv2Issues related to Gosling v2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions