Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#7638 closed defect (fixed)

updating charts are changing graph colors

Reported by: wirelessdreamer Owned by: Tom Trenka
Priority: high Milestone: 1.2
Component: Dojox Version: 1.2beta
Keywords: Cc:
Blocked By: Blocking:

Description

the updating charts in nightly dojox/charting/tests/test_chart2d_updating.html

are behaving differently then the updating charts on dojo campus http://dojocampus.org/explorer/#Dojox_Charting_2D_Updating

The dojocampus charts, stay a constant color, the nightly charts change colors with each update.

I was asking in irc and ttrenka said to open this ticket and assign it to him

Change History (5)

comment:1 Changed 11 years ago by Tom Trenka

Owner: changed from Adam Peller to Tom Trenka

comment:2 Changed 11 years ago by Tom Trenka

Milestone: tbd1.2

comment:3 Changed 11 years ago by Tom Trenka

Resolution: fixed
Status: newclosed

(In [15240]) Fixes #7638 by doing the following:

  • set it up so that each time you call setTheme on a chart, you are getting a clone of the theme and not the theme itself
  • set it up so that every time render is called on a chart, the theme's color and marker positions are reset to 0

Added a clone method to Theme to support this as well. !strict.

comment:4 Changed 11 years ago by Tom Trenka

(In [15241]) Refs #7638: force a clone of the default theme if none are set. !strict.

comment:5 Changed 11 years ago by Tom Trenka

(In [15242]) Refs #7638: Fix the force a clone of the default theme if none are set. !strict.

Note: See TracTickets for help on using tickets.