{
  "id": 415954,
  "title": "horizontal_bar has axes messed up",
  "url": "/competitions/benetech-making-graphs-accessible/discussion/415954",
  "author_name": "cosmosaa",
  "post_date": "2023-06-08T22:30:20.064000",
  "votes": 0,
  "comment_count": 0,
  "views": 0,
  "content": "<p>I'm looking at a horizontal bar graph, for example 'f0ee6a02ebf7'</p>\n<p>The axes are</p>\n<pre><code>{-axis': {': [{': , ': {: , : }},\n   {': , ': {: , : }},\n   {': , ': {: , : }},\n   {': , ': {: , : }},\n   {': , ': {: , : }},\n   {': , ': {: , : }},\n   {': , ': {: , : }},\n   {': , ': {: , : }}],\n  -': ',\n  -': '},\n -axis': {': [{': , ': {: , : }},\n   {': , ': {: , : }},\n   {': , ': {: , : }},\n   {': , ': {: , : }},\n   {': , ': {: , : }}],\n  -': ',\n  -': '}}\n</code></pre>\n<p>So ids 7-14 are the x axis tick marks and are numerical. However if I look at the text, for example id 14, it has </p>\n<pre><code> {': ,\n  ': {': ,\n   ': ,\n   ': ,\n   ': ,\n   ': ,\n   ': ,\n   ': ,\n   ': },\n  ':  need   child',\n  ': '}\n</code></pre>\n<p>So it is not numeric and is a y-axis label. </p>\n<p>The numeric labels are 2-6.</p>",
  "messages": [
    {
      "id": 2293031,
      "postDate": "2023-06-08T22:30:20.063Z",
      "content": "<p>I'm looking at a horizontal bar graph, for example 'f0ee6a02ebf7'</p>\n<p>The axes are</p>\n<pre><code>{-axis': {': [{': , ': {: , : }},\n   {': , ': {: , : }},\n   {': , ': {: , : }},\n   {': , ': {: , : }},\n   {': , ': {: , : }},\n   {': , ': {: , : }},\n   {': , ': {: , : }},\n   {': , ': {: , : }}],\n  -': ',\n  -': '},\n -axis': {': [{': , ': {: , : }},\n   {': , ': {: , : }},\n   {': , ': {: , : }},\n   {': , ': {: , : }},\n   {': , ': {: , : }}],\n  -': ',\n  -': '}}\n</code></pre>\n<p>So ids 7-14 are the x axis tick marks and are numerical. However if I look at the text, for example id 14, it has </p>\n<pre><code> {': ,\n  ': {': ,\n   ': ,\n   ': ,\n   ': ,\n   ': ,\n   ': ,\n   ': ,\n   ': },\n  ':  need   child',\n  ': '}\n</code></pre>\n<p>So it is not numeric and is a y-axis label. </p>\n<p>The numeric labels are 2-6.</p>",
      "rawMarkdown": "I'm looking at a horizontal bar graph, for example 'f0ee6a02ebf7'\n\nThe axes are\n```\n{'x-axis': {'ticks': [{'id': 7, 'tick_pt': {'x': 177, 'y': 12}},\n   {'id': 8, 'tick_pt': {'x': 177, 'y': 39}},\n   {'id': 9, 'tick_pt': {'x': 177, 'y': 65}},\n   {'id': 10, 'tick_pt': {'x': 177, 'y': 90}},\n   {'id': 11, 'tick_pt': {'x': 177, 'y': 115}},\n   {'id': 12, 'tick_pt': {'x': 177, 'y': 140}},\n   {'id': 13, 'tick_pt': {'x': 177, 'y': 166}},\n   {'id': 14, 'tick_pt': {'x': 177, 'y': 192}}],\n  'tick-type': 'markers',\n  'values-type': 'numerical'},\n 'y-axis': {'ticks': [{'id': 2, 'tick_pt': {'x': 176, 'y': 205}},\n   {'id': 3, 'tick_pt': {'x': 249, 'y': 205}},\n   {'id': 4, 'tick_pt': {'x': 321, 'y': 205}},\n   {'id': 5, 'tick_pt': {'x': 393, 'y': 205}},\n   {'id': 6, 'tick_pt': {'x': 463, 'y': 205}}],\n  'tick-type': 'markers',\n  'values-type': 'categorical'}}\n```\n\nSo ids 7-14 are the x axis tick marks and are numerical. However if I look at the text, for example id 14, it has \n```\n {'id': 14,\n  'polygon': {'x0': 30,\n   'x1': 167,\n   'x2': 167,\n   'x3': 30,\n   'y0': 184,\n   'y1': 184,\n   'y2': 197,\n   'y3': 197},\n  'text': 'The need for more child',\n  'role': 'tick_label'}\n```\n\nSo it is not numeric and is a y-axis label. \n\nThe numeric labels are 2-6.\n\n"
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "2293031": "I'm looking at a horizontal bar graph, for example 'f0ee6a02ebf7'\n\nThe axes are\n```\n{'x-axis': {'ticks': [{'id': 7, 'tick_pt': {'x': 177, 'y': 12}},\n   {'id': 8, 'tick_pt': {'x': 177, 'y': 39}},\n   {'id': 9, 'tick_pt': {'x': 177, 'y': 65}},\n   {'id': 10, 'tick_pt': {'x': 177, 'y': 90}},\n   {'id': 11, 'tick_pt': {'x': 177, 'y': 115}},\n   {'id': 12, 'tick_pt': {'x': 177, 'y': 140}},\n   {'id': 13, 'tick_pt': {'x': 177, 'y': 166}},\n   {'id': 14, 'tick_pt': {'x': 177, 'y': 192}}],\n  'tick-type': 'markers',\n  'values-type': 'numerical'},\n 'y-axis': {'ticks': [{'id': 2, 'tick_pt': {'x': 176, 'y': 205}},\n   {'id': 3, 'tick_pt': {'x': 249, 'y': 205}},\n   {'id': 4, 'tick_pt': {'x': 321, 'y': 205}},\n   {'id': 5, 'tick_pt': {'x': 393, 'y': 205}},\n   {'id': 6, 'tick_pt': {'x': 463, 'y': 205}}],\n  'tick-type': 'markers',\n  'values-type': 'categorical'}}\n```\n\nSo ids 7-14 are the x axis tick marks and are numerical. However if I look at the text, for example id 14, it has \n```\n {'id': 14,\n  'polygon': {'x0': 30,\n   'x1': 167,\n   'x2': 167,\n   'x3': 30,\n   'y0': 184,\n   'y1': 184,\n   'y2': 197,\n   'y3': 197},\n  'text': 'The need for more child',\n  'role': 'tick_label'}\n```\n\nSo it is not numeric and is a y-axis label. \n\nThe numeric labels are 2-6.\n\n"
  }
}