linear graphs now render depending on their type correctly
now renders everything correctly