Page MenuHomePhabricator

Extension:Graph renders certain marks (symbol) with fill color set black and white, while in edit preview the display is colorful
Open, Needs TriagePublic

Description

Extension:Graph renders certain marks (symbol) with fill color set black and white, while in edit preview the display is colorful.
For example:

  1. display in black and white
  2. display in colors

Machine/browser used: hp laptop, windows 10, chrome browser.

Graph used:
<graph>{"version":2, "width": 200, "height": 200, "marks": [ { "type": "symbol", "description": "This adds a circle mark as symbol.", "properties": { "enter": { "x": {"value": 150}, "y": {"value": 50}, "size": {"value": 1600}, "fill": {"value": "Red"} } } }, { "type": "symbol", "description": "This adds a square mark as symbol.", "properties": { "enter": { "x": {"value": 50}, "y": {"value": 50}, "size": {"value": 1600}, "shape": {"value": "square"}, "fill": {"value": "Blue"} } } }, { "type": "symbol", "description": "This adds a cross mark as symbol.", "properties": { "enter": { "x": {"value": 50}, "y": {"value": 150}, "size": {"value": 1600}, "shape": {"value": "cross"}, "fill": {"value": "Green"} } } }, { "type": "symbol", "description": "This adds a triangle mark as symbol.", "properties": { "enter": { "x": {"value": 150}, "y": {"value": 150}, "size": {"value": 1600}, "shape": {"value": "triangle-up"}, "fill": {"value": "Orange"} } } } ] }</graph>

Adding "background": "LightGray" produces gray PNG square, while in live mode it produces gray square with color symbols on top.

Reported upstream at https://github.com/vega/vega/issues/481

Event Timeline

AdHuikeshoven updated the task description. (Show Details)
AdHuikeshoven raised the priority of this task from to Needs Triage.
AdHuikeshoven added a project: Graphs.
AdHuikeshoven added a subscriber: AdHuikeshoven.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptDec 27 2015, 4:23 PM
Yurik updated the task description. (Show Details)Dec 27 2015, 5:05 PM
Yurik set Security to None.
Yurik moved this task from Backlog to Tracking on the Graphs board.