Opened 16 years ago

Closed 15 years ago

#2087 closed defect (fixed)

dojo.charting.Chart and CSS

Reported by: guest Owned by: Tom Trenka
Priority: high Milestone: 0.9
Component: Charting Version: 0.4
Keywords: Cc:
Blocked By: Blocking:


Charts created with dojo under IE are affected by CSS formatting.

For example, the result of using the following CSS snippet is a badly-rendered chart.

* {margin:0; padding:0;}

This doesn't seem to affect FireFox?.

As a workaround, I'm assigning a special CSS class ("chart") to the div that the chart is rendered to:

.chart, .chart * {margin:auto; padding:auto;}

This seems to solve the problem.

The ticket is filed under "General" component, as no "Charting" component is available.

Change History (4)

comment:1 Changed 16 years ago by dylan

Component: Generalgfx (svg+vml)
Milestone: 0.5
Owner: changed from anonymous to Tom Trenka

comment:2 Changed 15 years ago by Tom Trenka

Component: gfx (svg+vml)Charting

comment:3 Changed 15 years ago by Tom Trenka

Did the 0.4.2 release fix this? I remember fixing a couple of other related bugs and was not sure if this was taken care of in the process or not...

comment:4 Changed 15 years ago by Tom Trenka

Resolution: fixed
Status: newclosed

was fixed in 0.4.2.

Note: See TracTickets for help on using tickets.