Jump to content
Software FX Community

Tricky Problem With A Legend Box


User (Legacy)
 Share

Recommended Posts

Hello Everyone!

I have a very tricky problem at the moment, which I could do with some help

on. I am building a graph which is being coloured at runtime by directly

changing color property of each data item. The colour of each data item is

dependant upon the time of day that it refers to. My colouring code works

perfectly. The problem is that the user of the system wishes to see a legend

box so that the 4 different colours are explained. I cannot get ChartFX to

do this. The legend box seems to work by coloring each box according to the

colour of its corresponding series. However, in my case, this does not work

because I only have 1 series, but this series contain points that could be 1

of 5 colours. The graph is being created using an array. How do I get around

this?

Cheers

Paul

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...